@everchron/ec-shards 0.7.39 → 0.7.40

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=131417ec&
14544
- var dialogvue_type_template_id_131417ec_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_131417ec_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=7ad37014&
14544
+ var dialogvue_type_template_id_7ad37014_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_7ad37014_staticRenderFns = []
14546
14546
 
14547
14547
 
14548
- // CONCATENATED MODULE: ./src/components/dialog/dialog.vue?vue&type=template&id=131417ec&
14548
+ // CONCATENATED MODULE: ./src/components/dialog/dialog.vue?vue&type=template&id=7ad37014&
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");
@@ -14632,12 +14632,10 @@ var modal_base_component = normalizeComponent(
14632
14632
  console.log('keyup', that.isShown, e.which, e);
14633
14633
 
14634
14634
  if (that.isShown) {
14635
- if (e.which == 27) {
14635
+ if (e.key == "Escape") {
14636
14636
  that.$emit('cancel');
14637
- } else if (e.which == 13) {
14638
- document.getElementById("confrm").onclick = function () {
14639
- that.$emit('confirm');
14640
- };
14637
+ } else if (e.key == "Enter") {
14638
+ that.$emit('confirm');
14641
14639
  }
14642
14640
  }
14643
14641
  };
@@ -14659,8 +14657,8 @@ var dialogvue_type_style_index_0_lang_scss_ = __webpack_require__("642e");
14659
14657
 
14660
14658
  var dialog_component = normalizeComponent(
14661
14659
  dialog_dialogvue_type_script_lang_js_,
14662
- dialogvue_type_template_id_131417ec_render,
14663
- dialogvue_type_template_id_131417ec_staticRenderFns,
14660
+ dialogvue_type_template_id_7ad37014_render,
14661
+ dialogvue_type_template_id_7ad37014_staticRenderFns,
14664
14662
  false,
14665
14663
  null,
14666
14664
  null,