@g1cloud/bluesea 5.0.0-beta.2 → 5.0.0-beta.4
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-BixCrZDD.js → BSAlertModal-BsYimMJ_.js} +1 -1
- package/dist/{BSGridColumnSettingModal-CVVenSnr.js → BSGridColumnSettingModal-BEB2-Ux4.js} +1 -1
- package/dist/{BSRichTextMaximizedModal-BqzE5__U.js → BSRichTextMaximizedModal-LB8VUZme.js} +1 -1
- package/dist/{BSYesNoModal-B5lERw_k.js → BSYesNoModal-Cc1Nki9Z.js} +1 -1
- package/dist/{BSYoutubeInputModal-eRBqHjeW.js → BSYoutubeInputModal-BJ1snN1M.js} +1 -1
- package/dist/{ImageInsertModal-DvKLXL1n.js → ImageInsertModal-CO6NeKVX.js} +2 -2
- package/dist/{ImageProperties.vue_vue_type_script_setup_true_lang-DVUZuLfG.js → ImageProperties.vue_vue_type_script_setup_true_lang-DUkL-qju.js} +1 -1
- package/dist/{ImagePropertiesModal-Dsg6BS63.js → ImagePropertiesModal-NMjlJ5hA.js} +2 -2
- package/dist/{LinkPropertiesModal-Ct0ykD4j.js → LinkPropertiesModal-CFQucomV.js} +1 -1
- package/dist/{TableInsertModal-BhyzkcTU.js → TableInsertModal-D0cHwmgl.js} +1 -1
- package/dist/TablePropertiesModal-H8Ohz-Xv.js +353 -0
- package/dist/{VideoInsertModal-BAwRYBzU.js → VideoInsertModal-DR06SKIA.js} +2 -2
- package/dist/{VideoProperties.vue_vue_type_script_setup_true_lang-BfwBHyER.js → VideoProperties.vue_vue_type_script_setup_true_lang-BOCeOQVe.js} +1 -1
- package/dist/{VideoPropertiesModal-B2FeEw4W.js → VideoPropertiesModal-BvwmSEP-.js} +2 -2
- package/dist/{YoutubeInsertModal-EU6G-021.js → YoutubeInsertModal-CL4QiU4m.js} +3 -3
- package/dist/{YoutubeProperties.vue_vue_type_script_setup_true_lang-Ci3ndkZR.js → YoutubeProperties.vue_vue_type_script_setup_true_lang-BpRF2WTd.js} +1 -1
- package/dist/{YoutubePropertiesModal-CRy6zJwZ.js → YoutubePropertiesModal-DaHvv9Df.js} +2 -2
- package/dist/bluesea.js +21 -21
- package/dist/bluesea.umd.cjs +526 -257
- package/dist/component/input/BSMultiSelect.vue.d.ts +6 -6
- package/dist/component/input/BSSelect.vue.d.ts +6 -6
- package/dist/component/input/BSSelectPopup.vue.d.ts +6 -6
- package/dist/component/input/BSTreeMultiSelect.vue.d.ts +6 -6
- package/dist/component/input/BSTreeSelect.vue.d.ts +6 -6
- package/dist/component/richtext/RichTextModel.d.ts +1 -0
- package/dist/component/richtext/richTextUtil.d.ts +1 -1
- package/dist/component/richtext/table/RichTextTableCell.d.ts +1 -0
- package/dist/component/richtext/table/RichTextTableLib.d.ts +7 -1
- package/dist/component/tree/BSTree.vue.d.ts +6 -3
- package/dist/component/tree/BSTreeRow.vue.d.ts +3 -3
- package/dist/directive/vT.d.ts +1 -0
- package/dist/{index-CDwzpZX0.js → index-Bx4oDJu3.js} +254 -154
- package/dist/model/CommonTypes.d.ts +1 -1
- package/package.json +3 -3
- package/text/bluesea_text_en.json +12 -0
- package/text/bluesea_text_fr.json +12 -0
- package/text/bluesea_text_ja.json +12 -0
- package/text/bluesea_text_ko.json +12 -0
- package/text/bluesea_text_zh.json +12 -0
- package/dist/TablePropertiesModal-BAxcByTD.js +0 -184
package/dist/bluesea.umd.cjs
CHANGED
|
@@ -583,7 +583,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
583
583
|
waitDuring,
|
|
584
584
|
tryUntil
|
|
585
585
|
};
|
|
586
|
-
const _hoisted_1$
|
|
586
|
+
const _hoisted_1$1F = ["data-popup-id"];
|
|
587
587
|
const ADJUST_OFFSET = 8;
|
|
588
588
|
const _sfc_main$1Z = /* @__PURE__ */ vue.defineComponent({
|
|
589
589
|
__name: "BSPopup",
|
|
@@ -768,7 +768,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
768
768
|
onKeydown: _cache[1] || (_cache[1] = ($event) => emit("keydown", $event))
|
|
769
769
|
}, [
|
|
770
770
|
vue.renderSlot(_ctx.$slots, "default")
|
|
771
|
-
], 46, _hoisted_1$
|
|
771
|
+
], 46, _hoisted_1$1F)
|
|
772
772
|
]),
|
|
773
773
|
_: 3
|
|
774
774
|
})
|
|
@@ -810,7 +810,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
810
810
|
});
|
|
811
811
|
};
|
|
812
812
|
};
|
|
813
|
-
const _hoisted_1$
|
|
813
|
+
const _hoisted_1$1E = {
|
|
814
814
|
key: 0,
|
|
815
815
|
class: "popup-search pa-4"
|
|
816
816
|
};
|
|
@@ -819,7 +819,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
819
819
|
key: 0,
|
|
820
820
|
class: "label"
|
|
821
821
|
};
|
|
822
|
-
const _hoisted_4$
|
|
822
|
+
const _hoisted_4$x = {
|
|
823
823
|
key: 1,
|
|
824
824
|
class: "label null-label"
|
|
825
825
|
};
|
|
@@ -975,7 +975,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
975
975
|
onKeydown: vue.withKeys(vue.withModifiers(handleKeyboard, ["stop", "prevent"]), ["enter", "down", "up"])
|
|
976
976
|
}, {
|
|
977
977
|
default: vue.withCtx(() => [
|
|
978
|
-
actualShowSearch.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
978
|
+
actualShowSearch.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1E, [
|
|
979
979
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
980
980
|
type: "text",
|
|
981
981
|
onInput: setSearchKeyword,
|
|
@@ -1007,7 +1007,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1007
1007
|
_cache[3] || (_cache[3] = vue.createElementVNode("span", { class: "checkbox" }, null, -1)),
|
|
1008
1008
|
item !== void 0 ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("label", _hoisted_3$N, null, 512)), [
|
|
1009
1009
|
[vue.unref(vT), item == null ? void 0 : item.label]
|
|
1010
|
-
]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("label", _hoisted_4$
|
|
1010
|
+
]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("label", _hoisted_4$x, null, 512)), [
|
|
1011
1011
|
[vue.unref(vT), _ctx.nullLabel]
|
|
1012
1012
|
])
|
|
1013
1013
|
], 42, _hoisted_2$1g);
|
|
@@ -1370,7 +1370,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1370
1370
|
return this.isModified(this.valueProvider.getCurrentValue());
|
|
1371
1371
|
}
|
|
1372
1372
|
}
|
|
1373
|
-
const _hoisted_1$
|
|
1373
|
+
const _hoisted_1$1D = { key: 0 };
|
|
1374
1374
|
const _sfc_main$1X = /* @__PURE__ */ vue.defineComponent({
|
|
1375
1375
|
__name: "ValidationErrors",
|
|
1376
1376
|
props: {
|
|
@@ -1379,7 +1379,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1379
1379
|
},
|
|
1380
1380
|
setup(__props) {
|
|
1381
1381
|
return (_ctx, _cache) => {
|
|
1382
|
-
return !_ctx.hideErrorMessage && _ctx.errors && _ctx.errors.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
1382
|
+
return !_ctx.hideErrorMessage && _ctx.errors && _ctx.errors.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1D, [
|
|
1383
1383
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.errors, (error) => {
|
|
1384
1384
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
1385
1385
|
key: error.code,
|
|
@@ -1426,17 +1426,17 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1426
1426
|
}
|
|
1427
1427
|
return defaultKey(item);
|
|
1428
1428
|
};
|
|
1429
|
-
const _hoisted_1$
|
|
1429
|
+
const _hoisted_1$1C = ["tabindex", "onKeydown"];
|
|
1430
1430
|
const _hoisted_2$1f = { key: 0 };
|
|
1431
1431
|
const _hoisted_3$M = {
|
|
1432
1432
|
key: 0,
|
|
1433
1433
|
class: "placeholder flex-grow-1"
|
|
1434
1434
|
};
|
|
1435
|
-
const _hoisted_4$
|
|
1435
|
+
const _hoisted_4$w = {
|
|
1436
1436
|
key: 1,
|
|
1437
1437
|
class: "label"
|
|
1438
1438
|
};
|
|
1439
|
-
const _hoisted_5$
|
|
1439
|
+
const _hoisted_5$k = {
|
|
1440
1440
|
key: 2,
|
|
1441
1441
|
class: "small-progress"
|
|
1442
1442
|
};
|
|
@@ -1585,11 +1585,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1585
1585
|
}, [
|
|
1586
1586
|
selectedItem.value === void 0 ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", _hoisted_3$M, null, 512)), [
|
|
1587
1587
|
[vue.unref(vT), _ctx.placeholder || { key: " ", html: true }]
|
|
1588
|
-
]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", _hoisted_4$
|
|
1588
|
+
]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", _hoisted_4$w, null, 512)), [
|
|
1589
1589
|
[vue.unref(vT), selectedItemLabel.value]
|
|
1590
1590
|
]),
|
|
1591
1591
|
_cache[4] || (_cache[4] = vue.createElementVNode("span", { class: "dropdown-btn" }, "expand_more", -1)),
|
|
1592
|
-
loadingItems.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$
|
|
1592
|
+
loadingItems.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$k, "progress_activity")) : vue.createCommentVNode("", true)
|
|
1593
1593
|
], 512),
|
|
1594
1594
|
!_ctx.disabled && showPopup.value ? (vue.openBlock(), vue.createBlock(_sfc_main$1Y, {
|
|
1595
1595
|
key: 0,
|
|
@@ -1619,7 +1619,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1619
1619
|
"hide-error-message": _ctx.hideErrorMessage
|
|
1620
1620
|
}, null, 8, ["errors", "hide-error-message"])) : vue.createCommentVNode("", true)
|
|
1621
1621
|
], 64))
|
|
1622
|
-
], 42, _hoisted_1$
|
|
1622
|
+
], 42, _hoisted_1$1C)), [
|
|
1623
1623
|
[vue.unref(vClickOutside), () => togglePopup(false)]
|
|
1624
1624
|
]);
|
|
1625
1625
|
};
|
|
@@ -1722,10 +1722,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1722
1722
|
const createContextMenuPlugin = () => {
|
|
1723
1723
|
return new BSContextMenuPlugin();
|
|
1724
1724
|
};
|
|
1725
|
-
const _hoisted_1$
|
|
1725
|
+
const _hoisted_1$1B = ["data-menu-id"];
|
|
1726
1726
|
const _hoisted_2$1e = ["href", "target"];
|
|
1727
1727
|
const _hoisted_3$L = ["data-menu-id"];
|
|
1728
|
-
const _hoisted_4$
|
|
1728
|
+
const _hoisted_4$v = ["data-menu-id", "onMouseenter", "onClick"];
|
|
1729
1729
|
const _sfc_main$1U = /* @__PURE__ */ vue.defineComponent({
|
|
1730
1730
|
__name: "BSContextMenu",
|
|
1731
1731
|
props: {
|
|
@@ -1808,7 +1808,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1808
1808
|
}, null, 8, _hoisted_2$1e), [
|
|
1809
1809
|
[vue.unref(vT), menu.caption]
|
|
1810
1810
|
])
|
|
1811
|
-
], 8, _hoisted_1$
|
|
1811
|
+
], 8, _hoisted_1$1B)) : menu.type === "route" ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
1812
1812
|
key: 3,
|
|
1813
1813
|
"data-menu-id": menu.menuId,
|
|
1814
1814
|
class: "menu no-padding",
|
|
@@ -1827,7 +1827,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1827
1827
|
"data-id": "context-menu-item",
|
|
1828
1828
|
onMouseenter: ($event) => showSubmenu($event, menu),
|
|
1829
1829
|
onClick: vue.withModifiers(($event) => handleMenuClick(menu), ["stop"])
|
|
1830
|
-
}, null, 42, _hoisted_4$
|
|
1830
|
+
}, null, 42, _hoisted_4$v)), [
|
|
1831
1831
|
[vue.unref(vT), menu.caption]
|
|
1832
1832
|
])
|
|
1833
1833
|
], 64);
|
|
@@ -2022,7 +2022,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2022
2022
|
};
|
|
2023
2023
|
}
|
|
2024
2024
|
});
|
|
2025
|
-
const _hoisted_1$
|
|
2025
|
+
const _hoisted_1$1A = {
|
|
2026
2026
|
key: 0,
|
|
2027
2027
|
class: "view-mode"
|
|
2028
2028
|
};
|
|
@@ -2031,18 +2031,18 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2031
2031
|
class: "prefix"
|
|
2032
2032
|
};
|
|
2033
2033
|
const _hoisted_3$K = { class: "font-icon" };
|
|
2034
|
-
const _hoisted_4$
|
|
2034
|
+
const _hoisted_4$u = {
|
|
2035
2035
|
key: 2,
|
|
2036
2036
|
class: "prefix"
|
|
2037
2037
|
};
|
|
2038
|
-
const _hoisted_5$
|
|
2039
|
-
const _hoisted_6$
|
|
2040
|
-
const _hoisted_7$
|
|
2038
|
+
const _hoisted_5$j = ["src"];
|
|
2039
|
+
const _hoisted_6$9 = ["textContent"];
|
|
2040
|
+
const _hoisted_7$6 = {
|
|
2041
2041
|
key: 1,
|
|
2042
2042
|
class: "suffix"
|
|
2043
2043
|
};
|
|
2044
|
-
const _hoisted_8$
|
|
2045
|
-
const _hoisted_9$
|
|
2044
|
+
const _hoisted_8$4 = { class: "font-icon" };
|
|
2045
|
+
const _hoisted_9$3 = {
|
|
2046
2046
|
key: 2,
|
|
2047
2047
|
class: "suffix"
|
|
2048
2048
|
};
|
|
@@ -2187,7 +2187,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2187
2187
|
class: vue.normalizeClass([{ required: _ctx.required, disabled: _ctx.disabled, modified: modified.value, error: vue.unref(errors).length > 0 }, "bs-text-input"]),
|
|
2188
2188
|
style: vue.normalizeStyle({ width: _ctx.width })
|
|
2189
2189
|
}, [
|
|
2190
|
-
_ctx.viewMode ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
2190
|
+
_ctx.viewMode ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1A, [
|
|
2191
2191
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(getPrefixSuffixList(_ctx.prefix), (item) => {
|
|
2192
2192
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
2193
2193
|
item.type === "text" ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
|
|
@@ -2197,17 +2197,17 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2197
2197
|
[vue.unref(vT), item.value]
|
|
2198
2198
|
]) : item.type === "font-icon" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$1d, [
|
|
2199
2199
|
vue.createElementVNode("span", _hoisted_3$K, vue.toDisplayString(item.value), 1)
|
|
2200
|
-
])) : item.type === "image-url" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$
|
|
2200
|
+
])) : item.type === "image-url" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$u, [
|
|
2201
2201
|
vue.createElementVNode("img", {
|
|
2202
2202
|
src: item.value,
|
|
2203
2203
|
alt: "prefix"
|
|
2204
|
-
}, null, 8, _hoisted_5$
|
|
2204
|
+
}, null, 8, _hoisted_5$j)
|
|
2205
2205
|
])) : vue.createCommentVNode("", true)
|
|
2206
2206
|
], 64);
|
|
2207
2207
|
}), 256)),
|
|
2208
2208
|
vue.createElementVNode("span", {
|
|
2209
2209
|
textContent: vue.toDisplayString(vue.unref(stringValue))
|
|
2210
|
-
}, null, 8, _hoisted_6$
|
|
2210
|
+
}, null, 8, _hoisted_6$9),
|
|
2211
2211
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(getPrefixSuffixList(_ctx.suffix), (item) => {
|
|
2212
2212
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
2213
2213
|
item.type === "text" ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
|
|
@@ -2215,9 +2215,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2215
2215
|
class: "suffix"
|
|
2216
2216
|
})), [
|
|
2217
2217
|
[vue.unref(vT), item.value]
|
|
2218
|
-
]) : item.type === "font-icon" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$
|
|
2219
|
-
vue.createElementVNode("span", _hoisted_8$
|
|
2220
|
-
])) : item.type === "image-url" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_9$
|
|
2218
|
+
]) : item.type === "font-icon" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$6, [
|
|
2219
|
+
vue.createElementVNode("span", _hoisted_8$4, vue.toDisplayString(item.value), 1)
|
|
2220
|
+
])) : item.type === "image-url" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_9$3, [
|
|
2221
2221
|
vue.createElementVNode("img", {
|
|
2222
2222
|
src: item.value,
|
|
2223
2223
|
alt: "suffix"
|
|
@@ -2290,7 +2290,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2290
2290
|
};
|
|
2291
2291
|
}
|
|
2292
2292
|
});
|
|
2293
|
-
const _hoisted_1$
|
|
2293
|
+
const _hoisted_1$1z = { class: "bs-link bs-layout-horizontal-inline flex-align-center" };
|
|
2294
2294
|
const _hoisted_2$1c = ["href", "target"];
|
|
2295
2295
|
const _sfc_main$1R = /* @__PURE__ */ vue.defineComponent({
|
|
2296
2296
|
__name: "BSLink",
|
|
@@ -2301,7 +2301,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2301
2301
|
},
|
|
2302
2302
|
setup(__props) {
|
|
2303
2303
|
return (_ctx, _cache) => {
|
|
2304
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
2304
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1z, [
|
|
2305
2305
|
_cache[0] || (_cache[0] = vue.createElementVNode("span", { class: "font-icon mr-4" }, "link", -1)),
|
|
2306
2306
|
vue.withDirectives(vue.createElementVNode("a", {
|
|
2307
2307
|
href: _ctx.path,
|
|
@@ -2314,7 +2314,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2314
2314
|
}
|
|
2315
2315
|
});
|
|
2316
2316
|
const BSLink = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["__scopeId", "data-v-29df56e5"]]);
|
|
2317
|
-
const _hoisted_1$
|
|
2317
|
+
const _hoisted_1$1y = {
|
|
2318
2318
|
key: 0,
|
|
2319
2319
|
class: "show-percent",
|
|
2320
2320
|
style: { "left": "100%" }
|
|
@@ -2353,7 +2353,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2353
2353
|
style: vue.normalizeStyle({ width: calculateProgress.value + "%" }),
|
|
2354
2354
|
class: "inner-progressbar"
|
|
2355
2355
|
}, [
|
|
2356
|
-
calculateProgress.value !== void 0 && calculateProgress.value < 50 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
2356
|
+
calculateProgress.value !== void 0 && calculateProgress.value < 50 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$1y, vue.toDisplayString(calculatePercent.value) + "% ", 1)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$1b, vue.toDisplayString(calculatePercent.value) + "% ", 1))
|
|
2357
2357
|
], 4)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$J, _cache[0] || (_cache[0] = [
|
|
2358
2358
|
vue.createElementVNode("div", { class: "in-box" }, null, -1)
|
|
2359
2359
|
])))
|
|
@@ -2383,9 +2383,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2383
2383
|
});
|
|
2384
2384
|
const BSConsole = /* @__PURE__ */ _export_sfc(_sfc_main$1P, [["__scopeId", "data-v-f33a4477"]]);
|
|
2385
2385
|
const _sfc_main$1O = {};
|
|
2386
|
-
const _hoisted_1$
|
|
2386
|
+
const _hoisted_1$1x = { class: "bs-loading-icon" };
|
|
2387
2387
|
function _sfc_render$1(_ctx, _cache) {
|
|
2388
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
2388
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1x, _cache[0] || (_cache[0] = [
|
|
2389
2389
|
vue.createElementVNode("span", { class: "font-icon" }, "progress_activity", -1)
|
|
2390
2390
|
]));
|
|
2391
2391
|
}
|
|
@@ -2660,7 +2660,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2660
2660
|
return tmp.textContent || tmp.innerText;
|
|
2661
2661
|
}
|
|
2662
2662
|
};
|
|
2663
|
-
const _hoisted_1$
|
|
2663
|
+
const _hoisted_1$1w = { class: "bs-date" };
|
|
2664
2664
|
const _sfc_main$1N = /* @__PURE__ */ vue.defineComponent({
|
|
2665
2665
|
__name: "BSDate",
|
|
2666
2666
|
props: {
|
|
@@ -2672,11 +2672,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2672
2672
|
const props = __props;
|
|
2673
2673
|
const formatted = vue.computed(() => formatUtil.formatDateString(props.value, props.format, props.timeZone));
|
|
2674
2674
|
return (_ctx, _cache) => {
|
|
2675
|
-
return vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
2675
|
+
return vue.openBlock(), vue.createElementBlock("span", _hoisted_1$1w, vue.toDisplayString(formatted.value), 1);
|
|
2676
2676
|
};
|
|
2677
2677
|
}
|
|
2678
2678
|
});
|
|
2679
|
-
const _hoisted_1$
|
|
2679
|
+
const _hoisted_1$1v = { class: "page-navigation" };
|
|
2680
2680
|
const _hoisted_2$1a = ["data-page", "onClick"];
|
|
2681
2681
|
const _sfc_main$1M = /* @__PURE__ */ vue.defineComponent({
|
|
2682
2682
|
__name: "BSPageNavigation",
|
|
@@ -2738,7 +2738,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2738
2738
|
}
|
|
2739
2739
|
};
|
|
2740
2740
|
return (_ctx, _cache) => {
|
|
2741
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
2741
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1v, [
|
|
2742
2742
|
vue.createElementVNode("span", {
|
|
2743
2743
|
class: vue.normalizeClass([{ "disabled": isFirstSet.value }, "font-icon first"]),
|
|
2744
2744
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => !isFirstSet.value && goToPage(1), ["prevent"]))
|
|
@@ -2767,18 +2767,18 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2767
2767
|
};
|
|
2768
2768
|
}
|
|
2769
2769
|
});
|
|
2770
|
-
const _hoisted_1$
|
|
2770
|
+
const _hoisted_1$1u = { class: "bs-calendar bs-layout-vertical-inline" };
|
|
2771
2771
|
const _hoisted_2$19 = { class: "bs-layout-horizontal justify-content-between align-items-center gap-8" };
|
|
2772
2772
|
const _hoisted_3$I = { class: "year-month bs-layout-horizontal gap-4" };
|
|
2773
|
-
const _hoisted_4$
|
|
2774
|
-
const _hoisted_5$
|
|
2775
|
-
const _hoisted_6$
|
|
2776
|
-
const _hoisted_7$
|
|
2773
|
+
const _hoisted_4$t = { class: "timezone" };
|
|
2774
|
+
const _hoisted_5$i = { class: "weekdays" };
|
|
2775
|
+
const _hoisted_6$8 = ["onClick"];
|
|
2776
|
+
const _hoisted_7$5 = {
|
|
2777
2777
|
key: 0,
|
|
2778
2778
|
class: "bs-layout-horizontal justify-content-center mt-8"
|
|
2779
2779
|
};
|
|
2780
|
-
const _hoisted_8$
|
|
2781
|
-
const _hoisted_9$
|
|
2780
|
+
const _hoisted_8$3 = { class: "select-wrap w-full pa-8 d-flex justify-content-center align-items-center" };
|
|
2781
|
+
const _hoisted_9$2 = {
|
|
2782
2782
|
key: 1,
|
|
2783
2783
|
class: "extra-dates bs-layout-vertical gap-2 mt-8"
|
|
2784
2784
|
};
|
|
@@ -2957,7 +2957,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2957
2957
|
}
|
|
2958
2958
|
};
|
|
2959
2959
|
return (_ctx, _cache) => {
|
|
2960
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
2960
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1u, [
|
|
2961
2961
|
vue.createElementVNode("div", _hoisted_2$19, [
|
|
2962
2962
|
vue.createElementVNode("div", _hoisted_3$I, [
|
|
2963
2963
|
vue.createVNode(BSButton, {
|
|
@@ -2983,13 +2983,13 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2983
2983
|
onClick: nextMonth
|
|
2984
2984
|
})
|
|
2985
2985
|
]),
|
|
2986
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
2986
|
+
vue.createElementVNode("div", _hoisted_4$t, " (" + vue.toDisplayString(vue.unref(blueseaConfig).timeZoneNameProvider(actualTimeZone.value)) + ") ", 1)
|
|
2987
2987
|
]),
|
|
2988
2988
|
vue.createElementVNode("table", {
|
|
2989
2989
|
class: vue.normalizeClass([{ disabled: _ctx.disabled }, "align-self-center"])
|
|
2990
2990
|
}, [
|
|
2991
2991
|
vue.createElementVNode("tbody", null, [
|
|
2992
|
-
vue.createElementVNode("tr", _hoisted_5$
|
|
2992
|
+
vue.createElementVNode("tr", _hoisted_5$i, [
|
|
2993
2993
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(weekdays.value, (day) => {
|
|
2994
2994
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("th", { key: day })), [
|
|
2995
2995
|
[vue.unref(vT), day]
|
|
@@ -3008,14 +3008,14 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3008
3008
|
onClick: () => selectDate(day)
|
|
3009
3009
|
}, [
|
|
3010
3010
|
vue.createElementVNode("div", null, vue.toDisplayString(day.date()), 1)
|
|
3011
|
-
], 10, _hoisted_6$
|
|
3011
|
+
], 10, _hoisted_6$8);
|
|
3012
3012
|
}), 128))
|
|
3013
3013
|
]);
|
|
3014
3014
|
}), 128))
|
|
3015
3015
|
])
|
|
3016
3016
|
], 2),
|
|
3017
|
-
|
|
3018
|
-
vue.createElementVNode("div", _hoisted_8$
|
|
3017
|
+
["HOUR", "MINUTE_10", "MINUTE", "SECOND"].includes(_ctx.resolution) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$5, [
|
|
3018
|
+
vue.createElementVNode("div", _hoisted_8$3, [
|
|
3019
3019
|
vue.createVNode(_sfc_main$1W, {
|
|
3020
3020
|
disabled: _ctx.disabled,
|
|
3021
3021
|
items: hours,
|
|
@@ -3035,7 +3035,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3035
3035
|
}, null, 8, ["disabled", "items", "label-provider", "model-value"])
|
|
3036
3036
|
])
|
|
3037
3037
|
])) : vue.createCommentVNode("", true),
|
|
3038
|
-
!_ctx.hideExtraDate ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$
|
|
3038
|
+
!_ctx.hideExtraDate ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$2, [
|
|
3039
3039
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(displayTimeZones.value, (tz, index) => {
|
|
3040
3040
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
3041
3041
|
key: `${tz}_${index}`,
|
|
@@ -3049,15 +3049,15 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3049
3049
|
};
|
|
3050
3050
|
}
|
|
3051
3051
|
});
|
|
3052
|
-
const _hoisted_1$
|
|
3052
|
+
const _hoisted_1$1t = { class: "bs-calendar-range bs-layout-horizontal" };
|
|
3053
3053
|
const _hoisted_2$18 = { class: "bs-layout-vertical" };
|
|
3054
3054
|
const _hoisted_3$H = { class: "bs-layout-horizontal align-items-center" };
|
|
3055
|
-
const _hoisted_4$
|
|
3055
|
+
const _hoisted_4$s = {
|
|
3056
3056
|
key: 0,
|
|
3057
3057
|
class: "extra-dates bs-layout-vertical gap-2 mt-8"
|
|
3058
3058
|
};
|
|
3059
|
-
const _hoisted_5$
|
|
3060
|
-
const _hoisted_6$
|
|
3059
|
+
const _hoisted_5$h = { key: 0 };
|
|
3060
|
+
const _hoisted_6$7 = { key: 1 };
|
|
3061
3061
|
const _sfc_main$1K = /* @__PURE__ */ vue.defineComponent({
|
|
3062
3062
|
__name: "BSCalendarRange",
|
|
3063
3063
|
props: {
|
|
@@ -3097,7 +3097,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3097
3097
|
};
|
|
3098
3098
|
const displayTimeZones = vue.computed(() => [actualTimeZone.value, ...blueseaConfig.getValidDisplayTimeZones()]);
|
|
3099
3099
|
return (_ctx, _cache) => {
|
|
3100
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
3100
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1t, [
|
|
3101
3101
|
vue.createElementVNode("div", _hoisted_2$18, [
|
|
3102
3102
|
vue.createElementVNode("div", _hoisted_3$H, [
|
|
3103
3103
|
vue.createVNode(_sfc_main$1L, {
|
|
@@ -3138,15 +3138,15 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3138
3138
|
"range-type": "to"
|
|
3139
3139
|
}, null, 8, ["modelValue", "disabled", "display-format", "end-year", "first-day", "initial-month", "initial-year", "range-value", "resolution", "start-year", "time-zone"])
|
|
3140
3140
|
]),
|
|
3141
|
-
!_ctx.hideExtraDate ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
3141
|
+
!_ctx.hideExtraDate ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$s, [
|
|
3142
3142
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(displayTimeZones.value, (tz, index) => {
|
|
3143
3143
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
3144
3144
|
key: `${tz}_${index}`,
|
|
3145
3145
|
class: "extra-date"
|
|
3146
3146
|
}, [
|
|
3147
|
-
_ctx.from ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$
|
|
3147
|
+
_ctx.from ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$h, vue.toDisplayString(vue.unref(formatUtil).formatDateString(_ctx.from, _ctx.displayFormat, tz)), 1)) : vue.createCommentVNode("", true),
|
|
3148
3148
|
_cache[3] || (_cache[3] = vue.createElementVNode("span", null, "~", -1)),
|
|
3149
|
-
_ctx.to ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$
|
|
3149
|
+
_ctx.to ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$7, vue.toDisplayString(vue.unref(formatUtil).formatDateString(_ctx.to, _ctx.displayFormat, tz)), 1)) : vue.createCommentVNode("", true)
|
|
3150
3150
|
]);
|
|
3151
3151
|
}), 128))
|
|
3152
3152
|
])) : vue.createCommentVNode("", true)
|
|
@@ -3155,7 +3155,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3155
3155
|
};
|
|
3156
3156
|
}
|
|
3157
3157
|
});
|
|
3158
|
-
const _hoisted_1$
|
|
3158
|
+
const _hoisted_1$1s = {
|
|
3159
3159
|
key: 0,
|
|
3160
3160
|
class: "view-mode"
|
|
3161
3161
|
};
|
|
@@ -3164,7 +3164,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3164
3164
|
key: 1,
|
|
3165
3165
|
class: "input-area"
|
|
3166
3166
|
};
|
|
3167
|
-
const _hoisted_4$
|
|
3167
|
+
const _hoisted_4$r = ["id", "autocomplete", "disabled", "maxlength", "name", "tabindex", "value"];
|
|
3168
3168
|
const _sfc_main$1J = /* @__PURE__ */ vue.defineComponent({
|
|
3169
3169
|
__name: "BSNumberInput",
|
|
3170
3170
|
props: {
|
|
@@ -3278,7 +3278,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3278
3278
|
class: vue.normalizeClass([{ required: _ctx.required, disabled: _ctx.disabled, modified: modified.value, error: vue.unref(errors).length > 0 }, "bs-number-input"]),
|
|
3279
3279
|
style: vue.normalizeStyle({ width: _ctx.width })
|
|
3280
3280
|
}, [
|
|
3281
|
-
_ctx.viewMode ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
3281
|
+
_ctx.viewMode ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1s, [
|
|
3282
3282
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(componentUtil).toMultiLangTextArray(_ctx.prefix), (text) => {
|
|
3283
3283
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
|
|
3284
3284
|
key: JSON.stringify(text),
|
|
@@ -3318,7 +3318,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3318
3318
|
tabindex: _ctx.tabindex,
|
|
3319
3319
|
value: focused.value || !_ctx.formatOnBlur ? vue.unref(stringValue) : formattedStringValue.value,
|
|
3320
3320
|
type: "text"
|
|
3321
|
-
}, vue.toHandlers(handlers2, true)), null, 16, _hoisted_4$
|
|
3321
|
+
}, vue.toHandlers(handlers2, true)), null, 16, _hoisted_4$r), [
|
|
3322
3322
|
[
|
|
3323
3323
|
vue.unref(vT),
|
|
3324
3324
|
_ctx.placeholder,
|
|
@@ -3344,18 +3344,18 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3344
3344
|
};
|
|
3345
3345
|
}
|
|
3346
3346
|
});
|
|
3347
|
-
const _hoisted_1$
|
|
3347
|
+
const _hoisted_1$1r = {
|
|
3348
3348
|
key: 0,
|
|
3349
3349
|
class: "view-mode"
|
|
3350
3350
|
};
|
|
3351
3351
|
const _hoisted_2$16 = ["textContent"];
|
|
3352
3352
|
const _hoisted_3$F = ["textContent"];
|
|
3353
|
-
const _hoisted_4$
|
|
3353
|
+
const _hoisted_4$q = {
|
|
3354
3354
|
key: 1,
|
|
3355
3355
|
class: "input-area"
|
|
3356
3356
|
};
|
|
3357
|
-
const _hoisted_5$
|
|
3358
|
-
const _hoisted_6$
|
|
3357
|
+
const _hoisted_5$g = ["id", "autocomplete", "disabled", "maxlength", "name", "tabindex", "value"];
|
|
3358
|
+
const _hoisted_6$6 = ["textContent"];
|
|
3359
3359
|
const _sfc_main$1I = /* @__PURE__ */ vue.defineComponent({
|
|
3360
3360
|
__name: "BSPriceInput",
|
|
3361
3361
|
props: {
|
|
@@ -3476,7 +3476,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3476
3476
|
class: vue.normalizeClass([{ required: _ctx.required, disabled: _ctx.disabled, modified: modified.value, error: vue.unref(errors).length > 0 }, "bs-price-input"]),
|
|
3477
3477
|
style: vue.normalizeStyle({ width: _ctx.width })
|
|
3478
3478
|
}, [
|
|
3479
|
-
_ctx.viewMode ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
3479
|
+
_ctx.viewMode ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1r, [
|
|
3480
3480
|
vue.createElementVNode("span", {
|
|
3481
3481
|
class: "price mr-4",
|
|
3482
3482
|
textContent: vue.toDisplayString(_ctx.formatInViewMode ? formattedStringValue.value : vue.unref(stringValue))
|
|
@@ -3485,7 +3485,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3485
3485
|
class: "currency-code",
|
|
3486
3486
|
textContent: vue.toDisplayString(currencyCode.value)
|
|
3487
3487
|
}, null, 8, _hoisted_3$F)
|
|
3488
|
-
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
3488
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$q, [
|
|
3489
3489
|
vue.withDirectives(vue.createElementVNode("input", vue.mergeProps({
|
|
3490
3490
|
id: _ctx.id,
|
|
3491
3491
|
ref_key: "field",
|
|
@@ -3497,7 +3497,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3497
3497
|
tabindex: _ctx.tabindex,
|
|
3498
3498
|
value: focused.value || !_ctx.formatOnBlur ? vue.unref(stringValue) : formattedStringValue.value,
|
|
3499
3499
|
type: "text"
|
|
3500
|
-
}, vue.toHandlers(handlers2, true)), null, 16, _hoisted_5$
|
|
3500
|
+
}, vue.toHandlers(handlers2, true)), null, 16, _hoisted_5$g), [
|
|
3501
3501
|
[
|
|
3502
3502
|
vue.unref(vT),
|
|
3503
3503
|
_ctx.placeholder,
|
|
@@ -3508,7 +3508,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3508
3508
|
vue.createElementVNode("div", {
|
|
3509
3509
|
class: "currency-code",
|
|
3510
3510
|
textContent: vue.toDisplayString(currencyCode.value)
|
|
3511
|
-
}, null, 8, _hoisted_6$
|
|
3511
|
+
}, null, 8, _hoisted_6$6)
|
|
3512
3512
|
])),
|
|
3513
3513
|
!_ctx.viewMode ? (vue.openBlock(), vue.createBlock(_sfc_main$1X, {
|
|
3514
3514
|
key: 2,
|
|
@@ -3701,7 +3701,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3701
3701
|
yellow: "#FFFF00",
|
|
3702
3702
|
yellowgreen: "#9ACD32"
|
|
3703
3703
|
};
|
|
3704
|
-
const _hoisted_1$
|
|
3704
|
+
const _hoisted_1$1q = {
|
|
3705
3705
|
key: 0,
|
|
3706
3706
|
class: "bs-layout-horizontal gap-4 align-items-center view-mode"
|
|
3707
3707
|
};
|
|
@@ -3802,7 +3802,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3802
3802
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
3803
3803
|
class: vue.normalizeClass([{ required: _ctx.required, disabled: _ctx.disabled, modified: modified.value, error: vue.unref(errors).length > 0 }, "bs-color-input bs-layout-vertical-inline"])
|
|
3804
3804
|
}, [
|
|
3805
|
-
_ctx.viewMode ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
3805
|
+
_ctx.viewMode ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1q, [
|
|
3806
3806
|
vue.createElementVNode("span", {
|
|
3807
3807
|
style: vue.normalizeStyle({ "background-color": vue.unref(stringValue) }),
|
|
3808
3808
|
class: "color-preview"
|
|
@@ -3848,6 +3848,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
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 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3899
3900
|
const normalizeDateInput = (value) => {
|
|
3900
3901
|
return value.replace(/[^\d-]/g, "");
|
|
3901
3902
|
};
|
|
3902
|
-
const _hoisted_1$
|
|
3903
|
+
const _hoisted_1$1p = { class: "bs-layout-vertical px-16 py-8" };
|
|
3903
3904
|
const _hoisted_2$14 = { class: "bs-layout-horizontal justify-content-center align-items-center gap-8 mt-8 mb-8" };
|
|
3904
3905
|
const _sfc_main$1G = /* @__PURE__ */ vue.defineComponent({
|
|
3905
3906
|
__name: "BSDateInputPopup",
|
|
@@ -3938,7 +3939,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3938
3939
|
}, ["stop"]))
|
|
3939
3940
|
}, {
|
|
3940
3941
|
default: vue.withCtx(() => [
|
|
3941
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
3942
|
+
vue.createElementVNode("div", _hoisted_1$1p, [
|
|
3942
3943
|
vue.createVNode(_sfc_main$1L, {
|
|
3943
3944
|
modelValue: date.value,
|
|
3944
3945
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => date.value = $event),
|
|
@@ -3969,7 +3970,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3969
3970
|
};
|
|
3970
3971
|
}
|
|
3971
3972
|
});
|
|
3972
|
-
const _hoisted_1$
|
|
3973
|
+
const _hoisted_1$1o = {
|
|
3973
3974
|
key: 0,
|
|
3974
3975
|
class: "view-mode"
|
|
3975
3976
|
};
|
|
@@ -4034,6 +4035,19 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4034
4035
|
);
|
|
4035
4036
|
return formatUtil.formatDateString(date, props.displayFormat, displayTimeZone);
|
|
4036
4037
|
};
|
|
4038
|
+
const viewModeValue = vue.computed(() => viewModeTimeZoneValue(actualTimeZone.value));
|
|
4039
|
+
const viewModeTimeZoneValue = (displayTimeZone) => {
|
|
4040
|
+
const date = convertInputToDateString(
|
|
4041
|
+
props.modelValue,
|
|
4042
|
+
"SECOND",
|
|
4043
|
+
props.endTime,
|
|
4044
|
+
"SECOND",
|
|
4045
|
+
actualTimeZone.value,
|
|
4046
|
+
props.minDateValue,
|
|
4047
|
+
props.maxDateValue
|
|
4048
|
+
);
|
|
4049
|
+
return formatUtil.formatDateString(date, props.displayFormat, displayTimeZone);
|
|
4050
|
+
};
|
|
4037
4051
|
const maxlength = vue.computed(() => inputFormat.value.length);
|
|
4038
4052
|
const rootRef = vue.useTemplateRef("root");
|
|
4039
4053
|
const field = vue.ref();
|
|
@@ -4130,8 +4144,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4130
4144
|
style: vue.normalizeStyle({ width: _ctx.width }),
|
|
4131
4145
|
onKeydown: _cache[2] || (_cache[2] = vue.withKeys(vue.withModifiers(() => togglePopup(false), ["stop", "prevent"]), ["esc"]))
|
|
4132
4146
|
}, [
|
|
4133
|
-
_ctx.viewMode ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
4134
|
-
vue.createElementVNode("span", null, vue.toDisplayString(
|
|
4147
|
+
_ctx.viewMode ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1o, [
|
|
4148
|
+
vue.createElementVNode("span", null, vue.toDisplayString(viewModeValue.value), 1)
|
|
4135
4149
|
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$13, [
|
|
4136
4150
|
vue.createElementVNode("span", {
|
|
4137
4151
|
class: vue.normalizeClass([{ "bs-clickable": !_ctx.disabled }, "font-icon"]),
|
|
@@ -4195,7 +4209,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4195
4209
|
};
|
|
4196
4210
|
}
|
|
4197
4211
|
});
|
|
4198
|
-
const _hoisted_1$
|
|
4212
|
+
const _hoisted_1$1n = { class: "bs-layout-vertical px-16 py-8" };
|
|
4199
4213
|
const _hoisted_2$12 = { class: "bs-layout-horizontal justify-content-end align-items-center gap-8 mt-16 mb-8" };
|
|
4200
4214
|
const _sfc_main$1E = /* @__PURE__ */ vue.defineComponent({
|
|
4201
4215
|
__name: "BSDateRangeInputPopup",
|
|
@@ -4235,7 +4249,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4235
4249
|
}, ["stop"]))
|
|
4236
4250
|
}, {
|
|
4237
4251
|
default: vue.withCtx(() => [
|
|
4238
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
4252
|
+
vue.createElementVNode("div", _hoisted_1$1n, [
|
|
4239
4253
|
vue.createVNode(_sfc_main$1K, {
|
|
4240
4254
|
from: fromValue.value,
|
|
4241
4255
|
"onUpdate:from": _cache[0] || (_cache[0] = ($event) => fromValue.value = $event),
|
|
@@ -4270,7 +4284,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4270
4284
|
};
|
|
4271
4285
|
}
|
|
4272
4286
|
});
|
|
4273
|
-
const _hoisted_1$
|
|
4287
|
+
const _hoisted_1$1m = {
|
|
4274
4288
|
key: 0,
|
|
4275
4289
|
class: "view-mode"
|
|
4276
4290
|
};
|
|
@@ -4279,7 +4293,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4279
4293
|
class: "input-area"
|
|
4280
4294
|
};
|
|
4281
4295
|
const _hoisted_3$C = ["id", "disabled", "maxlength", "name", "tabindex", "value"];
|
|
4282
|
-
const _hoisted_4$
|
|
4296
|
+
const _hoisted_4$p = ["id", "disabled", "maxlength", "name", "tabindex", "value"];
|
|
4283
4297
|
const _sfc_main$1D = /* @__PURE__ */ vue.defineComponent({
|
|
4284
4298
|
__name: "BSDateRange",
|
|
4285
4299
|
props: {
|
|
@@ -4324,7 +4338,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4324
4338
|
const emit = __emit;
|
|
4325
4339
|
const rootRef = vue.useTemplateRef("root");
|
|
4326
4340
|
const formattedDateRange = vue.computed(() => {
|
|
4327
|
-
return `${
|
|
4341
|
+
return `${viewModeFrom.value} ~ ${viewModeTo.value}`;
|
|
4328
4342
|
});
|
|
4329
4343
|
const actualTimeZone = vue.computed(() => props.timeZone || blueseaConfig.timeZone);
|
|
4330
4344
|
const inputFormat = vue.computed(() => dateInputFormatByResolution(props.resolution));
|
|
@@ -4350,11 +4364,12 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4350
4364
|
const focusedTo = vue.ref(false);
|
|
4351
4365
|
const formattedFrom = vue.computed(() => formattedTimeZoneFrom(actualTimeZone.value));
|
|
4352
4366
|
const formattedTimeZoneFrom = (timeZone) => {
|
|
4367
|
+
const resolution = props.resolution === "MINUTE_10" ? "MINUTE" : props.resolution;
|
|
4353
4368
|
const date = convertInputToDateString(
|
|
4354
4369
|
stringValueFrom.value,
|
|
4355
4370
|
inputFormat.value,
|
|
4356
4371
|
false,
|
|
4357
|
-
|
|
4372
|
+
resolution,
|
|
4358
4373
|
actualTimeZone.value,
|
|
4359
4374
|
props.minDateValue,
|
|
4360
4375
|
props.maxDateValue
|
|
@@ -4374,6 +4389,20 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4374
4389
|
);
|
|
4375
4390
|
return formatUtil.formatDateString(date, props.displayFormat, timeZone);
|
|
4376
4391
|
};
|
|
4392
|
+
const viewModeFrom = vue.computed(() => viewModeTimeZoneValue(props.fromValue, false, actualTimeZone.value));
|
|
4393
|
+
const viewModeTo = vue.computed(() => viewModeTimeZoneValue(props.toValue, true, actualTimeZone.value));
|
|
4394
|
+
const viewModeTimeZoneValue = (value, endTime, displayTimeZone) => {
|
|
4395
|
+
const date = convertInputToDateString(
|
|
4396
|
+
value,
|
|
4397
|
+
"SECOND",
|
|
4398
|
+
endTime,
|
|
4399
|
+
"SECOND",
|
|
4400
|
+
actualTimeZone.value,
|
|
4401
|
+
props.minDateValue,
|
|
4402
|
+
props.maxDateValue
|
|
4403
|
+
);
|
|
4404
|
+
return formatUtil.formatDateString(date, props.displayFormat, displayTimeZone);
|
|
4405
|
+
};
|
|
4377
4406
|
const maxlength = vue.computed(() => inputFormat.value.length);
|
|
4378
4407
|
const disabled = vue.computed(() => props.disabledFrom && props.disabledTo);
|
|
4379
4408
|
const fieldFrom = vue.ref();
|
|
@@ -4563,7 +4592,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4563
4592
|
style: vue.normalizeStyle({ width: _ctx.width }),
|
|
4564
4593
|
onKeydown: _cache[2] || (_cache[2] = vue.withKeys(vue.withModifiers(() => togglePopup(false), ["stop", "prevent"]), ["esc"]))
|
|
4565
4594
|
}, [
|
|
4566
|
-
_ctx.viewMode ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
4595
|
+
_ctx.viewMode ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1m, [
|
|
4567
4596
|
vue.createElementVNode("span", null, vue.toDisplayString(formattedDateRange.value), 1)
|
|
4568
4597
|
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$11, [
|
|
4569
4598
|
vue.createElementVNode("span", {
|
|
@@ -4599,7 +4628,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4599
4628
|
tabindex: _ctx.tabindex,
|
|
4600
4629
|
value: focusedTo.value ? vue.unref(stringValueTo) : formattedTo.value,
|
|
4601
4630
|
type: "text"
|
|
4602
|
-
}, vue.toHandlers(handlersTo, true)), null, 16, _hoisted_4$
|
|
4631
|
+
}, vue.toHandlers(handlersTo, true)), null, 16, _hoisted_4$p), [
|
|
4603
4632
|
[
|
|
4604
4633
|
vue.unref(vT),
|
|
4605
4634
|
_ctx.placeholderTo,
|
|
@@ -4717,17 +4746,17 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4717
4746
|
const today = dayjs().tz(timeZone);
|
|
4718
4747
|
return from ? today.add(-years, "year").startOf("year") : today.add(-years, "year").endOf("year");
|
|
4719
4748
|
};
|
|
4720
|
-
const _hoisted_1$
|
|
4749
|
+
const _hoisted_1$1l = ["id", "checked", "disabled", "name", "tabindex"];
|
|
4721
4750
|
const _hoisted_2$10 = ["for"];
|
|
4722
4751
|
const _hoisted_3$B = {
|
|
4723
4752
|
key: 0,
|
|
4724
4753
|
class: "font-icon"
|
|
4725
4754
|
};
|
|
4726
|
-
const _hoisted_4$
|
|
4755
|
+
const _hoisted_4$o = {
|
|
4727
4756
|
key: 1,
|
|
4728
4757
|
class: "text-label"
|
|
4729
4758
|
};
|
|
4730
|
-
const _hoisted_5$
|
|
4759
|
+
const _hoisted_5$f = ["for"];
|
|
4731
4760
|
const _sfc_main$1C = /* @__PURE__ */ vue.defineComponent({
|
|
4732
4761
|
__name: "BSRadioButton",
|
|
4733
4762
|
props: {
|
|
@@ -4771,10 +4800,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4771
4800
|
class: "",
|
|
4772
4801
|
role: "radio",
|
|
4773
4802
|
type: "radio"
|
|
4774
|
-
}, vue.toHandlers(handlers2, true)), null, 16, _hoisted_1$
|
|
4803
|
+
}, vue.toHandlers(handlers2, true)), null, 16, _hoisted_1$1l),
|
|
4775
4804
|
vue.createElementVNode("label", { for: _ctx.id }, [
|
|
4776
4805
|
_ctx.icon ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$B, vue.toDisplayString(_ctx.icon), 1)) : vue.createCommentVNode("", true),
|
|
4777
|
-
_ctx.label ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", _hoisted_4$
|
|
4806
|
+
_ctx.label ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", _hoisted_4$o, null, 512)), [
|
|
4778
4807
|
[vue.unref(vT), _ctx.label]
|
|
4779
4808
|
]) : vue.createCommentVNode("", true)
|
|
4780
4809
|
], 8, _hoisted_2$10),
|
|
@@ -4784,12 +4813,12 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4784
4813
|
class: "slot-label cursor-pointer"
|
|
4785
4814
|
}, [
|
|
4786
4815
|
vue.renderSlot(_ctx.$slots, "default", { disabled: _ctx.disabled })
|
|
4787
|
-
], 8, _hoisted_5$
|
|
4816
|
+
], 8, _hoisted_5$f)) : vue.createCommentVNode("", true)
|
|
4788
4817
|
], 2);
|
|
4789
4818
|
};
|
|
4790
4819
|
}
|
|
4791
4820
|
});
|
|
4792
|
-
const _hoisted_1$
|
|
4821
|
+
const _hoisted_1$1k = ["data-name"];
|
|
4793
4822
|
const _hoisted_2$$ = { key: 0 };
|
|
4794
4823
|
const _sfc_main$1B = /* @__PURE__ */ vue.defineComponent({
|
|
4795
4824
|
__name: "BSRadioButtonGroup",
|
|
@@ -4899,7 +4928,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4899
4928
|
errors: vue.unref(errors),
|
|
4900
4929
|
"hide-error-message": _ctx.hideErrorMessage
|
|
4901
4930
|
}, null, 8, ["errors", "hide-error-message"])) : vue.createCommentVNode("", true)
|
|
4902
|
-
], 10, _hoisted_1$
|
|
4931
|
+
], 10, _hoisted_1$1k);
|
|
4903
4932
|
};
|
|
4904
4933
|
}
|
|
4905
4934
|
});
|
|
@@ -4957,7 +4986,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4957
4986
|
};
|
|
4958
4987
|
}
|
|
4959
4988
|
});
|
|
4960
|
-
const _hoisted_1$
|
|
4989
|
+
const _hoisted_1$1j = ["id", "checked", "disabled", "name", "tabindex"];
|
|
4961
4990
|
const _hoisted_2$_ = ["for"];
|
|
4962
4991
|
const _hoisted_3$A = ["for"];
|
|
4963
4992
|
const _sfc_main$1z = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -5016,7 +5045,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5016
5045
|
tabindex: _ctx.tabindex,
|
|
5017
5046
|
class: "",
|
|
5018
5047
|
type: "checkbox"
|
|
5019
|
-
}, vue.toHandlers(handlers2, true)), null, 16, _hoisted_1$
|
|
5048
|
+
}, vue.toHandlers(handlers2, true)), null, 16, _hoisted_1$1j),
|
|
5020
5049
|
_ctx.label ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("label", {
|
|
5021
5050
|
key: 0,
|
|
5022
5051
|
for: _ctx.id,
|
|
@@ -5035,7 +5064,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5035
5064
|
};
|
|
5036
5065
|
}
|
|
5037
5066
|
});
|
|
5038
|
-
const _hoisted_1$
|
|
5067
|
+
const _hoisted_1$1i = ["data-name"];
|
|
5039
5068
|
const _hoisted_2$Z = { class: "items" };
|
|
5040
5069
|
const _hoisted_3$z = ["textContent"];
|
|
5041
5070
|
const _sfc_main$1y = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -5161,7 +5190,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5161
5190
|
errors: vue.unref(errors),
|
|
5162
5191
|
"hide-error-message": _ctx.hideErrorMessage
|
|
5163
5192
|
}, null, 8, ["errors", "hide-error-message"])) : vue.createCommentVNode("", true)
|
|
5164
|
-
], 10, _hoisted_1$
|
|
5193
|
+
], 10, _hoisted_1$1i);
|
|
5165
5194
|
};
|
|
5166
5195
|
}
|
|
5167
5196
|
});
|
|
@@ -5211,25 +5240,25 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5211
5240
|
};
|
|
5212
5241
|
}
|
|
5213
5242
|
});
|
|
5214
|
-
const _hoisted_1$
|
|
5243
|
+
const _hoisted_1$1h = ["tabindex", "onKeydown"];
|
|
5215
5244
|
const _hoisted_2$Y = { key: 0 };
|
|
5216
5245
|
const _hoisted_3$y = {
|
|
5217
5246
|
key: 0,
|
|
5218
5247
|
class: "label"
|
|
5219
5248
|
};
|
|
5220
|
-
const _hoisted_4$
|
|
5249
|
+
const _hoisted_4$n = {
|
|
5221
5250
|
key: 0,
|
|
5222
5251
|
class: "placeholder flex-grow-1"
|
|
5223
5252
|
};
|
|
5224
|
-
const _hoisted_5$
|
|
5253
|
+
const _hoisted_5$e = {
|
|
5225
5254
|
key: 1,
|
|
5226
5255
|
class: "text-truncate"
|
|
5227
5256
|
};
|
|
5228
|
-
const _hoisted_6$
|
|
5257
|
+
const _hoisted_6$5 = {
|
|
5229
5258
|
key: 0,
|
|
5230
5259
|
class: "label"
|
|
5231
5260
|
};
|
|
5232
|
-
const _hoisted_7$
|
|
5261
|
+
const _hoisted_7$4 = {
|
|
5233
5262
|
key: 2,
|
|
5234
5263
|
class: "small-progress"
|
|
5235
5264
|
};
|
|
@@ -5373,10 +5402,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5373
5402
|
class: "selected w-full",
|
|
5374
5403
|
role: "listbox"
|
|
5375
5404
|
}, [
|
|
5376
|
-
selectedItems.value.length === 0 ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", _hoisted_4$
|
|
5405
|
+
selectedItems.value.length === 0 ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", _hoisted_4$n, null, 512)), [
|
|
5377
5406
|
[vue.unref(vT), _ctx.placeholder]
|
|
5378
|
-
]) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$
|
|
5379
|
-
_ctx.selectedLabelProvider ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", _hoisted_6$
|
|
5407
|
+
]) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$e, [
|
|
5408
|
+
_ctx.selectedLabelProvider ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", _hoisted_6$5, null, 512)), [
|
|
5380
5409
|
[vue.unref(vT), _ctx.selectedLabelProvider(selectedItems.value)]
|
|
5381
5410
|
]) : (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 1 }, vue.renderList(selectedItems.value, (item) => {
|
|
5382
5411
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
|
|
@@ -5388,7 +5417,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5388
5417
|
}), 128))
|
|
5389
5418
|
])),
|
|
5390
5419
|
_cache[5] || (_cache[5] = vue.createElementVNode("span", { class: "dropdown-btn" }, "expand_more", -1)),
|
|
5391
|
-
loadingItems.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$
|
|
5420
|
+
loadingItems.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$4, "progress_activity")) : vue.createCommentVNode("", true)
|
|
5392
5421
|
], 512),
|
|
5393
5422
|
!_ctx.disabled && showPopup.value ? (vue.openBlock(), vue.createBlock(_sfc_main$1Y, {
|
|
5394
5423
|
key: 0,
|
|
@@ -5413,7 +5442,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5413
5442
|
errors: vue.unref(errors),
|
|
5414
5443
|
"hide-error-message": _ctx.hideErrorMessage
|
|
5415
5444
|
}, null, 8, ["errors", "hide-error-message"])) : vue.createCommentVNode("", true)
|
|
5416
|
-
], 42, _hoisted_1$
|
|
5445
|
+
], 42, _hoisted_1$1h)), [
|
|
5417
5446
|
[vue.unref(vClickOutside), () => togglePopup(false)]
|
|
5418
5447
|
]);
|
|
5419
5448
|
};
|
|
@@ -5574,17 +5603,17 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5574
5603
|
}
|
|
5575
5604
|
}
|
|
5576
5605
|
};
|
|
5577
|
-
const _hoisted_1$
|
|
5606
|
+
const _hoisted_1$1g = { class: "bs-tree-row" };
|
|
5578
5607
|
const _hoisted_2$X = ["textContent"];
|
|
5579
5608
|
const _hoisted_3$x = {
|
|
5580
5609
|
key: 1,
|
|
5581
5610
|
class: "font-icon w-16 text-gray-400"
|
|
5582
5611
|
};
|
|
5583
|
-
const _hoisted_4$
|
|
5612
|
+
const _hoisted_4$m = {
|
|
5584
5613
|
key: 2,
|
|
5585
5614
|
class: "move-buttons"
|
|
5586
5615
|
};
|
|
5587
|
-
const _hoisted_5$
|
|
5616
|
+
const _hoisted_5$d = {
|
|
5588
5617
|
key: 0,
|
|
5589
5618
|
class: "child-rows"
|
|
5590
5619
|
};
|
|
@@ -5680,7 +5709,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5680
5709
|
};
|
|
5681
5710
|
return (_ctx, _cache) => {
|
|
5682
5711
|
const _component_BSTreeRow = vue.resolveComponent("BSTreeRow", true);
|
|
5683
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
5712
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1g, [
|
|
5684
5713
|
vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
5685
5714
|
ref: "row-caption",
|
|
5686
5715
|
class: vue.normalizeClass([{ disabled: _ctx.disabledProvider && _ctx.disabledProvider(_ctx.row) }, "row-caption"])
|
|
@@ -5705,7 +5734,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5705
5734
|
[vue.unref(vT), label.value],
|
|
5706
5735
|
[vue.unref(vTreeRowDrag), dragOption]
|
|
5707
5736
|
]),
|
|
5708
|
-
_ctx.showMoveButton ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$
|
|
5737
|
+
_ctx.showMoveButton ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$m, [
|
|
5709
5738
|
vue.createElementVNode("span", {
|
|
5710
5739
|
class: "bs-clickable font-icon move-down",
|
|
5711
5740
|
onClick: moveDownRow
|
|
@@ -5718,7 +5747,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5718
5747
|
], 2)), [
|
|
5719
5748
|
[vue.unref(vTreeRowDrop), dropOption]
|
|
5720
5749
|
]),
|
|
5721
|
-
children.value && children.value.length > 0 ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_5$
|
|
5750
|
+
children.value && children.value.length > 0 ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_5$d, [
|
|
5722
5751
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(children.value, (child) => {
|
|
5723
5752
|
return vue.openBlock(), vue.createBlock(_component_BSTreeRow, {
|
|
5724
5753
|
key: _ctx.keyProvider(child),
|
|
@@ -5746,7 +5775,6 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5746
5775
|
};
|
|
5747
5776
|
}
|
|
5748
5777
|
});
|
|
5749
|
-
const _hoisted_1$1g = { class: "tree-wrap pb-80" };
|
|
5750
5778
|
const _sfc_main$1u = /* @__PURE__ */ vue.defineComponent({
|
|
5751
5779
|
__name: "BSTree",
|
|
5752
5780
|
props: {
|
|
@@ -5763,7 +5791,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5763
5791
|
multiSelect: { type: Boolean },
|
|
5764
5792
|
showCheckbox: { type: Boolean },
|
|
5765
5793
|
rowDisabledProvider: {},
|
|
5766
|
-
contextMenuProvider: {}
|
|
5794
|
+
contextMenuProvider: {},
|
|
5795
|
+
bottomPadding: { default: "80px" }
|
|
5767
5796
|
},
|
|
5768
5797
|
emits: ["update:expandedRows", "before:selectedRows", "update:selectedRows", "rowMoved"],
|
|
5769
5798
|
setup(__props, { emit: __emit }) {
|
|
@@ -5878,7 +5907,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5878
5907
|
class: "bs-tree",
|
|
5879
5908
|
onContextmenu: showOutsideContextMenu
|
|
5880
5909
|
}, [
|
|
5881
|
-
vue.createElementVNode("div",
|
|
5910
|
+
vue.createElementVNode("div", {
|
|
5911
|
+
style: vue.normalizeStyle({ "padding-bottom": _ctx.bottomPadding }),
|
|
5912
|
+
class: "tree-wrap"
|
|
5913
|
+
}, [
|
|
5882
5914
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.data, (item) => {
|
|
5883
5915
|
return vue.openBlock(), vue.createBlock(_sfc_main$1v, {
|
|
5884
5916
|
key: _ctx.keyProvider(item),
|
|
@@ -5900,7 +5932,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5900
5932
|
onSelectRow: selectRow
|
|
5901
5933
|
}, 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
5934
|
}), 128))
|
|
5903
|
-
])
|
|
5935
|
+
], 4)
|
|
5904
5936
|
], 32);
|
|
5905
5937
|
};
|
|
5906
5938
|
}
|
|
@@ -6390,11 +6422,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
6390
6422
|
key: 0,
|
|
6391
6423
|
class: "placeholder flex-grow-1"
|
|
6392
6424
|
};
|
|
6393
|
-
const _hoisted_4$
|
|
6425
|
+
const _hoisted_4$l = {
|
|
6394
6426
|
key: 1,
|
|
6395
6427
|
class: "label"
|
|
6396
6428
|
};
|
|
6397
|
-
const _hoisted_5$
|
|
6429
|
+
const _hoisted_5$c = {
|
|
6398
6430
|
key: 2,
|
|
6399
6431
|
class: "small-progress"
|
|
6400
6432
|
};
|
|
@@ -6544,11 +6576,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
6544
6576
|
}, [
|
|
6545
6577
|
!selectedItem.value ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", _hoisted_3$w, null, 512)), [
|
|
6546
6578
|
[vue.unref(vT), _ctx.placeholder]
|
|
6547
|
-
]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", _hoisted_4$
|
|
6579
|
+
]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", _hoisted_4$l, null, 512)), [
|
|
6548
6580
|
[vue.unref(vT), selectedItemLabel.value]
|
|
6549
6581
|
]),
|
|
6550
6582
|
_cache[6] || (_cache[6] = vue.createElementVNode("span", { class: "dropdown-btn" }, "expand_more", -1)),
|
|
6551
|
-
loadingItems.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$
|
|
6583
|
+
loadingItems.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$c, "progress_activity")) : vue.createCommentVNode("", true)
|
|
6552
6584
|
], 512),
|
|
6553
6585
|
showPopup.value ? (vue.openBlock(), vue.createBlock(_sfc_main$1Z, {
|
|
6554
6586
|
key: 0,
|
|
@@ -6562,7 +6594,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
6562
6594
|
}, ["stop"]))
|
|
6563
6595
|
}, {
|
|
6564
6596
|
default: vue.withCtx(() => [
|
|
6565
|
-
vue.createVNode(_sfc_main$1u, vue.mergeProps(vue.unref(treeHandler).tree, vue.toHandlers(vue.unref(treeHandler).treeEventListener)), null, 16)
|
|
6597
|
+
vue.createVNode(_sfc_main$1u, vue.mergeProps({ "bottom-padding": "0" }, vue.unref(treeHandler).tree, vue.toHandlers(vue.unref(treeHandler).treeEventListener)), null, 16)
|
|
6566
6598
|
]),
|
|
6567
6599
|
_: 1
|
|
6568
6600
|
}, 8, ["base-element", "max-height", "popup-align", "popup-direction"])) : vue.createCommentVNode("", true),
|
|
@@ -6584,11 +6616,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
6584
6616
|
key: 0,
|
|
6585
6617
|
class: "placeholder flex-grow-1"
|
|
6586
6618
|
};
|
|
6587
|
-
const _hoisted_4$
|
|
6619
|
+
const _hoisted_4$k = {
|
|
6588
6620
|
key: 1,
|
|
6589
6621
|
class: "label"
|
|
6590
6622
|
};
|
|
6591
|
-
const _hoisted_5$
|
|
6623
|
+
const _hoisted_5$b = {
|
|
6592
6624
|
key: 2,
|
|
6593
6625
|
class: "small-progress"
|
|
6594
6626
|
};
|
|
@@ -6734,11 +6766,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
6734
6766
|
}, [
|
|
6735
6767
|
!selectedItems.value || selectedItems.value.length == 0 ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", _hoisted_3$v, null, 512)), [
|
|
6736
6768
|
[vue.unref(vT), _ctx.placeholder]
|
|
6737
|
-
]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", _hoisted_4$
|
|
6769
|
+
]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", _hoisted_4$k, null, 512)), [
|
|
6738
6770
|
[vue.unref(vT), selectedItemLabel.value]
|
|
6739
6771
|
]),
|
|
6740
6772
|
_cache[7] || (_cache[7] = vue.createElementVNode("span", { class: "dropdown-btn" }, "expand_more", -1)),
|
|
6741
|
-
loadingItems.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$
|
|
6773
|
+
loadingItems.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$b, "progress_activity")) : vue.createCommentVNode("", true)
|
|
6742
6774
|
], 512),
|
|
6743
6775
|
showPopup.value ? (vue.openBlock(), vue.createBlock(_sfc_main$1Z, {
|
|
6744
6776
|
key: 0,
|
|
@@ -6753,6 +6785,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
6753
6785
|
}, {
|
|
6754
6786
|
default: vue.withCtx(() => [
|
|
6755
6787
|
vue.createVNode(_sfc_main$1u, vue.mergeProps({
|
|
6788
|
+
"bottom-padding": "0",
|
|
6756
6789
|
"multi-select": "",
|
|
6757
6790
|
"show-checkbox": ""
|
|
6758
6791
|
}, vue.unref(treeHandler).tree, vue.toHandlers(vue.unref(treeHandler).treeEventListener), {
|
|
@@ -6832,7 +6865,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
6832
6865
|
key: 1,
|
|
6833
6866
|
class: "input-area bs-layout-horizontal align-items-start"
|
|
6834
6867
|
};
|
|
6835
|
-
const _hoisted_4$
|
|
6868
|
+
const _hoisted_4$j = ["disabled", "maxlength", "name", "tabindex"];
|
|
6836
6869
|
const _sfc_main$1q = /* @__PURE__ */ vue.defineComponent({
|
|
6837
6870
|
__name: "BSTextArea",
|
|
6838
6871
|
props: {
|
|
@@ -6988,7 +7021,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
6988
7021
|
class: "flex-grow-1",
|
|
6989
7022
|
onPointerdown: capturePointer,
|
|
6990
7023
|
onPointerup: preserveResizedHeight
|
|
6991
|
-
}, vue.toHandlers(handlers2, true)), null, 16, _hoisted_4$
|
|
7024
|
+
}, vue.toHandlers(handlers2, true)), null, 16, _hoisted_4$j), [
|
|
6992
7025
|
[vue.vModelText, vue.unref(stringValue)],
|
|
6993
7026
|
[
|
|
6994
7027
|
vue.unref(vT),
|
|
@@ -28352,43 +28385,6 @@ img.ProseMirror-separator {
|
|
|
28352
28385
|
return ["tr", mergeAttributes(this.options.HTMLAttributes, HTMLAttributes), 0];
|
|
28353
28386
|
}
|
|
28354
28387
|
});
|
|
28355
|
-
const TableCell = Node.create({
|
|
28356
|
-
name: "tableCell",
|
|
28357
|
-
addOptions() {
|
|
28358
|
-
return {
|
|
28359
|
-
HTMLAttributes: {}
|
|
28360
|
-
};
|
|
28361
|
-
},
|
|
28362
|
-
content: "block+",
|
|
28363
|
-
addAttributes() {
|
|
28364
|
-
return {
|
|
28365
|
-
colspan: {
|
|
28366
|
-
default: 1
|
|
28367
|
-
},
|
|
28368
|
-
rowspan: {
|
|
28369
|
-
default: 1
|
|
28370
|
-
},
|
|
28371
|
-
colwidth: {
|
|
28372
|
-
default: null,
|
|
28373
|
-
parseHTML: (element) => {
|
|
28374
|
-
const colwidth = element.getAttribute("colwidth");
|
|
28375
|
-
const value = colwidth ? colwidth.split(",").map((width) => parseInt(width, 10)) : null;
|
|
28376
|
-
return value;
|
|
28377
|
-
}
|
|
28378
|
-
}
|
|
28379
|
-
};
|
|
28380
|
-
},
|
|
28381
|
-
tableRole: "cell",
|
|
28382
|
-
isolating: true,
|
|
28383
|
-
parseHTML() {
|
|
28384
|
-
return [
|
|
28385
|
-
{ tag: "td" }
|
|
28386
|
-
];
|
|
28387
|
-
},
|
|
28388
|
-
renderHTML({ HTMLAttributes }) {
|
|
28389
|
-
return ["td", mergeAttributes(this.options.HTMLAttributes, HTMLAttributes), 0];
|
|
28390
|
-
}
|
|
28391
|
-
});
|
|
28392
28388
|
const _hoisted_1$1b = { class: "tool-button-font-size bs-layout-horizontal align-items-center" };
|
|
28393
28389
|
const _hoisted_2$S = ["disabled", "value"];
|
|
28394
28390
|
const _sfc_main$1p = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -31022,10 +31018,11 @@ img.ProseMirror-separator {
|
|
|
31022
31018
|
const parseHTMLStyle = (attr) => {
|
|
31023
31019
|
return (element) => element.style[attr];
|
|
31024
31020
|
};
|
|
31025
|
-
const renderHTMLStyle = (attr) => {
|
|
31021
|
+
const renderHTMLStyle = (attr, attrName2) => {
|
|
31026
31022
|
return (attrs) => {
|
|
31027
31023
|
const kebabCaseName = attr.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
|
|
31028
|
-
|
|
31024
|
+
const value = attrs[attrName2 || attr];
|
|
31025
|
+
return value ? { style: `${kebabCaseName}: ${value}` } : void 0;
|
|
31029
31026
|
};
|
|
31030
31027
|
};
|
|
31031
31028
|
const createStyleString = (attr, names) => {
|
|
@@ -31038,6 +31035,15 @@ img.ProseMirror-separator {
|
|
|
31038
31035
|
height: { parseHTML: parseHTMLStyle("height"), renderHTML: renderHTMLStyle("height") },
|
|
31039
31036
|
maxWidth: { parseHTML: parseHTMLStyle("maxWidth"), renderHTML: renderHTMLStyle("maxWidth") },
|
|
31040
31037
|
maxHeight: { parseHTML: parseHTMLStyle("maxHeight"), renderHTML: renderHTMLStyle("maxHeight") },
|
|
31038
|
+
marginLeft: { parseHTML: parseHTMLStyle("marginLeft"), renderHTML: renderHTMLStyle("marginLeft") },
|
|
31039
|
+
marginTop: { parseHTML: parseHTMLStyle("marginTop"), renderHTML: renderHTMLStyle("marginTop") },
|
|
31040
|
+
marginRight: { parseHTML: parseHTMLStyle("marginRight"), renderHTML: renderHTMLStyle("marginRight") },
|
|
31041
|
+
marginBottom: { parseHTML: parseHTMLStyle("marginBottom"), renderHTML: renderHTMLStyle("marginBottom") },
|
|
31042
|
+
tableAlign: {
|
|
31043
|
+
default: "",
|
|
31044
|
+
parseHTML: parseHTMLStyle("alignSelf"),
|
|
31045
|
+
renderHTML: renderHTMLStyle("alignSelf", "tableAlign")
|
|
31046
|
+
},
|
|
31041
31047
|
class: {
|
|
31042
31048
|
default: void 0,
|
|
31043
31049
|
parseHTML: (element) => element.className,
|
|
@@ -31050,6 +31056,13 @@ img.ProseMirror-separator {
|
|
|
31050
31056
|
renderHTML: (props) => {
|
|
31051
31057
|
var _a2;
|
|
31052
31058
|
const result = (_a2 = Table.config.renderHTML) == null ? void 0 : _a2.apply(Table, [props]);
|
|
31059
|
+
if (Array.isArray(result) && result.length > 1) {
|
|
31060
|
+
const attrs = result[1];
|
|
31061
|
+
attrs.style = props.HTMLAttributes.style;
|
|
31062
|
+
}
|
|
31063
|
+
if (Array.isArray(result) && result.length > 2 && result[2][0] === "colgroup") {
|
|
31064
|
+
result.splice(2, 1);
|
|
31065
|
+
}
|
|
31053
31066
|
return [
|
|
31054
31067
|
"div",
|
|
31055
31068
|
{ class: "table-wrapper" },
|
|
@@ -31595,16 +31608,23 @@ img.ProseMirror-separator {
|
|
|
31595
31608
|
start: {
|
|
31596
31609
|
default: 0
|
|
31597
31610
|
},
|
|
31598
|
-
width: { parseHTML:
|
|
31599
|
-
height: { parseHTML:
|
|
31600
|
-
maxWidth: { parseHTML:
|
|
31601
|
-
maxHeight: { parseHTML:
|
|
31602
|
-
marginLeft: { parseHTML:
|
|
31603
|
-
marginTop: { parseHTML:
|
|
31604
|
-
marginRight: { parseHTML:
|
|
31605
|
-
marginBottom: { parseHTML:
|
|
31611
|
+
width: { parseHTML: parseWrapperHTMLStyle("width"), renderHTML: renderHTMLStyle("width") },
|
|
31612
|
+
height: { parseHTML: parseWrapperHTMLStyle("height"), renderHTML: renderHTMLStyle("height") },
|
|
31613
|
+
maxWidth: { parseHTML: parseWrapperHTMLStyle("maxWidth"), renderHTML: renderHTMLStyle("maxWidth") },
|
|
31614
|
+
maxHeight: { parseHTML: parseWrapperHTMLStyle("maxHeight"), renderHTML: renderHTMLStyle("maxHeight") },
|
|
31615
|
+
marginLeft: { parseHTML: parseWrapperHTMLStyle("marginLeft"), renderHTML: renderHTMLStyle("marginLeft") },
|
|
31616
|
+
marginTop: { parseHTML: parseWrapperHTMLStyle("marginTop"), renderHTML: renderHTMLStyle("marginTop") },
|
|
31617
|
+
marginRight: { parseHTML: parseWrapperHTMLStyle("marginRight"), renderHTML: renderHTMLStyle("marginRight") },
|
|
31618
|
+
marginBottom: { parseHTML: parseWrapperHTMLStyle("marginBottom"), renderHTML: renderHTMLStyle("marginBottom") }
|
|
31606
31619
|
};
|
|
31607
31620
|
},
|
|
31621
|
+
parseHTML() {
|
|
31622
|
+
return [
|
|
31623
|
+
{
|
|
31624
|
+
tag: "span[data-youtube-video] iframe"
|
|
31625
|
+
}
|
|
31626
|
+
];
|
|
31627
|
+
},
|
|
31608
31628
|
// Youtube extension 에서는 div 로 감싸는데, p 안에 div 가 들어갈 수 없어, span 으로 변경함.
|
|
31609
31629
|
renderHTML: (props) => {
|
|
31610
31630
|
var _a2;
|
|
@@ -31616,14 +31636,21 @@ img.ProseMirror-separator {
|
|
|
31616
31636
|
const iframeAttr = result[2][1];
|
|
31617
31637
|
delete iframeAttr.width;
|
|
31618
31638
|
delete iframeAttr.height;
|
|
31619
|
-
iframeAttr.style = `width: 100%; height:100
|
|
31639
|
+
iframeAttr.style = `width: 100%; height:100%; ${args.style};`;
|
|
31620
31640
|
return ["span", args, [iframe, iframeAttr]];
|
|
31621
31641
|
}
|
|
31622
31642
|
return "span";
|
|
31623
31643
|
}
|
|
31624
31644
|
});
|
|
31645
|
+
const parseWrapperHTMLStyle = (attr) => {
|
|
31646
|
+
return (element) => {
|
|
31647
|
+
var _a2;
|
|
31648
|
+
return (_a2 = element.parentElement) == null ? void 0 : _a2.style[attr];
|
|
31649
|
+
};
|
|
31650
|
+
};
|
|
31625
31651
|
const createWrapperStyle = (attrs) => {
|
|
31626
31652
|
if (!attrs.aspectRatio) attrs.aspectRatio = "16/9";
|
|
31653
|
+
if (!attrs.width) attrs.width = "100%";
|
|
31627
31654
|
attrs = normalizeYoutubeInfoData(attrs);
|
|
31628
31655
|
const styleKeys = ["aspectRatio", "width", "height", "maxWidth", "maxHeight", "marginLeft", "marginTop", "marginRight", "marginBottom"];
|
|
31629
31656
|
const styles = [];
|
|
@@ -33988,6 +34015,70 @@ img.ProseMirror-separator {
|
|
|
33988
34015
|
}
|
|
33989
34016
|
const richTextContentStyle = '.rich-text-content {\n font-size: 14px;\n}\n.rich-text-content * {\n line-height: 1.4em;\n}\n.rich-text-content p {\n margin: 0 0 4px 0;\n padding: 0;\n}\n.rich-text-content p:empty:before {\n content: " ";\n white-space: pre;\n}\n.rich-text-content pre {\n background-color: #eee;\n padding: 8px;\n margin: 8px 0;\n border-radius: 4px;\n font-family: "Lucida Console", sans-serif;\n}\n.rich-text-content h1 {\n font-size: 1.8rem;\n margin: 1rem 0 0.4rem;\n}\n.rich-text-content h2 {\n font-size: 1.6rem;\n margin: 0.6rem 0 0.2rem;\n}\n.rich-text-content h3 {\n font-size: 1.4rem;\n margin: 0.4rem 0 0.2rem;\n}\n.rich-text-content h4 {\n font-size: 1.2rem;\n margin: 0.4rem 0 0.2rem;\n}\n.rich-text-content ul {\n padding-left: 1em;\n}\n.rich-text-content ul li {\n list-style: inside disc;\n}\n.rich-text-content ul li > ul > li {\n list-style: inside circle;\n}\n.rich-text-content ul li > ul > li > ul > li {\n list-style: inside square;\n}\n.rich-text-content ul li > p {\n display: inline;\n}\n.rich-text-content ol {\n padding-left: 1em;\n}\n.rich-text-content ol li {\n list-style: inside decimal;\n}\n.rich-text-content ol li > ol > li {\n list-style: inside lower-alpha;\n}\n.rich-text-content ol li > ol > li > ol > li {\n list-style: inside lower-roman;\n}\n.rich-text-content ol li > p {\n display: inline;\n}\n.rich-text-content > div > ul, .rich-text-content > div > ol {\n margin: 8px 0;\n}\n.rich-text-content em {\n font-style: italic;\n}\n.rich-text-content .table-wrapper {\n margin: 0.5rem 0;\n overflow-x: auto;\n display: flex;\n flex-direction: column;\n}\n.rich-text-content table {\n border-collapse: collapse;\n text-align: left;\n}\n.rich-text-content table > tr > th, .rich-text-content table > tr > td, .rich-text-content table > tbody > tr > th, .rich-text-content table > tbody > tr > td {\n border: 1px solid #ccc;\n box-sizing: border-box;\n padding: 6px 8px;\n vertical-align: top;\n}\n.rich-text-content table > tr > th > p, .rich-text-content table > tr > td > p, .rich-text-content table > tbody > tr > th > p, .rich-text-content table > tbody > tr > td > p {\n margin-bottom: 0;\n}\n.rich-text-content img {\n display: inline-block;\n height: auto;\n margin: 0.5rem 0;\n max-width: 100%;\n}\n.rich-text-content span[data-youtube-video] {\n padding-right: 0.5rem;\n display: inline-block;\n}\n.rich-text-content span[data-youtube-video] iframe {\n border: 0.5rem solid var(--black-contrast);\n outline: 0 solid transparent;\n}';
|
|
33990
34017
|
const richTextContainerStyle = ':root {\n --body-bg: #ffffff;\n --gray-400: #A9A9A9;\n --primary: #5672EF;\n --icon-font-family: Material Symbols Outlined, monospace;\n}\n\n.bs-rich-text-editor {\n width: 100%;\n box-sizing: border-box;\n overflow: auto;\n padding: 8px;\n margin: 0 auto;\n background-color: var(--body-bg);\n align-self: center;\n box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);\n /* table */\n /* image */\n /* youtube */\n}\n.bs-rich-text-editor > .tiptap {\n width: 100%;\n flex-grow: 1;\n}\n.bs-rich-text-editor > .tiptap:focus {\n outline: 0;\n}\n.bs-rich-text-editor table {\n table-layout: fixed;\n}\n.bs-rich-text-editor table td,\n.bs-rich-text-editor table th {\n min-width: 1em;\n position: relative;\n}\n.bs-rich-text-editor table td > *,\n.bs-rich-text-editor table th > * {\n margin-bottom: 0;\n}\n.bs-rich-text-editor table th {\n font-weight: bold;\n text-align: left;\n}\n.bs-rich-text-editor table .selectedCell:after {\n background: var(--gray-400);\n opacity: 0.3;\n content: "";\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n pointer-events: none;\n position: absolute;\n z-index: 1;\n}\n.bs-rich-text-editor table .column-resize-handle {\n background-color: var(--primary);\n bottom: -2px;\n pointer-events: none;\n position: absolute;\n right: -2px;\n top: 0;\n width: 4px;\n z-index: 2;\n}\n.bs-rich-text-editor img, .bs-rich-text-editor video {\n user-select: auto;\n}\n.bs-rich-text-editor img.ProseMirror-selectednode, .bs-rich-text-editor video.ProseMirror-selectednode {\n outline: 3px solid var(--primary);\n position: relative;\n transition: outline 0.15s;\n z-index: 1;\n}\n.bs-rich-text-editor span[data-youtube-video] {\n position: relative;\n cursor: move;\n}\n.bs-rich-text-editor span[data-youtube-video] iframe {\n user-select: auto;\n}\n.bs-rich-text-editor span[data-youtube-video].ProseMirror-selectednode iframe {\n outline: 3px solid var(--primary);\n transition: outline 0.15s;\n}\n.bs-rich-text-editor span[data-youtube-video]::after {\n content: "menu";\n font-family: var(--icon-font-family);\n position: absolute;\n background-color: white;\n border-radius: 4px;\n padding: 4px;\n left: 8px;\n top: 8px;\n font-size: 20px;\n line-height: 1em;\n}';
|
|
34018
|
+
const TableCell = Node.create({
|
|
34019
|
+
name: "tableCell",
|
|
34020
|
+
addOptions() {
|
|
34021
|
+
return {
|
|
34022
|
+
HTMLAttributes: {}
|
|
34023
|
+
};
|
|
34024
|
+
},
|
|
34025
|
+
content: "block+",
|
|
34026
|
+
addAttributes() {
|
|
34027
|
+
return {
|
|
34028
|
+
colspan: {
|
|
34029
|
+
default: 1
|
|
34030
|
+
},
|
|
34031
|
+
rowspan: {
|
|
34032
|
+
default: 1
|
|
34033
|
+
},
|
|
34034
|
+
colwidth: {
|
|
34035
|
+
default: null,
|
|
34036
|
+
parseHTML: (element) => {
|
|
34037
|
+
const colwidth = element.getAttribute("colwidth");
|
|
34038
|
+
const value = colwidth ? colwidth.split(",").map((width) => parseInt(width, 10)) : null;
|
|
34039
|
+
return value;
|
|
34040
|
+
}
|
|
34041
|
+
}
|
|
34042
|
+
};
|
|
34043
|
+
},
|
|
34044
|
+
tableRole: "cell",
|
|
34045
|
+
isolating: true,
|
|
34046
|
+
parseHTML() {
|
|
34047
|
+
return [
|
|
34048
|
+
{ tag: "td" }
|
|
34049
|
+
];
|
|
34050
|
+
},
|
|
34051
|
+
renderHTML({ HTMLAttributes }) {
|
|
34052
|
+
return ["td", mergeAttributes(this.options.HTMLAttributes, HTMLAttributes), 0];
|
|
34053
|
+
}
|
|
34054
|
+
});
|
|
34055
|
+
const RichTextTableCell = TableCell.extend({
|
|
34056
|
+
addAttributes() {
|
|
34057
|
+
var _a2;
|
|
34058
|
+
return {
|
|
34059
|
+
...(_a2 = this.parent) == null ? void 0 : _a2.call(this),
|
|
34060
|
+
width: { parseHTML: parseHTMLStyle("width"), renderHTML: renderHTMLStyle("width") },
|
|
34061
|
+
colspan: {
|
|
34062
|
+
default: 1,
|
|
34063
|
+
parseHTML: (el) => {
|
|
34064
|
+
return Number(el.getAttribute("colspan")) || 1;
|
|
34065
|
+
},
|
|
34066
|
+
renderHTML: (attrs) => {
|
|
34067
|
+
if ((attrs.colspan || 1) > 1) return { colspan: attrs.colspan };
|
|
34068
|
+
}
|
|
34069
|
+
},
|
|
34070
|
+
rowspan: {
|
|
34071
|
+
default: 1,
|
|
34072
|
+
parseHTML: (el) => {
|
|
34073
|
+
return Number(el.getAttribute("rowspan")) || 1;
|
|
34074
|
+
},
|
|
34075
|
+
renderHTML: (attrs) => {
|
|
34076
|
+
if ((attrs.rowspan || 1) > 1) return { rowspan: attrs.rowspan };
|
|
34077
|
+
}
|
|
34078
|
+
}
|
|
34079
|
+
};
|
|
34080
|
+
}
|
|
34081
|
+
});
|
|
33991
34082
|
const _hoisted_1$10 = ["innerHTML"];
|
|
33992
34083
|
const _hoisted_2$L = { class: "editor-container" };
|
|
33993
34084
|
const WRAP_BEGIN = '<div class="rich-text-content">';
|
|
@@ -34041,14 +34132,14 @@ img.ProseMirror-separator {
|
|
|
34041
34132
|
inline: true
|
|
34042
34133
|
}),
|
|
34043
34134
|
RichTextTable.configure({
|
|
34044
|
-
resizable:
|
|
34045
|
-
lastColumnResizable:
|
|
34135
|
+
resizable: false,
|
|
34136
|
+
lastColumnResizable: false,
|
|
34046
34137
|
allowTableNodeSelection: true,
|
|
34047
34138
|
View: RichTextTableView
|
|
34048
34139
|
}),
|
|
34049
34140
|
TableHeader,
|
|
34050
34141
|
TableRow,
|
|
34051
|
-
|
|
34142
|
+
RichTextTableCell,
|
|
34052
34143
|
RichTextYoutube.configure({
|
|
34053
34144
|
inline: true,
|
|
34054
34145
|
controls: false,
|
|
@@ -34168,10 +34259,19 @@ img.ProseMirror-separator {
|
|
|
34168
34259
|
const doc2 = iframeRef.value.contentWindow.document;
|
|
34169
34260
|
const context = {
|
|
34170
34261
|
iframeDocument: doc2,
|
|
34262
|
+
fontLinks: [
|
|
34263
|
+
"https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=block"
|
|
34264
|
+
],
|
|
34171
34265
|
editorStyles: [richTextContainerStyle],
|
|
34172
34266
|
contentStyles: [richTextContentStyle]
|
|
34173
34267
|
};
|
|
34174
34268
|
emit("editorIframeReady", context);
|
|
34269
|
+
context.fontLinks.forEach((font) => {
|
|
34270
|
+
const link = doc2.createElement("link");
|
|
34271
|
+
link.setAttribute("href", font);
|
|
34272
|
+
link.setAttribute("rel", "stylesheet");
|
|
34273
|
+
doc2.head.appendChild(link);
|
|
34274
|
+
});
|
|
34175
34275
|
const styles = [...context.editorStyles || [], ...context.contentStyles || []];
|
|
34176
34276
|
styles.forEach((css2) => {
|
|
34177
34277
|
const style2 = doc2.createElement("style");
|
|
@@ -34391,9 +34491,9 @@ img.ProseMirror-separator {
|
|
|
34391
34491
|
const _hoisted_1$$ = ["poster"];
|
|
34392
34492
|
const _hoisted_2$K = ["src"];
|
|
34393
34493
|
const _hoisted_3$s = ["alt", "src"];
|
|
34394
|
-
const _hoisted_4$
|
|
34395
|
-
const _hoisted_5$
|
|
34396
|
-
const _hoisted_6$
|
|
34494
|
+
const _hoisted_4$i = ["alt", "src"];
|
|
34495
|
+
const _hoisted_5$a = ["href"];
|
|
34496
|
+
const _hoisted_6$4 = {
|
|
34397
34497
|
key: 7,
|
|
34398
34498
|
class: "font-icon bottom-2 left-2 button"
|
|
34399
34499
|
};
|
|
@@ -34505,7 +34605,7 @@ img.ProseMirror-separator {
|
|
|
34505
34605
|
alt: _ctx.file.altText,
|
|
34506
34606
|
src: fileUrl.value,
|
|
34507
34607
|
style: vue.normalizeStyle({ width: _ctx.width, height: _ctx.height, maxWidth: _ctx.maxWidth })
|
|
34508
|
-
}, null, 12, _hoisted_4$
|
|
34608
|
+
}, null, 12, _hoisted_4$i)),
|
|
34509
34609
|
_ctx.showDeleteButton ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
|
|
34510
34610
|
key: 3,
|
|
34511
34611
|
class: "bs-clickable font-icon button show-on-hover top-2 right-2",
|
|
@@ -34551,7 +34651,7 @@ img.ProseMirror-separator {
|
|
|
34551
34651
|
target: "_blank"
|
|
34552
34652
|
}, _cache[2] || (_cache[2] = [
|
|
34553
34653
|
vue.createTextVNode("zoom_in")
|
|
34554
|
-
]), 8, _hoisted_5$
|
|
34654
|
+
]), 8, _hoisted_5$a)), [
|
|
34555
34655
|
[
|
|
34556
34656
|
vue.unref(vT),
|
|
34557
34657
|
{ key: "bs.openInNewTab" },
|
|
@@ -34572,7 +34672,7 @@ img.ProseMirror-separator {
|
|
|
34572
34672
|
void 0,
|
|
34573
34673
|
{ title: true }
|
|
34574
34674
|
]
|
|
34575
|
-
]) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$
|
|
34675
|
+
]) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$4, vue.toDisplayString(mediaTypeIcon.value), 1))
|
|
34576
34676
|
], 34)) : vue.createCommentVNode("", true);
|
|
34577
34677
|
};
|
|
34578
34678
|
}
|
|
@@ -36449,7 +36549,7 @@ img.ProseMirror-separator {
|
|
|
36449
36549
|
const _hoisted_1$X = ["data-property-id"];
|
|
36450
36550
|
const _hoisted_2$H = { class: "bs-layout-horizontal align-items-center" };
|
|
36451
36551
|
const _hoisted_3$p = { class: "flex-grow-1 text-truncate" };
|
|
36452
|
-
const _hoisted_4$
|
|
36552
|
+
const _hoisted_4$h = ["textContent"];
|
|
36453
36553
|
const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
36454
36554
|
__name: "BSGridHeaderCell",
|
|
36455
36555
|
props: {
|
|
@@ -36538,7 +36638,7 @@ img.ProseMirror-separator {
|
|
|
36538
36638
|
class: vue.normalizeClass([{ "text-gray-400": ascending.value === void 0, "descending": !ascending.value }, "sort-icon font-icon bs-clickable"]),
|
|
36539
36639
|
onClick: sort,
|
|
36540
36640
|
textContent: vue.toDisplayString(ascending.value === void 0 ? "swap_vert" : "straight")
|
|
36541
|
-
}, null, 10, _hoisted_4$
|
|
36641
|
+
}, null, 10, _hoisted_4$h)) : vue.createCommentVNode("", true)
|
|
36542
36642
|
]),
|
|
36543
36643
|
vue.renderSlot(_ctx.$slots, "filter", {}, void 0, true),
|
|
36544
36644
|
vue.createVNode(BSGridHeaderCellResizeHandle, {
|
|
@@ -37051,13 +37151,13 @@ img.ProseMirror-separator {
|
|
|
37051
37151
|
key: 0,
|
|
37052
37152
|
class: "fixed func-cell"
|
|
37053
37153
|
};
|
|
37054
|
-
const _hoisted_4$
|
|
37154
|
+
const _hoisted_4$g = {
|
|
37055
37155
|
key: 2,
|
|
37056
37156
|
class: "fixed func-cell edit-icon"
|
|
37057
37157
|
};
|
|
37058
|
-
const _hoisted_5$
|
|
37059
|
-
const _hoisted_6$
|
|
37060
|
-
const _hoisted_7$
|
|
37158
|
+
const _hoisted_5$9 = { key: 0 };
|
|
37159
|
+
const _hoisted_6$3 = { key: 1 };
|
|
37160
|
+
const _hoisted_7$3 = { class: "position-absolute text-nowrap pa-8" };
|
|
37061
37161
|
const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
37062
37162
|
__name: "BSGrid",
|
|
37063
37163
|
props: {
|
|
@@ -37333,7 +37433,7 @@ img.ProseMirror-separator {
|
|
|
37333
37433
|
"selected-row-count": vue.unref(internalSelectedRows).size,
|
|
37334
37434
|
onClick: toggleAllSelection
|
|
37335
37435
|
}, null, 8, ["selected-row-count"])) : vue.createCommentVNode("", true),
|
|
37336
|
-
_ctx.editable && !_ctx.hideEditIcon ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_4$
|
|
37436
|
+
_ctx.editable && !_ctx.hideEditIcon ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_4$g, _cache[1] || (_cache[1] = [
|
|
37337
37437
|
vue.createElementVNode("div", null, null, -1)
|
|
37338
37438
|
]))) : vue.createCommentVNode("", true),
|
|
37339
37439
|
_ctx.showSerial ? (vue.openBlock(), vue.createBlock(BSGridHeaderCellSerialNo, { key: 3 })) : vue.createCommentVNode("", true),
|
|
@@ -37363,13 +37463,13 @@ img.ProseMirror-separator {
|
|
|
37363
37463
|
])
|
|
37364
37464
|
]),
|
|
37365
37465
|
vue.createElementVNode("tbody", null, [
|
|
37366
|
-
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("tr", _hoisted_5$
|
|
37466
|
+
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("tr", _hoisted_5$9, [
|
|
37367
37467
|
vue.createElementVNode("td", null, [
|
|
37368
37468
|
vue.createVNode(BSLoadingIcon, { class: "position-absolute pa-8" })
|
|
37369
37469
|
])
|
|
37370
|
-
])) : _ctx.data && _ctx.data.length === 0 ? (vue.openBlock(), vue.createElementBlock("tr", _hoisted_6$
|
|
37470
|
+
])) : _ctx.data && _ctx.data.length === 0 ? (vue.openBlock(), vue.createElementBlock("tr", _hoisted_6$3, [
|
|
37371
37471
|
vue.createElementVNode("td", null, [
|
|
37372
|
-
vue.withDirectives(vue.createElementVNode("div", _hoisted_7$
|
|
37472
|
+
vue.withDirectives(vue.createElementVNode("div", _hoisted_7$3, null, 512), [
|
|
37373
37473
|
[vue.unref(vT), { key: "bs.grid.empty" }]
|
|
37374
37474
|
])
|
|
37375
37475
|
])
|
|
@@ -37478,7 +37578,7 @@ img.ProseMirror-separator {
|
|
|
37478
37578
|
const _hoisted_1$O = { class: "bs-text-filter" };
|
|
37479
37579
|
const _hoisted_2$D = { class: "input-wrap" };
|
|
37480
37580
|
const _hoisted_3$n = { class: "textarea-wrap" };
|
|
37481
|
-
const _hoisted_4$
|
|
37581
|
+
const _hoisted_4$f = {
|
|
37482
37582
|
class: "filter-caption text-nowrap",
|
|
37483
37583
|
"data-id": "filterCaption"
|
|
37484
37584
|
};
|
|
@@ -37611,7 +37711,7 @@ img.ProseMirror-separator {
|
|
|
37611
37711
|
], 512), [
|
|
37612
37712
|
[vue.vShow, filterMode.value === "TEXTAREA"]
|
|
37613
37713
|
]),
|
|
37614
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
37714
|
+
vue.createElementVNode("div", _hoisted_4$f, [
|
|
37615
37715
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(filterMode.value === "INPUT" ? likeTextFilterItems.value : inTextFilterItems.value, (item) => {
|
|
37616
37716
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
|
|
37617
37717
|
key: item.propertyId
|
|
@@ -37995,12 +38095,12 @@ img.ProseMirror-separator {
|
|
|
37995
38095
|
const _hoisted_1$L = { class: "bs-grid-control" };
|
|
37996
38096
|
const _hoisted_2$A = { key: 0 };
|
|
37997
38097
|
const _hoisted_3$m = { key: 1 };
|
|
37998
|
-
const _hoisted_4$
|
|
37999
|
-
const _hoisted_5$
|
|
38000
|
-
const _hoisted_6$
|
|
38001
|
-
const _hoisted_7$
|
|
38002
|
-
const _hoisted_8$
|
|
38003
|
-
const _hoisted_9 = ["textContent"];
|
|
38098
|
+
const _hoisted_4$e = { key: 2 };
|
|
38099
|
+
const _hoisted_5$8 = { key: 3 };
|
|
38100
|
+
const _hoisted_6$2 = { key: 4 };
|
|
38101
|
+
const _hoisted_7$2 = ["textContent"];
|
|
38102
|
+
const _hoisted_8$2 = { key: 5 };
|
|
38103
|
+
const _hoisted_9$1 = ["textContent"];
|
|
38004
38104
|
const _hoisted_10 = { key: 6 };
|
|
38005
38105
|
const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
38006
38106
|
__name: "BSGridControl",
|
|
@@ -38075,7 +38175,7 @@ img.ProseMirror-separator {
|
|
|
38075
38175
|
onClick: refreshGrid
|
|
38076
38176
|
})
|
|
38077
38177
|
])) : vue.createCommentVNode("", true),
|
|
38078
|
-
_ctx.showClearFilter ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
38178
|
+
_ctx.showClearFilter ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$e, [
|
|
38079
38179
|
vue.createVNode(BSButton, {
|
|
38080
38180
|
caption: { key: "bs.grid.clearSetting" },
|
|
38081
38181
|
"data-id": "clearSettingBtn",
|
|
@@ -38083,7 +38183,7 @@ img.ProseMirror-separator {
|
|
|
38083
38183
|
onClick: clearGridFilter
|
|
38084
38184
|
})
|
|
38085
38185
|
])) : vue.createCommentVNode("", true),
|
|
38086
|
-
_ctx.showAddButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$
|
|
38186
|
+
_ctx.showAddButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$8, [
|
|
38087
38187
|
vue.createVNode(BSButton, {
|
|
38088
38188
|
caption: { key: "bs.gridcontrol.addRow" },
|
|
38089
38189
|
"data-id": "addRowBtn",
|
|
@@ -38091,7 +38191,7 @@ img.ProseMirror-separator {
|
|
|
38091
38191
|
onClick: _cache[0] || (_cache[0] = ($event) => emit("clickAdd"))
|
|
38092
38192
|
})
|
|
38093
38193
|
])) : vue.createCommentVNode("", true),
|
|
38094
|
-
_ctx.showRemoveButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$
|
|
38194
|
+
_ctx.showRemoveButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$2, [
|
|
38095
38195
|
vue.createVNode(BSButton, {
|
|
38096
38196
|
caption: { key: "bs.gridcontrol.removeRow" },
|
|
38097
38197
|
"data-id": "removeRowBtn",
|
|
@@ -38107,9 +38207,9 @@ img.ProseMirror-separator {
|
|
|
38107
38207
|
vue.createElementVNode("span", {
|
|
38108
38208
|
"data-id": "totalCount",
|
|
38109
38209
|
textContent: vue.toDisplayString(formattedTotalCount.value)
|
|
38110
|
-
}, null, 8, _hoisted_7$
|
|
38210
|
+
}, null, 8, _hoisted_7$2)
|
|
38111
38211
|
]),
|
|
38112
|
-
selectedCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$
|
|
38212
|
+
selectedCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$2, [
|
|
38113
38213
|
vue.withDirectives(vue.createElementVNode("span", null, null, 512), [
|
|
38114
38214
|
[vue.unref(vT), { key: "bs.gridcontrol.selectedCount" }]
|
|
38115
38215
|
]),
|
|
@@ -38117,7 +38217,7 @@ img.ProseMirror-separator {
|
|
|
38117
38217
|
vue.createElementVNode("span", {
|
|
38118
38218
|
"data-id": "selectedCount",
|
|
38119
38219
|
textContent: vue.toDisplayString(formattedSelectedCount.value)
|
|
38120
|
-
}, null, 8, _hoisted_9)
|
|
38220
|
+
}, null, 8, _hoisted_9$1)
|
|
38121
38221
|
])) : vue.createCommentVNode("", true),
|
|
38122
38222
|
_ctx.showLimit ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, [
|
|
38123
38223
|
vue.createVNode(_sfc_main$1W, {
|
|
@@ -38346,14 +38446,14 @@ img.ProseMirror-separator {
|
|
|
38346
38446
|
const _hoisted_1$J = ["data-current-tab"];
|
|
38347
38447
|
const _hoisted_2$y = { class: "prefix" };
|
|
38348
38448
|
const _hoisted_3$l = { class: "tabs flex-grow-1 flex-shrink-1" };
|
|
38349
|
-
const _hoisted_4$
|
|
38350
|
-
const _hoisted_5$
|
|
38449
|
+
const _hoisted_4$d = ["data-tab-id", "onClick"];
|
|
38450
|
+
const _hoisted_5$7 = {
|
|
38351
38451
|
key: 0,
|
|
38352
38452
|
class: "font-icon"
|
|
38353
38453
|
};
|
|
38354
|
-
const _hoisted_6 = { class: "ml-4" };
|
|
38355
|
-
const _hoisted_7 = { class: "buttons text-nowrap" };
|
|
38356
|
-
const _hoisted_8 = { class: "flex-grow-1 h-4 bs-layout-vertical" };
|
|
38454
|
+
const _hoisted_6$1 = { class: "ml-4" };
|
|
38455
|
+
const _hoisted_7$1 = { class: "buttons text-nowrap" };
|
|
38456
|
+
const _hoisted_8$1 = { class: "flex-grow-1 h-4 bs-layout-vertical" };
|
|
38357
38457
|
const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
38358
38458
|
__name: "BSTabSheet",
|
|
38359
38459
|
props: {
|
|
@@ -38463,18 +38563,18 @@ img.ProseMirror-separator {
|
|
|
38463
38563
|
"data-tab-id": tab.tabId,
|
|
38464
38564
|
onClick: ($event) => selectTab(tab)
|
|
38465
38565
|
}, [
|
|
38466
|
-
tab.icon ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$
|
|
38467
|
-
vue.withDirectives(vue.createElementVNode("span", _hoisted_6, null, 512), [
|
|
38566
|
+
tab.icon ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$7, vue.toDisplayString(tab.icon), 1)) : vue.createCommentVNode("", true),
|
|
38567
|
+
vue.withDirectives(vue.createElementVNode("span", _hoisted_6$1, null, 512), [
|
|
38468
38568
|
[vue.unref(vT), tab.caption]
|
|
38469
38569
|
])
|
|
38470
|
-
], 10, _hoisted_4$
|
|
38570
|
+
], 10, _hoisted_4$d);
|
|
38471
38571
|
}), 128))
|
|
38472
38572
|
]),
|
|
38473
|
-
vue.createElementVNode("div", _hoisted_7, [
|
|
38573
|
+
vue.createElementVNode("div", _hoisted_7$1, [
|
|
38474
38574
|
vue.renderSlot(_ctx.$slots, "buttons")
|
|
38475
38575
|
])
|
|
38476
38576
|
], 2),
|
|
38477
|
-
vue.createElementVNode("div", _hoisted_8, [
|
|
38577
|
+
vue.createElementVNode("div", _hoisted_8$1, [
|
|
38478
38578
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(createdTabs.value, (createdTab) => {
|
|
38479
38579
|
var _a3;
|
|
38480
38580
|
return vue.renderSlot(_ctx.$slots, createdTab.tabId, {
|
|
@@ -67795,7 +67895,7 @@ img.ProseMirror-separator {
|
|
|
67795
67895
|
key: 0,
|
|
67796
67896
|
class: "address-caption"
|
|
67797
67897
|
};
|
|
67798
|
-
const _hoisted_4$
|
|
67898
|
+
const _hoisted_4$c = { key: 0 };
|
|
67799
67899
|
const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
67800
67900
|
__name: "BSAddressInput",
|
|
67801
67901
|
props: {
|
|
@@ -67941,7 +68041,7 @@ img.ProseMirror-separator {
|
|
|
67941
68041
|
width: ((_e = selectedConfig.value.widths) == null ? void 0 : _e[index - 1]) || "100%"
|
|
67942
68042
|
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "class", "disabled", "max-length", "maxlength", "name", "view-mode", "width"])
|
|
67943
68043
|
]),
|
|
67944
|
-
selectedConfig.value.lineBreak === index || selectedConfig.value.lineBreak === "all" ? (vue.openBlock(), vue.createElementBlock("br", _hoisted_4$
|
|
68044
|
+
selectedConfig.value.lineBreak === index || selectedConfig.value.lineBreak === "all" ? (vue.openBlock(), vue.createElementBlock("br", _hoisted_4$c)) : vue.createCommentVNode("", true)
|
|
67945
68045
|
], 64);
|
|
67946
68046
|
}), 128))
|
|
67947
68047
|
]),
|
|
@@ -68329,7 +68429,7 @@ img.ProseMirror-separator {
|
|
|
68329
68429
|
class: "title-bar bs-layout-horizontal flex-align-center"
|
|
68330
68430
|
};
|
|
68331
68431
|
const _hoisted_3$f = { class: "title flex-grow-1" };
|
|
68332
|
-
const _hoisted_4$
|
|
68432
|
+
const _hoisted_4$b = { class: "title-buttons" };
|
|
68333
68433
|
const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
68334
68434
|
__name: "BSModalFrame",
|
|
68335
68435
|
props: {
|
|
@@ -68375,7 +68475,7 @@ img.ProseMirror-separator {
|
|
|
68375
68475
|
])
|
|
68376
68476
|
])
|
|
68377
68477
|
]),
|
|
68378
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
68478
|
+
vue.createElementVNode("div", _hoisted_4$b, [
|
|
68379
68479
|
vue.renderSlot(_ctx.$slots, "title-buttons")
|
|
68380
68480
|
]),
|
|
68381
68481
|
vue.createElementVNode("div", null, [
|
|
@@ -68451,7 +68551,7 @@ img.ProseMirror-separator {
|
|
|
68451
68551
|
const _hoisted_1$r = { class: "bs-notification-container" };
|
|
68452
68552
|
const _hoisted_2$k = { class: "top-notification bs-layout-vertical-inline flex-align-center gap-4" };
|
|
68453
68553
|
const _hoisted_3$e = { class: "bottom-notification bs-layout-vertical-inline flex-align-end gap-4" };
|
|
68454
|
-
const _hoisted_4$
|
|
68554
|
+
const _hoisted_4$a = { class: "tooltip-container" };
|
|
68455
68555
|
const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
68456
68556
|
__name: "BSNotificationContainer",
|
|
68457
68557
|
setup(__props) {
|
|
@@ -68494,7 +68594,7 @@ img.ProseMirror-separator {
|
|
|
68494
68594
|
_: 1
|
|
68495
68595
|
})
|
|
68496
68596
|
]),
|
|
68497
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
68597
|
+
vue.createElementVNode("div", _hoisted_4$a, [
|
|
68498
68598
|
vue.unref(tooltipEntry) ? (vue.openBlock(), vue.createBlock(_sfc_main$t, {
|
|
68499
68599
|
key: 0,
|
|
68500
68600
|
ref_key: "tooltip",
|
|
@@ -68516,8 +68616,8 @@ img.ProseMirror-separator {
|
|
|
68516
68616
|
class: "title-bar bs-layout-horizontal flex-align-center"
|
|
68517
68617
|
};
|
|
68518
68618
|
const _hoisted_3$d = { class: "title d-flex align-items-center gap-8" };
|
|
68519
|
-
const _hoisted_4$
|
|
68520
|
-
const _hoisted_5$
|
|
68619
|
+
const _hoisted_4$9 = { class: "flex-grow-1 overflow-auto" };
|
|
68620
|
+
const _hoisted_5$6 = {
|
|
68521
68621
|
key: 1,
|
|
68522
68622
|
class: "buttons"
|
|
68523
68623
|
};
|
|
@@ -68543,10 +68643,10 @@ img.ProseMirror-separator {
|
|
|
68543
68643
|
], true)
|
|
68544
68644
|
])
|
|
68545
68645
|
])) : vue.createCommentVNode("", true),
|
|
68546
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
68646
|
+
vue.createElementVNode("div", _hoisted_4$9, [
|
|
68547
68647
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
68548
68648
|
]),
|
|
68549
|
-
hasButtons.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$
|
|
68649
|
+
hasButtons.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$6, [
|
|
68550
68650
|
vue.renderSlot(_ctx.$slots, "buttons", {}, void 0, true)
|
|
68551
68651
|
])) : vue.createCommentVNode("", true)
|
|
68552
68652
|
]);
|
|
@@ -69019,8 +69119,8 @@ img.ProseMirror-separator {
|
|
|
69019
69119
|
const _hoisted_1$o = { class: "menu-search position-relative bs-layout-horizontal gap-8" };
|
|
69020
69120
|
const _hoisted_2$i = { class: "menu-search-box flex-grow-1" };
|
|
69021
69121
|
const _hoisted_3$c = ["value"];
|
|
69022
|
-
const _hoisted_4$
|
|
69023
|
-
const _hoisted_5$
|
|
69122
|
+
const _hoisted_4$8 = { class: "icon bs-layout-horizontal align-items-center" };
|
|
69123
|
+
const _hoisted_5$5 = { class: "font-icon" };
|
|
69024
69124
|
const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
69025
69125
|
__name: "SidebarMenuSearch",
|
|
69026
69126
|
props: {
|
|
@@ -69109,7 +69209,7 @@ img.ProseMirror-separator {
|
|
|
69109
69209
|
{ placeholder: true }
|
|
69110
69210
|
]
|
|
69111
69211
|
]),
|
|
69112
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
69212
|
+
vue.createElementVNode("div", _hoisted_4$8, [
|
|
69113
69213
|
vue.createElementVNode("button", {
|
|
69114
69214
|
class: "bs-clickable",
|
|
69115
69215
|
onClick: emptyKeyword
|
|
@@ -69129,7 +69229,7 @@ img.ProseMirror-separator {
|
|
|
69129
69229
|
class: "bs-clickable",
|
|
69130
69230
|
onClick: toggleFixedMenu
|
|
69131
69231
|
}, [
|
|
69132
|
-
vue.createElementVNode("span", _hoisted_5$
|
|
69232
|
+
vue.createElementVNode("span", _hoisted_5$5, vue.toDisplayString(fixedMenuIcon.value), 1)
|
|
69133
69233
|
])
|
|
69134
69234
|
]);
|
|
69135
69235
|
};
|
|
@@ -69780,8 +69880,8 @@ img.ProseMirror-separator {
|
|
|
69780
69880
|
const _hoisted_1$f = { class: "title" };
|
|
69781
69881
|
const _hoisted_2$d = { class: "title" };
|
|
69782
69882
|
const _hoisted_3$b = { class: "title" };
|
|
69783
|
-
const _hoisted_4$
|
|
69784
|
-
const _hoisted_5$
|
|
69883
|
+
const _hoisted_4$7 = { class: "title" };
|
|
69884
|
+
const _hoisted_5$4 = { class: "bs-layout-horizontal gap-2" };
|
|
69785
69885
|
const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
69786
69886
|
__name: "ImageProperties",
|
|
69787
69887
|
props: {
|
|
@@ -69882,10 +69982,10 @@ img.ProseMirror-separator {
|
|
|
69882
69982
|
])
|
|
69883
69983
|
]),
|
|
69884
69984
|
vue.createElementVNode("div", null, [
|
|
69885
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
69985
|
+
vue.createElementVNode("div", _hoisted_4$7, [
|
|
69886
69986
|
vue.createVNode(_sfc_main$1_, { label: { key: "bs.margin" } })
|
|
69887
69987
|
]),
|
|
69888
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
69988
|
+
vue.createElementVNode("div", _hoisted_5$4, [
|
|
69889
69989
|
vue.withDirectives(vue.createVNode(_sfc_main$1S, {
|
|
69890
69990
|
modelValue: _ctx.imageInfo.marginLeft,
|
|
69891
69991
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => _ctx.imageInfo.marginLeft = $event),
|
|
@@ -70059,8 +70159,8 @@ img.ProseMirror-separator {
|
|
|
70059
70159
|
const _hoisted_1$d = { class: "bs-layout-horizontal gap-8" };
|
|
70060
70160
|
const _hoisted_2$b = { class: "title" };
|
|
70061
70161
|
const _hoisted_3$9 = { class: "title" };
|
|
70062
|
-
const _hoisted_4$
|
|
70063
|
-
const _hoisted_5$
|
|
70162
|
+
const _hoisted_4$6 = { class: "title" };
|
|
70163
|
+
const _hoisted_5$3 = { class: "bs-layout-horizontal gap-2" };
|
|
70064
70164
|
const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
70065
70165
|
__name: "VideoProperties",
|
|
70066
70166
|
props: {
|
|
@@ -70175,10 +70275,10 @@ img.ProseMirror-separator {
|
|
|
70175
70275
|
])
|
|
70176
70276
|
]),
|
|
70177
70277
|
vue.createElementVNode("div", null, [
|
|
70178
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
70278
|
+
vue.createElementVNode("div", _hoisted_4$6, [
|
|
70179
70279
|
vue.createVNode(_sfc_main$1_, { label: { key: "bs.margin" } })
|
|
70180
70280
|
]),
|
|
70181
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
70281
|
+
vue.createElementVNode("div", _hoisted_5$3, [
|
|
70182
70282
|
vue.withDirectives(vue.createVNode(_sfc_main$1S, {
|
|
70183
70283
|
modelValue: _ctx.videoInfo.marginLeft,
|
|
70184
70284
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => _ctx.videoInfo.marginLeft = $event),
|
|
@@ -70483,9 +70583,34 @@ img.ProseMirror-separator {
|
|
|
70483
70583
|
marginBottom: componentUtil.numberToPixel(data.marginBottom)
|
|
70484
70584
|
};
|
|
70485
70585
|
};
|
|
70586
|
+
const setTableColumnWidth = (node, tablePos, colIndex, width, tr2) => {
|
|
70587
|
+
node.forEach((row, rowOffset) => {
|
|
70588
|
+
let col = 0;
|
|
70589
|
+
row.forEach((cell, cellOffset) => {
|
|
70590
|
+
const colspan = cell.attrs.colspan || 1;
|
|
70591
|
+
if (col <= colIndex && col + colspan > colIndex) {
|
|
70592
|
+
tr2.setNodeMarkup(
|
|
70593
|
+
tablePos + 1 + rowOffset + cellOffset,
|
|
70594
|
+
void 0,
|
|
70595
|
+
{
|
|
70596
|
+
...cell.attrs,
|
|
70597
|
+
width
|
|
70598
|
+
}
|
|
70599
|
+
);
|
|
70600
|
+
}
|
|
70601
|
+
col += colspan;
|
|
70602
|
+
});
|
|
70603
|
+
});
|
|
70604
|
+
};
|
|
70486
70605
|
const _hoisted_1$9 = { class: "title" };
|
|
70487
70606
|
const _hoisted_2$9 = { class: "title" };
|
|
70488
|
-
const _hoisted_3$7 = { class: "
|
|
70607
|
+
const _hoisted_3$7 = { class: "title" };
|
|
70608
|
+
const _hoisted_4$5 = { class: "bs-layout-horizontal gap-2" };
|
|
70609
|
+
const _hoisted_5$2 = { class: "title" };
|
|
70610
|
+
const _hoisted_6 = { class: "title" };
|
|
70611
|
+
const _hoisted_7 = { class: "py-2 pr-8" };
|
|
70612
|
+
const _hoisted_8 = { class: "pt-4" };
|
|
70613
|
+
const _hoisted_9 = { class: "bs-layout-horizontal justify-content-end gap-8" };
|
|
70489
70614
|
const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
70490
70615
|
__name: "TablePropertiesModal",
|
|
70491
70616
|
props: {
|
|
@@ -70495,6 +70620,7 @@ img.ProseMirror-separator {
|
|
|
70495
70620
|
const props = __props;
|
|
70496
70621
|
const disabled = vue.computed(() => !props.editor.isEditable);
|
|
70497
70622
|
const data = vue.ref();
|
|
70623
|
+
const columns = vue.ref([]);
|
|
70498
70624
|
vue.onMounted(() => {
|
|
70499
70625
|
const selection = props.editor.state.selection;
|
|
70500
70626
|
const { node } = findTableNode(selection, "table");
|
|
@@ -70502,20 +70628,41 @@ img.ProseMirror-separator {
|
|
|
70502
70628
|
data.value = {
|
|
70503
70629
|
...node.attrs
|
|
70504
70630
|
};
|
|
70631
|
+
if (node.firstChild && (node.firstChild.children.length || 0) > 0) {
|
|
70632
|
+
columns.value = node.firstChild.children.map((col) => ({
|
|
70633
|
+
width: col.attrs.width || void 0
|
|
70634
|
+
}));
|
|
70635
|
+
}
|
|
70505
70636
|
}
|
|
70506
70637
|
});
|
|
70638
|
+
const resetAllColumns = () => {
|
|
70639
|
+
var _a2;
|
|
70640
|
+
(_a2 = columns.value) == null ? void 0 : _a2.forEach((col) => {
|
|
70641
|
+
col.width = void 0;
|
|
70642
|
+
});
|
|
70643
|
+
};
|
|
70644
|
+
const alignItems = [
|
|
70645
|
+
{ value: "", caption: "", icon: "format_align_justify" },
|
|
70646
|
+
{ value: "start", caption: "", icon: "format_align_left", tooltip: { key: "bs.richtext.alignLeft" } },
|
|
70647
|
+
{ value: "center", caption: "", icon: "format_align_center", tooltip: { key: "bs.richtext.alignCenter" } },
|
|
70648
|
+
{ value: "end", caption: "", icon: "format_align_right", tooltip: { key: "bs.richtext.alignRight" } }
|
|
70649
|
+
];
|
|
70507
70650
|
const modalHandle = useModalHandle();
|
|
70508
70651
|
const form = vue.useTemplateRef("form");
|
|
70509
70652
|
const validator = formValidator({ element: form });
|
|
70510
70653
|
const save = async () => {
|
|
70511
70654
|
await validator.validate();
|
|
70512
70655
|
props.editor.chain().focus().command(({ tr: tr2 }) => {
|
|
70656
|
+
var _a2;
|
|
70513
70657
|
const { node, nodePos } = findTableNode(tr2.selection, "table");
|
|
70514
70658
|
if (node && nodePos && data.value) {
|
|
70515
70659
|
tr2.setNodeMarkup(nodePos - 1, null, {
|
|
70516
70660
|
...node.attrs,
|
|
70517
70661
|
...tableInfoNumberToPixel(data.value)
|
|
70518
70662
|
});
|
|
70663
|
+
(_a2 = columns.value) == null ? void 0 : _a2.forEach((column, index) => {
|
|
70664
|
+
setTableColumnWidth(node, nodePos, index, column.width, tr2);
|
|
70665
|
+
});
|
|
70519
70666
|
}
|
|
70520
70667
|
return true;
|
|
70521
70668
|
}).run();
|
|
@@ -70526,7 +70673,7 @@ img.ProseMirror-separator {
|
|
|
70526
70673
|
};
|
|
70527
70674
|
modalHandle.setDefaultStyle({
|
|
70528
70675
|
width: "500px",
|
|
70529
|
-
|
|
70676
|
+
maxHeight: "80%"
|
|
70530
70677
|
});
|
|
70531
70678
|
return (_ctx, _cache) => {
|
|
70532
70679
|
return vue.openBlock(), vue.createBlock(_sfc_main$u, { title: { key: "bs.richtext.table" } }, {
|
|
@@ -70548,7 +70695,7 @@ img.ProseMirror-separator {
|
|
|
70548
70695
|
disabled: disabled.value,
|
|
70549
70696
|
name: "width",
|
|
70550
70697
|
prefix: "W",
|
|
70551
|
-
width: "
|
|
70698
|
+
width: "120px"
|
|
70552
70699
|
}, null, 8, ["modelValue", "disabled"]), [
|
|
70553
70700
|
[
|
|
70554
70701
|
vue.unref(vT),
|
|
@@ -70557,14 +70704,14 @@ img.ProseMirror-separator {
|
|
|
70557
70704
|
{ title: true }
|
|
70558
70705
|
]
|
|
70559
70706
|
]),
|
|
70560
|
-
_cache[
|
|
70707
|
+
_cache[9] || (_cache[9] = vue.createTextVNode(" x ")),
|
|
70561
70708
|
vue.withDirectives(vue.createVNode(_sfc_main$1S, {
|
|
70562
70709
|
modelValue: data.value.height,
|
|
70563
70710
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => data.value.height = $event),
|
|
70564
70711
|
disabled: disabled.value,
|
|
70565
70712
|
name: "height",
|
|
70566
70713
|
prefix: "H",
|
|
70567
|
-
width: "
|
|
70714
|
+
width: "120px"
|
|
70568
70715
|
}, null, 8, ["modelValue", "disabled"]), [
|
|
70569
70716
|
[
|
|
70570
70717
|
vue.unref(vT),
|
|
@@ -70586,7 +70733,7 @@ img.ProseMirror-separator {
|
|
|
70586
70733
|
disabled: disabled.value,
|
|
70587
70734
|
name: "maxWidth",
|
|
70588
70735
|
prefix: "W",
|
|
70589
|
-
width: "
|
|
70736
|
+
width: "120px"
|
|
70590
70737
|
}, null, 8, ["modelValue", "disabled"]), [
|
|
70591
70738
|
[
|
|
70592
70739
|
vue.unref(vT),
|
|
@@ -70595,14 +70742,14 @@ img.ProseMirror-separator {
|
|
|
70595
70742
|
{ title: true }
|
|
70596
70743
|
]
|
|
70597
70744
|
]),
|
|
70598
|
-
_cache[
|
|
70745
|
+
_cache[10] || (_cache[10] = vue.createTextVNode(" x ")),
|
|
70599
70746
|
vue.withDirectives(vue.createVNode(_sfc_main$1S, {
|
|
70600
70747
|
modelValue: data.value.maxHeight,
|
|
70601
70748
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => data.value.maxHeight = $event),
|
|
70602
70749
|
disabled: disabled.value,
|
|
70603
70750
|
name: "maxHeight",
|
|
70604
70751
|
prefix: "H",
|
|
70605
|
-
width: "
|
|
70752
|
+
width: "120px"
|
|
70606
70753
|
}, null, 8, ["modelValue", "disabled"]), [
|
|
70607
70754
|
[
|
|
70608
70755
|
vue.unref(vT),
|
|
@@ -70612,11 +70759,133 @@ img.ProseMirror-separator {
|
|
|
70612
70759
|
]
|
|
70613
70760
|
])
|
|
70614
70761
|
])
|
|
70762
|
+
]),
|
|
70763
|
+
vue.createElementVNode("div", null, [
|
|
70764
|
+
vue.createElementVNode("div", _hoisted_3$7, [
|
|
70765
|
+
vue.createVNode(_sfc_main$1_, { label: { key: "bs.margin" } })
|
|
70766
|
+
]),
|
|
70767
|
+
vue.createElementVNode("div", _hoisted_4$5, [
|
|
70768
|
+
vue.withDirectives(vue.createVNode(_sfc_main$1S, {
|
|
70769
|
+
modelValue: data.value.marginLeft,
|
|
70770
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => data.value.marginLeft = $event),
|
|
70771
|
+
disabled: disabled.value,
|
|
70772
|
+
prefix: { type: "font-icon", value: "keyboard_arrow_left" },
|
|
70773
|
+
name: "marginLeft",
|
|
70774
|
+
width: "80px"
|
|
70775
|
+
}, null, 8, ["modelValue", "disabled"]), [
|
|
70776
|
+
[
|
|
70777
|
+
vue.unref(vT),
|
|
70778
|
+
{ key: "bs.left" },
|
|
70779
|
+
void 0,
|
|
70780
|
+
{ title: true }
|
|
70781
|
+
]
|
|
70782
|
+
]),
|
|
70783
|
+
vue.withDirectives(vue.createVNode(_sfc_main$1S, {
|
|
70784
|
+
modelValue: data.value.marginTop,
|
|
70785
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => data.value.marginTop = $event),
|
|
70786
|
+
disabled: disabled.value,
|
|
70787
|
+
prefix: { type: "font-icon", value: "keyboard_arrow_up" },
|
|
70788
|
+
name: "marginTop",
|
|
70789
|
+
width: "80px"
|
|
70790
|
+
}, null, 8, ["modelValue", "disabled"]), [
|
|
70791
|
+
[
|
|
70792
|
+
vue.unref(vT),
|
|
70793
|
+
{ key: "bs.top" },
|
|
70794
|
+
void 0,
|
|
70795
|
+
{ title: true }
|
|
70796
|
+
]
|
|
70797
|
+
]),
|
|
70798
|
+
vue.withDirectives(vue.createVNode(_sfc_main$1S, {
|
|
70799
|
+
modelValue: data.value.marginBottom,
|
|
70800
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => data.value.marginBottom = $event),
|
|
70801
|
+
disabled: disabled.value,
|
|
70802
|
+
prefix: { type: "font-icon", value: "keyboard_arrow_down" },
|
|
70803
|
+
name: "marginBottom",
|
|
70804
|
+
width: "80px"
|
|
70805
|
+
}, null, 8, ["modelValue", "disabled"]), [
|
|
70806
|
+
[
|
|
70807
|
+
vue.unref(vT),
|
|
70808
|
+
{ key: "bs.bottom" },
|
|
70809
|
+
void 0,
|
|
70810
|
+
{ title: true }
|
|
70811
|
+
]
|
|
70812
|
+
]),
|
|
70813
|
+
vue.withDirectives(vue.createVNode(_sfc_main$1S, {
|
|
70814
|
+
modelValue: data.value.marginRight,
|
|
70815
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => data.value.marginRight = $event),
|
|
70816
|
+
disabled: disabled.value,
|
|
70817
|
+
prefix: { type: "font-icon", value: "keyboard_arrow_right" },
|
|
70818
|
+
name: "marginRight",
|
|
70819
|
+
width: "80px"
|
|
70820
|
+
}, null, 8, ["modelValue", "disabled"]), [
|
|
70821
|
+
[
|
|
70822
|
+
vue.unref(vT),
|
|
70823
|
+
{ key: "bs.right" },
|
|
70824
|
+
void 0,
|
|
70825
|
+
{ title: true }
|
|
70826
|
+
]
|
|
70827
|
+
])
|
|
70828
|
+
])
|
|
70829
|
+
]),
|
|
70830
|
+
vue.createElementVNode("div", null, [
|
|
70831
|
+
vue.createElementVNode("div", _hoisted_5$2, [
|
|
70832
|
+
vue.createVNode(_sfc_main$1_, { label: { key: "bs.align" } })
|
|
70833
|
+
]),
|
|
70834
|
+
vue.createElementVNode("div", null, [
|
|
70835
|
+
vue.createVNode(_sfc_main$1B, {
|
|
70836
|
+
modelValue: data.value.tableAlign,
|
|
70837
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => data.value.tableAlign = $event),
|
|
70838
|
+
disabled: disabled.value,
|
|
70839
|
+
"icon-provider": (item) => item.icon,
|
|
70840
|
+
items: alignItems,
|
|
70841
|
+
"label-provider": (item) => item.caption,
|
|
70842
|
+
"tooltip-provider": (item) => item.tooltip,
|
|
70843
|
+
"value-provider": (item) => item.value,
|
|
70844
|
+
class: "button-group-style",
|
|
70845
|
+
name: "tableAlign"
|
|
70846
|
+
}, null, 8, ["modelValue", "disabled", "icon-provider", "label-provider", "tooltip-provider", "value-provider"])
|
|
70847
|
+
])
|
|
70848
|
+
]),
|
|
70849
|
+
vue.createElementVNode("div", null, [
|
|
70850
|
+
vue.createElementVNode("div", _hoisted_6, [
|
|
70851
|
+
vue.createVNode(_sfc_main$1_, { label: { key: "bs.richtext.tableColumnInfo" } })
|
|
70852
|
+
]),
|
|
70853
|
+
vue.createElementVNode("div", null, [
|
|
70854
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(columns.value, (column, index) => {
|
|
70855
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
70856
|
+
key: index,
|
|
70857
|
+
class: "mb-4"
|
|
70858
|
+
}, [
|
|
70859
|
+
vue.createElementVNode("span", _hoisted_7, vue.toDisplayString(index + 1) + ":", 1),
|
|
70860
|
+
vue.withDirectives(vue.createVNode(_sfc_main$1S, {
|
|
70861
|
+
modelValue: column.width,
|
|
70862
|
+
"onUpdate:modelValue": ($event) => column.width = $event,
|
|
70863
|
+
disabled: disabled.value,
|
|
70864
|
+
name: `columnWidth_${index}`,
|
|
70865
|
+
prefix: "W",
|
|
70866
|
+
width: "120px"
|
|
70867
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "name"]), [
|
|
70868
|
+
[
|
|
70869
|
+
vue.unref(vT),
|
|
70870
|
+
{ key: "bs.width" },
|
|
70871
|
+
void 0,
|
|
70872
|
+
{ title: true }
|
|
70873
|
+
]
|
|
70874
|
+
])
|
|
70875
|
+
]);
|
|
70876
|
+
}), 128)),
|
|
70877
|
+
vue.createElementVNode("div", _hoisted_8, [
|
|
70878
|
+
vue.createVNode(BSButton, {
|
|
70879
|
+
caption: { key: "bs.clearAll" },
|
|
70880
|
+
onClick: resetAllColumns
|
|
70881
|
+
})
|
|
70882
|
+
])
|
|
70883
|
+
])
|
|
70615
70884
|
])
|
|
70616
70885
|
], 512)) : vue.createCommentVNode("", true)
|
|
70617
70886
|
]),
|
|
70618
70887
|
buttons: vue.withCtx(() => [
|
|
70619
|
-
vue.createElementVNode("div",
|
|
70888
|
+
vue.createElementVNode("div", _hoisted_9, [
|
|
70620
70889
|
vue.createVNode(BSButton, {
|
|
70621
70890
|
caption: { key: "bs.ok" },
|
|
70622
70891
|
"button-color": "blue",
|
|
@@ -70995,7 +71264,7 @@ img.ProseMirror-separator {
|
|
|
70995
71264
|
setup(__props) {
|
|
70996
71265
|
const props = __props;
|
|
70997
71266
|
const disabled = vue.computed(() => !props.editor.isEditable);
|
|
70998
|
-
const data = vue.ref({ src: "", aspectRatio: "16/9" });
|
|
71267
|
+
const data = vue.ref({ src: "", aspectRatio: "16/9", width: "480px" });
|
|
70999
71268
|
const modalHandle = useModalHandle();
|
|
71000
71269
|
const insert2 = () => {
|
|
71001
71270
|
if (data.value.src) {
|