@g1cloud/bluesea 5.0.0-beta.24 → 5.0.0-beta.27

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.
Files changed (33) hide show
  1. package/css/bluesea.css +61 -7
  2. package/dist/{BSAlertModal-BMfuyOUG.js → BSAlertModal-DT2Wai4R.js} +1 -1
  3. package/dist/{BSGridColumnSettingModal-BINKuyM2.js → BSGridColumnSettingModal-CUMe_yWj.js} +1 -1
  4. package/dist/{BSRichTextMaximizedModal-G5U2NGik.js → BSRichTextMaximizedModal-CaaSAgmI.js} +1 -1
  5. package/dist/{BSYesNoModal-CFjCkyfv.js → BSYesNoModal-C91E2MSF.js} +1 -1
  6. package/dist/{BSYoutubeInputModal-CsPL5_5t.js → BSYoutubeInputModal-DSI-NoGb.js} +1 -1
  7. package/dist/{ImageInsertModal-CyMCkK2H.js → ImageInsertModal-7u7YeHsI.js} +2 -2
  8. package/dist/{ImageProperties.vue_vue_type_script_setup_true_lang-BN13lABW.js → ImageProperties.vue_vue_type_script_setup_true_lang-CSHlFWfd.js} +1 -1
  9. package/dist/{ImagePropertiesModal-BMDe0QC2.js → ImagePropertiesModal-HRPdVJRK.js} +2 -2
  10. package/dist/{LinkPropertiesModal-bKceh08c.js → LinkPropertiesModal-x73isyqI.js} +1 -1
  11. package/dist/{TableInsertModal-zqihDr7h.js → TableInsertModal-BfWLdDCa.js} +1 -1
  12. package/dist/{TablePropertiesModal-CiY15j-y.js → TablePropertiesModal-D1wSXQ3C.js} +1 -1
  13. package/dist/{VideoInsertModal-DjKstAn6.js → VideoInsertModal-DQ-wO6_P.js} +2 -2
  14. package/dist/{VideoProperties.vue_vue_type_script_setup_true_lang-DAukMkOu.js → VideoProperties.vue_vue_type_script_setup_true_lang-D73f1tdh.js} +1 -1
  15. package/dist/{VideoPropertiesModal-Ct0iUWXO.js → VideoPropertiesModal-BYADjPfV.js} +2 -2
  16. package/dist/{YoutubeInsertModal-D1JrUwdX.js → YoutubeInsertModal-DNq4v5Ll.js} +2 -2
  17. package/dist/{YoutubeProperties.vue_vue_type_script_setup_true_lang-lsVhQjg0.js → YoutubeProperties.vue_vue_type_script_setup_true_lang-CWIVZP3H.js} +1 -1
  18. package/dist/{YoutubePropertiesModal-unkfbTOY.js → YoutubePropertiesModal-D2-7I2sg.js} +2 -2
  19. package/dist/bluesea.css +53 -7
  20. package/dist/bluesea.js +1 -1
  21. package/dist/bluesea.umd.cjs +618 -456
  22. package/dist/component/input/BSImageUpload.vue.d.ts +4 -0
  23. package/dist/component/input/BSMediaPreview.vue.d.ts +2 -0
  24. package/dist/component/input/BSMediaPreviewOverlay.vue.d.ts +44 -0
  25. package/dist/component/input/BSMultiImageUpload.vue.d.ts +2 -0
  26. package/dist/component/input/BSPositionedImageUpload.vue.d.ts +2 -0
  27. package/dist/{index-BN7WLYoX.js → index-BIvcVEog.js} +552 -390
  28. package/package.json +1 -1
  29. package/text/bluesea_text_en.json +8 -8
  30. package/text/bluesea_text_fr.json +8 -8
  31. package/text/bluesea_text_ja.json +8 -8
  32. package/text/bluesea_text_ko.json +8 -8
  33. package/text/bluesea_text_zh.json +8 -8
@@ -368,8 +368,8 @@ const defaultAddressInputComponentConfig = {
368
368
  countryConfigs: ADDRESS_COUNTRY_CONFIGS
369
369
  };
370
370
  const defaultRichTextComponentConfig = {
371
- imageInsertModal: defineAsyncComponent(() => import("./ImageInsertModal-CyMCkK2H.js")),
372
- videoInsertModal: defineAsyncComponent(() => import("./VideoInsertModal-DjKstAn6.js")),
371
+ imageInsertModal: defineAsyncComponent(() => import("./ImageInsertModal-7u7YeHsI.js")),
372
+ videoInsertModal: defineAsyncComponent(() => import("./VideoInsertModal-DQ-wO6_P.js")),
373
373
  toolButtons: [
374
374
  "Heading",
375
375
  "FontSize",
@@ -790,7 +790,7 @@ const vTooltip = {
790
790
  hideTooltip$1();
791
791
  }
792
792
  };
793
- const _sfc_main$1M = /* @__PURE__ */ defineComponent({
793
+ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
794
794
  __name: "BSButton",
795
795
  props: {
796
796
  caption: {},
@@ -839,8 +839,8 @@ const _export_sfc = (sfc, props) => {
839
839
  }
840
840
  return target;
841
841
  };
842
- const BSButton = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__scopeId", "data-v-b7ae95cb"]]);
843
- const _sfc_main$1L = /* @__PURE__ */ defineComponent({
842
+ const BSButton = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["__scopeId", "data-v-b7ae95cb"]]);
843
+ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
844
844
  __name: "BSFormLabel",
845
845
  props: {
846
846
  label: {},
@@ -883,9 +883,9 @@ const waitUtil = {
883
883
  waitDuring,
884
884
  tryUntil
885
885
  };
886
- const _hoisted_1$1r = ["data-popup-id"];
886
+ const _hoisted_1$1s = ["data-popup-id"];
887
887
  const ADJUST_OFFSET = 8;
888
- const _sfc_main$1K = /* @__PURE__ */ defineComponent({
888
+ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
889
889
  __name: "BSPopup",
890
890
  props: {
891
891
  popupId: {},
@@ -1068,7 +1068,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
1068
1068
  onKeydown: _cache[1] || (_cache[1] = ($event) => emit("keydown", $event))
1069
1069
  }, [
1070
1070
  renderSlot(_ctx.$slots, "default")
1071
- ], 46, _hoisted_1$1r)
1071
+ ], 46, _hoisted_1$1s)
1072
1072
  ]),
1073
1073
  _: 3
1074
1074
  })
@@ -1110,11 +1110,11 @@ const debounce$2 = (func, wait) => {
1110
1110
  });
1111
1111
  };
1112
1112
  };
1113
- const _hoisted_1$1q = {
1113
+ const _hoisted_1$1r = {
1114
1114
  key: 0,
1115
1115
  class: "popup-search pa-4"
1116
1116
  };
1117
- const _hoisted_2$16 = ["data-value", "onMouseover", "onClick"];
1117
+ const _hoisted_2$17 = ["data-value", "onMouseover", "onClick"];
1118
1118
  const _hoisted_3$I = {
1119
1119
  key: 0,
1120
1120
  class: "label"
@@ -1123,7 +1123,7 @@ const _hoisted_4$r = {
1123
1123
  key: 1,
1124
1124
  class: "label null-label"
1125
1125
  };
1126
- const _sfc_main$1J = /* @__PURE__ */ defineComponent({
1126
+ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
1127
1127
  __name: "BSSelectPopup",
1128
1128
  props: {
1129
1129
  items: {},
@@ -1270,7 +1270,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
1270
1270
  handleKeyboard
1271
1271
  });
1272
1272
  return (_ctx, _cache) => {
1273
- return openBlock(), createBlock(_sfc_main$1K, {
1273
+ return openBlock(), createBlock(_sfc_main$1L, {
1274
1274
  "base-element": _ctx.baseElement,
1275
1275
  "max-height": _ctx.maxHeight,
1276
1276
  "offset-from-base-element": 4,
@@ -1281,7 +1281,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
1281
1281
  onKeydown: withKeys(withModifiers(handleKeyboard, ["stop", "prevent"]), ["enter", "down", "up"])
1282
1282
  }, {
1283
1283
  default: withCtx(() => [
1284
- actualShowSearch.value ? (openBlock(), createElementBlock("div", _hoisted_1$1q, [
1284
+ actualShowSearch.value ? (openBlock(), createElementBlock("div", _hoisted_1$1r, [
1285
1285
  withDirectives(createElementVNode("input", {
1286
1286
  type: "text",
1287
1287
  onInput: setSearchKeyword,
@@ -1316,7 +1316,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
1316
1316
  ]) : withDirectives((openBlock(), createElementBlock("label", _hoisted_4$r, null, 512)), [
1317
1317
  [unref(vT), _ctx.nullLabel]
1318
1318
  ])
1319
- ], 42, _hoisted_2$16);
1319
+ ], 42, _hoisted_2$17);
1320
1320
  }), 128))
1321
1321
  ], 512)
1322
1322
  ]),
@@ -1677,8 +1677,8 @@ class SavePointHandlerImpl {
1677
1677
  return this.isModified(this.valueProvider.getCurrentValue());
1678
1678
  }
1679
1679
  }
1680
- const _hoisted_1$1p = { key: 0 };
1681
- const _sfc_main$1I = /* @__PURE__ */ defineComponent({
1680
+ const _hoisted_1$1q = { key: 0 };
1681
+ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
1682
1682
  __name: "ValidationErrors",
1683
1683
  props: {
1684
1684
  errors: {},
@@ -1686,7 +1686,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
1686
1686
  },
1687
1687
  setup(__props) {
1688
1688
  return (_ctx, _cache) => {
1689
- return !_ctx.hideErrorMessage && _ctx.errors && _ctx.errors.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$1p, [
1689
+ return !_ctx.hideErrorMessage && _ctx.errors && _ctx.errors.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$1q, [
1690
1690
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.errors, (error) => {
1691
1691
  return withDirectives((openBlock(), createElementBlock("div", {
1692
1692
  key: error.code,
@@ -1733,8 +1733,8 @@ const executeKeyProviderOrDefault = (item, keyProvider, defaultKey) => {
1733
1733
  }
1734
1734
  return defaultKey(item);
1735
1735
  };
1736
- const _hoisted_1$1o = ["tabindex", "onKeydown"];
1737
- const _hoisted_2$15 = { key: 0 };
1736
+ const _hoisted_1$1p = ["tabindex", "onKeydown"];
1737
+ const _hoisted_2$16 = { key: 0 };
1738
1738
  const _hoisted_3$H = ["data-field-name"];
1739
1739
  const _hoisted_4$q = {
1740
1740
  key: 0,
@@ -1748,7 +1748,7 @@ const _hoisted_6$c = {
1748
1748
  key: 2,
1749
1749
  class: "small-progress"
1750
1750
  };
1751
- const _sfc_main$1H = /* @__PURE__ */ defineComponent({
1751
+ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
1752
1752
  __name: "BSSelect",
1753
1753
  props: {
1754
1754
  modelValue: {},
@@ -1890,7 +1890,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
1890
1890
  withKeys(handleTabKey, ["tab"])
1891
1891
  ]
1892
1892
  }, [
1893
- _ctx.viewMode ? withDirectives((openBlock(), createElementBlock("div", _hoisted_2$15, null, 512)), [
1893
+ _ctx.viewMode ? withDirectives((openBlock(), createElementBlock("div", _hoisted_2$16, null, 512)), [
1894
1894
  [unref(vT), selectedItemLabel.value]
1895
1895
  ]) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
1896
1896
  createElementVNode("div", {
@@ -1908,7 +1908,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
1908
1908
  _cache[4] || (_cache[4] = createElementVNode("span", { class: "dropdown-btn" }, "expand_more", -1)),
1909
1909
  loadingItems.value ? (openBlock(), createElementBlock("span", _hoisted_6$c, "progress_activity")) : createCommentVNode("", true)
1910
1910
  ], 8, _hoisted_3$H),
1911
- !_ctx.disabled && showPopup.value ? (openBlock(), createBlock(_sfc_main$1J, {
1911
+ !_ctx.disabled && showPopup.value ? (openBlock(), createBlock(_sfc_main$1K, {
1912
1912
  key: 0,
1913
1913
  ref_key: "selectPopup",
1914
1914
  ref: selectPopup,
@@ -1931,19 +1931,19 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
1931
1931
  focusToRoot();
1932
1932
  })
1933
1933
  }, null, 8, ["allow-null", "base-element", "initial-item", "items", "label-provider", "max-height", "null-label", "popup-align", "popup-direction", "selected-items", "show-search", "enabled-item-provider", "value-provider"])) : createCommentVNode("", true),
1934
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
1934
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
1935
1935
  key: 1,
1936
1936
  errors: unref(errors),
1937
1937
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
1938
1938
  }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true)
1939
1939
  ], 64))
1940
- ], 42, _hoisted_1$1o)), [
1940
+ ], 42, _hoisted_1$1p)), [
1941
1941
  [unref(vClickOutside), () => togglePopup(false)]
1942
1942
  ]);
1943
1943
  };
1944
1944
  }
1945
1945
  });
1946
- const _sfc_main$1G = /* @__PURE__ */ defineComponent({
1946
+ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
1947
1947
  __name: "BSYesNoSelect",
1948
1948
  props: {
1949
1949
  name: {},
@@ -1978,7 +1978,7 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
1978
1978
  emit("update:modelValue", value2 === void 0 ? void 0 : value2 === "Y");
1979
1979
  };
1980
1980
  return (_ctx, _cache) => {
1981
- return openBlock(), createBlock(_sfc_main$1H, {
1981
+ return openBlock(), createBlock(_sfc_main$1I, {
1982
1982
  "allow-null": _ctx.allowNull,
1983
1983
  disabled: _ctx.disabled,
1984
1984
  "hide-error-message": _ctx.hideErrorMessage,
@@ -2044,11 +2044,11 @@ const useContextMenuOptional = () => {
2044
2044
  const createContextMenuPlugin = () => {
2045
2045
  return new BSContextMenuPlugin();
2046
2046
  };
2047
- const _hoisted_1$1n = ["data-menu-id"];
2048
- const _hoisted_2$14 = ["href", "target"];
2047
+ const _hoisted_1$1o = ["data-menu-id"];
2048
+ const _hoisted_2$15 = ["href", "target"];
2049
2049
  const _hoisted_3$G = ["data-menu-id"];
2050
2050
  const _hoisted_4$p = ["data-menu-id", "onMouseenter", "onClick"];
2051
- const _sfc_main$1F = /* @__PURE__ */ defineComponent({
2051
+ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
2052
2052
  __name: "BSContextMenu",
2053
2053
  props: {
2054
2054
  menuItems: {},
@@ -2093,7 +2093,7 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
2093
2093
  return (_ctx, _cache) => {
2094
2094
  const _component_router_link = resolveComponent("router-link");
2095
2095
  const _component_BSContextMenu = resolveComponent("BSContextMenu", true);
2096
- return openBlock(), createBlock(_sfc_main$1K, {
2096
+ return openBlock(), createBlock(_sfc_main$1L, {
2097
2097
  ref: "root",
2098
2098
  "base-element": _ctx.baseElement || { left: _ctx.left || 0, top: _ctx.top || 0 },
2099
2099
  "popup-direction": _ctx.direction,
@@ -2127,10 +2127,10 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
2127
2127
  href: menu.href,
2128
2128
  target: menu.target,
2129
2129
  onClick: withModifiers(handleLinkClick, ["stop"])
2130
- }, null, 8, _hoisted_2$14), [
2130
+ }, null, 8, _hoisted_2$15), [
2131
2131
  [unref(vT), menu.caption]
2132
2132
  ])
2133
- ], 8, _hoisted_1$1n)) : menu.type === "route" ? (openBlock(), createElementBlock("div", {
2133
+ ], 8, _hoisted_1$1o)) : menu.type === "route" ? (openBlock(), createElementBlock("div", {
2134
2134
  key: 3,
2135
2135
  "data-menu-id": menu.menuId,
2136
2136
  class: "menu no-padding",
@@ -2423,7 +2423,7 @@ const componentUtil = {
2423
2423
  return trim ? value == null ? void 0 : value.trim() : value;
2424
2424
  }
2425
2425
  };
2426
- const _sfc_main$1E = /* @__PURE__ */ defineComponent({
2426
+ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
2427
2427
  __name: "BSPopupButton",
2428
2428
  props: {
2429
2429
  caption: {},
@@ -2460,14 +2460,14 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
2460
2460
  onKeydown: _cache[0] || (_cache[0] = withKeys(() => togglePopup(false), ["esc"]))
2461
2461
  }, null, 8, ["button-color", "caption", "class", "disabled", "left-icon", "right-icon"]),
2462
2462
  showPopup.value ? (openBlock(), createElementBlock(Fragment$1, { key: 0 }, [
2463
- _ctx.menuItems ? (openBlock(), createBlock(_sfc_main$1F, {
2463
+ _ctx.menuItems ? (openBlock(), createBlock(_sfc_main$1G, {
2464
2464
  key: 0,
2465
2465
  "base-element": root.value,
2466
2466
  "menu-items": _ctx.menuItems,
2467
2467
  "popup-id": unref(popupId),
2468
2468
  onRequestClose: _cache[1] || (_cache[1] = ($event) => togglePopup(false)),
2469
2469
  onMenuClicked: _cache[2] || (_cache[2] = ($event) => togglePopup(false))
2470
- }, null, 8, ["base-element", "menu-items", "popup-id"])) : (openBlock(), createBlock(_sfc_main$1K, {
2470
+ }, null, 8, ["base-element", "menu-items", "popup-id"])) : (openBlock(), createBlock(_sfc_main$1L, {
2471
2471
  key: 1,
2472
2472
  "base-element": root.value,
2473
2473
  "popup-align": _ctx.popupAlign,
@@ -2487,11 +2487,11 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
2487
2487
  };
2488
2488
  }
2489
2489
  });
2490
- const _hoisted_1$1m = {
2490
+ const _hoisted_1$1n = {
2491
2491
  key: 0,
2492
2492
  class: "view-mode"
2493
2493
  };
2494
- const _hoisted_2$13 = {
2494
+ const _hoisted_2$14 = {
2495
2495
  key: 1,
2496
2496
  class: "prefix"
2497
2497
  };
@@ -2537,7 +2537,7 @@ const _hoisted_19 = {
2537
2537
  class: "suffix"
2538
2538
  };
2539
2539
  const _hoisted_20 = ["src"];
2540
- const _sfc_main$1D = /* @__PURE__ */ defineComponent({
2540
+ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
2541
2541
  __name: "BSTextInput",
2542
2542
  props: {
2543
2543
  id: {},
@@ -2653,7 +2653,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
2653
2653
  class: normalizeClass([{ required: _ctx.required, disabled: _ctx.disabled, modified: modified.value, error: unref(errors).length > 0 }, "bs-text-input"]),
2654
2654
  style: normalizeStyle({ width: _ctx.width })
2655
2655
  }, [
2656
- _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1m, [
2656
+ _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1n, [
2657
2657
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(getPrefixSuffixList(_ctx.prefix), (item) => {
2658
2658
  return openBlock(), createElementBlock(Fragment$1, null, [
2659
2659
  item.type === "text" ? withDirectives((openBlock(), createElementBlock("span", {
@@ -2661,7 +2661,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
2661
2661
  class: "prefix"
2662
2662
  })), [
2663
2663
  [unref(vT), item.value]
2664
- ]) : item.type === "font-icon" ? (openBlock(), createElementBlock("span", _hoisted_2$13, [
2664
+ ]) : item.type === "font-icon" ? (openBlock(), createElementBlock("span", _hoisted_2$14, [
2665
2665
  createElementVNode("span", _hoisted_3$F, toDisplayString(item.value), 1)
2666
2666
  ])) : item.type === "image-url" ? (openBlock(), createElementBlock("span", _hoisted_4$o, [
2667
2667
  createElementVNode("img", {
@@ -2747,7 +2747,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
2747
2747
  ], 64);
2748
2748
  }), 256))
2749
2749
  ])),
2750
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
2750
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
2751
2751
  key: 2,
2752
2752
  errors: unref(errors),
2753
2753
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
@@ -2756,9 +2756,9 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
2756
2756
  };
2757
2757
  }
2758
2758
  });
2759
- const _hoisted_1$1l = { class: "bs-link bs-layout-horizontal-inline flex-align-center" };
2760
- const _hoisted_2$12 = ["href", "target"];
2761
- const _sfc_main$1C = /* @__PURE__ */ defineComponent({
2759
+ const _hoisted_1$1m = { class: "bs-link bs-layout-horizontal-inline flex-align-center" };
2760
+ const _hoisted_2$13 = ["href", "target"];
2761
+ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
2762
2762
  __name: "BSLink",
2763
2763
  props: {
2764
2764
  path: {},
@@ -2767,25 +2767,25 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
2767
2767
  },
2768
2768
  setup(__props) {
2769
2769
  return (_ctx, _cache) => {
2770
- return openBlock(), createElementBlock("div", _hoisted_1$1l, [
2770
+ return openBlock(), createElementBlock("div", _hoisted_1$1m, [
2771
2771
  _cache[0] || (_cache[0] = createElementVNode("span", { class: "font-icon mr-4" }, "link", -1)),
2772
2772
  withDirectives(createElementVNode("a", {
2773
2773
  href: _ctx.path,
2774
2774
  target: _ctx.target
2775
- }, null, 8, _hoisted_2$12), [
2775
+ }, null, 8, _hoisted_2$13), [
2776
2776
  [unref(vT), _ctx.caption || _ctx.path]
2777
2777
  ])
2778
2778
  ]);
2779
2779
  };
2780
2780
  }
2781
2781
  });
2782
- const BSLink = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["__scopeId", "data-v-29df56e5"]]);
2783
- const _hoisted_1$1k = {
2782
+ const BSLink = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__scopeId", "data-v-29df56e5"]]);
2783
+ const _hoisted_1$1l = {
2784
2784
  key: 0,
2785
2785
  class: "show-percent",
2786
2786
  style: { "left": "100%" }
2787
2787
  };
2788
- const _hoisted_2$11 = {
2788
+ const _hoisted_2$12 = {
2789
2789
  key: 1,
2790
2790
  class: "show-percent right-0 text-white"
2791
2791
  };
@@ -2793,7 +2793,7 @@ const _hoisted_3$E = {
2793
2793
  key: 1,
2794
2794
  class: "indeterminate"
2795
2795
  };
2796
- const _sfc_main$1B = /* @__PURE__ */ defineComponent({
2796
+ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
2797
2797
  __name: "BSProgressBar",
2798
2798
  props: {
2799
2799
  width: { default: "200px" },
@@ -2819,7 +2819,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
2819
2819
  style: normalizeStyle({ width: calculateProgress.value + "%" }),
2820
2820
  class: "inner-progressbar"
2821
2821
  }, [
2822
- calculateProgress.value !== void 0 && calculateProgress.value < 50 ? (openBlock(), createElementBlock("span", _hoisted_1$1k, toDisplayString(calculatePercent.value) + "% ", 1)) : (openBlock(), createElementBlock("span", _hoisted_2$11, toDisplayString(calculatePercent.value) + "% ", 1))
2822
+ calculateProgress.value !== void 0 && calculateProgress.value < 50 ? (openBlock(), createElementBlock("span", _hoisted_1$1l, toDisplayString(calculatePercent.value) + "% ", 1)) : (openBlock(), createElementBlock("span", _hoisted_2$12, toDisplayString(calculatePercent.value) + "% ", 1))
2823
2823
  ], 4)) : (openBlock(), createElementBlock("div", _hoisted_3$E, _cache[0] || (_cache[0] = [
2824
2824
  createElementVNode("div", { class: "in-box" }, null, -1)
2825
2825
  ])))
@@ -2827,7 +2827,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
2827
2827
  };
2828
2828
  }
2829
2829
  });
2830
- const _sfc_main$1A = /* @__PURE__ */ defineComponent({
2830
+ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
2831
2831
  __name: "BSConsole",
2832
2832
  props: {
2833
2833
  texts: {},
@@ -2847,17 +2847,17 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
2847
2847
  };
2848
2848
  }
2849
2849
  });
2850
- const BSConsole = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["__scopeId", "data-v-f33a4477"]]);
2851
- const _sfc_main$1z = {};
2852
- const _hoisted_1$1j = { class: "bs-loading-icon" };
2850
+ const BSConsole = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-f33a4477"]]);
2851
+ const _sfc_main$1A = {};
2852
+ const _hoisted_1$1k = { class: "bs-loading-icon" };
2853
2853
  function _sfc_render$1(_ctx, _cache) {
2854
- return openBlock(), createElementBlock("div", _hoisted_1$1j, _cache[0] || (_cache[0] = [
2854
+ return openBlock(), createElementBlock("div", _hoisted_1$1k, _cache[0] || (_cache[0] = [
2855
2855
  createElementVNode("span", { class: "font-icon" }, "progress_activity", -1)
2856
2856
  ]));
2857
2857
  }
2858
- const BSLoadingIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$1]]);
2859
- const _hoisted_1$1i = { class: "bs-date" };
2860
- const _sfc_main$1y = /* @__PURE__ */ defineComponent({
2858
+ const BSLoadingIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$1]]);
2859
+ const _hoisted_1$1j = { class: "bs-date" };
2860
+ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
2861
2861
  __name: "BSDate",
2862
2862
  props: {
2863
2863
  value: {},
@@ -2868,13 +2868,13 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
2868
2868
  const props = __props;
2869
2869
  const formatted = computed(() => formatUtil.formatDateString(props.value, props.format, props.timeZone));
2870
2870
  return (_ctx, _cache) => {
2871
- return openBlock(), createElementBlock("span", _hoisted_1$1i, toDisplayString(formatted.value), 1);
2871
+ return openBlock(), createElementBlock("span", _hoisted_1$1j, toDisplayString(formatted.value), 1);
2872
2872
  };
2873
2873
  }
2874
2874
  });
2875
- const _hoisted_1$1h = { class: "page-navigation" };
2876
- const _hoisted_2$10 = ["data-page", "onClick"];
2877
- const _sfc_main$1x = /* @__PURE__ */ defineComponent({
2875
+ const _hoisted_1$1i = { class: "page-navigation" };
2876
+ const _hoisted_2$11 = ["data-page", "onClick"];
2877
+ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
2878
2878
  __name: "BSPageNavigation",
2879
2879
  props: {
2880
2880
  totalCount: { default: 0 },
@@ -2934,7 +2934,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
2934
2934
  }
2935
2935
  };
2936
2936
  return (_ctx, _cache) => {
2937
- return openBlock(), createElementBlock("div", _hoisted_1$1h, [
2937
+ return openBlock(), createElementBlock("div", _hoisted_1$1i, [
2938
2938
  createElementVNode("span", {
2939
2939
  class: normalizeClass([{ "disabled": isFirstSet.value }, "font-icon first"]),
2940
2940
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => !isFirstSet.value && goToPage(1), ["prevent"]))
@@ -2949,7 +2949,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
2949
2949
  class: normalizeClass([{ on: page === currentPage.value }, "page"]),
2950
2950
  "data-page": page,
2951
2951
  onClick: withModifiers(($event) => goToPage(page), ["prevent"])
2952
- }, toDisplayString(page), 11, _hoisted_2$10);
2952
+ }, toDisplayString(page), 11, _hoisted_2$11);
2953
2953
  }), 128)),
2954
2954
  createElementVNode("span", {
2955
2955
  class: normalizeClass([{ "disabled": isLastSet.value }, "font-icon next"]),
@@ -2963,8 +2963,8 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
2963
2963
  };
2964
2964
  }
2965
2965
  });
2966
- const _hoisted_1$1g = { class: "bs-calendar bs-layout-vertical-inline" };
2967
- const _hoisted_2$$ = { class: "bs-layout-horizontal justify-content-between align-items-center gap-8" };
2966
+ const _hoisted_1$1h = { class: "bs-calendar bs-layout-vertical-inline" };
2967
+ const _hoisted_2$10 = { class: "bs-layout-horizontal justify-content-between align-items-center gap-8" };
2968
2968
  const _hoisted_3$D = { class: "year-month bs-layout-horizontal gap-4" };
2969
2969
  const _hoisted_4$n = { class: "timezone" };
2970
2970
  const _hoisted_5$d = { class: "weekdays" };
@@ -2978,7 +2978,7 @@ const _hoisted_9$1 = {
2978
2978
  key: 1,
2979
2979
  class: "extra-dates bs-layout-vertical gap-2 mt-8"
2980
2980
  };
2981
- const _sfc_main$1w = /* @__PURE__ */ defineComponent({
2981
+ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
2982
2982
  __name: "BSCalendar",
2983
2983
  props: {
2984
2984
  modelValue: {},
@@ -3156,21 +3156,21 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
3156
3156
  }
3157
3157
  };
3158
3158
  return (_ctx, _cache) => {
3159
- return openBlock(), createElementBlock("div", _hoisted_1$1g, [
3160
- createElementVNode("div", _hoisted_2$$, [
3159
+ return openBlock(), createElementBlock("div", _hoisted_1$1h, [
3160
+ createElementVNode("div", _hoisted_2$10, [
3161
3161
  createElementVNode("div", _hoisted_3$D, [
3162
3162
  createVNode(BSButton, {
3163
3163
  class: "border-0 pa-0",
3164
3164
  "left-icon": "chevron_left",
3165
3165
  onClick: prevMonth
3166
3166
  }),
3167
- createVNode(_sfc_main$1H, {
3167
+ createVNode(_sfc_main$1I, {
3168
3168
  modelValue: year.value,
3169
3169
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => year.value = $event),
3170
3170
  disabled: _ctx.disabled,
3171
3171
  items: years.value
3172
3172
  }, null, 8, ["modelValue", "disabled", "items"]),
3173
- createVNode(_sfc_main$1H, {
3173
+ createVNode(_sfc_main$1I, {
3174
3174
  modelValue: month.value,
3175
3175
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => month.value = $event),
3176
3176
  disabled: _ctx.disabled,
@@ -3215,7 +3215,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
3215
3215
  ], 2),
3216
3216
  ["HOUR", "MINUTE_10", "MINUTE_30", "MINUTE", "SECOND"].includes(_ctx.resolution) ? (openBlock(), createElementBlock("div", _hoisted_7$5, [
3217
3217
  createElementVNode("div", _hoisted_8$3, [
3218
- createVNode(_sfc_main$1H, {
3218
+ createVNode(_sfc_main$1I, {
3219
3219
  disabled: _ctx.disabled,
3220
3220
  items: hours,
3221
3221
  "label-provider": (item) => item < 10 ? "0" + item : item.toString(),
@@ -3224,7 +3224,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
3224
3224
  "onUpdate:modelValue": updateHour
3225
3225
  }, null, 8, ["disabled", "label-provider", "model-value"]),
3226
3226
  _cache[2] || (_cache[2] = createElementVNode("span", { class: "px-4" }, ":", -1)),
3227
- createVNode(_sfc_main$1H, {
3227
+ createVNode(_sfc_main$1I, {
3228
3228
  disabled: _ctx.disabled || _ctx.resolution === "HOUR",
3229
3229
  items: minutes.value,
3230
3230
  "label-provider": (item) => item < 10 ? "0" + item : item.toString(),
@@ -3248,8 +3248,8 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
3248
3248
  };
3249
3249
  }
3250
3250
  });
3251
- const _hoisted_1$1f = { class: "bs-calendar-range bs-layout-horizontal" };
3252
- const _hoisted_2$_ = { class: "bs-layout-vertical" };
3251
+ const _hoisted_1$1g = { class: "bs-calendar-range bs-layout-horizontal" };
3252
+ const _hoisted_2$$ = { class: "bs-layout-vertical" };
3253
3253
  const _hoisted_3$C = { class: "bs-layout-horizontal align-items-center" };
3254
3254
  const _hoisted_4$m = {
3255
3255
  key: 0,
@@ -3257,7 +3257,7 @@ const _hoisted_4$m = {
3257
3257
  };
3258
3258
  const _hoisted_5$c = { key: 0 };
3259
3259
  const _hoisted_6$9 = { key: 1 };
3260
- const _sfc_main$1v = /* @__PURE__ */ defineComponent({
3260
+ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
3261
3261
  __name: "BSCalendarRange",
3262
3262
  props: {
3263
3263
  from: {},
@@ -3296,10 +3296,10 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
3296
3296
  };
3297
3297
  const displayTimeZones = computed(() => [actualTimeZone.value, ...blueseaConfig.getValidDisplayTimeZones()]);
3298
3298
  return (_ctx, _cache) => {
3299
- return openBlock(), createElementBlock("div", _hoisted_1$1f, [
3300
- createElementVNode("div", _hoisted_2$_, [
3299
+ return openBlock(), createElementBlock("div", _hoisted_1$1g, [
3300
+ createElementVNode("div", _hoisted_2$$, [
3301
3301
  createElementVNode("div", _hoisted_3$C, [
3302
- createVNode(_sfc_main$1w, {
3302
+ createVNode(_sfc_main$1x, {
3303
3303
  modelValue: fromValue.value,
3304
3304
  "onUpdate:modelValue": [
3305
3305
  _cache[0] || (_cache[0] = ($event) => fromValue.value = $event),
@@ -3317,7 +3317,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
3317
3317
  "range-type": "from"
3318
3318
  }, null, 8, ["modelValue", "disabled", "display-format", "end-year", "first-day", "range-value", "resolution", "start-year", "time-zone"]),
3319
3319
  _cache[2] || (_cache[2] = createElementVNode("span", { class: "tilde" }, "~", -1)),
3320
- createVNode(_sfc_main$1w, {
3320
+ createVNode(_sfc_main$1x, {
3321
3321
  modelValue: toValue.value,
3322
3322
  "onUpdate:modelValue": [
3323
3323
  _cache[1] || (_cache[1] = ($event) => toValue.value = $event),
@@ -3354,17 +3354,17 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
3354
3354
  };
3355
3355
  }
3356
3356
  });
3357
- const _hoisted_1$1e = {
3357
+ const _hoisted_1$1f = {
3358
3358
  key: 0,
3359
3359
  class: "view-mode"
3360
3360
  };
3361
- const _hoisted_2$Z = ["textContent"];
3361
+ const _hoisted_2$_ = ["textContent"];
3362
3362
  const _hoisted_3$B = {
3363
3363
  key: 1,
3364
3364
  class: "input-area"
3365
3365
  };
3366
3366
  const _hoisted_4$l = ["id", "autocomplete", "disabled", "maxlength", "name", "tabindex", "value"];
3367
- const _sfc_main$1u = /* @__PURE__ */ defineComponent({
3367
+ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
3368
3368
  __name: "BSNumberInput",
3369
3369
  props: {
3370
3370
  id: {},
@@ -3431,7 +3431,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
3431
3431
  return isNaN(value) ? void 0 : value;
3432
3432
  };
3433
3433
  const convertFromValue = (value) => {
3434
- return value !== void 0 ? String(value) : "";
3434
+ return value !== void 0 && value !== null ? String(value) : "";
3435
3435
  };
3436
3436
  const validationDisabled = computed(() => props.viewMode || props.disabled);
3437
3437
  const {
@@ -3479,7 +3479,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
3479
3479
  class: normalizeClass([{ required: _ctx.required, disabled: _ctx.disabled, modified: modified.value, error: unref(errors).length > 0 }, "bs-number-input"]),
3480
3480
  style: normalizeStyle({ width: _ctx.width })
3481
3481
  }, [
3482
- _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1e, [
3482
+ _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1f, [
3483
3483
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(componentUtil).toMultiLangTextArray(_ctx.prefix), (text) => {
3484
3484
  return withDirectives((openBlock(), createElementBlock("span", {
3485
3485
  key: JSON.stringify(text),
@@ -3490,7 +3490,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
3490
3490
  }), 128)),
3491
3491
  createElementVNode("span", {
3492
3492
  textContent: toDisplayString(_ctx.formatInViewMode ? formattedStringValue.value : unref(stringValue))
3493
- }, null, 8, _hoisted_2$Z),
3493
+ }, null, 8, _hoisted_2$_),
3494
3494
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(componentUtil).toMultiLangTextArray(_ctx.suffix), (text) => {
3495
3495
  return withDirectives((openBlock(), createElementBlock("span", {
3496
3496
  key: JSON.stringify(text),
@@ -3536,7 +3536,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
3536
3536
  ]);
3537
3537
  }), 128))
3538
3538
  ])),
3539
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
3539
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
3540
3540
  key: 2,
3541
3541
  errors: unref(errors),
3542
3542
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
@@ -3545,11 +3545,11 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
3545
3545
  };
3546
3546
  }
3547
3547
  });
3548
- const _hoisted_1$1d = {
3548
+ const _hoisted_1$1e = {
3549
3549
  key: 0,
3550
3550
  class: "view-mode"
3551
3551
  };
3552
- const _hoisted_2$Y = ["textContent"];
3552
+ const _hoisted_2$Z = ["textContent"];
3553
3553
  const _hoisted_3$A = ["textContent"];
3554
3554
  const _hoisted_4$k = {
3555
3555
  key: 1,
@@ -3557,7 +3557,7 @@ const _hoisted_4$k = {
3557
3557
  };
3558
3558
  const _hoisted_5$b = ["id", "autocomplete", "disabled", "maxlength", "name", "tabindex", "value"];
3559
3559
  const _hoisted_6$8 = ["textContent"];
3560
- const _sfc_main$1t = /* @__PURE__ */ defineComponent({
3560
+ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
3561
3561
  __name: "BSPriceInput",
3562
3562
  props: {
3563
3563
  id: {},
@@ -3681,11 +3681,11 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
3681
3681
  class: normalizeClass([{ required: _ctx.required, disabled: _ctx.disabled, modified: modified.value, error: unref(errors).length > 0 }, "bs-price-input"]),
3682
3682
  style: normalizeStyle({ width: _ctx.width })
3683
3683
  }, [
3684
- _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1d, [
3684
+ _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1e, [
3685
3685
  createElementVNode("span", {
3686
3686
  class: "price mr-4",
3687
3687
  textContent: toDisplayString(_ctx.formatInViewMode ? formattedStringValue.value : unref(stringValue))
3688
- }, null, 8, _hoisted_2$Y),
3688
+ }, null, 8, _hoisted_2$Z),
3689
3689
  suffixText.value ? (openBlock(), createElementBlock("span", {
3690
3690
  key: 0,
3691
3691
  class: "currency-code",
@@ -3717,7 +3717,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
3717
3717
  textContent: toDisplayString(suffixText.value)
3718
3718
  }, null, 8, _hoisted_6$8)) : createCommentVNode("", true)
3719
3719
  ])),
3720
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
3720
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
3721
3721
  key: 2,
3722
3722
  errors: unref(errors),
3723
3723
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
@@ -3726,7 +3726,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
3726
3726
  };
3727
3727
  }
3728
3728
  });
3729
- const _sfc_main$1s = /* @__PURE__ */ defineComponent({
3729
+ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
3730
3730
  __name: "BSPercentInput",
3731
3731
  props: /* @__PURE__ */ mergeModels({
3732
3732
  id: {},
@@ -3762,7 +3762,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
3762
3762
  setup(__props) {
3763
3763
  const props = __props;
3764
3764
  const modelValue = useModel(__props, "modelValue");
3765
- const percentValue = computed(() => modelValue.value !== void 0 ? Number((Number(modelValue.value) * 100).toFixed(props.maxDecimalPlaces)) : void 0);
3765
+ const percentValue = computed(() => modelValue.value !== void 0 && modelValue.value !== null ? Number((Number(modelValue.value) * 100).toFixed(props.maxDecimalPlaces)) : void 0);
3766
3766
  const updateModelValue = async (value) => {
3767
3767
  modelValue.value = void 0;
3768
3768
  await nextTick();
@@ -3774,7 +3774,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
3774
3774
  const percentMaxValue = computed(() => props.maxValue !== void 0 ? Number((props.maxValue * 100).toFixed(props.maxDecimalPlaces)) : void 0);
3775
3775
  const percentMinValue = computed(() => props.minValue !== void 0 ? Number((props.minValue * 100).toFixed(props.maxDecimalPlaces)) : void 0);
3776
3776
  return (_ctx, _cache) => {
3777
- return openBlock(), createBlock(_sfc_main$1u, {
3777
+ return openBlock(), createBlock(_sfc_main$1v, {
3778
3778
  id: _ctx.id,
3779
3779
  autocomplete: _ctx.autocomplete,
3780
3780
  disabled: _ctx.disabled,
@@ -3987,16 +3987,16 @@ const NAMED_COLORS = {
3987
3987
  yellow: "#FFFF00",
3988
3988
  yellowgreen: "#9ACD32"
3989
3989
  };
3990
- const _hoisted_1$1c = {
3990
+ const _hoisted_1$1d = {
3991
3991
  key: 0,
3992
3992
  class: "bs-layout-horizontal gap-4 align-items-center view-mode"
3993
3993
  };
3994
- const _hoisted_2$X = {
3994
+ const _hoisted_2$Y = {
3995
3995
  key: 1,
3996
3996
  class: "bs-layout-horizontal-inline"
3997
3997
  };
3998
3998
  const _hoisted_3$z = ["data-field-name", "disabled", "tabindex", "value"];
3999
- const _sfc_main$1r = /* @__PURE__ */ defineComponent({
3999
+ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
4000
4000
  __name: "BSColorInput",
4001
4001
  props: {
4002
4002
  id: {},
@@ -4089,13 +4089,13 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
4089
4089
  return openBlock(), createElementBlock("div", {
4090
4090
  class: normalizeClass([{ required: _ctx.required, disabled: _ctx.disabled, modified: modified.value, error: unref(errors).length > 0 }, "bs-color-input bs-layout-vertical-inline"])
4091
4091
  }, [
4092
- _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1c, [
4092
+ _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1d, [
4093
4093
  createElementVNode("span", {
4094
4094
  style: normalizeStyle({ "background-color": unref(stringValue) }),
4095
4095
  class: "color-preview"
4096
4096
  }, null, 4),
4097
4097
  createElementVNode("span", null, toDisplayString(unref(stringValue)), 1)
4098
- ])) : (openBlock(), createElementBlock("div", _hoisted_2$X, [
4098
+ ])) : (openBlock(), createElementBlock("div", _hoisted_2$Y, [
4099
4099
  createElementVNode("input", {
4100
4100
  ref_key: "field",
4101
4101
  ref: field,
@@ -4107,7 +4107,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
4107
4107
  onChange: updateColorValue,
4108
4108
  onInput: normalizeColorValue
4109
4109
  }, null, 40, _hoisted_3$z),
4110
- createVNode(_sfc_main$1D, {
4110
+ createVNode(_sfc_main$1E, {
4111
4111
  modelValue: unref(stringValue),
4112
4112
  "onUpdate:modelValue": [
4113
4113
  _cache[0] || (_cache[0] = ($event) => isRef(stringValue) ? stringValue.value = $event : null),
@@ -4122,7 +4122,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
4122
4122
  "ignore-save-point": ""
4123
4123
  }, null, 8, ["modelValue", "autocomplete", "disabled", "name", "tabindex", "view-mode", "width"])
4124
4124
  ])),
4125
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
4125
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
4126
4126
  key: 2,
4127
4127
  errors: unref(errors),
4128
4128
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
@@ -4189,9 +4189,9 @@ const checkDateMinMaxValue = (value, inputFormat, endTime, resolution, inputTime
4189
4189
  const normalizeDateInput = (value) => {
4190
4190
  return value.replace(/[^\d-]/g, "");
4191
4191
  };
4192
- const _hoisted_1$1b = { class: "bs-layout-vertical px-16 py-8" };
4193
- const _hoisted_2$W = { class: "bs-layout-horizontal justify-content-center align-items-center gap-8 mt-8 mb-8" };
4194
- const _sfc_main$1q = /* @__PURE__ */ defineComponent({
4192
+ const _hoisted_1$1c = { class: "bs-layout-vertical px-16 py-8" };
4193
+ const _hoisted_2$X = { class: "bs-layout-horizontal justify-content-center align-items-center gap-8 mt-8 mb-8" };
4194
+ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
4195
4195
  __name: "BSDateInputPopup",
4196
4196
  props: {
4197
4197
  modelValue: {},
@@ -4218,7 +4218,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
4218
4218
  emit("close");
4219
4219
  };
4220
4220
  return (_ctx, _cache) => {
4221
- return openBlock(), createBlock(_sfc_main$1K, {
4221
+ return openBlock(), createBlock(_sfc_main$1L, {
4222
4222
  "base-element": _ctx.baseElement,
4223
4223
  "popup-align": _ctx.popupAlign,
4224
4224
  "popup-direction": _ctx.popupDirection,
@@ -4228,8 +4228,8 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
4228
4228
  }, ["stop"]))
4229
4229
  }, {
4230
4230
  default: withCtx(() => [
4231
- createElementVNode("div", _hoisted_1$1b, [
4232
- createVNode(_sfc_main$1w, {
4231
+ createElementVNode("div", _hoisted_1$1c, [
4232
+ createVNode(_sfc_main$1x, {
4233
4233
  modelValue: date.value,
4234
4234
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => date.value = $event),
4235
4235
  "display-format": _ctx.displayFormat,
@@ -4239,7 +4239,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
4239
4239
  "start-year": _ctx.selectStartYear,
4240
4240
  "time-zone": _ctx.timeZone
4241
4241
  }, null, 8, ["modelValue", "display-format", "end-year", "hide-extra-date", "resolution", "start-year", "time-zone"]),
4242
- createElementVNode("div", _hoisted_2$W, [
4242
+ createElementVNode("div", _hoisted_2$X, [
4243
4243
  createVNode(BSButton, {
4244
4244
  caption: { key: "bs.ok" },
4245
4245
  "button-color": "blue",
@@ -4259,16 +4259,16 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
4259
4259
  };
4260
4260
  }
4261
4261
  });
4262
- const _hoisted_1$1a = {
4262
+ const _hoisted_1$1b = {
4263
4263
  key: 0,
4264
4264
  class: "view-mode"
4265
4265
  };
4266
- const _hoisted_2$V = {
4266
+ const _hoisted_2$W = {
4267
4267
  key: 1,
4268
4268
  class: "input-area"
4269
4269
  };
4270
4270
  const _hoisted_3$y = ["id", "disabled", "maxlength", "name", "tabindex", "value"];
4271
- const _sfc_main$1p = /* @__PURE__ */ defineComponent({
4271
+ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
4272
4272
  __name: "BSDateInput",
4273
4273
  props: {
4274
4274
  id: {},
@@ -4435,9 +4435,9 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
4435
4435
  style: normalizeStyle({ width: _ctx.width }),
4436
4436
  onKeydown: _cache[2] || (_cache[2] = withKeys(withModifiers(() => togglePopup(false), ["stop", "prevent"]), ["esc"]))
4437
4437
  }, [
4438
- _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1a, [
4438
+ _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1b, [
4439
4439
  createElementVNode("span", null, toDisplayString(viewModeValue.value), 1)
4440
- ])) : (openBlock(), createElementBlock("div", _hoisted_2$V, [
4440
+ ])) : (openBlock(), createElementBlock("div", _hoisted_2$W, [
4441
4441
  createElementVNode("span", {
4442
4442
  class: normalizeClass([{ "bs-clickable": !_ctx.disabled }, "font-icon"]),
4443
4443
  onClick: _cache[0] || (_cache[0] = ($event) => togglePopup())
@@ -4474,12 +4474,12 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
4474
4474
  ]);
4475
4475
  }), 128))
4476
4476
  ], 2)) : createCommentVNode("", true),
4477
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
4477
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
4478
4478
  key: 3,
4479
4479
  errors: unref(errors),
4480
4480
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
4481
4481
  }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true),
4482
- showPopup.value ? (openBlock(), createBlock(_sfc_main$1q, {
4482
+ showPopup.value ? (openBlock(), createBlock(_sfc_main$1r, {
4483
4483
  key: 4,
4484
4484
  "base-element": unref(rootRef),
4485
4485
  "display-format": _ctx.displayFormat,
@@ -4500,9 +4500,9 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
4500
4500
  };
4501
4501
  }
4502
4502
  });
4503
- const _hoisted_1$19 = { class: "bs-layout-vertical px-16 py-8" };
4504
- const _hoisted_2$U = { class: "bs-layout-horizontal justify-content-end align-items-center gap-8 mt-16 mb-8" };
4505
- const _sfc_main$1o = /* @__PURE__ */ defineComponent({
4503
+ const _hoisted_1$1a = { class: "bs-layout-vertical px-16 py-8" };
4504
+ const _hoisted_2$V = { class: "bs-layout-horizontal justify-content-end align-items-center gap-8 mt-16 mb-8" };
4505
+ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
4506
4506
  __name: "BSDateRangeInputPopup",
4507
4507
  props: {
4508
4508
  from: {},
@@ -4532,7 +4532,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
4532
4532
  emit("close");
4533
4533
  };
4534
4534
  return (_ctx, _cache) => {
4535
- return openBlock(), createBlock(_sfc_main$1K, {
4535
+ return openBlock(), createBlock(_sfc_main$1L, {
4536
4536
  "base-element": _ctx.baseElement,
4537
4537
  "max-height": "auto",
4538
4538
  onRequestClose: close2,
@@ -4540,8 +4540,8 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
4540
4540
  }, ["stop"]))
4541
4541
  }, {
4542
4542
  default: withCtx(() => [
4543
- createElementVNode("div", _hoisted_1$19, [
4544
- createVNode(_sfc_main$1v, {
4543
+ createElementVNode("div", _hoisted_1$1a, [
4544
+ createVNode(_sfc_main$1w, {
4545
4545
  from: fromValue.value,
4546
4546
  "onUpdate:from": _cache[0] || (_cache[0] = ($event) => fromValue.value = $event),
4547
4547
  to: toValue.value,
@@ -4555,7 +4555,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
4555
4555
  "start-year": _ctx.selectStartYear,
4556
4556
  "time-zone": _ctx.timeZone
4557
4557
  }, null, 8, ["from", "to", "disabled-from", "disabled-to", "display-format", "end-year", "hide-extra-date", "resolution", "start-year", "time-zone"]),
4558
- createElementVNode("div", _hoisted_2$U, [
4558
+ createElementVNode("div", _hoisted_2$V, [
4559
4559
  createVNode(BSButton, {
4560
4560
  caption: { key: "bs.ok" },
4561
4561
  "button-color": "blue",
@@ -4575,17 +4575,17 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
4575
4575
  };
4576
4576
  }
4577
4577
  });
4578
- const _hoisted_1$18 = {
4578
+ const _hoisted_1$19 = {
4579
4579
  key: 0,
4580
4580
  class: "view-mode"
4581
4581
  };
4582
- const _hoisted_2$T = {
4582
+ const _hoisted_2$U = {
4583
4583
  key: 1,
4584
4584
  class: "input-area"
4585
4585
  };
4586
4586
  const _hoisted_3$x = ["id", "disabled", "maxlength", "name", "tabindex", "value"];
4587
4587
  const _hoisted_4$j = ["id", "disabled", "maxlength", "name", "tabindex", "value"];
4588
- const _sfc_main$1n = /* @__PURE__ */ defineComponent({
4588
+ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
4589
4589
  __name: "BSDateRange",
4590
4590
  props: {
4591
4591
  idFrom: {},
@@ -4885,9 +4885,9 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
4885
4885
  style: normalizeStyle({ width: _ctx.width }),
4886
4886
  onKeydown: _cache[2] || (_cache[2] = withKeys(withModifiers(() => togglePopup(false), ["stop", "prevent"]), ["esc"]))
4887
4887
  }, [
4888
- _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$18, [
4888
+ _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$19, [
4889
4889
  createElementVNode("span", null, toDisplayString(formattedDateRange.value), 1)
4890
- ])) : (openBlock(), createElementBlock("div", _hoisted_2$T, [
4890
+ ])) : (openBlock(), createElementBlock("div", _hoisted_2$U, [
4891
4891
  createElementVNode("span", {
4892
4892
  class: normalizeClass([{ "bs-clickable": !disabled.value }, "font-icon"]),
4893
4893
  onClick: _cache[0] || (_cache[0] = () => togglePopup())
@@ -4943,12 +4943,12 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
4943
4943
  ]);
4944
4944
  }), 128))
4945
4945
  ], 2)) : createCommentVNode("", true),
4946
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
4946
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
4947
4947
  key: 3,
4948
4948
  errors: errors.value,
4949
4949
  "hide-error-message": _ctx.hideErrorMessage || disabled.value && !_ctx.showErrorMessageOnDisabled
4950
4950
  }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true),
4951
- showPopup.value ? (openBlock(), createBlock(_sfc_main$1o, {
4951
+ showPopup.value ? (openBlock(), createBlock(_sfc_main$1p, {
4952
4952
  key: 4,
4953
4953
  "base-element": unref(rootRef),
4954
4954
  "disabled-from": _ctx.disabledFrom,
@@ -5044,8 +5044,8 @@ const resolveYearsAgo = (years, from2, timeZone, baseDate) => {
5044
5044
  const today = dayjs().tz(timeZone);
5045
5045
  return from2 ? today.add(-years, "year").startOf("year") : today.add(-years, "year").endOf("year");
5046
5046
  };
5047
- const _hoisted_1$17 = ["id", "checked", "disabled", "name", "tabindex"];
5048
- const _hoisted_2$S = ["for"];
5047
+ const _hoisted_1$18 = ["id", "checked", "disabled", "name", "tabindex"];
5048
+ const _hoisted_2$T = ["for"];
5049
5049
  const _hoisted_3$w = {
5050
5050
  key: 0,
5051
5051
  class: "font-icon"
@@ -5055,7 +5055,7 @@ const _hoisted_4$i = {
5055
5055
  class: "text-label"
5056
5056
  };
5057
5057
  const _hoisted_5$a = ["for"];
5058
- const _sfc_main$1m = /* @__PURE__ */ defineComponent({
5058
+ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
5059
5059
  __name: "BSRadioButton",
5060
5060
  props: {
5061
5061
  id: { default: () => componentUtil.generateNextId("radio") },
@@ -5098,13 +5098,13 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
5098
5098
  class: "",
5099
5099
  role: "radio",
5100
5100
  type: "radio"
5101
- }, toHandlers(handlers2, true)), null, 16, _hoisted_1$17),
5101
+ }, toHandlers(handlers2, true)), null, 16, _hoisted_1$18),
5102
5102
  createElementVNode("label", { for: _ctx.id }, [
5103
5103
  _ctx.icon ? (openBlock(), createElementBlock("span", _hoisted_3$w, toDisplayString(_ctx.icon), 1)) : createCommentVNode("", true),
5104
5104
  _ctx.label ? withDirectives((openBlock(), createElementBlock("span", _hoisted_4$i, null, 512)), [
5105
5105
  [unref(vT), _ctx.label]
5106
5106
  ]) : createCommentVNode("", true)
5107
- ], 8, _hoisted_2$S),
5107
+ ], 8, _hoisted_2$T),
5108
5108
  hasLabelSlot.value ? (openBlock(), createElementBlock("label", {
5109
5109
  key: 0,
5110
5110
  for: _ctx.id,
@@ -5116,14 +5116,14 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
5116
5116
  };
5117
5117
  }
5118
5118
  });
5119
- const _hoisted_1$16 = ["data-field-name"];
5120
- const _hoisted_2$R = { key: 0 };
5119
+ const _hoisted_1$17 = ["data-field-name"];
5120
+ const _hoisted_2$S = { key: 0 };
5121
5121
  const _hoisted_3$v = {
5122
5122
  key: 1,
5123
5123
  class: "radio-button-group",
5124
5124
  role: "radiogroup"
5125
5125
  };
5126
- const _sfc_main$1l = /* @__PURE__ */ defineComponent({
5126
+ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
5127
5127
  __name: "BSRadioButtonGroup",
5128
5128
  props: {
5129
5129
  name: { default: () => componentUtil.generateNextName("radioGroup") },
@@ -5203,12 +5203,12 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
5203
5203
  class: normalizeClass([{ required: _ctx.required, disabled: _ctx.disabled, modified: modified.value, error: unref(errors).length > 0 }, "bs-radio-button-group"]),
5204
5204
  "data-field-name": _ctx.name
5205
5205
  }, [
5206
- _ctx.viewMode ? withDirectives((openBlock(), createElementBlock("div", _hoisted_2$R, null, 512)), [
5206
+ _ctx.viewMode ? withDirectives((openBlock(), createElementBlock("div", _hoisted_2$S, null, 512)), [
5207
5207
  [unref(vT), modelValueLabel.value]
5208
5208
  ]) : (openBlock(), createElementBlock("div", _hoisted_3$v, [
5209
5209
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.items, (item) => {
5210
5210
  var _a2, _b;
5211
- return withDirectives((openBlock(), createBlock(_sfc_main$1m, {
5211
+ return withDirectives((openBlock(), createBlock(_sfc_main$1n, {
5212
5212
  key: itemKey(item),
5213
5213
  disabled: _ctx.disabled || isDisabledItem(item),
5214
5214
  icon: (_a2 = _ctx.iconProvider) == null ? void 0 : _a2.call(_ctx, item),
@@ -5223,16 +5223,16 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
5223
5223
  ]);
5224
5224
  }), 128))
5225
5225
  ])),
5226
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
5226
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
5227
5227
  key: 2,
5228
5228
  errors: unref(errors),
5229
5229
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
5230
5230
  }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true)
5231
- ], 10, _hoisted_1$16);
5231
+ ], 10, _hoisted_1$17);
5232
5232
  };
5233
5233
  }
5234
5234
  });
5235
- const _sfc_main$1k = /* @__PURE__ */ defineComponent({
5235
+ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
5236
5236
  __name: "BSDateRangePresets",
5237
5237
  props: {
5238
5238
  modelValue: {},
@@ -5266,7 +5266,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
5266
5266
  { immediate: true }
5267
5267
  );
5268
5268
  return (_ctx, _cache) => {
5269
- return _ctx.presets && _ctx.presets.length > 0 ? (openBlock(), createBlock(_sfc_main$1l, {
5269
+ return _ctx.presets && _ctx.presets.length > 0 ? (openBlock(), createBlock(_sfc_main$1m, {
5270
5270
  key: 0,
5271
5271
  modelValue: currentPreset.value,
5272
5272
  "onUpdate:modelValue": [
@@ -5281,10 +5281,10 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
5281
5281
  };
5282
5282
  }
5283
5283
  });
5284
- const _hoisted_1$15 = ["id", "checked", "disabled", "name", "tabindex"];
5285
- const _hoisted_2$Q = ["for"];
5284
+ const _hoisted_1$16 = ["id", "checked", "disabled", "name", "tabindex"];
5285
+ const _hoisted_2$R = ["for"];
5286
5286
  const _hoisted_3$u = ["for"];
5287
- const _sfc_main$1j = /* @__PURE__ */ defineComponent({
5287
+ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
5288
5288
  __name: "BSCheckbox",
5289
5289
  props: {
5290
5290
  id: { default: () => componentUtil.generateNextId("checkbox") },
@@ -5340,12 +5340,12 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
5340
5340
  tabindex: _ctx.tabindex,
5341
5341
  class: "",
5342
5342
  type: "checkbox"
5343
- }, toHandlers(handlers2, true)), null, 16, _hoisted_1$15),
5343
+ }, toHandlers(handlers2, true)), null, 16, _hoisted_1$16),
5344
5344
  _ctx.label ? withDirectives((openBlock(), createElementBlock("label", {
5345
5345
  key: 0,
5346
5346
  for: _ctx.id,
5347
5347
  class: "text-label"
5348
- }, null, 8, _hoisted_2$Q)), [
5348
+ }, null, 8, _hoisted_2$R)), [
5349
5349
  [unref(vT), _ctx.label]
5350
5350
  ]) : createCommentVNode("", true),
5351
5351
  hasLabelSlot.value ? (openBlock(), createElementBlock("label", {
@@ -5359,10 +5359,10 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
5359
5359
  };
5360
5360
  }
5361
5361
  });
5362
- const _hoisted_1$14 = ["data-field-name"];
5363
- const _hoisted_2$P = { class: "items" };
5362
+ const _hoisted_1$15 = ["data-field-name"];
5363
+ const _hoisted_2$Q = { class: "items" };
5364
5364
  const _hoisted_3$t = ["textContent"];
5365
- const _sfc_main$1i = /* @__PURE__ */ defineComponent({
5365
+ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
5366
5366
  __name: "BSCheckboxGroup",
5367
5367
  props: {
5368
5368
  name: {},
@@ -5468,13 +5468,13 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
5468
5468
  "data-field-name": _ctx.name,
5469
5469
  role: "group"
5470
5470
  }, [
5471
- createElementVNode("div", _hoisted_2$P, [
5471
+ createElementVNode("div", _hoisted_2$Q, [
5472
5472
  _ctx.viewMode ? (openBlock(), createElementBlock("div", {
5473
5473
  key: 0,
5474
5474
  class: "view-mode",
5475
5475
  textContent: toDisplayString(modelValueLabels.value)
5476
5476
  }, null, 8, _hoisted_3$t)) : (openBlock(true), createElementBlock(Fragment$1, { key: 1 }, renderList(_ctx.items, (item) => {
5477
- return openBlock(), createBlock(_sfc_main$1j, {
5477
+ return openBlock(), createBlock(_sfc_main$1k, {
5478
5478
  key: itemKey(item),
5479
5479
  disabled: _ctx.disabled || isDisabledItem(item),
5480
5480
  label: itemLabel(item),
@@ -5486,16 +5486,16 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
5486
5486
  }, null, 8, ["disabled", "label", "model-value", "name", "tabindex", "onUpdate:modelValue"]);
5487
5487
  }), 128))
5488
5488
  ]),
5489
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
5489
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
5490
5490
  key: 0,
5491
5491
  errors: unref(errors),
5492
5492
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
5493
5493
  }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true)
5494
- ], 10, _hoisted_1$14);
5494
+ ], 10, _hoisted_1$15);
5495
5495
  };
5496
5496
  }
5497
5497
  });
5498
- const _sfc_main$1h = /* @__PURE__ */ defineComponent({
5498
+ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
5499
5499
  __name: "BSYesNoGroup",
5500
5500
  props: {
5501
5501
  name: { default: () => componentUtil.generateNextName("yesNoGroup") },
@@ -5528,7 +5528,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
5528
5528
  emit("update:modelValue", value2 === void 0 ? void 0 : value2 === "Y");
5529
5529
  };
5530
5530
  return (_ctx, _cache) => {
5531
- return openBlock(), createBlock(_sfc_main$1l, {
5531
+ return openBlock(), createBlock(_sfc_main$1m, {
5532
5532
  disabled: _ctx.disabled,
5533
5533
  "hide-error-message": _ctx.hideErrorMessage,
5534
5534
  "ignore-save-point": _ctx.ignoreSavePoint,
@@ -5545,8 +5545,8 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
5545
5545
  };
5546
5546
  }
5547
5547
  });
5548
- const _hoisted_1$13 = ["tabindex", "onKeydown"];
5549
- const _hoisted_2$O = { key: 0 };
5548
+ const _hoisted_1$14 = ["tabindex", "onKeydown"];
5549
+ const _hoisted_2$P = { key: 0 };
5550
5550
  const _hoisted_3$s = {
5551
5551
  key: 0,
5552
5552
  class: "label"
@@ -5568,7 +5568,7 @@ const _hoisted_8$2 = {
5568
5568
  key: 2,
5569
5569
  class: "small-progress"
5570
5570
  };
5571
- const _sfc_main$1g = /* @__PURE__ */ defineComponent({
5571
+ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
5572
5572
  __name: "BSMultiSelect",
5573
5573
  props: {
5574
5574
  modelValue: { default: () => [] },
@@ -5693,7 +5693,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
5693
5693
  _cache[4] || (_cache[4] = withKeys(($event) => togglePopup(false), ["tab"]))
5694
5694
  ]
5695
5695
  }, [
5696
- _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_2$O, [
5696
+ _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_2$P, [
5697
5697
  _ctx.selectedLabelProvider ? withDirectives((openBlock(), createElementBlock("span", _hoisted_3$s, null, 512)), [
5698
5698
  [unref(vT), _ctx.selectedLabelProvider(selectedItems.value)]
5699
5699
  ]) : (openBlock(true), createElementBlock(Fragment$1, { key: 1 }, renderList(selectedItems.value, (item) => {
@@ -5729,7 +5729,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
5729
5729
  _cache[5] || (_cache[5] = createElementVNode("span", { class: "dropdown-btn" }, "expand_more", -1)),
5730
5730
  loadingItems.value ? (openBlock(), createElementBlock("span", _hoisted_8$2, "progress_activity")) : createCommentVNode("", true)
5731
5731
  ], 8, _hoisted_4$h),
5732
- !_ctx.disabled && showPopup.value ? (openBlock(), createBlock(_sfc_main$1J, {
5732
+ !_ctx.disabled && showPopup.value ? (openBlock(), createBlock(_sfc_main$1K, {
5733
5733
  key: 0,
5734
5734
  ref_key: "selectPopup",
5735
5735
  ref: selectPopup,
@@ -5748,12 +5748,12 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
5748
5748
  onRequestClose: _cache[0] || (_cache[0] = ($event) => togglePopup(false))
5749
5749
  }, null, 8, ["base-element", "initial-item", "items", "label-provider", "max-height", "popup-align", "popup-direction", "selected-items", "show-search", "enabled-item-provider", "value-provider"])) : createCommentVNode("", true)
5750
5750
  ], 64)),
5751
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
5751
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
5752
5752
  key: 2,
5753
5753
  errors: unref(errors),
5754
5754
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
5755
5755
  }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true)
5756
- ], 42, _hoisted_1$13)), [
5756
+ ], 42, _hoisted_1$14)), [
5757
5757
  [unref(vClickOutside), () => togglePopup(false)]
5758
5758
  ]);
5759
5759
  };
@@ -5914,8 +5914,8 @@ const vTreeRowDrop = {
5914
5914
  }
5915
5915
  }
5916
5916
  };
5917
- const _hoisted_1$12 = ["textContent"];
5918
- const _hoisted_2$N = {
5917
+ const _hoisted_1$13 = ["textContent"];
5918
+ const _hoisted_2$O = {
5919
5919
  key: 1,
5920
5920
  class: "font-icon w-16 text-gray-400"
5921
5921
  };
@@ -5927,7 +5927,7 @@ const _hoisted_4$g = {
5927
5927
  key: 0,
5928
5928
  class: "child-rows"
5929
5929
  };
5930
- const _sfc_main$1f = /* @__PURE__ */ defineComponent({
5930
+ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
5931
5931
  __name: "BSTreeRow",
5932
5932
  props: {
5933
5933
  row: {},
@@ -6038,8 +6038,8 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
6038
6038
  class: "bs-clickable font-icon",
6039
6039
  onClick: _cache[0] || (_cache[0] = ($event) => selectRow($event, true)),
6040
6040
  textContent: toDisplayString(isSelected.value ? "check_box" : "check_box_outline_blank")
6041
- }, null, 8, _hoisted_1$12)) : createCommentVNode("", true),
6042
- _ctx.iconProvider ? (openBlock(), createElementBlock("span", _hoisted_2$N, toDisplayString(icon.value || ""), 1)) : createCommentVNode("", true),
6041
+ }, null, 8, _hoisted_1$13)) : createCommentVNode("", true),
6042
+ _ctx.iconProvider ? (openBlock(), createElementBlock("span", _hoisted_2$O, toDisplayString(icon.value || ""), 1)) : createCommentVNode("", true),
6043
6043
  withDirectives(createElementVNode("span", {
6044
6044
  class: "caption",
6045
6045
  onClick: _cache[1] || (_cache[1] = ($event) => selectRow($event, $event.shiftKey)),
@@ -6091,7 +6091,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
6091
6091
  };
6092
6092
  }
6093
6093
  });
6094
- const _sfc_main$1e = /* @__PURE__ */ defineComponent({
6094
+ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
6095
6095
  __name: "BSTree",
6096
6096
  props: {
6097
6097
  data: {},
@@ -6247,7 +6247,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
6247
6247
  class: "tree-wrap"
6248
6248
  }, [
6249
6249
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.data, (item) => {
6250
- return openBlock(), createBlock(_sfc_main$1f, {
6250
+ return openBlock(), createBlock(_sfc_main$1g, {
6251
6251
  key: _ctx.keyProvider(item),
6252
6252
  "children-provider": _ctx.childrenProvider,
6253
6253
  "disabled-provider": _ctx.rowDisabledProvider,
@@ -6336,7 +6336,7 @@ class BSModal {
6336
6336
  }
6337
6337
  openAlert(title, message, clickHandler2) {
6338
6338
  const option = {
6339
- component: defineAsyncComponent(() => import("./BSAlertModal-BMfuyOUG.js")),
6339
+ component: defineAsyncComponent(() => import("./BSAlertModal-DT2Wai4R.js")),
6340
6340
  bind: {
6341
6341
  title,
6342
6342
  message
@@ -6349,7 +6349,7 @@ class BSModal {
6349
6349
  }
6350
6350
  openYesNo(title, message, yesHandler, noHandler) {
6351
6351
  const option = {
6352
- component: defineAsyncComponent(() => import("./BSYesNoModal-CFjCkyfv.js")),
6352
+ component: defineAsyncComponent(() => import("./BSYesNoModal-C91E2MSF.js")),
6353
6353
  bind: {
6354
6354
  title,
6355
6355
  message
@@ -6764,8 +6764,8 @@ class TreeSortOrderChangeDetector {
6764
6764
  });
6765
6765
  }
6766
6766
  }
6767
- const _hoisted_1$11 = ["tabindex", "onKeydown"];
6768
- const _hoisted_2$M = { key: 0 };
6767
+ const _hoisted_1$12 = ["tabindex", "onKeydown"];
6768
+ const _hoisted_2$N = { key: 0 };
6769
6769
  const _hoisted_3$q = ["data-field-name"];
6770
6770
  const _hoisted_4$f = {
6771
6771
  key: 0,
@@ -6779,7 +6779,7 @@ const _hoisted_6$6 = {
6779
6779
  key: 2,
6780
6780
  class: "small-progress"
6781
6781
  };
6782
- const _sfc_main$1d = /* @__PURE__ */ defineComponent({
6782
+ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
6783
6783
  __name: "BSTreeSelect",
6784
6784
  props: {
6785
6785
  modelValue: {},
@@ -6916,7 +6916,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
6916
6916
  _cache[5] || (_cache[5] = withKeys(($event) => togglePopup(false), ["tab"]))
6917
6917
  ]
6918
6918
  }, [
6919
- _ctx.viewMode ? withDirectives((openBlock(), createElementBlock("div", _hoisted_2$M, null, 512)), [
6919
+ _ctx.viewMode ? withDirectives((openBlock(), createElementBlock("div", _hoisted_2$N, null, 512)), [
6920
6920
  [unref(vT), selectedItemLabel.value]
6921
6921
  ]) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
6922
6922
  createElementVNode("div", {
@@ -6934,7 +6934,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
6934
6934
  _cache[6] || (_cache[6] = createElementVNode("span", { class: "dropdown-btn" }, "expand_more", -1)),
6935
6935
  loadingItems.value ? (openBlock(), createElementBlock("span", _hoisted_6$6, "progress_activity")) : createCommentVNode("", true)
6936
6936
  ], 8, _hoisted_3$q),
6937
- showPopup.value ? (openBlock(), createBlock(_sfc_main$1K, {
6937
+ showPopup.value ? (openBlock(), createBlock(_sfc_main$1L, {
6938
6938
  key: 0,
6939
6939
  "base-element": unref(rootRef),
6940
6940
  "max-height": _ctx.popupMaxHeight,
@@ -6946,24 +6946,24 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
6946
6946
  }, ["stop"]))
6947
6947
  }, {
6948
6948
  default: withCtx(() => [
6949
- createVNode(_sfc_main$1e, mergeProps({ "bottom-padding": "0" }, unref(treeHandler).tree, toHandlers(unref(treeHandler).treeEventListener)), null, 16)
6949
+ createVNode(_sfc_main$1f, mergeProps({ "bottom-padding": "0" }, unref(treeHandler).tree, toHandlers(unref(treeHandler).treeEventListener)), null, 16)
6950
6950
  ]),
6951
6951
  _: 1
6952
6952
  }, 8, ["base-element", "max-height", "popup-align", "popup-direction"])) : createCommentVNode("", true),
6953
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
6953
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
6954
6954
  key: 1,
6955
6955
  errors: unref(errors),
6956
6956
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
6957
6957
  }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true)
6958
6958
  ], 64))
6959
- ], 42, _hoisted_1$11)), [
6959
+ ], 42, _hoisted_1$12)), [
6960
6960
  [unref(vClickOutside), () => togglePopup(false)]
6961
6961
  ]);
6962
6962
  };
6963
6963
  }
6964
6964
  });
6965
- const _hoisted_1$10 = ["tabindex", "onKeydown"];
6966
- const _hoisted_2$L = { key: 0 };
6965
+ const _hoisted_1$11 = ["tabindex", "onKeydown"];
6966
+ const _hoisted_2$M = { key: 0 };
6967
6967
  const _hoisted_3$p = ["data-field-name"];
6968
6968
  const _hoisted_4$e = {
6969
6969
  key: 0,
@@ -6977,7 +6977,7 @@ const _hoisted_6$5 = {
6977
6977
  key: 2,
6978
6978
  class: "small-progress"
6979
6979
  };
6980
- const _sfc_main$1c = /* @__PURE__ */ defineComponent({
6980
+ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
6981
6981
  __name: "BSTreeMultiSelect",
6982
6982
  props: {
6983
6983
  modelValue: {},
@@ -7110,7 +7110,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
7110
7110
  _cache[6] || (_cache[6] = withKeys(($event) => togglePopup(false), ["tab"]))
7111
7111
  ]
7112
7112
  }, [
7113
- _ctx.viewMode ? withDirectives((openBlock(), createElementBlock("div", _hoisted_2$L, null, 512)), [
7113
+ _ctx.viewMode ? withDirectives((openBlock(), createElementBlock("div", _hoisted_2$M, null, 512)), [
7114
7114
  [unref(vT), selectedItemLabel.value]
7115
7115
  ]) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
7116
7116
  createElementVNode("div", {
@@ -7128,7 +7128,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
7128
7128
  _cache[7] || (_cache[7] = createElementVNode("span", { class: "dropdown-btn" }, "expand_more", -1)),
7129
7129
  loadingItems.value ? (openBlock(), createElementBlock("span", _hoisted_6$5, "progress_activity")) : createCommentVNode("", true)
7130
7130
  ], 8, _hoisted_3$p),
7131
- showPopup.value ? (openBlock(), createBlock(_sfc_main$1K, {
7131
+ showPopup.value ? (openBlock(), createBlock(_sfc_main$1L, {
7132
7132
  key: 0,
7133
7133
  "base-element": unref(rootRef),
7134
7134
  "max-height": _ctx.popupMaxHeight,
@@ -7140,7 +7140,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
7140
7140
  }, ["stop"]))
7141
7141
  }, {
7142
7142
  default: withCtx(() => [
7143
- createVNode(_sfc_main$1e, mergeProps({
7143
+ createVNode(_sfc_main$1f, mergeProps({
7144
7144
  "bottom-padding": "0",
7145
7145
  "multi-select": "",
7146
7146
  "show-checkbox": ""
@@ -7151,21 +7151,21 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
7151
7151
  ]),
7152
7152
  _: 1
7153
7153
  }, 8, ["base-element", "max-height", "popup-align", "popup-direction"])) : createCommentVNode("", true),
7154
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
7154
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
7155
7155
  key: 1,
7156
7156
  errors: unref(errors),
7157
7157
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
7158
7158
  }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true)
7159
7159
  ], 64))
7160
- ], 42, _hoisted_1$10)), [
7160
+ ], 42, _hoisted_1$11)), [
7161
7161
  [unref(vClickOutside), () => togglePopup(false)]
7162
7162
  ]);
7163
7163
  };
7164
7164
  }
7165
7165
  });
7166
- const _hoisted_1$$ = { class: "bs-popup-select bs-layout-horizontal" };
7167
- const _hoisted_2$K = ["textContent"];
7168
- const _sfc_main$1b = /* @__PURE__ */ defineComponent({
7166
+ const _hoisted_1$10 = { class: "bs-popup-select bs-layout-horizontal" };
7167
+ const _hoisted_2$L = ["textContent"];
7168
+ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
7169
7169
  __name: "BSPopupSelect",
7170
7170
  props: {
7171
7171
  name: {},
@@ -7188,13 +7188,13 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
7188
7188
  emit("click");
7189
7189
  };
7190
7190
  return (_ctx, _cache) => {
7191
- return openBlock(), createElementBlock("div", _hoisted_1$$, [
7191
+ return openBlock(), createElementBlock("div", _hoisted_1$10, [
7192
7192
  _ctx.viewMode ? (openBlock(), createElementBlock("div", {
7193
7193
  key: 0,
7194
7194
  class: "view-mode",
7195
7195
  textContent: toDisplayString(label.value)
7196
- }, null, 8, _hoisted_2$K)) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
7197
- createVNode(_sfc_main$1D, {
7196
+ }, null, 8, _hoisted_2$L)) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
7197
+ createVNode(_sfc_main$1E, {
7198
7198
  "model-value": label.value,
7199
7199
  name: _ctx.name || "",
7200
7200
  disabled: "",
@@ -7211,18 +7211,18 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
7211
7211
  };
7212
7212
  }
7213
7213
  });
7214
- const BSPopupSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-d74fd89c"]]);
7215
- const _hoisted_1$_ = {
7214
+ const BSPopupSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-d74fd89c"]]);
7215
+ const _hoisted_1$$ = {
7216
7216
  key: 0,
7217
7217
  class: "view-mode bs-layout-horizontal gap-8 align-items-start"
7218
7218
  };
7219
- const _hoisted_2$J = ["textContent"];
7219
+ const _hoisted_2$K = ["textContent"];
7220
7220
  const _hoisted_3$o = {
7221
7221
  key: 1,
7222
7222
  class: "input-area bs-layout-horizontal align-items-start"
7223
7223
  };
7224
7224
  const _hoisted_4$d = ["disabled", "maxlength", "name", "tabindex"];
7225
- const _sfc_main$1a = /* @__PURE__ */ defineComponent({
7225
+ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
7226
7226
  __name: "BSTextArea",
7227
7227
  props: {
7228
7228
  id: {},
@@ -7337,7 +7337,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
7337
7337
  class: normalizeClass([{ disabled: _ctx.disabled, modified: modified.value, error: unref(errors).length > 0 }, "bs-text-area"]),
7338
7338
  style: normalizeStyle({ width: outerWidth.value, height: outerHeight.value })
7339
7339
  }, [
7340
- _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$_, [
7340
+ _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$$, [
7341
7341
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(componentUtil).toMultiLangTextArray(_ctx.prefix), (text) => {
7342
7342
  return withDirectives((openBlock(), createElementBlock("span", {
7343
7343
  key: JSON.stringify(text),
@@ -7348,7 +7348,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
7348
7348
  }), 128)),
7349
7349
  createElementVNode("div", {
7350
7350
  textContent: toDisplayString(unref(stringValue))
7351
- }, null, 8, _hoisted_2$J),
7351
+ }, null, 8, _hoisted_2$K),
7352
7352
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(componentUtil).toMultiLangTextArray(_ctx.suffix), (text) => {
7353
7353
  return withDirectives((openBlock(), createElementBlock("span", {
7354
7354
  key: JSON.stringify(text),
@@ -7396,7 +7396,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
7396
7396
  ]);
7397
7397
  }), 128))
7398
7398
  ])),
7399
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
7399
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
7400
7400
  key: 2,
7401
7401
  errors: unref(errors),
7402
7402
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
@@ -28742,9 +28742,9 @@ const TableRow = Node2.create({
28742
28742
  return ["tr", mergeAttributes(this.options.HTMLAttributes, HTMLAttributes), 0];
28743
28743
  }
28744
28744
  });
28745
- const _hoisted_1$Z = { class: "tool-button-font-size bs-layout-horizontal align-items-center" };
28746
- const _hoisted_2$I = ["disabled", "value"];
28747
- const _sfc_main$19 = /* @__PURE__ */ defineComponent({
28745
+ const _hoisted_1$_ = { class: "tool-button-font-size bs-layout-horizontal align-items-center" };
28746
+ const _hoisted_2$J = ["disabled", "value"];
28747
+ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
28748
28748
  __name: "ToolButtonFontSize",
28749
28749
  props: {
28750
28750
  editor: {},
@@ -28811,7 +28811,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
28811
28811
  props.editor.on("selectionUpdate", refreshFontSize);
28812
28812
  });
28813
28813
  return (_ctx, _cache) => {
28814
- return openBlock(), createElementBlock("div", _hoisted_1$Z, [
28814
+ return openBlock(), createElementBlock("div", _hoisted_1$_, [
28815
28815
  withDirectives((openBlock(), createElementBlock("span", {
28816
28816
  class: normalizeClass([{ "bs-clickable": !_ctx.disabled }, "font-icon"]),
28817
28817
  onClick: decrease
@@ -28830,7 +28830,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
28830
28830
  value: fontSize.value,
28831
28831
  type: "text",
28832
28832
  onChange: setFontSize
28833
- }, null, 40, _hoisted_2$I),
28833
+ }, null, 40, _hoisted_2$J),
28834
28834
  withDirectives((openBlock(), createElementBlock("span", {
28835
28835
  class: normalizeClass([{ "bs-clickable": !_ctx.disabled }, "font-icon"]),
28836
28836
  onClick: increase
@@ -28848,10 +28848,10 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
28848
28848
  };
28849
28849
  }
28850
28850
  });
28851
- const ToolButtonFontSize = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-ef5774f0"]]);
28852
- const _hoisted_1$Y = ["title"];
28853
- const _hoisted_2$H = ["disabled", "value"];
28854
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
28851
+ const ToolButtonFontSize = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-ef5774f0"]]);
28852
+ const _hoisted_1$Z = ["title"];
28853
+ const _hoisted_2$I = ["disabled", "value"];
28854
+ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
28855
28855
  __name: "ToolButtonFontColor",
28856
28856
  props: {
28857
28857
  editor: {},
@@ -28883,12 +28883,12 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
28883
28883
  value: color.value,
28884
28884
  type: "color",
28885
28885
  onChange: setColor
28886
- }, null, 40, _hoisted_2$H)
28887
- ], 8, _hoisted_1$Y);
28886
+ }, null, 40, _hoisted_2$I)
28887
+ ], 8, _hoisted_1$Z);
28888
28888
  };
28889
28889
  }
28890
28890
  });
28891
- const ToolButtonFontColor = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-d556d8eb"]]);
28891
+ const ToolButtonFontColor = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-d556d8eb"]]);
28892
28892
  var readFromCache;
28893
28893
  var addToCache;
28894
28894
  if (typeof WeakMap != "undefined") {
@@ -31483,19 +31483,19 @@ const tableContextMenus = (modal, editor) => {
31483
31483
  };
31484
31484
  const showTableProperties = (modal, editor) => {
31485
31485
  modal.openModal({
31486
- component: defineAsyncComponent(() => import("./TablePropertiesModal-CiY15j-y.js")),
31486
+ component: defineAsyncComponent(() => import("./TablePropertiesModal-D1wSXQ3C.js")),
31487
31487
  bind: { editor }
31488
31488
  });
31489
31489
  };
31490
31490
  const insertTable = (modal, editor) => {
31491
31491
  modal.openModal({
31492
- component: defineAsyncComponent(() => import("./TableInsertModal-zqihDr7h.js")),
31492
+ component: defineAsyncComponent(() => import("./TableInsertModal-BfWLdDCa.js")),
31493
31493
  bind: { editor }
31494
31494
  });
31495
31495
  };
31496
- const _hoisted_1$X = { class: "bs-layout-horizontal align-items-center" };
31497
- const _hoisted_2$G = ["title"];
31498
- const _sfc_main$17 = /* @__PURE__ */ defineComponent({
31496
+ const _hoisted_1$Y = { class: "bs-layout-horizontal align-items-center" };
31497
+ const _hoisted_2$H = ["title"];
31498
+ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
31499
31499
  __name: "ToolButtonTable",
31500
31500
  props: {
31501
31501
  editor: {},
@@ -31517,17 +31517,17 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
31517
31517
  props.editor.on("selectionUpdate", refreshTable);
31518
31518
  });
31519
31519
  return (_ctx, _cache) => {
31520
- return openBlock(), createElementBlock("div", _hoisted_1$X, [
31520
+ return openBlock(), createElementBlock("div", _hoisted_1$Y, [
31521
31521
  createElementVNode("span", {
31522
31522
  class: normalizeClass([{ "bs-clickable": !_ctx.disabled }, "font-icon"]),
31523
31523
  title: unref(t$1)({ key: "bs.richtext.insertTable" }),
31524
31524
  onClick: doInsertTable
31525
- }, "table", 10, _hoisted_2$G)
31525
+ }, "table", 10, _hoisted_2$H)
31526
31526
  ]);
31527
31527
  };
31528
31528
  }
31529
31529
  });
31530
- const ToolButtonTable = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-537f70be"]]);
31530
+ const ToolButtonTable = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-537f70be"]]);
31531
31531
  const inputRegex = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/;
31532
31532
  const Image$1 = Node2.create({
31533
31533
  name: "image",
@@ -31654,7 +31654,7 @@ const insertImage = (modal, editor) => {
31654
31654
  const component = (_a2 = blueseaConfig.componentConfig.richText) == null ? void 0 : _a2.imageInsertModal;
31655
31655
  if (component) {
31656
31656
  modal.openModal({
31657
- component: defineAsyncComponent(() => import("./ImageInsertModal-CyMCkK2H.js")),
31657
+ component: defineAsyncComponent(() => import("./ImageInsertModal-7u7YeHsI.js")),
31658
31658
  bind: { editor },
31659
31659
  on: {
31660
31660
  insertImage: (image) => {
@@ -31672,13 +31672,13 @@ const insertImage = (modal, editor) => {
31672
31672
  };
31673
31673
  const showImageProperties = (modal, editor) => {
31674
31674
  modal.openModal({
31675
- component: defineAsyncComponent(() => import("./ImagePropertiesModal-BMDe0QC2.js")),
31675
+ component: defineAsyncComponent(() => import("./ImagePropertiesModal-HRPdVJRK.js")),
31676
31676
  bind: { editor }
31677
31677
  });
31678
31678
  };
31679
- const _hoisted_1$W = { class: "bs-layout-horizontal align-items-center" };
31680
- const _hoisted_2$F = ["title"];
31681
- const _sfc_main$16 = /* @__PURE__ */ defineComponent({
31679
+ const _hoisted_1$X = { class: "bs-layout-horizontal align-items-center" };
31680
+ const _hoisted_2$G = ["title"];
31681
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
31682
31682
  __name: "ToolButtonImage",
31683
31683
  props: {
31684
31684
  editor: {},
@@ -31693,12 +31693,12 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
31693
31693
  }
31694
31694
  };
31695
31695
  return (_ctx, _cache) => {
31696
- return openBlock(), createElementBlock("div", _hoisted_1$W, [
31696
+ return openBlock(), createElementBlock("div", _hoisted_1$X, [
31697
31697
  createElementVNode("span", {
31698
31698
  class: normalizeClass([{ "bs-clickable": !_ctx.disabled }, "font-icon"]),
31699
31699
  title: unref(t$1)({ key: "bs.richtext.insertImage" }),
31700
31700
  onClick: doInsertImage
31701
- }, "image", 10, _hoisted_2$F)
31701
+ }, "image", 10, _hoisted_2$G)
31702
31702
  ]);
31703
31703
  };
31704
31704
  }
@@ -32033,19 +32033,19 @@ const youtubeContextMenu = (modal, editor) => {
32033
32033
  };
32034
32034
  const insertYoutube = (modal, editor) => {
32035
32035
  modal.openModal({
32036
- component: defineAsyncComponent(() => import("./YoutubeInsertModal-D1JrUwdX.js")),
32036
+ component: defineAsyncComponent(() => import("./YoutubeInsertModal-DNq4v5Ll.js")),
32037
32037
  bind: { editor }
32038
32038
  });
32039
32039
  };
32040
32040
  const showYoutubeProperties = (modal, editor) => {
32041
32041
  modal.openModal({
32042
- component: defineAsyncComponent(() => import("./YoutubePropertiesModal-unkfbTOY.js")),
32042
+ component: defineAsyncComponent(() => import("./YoutubePropertiesModal-D2-7I2sg.js")),
32043
32043
  bind: { editor }
32044
32044
  });
32045
32045
  };
32046
- const _hoisted_1$V = { class: "bs-layout-horizontal align-items-center" };
32047
- const _hoisted_2$E = ["title"];
32048
- const _sfc_main$15 = /* @__PURE__ */ defineComponent({
32046
+ const _hoisted_1$W = { class: "bs-layout-horizontal align-items-center" };
32047
+ const _hoisted_2$F = ["title"];
32048
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
32049
32049
  __name: "ToolButtonYoutube",
32050
32050
  props: {
32051
32051
  editor: {},
@@ -32060,18 +32060,18 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
32060
32060
  }
32061
32061
  };
32062
32062
  return (_ctx, _cache) => {
32063
- return openBlock(), createElementBlock("div", _hoisted_1$V, [
32063
+ return openBlock(), createElementBlock("div", _hoisted_1$W, [
32064
32064
  createElementVNode("span", {
32065
32065
  class: normalizeClass([{ "bs-clickable": !_ctx.disabled }, "font-icon"]),
32066
32066
  title: unref(t$1)({ key: "bs.richtext.insertYoutube" }),
32067
32067
  onClick: doInsertImage
32068
- }, "youtube_activity", 10, _hoisted_2$E)
32068
+ }, "youtube_activity", 10, _hoisted_2$F)
32069
32069
  ]);
32070
32070
  };
32071
32071
  }
32072
32072
  });
32073
- const _hoisted_1$U = ["title"];
32074
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
32073
+ const _hoisted_1$V = ["title"];
32074
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
32075
32075
  __name: "ToolButtonLink",
32076
32076
  props: {
32077
32077
  editor: {},
@@ -32083,7 +32083,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
32083
32083
  const showLinkProperties = () => {
32084
32084
  if (!props.disabled) {
32085
32085
  modal.openModal({
32086
- component: defineAsyncComponent(() => import("./LinkPropertiesModal-bKceh08c.js")),
32086
+ component: defineAsyncComponent(() => import("./LinkPropertiesModal-x73isyqI.js")),
32087
32087
  bind: {
32088
32088
  editor: props.editor
32089
32089
  }
@@ -32095,11 +32095,11 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
32095
32095
  class: normalizeClass([{ "bs-clickable": !_ctx.disabled }, "font-icon"]),
32096
32096
  title: unref(t$1)({ key: "bs.link" }),
32097
32097
  onClick: showLinkProperties
32098
- }, " link ", 10, _hoisted_1$U);
32098
+ }, " link ", 10, _hoisted_1$V);
32099
32099
  };
32100
32100
  }
32101
32101
  });
32102
- const _sfc_main$13 = /* @__PURE__ */ defineComponent({
32102
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
32103
32103
  __name: "ToolButtonMaximize",
32104
32104
  props: {
32105
32105
  maximized: { type: Boolean }
@@ -32127,8 +32127,8 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
32127
32127
  };
32128
32128
  }
32129
32129
  });
32130
- const ToolButtonMaximize = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-c1655c12"]]);
32131
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
32130
+ const ToolButtonMaximize = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-c1655c12"]]);
32131
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
32132
32132
  __name: "ToolButtonHeading",
32133
32133
  props: {
32134
32134
  disabled: { type: Boolean },
@@ -32156,7 +32156,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
32156
32156
  }
32157
32157
  };
32158
32158
  return (_ctx, _cache) => {
32159
- return openBlock(), createBlock(_sfc_main$1H, {
32159
+ return openBlock(), createBlock(_sfc_main$1I, {
32160
32160
  disabled: _ctx.disabled,
32161
32161
  items,
32162
32162
  "label-provider": (item) => item.caption,
@@ -32168,8 +32168,8 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
32168
32168
  };
32169
32169
  }
32170
32170
  });
32171
- const _hoisted_1$T = { class: "text-align tool-button-group bs-layout-horizontal" };
32172
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
32171
+ const _hoisted_1$U = { class: "text-align tool-button-group bs-layout-horizontal" };
32172
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
32173
32173
  __name: "ToolButtonTextAlign",
32174
32174
  props: {
32175
32175
  disabled: { type: Boolean },
@@ -32177,7 +32177,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
32177
32177
  },
32178
32178
  setup(__props) {
32179
32179
  return (_ctx, _cache) => {
32180
- return openBlock(), createElementBlock("div", _hoisted_1$T, [
32180
+ return openBlock(), createElementBlock("div", _hoisted_1$U, [
32181
32181
  withDirectives((openBlock(), createElementBlock("div", {
32182
32182
  class: normalizeClass([{ active: _ctx.editor.isActive({ textAlign: "left" }), "bs-clickable": !_ctx.disabled }, "font-icon"]),
32183
32183
  onClick: _cache[0] || (_cache[0] = ($event) => !_ctx.disabled && _ctx.editor.chain().focus().setTextAlign("left").run())
@@ -32221,8 +32221,8 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
32221
32221
  };
32222
32222
  }
32223
32223
  });
32224
- const _hoisted_1$S = { class: "font-style tool-button-group bs-layout-horizontal" };
32225
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
32224
+ const _hoisted_1$T = { class: "font-style tool-button-group bs-layout-horizontal" };
32225
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
32226
32226
  __name: "ToolButtonFontStyle",
32227
32227
  props: {
32228
32228
  disabled: { type: Boolean },
@@ -32230,7 +32230,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
32230
32230
  },
32231
32231
  setup(__props) {
32232
32232
  return (_ctx, _cache) => {
32233
- return openBlock(), createElementBlock("div", _hoisted_1$S, [
32233
+ return openBlock(), createElementBlock("div", _hoisted_1$T, [
32234
32234
  withDirectives((openBlock(), createElementBlock("div", {
32235
32235
  class: normalizeClass([{ active: _ctx.editor.isActive("bold"), "bs-clickable": !_ctx.disabled }, "font-icon"]),
32236
32236
  onClick: _cache[0] || (_cache[0] = ($event) => !_ctx.disabled && _ctx.editor.chain().focus().toggleBold().removeEmptyTextStyle().run())
@@ -32274,8 +32274,8 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
32274
32274
  };
32275
32275
  }
32276
32276
  });
32277
- const _hoisted_1$R = { class: "list-item tool-button-group bs-layout-horizontal" };
32278
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
32277
+ const _hoisted_1$S = { class: "list-item tool-button-group bs-layout-horizontal" };
32278
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
32279
32279
  __name: "ToolButtonListItem",
32280
32280
  props: {
32281
32281
  disabled: { type: Boolean },
@@ -32283,7 +32283,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
32283
32283
  },
32284
32284
  setup(__props) {
32285
32285
  return (_ctx, _cache) => {
32286
- return openBlock(), createElementBlock("div", _hoisted_1$R, [
32286
+ return openBlock(), createElementBlock("div", _hoisted_1$S, [
32287
32287
  withDirectives((openBlock(), createElementBlock("div", {
32288
32288
  class: normalizeClass([{ active: _ctx.editor.isActive("bulletList"), "bs-clickable": !_ctx.disabled }, "font-icon"]),
32289
32289
  onClick: _cache[0] || (_cache[0] = ($event) => !_ctx.disabled && _ctx.editor.chain().focus().toggleBulletList().run())
@@ -32448,7 +32448,7 @@ const insertVideo = (modal, editor) => {
32448
32448
  const component = (_a2 = blueseaConfig.componentConfig.richText) == null ? void 0 : _a2.videoInsertModal;
32449
32449
  if (component) {
32450
32450
  modal.openModal({
32451
- component: defineAsyncComponent(() => import("./VideoInsertModal-DjKstAn6.js")),
32451
+ component: defineAsyncComponent(() => import("./VideoInsertModal-DQ-wO6_P.js")),
32452
32452
  bind: { editor },
32453
32453
  on: {
32454
32454
  insertVideo: (video) => {
@@ -32466,13 +32466,13 @@ const insertVideo = (modal, editor) => {
32466
32466
  };
32467
32467
  const showVideoProperties = (modal, editor) => {
32468
32468
  modal.openModal({
32469
- component: defineAsyncComponent(() => import("./VideoPropertiesModal-Ct0iUWXO.js")),
32469
+ component: defineAsyncComponent(() => import("./VideoPropertiesModal-BYADjPfV.js")),
32470
32470
  bind: { editor }
32471
32471
  });
32472
32472
  };
32473
- const _hoisted_1$Q = { class: "bs-layout-horizontal align-items-center" };
32474
- const _hoisted_2$D = ["title"];
32475
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
32473
+ const _hoisted_1$R = { class: "bs-layout-horizontal align-items-center" };
32474
+ const _hoisted_2$E = ["title"];
32475
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
32476
32476
  __name: "ToolButtonVideo",
32477
32477
  props: {
32478
32478
  editor: {},
@@ -32487,20 +32487,20 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
32487
32487
  }
32488
32488
  };
32489
32489
  return (_ctx, _cache) => {
32490
- return openBlock(), createElementBlock("div", _hoisted_1$Q, [
32490
+ return openBlock(), createElementBlock("div", _hoisted_1$R, [
32491
32491
  createElementVNode("span", {
32492
32492
  class: normalizeClass([{ "bs-clickable": !_ctx.disabled }, "font-icon"]),
32493
32493
  title: unref(t$1)({ key: "bs.richtext.insertVideo" }),
32494
32494
  onClick: doInsertVideo
32495
- }, "movie", 10, _hoisted_2$D)
32495
+ }, "movie", 10, _hoisted_2$E)
32496
32496
  ]);
32497
32497
  };
32498
32498
  }
32499
32499
  });
32500
- const _hoisted_1$P = { class: "rich-text-toolbar bs-layout-horizontal align-items-center min-w-512" };
32501
- const _hoisted_2$C = { class: "bs-layout-horizontal flex-grow-1 h-full gap-4 left-buttons" };
32500
+ const _hoisted_1$Q = { class: "rich-text-toolbar bs-layout-horizontal align-items-center min-w-512" };
32501
+ const _hoisted_2$D = { class: "bs-layout-horizontal flex-grow-1 h-full gap-4 left-buttons" };
32502
32502
  const _hoisted_3$n = { class: "bs-layout-horizontal right-buttons" };
32503
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
32503
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
32504
32504
  __name: "RichTextToolbar",
32505
32505
  props: {
32506
32506
  editor: {},
@@ -32515,27 +32515,27 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
32515
32515
  return props.toolButtons.map((toolButton) => {
32516
32516
  switch (toolButton) {
32517
32517
  case "Heading":
32518
- return _sfc_main$12;
32518
+ return _sfc_main$13;
32519
32519
  case "FontSize":
32520
32520
  return ToolButtonFontSize;
32521
32521
  case "FontColor":
32522
32522
  return ToolButtonFontColor;
32523
32523
  case "FontStyle":
32524
- return _sfc_main$10;
32525
- case "TextAlign":
32526
32524
  return _sfc_main$11;
32525
+ case "TextAlign":
32526
+ return _sfc_main$12;
32527
32527
  case "ListItem":
32528
- return _sfc_main$$;
32528
+ return _sfc_main$10;
32529
32529
  case "Link":
32530
- return _sfc_main$14;
32530
+ return _sfc_main$15;
32531
32531
  case "Table":
32532
32532
  return ToolButtonTable;
32533
32533
  case "Image":
32534
- return _sfc_main$16;
32534
+ return _sfc_main$17;
32535
32535
  case "Video":
32536
- return _sfc_main$_;
32536
+ return _sfc_main$$;
32537
32537
  case "Youtube":
32538
- return _sfc_main$15;
32538
+ return _sfc_main$16;
32539
32539
  default:
32540
32540
  return toolButton;
32541
32541
  }
@@ -32543,8 +32543,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
32543
32543
  });
32544
32544
  const emit = __emit;
32545
32545
  return (_ctx, _cache) => {
32546
- return openBlock(), createElementBlock("div", _hoisted_1$P, [
32547
- createElementVNode("div", _hoisted_2$C, [
32546
+ return openBlock(), createElementBlock("div", _hoisted_1$Q, [
32547
+ createElementVNode("div", _hoisted_2$D, [
32548
32548
  renderSlot(_ctx.$slots, "toolbarPrefix"),
32549
32549
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(toolComponents.value, (toolButton) => {
32550
32550
  return openBlock(), createBlock(resolveDynamicComponent(toolButton), {
@@ -34436,11 +34436,11 @@ const RichTextTableCell = TableCell.extend({
34436
34436
  };
34437
34437
  }
34438
34438
  });
34439
- const _hoisted_1$O = ["innerHTML"];
34440
- const _hoisted_2$B = { class: "editor-container" };
34439
+ const _hoisted_1$P = ["innerHTML"];
34440
+ const _hoisted_2$C = { class: "editor-container" };
34441
34441
  const WRAP_BEGIN = '<div class="rich-text-content">';
34442
34442
  const WRAP_END = "</div>";
34443
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
34443
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
34444
34444
  __name: "BSRichText",
34445
34445
  props: {
34446
34446
  modelValue: { default: "" },
@@ -34644,7 +34644,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
34644
34644
  emit("maximized");
34645
34645
  if (!props.internalMaximized) {
34646
34646
  modal.openModal({
34647
- component: defineAsyncComponent(() => import("./BSRichTextMaximizedModal-G5U2NGik.js")),
34647
+ component: defineAsyncComponent(() => import("./BSRichTextMaximizedModal-CaaSAgmI.js")),
34648
34648
  bind: {
34649
34649
  modelValue: getEditorValue(),
34650
34650
  contentMaxWidth: props.contentMaxWidth,
@@ -34678,7 +34678,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
34678
34678
  key: 0,
34679
34679
  class: "view-mode user-text",
34680
34680
  innerHTML: _ctx.modelValue
34681
- }, null, 8, _hoisted_1$O)) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
34681
+ }, null, 8, _hoisted_1$P)) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
34682
34682
  createElementVNode("div", {
34683
34683
  ref_key: "field",
34684
34684
  ref: field,
@@ -34686,7 +34686,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
34686
34686
  class: "input-area bs-layout-vertical",
34687
34687
  role: "textbox"
34688
34688
  }, [
34689
- unref(editor) ? (openBlock(), createBlock(_sfc_main$Z, {
34689
+ unref(editor) ? (openBlock(), createBlock(_sfc_main$_, {
34690
34690
  key: 0,
34691
34691
  disabled: _ctx.disabled,
34692
34692
  editor: unref(editor),
@@ -34699,7 +34699,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
34699
34699
  ]),
34700
34700
  _: 3
34701
34701
  }, 8, ["disabled", "editor", "maximized", "tool-buttons"])) : createCommentVNode("", true),
34702
- createElementVNode("div", _hoisted_2$B, [
34702
+ createElementVNode("div", _hoisted_2$C, [
34703
34703
  createElementVNode("iframe", {
34704
34704
  ref_key: "iframeRef",
34705
34705
  ref: iframeRef,
@@ -34719,7 +34719,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
34719
34719
  ], 8, ["to"])) : createCommentVNode("", true)
34720
34720
  ])
34721
34721
  ], 4),
34722
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
34722
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
34723
34723
  key: 0,
34724
34724
  errors: unref(errors),
34725
34725
  "hide-error-message": _ctx.hideErrorMessage
@@ -34854,8 +34854,8 @@ const makeFileSizeString = (size) => {
34854
34854
  const kb = size / 1024;
34855
34855
  return mb < 1 ? `${kb.toFixed(kb % 1 === 0 ? 0 : 1)}KB` : `${mb.toFixed(mb % 1 === 0 ? 0 : 1)}MB`;
34856
34856
  };
34857
- const _hoisted_1$N = ["poster"];
34858
- const _hoisted_2$A = ["src"];
34857
+ const _hoisted_1$O = ["poster"];
34858
+ const _hoisted_2$B = ["src"];
34859
34859
  const _hoisted_3$m = ["alt", "src"];
34860
34860
  const _hoisted_4$c = ["alt", "src"];
34861
34861
  const _hoisted_5$6 = ["href"];
@@ -34863,7 +34863,7 @@ const _hoisted_6$4 = {
34863
34863
  key: 7,
34864
34864
  class: "font-icon bottom-2 left-2 button"
34865
34865
  };
34866
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
34866
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
34867
34867
  __name: "BSMediaPreview",
34868
34868
  props: {
34869
34869
  file: {},
@@ -34875,7 +34875,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
34875
34875
  maxWidth: {},
34876
34876
  mediaObjectUrlStore: {}
34877
34877
  },
34878
- emits: ["removeImage", "thumbnailUploaded"],
34878
+ emits: ["removeImage", "thumbnailUploaded", "preview"],
34879
34879
  setup(__props, { emit: __emit }) {
34880
34880
  const props = __props;
34881
34881
  const emit = __emit;
@@ -34946,7 +34946,16 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
34946
34946
  }
34947
34947
  }
34948
34948
  };
34949
- onUnmounted(() => internalMediaObjectUrlStore.revokeAll());
34949
+ const preview = () => {
34950
+ if (props.file.mediaType === "Youtube") {
34951
+ window.open(props.file.fileUrl, "_blank");
34952
+ return;
34953
+ }
34954
+ emit("preview");
34955
+ };
34956
+ onUnmounted(() => {
34957
+ internalMediaObjectUrlStore.revokeAll();
34958
+ });
34950
34959
  return (_ctx, _cache) => {
34951
34960
  return fileUrl.value ? (openBlock(), createElementBlock("div", {
34952
34961
  key: 0,
@@ -34960,8 +34969,8 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
34960
34969
  poster: thumbnailUrl.value,
34961
34970
  style: normalizeStyle({ width: _ctx.width, height: _ctx.height, maxWidth: _ctx.maxWidth })
34962
34971
  }, [
34963
- createElementVNode("source", { src: fileUrl.value }, null, 8, _hoisted_2$A)
34964
- ], 12, _hoisted_1$N)) : _ctx.file.mediaType === "Youtube" ? (openBlock(), createElementBlock("img", {
34972
+ createElementVNode("source", { src: fileUrl.value }, null, 8, _hoisted_2$B)
34973
+ ], 12, _hoisted_1$O)) : _ctx.file.mediaType === "Youtube" ? (openBlock(), createElementBlock("img", {
34965
34974
  key: 1,
34966
34975
  alt: _ctx.file.altText,
34967
34976
  src: youtubePreviewImage.value,
@@ -35014,7 +35023,8 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
35014
35023
  key: 5,
35015
35024
  href: fileUrl.value,
35016
35025
  class: "bs-clickable font-icon button show-on-hover bottom-2 right-2",
35017
- target: "_blank"
35026
+ target: "_blank",
35027
+ onClick: withModifiers(preview, ["prevent"])
35018
35028
  }, _cache[2] || (_cache[2] = [
35019
35029
  createTextVNode("zoom_in")
35020
35030
  ]), 8, _hoisted_5$6)), [
@@ -35043,6 +35053,96 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
35043
35053
  };
35044
35054
  }
35045
35055
  });
35056
+ const _hoisted_1$N = ["src"];
35057
+ const _hoisted_2$A = ["alt", "src"];
35058
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
35059
+ __name: "BSMediaPreviewOverlay",
35060
+ props: {
35061
+ files: {},
35062
+ startIndex: { default: 0 },
35063
+ preload: { type: Boolean, default: false },
35064
+ visible: { type: Boolean }
35065
+ },
35066
+ emits: ["close"],
35067
+ setup(__props, { emit: __emit }) {
35068
+ const props = __props;
35069
+ const emit = __emit;
35070
+ const resolveUrl = (url) => blueseaConfig.fileUrlResolver ? blueseaConfig.fileUrlResolver(url) : url;
35071
+ const currentIndex = ref(props.startIndex);
35072
+ const imageIndices = computed(
35073
+ () => props.files.map((_, i) => i).filter((i) => props.files[i].mediaType === "Image")
35074
+ );
35075
+ const currentImagePosition = computed(() => imageIndices.value.indexOf(currentIndex.value));
35076
+ const hasPrevImage = computed(() => currentImagePosition.value > 0);
35077
+ const hasNextImage = computed(() => currentImagePosition.value < imageIndices.value.length - 1);
35078
+ const prevImage = () => {
35079
+ const pos = currentImagePosition.value;
35080
+ if (pos > 0) currentIndex.value = imageIndices.value[pos - 1];
35081
+ };
35082
+ const nextImage = () => {
35083
+ const pos = currentImagePosition.value;
35084
+ if (pos < imageIndices.value.length - 1) currentIndex.value = imageIndices.value[pos + 1];
35085
+ };
35086
+ const onKeydown = (e) => {
35087
+ if (e.key === "Escape") emit("close");
35088
+ else if (e.key === "ArrowLeft") prevImage();
35089
+ else if (e.key === "ArrowRight") nextImage();
35090
+ };
35091
+ watch(() => props.visible, (v) => {
35092
+ if (v) {
35093
+ currentIndex.value = props.startIndex;
35094
+ document.addEventListener("keydown", onKeydown);
35095
+ } else {
35096
+ document.removeEventListener("keydown", onKeydown);
35097
+ }
35098
+ }, { immediate: true });
35099
+ onUnmounted(() => document.removeEventListener("keydown", onKeydown));
35100
+ return (_ctx, _cache) => {
35101
+ return openBlock(), createBlock(Teleport, { to: "body" }, [
35102
+ _ctx.preload || _ctx.visible ? withDirectives((openBlock(), createElementBlock("div", {
35103
+ key: 0,
35104
+ class: "bs-media-overlay",
35105
+ onClick: _cache[3] || (_cache[3] = withModifiers(($event) => emit("close"), ["self"]))
35106
+ }, [
35107
+ createElementVNode("span", {
35108
+ class: "font-icon bs-media-overlay-close bs-clickable",
35109
+ onClick: _cache[0] || (_cache[0] = ($event) => emit("close"))
35110
+ }, "close"),
35111
+ imageIndices.value.length > 1 ? (openBlock(), createElementBlock("span", {
35112
+ key: 0,
35113
+ class: normalizeClass([{ "bs-media-overlay-nav-disabled": !hasPrevImage.value }, "font-icon bs-media-overlay-nav bs-media-overlay-prev bs-clickable"]),
35114
+ onClick: _cache[1] || (_cache[1] = withModifiers(($event) => hasPrevImage.value && prevImage(), ["stop"]))
35115
+ }, "chevron_left", 2)) : createCommentVNode("", true),
35116
+ (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.files, (file, idx) => {
35117
+ return openBlock(), createElementBlock(Fragment$1, { key: idx }, [
35118
+ file.mediaType === "Video" && idx === currentIndex.value ? (openBlock(), createElementBlock("video", {
35119
+ key: 0,
35120
+ src: resolveUrl(file.fileUrl),
35121
+ autoplay: "",
35122
+ class: "bs-media-overlay-media",
35123
+ controls: ""
35124
+ }, null, 8, _hoisted_1$N)) : file.mediaType === "Image" ? withDirectives((openBlock(), createElementBlock("img", {
35125
+ key: 1,
35126
+ alt: file.altText,
35127
+ src: resolveUrl(file.fileUrl),
35128
+ class: "bs-media-overlay-media"
35129
+ }, null, 8, _hoisted_2$A)), [
35130
+ [vShow, idx === currentIndex.value]
35131
+ ]) : createCommentVNode("", true)
35132
+ ], 64);
35133
+ }), 128)),
35134
+ imageIndices.value.length > 1 ? (openBlock(), createElementBlock("span", {
35135
+ key: 1,
35136
+ class: normalizeClass([{ "bs-media-overlay-nav-disabled": !hasNextImage.value }, "font-icon bs-media-overlay-nav bs-media-overlay-next bs-clickable"]),
35137
+ onClick: _cache[2] || (_cache[2] = withModifiers(($event) => hasNextImage.value && nextImage(), ["stop"]))
35138
+ }, "chevron_right", 2)) : createCommentVNode("", true)
35139
+ ], 512)), [
35140
+ [vShow, _ctx.visible]
35141
+ ]) : createCommentVNode("", true)
35142
+ ]);
35143
+ };
35144
+ }
35145
+ });
35046
35146
  const _hoisted_1$M = ["data-field-name"];
35047
35147
  const _hoisted_2$z = {
35048
35148
  key: 1,
@@ -35067,6 +35167,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
35067
35167
  supportTypes: { default: () => ["Image"] },
35068
35168
  showPreviewButton: { type: Boolean, default: true },
35069
35169
  disableRightClick: { type: Boolean },
35170
+ preloadOverlay: { type: Boolean },
35070
35171
  multiple: { type: Boolean },
35071
35172
  validationMessageRequired: {},
35072
35173
  validationMessageMaxFileSize: {},
@@ -35076,7 +35177,8 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
35076
35177
  hideErrorMessage: { type: Boolean },
35077
35178
  showErrorMessageOnDisabled: { type: Boolean },
35078
35179
  imageNo: { default: 0 },
35079
- mediaObjectUrlStore: {}
35180
+ mediaObjectUrlStore: {},
35181
+ onOpenPreview: {}
35080
35182
  },
35081
35183
  emits: ["update:modelValue", "multipleFiles", "multipleUris"],
35082
35184
  setup(__props, { emit: __emit }) {
@@ -35089,6 +35191,14 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
35089
35191
  return result.join("|");
35090
35192
  });
35091
35193
  const field = ref();
35194
+ const overlayOpen = ref(false);
35195
+ const handlePreview = () => {
35196
+ if (props.onOpenPreview) {
35197
+ props.onOpenPreview();
35198
+ } else {
35199
+ overlayOpen.value = true;
35200
+ }
35201
+ };
35092
35202
  const chooseImage = () => {
35093
35203
  var _a2;
35094
35204
  if (validationDisabled.value) {
@@ -35191,7 +35301,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
35191
35301
  const modal = useModal();
35192
35302
  const enterYoutubeUrl = () => {
35193
35303
  modal.openModal({
35194
- component: defineAsyncComponent(() => import("./BSYoutubeInputModal-CsPL5_5t.js")),
35304
+ component: defineAsyncComponent(() => import("./BSYoutubeInputModal-DSI-NoGb.js")),
35195
35305
  on: {
35196
35306
  "update:modelValue": (url) => {
35197
35307
  emit("update:modelValue", {
@@ -35254,20 +35364,29 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
35254
35364
  [unref(vT), _ctx.caption]
35255
35365
  ])
35256
35366
  ], 4),
35257
- _ctx.modelValue && _ctx.modelValue.fileUrl ? (openBlock(), createBlock(_sfc_main$X, {
35258
- key: 0,
35259
- "disable-right-click": _ctx.disableRightClick,
35260
- file: _ctx.modelValue,
35261
- height: _ctx.imageHeight,
35262
- "max-width": _ctx.maxImageWidth,
35263
- "media-object-url-store": _ctx.mediaObjectUrlStore,
35264
- "show-delete-button": !validationDisabled.value,
35265
- "show-preview-button": _ctx.showPreviewButton,
35266
- width: _ctx.imageWidth,
35267
- class: "image-box",
35268
- onRemoveImage: removeImage,
35269
- onThumbnailUploaded: changeThumbnail
35270
- }, null, 8, ["disable-right-click", "file", "height", "max-width", "media-object-url-store", "show-delete-button", "show-preview-button", "width"])) : (openBlock(), createElementBlock("div", _hoisted_2$z, [
35367
+ _ctx.modelValue && _ctx.modelValue.fileUrl ? (openBlock(), createElementBlock(Fragment$1, { key: 0 }, [
35368
+ createVNode(_sfc_main$Y, {
35369
+ "disable-right-click": _ctx.disableRightClick,
35370
+ file: _ctx.modelValue,
35371
+ height: _ctx.imageHeight,
35372
+ "max-width": _ctx.maxImageWidth,
35373
+ "media-object-url-store": _ctx.mediaObjectUrlStore,
35374
+ "show-delete-button": !validationDisabled.value,
35375
+ "show-preview-button": _ctx.showPreviewButton,
35376
+ width: _ctx.imageWidth,
35377
+ class: "image-box",
35378
+ onPreview: handlePreview,
35379
+ onRemoveImage: removeImage,
35380
+ onThumbnailUploaded: changeThumbnail
35381
+ }, null, 8, ["disable-right-click", "file", "height", "max-width", "media-object-url-store", "show-delete-button", "show-preview-button", "width"]),
35382
+ !_ctx.onOpenPreview && (_ctx.preloadOverlay || overlayOpen.value) ? (openBlock(), createBlock(_sfc_main$X, {
35383
+ key: 0,
35384
+ files: _ctx.modelValue ? [_ctx.modelValue] : [],
35385
+ preload: _ctx.preloadOverlay,
35386
+ visible: overlayOpen.value,
35387
+ onClose: _cache[0] || (_cache[0] = ($event) => overlayOpen.value = false)
35388
+ }, null, 8, ["files", "preload", "visible"])) : createCommentVNode("", true)
35389
+ ], 64)) : (openBlock(), createElementBlock("div", _hoisted_2$z, [
35271
35390
  createElementVNode("div", {
35272
35391
  class: normalizeClass([{ dropping: dropping.value }, "upload-btn-wrapper bs-layout-vertical flex-align-center justify-content-center"]),
35273
35392
  style: normalizeStyle({ width: _ctx.uploadWidth, height: _ctx.imageHeight }),
@@ -35280,7 +35399,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
35280
35399
  withDirectives((openBlock(), createElementBlock("div", {
35281
35400
  class: normalizeClass([{ "bs-clickable": !validationDisabled.value, disabled: _ctx.disabled }, "upload-btn"]),
35282
35401
  onClick: chooseImage
35283
- }, _cache[0] || (_cache[0] = [
35402
+ }, _cache[1] || (_cache[1] = [
35284
35403
  createElementVNode("span", { class: "font-icon" }, "upload", -1)
35285
35404
  ]), 2)), [
35286
35405
  [
@@ -35294,7 +35413,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
35294
35413
  key: 0,
35295
35414
  class: normalizeClass([{ "bs-clickable": !validationDisabled.value, disabled: _ctx.disabled }, "youtube-btn"]),
35296
35415
  onClick: enterYoutubeUrl
35297
- }, _cache[1] || (_cache[1] = [
35416
+ }, _cache[2] || (_cache[2] = [
35298
35417
  createElementVNode("span", { class: "font-icon" }, "youtube_activity", -1)
35299
35418
  ]), 2)), [
35300
35419
  [
@@ -35320,7 +35439,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
35320
35439
  onChange: imageSelected
35321
35440
  }, null, 40, _hoisted_3$l)
35322
35441
  ], 2),
35323
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
35442
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
35324
35443
  key: 0,
35325
35444
  class: normalizeClass({ "text-nowrap": !_ctx.wrapErrorMessage }),
35326
35445
  errors: unref(errors),
@@ -35488,6 +35607,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
35488
35607
  supportTypes: { default: () => ["Image"] },
35489
35608
  showPreviewButton: { type: Boolean, default: true },
35490
35609
  disableRightClick: { type: Boolean },
35610
+ preloadOverlay: { type: Boolean },
35491
35611
  validationMessageRequired: {},
35492
35612
  validationMessageMaxFileSize: {},
35493
35613
  extraValidationRules: {},
@@ -35597,6 +35717,14 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
35597
35717
  });
35598
35718
  const modified = computed(() => !!(savePointHandler == null ? void 0 : savePointHandler.isModified(props.modelValue)));
35599
35719
  onBeforeUnmount(() => savePoint == null ? void 0 : savePoint.unregisterField(field));
35720
+ const overlayOpen = ref(false);
35721
+ const previewStartIndex = ref(0);
35722
+ const imageFiles = computed(() => props.modelValue.filter((f) => f.mediaType === "Image"));
35723
+ const openPreview = (index) => {
35724
+ const file = props.modelValue[index];
35725
+ previewStartIndex.value = imageFiles.value.indexOf(file);
35726
+ overlayOpen.value = true;
35727
+ };
35600
35728
  const isDroppable = (dndContext2, _target) => {
35601
35729
  var _a2;
35602
35730
  return ((_a2 = dndContext2.sourceElement.parentElement) == null ? void 0 : _a2.parentElement) === field.value;
@@ -35636,12 +35764,14 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
35636
35764
  "media-object-url-store": _ctx.mediaObjectUrlStore,
35637
35765
  "model-value": image,
35638
35766
  name: `${_ctx.name}_${index}`,
35767
+ "on-open-preview": image.mediaType === "Image" ? () => openPreview(index) : void 0,
35768
+ "preload-overlay": _ctx.preloadOverlay,
35639
35769
  "show-preview-button": _ctx.showPreviewButton,
35640
35770
  "upload-width": _ctx.uploadWidth,
35641
35771
  "view-mode": _ctx.viewMode || _ctx.disabled,
35642
35772
  "ignore-save-point": "",
35643
35773
  "onUpdate:modelValue": ($event) => removeFile(image, index)
35644
- }, null, 8, ["class", "disable-right-click", "image-height", "image-width", "max-image-width", "media-object-url-store", "model-value", "name", "show-preview-button", "upload-width", "view-mode", "onUpdate:modelValue"])
35774
+ }, null, 8, ["class", "disable-right-click", "image-height", "image-width", "max-image-width", "media-object-url-store", "model-value", "name", "on-open-preview", "preload-overlay", "show-preview-button", "upload-width", "view-mode", "onUpdate:modelValue"])
35645
35775
  ])), [
35646
35776
  [unref(vDragSupport$1), { draggable: _ctx.enableDraggableOrder }],
35647
35777
  [unref(vDropSupport$1), {
@@ -35675,16 +35805,24 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
35675
35805
  ])), [
35676
35806
  [unref(vParentDropSupport), { droppable: _ctx.enableDraggableOrder, dropHandler }]
35677
35807
  ]),
35678
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
35808
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
35679
35809
  key: 0,
35680
35810
  errors: unref(errors),
35681
35811
  "hide-error-message": _ctx.hideErrorMessage
35682
- }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true)
35812
+ }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true),
35813
+ _ctx.preloadOverlay && imageFiles.value.length > 0 || overlayOpen.value ? (openBlock(), createBlock(_sfc_main$X, {
35814
+ key: 1,
35815
+ files: imageFiles.value,
35816
+ preload: _ctx.preloadOverlay,
35817
+ "start-index": previewStartIndex.value,
35818
+ visible: overlayOpen.value,
35819
+ onClose: _cache[0] || (_cache[0] = ($event) => overlayOpen.value = false)
35820
+ }, null, 8, ["files", "preload", "start-index", "visible"])) : createCommentVNode("", true)
35683
35821
  ], 10, _hoisted_1$L);
35684
35822
  };
35685
35823
  }
35686
35824
  });
35687
- const BSMultiImageUpload = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-b7698f30"]]);
35825
+ const BSMultiImageUpload = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-e57e268c"]]);
35688
35826
  const _hoisted_1$K = ["data-field-name"];
35689
35827
  const _hoisted_2$x = { class: "bs-layout-horizontal-wrap gap-8" };
35690
35828
  const _hoisted_3$k = { class: "mr-4" };
@@ -35706,6 +35844,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
35706
35844
  supportTypes: { default: () => ["Image"] },
35707
35845
  showPreviewButton: { type: Boolean, default: true },
35708
35846
  disableRightClick: { type: Boolean },
35847
+ preloadOverlay: { type: Boolean },
35709
35848
  guideMessage: {},
35710
35849
  validationMessageRequired: {},
35711
35850
  validationMessageMaxFileSize: {},
@@ -35826,6 +35965,16 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
35826
35965
  ((_b = (_a2 = savePointHandler == null ? void 0 : savePointHandler.getSavedValue()) == null ? void 0 : _a2[index]) == null ? void 0 : _b.fileUrl) !== ((_c = props.modelValue[index]) == null ? void 0 : _c.fileUrl);
35827
35966
  };
35828
35967
  onBeforeUnmount(() => savePoint == null ? void 0 : savePoint.unregisterField(field));
35968
+ const overlayOpen = ref(false);
35969
+ const previewStartIndex = ref(0);
35970
+ const imageFiles = computed(
35971
+ () => Object.values(props.modelValue).filter((f) => !!(f == null ? void 0 : f.fileUrl) && f.mediaType === "Image")
35972
+ );
35973
+ const openPreview = (idx) => {
35974
+ const file = props.modelValue[idx];
35975
+ previewStartIndex.value = imageFiles.value.indexOf(file);
35976
+ overlayOpen.value = true;
35977
+ };
35829
35978
  return (_ctx, _cache) => {
35830
35979
  return openBlock(), createElementBlock("div", {
35831
35980
  ref_key: "field",
@@ -35836,7 +35985,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
35836
35985
  }, [
35837
35986
  createElementVNode("div", _hoisted_2$x, [
35838
35987
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.count, (idx) => {
35839
- var _a2;
35988
+ var _a2, _b;
35840
35989
  return openBlock(), createBlock(_sfc_main$W, {
35841
35990
  key: idx,
35842
35991
  caption: (_a2 = _ctx.guideMessage) == null ? void 0 : _a2[idx],
@@ -35849,7 +35998,9 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
35849
35998
  "model-value": _ctx.modelValue[idx],
35850
35999
  multiple: true,
35851
36000
  name: `${_ctx.name}_${idx}`,
36001
+ "on-open-preview": ((_b = _ctx.modelValue[idx]) == null ? void 0 : _b.mediaType) === "Image" ? () => openPreview(idx) : void 0,
35852
36002
  required: _ctx.required,
36003
+ "preload-overlay": _ctx.preloadOverlay,
35853
36004
  "show-preview-button": _ctx.showPreviewButton,
35854
36005
  "support-types": _ctx.supportTypes,
35855
36006
  tabindex: _ctx.tabindex,
@@ -35863,14 +36014,22 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
35863
36014
  createElementVNode("span", _hoisted_3$k, toDisplayString(idx), 1)
35864
36015
  ]),
35865
36016
  _: 2
35866
- }, 1032, ["caption", "class", "disable-right-click", "disabled", "image-no", "max-file-size", "media-object-url-store", "model-value", "name", "required", "show-preview-button", "support-types", "tabindex", "view-mode", "onUpdate:modelValue"]);
36017
+ }, 1032, ["caption", "class", "disable-right-click", "disabled", "image-no", "max-file-size", "media-object-url-store", "model-value", "name", "on-open-preview", "required", "preload-overlay", "show-preview-button", "support-types", "tabindex", "view-mode", "onUpdate:modelValue"]);
35867
36018
  }), 128))
35868
36019
  ]),
35869
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
36020
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
35870
36021
  key: 0,
35871
36022
  errors: unref(errors),
35872
36023
  "hide-error-message": _ctx.hideErrorMessage
35873
- }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true)
36024
+ }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true),
36025
+ _ctx.preloadOverlay && imageFiles.value.length > 0 || overlayOpen.value ? (openBlock(), createBlock(_sfc_main$X, {
36026
+ key: 1,
36027
+ files: imageFiles.value,
36028
+ preload: _ctx.preloadOverlay,
36029
+ "start-index": previewStartIndex.value,
36030
+ visible: overlayOpen.value,
36031
+ onClose: _cache[0] || (_cache[0] = ($event) => overlayOpen.value = false)
36032
+ }, null, 8, ["files", "preload", "start-index", "visible"])) : createCommentVNode("", true)
35874
36033
  ], 12, _hoisted_1$K);
35875
36034
  };
35876
36035
  }
@@ -36119,7 +36278,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
36119
36278
  onChange: fileSelected
36120
36279
  }, null, 40, _hoisted_8$1)
36121
36280
  ], 2),
36122
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
36281
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
36123
36282
  key: 0,
36124
36283
  class: normalizeClass({ "text-nowrap": !_ctx.wrapErrorMessage }),
36125
36284
  errors: unref(errors),
@@ -38185,7 +38344,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
38185
38344
  ])
38186
38345
  ], 512)
38187
38346
  ]),
38188
- _ctx.showPageNavigation ? (openBlock(), createBlock(_sfc_main$1x, {
38347
+ _ctx.showPageNavigation ? (openBlock(), createBlock(_sfc_main$1y, {
38189
38348
  key: 0,
38190
38349
  limit: ((_a2 = _ctx.pageInfo) == null ? void 0 : _a2.limit) || 10,
38191
38350
  offset: ((_b = _ctx.pageInfo) == null ? void 0 : _b.offset) || 0,
@@ -38429,7 +38588,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
38429
38588
  emit("update:modelValue", value);
38430
38589
  };
38431
38590
  return (_ctx, _cache) => {
38432
- return openBlock(), createBlock(_sfc_main$1n, {
38591
+ return openBlock(), createBlock(_sfc_main$1o, {
38433
38592
  "from-value": fromValue.value,
38434
38593
  "onUpdate:fromValue": [
38435
38594
  _cache[0] || (_cache[0] = ($event) => fromValue.value = $event),
@@ -38615,7 +38774,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
38615
38774
  "data-id": "removeDateFilterBtn",
38616
38775
  onClick: ($event) => removeDateFilter(index)
38617
38776
  }, "remove", 8, _hoisted_2$q)),
38618
- createVNode(_sfc_main$1H, {
38777
+ createVNode(_sfc_main$1I, {
38619
38778
  items: _ctx.dateFilter.filterItems,
38620
38779
  "label-provider": (filter) => filter.caption,
38621
38780
  "model-value": item.propertyId,
@@ -38640,7 +38799,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
38640
38799
  width: filterWidthOfFilterItem(item.propertyId),
38641
38800
  "onUpdate:modelValue": ($event) => setDateFilterValue(index, $event)
38642
38801
  }, null, 8, ["display-format", "from-id", "model-value", "name-from", "name-to", "popup-display-format", "popup-end-year", "popup-start-year", "resolution", "time-zone", "to-id", "width", "onUpdate:modelValue"]),
38643
- createVNode(_sfc_main$1k, {
38802
+ createVNode(_sfc_main$1l, {
38644
38803
  modelValue: item.value,
38645
38804
  "onUpdate:modelValue": [($event) => item.value = $event, (value, preset) => setDateFilterValue(index, value, preset)],
38646
38805
  presets: _ctx.presets,
@@ -38848,7 +39007,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
38848
39007
  const modal = useModal();
38849
39008
  const openSettingModal = () => {
38850
39009
  modal.openModal({
38851
- component: defineAsyncComponent(() => import("./BSGridColumnSettingModal-BINKuyM2.js")),
39010
+ component: defineAsyncComponent(() => import("./BSGridColumnSettingModal-CUMe_yWj.js")),
38852
39011
  bind: {
38853
39012
  columns: props.columns,
38854
39013
  columnSettings: props.columnSettings,
@@ -38922,7 +39081,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
38922
39081
  }, null, 8, _hoisted_9)
38923
39082
  ])) : createCommentVNode("", true),
38924
39083
  _ctx.showLimit ? (openBlock(), createElementBlock("div", _hoisted_10, [
38925
- createVNode(_sfc_main$1H, {
39084
+ createVNode(_sfc_main$1I, {
38926
39085
  modelValue: limitValue.value,
38927
39086
  "onUpdate:modelValue": [
38928
39087
  _cache[2] || (_cache[2] = ($event) => limitValue.value = $event),
@@ -39369,7 +39528,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
39369
39528
  class: normalizeClass([{ selected: _ctx.selected, expanded: actualExpanded.value }, "bs-list-layout-item"])
39370
39529
  }, [
39371
39530
  createElementVNode("div", _hoisted_1$t, [
39372
- _ctx.showCheckbox ? (openBlock(), createBlock(_sfc_main$1j, {
39531
+ _ctx.showCheckbox ? (openBlock(), createBlock(_sfc_main$1k, {
39373
39532
  key: 0,
39374
39533
  "model-value": _ctx.selected,
39375
39534
  class: "mr-8",
@@ -39731,7 +39890,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
39731
39890
  return (_ctx, _cache) => {
39732
39891
  return openBlock(), createElementBlock("div", _hoisted_1$q, [
39733
39892
  createElementVNode("div", _hoisted_2$i, [
39734
- _ctx.showAddButton ? (openBlock(), createBlock(_sfc_main$1E, {
39893
+ _ctx.showAddButton ? (openBlock(), createBlock(_sfc_main$1F, {
39735
39894
  key: 0,
39736
39895
  disabled: _ctx.addButtonDisabled === true,
39737
39896
  "menu-items": addButtonItems,
@@ -39866,7 +40025,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
39866
40025
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(actualLocales.value, (locale) => {
39867
40026
  return openBlock(), createElementBlock(Fragment$1, { key: locale }, [
39868
40027
  isVisibleLocale(locale) ? (openBlock(), createElementBlock("div", _hoisted_2$h, [
39869
- createVNode(_sfc_main$1D, {
40028
+ createVNode(_sfc_main$1E, {
39870
40029
  id: _ctx.id ? `${_ctx.id}_${locale}` : void 0,
39871
40030
  autocomplete: _ctx.autocomplete,
39872
40031
  class: normalizeClass({ modified: modifiedByLocale(locale), "required-locale": isRequiredLocale(locale) }),
@@ -39896,7 +40055,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
39896
40055
  ])) : createCommentVNode("", true)
39897
40056
  ], 64);
39898
40057
  }), 128)),
39899
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
40058
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
39900
40059
  key: 0,
39901
40060
  errors: unref(errors),
39902
40061
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
@@ -40001,7 +40160,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
40001
40160
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(actualLocales.value, (locale) => {
40002
40161
  return openBlock(), createElementBlock(Fragment$1, { key: locale }, [
40003
40162
  isVisibleLocale(locale) ? (openBlock(), createElementBlock("div", _hoisted_2$g, [
40004
- createVNode(_sfc_main$1a, {
40163
+ createVNode(_sfc_main$1b, {
40005
40164
  id: _ctx.id ? `${_ctx.id}_${locale}` : void 0,
40006
40165
  autocomplete: _ctx.autocomplete,
40007
40166
  class: normalizeClass({ modified: modifiedByLocale(locale), "required-locale": isRequiredLocale(locale) }),
@@ -40031,7 +40190,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
40031
40190
  ])) : createCommentVNode("", true)
40032
40191
  ], 64);
40033
40192
  }), 128)),
40034
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
40193
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
40035
40194
  key: 0,
40036
40195
  errors: unref(errors),
40037
40196
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
@@ -40136,7 +40295,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
40136
40295
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(actualLocales.value, (locale) => {
40137
40296
  return openBlock(), createElementBlock(Fragment$1, { key: locale }, [
40138
40297
  isVisibleLocale(locale) ? (openBlock(), createElementBlock("div", _hoisted_2$f, [
40139
- createVNode(_sfc_main$Y, {
40298
+ createVNode(_sfc_main$Z, {
40140
40299
  id: _ctx.id ? `${_ctx.id}_${locale}` : void 0,
40141
40300
  autocomplete: _ctx.autocomplete,
40142
40301
  class: normalizeClass({ modified: modifiedByLocale(locale) }),
@@ -40172,7 +40331,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
40172
40331
  ])) : createCommentVNode("", true)
40173
40332
  ], 64);
40174
40333
  }), 128)),
40175
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
40334
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
40176
40335
  key: 0,
40177
40336
  errors: unref(errors),
40178
40337
  "hide-error-message": _ctx.hideErrorMessage
@@ -40312,7 +40471,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
40312
40471
  ]);
40313
40472
  }), 128))
40314
40473
  ]),
40315
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
40474
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
40316
40475
  key: 0,
40317
40476
  errors: unref(errors),
40318
40477
  "hide-error-message": _ctx.hideErrorMessage
@@ -67972,7 +68131,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
67972
68131
  tabindex: _ctx.tabindex,
67973
68132
  class: "flex-grow-1"
67974
68133
  }, toHandlers(handlers2)), null, 16, ["disabled", "extensions", "model-value", "name", "style", "tabindex"]),
67975
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
68134
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
67976
68135
  key: 0,
67977
68136
  errors: unref(errors),
67978
68137
  "hide-error-message": _ctx.hideErrorMessage
@@ -68015,12 +68174,15 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
68015
68174
  props.useCss ? { tabId: "css", caption: "CSS" } : void 0
68016
68175
  ].filter(notNull)
68017
68176
  );
68177
+ const updateHtmlCssCode = (value) => {
68178
+ htmlCode.value = (value == null ? void 0 : value.html) || "";
68179
+ cssCode.value = (value == null ? void 0 : value.css) || "";
68180
+ };
68181
+ updateHtmlCssCode(props.modelValue);
68018
68182
  watch(
68019
68183
  () => props.modelValue,
68020
68184
  () => {
68021
- var _a2, _b;
68022
- htmlCode.value = ((_a2 = props.modelValue) == null ? void 0 : _a2.html) || "";
68023
- cssCode.value = ((_b = props.modelValue) == null ? void 0 : _b.css) || "";
68185
+ updateHtmlCssCode(props.modelValue);
68024
68186
  validateValue(props.modelValue, "change");
68025
68187
  }
68026
68188
  );
@@ -68110,7 +68272,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
68110
68272
  }, 8, ["tabs"])
68111
68273
  ])
68112
68274
  ]),
68113
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
68275
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
68114
68276
  key: 0,
68115
68277
  errors: unref(errors),
68116
68278
  "hide-error-message": _ctx.hideErrorMessage
@@ -68233,7 +68395,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
68233
68395
  return openBlock(), createElementBlock(Fragment$1, { key: locale }, [
68234
68396
  isVisibleLocale(locale) ? (openBlock(), createElementBlock("div", _hoisted_2$c, [
68235
68397
  createVNode(_sfc_main$n, {
68236
- class: normalizeClass([{ modified: modifiedByLocale(locale) }, "flex-grow-1"]),
68398
+ class: normalizeClass([{ modified: modifiedByLocale(locale) }, "flex-grow-1 w-full"]),
68237
68399
  "data-multi-lang-locale": locale,
68238
68400
  disabled: _ctx.disabled,
68239
68401
  "extra-validation-rules": extraValidationRulesByLocale(locale),
@@ -68261,7 +68423,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
68261
68423
  ])) : createCommentVNode("", true)
68262
68424
  ], 64);
68263
68425
  }), 128)),
68264
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
68426
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
68265
68427
  key: 0,
68266
68428
  errors: unref(errors),
68267
68429
  "hide-error-message": _ctx.hideErrorMessage
@@ -68287,7 +68449,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
68287
68449
  emit("changeLocale", locale || blueseaConfig.defaultLocale);
68288
68450
  };
68289
68451
  return (_ctx, _cache) => {
68290
- return openBlock(), createBlock(_sfc_main$1H, {
68452
+ return openBlock(), createBlock(_sfc_main$1I, {
68291
68453
  items: localeList.value,
68292
68454
  "label-provider": (item) => item.displayName || "",
68293
68455
  "model-value": unref(blueseaConfig).currentLocale,
@@ -68386,7 +68548,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
68386
68548
  ((_a2 = _ctx.config.captions) == null ? void 0 : _a2[index - 1]) ? withDirectives((openBlock(), createElementBlock("span", _hoisted_1$i, null, 512)), [
68387
68549
  [unref(vT), (_b = _ctx.config.captions) == null ? void 0 : _b[index - 1]]
68388
68550
  ]) : createCommentVNode("", true),
68389
- createVNode(_sfc_main$1D, {
68551
+ createVNode(_sfc_main$1E, {
68390
68552
  id: `${_ctx.id}${index}`,
68391
68553
  modelValue: nameValue.value[`name${index}`],
68392
68554
  "onUpdate:modelValue": [($event) => nameValue.value[`name${index}`] = $event, emitValue],
@@ -68405,7 +68567,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
68405
68567
  ], 64);
68406
68568
  }), 128))
68407
68569
  ], 512),
68408
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
68570
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
68409
68571
  key: 0,
68410
68572
  errors: unref(errors),
68411
68573
  "hide-error-message": _ctx.hideErrorMessage
@@ -68537,7 +68699,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
68537
68699
  class: "bs-layout-horizontal-inline gap-2 align-items-center",
68538
68700
  role: "textbox"
68539
68701
  }, [
68540
- showCountryCode.value ? (openBlock(), createBlock(_sfc_main$1H, {
68702
+ showCountryCode.value ? (openBlock(), createBlock(_sfc_main$1I, {
68541
68703
  key: 0,
68542
68704
  modelValue: countryNo.value,
68543
68705
  "onUpdate:modelValue": [
@@ -68551,7 +68713,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
68551
68713
  "label-provider": (countryInfo) => countryInfo.name,
68552
68714
  "value-provider": (countryInfo) => countryInfo.code
68553
68715
  }, null, 8, ["modelValue", "allow-null", "class", "disabled", "items", "label-provider", "value-provider"])) : createCommentVNode("", true),
68554
- inputCount.value === 1 ? (openBlock(), createBlock(_sfc_main$1D, {
68716
+ inputCount.value === 1 ? (openBlock(), createBlock(_sfc_main$1E, {
68555
68717
  key: 1,
68556
68718
  id: _ctx.id,
68557
68719
  modelValue: phoneNo.value,
@@ -68565,7 +68727,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
68565
68727
  width: "10em",
68566
68728
  onChange: emitValue
68567
68729
  }, null, 8, ["id", "modelValue", "class", "disabled", "max-length", "maxlength", "name"])) : (openBlock(), createElementBlock(Fragment$1, { key: 2 }, [
68568
- createVNode(_sfc_main$1D, {
68730
+ createVNode(_sfc_main$1E, {
68569
68731
  id: `${_ctx.id}1`,
68570
68732
  modelValue: phoneNo1.value,
68571
68733
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => phoneNo1.value = $event),
@@ -68579,7 +68741,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
68579
68741
  onChange: emitValue
68580
68742
  }, null, 8, ["id", "modelValue", "class", "disabled", "max-length", "maxlength", "name"]),
68581
68743
  _cache[5] || (_cache[5] = createTextVNode(" - ")),
68582
- createVNode(_sfc_main$1D, {
68744
+ createVNode(_sfc_main$1E, {
68583
68745
  id: `${_ctx.id}2`,
68584
68746
  modelValue: phoneNo2.value,
68585
68747
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => phoneNo2.value = $event),
@@ -68593,7 +68755,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
68593
68755
  onChange: emitValue
68594
68756
  }, null, 8, ["id", "modelValue", "class", "disabled", "max-length", "maxlength", "name"]),
68595
68757
  _cache[6] || (_cache[6] = createTextVNode(" - ")),
68596
- createVNode(_sfc_main$1D, {
68758
+ createVNode(_sfc_main$1E, {
68597
68759
  id: `${_ctx.id}3`,
68598
68760
  modelValue: phoneNo3.value,
68599
68761
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => phoneNo3.value = $event),
@@ -68608,7 +68770,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
68608
68770
  }, null, 8, ["id", "modelValue", "class", "disabled", "max-length", "maxlength", "name"])
68609
68771
  ], 64))
68610
68772
  ], 512),
68611
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
68773
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
68612
68774
  key: 0,
68613
68775
  errors: unref(errors),
68614
68776
  "hide-error-message": _ctx.hideErrorMessage
@@ -68653,7 +68815,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
68653
68815
  _ctx.selectedConfig.zipCodeCaption ? withDirectives((openBlock(), createElementBlock("span", _hoisted_3$6, null, 512)), [
68654
68816
  [unref(vT), _ctx.selectedConfig.zipCodeCaption]
68655
68817
  ]) : createCommentVNode("", true),
68656
- createVNode(_sfc_main$1D, {
68818
+ createVNode(_sfc_main$1E, {
68657
68819
  id: `${_ctx.id}ZipCode`,
68658
68820
  class: normalizeClass({ error: _ctx.markError }),
68659
68821
  disabled: _ctx.disabled || !!_ctx.selectedConfig.zipCodeButtonHandler,
@@ -68780,7 +68942,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
68780
68942
  createTextVNode(toDisplayString(unref(serializeAddress)(_ctx.modelValue)), 1)
68781
68943
  ], 64)) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
68782
68944
  _ctx.config.countries && _ctx.config.countries.length > 0 || selectedConfig.value.zipCodePosition === "before-input" ? (openBlock(), createElementBlock("div", _hoisted_1$f, [
68783
- _ctx.config.countries && _ctx.config.countries.length > 0 ? (openBlock(), createBlock(_sfc_main$1H, {
68945
+ _ctx.config.countries && _ctx.config.countries.length > 0 ? (openBlock(), createBlock(_sfc_main$1I, {
68784
68946
  key: 0,
68785
68947
  modelValue: addrValue.value.countryCode,
68786
68948
  "onUpdate:modelValue": [
@@ -68817,7 +68979,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
68817
68979
  ((_a2 = selectedConfig.value.captions) == null ? void 0 : _a2[index - 1]) ? withDirectives((openBlock(), createElementBlock("span", _hoisted_3$5, null, 512)), [
68818
68980
  [unref(vT), (_b = selectedConfig.value.captions) == null ? void 0 : _b[index - 1]]
68819
68981
  ]) : createCommentVNode("", true),
68820
- createVNode(_sfc_main$1D, {
68982
+ createVNode(_sfc_main$1E, {
68821
68983
  id: `${_ctx.name}_${index}`,
68822
68984
  modelValue: addrValue.value[`address${index}`],
68823
68985
  "onUpdate:modelValue": [($event) => addrValue.value[`address${index}`] = $event, emitValue],
@@ -68850,7 +69012,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
68850
69012
  "onUpdate:address": updateAddress
68851
69013
  }, null, 8, ["id", "modelValue", "disabled", "mark-error", "name", "selected-config", "view-mode"])) : createCommentVNode("", true)
68852
69014
  ], 64)),
68853
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
69015
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
68854
69016
  key: 2,
68855
69017
  errors: unref(errors),
68856
69018
  "hide-error-message": _ctx.hideErrorMessage
@@ -69468,7 +69630,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
69468
69630
  onClick: withModifiers(hideContextMenu, ["prevent"]),
69469
69631
  onContextmenu: withModifiers(hideContextMenu, ["prevent"])
69470
69632
  }, null, 32)) : createCommentVNode("", true),
69471
- menuItems.value ? (openBlock(), createBlock(_sfc_main$1F, {
69633
+ menuItems.value ? (openBlock(), createBlock(_sfc_main$1G, {
69472
69634
  key: 1,
69473
69635
  left: position.value.x,
69474
69636
  "menu-items": menuItems.value,
@@ -70052,7 +70214,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
70052
70214
  const props = __props;
70053
70215
  const emit = __emit;
70054
70216
  const context = useDefaultFrame();
70055
- const menuLink = computed(() => props.menu.menu.pages && props.menu.menu.pages.length > 0 ? `${context.config.framePrefix}/${props.menu.menu.pages[0].pageId}` : void 0);
70217
+ const menuLink = computed(() => (!props.menu.subMenuView || props.menu.subMenuView.length === 0) && (props.menu.menu.pages && props.menu.menu.pages.length > 0) ? `${context.config.framePrefix}/${props.menu.menu.pages[0].pageId}` : void 0);
70056
70218
  const isFavoriteMenu = computed(() => {
70057
70219
  var _a2;
70058
70220
  return (_a2 = props.favorites) == null ? void 0 : _a2.includes(props.menu.menu.menuId);
@@ -70446,7 +70608,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
70446
70608
  class: "tab-list-button font-icon",
70447
70609
  onClick: _cache[0] || (_cache[0] = ($event) => togglePopup())
70448
70610
  }, "keyboard_arrow_down"),
70449
- showPopup.value ? (openBlock(), createBlock(_sfc_main$1J, {
70611
+ showPopup.value ? (openBlock(), createBlock(_sfc_main$1K, {
70450
70612
  key: 0,
70451
70613
  ref_key: "popupRef",
70452
70614
  ref: popupRef,
@@ -70679,32 +70841,32 @@ const localeNameProvider = (locale) => {
70679
70841
  const BLUESEA_VERSION = "5.0.0";
70680
70842
  export {
70681
70843
  Editor$1 as $,
70682
- _sfc_main$1G as A,
70844
+ _sfc_main$1H as A,
70683
70845
  BSButton as B,
70684
- _sfc_main$1E as C,
70846
+ _sfc_main$1F as C,
70685
70847
  BSLink as D,
70686
- _sfc_main$1B as E,
70848
+ _sfc_main$1C as E,
70687
70849
  BSConsole as F,
70688
70850
  BSLoadingIcon as G,
70689
- _sfc_main$1y as H,
70690
- _sfc_main$1x as I,
70691
- _sfc_main$1w as J,
70692
- _sfc_main$1v as K,
70693
- _sfc_main$1t as L,
70694
- _sfc_main$1s as M,
70695
- _sfc_main$1r as N,
70696
- _sfc_main$1p as O,
70697
- _sfc_main$1n as P,
70698
- _sfc_main$1k as Q,
70699
- _sfc_main$1i as R,
70700
- _sfc_main$1m as S,
70701
- _sfc_main$1h as T,
70702
- _sfc_main$1H as U,
70703
- _sfc_main$1g as V,
70704
- _sfc_main$1d as W,
70705
- _sfc_main$1c as X,
70851
+ _sfc_main$1z as H,
70852
+ _sfc_main$1y as I,
70853
+ _sfc_main$1x as J,
70854
+ _sfc_main$1w as K,
70855
+ _sfc_main$1u as L,
70856
+ _sfc_main$1t as M,
70857
+ _sfc_main$1s as N,
70858
+ _sfc_main$1q as O,
70859
+ _sfc_main$1o as P,
70860
+ _sfc_main$1l as Q,
70861
+ _sfc_main$1j as R,
70862
+ _sfc_main$1n as S,
70863
+ _sfc_main$1i as T,
70864
+ _sfc_main$1I as U,
70865
+ _sfc_main$1h as V,
70866
+ _sfc_main$1e as W,
70867
+ _sfc_main$1d as X,
70706
70868
  BSPopupSelect as Y,
70707
- _sfc_main$1a as Z,
70869
+ _sfc_main$1b as Z,
70708
70870
  _sfc_main$d as _,
70709
70871
  _sfc_main$A as a,
70710
70872
  PageGridHandlerImpl as a$,
@@ -70749,7 +70911,7 @@ export {
70749
70911
  BSListControl as ab,
70750
70912
  _sfc_main$w as ac,
70751
70913
  _sfc_main$v as ad,
70752
- _sfc_main$1e as ae,
70914
+ _sfc_main$1f as ae,
70753
70915
  BSTreeControl as af,
70754
70916
  _sfc_main$t as ag,
70755
70917
  _sfc_main$s as ah,
@@ -70764,14 +70926,14 @@ export {
70764
70926
  _sfc_main$g as aq,
70765
70927
  _sfc_main$o as ar,
70766
70928
  _sfc_main$n as as,
70767
- _sfc_main$1K as at,
70768
- _sfc_main$1J as au,
70769
- _sfc_main$1q as av,
70770
- _sfc_main$1o as aw,
70929
+ _sfc_main$1L as at,
70930
+ _sfc_main$1K as au,
70931
+ _sfc_main$1r as av,
70932
+ _sfc_main$1p as aw,
70771
70933
  _sfc_main$e as ax,
70772
70934
  _sfc_main$b as ay,
70773
70935
  BSAlarmFrame as az,
70774
- _sfc_main$1L as b,
70936
+ _sfc_main$1M as b,
70775
70937
  equalFilter as b$,
70776
70938
  EditablePageGridHandlerImpl as b0,
70777
70939
  InputGridHandlerImpl as b1,
@@ -70836,7 +70998,7 @@ export {
70836
70998
  executeBetweenLengthValidation as bx,
70837
70999
  executeBetweenValueValidation as by,
70838
71000
  executeDateRangeValidation as bz,
70839
- _sfc_main$1D as c,
71001
+ _sfc_main$1E as c,
70840
71002
  betweenFilter as c0,
70841
71003
  betweenDateFilter as c1,
70842
71004
  isNullFilter as c2,
@@ -70890,18 +71052,18 @@ export {
70890
71052
  LocalStorageFavoriteMenuHandler as cx,
70891
71053
  DefaultFrameContext as cy,
70892
71054
  createDefaultFrameContext as cz,
70893
- _sfc_main$Y as d,
71055
+ _sfc_main$Z as d,
70894
71056
  extractYoutubeVideoId as e,
70895
71057
  buildYoutubeUrl as f,
70896
71058
  createInputGridHandler as g,
70897
71059
  _sfc_main$I as h,
70898
71060
  isYoutubeNocookieUrl as i,
70899
- _sfc_main$1u as j,
70900
- _sfc_main$1j as k,
71061
+ _sfc_main$1v as j,
71062
+ _sfc_main$1k as k,
70901
71063
  vFocusOnLoad as l,
70902
71064
  componentUtil as m,
70903
71065
  notNull as n,
70904
- _sfc_main$1l as o,
71066
+ _sfc_main$1m as o,
70905
71067
  formValidator as p,
70906
71068
  findImageNode as q,
70907
71069
  imageInfoNumberToPixel as r,