@everchron/ec-shards 5.0.79 → 5.0.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -165,6 +165,13 @@ module.exports =
165
165
  /* unused harmony reexport * */
166
166
 
167
167
 
168
+ /***/ }),
169
+
170
+ /***/ "040f":
171
+ /***/ (function(module, exports, __webpack_require__) {
172
+
173
+ // extracted by mini-css-extract-plugin
174
+
168
175
  /***/ }),
169
176
 
170
177
  /***/ "05e8":
@@ -851,13 +858,6 @@ var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WE
851
858
  /* unused harmony reexport * */
852
859
 
853
860
 
854
- /***/ }),
855
-
856
- /***/ "1fc0":
857
- /***/ (function(module, exports, __webpack_require__) {
858
-
859
- // extracted by mini-css-extract-plugin
860
-
861
861
  /***/ }),
862
862
 
863
863
  /***/ "206c":
@@ -2017,17 +2017,6 @@ var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WE
2017
2017
  /* unused harmony reexport * */
2018
2018
 
2019
2019
 
2020
- /***/ }),
2021
-
2022
- /***/ "2303":
2023
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2024
-
2025
- "use strict";
2026
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_data_grid_head_cell_vue_vue_type_style_index_0_id_892f13ac_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1fc0");
2027
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_data_grid_head_cell_vue_vue_type_style_index_0_id_892f13ac_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_data_grid_head_cell_vue_vue_type_style_index_0_id_892f13ac_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
2028
- /* unused harmony reexport * */
2029
-
2030
-
2031
2020
  /***/ }),
2032
2021
 
2033
2022
  /***/ "2327":
@@ -8001,6 +7990,17 @@ var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WE
8001
7990
 
8002
7991
  // extracted by mini-css-extract-plugin
8003
7992
 
7993
+ /***/ }),
7994
+
7995
+ /***/ "cad1":
7996
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7997
+
7998
+ "use strict";
7999
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_data_grid_head_cell_vue_vue_type_style_index_0_id_255871ec_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("040f");
8000
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_data_grid_head_cell_vue_vue_type_style_index_0_id_255871ec_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_data_grid_head_cell_vue_vue_type_style_index_0_id_255871ec_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
8001
+ /* unused harmony reexport * */
8002
+
8003
+
8004
8004
  /***/ }),
8005
8005
 
8006
8006
  /***/ "cb05":
@@ -13308,12 +13308,12 @@ var data_grid_row_component = normalizeComponent(
13308
13308
  )
13309
13309
 
13310
13310
  /* harmony default export */ var data_grid_row = (data_grid_row_component.exports);
13311
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"32b5a371-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/data-grid/data-grid-head-cell.vue?vue&type=template&id=892f13ac&scoped=true&
13312
- var data_grid_head_cellvue_type_template_id_892f13ac_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ecs-data-grid-head-cell",class:[_vm.fixedLeft ? 'fixed-left' : '', _vm.fixedLeftLast ? 'fixed-left-last' : '', _vm.fixedRight ? 'fixed-right' : ''],style:([_vm.fixedStyles])},[(_vm.fixedRight)?_c('div',{staticClass:"shadow",class:_vm.fixedRight ? 'left' : ''}):_vm._e(),_vm._v(" "),_c('div',{ref:"resizer",staticClass:"ecs-data-grid-head-cell-inner",class:_vm.resizable ? 'resizable' : '',style:([_vm.widthStyles, _vm.paddingStyles, _vm.resizeStyles]),attrs:{"data-column":_vm.computedId,"data-headname":_vm.beingResizedName,"data-test":_vm.computedId}},[(_vm.firstNonStaticCell)?_c('div',{staticClass:"first-cell-spacer"}):_vm._e(),_vm._v(" "),(_vm.icon)?_c('ecs-icon',{attrs:{"type":_vm.icon,"size":"20","color":"#202127","title":_vm.name}}):(_vm.select)?_c('ecs-select',{attrs:{"type":"invisible"},on:{"change":function($event){_vm.$emit('selection', $event.target.value)}}},_vm._l((_vm.select),function(option,index){return _c('option',{key:index,domProps:{"selected":option.selected,"value":option.value}},[_vm._v(_vm._s(option.name))])})):_c('div',{staticClass:"ecs-data-grid-head-cell-text",attrs:{"title":_vm.name}},[_vm._v("\n "+_vm._s(_vm.name)+"\n ")]),_vm._v(" "),_vm._t("default"),_vm._v(" "),(_vm.sortable)?_c('button',{class:[ 'sort-button', _vm.sorting ],attrs:{"title":_vm.sortTitle},on:{"click":_vm.sortBy}},[_c('svg',{attrs:{"width":"14","height":"20","viewBox":"0 0 14 20","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M3.99023 11.802L6.76923 14.722L9.54823 11.802","stroke":_vm.sorting == 'desc' ? '#157EFB' : '#B9BCC2',"stroke-width":_vm.sorting == 'desc' ? '1.5' : '1',"opacity":_vm.sorting == 'desc' || _vm.sorting == 'none' ? '1' : '0.5',"stroke-linecap":"round","stroke-linejoin":"round"}}),_vm._v(" "),_c('path',{attrs:{"d":"M3.99023 8.722L6.76923 5.802L9.54823 8.722","stroke":_vm.sorting == 'asc' ? '#157EFB' : '#B9BCC2',"stroke-width":_vm.sorting == 'asc' ? '1.5' : '1',"opacity":_vm.sorting == 'asc' || _vm.sorting == 'none' ? '1' : '0.5',"stroke-linecap":"round","stroke-linejoin":"round"}})])]):_vm._e()],2),_vm._v(" "),(_vm.fixedLeftLast)?_c('div',{staticClass:"shadow",class:_vm.fixedLeftLast ? 'right' : ''}):_vm._e()])}
13313
- var data_grid_head_cellvue_type_template_id_892f13ac_scoped_true_staticRenderFns = []
13311
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"32b5a371-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/data-grid/data-grid-head-cell.vue?vue&type=template&id=255871ec&scoped=true&
13312
+ var data_grid_head_cellvue_type_template_id_255871ec_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ecs-data-grid-head-cell",class:[_vm.fixedLeft ? 'fixed-left' : '', _vm.fixedLeftLast ? 'fixed-left-last' : '', _vm.fixedRight ? 'fixed-right' : ''],style:([_vm.fixedStyles])},[(_vm.fixedRight)?_c('div',{staticClass:"shadow",class:_vm.fixedRight ? 'left' : ''}):_vm._e(),_vm._v(" "),_c('div',{ref:"resizer",staticClass:"ecs-data-grid-head-cell-inner",class:_vm.resizable ? 'resizable' : '',style:([_vm.widthStyles, _vm.paddingStyles, _vm.resizeStyles]),attrs:{"data-column":_vm.computedId,"data-headname":_vm.beingResizedName,"data-test":_vm.computedId}},[(_vm.firstNonStaticCell)?_c('div',{staticClass:"first-cell-spacer"}):_vm._e(),_vm._v(" "),(_vm.icon)?_c('ecs-icon',{attrs:{"type":_vm.icon,"size":"20","color":"#202127","title":_vm.name}}):(_vm.select)?_c('ecs-select',{attrs:{"type":"invisible"},on:{"change":function($event){_vm.$emit('selection', $event.target.value)}}},_vm._l((_vm.select),function(option,index){return _c('option',{key:index,domProps:{"selected":option.selected,"value":option.value}},[_vm._v(_vm._s(option.name))])})):_c('div',{staticClass:"ecs-data-grid-head-cell-text",attrs:{"title":_vm.name}},[_vm._v("\n "+_vm._s(_vm.name)+"\n ")]),_vm._v(" "),_vm._t("default"),_vm._v(" "),(_vm.sortable)?_c('button',{class:[ 'sort-button', _vm.sorting ],attrs:{"title":_vm.sortTitle},on:{"click":_vm.sortBy}},[_c('svg',{attrs:{"width":"14","height":"20","viewBox":"0 0 14 20","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M3.99023 11.802L6.76923 14.722L9.54823 11.802","stroke":_vm.sorting == 'desc' ? '#157EFB' : '#B9BCC2',"stroke-width":_vm.sorting == 'desc' ? '1.5' : '1',"opacity":_vm.sorting == 'desc' || _vm.sorting == 'none' ? '1' : '0.5',"stroke-linecap":"round","stroke-linejoin":"round"}}),_vm._v(" "),_c('path',{attrs:{"d":"M3.99023 8.722L6.76923 5.802L9.54823 8.722","stroke":_vm.sorting == 'asc' ? '#157EFB' : '#B9BCC2',"stroke-width":_vm.sorting == 'asc' ? '1.5' : '1',"opacity":_vm.sorting == 'asc' || _vm.sorting == 'none' ? '1' : '0.5',"stroke-linecap":"round","stroke-linejoin":"round"}})])]):_vm._e()],2),_vm._v(" "),(_vm.fixedLeftLast)?_c('div',{staticClass:"shadow",class:_vm.fixedLeftLast ? 'right' : ''}):_vm._e()])}
13313
+ var data_grid_head_cellvue_type_template_id_255871ec_scoped_true_staticRenderFns = []
13314
13314
 
13315
13315
 
13316
- // CONCATENATED MODULE: ./src/components/data-grid/data-grid-head-cell.vue?vue&type=template&id=892f13ac&scoped=true&
13316
+ // CONCATENATED MODULE: ./src/components/data-grid/data-grid-head-cell.vue?vue&type=template&id=255871ec&scoped=true&
13317
13317
 
13318
13318
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"32b5a371-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/select/select.vue?vue&type=template&id=0f7799c0&scoped=true&
13319
13319
  var selectvue_type_template_id_0f7799c0_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ecs-form-select",class:[_vm.sizeClass, _vm.typeClass, _vm.disabled ? "disabled" : null]},[_c('select',_vm._b({class:_vm.hasPlaceholder? 'placeholder' : '',on:{"change":function($event){_vm.$emit('change', $event); _vm.hasPlaceholder = false},"focus":function($event){_vm.$emit('focus', $event)},"blur":function($event){_vm.$emit('blur', $event)}}},'select',{ id: _vm.id, name: _vm.name, disabled: _vm.disabled, required: _vm.required },false),[(_vm.placeholder)?_c('option',{attrs:{"selected":"","hidden":"","disabled":""}},[_vm._v(_vm._s(_vm.placeholder))]):_vm._e(),_vm._v(" "),_vm._t("default")],2)])}
@@ -13610,29 +13610,29 @@ var select_component = normalizeComponent(
13610
13610
  return;
13611
13611
  }
13612
13612
  this.beingResized = true;
13613
- const resizedEl = document.querySelector('[data-column="' + this.computedId + '"]');
13614
- const currentColumnWidth = resizedEl.offsetWidth;
13613
+ setTimeout(() => {
13614
+ const resizedEl = document.querySelector('[data-column="' + this.computedId + '"]');
13615
+ const currentColumnWidth = resizedEl.offsetWidth;
13615
13616
 
13616
- /** Emitted when the column has been resized. Returns the new width of the column in pixels. */
13617
- this.$emit('resizedWidth', {
13618
- id: this.id,
13619
- currentColumnWidth
13620
- });
13621
- let columnCells = document.querySelectorAll('[data-column="' + this.name.toLowerCase().replace(' ', '-') + '-column-cell"]');
13622
- columnCells.forEach(cell => {
13623
- // if (cell.parentElement && cell.parentElement.__vue__ && typeof cell.parentElement.__vue__.setWidth === 'function')
13624
- // cell.parentElement.__vue__.setWidth(currentColumnWidth)
13625
- cell.style.width = `${currentColumnWidth}px`;
13626
- });
13617
+ /** Emitted when the column has been resized. Returns the new width of the column in pixels. */
13618
+ this.$emit('resizedWidth', {
13619
+ id: this.id,
13620
+ currentColumnWidth
13621
+ });
13622
+ let columnCells = document.querySelectorAll('[data-column="' + this.name.toLowerCase().replace(' ', '-') + '-column-cell"]');
13623
+ columnCells.forEach(cell => {
13624
+ // if (cell.parentElement && cell.parentElement.__vue__ && typeof cell.parentElement.__vue__.setWidth === 'function')
13625
+ // cell.parentElement.__vue__.setWidth(currentColumnWidth)
13626
+ cell.style.width = `${currentColumnWidth}px`;
13627
+ });
13627
13628
 
13628
- // To support resizing other column heads of the same type, to allow more than just the first column from being resizeable
13629
- let columnHeads = document.querySelectorAll('[data-headname="' + this.uniformName.toLowerCase() + '"]');
13630
- console.log('columnHeads:to:resize', columnHeads, '[data-headname="' + this.uniformName.toLowerCase() + '"]', this.beingResizedName);
13631
- columnHeads.forEach(cell => {
13632
- cell.style.width = `${currentColumnWidth}px`;
13633
- });
13634
- if (this.fixedLeft) this.setCellsFixedLeftOffset();
13635
- setTimeout(() => {
13629
+ // To support resizing other column heads of the same type, to allow more than just the first column from being resizeable
13630
+ let columnHeads = document.querySelectorAll('[data-headname="' + this.uniformName.toLowerCase() + '"]');
13631
+ console.log('columnHeads:to:resize', columnHeads, '[data-headname="' + this.uniformName.toLowerCase() + '"]', this.beingResizedName);
13632
+ columnHeads.forEach(cell => {
13633
+ cell.style.width = `${currentColumnWidth}px`;
13634
+ });
13635
+ if (this.fixedLeft) this.setCellsFixedLeftOffset();
13636
13636
  this.beingResized = false;
13637
13637
  });
13638
13638
  },
@@ -13679,8 +13679,8 @@ var select_component = normalizeComponent(
13679
13679
  });
13680
13680
  // CONCATENATED MODULE: ./src/components/data-grid/data-grid-head-cell.vue?vue&type=script&lang=js&
13681
13681
  /* harmony default export */ var data_grid_data_grid_head_cellvue_type_script_lang_js_ = (data_grid_head_cellvue_type_script_lang_js_);
13682
- // EXTERNAL MODULE: ./src/components/data-grid/data-grid-head-cell.vue?vue&type=style&index=0&id=892f13ac&lang=scss&scoped=true&
13683
- var data_grid_head_cellvue_type_style_index_0_id_892f13ac_lang_scss_scoped_true_ = __webpack_require__("2303");
13682
+ // EXTERNAL MODULE: ./src/components/data-grid/data-grid-head-cell.vue?vue&type=style&index=0&id=255871ec&lang=scss&scoped=true&
13683
+ var data_grid_head_cellvue_type_style_index_0_id_255871ec_lang_scss_scoped_true_ = __webpack_require__("cad1");
13684
13684
 
13685
13685
  // EXTERNAL MODULE: ./src/components/data-grid/data-grid-head-cell.vue?vue&type=style&index=1&lang=scss&
13686
13686
  var data_grid_head_cellvue_type_style_index_1_lang_scss_ = __webpack_require__("714e");
@@ -13697,11 +13697,11 @@ var data_grid_head_cellvue_type_style_index_1_lang_scss_ = __webpack_require__("
13697
13697
 
13698
13698
  var data_grid_head_cell_component = normalizeComponent(
13699
13699
  data_grid_data_grid_head_cellvue_type_script_lang_js_,
13700
- data_grid_head_cellvue_type_template_id_892f13ac_scoped_true_render,
13701
- data_grid_head_cellvue_type_template_id_892f13ac_scoped_true_staticRenderFns,
13700
+ data_grid_head_cellvue_type_template_id_255871ec_scoped_true_render,
13701
+ data_grid_head_cellvue_type_template_id_255871ec_scoped_true_staticRenderFns,
13702
13702
  false,
13703
13703
  null,
13704
- "892f13ac",
13704
+ "255871ec",
13705
13705
  null
13706
13706
 
13707
13707
  )