@everchron/ec-shards 7.3.13 → 7.3.15

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.
@@ -4859,6 +4859,28 @@ var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WE
4859
4859
 
4860
4860
  /***/ }),
4861
4861
 
4862
+ /***/ "4d1e":
4863
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4864
+
4865
+ "use strict";
4866
+ __webpack_require__.r(__webpack_exports__);
4867
+ /* harmony import */ var _node_modules_svg_baker_runtime_browser_symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e017");
4868
+ /* harmony import */ var _node_modules_svg_baker_runtime_browser_symbol_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_svg_baker_runtime_browser_symbol_js__WEBPACK_IMPORTED_MODULE_0__);
4869
+ /* harmony import */ var _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("21a1");
4870
+ /* harmony import */ var _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WEBPACK_IMPORTED_MODULE_1__);
4871
+
4872
+
4873
+ var symbol = new _node_modules_svg_baker_runtime_browser_symbol_js__WEBPACK_IMPORTED_MODULE_0___default.a({
4874
+ "id": "document-dashed",
4875
+ "use": "document-dashed-usage",
4876
+ "viewBox": "0 0 30 30",
4877
+ "content": "<symbol viewBox=\"0 0 30 30\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" id=\"document-dashed\">\n<path vector-effect=\"non-scaling-stroke\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M21.9485 8.9485L18.8848 5.88483C18.4785 5.47858 17.9271 5.25 17.353 5.25H9.58329C8.38621 5.25 7.41663 6.21958 7.41663 7.41667V22.5833C7.41663 23.7804 8.38621 24.75 9.58329 24.75H20.4166C21.6137 24.75 22.5833 23.7804 22.5833 22.5833V10.4803C22.5833 9.90617 22.3547 9.35475 21.9485 8.9485Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-dasharray=\"4 4\" />\n<path vector-effect=\"non-scaling-stroke\" d=\"M10.667 11.75H18.337\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n<path vector-effect=\"non-scaling-stroke\" d=\"M10.667 15.25H12.833\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n</symbol>"
4878
+ });
4879
+ var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WEBPACK_IMPORTED_MODULE_1___default.a.add(symbol);
4880
+ /* harmony default export */ __webpack_exports__["default"] = (symbol);
4881
+
4882
+ /***/ }),
4883
+
4862
4884
  /***/ "4d64":
4863
4885
  /***/ (function(module, exports, __webpack_require__) {
4864
4886
 
@@ -7439,6 +7461,7 @@ var map = {
7439
7461
  "./doc-new.svg": "d1ad",
7440
7462
  "./doctext.svg": "3bc5",
7441
7463
  "./document-comment.svg": "769e",
7464
+ "./document-dashed.svg": "4d1e",
7442
7465
  "./document-extract-ai.svg": "c431",
7443
7466
  "./document-ok.svg": "18b9",
7444
7467
  "./document.svg": "1c5c",
@@ -19934,12 +19957,12 @@ var data_list_item_component = normalizeComponent(
19934
19957
  )
19935
19958
 
19936
19959
  /* harmony default export */ var data_list_item = (data_list_item_component.exports);
19937
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f78c9e12-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/dialog/dialog.vue?vue&type=template&id=b02876ba&
19938
- var dialogvue_type_template_id_b02876ba_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 scrollbar scrollbar-sml"},[_vm._t("default")],2),(_vm.$slots.actions)?_c('div',{staticClass:"ecs-dialog-footer",class:[_vm.stackedFooter ? 'ecs-dialog-footer-stacked' : '']},[_vm._t("actions")],2):_vm._e()]):_vm._e()}
19939
- var dialogvue_type_template_id_b02876ba_staticRenderFns = []
19960
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f78c9e12-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/dialog/dialog.vue?vue&type=template&id=4a14fcfa&
19961
+ var dialogvue_type_template_id_4a14fcfa_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,on:{"keydown":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.handleEnterKey.apply(null, arguments)}}},[_c('div',{staticClass:"ecs-dialog-body scrollbar scrollbar-sml"},[_vm._t("default")],2),(_vm.$slots.actions)?_c('div',{staticClass:"ecs-dialog-footer",class:[_vm.stackedFooter ? 'ecs-dialog-footer-stacked' : '']},[_vm._t("actions")],2):_vm._e()]):_vm._e()}
19962
+ var dialogvue_type_template_id_4a14fcfa_staticRenderFns = []
19940
19963
 
19941
19964
 
19942
- // CONCATENATED MODULE: ./src/components/dialog/dialog.vue?vue&type=template&id=b02876ba&
19965
+ // CONCATENATED MODULE: ./src/components/dialog/dialog.vue?vue&type=template&id=4a14fcfa&
19943
19966
 
19944
19967
  // 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/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/dialog/dialog.vue?vue&type=script&lang=js&
19945
19968
 
@@ -19964,12 +19987,6 @@ var dialogvue_type_template_id_b02876ba_staticRenderFns = []
19964
19987
  default: false
19965
19988
  },
19966
19989
 
19967
- /** If set `true`, the dialog element will render where it's placed inside the DOM. This can be useful for dialogs that should not "escape" their parent elements, e.g. when a dialog is launched within a larger modal. **Note:** dialogs shown in place have no backdrop element and need to be positioned manually via CSS. */
19968
- showInPlace: {
19969
- type: Boolean,
19970
- default: false
19971
- },
19972
-
19973
19990
  /** Determines the size of the dialog. */
19974
19991
  size: {
19975
19992
  type: String,
@@ -19997,6 +20014,19 @@ var dialogvue_type_template_id_b02876ba_staticRenderFns = []
19997
20014
  /** Emitted when the dialog show state changes. */
19998
20015
 
19999
20016
  this.$emit('toggled', this.id, this.isShown);
20017
+ },
20018
+ handleEnterKey: function handleEnterKey(event) {
20019
+ // If the user presses enter, we want to trigger the last button (always confirm) in the footer.
20020
+ if (event.key === 'Enter') {
20021
+ var buttons = this.$el.querySelectorAll('.ecs-dialog-footer button');
20022
+ var lastButton = buttons[buttons.length - 1];
20023
+ var activeElement = document.activeElement;
20024
+
20025
+ if (activeElement.tagName !== 'BUTTON' || !activeElement.closest('.ecs-dialog-footer')) {
20026
+ event.preventDefault();
20027
+ lastButton.click();
20028
+ }
20029
+ }
20000
20030
  }
20001
20031
  },
20002
20032
  watch: {
@@ -20008,8 +20038,11 @@ var dialogvue_type_template_id_b02876ba_staticRenderFns = []
20008
20038
  if (this.isShown) {
20009
20039
  this.lazyLoad = true;
20010
20040
  this.$nextTick(function () {
20011
- if (_this.showInPlace) _this.$refs.dialog.show();else _this.$refs.dialog.showModal();
20041
+ _this.$refs.dialog.showModal();
20042
+
20012
20043
  document.addEventListener('keyup', _this.keyUpHandler);
20044
+
20045
+ _this.$refs.dialog.focus();
20013
20046
  });
20014
20047
  } else {
20015
20048
  this.$refs.dialog.close();
@@ -20059,8 +20092,8 @@ var dialogvue_type_style_index_0_lang_scss_ = __webpack_require__("642e");
20059
20092
 
20060
20093
  var dialog_component = normalizeComponent(
20061
20094
  dialog_dialogvue_type_script_lang_js_,
20062
- dialogvue_type_template_id_b02876ba_render,
20063
- dialogvue_type_template_id_b02876ba_staticRenderFns,
20095
+ dialogvue_type_template_id_4a14fcfa_render,
20096
+ dialogvue_type_template_id_4a14fcfa_staticRenderFns,
20064
20097
  false,
20065
20098
  null,
20066
20099
  null,