@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.
@@ -14549,12 +14549,12 @@ var data_list_item_component = normalizeComponent(
14549
14549
  )
14550
14550
 
14551
14551
  /* harmony default export */ var data_list_item = (data_list_item_component.exports);
14552
- // 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&
14553
- 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()])}
14554
- var dialogvue_type_template_id_131417ec_staticRenderFns = []
14552
+ // 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&
14553
+ 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()])}
14554
+ var dialogvue_type_template_id_7ad37014_staticRenderFns = []
14555
14555
 
14556
14556
 
14557
- // CONCATENATED MODULE: ./src/components/dialog/dialog.vue?vue&type=template&id=131417ec&
14557
+ // CONCATENATED MODULE: ./src/components/dialog/dialog.vue?vue&type=template&id=7ad37014&
14558
14558
 
14559
14559
  // EXTERNAL MODULE: ./src/components/modal-base/modal-base.vue?vue&type=style&index=0&lang=scss&
14560
14560
  var modal_basevue_type_style_index_0_lang_scss_ = __webpack_require__("22f9");
@@ -14641,12 +14641,10 @@ var modal_base_component = normalizeComponent(
14641
14641
  console.log('keyup', that.isShown, e.which, e);
14642
14642
 
14643
14643
  if (that.isShown) {
14644
- if (e.which == 27) {
14644
+ if (e.key == "Escape") {
14645
14645
  that.$emit('cancel');
14646
- } else if (e.which == 13) {
14647
- document.getElementById("confrm").onclick = function () {
14648
- that.$emit('confirm');
14649
- };
14646
+ } else if (e.key == "Enter") {
14647
+ that.$emit('confirm');
14650
14648
  }
14651
14649
  }
14652
14650
  };
@@ -14668,8 +14666,8 @@ var dialogvue_type_style_index_0_lang_scss_ = __webpack_require__("642e");
14668
14666
 
14669
14667
  var dialog_component = normalizeComponent(
14670
14668
  dialog_dialogvue_type_script_lang_js_,
14671
- dialogvue_type_template_id_131417ec_render,
14672
- dialogvue_type_template_id_131417ec_staticRenderFns,
14669
+ dialogvue_type_template_id_7ad37014_render,
14670
+ dialogvue_type_template_id_7ad37014_staticRenderFns,
14673
14671
  false,
14674
14672
  null,
14675
14673
  null,