@everchron/ec-shards 6.1.5 → 6.1.6

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.
@@ -18827,12 +18827,12 @@ var data_list_item_component = normalizeComponent(
18827
18827
  )
18828
18828
 
18829
18829
  /* harmony default export */ var data_list_item = (data_list_item_component.exports);
18830
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"03ddda9c-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/dialog/dialog.vue?vue&type=template&id=20469a34&
18831
- var dialogvue_type_template_id_20469a34_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.lazyLoad)?_c('dialog',{ref:"dialog",staticClass:"ecs-dialog",class:'ecs-dialog-' + _vm.size},[_c('div',{staticClass:"ecs-dialog-body"},[_vm._t("default")],2),_vm._v(" "),(_vm.$slots.actions)?_c('div',{staticClass:"ecs-dialog-footer",class:[_vm.stackedFooter ? 'ecs-dialog-footer-stacked' : '']},[_vm._t("actions")],2):_vm._e()]):_vm._e()}
18832
- var dialogvue_type_template_id_20469a34_staticRenderFns = []
18830
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"03ddda9c-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/dialog/dialog.vue?vue&type=template&id=8a55364c&
18831
+ var dialogvue_type_template_id_8a55364c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.lazyLoad)?_c('dialog',{ref:"dialog",staticClass:"ecs-dialog",class:'ecs-dialog-' + _vm.size},[_c('div',{staticClass:"ecs-dialog-body"},[_vm._t("default")],2),_vm._v(" "),(_vm.$slots.actions)?_c('div',{staticClass:"ecs-dialog-footer",class:[_vm.stackedFooter ? 'ecs-dialog-footer-stacked' : '']},[_vm._t("actions")],2):_vm._e()]):_vm._e()}
18832
+ var dialogvue_type_template_id_8a55364c_staticRenderFns = []
18833
18833
 
18834
18834
 
18835
- // CONCATENATED MODULE: ./src/components/dialog/dialog.vue?vue&type=template&id=20469a34&
18835
+ // CONCATENATED MODULE: ./src/components/dialog/dialog.vue?vue&type=template&id=8a55364c&
18836
18836
 
18837
18837
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/dialog/dialog.vue?vue&type=script&lang=js&
18838
18838
 
@@ -18911,16 +18911,27 @@ var dialogvue_type_template_id_20469a34_staticRenderFns = []
18911
18911
  });
18912
18912
  document.removeEventListener('keyup', this.keyUpHandler);
18913
18913
  }
18914
+ },
18915
+ lazyLoad: function lazyLoad() {
18916
+ var _this2 = this;
18917
+
18918
+ if (this.lazyLoad) {
18919
+ this.$nextTick(function () {
18920
+ _this2.$refs.dialog.addEventListener('cancel', function (event) {
18921
+ event.preventDefault();
18922
+ });
18923
+ });
18924
+ }
18914
18925
  }
18915
18926
  },
18916
18927
  mounted: function mounted() {
18917
- var _this2 = this;
18928
+ var _this3 = this;
18918
18929
 
18919
18930
  this.keyUpHandler = function (e) {
18920
- if (_this2.isShown && e.key === 'Escape') {
18931
+ if (_this3.isShown && e.key === 'Escape') {
18921
18932
  e.preventDefault();
18922
18933
 
18923
- _this2.$emit('cancel');
18934
+ _this3.$emit('cancel');
18924
18935
  }
18925
18936
  };
18926
18937
  }
@@ -18941,8 +18952,8 @@ var dialogvue_type_style_index_0_lang_scss_ = __webpack_require__("642e");
18941
18952
 
18942
18953
  var dialog_component = normalizeComponent(
18943
18954
  dialog_dialogvue_type_script_lang_js_,
18944
- dialogvue_type_template_id_20469a34_render,
18945
- dialogvue_type_template_id_20469a34_staticRenderFns,
18955
+ dialogvue_type_template_id_8a55364c_render,
18956
+ dialogvue_type_template_id_8a55364c_staticRenderFns,
18946
18957
  false,
18947
18958
  null,
18948
18959
  null,