@bagelink/vue 1.4.22 → 1.4.28
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/components/Image.vue.d.ts +1 -0
- package/dist/components/Image.vue.d.ts.map +1 -1
- package/dist/components/Pill.vue.d.ts.map +1 -1
- package/dist/components/Slider.vue.d.ts.map +1 -1
- package/dist/components/dataTable/DataTable.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/index.vue.d.ts +1 -0
- package/dist/components/form/inputs/RichText/index.vue.d.ts.map +1 -1
- package/dist/index.cjs +144 -106
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +144 -106
- package/dist/plugins/modal.d.ts.map +1 -1
- package/dist/style.css +405 -125
- package/dist/types/BagelForm.d.ts +5 -1
- package/dist/types/BagelForm.d.ts.map +1 -1
- package/dist/utils/BagelFormUtils.d.ts +16 -10
- package/dist/utils/BagelFormUtils.d.ts.map +1 -1
- package/dist/utils/useSearch.d.ts.map +1 -1
- package/package.json +3 -4
- package/src/components/Image.vue +4 -3
- package/src/components/ListItem.vue +1 -1
- package/src/components/Pill.vue +0 -2
- package/src/components/Slider.vue +0 -11
- package/src/components/dataTable/DataTable.vue +7 -37
- package/src/components/form/inputs/RichText/index.vue +13 -5
- package/src/index.ts +2 -1
- package/src/plugins/modal.ts +1 -0
- package/src/styles/layout.css +195 -6
- package/src/styles/mobilLayout.css +199 -12
- package/src/types/BagelForm.ts +11 -1
- package/src/utils/BagelFormUtils.ts +31 -24
- package/src/utils/useSearch.ts +23 -11
package/dist/index.mjs
CHANGED
|
@@ -19,7 +19,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
19
19
|
});
|
|
20
20
|
const _hoisted_1$14 = ["aria-expanded", "aria-controls"];
|
|
21
21
|
const _hoisted_2$P = { class: "accordion-label" };
|
|
22
|
-
const _hoisted_3$
|
|
22
|
+
const _hoisted_3$G = ["id", "aria-hidden"];
|
|
23
23
|
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
24
24
|
__name: "AccordionItem",
|
|
25
25
|
props: {
|
|
@@ -104,7 +104,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
104
104
|
"aria-hidden": unref(isOpen) ? "false" : "true"
|
|
105
105
|
}, [
|
|
106
106
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
107
|
-
], 8, _hoisted_3$
|
|
107
|
+
], 8, _hoisted_3$G)) : createCommentVNode("", true)
|
|
108
108
|
]),
|
|
109
109
|
_: 3
|
|
110
110
|
})
|
|
@@ -1232,7 +1232,7 @@ function useVerticalVirtualList(options, list) {
|
|
|
1232
1232
|
}
|
|
1233
1233
|
const _hoisted_1$$ = ["src"];
|
|
1234
1234
|
const _hoisted_2$N = ["autoplay", "muted", "loop", "controls", "playsinline"];
|
|
1235
|
-
const _hoisted_3$
|
|
1235
|
+
const _hoisted_3$F = ["src", "type"];
|
|
1236
1236
|
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
1237
1237
|
__name: "BglVideo",
|
|
1238
1238
|
props: {
|
|
@@ -1351,7 +1351,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
1351
1351
|
createElementVNode("source", {
|
|
1352
1352
|
src: _ctx.src,
|
|
1353
1353
|
type: `video/${videoFormat.value}`
|
|
1354
|
-
}, null, 8, _hoisted_3$
|
|
1354
|
+
}, null, 8, _hoisted_3$F)
|
|
1355
1355
|
], 12, _hoisted_2$N)) : createCommentVNode("", true)
|
|
1356
1356
|
], 2);
|
|
1357
1357
|
};
|
|
@@ -1426,7 +1426,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
1426
1426
|
const CalendarPopover = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-6f51f6b3"]]);
|
|
1427
1427
|
const _hoisted_1$_ = { class: "agenda-view" };
|
|
1428
1428
|
const _hoisted_2$M = ["data-date", "onClick"];
|
|
1429
|
-
const _hoisted_3$
|
|
1429
|
+
const _hoisted_3$E = { class: "event-content" };
|
|
1430
1430
|
const _hoisted_4$r = { class: "event-time" };
|
|
1431
1431
|
const _hoisted_5$q = { class: "event-details" };
|
|
1432
1432
|
const _hoisted_6$m = { class: "event-title" };
|
|
@@ -1549,7 +1549,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
1549
1549
|
"data-date": event.start_time,
|
|
1550
1550
|
onClick: withModifiers(($event) => handleEventSelection(event, $event), ["stop"])
|
|
1551
1551
|
}, [
|
|
1552
|
-
createElementVNode("div", _hoisted_3$
|
|
1552
|
+
createElementVNode("div", _hoisted_3$E, [
|
|
1553
1553
|
createElementVNode("div", _hoisted_4$r, toDisplayString(unref(formatDate)(event.start_time, { fmt: "HH:mm" })), 1),
|
|
1554
1554
|
createElementVNode("div", _hoisted_5$q, [
|
|
1555
1555
|
createElementVNode("div", _hoisted_6$m, toDisplayString(event.title), 1),
|
|
@@ -1568,14 +1568,14 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
1568
1568
|
const AgendaView = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-1e2b483b"]]);
|
|
1569
1569
|
const _hoisted_1$Z = { class: "w-100p overflow-hidden m_overflow h-100p grid" };
|
|
1570
1570
|
const _hoisted_2$L = { class: "border-bottom me-1 txt-center p-05 dayGrid" };
|
|
1571
|
-
const _hoisted_3$
|
|
1571
|
+
const _hoisted_3$D = { class: "overflow h-100p pe-05" };
|
|
1572
1572
|
const _hoisted_4$q = { class: "time-column" };
|
|
1573
1573
|
const _hoisted_5$p = { class: "events-column" };
|
|
1574
1574
|
const _hoisted_6$l = ["onClick"];
|
|
1575
1575
|
const _hoisted_7$h = { class: "event-content" };
|
|
1576
1576
|
const _hoisted_8$b = { class: "white-space ellipsis-1" };
|
|
1577
1577
|
const _hoisted_9$8 = { class: "event-time opacity-8" };
|
|
1578
|
-
const _hoisted_10$
|
|
1578
|
+
const _hoisted_10$5 = { class: "color-primary txt-12 p-025" };
|
|
1579
1579
|
const slotHeight$1 = 60;
|
|
1580
1580
|
const slotDuration$1 = 60;
|
|
1581
1581
|
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
@@ -1717,7 +1717,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
1717
1717
|
_cache[0] || (_cache[0] = createElementVNode("div", null, null, -1)),
|
|
1718
1718
|
createElementVNode("div", null, toDisplayString(unref(formatDate)(_ctx.startDate)), 1)
|
|
1719
1719
|
]),
|
|
1720
|
-
createElementVNode("div", _hoisted_3$
|
|
1720
|
+
createElementVNode("div", _hoisted_3$D, [
|
|
1721
1721
|
createElementVNode("div", {
|
|
1722
1722
|
class: "time-slots dayGrid border-end relative",
|
|
1723
1723
|
onMousedown: handleMouseDown
|
|
@@ -1768,7 +1768,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
1768
1768
|
right: "10px"
|
|
1769
1769
|
})
|
|
1770
1770
|
}, [
|
|
1771
|
-
createElementVNode("div", _hoisted_10$
|
|
1771
|
+
createElementVNode("div", _hoisted_10$5, toDisplayString(dragState.value.startTime ? unref(formatDate)(dragState.value.startTime, { fmt: "HH:mm" }) : "") + " - " + toDisplayString(dragState.value.endTime ? unref(formatDate)(dragState.value.endTime, { fmt: "HH:mm" }) : ""), 1)
|
|
1772
1772
|
], 4)) : createCommentVNode("", true)
|
|
1773
1773
|
], 32)
|
|
1774
1774
|
]),
|
|
@@ -1780,7 +1780,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
1780
1780
|
const DayView = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-8b1a770f"]]);
|
|
1781
1781
|
const _hoisted_1$Y = { class: "month-view" };
|
|
1782
1782
|
const _hoisted_2$K = { class: "month-header" };
|
|
1783
|
-
const _hoisted_3$
|
|
1783
|
+
const _hoisted_3$C = { class: "month-grid" };
|
|
1784
1784
|
const _hoisted_4$p = { class: "day-number" };
|
|
1785
1785
|
const _hoisted_5$o = { class: "day-events" };
|
|
1786
1786
|
const _hoisted_6$k = {
|
|
@@ -1873,7 +1873,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
1873
1873
|
}, toDisplayString(day), 1);
|
|
1874
1874
|
}), 128))
|
|
1875
1875
|
]),
|
|
1876
|
-
createElementVNode("div", _hoisted_3$
|
|
1876
|
+
createElementVNode("div", _hoisted_3$C, [
|
|
1877
1877
|
(openBlock(true), createElementBlock(Fragment, null, renderList(currentMonth.value, (day) => {
|
|
1878
1878
|
return openBlock(), createElementBlock("div", {
|
|
1879
1879
|
key: day.date.toISOString(),
|
|
@@ -1909,7 +1909,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
1909
1909
|
const MonthView = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-0b1117c4"]]);
|
|
1910
1910
|
const _hoisted_1$X = { class: "w-100p overflow-hidden m_overflow h-100p grid" };
|
|
1911
1911
|
const _hoisted_2$J = { class: "overflow h-100p pe-05" };
|
|
1912
|
-
const _hoisted_3$
|
|
1912
|
+
const _hoisted_3$B = ["onMousedown"];
|
|
1913
1913
|
const _hoisted_4$o = ["onClick"];
|
|
1914
1914
|
const _hoisted_5$n = { class: "overflow-hidden color-white p-025 txt12 h-100p" };
|
|
1915
1915
|
const _hoisted_6$j = { class: "white-space ellipsis-1" };
|
|
@@ -2248,7 +2248,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
2248
2248
|
])
|
|
2249
2249
|
], 44, _hoisted_4$o);
|
|
2250
2250
|
}), 128))
|
|
2251
|
-
], 40, _hoisted_3$
|
|
2251
|
+
], 40, _hoisted_3$B);
|
|
2252
2252
|
}), 128)),
|
|
2253
2253
|
dragState.value.isDragging && dragState.value.start && dragState.value.end ? (openBlock(), createElementBlock("div", {
|
|
2254
2254
|
key: 1,
|
|
@@ -2272,7 +2272,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
2272
2272
|
const WeekView = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-2d5bca17"]]);
|
|
2273
2273
|
const _hoisted_1$W = { class: "calendar" };
|
|
2274
2274
|
const _hoisted_2$I = { class: "flex m_block m_pb-1" };
|
|
2275
|
-
const _hoisted_3$
|
|
2275
|
+
const _hoisted_3$A = { class: "txt-light my-0" };
|
|
2276
2276
|
const _hoisted_4$n = { class: "ms-auto flex gap-025" };
|
|
2277
2277
|
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
2278
2278
|
__name: "Index",
|
|
@@ -2368,7 +2368,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
2368
2368
|
return (_ctx, _cache) => {
|
|
2369
2369
|
return openBlock(), createElementBlock("div", _hoisted_1$W, [
|
|
2370
2370
|
createElementVNode("div", _hoisted_2$I, [
|
|
2371
|
-
createElementVNode("h3", _hoisted_3$
|
|
2371
|
+
createElementVNode("h3", _hoisted_3$A, [
|
|
2372
2372
|
createElementVNode("b", null, toDisplayString(unref(fmtDate)(currentDate.value, { fmt: "MMMM" })), 1),
|
|
2373
2373
|
createTextVNode(" " + toDisplayString(unref(fmtDate)(currentDate.value, { fmt: "YYYY" })), 1)
|
|
2374
2374
|
]),
|
|
@@ -2493,7 +2493,7 @@ const _hoisted_2$H = {
|
|
|
2493
2493
|
key: 0,
|
|
2494
2494
|
class: "dots"
|
|
2495
2495
|
};
|
|
2496
|
-
const _hoisted_3$
|
|
2496
|
+
const _hoisted_3$z = ["onClick"];
|
|
2497
2497
|
const GAP_PERCENT = 1;
|
|
2498
2498
|
const VELOCITY_SAMPLE_DURATION = 100;
|
|
2499
2499
|
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
@@ -2936,7 +2936,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
2936
2936
|
key: i2,
|
|
2937
2937
|
class: normalizeClass(["dot", { current: unref(activeSlideIndex) === i2 - 1 }]),
|
|
2938
2938
|
onClick: ($event) => goToSlide(i2 - 1)
|
|
2939
|
-
}, null, 10, _hoisted_3$
|
|
2939
|
+
}, null, 10, _hoisted_3$z);
|
|
2940
2940
|
}), 128))
|
|
2941
2941
|
])) : createCommentVNode("", true),
|
|
2942
2942
|
createElementVNode("div", {
|
|
@@ -8799,7 +8799,7 @@ const _hoisted_1$1$1 = {
|
|
|
8799
8799
|
style: { display: "flex", position: "relative" }
|
|
8800
8800
|
};
|
|
8801
8801
|
const _hoisted_2$1$1 = ["width", "height", "viewBox"];
|
|
8802
|
-
const _hoisted_3$
|
|
8802
|
+
const _hoisted_3$y = { class: "layer-rectangles" };
|
|
8803
8803
|
const _hoisted_4$m = ["transform", "onMouseover"];
|
|
8804
8804
|
const _hoisted_5$m = ["width", "height"];
|
|
8805
8805
|
const _hoisted_6$i = {
|
|
@@ -8817,7 +8817,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8817
8817
|
viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
|
|
8818
8818
|
ref: "el"
|
|
8819
8819
|
}, [
|
|
8820
|
-
createElementVNode("g", _hoisted_3$
|
|
8820
|
+
createElementVNode("g", _hoisted_3$y, [
|
|
8821
8821
|
(openBlock(true), createElementBlock(
|
|
8822
8822
|
Fragment,
|
|
8823
8823
|
null,
|
|
@@ -9527,19 +9527,15 @@ function useTableVirtualization(options) {
|
|
|
9527
9527
|
registerLastItemObserver
|
|
9528
9528
|
};
|
|
9529
9529
|
}
|
|
9530
|
-
const _hoisted_1$R = {
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
const
|
|
9535
|
-
const
|
|
9536
|
-
const
|
|
9537
|
-
const
|
|
9538
|
-
const
|
|
9539
|
-
const _hoisted_7$d = ["onClick"];
|
|
9540
|
-
const _hoisted_8$8 = { key: 0 };
|
|
9541
|
-
const _hoisted_9$6 = ["value"];
|
|
9542
|
-
const _hoisted_10$5 = { key: 1 };
|
|
9530
|
+
const _hoisted_1$R = { class: "infinite-wrapper" };
|
|
9531
|
+
const _hoisted_2$E = { class: "row first-row" };
|
|
9532
|
+
const _hoisted_3$x = { key: 0 };
|
|
9533
|
+
const _hoisted_4$l = ["onClick"];
|
|
9534
|
+
const _hoisted_5$l = { class: "flex" };
|
|
9535
|
+
const _hoisted_6$h = ["onClick"];
|
|
9536
|
+
const _hoisted_7$d = { key: 0 };
|
|
9537
|
+
const _hoisted_8$8 = ["value"];
|
|
9538
|
+
const _hoisted_9$6 = { key: 1 };
|
|
9543
9539
|
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
9544
9540
|
__name: "DataTable",
|
|
9545
9541
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -9560,7 +9556,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
9560
9556
|
emits: /* @__PURE__ */ mergeModels(["orderBy", "select", "lastItemVisible"], ["update:loading", "update:itemHeight", "update:selectedItems"]),
|
|
9561
9557
|
setup(__props, { emit: __emit }) {
|
|
9562
9558
|
useCssVars((_ctx) => ({
|
|
9563
|
-
"
|
|
9559
|
+
"70bc72ee": unref(computedItemHeight)
|
|
9564
9560
|
}));
|
|
9565
9561
|
const props2 = __props;
|
|
9566
9562
|
const emit2 = __emit;
|
|
@@ -9654,17 +9650,18 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
9654
9650
|
const showLoading = computed(() => loading.value);
|
|
9655
9651
|
return (_ctx, _cache) => {
|
|
9656
9652
|
return openBlock(), createElementBlock("div", mergeProps({ class: "table-list-wrap h-100" }, unref(containerProps), {
|
|
9657
|
-
class: {
|
|
9653
|
+
class: { overflowHiddenLoading: showLoading.value }
|
|
9658
9654
|
}), [
|
|
9659
|
-
showLoading.value ? (openBlock(),
|
|
9660
|
-
|
|
9661
|
-
|
|
9655
|
+
showLoading.value ? (openBlock(), createBlock(unref(Loading), {
|
|
9656
|
+
key: 0,
|
|
9657
|
+
class: "h100p"
|
|
9658
|
+
})) : createCommentVNode("", true),
|
|
9662
9659
|
createElementVNode("div", mergeProps(unref(wrapperProps), {
|
|
9663
9660
|
class: { "pointer-events-none": showLoading.value }
|
|
9664
9661
|
}), [
|
|
9665
|
-
createElementVNode("table",
|
|
9666
|
-
createElementVNode("thead",
|
|
9667
|
-
unref(isSelectable) ? (openBlock(), createElementBlock("th",
|
|
9662
|
+
createElementVNode("table", _hoisted_1$R, [
|
|
9663
|
+
createElementVNode("thead", _hoisted_2$E, [
|
|
9664
|
+
unref(isSelectable) ? (openBlock(), createElementBlock("th", _hoisted_3$x, [
|
|
9668
9665
|
createElementVNode("input", {
|
|
9669
9666
|
ref_key: "allSelectorEl",
|
|
9670
9667
|
ref: allSelectorEl,
|
|
@@ -9680,7 +9677,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
9680
9677
|
class: "col",
|
|
9681
9678
|
onClick: ($event) => unref(toggleSort)((field == null ? void 0 : field.id) || "")
|
|
9682
9679
|
}, [
|
|
9683
|
-
createElementVNode("div",
|
|
9680
|
+
createElementVNode("div", _hoisted_5$l, [
|
|
9684
9681
|
createTextVNode(toDisplayString(field.label || unref(keyToLabel)(field == null ? void 0 : field.id)) + " ", 1),
|
|
9685
9682
|
createElementVNode("div", {
|
|
9686
9683
|
class: normalizeClass(["list-arrows", { sorted: unref(sortField) === (field == null ? void 0 : field.id) }])
|
|
@@ -9691,7 +9688,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
9691
9688
|
}, null, 8, ["class"])
|
|
9692
9689
|
], 2)
|
|
9693
9690
|
])
|
|
9694
|
-
], 8,
|
|
9691
|
+
], 8, _hoisted_4$l);
|
|
9695
9692
|
}), 128))
|
|
9696
9693
|
]),
|
|
9697
9694
|
createElementVNode("tbody", null, [
|
|
@@ -9701,7 +9698,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
9701
9698
|
class: normalizeClass(["row row-item position-relative", { selected: (row == null ? void 0 : row.id) && unref(computedSelectedItems).includes(row.id) }]),
|
|
9702
9699
|
onClick: ($event) => unref(toggleSelectItem)(row)
|
|
9703
9700
|
}, [
|
|
9704
|
-
unref(isSelectable) ? (openBlock(), createElementBlock("td",
|
|
9701
|
+
unref(isSelectable) ? (openBlock(), createElementBlock("td", _hoisted_7$d, [
|
|
9705
9702
|
createElementVNode("div", {
|
|
9706
9703
|
onClick: _cache[3] || (_cache[3] = withModifiers(() => {
|
|
9707
9704
|
}, ["stop"]))
|
|
@@ -9710,7 +9707,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
9710
9707
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => selectedItems.value = $event),
|
|
9711
9708
|
type: "checkbox",
|
|
9712
9709
|
value: (row == null ? void 0 : row.id) || ""
|
|
9713
|
-
}, null, 8,
|
|
9710
|
+
}, null, 8, _hoisted_8$8), [
|
|
9714
9711
|
[vModelCheckbox, selectedItems.value]
|
|
9715
9712
|
])
|
|
9716
9713
|
])
|
|
@@ -9725,12 +9722,12 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
9725
9722
|
key: 0,
|
|
9726
9723
|
row,
|
|
9727
9724
|
field
|
|
9728
|
-
}, void 0, true) : (openBlock(), createElementBlock("div",
|
|
9725
|
+
}, void 0, true) : (openBlock(), createElementBlock("div", _hoisted_9$6, [
|
|
9729
9726
|
(openBlock(), createBlock(resolveDynamicComponent(renderFieldForRow(field, row))))
|
|
9730
9727
|
]))
|
|
9731
9728
|
]);
|
|
9732
9729
|
}), 128))
|
|
9733
|
-
], 10,
|
|
9730
|
+
], 10, _hoisted_6$h);
|
|
9734
9731
|
}), 128)),
|
|
9735
9732
|
props2.onLastItemVisible !== void 0 ? (openBlock(), createElementBlock("tr", {
|
|
9736
9733
|
key: 0,
|
|
@@ -9745,7 +9742,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
9745
9742
|
};
|
|
9746
9743
|
}
|
|
9747
9744
|
});
|
|
9748
|
-
const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-
|
|
9745
|
+
const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-6da6fbe2"]]);
|
|
9749
9746
|
function useDraggable(options = {}) {
|
|
9750
9747
|
const isDragging = ref(false);
|
|
9751
9748
|
const dragElement = ref(null);
|
|
@@ -13088,6 +13085,7 @@ function richText(id, label, options) {
|
|
|
13088
13085
|
vIf: options == null ? void 0 : options.vIf,
|
|
13089
13086
|
placeholder: options == null ? void 0 : options.placeholder,
|
|
13090
13087
|
attrs: {
|
|
13088
|
+
height: options == null ? void 0 : options.height,
|
|
13091
13089
|
autocomplete: options == null ? void 0 : options.autocomplete
|
|
13092
13090
|
}
|
|
13093
13091
|
};
|
|
@@ -13298,12 +13296,13 @@ function findBglFieldById(id, _schema) {
|
|
|
13298
13296
|
return void 0;
|
|
13299
13297
|
}
|
|
13300
13298
|
function arrField(id, label, schemaOrType, options) {
|
|
13301
|
-
const
|
|
13302
|
-
|
|
13303
|
-
|
|
13304
|
-
|
|
13305
|
-
|
|
13306
|
-
|
|
13299
|
+
const arraySpecificAttrs = typeof schemaOrType === "string" ? { type: schemaOrType } : { schema: schemaOrType };
|
|
13300
|
+
const attrs = {
|
|
13301
|
+
delete: true,
|
|
13302
|
+
add: true,
|
|
13303
|
+
...options,
|
|
13304
|
+
...arraySpecificAttrs
|
|
13305
|
+
};
|
|
13307
13306
|
return {
|
|
13308
13307
|
label,
|
|
13309
13308
|
id,
|
|
@@ -13320,6 +13319,7 @@ function useForm() {
|
|
|
13320
13319
|
checkField,
|
|
13321
13320
|
dateField,
|
|
13322
13321
|
numField,
|
|
13322
|
+
emailField,
|
|
13323
13323
|
frmRow,
|
|
13324
13324
|
uploadField,
|
|
13325
13325
|
rangeField,
|
|
@@ -13718,7 +13718,7 @@ const _hoisted_2$C = {
|
|
|
13718
13718
|
key: 0,
|
|
13719
13719
|
class: "bgl-step-progress"
|
|
13720
13720
|
};
|
|
13721
|
-
const _hoisted_3$
|
|
13721
|
+
const _hoisted_3$w = { class: "bgl-steps-indicator" };
|
|
13722
13722
|
const _hoisted_4$k = ["onClick"];
|
|
13723
13723
|
const _hoisted_5$k = {
|
|
13724
13724
|
key: 0,
|
|
@@ -13901,7 +13901,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
13901
13901
|
allowStepNavigation: props2.allowStepNavigation,
|
|
13902
13902
|
isStepValidated: isStepValidated.value
|
|
13903
13903
|
})), () => [
|
|
13904
|
-
createElementVNode("div", _hoisted_3$
|
|
13904
|
+
createElementVNode("div", _hoisted_3$w, [
|
|
13905
13905
|
(openBlock(true), createElementBlock(Fragment, null, renderList(numberOfSteps.value, (_2, index2) => {
|
|
13906
13906
|
return openBlock(), createElementBlock("div", {
|
|
13907
13907
|
key: index2,
|
|
@@ -13996,7 +13996,7 @@ const _hoisted_1$N = {
|
|
|
13996
13996
|
class: "label mb-05"
|
|
13997
13997
|
};
|
|
13998
13998
|
const _hoisted_2$B = { class: "ps-025 border-start mb-05" };
|
|
13999
|
-
const _hoisted_3$
|
|
13999
|
+
const _hoisted_3$v = {
|
|
14000
14000
|
key: 0,
|
|
14001
14001
|
class: "flex-center h-300px"
|
|
14002
14002
|
};
|
|
@@ -14098,7 +14098,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
14098
14098
|
}, [
|
|
14099
14099
|
_ctx.label ? (openBlock(), createElementBlock("p", _hoisted_1$N, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
14100
14100
|
createElementVNode("div", _hoisted_2$B, [
|
|
14101
|
-
schemaState.value !== "loaded" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
14101
|
+
schemaState.value !== "loaded" ? (openBlock(), createElementBlock("div", _hoisted_3$v, [
|
|
14102
14102
|
schemaState.value === "loading" ? (openBlock(), createBlock(unref(Loading), { key: 0 })) : schemaState.value === "error" ? (openBlock(), createBlock(unref(_sfc_main$v), {
|
|
14103
14103
|
key: 1,
|
|
14104
14104
|
icon: "error",
|
|
@@ -14185,7 +14185,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
14185
14185
|
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-73f1d9ad"]]);
|
|
14186
14186
|
const _hoisted_1$L = ["title"];
|
|
14187
14187
|
const _hoisted_2$A = ["id", "disabled", "value", "required"];
|
|
14188
|
-
const _hoisted_3$
|
|
14188
|
+
const _hoisted_3$u = ["for"];
|
|
14189
14189
|
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
14190
14190
|
__name: "CheckInput",
|
|
14191
14191
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -14230,7 +14230,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
14230
14230
|
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
14231
14231
|
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
14232
14232
|
], true)
|
|
14233
|
-
], 8, _hoisted_3$
|
|
14233
|
+
], 8, _hoisted_3$u)
|
|
14234
14234
|
], 10, _hoisted_1$L);
|
|
14235
14235
|
};
|
|
14236
14236
|
}
|
|
@@ -14294,7 +14294,7 @@ const _hoisted_1$K = {
|
|
|
14294
14294
|
class: "label"
|
|
14295
14295
|
};
|
|
14296
14296
|
const _hoisted_2$z = { class: "editor-content-papa relative" };
|
|
14297
|
-
const _hoisted_3$
|
|
14297
|
+
const _hoisted_3$t = {
|
|
14298
14298
|
class: "code-display",
|
|
14299
14299
|
wrap: ""
|
|
14300
14300
|
};
|
|
@@ -14369,7 +14369,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
14369
14369
|
class: "code-editor-grandpa"
|
|
14370
14370
|
}, [
|
|
14371
14371
|
createElementVNode("div", _hoisted_2$z, [
|
|
14372
|
-
createElementVNode("pre", _hoisted_3$
|
|
14372
|
+
createElementVNode("pre", _hoisted_3$t, [
|
|
14373
14373
|
createElementVNode("code", { innerHTML: formattedCode.value }, null, 8, _hoisted_4$i)
|
|
14374
14374
|
]),
|
|
14375
14375
|
!_ctx.readonly ? (openBlock(), createElementBlock("textarea", {
|
|
@@ -14392,7 +14392,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
14392
14392
|
const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-de01e351"]]);
|
|
14393
14393
|
const _hoisted_1$J = ["title"];
|
|
14394
14394
|
const _hoisted_2$y = { class: "flex bg-input rounded px-025 colorInputPickWrap" };
|
|
14395
|
-
const _hoisted_3$
|
|
14395
|
+
const _hoisted_3$s = ["id", "placeholder", "required"];
|
|
14396
14396
|
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
14397
14397
|
__name: "ColorInput",
|
|
14398
14398
|
props: {
|
|
@@ -14431,7 +14431,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
14431
14431
|
type: "color",
|
|
14432
14432
|
placeholder: _ctx.placeholder || _ctx.label,
|
|
14433
14433
|
required: _ctx.required
|
|
14434
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$
|
|
14434
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$s), [
|
|
14435
14435
|
[vModelText, inputVal.value]
|
|
14436
14436
|
]),
|
|
14437
14437
|
withDirectives(createElementVNode("input", {
|
|
@@ -14975,7 +14975,7 @@ class Time {
|
|
|
14975
14975
|
}
|
|
14976
14976
|
const _hoisted_1$I = { class: "ltr flex gap-075 m_flex-wrap calendar-container justify-content-center h-100p" };
|
|
14977
14977
|
const _hoisted_2$x = { class: "calendar-section m_border-none pe-05 m_p-0" };
|
|
14978
|
-
const _hoisted_3$
|
|
14978
|
+
const _hoisted_3$r = { class: "flex space-between pb-1" };
|
|
14979
14979
|
const _hoisted_4$h = { class: "flex gap-05" };
|
|
14980
14980
|
const _hoisted_5$h = { class: "month-year" };
|
|
14981
14981
|
const _hoisted_6$e = {
|
|
@@ -15231,7 +15231,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
15231
15231
|
return (_ctx, _cache) => {
|
|
15232
15232
|
return openBlock(), createElementBlock("div", _hoisted_1$I, [
|
|
15233
15233
|
createElementVNode("div", _hoisted_2$x, [
|
|
15234
|
-
createElementVNode("div", _hoisted_3$
|
|
15234
|
+
createElementVNode("div", _hoisted_3$r, [
|
|
15235
15235
|
currentView.value === "days" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
15236
15236
|
createVNode(unref(Btn), {
|
|
15237
15237
|
flat: "",
|
|
@@ -15363,7 +15363,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
15363
15363
|
const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-16646325"]]);
|
|
15364
15364
|
const _hoisted_1$H = ["title"];
|
|
15365
15365
|
const _hoisted_2$w = { key: 0 };
|
|
15366
|
-
const _hoisted_3$
|
|
15366
|
+
const _hoisted_3$q = {
|
|
15367
15367
|
key: 0,
|
|
15368
15368
|
class: "required"
|
|
15369
15369
|
};
|
|
@@ -15485,7 +15485,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
15485
15485
|
}, [
|
|
15486
15486
|
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$w, [
|
|
15487
15487
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
15488
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
15488
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$q, "*")) : createCommentVNode("", true)
|
|
15489
15489
|
])) : createCommentVNode("", true),
|
|
15490
15490
|
createVNode(unref(_sfc_main$Z), {
|
|
15491
15491
|
shown: isOpen.value,
|
|
@@ -15553,7 +15553,7 @@ const VIDEO_FORMATS_REGEXP = new RegExp(`(${VIDEO_FORMATS.join("|")})$`, "i");
|
|
|
15553
15553
|
const EMAIL_REGEX = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\])|(([a-z\-0-9]+\.)+[a-z]{2,}))$/i;
|
|
15554
15554
|
const _hoisted_1$G = ["title"];
|
|
15555
15555
|
const _hoisted_2$v = ["for"];
|
|
15556
|
-
const _hoisted_3$
|
|
15556
|
+
const _hoisted_3$p = { class: "flex" };
|
|
15557
15557
|
const _hoisted_4$g = { key: 0 };
|
|
15558
15558
|
const _hoisted_5$g = {
|
|
15559
15559
|
key: 1,
|
|
@@ -15828,7 +15828,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
15828
15828
|
title: _ctx.title
|
|
15829
15829
|
}, [
|
|
15830
15830
|
createElementVNode("label", { for: _ctx.id }, [
|
|
15831
|
-
createElementVNode("div", _hoisted_3$
|
|
15831
|
+
createElementVNode("div", _hoisted_3$p, [
|
|
15832
15832
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
15833
15833
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_4$g, "*")) : createCommentVNode("", true),
|
|
15834
15834
|
_ctx.helptext ? (openBlock(), createElementBlock("span", _hoisted_5$g, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true),
|
|
@@ -15878,7 +15878,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
15878
15878
|
const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-e3d13caa"]]);
|
|
15879
15879
|
const _hoisted_1$F = ["title"];
|
|
15880
15880
|
const _hoisted_2$u = { key: 0 };
|
|
15881
|
-
const _hoisted_3$
|
|
15881
|
+
const _hoisted_3$o = ["value", "placeholder"];
|
|
15882
15882
|
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
15883
15883
|
__name: "JSONInput",
|
|
15884
15884
|
props: {
|
|
@@ -15910,7 +15910,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
15910
15910
|
class: normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
15911
15911
|
placeholder: _ctx.placeholder,
|
|
15912
15912
|
onInput: handleInput
|
|
15913
|
-
}, null, 42, _hoisted_3$
|
|
15913
|
+
}, null, 42, _hoisted_3$o)
|
|
15914
15914
|
], 10, _hoisted_1$F);
|
|
15915
15915
|
};
|
|
15916
15916
|
}
|
|
@@ -15921,7 +15921,7 @@ const _hoisted_2$t = {
|
|
|
15921
15921
|
key: 0,
|
|
15922
15922
|
class: "block"
|
|
15923
15923
|
};
|
|
15924
|
-
const _hoisted_3$
|
|
15924
|
+
const _hoisted_3$n = ["id", "placeholder", "disabled", "required", "readonly", "pattern", "onKeydown"];
|
|
15925
15925
|
const _hoisted_4$f = {
|
|
15926
15926
|
key: 1,
|
|
15927
15927
|
class: "opacity-7 light"
|
|
@@ -16070,7 +16070,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
16070
16070
|
withKeys(withModifiers(increment, ["prevent"]), ["up"]),
|
|
16071
16071
|
withKeys(withModifiers(decrement, ["prevent"]), ["down"])
|
|
16072
16072
|
]
|
|
16073
|
-
}, null, 42, _hoisted_3$
|
|
16073
|
+
}, null, 42, _hoisted_3$n), [
|
|
16074
16074
|
[
|
|
16075
16075
|
vModelText,
|
|
16076
16076
|
unref(formattedValue),
|
|
@@ -16307,7 +16307,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
16307
16307
|
});
|
|
16308
16308
|
const _hoisted_1$B = ["for"];
|
|
16309
16309
|
const _hoisted_2$r = ["id", "disabled", "name", "value", "required"];
|
|
16310
|
-
const _hoisted_3$
|
|
16310
|
+
const _hoisted_3$m = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|
|
16311
16311
|
const _hoisted_4$e = ["src", "alt"];
|
|
16312
16312
|
const _hoisted_5$e = { class: "" };
|
|
16313
16313
|
const _hoisted_6$c = {
|
|
@@ -16382,7 +16382,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
16382
16382
|
}, null, 40, _hoisted_2$r), [
|
|
16383
16383
|
[vModelRadio, selectedOption.value]
|
|
16384
16384
|
]),
|
|
16385
|
-
createElementVNode("div", _hoisted_3$
|
|
16385
|
+
createElementVNode("div", _hoisted_3$m, [
|
|
16386
16386
|
opt.imgSrc ? (openBlock(), createElementBlock("img", {
|
|
16387
16387
|
key: 0,
|
|
16388
16388
|
class: "bg-popup shadow-light py-025 radius-05 m_w40",
|
|
@@ -16413,7 +16413,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
16413
16413
|
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-adc49780"]]);
|
|
16414
16414
|
const _hoisted_1$A = { class: "bagel-input" };
|
|
16415
16415
|
const _hoisted_2$q = { class: "pb-025" };
|
|
16416
|
-
const _hoisted_3$
|
|
16416
|
+
const _hoisted_3$l = { class: "flex gap-05 flex-wrap" };
|
|
16417
16417
|
const _hoisted_4$d = ["id", "name", "value", "checked"];
|
|
16418
16418
|
const _hoisted_5$d = ["for"];
|
|
16419
16419
|
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
@@ -16461,7 +16461,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
16461
16461
|
return (_ctx, _cache) => {
|
|
16462
16462
|
return openBlock(), createElementBlock("div", _hoisted_1$A, [
|
|
16463
16463
|
createElementVNode("label", _hoisted_2$q, toDisplayString(_ctx.label), 1),
|
|
16464
|
-
createElementVNode("div", _hoisted_3$
|
|
16464
|
+
createElementVNode("div", _hoisted_3$l, [
|
|
16465
16465
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option2, index2) => {
|
|
16466
16466
|
return openBlock(), createElementBlock("div", {
|
|
16467
16467
|
key: index2,
|
|
@@ -16491,7 +16491,7 @@ const _hoisted_2$p = {
|
|
|
16491
16491
|
key: 0,
|
|
16492
16492
|
class: "label"
|
|
16493
16493
|
};
|
|
16494
|
-
const _hoisted_3$
|
|
16494
|
+
const _hoisted_3$k = { class: "range-slider relative w-100" };
|
|
16495
16495
|
const _hoisted_4$c = ["id", "value", "min", "max", "step", "required", "disabled", "aria-label"];
|
|
16496
16496
|
const _hoisted_5$c = ["value", "min", "max", "step", "required", "disabled"];
|
|
16497
16497
|
const _hoisted_6$b = { class: "track absolute pointer-events-none overflow-hidden round" };
|
|
@@ -16561,7 +16561,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
16561
16561
|
dir: _ctx.rtl ? "rtl" : "ltr"
|
|
16562
16562
|
}, [
|
|
16563
16563
|
props2.label ? (openBlock(), createElementBlock("label", _hoisted_2$p, toDisplayString(props2.label), 1)) : createCommentVNode("", true),
|
|
16564
|
-
createElementVNode("div", _hoisted_3$
|
|
16564
|
+
createElementVNode("div", _hoisted_3$k, [
|
|
16565
16565
|
createElementVNode("input", {
|
|
16566
16566
|
id: _ctx.id,
|
|
16567
16567
|
value: validFrom.value,
|
|
@@ -16724,7 +16724,7 @@ const toolbarOptions = [
|
|
|
16724
16724
|
];
|
|
16725
16725
|
const _hoisted_1$y = { class: "grid grid-wrap p-05" };
|
|
16726
16726
|
const _hoisted_2$o = ["onMousemove", "onClick"];
|
|
16727
|
-
const _hoisted_3$
|
|
16727
|
+
const _hoisted_3$j = { class: "txt-center txt-12 color-gray" };
|
|
16728
16728
|
const fb = 1;
|
|
16729
16729
|
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
16730
16730
|
__name: "gridBox",
|
|
@@ -16778,7 +16778,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
16778
16778
|
}), 128))
|
|
16779
16779
|
], 32);
|
|
16780
16780
|
}), 128)),
|
|
16781
|
-
createElementVNode("p", _hoisted_3$
|
|
16781
|
+
createElementVNode("p", _hoisted_3$j, toDisplayString(hoveredRow.value) + "x" + toDisplayString(hoveredCol.value), 1)
|
|
16782
16782
|
]);
|
|
16783
16783
|
};
|
|
16784
16784
|
}
|
|
@@ -18416,8 +18416,7 @@ function isNodeEmpty(node) {
|
|
|
18416
18416
|
return brElements.length === 1 && node.childNodes.length <= 2;
|
|
18417
18417
|
}
|
|
18418
18418
|
const _hoisted_1$w = { class: "bagel-input" };
|
|
18419
|
-
const _hoisted_2$n = {
|
|
18420
|
-
const _hoisted_3$j = {
|
|
18419
|
+
const _hoisted_2$n = {
|
|
18421
18420
|
key: 1,
|
|
18422
18421
|
class: "flex"
|
|
18423
18422
|
};
|
|
@@ -18427,7 +18426,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
18427
18426
|
modelValue: {},
|
|
18428
18427
|
toolbarConfig: {},
|
|
18429
18428
|
debug: { type: Boolean },
|
|
18430
|
-
label: {}
|
|
18429
|
+
label: {},
|
|
18430
|
+
height: {}
|
|
18431
18431
|
},
|
|
18432
18432
|
emits: ["update:modelValue"],
|
|
18433
18433
|
setup(__props, { emit: __emit }) {
|
|
@@ -18444,6 +18444,14 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
18444
18444
|
const commands = useCommands(editor.state, editor.state.debug);
|
|
18445
18445
|
const debugMethods = computed(() => editor.state.debug);
|
|
18446
18446
|
const hasRTL = computed(() => /[\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC]/.test(props2.modelValue));
|
|
18447
|
+
const editorHeight = computed(() => {
|
|
18448
|
+
if (typeof props2.height === "number") {
|
|
18449
|
+
return `${props2.height}px`;
|
|
18450
|
+
} else if (typeof props2.height === "string") {
|
|
18451
|
+
return props2.height;
|
|
18452
|
+
}
|
|
18453
|
+
return "240px";
|
|
18454
|
+
});
|
|
18447
18455
|
onUnmounted(() => {
|
|
18448
18456
|
editor.cleanup();
|
|
18449
18457
|
});
|
|
@@ -18556,7 +18564,10 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
18556
18564
|
createElementVNode("div", {
|
|
18557
18565
|
class: normalizeClass(["editor-container", { "split-view": unref(editor).state.isSplitView }])
|
|
18558
18566
|
}, [
|
|
18559
|
-
createElementVNode("div",
|
|
18567
|
+
createElementVNode("div", {
|
|
18568
|
+
class: "content-area radius-05",
|
|
18569
|
+
style: normalizeStyle({ height: unref(editor).state.isFullscreen ? "calc(100vh - 4rem)" : editorHeight.value })
|
|
18570
|
+
}, [
|
|
18560
18571
|
createElementVNode("iframe", {
|
|
18561
18572
|
id: "rich-text-iframe",
|
|
18562
18573
|
ref_key: "iframe",
|
|
@@ -18567,7 +18578,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
18567
18578
|
sandbox: "allow-same-origin allow-forms allow-modals allow-orientation-lock allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-presentation allow-scripts allow-top-navigation allow-top-navigation-by-user-activation",
|
|
18568
18579
|
onLoad: initEditor
|
|
18569
18580
|
}, null, 544)
|
|
18570
|
-
]),
|
|
18581
|
+
], 4),
|
|
18571
18582
|
unref(editor).state.isSplitView ? (openBlock(), createBlock(unref(CodeEditor), {
|
|
18572
18583
|
key: 0,
|
|
18573
18584
|
modelValue: unref(editor).state.content,
|
|
@@ -18576,10 +18587,10 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
18576
18587
|
_cache[1] || (_cache[1] = ($event) => unref(editor).updateState.content("html"))
|
|
18577
18588
|
],
|
|
18578
18589
|
language: "html",
|
|
18579
|
-
height: unref(editor).state.isFullscreen ? "calc(100vh - 4rem)" :
|
|
18590
|
+
height: unref(editor).state.isFullscreen ? "calc(100vh - 4rem)" : editorHeight.value
|
|
18580
18591
|
}, null, 8, ["modelValue", "height"])) : createCommentVNode("", true)
|
|
18581
18592
|
], 2),
|
|
18582
|
-
_ctx.debug ? (openBlock(), createElementBlock("div",
|
|
18593
|
+
_ctx.debug ? (openBlock(), createElementBlock("div", _hoisted_2$n, [
|
|
18583
18594
|
_cache[6] || (_cache[6] = createElementVNode("p", { class: "text12 txt-gray mb-0 p-0" }, " Debug ", -1)),
|
|
18584
18595
|
createVNode(unref(Btn), {
|
|
18585
18596
|
thin: "",
|
|
@@ -18623,7 +18634,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
18623
18634
|
};
|
|
18624
18635
|
}
|
|
18625
18636
|
});
|
|
18626
|
-
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-
|
|
18637
|
+
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-8304a538"]]);
|
|
18627
18638
|
const _hoisted_1$v = { key: 0 };
|
|
18628
18639
|
const _hoisted_2$m = { class: "flex gap-05" };
|
|
18629
18640
|
const _hoisted_3$i = ["disabled"];
|
|
@@ -32371,15 +32382,16 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
32371
32382
|
alt: {},
|
|
32372
32383
|
width: {},
|
|
32373
32384
|
height: {},
|
|
32374
|
-
caption: {}
|
|
32385
|
+
caption: {},
|
|
32386
|
+
modelValue: {}
|
|
32375
32387
|
},
|
|
32376
32388
|
setup(__props) {
|
|
32377
32389
|
const props2 = __props;
|
|
32378
32390
|
let imageSrc = ref(void 0);
|
|
32379
32391
|
let loadingError = ref(false);
|
|
32380
32392
|
function getImageUrl() {
|
|
32381
|
-
if (!props2.src && !props2.pathKey) return;
|
|
32382
|
-
return pathKeyToURL(props2.src || props2.pathKey);
|
|
32393
|
+
if (!props2.src && !props2.pathKey && !props2.modelValue) return;
|
|
32394
|
+
return pathKeyToURL(props2.src || props2.pathKey || props2.modelValue);
|
|
32383
32395
|
}
|
|
32384
32396
|
async function getCachedImage(url) {
|
|
32385
32397
|
if (!("caches" in window)) return void 0;
|
|
@@ -32437,7 +32449,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
32437
32449
|
imageSrc.value = void 0;
|
|
32438
32450
|
}
|
|
32439
32451
|
}
|
|
32440
|
-
watch(() => [props2.src, props2.pathKey], loadImage, { immediate: true });
|
|
32452
|
+
watch(() => [props2.src, props2.pathKey, props2.modelValue], loadImage, { immediate: true });
|
|
32441
32453
|
return (_ctx, _cache) => {
|
|
32442
32454
|
return _ctx.caption ? (openBlock(), createElementBlock("figcaption", _hoisted_1$n, [
|
|
32443
32455
|
unref(imageSrc) ? (openBlock(), createElementBlock("img", mergeProps({
|
|
@@ -32478,7 +32490,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
32478
32490
|
};
|
|
32479
32491
|
}
|
|
32480
32492
|
});
|
|
32481
|
-
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-
|
|
32493
|
+
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-eed047eb"]]);
|
|
32482
32494
|
const _hoisted_1$m = ["textContent"];
|
|
32483
32495
|
const _hoisted_2$e = {
|
|
32484
32496
|
key: 0,
|
|
@@ -35549,8 +35561,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
35549
35561
|
},
|
|
35550
35562
|
setup(__props) {
|
|
35551
35563
|
useCssVars((_ctx) => ({
|
|
35552
|
-
"
|
|
35553
|
-
"
|
|
35564
|
+
"80c2f0ae": computedBackgroundColor.value,
|
|
35565
|
+
"0e0f2144": cumputedTextColor.value
|
|
35554
35566
|
}));
|
|
35555
35567
|
const props2 = __props;
|
|
35556
35568
|
const slots = useSlots();
|
|
@@ -35626,7 +35638,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
35626
35638
|
style: { "font-size": "var(--pill-font-size)" }
|
|
35627
35639
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
35628
35640
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
35629
|
-
!unref(slots).default ? (openBlock(), createElementBlock("p", _hoisted_6$3, toDisplayString(
|
|
35641
|
+
!unref(slots).default ? (openBlock(), createElementBlock("p", _hoisted_6$3, toDisplayString(unref(slots).default ? unref(slots).default : _ctx.value || _ctx.modelValue), 1)) : createCommentVNode("", true),
|
|
35630
35642
|
_ctx.iconEnd ? (openBlock(), createBlock(unref(_sfc_main$v), {
|
|
35631
35643
|
key: 4,
|
|
35632
35644
|
icon: _ctx.iconEnd,
|
|
@@ -35647,7 +35659,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
35647
35659
|
};
|
|
35648
35660
|
}
|
|
35649
35661
|
});
|
|
35650
|
-
const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
35662
|
+
const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-56ad3910"]]);
|
|
35651
35663
|
const _sfc_main$8 = {};
|
|
35652
35664
|
function _sfc_render$2(_ctx, _cache) {
|
|
35653
35665
|
const _component_router_view = resolveComponent("router-view");
|
|
@@ -35773,7 +35785,6 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
35773
35785
|
if (!innerElements.value.length) return 0;
|
|
35774
35786
|
return config.value.loop ? innerElements.value.length : Math.ceil(innerElements.value.length - perPage.value + 1);
|
|
35775
35787
|
});
|
|
35776
|
-
ref(false);
|
|
35777
35788
|
const slotObserver = ref(null);
|
|
35778
35789
|
const isMounted = ref(false);
|
|
35779
35790
|
const slotContainer = ref(null);
|
|
@@ -36523,12 +36534,10 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
36523
36534
|
}
|
|
36524
36535
|
const slotElements = Array.from(slotContainer.value.children).map((el) => el.cloneNode(true));
|
|
36525
36536
|
if (slotElements.length > 0 || innerElements.value.length > 0 && emptyRebuildAttempts.value === 0) {
|
|
36526
|
-
const previousCount = innerElements.value.length;
|
|
36527
36537
|
innerElements.value = slotElements;
|
|
36528
36538
|
if (currentSlide.value >= innerElements.value.length) {
|
|
36529
36539
|
currentSlide.value = Math.max(0, innerElements.value.length - 1);
|
|
36530
36540
|
}
|
|
36531
|
-
const isInitialPopulation = previousCount === 0 && slotElements.length > 0;
|
|
36532
36541
|
const wasAutoplay = config.value.autoplay !== "disabled";
|
|
36533
36542
|
if (wasAutoplay) {
|
|
36534
36543
|
stopAutoplay();
|
|
@@ -36610,7 +36619,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
36610
36619
|
};
|
|
36611
36620
|
}
|
|
36612
36621
|
});
|
|
36613
|
-
const Slider = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
36622
|
+
const Slider = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-fa8183f4"]]);
|
|
36614
36623
|
const _hoisted_1$4 = { class: "stickyTop" };
|
|
36615
36624
|
const _hoisted_2$2 = {
|
|
36616
36625
|
key: 0,
|
|
@@ -39699,14 +39708,26 @@ function formatDate(date2, opts = {}) {
|
|
|
39699
39708
|
}
|
|
39700
39709
|
}
|
|
39701
39710
|
const fmtDate = formatDate;
|
|
39711
|
+
const htmlReplacers = {
|
|
39712
|
+
"": /<[^>]*>?/g,
|
|
39713
|
+
" ": / /g,
|
|
39714
|
+
'"': /"/g,
|
|
39715
|
+
"'": /'/g,
|
|
39716
|
+
"&": /&/g,
|
|
39717
|
+
"<": /</g,
|
|
39718
|
+
">": />/g
|
|
39719
|
+
};
|
|
39702
39720
|
function clearHtml(value) {
|
|
39703
39721
|
if (!value) return "";
|
|
39704
|
-
return
|
|
39722
|
+
return Object.entries(htmlReplacers).reduce(
|
|
39723
|
+
(text, [replacement, regex2]) => text.replace(regex2, replacement),
|
|
39724
|
+
value
|
|
39725
|
+
);
|
|
39705
39726
|
}
|
|
39727
|
+
const normalizeSearchChars = /[\p{N}\p{L}\s]/gu;
|
|
39706
39728
|
function normalizeText(text) {
|
|
39707
39729
|
var _a;
|
|
39708
|
-
|
|
39709
|
-
return ((_a = text.match(searchChars)) == null ? void 0 : _a.join("").toLowerCase()) ?? "";
|
|
39730
|
+
return ((_a = text.match(normalizeSearchChars)) == null ? void 0 : _a.join("").toLowerCase()) ?? "";
|
|
39710
39731
|
}
|
|
39711
39732
|
function getValueByPath(obj, path) {
|
|
39712
39733
|
const keys4 = path.split(".");
|
|
@@ -40006,18 +40027,27 @@ export {
|
|
|
40006
40027
|
allCountries,
|
|
40007
40028
|
appendScript,
|
|
40008
40029
|
appendStyle,
|
|
40030
|
+
arrField,
|
|
40009
40031
|
BagelFormUtils as bagelFormUtils,
|
|
40010
40032
|
bagelInjectionKey,
|
|
40033
|
+
bglForm,
|
|
40011
40034
|
bindAttrs,
|
|
40035
|
+
checkField,
|
|
40012
40036
|
classify,
|
|
40013
40037
|
clearHtml,
|
|
40038
|
+
colorField,
|
|
40014
40039
|
copyText,
|
|
40040
|
+
dateField,
|
|
40015
40041
|
debounce,
|
|
40016
40042
|
denullify,
|
|
40017
40043
|
downloadFile,
|
|
40044
|
+
emailField,
|
|
40045
|
+
findBglFieldById,
|
|
40018
40046
|
fmtDate,
|
|
40019
40047
|
formatDate,
|
|
40020
40048
|
formatString,
|
|
40049
|
+
frmRow,
|
|
40050
|
+
getBaseField,
|
|
40021
40051
|
getDatePartsMap,
|
|
40022
40052
|
getFallbackSchema,
|
|
40023
40053
|
getNestedValue,
|
|
@@ -40031,13 +40061,21 @@ export {
|
|
|
40031
40061
|
normalizeDimension,
|
|
40032
40062
|
normalizeText,
|
|
40033
40063
|
normalizeURL,
|
|
40064
|
+
numField,
|
|
40034
40065
|
pathKeyToURL,
|
|
40035
40066
|
provideBagelFormState,
|
|
40067
|
+
rangeField,
|
|
40068
|
+
richText,
|
|
40036
40069
|
searchItems,
|
|
40070
|
+
selectField,
|
|
40071
|
+
slctField,
|
|
40037
40072
|
sleep,
|
|
40038
40073
|
slugify,
|
|
40074
|
+
telField,
|
|
40039
40075
|
timeAgo,
|
|
40040
40076
|
timeDelta,
|
|
40077
|
+
txtField,
|
|
40078
|
+
uploadField,
|
|
40041
40079
|
useBagel,
|
|
40042
40080
|
useBagelFormState,
|
|
40043
40081
|
useBglSchema,
|