@everchron/ec-shards 5.0.78 → 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.
@@ -174,6 +174,13 @@ return /******/ (function(modules) { // webpackBootstrap
174
174
  /* unused harmony reexport * */
175
175
 
176
176
 
177
+ /***/ }),
178
+
179
+ /***/ "040f":
180
+ /***/ (function(module, exports, __webpack_require__) {
181
+
182
+ // extracted by mini-css-extract-plugin
183
+
177
184
  /***/ }),
178
185
 
179
186
  /***/ "05e8":
@@ -2008,17 +2015,6 @@ var symbol = new _node_modules_svg_baker_runtime_browser_symbol_js__WEBPACK_IMPO
2008
2015
  var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WEBPACK_IMPORTED_MODULE_1___default.a.add(symbol);
2009
2016
  /* harmony default export */ __webpack_exports__["default"] = (symbol);
2010
2017
 
2011
- /***/ }),
2012
-
2013
- /***/ "2291":
2014
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2015
-
2016
- "use strict";
2017
- /* 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_208d7dd4_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a23f");
2018
- /* 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_208d7dd4_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_208d7dd4_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
2019
- /* unused harmony reexport * */
2020
-
2021
-
2022
2018
  /***/ }),
2023
2019
 
2024
2020
  /***/ "22f9":
@@ -6688,13 +6684,6 @@ var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WE
6688
6684
 
6689
6685
  /***/ }),
6690
6686
 
6691
- /***/ "a23f":
6692
- /***/ (function(module, exports, __webpack_require__) {
6693
-
6694
- // extracted by mini-css-extract-plugin
6695
-
6696
- /***/ }),
6697
-
6698
6687
  /***/ "a27d":
6699
6688
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6700
6689
 
@@ -8010,6 +7999,17 @@ var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WE
8010
7999
 
8011
8000
  // extracted by mini-css-extract-plugin
8012
8001
 
8002
+ /***/ }),
8003
+
8004
+ /***/ "cad1":
8005
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
8006
+
8007
+ "use strict";
8008
+ /* 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");
8009
+ /* 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__);
8010
+ /* unused harmony reexport * */
8011
+
8012
+
8013
8013
  /***/ }),
8014
8014
 
8015
8015
  /***/ "cb05":
@@ -13317,12 +13317,12 @@ var data_grid_row_component = normalizeComponent(
13317
13317
  )
13318
13318
 
13319
13319
  /* harmony default export */ var data_grid_row = (data_grid_row_component.exports);
13320
- // 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=208d7dd4&scoped=true&
13321
- var data_grid_head_cellvue_type_template_id_208d7dd4_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()])}
13322
- var data_grid_head_cellvue_type_template_id_208d7dd4_scoped_true_staticRenderFns = []
13320
+ // 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&
13321
+ 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()])}
13322
+ var data_grid_head_cellvue_type_template_id_255871ec_scoped_true_staticRenderFns = []
13323
13323
 
13324
13324
 
13325
- // CONCATENATED MODULE: ./src/components/data-grid/data-grid-head-cell.vue?vue&type=template&id=208d7dd4&scoped=true&
13325
+ // CONCATENATED MODULE: ./src/components/data-grid/data-grid-head-cell.vue?vue&type=template&id=255871ec&scoped=true&
13326
13326
 
13327
13327
  // 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&
13328
13328
  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)])}
@@ -13619,29 +13619,29 @@ var select_component = normalizeComponent(
13619
13619
  return;
13620
13620
  }
13621
13621
  this.beingResized = true;
13622
- const resizedEl = document.querySelector('[data-column="' + this.computedId + '"]');
13623
- const currentColumnWidth = resizedEl.offsetWidth;
13622
+ setTimeout(() => {
13623
+ const resizedEl = document.querySelector('[data-column="' + this.computedId + '"]');
13624
+ const currentColumnWidth = resizedEl.offsetWidth;
13624
13625
 
13625
- /** Emitted when the column has been resized. Returns the new width of the column in pixels. */
13626
- this.$emit('resizedWidth', {
13627
- id: this.id,
13628
- currentColumnWidth
13629
- });
13630
- let columnCells = document.querySelectorAll('[data-column="' + this.name.toLowerCase().replace(' ', '-') + '-column-cell"]');
13631
- columnCells.forEach(cell => {
13632
- // if (cell.parentElement && cell.parentElement.__vue__ && typeof cell.parentElement.__vue__.setWidth === 'function')
13633
- // cell.parentElement.__vue__.setWidth(currentColumnWidth)
13634
- cell.style.width = `${currentColumnWidth}px`;
13635
- });
13626
+ /** Emitted when the column has been resized. Returns the new width of the column in pixels. */
13627
+ this.$emit('resizedWidth', {
13628
+ id: this.id,
13629
+ currentColumnWidth
13630
+ });
13631
+ let columnCells = document.querySelectorAll('[data-column="' + this.name.toLowerCase().replace(' ', '-') + '-column-cell"]');
13632
+ columnCells.forEach(cell => {
13633
+ // if (cell.parentElement && cell.parentElement.__vue__ && typeof cell.parentElement.__vue__.setWidth === 'function')
13634
+ // cell.parentElement.__vue__.setWidth(currentColumnWidth)
13635
+ cell.style.width = `${currentColumnWidth}px`;
13636
+ });
13636
13637
 
13637
- // To support resizing other column heads of the same type, to allow more than just the first column from being resizeable
13638
- let columnHeads = document.querySelectorAll('[data-headname="' + this.uniformName.toLowerCase() + '"]');
13639
- console.log('columnHeads:to:resize', columnHeads, '[data-headname="' + this.uniformName.toLowerCase() + '"]', '(should be 1 if theres 2 and 1 is being resized by the User, only the other should be picked up)');
13640
- columnHeads.forEach(cell => {
13641
- cell.style.width = `${currentColumnWidth}px`;
13642
- });
13643
- if (this.fixedLeft) this.setCellsFixedLeftOffset();
13644
- setTimeout(() => {
13638
+ // To support resizing other column heads of the same type, to allow more than just the first column from being resizeable
13639
+ let columnHeads = document.querySelectorAll('[data-headname="' + this.uniformName.toLowerCase() + '"]');
13640
+ console.log('columnHeads:to:resize', columnHeads, '[data-headname="' + this.uniformName.toLowerCase() + '"]', this.beingResizedName);
13641
+ columnHeads.forEach(cell => {
13642
+ cell.style.width = `${currentColumnWidth}px`;
13643
+ });
13644
+ if (this.fixedLeft) this.setCellsFixedLeftOffset();
13645
13645
  this.beingResized = false;
13646
13646
  });
13647
13647
  },
@@ -13688,8 +13688,8 @@ var select_component = normalizeComponent(
13688
13688
  });
13689
13689
  // CONCATENATED MODULE: ./src/components/data-grid/data-grid-head-cell.vue?vue&type=script&lang=js&
13690
13690
  /* harmony default export */ var data_grid_data_grid_head_cellvue_type_script_lang_js_ = (data_grid_head_cellvue_type_script_lang_js_);
13691
- // EXTERNAL MODULE: ./src/components/data-grid/data-grid-head-cell.vue?vue&type=style&index=0&id=208d7dd4&lang=scss&scoped=true&
13692
- var data_grid_head_cellvue_type_style_index_0_id_208d7dd4_lang_scss_scoped_true_ = __webpack_require__("2291");
13691
+ // EXTERNAL MODULE: ./src/components/data-grid/data-grid-head-cell.vue?vue&type=style&index=0&id=255871ec&lang=scss&scoped=true&
13692
+ var data_grid_head_cellvue_type_style_index_0_id_255871ec_lang_scss_scoped_true_ = __webpack_require__("cad1");
13693
13693
 
13694
13694
  // EXTERNAL MODULE: ./src/components/data-grid/data-grid-head-cell.vue?vue&type=style&index=1&lang=scss&
13695
13695
  var data_grid_head_cellvue_type_style_index_1_lang_scss_ = __webpack_require__("714e");
@@ -13706,11 +13706,11 @@ var data_grid_head_cellvue_type_style_index_1_lang_scss_ = __webpack_require__("
13706
13706
 
13707
13707
  var data_grid_head_cell_component = normalizeComponent(
13708
13708
  data_grid_data_grid_head_cellvue_type_script_lang_js_,
13709
- data_grid_head_cellvue_type_template_id_208d7dd4_scoped_true_render,
13710
- data_grid_head_cellvue_type_template_id_208d7dd4_scoped_true_staticRenderFns,
13709
+ data_grid_head_cellvue_type_template_id_255871ec_scoped_true_render,
13710
+ data_grid_head_cellvue_type_template_id_255871ec_scoped_true_staticRenderFns,
13711
13711
  false,
13712
13712
  null,
13713
- "208d7dd4",
13713
+ "255871ec",
13714
13714
  null
13715
13715
 
13716
13716
  )