@everchron/ec-shards 0.7.38 → 0.7.42

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.
@@ -14540,12 +14540,12 @@ var data_list_item_component = normalizeComponent(
14540
14540
  )
14541
14541
 
14542
14542
  /* harmony default export */ var data_list_item = (data_list_item_component.exports);
14543
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0ebfbde4-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=55ed8b75&
14544
- var dialogvue_type_template_id_55ed8b75_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":"dialog-fade"}},[(_vm.isShown)?_c('div',{staticClass:"ecs-modal ecs-modal-default"},[_c('div',{staticClass:"ecs-modal-dialog",class:['ecs-modal-promt', _vm.large ? 'ecs-modal-promt-large' : '']},[_c('div',{staticClass:"ecs-modal-promt-body"},[_vm._t("default")],2),_vm._v(" "),(_vm.$slots.actions)?_c('div',{staticClass:"ecs-modal-promt-footer",class:[_vm.stackedFooter ? 'ecs-modal-prompt-footer-stacked' : '']},[_vm._t("actions")],2):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"ecs-modal-backdrop"})]):_vm._e()])}
14545
- var dialogvue_type_template_id_55ed8b75_staticRenderFns = []
14543
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0ebfbde4-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=5f07a322&
14544
+ var dialogvue_type_template_id_5f07a322_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":"dialog-fade"}},[(_vm.isShown)?_c('div',{staticClass:"ecs-modal ecs-modal-default"},[_c('div',{staticClass:"ecs-modal-dialog",class:['ecs-modal-promt', _vm.large ? 'ecs-modal-promt-large' : '']},[_c('div',{staticClass:"ecs-modal-promt-body"},[_vm._t("default")],2),_vm._v(" "),(_vm.$slots.actions)?_c('div',{staticClass:"ecs-modal-promt-footer",class:[_vm.stackedFooter ? 'ecs-modal-prompt-footer-stacked' : '']},[_vm._t("actions")],2):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"ecs-modal-backdrop"})]):_vm._e()])}
14545
+ var dialogvue_type_template_id_5f07a322_staticRenderFns = []
14546
14546
 
14547
14547
 
14548
- // CONCATENATED MODULE: ./src/components/dialog/dialog.vue?vue&type=template&id=55ed8b75&
14548
+ // CONCATENATED MODULE: ./src/components/dialog/dialog.vue?vue&type=template&id=5f07a322&
14549
14549
 
14550
14550
  // EXTERNAL MODULE: ./src/components/modal-base/modal-base.vue?vue&type=style&index=0&lang=scss&
14551
14551
  var modal_basevue_type_style_index_0_lang_scss_ = __webpack_require__("22f9");
@@ -14629,15 +14629,11 @@ var modal_base_component = normalizeComponent(
14629
14629
  var that = this;
14630
14630
 
14631
14631
  document.onkeyup = function (e) {
14632
- console.log('keyup', that.isShown, that.show);
14633
-
14634
14632
  if (that.isShown) {
14635
- if (e.which == 27) {
14633
+ if (e.key == "Escape") {
14636
14634
  that.$emit('cancel');
14637
- } else if (e.which == 13) {
14638
- document.getElementById("confrm").onclick = function () {
14639
- that.$emit('confirm');
14640
- };
14635
+ } else if (e.key == "Enter") {
14636
+ that.$emit('confirm');
14641
14637
  }
14642
14638
  }
14643
14639
  };
@@ -14659,8 +14655,8 @@ var dialogvue_type_style_index_0_lang_scss_ = __webpack_require__("642e");
14659
14655
 
14660
14656
  var dialog_component = normalizeComponent(
14661
14657
  dialog_dialogvue_type_script_lang_js_,
14662
- dialogvue_type_template_id_55ed8b75_render,
14663
- dialogvue_type_template_id_55ed8b75_staticRenderFns,
14658
+ dialogvue_type_template_id_5f07a322_render,
14659
+ dialogvue_type_template_id_5f07a322_staticRenderFns,
14664
14660
  false,
14665
14661
  null,
14666
14662
  null,