@g1cloud/bluesea 5.0.0-beta.21 → 5.0.0-beta.22
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-CYU9CQls.js → BSAlertModal-wZOms7hW.js} +1 -1
- package/dist/{BSGridColumnSettingModal-ZZsojFuF.js → BSGridColumnSettingModal-QPbpMQD6.js} +1 -1
- package/dist/{BSRichTextMaximizedModal-SyLzOqK2.js → BSRichTextMaximizedModal-zAuDLWZd.js} +1 -1
- package/dist/{BSYesNoModal-BnlBSnTl.js → BSYesNoModal-sAn7m746.js} +1 -1
- package/dist/{BSYoutubeInputModal-DoEETszL.js → BSYoutubeInputModal-D2QX8vj7.js} +1 -1
- package/dist/{ImageInsertModal-CB7nCYk5.js → ImageInsertModal-BI_tnz7L.js} +2 -2
- package/dist/{ImageProperties.vue_vue_type_script_setup_true_lang-D6zZgPOW.js → ImageProperties.vue_vue_type_script_setup_true_lang-DV4Vgrxv.js} +1 -1
- package/dist/{ImagePropertiesModal-DhC1BIGM.js → ImagePropertiesModal-3uMlK2_q.js} +2 -2
- package/dist/{LinkPropertiesModal-CiC7e3lM.js → LinkPropertiesModal-qGuRtYdw.js} +1 -1
- package/dist/{TableInsertModal-D6pcuU2G.js → TableInsertModal-DC5_KXTz.js} +1 -1
- package/dist/{TablePropertiesModal-dyMd6ysL.js → TablePropertiesModal-CdyjtqBn.js} +1 -1
- package/dist/{VideoInsertModal-B1uHQRye.js → VideoInsertModal-Cy7RPYNi.js} +2 -2
- package/dist/{VideoProperties.vue_vue_type_script_setup_true_lang-CuzZ0FvR.js → VideoProperties.vue_vue_type_script_setup_true_lang-VdRfL7XC.js} +1 -1
- package/dist/{VideoPropertiesModal-CWq4UM9A.js → VideoPropertiesModal-hhs0LT1m.js} +2 -2
- package/dist/{YoutubeInsertModal-BrhwLQmb.js → YoutubeInsertModal-e5QVFl-I.js} +2 -2
- package/dist/{YoutubeProperties.vue_vue_type_script_setup_true_lang-AiYZ7nOr.js → YoutubeProperties.vue_vue_type_script_setup_true_lang-TOzUqs-D.js} +1 -1
- package/dist/{YoutubePropertiesModal-BcDH9UvU.js → YoutubePropertiesModal-CtMeo1sr.js} +2 -2
- package/dist/bluesea.js +1 -1
- package/dist/bluesea.umd.cjs +10 -6
- package/dist/component/input/BSPriceInput.vue.d.ts +2 -0
- package/dist/{index-D3w5seMa.js → index-C0RkF03d.js} +26 -22
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, createBlock, openBlock, withCtx, withDirectives, createElementVNode, unref, createVNode } from "vue";
|
|
2
|
-
import { u as useModalHandle, _ as _sfc_main$1, v as vT, B as BSButton, 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-C0RkF03d.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-C0RkF03d.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-C0RkF03d.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-C0RkF03d.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-C0RkF03d.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-C0RkF03d.js";
|
|
3
|
+
import { _ as _sfc_main$5 } from "./ImageProperties.vue_vue_type_script_setup_true_lang-DV4Vgrxv.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-C0RkF03d.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-C0RkF03d.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./ImageProperties.vue_vue_type_script_setup_true_lang-DV4Vgrxv.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-C0RkF03d.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-C0RkF03d.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-C0RkF03d.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-C0RkF03d.js";
|
|
3
|
+
import { _ as _sfc_main$5 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-VdRfL7XC.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-C0RkF03d.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-C0RkF03d.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-VdRfL7XC.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-C0RkF03d.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./YoutubeProperties.vue_vue_type_script_setup_true_lang-TOzUqs-D.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-C0RkF03d.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-C0RkF03d.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./YoutubeProperties.vue_vue_type_script_setup_true_lang-TOzUqs-D.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-C0RkF03d.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
|
@@ -3558,6 +3558,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3558
3558
|
modelValue: {},
|
|
3559
3559
|
currency: {},
|
|
3560
3560
|
prefix: { type: Boolean },
|
|
3561
|
+
suffix: {},
|
|
3561
3562
|
maxlength: {},
|
|
3562
3563
|
disabled: { type: Boolean },
|
|
3563
3564
|
viewMode: { type: Boolean },
|
|
@@ -3600,6 +3601,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3600
3601
|
var _a2;
|
|
3601
3602
|
return ((_a2 = props.modelValue) == null ? void 0 : _a2.currency) || props.currency || blueseaConfig.defaultCurrencyCode;
|
|
3602
3603
|
});
|
|
3604
|
+
const suffixText = vue.computed(() => props.suffix !== void 0 ? props.suffix : currencyCode.value);
|
|
3603
3605
|
const fieldContext = useFieldContext();
|
|
3604
3606
|
const isValid = async (value, phase) => {
|
|
3605
3607
|
const errors2 = [];
|
|
@@ -3676,10 +3678,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3676
3678
|
class: "price mr-4",
|
|
3677
3679
|
textContent: vue.toDisplayString(_ctx.formatInViewMode ? formattedStringValue.value : vue.unref(stringValue))
|
|
3678
3680
|
}, null, 8, _hoisted_2$1a),
|
|
3679
|
-
vue.
|
|
3681
|
+
suffixText.value ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
3682
|
+
key: 0,
|
|
3680
3683
|
class: "currency-code",
|
|
3681
|
-
textContent: vue.toDisplayString(
|
|
3682
|
-
}, null, 8, _hoisted_3$M)
|
|
3684
|
+
textContent: vue.toDisplayString(suffixText.value)
|
|
3685
|
+
}, null, 8, _hoisted_3$M)) : vue.createCommentVNode("", true)
|
|
3683
3686
|
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$s, [
|
|
3684
3687
|
vue.withDirectives(vue.createElementVNode("input", vue.mergeProps({
|
|
3685
3688
|
id: _ctx.id,
|
|
@@ -3700,10 +3703,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3700
3703
|
{ placeholder: true }
|
|
3701
3704
|
]
|
|
3702
3705
|
]),
|
|
3703
|
-
vue.
|
|
3706
|
+
suffixText.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
3707
|
+
key: 0,
|
|
3704
3708
|
class: "currency-code",
|
|
3705
|
-
textContent: vue.toDisplayString(
|
|
3706
|
-
}, null, 8, _hoisted_6$9)
|
|
3709
|
+
textContent: vue.toDisplayString(suffixText.value)
|
|
3710
|
+
}, null, 8, _hoisted_6$9)) : vue.createCommentVNode("", true)
|
|
3707
3711
|
])),
|
|
3708
3712
|
!_ctx.viewMode ? (vue.openBlock(), vue.createBlock(_sfc_main$1Z, {
|
|
3709
3713
|
key: 2,
|
|
@@ -8,6 +8,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
8
8
|
modelValue?: Money | undefined;
|
|
9
9
|
currency?: string | undefined;
|
|
10
10
|
prefix?: false | undefined;
|
|
11
|
+
suffix?: string | undefined;
|
|
11
12
|
maxlength?: number | undefined;
|
|
12
13
|
disabled?: boolean | undefined;
|
|
13
14
|
viewMode?: boolean | undefined;
|
|
@@ -43,6 +44,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
43
44
|
modelValue?: Money | undefined;
|
|
44
45
|
currency?: string | undefined;
|
|
45
46
|
prefix?: false | undefined;
|
|
47
|
+
suffix?: string | undefined;
|
|
46
48
|
maxlength?: number | undefined;
|
|
47
49
|
disabled?: boolean | undefined;
|
|
48
50
|
viewMode?: boolean | undefined;
|
|
@@ -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-BI_tnz7L.js")),
|
|
372
|
+
videoInsertModal: defineAsyncComponent(() => import("./VideoInsertModal-Cy7RPYNi.js")),
|
|
373
373
|
toolButtons: [
|
|
374
374
|
"Heading",
|
|
375
375
|
"FontSize",
|
|
@@ -3558,6 +3558,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
3558
3558
|
modelValue: {},
|
|
3559
3559
|
currency: {},
|
|
3560
3560
|
prefix: { type: Boolean },
|
|
3561
|
+
suffix: {},
|
|
3561
3562
|
maxlength: {},
|
|
3562
3563
|
disabled: { type: Boolean },
|
|
3563
3564
|
viewMode: { type: Boolean },
|
|
@@ -3600,6 +3601,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
3600
3601
|
var _a2;
|
|
3601
3602
|
return ((_a2 = props.modelValue) == null ? void 0 : _a2.currency) || props.currency || blueseaConfig.defaultCurrencyCode;
|
|
3602
3603
|
});
|
|
3604
|
+
const suffixText = computed(() => props.suffix !== void 0 ? props.suffix : currencyCode.value);
|
|
3603
3605
|
const fieldContext = useFieldContext();
|
|
3604
3606
|
const isValid = async (value, phase) => {
|
|
3605
3607
|
const errors2 = [];
|
|
@@ -3676,10 +3678,11 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
3676
3678
|
class: "price mr-4",
|
|
3677
3679
|
textContent: toDisplayString(_ctx.formatInViewMode ? formattedStringValue.value : unref(stringValue))
|
|
3678
3680
|
}, null, 8, _hoisted_2$Y),
|
|
3679
|
-
|
|
3681
|
+
suffixText.value ? (openBlock(), createElementBlock("span", {
|
|
3682
|
+
key: 0,
|
|
3680
3683
|
class: "currency-code",
|
|
3681
|
-
textContent: toDisplayString(
|
|
3682
|
-
}, null, 8, _hoisted_3$A)
|
|
3684
|
+
textContent: toDisplayString(suffixText.value)
|
|
3685
|
+
}, null, 8, _hoisted_3$A)) : createCommentVNode("", true)
|
|
3683
3686
|
])) : (openBlock(), createElementBlock("div", _hoisted_4$k, [
|
|
3684
3687
|
withDirectives(createElementVNode("input", mergeProps({
|
|
3685
3688
|
id: _ctx.id,
|
|
@@ -3700,10 +3703,11 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
3700
3703
|
{ placeholder: true }
|
|
3701
3704
|
]
|
|
3702
3705
|
]),
|
|
3703
|
-
|
|
3706
|
+
suffixText.value ? (openBlock(), createElementBlock("div", {
|
|
3707
|
+
key: 0,
|
|
3704
3708
|
class: "currency-code",
|
|
3705
|
-
textContent: toDisplayString(
|
|
3706
|
-
}, null, 8, _hoisted_6$8)
|
|
3709
|
+
textContent: toDisplayString(suffixText.value)
|
|
3710
|
+
}, null, 8, _hoisted_6$8)) : createCommentVNode("", true)
|
|
3707
3711
|
])),
|
|
3708
3712
|
!_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
|
|
3709
3713
|
key: 2,
|
|
@@ -6322,7 +6326,7 @@ class BSModal {
|
|
|
6322
6326
|
}
|
|
6323
6327
|
openAlert(title, message, clickHandler2) {
|
|
6324
6328
|
const option = {
|
|
6325
|
-
component: defineAsyncComponent(() => import("./BSAlertModal-
|
|
6329
|
+
component: defineAsyncComponent(() => import("./BSAlertModal-wZOms7hW.js")),
|
|
6326
6330
|
bind: {
|
|
6327
6331
|
title,
|
|
6328
6332
|
message
|
|
@@ -6335,7 +6339,7 @@ class BSModal {
|
|
|
6335
6339
|
}
|
|
6336
6340
|
openYesNo(title, message, yesHandler, noHandler) {
|
|
6337
6341
|
const option = {
|
|
6338
|
-
component: defineAsyncComponent(() => import("./BSYesNoModal-
|
|
6342
|
+
component: defineAsyncComponent(() => import("./BSYesNoModal-sAn7m746.js")),
|
|
6339
6343
|
bind: {
|
|
6340
6344
|
title,
|
|
6341
6345
|
message
|
|
@@ -31469,13 +31473,13 @@ const tableContextMenus = (modal, editor) => {
|
|
|
31469
31473
|
};
|
|
31470
31474
|
const showTableProperties = (modal, editor) => {
|
|
31471
31475
|
modal.openModal({
|
|
31472
|
-
component: defineAsyncComponent(() => import("./TablePropertiesModal-
|
|
31476
|
+
component: defineAsyncComponent(() => import("./TablePropertiesModal-CdyjtqBn.js")),
|
|
31473
31477
|
bind: { editor }
|
|
31474
31478
|
});
|
|
31475
31479
|
};
|
|
31476
31480
|
const insertTable = (modal, editor) => {
|
|
31477
31481
|
modal.openModal({
|
|
31478
|
-
component: defineAsyncComponent(() => import("./TableInsertModal-
|
|
31482
|
+
component: defineAsyncComponent(() => import("./TableInsertModal-DC5_KXTz.js")),
|
|
31479
31483
|
bind: { editor }
|
|
31480
31484
|
});
|
|
31481
31485
|
};
|
|
@@ -31640,7 +31644,7 @@ const insertImage = (modal, editor) => {
|
|
|
31640
31644
|
const component = (_a2 = blueseaConfig.componentConfig.richText) == null ? void 0 : _a2.imageInsertModal;
|
|
31641
31645
|
if (component) {
|
|
31642
31646
|
modal.openModal({
|
|
31643
|
-
component: defineAsyncComponent(() => import("./ImageInsertModal-
|
|
31647
|
+
component: defineAsyncComponent(() => import("./ImageInsertModal-BI_tnz7L.js")),
|
|
31644
31648
|
bind: { editor },
|
|
31645
31649
|
on: {
|
|
31646
31650
|
insertImage: (image) => {
|
|
@@ -31658,7 +31662,7 @@ const insertImage = (modal, editor) => {
|
|
|
31658
31662
|
};
|
|
31659
31663
|
const showImageProperties = (modal, editor) => {
|
|
31660
31664
|
modal.openModal({
|
|
31661
|
-
component: defineAsyncComponent(() => import("./ImagePropertiesModal-
|
|
31665
|
+
component: defineAsyncComponent(() => import("./ImagePropertiesModal-3uMlK2_q.js")),
|
|
31662
31666
|
bind: { editor }
|
|
31663
31667
|
});
|
|
31664
31668
|
};
|
|
@@ -32019,13 +32023,13 @@ const youtubeContextMenu = (modal, editor) => {
|
|
|
32019
32023
|
};
|
|
32020
32024
|
const insertYoutube = (modal, editor) => {
|
|
32021
32025
|
modal.openModal({
|
|
32022
|
-
component: defineAsyncComponent(() => import("./YoutubeInsertModal-
|
|
32026
|
+
component: defineAsyncComponent(() => import("./YoutubeInsertModal-e5QVFl-I.js")),
|
|
32023
32027
|
bind: { editor }
|
|
32024
32028
|
});
|
|
32025
32029
|
};
|
|
32026
32030
|
const showYoutubeProperties = (modal, editor) => {
|
|
32027
32031
|
modal.openModal({
|
|
32028
|
-
component: defineAsyncComponent(() => import("./YoutubePropertiesModal-
|
|
32032
|
+
component: defineAsyncComponent(() => import("./YoutubePropertiesModal-CtMeo1sr.js")),
|
|
32029
32033
|
bind: { editor }
|
|
32030
32034
|
});
|
|
32031
32035
|
};
|
|
@@ -32069,7 +32073,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
32069
32073
|
const showLinkProperties = () => {
|
|
32070
32074
|
if (!props.disabled) {
|
|
32071
32075
|
modal.openModal({
|
|
32072
|
-
component: defineAsyncComponent(() => import("./LinkPropertiesModal-
|
|
32076
|
+
component: defineAsyncComponent(() => import("./LinkPropertiesModal-qGuRtYdw.js")),
|
|
32073
32077
|
bind: {
|
|
32074
32078
|
editor: props.editor
|
|
32075
32079
|
}
|
|
@@ -32434,7 +32438,7 @@ const insertVideo = (modal, editor) => {
|
|
|
32434
32438
|
const component = (_a2 = blueseaConfig.componentConfig.richText) == null ? void 0 : _a2.videoInsertModal;
|
|
32435
32439
|
if (component) {
|
|
32436
32440
|
modal.openModal({
|
|
32437
|
-
component: defineAsyncComponent(() => import("./VideoInsertModal-
|
|
32441
|
+
component: defineAsyncComponent(() => import("./VideoInsertModal-Cy7RPYNi.js")),
|
|
32438
32442
|
bind: { editor },
|
|
32439
32443
|
on: {
|
|
32440
32444
|
insertVideo: (video) => {
|
|
@@ -32452,7 +32456,7 @@ const insertVideo = (modal, editor) => {
|
|
|
32452
32456
|
};
|
|
32453
32457
|
const showVideoProperties = (modal, editor) => {
|
|
32454
32458
|
modal.openModal({
|
|
32455
|
-
component: defineAsyncComponent(() => import("./VideoPropertiesModal-
|
|
32459
|
+
component: defineAsyncComponent(() => import("./VideoPropertiesModal-hhs0LT1m.js")),
|
|
32456
32460
|
bind: { editor }
|
|
32457
32461
|
});
|
|
32458
32462
|
};
|
|
@@ -34630,7 +34634,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
34630
34634
|
emit("maximized");
|
|
34631
34635
|
if (!props.internalMaximized) {
|
|
34632
34636
|
modal.openModal({
|
|
34633
|
-
component: defineAsyncComponent(() => import("./BSRichTextMaximizedModal-
|
|
34637
|
+
component: defineAsyncComponent(() => import("./BSRichTextMaximizedModal-zAuDLWZd.js")),
|
|
34634
34638
|
bind: {
|
|
34635
34639
|
modelValue: getEditorValue(),
|
|
34636
34640
|
contentMaxWidth: props.contentMaxWidth,
|
|
@@ -35177,7 +35181,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
35177
35181
|
const modal = useModal();
|
|
35178
35182
|
const enterYoutubeUrl = () => {
|
|
35179
35183
|
modal.openModal({
|
|
35180
|
-
component: defineAsyncComponent(() => import("./BSYoutubeInputModal-
|
|
35184
|
+
component: defineAsyncComponent(() => import("./BSYoutubeInputModal-D2QX8vj7.js")),
|
|
35181
35185
|
on: {
|
|
35182
35186
|
"update:modelValue": (url) => {
|
|
35183
35187
|
emit("update:modelValue", {
|
|
@@ -38833,7 +38837,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
38833
38837
|
const modal = useModal();
|
|
38834
38838
|
const openSettingModal = () => {
|
|
38835
38839
|
modal.openModal({
|
|
38836
|
-
component: defineAsyncComponent(() => import("./BSGridColumnSettingModal-
|
|
38840
|
+
component: defineAsyncComponent(() => import("./BSGridColumnSettingModal-QPbpMQD6.js")),
|
|
38837
38841
|
bind: {
|
|
38838
38842
|
columns: props.columns,
|
|
38839
38843
|
columnSettings: props.columnSettings,
|