@g1cloud/bluesea 5.0.0-beta.26 → 5.0.0-beta.28

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 (41) hide show
  1. package/README.md +21 -0
  2. package/bin/install-claude-skill.mjs +74 -0
  3. package/css/bluesea.css +61 -7
  4. package/dist/{BSAlertModal-CCdaoT-g.js → BSAlertModal-BpbJuAe1.js} +1 -1
  5. package/dist/{BSGridColumnSettingModal-CMJqpWzY.js → BSGridColumnSettingModal-8MqhRWkU.js} +1 -1
  6. package/dist/{BSRichTextMaximizedModal-Byrr_L8I.js → BSRichTextMaximizedModal-C86Skc5v.js} +1 -1
  7. package/dist/{BSYesNoModal-BljzNd5_.js → BSYesNoModal-CHbktVAj.js} +1 -1
  8. package/dist/{BSYoutubeInputModal-BZR0jJvt.js → BSYoutubeInputModal-JKnr4hGE.js} +1 -1
  9. package/dist/{ImageInsertModal-wdRGMEHH.js → ImageInsertModal-DQwkQJ8b.js} +2 -2
  10. package/dist/{ImageProperties.vue_vue_type_script_setup_true_lang-DNqql2HK.js → ImageProperties.vue_vue_type_script_setup_true_lang-BsMcsXdh.js} +1 -1
  11. package/dist/{ImagePropertiesModal-BumfiYFu.js → ImagePropertiesModal-X7blKqTy.js} +2 -2
  12. package/dist/{LinkPropertiesModal-C-cq00aG.js → LinkPropertiesModal-DGiiTivW.js} +1 -1
  13. package/dist/{TableInsertModal-DWy7cSQz.js → TableInsertModal-CupFfnOG.js} +1 -1
  14. package/dist/{TablePropertiesModal-BDir2XM5.js → TablePropertiesModal-CfK9i7Q5.js} +1 -1
  15. package/dist/{VideoInsertModal-s4eT3Ofx.js → VideoInsertModal-BwRRgibx.js} +2 -2
  16. package/dist/{VideoProperties.vue_vue_type_script_setup_true_lang-B2SQASHh.js → VideoProperties.vue_vue_type_script_setup_true_lang-zEMpmzTZ.js} +1 -1
  17. package/dist/{VideoPropertiesModal-zHc0vcQs.js → VideoPropertiesModal-Dn6AzhPy.js} +2 -2
  18. package/dist/{YoutubeInsertModal-CdcIzmFl.js → YoutubeInsertModal-DCn5bhN5.js} +2 -2
  19. package/dist/{YoutubeProperties.vue_vue_type_script_setup_true_lang-CWqGTFe5.js → YoutubeProperties.vue_vue_type_script_setup_true_lang-B-YVlp4Y.js} +1 -1
  20. package/dist/{YoutubePropertiesModal-CAd6dZ6E.js → YoutubePropertiesModal-Dg-n8cTv.js} +2 -2
  21. package/dist/bluesea.css +53 -7
  22. package/dist/bluesea.js +1 -1
  23. package/dist/bluesea.umd.cjs +623 -454
  24. package/dist/component/input/BSImageUpload.vue.d.ts +4 -0
  25. package/dist/component/input/BSMediaPreview.vue.d.ts +2 -0
  26. package/dist/component/input/BSMediaPreviewOverlay.vue.d.ts +44 -0
  27. package/dist/component/input/BSMultiImageUpload.vue.d.ts +2 -0
  28. package/dist/component/input/BSPositionedImageUpload.vue.d.ts +2 -0
  29. package/dist/{index-pO-xtezx.js → index-e3O4IL4V.js} +557 -388
  30. package/dist/text/i18n.d.ts +2 -1
  31. package/package.json +6 -1
  32. package/skills/bluesea-ui/SKILL.md +312 -0
  33. package/skills/bluesea-ui/references/components.md +189 -0
  34. package/skills/bluesea-ui/references/grid.md +159 -0
  35. package/skills/bluesea-ui/references/i18n.md +126 -0
  36. package/skills/bluesea-ui/references/validation.md +176 -0
  37. package/text/bluesea_text_en.json +248 -964
  38. package/text/bluesea_text_fr.json +248 -964
  39. package/text/bluesea_text_ja.json +248 -964
  40. package/text/bluesea_text_ko.json +248 -964
  41. package/text/bluesea_text_zh.json +248 -964
@@ -368,8 +368,8 @@ const defaultAddressInputComponentConfig = {
368
368
  countryConfigs: ADDRESS_COUNTRY_CONFIGS
369
369
  };
370
370
  const defaultRichTextComponentConfig = {
371
- imageInsertModal: defineAsyncComponent(() => import("./ImageInsertModal-wdRGMEHH.js")),
372
- videoInsertModal: defineAsyncComponent(() => import("./VideoInsertModal-s4eT3Ofx.js")),
371
+ imageInsertModal: defineAsyncComponent(() => import("./ImageInsertModal-DQwkQJ8b.js")),
372
+ videoInsertModal: defineAsyncComponent(() => import("./VideoInsertModal-BwRRgibx.js")),
373
373
  toolButtons: [
374
374
  "Heading",
375
375
  "FontSize",
@@ -528,9 +528,16 @@ class I18NTexts {
528
528
  constructor() {
529
529
  __publicField(this, "localeTexts", {});
530
530
  }
531
- addTexts(locale, textList) {
531
+ addTexts(locale, input) {
532
532
  const text = this.ensureAddLocale(locale);
533
- textList.forEach((t2) => text[t2.key] = t2);
533
+ if (Array.isArray(input)) {
534
+ input.forEach((t2) => text[t2.key] = t2);
535
+ } else {
536
+ for (const key in input) {
537
+ const v = input[key];
538
+ text[key] = Array.isArray(v) ? { key, text: String(v[0]), html: !!v[1] } : { key, text: v };
539
+ }
540
+ }
534
541
  }
535
542
  /**
536
543
  * 현재 언어코드에서 `key` 에 해당하는 `TextRecord` 를 리턴한다.
@@ -790,7 +797,7 @@ const vTooltip = {
790
797
  hideTooltip$1();
791
798
  }
792
799
  };
793
- const _sfc_main$1M = /* @__PURE__ */ defineComponent({
800
+ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
794
801
  __name: "BSButton",
795
802
  props: {
796
803
  caption: {},
@@ -839,8 +846,8 @@ const _export_sfc = (sfc, props) => {
839
846
  }
840
847
  return target;
841
848
  };
842
- const BSButton = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__scopeId", "data-v-b7ae95cb"]]);
843
- const _sfc_main$1L = /* @__PURE__ */ defineComponent({
849
+ const BSButton = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["__scopeId", "data-v-b7ae95cb"]]);
850
+ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
844
851
  __name: "BSFormLabel",
845
852
  props: {
846
853
  label: {},
@@ -883,9 +890,9 @@ const waitUtil = {
883
890
  waitDuring,
884
891
  tryUntil
885
892
  };
886
- const _hoisted_1$1r = ["data-popup-id"];
893
+ const _hoisted_1$1s = ["data-popup-id"];
887
894
  const ADJUST_OFFSET = 8;
888
- const _sfc_main$1K = /* @__PURE__ */ defineComponent({
895
+ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
889
896
  __name: "BSPopup",
890
897
  props: {
891
898
  popupId: {},
@@ -1068,7 +1075,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
1068
1075
  onKeydown: _cache[1] || (_cache[1] = ($event) => emit("keydown", $event))
1069
1076
  }, [
1070
1077
  renderSlot(_ctx.$slots, "default")
1071
- ], 46, _hoisted_1$1r)
1078
+ ], 46, _hoisted_1$1s)
1072
1079
  ]),
1073
1080
  _: 3
1074
1081
  })
@@ -1110,11 +1117,11 @@ const debounce$2 = (func, wait) => {
1110
1117
  });
1111
1118
  };
1112
1119
  };
1113
- const _hoisted_1$1q = {
1120
+ const _hoisted_1$1r = {
1114
1121
  key: 0,
1115
1122
  class: "popup-search pa-4"
1116
1123
  };
1117
- const _hoisted_2$16 = ["data-value", "onMouseover", "onClick"];
1124
+ const _hoisted_2$17 = ["data-value", "onMouseover", "onClick"];
1118
1125
  const _hoisted_3$I = {
1119
1126
  key: 0,
1120
1127
  class: "label"
@@ -1123,7 +1130,7 @@ const _hoisted_4$r = {
1123
1130
  key: 1,
1124
1131
  class: "label null-label"
1125
1132
  };
1126
- const _sfc_main$1J = /* @__PURE__ */ defineComponent({
1133
+ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
1127
1134
  __name: "BSSelectPopup",
1128
1135
  props: {
1129
1136
  items: {},
@@ -1270,7 +1277,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
1270
1277
  handleKeyboard
1271
1278
  });
1272
1279
  return (_ctx, _cache) => {
1273
- return openBlock(), createBlock(_sfc_main$1K, {
1280
+ return openBlock(), createBlock(_sfc_main$1L, {
1274
1281
  "base-element": _ctx.baseElement,
1275
1282
  "max-height": _ctx.maxHeight,
1276
1283
  "offset-from-base-element": 4,
@@ -1281,7 +1288,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
1281
1288
  onKeydown: withKeys(withModifiers(handleKeyboard, ["stop", "prevent"]), ["enter", "down", "up"])
1282
1289
  }, {
1283
1290
  default: withCtx(() => [
1284
- actualShowSearch.value ? (openBlock(), createElementBlock("div", _hoisted_1$1q, [
1291
+ actualShowSearch.value ? (openBlock(), createElementBlock("div", _hoisted_1$1r, [
1285
1292
  withDirectives(createElementVNode("input", {
1286
1293
  type: "text",
1287
1294
  onInput: setSearchKeyword,
@@ -1316,7 +1323,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
1316
1323
  ]) : withDirectives((openBlock(), createElementBlock("label", _hoisted_4$r, null, 512)), [
1317
1324
  [unref(vT), _ctx.nullLabel]
1318
1325
  ])
1319
- ], 42, _hoisted_2$16);
1326
+ ], 42, _hoisted_2$17);
1320
1327
  }), 128))
1321
1328
  ], 512)
1322
1329
  ]),
@@ -1677,8 +1684,8 @@ class SavePointHandlerImpl {
1677
1684
  return this.isModified(this.valueProvider.getCurrentValue());
1678
1685
  }
1679
1686
  }
1680
- const _hoisted_1$1p = { key: 0 };
1681
- const _sfc_main$1I = /* @__PURE__ */ defineComponent({
1687
+ const _hoisted_1$1q = { key: 0 };
1688
+ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
1682
1689
  __name: "ValidationErrors",
1683
1690
  props: {
1684
1691
  errors: {},
@@ -1686,7 +1693,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
1686
1693
  },
1687
1694
  setup(__props) {
1688
1695
  return (_ctx, _cache) => {
1689
- return !_ctx.hideErrorMessage && _ctx.errors && _ctx.errors.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$1p, [
1696
+ return !_ctx.hideErrorMessage && _ctx.errors && _ctx.errors.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$1q, [
1690
1697
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.errors, (error) => {
1691
1698
  return withDirectives((openBlock(), createElementBlock("div", {
1692
1699
  key: error.code,
@@ -1733,8 +1740,8 @@ const executeKeyProviderOrDefault = (item, keyProvider, defaultKey) => {
1733
1740
  }
1734
1741
  return defaultKey(item);
1735
1742
  };
1736
- const _hoisted_1$1o = ["tabindex", "onKeydown"];
1737
- const _hoisted_2$15 = { key: 0 };
1743
+ const _hoisted_1$1p = ["tabindex", "onKeydown"];
1744
+ const _hoisted_2$16 = { key: 0 };
1738
1745
  const _hoisted_3$H = ["data-field-name"];
1739
1746
  const _hoisted_4$q = {
1740
1747
  key: 0,
@@ -1748,7 +1755,7 @@ const _hoisted_6$c = {
1748
1755
  key: 2,
1749
1756
  class: "small-progress"
1750
1757
  };
1751
- const _sfc_main$1H = /* @__PURE__ */ defineComponent({
1758
+ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
1752
1759
  __name: "BSSelect",
1753
1760
  props: {
1754
1761
  modelValue: {},
@@ -1890,7 +1897,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
1890
1897
  withKeys(handleTabKey, ["tab"])
1891
1898
  ]
1892
1899
  }, [
1893
- _ctx.viewMode ? withDirectives((openBlock(), createElementBlock("div", _hoisted_2$15, null, 512)), [
1900
+ _ctx.viewMode ? withDirectives((openBlock(), createElementBlock("div", _hoisted_2$16, null, 512)), [
1894
1901
  [unref(vT), selectedItemLabel.value]
1895
1902
  ]) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
1896
1903
  createElementVNode("div", {
@@ -1908,7 +1915,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
1908
1915
  _cache[4] || (_cache[4] = createElementVNode("span", { class: "dropdown-btn" }, "expand_more", -1)),
1909
1916
  loadingItems.value ? (openBlock(), createElementBlock("span", _hoisted_6$c, "progress_activity")) : createCommentVNode("", true)
1910
1917
  ], 8, _hoisted_3$H),
1911
- !_ctx.disabled && showPopup.value ? (openBlock(), createBlock(_sfc_main$1J, {
1918
+ !_ctx.disabled && showPopup.value ? (openBlock(), createBlock(_sfc_main$1K, {
1912
1919
  key: 0,
1913
1920
  ref_key: "selectPopup",
1914
1921
  ref: selectPopup,
@@ -1931,19 +1938,19 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
1931
1938
  focusToRoot();
1932
1939
  })
1933
1940
  }, 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, {
1941
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
1935
1942
  key: 1,
1936
1943
  errors: unref(errors),
1937
1944
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
1938
1945
  }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true)
1939
1946
  ], 64))
1940
- ], 42, _hoisted_1$1o)), [
1947
+ ], 42, _hoisted_1$1p)), [
1941
1948
  [unref(vClickOutside), () => togglePopup(false)]
1942
1949
  ]);
1943
1950
  };
1944
1951
  }
1945
1952
  });
1946
- const _sfc_main$1G = /* @__PURE__ */ defineComponent({
1953
+ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
1947
1954
  __name: "BSYesNoSelect",
1948
1955
  props: {
1949
1956
  name: {},
@@ -1978,7 +1985,7 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
1978
1985
  emit("update:modelValue", value2 === void 0 ? void 0 : value2 === "Y");
1979
1986
  };
1980
1987
  return (_ctx, _cache) => {
1981
- return openBlock(), createBlock(_sfc_main$1H, {
1988
+ return openBlock(), createBlock(_sfc_main$1I, {
1982
1989
  "allow-null": _ctx.allowNull,
1983
1990
  disabled: _ctx.disabled,
1984
1991
  "hide-error-message": _ctx.hideErrorMessage,
@@ -2044,11 +2051,11 @@ const useContextMenuOptional = () => {
2044
2051
  const createContextMenuPlugin = () => {
2045
2052
  return new BSContextMenuPlugin();
2046
2053
  };
2047
- const _hoisted_1$1n = ["data-menu-id"];
2048
- const _hoisted_2$14 = ["href", "target"];
2054
+ const _hoisted_1$1o = ["data-menu-id"];
2055
+ const _hoisted_2$15 = ["href", "target"];
2049
2056
  const _hoisted_3$G = ["data-menu-id"];
2050
2057
  const _hoisted_4$p = ["data-menu-id", "onMouseenter", "onClick"];
2051
- const _sfc_main$1F = /* @__PURE__ */ defineComponent({
2058
+ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
2052
2059
  __name: "BSContextMenu",
2053
2060
  props: {
2054
2061
  menuItems: {},
@@ -2093,7 +2100,7 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
2093
2100
  return (_ctx, _cache) => {
2094
2101
  const _component_router_link = resolveComponent("router-link");
2095
2102
  const _component_BSContextMenu = resolveComponent("BSContextMenu", true);
2096
- return openBlock(), createBlock(_sfc_main$1K, {
2103
+ return openBlock(), createBlock(_sfc_main$1L, {
2097
2104
  ref: "root",
2098
2105
  "base-element": _ctx.baseElement || { left: _ctx.left || 0, top: _ctx.top || 0 },
2099
2106
  "popup-direction": _ctx.direction,
@@ -2127,10 +2134,10 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
2127
2134
  href: menu.href,
2128
2135
  target: menu.target,
2129
2136
  onClick: withModifiers(handleLinkClick, ["stop"])
2130
- }, null, 8, _hoisted_2$14), [
2137
+ }, null, 8, _hoisted_2$15), [
2131
2138
  [unref(vT), menu.caption]
2132
2139
  ])
2133
- ], 8, _hoisted_1$1n)) : menu.type === "route" ? (openBlock(), createElementBlock("div", {
2140
+ ], 8, _hoisted_1$1o)) : menu.type === "route" ? (openBlock(), createElementBlock("div", {
2134
2141
  key: 3,
2135
2142
  "data-menu-id": menu.menuId,
2136
2143
  class: "menu no-padding",
@@ -2423,7 +2430,7 @@ const componentUtil = {
2423
2430
  return trim ? value == null ? void 0 : value.trim() : value;
2424
2431
  }
2425
2432
  };
2426
- const _sfc_main$1E = /* @__PURE__ */ defineComponent({
2433
+ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
2427
2434
  __name: "BSPopupButton",
2428
2435
  props: {
2429
2436
  caption: {},
@@ -2460,14 +2467,14 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
2460
2467
  onKeydown: _cache[0] || (_cache[0] = withKeys(() => togglePopup(false), ["esc"]))
2461
2468
  }, null, 8, ["button-color", "caption", "class", "disabled", "left-icon", "right-icon"]),
2462
2469
  showPopup.value ? (openBlock(), createElementBlock(Fragment$1, { key: 0 }, [
2463
- _ctx.menuItems ? (openBlock(), createBlock(_sfc_main$1F, {
2470
+ _ctx.menuItems ? (openBlock(), createBlock(_sfc_main$1G, {
2464
2471
  key: 0,
2465
2472
  "base-element": root.value,
2466
2473
  "menu-items": _ctx.menuItems,
2467
2474
  "popup-id": unref(popupId),
2468
2475
  onRequestClose: _cache[1] || (_cache[1] = ($event) => togglePopup(false)),
2469
2476
  onMenuClicked: _cache[2] || (_cache[2] = ($event) => togglePopup(false))
2470
- }, null, 8, ["base-element", "menu-items", "popup-id"])) : (openBlock(), createBlock(_sfc_main$1K, {
2477
+ }, null, 8, ["base-element", "menu-items", "popup-id"])) : (openBlock(), createBlock(_sfc_main$1L, {
2471
2478
  key: 1,
2472
2479
  "base-element": root.value,
2473
2480
  "popup-align": _ctx.popupAlign,
@@ -2487,11 +2494,11 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
2487
2494
  };
2488
2495
  }
2489
2496
  });
2490
- const _hoisted_1$1m = {
2497
+ const _hoisted_1$1n = {
2491
2498
  key: 0,
2492
2499
  class: "view-mode"
2493
2500
  };
2494
- const _hoisted_2$13 = {
2501
+ const _hoisted_2$14 = {
2495
2502
  key: 1,
2496
2503
  class: "prefix"
2497
2504
  };
@@ -2537,7 +2544,7 @@ const _hoisted_19 = {
2537
2544
  class: "suffix"
2538
2545
  };
2539
2546
  const _hoisted_20 = ["src"];
2540
- const _sfc_main$1D = /* @__PURE__ */ defineComponent({
2547
+ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
2541
2548
  __name: "BSTextInput",
2542
2549
  props: {
2543
2550
  id: {},
@@ -2653,7 +2660,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
2653
2660
  class: normalizeClass([{ required: _ctx.required, disabled: _ctx.disabled, modified: modified.value, error: unref(errors).length > 0 }, "bs-text-input"]),
2654
2661
  style: normalizeStyle({ width: _ctx.width })
2655
2662
  }, [
2656
- _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1m, [
2663
+ _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1n, [
2657
2664
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(getPrefixSuffixList(_ctx.prefix), (item) => {
2658
2665
  return openBlock(), createElementBlock(Fragment$1, null, [
2659
2666
  item.type === "text" ? withDirectives((openBlock(), createElementBlock("span", {
@@ -2661,7 +2668,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
2661
2668
  class: "prefix"
2662
2669
  })), [
2663
2670
  [unref(vT), item.value]
2664
- ]) : item.type === "font-icon" ? (openBlock(), createElementBlock("span", _hoisted_2$13, [
2671
+ ]) : item.type === "font-icon" ? (openBlock(), createElementBlock("span", _hoisted_2$14, [
2665
2672
  createElementVNode("span", _hoisted_3$F, toDisplayString(item.value), 1)
2666
2673
  ])) : item.type === "image-url" ? (openBlock(), createElementBlock("span", _hoisted_4$o, [
2667
2674
  createElementVNode("img", {
@@ -2747,7 +2754,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
2747
2754
  ], 64);
2748
2755
  }), 256))
2749
2756
  ])),
2750
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
2757
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
2751
2758
  key: 2,
2752
2759
  errors: unref(errors),
2753
2760
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
@@ -2756,9 +2763,9 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
2756
2763
  };
2757
2764
  }
2758
2765
  });
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({
2766
+ const _hoisted_1$1m = { class: "bs-link bs-layout-horizontal-inline flex-align-center" };
2767
+ const _hoisted_2$13 = ["href", "target"];
2768
+ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
2762
2769
  __name: "BSLink",
2763
2770
  props: {
2764
2771
  path: {},
@@ -2767,25 +2774,25 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
2767
2774
  },
2768
2775
  setup(__props) {
2769
2776
  return (_ctx, _cache) => {
2770
- return openBlock(), createElementBlock("div", _hoisted_1$1l, [
2777
+ return openBlock(), createElementBlock("div", _hoisted_1$1m, [
2771
2778
  _cache[0] || (_cache[0] = createElementVNode("span", { class: "font-icon mr-4" }, "link", -1)),
2772
2779
  withDirectives(createElementVNode("a", {
2773
2780
  href: _ctx.path,
2774
2781
  target: _ctx.target
2775
- }, null, 8, _hoisted_2$12), [
2782
+ }, null, 8, _hoisted_2$13), [
2776
2783
  [unref(vT), _ctx.caption || _ctx.path]
2777
2784
  ])
2778
2785
  ]);
2779
2786
  };
2780
2787
  }
2781
2788
  });
2782
- const BSLink = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["__scopeId", "data-v-29df56e5"]]);
2783
- const _hoisted_1$1k = {
2789
+ const BSLink = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__scopeId", "data-v-29df56e5"]]);
2790
+ const _hoisted_1$1l = {
2784
2791
  key: 0,
2785
2792
  class: "show-percent",
2786
2793
  style: { "left": "100%" }
2787
2794
  };
2788
- const _hoisted_2$11 = {
2795
+ const _hoisted_2$12 = {
2789
2796
  key: 1,
2790
2797
  class: "show-percent right-0 text-white"
2791
2798
  };
@@ -2793,7 +2800,7 @@ const _hoisted_3$E = {
2793
2800
  key: 1,
2794
2801
  class: "indeterminate"
2795
2802
  };
2796
- const _sfc_main$1B = /* @__PURE__ */ defineComponent({
2803
+ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
2797
2804
  __name: "BSProgressBar",
2798
2805
  props: {
2799
2806
  width: { default: "200px" },
@@ -2819,7 +2826,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
2819
2826
  style: normalizeStyle({ width: calculateProgress.value + "%" }),
2820
2827
  class: "inner-progressbar"
2821
2828
  }, [
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))
2829
+ 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
2830
  ], 4)) : (openBlock(), createElementBlock("div", _hoisted_3$E, _cache[0] || (_cache[0] = [
2824
2831
  createElementVNode("div", { class: "in-box" }, null, -1)
2825
2832
  ])))
@@ -2827,7 +2834,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
2827
2834
  };
2828
2835
  }
2829
2836
  });
2830
- const _sfc_main$1A = /* @__PURE__ */ defineComponent({
2837
+ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
2831
2838
  __name: "BSConsole",
2832
2839
  props: {
2833
2840
  texts: {},
@@ -2847,17 +2854,17 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
2847
2854
  };
2848
2855
  }
2849
2856
  });
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" };
2857
+ const BSConsole = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-f33a4477"]]);
2858
+ const _sfc_main$1A = {};
2859
+ const _hoisted_1$1k = { class: "bs-loading-icon" };
2853
2860
  function _sfc_render$1(_ctx, _cache) {
2854
- return openBlock(), createElementBlock("div", _hoisted_1$1j, _cache[0] || (_cache[0] = [
2861
+ return openBlock(), createElementBlock("div", _hoisted_1$1k, _cache[0] || (_cache[0] = [
2855
2862
  createElementVNode("span", { class: "font-icon" }, "progress_activity", -1)
2856
2863
  ]));
2857
2864
  }
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({
2865
+ const BSLoadingIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$1]]);
2866
+ const _hoisted_1$1j = { class: "bs-date" };
2867
+ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
2861
2868
  __name: "BSDate",
2862
2869
  props: {
2863
2870
  value: {},
@@ -2868,13 +2875,13 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
2868
2875
  const props = __props;
2869
2876
  const formatted = computed(() => formatUtil.formatDateString(props.value, props.format, props.timeZone));
2870
2877
  return (_ctx, _cache) => {
2871
- return openBlock(), createElementBlock("span", _hoisted_1$1i, toDisplayString(formatted.value), 1);
2878
+ return openBlock(), createElementBlock("span", _hoisted_1$1j, toDisplayString(formatted.value), 1);
2872
2879
  };
2873
2880
  }
2874
2881
  });
2875
- const _hoisted_1$1h = { class: "page-navigation" };
2876
- const _hoisted_2$10 = ["data-page", "onClick"];
2877
- const _sfc_main$1x = /* @__PURE__ */ defineComponent({
2882
+ const _hoisted_1$1i = { class: "page-navigation" };
2883
+ const _hoisted_2$11 = ["data-page", "onClick"];
2884
+ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
2878
2885
  __name: "BSPageNavigation",
2879
2886
  props: {
2880
2887
  totalCount: { default: 0 },
@@ -2934,7 +2941,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
2934
2941
  }
2935
2942
  };
2936
2943
  return (_ctx, _cache) => {
2937
- return openBlock(), createElementBlock("div", _hoisted_1$1h, [
2944
+ return openBlock(), createElementBlock("div", _hoisted_1$1i, [
2938
2945
  createElementVNode("span", {
2939
2946
  class: normalizeClass([{ "disabled": isFirstSet.value }, "font-icon first"]),
2940
2947
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => !isFirstSet.value && goToPage(1), ["prevent"]))
@@ -2949,7 +2956,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
2949
2956
  class: normalizeClass([{ on: page === currentPage.value }, "page"]),
2950
2957
  "data-page": page,
2951
2958
  onClick: withModifiers(($event) => goToPage(page), ["prevent"])
2952
- }, toDisplayString(page), 11, _hoisted_2$10);
2959
+ }, toDisplayString(page), 11, _hoisted_2$11);
2953
2960
  }), 128)),
2954
2961
  createElementVNode("span", {
2955
2962
  class: normalizeClass([{ "disabled": isLastSet.value }, "font-icon next"]),
@@ -2963,8 +2970,8 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
2963
2970
  };
2964
2971
  }
2965
2972
  });
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" };
2973
+ const _hoisted_1$1h = { class: "bs-calendar bs-layout-vertical-inline" };
2974
+ const _hoisted_2$10 = { class: "bs-layout-horizontal justify-content-between align-items-center gap-8" };
2968
2975
  const _hoisted_3$D = { class: "year-month bs-layout-horizontal gap-4" };
2969
2976
  const _hoisted_4$n = { class: "timezone" };
2970
2977
  const _hoisted_5$d = { class: "weekdays" };
@@ -2978,7 +2985,7 @@ const _hoisted_9$1 = {
2978
2985
  key: 1,
2979
2986
  class: "extra-dates bs-layout-vertical gap-2 mt-8"
2980
2987
  };
2981
- const _sfc_main$1w = /* @__PURE__ */ defineComponent({
2988
+ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
2982
2989
  __name: "BSCalendar",
2983
2990
  props: {
2984
2991
  modelValue: {},
@@ -3156,21 +3163,21 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
3156
3163
  }
3157
3164
  };
3158
3165
  return (_ctx, _cache) => {
3159
- return openBlock(), createElementBlock("div", _hoisted_1$1g, [
3160
- createElementVNode("div", _hoisted_2$$, [
3166
+ return openBlock(), createElementBlock("div", _hoisted_1$1h, [
3167
+ createElementVNode("div", _hoisted_2$10, [
3161
3168
  createElementVNode("div", _hoisted_3$D, [
3162
3169
  createVNode(BSButton, {
3163
3170
  class: "border-0 pa-0",
3164
3171
  "left-icon": "chevron_left",
3165
3172
  onClick: prevMonth
3166
3173
  }),
3167
- createVNode(_sfc_main$1H, {
3174
+ createVNode(_sfc_main$1I, {
3168
3175
  modelValue: year.value,
3169
3176
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => year.value = $event),
3170
3177
  disabled: _ctx.disabled,
3171
3178
  items: years.value
3172
3179
  }, null, 8, ["modelValue", "disabled", "items"]),
3173
- createVNode(_sfc_main$1H, {
3180
+ createVNode(_sfc_main$1I, {
3174
3181
  modelValue: month.value,
3175
3182
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => month.value = $event),
3176
3183
  disabled: _ctx.disabled,
@@ -3215,7 +3222,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
3215
3222
  ], 2),
3216
3223
  ["HOUR", "MINUTE_10", "MINUTE_30", "MINUTE", "SECOND"].includes(_ctx.resolution) ? (openBlock(), createElementBlock("div", _hoisted_7$5, [
3217
3224
  createElementVNode("div", _hoisted_8$3, [
3218
- createVNode(_sfc_main$1H, {
3225
+ createVNode(_sfc_main$1I, {
3219
3226
  disabled: _ctx.disabled,
3220
3227
  items: hours,
3221
3228
  "label-provider": (item) => item < 10 ? "0" + item : item.toString(),
@@ -3224,7 +3231,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
3224
3231
  "onUpdate:modelValue": updateHour
3225
3232
  }, null, 8, ["disabled", "label-provider", "model-value"]),
3226
3233
  _cache[2] || (_cache[2] = createElementVNode("span", { class: "px-4" }, ":", -1)),
3227
- createVNode(_sfc_main$1H, {
3234
+ createVNode(_sfc_main$1I, {
3228
3235
  disabled: _ctx.disabled || _ctx.resolution === "HOUR",
3229
3236
  items: minutes.value,
3230
3237
  "label-provider": (item) => item < 10 ? "0" + item : item.toString(),
@@ -3248,8 +3255,8 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
3248
3255
  };
3249
3256
  }
3250
3257
  });
3251
- const _hoisted_1$1f = { class: "bs-calendar-range bs-layout-horizontal" };
3252
- const _hoisted_2$_ = { class: "bs-layout-vertical" };
3258
+ const _hoisted_1$1g = { class: "bs-calendar-range bs-layout-horizontal" };
3259
+ const _hoisted_2$$ = { class: "bs-layout-vertical" };
3253
3260
  const _hoisted_3$C = { class: "bs-layout-horizontal align-items-center" };
3254
3261
  const _hoisted_4$m = {
3255
3262
  key: 0,
@@ -3257,7 +3264,7 @@ const _hoisted_4$m = {
3257
3264
  };
3258
3265
  const _hoisted_5$c = { key: 0 };
3259
3266
  const _hoisted_6$9 = { key: 1 };
3260
- const _sfc_main$1v = /* @__PURE__ */ defineComponent({
3267
+ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
3261
3268
  __name: "BSCalendarRange",
3262
3269
  props: {
3263
3270
  from: {},
@@ -3296,10 +3303,10 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
3296
3303
  };
3297
3304
  const displayTimeZones = computed(() => [actualTimeZone.value, ...blueseaConfig.getValidDisplayTimeZones()]);
3298
3305
  return (_ctx, _cache) => {
3299
- return openBlock(), createElementBlock("div", _hoisted_1$1f, [
3300
- createElementVNode("div", _hoisted_2$_, [
3306
+ return openBlock(), createElementBlock("div", _hoisted_1$1g, [
3307
+ createElementVNode("div", _hoisted_2$$, [
3301
3308
  createElementVNode("div", _hoisted_3$C, [
3302
- createVNode(_sfc_main$1w, {
3309
+ createVNode(_sfc_main$1x, {
3303
3310
  modelValue: fromValue.value,
3304
3311
  "onUpdate:modelValue": [
3305
3312
  _cache[0] || (_cache[0] = ($event) => fromValue.value = $event),
@@ -3317,7 +3324,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
3317
3324
  "range-type": "from"
3318
3325
  }, null, 8, ["modelValue", "disabled", "display-format", "end-year", "first-day", "range-value", "resolution", "start-year", "time-zone"]),
3319
3326
  _cache[2] || (_cache[2] = createElementVNode("span", { class: "tilde" }, "~", -1)),
3320
- createVNode(_sfc_main$1w, {
3327
+ createVNode(_sfc_main$1x, {
3321
3328
  modelValue: toValue.value,
3322
3329
  "onUpdate:modelValue": [
3323
3330
  _cache[1] || (_cache[1] = ($event) => toValue.value = $event),
@@ -3354,17 +3361,17 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
3354
3361
  };
3355
3362
  }
3356
3363
  });
3357
- const _hoisted_1$1e = {
3364
+ const _hoisted_1$1f = {
3358
3365
  key: 0,
3359
3366
  class: "view-mode"
3360
3367
  };
3361
- const _hoisted_2$Z = ["textContent"];
3368
+ const _hoisted_2$_ = ["textContent"];
3362
3369
  const _hoisted_3$B = {
3363
3370
  key: 1,
3364
3371
  class: "input-area"
3365
3372
  };
3366
3373
  const _hoisted_4$l = ["id", "autocomplete", "disabled", "maxlength", "name", "tabindex", "value"];
3367
- const _sfc_main$1u = /* @__PURE__ */ defineComponent({
3374
+ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
3368
3375
  __name: "BSNumberInput",
3369
3376
  props: {
3370
3377
  id: {},
@@ -3479,7 +3486,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
3479
3486
  class: normalizeClass([{ required: _ctx.required, disabled: _ctx.disabled, modified: modified.value, error: unref(errors).length > 0 }, "bs-number-input"]),
3480
3487
  style: normalizeStyle({ width: _ctx.width })
3481
3488
  }, [
3482
- _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1e, [
3489
+ _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1f, [
3483
3490
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(componentUtil).toMultiLangTextArray(_ctx.prefix), (text) => {
3484
3491
  return withDirectives((openBlock(), createElementBlock("span", {
3485
3492
  key: JSON.stringify(text),
@@ -3490,7 +3497,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
3490
3497
  }), 128)),
3491
3498
  createElementVNode("span", {
3492
3499
  textContent: toDisplayString(_ctx.formatInViewMode ? formattedStringValue.value : unref(stringValue))
3493
- }, null, 8, _hoisted_2$Z),
3500
+ }, null, 8, _hoisted_2$_),
3494
3501
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(componentUtil).toMultiLangTextArray(_ctx.suffix), (text) => {
3495
3502
  return withDirectives((openBlock(), createElementBlock("span", {
3496
3503
  key: JSON.stringify(text),
@@ -3536,7 +3543,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
3536
3543
  ]);
3537
3544
  }), 128))
3538
3545
  ])),
3539
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
3546
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
3540
3547
  key: 2,
3541
3548
  errors: unref(errors),
3542
3549
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
@@ -3545,11 +3552,11 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
3545
3552
  };
3546
3553
  }
3547
3554
  });
3548
- const _hoisted_1$1d = {
3555
+ const _hoisted_1$1e = {
3549
3556
  key: 0,
3550
3557
  class: "view-mode"
3551
3558
  };
3552
- const _hoisted_2$Y = ["textContent"];
3559
+ const _hoisted_2$Z = ["textContent"];
3553
3560
  const _hoisted_3$A = ["textContent"];
3554
3561
  const _hoisted_4$k = {
3555
3562
  key: 1,
@@ -3557,7 +3564,7 @@ const _hoisted_4$k = {
3557
3564
  };
3558
3565
  const _hoisted_5$b = ["id", "autocomplete", "disabled", "maxlength", "name", "tabindex", "value"];
3559
3566
  const _hoisted_6$8 = ["textContent"];
3560
- const _sfc_main$1t = /* @__PURE__ */ defineComponent({
3567
+ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
3561
3568
  __name: "BSPriceInput",
3562
3569
  props: {
3563
3570
  id: {},
@@ -3681,11 +3688,11 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
3681
3688
  class: normalizeClass([{ required: _ctx.required, disabled: _ctx.disabled, modified: modified.value, error: unref(errors).length > 0 }, "bs-price-input"]),
3682
3689
  style: normalizeStyle({ width: _ctx.width })
3683
3690
  }, [
3684
- _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1d, [
3691
+ _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1e, [
3685
3692
  createElementVNode("span", {
3686
3693
  class: "price mr-4",
3687
3694
  textContent: toDisplayString(_ctx.formatInViewMode ? formattedStringValue.value : unref(stringValue))
3688
- }, null, 8, _hoisted_2$Y),
3695
+ }, null, 8, _hoisted_2$Z),
3689
3696
  suffixText.value ? (openBlock(), createElementBlock("span", {
3690
3697
  key: 0,
3691
3698
  class: "currency-code",
@@ -3717,7 +3724,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
3717
3724
  textContent: toDisplayString(suffixText.value)
3718
3725
  }, null, 8, _hoisted_6$8)) : createCommentVNode("", true)
3719
3726
  ])),
3720
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
3727
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
3721
3728
  key: 2,
3722
3729
  errors: unref(errors),
3723
3730
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
@@ -3726,7 +3733,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
3726
3733
  };
3727
3734
  }
3728
3735
  });
3729
- const _sfc_main$1s = /* @__PURE__ */ defineComponent({
3736
+ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
3730
3737
  __name: "BSPercentInput",
3731
3738
  props: /* @__PURE__ */ mergeModels({
3732
3739
  id: {},
@@ -3774,7 +3781,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
3774
3781
  const percentMaxValue = computed(() => props.maxValue !== void 0 ? Number((props.maxValue * 100).toFixed(props.maxDecimalPlaces)) : void 0);
3775
3782
  const percentMinValue = computed(() => props.minValue !== void 0 ? Number((props.minValue * 100).toFixed(props.maxDecimalPlaces)) : void 0);
3776
3783
  return (_ctx, _cache) => {
3777
- return openBlock(), createBlock(_sfc_main$1u, {
3784
+ return openBlock(), createBlock(_sfc_main$1v, {
3778
3785
  id: _ctx.id,
3779
3786
  autocomplete: _ctx.autocomplete,
3780
3787
  disabled: _ctx.disabled,
@@ -3987,16 +3994,16 @@ const NAMED_COLORS = {
3987
3994
  yellow: "#FFFF00",
3988
3995
  yellowgreen: "#9ACD32"
3989
3996
  };
3990
- const _hoisted_1$1c = {
3997
+ const _hoisted_1$1d = {
3991
3998
  key: 0,
3992
3999
  class: "bs-layout-horizontal gap-4 align-items-center view-mode"
3993
4000
  };
3994
- const _hoisted_2$X = {
4001
+ const _hoisted_2$Y = {
3995
4002
  key: 1,
3996
4003
  class: "bs-layout-horizontal-inline"
3997
4004
  };
3998
4005
  const _hoisted_3$z = ["data-field-name", "disabled", "tabindex", "value"];
3999
- const _sfc_main$1r = /* @__PURE__ */ defineComponent({
4006
+ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
4000
4007
  __name: "BSColorInput",
4001
4008
  props: {
4002
4009
  id: {},
@@ -4089,13 +4096,13 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
4089
4096
  return openBlock(), createElementBlock("div", {
4090
4097
  class: normalizeClass([{ required: _ctx.required, disabled: _ctx.disabled, modified: modified.value, error: unref(errors).length > 0 }, "bs-color-input bs-layout-vertical-inline"])
4091
4098
  }, [
4092
- _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1c, [
4099
+ _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1d, [
4093
4100
  createElementVNode("span", {
4094
4101
  style: normalizeStyle({ "background-color": unref(stringValue) }),
4095
4102
  class: "color-preview"
4096
4103
  }, null, 4),
4097
4104
  createElementVNode("span", null, toDisplayString(unref(stringValue)), 1)
4098
- ])) : (openBlock(), createElementBlock("div", _hoisted_2$X, [
4105
+ ])) : (openBlock(), createElementBlock("div", _hoisted_2$Y, [
4099
4106
  createElementVNode("input", {
4100
4107
  ref_key: "field",
4101
4108
  ref: field,
@@ -4107,7 +4114,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
4107
4114
  onChange: updateColorValue,
4108
4115
  onInput: normalizeColorValue
4109
4116
  }, null, 40, _hoisted_3$z),
4110
- createVNode(_sfc_main$1D, {
4117
+ createVNode(_sfc_main$1E, {
4111
4118
  modelValue: unref(stringValue),
4112
4119
  "onUpdate:modelValue": [
4113
4120
  _cache[0] || (_cache[0] = ($event) => isRef(stringValue) ? stringValue.value = $event : null),
@@ -4122,7 +4129,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
4122
4129
  "ignore-save-point": ""
4123
4130
  }, null, 8, ["modelValue", "autocomplete", "disabled", "name", "tabindex", "view-mode", "width"])
4124
4131
  ])),
4125
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
4132
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
4126
4133
  key: 2,
4127
4134
  errors: unref(errors),
4128
4135
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
@@ -4189,9 +4196,9 @@ const checkDateMinMaxValue = (value, inputFormat, endTime, resolution, inputTime
4189
4196
  const normalizeDateInput = (value) => {
4190
4197
  return value.replace(/[^\d-]/g, "");
4191
4198
  };
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({
4199
+ const _hoisted_1$1c = { class: "bs-layout-vertical px-16 py-8" };
4200
+ const _hoisted_2$X = { class: "bs-layout-horizontal justify-content-center align-items-center gap-8 mt-8 mb-8" };
4201
+ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
4195
4202
  __name: "BSDateInputPopup",
4196
4203
  props: {
4197
4204
  modelValue: {},
@@ -4218,7 +4225,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
4218
4225
  emit("close");
4219
4226
  };
4220
4227
  return (_ctx, _cache) => {
4221
- return openBlock(), createBlock(_sfc_main$1K, {
4228
+ return openBlock(), createBlock(_sfc_main$1L, {
4222
4229
  "base-element": _ctx.baseElement,
4223
4230
  "popup-align": _ctx.popupAlign,
4224
4231
  "popup-direction": _ctx.popupDirection,
@@ -4228,8 +4235,8 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
4228
4235
  }, ["stop"]))
4229
4236
  }, {
4230
4237
  default: withCtx(() => [
4231
- createElementVNode("div", _hoisted_1$1b, [
4232
- createVNode(_sfc_main$1w, {
4238
+ createElementVNode("div", _hoisted_1$1c, [
4239
+ createVNode(_sfc_main$1x, {
4233
4240
  modelValue: date.value,
4234
4241
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => date.value = $event),
4235
4242
  "display-format": _ctx.displayFormat,
@@ -4239,7 +4246,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
4239
4246
  "start-year": _ctx.selectStartYear,
4240
4247
  "time-zone": _ctx.timeZone
4241
4248
  }, null, 8, ["modelValue", "display-format", "end-year", "hide-extra-date", "resolution", "start-year", "time-zone"]),
4242
- createElementVNode("div", _hoisted_2$W, [
4249
+ createElementVNode("div", _hoisted_2$X, [
4243
4250
  createVNode(BSButton, {
4244
4251
  caption: { key: "bs.ok" },
4245
4252
  "button-color": "blue",
@@ -4259,16 +4266,16 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
4259
4266
  };
4260
4267
  }
4261
4268
  });
4262
- const _hoisted_1$1a = {
4269
+ const _hoisted_1$1b = {
4263
4270
  key: 0,
4264
4271
  class: "view-mode"
4265
4272
  };
4266
- const _hoisted_2$V = {
4273
+ const _hoisted_2$W = {
4267
4274
  key: 1,
4268
4275
  class: "input-area"
4269
4276
  };
4270
4277
  const _hoisted_3$y = ["id", "disabled", "maxlength", "name", "tabindex", "value"];
4271
- const _sfc_main$1p = /* @__PURE__ */ defineComponent({
4278
+ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
4272
4279
  __name: "BSDateInput",
4273
4280
  props: {
4274
4281
  id: {},
@@ -4435,9 +4442,9 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
4435
4442
  style: normalizeStyle({ width: _ctx.width }),
4436
4443
  onKeydown: _cache[2] || (_cache[2] = withKeys(withModifiers(() => togglePopup(false), ["stop", "prevent"]), ["esc"]))
4437
4444
  }, [
4438
- _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1a, [
4445
+ _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1b, [
4439
4446
  createElementVNode("span", null, toDisplayString(viewModeValue.value), 1)
4440
- ])) : (openBlock(), createElementBlock("div", _hoisted_2$V, [
4447
+ ])) : (openBlock(), createElementBlock("div", _hoisted_2$W, [
4441
4448
  createElementVNode("span", {
4442
4449
  class: normalizeClass([{ "bs-clickable": !_ctx.disabled }, "font-icon"]),
4443
4450
  onClick: _cache[0] || (_cache[0] = ($event) => togglePopup())
@@ -4474,12 +4481,12 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
4474
4481
  ]);
4475
4482
  }), 128))
4476
4483
  ], 2)) : createCommentVNode("", true),
4477
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
4484
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
4478
4485
  key: 3,
4479
4486
  errors: unref(errors),
4480
4487
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
4481
4488
  }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true),
4482
- showPopup.value ? (openBlock(), createBlock(_sfc_main$1q, {
4489
+ showPopup.value ? (openBlock(), createBlock(_sfc_main$1r, {
4483
4490
  key: 4,
4484
4491
  "base-element": unref(rootRef),
4485
4492
  "display-format": _ctx.displayFormat,
@@ -4500,9 +4507,9 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
4500
4507
  };
4501
4508
  }
4502
4509
  });
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({
4510
+ const _hoisted_1$1a = { class: "bs-layout-vertical px-16 py-8" };
4511
+ const _hoisted_2$V = { class: "bs-layout-horizontal justify-content-end align-items-center gap-8 mt-16 mb-8" };
4512
+ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
4506
4513
  __name: "BSDateRangeInputPopup",
4507
4514
  props: {
4508
4515
  from: {},
@@ -4532,7 +4539,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
4532
4539
  emit("close");
4533
4540
  };
4534
4541
  return (_ctx, _cache) => {
4535
- return openBlock(), createBlock(_sfc_main$1K, {
4542
+ return openBlock(), createBlock(_sfc_main$1L, {
4536
4543
  "base-element": _ctx.baseElement,
4537
4544
  "max-height": "auto",
4538
4545
  onRequestClose: close2,
@@ -4540,8 +4547,8 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
4540
4547
  }, ["stop"]))
4541
4548
  }, {
4542
4549
  default: withCtx(() => [
4543
- createElementVNode("div", _hoisted_1$19, [
4544
- createVNode(_sfc_main$1v, {
4550
+ createElementVNode("div", _hoisted_1$1a, [
4551
+ createVNode(_sfc_main$1w, {
4545
4552
  from: fromValue.value,
4546
4553
  "onUpdate:from": _cache[0] || (_cache[0] = ($event) => fromValue.value = $event),
4547
4554
  to: toValue.value,
@@ -4555,7 +4562,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
4555
4562
  "start-year": _ctx.selectStartYear,
4556
4563
  "time-zone": _ctx.timeZone
4557
4564
  }, 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, [
4565
+ createElementVNode("div", _hoisted_2$V, [
4559
4566
  createVNode(BSButton, {
4560
4567
  caption: { key: "bs.ok" },
4561
4568
  "button-color": "blue",
@@ -4575,17 +4582,17 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
4575
4582
  };
4576
4583
  }
4577
4584
  });
4578
- const _hoisted_1$18 = {
4585
+ const _hoisted_1$19 = {
4579
4586
  key: 0,
4580
4587
  class: "view-mode"
4581
4588
  };
4582
- const _hoisted_2$T = {
4589
+ const _hoisted_2$U = {
4583
4590
  key: 1,
4584
4591
  class: "input-area"
4585
4592
  };
4586
4593
  const _hoisted_3$x = ["id", "disabled", "maxlength", "name", "tabindex", "value"];
4587
4594
  const _hoisted_4$j = ["id", "disabled", "maxlength", "name", "tabindex", "value"];
4588
- const _sfc_main$1n = /* @__PURE__ */ defineComponent({
4595
+ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
4589
4596
  __name: "BSDateRange",
4590
4597
  props: {
4591
4598
  idFrom: {},
@@ -4885,9 +4892,9 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
4885
4892
  style: normalizeStyle({ width: _ctx.width }),
4886
4893
  onKeydown: _cache[2] || (_cache[2] = withKeys(withModifiers(() => togglePopup(false), ["stop", "prevent"]), ["esc"]))
4887
4894
  }, [
4888
- _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$18, [
4895
+ _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$19, [
4889
4896
  createElementVNode("span", null, toDisplayString(formattedDateRange.value), 1)
4890
- ])) : (openBlock(), createElementBlock("div", _hoisted_2$T, [
4897
+ ])) : (openBlock(), createElementBlock("div", _hoisted_2$U, [
4891
4898
  createElementVNode("span", {
4892
4899
  class: normalizeClass([{ "bs-clickable": !disabled.value }, "font-icon"]),
4893
4900
  onClick: _cache[0] || (_cache[0] = () => togglePopup())
@@ -4943,12 +4950,12 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
4943
4950
  ]);
4944
4951
  }), 128))
4945
4952
  ], 2)) : createCommentVNode("", true),
4946
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
4953
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
4947
4954
  key: 3,
4948
4955
  errors: errors.value,
4949
4956
  "hide-error-message": _ctx.hideErrorMessage || disabled.value && !_ctx.showErrorMessageOnDisabled
4950
4957
  }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true),
4951
- showPopup.value ? (openBlock(), createBlock(_sfc_main$1o, {
4958
+ showPopup.value ? (openBlock(), createBlock(_sfc_main$1p, {
4952
4959
  key: 4,
4953
4960
  "base-element": unref(rootRef),
4954
4961
  "disabled-from": _ctx.disabledFrom,
@@ -5044,8 +5051,8 @@ const resolveYearsAgo = (years, from2, timeZone, baseDate) => {
5044
5051
  const today = dayjs().tz(timeZone);
5045
5052
  return from2 ? today.add(-years, "year").startOf("year") : today.add(-years, "year").endOf("year");
5046
5053
  };
5047
- const _hoisted_1$17 = ["id", "checked", "disabled", "name", "tabindex"];
5048
- const _hoisted_2$S = ["for"];
5054
+ const _hoisted_1$18 = ["id", "checked", "disabled", "name", "tabindex"];
5055
+ const _hoisted_2$T = ["for"];
5049
5056
  const _hoisted_3$w = {
5050
5057
  key: 0,
5051
5058
  class: "font-icon"
@@ -5055,7 +5062,7 @@ const _hoisted_4$i = {
5055
5062
  class: "text-label"
5056
5063
  };
5057
5064
  const _hoisted_5$a = ["for"];
5058
- const _sfc_main$1m = /* @__PURE__ */ defineComponent({
5065
+ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
5059
5066
  __name: "BSRadioButton",
5060
5067
  props: {
5061
5068
  id: { default: () => componentUtil.generateNextId("radio") },
@@ -5098,13 +5105,13 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
5098
5105
  class: "",
5099
5106
  role: "radio",
5100
5107
  type: "radio"
5101
- }, toHandlers(handlers2, true)), null, 16, _hoisted_1$17),
5108
+ }, toHandlers(handlers2, true)), null, 16, _hoisted_1$18),
5102
5109
  createElementVNode("label", { for: _ctx.id }, [
5103
5110
  _ctx.icon ? (openBlock(), createElementBlock("span", _hoisted_3$w, toDisplayString(_ctx.icon), 1)) : createCommentVNode("", true),
5104
5111
  _ctx.label ? withDirectives((openBlock(), createElementBlock("span", _hoisted_4$i, null, 512)), [
5105
5112
  [unref(vT), _ctx.label]
5106
5113
  ]) : createCommentVNode("", true)
5107
- ], 8, _hoisted_2$S),
5114
+ ], 8, _hoisted_2$T),
5108
5115
  hasLabelSlot.value ? (openBlock(), createElementBlock("label", {
5109
5116
  key: 0,
5110
5117
  for: _ctx.id,
@@ -5116,14 +5123,14 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
5116
5123
  };
5117
5124
  }
5118
5125
  });
5119
- const _hoisted_1$16 = ["data-field-name"];
5120
- const _hoisted_2$R = { key: 0 };
5126
+ const _hoisted_1$17 = ["data-field-name"];
5127
+ const _hoisted_2$S = { key: 0 };
5121
5128
  const _hoisted_3$v = {
5122
5129
  key: 1,
5123
5130
  class: "radio-button-group",
5124
5131
  role: "radiogroup"
5125
5132
  };
5126
- const _sfc_main$1l = /* @__PURE__ */ defineComponent({
5133
+ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
5127
5134
  __name: "BSRadioButtonGroup",
5128
5135
  props: {
5129
5136
  name: { default: () => componentUtil.generateNextName("radioGroup") },
@@ -5203,12 +5210,12 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
5203
5210
  class: normalizeClass([{ required: _ctx.required, disabled: _ctx.disabled, modified: modified.value, error: unref(errors).length > 0 }, "bs-radio-button-group"]),
5204
5211
  "data-field-name": _ctx.name
5205
5212
  }, [
5206
- _ctx.viewMode ? withDirectives((openBlock(), createElementBlock("div", _hoisted_2$R, null, 512)), [
5213
+ _ctx.viewMode ? withDirectives((openBlock(), createElementBlock("div", _hoisted_2$S, null, 512)), [
5207
5214
  [unref(vT), modelValueLabel.value]
5208
5215
  ]) : (openBlock(), createElementBlock("div", _hoisted_3$v, [
5209
5216
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.items, (item) => {
5210
5217
  var _a2, _b;
5211
- return withDirectives((openBlock(), createBlock(_sfc_main$1m, {
5218
+ return withDirectives((openBlock(), createBlock(_sfc_main$1n, {
5212
5219
  key: itemKey(item),
5213
5220
  disabled: _ctx.disabled || isDisabledItem(item),
5214
5221
  icon: (_a2 = _ctx.iconProvider) == null ? void 0 : _a2.call(_ctx, item),
@@ -5223,16 +5230,16 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
5223
5230
  ]);
5224
5231
  }), 128))
5225
5232
  ])),
5226
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
5233
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
5227
5234
  key: 2,
5228
5235
  errors: unref(errors),
5229
5236
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
5230
5237
  }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true)
5231
- ], 10, _hoisted_1$16);
5238
+ ], 10, _hoisted_1$17);
5232
5239
  };
5233
5240
  }
5234
5241
  });
5235
- const _sfc_main$1k = /* @__PURE__ */ defineComponent({
5242
+ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
5236
5243
  __name: "BSDateRangePresets",
5237
5244
  props: {
5238
5245
  modelValue: {},
@@ -5266,7 +5273,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
5266
5273
  { immediate: true }
5267
5274
  );
5268
5275
  return (_ctx, _cache) => {
5269
- return _ctx.presets && _ctx.presets.length > 0 ? (openBlock(), createBlock(_sfc_main$1l, {
5276
+ return _ctx.presets && _ctx.presets.length > 0 ? (openBlock(), createBlock(_sfc_main$1m, {
5270
5277
  key: 0,
5271
5278
  modelValue: currentPreset.value,
5272
5279
  "onUpdate:modelValue": [
@@ -5281,10 +5288,10 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
5281
5288
  };
5282
5289
  }
5283
5290
  });
5284
- const _hoisted_1$15 = ["id", "checked", "disabled", "name", "tabindex"];
5285
- const _hoisted_2$Q = ["for"];
5291
+ const _hoisted_1$16 = ["id", "checked", "disabled", "name", "tabindex"];
5292
+ const _hoisted_2$R = ["for"];
5286
5293
  const _hoisted_3$u = ["for"];
5287
- const _sfc_main$1j = /* @__PURE__ */ defineComponent({
5294
+ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
5288
5295
  __name: "BSCheckbox",
5289
5296
  props: {
5290
5297
  id: { default: () => componentUtil.generateNextId("checkbox") },
@@ -5340,12 +5347,12 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
5340
5347
  tabindex: _ctx.tabindex,
5341
5348
  class: "",
5342
5349
  type: "checkbox"
5343
- }, toHandlers(handlers2, true)), null, 16, _hoisted_1$15),
5350
+ }, toHandlers(handlers2, true)), null, 16, _hoisted_1$16),
5344
5351
  _ctx.label ? withDirectives((openBlock(), createElementBlock("label", {
5345
5352
  key: 0,
5346
5353
  for: _ctx.id,
5347
5354
  class: "text-label"
5348
- }, null, 8, _hoisted_2$Q)), [
5355
+ }, null, 8, _hoisted_2$R)), [
5349
5356
  [unref(vT), _ctx.label]
5350
5357
  ]) : createCommentVNode("", true),
5351
5358
  hasLabelSlot.value ? (openBlock(), createElementBlock("label", {
@@ -5359,10 +5366,10 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
5359
5366
  };
5360
5367
  }
5361
5368
  });
5362
- const _hoisted_1$14 = ["data-field-name"];
5363
- const _hoisted_2$P = { class: "items" };
5369
+ const _hoisted_1$15 = ["data-field-name"];
5370
+ const _hoisted_2$Q = { class: "items" };
5364
5371
  const _hoisted_3$t = ["textContent"];
5365
- const _sfc_main$1i = /* @__PURE__ */ defineComponent({
5372
+ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
5366
5373
  __name: "BSCheckboxGroup",
5367
5374
  props: {
5368
5375
  name: {},
@@ -5468,13 +5475,13 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
5468
5475
  "data-field-name": _ctx.name,
5469
5476
  role: "group"
5470
5477
  }, [
5471
- createElementVNode("div", _hoisted_2$P, [
5478
+ createElementVNode("div", _hoisted_2$Q, [
5472
5479
  _ctx.viewMode ? (openBlock(), createElementBlock("div", {
5473
5480
  key: 0,
5474
5481
  class: "view-mode",
5475
5482
  textContent: toDisplayString(modelValueLabels.value)
5476
5483
  }, null, 8, _hoisted_3$t)) : (openBlock(true), createElementBlock(Fragment$1, { key: 1 }, renderList(_ctx.items, (item) => {
5477
- return openBlock(), createBlock(_sfc_main$1j, {
5484
+ return openBlock(), createBlock(_sfc_main$1k, {
5478
5485
  key: itemKey(item),
5479
5486
  disabled: _ctx.disabled || isDisabledItem(item),
5480
5487
  label: itemLabel(item),
@@ -5486,16 +5493,16 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
5486
5493
  }, null, 8, ["disabled", "label", "model-value", "name", "tabindex", "onUpdate:modelValue"]);
5487
5494
  }), 128))
5488
5495
  ]),
5489
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
5496
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
5490
5497
  key: 0,
5491
5498
  errors: unref(errors),
5492
5499
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
5493
5500
  }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true)
5494
- ], 10, _hoisted_1$14);
5501
+ ], 10, _hoisted_1$15);
5495
5502
  };
5496
5503
  }
5497
5504
  });
5498
- const _sfc_main$1h = /* @__PURE__ */ defineComponent({
5505
+ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
5499
5506
  __name: "BSYesNoGroup",
5500
5507
  props: {
5501
5508
  name: { default: () => componentUtil.generateNextName("yesNoGroup") },
@@ -5528,7 +5535,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
5528
5535
  emit("update:modelValue", value2 === void 0 ? void 0 : value2 === "Y");
5529
5536
  };
5530
5537
  return (_ctx, _cache) => {
5531
- return openBlock(), createBlock(_sfc_main$1l, {
5538
+ return openBlock(), createBlock(_sfc_main$1m, {
5532
5539
  disabled: _ctx.disabled,
5533
5540
  "hide-error-message": _ctx.hideErrorMessage,
5534
5541
  "ignore-save-point": _ctx.ignoreSavePoint,
@@ -5545,8 +5552,8 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
5545
5552
  };
5546
5553
  }
5547
5554
  });
5548
- const _hoisted_1$13 = ["tabindex", "onKeydown"];
5549
- const _hoisted_2$O = { key: 0 };
5555
+ const _hoisted_1$14 = ["tabindex", "onKeydown"];
5556
+ const _hoisted_2$P = { key: 0 };
5550
5557
  const _hoisted_3$s = {
5551
5558
  key: 0,
5552
5559
  class: "label"
@@ -5568,7 +5575,7 @@ const _hoisted_8$2 = {
5568
5575
  key: 2,
5569
5576
  class: "small-progress"
5570
5577
  };
5571
- const _sfc_main$1g = /* @__PURE__ */ defineComponent({
5578
+ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
5572
5579
  __name: "BSMultiSelect",
5573
5580
  props: {
5574
5581
  modelValue: { default: () => [] },
@@ -5693,7 +5700,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
5693
5700
  _cache[4] || (_cache[4] = withKeys(($event) => togglePopup(false), ["tab"]))
5694
5701
  ]
5695
5702
  }, [
5696
- _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_2$O, [
5703
+ _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_2$P, [
5697
5704
  _ctx.selectedLabelProvider ? withDirectives((openBlock(), createElementBlock("span", _hoisted_3$s, null, 512)), [
5698
5705
  [unref(vT), _ctx.selectedLabelProvider(selectedItems.value)]
5699
5706
  ]) : (openBlock(true), createElementBlock(Fragment$1, { key: 1 }, renderList(selectedItems.value, (item) => {
@@ -5729,7 +5736,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
5729
5736
  _cache[5] || (_cache[5] = createElementVNode("span", { class: "dropdown-btn" }, "expand_more", -1)),
5730
5737
  loadingItems.value ? (openBlock(), createElementBlock("span", _hoisted_8$2, "progress_activity")) : createCommentVNode("", true)
5731
5738
  ], 8, _hoisted_4$h),
5732
- !_ctx.disabled && showPopup.value ? (openBlock(), createBlock(_sfc_main$1J, {
5739
+ !_ctx.disabled && showPopup.value ? (openBlock(), createBlock(_sfc_main$1K, {
5733
5740
  key: 0,
5734
5741
  ref_key: "selectPopup",
5735
5742
  ref: selectPopup,
@@ -5748,12 +5755,12 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
5748
5755
  onRequestClose: _cache[0] || (_cache[0] = ($event) => togglePopup(false))
5749
5756
  }, 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
5757
  ], 64)),
5751
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
5758
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
5752
5759
  key: 2,
5753
5760
  errors: unref(errors),
5754
5761
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
5755
5762
  }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true)
5756
- ], 42, _hoisted_1$13)), [
5763
+ ], 42, _hoisted_1$14)), [
5757
5764
  [unref(vClickOutside), () => togglePopup(false)]
5758
5765
  ]);
5759
5766
  };
@@ -5914,8 +5921,8 @@ const vTreeRowDrop = {
5914
5921
  }
5915
5922
  }
5916
5923
  };
5917
- const _hoisted_1$12 = ["textContent"];
5918
- const _hoisted_2$N = {
5924
+ const _hoisted_1$13 = ["textContent"];
5925
+ const _hoisted_2$O = {
5919
5926
  key: 1,
5920
5927
  class: "font-icon w-16 text-gray-400"
5921
5928
  };
@@ -5927,7 +5934,7 @@ const _hoisted_4$g = {
5927
5934
  key: 0,
5928
5935
  class: "child-rows"
5929
5936
  };
5930
- const _sfc_main$1f = /* @__PURE__ */ defineComponent({
5937
+ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
5931
5938
  __name: "BSTreeRow",
5932
5939
  props: {
5933
5940
  row: {},
@@ -6038,8 +6045,8 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
6038
6045
  class: "bs-clickable font-icon",
6039
6046
  onClick: _cache[0] || (_cache[0] = ($event) => selectRow($event, true)),
6040
6047
  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),
6048
+ }, null, 8, _hoisted_1$13)) : createCommentVNode("", true),
6049
+ _ctx.iconProvider ? (openBlock(), createElementBlock("span", _hoisted_2$O, toDisplayString(icon.value || ""), 1)) : createCommentVNode("", true),
6043
6050
  withDirectives(createElementVNode("span", {
6044
6051
  class: "caption",
6045
6052
  onClick: _cache[1] || (_cache[1] = ($event) => selectRow($event, $event.shiftKey)),
@@ -6091,7 +6098,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
6091
6098
  };
6092
6099
  }
6093
6100
  });
6094
- const _sfc_main$1e = /* @__PURE__ */ defineComponent({
6101
+ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
6095
6102
  __name: "BSTree",
6096
6103
  props: {
6097
6104
  data: {},
@@ -6247,7 +6254,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
6247
6254
  class: "tree-wrap"
6248
6255
  }, [
6249
6256
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.data, (item) => {
6250
- return openBlock(), createBlock(_sfc_main$1f, {
6257
+ return openBlock(), createBlock(_sfc_main$1g, {
6251
6258
  key: _ctx.keyProvider(item),
6252
6259
  "children-provider": _ctx.childrenProvider,
6253
6260
  "disabled-provider": _ctx.rowDisabledProvider,
@@ -6336,7 +6343,7 @@ class BSModal {
6336
6343
  }
6337
6344
  openAlert(title, message, clickHandler2) {
6338
6345
  const option = {
6339
- component: defineAsyncComponent(() => import("./BSAlertModal-CCdaoT-g.js")),
6346
+ component: defineAsyncComponent(() => import("./BSAlertModal-BpbJuAe1.js")),
6340
6347
  bind: {
6341
6348
  title,
6342
6349
  message
@@ -6349,7 +6356,7 @@ class BSModal {
6349
6356
  }
6350
6357
  openYesNo(title, message, yesHandler, noHandler) {
6351
6358
  const option = {
6352
- component: defineAsyncComponent(() => import("./BSYesNoModal-BljzNd5_.js")),
6359
+ component: defineAsyncComponent(() => import("./BSYesNoModal-CHbktVAj.js")),
6353
6360
  bind: {
6354
6361
  title,
6355
6362
  message
@@ -6764,8 +6771,8 @@ class TreeSortOrderChangeDetector {
6764
6771
  });
6765
6772
  }
6766
6773
  }
6767
- const _hoisted_1$11 = ["tabindex", "onKeydown"];
6768
- const _hoisted_2$M = { key: 0 };
6774
+ const _hoisted_1$12 = ["tabindex", "onKeydown"];
6775
+ const _hoisted_2$N = { key: 0 };
6769
6776
  const _hoisted_3$q = ["data-field-name"];
6770
6777
  const _hoisted_4$f = {
6771
6778
  key: 0,
@@ -6779,7 +6786,7 @@ const _hoisted_6$6 = {
6779
6786
  key: 2,
6780
6787
  class: "small-progress"
6781
6788
  };
6782
- const _sfc_main$1d = /* @__PURE__ */ defineComponent({
6789
+ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
6783
6790
  __name: "BSTreeSelect",
6784
6791
  props: {
6785
6792
  modelValue: {},
@@ -6916,7 +6923,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
6916
6923
  _cache[5] || (_cache[5] = withKeys(($event) => togglePopup(false), ["tab"]))
6917
6924
  ]
6918
6925
  }, [
6919
- _ctx.viewMode ? withDirectives((openBlock(), createElementBlock("div", _hoisted_2$M, null, 512)), [
6926
+ _ctx.viewMode ? withDirectives((openBlock(), createElementBlock("div", _hoisted_2$N, null, 512)), [
6920
6927
  [unref(vT), selectedItemLabel.value]
6921
6928
  ]) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
6922
6929
  createElementVNode("div", {
@@ -6934,7 +6941,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
6934
6941
  _cache[6] || (_cache[6] = createElementVNode("span", { class: "dropdown-btn" }, "expand_more", -1)),
6935
6942
  loadingItems.value ? (openBlock(), createElementBlock("span", _hoisted_6$6, "progress_activity")) : createCommentVNode("", true)
6936
6943
  ], 8, _hoisted_3$q),
6937
- showPopup.value ? (openBlock(), createBlock(_sfc_main$1K, {
6944
+ showPopup.value ? (openBlock(), createBlock(_sfc_main$1L, {
6938
6945
  key: 0,
6939
6946
  "base-element": unref(rootRef),
6940
6947
  "max-height": _ctx.popupMaxHeight,
@@ -6946,24 +6953,24 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
6946
6953
  }, ["stop"]))
6947
6954
  }, {
6948
6955
  default: withCtx(() => [
6949
- createVNode(_sfc_main$1e, mergeProps({ "bottom-padding": "0" }, unref(treeHandler).tree, toHandlers(unref(treeHandler).treeEventListener)), null, 16)
6956
+ createVNode(_sfc_main$1f, mergeProps({ "bottom-padding": "0" }, unref(treeHandler).tree, toHandlers(unref(treeHandler).treeEventListener)), null, 16)
6950
6957
  ]),
6951
6958
  _: 1
6952
6959
  }, 8, ["base-element", "max-height", "popup-align", "popup-direction"])) : createCommentVNode("", true),
6953
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
6960
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
6954
6961
  key: 1,
6955
6962
  errors: unref(errors),
6956
6963
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
6957
6964
  }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true)
6958
6965
  ], 64))
6959
- ], 42, _hoisted_1$11)), [
6966
+ ], 42, _hoisted_1$12)), [
6960
6967
  [unref(vClickOutside), () => togglePopup(false)]
6961
6968
  ]);
6962
6969
  };
6963
6970
  }
6964
6971
  });
6965
- const _hoisted_1$10 = ["tabindex", "onKeydown"];
6966
- const _hoisted_2$L = { key: 0 };
6972
+ const _hoisted_1$11 = ["tabindex", "onKeydown"];
6973
+ const _hoisted_2$M = { key: 0 };
6967
6974
  const _hoisted_3$p = ["data-field-name"];
6968
6975
  const _hoisted_4$e = {
6969
6976
  key: 0,
@@ -6977,7 +6984,7 @@ const _hoisted_6$5 = {
6977
6984
  key: 2,
6978
6985
  class: "small-progress"
6979
6986
  };
6980
- const _sfc_main$1c = /* @__PURE__ */ defineComponent({
6987
+ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
6981
6988
  __name: "BSTreeMultiSelect",
6982
6989
  props: {
6983
6990
  modelValue: {},
@@ -7110,7 +7117,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
7110
7117
  _cache[6] || (_cache[6] = withKeys(($event) => togglePopup(false), ["tab"]))
7111
7118
  ]
7112
7119
  }, [
7113
- _ctx.viewMode ? withDirectives((openBlock(), createElementBlock("div", _hoisted_2$L, null, 512)), [
7120
+ _ctx.viewMode ? withDirectives((openBlock(), createElementBlock("div", _hoisted_2$M, null, 512)), [
7114
7121
  [unref(vT), selectedItemLabel.value]
7115
7122
  ]) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
7116
7123
  createElementVNode("div", {
@@ -7128,7 +7135,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
7128
7135
  _cache[7] || (_cache[7] = createElementVNode("span", { class: "dropdown-btn" }, "expand_more", -1)),
7129
7136
  loadingItems.value ? (openBlock(), createElementBlock("span", _hoisted_6$5, "progress_activity")) : createCommentVNode("", true)
7130
7137
  ], 8, _hoisted_3$p),
7131
- showPopup.value ? (openBlock(), createBlock(_sfc_main$1K, {
7138
+ showPopup.value ? (openBlock(), createBlock(_sfc_main$1L, {
7132
7139
  key: 0,
7133
7140
  "base-element": unref(rootRef),
7134
7141
  "max-height": _ctx.popupMaxHeight,
@@ -7140,7 +7147,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
7140
7147
  }, ["stop"]))
7141
7148
  }, {
7142
7149
  default: withCtx(() => [
7143
- createVNode(_sfc_main$1e, mergeProps({
7150
+ createVNode(_sfc_main$1f, mergeProps({
7144
7151
  "bottom-padding": "0",
7145
7152
  "multi-select": "",
7146
7153
  "show-checkbox": ""
@@ -7151,21 +7158,21 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
7151
7158
  ]),
7152
7159
  _: 1
7153
7160
  }, 8, ["base-element", "max-height", "popup-align", "popup-direction"])) : createCommentVNode("", true),
7154
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
7161
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
7155
7162
  key: 1,
7156
7163
  errors: unref(errors),
7157
7164
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
7158
7165
  }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true)
7159
7166
  ], 64))
7160
- ], 42, _hoisted_1$10)), [
7167
+ ], 42, _hoisted_1$11)), [
7161
7168
  [unref(vClickOutside), () => togglePopup(false)]
7162
7169
  ]);
7163
7170
  };
7164
7171
  }
7165
7172
  });
7166
- const _hoisted_1$$ = { class: "bs-popup-select bs-layout-horizontal" };
7167
- const _hoisted_2$K = ["textContent"];
7168
- const _sfc_main$1b = /* @__PURE__ */ defineComponent({
7173
+ const _hoisted_1$10 = { class: "bs-popup-select bs-layout-horizontal" };
7174
+ const _hoisted_2$L = ["textContent"];
7175
+ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
7169
7176
  __name: "BSPopupSelect",
7170
7177
  props: {
7171
7178
  name: {},
@@ -7188,13 +7195,13 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
7188
7195
  emit("click");
7189
7196
  };
7190
7197
  return (_ctx, _cache) => {
7191
- return openBlock(), createElementBlock("div", _hoisted_1$$, [
7198
+ return openBlock(), createElementBlock("div", _hoisted_1$10, [
7192
7199
  _ctx.viewMode ? (openBlock(), createElementBlock("div", {
7193
7200
  key: 0,
7194
7201
  class: "view-mode",
7195
7202
  textContent: toDisplayString(label.value)
7196
- }, null, 8, _hoisted_2$K)) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
7197
- createVNode(_sfc_main$1D, {
7203
+ }, null, 8, _hoisted_2$L)) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
7204
+ createVNode(_sfc_main$1E, {
7198
7205
  "model-value": label.value,
7199
7206
  name: _ctx.name || "",
7200
7207
  disabled: "",
@@ -7211,18 +7218,18 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
7211
7218
  };
7212
7219
  }
7213
7220
  });
7214
- const BSPopupSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-d74fd89c"]]);
7215
- const _hoisted_1$_ = {
7221
+ const BSPopupSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-d74fd89c"]]);
7222
+ const _hoisted_1$$ = {
7216
7223
  key: 0,
7217
7224
  class: "view-mode bs-layout-horizontal gap-8 align-items-start"
7218
7225
  };
7219
- const _hoisted_2$J = ["textContent"];
7226
+ const _hoisted_2$K = ["textContent"];
7220
7227
  const _hoisted_3$o = {
7221
7228
  key: 1,
7222
7229
  class: "input-area bs-layout-horizontal align-items-start"
7223
7230
  };
7224
7231
  const _hoisted_4$d = ["disabled", "maxlength", "name", "tabindex"];
7225
- const _sfc_main$1a = /* @__PURE__ */ defineComponent({
7232
+ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
7226
7233
  __name: "BSTextArea",
7227
7234
  props: {
7228
7235
  id: {},
@@ -7337,7 +7344,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
7337
7344
  class: normalizeClass([{ disabled: _ctx.disabled, modified: modified.value, error: unref(errors).length > 0 }, "bs-text-area"]),
7338
7345
  style: normalizeStyle({ width: outerWidth.value, height: outerHeight.value })
7339
7346
  }, [
7340
- _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$_, [
7347
+ _ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$$, [
7341
7348
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(componentUtil).toMultiLangTextArray(_ctx.prefix), (text) => {
7342
7349
  return withDirectives((openBlock(), createElementBlock("span", {
7343
7350
  key: JSON.stringify(text),
@@ -7348,7 +7355,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
7348
7355
  }), 128)),
7349
7356
  createElementVNode("div", {
7350
7357
  textContent: toDisplayString(unref(stringValue))
7351
- }, null, 8, _hoisted_2$J),
7358
+ }, null, 8, _hoisted_2$K),
7352
7359
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(componentUtil).toMultiLangTextArray(_ctx.suffix), (text) => {
7353
7360
  return withDirectives((openBlock(), createElementBlock("span", {
7354
7361
  key: JSON.stringify(text),
@@ -7396,7 +7403,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
7396
7403
  ]);
7397
7404
  }), 128))
7398
7405
  ])),
7399
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
7406
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
7400
7407
  key: 2,
7401
7408
  errors: unref(errors),
7402
7409
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
@@ -28742,9 +28749,9 @@ const TableRow = Node2.create({
28742
28749
  return ["tr", mergeAttributes(this.options.HTMLAttributes, HTMLAttributes), 0];
28743
28750
  }
28744
28751
  });
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({
28752
+ const _hoisted_1$_ = { class: "tool-button-font-size bs-layout-horizontal align-items-center" };
28753
+ const _hoisted_2$J = ["disabled", "value"];
28754
+ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
28748
28755
  __name: "ToolButtonFontSize",
28749
28756
  props: {
28750
28757
  editor: {},
@@ -28811,7 +28818,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
28811
28818
  props.editor.on("selectionUpdate", refreshFontSize);
28812
28819
  });
28813
28820
  return (_ctx, _cache) => {
28814
- return openBlock(), createElementBlock("div", _hoisted_1$Z, [
28821
+ return openBlock(), createElementBlock("div", _hoisted_1$_, [
28815
28822
  withDirectives((openBlock(), createElementBlock("span", {
28816
28823
  class: normalizeClass([{ "bs-clickable": !_ctx.disabled }, "font-icon"]),
28817
28824
  onClick: decrease
@@ -28830,7 +28837,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
28830
28837
  value: fontSize.value,
28831
28838
  type: "text",
28832
28839
  onChange: setFontSize
28833
- }, null, 40, _hoisted_2$I),
28840
+ }, null, 40, _hoisted_2$J),
28834
28841
  withDirectives((openBlock(), createElementBlock("span", {
28835
28842
  class: normalizeClass([{ "bs-clickable": !_ctx.disabled }, "font-icon"]),
28836
28843
  onClick: increase
@@ -28848,10 +28855,10 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
28848
28855
  };
28849
28856
  }
28850
28857
  });
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({
28858
+ const ToolButtonFontSize = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-ef5774f0"]]);
28859
+ const _hoisted_1$Z = ["title"];
28860
+ const _hoisted_2$I = ["disabled", "value"];
28861
+ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
28855
28862
  __name: "ToolButtonFontColor",
28856
28863
  props: {
28857
28864
  editor: {},
@@ -28883,12 +28890,12 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
28883
28890
  value: color.value,
28884
28891
  type: "color",
28885
28892
  onChange: setColor
28886
- }, null, 40, _hoisted_2$H)
28887
- ], 8, _hoisted_1$Y);
28893
+ }, null, 40, _hoisted_2$I)
28894
+ ], 8, _hoisted_1$Z);
28888
28895
  };
28889
28896
  }
28890
28897
  });
28891
- const ToolButtonFontColor = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-d556d8eb"]]);
28898
+ const ToolButtonFontColor = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-d556d8eb"]]);
28892
28899
  var readFromCache;
28893
28900
  var addToCache;
28894
28901
  if (typeof WeakMap != "undefined") {
@@ -31483,19 +31490,19 @@ const tableContextMenus = (modal, editor) => {
31483
31490
  };
31484
31491
  const showTableProperties = (modal, editor) => {
31485
31492
  modal.openModal({
31486
- component: defineAsyncComponent(() => import("./TablePropertiesModal-BDir2XM5.js")),
31493
+ component: defineAsyncComponent(() => import("./TablePropertiesModal-CfK9i7Q5.js")),
31487
31494
  bind: { editor }
31488
31495
  });
31489
31496
  };
31490
31497
  const insertTable = (modal, editor) => {
31491
31498
  modal.openModal({
31492
- component: defineAsyncComponent(() => import("./TableInsertModal-DWy7cSQz.js")),
31499
+ component: defineAsyncComponent(() => import("./TableInsertModal-CupFfnOG.js")),
31493
31500
  bind: { editor }
31494
31501
  });
31495
31502
  };
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({
31503
+ const _hoisted_1$Y = { class: "bs-layout-horizontal align-items-center" };
31504
+ const _hoisted_2$H = ["title"];
31505
+ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
31499
31506
  __name: "ToolButtonTable",
31500
31507
  props: {
31501
31508
  editor: {},
@@ -31517,17 +31524,17 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
31517
31524
  props.editor.on("selectionUpdate", refreshTable);
31518
31525
  });
31519
31526
  return (_ctx, _cache) => {
31520
- return openBlock(), createElementBlock("div", _hoisted_1$X, [
31527
+ return openBlock(), createElementBlock("div", _hoisted_1$Y, [
31521
31528
  createElementVNode("span", {
31522
31529
  class: normalizeClass([{ "bs-clickable": !_ctx.disabled }, "font-icon"]),
31523
31530
  title: unref(t$1)({ key: "bs.richtext.insertTable" }),
31524
31531
  onClick: doInsertTable
31525
- }, "table", 10, _hoisted_2$G)
31532
+ }, "table", 10, _hoisted_2$H)
31526
31533
  ]);
31527
31534
  };
31528
31535
  }
31529
31536
  });
31530
- const ToolButtonTable = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-537f70be"]]);
31537
+ const ToolButtonTable = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-537f70be"]]);
31531
31538
  const inputRegex = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/;
31532
31539
  const Image$1 = Node2.create({
31533
31540
  name: "image",
@@ -31654,7 +31661,7 @@ const insertImage = (modal, editor) => {
31654
31661
  const component = (_a2 = blueseaConfig.componentConfig.richText) == null ? void 0 : _a2.imageInsertModal;
31655
31662
  if (component) {
31656
31663
  modal.openModal({
31657
- component: defineAsyncComponent(() => import("./ImageInsertModal-wdRGMEHH.js")),
31664
+ component: defineAsyncComponent(() => import("./ImageInsertModal-DQwkQJ8b.js")),
31658
31665
  bind: { editor },
31659
31666
  on: {
31660
31667
  insertImage: (image) => {
@@ -31672,13 +31679,13 @@ const insertImage = (modal, editor) => {
31672
31679
  };
31673
31680
  const showImageProperties = (modal, editor) => {
31674
31681
  modal.openModal({
31675
- component: defineAsyncComponent(() => import("./ImagePropertiesModal-BumfiYFu.js")),
31682
+ component: defineAsyncComponent(() => import("./ImagePropertiesModal-X7blKqTy.js")),
31676
31683
  bind: { editor }
31677
31684
  });
31678
31685
  };
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({
31686
+ const _hoisted_1$X = { class: "bs-layout-horizontal align-items-center" };
31687
+ const _hoisted_2$G = ["title"];
31688
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
31682
31689
  __name: "ToolButtonImage",
31683
31690
  props: {
31684
31691
  editor: {},
@@ -31693,12 +31700,12 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
31693
31700
  }
31694
31701
  };
31695
31702
  return (_ctx, _cache) => {
31696
- return openBlock(), createElementBlock("div", _hoisted_1$W, [
31703
+ return openBlock(), createElementBlock("div", _hoisted_1$X, [
31697
31704
  createElementVNode("span", {
31698
31705
  class: normalizeClass([{ "bs-clickable": !_ctx.disabled }, "font-icon"]),
31699
31706
  title: unref(t$1)({ key: "bs.richtext.insertImage" }),
31700
31707
  onClick: doInsertImage
31701
- }, "image", 10, _hoisted_2$F)
31708
+ }, "image", 10, _hoisted_2$G)
31702
31709
  ]);
31703
31710
  };
31704
31711
  }
@@ -32033,19 +32040,19 @@ const youtubeContextMenu = (modal, editor) => {
32033
32040
  };
32034
32041
  const insertYoutube = (modal, editor) => {
32035
32042
  modal.openModal({
32036
- component: defineAsyncComponent(() => import("./YoutubeInsertModal-CdcIzmFl.js")),
32043
+ component: defineAsyncComponent(() => import("./YoutubeInsertModal-DCn5bhN5.js")),
32037
32044
  bind: { editor }
32038
32045
  });
32039
32046
  };
32040
32047
  const showYoutubeProperties = (modal, editor) => {
32041
32048
  modal.openModal({
32042
- component: defineAsyncComponent(() => import("./YoutubePropertiesModal-CAd6dZ6E.js")),
32049
+ component: defineAsyncComponent(() => import("./YoutubePropertiesModal-Dg-n8cTv.js")),
32043
32050
  bind: { editor }
32044
32051
  });
32045
32052
  };
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({
32053
+ const _hoisted_1$W = { class: "bs-layout-horizontal align-items-center" };
32054
+ const _hoisted_2$F = ["title"];
32055
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
32049
32056
  __name: "ToolButtonYoutube",
32050
32057
  props: {
32051
32058
  editor: {},
@@ -32060,18 +32067,18 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
32060
32067
  }
32061
32068
  };
32062
32069
  return (_ctx, _cache) => {
32063
- return openBlock(), createElementBlock("div", _hoisted_1$V, [
32070
+ return openBlock(), createElementBlock("div", _hoisted_1$W, [
32064
32071
  createElementVNode("span", {
32065
32072
  class: normalizeClass([{ "bs-clickable": !_ctx.disabled }, "font-icon"]),
32066
32073
  title: unref(t$1)({ key: "bs.richtext.insertYoutube" }),
32067
32074
  onClick: doInsertImage
32068
- }, "youtube_activity", 10, _hoisted_2$E)
32075
+ }, "youtube_activity", 10, _hoisted_2$F)
32069
32076
  ]);
32070
32077
  };
32071
32078
  }
32072
32079
  });
32073
- const _hoisted_1$U = ["title"];
32074
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
32080
+ const _hoisted_1$V = ["title"];
32081
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
32075
32082
  __name: "ToolButtonLink",
32076
32083
  props: {
32077
32084
  editor: {},
@@ -32083,7 +32090,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
32083
32090
  const showLinkProperties = () => {
32084
32091
  if (!props.disabled) {
32085
32092
  modal.openModal({
32086
- component: defineAsyncComponent(() => import("./LinkPropertiesModal-C-cq00aG.js")),
32093
+ component: defineAsyncComponent(() => import("./LinkPropertiesModal-DGiiTivW.js")),
32087
32094
  bind: {
32088
32095
  editor: props.editor
32089
32096
  }
@@ -32095,11 +32102,11 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
32095
32102
  class: normalizeClass([{ "bs-clickable": !_ctx.disabled }, "font-icon"]),
32096
32103
  title: unref(t$1)({ key: "bs.link" }),
32097
32104
  onClick: showLinkProperties
32098
- }, " link ", 10, _hoisted_1$U);
32105
+ }, " link ", 10, _hoisted_1$V);
32099
32106
  };
32100
32107
  }
32101
32108
  });
32102
- const _sfc_main$13 = /* @__PURE__ */ defineComponent({
32109
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
32103
32110
  __name: "ToolButtonMaximize",
32104
32111
  props: {
32105
32112
  maximized: { type: Boolean }
@@ -32127,8 +32134,8 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
32127
32134
  };
32128
32135
  }
32129
32136
  });
32130
- const ToolButtonMaximize = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-c1655c12"]]);
32131
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
32137
+ const ToolButtonMaximize = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-c1655c12"]]);
32138
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
32132
32139
  __name: "ToolButtonHeading",
32133
32140
  props: {
32134
32141
  disabled: { type: Boolean },
@@ -32156,7 +32163,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
32156
32163
  }
32157
32164
  };
32158
32165
  return (_ctx, _cache) => {
32159
- return openBlock(), createBlock(_sfc_main$1H, {
32166
+ return openBlock(), createBlock(_sfc_main$1I, {
32160
32167
  disabled: _ctx.disabled,
32161
32168
  items,
32162
32169
  "label-provider": (item) => item.caption,
@@ -32168,8 +32175,8 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
32168
32175
  };
32169
32176
  }
32170
32177
  });
32171
- const _hoisted_1$T = { class: "text-align tool-button-group bs-layout-horizontal" };
32172
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
32178
+ const _hoisted_1$U = { class: "text-align tool-button-group bs-layout-horizontal" };
32179
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
32173
32180
  __name: "ToolButtonTextAlign",
32174
32181
  props: {
32175
32182
  disabled: { type: Boolean },
@@ -32177,7 +32184,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
32177
32184
  },
32178
32185
  setup(__props) {
32179
32186
  return (_ctx, _cache) => {
32180
- return openBlock(), createElementBlock("div", _hoisted_1$T, [
32187
+ return openBlock(), createElementBlock("div", _hoisted_1$U, [
32181
32188
  withDirectives((openBlock(), createElementBlock("div", {
32182
32189
  class: normalizeClass([{ active: _ctx.editor.isActive({ textAlign: "left" }), "bs-clickable": !_ctx.disabled }, "font-icon"]),
32183
32190
  onClick: _cache[0] || (_cache[0] = ($event) => !_ctx.disabled && _ctx.editor.chain().focus().setTextAlign("left").run())
@@ -32221,8 +32228,8 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
32221
32228
  };
32222
32229
  }
32223
32230
  });
32224
- const _hoisted_1$S = { class: "font-style tool-button-group bs-layout-horizontal" };
32225
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
32231
+ const _hoisted_1$T = { class: "font-style tool-button-group bs-layout-horizontal" };
32232
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
32226
32233
  __name: "ToolButtonFontStyle",
32227
32234
  props: {
32228
32235
  disabled: { type: Boolean },
@@ -32230,7 +32237,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
32230
32237
  },
32231
32238
  setup(__props) {
32232
32239
  return (_ctx, _cache) => {
32233
- return openBlock(), createElementBlock("div", _hoisted_1$S, [
32240
+ return openBlock(), createElementBlock("div", _hoisted_1$T, [
32234
32241
  withDirectives((openBlock(), createElementBlock("div", {
32235
32242
  class: normalizeClass([{ active: _ctx.editor.isActive("bold"), "bs-clickable": !_ctx.disabled }, "font-icon"]),
32236
32243
  onClick: _cache[0] || (_cache[0] = ($event) => !_ctx.disabled && _ctx.editor.chain().focus().toggleBold().removeEmptyTextStyle().run())
@@ -32274,8 +32281,8 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
32274
32281
  };
32275
32282
  }
32276
32283
  });
32277
- const _hoisted_1$R = { class: "list-item tool-button-group bs-layout-horizontal" };
32278
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
32284
+ const _hoisted_1$S = { class: "list-item tool-button-group bs-layout-horizontal" };
32285
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
32279
32286
  __name: "ToolButtonListItem",
32280
32287
  props: {
32281
32288
  disabled: { type: Boolean },
@@ -32283,7 +32290,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
32283
32290
  },
32284
32291
  setup(__props) {
32285
32292
  return (_ctx, _cache) => {
32286
- return openBlock(), createElementBlock("div", _hoisted_1$R, [
32293
+ return openBlock(), createElementBlock("div", _hoisted_1$S, [
32287
32294
  withDirectives((openBlock(), createElementBlock("div", {
32288
32295
  class: normalizeClass([{ active: _ctx.editor.isActive("bulletList"), "bs-clickable": !_ctx.disabled }, "font-icon"]),
32289
32296
  onClick: _cache[0] || (_cache[0] = ($event) => !_ctx.disabled && _ctx.editor.chain().focus().toggleBulletList().run())
@@ -32448,7 +32455,7 @@ const insertVideo = (modal, editor) => {
32448
32455
  const component = (_a2 = blueseaConfig.componentConfig.richText) == null ? void 0 : _a2.videoInsertModal;
32449
32456
  if (component) {
32450
32457
  modal.openModal({
32451
- component: defineAsyncComponent(() => import("./VideoInsertModal-s4eT3Ofx.js")),
32458
+ component: defineAsyncComponent(() => import("./VideoInsertModal-BwRRgibx.js")),
32452
32459
  bind: { editor },
32453
32460
  on: {
32454
32461
  insertVideo: (video) => {
@@ -32466,13 +32473,13 @@ const insertVideo = (modal, editor) => {
32466
32473
  };
32467
32474
  const showVideoProperties = (modal, editor) => {
32468
32475
  modal.openModal({
32469
- component: defineAsyncComponent(() => import("./VideoPropertiesModal-zHc0vcQs.js")),
32476
+ component: defineAsyncComponent(() => import("./VideoPropertiesModal-Dn6AzhPy.js")),
32470
32477
  bind: { editor }
32471
32478
  });
32472
32479
  };
32473
- const _hoisted_1$Q = { class: "bs-layout-horizontal align-items-center" };
32474
- const _hoisted_2$D = ["title"];
32475
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
32480
+ const _hoisted_1$R = { class: "bs-layout-horizontal align-items-center" };
32481
+ const _hoisted_2$E = ["title"];
32482
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
32476
32483
  __name: "ToolButtonVideo",
32477
32484
  props: {
32478
32485
  editor: {},
@@ -32487,20 +32494,20 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
32487
32494
  }
32488
32495
  };
32489
32496
  return (_ctx, _cache) => {
32490
- return openBlock(), createElementBlock("div", _hoisted_1$Q, [
32497
+ return openBlock(), createElementBlock("div", _hoisted_1$R, [
32491
32498
  createElementVNode("span", {
32492
32499
  class: normalizeClass([{ "bs-clickable": !_ctx.disabled }, "font-icon"]),
32493
32500
  title: unref(t$1)({ key: "bs.richtext.insertVideo" }),
32494
32501
  onClick: doInsertVideo
32495
- }, "movie", 10, _hoisted_2$D)
32502
+ }, "movie", 10, _hoisted_2$E)
32496
32503
  ]);
32497
32504
  };
32498
32505
  }
32499
32506
  });
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" };
32507
+ const _hoisted_1$Q = { class: "rich-text-toolbar bs-layout-horizontal align-items-center min-w-512" };
32508
+ const _hoisted_2$D = { class: "bs-layout-horizontal flex-grow-1 h-full gap-4 left-buttons" };
32502
32509
  const _hoisted_3$n = { class: "bs-layout-horizontal right-buttons" };
32503
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
32510
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
32504
32511
  __name: "RichTextToolbar",
32505
32512
  props: {
32506
32513
  editor: {},
@@ -32515,27 +32522,27 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
32515
32522
  return props.toolButtons.map((toolButton) => {
32516
32523
  switch (toolButton) {
32517
32524
  case "Heading":
32518
- return _sfc_main$12;
32525
+ return _sfc_main$13;
32519
32526
  case "FontSize":
32520
32527
  return ToolButtonFontSize;
32521
32528
  case "FontColor":
32522
32529
  return ToolButtonFontColor;
32523
32530
  case "FontStyle":
32524
- return _sfc_main$10;
32525
- case "TextAlign":
32526
32531
  return _sfc_main$11;
32532
+ case "TextAlign":
32533
+ return _sfc_main$12;
32527
32534
  case "ListItem":
32528
- return _sfc_main$$;
32535
+ return _sfc_main$10;
32529
32536
  case "Link":
32530
- return _sfc_main$14;
32537
+ return _sfc_main$15;
32531
32538
  case "Table":
32532
32539
  return ToolButtonTable;
32533
32540
  case "Image":
32534
- return _sfc_main$16;
32541
+ return _sfc_main$17;
32535
32542
  case "Video":
32536
- return _sfc_main$_;
32543
+ return _sfc_main$$;
32537
32544
  case "Youtube":
32538
- return _sfc_main$15;
32545
+ return _sfc_main$16;
32539
32546
  default:
32540
32547
  return toolButton;
32541
32548
  }
@@ -32543,8 +32550,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
32543
32550
  });
32544
32551
  const emit = __emit;
32545
32552
  return (_ctx, _cache) => {
32546
- return openBlock(), createElementBlock("div", _hoisted_1$P, [
32547
- createElementVNode("div", _hoisted_2$C, [
32553
+ return openBlock(), createElementBlock("div", _hoisted_1$Q, [
32554
+ createElementVNode("div", _hoisted_2$D, [
32548
32555
  renderSlot(_ctx.$slots, "toolbarPrefix"),
32549
32556
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(toolComponents.value, (toolButton) => {
32550
32557
  return openBlock(), createBlock(resolveDynamicComponent(toolButton), {
@@ -34436,11 +34443,11 @@ const RichTextTableCell = TableCell.extend({
34436
34443
  };
34437
34444
  }
34438
34445
  });
34439
- const _hoisted_1$O = ["innerHTML"];
34440
- const _hoisted_2$B = { class: "editor-container" };
34446
+ const _hoisted_1$P = ["innerHTML"];
34447
+ const _hoisted_2$C = { class: "editor-container" };
34441
34448
  const WRAP_BEGIN = '<div class="rich-text-content">';
34442
34449
  const WRAP_END = "</div>";
34443
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
34450
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
34444
34451
  __name: "BSRichText",
34445
34452
  props: {
34446
34453
  modelValue: { default: "" },
@@ -34644,7 +34651,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
34644
34651
  emit("maximized");
34645
34652
  if (!props.internalMaximized) {
34646
34653
  modal.openModal({
34647
- component: defineAsyncComponent(() => import("./BSRichTextMaximizedModal-Byrr_L8I.js")),
34654
+ component: defineAsyncComponent(() => import("./BSRichTextMaximizedModal-C86Skc5v.js")),
34648
34655
  bind: {
34649
34656
  modelValue: getEditorValue(),
34650
34657
  contentMaxWidth: props.contentMaxWidth,
@@ -34678,7 +34685,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
34678
34685
  key: 0,
34679
34686
  class: "view-mode user-text",
34680
34687
  innerHTML: _ctx.modelValue
34681
- }, null, 8, _hoisted_1$O)) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
34688
+ }, null, 8, _hoisted_1$P)) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
34682
34689
  createElementVNode("div", {
34683
34690
  ref_key: "field",
34684
34691
  ref: field,
@@ -34686,7 +34693,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
34686
34693
  class: "input-area bs-layout-vertical",
34687
34694
  role: "textbox"
34688
34695
  }, [
34689
- unref(editor) ? (openBlock(), createBlock(_sfc_main$Z, {
34696
+ unref(editor) ? (openBlock(), createBlock(_sfc_main$_, {
34690
34697
  key: 0,
34691
34698
  disabled: _ctx.disabled,
34692
34699
  editor: unref(editor),
@@ -34699,7 +34706,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
34699
34706
  ]),
34700
34707
  _: 3
34701
34708
  }, 8, ["disabled", "editor", "maximized", "tool-buttons"])) : createCommentVNode("", true),
34702
- createElementVNode("div", _hoisted_2$B, [
34709
+ createElementVNode("div", _hoisted_2$C, [
34703
34710
  createElementVNode("iframe", {
34704
34711
  ref_key: "iframeRef",
34705
34712
  ref: iframeRef,
@@ -34719,7 +34726,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
34719
34726
  ], 8, ["to"])) : createCommentVNode("", true)
34720
34727
  ])
34721
34728
  ], 4),
34722
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
34729
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
34723
34730
  key: 0,
34724
34731
  errors: unref(errors),
34725
34732
  "hide-error-message": _ctx.hideErrorMessage
@@ -34854,8 +34861,8 @@ const makeFileSizeString = (size) => {
34854
34861
  const kb = size / 1024;
34855
34862
  return mb < 1 ? `${kb.toFixed(kb % 1 === 0 ? 0 : 1)}KB` : `${mb.toFixed(mb % 1 === 0 ? 0 : 1)}MB`;
34856
34863
  };
34857
- const _hoisted_1$N = ["poster"];
34858
- const _hoisted_2$A = ["src"];
34864
+ const _hoisted_1$O = ["poster"];
34865
+ const _hoisted_2$B = ["src"];
34859
34866
  const _hoisted_3$m = ["alt", "src"];
34860
34867
  const _hoisted_4$c = ["alt", "src"];
34861
34868
  const _hoisted_5$6 = ["href"];
@@ -34863,7 +34870,7 @@ const _hoisted_6$4 = {
34863
34870
  key: 7,
34864
34871
  class: "font-icon bottom-2 left-2 button"
34865
34872
  };
34866
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
34873
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
34867
34874
  __name: "BSMediaPreview",
34868
34875
  props: {
34869
34876
  file: {},
@@ -34875,7 +34882,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
34875
34882
  maxWidth: {},
34876
34883
  mediaObjectUrlStore: {}
34877
34884
  },
34878
- emits: ["removeImage", "thumbnailUploaded"],
34885
+ emits: ["removeImage", "thumbnailUploaded", "preview"],
34879
34886
  setup(__props, { emit: __emit }) {
34880
34887
  const props = __props;
34881
34888
  const emit = __emit;
@@ -34946,7 +34953,16 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
34946
34953
  }
34947
34954
  }
34948
34955
  };
34949
- onUnmounted(() => internalMediaObjectUrlStore.revokeAll());
34956
+ const preview = () => {
34957
+ if (props.file.mediaType === "Youtube") {
34958
+ window.open(props.file.fileUrl, "_blank");
34959
+ return;
34960
+ }
34961
+ emit("preview");
34962
+ };
34963
+ onUnmounted(() => {
34964
+ internalMediaObjectUrlStore.revokeAll();
34965
+ });
34950
34966
  return (_ctx, _cache) => {
34951
34967
  return fileUrl.value ? (openBlock(), createElementBlock("div", {
34952
34968
  key: 0,
@@ -34960,8 +34976,8 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
34960
34976
  poster: thumbnailUrl.value,
34961
34977
  style: normalizeStyle({ width: _ctx.width, height: _ctx.height, maxWidth: _ctx.maxWidth })
34962
34978
  }, [
34963
- createElementVNode("source", { src: fileUrl.value }, null, 8, _hoisted_2$A)
34964
- ], 12, _hoisted_1$N)) : _ctx.file.mediaType === "Youtube" ? (openBlock(), createElementBlock("img", {
34979
+ createElementVNode("source", { src: fileUrl.value }, null, 8, _hoisted_2$B)
34980
+ ], 12, _hoisted_1$O)) : _ctx.file.mediaType === "Youtube" ? (openBlock(), createElementBlock("img", {
34965
34981
  key: 1,
34966
34982
  alt: _ctx.file.altText,
34967
34983
  src: youtubePreviewImage.value,
@@ -35014,7 +35030,8 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
35014
35030
  key: 5,
35015
35031
  href: fileUrl.value,
35016
35032
  class: "bs-clickable font-icon button show-on-hover bottom-2 right-2",
35017
- target: "_blank"
35033
+ target: "_blank",
35034
+ onClick: withModifiers(preview, ["prevent"])
35018
35035
  }, _cache[2] || (_cache[2] = [
35019
35036
  createTextVNode("zoom_in")
35020
35037
  ]), 8, _hoisted_5$6)), [
@@ -35043,6 +35060,96 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
35043
35060
  };
35044
35061
  }
35045
35062
  });
35063
+ const _hoisted_1$N = ["src"];
35064
+ const _hoisted_2$A = ["alt", "src"];
35065
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
35066
+ __name: "BSMediaPreviewOverlay",
35067
+ props: {
35068
+ files: {},
35069
+ startIndex: { default: 0 },
35070
+ preload: { type: Boolean, default: false },
35071
+ visible: { type: Boolean }
35072
+ },
35073
+ emits: ["close"],
35074
+ setup(__props, { emit: __emit }) {
35075
+ const props = __props;
35076
+ const emit = __emit;
35077
+ const resolveUrl = (url) => blueseaConfig.fileUrlResolver ? blueseaConfig.fileUrlResolver(url) : url;
35078
+ const currentIndex = ref(props.startIndex);
35079
+ const imageIndices = computed(
35080
+ () => props.files.map((_, i) => i).filter((i) => props.files[i].mediaType === "Image")
35081
+ );
35082
+ const currentImagePosition = computed(() => imageIndices.value.indexOf(currentIndex.value));
35083
+ const hasPrevImage = computed(() => currentImagePosition.value > 0);
35084
+ const hasNextImage = computed(() => currentImagePosition.value < imageIndices.value.length - 1);
35085
+ const prevImage = () => {
35086
+ const pos = currentImagePosition.value;
35087
+ if (pos > 0) currentIndex.value = imageIndices.value[pos - 1];
35088
+ };
35089
+ const nextImage = () => {
35090
+ const pos = currentImagePosition.value;
35091
+ if (pos < imageIndices.value.length - 1) currentIndex.value = imageIndices.value[pos + 1];
35092
+ };
35093
+ const onKeydown = (e) => {
35094
+ if (e.key === "Escape") emit("close");
35095
+ else if (e.key === "ArrowLeft") prevImage();
35096
+ else if (e.key === "ArrowRight") nextImage();
35097
+ };
35098
+ watch(() => props.visible, (v) => {
35099
+ if (v) {
35100
+ currentIndex.value = props.startIndex;
35101
+ document.addEventListener("keydown", onKeydown);
35102
+ } else {
35103
+ document.removeEventListener("keydown", onKeydown);
35104
+ }
35105
+ }, { immediate: true });
35106
+ onUnmounted(() => document.removeEventListener("keydown", onKeydown));
35107
+ return (_ctx, _cache) => {
35108
+ return openBlock(), createBlock(Teleport, { to: "body" }, [
35109
+ _ctx.preload || _ctx.visible ? withDirectives((openBlock(), createElementBlock("div", {
35110
+ key: 0,
35111
+ class: "bs-media-overlay",
35112
+ onClick: _cache[3] || (_cache[3] = withModifiers(($event) => emit("close"), ["self"]))
35113
+ }, [
35114
+ createElementVNode("span", {
35115
+ class: "font-icon bs-media-overlay-close bs-clickable",
35116
+ onClick: _cache[0] || (_cache[0] = ($event) => emit("close"))
35117
+ }, "close"),
35118
+ imageIndices.value.length > 1 ? (openBlock(), createElementBlock("span", {
35119
+ key: 0,
35120
+ class: normalizeClass([{ "bs-media-overlay-nav-disabled": !hasPrevImage.value }, "font-icon bs-media-overlay-nav bs-media-overlay-prev bs-clickable"]),
35121
+ onClick: _cache[1] || (_cache[1] = withModifiers(($event) => hasPrevImage.value && prevImage(), ["stop"]))
35122
+ }, "chevron_left", 2)) : createCommentVNode("", true),
35123
+ (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.files, (file, idx) => {
35124
+ return openBlock(), createElementBlock(Fragment$1, { key: idx }, [
35125
+ file.mediaType === "Video" && idx === currentIndex.value ? (openBlock(), createElementBlock("video", {
35126
+ key: 0,
35127
+ src: resolveUrl(file.fileUrl),
35128
+ autoplay: "",
35129
+ class: "bs-media-overlay-media",
35130
+ controls: ""
35131
+ }, null, 8, _hoisted_1$N)) : file.mediaType === "Image" ? withDirectives((openBlock(), createElementBlock("img", {
35132
+ key: 1,
35133
+ alt: file.altText,
35134
+ src: resolveUrl(file.fileUrl),
35135
+ class: "bs-media-overlay-media"
35136
+ }, null, 8, _hoisted_2$A)), [
35137
+ [vShow, idx === currentIndex.value]
35138
+ ]) : createCommentVNode("", true)
35139
+ ], 64);
35140
+ }), 128)),
35141
+ imageIndices.value.length > 1 ? (openBlock(), createElementBlock("span", {
35142
+ key: 1,
35143
+ class: normalizeClass([{ "bs-media-overlay-nav-disabled": !hasNextImage.value }, "font-icon bs-media-overlay-nav bs-media-overlay-next bs-clickable"]),
35144
+ onClick: _cache[2] || (_cache[2] = withModifiers(($event) => hasNextImage.value && nextImage(), ["stop"]))
35145
+ }, "chevron_right", 2)) : createCommentVNode("", true)
35146
+ ], 512)), [
35147
+ [vShow, _ctx.visible]
35148
+ ]) : createCommentVNode("", true)
35149
+ ]);
35150
+ };
35151
+ }
35152
+ });
35046
35153
  const _hoisted_1$M = ["data-field-name"];
35047
35154
  const _hoisted_2$z = {
35048
35155
  key: 1,
@@ -35067,6 +35174,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
35067
35174
  supportTypes: { default: () => ["Image"] },
35068
35175
  showPreviewButton: { type: Boolean, default: true },
35069
35176
  disableRightClick: { type: Boolean },
35177
+ preloadOverlay: { type: Boolean },
35070
35178
  multiple: { type: Boolean },
35071
35179
  validationMessageRequired: {},
35072
35180
  validationMessageMaxFileSize: {},
@@ -35076,7 +35184,8 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
35076
35184
  hideErrorMessage: { type: Boolean },
35077
35185
  showErrorMessageOnDisabled: { type: Boolean },
35078
35186
  imageNo: { default: 0 },
35079
- mediaObjectUrlStore: {}
35187
+ mediaObjectUrlStore: {},
35188
+ onOpenPreview: {}
35080
35189
  },
35081
35190
  emits: ["update:modelValue", "multipleFiles", "multipleUris"],
35082
35191
  setup(__props, { emit: __emit }) {
@@ -35089,6 +35198,14 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
35089
35198
  return result.join("|");
35090
35199
  });
35091
35200
  const field = ref();
35201
+ const overlayOpen = ref(false);
35202
+ const handlePreview = () => {
35203
+ if (props.onOpenPreview) {
35204
+ props.onOpenPreview();
35205
+ } else {
35206
+ overlayOpen.value = true;
35207
+ }
35208
+ };
35092
35209
  const chooseImage = () => {
35093
35210
  var _a2;
35094
35211
  if (validationDisabled.value) {
@@ -35191,7 +35308,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
35191
35308
  const modal = useModal();
35192
35309
  const enterYoutubeUrl = () => {
35193
35310
  modal.openModal({
35194
- component: defineAsyncComponent(() => import("./BSYoutubeInputModal-BZR0jJvt.js")),
35311
+ component: defineAsyncComponent(() => import("./BSYoutubeInputModal-JKnr4hGE.js")),
35195
35312
  on: {
35196
35313
  "update:modelValue": (url) => {
35197
35314
  emit("update:modelValue", {
@@ -35254,20 +35371,29 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
35254
35371
  [unref(vT), _ctx.caption]
35255
35372
  ])
35256
35373
  ], 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, [
35374
+ _ctx.modelValue && _ctx.modelValue.fileUrl ? (openBlock(), createElementBlock(Fragment$1, { key: 0 }, [
35375
+ createVNode(_sfc_main$Y, {
35376
+ "disable-right-click": _ctx.disableRightClick,
35377
+ file: _ctx.modelValue,
35378
+ height: _ctx.imageHeight,
35379
+ "max-width": _ctx.maxImageWidth,
35380
+ "media-object-url-store": _ctx.mediaObjectUrlStore,
35381
+ "show-delete-button": !validationDisabled.value,
35382
+ "show-preview-button": _ctx.showPreviewButton,
35383
+ width: _ctx.imageWidth,
35384
+ class: "image-box",
35385
+ onPreview: handlePreview,
35386
+ onRemoveImage: removeImage,
35387
+ onThumbnailUploaded: changeThumbnail
35388
+ }, null, 8, ["disable-right-click", "file", "height", "max-width", "media-object-url-store", "show-delete-button", "show-preview-button", "width"]),
35389
+ !_ctx.onOpenPreview && (_ctx.preloadOverlay || overlayOpen.value) ? (openBlock(), createBlock(_sfc_main$X, {
35390
+ key: 0,
35391
+ files: _ctx.modelValue ? [_ctx.modelValue] : [],
35392
+ preload: _ctx.preloadOverlay,
35393
+ visible: overlayOpen.value,
35394
+ onClose: _cache[0] || (_cache[0] = ($event) => overlayOpen.value = false)
35395
+ }, null, 8, ["files", "preload", "visible"])) : createCommentVNode("", true)
35396
+ ], 64)) : (openBlock(), createElementBlock("div", _hoisted_2$z, [
35271
35397
  createElementVNode("div", {
35272
35398
  class: normalizeClass([{ dropping: dropping.value }, "upload-btn-wrapper bs-layout-vertical flex-align-center justify-content-center"]),
35273
35399
  style: normalizeStyle({ width: _ctx.uploadWidth, height: _ctx.imageHeight }),
@@ -35280,7 +35406,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
35280
35406
  withDirectives((openBlock(), createElementBlock("div", {
35281
35407
  class: normalizeClass([{ "bs-clickable": !validationDisabled.value, disabled: _ctx.disabled }, "upload-btn"]),
35282
35408
  onClick: chooseImage
35283
- }, _cache[0] || (_cache[0] = [
35409
+ }, _cache[1] || (_cache[1] = [
35284
35410
  createElementVNode("span", { class: "font-icon" }, "upload", -1)
35285
35411
  ]), 2)), [
35286
35412
  [
@@ -35294,7 +35420,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
35294
35420
  key: 0,
35295
35421
  class: normalizeClass([{ "bs-clickable": !validationDisabled.value, disabled: _ctx.disabled }, "youtube-btn"]),
35296
35422
  onClick: enterYoutubeUrl
35297
- }, _cache[1] || (_cache[1] = [
35423
+ }, _cache[2] || (_cache[2] = [
35298
35424
  createElementVNode("span", { class: "font-icon" }, "youtube_activity", -1)
35299
35425
  ]), 2)), [
35300
35426
  [
@@ -35320,7 +35446,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
35320
35446
  onChange: imageSelected
35321
35447
  }, null, 40, _hoisted_3$l)
35322
35448
  ], 2),
35323
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
35449
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
35324
35450
  key: 0,
35325
35451
  class: normalizeClass({ "text-nowrap": !_ctx.wrapErrorMessage }),
35326
35452
  errors: unref(errors),
@@ -35488,6 +35614,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
35488
35614
  supportTypes: { default: () => ["Image"] },
35489
35615
  showPreviewButton: { type: Boolean, default: true },
35490
35616
  disableRightClick: { type: Boolean },
35617
+ preloadOverlay: { type: Boolean },
35491
35618
  validationMessageRequired: {},
35492
35619
  validationMessageMaxFileSize: {},
35493
35620
  extraValidationRules: {},
@@ -35597,6 +35724,14 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
35597
35724
  });
35598
35725
  const modified = computed(() => !!(savePointHandler == null ? void 0 : savePointHandler.isModified(props.modelValue)));
35599
35726
  onBeforeUnmount(() => savePoint == null ? void 0 : savePoint.unregisterField(field));
35727
+ const overlayOpen = ref(false);
35728
+ const previewStartIndex = ref(0);
35729
+ const imageFiles = computed(() => props.modelValue.filter((f) => f.mediaType === "Image"));
35730
+ const openPreview = (index) => {
35731
+ const file = props.modelValue[index];
35732
+ previewStartIndex.value = imageFiles.value.indexOf(file);
35733
+ overlayOpen.value = true;
35734
+ };
35600
35735
  const isDroppable = (dndContext2, _target) => {
35601
35736
  var _a2;
35602
35737
  return ((_a2 = dndContext2.sourceElement.parentElement) == null ? void 0 : _a2.parentElement) === field.value;
@@ -35636,12 +35771,14 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
35636
35771
  "media-object-url-store": _ctx.mediaObjectUrlStore,
35637
35772
  "model-value": image,
35638
35773
  name: `${_ctx.name}_${index}`,
35774
+ "on-open-preview": image.mediaType === "Image" ? () => openPreview(index) : void 0,
35775
+ "preload-overlay": _ctx.preloadOverlay,
35639
35776
  "show-preview-button": _ctx.showPreviewButton,
35640
35777
  "upload-width": _ctx.uploadWidth,
35641
35778
  "view-mode": _ctx.viewMode || _ctx.disabled,
35642
35779
  "ignore-save-point": "",
35643
35780
  "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"])
35781
+ }, 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
35782
  ])), [
35646
35783
  [unref(vDragSupport$1), { draggable: _ctx.enableDraggableOrder }],
35647
35784
  [unref(vDropSupport$1), {
@@ -35675,16 +35812,24 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
35675
35812
  ])), [
35676
35813
  [unref(vParentDropSupport), { droppable: _ctx.enableDraggableOrder, dropHandler }]
35677
35814
  ]),
35678
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
35815
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
35679
35816
  key: 0,
35680
35817
  errors: unref(errors),
35681
35818
  "hide-error-message": _ctx.hideErrorMessage
35682
- }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true)
35819
+ }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true),
35820
+ _ctx.preloadOverlay && imageFiles.value.length > 0 || overlayOpen.value ? (openBlock(), createBlock(_sfc_main$X, {
35821
+ key: 1,
35822
+ files: imageFiles.value,
35823
+ preload: _ctx.preloadOverlay,
35824
+ "start-index": previewStartIndex.value,
35825
+ visible: overlayOpen.value,
35826
+ onClose: _cache[0] || (_cache[0] = ($event) => overlayOpen.value = false)
35827
+ }, null, 8, ["files", "preload", "start-index", "visible"])) : createCommentVNode("", true)
35683
35828
  ], 10, _hoisted_1$L);
35684
35829
  };
35685
35830
  }
35686
35831
  });
35687
- const BSMultiImageUpload = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-b7698f30"]]);
35832
+ const BSMultiImageUpload = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-e57e268c"]]);
35688
35833
  const _hoisted_1$K = ["data-field-name"];
35689
35834
  const _hoisted_2$x = { class: "bs-layout-horizontal-wrap gap-8" };
35690
35835
  const _hoisted_3$k = { class: "mr-4" };
@@ -35706,6 +35851,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
35706
35851
  supportTypes: { default: () => ["Image"] },
35707
35852
  showPreviewButton: { type: Boolean, default: true },
35708
35853
  disableRightClick: { type: Boolean },
35854
+ preloadOverlay: { type: Boolean },
35709
35855
  guideMessage: {},
35710
35856
  validationMessageRequired: {},
35711
35857
  validationMessageMaxFileSize: {},
@@ -35826,6 +35972,16 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
35826
35972
  ((_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
35973
  };
35828
35974
  onBeforeUnmount(() => savePoint == null ? void 0 : savePoint.unregisterField(field));
35975
+ const overlayOpen = ref(false);
35976
+ const previewStartIndex = ref(0);
35977
+ const imageFiles = computed(
35978
+ () => Object.values(props.modelValue).filter((f) => !!(f == null ? void 0 : f.fileUrl) && f.mediaType === "Image")
35979
+ );
35980
+ const openPreview = (idx) => {
35981
+ const file = props.modelValue[idx];
35982
+ previewStartIndex.value = imageFiles.value.indexOf(file);
35983
+ overlayOpen.value = true;
35984
+ };
35829
35985
  return (_ctx, _cache) => {
35830
35986
  return openBlock(), createElementBlock("div", {
35831
35987
  ref_key: "field",
@@ -35836,7 +35992,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
35836
35992
  }, [
35837
35993
  createElementVNode("div", _hoisted_2$x, [
35838
35994
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.count, (idx) => {
35839
- var _a2;
35995
+ var _a2, _b;
35840
35996
  return openBlock(), createBlock(_sfc_main$W, {
35841
35997
  key: idx,
35842
35998
  caption: (_a2 = _ctx.guideMessage) == null ? void 0 : _a2[idx],
@@ -35849,7 +36005,9 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
35849
36005
  "model-value": _ctx.modelValue[idx],
35850
36006
  multiple: true,
35851
36007
  name: `${_ctx.name}_${idx}`,
36008
+ "on-open-preview": ((_b = _ctx.modelValue[idx]) == null ? void 0 : _b.mediaType) === "Image" ? () => openPreview(idx) : void 0,
35852
36009
  required: _ctx.required,
36010
+ "preload-overlay": _ctx.preloadOverlay,
35853
36011
  "show-preview-button": _ctx.showPreviewButton,
35854
36012
  "support-types": _ctx.supportTypes,
35855
36013
  tabindex: _ctx.tabindex,
@@ -35863,14 +36021,22 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
35863
36021
  createElementVNode("span", _hoisted_3$k, toDisplayString(idx), 1)
35864
36022
  ]),
35865
36023
  _: 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"]);
36024
+ }, 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
36025
  }), 128))
35868
36026
  ]),
35869
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
36027
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
35870
36028
  key: 0,
35871
36029
  errors: unref(errors),
35872
36030
  "hide-error-message": _ctx.hideErrorMessage
35873
- }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true)
36031
+ }, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true),
36032
+ _ctx.preloadOverlay && imageFiles.value.length > 0 || overlayOpen.value ? (openBlock(), createBlock(_sfc_main$X, {
36033
+ key: 1,
36034
+ files: imageFiles.value,
36035
+ preload: _ctx.preloadOverlay,
36036
+ "start-index": previewStartIndex.value,
36037
+ visible: overlayOpen.value,
36038
+ onClose: _cache[0] || (_cache[0] = ($event) => overlayOpen.value = false)
36039
+ }, null, 8, ["files", "preload", "start-index", "visible"])) : createCommentVNode("", true)
35874
36040
  ], 12, _hoisted_1$K);
35875
36041
  };
35876
36042
  }
@@ -36119,7 +36285,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
36119
36285
  onChange: fileSelected
36120
36286
  }, null, 40, _hoisted_8$1)
36121
36287
  ], 2),
36122
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
36288
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
36123
36289
  key: 0,
36124
36290
  class: normalizeClass({ "text-nowrap": !_ctx.wrapErrorMessage }),
36125
36291
  errors: unref(errors),
@@ -38185,7 +38351,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
38185
38351
  ])
38186
38352
  ], 512)
38187
38353
  ]),
38188
- _ctx.showPageNavigation ? (openBlock(), createBlock(_sfc_main$1x, {
38354
+ _ctx.showPageNavigation ? (openBlock(), createBlock(_sfc_main$1y, {
38189
38355
  key: 0,
38190
38356
  limit: ((_a2 = _ctx.pageInfo) == null ? void 0 : _a2.limit) || 10,
38191
38357
  offset: ((_b = _ctx.pageInfo) == null ? void 0 : _b.offset) || 0,
@@ -38429,7 +38595,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
38429
38595
  emit("update:modelValue", value);
38430
38596
  };
38431
38597
  return (_ctx, _cache) => {
38432
- return openBlock(), createBlock(_sfc_main$1n, {
38598
+ return openBlock(), createBlock(_sfc_main$1o, {
38433
38599
  "from-value": fromValue.value,
38434
38600
  "onUpdate:fromValue": [
38435
38601
  _cache[0] || (_cache[0] = ($event) => fromValue.value = $event),
@@ -38615,7 +38781,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
38615
38781
  "data-id": "removeDateFilterBtn",
38616
38782
  onClick: ($event) => removeDateFilter(index)
38617
38783
  }, "remove", 8, _hoisted_2$q)),
38618
- createVNode(_sfc_main$1H, {
38784
+ createVNode(_sfc_main$1I, {
38619
38785
  items: _ctx.dateFilter.filterItems,
38620
38786
  "label-provider": (filter) => filter.caption,
38621
38787
  "model-value": item.propertyId,
@@ -38640,7 +38806,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
38640
38806
  width: filterWidthOfFilterItem(item.propertyId),
38641
38807
  "onUpdate:modelValue": ($event) => setDateFilterValue(index, $event)
38642
38808
  }, 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, {
38809
+ createVNode(_sfc_main$1l, {
38644
38810
  modelValue: item.value,
38645
38811
  "onUpdate:modelValue": [($event) => item.value = $event, (value, preset) => setDateFilterValue(index, value, preset)],
38646
38812
  presets: _ctx.presets,
@@ -38848,7 +39014,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
38848
39014
  const modal = useModal();
38849
39015
  const openSettingModal = () => {
38850
39016
  modal.openModal({
38851
- component: defineAsyncComponent(() => import("./BSGridColumnSettingModal-CMJqpWzY.js")),
39017
+ component: defineAsyncComponent(() => import("./BSGridColumnSettingModal-8MqhRWkU.js")),
38852
39018
  bind: {
38853
39019
  columns: props.columns,
38854
39020
  columnSettings: props.columnSettings,
@@ -38922,7 +39088,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
38922
39088
  }, null, 8, _hoisted_9)
38923
39089
  ])) : createCommentVNode("", true),
38924
39090
  _ctx.showLimit ? (openBlock(), createElementBlock("div", _hoisted_10, [
38925
- createVNode(_sfc_main$1H, {
39091
+ createVNode(_sfc_main$1I, {
38926
39092
  modelValue: limitValue.value,
38927
39093
  "onUpdate:modelValue": [
38928
39094
  _cache[2] || (_cache[2] = ($event) => limitValue.value = $event),
@@ -39369,7 +39535,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
39369
39535
  class: normalizeClass([{ selected: _ctx.selected, expanded: actualExpanded.value }, "bs-list-layout-item"])
39370
39536
  }, [
39371
39537
  createElementVNode("div", _hoisted_1$t, [
39372
- _ctx.showCheckbox ? (openBlock(), createBlock(_sfc_main$1j, {
39538
+ _ctx.showCheckbox ? (openBlock(), createBlock(_sfc_main$1k, {
39373
39539
  key: 0,
39374
39540
  "model-value": _ctx.selected,
39375
39541
  class: "mr-8",
@@ -39731,7 +39897,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
39731
39897
  return (_ctx, _cache) => {
39732
39898
  return openBlock(), createElementBlock("div", _hoisted_1$q, [
39733
39899
  createElementVNode("div", _hoisted_2$i, [
39734
- _ctx.showAddButton ? (openBlock(), createBlock(_sfc_main$1E, {
39900
+ _ctx.showAddButton ? (openBlock(), createBlock(_sfc_main$1F, {
39735
39901
  key: 0,
39736
39902
  disabled: _ctx.addButtonDisabled === true,
39737
39903
  "menu-items": addButtonItems,
@@ -39866,7 +40032,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
39866
40032
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(actualLocales.value, (locale) => {
39867
40033
  return openBlock(), createElementBlock(Fragment$1, { key: locale }, [
39868
40034
  isVisibleLocale(locale) ? (openBlock(), createElementBlock("div", _hoisted_2$h, [
39869
- createVNode(_sfc_main$1D, {
40035
+ createVNode(_sfc_main$1E, {
39870
40036
  id: _ctx.id ? `${_ctx.id}_${locale}` : void 0,
39871
40037
  autocomplete: _ctx.autocomplete,
39872
40038
  class: normalizeClass({ modified: modifiedByLocale(locale), "required-locale": isRequiredLocale(locale) }),
@@ -39896,7 +40062,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
39896
40062
  ])) : createCommentVNode("", true)
39897
40063
  ], 64);
39898
40064
  }), 128)),
39899
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
40065
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
39900
40066
  key: 0,
39901
40067
  errors: unref(errors),
39902
40068
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
@@ -40001,7 +40167,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
40001
40167
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(actualLocales.value, (locale) => {
40002
40168
  return openBlock(), createElementBlock(Fragment$1, { key: locale }, [
40003
40169
  isVisibleLocale(locale) ? (openBlock(), createElementBlock("div", _hoisted_2$g, [
40004
- createVNode(_sfc_main$1a, {
40170
+ createVNode(_sfc_main$1b, {
40005
40171
  id: _ctx.id ? `${_ctx.id}_${locale}` : void 0,
40006
40172
  autocomplete: _ctx.autocomplete,
40007
40173
  class: normalizeClass({ modified: modifiedByLocale(locale), "required-locale": isRequiredLocale(locale) }),
@@ -40031,7 +40197,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
40031
40197
  ])) : createCommentVNode("", true)
40032
40198
  ], 64);
40033
40199
  }), 128)),
40034
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
40200
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
40035
40201
  key: 0,
40036
40202
  errors: unref(errors),
40037
40203
  "hide-error-message": _ctx.hideErrorMessage || _ctx.disabled && !_ctx.showErrorMessageOnDisabled
@@ -40136,7 +40302,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
40136
40302
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(actualLocales.value, (locale) => {
40137
40303
  return openBlock(), createElementBlock(Fragment$1, { key: locale }, [
40138
40304
  isVisibleLocale(locale) ? (openBlock(), createElementBlock("div", _hoisted_2$f, [
40139
- createVNode(_sfc_main$Y, {
40305
+ createVNode(_sfc_main$Z, {
40140
40306
  id: _ctx.id ? `${_ctx.id}_${locale}` : void 0,
40141
40307
  autocomplete: _ctx.autocomplete,
40142
40308
  class: normalizeClass({ modified: modifiedByLocale(locale) }),
@@ -40172,7 +40338,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
40172
40338
  ])) : createCommentVNode("", true)
40173
40339
  ], 64);
40174
40340
  }), 128)),
40175
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
40341
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
40176
40342
  key: 0,
40177
40343
  errors: unref(errors),
40178
40344
  "hide-error-message": _ctx.hideErrorMessage
@@ -40312,7 +40478,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
40312
40478
  ]);
40313
40479
  }), 128))
40314
40480
  ]),
40315
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
40481
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
40316
40482
  key: 0,
40317
40483
  errors: unref(errors),
40318
40484
  "hide-error-message": _ctx.hideErrorMessage
@@ -67972,7 +68138,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
67972
68138
  tabindex: _ctx.tabindex,
67973
68139
  class: "flex-grow-1"
67974
68140
  }, toHandlers(handlers2)), null, 16, ["disabled", "extensions", "model-value", "name", "style", "tabindex"]),
67975
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
68141
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
67976
68142
  key: 0,
67977
68143
  errors: unref(errors),
67978
68144
  "hide-error-message": _ctx.hideErrorMessage
@@ -68015,12 +68181,15 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
68015
68181
  props.useCss ? { tabId: "css", caption: "CSS" } : void 0
68016
68182
  ].filter(notNull)
68017
68183
  );
68184
+ const updateHtmlCssCode = (value) => {
68185
+ htmlCode.value = (value == null ? void 0 : value.html) || "";
68186
+ cssCode.value = (value == null ? void 0 : value.css) || "";
68187
+ };
68188
+ updateHtmlCssCode(props.modelValue);
68018
68189
  watch(
68019
68190
  () => props.modelValue,
68020
68191
  () => {
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) || "";
68192
+ updateHtmlCssCode(props.modelValue);
68024
68193
  validateValue(props.modelValue, "change");
68025
68194
  }
68026
68195
  );
@@ -68110,7 +68279,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
68110
68279
  }, 8, ["tabs"])
68111
68280
  ])
68112
68281
  ]),
68113
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
68282
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
68114
68283
  key: 0,
68115
68284
  errors: unref(errors),
68116
68285
  "hide-error-message": _ctx.hideErrorMessage
@@ -68261,7 +68430,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
68261
68430
  ])) : createCommentVNode("", true)
68262
68431
  ], 64);
68263
68432
  }), 128)),
68264
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
68433
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
68265
68434
  key: 0,
68266
68435
  errors: unref(errors),
68267
68436
  "hide-error-message": _ctx.hideErrorMessage
@@ -68287,7 +68456,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
68287
68456
  emit("changeLocale", locale || blueseaConfig.defaultLocale);
68288
68457
  };
68289
68458
  return (_ctx, _cache) => {
68290
- return openBlock(), createBlock(_sfc_main$1H, {
68459
+ return openBlock(), createBlock(_sfc_main$1I, {
68291
68460
  items: localeList.value,
68292
68461
  "label-provider": (item) => item.displayName || "",
68293
68462
  "model-value": unref(blueseaConfig).currentLocale,
@@ -68386,7 +68555,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
68386
68555
  ((_a2 = _ctx.config.captions) == null ? void 0 : _a2[index - 1]) ? withDirectives((openBlock(), createElementBlock("span", _hoisted_1$i, null, 512)), [
68387
68556
  [unref(vT), (_b = _ctx.config.captions) == null ? void 0 : _b[index - 1]]
68388
68557
  ]) : createCommentVNode("", true),
68389
- createVNode(_sfc_main$1D, {
68558
+ createVNode(_sfc_main$1E, {
68390
68559
  id: `${_ctx.id}${index}`,
68391
68560
  modelValue: nameValue.value[`name${index}`],
68392
68561
  "onUpdate:modelValue": [($event) => nameValue.value[`name${index}`] = $event, emitValue],
@@ -68405,7 +68574,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
68405
68574
  ], 64);
68406
68575
  }), 128))
68407
68576
  ], 512),
68408
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
68577
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
68409
68578
  key: 0,
68410
68579
  errors: unref(errors),
68411
68580
  "hide-error-message": _ctx.hideErrorMessage
@@ -68537,7 +68706,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
68537
68706
  class: "bs-layout-horizontal-inline gap-2 align-items-center",
68538
68707
  role: "textbox"
68539
68708
  }, [
68540
- showCountryCode.value ? (openBlock(), createBlock(_sfc_main$1H, {
68709
+ showCountryCode.value ? (openBlock(), createBlock(_sfc_main$1I, {
68541
68710
  key: 0,
68542
68711
  modelValue: countryNo.value,
68543
68712
  "onUpdate:modelValue": [
@@ -68551,7 +68720,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
68551
68720
  "label-provider": (countryInfo) => countryInfo.name,
68552
68721
  "value-provider": (countryInfo) => countryInfo.code
68553
68722
  }, null, 8, ["modelValue", "allow-null", "class", "disabled", "items", "label-provider", "value-provider"])) : createCommentVNode("", true),
68554
- inputCount.value === 1 ? (openBlock(), createBlock(_sfc_main$1D, {
68723
+ inputCount.value === 1 ? (openBlock(), createBlock(_sfc_main$1E, {
68555
68724
  key: 1,
68556
68725
  id: _ctx.id,
68557
68726
  modelValue: phoneNo.value,
@@ -68565,7 +68734,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
68565
68734
  width: "10em",
68566
68735
  onChange: emitValue
68567
68736
  }, null, 8, ["id", "modelValue", "class", "disabled", "max-length", "maxlength", "name"])) : (openBlock(), createElementBlock(Fragment$1, { key: 2 }, [
68568
- createVNode(_sfc_main$1D, {
68737
+ createVNode(_sfc_main$1E, {
68569
68738
  id: `${_ctx.id}1`,
68570
68739
  modelValue: phoneNo1.value,
68571
68740
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => phoneNo1.value = $event),
@@ -68579,7 +68748,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
68579
68748
  onChange: emitValue
68580
68749
  }, null, 8, ["id", "modelValue", "class", "disabled", "max-length", "maxlength", "name"]),
68581
68750
  _cache[5] || (_cache[5] = createTextVNode(" - ")),
68582
- createVNode(_sfc_main$1D, {
68751
+ createVNode(_sfc_main$1E, {
68583
68752
  id: `${_ctx.id}2`,
68584
68753
  modelValue: phoneNo2.value,
68585
68754
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => phoneNo2.value = $event),
@@ -68593,7 +68762,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
68593
68762
  onChange: emitValue
68594
68763
  }, null, 8, ["id", "modelValue", "class", "disabled", "max-length", "maxlength", "name"]),
68595
68764
  _cache[6] || (_cache[6] = createTextVNode(" - ")),
68596
- createVNode(_sfc_main$1D, {
68765
+ createVNode(_sfc_main$1E, {
68597
68766
  id: `${_ctx.id}3`,
68598
68767
  modelValue: phoneNo3.value,
68599
68768
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => phoneNo3.value = $event),
@@ -68608,7 +68777,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
68608
68777
  }, null, 8, ["id", "modelValue", "class", "disabled", "max-length", "maxlength", "name"])
68609
68778
  ], 64))
68610
68779
  ], 512),
68611
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
68780
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
68612
68781
  key: 0,
68613
68782
  errors: unref(errors),
68614
68783
  "hide-error-message": _ctx.hideErrorMessage
@@ -68653,7 +68822,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
68653
68822
  _ctx.selectedConfig.zipCodeCaption ? withDirectives((openBlock(), createElementBlock("span", _hoisted_3$6, null, 512)), [
68654
68823
  [unref(vT), _ctx.selectedConfig.zipCodeCaption]
68655
68824
  ]) : createCommentVNode("", true),
68656
- createVNode(_sfc_main$1D, {
68825
+ createVNode(_sfc_main$1E, {
68657
68826
  id: `${_ctx.id}ZipCode`,
68658
68827
  class: normalizeClass({ error: _ctx.markError }),
68659
68828
  disabled: _ctx.disabled || !!_ctx.selectedConfig.zipCodeButtonHandler,
@@ -68780,7 +68949,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
68780
68949
  createTextVNode(toDisplayString(unref(serializeAddress)(_ctx.modelValue)), 1)
68781
68950
  ], 64)) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
68782
68951
  _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, {
68952
+ _ctx.config.countries && _ctx.config.countries.length > 0 ? (openBlock(), createBlock(_sfc_main$1I, {
68784
68953
  key: 0,
68785
68954
  modelValue: addrValue.value.countryCode,
68786
68955
  "onUpdate:modelValue": [
@@ -68817,7 +68986,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
68817
68986
  ((_a2 = selectedConfig.value.captions) == null ? void 0 : _a2[index - 1]) ? withDirectives((openBlock(), createElementBlock("span", _hoisted_3$5, null, 512)), [
68818
68987
  [unref(vT), (_b = selectedConfig.value.captions) == null ? void 0 : _b[index - 1]]
68819
68988
  ]) : createCommentVNode("", true),
68820
- createVNode(_sfc_main$1D, {
68989
+ createVNode(_sfc_main$1E, {
68821
68990
  id: `${_ctx.name}_${index}`,
68822
68991
  modelValue: addrValue.value[`address${index}`],
68823
68992
  "onUpdate:modelValue": [($event) => addrValue.value[`address${index}`] = $event, emitValue],
@@ -68850,7 +69019,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
68850
69019
  "onUpdate:address": updateAddress
68851
69020
  }, null, 8, ["id", "modelValue", "disabled", "mark-error", "name", "selected-config", "view-mode"])) : createCommentVNode("", true)
68852
69021
  ], 64)),
68853
- !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
69022
+ !_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1J, {
68854
69023
  key: 2,
68855
69024
  errors: unref(errors),
68856
69025
  "hide-error-message": _ctx.hideErrorMessage
@@ -69468,7 +69637,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
69468
69637
  onClick: withModifiers(hideContextMenu, ["prevent"]),
69469
69638
  onContextmenu: withModifiers(hideContextMenu, ["prevent"])
69470
69639
  }, null, 32)) : createCommentVNode("", true),
69471
- menuItems.value ? (openBlock(), createBlock(_sfc_main$1F, {
69640
+ menuItems.value ? (openBlock(), createBlock(_sfc_main$1G, {
69472
69641
  key: 1,
69473
69642
  left: position.value.x,
69474
69643
  "menu-items": menuItems.value,
@@ -70446,7 +70615,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
70446
70615
  class: "tab-list-button font-icon",
70447
70616
  onClick: _cache[0] || (_cache[0] = ($event) => togglePopup())
70448
70617
  }, "keyboard_arrow_down"),
70449
- showPopup.value ? (openBlock(), createBlock(_sfc_main$1J, {
70618
+ showPopup.value ? (openBlock(), createBlock(_sfc_main$1K, {
70450
70619
  key: 0,
70451
70620
  ref_key: "popupRef",
70452
70621
  ref: popupRef,
@@ -70679,32 +70848,32 @@ const localeNameProvider = (locale) => {
70679
70848
  const BLUESEA_VERSION = "5.0.0";
70680
70849
  export {
70681
70850
  Editor$1 as $,
70682
- _sfc_main$1G as A,
70851
+ _sfc_main$1H as A,
70683
70852
  BSButton as B,
70684
- _sfc_main$1E as C,
70853
+ _sfc_main$1F as C,
70685
70854
  BSLink as D,
70686
- _sfc_main$1B as E,
70855
+ _sfc_main$1C as E,
70687
70856
  BSConsole as F,
70688
70857
  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,
70858
+ _sfc_main$1z as H,
70859
+ _sfc_main$1y as I,
70860
+ _sfc_main$1x as J,
70861
+ _sfc_main$1w as K,
70862
+ _sfc_main$1u as L,
70863
+ _sfc_main$1t as M,
70864
+ _sfc_main$1s as N,
70865
+ _sfc_main$1q as O,
70866
+ _sfc_main$1o as P,
70867
+ _sfc_main$1l as Q,
70868
+ _sfc_main$1j as R,
70869
+ _sfc_main$1n as S,
70870
+ _sfc_main$1i as T,
70871
+ _sfc_main$1I as U,
70872
+ _sfc_main$1h as V,
70873
+ _sfc_main$1e as W,
70874
+ _sfc_main$1d as X,
70706
70875
  BSPopupSelect as Y,
70707
- _sfc_main$1a as Z,
70876
+ _sfc_main$1b as Z,
70708
70877
  _sfc_main$d as _,
70709
70878
  _sfc_main$A as a,
70710
70879
  PageGridHandlerImpl as a$,
@@ -70749,7 +70918,7 @@ export {
70749
70918
  BSListControl as ab,
70750
70919
  _sfc_main$w as ac,
70751
70920
  _sfc_main$v as ad,
70752
- _sfc_main$1e as ae,
70921
+ _sfc_main$1f as ae,
70753
70922
  BSTreeControl as af,
70754
70923
  _sfc_main$t as ag,
70755
70924
  _sfc_main$s as ah,
@@ -70764,14 +70933,14 @@ export {
70764
70933
  _sfc_main$g as aq,
70765
70934
  _sfc_main$o as ar,
70766
70935
  _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,
70936
+ _sfc_main$1L as at,
70937
+ _sfc_main$1K as au,
70938
+ _sfc_main$1r as av,
70939
+ _sfc_main$1p as aw,
70771
70940
  _sfc_main$e as ax,
70772
70941
  _sfc_main$b as ay,
70773
70942
  BSAlarmFrame as az,
70774
- _sfc_main$1L as b,
70943
+ _sfc_main$1M as b,
70775
70944
  equalFilter as b$,
70776
70945
  EditablePageGridHandlerImpl as b0,
70777
70946
  InputGridHandlerImpl as b1,
@@ -70836,7 +71005,7 @@ export {
70836
71005
  executeBetweenLengthValidation as bx,
70837
71006
  executeBetweenValueValidation as by,
70838
71007
  executeDateRangeValidation as bz,
70839
- _sfc_main$1D as c,
71008
+ _sfc_main$1E as c,
70840
71009
  betweenFilter as c0,
70841
71010
  betweenDateFilter as c1,
70842
71011
  isNullFilter as c2,
@@ -70890,18 +71059,18 @@ export {
70890
71059
  LocalStorageFavoriteMenuHandler as cx,
70891
71060
  DefaultFrameContext as cy,
70892
71061
  createDefaultFrameContext as cz,
70893
- _sfc_main$Y as d,
71062
+ _sfc_main$Z as d,
70894
71063
  extractYoutubeVideoId as e,
70895
71064
  buildYoutubeUrl as f,
70896
71065
  createInputGridHandler as g,
70897
71066
  _sfc_main$I as h,
70898
71067
  isYoutubeNocookieUrl as i,
70899
- _sfc_main$1u as j,
70900
- _sfc_main$1j as k,
71068
+ _sfc_main$1v as j,
71069
+ _sfc_main$1k as k,
70901
71070
  vFocusOnLoad as l,
70902
71071
  componentUtil as m,
70903
71072
  notNull as n,
70904
- _sfc_main$1l as o,
71073
+ _sfc_main$1m as o,
70905
71074
  formValidator as p,
70906
71075
  findImageNode as q,
70907
71076
  imageInfoNumberToPixel as r,