@g1cloud/bluesea 5.0.0-alpha.101 → 5.0.0-alpha.102
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-C8AmFJ0T.js → BSAlertModal-Bt3tll80.js} +1 -1
- package/dist/{BSGridColumnSettingModal-F0g7uICr.js → BSGridColumnSettingModal-X2Y_U050.js} +1 -1
- package/dist/{BSYesNoModal-BhvO7_wE.js → BSYesNoModal-DMa4TuDo.js} +1 -1
- package/dist/{BSYoutubeInputModal-BRHMFku4.js → BSYoutubeInputModal-ClinnAyS.js} +1 -1
- package/dist/{ImageInsertModal-CFGhWQ9r.js → ImageInsertModal-B2TtyjRU.js} +2 -2
- package/dist/{ImageProperties.vue_vue_type_script_setup_true_lang-DXCBLTCP.js → ImageProperties.vue_vue_type_script_setup_true_lang-1kZik6TL.js} +1 -1
- package/dist/{ImagePropertiesModal-CcpLqK_A.js → ImagePropertiesModal-BMhr0cLO.js} +2 -2
- package/dist/{LinkPropertiesModal-CnCsjM8U.js → LinkPropertiesModal-DPj6wSro.js} +1 -1
- package/dist/{TableInsertModal-C2Zml8nV.js → TableInsertModal-DzNG1j_h.js} +1 -1
- package/dist/{VideoInsertModal-jE7x1glD.js → VideoInsertModal-CYowExng.js} +2 -2
- package/dist/{VideoProperties.vue_vue_type_script_setup_true_lang-BlSMAEdL.js → VideoProperties.vue_vue_type_script_setup_true_lang-Dc6XEjSc.js} +1 -1
- package/dist/{VideoPropertiesModal-BmMSJ8a5.js → VideoPropertiesModal-CSxzJ4ca.js} +2 -2
- package/dist/{YoutubeInsertModal-D-jHgGuS.js → YoutubeInsertModal-uYL9qw22.js} +2 -2
- package/dist/{YoutubeProperties.vue_vue_type_script_setup_true_lang-b8gdNQXQ.js → YoutubeProperties.vue_vue_type_script_setup_true_lang-iUutrh8-.js} +1 -1
- package/dist/{YoutubePropertiesModal-CWF7F9vw.js → YoutubePropertiesModal-DA_7dY7K.js} +2 -2
- package/dist/bluesea.js +1 -1
- package/dist/bluesea.umd.cjs +17 -7
- package/dist/component/input/BSTextArea.vue.d.ts +5 -0
- package/dist/component/input/BSTextInput.vue.d.ts +5 -0
- package/dist/component/multilang/BSMultiLangTextArea.vue.d.ts +5 -0
- package/dist/component/multilang/BSMultiLangTextInput.vue.d.ts +5 -0
- package/dist/{index-CsmuIqZZ.js → index-DCsxSgMr.js} +31 -21
- package/dist/util/componentUtil.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, withCtx, createElementVNode, withDirectives, createVNode, unref } from "vue";
|
|
2
|
-
import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, v as vFocusOnLoad, i as vT } from "./index-
|
|
2
|
+
import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, v as vFocusOnLoad, i as vT } from "./index-DCsxSgMr.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, openBlock, createBlock, withCtx, createVNode, mergeProps, unref, toHandlers, createElementVNode, nextTick } from "vue";
|
|
2
|
-
import { d as createInputGridHandler, u as useModalHandle, _ as _sfc_main$1, f as _sfc_main$2, g as _sfc_main$3, h as _sfc_main$4, B as BSButton, n as notNull } from "./index-
|
|
2
|
+
import { d as createInputGridHandler, u as useModalHandle, _ as _sfc_main$1, f as _sfc_main$2, g as _sfc_main$3, h as _sfc_main$4, B as BSButton, n as notNull } from "./index-DCsxSgMr.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, openBlock, createBlock, withCtx, createElementVNode, createVNode, withDirectives, unref } from "vue";
|
|
2
|
-
import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, i as vT } from "./index-
|
|
2
|
+
import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, i as vT } from "./index-DCsxSgMr.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, openBlock, createBlock, withCtx, createElementVNode, createVNode, unref, createCommentVNode } from "vue";
|
|
2
|
-
import { u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, B as BSButton, e as extractYoutubeVideoId } from "./index-
|
|
2
|
+
import { u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, B as BSButton, e as extractYoutubeVideoId } from "./index-DCsxSgMr.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, openBlock, createBlock, withCtx, createVNode, withDirectives, createElementVNode, vShow } from "vue";
|
|
2
|
-
import { u as useModalHandle, _ as _sfc_main$1, a as _sfc_main$2, b as _sfc_main$3, c as _sfc_main$4, B as BSButton } 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, a as _sfc_main$2, b as _sfc_main$3, c as _sfc_main$4, B as BSButton } from "./index-DCsxSgMr.js";
|
|
3
|
+
import { _ as _sfc_main$5 } from "./ImageProperties.vue_vue_type_script_setup_true_lang-1kZik6TL.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, openBlock, createElementBlock, Fragment, createElementVNode, createVNode, withDirectives, unref, createTextVNode } from "vue";
|
|
2
|
-
import { b as _sfc_main$1, c as _sfc_main$2, i as vT } from "./index-
|
|
2
|
+
import { b as _sfc_main$1, c as _sfc_main$2, i as vT } from "./index-DCsxSgMr.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, openBlock, createBlock, withCtx, createElementBlock, createElementVNode, createVNode, createCommentVNode } from "vue";
|
|
2
|
-
import { j as findImageNode, u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, B as BSButton, k as imageInfoNumberToPixel, l as formValidator } from "./index-
|
|
3
|
-
import { _ as _sfc_main$4 } from "./ImageProperties.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { j as findImageNode, u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, B as BSButton, k as imageInfoNumberToPixel, l as formValidator } from "./index-DCsxSgMr.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./ImageProperties.vue_vue_type_script_setup_true_lang-1kZik6TL.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, openBlock, createBlock, withCtx, createElementVNode, createVNode, createTextVNode, withModifiers } from "vue";
|
|
2
|
-
import { u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, B as BSButton } from "./index-
|
|
2
|
+
import { u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, B as BSButton } from "./index-DCsxSgMr.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, openBlock, createBlock, withCtx, createElementVNode, createVNode } from "vue";
|
|
2
|
-
import { u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, h as _sfc_main$3, B as BSButton } from "./index-
|
|
2
|
+
import { u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, h as _sfc_main$3, B as BSButton } from "./index-DCsxSgMr.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, openBlock, createBlock, withCtx, createVNode, withDirectives, createElementVNode, vShow } from "vue";
|
|
2
|
-
import { u as useModalHandle, _ as _sfc_main$1, a as _sfc_main$2, b as _sfc_main$3, c as _sfc_main$4, B as BSButton } 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, a as _sfc_main$2, b as _sfc_main$3, c as _sfc_main$4, B as BSButton } from "./index-DCsxSgMr.js";
|
|
3
|
+
import { _ as _sfc_main$5 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-Dc6XEjSc.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, openBlock, createElementBlock, Fragment, createElementVNode, createVNode, withDirectives, unref, createTextVNode } from "vue";
|
|
2
|
-
import { g as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, i as vT } from "./index-
|
|
2
|
+
import { g as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, i as vT } from "./index-DCsxSgMr.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, openBlock, createBlock, withCtx, createElementBlock, createElementVNode, createVNode, createCommentVNode } from "vue";
|
|
2
|
-
import { p as findVideoNode, u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, B as BSButton, q as videoInfoNumberToPixel, l as formValidator } from "./index-
|
|
3
|
-
import { _ as _sfc_main$4 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { p as findVideoNode, u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, B as BSButton, q as videoInfoNumberToPixel, l as formValidator } from "./index-DCsxSgMr.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-Dc6XEjSc.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, openBlock, createBlock, withCtx, createElementVNode, createVNode } from "vue";
|
|
2
|
-
import { u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, B as BSButton, 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 _sfc_main$2, c as _sfc_main$3, B as BSButton, y as youtubeInfoNumberToPixel } from "./index-DCsxSgMr.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./YoutubeProperties.vue_vue_type_script_setup_true_lang-iUutrh8-.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, openBlock, createElementBlock, Fragment, createElementVNode, createVNode, withDirectives, unref, createTextVNode } from "vue";
|
|
2
|
-
import { b as _sfc_main$1, c as _sfc_main$2, i as vT } from "./index-
|
|
2
|
+
import { b as _sfc_main$1, c as _sfc_main$2, i as vT } from "./index-DCsxSgMr.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, openBlock, createBlock, withCtx, createElementBlock, createElementVNode, createVNode, createCommentVNode } from "vue";
|
|
2
|
-
import { m as findYoutubeNode, o as normalizeYoutubeInfoData, u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, B as BSButton, y as youtubeInfoNumberToPixel } from "./index-
|
|
3
|
-
import { _ as _sfc_main$4 } from "./YoutubeProperties.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { m as findYoutubeNode, o as normalizeYoutubeInfoData, u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, B as BSButton, y as youtubeInfoNumberToPixel } from "./index-DCsxSgMr.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./YoutubeProperties.vue_vue_type_script_setup_true_lang-iUutrh8-.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, g, L, am, H, z, av, cc, C, I, aq, J, a2, a3, ar, K, b, f, a0, $, a7, an, al, X, w, a6, a5, A, ah, bX, as, _, Y, ae, ag, af, ad, ac, ab, Q, ai, at, h, 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, aQ, ax, ch, aw, aX, aV, aS, W, bI, aZ, aY, cm, bA, bG, aW, bH, cg, a_, aP, aE, aF, aD, aG, bF, bE, aU, bB, bq, bU, cl, b5, bc, bT, cv, c1, bL, bS, bR, aM, bt, c3, aN, cf, ci, d, b_, aT, b8, cz, aJ, b9, aK, aL, b1, bQ, bn, bo, bp, bk, bm, bl, e, bj, bg, l, co, aO, b0, ca, c6, cn, bO, az, cw, ct, cx, bu, cu, bw, c7, bd, bP, bf, bb, cy, a$, aR, bN, n, b$, bM, cs, cj, bV, bZ, br, b2, b6, bz, bv, bx, by, c2, c9, c8, c0, c5, be, ba, c4, cr, cd, ce, ck, bW, bY, u, bs, b3, b4, b7, ay, aB, aC, v, i, aA, bh, bi, cq, cp, cb } from "./index-
|
|
1
|
+
import { aH, aI, bC, bD, r, ak, au, B, E, F, a4, g, L, am, H, z, av, cc, C, I, aq, J, a2, a3, ar, K, b, f, a0, $, a7, an, al, X, w, a6, a5, A, ah, bX, as, _, Y, ae, ag, af, ad, ac, ab, Q, ai, at, h, 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, aQ, ax, ch, aw, aX, aV, aS, W, bI, aZ, aY, cm, bA, bG, aW, bH, cg, a_, aP, aE, aF, aD, aG, bF, bE, aU, bB, bq, bU, cl, b5, bc, bT, cv, c1, bL, bS, bR, aM, bt, c3, aN, cf, ci, d, b_, aT, b8, cz, aJ, b9, aK, aL, b1, bQ, bn, bo, bp, bk, bm, bl, e, bj, bg, l, co, aO, b0, ca, c6, cn, bO, az, cw, ct, cx, bu, cu, bw, c7, bd, bP, bf, bb, cy, a$, aR, bN, n, b$, bM, cs, cj, bV, bZ, br, b2, b6, bz, bv, bx, by, c2, c9, c8, c0, c5, be, ba, c4, cr, cd, ce, ck, bW, bY, u, bs, b3, b4, b7, ay, aB, aC, v, i, aA, bh, bi, cq, cp, cb } from "./index-DCsxSgMr.js";
|
|
2
2
|
export {
|
|
3
3
|
aH as ADDRESS_COUNTRY_CONFIGS,
|
|
4
4
|
aI as ADDRESS_COUNTRY_CONFIG_DEFAULT,
|
package/dist/bluesea.umd.cjs
CHANGED
|
@@ -1869,6 +1869,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1869
1869
|
const jsonA = this.compactMultiLangString(a ?? {});
|
|
1870
1870
|
const jsonB = this.compactMultiLangString(b ?? {});
|
|
1871
1871
|
return JSON.stringify(jsonA) === JSON.stringify(jsonB);
|
|
1872
|
+
},
|
|
1873
|
+
trimStringValue(value, trim) {
|
|
1874
|
+
return trim ? value == null ? void 0 : value.trim() : value;
|
|
1872
1875
|
}
|
|
1873
1876
|
};
|
|
1874
1877
|
const componentUtil$1 = componentUtil;
|
|
@@ -2077,6 +2080,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2077
2080
|
autocomplete: {},
|
|
2078
2081
|
tabindex: { default: 0 },
|
|
2079
2082
|
inputType: { default: "text" },
|
|
2083
|
+
trimValue: { type: Boolean, default: true },
|
|
2080
2084
|
prefix: {},
|
|
2081
2085
|
suffix: {},
|
|
2082
2086
|
required: { type: Boolean },
|
|
@@ -2134,10 +2138,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2134
2138
|
return errors2;
|
|
2135
2139
|
};
|
|
2136
2140
|
const convertToValue = (stringValue2) => {
|
|
2137
|
-
return String(stringValue2 || "");
|
|
2141
|
+
return String(componentUtil$1.trimStringValue(stringValue2, props.trimValue) || "");
|
|
2138
2142
|
};
|
|
2139
2143
|
const convertFromValue = (value) => {
|
|
2140
|
-
return value ?? "";
|
|
2144
|
+
return componentUtil$1.trimStringValue(value, props.trimValue) ?? "";
|
|
2141
2145
|
};
|
|
2142
2146
|
const validationDisabled = vue.computed(() => props.viewMode || props.disabled && !props.forceValidateWhenDisabled);
|
|
2143
2147
|
const {
|
|
@@ -6604,6 +6608,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
6604
6608
|
height: {},
|
|
6605
6609
|
autocomplete: {},
|
|
6606
6610
|
tabindex: { default: 0 },
|
|
6611
|
+
trimValue: { type: Boolean, default: true },
|
|
6607
6612
|
prefix: {},
|
|
6608
6613
|
suffix: {},
|
|
6609
6614
|
required: { type: Boolean },
|
|
@@ -6622,10 +6627,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
6622
6627
|
const props = __props;
|
|
6623
6628
|
const emit = __emit;
|
|
6624
6629
|
const convertToValue = (stringValue2) => {
|
|
6625
|
-
return String(stringValue2 || "");
|
|
6630
|
+
return String(componentUtil$1.trimStringValue(stringValue2, props.trimValue) || "");
|
|
6626
6631
|
};
|
|
6627
6632
|
const convertFromValue = (value) => {
|
|
6628
|
-
return value ?? "";
|
|
6633
|
+
return componentUtil$1.trimStringValue(value, props.trimValue) ?? "";
|
|
6629
6634
|
};
|
|
6630
6635
|
vue.watch(
|
|
6631
6636
|
() => props.modelValue,
|
|
@@ -35431,7 +35436,8 @@ img.ProseMirror-separator {
|
|
|
35431
35436
|
}
|
|
35432
35437
|
getModifiedRows() {
|
|
35433
35438
|
var _a2;
|
|
35434
|
-
|
|
35439
|
+
const addedKeys = this.addedRows.map((row) => row[GRID_NEW_ROW_KEY]);
|
|
35440
|
+
return ((_a2 = this.grid.editingRows) == null ? void 0 : _a2.getModifiedRows().map((editing) => editing.row).filter((row) => !addedKeys.includes(row[GRID_NEW_ROW_KEY]))) || [];
|
|
35435
35441
|
}
|
|
35436
35442
|
getAddedRows() {
|
|
35437
35443
|
return this.addedRows;
|
|
@@ -38131,6 +38137,7 @@ img.ProseMirror-separator {
|
|
|
38131
38137
|
width: { default: "200px" },
|
|
38132
38138
|
autocomplete: {},
|
|
38133
38139
|
tabindex: { default: 0 },
|
|
38140
|
+
trimValue: { type: Boolean, default: true },
|
|
38134
38141
|
expandLocale: { type: Boolean },
|
|
38135
38142
|
validationMessageRequired: {},
|
|
38136
38143
|
validationMessageMinLength: {},
|
|
@@ -38219,6 +38226,7 @@ img.ProseMirror-separator {
|
|
|
38219
38226
|
prefix: locale,
|
|
38220
38227
|
required: isRequiredLocale(locale),
|
|
38221
38228
|
tabindex: _ctx.tabindex,
|
|
38229
|
+
"trim-value": _ctx.trimValue,
|
|
38222
38230
|
"validation-message-between-length": _ctx.validationMessageBetweenLength,
|
|
38223
38231
|
"validation-message-max-length": _ctx.validationMessageMaxLength,
|
|
38224
38232
|
"validation-message-min-length": _ctx.validationMessageMinLength,
|
|
@@ -38227,7 +38235,7 @@ img.ProseMirror-separator {
|
|
|
38227
38235
|
"ignore-save-point": "",
|
|
38228
38236
|
width: "100%",
|
|
38229
38237
|
"onUpdate:modelValue": ($event) => updateValue($event, locale)
|
|
38230
|
-
}, null, 8, ["id", "autocomplete", "class", "disabled", "extra-validation-rules", "max-length", "maxlength", "min-length", "model-value", "name", "placeholder", "prefix", "required", "tabindex", "validation-message-between-length", "validation-message-max-length", "validation-message-min-length", "validation-message-required", "view-mode", "onUpdate:modelValue"])
|
|
38238
|
+
}, 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"])
|
|
38231
38239
|
])) : vue.createCommentVNode("", true)
|
|
38232
38240
|
], 64);
|
|
38233
38241
|
}), 128)),
|
|
@@ -38259,6 +38267,7 @@ img.ProseMirror-separator {
|
|
|
38259
38267
|
height: {},
|
|
38260
38268
|
autocomplete: {},
|
|
38261
38269
|
tabindex: { default: 0 },
|
|
38270
|
+
trimValue: { type: Boolean, default: true },
|
|
38262
38271
|
expandLocale: { type: Boolean },
|
|
38263
38272
|
validationMessageRequired: {},
|
|
38264
38273
|
validationMessageMinLength: {},
|
|
@@ -38347,6 +38356,7 @@ img.ProseMirror-separator {
|
|
|
38347
38356
|
prefix: locale,
|
|
38348
38357
|
required: isRequiredLocale(locale),
|
|
38349
38358
|
tabindex: _ctx.tabindex,
|
|
38359
|
+
"trim-value": _ctx.trimValue,
|
|
38350
38360
|
"validation-message-between-length": _ctx.validationMessageBetweenLength,
|
|
38351
38361
|
"validation-message-max-length": _ctx.validationMessageMaxLength,
|
|
38352
38362
|
"validation-message-min-length": _ctx.validationMessageMinLength,
|
|
@@ -38355,7 +38365,7 @@ img.ProseMirror-separator {
|
|
|
38355
38365
|
"ignore-save-point": "",
|
|
38356
38366
|
width: "100%",
|
|
38357
38367
|
"onUpdate:modelValue": ($event) => updateValue($event, locale)
|
|
38358
|
-
}, null, 8, ["id", "autocomplete", "class", "disabled", "extra-validation-rules", "height", "max-length", "min-length", "model-value", "name", "placeholder", "prefix", "required", "tabindex", "validation-message-between-length", "validation-message-max-length", "validation-message-min-length", "validation-message-required", "view-mode", "onUpdate:modelValue"])
|
|
38368
|
+
}, 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"])
|
|
38359
38369
|
])) : vue.createCommentVNode("", true)
|
|
38360
38370
|
], 64);
|
|
38361
38371
|
}), 128)),
|
|
@@ -13,6 +13,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
13
13
|
height?: string | undefined;
|
|
14
14
|
autocomplete?: string | undefined;
|
|
15
15
|
tabindex?: number | undefined;
|
|
16
|
+
trimValue?: boolean | undefined;
|
|
16
17
|
prefix?: MultiLangText | MultiLangText[] | undefined;
|
|
17
18
|
suffix?: MultiLangText | MultiLangText[] | undefined;
|
|
18
19
|
required?: boolean | undefined;
|
|
@@ -28,6 +29,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
28
29
|
}>, {
|
|
29
30
|
width: string;
|
|
30
31
|
tabindex: number;
|
|
32
|
+
trimValue: boolean;
|
|
31
33
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32
34
|
"update:modelValue": (value: string) => void;
|
|
33
35
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -42,6 +44,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
42
44
|
height?: string | undefined;
|
|
43
45
|
autocomplete?: string | undefined;
|
|
44
46
|
tabindex?: number | undefined;
|
|
47
|
+
trimValue?: boolean | undefined;
|
|
45
48
|
prefix?: MultiLangText | MultiLangText[] | undefined;
|
|
46
49
|
suffix?: MultiLangText | MultiLangText[] | undefined;
|
|
47
50
|
required?: boolean | undefined;
|
|
@@ -57,11 +60,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
57
60
|
}>, {
|
|
58
61
|
width: string;
|
|
59
62
|
tabindex: number;
|
|
63
|
+
trimValue: boolean;
|
|
60
64
|
}>>> & Readonly<{
|
|
61
65
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
62
66
|
}>, {
|
|
63
67
|
width: string;
|
|
64
68
|
tabindex: number;
|
|
69
|
+
trimValue: boolean;
|
|
65
70
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
66
71
|
export default _default;
|
|
67
72
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -14,6 +14,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
14
14
|
autocomplete?: string | undefined;
|
|
15
15
|
tabindex?: number | undefined;
|
|
16
16
|
inputType?: "text" | "password" | undefined;
|
|
17
|
+
trimValue?: boolean | undefined;
|
|
17
18
|
prefix?: MultiLangText | PrefixSuffix | MultiLangText[] | PrefixSuffix[] | undefined;
|
|
18
19
|
suffix?: MultiLangText | PrefixSuffix | MultiLangText[] | PrefixSuffix[] | undefined;
|
|
19
20
|
required?: boolean | undefined;
|
|
@@ -33,6 +34,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
33
34
|
width: string;
|
|
34
35
|
tabindex: number;
|
|
35
36
|
inputType: string;
|
|
37
|
+
trimValue: boolean;
|
|
36
38
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
37
39
|
"update:modelValue": (value: string) => void;
|
|
38
40
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -48,6 +50,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
48
50
|
autocomplete?: string | undefined;
|
|
49
51
|
tabindex?: number | undefined;
|
|
50
52
|
inputType?: "text" | "password" | undefined;
|
|
53
|
+
trimValue?: boolean | undefined;
|
|
51
54
|
prefix?: MultiLangText | PrefixSuffix | MultiLangText[] | PrefixSuffix[] | undefined;
|
|
52
55
|
suffix?: MultiLangText | PrefixSuffix | MultiLangText[] | PrefixSuffix[] | undefined;
|
|
53
56
|
required?: boolean | undefined;
|
|
@@ -67,6 +70,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
67
70
|
width: string;
|
|
68
71
|
tabindex: number;
|
|
69
72
|
inputType: string;
|
|
73
|
+
trimValue: boolean;
|
|
70
74
|
}>>> & Readonly<{
|
|
71
75
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
72
76
|
}>, {
|
|
@@ -74,6 +78,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
74
78
|
name: string;
|
|
75
79
|
tabindex: number;
|
|
76
80
|
inputType: 'text' | 'password';
|
|
81
|
+
trimValue: boolean;
|
|
77
82
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
78
83
|
export default _default;
|
|
79
84
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -17,6 +17,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
17
17
|
height?: string | undefined;
|
|
18
18
|
autocomplete?: string | undefined;
|
|
19
19
|
tabindex?: number | undefined;
|
|
20
|
+
trimValue?: boolean | undefined;
|
|
20
21
|
expandLocale?: boolean | undefined;
|
|
21
22
|
validationMessageRequired?: MultiLangText | undefined;
|
|
22
23
|
validationMessageMinLength?: MultiLangText | undefined;
|
|
@@ -31,6 +32,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
31
32
|
modelValue: () => {};
|
|
32
33
|
width: string;
|
|
33
34
|
tabindex: number;
|
|
35
|
+
trimValue: boolean;
|
|
34
36
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
35
37
|
"update:modelValue": (value: MultiLangString) => void;
|
|
36
38
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -49,6 +51,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
49
51
|
height?: string | undefined;
|
|
50
52
|
autocomplete?: string | undefined;
|
|
51
53
|
tabindex?: number | undefined;
|
|
54
|
+
trimValue?: boolean | undefined;
|
|
52
55
|
expandLocale?: boolean | undefined;
|
|
53
56
|
validationMessageRequired?: MultiLangText | undefined;
|
|
54
57
|
validationMessageMinLength?: MultiLangText | undefined;
|
|
@@ -63,6 +66,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
63
66
|
modelValue: () => {};
|
|
64
67
|
width: string;
|
|
65
68
|
tabindex: number;
|
|
69
|
+
trimValue: boolean;
|
|
66
70
|
}>>> & Readonly<{
|
|
67
71
|
"onUpdate:modelValue"?: ((value: MultiLangString) => any) | undefined;
|
|
68
72
|
}>, {
|
|
@@ -70,6 +74,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
70
74
|
width: string;
|
|
71
75
|
name: string;
|
|
72
76
|
tabindex: number;
|
|
77
|
+
trimValue: boolean;
|
|
73
78
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
74
79
|
export default _default;
|
|
75
80
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -17,6 +17,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
17
17
|
width?: string | undefined;
|
|
18
18
|
autocomplete?: string | undefined;
|
|
19
19
|
tabindex?: number | undefined;
|
|
20
|
+
trimValue?: boolean | undefined;
|
|
20
21
|
expandLocale?: boolean | undefined;
|
|
21
22
|
validationMessageRequired?: MultiLangText | undefined;
|
|
22
23
|
validationMessageMinLength?: MultiLangText | undefined;
|
|
@@ -31,6 +32,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
31
32
|
modelValue: () => {};
|
|
32
33
|
width: string;
|
|
33
34
|
tabindex: number;
|
|
35
|
+
trimValue: boolean;
|
|
34
36
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
35
37
|
"update:modelValue": (value: MultiLangString) => void;
|
|
36
38
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -49,6 +51,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
49
51
|
width?: string | undefined;
|
|
50
52
|
autocomplete?: string | undefined;
|
|
51
53
|
tabindex?: number | undefined;
|
|
54
|
+
trimValue?: boolean | undefined;
|
|
52
55
|
expandLocale?: boolean | undefined;
|
|
53
56
|
validationMessageRequired?: MultiLangText | undefined;
|
|
54
57
|
validationMessageMinLength?: MultiLangText | undefined;
|
|
@@ -63,6 +66,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
63
66
|
modelValue: () => {};
|
|
64
67
|
width: string;
|
|
65
68
|
tabindex: number;
|
|
69
|
+
trimValue: boolean;
|
|
66
70
|
}>>> & Readonly<{
|
|
67
71
|
"onUpdate:modelValue"?: ((value: MultiLangString) => any) | undefined;
|
|
68
72
|
}>, {
|
|
@@ -70,6 +74,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
70
74
|
width: string;
|
|
71
75
|
name: string;
|
|
72
76
|
tabindex: number;
|
|
77
|
+
trimValue: boolean;
|
|
73
78
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
74
79
|
export default _default;
|
|
75
80
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -62,8 +62,8 @@ const defaultAddressInputComponentConfig = {
|
|
|
62
62
|
countryConfigs: ADDRESS_COUNTRY_CONFIGS
|
|
63
63
|
};
|
|
64
64
|
const defaultRichTextComponentConfig = {
|
|
65
|
-
imageInsertModal: defineAsyncComponent(() => import("./ImageInsertModal-
|
|
66
|
-
videoInsertModal: defineAsyncComponent(() => import("./VideoInsertModal-
|
|
65
|
+
imageInsertModal: defineAsyncComponent(() => import("./ImageInsertModal-B2TtyjRU.js")),
|
|
66
|
+
videoInsertModal: defineAsyncComponent(() => import("./VideoInsertModal-CYowExng.js")),
|
|
67
67
|
toolButtons: [
|
|
68
68
|
"Heading",
|
|
69
69
|
"FontSize",
|
|
@@ -1869,6 +1869,9 @@ const componentUtil = {
|
|
|
1869
1869
|
const jsonA = this.compactMultiLangString(a ?? {});
|
|
1870
1870
|
const jsonB = this.compactMultiLangString(b ?? {});
|
|
1871
1871
|
return JSON.stringify(jsonA) === JSON.stringify(jsonB);
|
|
1872
|
+
},
|
|
1873
|
+
trimStringValue(value, trim) {
|
|
1874
|
+
return trim ? value == null ? void 0 : value.trim() : value;
|
|
1872
1875
|
}
|
|
1873
1876
|
};
|
|
1874
1877
|
const componentUtil$1 = componentUtil;
|
|
@@ -2077,6 +2080,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
2077
2080
|
autocomplete: {},
|
|
2078
2081
|
tabindex: { default: 0 },
|
|
2079
2082
|
inputType: { default: "text" },
|
|
2083
|
+
trimValue: { type: Boolean, default: true },
|
|
2080
2084
|
prefix: {},
|
|
2081
2085
|
suffix: {},
|
|
2082
2086
|
required: { type: Boolean },
|
|
@@ -2134,10 +2138,10 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
2134
2138
|
return errors2;
|
|
2135
2139
|
};
|
|
2136
2140
|
const convertToValue = (stringValue2) => {
|
|
2137
|
-
return String(stringValue2 || "");
|
|
2141
|
+
return String(componentUtil$1.trimStringValue(stringValue2, props.trimValue) || "");
|
|
2138
2142
|
};
|
|
2139
2143
|
const convertFromValue = (value) => {
|
|
2140
|
-
return value ?? "";
|
|
2144
|
+
return componentUtil$1.trimStringValue(value, props.trimValue) ?? "";
|
|
2141
2145
|
};
|
|
2142
2146
|
const validationDisabled = computed(() => props.viewMode || props.disabled && !props.forceValidateWhenDisabled);
|
|
2143
2147
|
const {
|
|
@@ -5725,7 +5729,7 @@ class BSModal {
|
|
|
5725
5729
|
}
|
|
5726
5730
|
openAlert(title, message, clickHandler2) {
|
|
5727
5731
|
const option = {
|
|
5728
|
-
component: defineAsyncComponent(() => import("./BSAlertModal-
|
|
5732
|
+
component: defineAsyncComponent(() => import("./BSAlertModal-Bt3tll80.js")),
|
|
5729
5733
|
bind: {
|
|
5730
5734
|
title,
|
|
5731
5735
|
message
|
|
@@ -5738,7 +5742,7 @@ class BSModal {
|
|
|
5738
5742
|
}
|
|
5739
5743
|
openYesNo(title, message, yesHandler, noHandler) {
|
|
5740
5744
|
const option = {
|
|
5741
|
-
component: defineAsyncComponent(() => import("./BSYesNoModal-
|
|
5745
|
+
component: defineAsyncComponent(() => import("./BSYesNoModal-DMa4TuDo.js")),
|
|
5742
5746
|
bind: {
|
|
5743
5747
|
title,
|
|
5744
5748
|
message
|
|
@@ -6604,6 +6608,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
6604
6608
|
height: {},
|
|
6605
6609
|
autocomplete: {},
|
|
6606
6610
|
tabindex: { default: 0 },
|
|
6611
|
+
trimValue: { type: Boolean, default: true },
|
|
6607
6612
|
prefix: {},
|
|
6608
6613
|
suffix: {},
|
|
6609
6614
|
required: { type: Boolean },
|
|
@@ -6622,10 +6627,10 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
6622
6627
|
const props = __props;
|
|
6623
6628
|
const emit = __emit;
|
|
6624
6629
|
const convertToValue = (stringValue2) => {
|
|
6625
|
-
return String(stringValue2 || "");
|
|
6630
|
+
return String(componentUtil$1.trimStringValue(stringValue2, props.trimValue) || "");
|
|
6626
6631
|
};
|
|
6627
6632
|
const convertFromValue = (value) => {
|
|
6628
|
-
return value ?? "";
|
|
6633
|
+
return componentUtil$1.trimStringValue(value, props.trimValue) ?? "";
|
|
6629
6634
|
};
|
|
6630
6635
|
watch(
|
|
6631
6636
|
() => props.modelValue,
|
|
@@ -30604,7 +30609,7 @@ const tableContextMenus = (_modal, editor) => {
|
|
|
30604
30609
|
};
|
|
30605
30610
|
const insertTable = (modal, editor) => {
|
|
30606
30611
|
modal.openModal({
|
|
30607
|
-
component: defineAsyncComponent(() => import("./TableInsertModal-
|
|
30612
|
+
component: defineAsyncComponent(() => import("./TableInsertModal-DzNG1j_h.js")),
|
|
30608
30613
|
bind: { editor }
|
|
30609
30614
|
});
|
|
30610
30615
|
};
|
|
@@ -30804,7 +30809,7 @@ const insertImage = (modal, editor) => {
|
|
|
30804
30809
|
const component = (_a2 = blueseaConfig.componentConfig.richText) == null ? void 0 : _a2.imageInsertModal;
|
|
30805
30810
|
if (component) {
|
|
30806
30811
|
modal.openModal({
|
|
30807
|
-
component: defineAsyncComponent(() => import("./ImageInsertModal-
|
|
30812
|
+
component: defineAsyncComponent(() => import("./ImageInsertModal-B2TtyjRU.js")),
|
|
30808
30813
|
bind: { editor },
|
|
30809
30814
|
on: {
|
|
30810
30815
|
insertImage: (image) => {
|
|
@@ -30822,7 +30827,7 @@ const insertImage = (modal, editor) => {
|
|
|
30822
30827
|
};
|
|
30823
30828
|
const showImageProperties = (modal, editor) => {
|
|
30824
30829
|
modal.openModal({
|
|
30825
|
-
component: defineAsyncComponent(() => import("./ImagePropertiesModal-
|
|
30830
|
+
component: defineAsyncComponent(() => import("./ImagePropertiesModal-BMhr0cLO.js")),
|
|
30826
30831
|
bind: { editor }
|
|
30827
30832
|
});
|
|
30828
30833
|
};
|
|
@@ -31160,13 +31165,13 @@ const youtubeContextMenu = (modal, editor) => {
|
|
|
31160
31165
|
};
|
|
31161
31166
|
const insertYoutube = (modal, editor) => {
|
|
31162
31167
|
modal.openModal({
|
|
31163
|
-
component: defineAsyncComponent(() => import("./YoutubeInsertModal-
|
|
31168
|
+
component: defineAsyncComponent(() => import("./YoutubeInsertModal-uYL9qw22.js")),
|
|
31164
31169
|
bind: { editor }
|
|
31165
31170
|
});
|
|
31166
31171
|
};
|
|
31167
31172
|
const showYoutubeProperties = (modal, editor) => {
|
|
31168
31173
|
modal.openModal({
|
|
31169
|
-
component: defineAsyncComponent(() => import("./YoutubePropertiesModal-
|
|
31174
|
+
component: defineAsyncComponent(() => import("./YoutubePropertiesModal-DA_7dY7K.js")),
|
|
31170
31175
|
bind: { editor }
|
|
31171
31176
|
});
|
|
31172
31177
|
};
|
|
@@ -31210,7 +31215,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
31210
31215
|
const showLinkProperties = () => {
|
|
31211
31216
|
if (!props.disabled) {
|
|
31212
31217
|
modal.openModal({
|
|
31213
|
-
component: defineAsyncComponent(() => import("./LinkPropertiesModal-
|
|
31218
|
+
component: defineAsyncComponent(() => import("./LinkPropertiesModal-DPj6wSro.js")),
|
|
31214
31219
|
bind: {
|
|
31215
31220
|
editor: props.editor
|
|
31216
31221
|
}
|
|
@@ -31574,7 +31579,7 @@ const insertVideo = (modal, editor) => {
|
|
|
31574
31579
|
const component = (_a2 = blueseaConfig.componentConfig.richText) == null ? void 0 : _a2.videoInsertModal;
|
|
31575
31580
|
if (component) {
|
|
31576
31581
|
modal.openModal({
|
|
31577
|
-
component: defineAsyncComponent(() => import("./VideoInsertModal-
|
|
31582
|
+
component: defineAsyncComponent(() => import("./VideoInsertModal-CYowExng.js")),
|
|
31578
31583
|
bind: { editor },
|
|
31579
31584
|
on: {
|
|
31580
31585
|
insertVideo: (video) => {
|
|
@@ -31592,7 +31597,7 @@ const insertVideo = (modal, editor) => {
|
|
|
31592
31597
|
};
|
|
31593
31598
|
const showVideoProperties = (modal, editor) => {
|
|
31594
31599
|
modal.openModal({
|
|
31595
|
-
component: defineAsyncComponent(() => import("./VideoPropertiesModal-
|
|
31600
|
+
component: defineAsyncComponent(() => import("./VideoPropertiesModal-CSxzJ4ca.js")),
|
|
31596
31601
|
bind: { editor }
|
|
31597
31602
|
});
|
|
31598
31603
|
};
|
|
@@ -34031,7 +34036,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
34031
34036
|
const modal = useModal();
|
|
34032
34037
|
const enterYoutubeUrl = () => {
|
|
34033
34038
|
modal.openModal({
|
|
34034
|
-
component: defineAsyncComponent(() => import("./BSYoutubeInputModal-
|
|
34039
|
+
component: defineAsyncComponent(() => import("./BSYoutubeInputModal-ClinnAyS.js")),
|
|
34035
34040
|
on: {
|
|
34036
34041
|
"update:modelValue": (url) => {
|
|
34037
34042
|
emit("update:modelValue", {
|
|
@@ -35431,7 +35436,8 @@ class GridHandlerEditableSupport {
|
|
|
35431
35436
|
}
|
|
35432
35437
|
getModifiedRows() {
|
|
35433
35438
|
var _a2;
|
|
35434
|
-
|
|
35439
|
+
const addedKeys = this.addedRows.map((row) => row[GRID_NEW_ROW_KEY]);
|
|
35440
|
+
return ((_a2 = this.grid.editingRows) == null ? void 0 : _a2.getModifiedRows().map((editing) => editing.row).filter((row) => !addedKeys.includes(row[GRID_NEW_ROW_KEY]))) || [];
|
|
35435
35441
|
}
|
|
35436
35442
|
getAddedRows() {
|
|
35437
35443
|
return this.addedRows;
|
|
@@ -37266,7 +37272,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
37266
37272
|
const modal = useModal();
|
|
37267
37273
|
const openSettingModal = () => {
|
|
37268
37274
|
modal.openModal({
|
|
37269
|
-
component: defineAsyncComponent(() => import("./BSGridColumnSettingModal-
|
|
37275
|
+
component: defineAsyncComponent(() => import("./BSGridColumnSettingModal-X2Y_U050.js")),
|
|
37270
37276
|
bind: {
|
|
37271
37277
|
columns: props.columns,
|
|
37272
37278
|
columnSettings: props.columnSettings,
|
|
@@ -38131,6 +38137,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
38131
38137
|
width: { default: "200px" },
|
|
38132
38138
|
autocomplete: {},
|
|
38133
38139
|
tabindex: { default: 0 },
|
|
38140
|
+
trimValue: { type: Boolean, default: true },
|
|
38134
38141
|
expandLocale: { type: Boolean },
|
|
38135
38142
|
validationMessageRequired: {},
|
|
38136
38143
|
validationMessageMinLength: {},
|
|
@@ -38219,6 +38226,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
38219
38226
|
prefix: locale,
|
|
38220
38227
|
required: isRequiredLocale(locale),
|
|
38221
38228
|
tabindex: _ctx.tabindex,
|
|
38229
|
+
"trim-value": _ctx.trimValue,
|
|
38222
38230
|
"validation-message-between-length": _ctx.validationMessageBetweenLength,
|
|
38223
38231
|
"validation-message-max-length": _ctx.validationMessageMaxLength,
|
|
38224
38232
|
"validation-message-min-length": _ctx.validationMessageMinLength,
|
|
@@ -38227,7 +38235,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
38227
38235
|
"ignore-save-point": "",
|
|
38228
38236
|
width: "100%",
|
|
38229
38237
|
"onUpdate:modelValue": ($event) => updateValue($event, locale)
|
|
38230
|
-
}, null, 8, ["id", "autocomplete", "class", "disabled", "extra-validation-rules", "max-length", "maxlength", "min-length", "model-value", "name", "placeholder", "prefix", "required", "tabindex", "validation-message-between-length", "validation-message-max-length", "validation-message-min-length", "validation-message-required", "view-mode", "onUpdate:modelValue"])
|
|
38238
|
+
}, 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"])
|
|
38231
38239
|
])) : createCommentVNode("", true)
|
|
38232
38240
|
], 64);
|
|
38233
38241
|
}), 128)),
|
|
@@ -38259,6 +38267,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
38259
38267
|
height: {},
|
|
38260
38268
|
autocomplete: {},
|
|
38261
38269
|
tabindex: { default: 0 },
|
|
38270
|
+
trimValue: { type: Boolean, default: true },
|
|
38262
38271
|
expandLocale: { type: Boolean },
|
|
38263
38272
|
validationMessageRequired: {},
|
|
38264
38273
|
validationMessageMinLength: {},
|
|
@@ -38347,6 +38356,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
38347
38356
|
prefix: locale,
|
|
38348
38357
|
required: isRequiredLocale(locale),
|
|
38349
38358
|
tabindex: _ctx.tabindex,
|
|
38359
|
+
"trim-value": _ctx.trimValue,
|
|
38350
38360
|
"validation-message-between-length": _ctx.validationMessageBetweenLength,
|
|
38351
38361
|
"validation-message-max-length": _ctx.validationMessageMaxLength,
|
|
38352
38362
|
"validation-message-min-length": _ctx.validationMessageMinLength,
|
|
@@ -38355,7 +38365,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
38355
38365
|
"ignore-save-point": "",
|
|
38356
38366
|
width: "100%",
|
|
38357
38367
|
"onUpdate:modelValue": ($event) => updateValue($event, locale)
|
|
38358
|
-
}, null, 8, ["id", "autocomplete", "class", "disabled", "extra-validation-rules", "height", "max-length", "min-length", "model-value", "name", "placeholder", "prefix", "required", "tabindex", "validation-message-between-length", "validation-message-max-length", "validation-message-min-length", "validation-message-required", "view-mode", "onUpdate:modelValue"])
|
|
38368
|
+
}, 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"])
|
|
38359
38369
|
])) : createCommentVNode("", true)
|
|
38360
38370
|
], 64);
|
|
38361
38371
|
}), 128)),
|
|
@@ -37,6 +37,7 @@ declare const componentUtil: {
|
|
|
37
37
|
* @param b
|
|
38
38
|
*/
|
|
39
39
|
equalsMultiLangString(a: MultiLangString | undefined, b: MultiLangString | undefined): boolean;
|
|
40
|
+
trimStringValue(value?: string, trim?: boolean): string | undefined;
|
|
40
41
|
};
|
|
41
42
|
export default componentUtil;
|
|
42
43
|
type MaximizerOption = {
|