fleet-contractor/Site/js/components/design-grid.min.js.map
2023-04-28 12:22:26 +08:00

1 line
119 KiB
Plaintext

{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///design-grid.min.js","webpack:///webpack/bootstrap aa04cb035f4562a3cf8e","webpack:///./src/utils/index.js","webpack:///./node_modules/vue-loader/lib/runtime/component-normalizer.js","webpack:///src/design-grid.vue","webpack:///src/design-grid-header.vue","webpack:///./src/design-grid-func.js","webpack:///src/design-grid-column-input.vue","webpack:///src/design-grid-row-header.vue","webpack:///./src/design-grid.vue","webpack:///./src/design-grid-header.vue","webpack:///./src/design-grid-header.vue?3fb4","webpack:///./src/design-grid-column-input.vue","webpack:///./src/design-grid-column-input.vue?b36e","webpack:///./src/design-grid-row-header.vue","webpack:///./src/design-grid-row-header.vue?db60","webpack:///./src/design-grid.vue?cde2"],"names":["root","factory","exports","module","define","amd","self","this","modules","__webpack_require__","moduleId","installedModules","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","__webpack_exports__","_typeof","Symbol","iterator","obj","constructor","DEFAULT_LINE_HEIGHT","assign","target","key","set","value","writable","filtername","item","column","index","filter","v","String","style","math","trunc","val","Number","isNaN","Math","floor","ceil","ui","getClientX","e","originalEvent","cx","touches","clientX","undefined","getClientY","cy","clientY","getOffsetLeft","el","left","offsetLeft","offsetParent","func","debounce","method","_len","arguments","length","args","Array","_key","delay","context","window","clearTimeout","tiid","setTimeout","apply","throttle","_len2","_key2","current","Date","tdate","normalizeComponent","scriptExports","render","staticRenderFns","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","type","default","options","_compiled","functional","_scopeId","hook","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","add","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","concat","checkIfSame","indexes","olds","tmp","forEach","changed","__WEBPACK_IMPORTED_MODULE_0__design_grid_header_vue__","__WEBPACK_IMPORTED_MODULE_1__design_grid_column_input_vue__","__WEBPACK_IMPORTED_MODULE_2__design_grid_row_header_vue__","__WEBPACK_IMPORTED_MODULE_3__utils__","__WEBPACK_IMPORTED_MODULE_4__design_grid_func__","__WEBPACK_IMPORTED_MODULE_5__design_grid_scss__","components","d-column-header","d-grid-row-header","d-column-input","props","enabled","Boolean","columns","required","source","defaultHeight","data","selectedIndexes","selectedColIndexes","watch","_oldSelectedIndexes","$emit","_oldSelectedColIndexes","mounted","wrapColumns","__window","addEventListener","__window_on_resize","beforeDestroy","removeEventListener","updated","updateBodyTop","computed","selectedIndex","count","selectedColIndex","methods","windowResizing","__column_header_on_mouse_down","__column_header_on_dblclick","__column_header_on_width_changing","width","widthChanging","__column_header_on_width_changed","resizeColumn","__row_header_on_height_changing","height","heightChanging","__row_header_on_height_changed","__contains_index","indexOf","__mixin_style","__height","display","__grid_body_on_scroll","scrollLeft","_scrollLeft","$refs","header","parentElement","marginLeft","__row_on_mousedown","colIndex","cancel","getSelectedColumnIndex","className","__row_header_on_dblclick","_row_on_dblclick","columnIndex","__row_on_value_changed","__WEBPACK_IMPORTED_MODULE_0__utils__","__WEBPACK_IMPORTED_MODULE_1__design_grid_func__","headerClass","setColumnStyle","textAlign","onMouseDown","onDblClick","onResizeStart","_cX","_width","_index","onResizeMove","onResizeEnd","_isResizing","minWidth","_innerWidth","_this","w","columnStyle","$set","maxWidth","align","_data","__bodyClientHeight","gridbody","clientHeight","offsetHeight","offsetTop","top","rows","gridrows","change","cell","children","row","td","autoResize","caption","visible","innerEnabled","enabledKey","isMultiLanguages","multilangs","ismultilangs","customStyle","contentStyle","paddingRight","attributes","attrs","onUpdateValue","old","onchanged","onChangeValue","onMultiLangs","getHeight","divStyle","lineHeight","_cY","_height","_innerHeight","__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_design_grid_vue__","__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_18fde9d9_hasScoped_false_optionsId_0_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_design_grid_vue__","__WEBPACK_IMPORTED_MODULE_2__node_modules_vue_loader_lib_runtime_component_normalizer__","Component","__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_design_grid_header_vue__","__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_39b27e31_hasScoped_false_optionsId_0_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_design_grid_header_vue__","_vm","_h","$createElement","_c","_self","ref","staticClass","on","mousedown","$event","_k","keyCode","button","dblclick","_t","directives","rawName","expression","preventDefault","stopPropagation","touchstart","__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_design_grid_column_input_vue__","__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_a0c5f490_hasScoped_false_optionsId_0_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_design_grid_column_input_vue__","_g","_b","class","domProps","readOnly","input","events","_v","click","_e","__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_design_grid_row_header_vue__","__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_47fb3088_hasScoped_false_optionsId_0_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_design_grid_row_header_vue__","_s","_l","col","idx","columnMouseDown","columnDblClick","widthChanged","currentTarget","&scroll","rowidx","refInFor","!mousedown","!dblclick","rowHeaderMouseDown","rowHeaderDblClick","heightChanged","colidx","valueChanged"],"mappings":"CAAA,SAAAA,EAAAC,GACA,gBAAAC,UAAA,gBAAAC,QACAA,OAAAD,QAAAD,IACA,kBAAAG,gBAAAC,IACAD,UAAAH,GACA,gBAAAC,SACAA,QAAA,eAAAD,IAEAD,EAAA,eAAAC,KACC,mBAAAK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,MAAAzB,EAAAvF,iBAAAuF,EAAAtH,mBAAAyK,GAAA,0BAAAjR,MAAA8N,EAAArF,cAAA0H,EAAArF,YAAApL,KAAuJuO,EAAA,kBAAuBrB,OAAOlN,OAAAC,OAAAwQ,EAAAvQ,MAAA8Q,EAAA1K,QAAA8H,EAAA9H,SAA8DqI,IAAK6C,aAAApD,EAAAnE,2BAA2C,KAAMsE,EAAA,YAAe,QAC94F/K","file":"design-grid.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"design-grid\"] = factory();\n\telse\n\t\troot[\"design-grid\"] = factory();\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"design-grid\"] = factory();\n\telse\n\t\troot[\"design-grid\"] = factory();\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"/dist/\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 7);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\n/* harmony default export */ __webpack_exports__[\"a\"] = ({\n DEFAULT_LINE_HEIGHT: 26,\n\n assign: function assign(target, obj) {\n if (obj == null) {\n return target;\n }\n if (typeof Object.assign === 'function') {\n return Object.assign(target, obj);\n }\n target = Object(target);\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n target[key] = obj[key];\n }\n }\n }\n return target;\n },\n set: function set(obj, key, value) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n obj[key] = value;\n } else {\n Object.defineProperty(obj, key, {\n value: value,\n writable: true,\n configurable: true,\n enumerable: false\n });\n }\n },\n\n\n /**\n * get the cell string value\n * @param {string} filtername\n * @param {*} item\n * @param {*} column\n * @param {number} index\n * @return {string}\n */\n value: function value(filtername, item, column, index) {\n if (item == null) {\n return '';\n }\n var filter = column[filtername || 'filter'];\n var v = void 0;\n if (typeof filter === 'function') {\n v = filter.call(this, item, index);\n } else {\n v = item && item[typeof filter === 'string' ? filter : column.key];\n }\n if (v == null) {\n return '';\n }\n return String(v);\n },\n\n /**\n * get the cell style\n * @param {string} filtername\n * @param {*} item\n * @param {*} column\n * @param {number} index\n * @return {*}\n */\n style: function style(filtername, item, column, index) {\n if (item == null) {\n return null;\n }\n var filter = column[filtername || 'style'];\n switch (typeof filter === 'undefined' ? 'undefined' : _typeof(filter)) {\n case 'function':\n return filter.call(this, item, index);\n case 'string':\n return item && item[filter];\n default:\n return filter;\n }\n },\n\n\n math: {\n /**\n * truncate the given number\n * @param {number} val\n * @return {number}\n */\n trunc: function trunc(val) {\n var v = Number(val);\n if (isNaN(v)) {\n return val;\n }\n return (v > 0 ? Math.floor : Math.ceil)(v);\n }\n },\n ui: {\n /**\n * get the clientX compatibility\n * @param {*} e\n * @return {number}\n */\n getClientX: function getClientX(e) {\n if (e == null) {\n return null;\n }\n if (e.originalEvent != null) {\n e = e.originalEvent;\n }\n var cx = e.touches && e.touches[0] && e.touches[0].clientX;\n if (cx === undefined) {\n return e.clientX;\n }\n return cx;\n },\n getClientY: function getClientY(e) {\n if (e == null) {\n return null;\n }\n if (e.originalEvent != null) {\n e = e.originalEvent;\n }\n var cy = e.touches && e.touches[0] && e.touches[0].clientY;\n if (cy === undefined) {\n return e.clientY;\n }\n return cy;\n },\n\n /**\n * get the sum of the offsetLeft\n * @param {*} el\n * @return {number}\n */\n getOffsetLeft: function getOffsetLeft(el) {\n var left = 0;\n while (el) {\n left += el.offsetLeft;\n el = el.offsetParent;\n }\n return left;\n }\n },\n func: {\n /**\n * debounce to trigger the function\n * @param {function} method\n * @param {number} delay\n * @param {*} context\n * @param {*} args\n */\n debounce: function debounce(method) {\n for (var _len = arguments.length, args = Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n args[_key - 3] = arguments[_key];\n }\n\n var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 100;\n var context = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : window;\n\n if (typeof method !== 'function') {\n return;\n }\n clearTimeout(method.tiid);\n method.tiid = setTimeout(function () {\n return method.apply(context, args);\n }, delay);\n },\n\n /**\n * throttle to trigger the function\n * @param {function} method\n * @param {number} delay\n * @param {*} context\n * @param {*} args\n */\n throttle: function throttle(method) {\n for (var _len2 = arguments.length, args = Array(_len2 > 3 ? _len2 - 3 : 0), _key2 = 3; _key2 < _len2; _key2++) {\n args[_key2 - 3] = arguments[_key2];\n }\n\n var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 100;\n var context = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : window;\n\n if (typeof method !== 'function') {\n return;\n }\n clearTimeout(method.tiid);\n var current = new Date();\n if (method.tdate == null || current - method.tdate > delay) {\n method.apply(context, args);\n method.tdate = current;\n } else {\n method.tiid = setTimeout(function () {\n return method.apply(context, args);\n }, delay);\n }\n }\n }\n});\n\n/***/ }),\n/* 1 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = normalizeComponent;\n/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nfunction normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n scriptExports = scriptExports || {}\n\n // ES6 modules interop\n var type = typeof scriptExports.default\n if (type === 'object' || type === 'function') {\n scriptExports = scriptExports.default\n }\n\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functioal component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n\n\n/***/ }),\n/* 2 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__design_grid_header_vue__ = __webpack_require__(8);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__design_grid_column_input_vue__ = __webpack_require__(10);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__design_grid_row_header_vue__ = __webpack_require__(12);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__utils__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__design_grid_func__ = __webpack_require__(4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__design_grid_scss__ = __webpack_require__(14);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__design_grid_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__design_grid_scss__);\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n\nfunction checkIfSame(indexes, olds) {\n if (olds === indexes) {\n return true;\n }\n if (olds != null && indexes != null && olds.length === indexes.length) {\n var tmp = [];\n olds.forEach(function (i) {\n return tmp[i] = 1;\n });\n indexes.forEach(function (i) {\n return tmp[i]--;\n });\n var changed = false;\n tmp.forEach(function (i) {\n return changed = changed && tmp[i] !== 0;\n });\n if (!changed) {\n return true;\n }\n }\n return false;\n}\n\n/* harmony default export */ __webpack_exports__[\"a\"] = ({\n name: 'design-grid',\n components: {\n 'd-column-header': __WEBPACK_IMPORTED_MODULE_0__design_grid_header_vue__[\"a\" /* default */],\n 'd-grid-row-header': __WEBPACK_IMPORTED_MODULE_2__design_grid_row_header_vue__[\"a\" /* default */],\n 'd-column-input': __WEBPACK_IMPORTED_MODULE_1__design_grid_column_input_vue__[\"a\" /* default */]\n },\n props: {\n enabled: {\n type: Boolean,\n default: function _default() {\n return true;\n }\n },\n columns: {\n type: Array,\n default: function _default() {\n return [];\n },\n\n required: true\n },\n source: {\n type: Array,\n default: function _default() {\n return [];\n }\n },\n window: {\n default: function _default() {\n return window;\n }\n },\n defaultHeight: {\n type: Number,\n default: function _default() {\n return __WEBPACK_IMPORTED_MODULE_3__utils__[\"a\" /* default */].DEFAULT_LINE_HEIGHT;\n }\n }\n },\n data: function data() {\n return {\n selectedIndexes: [],\n selectedColIndexes: []\n };\n },\n\n watch: {\n selectedIndexes: function selectedIndexes(val) {\n if (checkIfSame(val, this._oldSelectedIndexes)) {\n return;\n }\n this.$emit('selected-indexes-changed', val, this._oldSelectedIndexes);\n this._oldSelectedIndexes = val;\n },\n selectedColIndexes: function selectedColIndexes(val) {\n if (checkIfSame(val, this._oldSelectedColIndexes)) {\n return;\n }\n this.$emit('selected-col-indexes-changed', val, this._oldSelectedColIndexes);\n this._oldSelectedColIndexes = val;\n }\n },\n mounted: function mounted() {\n __WEBPACK_IMPORTED_MODULE_4__design_grid_func__[\"a\" /* default */].wrapColumns.call(this, this.columns);\n this.__window.addEventListener('resize', this.__window_on_resize, false);\n },\n beforeDestroy: function beforeDestroy() {\n this.__window.removeEventListener('resize', this.__window_on_resize);\n },\n updated: function updated() {\n __WEBPACK_IMPORTED_MODULE_4__design_grid_func__[\"a\" /* default */].updateBodyTop.call(this);\n },\n\n computed: {\n selectedIndex: function selectedIndex() {\n var count = this.selectedIndexes && this.selectedIndexes.length;\n if (count > 0) {\n return this.selectedIndexes[count - 1];\n }\n return null;\n },\n selectedColIndex: function selectedColIndex() {\n var count = this.selectedColIndexes && this.selectedColIndexes.length;\n if (count > 0) {\n return this.selectedColIndexes[count - 1];\n }\n return null;\n },\n __window: function __window() {\n return this.window || window;\n }\n },\n methods: {\n __window_on_resize: function __window_on_resize() {\n __WEBPACK_IMPORTED_MODULE_3__utils__[\"a\" /* default */].func.throttle(__WEBPACK_IMPORTED_MODULE_4__design_grid_func__[\"a\" /* default */].windowResizing, 8, this);\n },\n __column_header_on_mouse_down: function __column_header_on_mouse_down(key, index) {\n if (this.selectedIndex != null) {\n this.selectedIndexes = [];\n }\n // columns\n if (this.selectedColIndex !== index || this.selectedColIndexes && this.selectedColIndexes.length > 1) {\n this.selectedColIndexes = [index];\n }\n this.$emit('column-header-mouse-down', key, index);\n },\n __column_header_on_dblclick: function __column_header_on_dblclick(key, index) {\n this.$emit('column-dbl-click', key, index);\n },\n __column_header_on_width_changing: function __column_header_on_width_changing(index, width) {\n __WEBPACK_IMPORTED_MODULE_4__design_grid_func__[\"a\" /* default */].updateBodyTop.call(this);\n __WEBPACK_IMPORTED_MODULE_3__utils__[\"a\" /* default */].func.throttle(__WEBPACK_IMPORTED_MODULE_4__design_grid_func__[\"a\" /* default */].widthChanging, 8, this, index, width);\n },\n __column_header_on_width_changed: function __column_header_on_width_changed(index, width) {\n __WEBPACK_IMPORTED_MODULE_4__design_grid_func__[\"a\" /* default */].resizeColumn.call(this, index, width);\n this.$emit('column-width-changed', index, width);\n },\n __row_header_on_height_changing: function __row_header_on_height_changing(index, height) {\n __WEBPACK_IMPORTED_MODULE_3__utils__[\"a\" /* default */].func.throttle(__WEBPACK_IMPORTED_MODULE_4__design_grid_func__[\"a\" /* default */].heightChanging, 8, this, index, height);\n },\n __row_header_on_height_changed: function __row_header_on_height_changed(index, height) {\n this.$emit('row-height-changed', index, height);\n },\n __contains_index: function __contains_index(indexes, index) {\n return indexes != null && indexes.indexOf(index) >= 0;\n },\n __mixin_style: function __mixin_style(style, item) {\n var height = Number(item.__height);\n if (isNaN(height)) {\n height = this.defaultHeight;\n }\n // eslint-disable-next-line object-curly-spacing\n var s = __WEBPACK_IMPORTED_MODULE_3__utils__[\"a\" /* default */].assign({}, style);\n if (s.width === '0px') {\n s.display = 'none';\n }\n s.height = height + 'px';\n return s;\n },\n __grid_body_on_scroll: function __grid_body_on_scroll(e) {\n var left = e.target.scrollLeft;\n if (this._scrollLeft !== left) {\n __WEBPACK_IMPORTED_MODULE_3__utils__[\"a\" /* default */].set(this, '_scrollLeft', left);\n this.$refs.header.parentElement.style.marginLeft = -left + 'px';\n }\n },\n __row_on_mousedown: function __row_on_mousedown(index, e) {\n if (!this.enabled) {\n return;\n }\n var colIndex = void 0;\n var cancel = void 0;\n if (typeof e === 'boolean') {\n colIndex = e ? -2 : -1;\n cancel = index < 0;\n if (!cancel) {\n this.$emit('row-header-mouse-down', index);\n }\n } else {\n colIndex = __WEBPACK_IMPORTED_MODULE_4__design_grid_func__[\"a\" /* default */].getSelectedColumnIndex.call(this, e);\n cancel = index < 0 || e.target.className === 'd-grid-row';\n }\n if (colIndex !== -1 || typeof e !== 'boolean') {\n if (cancel) {\n if (this.selectedIndex != null) {\n this.selectedIndexes = [];\n }\n } else {\n if (this.selectedIndex !== index || this.selectedIndexes && this.selectedIndexes.length > 1) {\n this.selectedIndexes = [index];\n }\n }\n }\n // columns\n if (colIndex < 0) {\n this.selectedColIndexes = [];\n } else if (this.selectedColIndex !== colIndex || this.selectedColIndexes && this.selectedColIndexes.length > 1) {\n this.selectedColIndexes = [colIndex];\n }\n },\n __row_header_on_dblclick: function __row_header_on_dblclick(index) {\n this.$emit('row-header-dbl-click', index);\n },\n _row_on_dblclick: function _row_on_dblclick(e) {\n if (!this.enabled) {\n return;\n }\n var columnIndex = __WEBPACK_IMPORTED_MODULE_4__design_grid_func__[\"a\" /* default */].getSelectedColumnIndex.call(this, e);\n if (columnIndex >= 0) {\n this.$emit('cell-dbl-click', this.selectedIndex, columnIndex);\n }\n },\n __row_on_value_changed: function __row_on_value_changed(item, key, value) {\n this.$emit('cell-value-changed', item, key, value);\n }\n }\n});\n\n/***/ }),\n/* 3 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__utils__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__design_grid_func__ = __webpack_require__(4);\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"a\"] = ({\n props: {\n index: Number,\n column: null,\n window: null,\n enabled: Boolean\n },\n computed: {\n headerClass: function headerClass() {\n __WEBPACK_IMPORTED_MODULE_1__design_grid_func__[\"a\" /* default */].setColumnStyle.call(this, this.column);\n return {\n width: this.column.width + 'px',\n textAlign: 'center' // this.column.align,\n };\n }\n },\n methods: {\n onMouseDown: function onMouseDown(e) {\n if (!this.enabled) {\n return;\n }\n this.$emit('columnMouseDown', this.column.key, this.index);\n },\n onDblClick: function onDblClick(e) {\n if (!this.enabled) {\n return;\n }\n this.$emit('columnDblClick', this.column.key, this.index);\n },\n onResizeStart: function onResizeStart(e) {\n this._cX = __WEBPACK_IMPORTED_MODULE_0__utils__[\"a\" /* default */].ui.getClientX(e);\n this._width = this.column.width;\n this._index = this.index;\n this.window.addEventListener('mousemove', this.onResizeMove, false);\n this.window.addEventListener('mouseup', this.onResizeEnd, false);\n this.window.addEventListener('touchmove', this.onResizeMove, false);\n this.window.addEventListener('touchend', this.onResizeEnd, false);\n },\n onResizeMove: function onResizeMove(e) {\n this._isResizing = true;\n var cx = __WEBPACK_IMPORTED_MODULE_0__utils__[\"a\" /* default */].ui.getClientX(e);\n var val = this._width + (cx - this._cX);\n if (val < this.column.minWidth) {\n val = this.column.minWidth;\n }\n if (this._innerWidth === val) {\n return;\n }\n this._innerWidth = val;\n this.$refs.header.style.width = val + 'px';\n this.$emit('widthChanging', this._index, val);\n },\n onResizeEnd: function onResizeEnd() {\n var _this = this;\n\n this.window.removeEventListener('mousemove', this.onResizeMove);\n this.window.removeEventListener('mouseup', this.onResizeEnd);\n this.window.removeEventListener('touchmove', this.onResizeMove);\n this.window.removeEventListener('touchend', this.onResizeEnd);\n setTimeout(function () {\n return delete _this._isResizing;\n }, 100);\n if (this._innerWidth != null) {\n this.$emit('widthChanged', this._index, this._innerWidth);\n delete this._innerWidth;\n }\n }\n }\n});\n\n/***/ }),\n/* 4 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar MINI_COLUMN_WIDTH = 0;\nvar DEFAULT_WIDTH = 100;\n\n/* eslint-disable no-invalid-this */\n/* eslint-disable no-unused-vars */\nfunction _setColumnStyle(c) {\n var w = c.width + 'px';\n if (c.columnStyle == null) {\n this.$set(c, 'columnStyle', {\n width: w,\n minWidth: w,\n maxWidth: w,\n textAlign: c.align\n });\n } else {\n var style = c.columnStyle;\n this.$set(style, 'width', w);\n this.$set(style, 'minWidth', w);\n this.$set(style, 'maxWidth', w);\n this.$set(style, 'textAlign', c.align);\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"a\"] = ({\n windowResizing: function windowResizing() {\n this._data.__bodyClientHeight = this.$refs.gridbody.clientHeight;\n },\n updateBodyTop: function updateBodyTop() {\n if (this.$refs.header) {\n var h = this.$refs.header.offsetHeight + 1;\n if (h >= 27 && this.$refs.gridbody.offsetTop !== h) {\n this.$refs.gridbody.style.top = h + 'px';\n }\n }\n },\n widthChanging: function widthChanging(index, width) {\n var rows = this.$refs.gridrows;\n var w = width + 'px';\n if (rows && rows.length > 0) {\n var change = void 0;\n for (var i = 0; i < rows.length; i++) {\n var cell = rows[i].children[index + 1];\n if (change === undefined) {\n if (width > 0) {\n if (cell.style.display === 'none') {\n change = '';\n } else {\n change = null;\n }\n } else {\n if (cell.style.display !== 'none') {\n change = 'none';\n } else {\n change = null;\n }\n }\n }\n if (change != null) {\n cell.style.display = change;\n }\n cell.style.width = w;\n cell.style.minWidth = w;\n cell.style.maxWidth = w;\n }\n }\n },\n heightChanging: function heightChanging(index, height) {\n var row = this.$refs.gridrows[index];\n var h = height + 'px';\n if (row && row.children) {\n for (var i = 1; i < row.children.length - 1; i++) {\n var td = row.children[i];\n td.style.height = h;\n }\n }\n },\n setColumnStyle: function setColumnStyle(column) {\n _setColumnStyle.call(this, column);\n },\n resizeColumn: function resizeColumn(index, width, autoResize) {\n var c = this.columns[index];\n c.width = width;\n _setColumnStyle.call(this, c);\n },\n wrapColumns: function wrapColumns(columns) {\n for (var i = 0; i < columns.length; i++) {\n var c = columns[i];\n if (c.key === undefined) {\n this.$set(c, 'key', null);\n }\n if (c.caption === undefined) {\n this.$set(c, 'caption', '');\n }\n if (c.enabled === undefined) {\n this.$set(c, 'enabled', true);\n }\n if (c.visible === undefined) {\n this.$set(c, 'visible', true);\n }\n if (c.width === undefined || c.width <= 0) {\n this.$set(c, 'width', DEFAULT_WIDTH);\n }\n if (c.minWidth === undefined) {\n this.$set(c, 'minWidth', MINI_COLUMN_WIDTH);\n }\n if (c.align === undefined) {\n this.$set(c, 'align', 'left');\n }\n _setColumnStyle.call(this, c);\n }\n },\n getSelectedColumnIndex: function getSelectedColumnIndex(e) {\n if (e.target.className !== 'd-grid-row') {\n var target = e.target;\n while (target.parentElement && (' ' + target.parentElement.className + ' ').indexOf(' d-grid-row ') < 0) {\n target = target.parentElement;\n }\n var parent = target.parentElement;\n if (parent == null) {\n return -1;\n }\n var columnIndex = 0;\n for (var i = 1; i < parent.children.length - 1; i++) {\n if (parent.children[i] === target) {\n columnIndex = i;\n break;\n }\n }\n return columnIndex - 1;\n }\n return -1;\n }\n});\n\n/***/ }),\n/* 5 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__utils__ = __webpack_require__(0);\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n/* harmony default export */ __webpack_exports__[\"a\"] = ({\n props: {\n item: null,\n column: null,\n index: Number,\n enabled: Boolean\n },\n computed: {\n value: function value() {\n return this.item && this.item[this.column.key];\n },\n innerEnabled: function innerEnabled() {\n if (!this.enabled) {\n return false;\n }\n var enabledKey = this.column.enabled;\n switch (typeof enabledKey === 'undefined' ? 'undefined' : _typeof(enabledKey)) {\n case 'boolean':\n return enabledKey;\n case 'string':\n return this.item[enabledKey];\n case 'function':\n return enabledKey.call(this, this.item);\n default:\n return true;\n }\n },\n isMultiLanguages: function isMultiLanguages() {\n var multilangs = this.column.ismultilangs;\n if (typeof multilangs === 'function') {\n return multilangs(this.item, this.column);\n }\n return multilangs === true;\n },\n customStyle: function customStyle() {\n return __WEBPACK_IMPORTED_MODULE_0__utils__[\"a\" /* default */].style.call(this, null, this.item, this.column, this.index);\n },\n contentStyle: function contentStyle() {\n var style = __WEBPACK_IMPORTED_MODULE_0__utils__[\"a\" /* default */].style.call(this, 'contentStyle', this.item, this.column, this.index);\n if (style != null && this.column.align !== 'left') {\n style.textAlign = this.column.align;\n }\n if (this.isMultiLanguages && this.innerEnabled) {\n style.paddingRight = '24px';\n }\n return style;\n },\n attributes: function attributes() {\n if (this.item == null) {\n return null;\n }\n var attrs = this.column.attrs;\n if (typeof attrs === 'function') {\n attrs = attrs.call(this, this.item);\n }\n return attrs;\n }\n },\n methods: {\n onUpdateValue: function onUpdateValue(value) {\n var old = this.item[this.column.key];\n if (old === value) {\n return;\n }\n this.$set(this.item, this.column.key, value);\n if (typeof this.column.onchanged === 'function') {\n this.column.onchanged.call(this, this.item, old);\n }\n },\n onChangeValue: function onChangeValue(value) {\n this.onUpdateValue(value);\n this.$emit('valueChanged', this.item, this.column.key, value);\n },\n onMultiLangs: function onMultiLangs() {\n if (typeof this.column.onMultiLangs === 'function') {\n this.column.onMultiLangs(this.item, this.column);\n }\n }\n }\n});\n\n/***/ }),\n/* 6 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__utils__ = __webpack_require__(0);\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n/* harmony default export */ __webpack_exports__[\"a\"] = ({\n props: {\n item: null,\n index: Number,\n window: null,\n defaultHeight: Number,\n enabled: Boolean\n },\n computed: {\n style: function style() {\n return {\n height: this.getHeight() + 'px'\n };\n },\n divStyle: function divStyle() {\n return {\n lineHeight: this.getHeight() + 'px'\n };\n }\n },\n methods: {\n getHeight: function getHeight() {\n var height = Number(this.item.__height);\n if (isNaN(height)) {\n return this.defaultHeight;\n }\n return height;\n },\n onMouseDown: function onMouseDown(e) {\n if (!this.enabled) {\n return;\n }\n this.$emit('rowHeaderMouseDown', this.index);\n },\n onDblClick: function onDblClick() {\n if (!this.enabled) {\n return;\n }\n this.$emit('rowHeaderDblClick', this.index);\n },\n onResizeStart: function onResizeStart(e) {\n this._cY = __WEBPACK_IMPORTED_MODULE_0__utils__[\"a\" /* default */].ui.getClientY(e);\n this._height = this.getHeight();\n this._index = this.index;\n this.window.addEventListener('mousemove', this.onResizeMove, false);\n this.window.addEventListener('mouseup', this.onResizeEnd, false);\n this.window.addEventListener('touchmove', this.onResizeMove, false);\n this.window.addEventListener('touchend', this.onResizeEnd, false);\n },\n onResizeMove: function onResizeMove(e) {\n this._isResizing = true;\n var cy = __WEBPACK_IMPORTED_MODULE_0__utils__[\"a\" /* default */].ui.getClientY(e);\n var val = this._height + (cy - this._cY);\n // eslint-disable-next-line no-warning-comments\n // TODO: don't allow to resize the row height below zero\n // because of the row-header resizer\n if (val < 1) {\n val = 1;\n }\n if (this._innerHeight === val) {\n return;\n }\n this._innerHeight = val;\n var h = val + 'px';\n this.$refs.header.style.height = h;\n this.$refs.header.children[0].style.lineHeight = h;\n this.$emit('heightChanging', this._index, val);\n },\n onResizeEnd: function onResizeEnd() {\n var _this = this;\n\n this.window.removeEventListener('mousemove', this.onResizeMove);\n this.window.removeEventListener('mouseup', this.onResizeEnd);\n this.window.removeEventListener('touchmove', this.onResizeMove);\n this.window.removeEventListener('touchend', this.onResizeEnd);\n setTimeout(function () {\n return delete _this._isResizing;\n }, 100);\n if (this._innerHeight != null) {\n __WEBPACK_IMPORTED_MODULE_0__utils__[\"a\" /* default */].set(this.item, '__height', this._innerHeight);\n this.$emit('heightChanged', this._index, this._innerHeight);\n delete this._innerHeight;\n }\n }\n }\n});\n\n/***/ }),\n/* 7 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_design_grid_vue__ = __webpack_require__(2);\n/* empty harmony namespace reexport */\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_18fde9d9_hasScoped_false_optionsId_0_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_design_grid_vue__ = __webpack_require__(15);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__node_modules_vue_loader_lib_runtime_component_normalizer__ = __webpack_require__(1);\n/* script */\n\n\n/* template */\n\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\n\nvar Component = Object(__WEBPACK_IMPORTED_MODULE_2__node_modules_vue_loader_lib_runtime_component_normalizer__[\"a\" /* default */])(\n __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_design_grid_vue__[\"a\" /* default */],\n __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_18fde9d9_hasScoped_false_optionsId_0_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_design_grid_vue__[\"a\" /* render */],\n __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_18fde9d9_hasScoped_false_optionsId_0_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_design_grid_vue__[\"b\" /* staticRenderFns */],\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Component.exports);\n\n\n/***/ }),\n/* 8 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_design_grid_header_vue__ = __webpack_require__(3);\n/* unused harmony namespace reexport */\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_39b27e31_hasScoped_false_optionsId_0_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_design_grid_header_vue__ = __webpack_require__(9);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__node_modules_vue_loader_lib_runtime_component_normalizer__ = __webpack_require__(1);\n/* script */\n\n\n/* template */\n\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\n\nvar Component = Object(__WEBPACK_IMPORTED_MODULE_2__node_modules_vue_loader_lib_runtime_component_normalizer__[\"a\" /* default */])(\n __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_design_grid_header_vue__[\"a\" /* default */],\n __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_39b27e31_hasScoped_false_optionsId_0_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_design_grid_header_vue__[\"a\" /* render */],\n __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_39b27e31_hasScoped_false_optionsId_0_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_design_grid_header_vue__[\"b\" /* staticRenderFns */],\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (Component.exports);\n\n\n/***/ }),\n/* 9 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"b\", function() { return staticRenderFns; });\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('th',{ref:\"header\",staticClass:\"d-column-header\",style:(_vm.headerClass),on:{\"mousedown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"left\",37,$event.key,[\"Left\",\"ArrowLeft\"])){ return null; }if('button' in $event && $event.button !== 0){ return null; }return _vm.onMouseDown($event)},\"dblclick\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"left\",37,$event.key,[\"Left\",\"ArrowLeft\"])){ return null; }if('button' in $event && $event.button !== 0){ return null; }return _vm.onDblClick($event)}}},[_c('div',{staticClass:\"d-column-header-text\"},[_c('span',[_vm._t(\"default\")],2)]),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.enabled),expression:\"enabled\"}],staticClass:\"d-column-header-split\",on:{\"mousedown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"left\",37,$event.key,[\"Left\",\"ArrowLeft\"])){ return null; }$event.preventDefault();$event.stopPropagation();if('button' in $event && $event.button !== 0){ return null; }return _vm.onResizeStart($event)},\"touchstart\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.onResizeStart($event)}}})])}\nvar staticRenderFns = []\n\n\n/***/ }),\n/* 10 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_design_grid_column_input_vue__ = __webpack_require__(5);\n/* unused harmony namespace reexport */\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_a0c5f490_hasScoped_false_optionsId_0_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_design_grid_column_input_vue__ = __webpack_require__(11);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__node_modules_vue_loader_lib_runtime_component_normalizer__ = __webpack_require__(1);\n/* script */\n\n\n/* template */\n\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\n\nvar Component = Object(__WEBPACK_IMPORTED_MODULE_2__node_modules_vue_loader_lib_runtime_component_normalizer__[\"a\" /* default */])(\n __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_design_grid_column_input_vue__[\"a\" /* default */],\n __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_a0c5f490_hasScoped_false_optionsId_0_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_design_grid_column_input_vue__[\"a\" /* render */],\n __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_a0c5f490_hasScoped_false_optionsId_0_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_design_grid_column_input_vue__[\"b\" /* staticRenderFns */],\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (Component.exports);\n\n\n/***/ }),\n/* 11 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"b\", function() { return staticRenderFns; });\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{style:(_vm.customStyle)},[_c('input',_vm._g(_vm._b({class:!_vm.innerEnabled && 'readonly-input',style:(_vm.contentStyle),attrs:{\"type\":\"text\"},domProps:{\"readOnly\":!_vm.innerEnabled,\"value\":_vm.value},on:{\"input\":function($event){return _vm.onUpdateValue($event.target.value)},\"change\":function($event){return _vm.onChangeValue($event.target.value)}}},'input',_vm.attributes,false),_vm.column.events)),_vm._v(\" \"),(_vm.innerEnabled && _vm.isMultiLanguages)?_c('em',{staticClass:\"fa fi-multilangs\",on:{\"click\":_vm.onMultiLangs}}):_vm._e()])])}\nvar staticRenderFns = []\n\n\n/***/ }),\n/* 12 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_design_grid_row_header_vue__ = __webpack_require__(6);\n/* unused harmony namespace reexport */\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_47fb3088_hasScoped_false_optionsId_0_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_design_grid_row_header_vue__ = __webpack_require__(13);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__node_modules_vue_loader_lib_runtime_component_normalizer__ = __webpack_require__(1);\n/* script */\n\n\n/* template */\n\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\n\nvar Component = Object(__WEBPACK_IMPORTED_MODULE_2__node_modules_vue_loader_lib_runtime_component_normalizer__[\"a\" /* default */])(\n __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_design_grid_row_header_vue__[\"a\" /* default */],\n __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_47fb3088_hasScoped_false_optionsId_0_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_design_grid_row_header_vue__[\"a\" /* render */],\n __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_47fb3088_hasScoped_false_optionsId_0_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_design_grid_row_header_vue__[\"b\" /* staticRenderFns */],\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (Component.exports);\n\n\n/***/ }),\n/* 13 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"b\", function() { return staticRenderFns; });\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('td',{ref:\"header\",style:(_vm.style),on:{\"mousedown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"left\",37,$event.key,[\"Left\",\"ArrowLeft\"])){ return null; }if('button' in $event && $event.button !== 0){ return null; }return _vm.onMouseDown($event)},\"dblclick\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"left\",37,$event.key,[\"Left\",\"ArrowLeft\"])){ return null; }if('button' in $event && $event.button !== 0){ return null; }return _vm.onDblClick($event)}}},[_c('div',{style:(_vm.divStyle)},[_vm._v(_vm._s(_vm.index + 1))]),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.enabled),expression:\"enabled\"}],staticClass:\"d-row-header-split\",on:{\"mousedown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"left\",37,$event.key,[\"Left\",\"ArrowLeft\"])){ return null; }$event.preventDefault();$event.stopPropagation();if('button' in $event && $event.button !== 0){ return null; }return _vm.onResizeStart($event)},\"touchstart\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.onResizeStart($event)}}})])}\nvar staticRenderFns = []\n\n\n/***/ }),\n/* 14 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 15 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"b\", function() { return staticRenderFns; });\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"d-grid\"},[_c('table',{staticClass:\"d-grid-table-header\"},[_c('tr',{ref:\"header\",staticClass:\"d-grid-header\"},[_c('th',{staticClass:\"d-column-header\"}),_vm._l((_vm.columns),function(col,idx){return _c('d-column-header',{directives:[{name:\"show\",rawName:\"v-show\",value:(col.visible),expression:\"col.visible\"}],key:idx,class:_vm.__contains_index(_vm.selectedColIndexes, idx) ? 'd-column-selected' : '',attrs:{\"window\":_vm.__window,\"index\":idx,\"column\":col,\"enabled\":_vm.enabled},on:{\"columnMouseDown\":_vm.__column_header_on_mouse_down,\"columnDblClick\":_vm.__column_header_on_dblclick,\"widthChanging\":_vm.__column_header_on_width_changing,\"widthChanged\":_vm.__column_header_on_width_changed}},[_vm._v(_vm._s(col.caption || col.key))])}),_c('th',{staticClass:\"d-column-header-holder\"})],2)]),_c('div',{ref:\"gridbody\",staticClass:\"d-grid-body\",on:{\"mousedown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"left\",37,$event.key,[\"Left\",\"ArrowLeft\"])){ return null; }if('button' in $event && $event.button !== 0){ return null; }if($event.target !== $event.currentTarget){ return null; }return _vm.__row_on_mousedown(-1, true)},\"&scroll\":function($event){return _vm.__grid_body_on_scroll($event)}}},[_c('table',{staticClass:\"d-grid-body-content\"},_vm._l((_vm.source),function(item,rowidx){return _c('tr',{key:rowidx,ref:\"gridrows\",refInFor:true,staticClass:\"d-grid-row\",class:_vm.__contains_index(_vm.selectedIndexes, rowidx) ? 'd-grid-row-selected' : '',on:{\"!mousedown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"left\",37,$event.key,[\"Left\",\"ArrowLeft\"])){ return null; }if('button' in $event && $event.button !== 0){ return null; }return _vm.__row_on_mousedown(rowidx, $event)},\"!dblclick\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"left\",37,$event.key,[\"Left\",\"ArrowLeft\"])){ return null; }if('button' in $event && $event.button !== 0){ return null; }return _vm._row_on_dblclick($event)}}},[_c('d-grid-row-header',{attrs:{\"index\":rowidx,\"item\":item,\"window\":_vm.__window,\"defaultHeight\":_vm.defaultHeight,\"enabled\":_vm.enabled},on:{\"rowHeaderMouseDown\":function($event){return _vm.__row_on_mousedown(rowidx, true)},\"rowHeaderDblClick\":function($event){return _vm.__row_header_on_dblclick(rowidx)},\"heightChanging\":_vm.__row_header_on_height_changing,\"heightChanged\":_vm.__row_header_on_height_changed}}),_vm._l((_vm.columns),function(col,colidx){return _c('td',{directives:[{name:\"show\",rawName:\"v-show\",value:(col.visible),expression:\"col.visible\"}],key:colidx,class:_vm.__contains_index(_vm.selectedColIndexes, colidx) ? 'd-grid-cell-selected' : '',style:(_vm.__mixin_style(col.columnStyle, item))},[_c('d-column-input',{attrs:{\"item\":item,\"column\":col,\"index\":rowidx,\"enabled\":_vm.enabled},on:{\"valueChanged\":_vm.__row_on_value_changed}})],1)}),_c('td')],2)}),0)])])}\nvar staticRenderFns = []\n\n\n/***/ })\n/******/ ]);\n});\n\n\n// WEBPACK FOOTER //\n// design-grid.min.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/dist/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 7);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap aa04cb035f4562a3cf8e","export default {\n DEFAULT_LINE_HEIGHT: 26,\n\n assign(target, obj) {\n if (obj == null) {\n return target;\n }\n if (typeof Object.assign === 'function') {\n return Object.assign(target, obj);\n }\n target = Object(target);\n if (obj != null) {\n for (const key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n target[key] = obj[key];\n }\n }\n }\n return target;\n },\n\n set(obj, key, value) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n obj[key] = value;\n } else {\n Object.defineProperty(obj, key, {\n value: value,\n writable: true,\n configurable: true,\n enumerable: false,\n });\n }\n },\n\n /**\n * get the cell string value\n * @param {string} filtername\n * @param {*} item\n * @param {*} column\n * @param {number} index\n * @return {string}\n */\n value(filtername, item, column, index) {\n if (item == null) {\n return '';\n }\n const filter = column[filtername || 'filter'];\n let v;\n if (typeof filter === 'function') {\n v = filter.call(this, item, index);\n } else {\n v = item && item[typeof filter === 'string' ? filter : column.key];\n }\n if (v == null) {\n return '';\n }\n return String(v);\n },\n /**\n * get the cell style\n * @param {string} filtername\n * @param {*} item\n * @param {*} column\n * @param {number} index\n * @return {*}\n */\n style(filtername, item, column, index) {\n if (item == null) {\n return null;\n }\n const filter = column[filtername || 'style'];\n switch (typeof filter) {\n case 'function': return filter.call(this, item, index);\n case 'string': return item && item[filter];\n default: return filter;\n }\n },\n\n math: {\n /**\n * truncate the given number\n * @param {number} val\n * @return {number}\n */\n trunc(val) {\n const v = Number(val);\n if (isNaN(v)) {\n return val;\n }\n return (v > 0 ? Math.floor : Math.ceil)(v);\n },\n },\n ui: {\n /**\n * get the clientX compatibility\n * @param {*} e\n * @return {number}\n */\n getClientX(e) {\n if (e == null) {\n return null;\n }\n if (e.originalEvent != null) {\n e = e.originalEvent;\n }\n const cx = (e.touches && e.touches[0] && e.touches[0].clientX);\n if (cx === undefined) {\n return e.clientX;\n }\n return cx;\n },\n getClientY(e) {\n if (e == null) {\n return null;\n }\n if (e.originalEvent != null) {\n e = e.originalEvent;\n }\n const cy = (e.touches && e.touches[0] && e.touches[0].clientY);\n if (cy === undefined) {\n return e.clientY;\n }\n return cy;\n },\n /**\n * get the sum of the offsetLeft\n * @param {*} el\n * @return {number}\n */\n getOffsetLeft(el) {\n let left = 0;\n while (el) {\n left += el.offsetLeft;\n el = el.offsetParent;\n }\n return left;\n },\n },\n func: {\n /**\n * debounce to trigger the function\n * @param {function} method\n * @param {number} delay\n * @param {*} context\n * @param {*} args\n */\n debounce(method, delay = 100, context = window, ...args) {\n if (typeof method !== 'function') {\n return;\n }\n clearTimeout(method.tiid);\n method.tiid = setTimeout(() => method.apply(context, args), delay);\n },\n /**\n * throttle to trigger the function\n * @param {function} method\n * @param {number} delay\n * @param {*} context\n * @param {*} args\n */\n throttle(method, delay = 100, context = window, ...args) {\n if (typeof method !== 'function') {\n return;\n }\n clearTimeout(method.tiid);\n const current = new Date();\n if (method.tdate == null || current - method.tdate > delay) {\n method.apply(context, args);\n method.tdate = current;\n } else {\n method.tiid = setTimeout(() => method.apply(context, args), delay);\n }\n },\n },\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/utils/index.js","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n scriptExports = scriptExports || {}\n\n // ES6 modules interop\n var type = typeof scriptExports.default\n if (type === 'object' || type === 'function') {\n scriptExports = scriptExports.default\n }\n\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functioal component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/runtime/component-normalizer.js\n// module id = 1\n// module chunks = 0","<template>\n <div class=\"d-grid\">\n <table class=\"d-grid-table-header\">\n <tr class=\"d-grid-header\" ref=\"header\">\n <th class=\"d-column-header\"></th><!--\n --><d-column-header\n v-for=\"(col, idx) in columns\" v-show=\"col.visible\"\n v-bind:class=\"__contains_index(selectedColIndexes, idx) ? 'd-column-selected' : ''\"\n v-bind:window=\"__window\"\n v-bind:key=\"idx\" v-bind:index=\"idx\"\n v-bind:column=\"col\"\n v-bind:enabled=\"enabled\"\n v-on:columnMouseDown=\"__column_header_on_mouse_down\"\n v-on:columnDblClick=\"__column_header_on_dblclick\"\n v-on:widthChanging=\"__column_header_on_width_changing\"\n v-on:widthChanged=\"__column_header_on_width_changed\">{{ col.caption || col.key }}</d-column-header><!--\n --><th class=\"d-column-header-holder\"></th>\n </tr>\n </table><!--\n --><div class=\"d-grid-body\" ref=\"gridbody\"\n v-on:mousedown.left.self=\"__row_on_mousedown(-1, true)\"\n v-on:scroll.passive=\"__grid_body_on_scroll\">\n <table class=\"d-grid-body-content\">\n <tr ref=\"gridrows\" class=\"d-grid-row\"\n v-for=\"(item, rowidx) in source\" v-bind:key=\"rowidx\"\n v-bind:class=\"__contains_index(selectedIndexes, rowidx) ? 'd-grid-row-selected' : ''\"\n v-on:mousedown.left.capture=\"__row_on_mousedown(rowidx, $event)\"\n v-on:dblclick.left.capture=\"_row_on_dblclick\">\n <d-grid-row-header\n v-bind:index=\"rowidx\"\n v-bind:item=\"item\"\n v-bind:window=\"__window\"\n v-bind:defaultHeight=\"defaultHeight\"\n v-bind:enabled=\"enabled\"\n v-on:rowHeaderMouseDown=\"__row_on_mousedown(rowidx, true)\"\n v-on:rowHeaderDblClick=\"__row_header_on_dblclick(rowidx)\"\n v-on:heightChanging=\"__row_header_on_height_changing\"\n v-on:heightChanged=\"__row_header_on_height_changed\"></d-grid-row-header><!--\n --><td v-for=\"(col, colidx) in columns\" v-bind:key=\"colidx\"\n v-bind:class=\"__contains_index(selectedColIndexes, colidx) ? 'd-grid-cell-selected' : ''\"\n v-bind:style=\"__mixin_style(col.columnStyle, item)\"\n v-show=\"col.visible\">\n <d-column-input v-bind:item=\"item\" v-bind:column=\"col\"\n v-bind:index=\"rowidx\"\n v-bind:enabled=\"enabled\"\n v-on:valueChanged=\"__row_on_value_changed\"></d-column-input>\n </td><td></td>\n </tr>\n </table>\n </div>\n </div>\n</template>\n\n<script>\nimport DesignGridHeader from './design-grid-header.vue';\nimport DesignGridColumnInput from './design-grid-column-input.vue';\nimport DesignGridRowHeader from './design-grid-row-header.vue';\nimport utils from './utils';\nimport functions from './design-grid-func';\nimport './design-grid.scss';\n\nfunction checkIfSame(indexes, olds) {\n if (olds === indexes) {\n return true;\n }\n if (olds != null && indexes != null && olds.length === indexes.length) {\n const tmp = [];\n olds.forEach((i) => tmp[i] = 1);\n indexes.forEach((i) => tmp[i]--);\n let changed = false;\n tmp.forEach((i) => changed = changed && (tmp[i] !== 0));\n if (!changed) {\n return true;\n }\n }\n return false;\n}\n\nexport default {\n name: 'design-grid',\n components: {\n 'd-column-header': DesignGridHeader,\n 'd-grid-row-header': DesignGridRowHeader,\n 'd-column-input': DesignGridColumnInput,\n },\n props: {\n enabled: {\n type: Boolean,\n default() {\n return true;\n },\n },\n columns: {\n type: Array,\n default() {\n return [];\n },\n required: true,\n },\n source: {\n type: Array,\n default() {\n return [];\n },\n },\n window: {\n default() {\n return window;\n },\n },\n defaultHeight: {\n type: Number,\n default() {\n return utils.DEFAULT_LINE_HEIGHT;\n },\n },\n },\n data() {\n return {\n selectedIndexes: [],\n selectedColIndexes: [],\n };\n },\n watch: {\n selectedIndexes(val) {\n if (checkIfSame(val, this._oldSelectedIndexes)) {\n return;\n }\n this.$emit('selected-indexes-changed', val, this._oldSelectedIndexes);\n this._oldSelectedIndexes = val;\n },\n selectedColIndexes(val) {\n if (checkIfSame(val, this._oldSelectedColIndexes)) {\n return;\n }\n this.$emit('selected-col-indexes-changed', val,\n this._oldSelectedColIndexes);\n this._oldSelectedColIndexes = val;\n },\n },\n mounted() {\n functions.wrapColumns.call(this, this.columns);\n this.__window.addEventListener('resize', this.__window_on_resize, false);\n },\n beforeDestroy() {\n this.__window.removeEventListener('resize', this.__window_on_resize);\n },\n updated() {\n functions.updateBodyTop.call(this);\n },\n computed: {\n selectedIndex() {\n const count = this.selectedIndexes && this.selectedIndexes.length;\n if (count > 0) {\n return this.selectedIndexes[count - 1];\n }\n return null;\n },\n selectedColIndex() {\n const count = this.selectedColIndexes && this.selectedColIndexes.length;\n if (count > 0) {\n return this.selectedColIndexes[count - 1];\n }\n return null;\n },\n __window() {\n return this.window || window;\n },\n },\n methods: {\n __window_on_resize() {\n utils.func.throttle(functions.windowResizing, 8, this);\n },\n __column_header_on_mouse_down(key, index) {\n if (this.selectedIndex != null) {\n this.selectedIndexes = [];\n }\n // columns\n if (this.selectedColIndex !== index ||\n (this.selectedColIndexes && this.selectedColIndexes.length > 1)) {\n this.selectedColIndexes = [index];\n }\n this.$emit('column-header-mouse-down', key, index);\n },\n __column_header_on_dblclick(key, index) {\n this.$emit('column-dbl-click', key, index);\n },\n __column_header_on_width_changing(index, width) {\n functions.updateBodyTop.call(this);\n utils.func.throttle(functions.widthChanging, 8, this, index, width);\n },\n __column_header_on_width_changed(index, width) {\n functions.resizeColumn.call(this, index, width);\n this.$emit('column-width-changed', index, width);\n },\n __row_header_on_height_changing(index, height) {\n utils.func.throttle(functions.heightChanging, 8, this, index, height);\n },\n __row_header_on_height_changed(index, height) {\n this.$emit('row-height-changed', index, height);\n },\n __contains_index(indexes, index) {\n return indexes != null && indexes.indexOf(index) >= 0;\n },\n __mixin_style(style, item) {\n let height = Number(item.__height);\n if (isNaN(height)) {\n height = this.defaultHeight;\n }\n // eslint-disable-next-line object-curly-spacing\n const s = utils.assign({}, style);\n if (s.width === '0px') {\n s.display = 'none';\n }\n s.height = `${height}px`;\n return s;\n },\n __grid_body_on_scroll(e) {\n const left = e.target.scrollLeft;\n if (this._scrollLeft !== left) {\n utils.set(this, '_scrollLeft', left);\n this.$refs.header.parentElement.style.marginLeft = `${-left}px`;\n }\n },\n __row_on_mousedown(index, e) {\n if (!this.enabled) {\n return;\n }\n let colIndex;\n let cancel;\n if (typeof e === 'boolean') {\n colIndex = e ? -2 : -1;\n cancel = index < 0;\n if (!cancel) {\n this.$emit('row-header-mouse-down', index);\n }\n } else {\n colIndex = functions.getSelectedColumnIndex.call(this, e);\n cancel = index < 0 || e.target.className === 'd-grid-row';\n }\n if (colIndex !== -1 || typeof e !== 'boolean') {\n if (cancel) {\n if (this.selectedIndex != null) {\n this.selectedIndexes = [];\n }\n } else {\n if (this.selectedIndex !== index ||\n (this.selectedIndexes && this.selectedIndexes.length > 1)) {\n this.selectedIndexes = [index];\n }\n }\n }\n // columns\n if (colIndex < 0) {\n this.selectedColIndexes = [];\n } else if (this.selectedColIndex !== colIndex ||\n (this.selectedColIndexes && this.selectedColIndexes.length > 1)) {\n this.selectedColIndexes = [colIndex];\n }\n },\n __row_header_on_dblclick(index) {\n this.$emit('row-header-dbl-click', index);\n },\n _row_on_dblclick(e) {\n if (!this.enabled) {\n return;\n }\n const columnIndex = functions.getSelectedColumnIndex.call(this, e);\n if (columnIndex >= 0) {\n this.$emit('cell-dbl-click', this.selectedIndex, columnIndex);\n }\n },\n __row_on_value_changed(item, key, value) {\n this.$emit('cell-value-changed', item, key, value);\n },\n },\n};\n</script>\n\n\n\n// WEBPACK FOOTER //\n// src/design-grid.vue","<template>\n <th ref=\"header\" class=\"d-column-header\"\n v-bind:style=\"headerClass\"\n v-on:mousedown.left=\"onMouseDown\"\n v-on:dblclick.left=\"onDblClick\">\n <div class=\"d-column-header-text\">\n <span><slot></slot></span>\n </div><!--\n --><span class=\"d-column-header-split\"\n v-show=\"enabled\"\n v-on:mousedown.prevent.stop.left=\"onResizeStart\"\n v-on:touchstart.prevent.stop=\"onResizeStart\"></span>\n </th>\n</template>\n\n<script>\nimport utils from './utils';\nimport functions from './design-grid-func';\n\nexport default {\n props: {\n index: Number,\n column: null,\n window: null,\n enabled: Boolean,\n },\n computed: {\n headerClass() {\n functions.setColumnStyle.call(this, this.column);\n return {\n width: `${this.column.width}px`,\n textAlign: 'center', // this.column.align,\n };\n },\n },\n methods: {\n onMouseDown(e) {\n if (!this.enabled) {\n return;\n }\n this.$emit('columnMouseDown', this.column.key, this.index);\n },\n onDblClick(e) {\n if (!this.enabled) {\n return;\n }\n this.$emit('columnDblClick', this.column.key, this.index);\n },\n onResizeStart(e) {\n this._cX = utils.ui.getClientX(e);\n this._width = this.column.width;\n this._index = this.index;\n this.window.addEventListener('mousemove', this.onResizeMove, false);\n this.window.addEventListener('mouseup', this.onResizeEnd, false);\n this.window.addEventListener('touchmove', this.onResizeMove, false);\n this.window.addEventListener('touchend', this.onResizeEnd, false);\n },\n onResizeMove(e) {\n this._isResizing = true;\n const cx = utils.ui.getClientX(e);\n let val = this._width + (cx - this._cX);\n if (val < this.column.minWidth) {\n val = this.column.minWidth;\n }\n if (this._innerWidth === val) {\n return;\n }\n this._innerWidth = val;\n this.$refs.header.style.width = `${val}px`;\n this.$emit('widthChanging', this._index, val);\n },\n onResizeEnd() {\n this.window.removeEventListener('mousemove', this.onResizeMove);\n this.window.removeEventListener('mouseup', this.onResizeEnd);\n this.window.removeEventListener('touchmove', this.onResizeMove);\n this.window.removeEventListener('touchend', this.onResizeEnd);\n setTimeout(() => delete this._isResizing, 100);\n if (this._innerWidth != null) {\n this.$emit('widthChanged', this._index, this._innerWidth);\n delete this._innerWidth;\n }\n },\n },\n};\n</script>\n\n\n\n// WEBPACK FOOTER //\n// src/design-grid-header.vue","const MINI_COLUMN_WIDTH = 0;\nconst DEFAULT_WIDTH = 100;\n\n/* eslint-disable no-invalid-this */\n/* eslint-disable no-unused-vars */\nfunction setColumnStyle(c) {\n const w = `${c.width}px`;\n if (c.columnStyle == null) {\n this.$set(c, 'columnStyle', {\n width: w,\n minWidth: w,\n maxWidth: w,\n textAlign: c.align,\n });\n } else {\n const style = c.columnStyle;\n this.$set(style, 'width', w);\n this.$set(style, 'minWidth', w);\n this.$set(style, 'maxWidth', w);\n this.$set(style, 'textAlign', c.align);\n }\n}\n\nexport default {\n windowResizing() {\n this._data.__bodyClientHeight = this.$refs.gridbody.clientHeight;\n },\n\n updateBodyTop() {\n if (this.$refs.header) {\n const h = this.$refs.header.offsetHeight + 1;\n if (h >= 27 && this.$refs.gridbody.offsetTop !== h) {\n this.$refs.gridbody.style.top = `${h}px`;\n }\n }\n },\n\n widthChanging(index, width) {\n const rows = this.$refs.gridrows;\n const w = `${width}px`;\n if (rows && rows.length > 0) {\n let change;\n for (let i = 0; i < rows.length; i++) {\n const cell = rows[i].children[index + 1];\n if (change === undefined) {\n if (width > 0) {\n if (cell.style.display === 'none') {\n change = '';\n } else {\n change = null;\n }\n } else {\n if (cell.style.display !== 'none') {\n change = 'none';\n } else {\n change = null;\n }\n }\n }\n if (change != null) {\n cell.style.display = change;\n }\n cell.style.width = w;\n cell.style.minWidth = w;\n cell.style.maxWidth = w;\n }\n }\n },\n\n heightChanging(index, height) {\n const row = this.$refs.gridrows[index];\n const h = `${height}px`;\n if (row && row.children) {\n for (let i = 1; i < row.children.length - 1; i++) {\n const td = row.children[i];\n td.style.height = h;\n }\n }\n },\n\n setColumnStyle(column) {\n setColumnStyle.call(this, column);\n },\n\n resizeColumn(index, width, autoResize) {\n const c = this.columns[index];\n c.width = width;\n setColumnStyle.call(this, c);\n },\n\n wrapColumns(columns) {\n for (let i = 0; i < columns.length; i++) {\n const c = columns[i];\n if (c.key === undefined) {\n this.$set(c, 'key', null);\n }\n if (c.caption === undefined) {\n this.$set(c, 'caption', '');\n }\n if (c.enabled === undefined) {\n this.$set(c, 'enabled', true);\n }\n if (c.visible === undefined) {\n this.$set(c, 'visible', true);\n }\n if (c.width === undefined || c.width <= 0) {\n this.$set(c, 'width', DEFAULT_WIDTH);\n }\n if (c.minWidth === undefined) {\n this.$set(c, 'minWidth', MINI_COLUMN_WIDTH);\n }\n if (c.align === undefined) {\n this.$set(c, 'align', 'left');\n }\n setColumnStyle.call(this, c);\n }\n },\n\n getSelectedColumnIndex(e) {\n if (e.target.className !== 'd-grid-row') {\n let target = e.target;\n while (target.parentElement &&\n (` ${target.parentElement.className} `).indexOf(' d-grid-row ') < 0) {\n target = target.parentElement;\n }\n const parent = target.parentElement;\n if (parent == null) {\n return -1;\n }\n let columnIndex = 0;\n for (let i = 1; i < parent.children.length - 1; i++) {\n if (parent.children[i] === target) {\n columnIndex = i;\n break;\n }\n }\n return columnIndex - 1;\n }\n return -1;\n },\n /* eslint-enable no-invalid-this */\n /* eslint-enable no-unused-vars */\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/design-grid-func.js","<template>\n <div>\n <div v-bind:style=\"customStyle\">\n <input type=\"text\" v-bind=\"attributes\" v-on=\"column.events\"\n v-bind:readOnly.prop=\"!innerEnabled\"\n v-bind:class=\"!innerEnabled && 'readonly-input'\"\n v-bind:style=\"contentStyle\"\n v-bind:value=\"value\"\n v-on:input=\"onUpdateValue($event.target.value)\"\n v-on:change=\"onChangeValue($event.target.value)\" />\n <em v-if=\"innerEnabled && isMultiLanguages\" class=\"fa fi-multilangs\"\n v-on:click=\"onMultiLangs\" />\n </div>\n </div>\n</template>\n\n<script>\nimport utils from './utils';\n\nexport default {\n props: {\n item: null,\n column: null,\n index: Number,\n enabled: Boolean,\n },\n computed: {\n value() {\n return this.item && this.item[this.column.key];\n },\n innerEnabled() {\n if (!this.enabled) {\n return false;\n }\n const enabledKey = this.column.enabled;\n switch (typeof enabledKey) {\n case 'boolean': return enabledKey;\n case 'string': return this.item[enabledKey];\n case 'function': return enabledKey.call(this, this.item);\n default: return true;\n }\n },\n isMultiLanguages() {\n const multilangs = this.column.ismultilangs;\n if (typeof multilangs === 'function') {\n return multilangs(this.item, this.column);\n }\n return multilangs === true;\n },\n customStyle() {\n return utils.style.call(this, null, this.item, this.column, this.index);\n },\n contentStyle() {\n const style = utils.style.call(this, 'contentStyle',\n this.item,\n this.column,\n this.index);\n if (style != null && this.column.align !== 'left') {\n style.textAlign = this.column.align;\n }\n if (this.isMultiLanguages && this.innerEnabled) {\n style.paddingRight = '24px';\n }\n return style;\n },\n attributes() {\n if (this.item == null) {\n return null;\n }\n let attrs = this.column.attrs;\n if (typeof attrs === 'function') {\n attrs = attrs.call(this, this.item);\n }\n return attrs;\n },\n },\n methods: {\n onUpdateValue(value) {\n const old = this.item[this.column.key];\n if (old === value) {\n return;\n }\n this.$set(this.item, this.column.key, value);\n if (typeof this.column.onchanged === 'function') {\n this.column.onchanged.call(this, this.item, old);\n }\n },\n onChangeValue(value) {\n this.onUpdateValue(value);\n this.$emit('valueChanged', this.item, this.column.key, value);\n },\n onMultiLangs() {\n if (typeof this.column.onMultiLangs === 'function') {\n this.column.onMultiLangs(this.item, this.column);\n }\n },\n },\n};\n</script>\n\n\n\n\n// WEBPACK FOOTER //\n// src/design-grid-column-input.vue","<template>\n <td v-bind:style=\"style\" ref=\"header\"\n v-on:mousedown.left=\"onMouseDown\"\n v-on:dblclick.left=\"onDblClick\">\n <div v-bind:style=\"divStyle\">{{ index + 1 }}</div><!--\n --><span class=\"d-row-header-split\"\n v-show=\"enabled\"\n v-on:mousedown.prevent.stop.left=\"onResizeStart\"\n v-on:touchstart.prevent.stop=\"onResizeStart\"></span>\n </td>\n</template>\n\n<script>\nimport utils from './utils';\n\nexport default {\n props: {\n item: null,\n index: Number,\n window: null,\n defaultHeight: Number,\n enabled: Boolean,\n },\n computed: {\n style() {\n return {\n height: `${this.getHeight()}px`,\n };\n },\n divStyle() {\n return {\n lineHeight: `${this.getHeight()}px`,\n };\n },\n },\n methods: {\n getHeight() {\n const height = Number(this.item.__height);\n if (isNaN(height)) {\n return this.defaultHeight;\n }\n return height;\n },\n onMouseDown(e) {\n if (!this.enabled) {\n return;\n }\n this.$emit('rowHeaderMouseDown', this.index);\n },\n onDblClick() {\n if (!this.enabled) {\n return;\n }\n this.$emit('rowHeaderDblClick', this.index);\n },\n onResizeStart(e) {\n this._cY = utils.ui.getClientY(e);\n this._height = this.getHeight();\n this._index = this.index;\n this.window.addEventListener('mousemove', this.onResizeMove, false);\n this.window.addEventListener('mouseup', this.onResizeEnd, false);\n this.window.addEventListener('touchmove', this.onResizeMove, false);\n this.window.addEventListener('touchend', this.onResizeEnd, false);\n },\n onResizeMove(e) {\n this._isResizing = true;\n const cy = utils.ui.getClientY(e);\n let val = this._height + (cy - this._cY);\n // eslint-disable-next-line no-warning-comments\n // TODO: don't allow to resize the row height below zero\n // because of the row-header resizer\n if (val < 1) {\n val = 1;\n }\n if (this._innerHeight === val) {\n return;\n }\n this._innerHeight = val;\n const h = `${val}px`;\n this.$refs.header.style.height = h;\n this.$refs.header.children[0].style.lineHeight = h;\n this.$emit('heightChanging', this._index, val);\n },\n onResizeEnd() {\n this.window.removeEventListener('mousemove', this.onResizeMove);\n this.window.removeEventListener('mouseup', this.onResizeEnd);\n this.window.removeEventListener('touchmove', this.onResizeMove);\n this.window.removeEventListener('touchend', this.onResizeEnd);\n setTimeout(() => delete this._isResizing, 100);\n if (this._innerHeight != null) {\n utils.set(this.item, '__height', this._innerHeight);\n this.$emit('heightChanged', this._index, this._innerHeight);\n delete this._innerHeight;\n }\n },\n },\n};\n</script>\n\n\n\n// WEBPACK FOOTER //\n// src/design-grid-row-header.vue","/* script */\nexport * from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./design-grid.vue\"\nimport __vue_script__ from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./design-grid.vue\"\n/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-18fde9d9\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../node_modules/vue-loader/lib/selector?type=template&index=0!./design-grid.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/design-grid.vue\n// module id = 7\n// module chunks = 0","/* script */\nexport * from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./design-grid-header.vue\"\nimport __vue_script__ from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./design-grid-header.vue\"\n/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-39b27e31\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../node_modules/vue-loader/lib/selector?type=template&index=0!./design-grid-header.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/design-grid-header.vue\n// module id = 8\n// module chunks = 0","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('th',{ref:\"header\",staticClass:\"d-column-header\",style:(_vm.headerClass),on:{\"mousedown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"left\",37,$event.key,[\"Left\",\"ArrowLeft\"])){ return null; }if('button' in $event && $event.button !== 0){ return null; }return _vm.onMouseDown($event)},\"dblclick\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"left\",37,$event.key,[\"Left\",\"ArrowLeft\"])){ return null; }if('button' in $event && $event.button !== 0){ return null; }return _vm.onDblClick($event)}}},[_c('div',{staticClass:\"d-column-header-text\"},[_c('span',[_vm._t(\"default\")],2)]),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.enabled),expression:\"enabled\"}],staticClass:\"d-column-header-split\",on:{\"mousedown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"left\",37,$event.key,[\"Left\",\"ArrowLeft\"])){ return null; }$event.preventDefault();$event.stopPropagation();if('button' in $event && $event.button !== 0){ return null; }return _vm.onResizeStart($event)},\"touchstart\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.onResizeStart($event)}}})])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-39b27e31\",\"hasScoped\":false,\"optionsId\":\"0\",\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/design-grid-header.vue\n// module id = 9\n// module chunks = 0","/* script */\nexport * from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./design-grid-column-input.vue\"\nimport __vue_script__ from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./design-grid-column-input.vue\"\n/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-a0c5f490\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../node_modules/vue-loader/lib/selector?type=template&index=0!./design-grid-column-input.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/design-grid-column-input.vue\n// module id = 10\n// module chunks = 0","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{style:(_vm.customStyle)},[_c('input',_vm._g(_vm._b({class:!_vm.innerEnabled && 'readonly-input',style:(_vm.contentStyle),attrs:{\"type\":\"text\"},domProps:{\"readOnly\":!_vm.innerEnabled,\"value\":_vm.value},on:{\"input\":function($event){return _vm.onUpdateValue($event.target.value)},\"change\":function($event){return _vm.onChangeValue($event.target.value)}}},'input',_vm.attributes,false),_vm.column.events)),_vm._v(\" \"),(_vm.innerEnabled && _vm.isMultiLanguages)?_c('em',{staticClass:\"fa fi-multilangs\",on:{\"click\":_vm.onMultiLangs}}):_vm._e()])])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-a0c5f490\",\"hasScoped\":false,\"optionsId\":\"0\",\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/design-grid-column-input.vue\n// module id = 11\n// module chunks = 0","/* script */\nexport * from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./design-grid-row-header.vue\"\nimport __vue_script__ from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./design-grid-row-header.vue\"\n/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-47fb3088\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../node_modules/vue-loader/lib/selector?type=template&index=0!./design-grid-row-header.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/design-grid-row-header.vue\n// module id = 12\n// module chunks = 0","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('td',{ref:\"header\",style:(_vm.style),on:{\"mousedown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"left\",37,$event.key,[\"Left\",\"ArrowLeft\"])){ return null; }if('button' in $event && $event.button !== 0){ return null; }return _vm.onMouseDown($event)},\"dblclick\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"left\",37,$event.key,[\"Left\",\"ArrowLeft\"])){ return null; }if('button' in $event && $event.button !== 0){ return null; }return _vm.onDblClick($event)}}},[_c('div',{style:(_vm.divStyle)},[_vm._v(_vm._s(_vm.index + 1))]),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.enabled),expression:\"enabled\"}],staticClass:\"d-row-header-split\",on:{\"mousedown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"left\",37,$event.key,[\"Left\",\"ArrowLeft\"])){ return null; }$event.preventDefault();$event.stopPropagation();if('button' in $event && $event.button !== 0){ return null; }return _vm.onResizeStart($event)},\"touchstart\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.onResizeStart($event)}}})])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-47fb3088\",\"hasScoped\":false,\"optionsId\":\"0\",\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/design-grid-row-header.vue\n// module id = 13\n// module chunks = 0","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"d-grid\"},[_c('table',{staticClass:\"d-grid-table-header\"},[_c('tr',{ref:\"header\",staticClass:\"d-grid-header\"},[_c('th',{staticClass:\"d-column-header\"}),_vm._l((_vm.columns),function(col,idx){return _c('d-column-header',{directives:[{name:\"show\",rawName:\"v-show\",value:(col.visible),expression:\"col.visible\"}],key:idx,class:_vm.__contains_index(_vm.selectedColIndexes, idx) ? 'd-column-selected' : '',attrs:{\"window\":_vm.__window,\"index\":idx,\"column\":col,\"enabled\":_vm.enabled},on:{\"columnMouseDown\":_vm.__column_header_on_mouse_down,\"columnDblClick\":_vm.__column_header_on_dblclick,\"widthChanging\":_vm.__column_header_on_width_changing,\"widthChanged\":_vm.__column_header_on_width_changed}},[_vm._v(_vm._s(col.caption || col.key))])}),_c('th',{staticClass:\"d-column-header-holder\"})],2)]),_c('div',{ref:\"gridbody\",staticClass:\"d-grid-body\",on:{\"mousedown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"left\",37,$event.key,[\"Left\",\"ArrowLeft\"])){ return null; }if('button' in $event && $event.button !== 0){ return null; }if($event.target !== $event.currentTarget){ return null; }return _vm.__row_on_mousedown(-1, true)},\"&scroll\":function($event){return _vm.__grid_body_on_scroll($event)}}},[_c('table',{staticClass:\"d-grid-body-content\"},_vm._l((_vm.source),function(item,rowidx){return _c('tr',{key:rowidx,ref:\"gridrows\",refInFor:true,staticClass:\"d-grid-row\",class:_vm.__contains_index(_vm.selectedIndexes, rowidx) ? 'd-grid-row-selected' : '',on:{\"!mousedown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"left\",37,$event.key,[\"Left\",\"ArrowLeft\"])){ return null; }if('button' in $event && $event.button !== 0){ return null; }return _vm.__row_on_mousedown(rowidx, $event)},\"!dblclick\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"left\",37,$event.key,[\"Left\",\"ArrowLeft\"])){ return null; }if('button' in $event && $event.button !== 0){ return null; }return _vm._row_on_dblclick($event)}}},[_c('d-grid-row-header',{attrs:{\"index\":rowidx,\"item\":item,\"window\":_vm.__window,\"defaultHeight\":_vm.defaultHeight,\"enabled\":_vm.enabled},on:{\"rowHeaderMouseDown\":function($event){return _vm.__row_on_mousedown(rowidx, true)},\"rowHeaderDblClick\":function($event){return _vm.__row_header_on_dblclick(rowidx)},\"heightChanging\":_vm.__row_header_on_height_changing,\"heightChanged\":_vm.__row_header_on_height_changed}}),_vm._l((_vm.columns),function(col,colidx){return _c('td',{directives:[{name:\"show\",rawName:\"v-show\",value:(col.visible),expression:\"col.visible\"}],key:colidx,class:_vm.__contains_index(_vm.selectedColIndexes, colidx) ? 'd-grid-cell-selected' : '',style:(_vm.__mixin_style(col.columnStyle, item))},[_c('d-column-input',{attrs:{\"item\":item,\"column\":col,\"index\":rowidx,\"enabled\":_vm.enabled},on:{\"valueChanged\":_vm.__row_on_value_changed}})],1)}),_c('td')],2)}),0)])])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-18fde9d9\",\"hasScoped\":false,\"optionsId\":\"0\",\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/design-grid.vue\n// module id = 15\n// module chunks = 0"],"sourceRoot":""}