@g1cloud/bluesea 5.0.0-beta.23 → 5.0.0-beta.26
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.
- package/dist/{BSAlertModal-6tEkwgWx.js → BSAlertModal-CCdaoT-g.js} +1 -1
- package/dist/{BSGridColumnSettingModal-VUocv6UV.js → BSGridColumnSettingModal-CMJqpWzY.js} +1 -1
- package/dist/{BSRichTextMaximizedModal-CY9SoSef.js → BSRichTextMaximizedModal-Byrr_L8I.js} +1 -1
- package/dist/{BSYesNoModal-Cl1BTqpc.js → BSYesNoModal-BljzNd5_.js} +1 -1
- package/dist/{BSYoutubeInputModal-ZPgUtYEv.js → BSYoutubeInputModal-BZR0jJvt.js} +1 -1
- package/dist/{ImageInsertModal-CxWBdXkG.js → ImageInsertModal-wdRGMEHH.js} +2 -2
- package/dist/{ImageProperties.vue_vue_type_script_setup_true_lang-LPjH_QLh.js → ImageProperties.vue_vue_type_script_setup_true_lang-DNqql2HK.js} +1 -1
- package/dist/{ImagePropertiesModal-BDQhSQ9v.js → ImagePropertiesModal-BumfiYFu.js} +2 -2
- package/dist/{LinkPropertiesModal-BxuxKHfU.js → LinkPropertiesModal-C-cq00aG.js} +1 -1
- package/dist/{TableInsertModal-CXJ4brID.js → TableInsertModal-DWy7cSQz.js} +1 -1
- package/dist/{TablePropertiesModal-pkr6Msmu.js → TablePropertiesModal-BDir2XM5.js} +1 -1
- package/dist/{VideoInsertModal-vjlc3ono.js → VideoInsertModal-s4eT3Ofx.js} +2 -2
- package/dist/{VideoProperties.vue_vue_type_script_setup_true_lang-BeTi_0bW.js → VideoProperties.vue_vue_type_script_setup_true_lang-B2SQASHh.js} +1 -1
- package/dist/{VideoPropertiesModal-_ETvfO7t.js → VideoPropertiesModal-zHc0vcQs.js} +2 -2
- package/dist/{YoutubeInsertModal-CIEiPj4I.js → YoutubeInsertModal-CdcIzmFl.js} +2 -2
- package/dist/{YoutubeProperties.vue_vue_type_script_setup_true_lang-DCe1S3Z0.js → YoutubeProperties.vue_vue_type_script_setup_true_lang-CWqGTFe5.js} +1 -1
- package/dist/{YoutubePropertiesModal-BEoWxNhm.js → YoutubePropertiesModal-CAd6dZ6E.js} +2 -2
- package/dist/bluesea.js +1 -1
- package/dist/bluesea.umd.cjs +40 -25
- package/dist/component/input/BSMultiSelect.vue.d.ts +4 -1
- package/dist/component/input/BSSelect.vue.d.ts +4 -1
- package/dist/component/input/BSSelectPopup.vue.d.ts +4 -1
- package/dist/component/layout/BSTabSheet.vue.d.ts +2 -0
- package/dist/component/multilang/BSMultiLangHtmlEditor.vue.d.ts +2 -0
- package/dist/{index-CcW6HExQ.js → index-pO-xtezx.js} +56 -41
- package/package.json +1 -1
- package/text/bluesea_text_en.json +8 -8
- package/text/bluesea_text_fr.json +8 -8
- package/text/bluesea_text_ja.json +8 -8
- package/text/bluesea_text_ko.json +8 -8
- package/text/bluesea_text_zh.json +8 -8
|
@@ -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, l as vFocusOnLoad } from "./index-
|
|
2
|
+
import { u as useModalHandle, _ as _sfc_main$1, v as vT, B as BSButton, l as vFocusOnLoad } from "./index-pO-xtezx.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 { g as createInputGridHandler, u as useModalHandle, _ as _sfc_main$1, B as BSButton, h as _sfc_main$2, j as _sfc_main$3, k as _sfc_main$4, n as notNull } from "./index-
|
|
2
|
+
import { g as createInputGridHandler, u as useModalHandle, _ as _sfc_main$1, B as BSButton, h as _sfc_main$2, j as _sfc_main$3, k as _sfc_main$4, n as notNull } from "./index-pO-xtezx.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, mergeModels, useModel, useTemplateRef, createBlock, openBlock } from "vue";
|
|
2
|
-
import { u as useModalHandle, d as _sfc_main$1 } from "./index-
|
|
2
|
+
import { u as useModalHandle, d as _sfc_main$1 } from "./index-pO-xtezx.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "BSRichTextMaximizedModal",
|
|
5
5
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -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-
|
|
2
|
+
import { u as useModalHandle, _ as _sfc_main$1, v as vT, B as BSButton } from "./index-pO-xtezx.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, i as isYoutubeNocookieUrl, f as buildYoutubeUrl } from "./index-
|
|
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, i as isYoutubeNocookieUrl, f as buildYoutubeUrl } from "./index-pO-xtezx.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-
|
|
3
|
-
import { _ as _sfc_main$5 } from "./ImageProperties.vue_vue_type_script_setup_true_lang-
|
|
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-pO-xtezx.js";
|
|
3
|
+
import { _ as _sfc_main$5 } from "./ImageProperties.vue_vue_type_script_setup_true_lang-DNqql2HK.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-
|
|
2
|
+
import { b as _sfc_main$1, c as _sfc_main$2, v as vT } from "./index-pO-xtezx.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 { q as findImageNode, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, p as formValidator, r as imageInfoNumberToPixel } from "./index-
|
|
3
|
-
import { _ as _sfc_main$4 } from "./ImageProperties.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { q as findImageNode, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, p as formValidator, r as imageInfoNumberToPixel } from "./index-pO-xtezx.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./ImageProperties.vue_vue_type_script_setup_true_lang-DNqql2HK.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-
|
|
2
|
+
import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3 } from "./index-pO-xtezx.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, j as _sfc_main$3 } from "./index-
|
|
2
|
+
import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, j as _sfc_main$3 } from "./index-pO-xtezx.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,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, onMounted, useTemplateRef, createBlock, openBlock, withCtx, createElementVNode, createVNode, createElementBlock, createCommentVNode, withDirectives, createTextVNode, unref, Fragment, renderList, toDisplayString } from "vue";
|
|
2
|
-
import { m as componentUtil, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, v as vT, o as _sfc_main$4, p as formValidator } from "./index-
|
|
2
|
+
import { m as componentUtil, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, v as vT, o as _sfc_main$4, p as formValidator } from "./index-pO-xtezx.js";
|
|
3
3
|
const findTableNode = (selection, type) => {
|
|
4
4
|
const head = selection.$head;
|
|
5
5
|
let depth = head.depth;
|
|
@@ -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-
|
|
3
|
-
import { _ as _sfc_main$5 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-
|
|
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-pO-xtezx.js";
|
|
3
|
+
import { _ as _sfc_main$5 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-B2SQASHh.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 { k as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, v as vT } from "./index-
|
|
2
|
+
import { k as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, v as vT } from "./index-pO-xtezx.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 { w as findVideoNode, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, p as formValidator, x as videoInfoNumberToPixel } from "./index-
|
|
3
|
-
import { _ as _sfc_main$4 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { w as findVideoNode, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, p as formValidator, x as videoInfoNumberToPixel } from "./index-pO-xtezx.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-B2SQASHh.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-
|
|
3
|
-
import { _ as _sfc_main$4 } from "./YoutubeProperties.vue_vue_type_script_setup_true_lang-
|
|
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-pO-xtezx.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./YoutubeProperties.vue_vue_type_script_setup_true_lang-CWqGTFe5.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-
|
|
2
|
+
import { b as _sfc_main$1, c as _sfc_main$2, v as vT } from "./index-pO-xtezx.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 { s as findYoutubeNode, t 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-
|
|
3
|
-
import { _ as _sfc_main$4 } from "./YoutubeProperties.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { s as findYoutubeNode, t 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-pO-xtezx.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./YoutubeProperties.vue_vue_type_script_setup_true_lang-CWqGTFe5.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 { aN, aO, bL, bM, z, ap, az, B, J, K, a9, k, R, ar, N, F, aA, ct, H, O, av, P, a7, a8, aw, Q, a3, b, h, a5, a4, ac, as, aq, a0, D, ab, aa, G, am, cb, ax, _, a1, aj, al, ak, ai, ah, ag, V, an, ay, j, I, M, at, C, Y, a2, L, E, S, o, d, U, au, a, ao, Z, a6, c, ae, af, X, W, ad, T, A, bT, bb, bS, aX, aC, cy, aB, b2, b0, aZ, $, bR, b4, b3, cD, bJ, bP, b1, bV, bU, bQ, cx, b5, aW, aK, aL, aJ, aM, bO, bN, a$, bK, bA, c5, cC, bf, bm, c4, cM, ch, bW, c1, c0, aT, f, bD, cj, aU, cs, ba, cw, cz, g, ce, a_, bi, cQ, aP, b7, bj, aQ, aS, aR, b9, b$, bx, by, bz, bu, bw, bv, e, bt, bq, p, cF, aV, b8, cq, cm, cE, bZ, aF, cN, cK, cO, bE, cL, bF, c3, c2, cn, bn, i, b_, bp, bl, cP, b6, ca, c9, aY, bY, n, cf, bX, cJ, cA, c6, cd, bB, bc, bg, bI, c8, bG, bH, ci, cp, co, cg, cl, bo, aE, bk, ck, cI, cu, cv, cB, c7, cc, u, bC, bd, be, bh, aD, aH, aI, l, v, aG, br, bs, cH, cG, cr } from "./index-
|
|
1
|
+
import { aN, aO, bL, bM, z, ap, az, B, J, K, a9, k, R, ar, N, F, aA, ct, H, O, av, P, a7, a8, aw, Q, a3, b, h, a5, a4, ac, as, aq, a0, D, ab, aa, G, am, cb, ax, _, a1, aj, al, ak, ai, ah, ag, V, an, ay, j, I, M, at, C, Y, a2, L, E, S, o, d, U, au, a, ao, Z, a6, c, ae, af, X, W, ad, T, A, bT, bb, bS, aX, aC, cy, aB, b2, b0, aZ, $, bR, b4, b3, cD, bJ, bP, b1, bV, bU, bQ, cx, b5, aW, aK, aL, aJ, aM, bO, bN, a$, bK, bA, c5, cC, bf, bm, c4, cM, ch, bW, c1, c0, aT, f, bD, cj, aU, cs, ba, cw, cz, g, ce, a_, bi, cQ, aP, b7, bj, aQ, aS, aR, b9, b$, bx, by, bz, bu, bw, bv, e, bt, bq, p, cF, aV, b8, cq, cm, cE, bZ, aF, cN, cK, cO, bE, cL, bF, c3, c2, cn, bn, i, b_, bp, bl, cP, b6, ca, c9, aY, bY, n, cf, bX, cJ, cA, c6, cd, bB, bc, bg, bI, c8, bG, bH, ci, cp, co, cg, cl, bo, aE, bk, ck, cI, cu, cv, cB, c7, cc, u, bC, bd, be, bh, aD, aH, aI, l, v, aG, br, bs, cH, cG, cr } from "./index-pO-xtezx.js";
|
|
2
2
|
export {
|
|
3
3
|
aN as ADDRESS_COUNTRY_CONFIGS,
|
|
4
4
|
aO as ADDRESS_COUNTRY_CONFIG_DEFAULT,
|
package/dist/bluesea.umd.cjs
CHANGED
|
@@ -1137,6 +1137,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1137
1137
|
showSearch: { type: [Boolean, String], default: "auto" },
|
|
1138
1138
|
baseElement: {},
|
|
1139
1139
|
popupAlign: {},
|
|
1140
|
+
enabledItemProvider: {},
|
|
1140
1141
|
popupDirection: {}
|
|
1141
1142
|
},
|
|
1142
1143
|
emits: ["itemSelected", "requestClose"],
|
|
@@ -1167,12 +1168,17 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1167
1168
|
const searchKeyword = vue.ref("");
|
|
1168
1169
|
const filteredItems = vue.computed(() => {
|
|
1169
1170
|
if (allItems.value === void 0) return void 0;
|
|
1171
|
+
let result = allItems.value;
|
|
1172
|
+
if (props.enabledItemProvider) {
|
|
1173
|
+
result = result.filter((item) => item === void 0 || props.enabledItemProvider(item.original));
|
|
1174
|
+
}
|
|
1170
1175
|
if (searchKeyword.value) {
|
|
1171
|
-
|
|
1176
|
+
result = result.filter((item) => {
|
|
1172
1177
|
var _a2;
|
|
1173
1178
|
return (_a2 = item == null ? void 0 : item.keyword) == null ? void 0 : _a2.includes(searchKeyword.value);
|
|
1174
1179
|
});
|
|
1175
|
-
}
|
|
1180
|
+
}
|
|
1181
|
+
return result;
|
|
1176
1182
|
});
|
|
1177
1183
|
const doSetSearchKeyword = debounce$2((keyword2) => {
|
|
1178
1184
|
searchKeyword.value = keyword2;
|
|
@@ -1764,6 +1770,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1764
1770
|
popupAlign: {},
|
|
1765
1771
|
popupDirection: {},
|
|
1766
1772
|
popupMaxHeight: {},
|
|
1773
|
+
enabledItemProvider: {},
|
|
1767
1774
|
showPopupSearch: { type: [Boolean, String], default: "auto" },
|
|
1768
1775
|
hideErrorMessage: { type: Boolean },
|
|
1769
1776
|
showErrorMessageOnDisabled: { type: Boolean },
|
|
@@ -1916,13 +1923,14 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1916
1923
|
"popup-direction": _ctx.popupDirection,
|
|
1917
1924
|
"selected-items": selectedItems.value,
|
|
1918
1925
|
"show-search": _ctx.showPopupSearch,
|
|
1926
|
+
"enabled-item-provider": _ctx.enabledItemProvider,
|
|
1919
1927
|
"value-provider": _ctx.valueProvider,
|
|
1920
1928
|
onItemSelected: itemSelected,
|
|
1921
1929
|
onRequestClose: _cache[0] || (_cache[0] = ($event) => {
|
|
1922
1930
|
togglePopup(false);
|
|
1923
1931
|
focusToRoot();
|
|
1924
1932
|
})
|
|
1925
|
-
}, null, 8, ["allow-null", "base-element", "initial-item", "items", "label-provider", "max-height", "null-label", "popup-align", "popup-direction", "selected-items", "show-search", "value-provider"])) : vue.createCommentVNode("", true),
|
|
1933
|
+
}, null, 8, ["allow-null", "base-element", "initial-item", "items", "label-provider", "max-height", "null-label", "popup-align", "popup-direction", "selected-items", "show-search", "enabled-item-provider", "value-provider"])) : vue.createCommentVNode("", true),
|
|
1926
1934
|
!_ctx.viewMode ? (vue.openBlock(), vue.createBlock(_sfc_main$1Z, {
|
|
1927
1935
|
key: 1,
|
|
1928
1936
|
errors: vue.unref(errors),
|
|
@@ -2498,7 +2506,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2498
2506
|
key: 1,
|
|
2499
2507
|
class: "suffix"
|
|
2500
2508
|
};
|
|
2501
|
-
const _hoisted_8$
|
|
2509
|
+
const _hoisted_8$5 = { class: "font-icon" };
|
|
2502
2510
|
const _hoisted_9$3 = {
|
|
2503
2511
|
key: 2,
|
|
2504
2512
|
class: "suffix"
|
|
@@ -2674,7 +2682,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2674
2682
|
})), [
|
|
2675
2683
|
[vue.unref(vT), item.value]
|
|
2676
2684
|
]) : item.type === "font-icon" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$7, [
|
|
2677
|
-
vue.createElementVNode("span", _hoisted_8$
|
|
2685
|
+
vue.createElementVNode("span", _hoisted_8$5, vue.toDisplayString(item.value), 1)
|
|
2678
2686
|
])) : item.type === "image-url" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_9$3, [
|
|
2679
2687
|
vue.createElementVNode("img", {
|
|
2680
2688
|
src: item.value,
|
|
@@ -2965,7 +2973,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2965
2973
|
key: 0,
|
|
2966
2974
|
class: "bs-layout-horizontal justify-content-center mt-8"
|
|
2967
2975
|
};
|
|
2968
|
-
const _hoisted_8$
|
|
2976
|
+
const _hoisted_8$4 = { class: "select-wrap w-full pa-8 d-flex justify-content-center align-items-center" };
|
|
2969
2977
|
const _hoisted_9$2 = {
|
|
2970
2978
|
key: 1,
|
|
2971
2979
|
class: "extra-dates bs-layout-vertical gap-2 mt-8"
|
|
@@ -3206,7 +3214,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3206
3214
|
])
|
|
3207
3215
|
], 2),
|
|
3208
3216
|
["HOUR", "MINUTE_10", "MINUTE_30", "MINUTE", "SECOND"].includes(_ctx.resolution) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$6, [
|
|
3209
|
-
vue.createElementVNode("div", _hoisted_8$
|
|
3217
|
+
vue.createElementVNode("div", _hoisted_8$4, [
|
|
3210
3218
|
vue.createVNode(_sfc_main$1Y, {
|
|
3211
3219
|
disabled: _ctx.disabled,
|
|
3212
3220
|
items: hours,
|
|
@@ -3423,7 +3431,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3423
3431
|
return isNaN(value) ? void 0 : value;
|
|
3424
3432
|
};
|
|
3425
3433
|
const convertFromValue = (value) => {
|
|
3426
|
-
return value !== void 0 ? String(value) : "";
|
|
3434
|
+
return value !== void 0 && value !== null ? String(value) : "";
|
|
3427
3435
|
};
|
|
3428
3436
|
const validationDisabled = vue.computed(() => props.viewMode || props.disabled);
|
|
3429
3437
|
const {
|
|
@@ -3754,7 +3762,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3754
3762
|
setup(__props) {
|
|
3755
3763
|
const props = __props;
|
|
3756
3764
|
const modelValue = vue.useModel(__props, "modelValue");
|
|
3757
|
-
const percentValue = vue.computed(() => modelValue.value !== void 0 ? Number((Number(modelValue.value) * 100).toFixed(props.maxDecimalPlaces)) : void 0);
|
|
3765
|
+
const percentValue = vue.computed(() => modelValue.value !== void 0 && modelValue.value !== null ? Number((Number(modelValue.value) * 100).toFixed(props.maxDecimalPlaces)) : void 0);
|
|
3758
3766
|
const updateModelValue = async (value) => {
|
|
3759
3767
|
modelValue.value = void 0;
|
|
3760
3768
|
await vue.nextTick();
|
|
@@ -5556,7 +5564,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5556
5564
|
key: 0,
|
|
5557
5565
|
class: "label"
|
|
5558
5566
|
};
|
|
5559
|
-
const _hoisted_8$
|
|
5567
|
+
const _hoisted_8$3 = {
|
|
5560
5568
|
key: 2,
|
|
5561
5569
|
class: "small-progress"
|
|
5562
5570
|
};
|
|
@@ -5581,6 +5589,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5581
5589
|
popupAlign: {},
|
|
5582
5590
|
popupDirection: {},
|
|
5583
5591
|
popupMaxHeight: {},
|
|
5592
|
+
enabledItemProvider: {},
|
|
5584
5593
|
showPopupSearch: { type: [Boolean, String], default: "auto" },
|
|
5585
5594
|
hideErrorMessage: { type: Boolean },
|
|
5586
5595
|
showErrorMessageOnDisabled: { type: Boolean }
|
|
@@ -5718,7 +5727,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5718
5727
|
}), 128))
|
|
5719
5728
|
])),
|
|
5720
5729
|
_cache[5] || (_cache[5] = vue.createElementVNode("span", { class: "dropdown-btn" }, "expand_more", -1)),
|
|
5721
|
-
loadingItems.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8$
|
|
5730
|
+
loadingItems.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8$3, "progress_activity")) : vue.createCommentVNode("", true)
|
|
5722
5731
|
], 8, _hoisted_4$p),
|
|
5723
5732
|
!_ctx.disabled && showPopup.value ? (vue.openBlock(), vue.createBlock(_sfc_main$1_, {
|
|
5724
5733
|
key: 0,
|
|
@@ -5733,10 +5742,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5733
5742
|
"popup-direction": _ctx.popupDirection,
|
|
5734
5743
|
"selected-items": selectedItems.value,
|
|
5735
5744
|
"show-search": _ctx.showPopupSearch,
|
|
5745
|
+
"enabled-item-provider": _ctx.enabledItemProvider,
|
|
5736
5746
|
"value-provider": _ctx.valueProvider,
|
|
5737
5747
|
onItemSelected: itemSelected,
|
|
5738
5748
|
onRequestClose: _cache[0] || (_cache[0] = ($event) => togglePopup(false))
|
|
5739
|
-
}, null, 8, ["base-element", "initial-item", "items", "label-provider", "max-height", "popup-align", "popup-direction", "selected-items", "show-search", "value-provider"])) : vue.createCommentVNode("", true)
|
|
5749
|
+
}, null, 8, ["base-element", "initial-item", "items", "label-provider", "max-height", "popup-align", "popup-direction", "selected-items", "show-search", "enabled-item-provider", "value-provider"])) : vue.createCommentVNode("", true)
|
|
5740
5750
|
], 64)),
|
|
5741
5751
|
!_ctx.viewMode ? (vue.openBlock(), vue.createBlock(_sfc_main$1Z, {
|
|
5742
5752
|
key: 2,
|
|
@@ -35887,7 +35897,7 @@ img.ProseMirror-separator {
|
|
|
35887
35897
|
key: 1,
|
|
35888
35898
|
class: "no-file"
|
|
35889
35899
|
};
|
|
35890
|
-
const _hoisted_8$
|
|
35900
|
+
const _hoisted_8$2 = ["accept", "disabled", "name"];
|
|
35891
35901
|
const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
35892
35902
|
__name: "BSFileUpload",
|
|
35893
35903
|
props: {
|
|
@@ -36107,7 +36117,7 @@ img.ProseMirror-separator {
|
|
|
36107
36117
|
style: { "display": "none" },
|
|
36108
36118
|
type: "file",
|
|
36109
36119
|
onChange: fileSelected
|
|
36110
|
-
}, null, 40, _hoisted_8$
|
|
36120
|
+
}, null, 40, _hoisted_8$2)
|
|
36111
36121
|
], 2),
|
|
36112
36122
|
!_ctx.viewMode ? (vue.openBlock(), vue.createBlock(_sfc_main$1Z, {
|
|
36113
36123
|
key: 0,
|
|
@@ -38791,7 +38801,7 @@ img.ProseMirror-separator {
|
|
|
38791
38801
|
const _hoisted_5$8 = { key: 3 };
|
|
38792
38802
|
const _hoisted_6$2 = { key: 4 };
|
|
38793
38803
|
const _hoisted_7$2 = ["textContent"];
|
|
38794
|
-
const _hoisted_8$
|
|
38804
|
+
const _hoisted_8$1 = { key: 5 };
|
|
38795
38805
|
const _hoisted_9$1 = ["textContent"];
|
|
38796
38806
|
const _hoisted_10 = { key: 6 };
|
|
38797
38807
|
const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -38901,7 +38911,7 @@ img.ProseMirror-separator {
|
|
|
38901
38911
|
textContent: vue.toDisplayString(formattedTotalCount.value)
|
|
38902
38912
|
}, null, 8, _hoisted_7$2)
|
|
38903
38913
|
]),
|
|
38904
|
-
selectedCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$
|
|
38914
|
+
selectedCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$1, [
|
|
38905
38915
|
vue.withDirectives(vue.createElementVNode("span", null, null, 512), [
|
|
38906
38916
|
[vue.unref(vT), { key: "bs.gridcontrol.selectedCount" }]
|
|
38907
38917
|
]),
|
|
@@ -39151,7 +39161,6 @@ img.ProseMirror-separator {
|
|
|
39151
39161
|
};
|
|
39152
39162
|
const _hoisted_6$1 = { class: "ml-4" };
|
|
39153
39163
|
const _hoisted_7$1 = { class: "buttons text-nowrap" };
|
|
39154
|
-
const _hoisted_8$1 = { class: "flex-grow-1 h-4 bs-layout-vertical" };
|
|
39155
39164
|
const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
39156
39165
|
__name: "BSTabSheet",
|
|
39157
39166
|
props: {
|
|
@@ -39165,7 +39174,8 @@ img.ProseMirror-separator {
|
|
|
39165
39174
|
var _a2, _b;
|
|
39166
39175
|
return ((_b = (_a2 = blueseaConfig.componentConfig) == null ? void 0 : _a2.tabSheet) == null ? void 0 : _b.confirmLeavingModifiedTab) ?? false;
|
|
39167
39176
|
} },
|
|
39168
|
-
keepTabs: { type: Boolean }
|
|
39177
|
+
keepTabs: { type: Boolean },
|
|
39178
|
+
tabBodyHeight: {}
|
|
39169
39179
|
},
|
|
39170
39180
|
emits: ["update:tabId"],
|
|
39171
39181
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -39311,7 +39321,10 @@ img.ProseMirror-separator {
|
|
|
39311
39321
|
vue.renderSlot(_ctx.$slots, "buttons")
|
|
39312
39322
|
])
|
|
39313
39323
|
], 34),
|
|
39314
|
-
vue.createElementVNode("div",
|
|
39324
|
+
vue.createElementVNode("div", {
|
|
39325
|
+
class: vue.normalizeClass([!_ctx.tabBodyHeight ? "h-4" : "", "flex-grow-1 bs-layout-vertical"]),
|
|
39326
|
+
style: vue.normalizeStyle({ height: _ctx.tabBodyHeight })
|
|
39327
|
+
}, [
|
|
39315
39328
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(createdTabs.value, (createdTab) => {
|
|
39316
39329
|
var _a3;
|
|
39317
39330
|
return vue.renderSlot(_ctx.$slots, createdTab.tabId, {
|
|
@@ -39320,7 +39333,7 @@ img.ProseMirror-separator {
|
|
|
39320
39333
|
tabId: createdTab.tabId
|
|
39321
39334
|
});
|
|
39322
39335
|
}), 128))
|
|
39323
|
-
])
|
|
39336
|
+
], 6)
|
|
39324
39337
|
], 8, _hoisted_1$K);
|
|
39325
39338
|
};
|
|
39326
39339
|
}
|
|
@@ -67974,7 +67987,7 @@ img.ProseMirror-separator {
|
|
|
67974
67987
|
};
|
|
67975
67988
|
const _hoisted_1$A = ["data-field-name"];
|
|
67976
67989
|
const _hoisted_2$r = { class: "bs-layout-horizontal flex-grow-1 h-full" };
|
|
67977
|
-
const _hoisted_3$l = { class: "bs-layout-vertical flex-grow-1 h-full" };
|
|
67990
|
+
const _hoisted_3$l = { class: "bs-layout-vertical flex-grow-1 h-full w-full" };
|
|
67978
67991
|
const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
67979
67992
|
__name: "BSHtmlEditor",
|
|
67980
67993
|
props: {
|
|
@@ -68134,7 +68147,8 @@ img.ProseMirror-separator {
|
|
|
68134
68147
|
extraValidationRules: {},
|
|
68135
68148
|
extraItemValidationRules: {},
|
|
68136
68149
|
ignoreSavePoint: { type: Boolean },
|
|
68137
|
-
hideErrorMessage: { type: Boolean }
|
|
68150
|
+
hideErrorMessage: { type: Boolean },
|
|
68151
|
+
useCss: { type: Boolean }
|
|
68138
68152
|
},
|
|
68139
68153
|
emits: ["update:modelValue"],
|
|
68140
68154
|
setup(__props, { emit: __emit }) {
|
|
@@ -68219,7 +68233,7 @@ img.ProseMirror-separator {
|
|
|
68219
68233
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: locale }, [
|
|
68220
68234
|
isVisibleLocale(locale) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$q, [
|
|
68221
68235
|
vue.createVNode(_sfc_main$E, {
|
|
68222
|
-
class: vue.normalizeClass([{ modified: modifiedByLocale(locale) }, "flex-grow-1"]),
|
|
68236
|
+
class: vue.normalizeClass([{ modified: modifiedByLocale(locale) }, "flex-grow-1 w-full"]),
|
|
68223
68237
|
"data-multi-lang-locale": locale,
|
|
68224
68238
|
disabled: _ctx.disabled,
|
|
68225
68239
|
"extra-validation-rules": extraValidationRulesByLocale(locale),
|
|
@@ -68228,6 +68242,7 @@ img.ProseMirror-separator {
|
|
|
68228
68242
|
required: isRequiredLocale(locale),
|
|
68229
68243
|
style: vue.normalizeStyle({ height: _ctx.height }),
|
|
68230
68244
|
tabindex: _ctx.tabindex,
|
|
68245
|
+
"use-css": _ctx.useCss,
|
|
68231
68246
|
"validation-message-required": _ctx.validationMessageRequired,
|
|
68232
68247
|
"view-mode": _ctx.viewMode,
|
|
68233
68248
|
"ignore-save-point": "",
|
|
@@ -68242,7 +68257,7 @@ img.ProseMirror-separator {
|
|
|
68242
68257
|
])
|
|
68243
68258
|
]),
|
|
68244
68259
|
_: 2
|
|
68245
|
-
}, 1032, ["class", "data-multi-lang-locale", "disabled", "extra-validation-rules", "model-value", "name", "required", "style", "tabindex", "validation-message-required", "view-mode", "onUpdate:modelValue"])
|
|
68260
|
+
}, 1032, ["class", "data-multi-lang-locale", "disabled", "extra-validation-rules", "model-value", "name", "required", "style", "tabindex", "use-css", "validation-message-required", "view-mode", "onUpdate:modelValue"])
|
|
68246
68261
|
])) : vue.createCommentVNode("", true)
|
|
68247
68262
|
], 64);
|
|
68248
68263
|
}), 128)),
|
|
@@ -70037,7 +70052,7 @@ img.ProseMirror-separator {
|
|
|
70037
70052
|
const props = __props;
|
|
70038
70053
|
const emit = __emit;
|
|
70039
70054
|
const context = useDefaultFrame();
|
|
70040
|
-
const menuLink = vue.computed(() => props.menu.menu.pages && props.menu.menu.pages.length > 0 ? `${context.config.framePrefix}/${props.menu.menu.pages[0].pageId}` : void 0);
|
|
70055
|
+
const menuLink = vue.computed(() => (!props.menu.subMenuView || props.menu.subMenuView.length === 0) && (props.menu.menu.pages && props.menu.menu.pages.length > 0) ? `${context.config.framePrefix}/${props.menu.menu.pages[0].pageId}` : void 0);
|
|
70041
70056
|
const isFavoriteMenu = vue.computed(() => {
|
|
70042
70057
|
var _a2;
|
|
70043
70058
|
return (_a2 = props.favorites) == null ? void 0 : _a2.includes(props.menu.menu.menuId);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldValidationRule } from '../../validator/FieldValidator';
|
|
2
|
-
import { KeyProvider, LabelProvider, MultiLangText } from '../../model/CommonTypes';
|
|
2
|
+
import { EnabledItemProvider, KeyProvider, LabelProvider, MultiLangText } from '../../model/CommonTypes';
|
|
3
3
|
|
|
4
4
|
declare const _default: <T, V>(__VLS_props: {
|
|
5
5
|
keyProvider?: KeyProvider<T> | undefined;
|
|
@@ -19,6 +19,7 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
19
19
|
readonly "onUpdate:modelValue"?: ((value?: V[] | undefined) => any) | undefined;
|
|
20
20
|
items?: T[] | Promise<T[]> | undefined;
|
|
21
21
|
valueProvider?: ((item: T) => V) | undefined;
|
|
22
|
+
enabledItemProvider?: EnabledItemProvider<T> | undefined;
|
|
22
23
|
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
23
24
|
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
24
25
|
selectedLabelProvider?: LabelProvider<T[]> | undefined;
|
|
@@ -47,6 +48,7 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
47
48
|
readonly "onUpdate:modelValue"?: ((value?: V[] | undefined) => any) | undefined;
|
|
48
49
|
items?: T[] | Promise<T[]> | undefined;
|
|
49
50
|
valueProvider?: ((item: T) => V) | undefined;
|
|
51
|
+
enabledItemProvider?: EnabledItemProvider<T> | undefined;
|
|
50
52
|
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
51
53
|
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
52
54
|
selectedLabelProvider?: LabelProvider<T[]> | undefined;
|
|
@@ -79,6 +81,7 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
79
81
|
readonly "onUpdate:modelValue"?: ((value?: V[] | undefined) => any) | undefined;
|
|
80
82
|
items?: T[] | Promise<T[]> | undefined;
|
|
81
83
|
valueProvider?: ((item: T) => V) | undefined;
|
|
84
|
+
enabledItemProvider?: EnabledItemProvider<T> | undefined;
|
|
82
85
|
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
83
86
|
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
84
87
|
selectedLabelProvider?: LabelProvider<T[]> | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UnwrapRef } from 'vue';
|
|
2
|
-
import { LabelProvider, MultiLangText } from '../../model/CommonTypes';
|
|
2
|
+
import { EnabledItemProvider, LabelProvider, MultiLangText } from '../../model/CommonTypes';
|
|
3
3
|
import { FieldValidationRule } from '../../validator/FieldValidator';
|
|
4
4
|
|
|
5
5
|
declare const _default: <T, V>(__VLS_props: {
|
|
@@ -19,6 +19,7 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
19
19
|
readonly "onUpdate:modelValue"?: ((value?: V | undefined) => any) | undefined;
|
|
20
20
|
items?: T[] | Promise<T[]> | undefined;
|
|
21
21
|
valueProvider?: ((item: T) => V) | undefined;
|
|
22
|
+
enabledItemProvider?: EnabledItemProvider<T> | undefined;
|
|
22
23
|
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
23
24
|
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
24
25
|
allowNull?: boolean | undefined;
|
|
@@ -49,6 +50,7 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
49
50
|
readonly "onUpdate:modelValue"?: ((value?: V | undefined) => any) | undefined;
|
|
50
51
|
items?: T[] | Promise<T[]> | undefined;
|
|
51
52
|
valueProvider?: ((item: T) => V) | undefined;
|
|
53
|
+
enabledItemProvider?: EnabledItemProvider<T> | undefined;
|
|
52
54
|
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
53
55
|
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
54
56
|
allowNull?: boolean | undefined;
|
|
@@ -83,6 +85,7 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
83
85
|
readonly "onUpdate:modelValue"?: ((value?: V | undefined) => any) | undefined;
|
|
84
86
|
items?: T[] | Promise<T[]> | undefined;
|
|
85
87
|
valueProvider?: ((item: T) => V) | undefined;
|
|
88
|
+
enabledItemProvider?: EnabledItemProvider<T> | undefined;
|
|
86
89
|
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
87
90
|
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
88
91
|
allowNull?: boolean | undefined;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { LabelProvider, MultiLangText } from '../../model/CommonTypes';
|
|
1
|
+
import { EnabledItemProvider, LabelProvider, MultiLangText } from '../../model/CommonTypes';
|
|
2
2
|
|
|
3
3
|
declare const _default: <T = any, V = any>(__VLS_props: {
|
|
4
4
|
maxHeight?: string | undefined;
|
|
5
5
|
labelProvider: LabelProvider<T>;
|
|
6
6
|
items: T[] | Promise<T[]>;
|
|
7
7
|
valueProvider: (item: T) => V;
|
|
8
|
+
enabledItemProvider?: EnabledItemProvider<T> | undefined;
|
|
8
9
|
baseElement: HTMLElement | null;
|
|
9
10
|
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
10
11
|
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
@@ -30,6 +31,7 @@ declare const _default: <T = any, V = any>(__VLS_props: {
|
|
|
30
31
|
labelProvider: LabelProvider<T>;
|
|
31
32
|
items: T[] | Promise<T[]>;
|
|
32
33
|
valueProvider: (item: T) => V;
|
|
34
|
+
enabledItemProvider?: EnabledItemProvider<T> | undefined;
|
|
33
35
|
baseElement: HTMLElement | null;
|
|
34
36
|
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
35
37
|
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
@@ -59,6 +61,7 @@ declare const _default: <T = any, V = any>(__VLS_props: {
|
|
|
59
61
|
labelProvider: LabelProvider<T>;
|
|
60
62
|
items: T[] | Promise<T[]>;
|
|
61
63
|
valueProvider: (item: T) => V;
|
|
64
|
+
enabledItemProvider?: EnabledItemProvider<T> | undefined;
|
|
62
65
|
baseElement: HTMLElement | null;
|
|
63
66
|
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
64
67
|
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
@@ -6,6 +6,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
6
6
|
blockLeavingModifiedTab?: boolean | undefined;
|
|
7
7
|
confirmLeavingModifiedTab?: boolean | undefined;
|
|
8
8
|
keepTabs?: boolean | undefined;
|
|
9
|
+
tabBodyHeight?: string | undefined;
|
|
9
10
|
}>, {
|
|
10
11
|
tabs: () => never[];
|
|
11
12
|
blockLeavingModifiedTab: () => boolean;
|
|
@@ -21,6 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
21
22
|
blockLeavingModifiedTab?: boolean | undefined;
|
|
22
23
|
confirmLeavingModifiedTab?: boolean | undefined;
|
|
23
24
|
keepTabs?: boolean | undefined;
|
|
25
|
+
tabBodyHeight?: string | undefined;
|
|
24
26
|
}>, {
|
|
25
27
|
tabs: () => never[];
|
|
26
28
|
blockLeavingModifiedTab: () => boolean;
|
|
@@ -21,6 +21,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
21
21
|
extraItemValidationRules?: FieldValidationRule<string>[] | undefined;
|
|
22
22
|
ignoreSavePoint?: boolean | undefined;
|
|
23
23
|
hideErrorMessage?: boolean | undefined;
|
|
24
|
+
useCss?: boolean | undefined;
|
|
24
25
|
}>, {
|
|
25
26
|
name: () => string;
|
|
26
27
|
modelValue: () => {};
|
|
@@ -49,6 +50,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
49
50
|
extraItemValidationRules?: FieldValidationRule<string>[] | undefined;
|
|
50
51
|
ignoreSavePoint?: boolean | undefined;
|
|
51
52
|
hideErrorMessage?: boolean | undefined;
|
|
53
|
+
useCss?: boolean | undefined;
|
|
52
54
|
}>, {
|
|
53
55
|
name: () => string;
|
|
54
56
|
modelValue: () => {};
|
|
@@ -368,8 +368,8 @@ const defaultAddressInputComponentConfig = {
|
|
|
368
368
|
countryConfigs: ADDRESS_COUNTRY_CONFIGS
|
|
369
369
|
};
|
|
370
370
|
const defaultRichTextComponentConfig = {
|
|
371
|
-
imageInsertModal: defineAsyncComponent(() => import("./ImageInsertModal-
|
|
372
|
-
videoInsertModal: defineAsyncComponent(() => import("./VideoInsertModal-
|
|
371
|
+
imageInsertModal: defineAsyncComponent(() => import("./ImageInsertModal-wdRGMEHH.js")),
|
|
372
|
+
videoInsertModal: defineAsyncComponent(() => import("./VideoInsertModal-s4eT3Ofx.js")),
|
|
373
373
|
toolButtons: [
|
|
374
374
|
"Heading",
|
|
375
375
|
"FontSize",
|
|
@@ -1137,6 +1137,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
1137
1137
|
showSearch: { type: [Boolean, String], default: "auto" },
|
|
1138
1138
|
baseElement: {},
|
|
1139
1139
|
popupAlign: {},
|
|
1140
|
+
enabledItemProvider: {},
|
|
1140
1141
|
popupDirection: {}
|
|
1141
1142
|
},
|
|
1142
1143
|
emits: ["itemSelected", "requestClose"],
|
|
@@ -1167,12 +1168,17 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
1167
1168
|
const searchKeyword = ref("");
|
|
1168
1169
|
const filteredItems = computed(() => {
|
|
1169
1170
|
if (allItems.value === void 0) return void 0;
|
|
1171
|
+
let result = allItems.value;
|
|
1172
|
+
if (props.enabledItemProvider) {
|
|
1173
|
+
result = result.filter((item) => item === void 0 || props.enabledItemProvider(item.original));
|
|
1174
|
+
}
|
|
1170
1175
|
if (searchKeyword.value) {
|
|
1171
|
-
|
|
1176
|
+
result = result.filter((item) => {
|
|
1172
1177
|
var _a2;
|
|
1173
1178
|
return (_a2 = item == null ? void 0 : item.keyword) == null ? void 0 : _a2.includes(searchKeyword.value);
|
|
1174
1179
|
});
|
|
1175
|
-
}
|
|
1180
|
+
}
|
|
1181
|
+
return result;
|
|
1176
1182
|
});
|
|
1177
1183
|
const doSetSearchKeyword = debounce$2((keyword2) => {
|
|
1178
1184
|
searchKeyword.value = keyword2;
|
|
@@ -1764,6 +1770,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
|
1764
1770
|
popupAlign: {},
|
|
1765
1771
|
popupDirection: {},
|
|
1766
1772
|
popupMaxHeight: {},
|
|
1773
|
+
enabledItemProvider: {},
|
|
1767
1774
|
showPopupSearch: { type: [Boolean, String], default: "auto" },
|
|
1768
1775
|
hideErrorMessage: { type: Boolean },
|
|
1769
1776
|
showErrorMessageOnDisabled: { type: Boolean },
|
|
@@ -1916,13 +1923,14 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
|
1916
1923
|
"popup-direction": _ctx.popupDirection,
|
|
1917
1924
|
"selected-items": selectedItems.value,
|
|
1918
1925
|
"show-search": _ctx.showPopupSearch,
|
|
1926
|
+
"enabled-item-provider": _ctx.enabledItemProvider,
|
|
1919
1927
|
"value-provider": _ctx.valueProvider,
|
|
1920
1928
|
onItemSelected: itemSelected,
|
|
1921
1929
|
onRequestClose: _cache[0] || (_cache[0] = ($event) => {
|
|
1922
1930
|
togglePopup(false);
|
|
1923
1931
|
focusToRoot();
|
|
1924
1932
|
})
|
|
1925
|
-
}, null, 8, ["allow-null", "base-element", "initial-item", "items", "label-provider", "max-height", "null-label", "popup-align", "popup-direction", "selected-items", "show-search", "value-provider"])) : createCommentVNode("", true),
|
|
1933
|
+
}, null, 8, ["allow-null", "base-element", "initial-item", "items", "label-provider", "max-height", "null-label", "popup-align", "popup-direction", "selected-items", "show-search", "enabled-item-provider", "value-provider"])) : createCommentVNode("", true),
|
|
1926
1934
|
!_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
|
|
1927
1935
|
key: 1,
|
|
1928
1936
|
errors: unref(errors),
|
|
@@ -2498,7 +2506,7 @@ const _hoisted_7$6 = {
|
|
|
2498
2506
|
key: 1,
|
|
2499
2507
|
class: "suffix"
|
|
2500
2508
|
};
|
|
2501
|
-
const _hoisted_8$
|
|
2509
|
+
const _hoisted_8$4 = { class: "font-icon" };
|
|
2502
2510
|
const _hoisted_9$2 = {
|
|
2503
2511
|
key: 2,
|
|
2504
2512
|
class: "suffix"
|
|
@@ -2674,7 +2682,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
2674
2682
|
})), [
|
|
2675
2683
|
[unref(vT), item.value]
|
|
2676
2684
|
]) : item.type === "font-icon" ? (openBlock(), createElementBlock("span", _hoisted_7$6, [
|
|
2677
|
-
createElementVNode("span", _hoisted_8$
|
|
2685
|
+
createElementVNode("span", _hoisted_8$4, toDisplayString(item.value), 1)
|
|
2678
2686
|
])) : item.type === "image-url" ? (openBlock(), createElementBlock("span", _hoisted_9$2, [
|
|
2679
2687
|
createElementVNode("img", {
|
|
2680
2688
|
src: item.value,
|
|
@@ -2965,7 +2973,7 @@ const _hoisted_7$5 = {
|
|
|
2965
2973
|
key: 0,
|
|
2966
2974
|
class: "bs-layout-horizontal justify-content-center mt-8"
|
|
2967
2975
|
};
|
|
2968
|
-
const _hoisted_8$
|
|
2976
|
+
const _hoisted_8$3 = { class: "select-wrap w-full pa-8 d-flex justify-content-center align-items-center" };
|
|
2969
2977
|
const _hoisted_9$1 = {
|
|
2970
2978
|
key: 1,
|
|
2971
2979
|
class: "extra-dates bs-layout-vertical gap-2 mt-8"
|
|
@@ -3206,7 +3214,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
3206
3214
|
])
|
|
3207
3215
|
], 2),
|
|
3208
3216
|
["HOUR", "MINUTE_10", "MINUTE_30", "MINUTE", "SECOND"].includes(_ctx.resolution) ? (openBlock(), createElementBlock("div", _hoisted_7$5, [
|
|
3209
|
-
createElementVNode("div", _hoisted_8$
|
|
3217
|
+
createElementVNode("div", _hoisted_8$3, [
|
|
3210
3218
|
createVNode(_sfc_main$1H, {
|
|
3211
3219
|
disabled: _ctx.disabled,
|
|
3212
3220
|
items: hours,
|
|
@@ -3423,7 +3431,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
3423
3431
|
return isNaN(value) ? void 0 : value;
|
|
3424
3432
|
};
|
|
3425
3433
|
const convertFromValue = (value) => {
|
|
3426
|
-
return value !== void 0 ? String(value) : "";
|
|
3434
|
+
return value !== void 0 && value !== null ? String(value) : "";
|
|
3427
3435
|
};
|
|
3428
3436
|
const validationDisabled = computed(() => props.viewMode || props.disabled);
|
|
3429
3437
|
const {
|
|
@@ -3754,7 +3762,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
3754
3762
|
setup(__props) {
|
|
3755
3763
|
const props = __props;
|
|
3756
3764
|
const modelValue = useModel(__props, "modelValue");
|
|
3757
|
-
const percentValue = computed(() => modelValue.value !== void 0 ? Number((Number(modelValue.value) * 100).toFixed(props.maxDecimalPlaces)) : void 0);
|
|
3765
|
+
const percentValue = computed(() => modelValue.value !== void 0 && modelValue.value !== null ? Number((Number(modelValue.value) * 100).toFixed(props.maxDecimalPlaces)) : void 0);
|
|
3758
3766
|
const updateModelValue = async (value) => {
|
|
3759
3767
|
modelValue.value = void 0;
|
|
3760
3768
|
await nextTick();
|
|
@@ -5556,7 +5564,7 @@ const _hoisted_7$4 = {
|
|
|
5556
5564
|
key: 0,
|
|
5557
5565
|
class: "label"
|
|
5558
5566
|
};
|
|
5559
|
-
const _hoisted_8$
|
|
5567
|
+
const _hoisted_8$2 = {
|
|
5560
5568
|
key: 2,
|
|
5561
5569
|
class: "small-progress"
|
|
5562
5570
|
};
|
|
@@ -5581,6 +5589,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
5581
5589
|
popupAlign: {},
|
|
5582
5590
|
popupDirection: {},
|
|
5583
5591
|
popupMaxHeight: {},
|
|
5592
|
+
enabledItemProvider: {},
|
|
5584
5593
|
showPopupSearch: { type: [Boolean, String], default: "auto" },
|
|
5585
5594
|
hideErrorMessage: { type: Boolean },
|
|
5586
5595
|
showErrorMessageOnDisabled: { type: Boolean }
|
|
@@ -5718,7 +5727,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
5718
5727
|
}), 128))
|
|
5719
5728
|
])),
|
|
5720
5729
|
_cache[5] || (_cache[5] = createElementVNode("span", { class: "dropdown-btn" }, "expand_more", -1)),
|
|
5721
|
-
loadingItems.value ? (openBlock(), createElementBlock("span", _hoisted_8$
|
|
5730
|
+
loadingItems.value ? (openBlock(), createElementBlock("span", _hoisted_8$2, "progress_activity")) : createCommentVNode("", true)
|
|
5722
5731
|
], 8, _hoisted_4$h),
|
|
5723
5732
|
!_ctx.disabled && showPopup.value ? (openBlock(), createBlock(_sfc_main$1J, {
|
|
5724
5733
|
key: 0,
|
|
@@ -5733,10 +5742,11 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
5733
5742
|
"popup-direction": _ctx.popupDirection,
|
|
5734
5743
|
"selected-items": selectedItems.value,
|
|
5735
5744
|
"show-search": _ctx.showPopupSearch,
|
|
5745
|
+
"enabled-item-provider": _ctx.enabledItemProvider,
|
|
5736
5746
|
"value-provider": _ctx.valueProvider,
|
|
5737
5747
|
onItemSelected: itemSelected,
|
|
5738
5748
|
onRequestClose: _cache[0] || (_cache[0] = ($event) => togglePopup(false))
|
|
5739
|
-
}, null, 8, ["base-element", "initial-item", "items", "label-provider", "max-height", "popup-align", "popup-direction", "selected-items", "show-search", "value-provider"])) : createCommentVNode("", true)
|
|
5749
|
+
}, null, 8, ["base-element", "initial-item", "items", "label-provider", "max-height", "popup-align", "popup-direction", "selected-items", "show-search", "enabled-item-provider", "value-provider"])) : createCommentVNode("", true)
|
|
5740
5750
|
], 64)),
|
|
5741
5751
|
!_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
|
|
5742
5752
|
key: 2,
|
|
@@ -6326,7 +6336,7 @@ class BSModal {
|
|
|
6326
6336
|
}
|
|
6327
6337
|
openAlert(title, message, clickHandler2) {
|
|
6328
6338
|
const option = {
|
|
6329
|
-
component: defineAsyncComponent(() => import("./BSAlertModal-
|
|
6339
|
+
component: defineAsyncComponent(() => import("./BSAlertModal-CCdaoT-g.js")),
|
|
6330
6340
|
bind: {
|
|
6331
6341
|
title,
|
|
6332
6342
|
message
|
|
@@ -6339,7 +6349,7 @@ class BSModal {
|
|
|
6339
6349
|
}
|
|
6340
6350
|
openYesNo(title, message, yesHandler, noHandler) {
|
|
6341
6351
|
const option = {
|
|
6342
|
-
component: defineAsyncComponent(() => import("./BSYesNoModal-
|
|
6352
|
+
component: defineAsyncComponent(() => import("./BSYesNoModal-BljzNd5_.js")),
|
|
6343
6353
|
bind: {
|
|
6344
6354
|
title,
|
|
6345
6355
|
message
|
|
@@ -31473,13 +31483,13 @@ const tableContextMenus = (modal, editor) => {
|
|
|
31473
31483
|
};
|
|
31474
31484
|
const showTableProperties = (modal, editor) => {
|
|
31475
31485
|
modal.openModal({
|
|
31476
|
-
component: defineAsyncComponent(() => import("./TablePropertiesModal-
|
|
31486
|
+
component: defineAsyncComponent(() => import("./TablePropertiesModal-BDir2XM5.js")),
|
|
31477
31487
|
bind: { editor }
|
|
31478
31488
|
});
|
|
31479
31489
|
};
|
|
31480
31490
|
const insertTable = (modal, editor) => {
|
|
31481
31491
|
modal.openModal({
|
|
31482
|
-
component: defineAsyncComponent(() => import("./TableInsertModal-
|
|
31492
|
+
component: defineAsyncComponent(() => import("./TableInsertModal-DWy7cSQz.js")),
|
|
31483
31493
|
bind: { editor }
|
|
31484
31494
|
});
|
|
31485
31495
|
};
|
|
@@ -31644,7 +31654,7 @@ const insertImage = (modal, editor) => {
|
|
|
31644
31654
|
const component = (_a2 = blueseaConfig.componentConfig.richText) == null ? void 0 : _a2.imageInsertModal;
|
|
31645
31655
|
if (component) {
|
|
31646
31656
|
modal.openModal({
|
|
31647
|
-
component: defineAsyncComponent(() => import("./ImageInsertModal-
|
|
31657
|
+
component: defineAsyncComponent(() => import("./ImageInsertModal-wdRGMEHH.js")),
|
|
31648
31658
|
bind: { editor },
|
|
31649
31659
|
on: {
|
|
31650
31660
|
insertImage: (image) => {
|
|
@@ -31662,7 +31672,7 @@ const insertImage = (modal, editor) => {
|
|
|
31662
31672
|
};
|
|
31663
31673
|
const showImageProperties = (modal, editor) => {
|
|
31664
31674
|
modal.openModal({
|
|
31665
|
-
component: defineAsyncComponent(() => import("./ImagePropertiesModal-
|
|
31675
|
+
component: defineAsyncComponent(() => import("./ImagePropertiesModal-BumfiYFu.js")),
|
|
31666
31676
|
bind: { editor }
|
|
31667
31677
|
});
|
|
31668
31678
|
};
|
|
@@ -32023,13 +32033,13 @@ const youtubeContextMenu = (modal, editor) => {
|
|
|
32023
32033
|
};
|
|
32024
32034
|
const insertYoutube = (modal, editor) => {
|
|
32025
32035
|
modal.openModal({
|
|
32026
|
-
component: defineAsyncComponent(() => import("./YoutubeInsertModal-
|
|
32036
|
+
component: defineAsyncComponent(() => import("./YoutubeInsertModal-CdcIzmFl.js")),
|
|
32027
32037
|
bind: { editor }
|
|
32028
32038
|
});
|
|
32029
32039
|
};
|
|
32030
32040
|
const showYoutubeProperties = (modal, editor) => {
|
|
32031
32041
|
modal.openModal({
|
|
32032
|
-
component: defineAsyncComponent(() => import("./YoutubePropertiesModal-
|
|
32042
|
+
component: defineAsyncComponent(() => import("./YoutubePropertiesModal-CAd6dZ6E.js")),
|
|
32033
32043
|
bind: { editor }
|
|
32034
32044
|
});
|
|
32035
32045
|
};
|
|
@@ -32073,7 +32083,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
32073
32083
|
const showLinkProperties = () => {
|
|
32074
32084
|
if (!props.disabled) {
|
|
32075
32085
|
modal.openModal({
|
|
32076
|
-
component: defineAsyncComponent(() => import("./LinkPropertiesModal-
|
|
32086
|
+
component: defineAsyncComponent(() => import("./LinkPropertiesModal-C-cq00aG.js")),
|
|
32077
32087
|
bind: {
|
|
32078
32088
|
editor: props.editor
|
|
32079
32089
|
}
|
|
@@ -32438,7 +32448,7 @@ const insertVideo = (modal, editor) => {
|
|
|
32438
32448
|
const component = (_a2 = blueseaConfig.componentConfig.richText) == null ? void 0 : _a2.videoInsertModal;
|
|
32439
32449
|
if (component) {
|
|
32440
32450
|
modal.openModal({
|
|
32441
|
-
component: defineAsyncComponent(() => import("./VideoInsertModal-
|
|
32451
|
+
component: defineAsyncComponent(() => import("./VideoInsertModal-s4eT3Ofx.js")),
|
|
32442
32452
|
bind: { editor },
|
|
32443
32453
|
on: {
|
|
32444
32454
|
insertVideo: (video) => {
|
|
@@ -32456,7 +32466,7 @@ const insertVideo = (modal, editor) => {
|
|
|
32456
32466
|
};
|
|
32457
32467
|
const showVideoProperties = (modal, editor) => {
|
|
32458
32468
|
modal.openModal({
|
|
32459
|
-
component: defineAsyncComponent(() => import("./VideoPropertiesModal-
|
|
32469
|
+
component: defineAsyncComponent(() => import("./VideoPropertiesModal-zHc0vcQs.js")),
|
|
32460
32470
|
bind: { editor }
|
|
32461
32471
|
});
|
|
32462
32472
|
};
|
|
@@ -34634,7 +34644,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
34634
34644
|
emit("maximized");
|
|
34635
34645
|
if (!props.internalMaximized) {
|
|
34636
34646
|
modal.openModal({
|
|
34637
|
-
component: defineAsyncComponent(() => import("./BSRichTextMaximizedModal-
|
|
34647
|
+
component: defineAsyncComponent(() => import("./BSRichTextMaximizedModal-Byrr_L8I.js")),
|
|
34638
34648
|
bind: {
|
|
34639
34649
|
modelValue: getEditorValue(),
|
|
34640
34650
|
contentMaxWidth: props.contentMaxWidth,
|
|
@@ -35181,7 +35191,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
35181
35191
|
const modal = useModal();
|
|
35182
35192
|
const enterYoutubeUrl = () => {
|
|
35183
35193
|
modal.openModal({
|
|
35184
|
-
component: defineAsyncComponent(() => import("./BSYoutubeInputModal-
|
|
35194
|
+
component: defineAsyncComponent(() => import("./BSYoutubeInputModal-BZR0jJvt.js")),
|
|
35185
35195
|
on: {
|
|
35186
35196
|
"update:modelValue": (url) => {
|
|
35187
35197
|
emit("update:modelValue", {
|
|
@@ -35887,7 +35897,7 @@ const _hoisted_7$3 = {
|
|
|
35887
35897
|
key: 1,
|
|
35888
35898
|
class: "no-file"
|
|
35889
35899
|
};
|
|
35890
|
-
const _hoisted_8$
|
|
35900
|
+
const _hoisted_8$1 = ["accept", "disabled", "name"];
|
|
35891
35901
|
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
35892
35902
|
__name: "BSFileUpload",
|
|
35893
35903
|
props: {
|
|
@@ -36107,7 +36117,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
36107
36117
|
style: { "display": "none" },
|
|
36108
36118
|
type: "file",
|
|
36109
36119
|
onChange: fileSelected
|
|
36110
|
-
}, null, 40, _hoisted_8$
|
|
36120
|
+
}, null, 40, _hoisted_8$1)
|
|
36111
36121
|
], 2),
|
|
36112
36122
|
!_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
|
|
36113
36123
|
key: 0,
|
|
@@ -38791,7 +38801,7 @@ const _hoisted_4$7 = { key: 2 };
|
|
|
38791
38801
|
const _hoisted_5$3 = { key: 3 };
|
|
38792
38802
|
const _hoisted_6$1 = { key: 4 };
|
|
38793
38803
|
const _hoisted_7$1 = ["textContent"];
|
|
38794
|
-
const _hoisted_8
|
|
38804
|
+
const _hoisted_8 = { key: 5 };
|
|
38795
38805
|
const _hoisted_9 = ["textContent"];
|
|
38796
38806
|
const _hoisted_10 = { key: 6 };
|
|
38797
38807
|
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
@@ -38838,7 +38848,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
38838
38848
|
const modal = useModal();
|
|
38839
38849
|
const openSettingModal = () => {
|
|
38840
38850
|
modal.openModal({
|
|
38841
|
-
component: defineAsyncComponent(() => import("./BSGridColumnSettingModal-
|
|
38851
|
+
component: defineAsyncComponent(() => import("./BSGridColumnSettingModal-CMJqpWzY.js")),
|
|
38842
38852
|
bind: {
|
|
38843
38853
|
columns: props.columns,
|
|
38844
38854
|
columnSettings: props.columnSettings,
|
|
@@ -38901,7 +38911,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
38901
38911
|
textContent: toDisplayString(formattedTotalCount.value)
|
|
38902
38912
|
}, null, 8, _hoisted_7$1)
|
|
38903
38913
|
]),
|
|
38904
|
-
selectedCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_8
|
|
38914
|
+
selectedCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
38905
38915
|
withDirectives(createElementVNode("span", null, null, 512), [
|
|
38906
38916
|
[unref(vT), { key: "bs.gridcontrol.selectedCount" }]
|
|
38907
38917
|
]),
|
|
@@ -39151,7 +39161,6 @@ const _hoisted_5$2 = {
|
|
|
39151
39161
|
};
|
|
39152
39162
|
const _hoisted_6 = { class: "ml-4" };
|
|
39153
39163
|
const _hoisted_7 = { class: "buttons text-nowrap" };
|
|
39154
|
-
const _hoisted_8 = { class: "flex-grow-1 h-4 bs-layout-vertical" };
|
|
39155
39164
|
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
39156
39165
|
__name: "BSTabSheet",
|
|
39157
39166
|
props: {
|
|
@@ -39165,7 +39174,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
39165
39174
|
var _a2, _b;
|
|
39166
39175
|
return ((_b = (_a2 = blueseaConfig.componentConfig) == null ? void 0 : _a2.tabSheet) == null ? void 0 : _b.confirmLeavingModifiedTab) ?? false;
|
|
39167
39176
|
} },
|
|
39168
|
-
keepTabs: { type: Boolean }
|
|
39177
|
+
keepTabs: { type: Boolean },
|
|
39178
|
+
tabBodyHeight: {}
|
|
39169
39179
|
},
|
|
39170
39180
|
emits: ["update:tabId"],
|
|
39171
39181
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -39311,7 +39321,10 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
39311
39321
|
renderSlot(_ctx.$slots, "buttons")
|
|
39312
39322
|
])
|
|
39313
39323
|
], 34),
|
|
39314
|
-
createElementVNode("div",
|
|
39324
|
+
createElementVNode("div", {
|
|
39325
|
+
class: normalizeClass([!_ctx.tabBodyHeight ? "h-4" : "", "flex-grow-1 bs-layout-vertical"]),
|
|
39326
|
+
style: normalizeStyle({ height: _ctx.tabBodyHeight })
|
|
39327
|
+
}, [
|
|
39315
39328
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(createdTabs.value, (createdTab) => {
|
|
39316
39329
|
var _a3;
|
|
39317
39330
|
return renderSlot(_ctx.$slots, createdTab.tabId, {
|
|
@@ -39320,7 +39333,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
39320
39333
|
tabId: createdTab.tabId
|
|
39321
39334
|
});
|
|
39322
39335
|
}), 128))
|
|
39323
|
-
])
|
|
39336
|
+
], 6)
|
|
39324
39337
|
], 8, _hoisted_1$u);
|
|
39325
39338
|
};
|
|
39326
39339
|
}
|
|
@@ -67974,7 +67987,7 @@ const isHtmlCodeEmpty = (value) => {
|
|
|
67974
67987
|
};
|
|
67975
67988
|
const _hoisted_1$k = ["data-field-name"];
|
|
67976
67989
|
const _hoisted_2$d = { class: "bs-layout-horizontal flex-grow-1 h-full" };
|
|
67977
|
-
const _hoisted_3$9 = { class: "bs-layout-vertical flex-grow-1 h-full" };
|
|
67990
|
+
const _hoisted_3$9 = { class: "bs-layout-vertical flex-grow-1 h-full w-full" };
|
|
67978
67991
|
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
67979
67992
|
__name: "BSHtmlEditor",
|
|
67980
67993
|
props: {
|
|
@@ -68134,7 +68147,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
68134
68147
|
extraValidationRules: {},
|
|
68135
68148
|
extraItemValidationRules: {},
|
|
68136
68149
|
ignoreSavePoint: { type: Boolean },
|
|
68137
|
-
hideErrorMessage: { type: Boolean }
|
|
68150
|
+
hideErrorMessage: { type: Boolean },
|
|
68151
|
+
useCss: { type: Boolean }
|
|
68138
68152
|
},
|
|
68139
68153
|
emits: ["update:modelValue"],
|
|
68140
68154
|
setup(__props, { emit: __emit }) {
|
|
@@ -68219,7 +68233,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
68219
68233
|
return openBlock(), createElementBlock(Fragment$1, { key: locale }, [
|
|
68220
68234
|
isVisibleLocale(locale) ? (openBlock(), createElementBlock("div", _hoisted_2$c, [
|
|
68221
68235
|
createVNode(_sfc_main$n, {
|
|
68222
|
-
class: normalizeClass([{ modified: modifiedByLocale(locale) }, "flex-grow-1"]),
|
|
68236
|
+
class: normalizeClass([{ modified: modifiedByLocale(locale) }, "flex-grow-1 w-full"]),
|
|
68223
68237
|
"data-multi-lang-locale": locale,
|
|
68224
68238
|
disabled: _ctx.disabled,
|
|
68225
68239
|
"extra-validation-rules": extraValidationRulesByLocale(locale),
|
|
@@ -68228,6 +68242,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
68228
68242
|
required: isRequiredLocale(locale),
|
|
68229
68243
|
style: normalizeStyle({ height: _ctx.height }),
|
|
68230
68244
|
tabindex: _ctx.tabindex,
|
|
68245
|
+
"use-css": _ctx.useCss,
|
|
68231
68246
|
"validation-message-required": _ctx.validationMessageRequired,
|
|
68232
68247
|
"view-mode": _ctx.viewMode,
|
|
68233
68248
|
"ignore-save-point": "",
|
|
@@ -68242,7 +68257,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
68242
68257
|
])
|
|
68243
68258
|
]),
|
|
68244
68259
|
_: 2
|
|
68245
|
-
}, 1032, ["class", "data-multi-lang-locale", "disabled", "extra-validation-rules", "model-value", "name", "required", "style", "tabindex", "validation-message-required", "view-mode", "onUpdate:modelValue"])
|
|
68260
|
+
}, 1032, ["class", "data-multi-lang-locale", "disabled", "extra-validation-rules", "model-value", "name", "required", "style", "tabindex", "use-css", "validation-message-required", "view-mode", "onUpdate:modelValue"])
|
|
68246
68261
|
])) : createCommentVNode("", true)
|
|
68247
68262
|
], 64);
|
|
68248
68263
|
}), 128)),
|
|
@@ -70037,7 +70052,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
70037
70052
|
const props = __props;
|
|
70038
70053
|
const emit = __emit;
|
|
70039
70054
|
const context = useDefaultFrame();
|
|
70040
|
-
const menuLink = computed(() => props.menu.menu.pages && props.menu.menu.pages.length > 0 ? `${context.config.framePrefix}/${props.menu.menu.pages[0].pageId}` : void 0);
|
|
70055
|
+
const menuLink = computed(() => (!props.menu.subMenuView || props.menu.subMenuView.length === 0) && (props.menu.menu.pages && props.menu.menu.pages.length > 0) ? `${context.config.framePrefix}/${props.menu.menu.pages[0].pageId}` : void 0);
|
|
70041
70056
|
const isFavoriteMenu = computed(() => {
|
|
70042
70057
|
var _a2;
|
|
70043
70058
|
return (_a2 = props.favorites) == null ? void 0 : _a2.includes(props.menu.menu.menuId);
|
package/package.json
CHANGED
|
@@ -320,14 +320,6 @@
|
|
|
320
320
|
"key": "bs.expandAll",
|
|
321
321
|
"text": "Expand All"
|
|
322
322
|
},
|
|
323
|
-
{
|
|
324
|
-
"key": "bs.fileUpload.noFile",
|
|
325
|
-
"text": "No file"
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
"key": "bs.fileUpload.selectFile",
|
|
329
|
-
"text": "Select file"
|
|
330
|
-
},
|
|
331
323
|
{
|
|
332
324
|
"key": "bs.fileupload.action",
|
|
333
325
|
"text": "Delete"
|
|
@@ -356,10 +348,18 @@
|
|
|
356
348
|
"key": "bs.fileupload.invalidFileName",
|
|
357
349
|
"text": "Filename is not valid."
|
|
358
350
|
},
|
|
351
|
+
{
|
|
352
|
+
"key": "bs.fileUpload.noFile",
|
|
353
|
+
"text": "No file"
|
|
354
|
+
},
|
|
359
355
|
{
|
|
360
356
|
"key": "bs.fileupload.progress",
|
|
361
357
|
"text": "Progress"
|
|
362
358
|
},
|
|
359
|
+
{
|
|
360
|
+
"key": "bs.fileUpload.selectFile",
|
|
361
|
+
"text": "Select file"
|
|
362
|
+
},
|
|
363
363
|
{
|
|
364
364
|
"key": "bs.fileupload.thumbnail",
|
|
365
365
|
"text": "File"
|
|
@@ -320,14 +320,6 @@
|
|
|
320
320
|
"key": "bs.expandAll",
|
|
321
321
|
"text": "Développer tout"
|
|
322
322
|
},
|
|
323
|
-
{
|
|
324
|
-
"key": "bs.fileUpload.noFile",
|
|
325
|
-
"text": "Aucun fichier"
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
"key": "bs.fileUpload.selectFile",
|
|
329
|
-
"text": "Sélectionner un fichier"
|
|
330
|
-
},
|
|
331
323
|
{
|
|
332
324
|
"key": "bs.fileupload.action",
|
|
333
325
|
"text": "Supprimer"
|
|
@@ -356,10 +348,18 @@
|
|
|
356
348
|
"key": "bs.fileupload.invalidFileName",
|
|
357
349
|
"text": "Le nom de fichier n'est pas valide."
|
|
358
350
|
},
|
|
351
|
+
{
|
|
352
|
+
"key": "bs.fileUpload.noFile",
|
|
353
|
+
"text": "Aucun fichier"
|
|
354
|
+
},
|
|
359
355
|
{
|
|
360
356
|
"key": "bs.fileupload.progress",
|
|
361
357
|
"text": "Progrès"
|
|
362
358
|
},
|
|
359
|
+
{
|
|
360
|
+
"key": "bs.fileUpload.selectFile",
|
|
361
|
+
"text": "Sélectionner un fichier"
|
|
362
|
+
},
|
|
363
363
|
{
|
|
364
364
|
"key": "bs.fileupload.thumbnail",
|
|
365
365
|
"text": "Déposer"
|
|
@@ -320,14 +320,6 @@
|
|
|
320
320
|
"key": "bs.expandAll",
|
|
321
321
|
"text": "フルオープン"
|
|
322
322
|
},
|
|
323
|
-
{
|
|
324
|
-
"key": "bs.fileUpload.noFile",
|
|
325
|
-
"text": "ファイルなし"
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
"key": "bs.fileUpload.selectFile",
|
|
329
|
-
"text": "ファイル選択"
|
|
330
|
-
},
|
|
331
323
|
{
|
|
332
324
|
"key": "bs.fileupload.action",
|
|
333
325
|
"text": "削除"
|
|
@@ -356,10 +348,18 @@
|
|
|
356
348
|
"key": "bs.fileupload.invalidFileName",
|
|
357
349
|
"text": "ファイル名が正しくありません。"
|
|
358
350
|
},
|
|
351
|
+
{
|
|
352
|
+
"key": "bs.fileUpload.noFile",
|
|
353
|
+
"text": "ファイルなし"
|
|
354
|
+
},
|
|
359
355
|
{
|
|
360
356
|
"key": "bs.fileupload.progress",
|
|
361
357
|
"text": "進行状態"
|
|
362
358
|
},
|
|
359
|
+
{
|
|
360
|
+
"key": "bs.fileUpload.selectFile",
|
|
361
|
+
"text": "ファイル選択"
|
|
362
|
+
},
|
|
363
363
|
{
|
|
364
364
|
"key": "bs.fileupload.thumbnail",
|
|
365
365
|
"text": "ファイル"
|
|
@@ -320,14 +320,6 @@
|
|
|
320
320
|
"key": "bs.expandAll",
|
|
321
321
|
"text": "전체열기"
|
|
322
322
|
},
|
|
323
|
-
{
|
|
324
|
-
"key": "bs.fileUpload.noFile",
|
|
325
|
-
"text": "파일 없음"
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
"key": "bs.fileUpload.selectFile",
|
|
329
|
-
"text": "파일 선택"
|
|
330
|
-
},
|
|
331
323
|
{
|
|
332
324
|
"key": "bs.fileupload.action",
|
|
333
325
|
"text": "삭제"
|
|
@@ -356,10 +348,18 @@
|
|
|
356
348
|
"key": "bs.fileupload.invalidFileName",
|
|
357
349
|
"text": "파일명이 올바르지 않습니다."
|
|
358
350
|
},
|
|
351
|
+
{
|
|
352
|
+
"key": "bs.fileUpload.noFile",
|
|
353
|
+
"text": "파일 없음"
|
|
354
|
+
},
|
|
359
355
|
{
|
|
360
356
|
"key": "bs.fileupload.progress",
|
|
361
357
|
"text": "진행 상태"
|
|
362
358
|
},
|
|
359
|
+
{
|
|
360
|
+
"key": "bs.fileUpload.selectFile",
|
|
361
|
+
"text": "파일 선택"
|
|
362
|
+
},
|
|
363
363
|
{
|
|
364
364
|
"key": "bs.fileupload.thumbnail",
|
|
365
365
|
"text": "파일"
|
|
@@ -320,14 +320,6 @@
|
|
|
320
320
|
"key": "bs.expandAll",
|
|
321
321
|
"text": "全开"
|
|
322
322
|
},
|
|
323
|
-
{
|
|
324
|
-
"key": "bs.fileUpload.noFile",
|
|
325
|
-
"text": "无文件"
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
"key": "bs.fileUpload.selectFile",
|
|
329
|
-
"text": "选择文件"
|
|
330
|
-
},
|
|
331
323
|
{
|
|
332
324
|
"key": "bs.fileupload.action",
|
|
333
325
|
"text": "删除"
|
|
@@ -356,10 +348,18 @@
|
|
|
356
348
|
"key": "bs.fileupload.invalidFileName",
|
|
357
349
|
"text": "文件名无效。"
|
|
358
350
|
},
|
|
351
|
+
{
|
|
352
|
+
"key": "bs.fileUpload.noFile",
|
|
353
|
+
"text": "无文件"
|
|
354
|
+
},
|
|
359
355
|
{
|
|
360
356
|
"key": "bs.fileupload.progress",
|
|
361
357
|
"text": "进度状态"
|
|
362
358
|
},
|
|
359
|
+
{
|
|
360
|
+
"key": "bs.fileUpload.selectFile",
|
|
361
|
+
"text": "选择文件"
|
|
362
|
+
},
|
|
363
363
|
{
|
|
364
364
|
"key": "bs.fileupload.thumbnail",
|
|
365
365
|
"text": "文件"
|