@g1cloud/bluesea 5.0.0-alpha.120 → 5.0.0-alpha.121

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 (19) hide show
  1. package/dist/{BSAlertModal-DL3dYtil.js → BSAlertModal-E_TnzF2j.js} +1 -1
  2. package/dist/{BSGridColumnSettingModal-BLKSHQ5f.js → BSGridColumnSettingModal-DKvuKk1L.js} +1 -1
  3. package/dist/{BSYesNoModal-Srui1pBX.js → BSYesNoModal-DjkSPNYH.js} +1 -1
  4. package/dist/{BSYoutubeInputModal-CAPx9MWa.js → BSYoutubeInputModal-BCOcoNDA.js} +1 -1
  5. package/dist/{ImageInsertModal-DKlDCmgp.js → ImageInsertModal-BdAo7_Lt.js} +2 -2
  6. package/dist/{ImageProperties.vue_vue_type_script_setup_true_lang-xuSodt2q.js → ImageProperties.vue_vue_type_script_setup_true_lang-D8wctcpy.js} +1 -1
  7. package/dist/{ImagePropertiesModal-Din7JJUo.js → ImagePropertiesModal-BEG9oAms.js} +2 -2
  8. package/dist/{LinkPropertiesModal-BRVC1by8.js → LinkPropertiesModal-ButiKm3g.js} +1 -1
  9. package/dist/{TableInsertModal-ClTKAoXu.js → TableInsertModal-CyOhU2XP.js} +1 -1
  10. package/dist/{VideoInsertModal-DMD2k-J-.js → VideoInsertModal-B4bkABDq.js} +2 -2
  11. package/dist/{VideoProperties.vue_vue_type_script_setup_true_lang-alemr5ng.js → VideoProperties.vue_vue_type_script_setup_true_lang-DrHBTyed.js} +1 -1
  12. package/dist/{VideoPropertiesModal-BgHJJ-h9.js → VideoPropertiesModal-BwZyXE6m.js} +2 -2
  13. package/dist/{YoutubeInsertModal-Bi9kRz4s.js → YoutubeInsertModal-DP0csfwz.js} +2 -2
  14. package/dist/{YoutubeProperties.vue_vue_type_script_setup_true_lang-BGm_Ozrr.js → YoutubeProperties.vue_vue_type_script_setup_true_lang-eKdc-0_g.js} +1 -1
  15. package/dist/{YoutubePropertiesModal-IEb8bmS9.js → YoutubePropertiesModal-C5_ivxxn.js} +2 -2
  16. package/dist/bluesea.js +1 -1
  17. package/dist/bluesea.umd.cjs +12 -6
  18. package/dist/{index-DJfoQMn6.js → index-D5zYymdO.js} +26 -20
  19. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, createBlock, openBlock, withCtx, withDirectives, createElementVNode, unref, createVNode } from "vue";
2
- import { u as useModalHandle, _ as _sfc_main$1, v as vT, B as BSButton, i as vFocusOnLoad } from "./index-DJfoQMn6.js";
2
+ import { u as useModalHandle, _ as _sfc_main$1, v as vT, B as BSButton, i as vFocusOnLoad } from "./index-D5zYymdO.js";
3
3
  const _hoisted_1 = { class: "text-right" };
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "BSAlertModal",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, onMounted, createBlock, openBlock, withCtx, createElementVNode, createVNode, mergeProps, unref, toHandlers, nextTick } from "vue";
2
- import { d as createInputGridHandler, u as useModalHandle, _ as _sfc_main$1, B as BSButton, f as _sfc_main$2, g as _sfc_main$3, h as _sfc_main$4, n as notNull } from "./index-DJfoQMn6.js";
2
+ import { d as createInputGridHandler, u as useModalHandle, _ as _sfc_main$1, B as BSButton, f as _sfc_main$2, g as _sfc_main$3, h as _sfc_main$4, n as notNull } from "./index-D5zYymdO.js";
3
3
  const _hoisted_1 = { class: "text-center" };
4
4
  const _hoisted_2 = { class: "text-center" };
5
5
  const _hoisted_3 = { class: "bs-layout-horizontal" };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, createBlock, openBlock, withCtx, withDirectives, createElementVNode, unref, createVNode } from "vue";
2
- import { u as useModalHandle, _ as _sfc_main$1, v as vT, B as BSButton } from "./index-DJfoQMn6.js";
2
+ import { u as useModalHandle, _ as _sfc_main$1, v as vT, B as BSButton } from "./index-D5zYymdO.js";
3
3
  const _hoisted_1 = { class: "text-right" };
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "BSYesNoModal",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, useModel, ref, createBlock, openBlock, withCtx, createElementVNode, createVNode, createCommentVNode, unref } from "vue";
2
- import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, e as extractYoutubeVideoId } from "./index-DJfoQMn6.js";
2
+ import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, e as extractYoutubeVideoId } from "./index-D5zYymdO.js";
3
3
  import YouTube from "vue3-youtube";
4
4
  const _hoisted_1 = { class: "bs-layout-vertical gap-16" };
5
5
  const _hoisted_2 = { class: "bs-layout-horizontal align-items-center" };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, ref, createBlock, openBlock, withCtx, createElementVNode, createVNode, withDirectives, vShow } from "vue";
2
- import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, a as _sfc_main$2, b as _sfc_main$3, c as _sfc_main$4 } from "./index-DJfoQMn6.js";
3
- import { _ as _sfc_main$5 } from "./ImageProperties.vue_vue_type_script_setup_true_lang-xuSodt2q.js";
2
+ import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, a as _sfc_main$2, b as _sfc_main$3, c as _sfc_main$4 } from "./index-D5zYymdO.js";
3
+ import { _ as _sfc_main$5 } from "./ImageProperties.vue_vue_type_script_setup_true_lang-D8wctcpy.js";
4
4
  const _hoisted_1 = { class: "bs-layout-form title-w-8" };
5
5
  const _hoisted_2 = { class: "title" };
6
6
  const _hoisted_3 = { class: "bs-layout-horizontal justify-content-end gap-8" };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, createElementBlock, openBlock, Fragment, createElementVNode, createVNode, withDirectives, createTextVNode, unref } from "vue";
2
- import { b as _sfc_main$1, c as _sfc_main$2, v as vT } from "./index-DJfoQMn6.js";
2
+ import { b as _sfc_main$1, c as _sfc_main$2, v as vT } from "./index-D5zYymdO.js";
3
3
  const _hoisted_1 = { class: "title" };
4
4
  const _hoisted_2 = { class: "title" };
5
5
  const _hoisted_3 = { class: "title" };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, ref, onMounted, useTemplateRef, createBlock, openBlock, withCtx, createElementVNode, createVNode, createElementBlock, createCommentVNode } from "vue";
2
- import { j as findImageNode, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, k as formValidator, l as imageInfoNumberToPixel } from "./index-DJfoQMn6.js";
3
- import { _ as _sfc_main$4 } from "./ImageProperties.vue_vue_type_script_setup_true_lang-xuSodt2q.js";
2
+ import { j as findImageNode, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, k as formValidator, l as imageInfoNumberToPixel } from "./index-D5zYymdO.js";
3
+ import { _ as _sfc_main$4 } from "./ImageProperties.vue_vue_type_script_setup_true_lang-D8wctcpy.js";
4
4
  const _hoisted_1 = { class: "title" };
5
5
  const _hoisted_2 = { class: "bs-layout-horizontal justify-content-end gap-8" };
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, onMounted, createBlock, openBlock, withCtx, createElementVNode, createVNode, createTextVNode, withModifiers } from "vue";
2
- import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3 } from "./index-DJfoQMn6.js";
2
+ import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3 } from "./index-D5zYymdO.js";
3
3
  const _hoisted_1 = { class: "bs-layout-form title-w-8" };
4
4
  const _hoisted_2 = { class: "title" };
5
5
  const _hoisted_3 = { class: "title" };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, createBlock, openBlock, withCtx, createElementVNode, createVNode } from "vue";
2
- import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, g as _sfc_main$3 } from "./index-DJfoQMn6.js";
2
+ import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, g as _sfc_main$3 } from "./index-D5zYymdO.js";
3
3
  const _hoisted_1 = { class: "bs-layout-form" };
4
4
  const _hoisted_2 = { class: "bs-form-label" };
5
5
  const _hoisted_3 = { class: "bs-form-label" };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, ref, createBlock, openBlock, withCtx, createElementVNode, createVNode, withDirectives, vShow } from "vue";
2
- import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, a as _sfc_main$2, b as _sfc_main$3, c as _sfc_main$4 } from "./index-DJfoQMn6.js";
3
- import { _ as _sfc_main$5 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-alemr5ng.js";
2
+ import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, a as _sfc_main$2, b as _sfc_main$3, c as _sfc_main$4 } from "./index-D5zYymdO.js";
3
+ import { _ as _sfc_main$5 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-DrHBTyed.js";
4
4
  const _hoisted_1 = { class: "bs-layout-form title-w-8" };
5
5
  const _hoisted_2 = { class: "title" };
6
6
  const _hoisted_3 = { class: "bs-layout-horizontal justify-content-end gap-8" };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, createElementBlock, openBlock, Fragment, createElementVNode, createVNode, withDirectives, createTextVNode, unref } from "vue";
2
- import { h as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, v as vT } from "./index-DJfoQMn6.js";
2
+ import { h as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, v as vT } from "./index-D5zYymdO.js";
3
3
  const _hoisted_1 = { class: "bs-layout-horizontal gap-8" };
4
4
  const _hoisted_2 = { class: "title" };
5
5
  const _hoisted_3 = { class: "title" };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, ref, onMounted, useTemplateRef, createBlock, openBlock, withCtx, createElementVNode, createVNode, createElementBlock, createCommentVNode } from "vue";
2
- import { p as findVideoNode, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, k as formValidator, q as videoInfoNumberToPixel } from "./index-DJfoQMn6.js";
3
- import { _ as _sfc_main$4 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-alemr5ng.js";
2
+ import { p as findVideoNode, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, k as formValidator, q as videoInfoNumberToPixel } from "./index-D5zYymdO.js";
3
+ import { _ as _sfc_main$4 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-DrHBTyed.js";
4
4
  const _hoisted_1 = { class: "title" };
5
5
  const _hoisted_2 = { class: "bs-layout-horizontal justify-content-end gap-8" };
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, ref, createBlock, openBlock, withCtx, createElementVNode, createVNode } from "vue";
2
- import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, y as youtubeInfoNumberToPixel } from "./index-DJfoQMn6.js";
3
- import { _ as _sfc_main$4 } from "./YoutubeProperties.vue_vue_type_script_setup_true_lang-BGm_Ozrr.js";
2
+ import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, y as youtubeInfoNumberToPixel } from "./index-D5zYymdO.js";
3
+ import { _ as _sfc_main$4 } from "./YoutubeProperties.vue_vue_type_script_setup_true_lang-eKdc-0_g.js";
4
4
  const _hoisted_1 = { class: "bs-layout-form" };
5
5
  const _hoisted_2 = { class: "title" };
6
6
  const _hoisted_3 = { class: "bs-layout-horizontal justify-content-end gap-8" };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, createElementBlock, openBlock, Fragment, createElementVNode, createVNode, withDirectives, createTextVNode, unref } from "vue";
2
- import { b as _sfc_main$1, c as _sfc_main$2, v as vT } from "./index-DJfoQMn6.js";
2
+ import { b as _sfc_main$1, c as _sfc_main$2, v as vT } from "./index-D5zYymdO.js";
3
3
  const _hoisted_1 = { class: "title" };
4
4
  const _hoisted_2 = { class: "title" };
5
5
  const _hoisted_3 = { class: "title" };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, ref, onMounted, createBlock, openBlock, withCtx, createElementVNode, createVNode, createElementBlock, createCommentVNode } from "vue";
2
- import { m as findYoutubeNode, o as normalizeYoutubeInfoData, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, y as youtubeInfoNumberToPixel } from "./index-DJfoQMn6.js";
3
- import { _ as _sfc_main$4 } from "./YoutubeProperties.vue_vue_type_script_setup_true_lang-BGm_Ozrr.js";
2
+ import { m as findYoutubeNode, o as normalizeYoutubeInfoData, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, y as youtubeInfoNumberToPixel } from "./index-D5zYymdO.js";
3
+ import { _ as _sfc_main$4 } from "./YoutubeProperties.vue_vue_type_script_setup_true_lang-eKdc-0_g.js";
4
4
  const _hoisted_1 = {
5
5
  key: 0,
6
6
  class: "bs-layout-form"
package/dist/bluesea.js CHANGED
@@ -1,4 +1,4 @@
1
- import { aH, aI, bC, bD, r, ak, au, B, E, F, a4, h, L, am, H, z, av, cf, C, I, aq, J, a2, a3, ar, K, b, f, a0, $, a7, an, al, X, w, a6, a5, A, ah, bZ, as, _, Y, ae, ag, af, ad, ac, ab, Q, ai, at, g, D, ao, t, T, Z, G, x, M, N, V, P, ap, a, aj, U, a1, c, a9, aa, S, R, a8, O, s, bK, bJ, aR, ax, ck, aw, aY, aW, aT, W, bI, a_, aZ, cp, bA, bG, aX, bH, cj, a$, aQ, aE, aF, aD, aG, bF, bE, aV, bB, br, bU, co, b6, bd, bT, cy, c3, bL, bS, bR, aN, bu, c5, aO, ce, ci, cl, d, c0, aU, b9, cC, aJ, ba, aK, aM, aL, b2, bQ, bo, bp, bq, bl, bn, bm, e, bk, bh, k, cr, aP, b1, cc, c8, cq, bO, az, cz, cw, cA, bv, cx, bw, c9, be, bP, bg, bc, cB, b0, bY, bX, aS, bN, n, c1, bM, cv, cm, bV, b$, bs, b3, b7, bz, bx, by, c4, cb, ca, c2, c7, bf, bb, c6, cu, cg, ch, cn, bW, b_, u, bt, b4, b5, b8, ay, aB, aC, i, v, aA, bi, bj, ct, cs, cd } from "./index-DJfoQMn6.js";
1
+ import { aH, aI, bC, bD, r, ak, au, B, E, F, a4, h, L, am, H, z, av, cf, C, I, aq, J, a2, a3, ar, K, b, f, a0, $, a7, an, al, X, w, a6, a5, A, ah, bZ, as, _, Y, ae, ag, af, ad, ac, ab, Q, ai, at, g, D, ao, t, T, Z, G, x, M, N, V, P, ap, a, aj, U, a1, c, a9, aa, S, R, a8, O, s, bK, bJ, aR, ax, ck, aw, aY, aW, aT, W, bI, a_, aZ, cp, bA, bG, aX, bH, cj, a$, aQ, aE, aF, aD, aG, bF, bE, aV, bB, br, bU, co, b6, bd, bT, cy, c3, bL, bS, bR, aN, bu, c5, aO, ce, ci, cl, d, c0, aU, b9, cC, aJ, ba, aK, aM, aL, b2, bQ, bo, bp, bq, bl, bn, bm, e, bk, bh, k, cr, aP, b1, cc, c8, cq, bO, az, cz, cw, cA, bv, cx, bw, c9, be, bP, bg, bc, cB, b0, bY, bX, aS, bN, n, c1, bM, cv, cm, bV, b$, bs, b3, b7, bz, bx, by, c4, cb, ca, c2, c7, bf, bb, c6, cu, cg, ch, cn, bW, b_, u, bt, b4, b5, b8, ay, aB, aC, i, v, aA, bi, bj, ct, cs, cd } from "./index-D5zYymdO.js";
2
2
  export {
3
3
  aH as ADDRESS_COUNTRY_CONFIGS,
4
4
  aI as ADDRESS_COUNTRY_CONFIG_DEFAULT,
@@ -36963,7 +36963,8 @@ img.ProseMirror-separator {
36963
36963
  emit("changeSelectedRows", { allRows: false, targetRows: [props.data[0]], selected: true });
36964
36964
  }
36965
36965
  } else {
36966
- const data = props.maxSelectCount ? props.data.slice(0, props.maxSelectCount) : props.data;
36966
+ const selectable = props.rowSelectPolicy ? props.data.filter((item) => props.rowSelectPolicy(item)) : props.data;
36967
+ const data = props.maxSelectCount ? selectable.slice(0, props.maxSelectCount) : selectable;
36967
36968
  data.forEach((row) => internalSelectedRows.add(row));
36968
36969
  emit("changeSelectedRows", { allRows: true, selected: true });
36969
36970
  }
@@ -38808,6 +38809,7 @@ img.ProseMirror-separator {
38808
38809
  id: _ctx.id ? `${_ctx.id}_${locale}` : void 0,
38809
38810
  autocomplete: _ctx.autocomplete,
38810
38811
  class: vue.normalizeClass({ modified: modifiedByLocale(locale), "required-locale": isRequiredLocale(locale) }),
38812
+ "data-multi-lang-locale": locale,
38811
38813
  disabled: _ctx.disabled,
38812
38814
  "extra-validation-rules": vue.unref(localeBasedExtraItemValidationRules)(locale, _ctx.extraItemValidationRules),
38813
38815
  "max-length": _ctx.maxLength,
@@ -38828,7 +38830,7 @@ img.ProseMirror-separator {
38828
38830
  "ignore-save-point": "",
38829
38831
  width: "100%",
38830
38832
  "onUpdate:modelValue": ($event) => updateValue($event, locale)
38831
- }, null, 8, ["id", "autocomplete", "class", "disabled", "extra-validation-rules", "max-length", "maxlength", "min-length", "model-value", "name", "placeholder", "prefix", "required", "tabindex", "trim-value", "validation-message-between-length", "validation-message-max-length", "validation-message-min-length", "validation-message-required", "view-mode", "onUpdate:modelValue"])
38833
+ }, null, 8, ["id", "autocomplete", "class", "data-multi-lang-locale", "disabled", "extra-validation-rules", "max-length", "maxlength", "min-length", "model-value", "name", "placeholder", "prefix", "required", "tabindex", "trim-value", "validation-message-between-length", "validation-message-max-length", "validation-message-min-length", "validation-message-required", "view-mode", "onUpdate:modelValue"])
38832
38834
  ])) : vue.createCommentVNode("", true)
38833
38835
  ], 64);
38834
38836
  }), 128)),
@@ -38938,6 +38940,7 @@ img.ProseMirror-separator {
38938
38940
  id: _ctx.id ? `${_ctx.id}_${locale}` : void 0,
38939
38941
  autocomplete: _ctx.autocomplete,
38940
38942
  class: vue.normalizeClass({ modified: modifiedByLocale(locale), "required-locale": isRequiredLocale(locale) }),
38943
+ "data-multi-lang-locale": locale,
38941
38944
  disabled: _ctx.disabled,
38942
38945
  "extra-validation-rules": vue.unref(localeBasedExtraItemValidationRules)(locale, _ctx.extraItemValidationRules),
38943
38946
  height: _ctx.height,
@@ -38958,7 +38961,7 @@ img.ProseMirror-separator {
38958
38961
  "ignore-save-point": "",
38959
38962
  width: "100%",
38960
38963
  "onUpdate:modelValue": ($event) => updateValue($event, locale)
38961
- }, null, 8, ["id", "autocomplete", "class", "disabled", "extra-validation-rules", "height", "max-length", "min-length", "model-value", "name", "placeholder", "prefix", "required", "tabindex", "trim-value", "validation-message-between-length", "validation-message-max-length", "validation-message-min-length", "validation-message-required", "view-mode", "onUpdate:modelValue"])
38964
+ }, null, 8, ["id", "autocomplete", "class", "data-multi-lang-locale", "disabled", "extra-validation-rules", "height", "max-length", "min-length", "model-value", "name", "placeholder", "prefix", "required", "tabindex", "trim-value", "validation-message-between-length", "validation-message-max-length", "validation-message-min-length", "validation-message-required", "view-mode", "onUpdate:modelValue"])
38962
38965
  ])) : vue.createCommentVNode("", true)
38963
38966
  ], 64);
38964
38967
  }), 128)),
@@ -39069,6 +39072,7 @@ img.ProseMirror-separator {
39069
39072
  id: _ctx.id ? `${_ctx.id}_${locale}` : void 0,
39070
39073
  autocomplete: _ctx.autocomplete,
39071
39074
  class: vue.normalizeClass({ modified: modifiedByLocale(locale) }),
39075
+ "data-multi-lang-locale": locale,
39072
39076
  disabled: _ctx.disabled,
39073
39077
  "extra-validation-rules": vue.unref(localeBasedExtraItemValidationRules)(locale, _ctx.extraItemValidationRules),
39074
39078
  height: _ctx.height,
@@ -39096,7 +39100,7 @@ img.ProseMirror-separator {
39096
39100
  }, null, 10, _hoisted_2$s)
39097
39101
  ]),
39098
39102
  _: 2
39099
- }, 1032, ["id", "autocomplete", "class", "disabled", "extra-validation-rules", "height", "max-length", "max-width", "min-length", "model-value", "name", "placeholder", "required", "tabindex", "validation-message-between-length", "validation-message-max-length", "validation-message-min-length", "validation-message-required", "view-mode", "onUpdate:modelValue"])
39103
+ }, 1032, ["id", "autocomplete", "class", "data-multi-lang-locale", "disabled", "extra-validation-rules", "height", "max-length", "max-width", "min-length", "model-value", "name", "placeholder", "required", "tabindex", "validation-message-between-length", "validation-message-max-length", "validation-message-min-length", "validation-message-required", "view-mode", "onUpdate:modelValue"])
39100
39104
  ])) : vue.createCommentVNode("", true)
39101
39105
  ], 64);
39102
39106
  }), 128)),
@@ -39222,6 +39226,7 @@ img.ProseMirror-separator {
39222
39226
  modelValue: _ctx.modelValue[locale],
39223
39227
  "onUpdate:modelValue": [($event) => _ctx.modelValue[locale] = $event, ($event) => updateValue($event, locale)],
39224
39228
  class: vue.normalizeClass({ modified: modifiedByLocale(locale) }),
39229
+ "data-multi-lang-locale": locale,
39225
39230
  disabled: _ctx.disabled,
39226
39231
  "max-file-size": _ctx.maxFileSize,
39227
39232
  "media-object-url-store": _ctx.mediaObjectUrlStore,
@@ -39231,7 +39236,7 @@ img.ProseMirror-separator {
39231
39236
  "view-mode": _ctx.viewMode,
39232
39237
  "ignore-save-point": "",
39233
39238
  "wrap-error-message": ""
39234
- }, null, 8, ["modelValue", "onUpdate:modelValue", "class", "disabled", "max-file-size", "media-object-url-store", "name", "required", "tabindex", "view-mode"])
39239
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "class", "data-multi-lang-locale", "disabled", "max-file-size", "media-object-url-store", "name", "required", "tabindex", "view-mode"])
39235
39240
  ], 512)), [
39236
39241
  [vue.vShow, isVisibleLocale(locale)]
39237
39242
  ]);
@@ -67152,6 +67157,7 @@ img.ProseMirror-separator {
67152
67157
  isVisibleLocale(locale) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
67153
67158
  vue.createVNode(_sfc_main$C, {
67154
67159
  class: vue.normalizeClass([{ modified: modifiedByLocale(locale) }, "flex-grow-1"]),
67160
+ "data-multi-lang-locale": locale,
67155
67161
  disabled: _ctx.disabled,
67156
67162
  "extra-validation-rules": extraValidationRulesByLocale(locale),
67157
67163
  "model-value": valueByLocale(locale),
@@ -67173,7 +67179,7 @@ img.ProseMirror-separator {
67173
67179
  ])
67174
67180
  ]),
67175
67181
  _: 2
67176
- }, 1032, ["class", "disabled", "extra-validation-rules", "model-value", "name", "required", "style", "tabindex", "validation-message-required", "view-mode", "onUpdate:modelValue"])
67182
+ }, 1032, ["class", "data-multi-lang-locale", "disabled", "extra-validation-rules", "model-value", "name", "required", "style", "tabindex", "validation-message-required", "view-mode", "onUpdate:modelValue"])
67177
67183
  ])) : vue.createCommentVNode("", true)
67178
67184
  ], 64);
67179
67185
  }), 128)),
@@ -87,8 +87,8 @@ const defaultAddressInputComponentConfig = {
87
87
  countryConfigs: ADDRESS_COUNTRY_CONFIGS
88
88
  };
89
89
  const defaultRichTextComponentConfig = {
90
- imageInsertModal: defineAsyncComponent(() => import("./ImageInsertModal-DKlDCmgp.js")),
91
- videoInsertModal: defineAsyncComponent(() => import("./VideoInsertModal-DMD2k-J-.js")),
90
+ imageInsertModal: defineAsyncComponent(() => import("./ImageInsertModal-BdAo7_Lt.js")),
91
+ videoInsertModal: defineAsyncComponent(() => import("./VideoInsertModal-B4bkABDq.js")),
92
92
  toolButtons: [
93
93
  "Heading",
94
94
  "FontSize",
@@ -5922,7 +5922,7 @@ class BSModal {
5922
5922
  }
5923
5923
  openAlert(title, message, clickHandler2) {
5924
5924
  const option = {
5925
- component: defineAsyncComponent(() => import("./BSAlertModal-DL3dYtil.js")),
5925
+ component: defineAsyncComponent(() => import("./BSAlertModal-E_TnzF2j.js")),
5926
5926
  bind: {
5927
5927
  title,
5928
5928
  message
@@ -5935,7 +5935,7 @@ class BSModal {
5935
5935
  }
5936
5936
  openYesNo(title, message, yesHandler, noHandler) {
5937
5937
  const option = {
5938
- component: defineAsyncComponent(() => import("./BSYesNoModal-Srui1pBX.js")),
5938
+ component: defineAsyncComponent(() => import("./BSYesNoModal-DjkSPNYH.js")),
5939
5939
  bind: {
5940
5940
  title,
5941
5941
  message
@@ -31033,7 +31033,7 @@ const tableContextMenus = (_modal, editor) => {
31033
31033
  };
31034
31034
  const insertTable = (modal, editor) => {
31035
31035
  modal.openModal({
31036
- component: defineAsyncComponent(() => import("./TableInsertModal-ClTKAoXu.js")),
31036
+ component: defineAsyncComponent(() => import("./TableInsertModal-CyOhU2XP.js")),
31037
31037
  bind: { editor }
31038
31038
  });
31039
31039
  };
@@ -31233,7 +31233,7 @@ const insertImage = (modal, editor) => {
31233
31233
  const component = (_a2 = blueseaConfig.componentConfig.richText) == null ? void 0 : _a2.imageInsertModal;
31234
31234
  if (component) {
31235
31235
  modal.openModal({
31236
- component: defineAsyncComponent(() => import("./ImageInsertModal-DKlDCmgp.js")),
31236
+ component: defineAsyncComponent(() => import("./ImageInsertModal-BdAo7_Lt.js")),
31237
31237
  bind: { editor },
31238
31238
  on: {
31239
31239
  insertImage: (image) => {
@@ -31251,7 +31251,7 @@ const insertImage = (modal, editor) => {
31251
31251
  };
31252
31252
  const showImageProperties = (modal, editor) => {
31253
31253
  modal.openModal({
31254
- component: defineAsyncComponent(() => import("./ImagePropertiesModal-Din7JJUo.js")),
31254
+ component: defineAsyncComponent(() => import("./ImagePropertiesModal-BEG9oAms.js")),
31255
31255
  bind: { editor }
31256
31256
  });
31257
31257
  };
@@ -31598,13 +31598,13 @@ const youtubeContextMenu = (modal, editor) => {
31598
31598
  };
31599
31599
  const insertYoutube = (modal, editor) => {
31600
31600
  modal.openModal({
31601
- component: defineAsyncComponent(() => import("./YoutubeInsertModal-Bi9kRz4s.js")),
31601
+ component: defineAsyncComponent(() => import("./YoutubeInsertModal-DP0csfwz.js")),
31602
31602
  bind: { editor }
31603
31603
  });
31604
31604
  };
31605
31605
  const showYoutubeProperties = (modal, editor) => {
31606
31606
  modal.openModal({
31607
- component: defineAsyncComponent(() => import("./YoutubePropertiesModal-IEb8bmS9.js")),
31607
+ component: defineAsyncComponent(() => import("./YoutubePropertiesModal-C5_ivxxn.js")),
31608
31608
  bind: { editor }
31609
31609
  });
31610
31610
  };
@@ -31648,7 +31648,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
31648
31648
  const showLinkProperties = () => {
31649
31649
  if (!props.disabled) {
31650
31650
  modal.openModal({
31651
- component: defineAsyncComponent(() => import("./LinkPropertiesModal-BRVC1by8.js")),
31651
+ component: defineAsyncComponent(() => import("./LinkPropertiesModal-ButiKm3g.js")),
31652
31652
  bind: {
31653
31653
  editor: props.editor
31654
31654
  }
@@ -32012,7 +32012,7 @@ const insertVideo = (modal, editor) => {
32012
32012
  const component = (_a2 = blueseaConfig.componentConfig.richText) == null ? void 0 : _a2.videoInsertModal;
32013
32013
  if (component) {
32014
32014
  modal.openModal({
32015
- component: defineAsyncComponent(() => import("./VideoInsertModal-DMD2k-J-.js")),
32015
+ component: defineAsyncComponent(() => import("./VideoInsertModal-B4bkABDq.js")),
32016
32016
  bind: { editor },
32017
32017
  on: {
32018
32018
  insertVideo: (video) => {
@@ -32030,7 +32030,7 @@ const insertVideo = (modal, editor) => {
32030
32030
  };
32031
32031
  const showVideoProperties = (modal, editor) => {
32032
32032
  modal.openModal({
32033
- component: defineAsyncComponent(() => import("./VideoPropertiesModal-BgHJJ-h9.js")),
32033
+ component: defineAsyncComponent(() => import("./VideoPropertiesModal-BwZyXE6m.js")),
32034
32034
  bind: { editor }
32035
32035
  });
32036
32036
  };
@@ -34601,7 +34601,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
34601
34601
  const modal = useModal();
34602
34602
  const enterYoutubeUrl = () => {
34603
34603
  modal.openModal({
34604
- component: defineAsyncComponent(() => import("./BSYoutubeInputModal-CAPx9MWa.js")),
34604
+ component: defineAsyncComponent(() => import("./BSYoutubeInputModal-BCOcoNDA.js")),
34605
34605
  on: {
34606
34606
  "update:modelValue": (url) => {
34607
34607
  emit("update:modelValue", {
@@ -36963,7 +36963,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
36963
36963
  emit("changeSelectedRows", { allRows: false, targetRows: [props.data[0]], selected: true });
36964
36964
  }
36965
36965
  } else {
36966
- const data = props.maxSelectCount ? props.data.slice(0, props.maxSelectCount) : props.data;
36966
+ const selectable = props.rowSelectPolicy ? props.data.filter((item) => props.rowSelectPolicy(item)) : props.data;
36967
+ const data = props.maxSelectCount ? selectable.slice(0, props.maxSelectCount) : selectable;
36967
36968
  data.forEach((row) => internalSelectedRows.add(row));
36968
36969
  emit("changeSelectedRows", { allRows: true, selected: true });
36969
36970
  }
@@ -37856,7 +37857,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
37856
37857
  const modal = useModal();
37857
37858
  const openSettingModal = () => {
37858
37859
  modal.openModal({
37859
- component: defineAsyncComponent(() => import("./BSGridColumnSettingModal-BLKSHQ5f.js")),
37860
+ component: defineAsyncComponent(() => import("./BSGridColumnSettingModal-DKvuKk1L.js")),
37860
37861
  bind: {
37861
37862
  columns: props.columns,
37862
37863
  columnSettings: props.columnSettings,
@@ -38808,6 +38809,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
38808
38809
  id: _ctx.id ? `${_ctx.id}_${locale}` : void 0,
38809
38810
  autocomplete: _ctx.autocomplete,
38810
38811
  class: normalizeClass({ modified: modifiedByLocale(locale), "required-locale": isRequiredLocale(locale) }),
38812
+ "data-multi-lang-locale": locale,
38811
38813
  disabled: _ctx.disabled,
38812
38814
  "extra-validation-rules": unref(localeBasedExtraItemValidationRules)(locale, _ctx.extraItemValidationRules),
38813
38815
  "max-length": _ctx.maxLength,
@@ -38828,7 +38830,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
38828
38830
  "ignore-save-point": "",
38829
38831
  width: "100%",
38830
38832
  "onUpdate:modelValue": ($event) => updateValue($event, locale)
38831
- }, null, 8, ["id", "autocomplete", "class", "disabled", "extra-validation-rules", "max-length", "maxlength", "min-length", "model-value", "name", "placeholder", "prefix", "required", "tabindex", "trim-value", "validation-message-between-length", "validation-message-max-length", "validation-message-min-length", "validation-message-required", "view-mode", "onUpdate:modelValue"])
38833
+ }, null, 8, ["id", "autocomplete", "class", "data-multi-lang-locale", "disabled", "extra-validation-rules", "max-length", "maxlength", "min-length", "model-value", "name", "placeholder", "prefix", "required", "tabindex", "trim-value", "validation-message-between-length", "validation-message-max-length", "validation-message-min-length", "validation-message-required", "view-mode", "onUpdate:modelValue"])
38832
38834
  ])) : createCommentVNode("", true)
38833
38835
  ], 64);
38834
38836
  }), 128)),
@@ -38938,6 +38940,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
38938
38940
  id: _ctx.id ? `${_ctx.id}_${locale}` : void 0,
38939
38941
  autocomplete: _ctx.autocomplete,
38940
38942
  class: normalizeClass({ modified: modifiedByLocale(locale), "required-locale": isRequiredLocale(locale) }),
38943
+ "data-multi-lang-locale": locale,
38941
38944
  disabled: _ctx.disabled,
38942
38945
  "extra-validation-rules": unref(localeBasedExtraItemValidationRules)(locale, _ctx.extraItemValidationRules),
38943
38946
  height: _ctx.height,
@@ -38958,7 +38961,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
38958
38961
  "ignore-save-point": "",
38959
38962
  width: "100%",
38960
38963
  "onUpdate:modelValue": ($event) => updateValue($event, locale)
38961
- }, null, 8, ["id", "autocomplete", "class", "disabled", "extra-validation-rules", "height", "max-length", "min-length", "model-value", "name", "placeholder", "prefix", "required", "tabindex", "trim-value", "validation-message-between-length", "validation-message-max-length", "validation-message-min-length", "validation-message-required", "view-mode", "onUpdate:modelValue"])
38964
+ }, null, 8, ["id", "autocomplete", "class", "data-multi-lang-locale", "disabled", "extra-validation-rules", "height", "max-length", "min-length", "model-value", "name", "placeholder", "prefix", "required", "tabindex", "trim-value", "validation-message-between-length", "validation-message-max-length", "validation-message-min-length", "validation-message-required", "view-mode", "onUpdate:modelValue"])
38962
38965
  ])) : createCommentVNode("", true)
38963
38966
  ], 64);
38964
38967
  }), 128)),
@@ -39069,6 +39072,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
39069
39072
  id: _ctx.id ? `${_ctx.id}_${locale}` : void 0,
39070
39073
  autocomplete: _ctx.autocomplete,
39071
39074
  class: normalizeClass({ modified: modifiedByLocale(locale) }),
39075
+ "data-multi-lang-locale": locale,
39072
39076
  disabled: _ctx.disabled,
39073
39077
  "extra-validation-rules": unref(localeBasedExtraItemValidationRules)(locale, _ctx.extraItemValidationRules),
39074
39078
  height: _ctx.height,
@@ -39096,7 +39100,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
39096
39100
  }, null, 10, _hoisted_2$f)
39097
39101
  ]),
39098
39102
  _: 2
39099
- }, 1032, ["id", "autocomplete", "class", "disabled", "extra-validation-rules", "height", "max-length", "max-width", "min-length", "model-value", "name", "placeholder", "required", "tabindex", "validation-message-between-length", "validation-message-max-length", "validation-message-min-length", "validation-message-required", "view-mode", "onUpdate:modelValue"])
39103
+ }, 1032, ["id", "autocomplete", "class", "data-multi-lang-locale", "disabled", "extra-validation-rules", "height", "max-length", "max-width", "min-length", "model-value", "name", "placeholder", "required", "tabindex", "validation-message-between-length", "validation-message-max-length", "validation-message-min-length", "validation-message-required", "view-mode", "onUpdate:modelValue"])
39100
39104
  ])) : createCommentVNode("", true)
39101
39105
  ], 64);
39102
39106
  }), 128)),
@@ -39222,6 +39226,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
39222
39226
  modelValue: _ctx.modelValue[locale],
39223
39227
  "onUpdate:modelValue": [($event) => _ctx.modelValue[locale] = $event, ($event) => updateValue($event, locale)],
39224
39228
  class: normalizeClass({ modified: modifiedByLocale(locale) }),
39229
+ "data-multi-lang-locale": locale,
39225
39230
  disabled: _ctx.disabled,
39226
39231
  "max-file-size": _ctx.maxFileSize,
39227
39232
  "media-object-url-store": _ctx.mediaObjectUrlStore,
@@ -39231,7 +39236,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
39231
39236
  "view-mode": _ctx.viewMode,
39232
39237
  "ignore-save-point": "",
39233
39238
  "wrap-error-message": ""
39234
- }, null, 8, ["modelValue", "onUpdate:modelValue", "class", "disabled", "max-file-size", "media-object-url-store", "name", "required", "tabindex", "view-mode"])
39239
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "class", "data-multi-lang-locale", "disabled", "max-file-size", "media-object-url-store", "name", "required", "tabindex", "view-mode"])
39235
39240
  ], 512)), [
39236
39241
  [vShow, isVisibleLocale(locale)]
39237
39242
  ]);
@@ -67152,6 +67157,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
67152
67157
  isVisibleLocale(locale) ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
67153
67158
  createVNode(_sfc_main$n, {
67154
67159
  class: normalizeClass([{ modified: modifiedByLocale(locale) }, "flex-grow-1"]),
67160
+ "data-multi-lang-locale": locale,
67155
67161
  disabled: _ctx.disabled,
67156
67162
  "extra-validation-rules": extraValidationRulesByLocale(locale),
67157
67163
  "model-value": valueByLocale(locale),
@@ -67173,7 +67179,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
67173
67179
  ])
67174
67180
  ]),
67175
67181
  _: 2
67176
- }, 1032, ["class", "disabled", "extra-validation-rules", "model-value", "name", "required", "style", "tabindex", "validation-message-required", "view-mode", "onUpdate:modelValue"])
67182
+ }, 1032, ["class", "data-multi-lang-locale", "disabled", "extra-validation-rules", "model-value", "name", "required", "style", "tabindex", "validation-message-required", "view-mode", "onUpdate:modelValue"])
67177
67183
  ])) : createCommentVNode("", true)
67178
67184
  ], 64);
67179
67185
  }), 128)),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@g1cloud/bluesea",
3
3
  "private": false,
4
- "version": "5.0.0-alpha.120",
4
+ "version": "5.0.0-alpha.121",
5
5
  "description": "Ui Library for g1cloud BackOffice.",
6
6
  "type": "module",
7
7
  "engines": {