@g1cloud/bluesea 5.0.0-beta.3 → 5.0.0-beta.5
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-xBi30_WT.js → BSAlertModal-BixctNO_.js} +1 -1
- package/dist/{BSGridColumnSettingModal-CGOmNxYg.js → BSGridColumnSettingModal-CEZYNkY7.js} +1 -1
- package/dist/{BSRichTextMaximizedModal-bwfs_ETq.js → BSRichTextMaximizedModal-BJHJKSmv.js} +1 -1
- package/dist/{BSYesNoModal-g_jspSyV.js → BSYesNoModal-RP6IOQrf.js} +1 -1
- package/dist/{BSYoutubeInputModal-gxqSatHw.js → BSYoutubeInputModal-DcGUES0z.js} +1 -1
- package/dist/{ImageInsertModal-BjQMX1aF.js → ImageInsertModal-Ca9ODxyY.js} +2 -2
- package/dist/{ImageProperties.vue_vue_type_script_setup_true_lang-DngZdEN7.js → ImageProperties.vue_vue_type_script_setup_true_lang-DaQiIqJ3.js} +1 -1
- package/dist/{ImagePropertiesModal-BVMSRdqN.js → ImagePropertiesModal-Dd_PTCe7.js} +2 -2
- package/dist/{LinkPropertiesModal-CjQMdxnd.js → LinkPropertiesModal-CHfXSxhI.js} +1 -1
- package/dist/{TableInsertModal-W9oMIgb_.js → TableInsertModal-BuW96v61.js} +1 -1
- package/dist/{TablePropertiesModal-rKhKzzYG.js → TablePropertiesModal-Cyi6buUh.js} +1 -1
- package/dist/{VideoInsertModal-DMtZM5vy.js → VideoInsertModal-mgYS8iD6.js} +2 -2
- package/dist/{VideoProperties.vue_vue_type_script_setup_true_lang-CbE-PZdm.js → VideoProperties.vue_vue_type_script_setup_true_lang-Bds3l55w.js} +1 -1
- package/dist/{VideoPropertiesModal-CLkvzq3Y.js → VideoPropertiesModal-CYvyUvt9.js} +2 -2
- package/dist/{YoutubeInsertModal-4_qANoY5.js → YoutubeInsertModal-Bd9i0AaR.js} +2 -2
- package/dist/{YoutubeProperties.vue_vue_type_script_setup_true_lang-B-LT9GYf.js → YoutubeProperties.vue_vue_type_script_setup_true_lang-B-zxE_y5.js} +1 -1
- package/dist/{YoutubePropertiesModal-BKwZsK6d.js → YoutubePropertiesModal-DQI3DULJ.js} +2 -2
- package/dist/bluesea.js +1 -1
- package/dist/bluesea.umd.cjs +96 -61
- package/dist/component/tree/BSTree.vue.d.ts +3 -0
- package/dist/{index-BQZ3zTp7.js → index-BKKS6q-4.js} +112 -77
- package/dist/model/CommonTypes.d.ts +1 -1
- package/package.json +1 -1
|
@@ -87,8 +87,8 @@ const defaultAddressInputComponentConfig = {
|
|
|
87
87
|
countryConfigs: ADDRESS_COUNTRY_CONFIGS
|
|
88
88
|
};
|
|
89
89
|
const defaultRichTextComponentConfig = {
|
|
90
|
-
imageInsertModal: defineAsyncComponent(() => import("./ImageInsertModal-
|
|
91
|
-
videoInsertModal: defineAsyncComponent(() => import("./VideoInsertModal-
|
|
90
|
+
imageInsertModal: defineAsyncComponent(() => import("./ImageInsertModal-Ca9ODxyY.js")),
|
|
91
|
+
videoInsertModal: defineAsyncComponent(() => import("./VideoInsertModal-mgYS8iD6.js")),
|
|
92
92
|
toolButtons: [
|
|
93
93
|
"Heading",
|
|
94
94
|
"FontSize",
|
|
@@ -583,7 +583,7 @@ const waitUtil = {
|
|
|
583
583
|
waitDuring,
|
|
584
584
|
tryUntil
|
|
585
585
|
};
|
|
586
|
-
const _hoisted_1$
|
|
586
|
+
const _hoisted_1$1p = ["data-popup-id"];
|
|
587
587
|
const ADJUST_OFFSET = 8;
|
|
588
588
|
const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
589
589
|
__name: "BSPopup",
|
|
@@ -768,7 +768,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
768
768
|
onKeydown: _cache[1] || (_cache[1] = ($event) => emit("keydown", $event))
|
|
769
769
|
}, [
|
|
770
770
|
renderSlot(_ctx.$slots, "default")
|
|
771
|
-
], 46, _hoisted_1$
|
|
771
|
+
], 46, _hoisted_1$1p)
|
|
772
772
|
]),
|
|
773
773
|
_: 3
|
|
774
774
|
})
|
|
@@ -810,7 +810,7 @@ const debounce$2 = (func, wait) => {
|
|
|
810
810
|
});
|
|
811
811
|
};
|
|
812
812
|
};
|
|
813
|
-
const _hoisted_1$
|
|
813
|
+
const _hoisted_1$1o = {
|
|
814
814
|
key: 0,
|
|
815
815
|
class: "popup-search pa-4"
|
|
816
816
|
};
|
|
@@ -975,7 +975,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
|
975
975
|
onKeydown: withKeys(withModifiers(handleKeyboard, ["stop", "prevent"]), ["enter", "down", "up"])
|
|
976
976
|
}, {
|
|
977
977
|
default: withCtx(() => [
|
|
978
|
-
actualShowSearch.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
978
|
+
actualShowSearch.value ? (openBlock(), createElementBlock("div", _hoisted_1$1o, [
|
|
979
979
|
withDirectives(createElementVNode("input", {
|
|
980
980
|
type: "text",
|
|
981
981
|
onInput: setSearchKeyword,
|
|
@@ -1370,7 +1370,7 @@ class SavePointHandlerImpl {
|
|
|
1370
1370
|
return this.isModified(this.valueProvider.getCurrentValue());
|
|
1371
1371
|
}
|
|
1372
1372
|
}
|
|
1373
|
-
const _hoisted_1$
|
|
1373
|
+
const _hoisted_1$1n = { key: 0 };
|
|
1374
1374
|
const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
1375
1375
|
__name: "ValidationErrors",
|
|
1376
1376
|
props: {
|
|
@@ -1379,7 +1379,7 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
|
1379
1379
|
},
|
|
1380
1380
|
setup(__props) {
|
|
1381
1381
|
return (_ctx, _cache) => {
|
|
1382
|
-
return !_ctx.hideErrorMessage && _ctx.errors && _ctx.errors.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
1382
|
+
return !_ctx.hideErrorMessage && _ctx.errors && _ctx.errors.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$1n, [
|
|
1383
1383
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.errors, (error) => {
|
|
1384
1384
|
return withDirectives((openBlock(), createElementBlock("div", {
|
|
1385
1385
|
key: error.code,
|
|
@@ -1426,7 +1426,7 @@ const executeKeyProviderOrDefault = (item, keyProvider, defaultKey) => {
|
|
|
1426
1426
|
}
|
|
1427
1427
|
return defaultKey(item);
|
|
1428
1428
|
};
|
|
1429
|
-
const _hoisted_1$
|
|
1429
|
+
const _hoisted_1$1m = ["tabindex", "onKeydown"];
|
|
1430
1430
|
const _hoisted_2$11 = { key: 0 };
|
|
1431
1431
|
const _hoisted_3$A = {
|
|
1432
1432
|
key: 0,
|
|
@@ -1619,7 +1619,7 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
|
1619
1619
|
"hide-error-message": _ctx.hideErrorMessage
|
|
1620
1620
|
}, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true)
|
|
1621
1621
|
], 64))
|
|
1622
|
-
], 42, _hoisted_1$
|
|
1622
|
+
], 42, _hoisted_1$1m)), [
|
|
1623
1623
|
[unref(vClickOutside), () => togglePopup(false)]
|
|
1624
1624
|
]);
|
|
1625
1625
|
};
|
|
@@ -1722,7 +1722,7 @@ const useContextMenuOptional = () => {
|
|
|
1722
1722
|
const createContextMenuPlugin = () => {
|
|
1723
1723
|
return new BSContextMenuPlugin();
|
|
1724
1724
|
};
|
|
1725
|
-
const _hoisted_1$
|
|
1725
|
+
const _hoisted_1$1l = ["data-menu-id"];
|
|
1726
1726
|
const _hoisted_2$10 = ["href", "target"];
|
|
1727
1727
|
const _hoisted_3$z = ["data-menu-id"];
|
|
1728
1728
|
const _hoisted_4$n = ["data-menu-id", "onMouseenter", "onClick"];
|
|
@@ -1808,7 +1808,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
1808
1808
|
}, null, 8, _hoisted_2$10), [
|
|
1809
1809
|
[unref(vT), menu.caption]
|
|
1810
1810
|
])
|
|
1811
|
-
], 8, _hoisted_1$
|
|
1811
|
+
], 8, _hoisted_1$1l)) : menu.type === "route" ? (openBlock(), createElementBlock("div", {
|
|
1812
1812
|
key: 3,
|
|
1813
1813
|
"data-menu-id": menu.menuId,
|
|
1814
1814
|
class: "menu no-padding",
|
|
@@ -2022,7 +2022,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
2022
2022
|
};
|
|
2023
2023
|
}
|
|
2024
2024
|
});
|
|
2025
|
-
const _hoisted_1$
|
|
2025
|
+
const _hoisted_1$1k = {
|
|
2026
2026
|
key: 0,
|
|
2027
2027
|
class: "view-mode"
|
|
2028
2028
|
};
|
|
@@ -2187,7 +2187,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
2187
2187
|
class: normalizeClass([{ required: _ctx.required, disabled: _ctx.disabled, modified: modified.value, error: unref(errors).length > 0 }, "bs-text-input"]),
|
|
2188
2188
|
style: normalizeStyle({ width: _ctx.width })
|
|
2189
2189
|
}, [
|
|
2190
|
-
_ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2190
|
+
_ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1k, [
|
|
2191
2191
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(getPrefixSuffixList(_ctx.prefix), (item) => {
|
|
2192
2192
|
return openBlock(), createElementBlock(Fragment$1, null, [
|
|
2193
2193
|
item.type === "text" ? withDirectives((openBlock(), createElementBlock("span", {
|
|
@@ -2290,7 +2290,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
2290
2290
|
};
|
|
2291
2291
|
}
|
|
2292
2292
|
});
|
|
2293
|
-
const _hoisted_1$
|
|
2293
|
+
const _hoisted_1$1j = { class: "bs-link bs-layout-horizontal-inline flex-align-center" };
|
|
2294
2294
|
const _hoisted_2$_ = ["href", "target"];
|
|
2295
2295
|
const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
2296
2296
|
__name: "BSLink",
|
|
@@ -2301,7 +2301,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
2301
2301
|
},
|
|
2302
2302
|
setup(__props) {
|
|
2303
2303
|
return (_ctx, _cache) => {
|
|
2304
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2304
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1j, [
|
|
2305
2305
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "font-icon mr-4" }, "link", -1)),
|
|
2306
2306
|
withDirectives(createElementVNode("a", {
|
|
2307
2307
|
href: _ctx.path,
|
|
@@ -2314,7 +2314,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
2314
2314
|
}
|
|
2315
2315
|
});
|
|
2316
2316
|
const BSLink = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["__scopeId", "data-v-29df56e5"]]);
|
|
2317
|
-
const _hoisted_1$
|
|
2317
|
+
const _hoisted_1$1i = {
|
|
2318
2318
|
key: 0,
|
|
2319
2319
|
class: "show-percent",
|
|
2320
2320
|
style: { "left": "100%" }
|
|
@@ -2353,7 +2353,7 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
2353
2353
|
style: normalizeStyle({ width: calculateProgress.value + "%" }),
|
|
2354
2354
|
class: "inner-progressbar"
|
|
2355
2355
|
}, [
|
|
2356
|
-
calculateProgress.value !== void 0 && calculateProgress.value < 50 ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
2356
|
+
calculateProgress.value !== void 0 && calculateProgress.value < 50 ? (openBlock(), createElementBlock("span", _hoisted_1$1i, toDisplayString(calculatePercent.value) + "% ", 1)) : (openBlock(), createElementBlock("span", _hoisted_2$Z, toDisplayString(calculatePercent.value) + "% ", 1))
|
|
2357
2357
|
], 4)) : (openBlock(), createElementBlock("div", _hoisted_3$x, _cache[0] || (_cache[0] = [
|
|
2358
2358
|
createElementVNode("div", { class: "in-box" }, null, -1)
|
|
2359
2359
|
])))
|
|
@@ -2383,9 +2383,9 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
2383
2383
|
});
|
|
2384
2384
|
const BSConsole = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__scopeId", "data-v-f33a4477"]]);
|
|
2385
2385
|
const _sfc_main$1x = {};
|
|
2386
|
-
const _hoisted_1$
|
|
2386
|
+
const _hoisted_1$1h = { class: "bs-loading-icon" };
|
|
2387
2387
|
function _sfc_render$1(_ctx, _cache) {
|
|
2388
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2388
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1h, _cache[0] || (_cache[0] = [
|
|
2389
2389
|
createElementVNode("span", { class: "font-icon" }, "progress_activity", -1)
|
|
2390
2390
|
]));
|
|
2391
2391
|
}
|
|
@@ -2660,7 +2660,7 @@ const formatUtil = {
|
|
|
2660
2660
|
return tmp.textContent || tmp.innerText;
|
|
2661
2661
|
}
|
|
2662
2662
|
};
|
|
2663
|
-
const _hoisted_1$
|
|
2663
|
+
const _hoisted_1$1g = { class: "bs-date" };
|
|
2664
2664
|
const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
2665
2665
|
__name: "BSDate",
|
|
2666
2666
|
props: {
|
|
@@ -2672,11 +2672,11 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
2672
2672
|
const props = __props;
|
|
2673
2673
|
const formatted = computed(() => formatUtil.formatDateString(props.value, props.format, props.timeZone));
|
|
2674
2674
|
return (_ctx, _cache) => {
|
|
2675
|
-
return openBlock(), createElementBlock("span", _hoisted_1$
|
|
2675
|
+
return openBlock(), createElementBlock("span", _hoisted_1$1g, toDisplayString(formatted.value), 1);
|
|
2676
2676
|
};
|
|
2677
2677
|
}
|
|
2678
2678
|
});
|
|
2679
|
-
const _hoisted_1$
|
|
2679
|
+
const _hoisted_1$1f = { class: "page-navigation" };
|
|
2680
2680
|
const _hoisted_2$Y = ["data-page", "onClick"];
|
|
2681
2681
|
const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
2682
2682
|
__name: "BSPageNavigation",
|
|
@@ -2738,7 +2738,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
2738
2738
|
}
|
|
2739
2739
|
};
|
|
2740
2740
|
return (_ctx, _cache) => {
|
|
2741
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2741
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1f, [
|
|
2742
2742
|
createElementVNode("span", {
|
|
2743
2743
|
class: normalizeClass([{ "disabled": isFirstSet.value }, "font-icon first"]),
|
|
2744
2744
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => !isFirstSet.value && goToPage(1), ["prevent"]))
|
|
@@ -2767,7 +2767,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
2767
2767
|
};
|
|
2768
2768
|
}
|
|
2769
2769
|
});
|
|
2770
|
-
const _hoisted_1$
|
|
2770
|
+
const _hoisted_1$1e = { class: "bs-calendar bs-layout-vertical-inline" };
|
|
2771
2771
|
const _hoisted_2$X = { class: "bs-layout-horizontal justify-content-between align-items-center gap-8" };
|
|
2772
2772
|
const _hoisted_3$w = { class: "year-month bs-layout-horizontal gap-4" };
|
|
2773
2773
|
const _hoisted_4$l = { class: "timezone" };
|
|
@@ -2957,7 +2957,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
2957
2957
|
}
|
|
2958
2958
|
};
|
|
2959
2959
|
return (_ctx, _cache) => {
|
|
2960
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2960
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1e, [
|
|
2961
2961
|
createElementVNode("div", _hoisted_2$X, [
|
|
2962
2962
|
createElementVNode("div", _hoisted_3$w, [
|
|
2963
2963
|
createVNode(BSButton, {
|
|
@@ -3014,7 +3014,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
3014
3014
|
}), 128))
|
|
3015
3015
|
])
|
|
3016
3016
|
], 2),
|
|
3017
|
-
|
|
3017
|
+
["HOUR", "MINUTE_10", "MINUTE", "SECOND"].includes(_ctx.resolution) ? (openBlock(), createElementBlock("div", _hoisted_7$4, [
|
|
3018
3018
|
createElementVNode("div", _hoisted_8$2, [
|
|
3019
3019
|
createVNode(_sfc_main$1F, {
|
|
3020
3020
|
disabled: _ctx.disabled,
|
|
@@ -3049,7 +3049,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
3049
3049
|
};
|
|
3050
3050
|
}
|
|
3051
3051
|
});
|
|
3052
|
-
const _hoisted_1$
|
|
3052
|
+
const _hoisted_1$1d = { class: "bs-calendar-range bs-layout-horizontal" };
|
|
3053
3053
|
const _hoisted_2$W = { class: "bs-layout-vertical" };
|
|
3054
3054
|
const _hoisted_3$v = { class: "bs-layout-horizontal align-items-center" };
|
|
3055
3055
|
const _hoisted_4$k = {
|
|
@@ -3097,7 +3097,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
3097
3097
|
};
|
|
3098
3098
|
const displayTimeZones = computed(() => [actualTimeZone.value, ...blueseaConfig.getValidDisplayTimeZones()]);
|
|
3099
3099
|
return (_ctx, _cache) => {
|
|
3100
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3100
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1d, [
|
|
3101
3101
|
createElementVNode("div", _hoisted_2$W, [
|
|
3102
3102
|
createElementVNode("div", _hoisted_3$v, [
|
|
3103
3103
|
createVNode(_sfc_main$1u, {
|
|
@@ -3155,7 +3155,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
3155
3155
|
};
|
|
3156
3156
|
}
|
|
3157
3157
|
});
|
|
3158
|
-
const _hoisted_1$
|
|
3158
|
+
const _hoisted_1$1c = {
|
|
3159
3159
|
key: 0,
|
|
3160
3160
|
class: "view-mode"
|
|
3161
3161
|
};
|
|
@@ -3278,7 +3278,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
3278
3278
|
class: normalizeClass([{ required: _ctx.required, disabled: _ctx.disabled, modified: modified.value, error: unref(errors).length > 0 }, "bs-number-input"]),
|
|
3279
3279
|
style: normalizeStyle({ width: _ctx.width })
|
|
3280
3280
|
}, [
|
|
3281
|
-
_ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
3281
|
+
_ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1c, [
|
|
3282
3282
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(componentUtil).toMultiLangTextArray(_ctx.prefix), (text) => {
|
|
3283
3283
|
return withDirectives((openBlock(), createElementBlock("span", {
|
|
3284
3284
|
key: JSON.stringify(text),
|
|
@@ -3344,7 +3344,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
3344
3344
|
};
|
|
3345
3345
|
}
|
|
3346
3346
|
});
|
|
3347
|
-
const _hoisted_1$
|
|
3347
|
+
const _hoisted_1$1b = {
|
|
3348
3348
|
key: 0,
|
|
3349
3349
|
class: "view-mode"
|
|
3350
3350
|
};
|
|
@@ -3476,7 +3476,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
3476
3476
|
class: normalizeClass([{ required: _ctx.required, disabled: _ctx.disabled, modified: modified.value, error: unref(errors).length > 0 }, "bs-price-input"]),
|
|
3477
3477
|
style: normalizeStyle({ width: _ctx.width })
|
|
3478
3478
|
}, [
|
|
3479
|
-
_ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
3479
|
+
_ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1b, [
|
|
3480
3480
|
createElementVNode("span", {
|
|
3481
3481
|
class: "price mr-4",
|
|
3482
3482
|
textContent: toDisplayString(_ctx.formatInViewMode ? formattedStringValue.value : unref(stringValue))
|
|
@@ -3701,7 +3701,7 @@ const NAMED_COLORS = {
|
|
|
3701
3701
|
yellow: "#FFFF00",
|
|
3702
3702
|
yellowgreen: "#9ACD32"
|
|
3703
3703
|
};
|
|
3704
|
-
const _hoisted_1$
|
|
3704
|
+
const _hoisted_1$1a = {
|
|
3705
3705
|
key: 0,
|
|
3706
3706
|
class: "bs-layout-horizontal gap-4 align-items-center view-mode"
|
|
3707
3707
|
};
|
|
@@ -3802,7 +3802,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
3802
3802
|
return openBlock(), createElementBlock("div", {
|
|
3803
3803
|
class: normalizeClass([{ required: _ctx.required, disabled: _ctx.disabled, modified: modified.value, error: unref(errors).length > 0 }, "bs-color-input bs-layout-vertical-inline"])
|
|
3804
3804
|
}, [
|
|
3805
|
-
_ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
3805
|
+
_ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$1a, [
|
|
3806
3806
|
createElementVNode("span", {
|
|
3807
3807
|
style: normalizeStyle({ "background-color": unref(stringValue) }),
|
|
3808
3808
|
class: "color-preview"
|
|
@@ -3848,6 +3848,7 @@ dayjs.extend(timezone);
|
|
|
3848
3848
|
const dateInputFormatByResolution = (resolution) => {
|
|
3849
3849
|
if (resolution === "DAY") return "YYYYMMDD";
|
|
3850
3850
|
else if (resolution === "HOUR") return "YYYYMMDDHH";
|
|
3851
|
+
else if (resolution === "SECOND") return "YYYYMMDDHHmmss";
|
|
3851
3852
|
else return "YYYYMMDDHHmm";
|
|
3852
3853
|
};
|
|
3853
3854
|
const convertInputToDateString = (str, inputFormat, endTime, resolution, inputTimeZone, minDateValue, maxDateValue) => {
|
|
@@ -3899,7 +3900,7 @@ const checkDateMinMaxValue = (value, inputFormat, endTime, resolution, inputTime
|
|
|
3899
3900
|
const normalizeDateInput = (value) => {
|
|
3900
3901
|
return value.replace(/[^\d-]/g, "");
|
|
3901
3902
|
};
|
|
3902
|
-
const _hoisted_1$
|
|
3903
|
+
const _hoisted_1$19 = { class: "bs-layout-vertical px-16 py-8" };
|
|
3903
3904
|
const _hoisted_2$S = { class: "bs-layout-horizontal justify-content-center align-items-center gap-8 mt-8 mb-8" };
|
|
3904
3905
|
const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
3905
3906
|
__name: "BSDateInputPopup",
|
|
@@ -3938,7 +3939,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
3938
3939
|
}, ["stop"]))
|
|
3939
3940
|
}, {
|
|
3940
3941
|
default: withCtx(() => [
|
|
3941
|
-
createElementVNode("div", _hoisted_1$
|
|
3942
|
+
createElementVNode("div", _hoisted_1$19, [
|
|
3942
3943
|
createVNode(_sfc_main$1u, {
|
|
3943
3944
|
modelValue: date.value,
|
|
3944
3945
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => date.value = $event),
|
|
@@ -3969,7 +3970,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
3969
3970
|
};
|
|
3970
3971
|
}
|
|
3971
3972
|
});
|
|
3972
|
-
const _hoisted_1$
|
|
3973
|
+
const _hoisted_1$18 = {
|
|
3973
3974
|
key: 0,
|
|
3974
3975
|
class: "view-mode"
|
|
3975
3976
|
};
|
|
@@ -4034,6 +4035,20 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
4034
4035
|
);
|
|
4035
4036
|
return formatUtil.formatDateString(date, props.displayFormat, displayTimeZone);
|
|
4036
4037
|
};
|
|
4038
|
+
const viewModeValue = computed(() => viewModeTimeZoneValue(actualTimeZone.value));
|
|
4039
|
+
const viewModeTimeZoneValue = (displayTimeZone) => {
|
|
4040
|
+
const stringDate = formatUtil.formatDateString(props.modelValue, dateInputFormatByResolution("SECOND"), actualTimeZone.value);
|
|
4041
|
+
const date = convertInputToDateString(
|
|
4042
|
+
stringDate,
|
|
4043
|
+
"SECOND",
|
|
4044
|
+
props.endTime,
|
|
4045
|
+
"SECOND",
|
|
4046
|
+
actualTimeZone.value,
|
|
4047
|
+
props.minDateValue,
|
|
4048
|
+
props.maxDateValue
|
|
4049
|
+
);
|
|
4050
|
+
return formatUtil.formatDateString(date, props.displayFormat, displayTimeZone);
|
|
4051
|
+
};
|
|
4037
4052
|
const maxlength = computed(() => inputFormat.value.length);
|
|
4038
4053
|
const rootRef = useTemplateRef("root");
|
|
4039
4054
|
const field = ref();
|
|
@@ -4130,8 +4145,8 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
4130
4145
|
style: normalizeStyle({ width: _ctx.width }),
|
|
4131
4146
|
onKeydown: _cache[2] || (_cache[2] = withKeys(withModifiers(() => togglePopup(false), ["stop", "prevent"]), ["esc"]))
|
|
4132
4147
|
}, [
|
|
4133
|
-
_ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4134
|
-
createElementVNode("span", null, toDisplayString(
|
|
4148
|
+
_ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$18, [
|
|
4149
|
+
createElementVNode("span", null, toDisplayString(viewModeValue.value), 1)
|
|
4135
4150
|
])) : (openBlock(), createElementBlock("div", _hoisted_2$R, [
|
|
4136
4151
|
createElementVNode("span", {
|
|
4137
4152
|
class: normalizeClass([{ "bs-clickable": !_ctx.disabled }, "font-icon"]),
|
|
@@ -4195,7 +4210,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
4195
4210
|
};
|
|
4196
4211
|
}
|
|
4197
4212
|
});
|
|
4198
|
-
const _hoisted_1$
|
|
4213
|
+
const _hoisted_1$17 = { class: "bs-layout-vertical px-16 py-8" };
|
|
4199
4214
|
const _hoisted_2$Q = { class: "bs-layout-horizontal justify-content-end align-items-center gap-8 mt-16 mb-8" };
|
|
4200
4215
|
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
4201
4216
|
__name: "BSDateRangeInputPopup",
|
|
@@ -4235,7 +4250,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
4235
4250
|
}, ["stop"]))
|
|
4236
4251
|
}, {
|
|
4237
4252
|
default: withCtx(() => [
|
|
4238
|
-
createElementVNode("div", _hoisted_1$
|
|
4253
|
+
createElementVNode("div", _hoisted_1$17, [
|
|
4239
4254
|
createVNode(_sfc_main$1t, {
|
|
4240
4255
|
from: fromValue.value,
|
|
4241
4256
|
"onUpdate:from": _cache[0] || (_cache[0] = ($event) => fromValue.value = $event),
|
|
@@ -4270,7 +4285,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
4270
4285
|
};
|
|
4271
4286
|
}
|
|
4272
4287
|
});
|
|
4273
|
-
const _hoisted_1$
|
|
4288
|
+
const _hoisted_1$16 = {
|
|
4274
4289
|
key: 0,
|
|
4275
4290
|
class: "view-mode"
|
|
4276
4291
|
};
|
|
@@ -4324,7 +4339,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
4324
4339
|
const emit = __emit;
|
|
4325
4340
|
const rootRef = useTemplateRef("root");
|
|
4326
4341
|
const formattedDateRange = computed(() => {
|
|
4327
|
-
return `${
|
|
4342
|
+
return `${viewModeFrom.value} ~ ${viewModeTo.value}`;
|
|
4328
4343
|
});
|
|
4329
4344
|
const actualTimeZone = computed(() => props.timeZone || blueseaConfig.timeZone);
|
|
4330
4345
|
const inputFormat = computed(() => dateInputFormatByResolution(props.resolution));
|
|
@@ -4350,11 +4365,12 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
4350
4365
|
const focusedTo = ref(false);
|
|
4351
4366
|
const formattedFrom = computed(() => formattedTimeZoneFrom(actualTimeZone.value));
|
|
4352
4367
|
const formattedTimeZoneFrom = (timeZone) => {
|
|
4368
|
+
const resolution = props.resolution === "MINUTE_10" ? "MINUTE" : props.resolution;
|
|
4353
4369
|
const date = convertInputToDateString(
|
|
4354
4370
|
stringValueFrom.value,
|
|
4355
4371
|
inputFormat.value,
|
|
4356
4372
|
false,
|
|
4357
|
-
|
|
4373
|
+
resolution,
|
|
4358
4374
|
actualTimeZone.value,
|
|
4359
4375
|
props.minDateValue,
|
|
4360
4376
|
props.maxDateValue
|
|
@@ -4374,6 +4390,21 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
4374
4390
|
);
|
|
4375
4391
|
return formatUtil.formatDateString(date, props.displayFormat, timeZone);
|
|
4376
4392
|
};
|
|
4393
|
+
const viewModeFrom = computed(() => viewModeTimeZoneValue(props.fromValue, false, actualTimeZone.value));
|
|
4394
|
+
const viewModeTo = computed(() => viewModeTimeZoneValue(props.toValue, true, actualTimeZone.value));
|
|
4395
|
+
const viewModeTimeZoneValue = (value, endTime, displayTimeZone) => {
|
|
4396
|
+
const stringDate = formatUtil.formatDateString(value, dateInputFormatByResolution("SECOND"), actualTimeZone.value);
|
|
4397
|
+
const date = convertInputToDateString(
|
|
4398
|
+
stringDate,
|
|
4399
|
+
"SECOND",
|
|
4400
|
+
endTime,
|
|
4401
|
+
"SECOND",
|
|
4402
|
+
actualTimeZone.value,
|
|
4403
|
+
props.minDateValue,
|
|
4404
|
+
props.maxDateValue
|
|
4405
|
+
);
|
|
4406
|
+
return formatUtil.formatDateString(date, props.displayFormat, displayTimeZone);
|
|
4407
|
+
};
|
|
4377
4408
|
const maxlength = computed(() => inputFormat.value.length);
|
|
4378
4409
|
const disabled = computed(() => props.disabledFrom && props.disabledTo);
|
|
4379
4410
|
const fieldFrom = ref();
|
|
@@ -4563,7 +4594,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
4563
4594
|
style: normalizeStyle({ width: _ctx.width }),
|
|
4564
4595
|
onKeydown: _cache[2] || (_cache[2] = withKeys(withModifiers(() => togglePopup(false), ["stop", "prevent"]), ["esc"]))
|
|
4565
4596
|
}, [
|
|
4566
|
-
_ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4597
|
+
_ctx.viewMode ? (openBlock(), createElementBlock("div", _hoisted_1$16, [
|
|
4567
4598
|
createElementVNode("span", null, toDisplayString(formattedDateRange.value), 1)
|
|
4568
4599
|
])) : (openBlock(), createElementBlock("div", _hoisted_2$P, [
|
|
4569
4600
|
createElementVNode("span", {
|
|
@@ -4717,7 +4748,7 @@ const resolveYearsAgo = (years, from2, timeZone, baseDate) => {
|
|
|
4717
4748
|
const today = dayjs().tz(timeZone);
|
|
4718
4749
|
return from2 ? today.add(-years, "year").startOf("year") : today.add(-years, "year").endOf("year");
|
|
4719
4750
|
};
|
|
4720
|
-
const _hoisted_1$
|
|
4751
|
+
const _hoisted_1$15 = ["id", "checked", "disabled", "name", "tabindex"];
|
|
4721
4752
|
const _hoisted_2$O = ["for"];
|
|
4722
4753
|
const _hoisted_3$p = {
|
|
4723
4754
|
key: 0,
|
|
@@ -4771,7 +4802,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
4771
4802
|
class: "",
|
|
4772
4803
|
role: "radio",
|
|
4773
4804
|
type: "radio"
|
|
4774
|
-
}, toHandlers(handlers2, true)), null, 16, _hoisted_1$
|
|
4805
|
+
}, toHandlers(handlers2, true)), null, 16, _hoisted_1$15),
|
|
4775
4806
|
createElementVNode("label", { for: _ctx.id }, [
|
|
4776
4807
|
_ctx.icon ? (openBlock(), createElementBlock("span", _hoisted_3$p, toDisplayString(_ctx.icon), 1)) : createCommentVNode("", true),
|
|
4777
4808
|
_ctx.label ? withDirectives((openBlock(), createElementBlock("span", _hoisted_4$g, null, 512)), [
|
|
@@ -4789,7 +4820,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
4789
4820
|
};
|
|
4790
4821
|
}
|
|
4791
4822
|
});
|
|
4792
|
-
const _hoisted_1$
|
|
4823
|
+
const _hoisted_1$14 = ["data-name"];
|
|
4793
4824
|
const _hoisted_2$N = { key: 0 };
|
|
4794
4825
|
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
4795
4826
|
__name: "BSRadioButtonGroup",
|
|
@@ -4899,7 +4930,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
4899
4930
|
errors: unref(errors),
|
|
4900
4931
|
"hide-error-message": _ctx.hideErrorMessage
|
|
4901
4932
|
}, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true)
|
|
4902
|
-
], 10, _hoisted_1$
|
|
4933
|
+
], 10, _hoisted_1$14);
|
|
4903
4934
|
};
|
|
4904
4935
|
}
|
|
4905
4936
|
});
|
|
@@ -4957,7 +4988,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
4957
4988
|
};
|
|
4958
4989
|
}
|
|
4959
4990
|
});
|
|
4960
|
-
const _hoisted_1$
|
|
4991
|
+
const _hoisted_1$13 = ["id", "checked", "disabled", "name", "tabindex"];
|
|
4961
4992
|
const _hoisted_2$M = ["for"];
|
|
4962
4993
|
const _hoisted_3$o = ["for"];
|
|
4963
4994
|
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
@@ -5016,7 +5047,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
5016
5047
|
tabindex: _ctx.tabindex,
|
|
5017
5048
|
class: "",
|
|
5018
5049
|
type: "checkbox"
|
|
5019
|
-
}, toHandlers(handlers2, true)), null, 16, _hoisted_1$
|
|
5050
|
+
}, toHandlers(handlers2, true)), null, 16, _hoisted_1$13),
|
|
5020
5051
|
_ctx.label ? withDirectives((openBlock(), createElementBlock("label", {
|
|
5021
5052
|
key: 0,
|
|
5022
5053
|
for: _ctx.id,
|
|
@@ -5035,7 +5066,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
5035
5066
|
};
|
|
5036
5067
|
}
|
|
5037
5068
|
});
|
|
5038
|
-
const _hoisted_1$
|
|
5069
|
+
const _hoisted_1$12 = ["data-name"];
|
|
5039
5070
|
const _hoisted_2$L = { class: "items" };
|
|
5040
5071
|
const _hoisted_3$n = ["textContent"];
|
|
5041
5072
|
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
@@ -5161,7 +5192,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
5161
5192
|
errors: unref(errors),
|
|
5162
5193
|
"hide-error-message": _ctx.hideErrorMessage
|
|
5163
5194
|
}, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true)
|
|
5164
|
-
], 10, _hoisted_1$
|
|
5195
|
+
], 10, _hoisted_1$12);
|
|
5165
5196
|
};
|
|
5166
5197
|
}
|
|
5167
5198
|
});
|
|
@@ -5211,7 +5242,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
5211
5242
|
};
|
|
5212
5243
|
}
|
|
5213
5244
|
});
|
|
5214
|
-
const _hoisted_1$
|
|
5245
|
+
const _hoisted_1$11 = ["tabindex", "onKeydown"];
|
|
5215
5246
|
const _hoisted_2$K = { key: 0 };
|
|
5216
5247
|
const _hoisted_3$m = {
|
|
5217
5248
|
key: 0,
|
|
@@ -5413,7 +5444,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
5413
5444
|
errors: unref(errors),
|
|
5414
5445
|
"hide-error-message": _ctx.hideErrorMessage
|
|
5415
5446
|
}, null, 8, ["errors", "hide-error-message"])) : createCommentVNode("", true)
|
|
5416
|
-
], 42, _hoisted_1$
|
|
5447
|
+
], 42, _hoisted_1$11)), [
|
|
5417
5448
|
[unref(vClickOutside), () => togglePopup(false)]
|
|
5418
5449
|
]);
|
|
5419
5450
|
};
|
|
@@ -5574,7 +5605,7 @@ const vTreeRowDrop = {
|
|
|
5574
5605
|
}
|
|
5575
5606
|
}
|
|
5576
5607
|
};
|
|
5577
|
-
const _hoisted_1$
|
|
5608
|
+
const _hoisted_1$10 = { class: "bs-tree-row" };
|
|
5578
5609
|
const _hoisted_2$J = ["textContent"];
|
|
5579
5610
|
const _hoisted_3$l = {
|
|
5580
5611
|
key: 1,
|
|
@@ -5680,7 +5711,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
5680
5711
|
};
|
|
5681
5712
|
return (_ctx, _cache) => {
|
|
5682
5713
|
const _component_BSTreeRow = resolveComponent("BSTreeRow", true);
|
|
5683
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5714
|
+
return openBlock(), createElementBlock("div", _hoisted_1$10, [
|
|
5684
5715
|
withDirectives((openBlock(), createElementBlock("div", {
|
|
5685
5716
|
ref: "row-caption",
|
|
5686
5717
|
class: normalizeClass([{ disabled: _ctx.disabledProvider && _ctx.disabledProvider(_ctx.row) }, "row-caption"])
|
|
@@ -5746,7 +5777,6 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
5746
5777
|
};
|
|
5747
5778
|
}
|
|
5748
5779
|
});
|
|
5749
|
-
const _hoisted_1$10 = { class: "tree-wrap pb-80" };
|
|
5750
5780
|
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
5751
5781
|
__name: "BSTree",
|
|
5752
5782
|
props: {
|
|
@@ -5763,7 +5793,8 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
5763
5793
|
multiSelect: { type: Boolean },
|
|
5764
5794
|
showCheckbox: { type: Boolean },
|
|
5765
5795
|
rowDisabledProvider: {},
|
|
5766
|
-
contextMenuProvider: {}
|
|
5796
|
+
contextMenuProvider: {},
|
|
5797
|
+
bottomPadding: { default: "80px" }
|
|
5767
5798
|
},
|
|
5768
5799
|
emits: ["update:expandedRows", "before:selectedRows", "update:selectedRows", "rowMoved"],
|
|
5769
5800
|
setup(__props, { emit: __emit }) {
|
|
@@ -5878,7 +5909,10 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
5878
5909
|
class: "bs-tree",
|
|
5879
5910
|
onContextmenu: showOutsideContextMenu
|
|
5880
5911
|
}, [
|
|
5881
|
-
createElementVNode("div",
|
|
5912
|
+
createElementVNode("div", {
|
|
5913
|
+
style: normalizeStyle({ "padding-bottom": _ctx.bottomPadding }),
|
|
5914
|
+
class: "tree-wrap"
|
|
5915
|
+
}, [
|
|
5882
5916
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.data, (item) => {
|
|
5883
5917
|
return openBlock(), createBlock(_sfc_main$1e, {
|
|
5884
5918
|
key: _ctx.keyProvider(item),
|
|
@@ -5900,7 +5934,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
5900
5934
|
onSelectRow: selectRow
|
|
5901
5935
|
}, null, 8, ["children-provider", "disabled-provider", "enable-drag-and-drop", "icon-provider", "key-provider", "label-provider", "multi-select", "row", "show-checkbox", "show-move-button", "siblings"]);
|
|
5902
5936
|
}), 128))
|
|
5903
|
-
])
|
|
5937
|
+
], 4)
|
|
5904
5938
|
], 32);
|
|
5905
5939
|
};
|
|
5906
5940
|
}
|
|
@@ -5968,7 +6002,7 @@ class BSModal {
|
|
|
5968
6002
|
}
|
|
5969
6003
|
openAlert(title, message, clickHandler2) {
|
|
5970
6004
|
const option = {
|
|
5971
|
-
component: defineAsyncComponent(() => import("./BSAlertModal-
|
|
6005
|
+
component: defineAsyncComponent(() => import("./BSAlertModal-BixctNO_.js")),
|
|
5972
6006
|
bind: {
|
|
5973
6007
|
title,
|
|
5974
6008
|
message
|
|
@@ -5981,7 +6015,7 @@ class BSModal {
|
|
|
5981
6015
|
}
|
|
5982
6016
|
openYesNo(title, message, yesHandler, noHandler) {
|
|
5983
6017
|
const option = {
|
|
5984
|
-
component: defineAsyncComponent(() => import("./BSYesNoModal-
|
|
6018
|
+
component: defineAsyncComponent(() => import("./BSYesNoModal-RP6IOQrf.js")),
|
|
5985
6019
|
bind: {
|
|
5986
6020
|
title,
|
|
5987
6021
|
message
|
|
@@ -6562,7 +6596,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
6562
6596
|
}, ["stop"]))
|
|
6563
6597
|
}, {
|
|
6564
6598
|
default: withCtx(() => [
|
|
6565
|
-
createVNode(_sfc_main$1d, mergeProps(unref(treeHandler).tree, toHandlers(unref(treeHandler).treeEventListener)), null, 16)
|
|
6599
|
+
createVNode(_sfc_main$1d, mergeProps({ "bottom-padding": "0" }, unref(treeHandler).tree, toHandlers(unref(treeHandler).treeEventListener)), null, 16)
|
|
6566
6600
|
]),
|
|
6567
6601
|
_: 1
|
|
6568
6602
|
}, 8, ["base-element", "max-height", "popup-align", "popup-direction"])) : createCommentVNode("", true),
|
|
@@ -6753,6 +6787,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
6753
6787
|
}, {
|
|
6754
6788
|
default: withCtx(() => [
|
|
6755
6789
|
createVNode(_sfc_main$1d, mergeProps({
|
|
6790
|
+
"bottom-padding": "0",
|
|
6756
6791
|
"multi-select": "",
|
|
6757
6792
|
"show-checkbox": ""
|
|
6758
6793
|
}, unref(treeHandler).tree, toHandlers(unref(treeHandler).treeEventListener), {
|
|
@@ -31093,13 +31128,13 @@ const tableContextMenus = (modal, editor) => {
|
|
|
31093
31128
|
};
|
|
31094
31129
|
const showTableProperties = (modal, editor) => {
|
|
31095
31130
|
modal.openModal({
|
|
31096
|
-
component: defineAsyncComponent(() => import("./TablePropertiesModal-
|
|
31131
|
+
component: defineAsyncComponent(() => import("./TablePropertiesModal-Cyi6buUh.js")),
|
|
31097
31132
|
bind: { editor }
|
|
31098
31133
|
});
|
|
31099
31134
|
};
|
|
31100
31135
|
const insertTable = (modal, editor) => {
|
|
31101
31136
|
modal.openModal({
|
|
31102
|
-
component: defineAsyncComponent(() => import("./TableInsertModal-
|
|
31137
|
+
component: defineAsyncComponent(() => import("./TableInsertModal-BuW96v61.js")),
|
|
31103
31138
|
bind: { editor }
|
|
31104
31139
|
});
|
|
31105
31140
|
};
|
|
@@ -31264,7 +31299,7 @@ const insertImage = (modal, editor) => {
|
|
|
31264
31299
|
const component = (_a2 = blueseaConfig.componentConfig.richText) == null ? void 0 : _a2.imageInsertModal;
|
|
31265
31300
|
if (component) {
|
|
31266
31301
|
modal.openModal({
|
|
31267
|
-
component: defineAsyncComponent(() => import("./ImageInsertModal-
|
|
31302
|
+
component: defineAsyncComponent(() => import("./ImageInsertModal-Ca9ODxyY.js")),
|
|
31268
31303
|
bind: { editor },
|
|
31269
31304
|
on: {
|
|
31270
31305
|
insertImage: (image) => {
|
|
@@ -31282,7 +31317,7 @@ const insertImage = (modal, editor) => {
|
|
|
31282
31317
|
};
|
|
31283
31318
|
const showImageProperties = (modal, editor) => {
|
|
31284
31319
|
modal.openModal({
|
|
31285
|
-
component: defineAsyncComponent(() => import("./ImagePropertiesModal-
|
|
31320
|
+
component: defineAsyncComponent(() => import("./ImagePropertiesModal-Dd_PTCe7.js")),
|
|
31286
31321
|
bind: { editor }
|
|
31287
31322
|
});
|
|
31288
31323
|
};
|
|
@@ -31643,13 +31678,13 @@ const youtubeContextMenu = (modal, editor) => {
|
|
|
31643
31678
|
};
|
|
31644
31679
|
const insertYoutube = (modal, editor) => {
|
|
31645
31680
|
modal.openModal({
|
|
31646
|
-
component: defineAsyncComponent(() => import("./YoutubeInsertModal-
|
|
31681
|
+
component: defineAsyncComponent(() => import("./YoutubeInsertModal-Bd9i0AaR.js")),
|
|
31647
31682
|
bind: { editor }
|
|
31648
31683
|
});
|
|
31649
31684
|
};
|
|
31650
31685
|
const showYoutubeProperties = (modal, editor) => {
|
|
31651
31686
|
modal.openModal({
|
|
31652
|
-
component: defineAsyncComponent(() => import("./YoutubePropertiesModal-
|
|
31687
|
+
component: defineAsyncComponent(() => import("./YoutubePropertiesModal-DQI3DULJ.js")),
|
|
31653
31688
|
bind: { editor }
|
|
31654
31689
|
});
|
|
31655
31690
|
};
|
|
@@ -31693,7 +31728,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
31693
31728
|
const showLinkProperties = () => {
|
|
31694
31729
|
if (!props.disabled) {
|
|
31695
31730
|
modal.openModal({
|
|
31696
|
-
component: defineAsyncComponent(() => import("./LinkPropertiesModal-
|
|
31731
|
+
component: defineAsyncComponent(() => import("./LinkPropertiesModal-CHfXSxhI.js")),
|
|
31697
31732
|
bind: {
|
|
31698
31733
|
editor: props.editor
|
|
31699
31734
|
}
|
|
@@ -32058,7 +32093,7 @@ const insertVideo = (modal, editor) => {
|
|
|
32058
32093
|
const component = (_a2 = blueseaConfig.componentConfig.richText) == null ? void 0 : _a2.videoInsertModal;
|
|
32059
32094
|
if (component) {
|
|
32060
32095
|
modal.openModal({
|
|
32061
|
-
component: defineAsyncComponent(() => import("./VideoInsertModal-
|
|
32096
|
+
component: defineAsyncComponent(() => import("./VideoInsertModal-mgYS8iD6.js")),
|
|
32062
32097
|
bind: { editor },
|
|
32063
32098
|
on: {
|
|
32064
32099
|
insertVideo: (video) => {
|
|
@@ -32076,7 +32111,7 @@ const insertVideo = (modal, editor) => {
|
|
|
32076
32111
|
};
|
|
32077
32112
|
const showVideoProperties = (modal, editor) => {
|
|
32078
32113
|
modal.openModal({
|
|
32079
|
-
component: defineAsyncComponent(() => import("./VideoPropertiesModal-
|
|
32114
|
+
component: defineAsyncComponent(() => import("./VideoPropertiesModal-CYvyUvt9.js")),
|
|
32080
32115
|
bind: { editor }
|
|
32081
32116
|
});
|
|
32082
32117
|
};
|
|
@@ -34254,7 +34289,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
34254
34289
|
emit("maximized");
|
|
34255
34290
|
if (!props.internalMaximized) {
|
|
34256
34291
|
modal.openModal({
|
|
34257
|
-
component: defineAsyncComponent(() => import("./BSRichTextMaximizedModal-
|
|
34292
|
+
component: defineAsyncComponent(() => import("./BSRichTextMaximizedModal-BJHJKSmv.js")),
|
|
34258
34293
|
bind: {
|
|
34259
34294
|
modelValue: getEditorValue(),
|
|
34260
34295
|
contentMaxWidth: props.contentMaxWidth,
|
|
@@ -34791,7 +34826,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
34791
34826
|
const modal = useModal();
|
|
34792
34827
|
const enterYoutubeUrl = () => {
|
|
34793
34828
|
modal.openModal({
|
|
34794
|
-
component: defineAsyncComponent(() => import("./BSYoutubeInputModal-
|
|
34829
|
+
component: defineAsyncComponent(() => import("./BSYoutubeInputModal-DcGUES0z.js")),
|
|
34795
34830
|
on: {
|
|
34796
34831
|
"update:modelValue": (url) => {
|
|
34797
34832
|
emit("update:modelValue", {
|
|
@@ -38113,7 +38148,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
38113
38148
|
const modal = useModal();
|
|
38114
38149
|
const openSettingModal = () => {
|
|
38115
38150
|
modal.openModal({
|
|
38116
|
-
component: defineAsyncComponent(() => import("./BSGridColumnSettingModal-
|
|
38151
|
+
component: defineAsyncComponent(() => import("./BSGridColumnSettingModal-CEZYNkY7.js")),
|
|
38117
38152
|
bind: {
|
|
38118
38153
|
columns: props.columns,
|
|
38119
38154
|
columnSettings: props.columnSettings,
|