@g1cloud/bluesea 5.0.0-beta.16 → 5.0.0-beta.18
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-CF_JTmhi.js → BSAlertModal-kp6m-uNK.js} +1 -1
- package/dist/{BSGridColumnSettingModal-Cx7oqsyb.js → BSGridColumnSettingModal-BnTALFUV.js} +1 -1
- package/dist/{BSRichTextMaximizedModal-51YcW4Ml.js → BSRichTextMaximizedModal-UoCtex_m.js} +1 -1
- package/dist/{BSYesNoModal-C6_FunXV.js → BSYesNoModal-Cr9f4jYH.js} +1 -1
- package/dist/{BSYoutubeInputModal-DmQZMtJ_.js → BSYoutubeInputModal-CmvtX03s.js} +1 -1
- package/dist/{ImageInsertModal-DH0cfB5D.js → ImageInsertModal-B7Laafmq.js} +2 -2
- package/dist/{ImageProperties.vue_vue_type_script_setup_true_lang-BAfBNS3t.js → ImageProperties.vue_vue_type_script_setup_true_lang-DMJWXG6v.js} +1 -1
- package/dist/{ImagePropertiesModal-BrR5bkLN.js → ImagePropertiesModal-D6yg3r3l.js} +2 -2
- package/dist/{LinkPropertiesModal-b-R8bfjK.js → LinkPropertiesModal-R9wXrKza.js} +1 -1
- package/dist/{TableInsertModal-BoOcP8EU.js → TableInsertModal-DXEmN5hT.js} +1 -1
- package/dist/{TablePropertiesModal-DAVdW1Ds.js → TablePropertiesModal-BesrMkSV.js} +1 -1
- package/dist/{VideoInsertModal-PR-DONIh.js → VideoInsertModal-UYSzdT8i.js} +2 -2
- package/dist/{VideoProperties.vue_vue_type_script_setup_true_lang-CZC00R1a.js → VideoProperties.vue_vue_type_script_setup_true_lang-Je-4J26m.js} +1 -1
- package/dist/{VideoPropertiesModal-GuGVIRso.js → VideoPropertiesModal-CQsgaph0.js} +2 -2
- package/dist/{YoutubeInsertModal-DGnlllWV.js → YoutubeInsertModal-Cjlw8wJU.js} +2 -2
- package/dist/{YoutubeProperties.vue_vue_type_script_setup_true_lang-BXXoeaXn.js → YoutubeProperties.vue_vue_type_script_setup_true_lang-yE7obC6I.js} +1 -1
- package/dist/{YoutubePropertiesModal-1fqFfuqp.js → YoutubePropertiesModal-DadnvJxl.js} +2 -2
- package/dist/bluesea.js +1 -1
- package/dist/bluesea.umd.cjs +4 -1
- package/dist/config/config.d.ts +3 -2
- package/dist/{index-lj_R2xa0.js → index-OsoctF7G.js} +20 -17
- 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, j as vFocusOnLoad } from "./index-
|
|
2
|
+
import { u as useModalHandle, _ as _sfc_main$1, v as vT, B as BSButton, j as vFocusOnLoad } from "./index-OsoctF7G.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 { f as createInputGridHandler, u as useModalHandle, _ as _sfc_main$1, B as BSButton, g as _sfc_main$2, h as _sfc_main$3, i as _sfc_main$4, n as notNull } from "./index-
|
|
2
|
+
import { f as createInputGridHandler, u as useModalHandle, _ as _sfc_main$1, B as BSButton, g as _sfc_main$2, h as _sfc_main$3, i as _sfc_main$4, n as notNull } from "./index-OsoctF7G.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-OsoctF7G.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-OsoctF7G.js";
|
|
3
3
|
const _hoisted_1 = { class: "text-right" };
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "BSYesNoModal",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, useModel, ref, createBlock, openBlock, withCtx, createElementVNode, createVNode, createCommentVNode, unref } from "vue";
|
|
2
|
-
import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, e as extractYoutubeVideoId } from "./index-
|
|
2
|
+
import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, e as extractYoutubeVideoId } from "./index-OsoctF7G.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-OsoctF7G.js";
|
|
3
|
+
import { _ as _sfc_main$5 } from "./ImageProperties.vue_vue_type_script_setup_true_lang-DMJWXG6v.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-OsoctF7G.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 { o as findImageNode, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, m as formValidator, p as imageInfoNumberToPixel } from "./index-
|
|
3
|
-
import { _ as _sfc_main$4 } from "./ImageProperties.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { o as findImageNode, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, m as formValidator, p as imageInfoNumberToPixel } from "./index-OsoctF7G.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./ImageProperties.vue_vue_type_script_setup_true_lang-DMJWXG6v.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-OsoctF7G.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, h as _sfc_main$3 } from "./index-
|
|
2
|
+
import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, h as _sfc_main$3 } from "./index-OsoctF7G.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 { k 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, l as _sfc_main$4, m as formValidator } from "./index-
|
|
2
|
+
import { k 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, l as _sfc_main$4, m as formValidator } from "./index-OsoctF7G.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-OsoctF7G.js";
|
|
3
|
+
import { _ as _sfc_main$5 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-Je-4J26m.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 { i as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, v as vT } from "./index-
|
|
2
|
+
import { i as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, v as vT } from "./index-OsoctF7G.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 { s as findVideoNode, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, m as formValidator, t as videoInfoNumberToPixel } from "./index-
|
|
3
|
-
import { _ as _sfc_main$4 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { s as findVideoNode, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, m as formValidator, t as videoInfoNumberToPixel } from "./index-OsoctF7G.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-Je-4J26m.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-OsoctF7G.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./YoutubeProperties.vue_vue_type_script_setup_true_lang-yE7obC6I.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-OsoctF7G.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 { q as findYoutubeNode, r 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 { q as findYoutubeNode, r 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-OsoctF7G.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./YoutubeProperties.vue_vue_type_script_setup_true_lang-yE7obC6I.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 { aK, aL, bI, bJ, w, am, aw, B, H, I, a6, i, P, ao, L, D, ax, cq, F, M, as, N, a4, a5, at, O, b, g, a2, a1, a9, ap, an, Z, A, a8, a7, E, aj, c8, au, _, $, ag, ai, ah, af, ae, ad, T, ak, av, h, G, K, aq, z, W, a0, J, C, Q, l, d, S, ar, a, al, X, a3, c, ab, ac, V, U, aa, R, x, bQ, b8, bP, aU, az, cv, ay, a$, aZ, aW, Y, bO, b1, b0, cA, bG, bM, a_, bS, bR, bN, cu, b2, aT, aH, aI, aG, aJ, bL, bK, aY, bH, bx, c2, cz, bc, bj, c1, cJ, ce, bT, b_, bZ, aQ, bA, cg, aR, cp, b7, ct, cw, f, cb, aX, bf, cN, aM, b4, bg, aN, aP, aO, b6, bY, bu, bv, bw, br, bt, bs, e, bq, bn, m, cC, aS, b5, cn, cj, cB, bW, aC, cK, cH, cL, bB, cI, bC, c0, b$, ck, bk, bX, bm, bi, cM, b3, c7, c6, aV, bV, n, cc, bU, cG, cx, c3, ca, by, b9, bd, bF, c5, bD, bE, cf, cm, cl, cd, ci, bl, aB, bh, ch, cF, cr, cs, cy, c4, c9, u, bz, ba, bb, be, aA, aE, aF, j, v, aD, bo, bp, cE, cD, co } from "./index-
|
|
1
|
+
import { aK, aL, bI, bJ, w, am, aw, B, H, I, a6, i, P, ao, L, D, ax, cq, F, M, as, N, a4, a5, at, O, b, g, a2, a1, a9, ap, an, Z, A, a8, a7, E, aj, c8, au, _, $, ag, ai, ah, af, ae, ad, T, ak, av, h, G, K, aq, z, W, a0, J, C, Q, l, d, S, ar, a, al, X, a3, c, ab, ac, V, U, aa, R, x, bQ, b8, bP, aU, az, cv, ay, a$, aZ, aW, Y, bO, b1, b0, cA, bG, bM, a_, bS, bR, bN, cu, b2, aT, aH, aI, aG, aJ, bL, bK, aY, bH, bx, c2, cz, bc, bj, c1, cJ, ce, bT, b_, bZ, aQ, bA, cg, aR, cp, b7, ct, cw, f, cb, aX, bf, cN, aM, b4, bg, aN, aP, aO, b6, bY, bu, bv, bw, br, bt, bs, e, bq, bn, m, cC, aS, b5, cn, cj, cB, bW, aC, cK, cH, cL, bB, cI, bC, c0, b$, ck, bk, bX, bm, bi, cM, b3, c7, c6, aV, bV, n, cc, bU, cG, cx, c3, ca, by, b9, bd, bF, c5, bD, bE, cf, cm, cl, cd, ci, bl, aB, bh, ch, cF, cr, cs, cy, c4, c9, u, bz, ba, bb, be, aA, aE, aF, j, v, aD, bo, bp, cE, cD, co } from "./index-OsoctF7G.js";
|
|
2
2
|
export {
|
|
3
3
|
aK as ADDRESS_COUNTRY_CONFIGS,
|
|
4
4
|
aL as ADDRESS_COUNTRY_CONFIG_DEFAULT,
|
package/dist/bluesea.umd.cjs
CHANGED
|
@@ -481,6 +481,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
481
481
|
if (options.addressSerializer) {
|
|
482
482
|
this.addressSerializer = options.addressSerializer;
|
|
483
483
|
}
|
|
484
|
+
if (options.moneySerializer) {
|
|
485
|
+
this.moneySerializer = options.moneySerializer;
|
|
486
|
+
}
|
|
484
487
|
}
|
|
485
488
|
setLocales(locales, defaultLocale, currentLocale) {
|
|
486
489
|
this.locales = locales;
|
|
@@ -34713,7 +34716,7 @@ img.ProseMirror-separator {
|
|
|
34713
34716
|
}
|
|
34714
34717
|
};
|
|
34715
34718
|
const extractYoutubeVideoId = (url) => {
|
|
34716
|
-
const regex = /(?:youtube\.com\/(?:[^\/\n\s]+\/\S+\/|(?:v|embed)\/|\S*?[?&]v=)|youtu\.be\/)([a-zA-Z0-9_-]{11})/;
|
|
34719
|
+
const regex = /(?:youtube\.com\/(?:[^\/\n\s]+\/\S+\/|(?:v|embed|shorts)\/|\S*?[?&]v=)|youtu\.be\/)([a-zA-Z0-9_-]{11})/;
|
|
34717
34720
|
const match = url.match(regex);
|
|
34718
34721
|
return match ? match[1] : void 0;
|
|
34719
34722
|
};
|
package/dist/config/config.d.ts
CHANGED
|
@@ -153,8 +153,9 @@ export type BlueseaConfigRaw = {
|
|
|
153
153
|
blankImageUrl?: string;
|
|
154
154
|
gridPreferenceStore?: GridPreferenceStore;
|
|
155
155
|
componentConfig?: ComponentConfig;
|
|
156
|
-
telSerializer?:
|
|
157
|
-
addressSerializer?:
|
|
156
|
+
telSerializer?: TelSerializer;
|
|
157
|
+
addressSerializer?: AddressSerializer;
|
|
158
|
+
moneySerializer?: MoneySerializer;
|
|
158
159
|
};
|
|
159
160
|
export declare const blueseaConfig: BlueseaConfig;
|
|
160
161
|
export declare const configureBluesea: (options: BlueseaConfigRaw) => void;
|
|
@@ -360,8 +360,8 @@ const defaultAddressInputComponentConfig = {
|
|
|
360
360
|
countryConfigs: ADDRESS_COUNTRY_CONFIGS
|
|
361
361
|
};
|
|
362
362
|
const defaultRichTextComponentConfig = {
|
|
363
|
-
imageInsertModal: defineAsyncComponent(() => import("./ImageInsertModal-
|
|
364
|
-
videoInsertModal: defineAsyncComponent(() => import("./VideoInsertModal-
|
|
363
|
+
imageInsertModal: defineAsyncComponent(() => import("./ImageInsertModal-B7Laafmq.js")),
|
|
364
|
+
videoInsertModal: defineAsyncComponent(() => import("./VideoInsertModal-UYSzdT8i.js")),
|
|
365
365
|
toolButtons: [
|
|
366
366
|
"Heading",
|
|
367
367
|
"FontSize",
|
|
@@ -481,6 +481,9 @@ class BlueseaConfig {
|
|
|
481
481
|
if (options.addressSerializer) {
|
|
482
482
|
this.addressSerializer = options.addressSerializer;
|
|
483
483
|
}
|
|
484
|
+
if (options.moneySerializer) {
|
|
485
|
+
this.moneySerializer = options.moneySerializer;
|
|
486
|
+
}
|
|
484
487
|
}
|
|
485
488
|
setLocales(locales, defaultLocale, currentLocale) {
|
|
486
489
|
this.locales = locales;
|
|
@@ -6306,7 +6309,7 @@ class BSModal {
|
|
|
6306
6309
|
}
|
|
6307
6310
|
openAlert(title, message, clickHandler2) {
|
|
6308
6311
|
const option = {
|
|
6309
|
-
component: defineAsyncComponent(() => import("./BSAlertModal-
|
|
6312
|
+
component: defineAsyncComponent(() => import("./BSAlertModal-kp6m-uNK.js")),
|
|
6310
6313
|
bind: {
|
|
6311
6314
|
title,
|
|
6312
6315
|
message
|
|
@@ -6319,7 +6322,7 @@ class BSModal {
|
|
|
6319
6322
|
}
|
|
6320
6323
|
openYesNo(title, message, yesHandler, noHandler) {
|
|
6321
6324
|
const option = {
|
|
6322
|
-
component: defineAsyncComponent(() => import("./BSYesNoModal-
|
|
6325
|
+
component: defineAsyncComponent(() => import("./BSYesNoModal-Cr9f4jYH.js")),
|
|
6323
6326
|
bind: {
|
|
6324
6327
|
title,
|
|
6325
6328
|
message
|
|
@@ -31453,13 +31456,13 @@ const tableContextMenus = (modal, editor) => {
|
|
|
31453
31456
|
};
|
|
31454
31457
|
const showTableProperties = (modal, editor) => {
|
|
31455
31458
|
modal.openModal({
|
|
31456
|
-
component: defineAsyncComponent(() => import("./TablePropertiesModal-
|
|
31459
|
+
component: defineAsyncComponent(() => import("./TablePropertiesModal-BesrMkSV.js")),
|
|
31457
31460
|
bind: { editor }
|
|
31458
31461
|
});
|
|
31459
31462
|
};
|
|
31460
31463
|
const insertTable = (modal, editor) => {
|
|
31461
31464
|
modal.openModal({
|
|
31462
|
-
component: defineAsyncComponent(() => import("./TableInsertModal-
|
|
31465
|
+
component: defineAsyncComponent(() => import("./TableInsertModal-DXEmN5hT.js")),
|
|
31463
31466
|
bind: { editor }
|
|
31464
31467
|
});
|
|
31465
31468
|
};
|
|
@@ -31624,7 +31627,7 @@ const insertImage = (modal, editor) => {
|
|
|
31624
31627
|
const component = (_a2 = blueseaConfig.componentConfig.richText) == null ? void 0 : _a2.imageInsertModal;
|
|
31625
31628
|
if (component) {
|
|
31626
31629
|
modal.openModal({
|
|
31627
|
-
component: defineAsyncComponent(() => import("./ImageInsertModal-
|
|
31630
|
+
component: defineAsyncComponent(() => import("./ImageInsertModal-B7Laafmq.js")),
|
|
31628
31631
|
bind: { editor },
|
|
31629
31632
|
on: {
|
|
31630
31633
|
insertImage: (image) => {
|
|
@@ -31642,7 +31645,7 @@ const insertImage = (modal, editor) => {
|
|
|
31642
31645
|
};
|
|
31643
31646
|
const showImageProperties = (modal, editor) => {
|
|
31644
31647
|
modal.openModal({
|
|
31645
|
-
component: defineAsyncComponent(() => import("./ImagePropertiesModal-
|
|
31648
|
+
component: defineAsyncComponent(() => import("./ImagePropertiesModal-D6yg3r3l.js")),
|
|
31646
31649
|
bind: { editor }
|
|
31647
31650
|
});
|
|
31648
31651
|
};
|
|
@@ -32003,13 +32006,13 @@ const youtubeContextMenu = (modal, editor) => {
|
|
|
32003
32006
|
};
|
|
32004
32007
|
const insertYoutube = (modal, editor) => {
|
|
32005
32008
|
modal.openModal({
|
|
32006
|
-
component: defineAsyncComponent(() => import("./YoutubeInsertModal-
|
|
32009
|
+
component: defineAsyncComponent(() => import("./YoutubeInsertModal-Cjlw8wJU.js")),
|
|
32007
32010
|
bind: { editor }
|
|
32008
32011
|
});
|
|
32009
32012
|
};
|
|
32010
32013
|
const showYoutubeProperties = (modal, editor) => {
|
|
32011
32014
|
modal.openModal({
|
|
32012
|
-
component: defineAsyncComponent(() => import("./YoutubePropertiesModal-
|
|
32015
|
+
component: defineAsyncComponent(() => import("./YoutubePropertiesModal-DadnvJxl.js")),
|
|
32013
32016
|
bind: { editor }
|
|
32014
32017
|
});
|
|
32015
32018
|
};
|
|
@@ -32053,7 +32056,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
32053
32056
|
const showLinkProperties = () => {
|
|
32054
32057
|
if (!props.disabled) {
|
|
32055
32058
|
modal.openModal({
|
|
32056
|
-
component: defineAsyncComponent(() => import("./LinkPropertiesModal-
|
|
32059
|
+
component: defineAsyncComponent(() => import("./LinkPropertiesModal-R9wXrKza.js")),
|
|
32057
32060
|
bind: {
|
|
32058
32061
|
editor: props.editor
|
|
32059
32062
|
}
|
|
@@ -32418,7 +32421,7 @@ const insertVideo = (modal, editor) => {
|
|
|
32418
32421
|
const component = (_a2 = blueseaConfig.componentConfig.richText) == null ? void 0 : _a2.videoInsertModal;
|
|
32419
32422
|
if (component) {
|
|
32420
32423
|
modal.openModal({
|
|
32421
|
-
component: defineAsyncComponent(() => import("./VideoInsertModal-
|
|
32424
|
+
component: defineAsyncComponent(() => import("./VideoInsertModal-UYSzdT8i.js")),
|
|
32422
32425
|
bind: { editor },
|
|
32423
32426
|
on: {
|
|
32424
32427
|
insertVideo: (video) => {
|
|
@@ -32436,7 +32439,7 @@ const insertVideo = (modal, editor) => {
|
|
|
32436
32439
|
};
|
|
32437
32440
|
const showVideoProperties = (modal, editor) => {
|
|
32438
32441
|
modal.openModal({
|
|
32439
|
-
component: defineAsyncComponent(() => import("./VideoPropertiesModal-
|
|
32442
|
+
component: defineAsyncComponent(() => import("./VideoPropertiesModal-CQsgaph0.js")),
|
|
32440
32443
|
bind: { editor }
|
|
32441
32444
|
});
|
|
32442
32445
|
};
|
|
@@ -34614,7 +34617,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
34614
34617
|
emit("maximized");
|
|
34615
34618
|
if (!props.internalMaximized) {
|
|
34616
34619
|
modal.openModal({
|
|
34617
|
-
component: defineAsyncComponent(() => import("./BSRichTextMaximizedModal-
|
|
34620
|
+
component: defineAsyncComponent(() => import("./BSRichTextMaximizedModal-UoCtex_m.js")),
|
|
34618
34621
|
bind: {
|
|
34619
34622
|
modelValue: getEditorValue(),
|
|
34620
34623
|
contentMaxWidth: props.contentMaxWidth,
|
|
@@ -34713,7 +34716,7 @@ const getMediaType = (url) => {
|
|
|
34713
34716
|
}
|
|
34714
34717
|
};
|
|
34715
34718
|
const extractYoutubeVideoId = (url) => {
|
|
34716
|
-
const regex = /(?:youtube\.com\/(?:[^\/\n\s]+\/\S+\/|(?:v|embed)\/|\S*?[?&]v=)|youtu\.be\/)([a-zA-Z0-9_-]{11})/;
|
|
34719
|
+
const regex = /(?:youtube\.com\/(?:[^\/\n\s]+\/\S+\/|(?:v|embed|shorts)\/|\S*?[?&]v=)|youtu\.be\/)([a-zA-Z0-9_-]{11})/;
|
|
34717
34720
|
const match = url.match(regex);
|
|
34718
34721
|
return match ? match[1] : void 0;
|
|
34719
34722
|
};
|
|
@@ -35152,7 +35155,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
35152
35155
|
const modal = useModal();
|
|
35153
35156
|
const enterYoutubeUrl = () => {
|
|
35154
35157
|
modal.openModal({
|
|
35155
|
-
component: defineAsyncComponent(() => import("./BSYoutubeInputModal-
|
|
35158
|
+
component: defineAsyncComponent(() => import("./BSYoutubeInputModal-CmvtX03s.js")),
|
|
35156
35159
|
on: {
|
|
35157
35160
|
"update:modelValue": (url) => {
|
|
35158
35161
|
emit("update:modelValue", {
|
|
@@ -38554,7 +38557,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
38554
38557
|
const modal = useModal();
|
|
38555
38558
|
const openSettingModal = () => {
|
|
38556
38559
|
modal.openModal({
|
|
38557
|
-
component: defineAsyncComponent(() => import("./BSGridColumnSettingModal-
|
|
38560
|
+
component: defineAsyncComponent(() => import("./BSGridColumnSettingModal-BnTALFUV.js")),
|
|
38558
38561
|
bind: {
|
|
38559
38562
|
columns: props.columns,
|
|
38560
38563
|
columnSettings: props.columnSettings,
|