@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.cjs
CHANGED
|
@@ -21,7 +21,7 @@ const _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
|
|
|
21
21
|
});
|
|
22
22
|
const _hoisted_1$14 = ["aria-expanded", "aria-controls"];
|
|
23
23
|
const _hoisted_2$P = { class: "accordion-label" };
|
|
24
|
-
const _hoisted_3$
|
|
24
|
+
const _hoisted_3$G = ["id", "aria-hidden"];
|
|
25
25
|
const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
|
|
26
26
|
__name: "AccordionItem",
|
|
27
27
|
props: {
|
|
@@ -106,7 +106,7 @@ const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
|
|
|
106
106
|
"aria-hidden": vue.unref(isOpen) ? "false" : "true"
|
|
107
107
|
}, [
|
|
108
108
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
109
|
-
], 8, _hoisted_3$
|
|
109
|
+
], 8, _hoisted_3$G)) : vue.createCommentVNode("", true)
|
|
110
110
|
]),
|
|
111
111
|
_: 3
|
|
112
112
|
})
|
|
@@ -1234,7 +1234,7 @@ function useVerticalVirtualList(options, list) {
|
|
|
1234
1234
|
}
|
|
1235
1235
|
const _hoisted_1$$ = ["src"];
|
|
1236
1236
|
const _hoisted_2$N = ["autoplay", "muted", "loop", "controls", "playsinline"];
|
|
1237
|
-
const _hoisted_3$
|
|
1237
|
+
const _hoisted_3$F = ["src", "type"];
|
|
1238
1238
|
const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
1239
1239
|
__name: "BglVideo",
|
|
1240
1240
|
props: {
|
|
@@ -1353,7 +1353,7 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
|
1353
1353
|
vue.createElementVNode("source", {
|
|
1354
1354
|
src: _ctx.src,
|
|
1355
1355
|
type: `video/${videoFormat.value}`
|
|
1356
|
-
}, null, 8, _hoisted_3$
|
|
1356
|
+
}, null, 8, _hoisted_3$F)
|
|
1357
1357
|
], 12, _hoisted_2$N)) : vue.createCommentVNode("", true)
|
|
1358
1358
|
], 2);
|
|
1359
1359
|
};
|
|
@@ -1428,7 +1428,7 @@ const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
|
|
|
1428
1428
|
const CalendarPopover = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-6f51f6b3"]]);
|
|
1429
1429
|
const _hoisted_1$_ = { class: "agenda-view" };
|
|
1430
1430
|
const _hoisted_2$M = ["data-date", "onClick"];
|
|
1431
|
-
const _hoisted_3$
|
|
1431
|
+
const _hoisted_3$E = { class: "event-content" };
|
|
1432
1432
|
const _hoisted_4$r = { class: "event-time" };
|
|
1433
1433
|
const _hoisted_5$q = { class: "event-details" };
|
|
1434
1434
|
const _hoisted_6$m = { class: "event-title" };
|
|
@@ -1551,7 +1551,7 @@ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1551
1551
|
"data-date": event.start_time,
|
|
1552
1552
|
onClick: vue.withModifiers(($event) => handleEventSelection(event, $event), ["stop"])
|
|
1553
1553
|
}, [
|
|
1554
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
1554
|
+
vue.createElementVNode("div", _hoisted_3$E, [
|
|
1555
1555
|
vue.createElementVNode("div", _hoisted_4$r, vue.toDisplayString(vue.unref(formatDate)(event.start_time, { fmt: "HH:mm" })), 1),
|
|
1556
1556
|
vue.createElementVNode("div", _hoisted_5$q, [
|
|
1557
1557
|
vue.createElementVNode("div", _hoisted_6$m, vue.toDisplayString(event.title), 1),
|
|
@@ -1570,14 +1570,14 @@ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1570
1570
|
const AgendaView = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-1e2b483b"]]);
|
|
1571
1571
|
const _hoisted_1$Z = { class: "w-100p overflow-hidden m_overflow h-100p grid" };
|
|
1572
1572
|
const _hoisted_2$L = { class: "border-bottom me-1 txt-center p-05 dayGrid" };
|
|
1573
|
-
const _hoisted_3$
|
|
1573
|
+
const _hoisted_3$D = { class: "overflow h-100p pe-05" };
|
|
1574
1574
|
const _hoisted_4$q = { class: "time-column" };
|
|
1575
1575
|
const _hoisted_5$p = { class: "events-column" };
|
|
1576
1576
|
const _hoisted_6$l = ["onClick"];
|
|
1577
1577
|
const _hoisted_7$h = { class: "event-content" };
|
|
1578
1578
|
const _hoisted_8$b = { class: "white-space ellipsis-1" };
|
|
1579
1579
|
const _hoisted_9$8 = { class: "event-time opacity-8" };
|
|
1580
|
-
const _hoisted_10$
|
|
1580
|
+
const _hoisted_10$5 = { class: "color-primary txt-12 p-025" };
|
|
1581
1581
|
const slotHeight$1 = 60;
|
|
1582
1582
|
const slotDuration$1 = 60;
|
|
1583
1583
|
const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -1719,7 +1719,7 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1719
1719
|
_cache[0] || (_cache[0] = vue.createElementVNode("div", null, null, -1)),
|
|
1720
1720
|
vue.createElementVNode("div", null, vue.toDisplayString(vue.unref(formatDate)(_ctx.startDate)), 1)
|
|
1721
1721
|
]),
|
|
1722
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
1722
|
+
vue.createElementVNode("div", _hoisted_3$D, [
|
|
1723
1723
|
vue.createElementVNode("div", {
|
|
1724
1724
|
class: "time-slots dayGrid border-end relative",
|
|
1725
1725
|
onMousedown: handleMouseDown
|
|
@@ -1770,7 +1770,7 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1770
1770
|
right: "10px"
|
|
1771
1771
|
})
|
|
1772
1772
|
}, [
|
|
1773
|
-
vue.createElementVNode("div", _hoisted_10$
|
|
1773
|
+
vue.createElementVNode("div", _hoisted_10$5, vue.toDisplayString(dragState.value.startTime ? vue.unref(formatDate)(dragState.value.startTime, { fmt: "HH:mm" }) : "") + " - " + vue.toDisplayString(dragState.value.endTime ? vue.unref(formatDate)(dragState.value.endTime, { fmt: "HH:mm" }) : ""), 1)
|
|
1774
1774
|
], 4)) : vue.createCommentVNode("", true)
|
|
1775
1775
|
], 32)
|
|
1776
1776
|
]),
|
|
@@ -1782,7 +1782,7 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1782
1782
|
const DayView = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-8b1a770f"]]);
|
|
1783
1783
|
const _hoisted_1$Y = { class: "month-view" };
|
|
1784
1784
|
const _hoisted_2$K = { class: "month-header" };
|
|
1785
|
-
const _hoisted_3$
|
|
1785
|
+
const _hoisted_3$C = { class: "month-grid" };
|
|
1786
1786
|
const _hoisted_4$p = { class: "day-number" };
|
|
1787
1787
|
const _hoisted_5$o = { class: "day-events" };
|
|
1788
1788
|
const _hoisted_6$k = {
|
|
@@ -1875,7 +1875,7 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1875
1875
|
}, vue.toDisplayString(day), 1);
|
|
1876
1876
|
}), 128))
|
|
1877
1877
|
]),
|
|
1878
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
1878
|
+
vue.createElementVNode("div", _hoisted_3$C, [
|
|
1879
1879
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(currentMonth.value, (day) => {
|
|
1880
1880
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
1881
1881
|
key: day.date.toISOString(),
|
|
@@ -1911,7 +1911,7 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1911
1911
|
const MonthView = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-0b1117c4"]]);
|
|
1912
1912
|
const _hoisted_1$X = { class: "w-100p overflow-hidden m_overflow h-100p grid" };
|
|
1913
1913
|
const _hoisted_2$J = { class: "overflow h-100p pe-05" };
|
|
1914
|
-
const _hoisted_3$
|
|
1914
|
+
const _hoisted_3$B = ["onMousedown"];
|
|
1915
1915
|
const _hoisted_4$o = ["onClick"];
|
|
1916
1916
|
const _hoisted_5$n = { class: "overflow-hidden color-white p-025 txt12 h-100p" };
|
|
1917
1917
|
const _hoisted_6$j = { class: "white-space ellipsis-1" };
|
|
@@ -2250,7 +2250,7 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2250
2250
|
])
|
|
2251
2251
|
], 44, _hoisted_4$o);
|
|
2252
2252
|
}), 128))
|
|
2253
|
-
], 40, _hoisted_3$
|
|
2253
|
+
], 40, _hoisted_3$B);
|
|
2254
2254
|
}), 128)),
|
|
2255
2255
|
dragState.value.isDragging && dragState.value.start && dragState.value.end ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
2256
2256
|
key: 1,
|
|
@@ -2274,7 +2274,7 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2274
2274
|
const WeekView = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-2d5bca17"]]);
|
|
2275
2275
|
const _hoisted_1$W = { class: "calendar" };
|
|
2276
2276
|
const _hoisted_2$I = { class: "flex m_block m_pb-1" };
|
|
2277
|
-
const _hoisted_3$
|
|
2277
|
+
const _hoisted_3$A = { class: "txt-light my-0" };
|
|
2278
2278
|
const _hoisted_4$n = { class: "ms-auto flex gap-025" };
|
|
2279
2279
|
const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
2280
2280
|
__name: "Index",
|
|
@@ -2370,7 +2370,7 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2370
2370
|
return (_ctx, _cache) => {
|
|
2371
2371
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$W, [
|
|
2372
2372
|
vue.createElementVNode("div", _hoisted_2$I, [
|
|
2373
|
-
vue.createElementVNode("h3", _hoisted_3$
|
|
2373
|
+
vue.createElementVNode("h3", _hoisted_3$A, [
|
|
2374
2374
|
vue.createElementVNode("b", null, vue.toDisplayString(vue.unref(fmtDate)(currentDate.value, { fmt: "MMMM" })), 1),
|
|
2375
2375
|
vue.createTextVNode(" " + vue.toDisplayString(vue.unref(fmtDate)(currentDate.value, { fmt: "YYYY" })), 1)
|
|
2376
2376
|
]),
|
|
@@ -2495,7 +2495,7 @@ const _hoisted_2$H = {
|
|
|
2495
2495
|
key: 0,
|
|
2496
2496
|
class: "dots"
|
|
2497
2497
|
};
|
|
2498
|
-
const _hoisted_3$
|
|
2498
|
+
const _hoisted_3$z = ["onClick"];
|
|
2499
2499
|
const GAP_PERCENT = 1;
|
|
2500
2500
|
const VELOCITY_SAMPLE_DURATION = 100;
|
|
2501
2501
|
const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -2938,7 +2938,7 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2938
2938
|
key: i2,
|
|
2939
2939
|
class: vue.normalizeClass(["dot", { current: vue.unref(activeSlideIndex) === i2 - 1 }]),
|
|
2940
2940
|
onClick: ($event) => goToSlide(i2 - 1)
|
|
2941
|
-
}, null, 10, _hoisted_3$
|
|
2941
|
+
}, null, 10, _hoisted_3$z);
|
|
2942
2942
|
}), 128))
|
|
2943
2943
|
])) : vue.createCommentVNode("", true),
|
|
2944
2944
|
vue.createElementVNode("div", {
|
|
@@ -8801,7 +8801,7 @@ const _hoisted_1$1$1 = {
|
|
|
8801
8801
|
style: { display: "flex", position: "relative" }
|
|
8802
8802
|
};
|
|
8803
8803
|
const _hoisted_2$1$1 = ["width", "height", "viewBox"];
|
|
8804
|
-
const _hoisted_3$
|
|
8804
|
+
const _hoisted_3$y = { class: "layer-rectangles" };
|
|
8805
8805
|
const _hoisted_4$m = ["transform", "onMouseover"];
|
|
8806
8806
|
const _hoisted_5$m = ["width", "height"];
|
|
8807
8807
|
const _hoisted_6$i = {
|
|
@@ -8819,7 +8819,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8819
8819
|
viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
|
|
8820
8820
|
ref: "el"
|
|
8821
8821
|
}, [
|
|
8822
|
-
vue.createElementVNode("g", _hoisted_3$
|
|
8822
|
+
vue.createElementVNode("g", _hoisted_3$y, [
|
|
8823
8823
|
(vue.openBlock(true), vue.createElementBlock(
|
|
8824
8824
|
vue.Fragment,
|
|
8825
8825
|
null,
|
|
@@ -9529,19 +9529,15 @@ function useTableVirtualization(options) {
|
|
|
9529
9529
|
registerLastItemObserver
|
|
9530
9530
|
};
|
|
9531
9531
|
}
|
|
9532
|
-
const _hoisted_1$R = {
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
const
|
|
9537
|
-
const
|
|
9538
|
-
const
|
|
9539
|
-
const
|
|
9540
|
-
const
|
|
9541
|
-
const _hoisted_7$d = ["onClick"];
|
|
9542
|
-
const _hoisted_8$8 = { key: 0 };
|
|
9543
|
-
const _hoisted_9$6 = ["value"];
|
|
9544
|
-
const _hoisted_10$5 = { key: 1 };
|
|
9532
|
+
const _hoisted_1$R = { class: "infinite-wrapper" };
|
|
9533
|
+
const _hoisted_2$E = { class: "row first-row" };
|
|
9534
|
+
const _hoisted_3$x = { key: 0 };
|
|
9535
|
+
const _hoisted_4$l = ["onClick"];
|
|
9536
|
+
const _hoisted_5$l = { class: "flex" };
|
|
9537
|
+
const _hoisted_6$h = ["onClick"];
|
|
9538
|
+
const _hoisted_7$d = { key: 0 };
|
|
9539
|
+
const _hoisted_8$8 = ["value"];
|
|
9540
|
+
const _hoisted_9$6 = { key: 1 };
|
|
9545
9541
|
const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
9546
9542
|
__name: "DataTable",
|
|
9547
9543
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -9562,7 +9558,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
|
9562
9558
|
emits: /* @__PURE__ */ vue.mergeModels(["orderBy", "select", "lastItemVisible"], ["update:loading", "update:itemHeight", "update:selectedItems"]),
|
|
9563
9559
|
setup(__props, { emit: __emit }) {
|
|
9564
9560
|
vue.useCssVars((_ctx) => ({
|
|
9565
|
-
"
|
|
9561
|
+
"70bc72ee": vue.unref(computedItemHeight)
|
|
9566
9562
|
}));
|
|
9567
9563
|
const props2 = __props;
|
|
9568
9564
|
const emit2 = __emit;
|
|
@@ -9656,17 +9652,18 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
|
9656
9652
|
const showLoading = vue.computed(() => loading.value);
|
|
9657
9653
|
return (_ctx, _cache) => {
|
|
9658
9654
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: "table-list-wrap h-100" }, vue.unref(containerProps), {
|
|
9659
|
-
class: {
|
|
9655
|
+
class: { overflowHiddenLoading: showLoading.value }
|
|
9660
9656
|
}), [
|
|
9661
|
-
showLoading.value ? (vue.openBlock(), vue.
|
|
9662
|
-
|
|
9663
|
-
|
|
9657
|
+
showLoading.value ? (vue.openBlock(), vue.createBlock(vue.unref(Loading), {
|
|
9658
|
+
key: 0,
|
|
9659
|
+
class: "h100p"
|
|
9660
|
+
})) : vue.createCommentVNode("", true),
|
|
9664
9661
|
vue.createElementVNode("div", vue.mergeProps(vue.unref(wrapperProps), {
|
|
9665
9662
|
class: { "pointer-events-none": showLoading.value }
|
|
9666
9663
|
}), [
|
|
9667
|
-
vue.createElementVNode("table",
|
|
9668
|
-
vue.createElementVNode("thead",
|
|
9669
|
-
vue.unref(isSelectable) ? (vue.openBlock(), vue.createElementBlock("th",
|
|
9664
|
+
vue.createElementVNode("table", _hoisted_1$R, [
|
|
9665
|
+
vue.createElementVNode("thead", _hoisted_2$E, [
|
|
9666
|
+
vue.unref(isSelectable) ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_3$x, [
|
|
9670
9667
|
vue.createElementVNode("input", {
|
|
9671
9668
|
ref_key: "allSelectorEl",
|
|
9672
9669
|
ref: allSelectorEl,
|
|
@@ -9682,7 +9679,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
|
9682
9679
|
class: "col",
|
|
9683
9680
|
onClick: ($event) => vue.unref(toggleSort)((field == null ? void 0 : field.id) || "")
|
|
9684
9681
|
}, [
|
|
9685
|
-
vue.createElementVNode("div",
|
|
9682
|
+
vue.createElementVNode("div", _hoisted_5$l, [
|
|
9686
9683
|
vue.createTextVNode(vue.toDisplayString(field.label || vue.unref(keyToLabel)(field == null ? void 0 : field.id)) + " ", 1),
|
|
9687
9684
|
vue.createElementVNode("div", {
|
|
9688
9685
|
class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === (field == null ? void 0 : field.id) }])
|
|
@@ -9693,7 +9690,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
|
9693
9690
|
}, null, 8, ["class"])
|
|
9694
9691
|
], 2)
|
|
9695
9692
|
])
|
|
9696
|
-
], 8,
|
|
9693
|
+
], 8, _hoisted_4$l);
|
|
9697
9694
|
}), 128))
|
|
9698
9695
|
]),
|
|
9699
9696
|
vue.createElementVNode("tbody", null, [
|
|
@@ -9703,7 +9700,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
|
9703
9700
|
class: vue.normalizeClass(["row row-item position-relative", { selected: (row == null ? void 0 : row.id) && vue.unref(computedSelectedItems).includes(row.id) }]),
|
|
9704
9701
|
onClick: ($event) => vue.unref(toggleSelectItem)(row)
|
|
9705
9702
|
}, [
|
|
9706
|
-
vue.unref(isSelectable) ? (vue.openBlock(), vue.createElementBlock("td",
|
|
9703
|
+
vue.unref(isSelectable) ? (vue.openBlock(), vue.createElementBlock("td", _hoisted_7$d, [
|
|
9707
9704
|
vue.createElementVNode("div", {
|
|
9708
9705
|
onClick: _cache[3] || (_cache[3] = vue.withModifiers(() => {
|
|
9709
9706
|
}, ["stop"]))
|
|
@@ -9712,7 +9709,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
|
9712
9709
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => selectedItems.value = $event),
|
|
9713
9710
|
type: "checkbox",
|
|
9714
9711
|
value: (row == null ? void 0 : row.id) || ""
|
|
9715
|
-
}, null, 8,
|
|
9712
|
+
}, null, 8, _hoisted_8$8), [
|
|
9716
9713
|
[vue.vModelCheckbox, selectedItems.value]
|
|
9717
9714
|
])
|
|
9718
9715
|
])
|
|
@@ -9727,12 +9724,12 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
|
9727
9724
|
key: 0,
|
|
9728
9725
|
row,
|
|
9729
9726
|
field
|
|
9730
|
-
}, void 0, true) : (vue.openBlock(), vue.createElementBlock("div",
|
|
9727
|
+
}, void 0, true) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$6, [
|
|
9731
9728
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(renderFieldForRow(field, row))))
|
|
9732
9729
|
]))
|
|
9733
9730
|
]);
|
|
9734
9731
|
}), 128))
|
|
9735
|
-
], 10,
|
|
9732
|
+
], 10, _hoisted_6$h);
|
|
9736
9733
|
}), 128)),
|
|
9737
9734
|
props2.onLastItemVisible !== void 0 ? (vue.openBlock(), vue.createElementBlock("tr", {
|
|
9738
9735
|
key: 0,
|
|
@@ -9747,7 +9744,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
|
9747
9744
|
};
|
|
9748
9745
|
}
|
|
9749
9746
|
});
|
|
9750
|
-
const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-
|
|
9747
|
+
const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-6da6fbe2"]]);
|
|
9751
9748
|
function useDraggable(options = {}) {
|
|
9752
9749
|
const isDragging = vue.ref(false);
|
|
9753
9750
|
const dragElement = vue.ref(null);
|
|
@@ -13090,6 +13087,7 @@ function richText(id, label, options) {
|
|
|
13090
13087
|
vIf: options == null ? void 0 : options.vIf,
|
|
13091
13088
|
placeholder: options == null ? void 0 : options.placeholder,
|
|
13092
13089
|
attrs: {
|
|
13090
|
+
height: options == null ? void 0 : options.height,
|
|
13093
13091
|
autocomplete: options == null ? void 0 : options.autocomplete
|
|
13094
13092
|
}
|
|
13095
13093
|
};
|
|
@@ -13300,12 +13298,13 @@ function findBglFieldById(id, _schema) {
|
|
|
13300
13298
|
return void 0;
|
|
13301
13299
|
}
|
|
13302
13300
|
function arrField(id, label, schemaOrType, options) {
|
|
13303
|
-
const
|
|
13304
|
-
|
|
13305
|
-
|
|
13306
|
-
|
|
13307
|
-
|
|
13308
|
-
|
|
13301
|
+
const arraySpecificAttrs = typeof schemaOrType === "string" ? { type: schemaOrType } : { schema: schemaOrType };
|
|
13302
|
+
const attrs = {
|
|
13303
|
+
delete: true,
|
|
13304
|
+
add: true,
|
|
13305
|
+
...options,
|
|
13306
|
+
...arraySpecificAttrs
|
|
13307
|
+
};
|
|
13309
13308
|
return {
|
|
13310
13309
|
label,
|
|
13311
13310
|
id,
|
|
@@ -13322,6 +13321,7 @@ function useForm() {
|
|
|
13322
13321
|
checkField,
|
|
13323
13322
|
dateField,
|
|
13324
13323
|
numField,
|
|
13324
|
+
emailField,
|
|
13325
13325
|
frmRow,
|
|
13326
13326
|
uploadField,
|
|
13327
13327
|
rangeField,
|
|
@@ -13720,7 +13720,7 @@ const _hoisted_2$C = {
|
|
|
13720
13720
|
key: 0,
|
|
13721
13721
|
class: "bgl-step-progress"
|
|
13722
13722
|
};
|
|
13723
|
-
const _hoisted_3$
|
|
13723
|
+
const _hoisted_3$w = { class: "bgl-steps-indicator" };
|
|
13724
13724
|
const _hoisted_4$k = ["onClick"];
|
|
13725
13725
|
const _hoisted_5$k = {
|
|
13726
13726
|
key: 0,
|
|
@@ -13903,7 +13903,7 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
|
13903
13903
|
allowStepNavigation: props2.allowStepNavigation,
|
|
13904
13904
|
isStepValidated: isStepValidated.value
|
|
13905
13905
|
})), () => [
|
|
13906
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
13906
|
+
vue.createElementVNode("div", _hoisted_3$w, [
|
|
13907
13907
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(numberOfSteps.value, (_2, index2) => {
|
|
13908
13908
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
13909
13909
|
key: index2,
|
|
@@ -13998,7 +13998,7 @@ const _hoisted_1$N = {
|
|
|
13998
13998
|
class: "label mb-05"
|
|
13999
13999
|
};
|
|
14000
14000
|
const _hoisted_2$B = { class: "ps-025 border-start mb-05" };
|
|
14001
|
-
const _hoisted_3$
|
|
14001
|
+
const _hoisted_3$v = {
|
|
14002
14002
|
key: 0,
|
|
14003
14003
|
class: "flex-center h-300px"
|
|
14004
14004
|
};
|
|
@@ -14100,7 +14100,7 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
|
14100
14100
|
}, [
|
|
14101
14101
|
_ctx.label ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$N, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
14102
14102
|
vue.createElementVNode("div", _hoisted_2$B, [
|
|
14103
|
-
schemaState.value !== "loaded" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
14103
|
+
schemaState.value !== "loaded" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$v, [
|
|
14104
14104
|
schemaState.value === "loading" ? (vue.openBlock(), vue.createBlock(vue.unref(Loading), { key: 0 })) : schemaState.value === "error" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$v), {
|
|
14105
14105
|
key: 1,
|
|
14106
14106
|
icon: "error",
|
|
@@ -14187,7 +14187,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
14187
14187
|
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-73f1d9ad"]]);
|
|
14188
14188
|
const _hoisted_1$L = ["title"];
|
|
14189
14189
|
const _hoisted_2$A = ["id", "disabled", "value", "required"];
|
|
14190
|
-
const _hoisted_3$
|
|
14190
|
+
const _hoisted_3$u = ["for"];
|
|
14191
14191
|
const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
14192
14192
|
__name: "CheckInput",
|
|
14193
14193
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -14232,7 +14232,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
|
14232
14232
|
vue.renderSlot(_ctx.$slots, "label", {}, () => [
|
|
14233
14233
|
vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
|
|
14234
14234
|
], true)
|
|
14235
|
-
], 8, _hoisted_3$
|
|
14235
|
+
], 8, _hoisted_3$u)
|
|
14236
14236
|
], 10, _hoisted_1$L);
|
|
14237
14237
|
};
|
|
14238
14238
|
}
|
|
@@ -14296,7 +14296,7 @@ const _hoisted_1$K = {
|
|
|
14296
14296
|
class: "label"
|
|
14297
14297
|
};
|
|
14298
14298
|
const _hoisted_2$z = { class: "editor-content-papa relative" };
|
|
14299
|
-
const _hoisted_3$
|
|
14299
|
+
const _hoisted_3$t = {
|
|
14300
14300
|
class: "code-display",
|
|
14301
14301
|
wrap: ""
|
|
14302
14302
|
};
|
|
@@ -14371,7 +14371,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
14371
14371
|
class: "code-editor-grandpa"
|
|
14372
14372
|
}, [
|
|
14373
14373
|
vue.createElementVNode("div", _hoisted_2$z, [
|
|
14374
|
-
vue.createElementVNode("pre", _hoisted_3$
|
|
14374
|
+
vue.createElementVNode("pre", _hoisted_3$t, [
|
|
14375
14375
|
vue.createElementVNode("code", { innerHTML: formattedCode.value }, null, 8, _hoisted_4$i)
|
|
14376
14376
|
]),
|
|
14377
14377
|
!_ctx.readonly ? (vue.openBlock(), vue.createElementBlock("textarea", {
|
|
@@ -14394,7 +14394,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
14394
14394
|
const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-de01e351"]]);
|
|
14395
14395
|
const _hoisted_1$J = ["title"];
|
|
14396
14396
|
const _hoisted_2$y = { class: "flex bg-input rounded px-025 colorInputPickWrap" };
|
|
14397
|
-
const _hoisted_3$
|
|
14397
|
+
const _hoisted_3$s = ["id", "placeholder", "required"];
|
|
14398
14398
|
const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
14399
14399
|
__name: "ColorInput",
|
|
14400
14400
|
props: {
|
|
@@ -14433,7 +14433,7 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
|
14433
14433
|
type: "color",
|
|
14434
14434
|
placeholder: _ctx.placeholder || _ctx.label,
|
|
14435
14435
|
required: _ctx.required
|
|
14436
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$
|
|
14436
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$s), [
|
|
14437
14437
|
[vue.vModelText, inputVal.value]
|
|
14438
14438
|
]),
|
|
14439
14439
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
@@ -14977,7 +14977,7 @@ class Time {
|
|
|
14977
14977
|
}
|
|
14978
14978
|
const _hoisted_1$I = { class: "ltr flex gap-075 m_flex-wrap calendar-container justify-content-center h-100p" };
|
|
14979
14979
|
const _hoisted_2$x = { class: "calendar-section m_border-none pe-05 m_p-0" };
|
|
14980
|
-
const _hoisted_3$
|
|
14980
|
+
const _hoisted_3$r = { class: "flex space-between pb-1" };
|
|
14981
14981
|
const _hoisted_4$h = { class: "flex gap-05" };
|
|
14982
14982
|
const _hoisted_5$h = { class: "month-year" };
|
|
14983
14983
|
const _hoisted_6$e = {
|
|
@@ -15233,7 +15233,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
15233
15233
|
return (_ctx, _cache) => {
|
|
15234
15234
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [
|
|
15235
15235
|
vue.createElementVNode("div", _hoisted_2$x, [
|
|
15236
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
15236
|
+
vue.createElementVNode("div", _hoisted_3$r, [
|
|
15237
15237
|
currentView.value === "days" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
15238
15238
|
vue.createVNode(vue.unref(Btn), {
|
|
15239
15239
|
flat: "",
|
|
@@ -15365,7 +15365,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
15365
15365
|
const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-16646325"]]);
|
|
15366
15366
|
const _hoisted_1$H = ["title"];
|
|
15367
15367
|
const _hoisted_2$w = { key: 0 };
|
|
15368
|
-
const _hoisted_3$
|
|
15368
|
+
const _hoisted_3$q = {
|
|
15369
15369
|
key: 0,
|
|
15370
15370
|
class: "required"
|
|
15371
15371
|
};
|
|
@@ -15487,7 +15487,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
15487
15487
|
}, [
|
|
15488
15488
|
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$w, [
|
|
15489
15489
|
vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
|
|
15490
|
-
_ctx.required ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$
|
|
15490
|
+
_ctx.required ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$q, "*")) : vue.createCommentVNode("", true)
|
|
15491
15491
|
])) : vue.createCommentVNode("", true),
|
|
15492
15492
|
vue.createVNode(vue.unref(_sfc_main$Z), {
|
|
15493
15493
|
shown: isOpen.value,
|
|
@@ -15555,7 +15555,7 @@ const VIDEO_FORMATS_REGEXP = new RegExp(`(${VIDEO_FORMATS.join("|")})$`, "i");
|
|
|
15555
15555
|
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;
|
|
15556
15556
|
const _hoisted_1$G = ["title"];
|
|
15557
15557
|
const _hoisted_2$v = ["for"];
|
|
15558
|
-
const _hoisted_3$
|
|
15558
|
+
const _hoisted_3$p = { class: "flex" };
|
|
15559
15559
|
const _hoisted_4$g = { key: 0 };
|
|
15560
15560
|
const _hoisted_5$g = {
|
|
15561
15561
|
key: 1,
|
|
@@ -15830,7 +15830,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
15830
15830
|
title: _ctx.title
|
|
15831
15831
|
}, [
|
|
15832
15832
|
vue.createElementVNode("label", { for: _ctx.id }, [
|
|
15833
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
15833
|
+
vue.createElementVNode("div", _hoisted_3$p, [
|
|
15834
15834
|
vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
|
|
15835
15835
|
_ctx.required ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$g, "*")) : vue.createCommentVNode("", true),
|
|
15836
15836
|
_ctx.helptext ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$g, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true),
|
|
@@ -15880,7 +15880,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
15880
15880
|
const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-e3d13caa"]]);
|
|
15881
15881
|
const _hoisted_1$F = ["title"];
|
|
15882
15882
|
const _hoisted_2$u = { key: 0 };
|
|
15883
|
-
const _hoisted_3$
|
|
15883
|
+
const _hoisted_3$o = ["value", "placeholder"];
|
|
15884
15884
|
const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
15885
15885
|
__name: "JSONInput",
|
|
15886
15886
|
props: {
|
|
@@ -15912,7 +15912,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
15912
15912
|
class: vue.normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
15913
15913
|
placeholder: _ctx.placeholder,
|
|
15914
15914
|
onInput: handleInput
|
|
15915
|
-
}, null, 42, _hoisted_3$
|
|
15915
|
+
}, null, 42, _hoisted_3$o)
|
|
15916
15916
|
], 10, _hoisted_1$F);
|
|
15917
15917
|
};
|
|
15918
15918
|
}
|
|
@@ -15923,7 +15923,7 @@ const _hoisted_2$t = {
|
|
|
15923
15923
|
key: 0,
|
|
15924
15924
|
class: "block"
|
|
15925
15925
|
};
|
|
15926
|
-
const _hoisted_3$
|
|
15926
|
+
const _hoisted_3$n = ["id", "placeholder", "disabled", "required", "readonly", "pattern", "onKeydown"];
|
|
15927
15927
|
const _hoisted_4$f = {
|
|
15928
15928
|
key: 1,
|
|
15929
15929
|
class: "opacity-7 light"
|
|
@@ -16072,7 +16072,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
16072
16072
|
vue.withKeys(vue.withModifiers(increment, ["prevent"]), ["up"]),
|
|
16073
16073
|
vue.withKeys(vue.withModifiers(decrement, ["prevent"]), ["down"])
|
|
16074
16074
|
]
|
|
16075
|
-
}, null, 42, _hoisted_3$
|
|
16075
|
+
}, null, 42, _hoisted_3$n), [
|
|
16076
16076
|
[
|
|
16077
16077
|
vue.vModelText,
|
|
16078
16078
|
vue.unref(formattedValue),
|
|
@@ -16309,7 +16309,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
16309
16309
|
});
|
|
16310
16310
|
const _hoisted_1$B = ["for"];
|
|
16311
16311
|
const _hoisted_2$r = ["id", "disabled", "name", "value", "required"];
|
|
16312
|
-
const _hoisted_3$
|
|
16312
|
+
const _hoisted_3$m = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|
|
16313
16313
|
const _hoisted_4$e = ["src", "alt"];
|
|
16314
16314
|
const _hoisted_5$e = { class: "" };
|
|
16315
16315
|
const _hoisted_6$c = {
|
|
@@ -16384,7 +16384,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
16384
16384
|
}, null, 40, _hoisted_2$r), [
|
|
16385
16385
|
[vue.vModelRadio, selectedOption.value]
|
|
16386
16386
|
]),
|
|
16387
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
16387
|
+
vue.createElementVNode("div", _hoisted_3$m, [
|
|
16388
16388
|
opt.imgSrc ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
16389
16389
|
key: 0,
|
|
16390
16390
|
class: "bg-popup shadow-light py-025 radius-05 m_w40",
|
|
@@ -16415,7 +16415,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
16415
16415
|
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-adc49780"]]);
|
|
16416
16416
|
const _hoisted_1$A = { class: "bagel-input" };
|
|
16417
16417
|
const _hoisted_2$q = { class: "pb-025" };
|
|
16418
|
-
const _hoisted_3$
|
|
16418
|
+
const _hoisted_3$l = { class: "flex gap-05 flex-wrap" };
|
|
16419
16419
|
const _hoisted_4$d = ["id", "name", "value", "checked"];
|
|
16420
16420
|
const _hoisted_5$d = ["for"];
|
|
16421
16421
|
const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -16463,7 +16463,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
16463
16463
|
return (_ctx, _cache) => {
|
|
16464
16464
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
|
|
16465
16465
|
vue.createElementVNode("label", _hoisted_2$q, vue.toDisplayString(_ctx.label), 1),
|
|
16466
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
16466
|
+
vue.createElementVNode("div", _hoisted_3$l, [
|
|
16467
16467
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (option2, index2) => {
|
|
16468
16468
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
16469
16469
|
key: index2,
|
|
@@ -16493,7 +16493,7 @@ const _hoisted_2$p = {
|
|
|
16493
16493
|
key: 0,
|
|
16494
16494
|
class: "label"
|
|
16495
16495
|
};
|
|
16496
|
-
const _hoisted_3$
|
|
16496
|
+
const _hoisted_3$k = { class: "range-slider relative w-100" };
|
|
16497
16497
|
const _hoisted_4$c = ["id", "value", "min", "max", "step", "required", "disabled", "aria-label"];
|
|
16498
16498
|
const _hoisted_5$c = ["value", "min", "max", "step", "required", "disabled"];
|
|
16499
16499
|
const _hoisted_6$b = { class: "track absolute pointer-events-none overflow-hidden round" };
|
|
@@ -16563,7 +16563,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
16563
16563
|
dir: _ctx.rtl ? "rtl" : "ltr"
|
|
16564
16564
|
}, [
|
|
16565
16565
|
props2.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$p, vue.toDisplayString(props2.label), 1)) : vue.createCommentVNode("", true),
|
|
16566
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
16566
|
+
vue.createElementVNode("div", _hoisted_3$k, [
|
|
16567
16567
|
vue.createElementVNode("input", {
|
|
16568
16568
|
id: _ctx.id,
|
|
16569
16569
|
value: validFrom.value,
|
|
@@ -16726,7 +16726,7 @@ const toolbarOptions = [
|
|
|
16726
16726
|
];
|
|
16727
16727
|
const _hoisted_1$y = { class: "grid grid-wrap p-05" };
|
|
16728
16728
|
const _hoisted_2$o = ["onMousemove", "onClick"];
|
|
16729
|
-
const _hoisted_3$
|
|
16729
|
+
const _hoisted_3$j = { class: "txt-center txt-12 color-gray" };
|
|
16730
16730
|
const fb = 1;
|
|
16731
16731
|
const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
16732
16732
|
__name: "gridBox",
|
|
@@ -16780,7 +16780,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
16780
16780
|
}), 128))
|
|
16781
16781
|
], 32);
|
|
16782
16782
|
}), 128)),
|
|
16783
|
-
vue.createElementVNode("p", _hoisted_3$
|
|
16783
|
+
vue.createElementVNode("p", _hoisted_3$j, vue.toDisplayString(hoveredRow.value) + "x" + vue.toDisplayString(hoveredCol.value), 1)
|
|
16784
16784
|
]);
|
|
16785
16785
|
};
|
|
16786
16786
|
}
|
|
@@ -18418,8 +18418,7 @@ function isNodeEmpty(node) {
|
|
|
18418
18418
|
return brElements.length === 1 && node.childNodes.length <= 2;
|
|
18419
18419
|
}
|
|
18420
18420
|
const _hoisted_1$w = { class: "bagel-input" };
|
|
18421
|
-
const _hoisted_2$n = {
|
|
18422
|
-
const _hoisted_3$j = {
|
|
18421
|
+
const _hoisted_2$n = {
|
|
18423
18422
|
key: 1,
|
|
18424
18423
|
class: "flex"
|
|
18425
18424
|
};
|
|
@@ -18429,7 +18428,8 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
18429
18428
|
modelValue: {},
|
|
18430
18429
|
toolbarConfig: {},
|
|
18431
18430
|
debug: { type: Boolean },
|
|
18432
|
-
label: {}
|
|
18431
|
+
label: {},
|
|
18432
|
+
height: {}
|
|
18433
18433
|
},
|
|
18434
18434
|
emits: ["update:modelValue"],
|
|
18435
18435
|
setup(__props, { emit: __emit }) {
|
|
@@ -18446,6 +18446,14 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
18446
18446
|
const commands = useCommands(editor.state, editor.state.debug);
|
|
18447
18447
|
const debugMethods = vue.computed(() => editor.state.debug);
|
|
18448
18448
|
const hasRTL = vue.computed(() => /[\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC]/.test(props2.modelValue));
|
|
18449
|
+
const editorHeight = vue.computed(() => {
|
|
18450
|
+
if (typeof props2.height === "number") {
|
|
18451
|
+
return `${props2.height}px`;
|
|
18452
|
+
} else if (typeof props2.height === "string") {
|
|
18453
|
+
return props2.height;
|
|
18454
|
+
}
|
|
18455
|
+
return "240px";
|
|
18456
|
+
});
|
|
18449
18457
|
vue.onUnmounted(() => {
|
|
18450
18458
|
editor.cleanup();
|
|
18451
18459
|
});
|
|
@@ -18558,7 +18566,10 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
18558
18566
|
vue.createElementVNode("div", {
|
|
18559
18567
|
class: vue.normalizeClass(["editor-container", { "split-view": vue.unref(editor).state.isSplitView }])
|
|
18560
18568
|
}, [
|
|
18561
|
-
vue.createElementVNode("div",
|
|
18569
|
+
vue.createElementVNode("div", {
|
|
18570
|
+
class: "content-area radius-05",
|
|
18571
|
+
style: vue.normalizeStyle({ height: vue.unref(editor).state.isFullscreen ? "calc(100vh - 4rem)" : editorHeight.value })
|
|
18572
|
+
}, [
|
|
18562
18573
|
vue.createElementVNode("iframe", {
|
|
18563
18574
|
id: "rich-text-iframe",
|
|
18564
18575
|
ref_key: "iframe",
|
|
@@ -18569,7 +18580,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
18569
18580
|
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",
|
|
18570
18581
|
onLoad: initEditor
|
|
18571
18582
|
}, null, 544)
|
|
18572
|
-
]),
|
|
18583
|
+
], 4),
|
|
18573
18584
|
vue.unref(editor).state.isSplitView ? (vue.openBlock(), vue.createBlock(vue.unref(CodeEditor), {
|
|
18574
18585
|
key: 0,
|
|
18575
18586
|
modelValue: vue.unref(editor).state.content,
|
|
@@ -18578,10 +18589,10 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
18578
18589
|
_cache[1] || (_cache[1] = ($event) => vue.unref(editor).updateState.content("html"))
|
|
18579
18590
|
],
|
|
18580
18591
|
language: "html",
|
|
18581
|
-
height: vue.unref(editor).state.isFullscreen ? "calc(100vh - 4rem)" :
|
|
18592
|
+
height: vue.unref(editor).state.isFullscreen ? "calc(100vh - 4rem)" : editorHeight.value
|
|
18582
18593
|
}, null, 8, ["modelValue", "height"])) : vue.createCommentVNode("", true)
|
|
18583
18594
|
], 2),
|
|
18584
|
-
_ctx.debug ? (vue.openBlock(), vue.createElementBlock("div",
|
|
18595
|
+
_ctx.debug ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$n, [
|
|
18585
18596
|
_cache[6] || (_cache[6] = vue.createElementVNode("p", { class: "text12 txt-gray mb-0 p-0" }, " Debug ", -1)),
|
|
18586
18597
|
vue.createVNode(vue.unref(Btn), {
|
|
18587
18598
|
thin: "",
|
|
@@ -18625,7 +18636,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
18625
18636
|
};
|
|
18626
18637
|
}
|
|
18627
18638
|
});
|
|
18628
|
-
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-
|
|
18639
|
+
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-8304a538"]]);
|
|
18629
18640
|
const _hoisted_1$v = { key: 0 };
|
|
18630
18641
|
const _hoisted_2$m = { class: "flex gap-05" };
|
|
18631
18642
|
const _hoisted_3$i = ["disabled"];
|
|
@@ -32373,15 +32384,16 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
32373
32384
|
alt: {},
|
|
32374
32385
|
width: {},
|
|
32375
32386
|
height: {},
|
|
32376
|
-
caption: {}
|
|
32387
|
+
caption: {},
|
|
32388
|
+
modelValue: {}
|
|
32377
32389
|
},
|
|
32378
32390
|
setup(__props) {
|
|
32379
32391
|
const props2 = __props;
|
|
32380
32392
|
let imageSrc = vue.ref(void 0);
|
|
32381
32393
|
let loadingError = vue.ref(false);
|
|
32382
32394
|
function getImageUrl() {
|
|
32383
|
-
if (!props2.src && !props2.pathKey) return;
|
|
32384
|
-
return pathKeyToURL(props2.src || props2.pathKey);
|
|
32395
|
+
if (!props2.src && !props2.pathKey && !props2.modelValue) return;
|
|
32396
|
+
return pathKeyToURL(props2.src || props2.pathKey || props2.modelValue);
|
|
32385
32397
|
}
|
|
32386
32398
|
async function getCachedImage(url) {
|
|
32387
32399
|
if (!("caches" in window)) return void 0;
|
|
@@ -32439,7 +32451,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
32439
32451
|
imageSrc.value = void 0;
|
|
32440
32452
|
}
|
|
32441
32453
|
}
|
|
32442
|
-
vue.watch(() => [props2.src, props2.pathKey], loadImage, { immediate: true });
|
|
32454
|
+
vue.watch(() => [props2.src, props2.pathKey, props2.modelValue], loadImage, { immediate: true });
|
|
32443
32455
|
return (_ctx, _cache) => {
|
|
32444
32456
|
return _ctx.caption ? (vue.openBlock(), vue.createElementBlock("figcaption", _hoisted_1$n, [
|
|
32445
32457
|
vue.unref(imageSrc) ? (vue.openBlock(), vue.createElementBlock("img", vue.mergeProps({
|
|
@@ -32480,7 +32492,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
32480
32492
|
};
|
|
32481
32493
|
}
|
|
32482
32494
|
});
|
|
32483
|
-
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-
|
|
32495
|
+
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-eed047eb"]]);
|
|
32484
32496
|
const _hoisted_1$m = ["textContent"];
|
|
32485
32497
|
const _hoisted_2$e = {
|
|
32486
32498
|
key: 0,
|
|
@@ -35551,8 +35563,8 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
35551
35563
|
},
|
|
35552
35564
|
setup(__props) {
|
|
35553
35565
|
vue.useCssVars((_ctx) => ({
|
|
35554
|
-
"
|
|
35555
|
-
"
|
|
35566
|
+
"80c2f0ae": computedBackgroundColor.value,
|
|
35567
|
+
"0e0f2144": cumputedTextColor.value
|
|
35556
35568
|
}));
|
|
35557
35569
|
const props2 = __props;
|
|
35558
35570
|
const slots = vue.useSlots();
|
|
@@ -35628,7 +35640,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
35628
35640
|
style: { "font-size": "var(--pill-font-size)" }
|
|
35629
35641
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
35630
35642
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
35631
|
-
!vue.unref(slots).default ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_6$3, vue.toDisplayString(
|
|
35643
|
+
!vue.unref(slots).default ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_6$3, vue.toDisplayString(vue.unref(slots).default ? vue.unref(slots).default : _ctx.value || _ctx.modelValue), 1)) : vue.createCommentVNode("", true),
|
|
35632
35644
|
_ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$v), {
|
|
35633
35645
|
key: 4,
|
|
35634
35646
|
icon: _ctx.iconEnd,
|
|
@@ -35649,7 +35661,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
35649
35661
|
};
|
|
35650
35662
|
}
|
|
35651
35663
|
});
|
|
35652
|
-
const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
35664
|
+
const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-56ad3910"]]);
|
|
35653
35665
|
const _sfc_main$8 = {};
|
|
35654
35666
|
function _sfc_render$2(_ctx, _cache) {
|
|
35655
35667
|
const _component_router_view = vue.resolveComponent("router-view");
|
|
@@ -35775,7 +35787,6 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
35775
35787
|
if (!innerElements.value.length) return 0;
|
|
35776
35788
|
return config.value.loop ? innerElements.value.length : Math.ceil(innerElements.value.length - perPage.value + 1);
|
|
35777
35789
|
});
|
|
35778
|
-
vue.ref(false);
|
|
35779
35790
|
const slotObserver = vue.ref(null);
|
|
35780
35791
|
const isMounted = vue.ref(false);
|
|
35781
35792
|
const slotContainer = vue.ref(null);
|
|
@@ -36525,12 +36536,10 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
36525
36536
|
}
|
|
36526
36537
|
const slotElements = Array.from(slotContainer.value.children).map((el) => el.cloneNode(true));
|
|
36527
36538
|
if (slotElements.length > 0 || innerElements.value.length > 0 && emptyRebuildAttempts.value === 0) {
|
|
36528
|
-
const previousCount = innerElements.value.length;
|
|
36529
36539
|
innerElements.value = slotElements;
|
|
36530
36540
|
if (currentSlide.value >= innerElements.value.length) {
|
|
36531
36541
|
currentSlide.value = Math.max(0, innerElements.value.length - 1);
|
|
36532
36542
|
}
|
|
36533
|
-
const isInitialPopulation = previousCount === 0 && slotElements.length > 0;
|
|
36534
36543
|
const wasAutoplay = config.value.autoplay !== "disabled";
|
|
36535
36544
|
if (wasAutoplay) {
|
|
36536
36545
|
stopAutoplay();
|
|
@@ -36612,7 +36621,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
36612
36621
|
};
|
|
36613
36622
|
}
|
|
36614
36623
|
});
|
|
36615
|
-
const Slider = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
36624
|
+
const Slider = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-fa8183f4"]]);
|
|
36616
36625
|
const _hoisted_1$4 = { class: "stickyTop" };
|
|
36617
36626
|
const _hoisted_2$2 = {
|
|
36618
36627
|
key: 0,
|
|
@@ -39701,14 +39710,26 @@ function formatDate(date2, opts = {}) {
|
|
|
39701
39710
|
}
|
|
39702
39711
|
}
|
|
39703
39712
|
const fmtDate = formatDate;
|
|
39713
|
+
const htmlReplacers = {
|
|
39714
|
+
"": /<[^>]*>?/g,
|
|
39715
|
+
" ": / /g,
|
|
39716
|
+
'"': /"/g,
|
|
39717
|
+
"'": /'/g,
|
|
39718
|
+
"&": /&/g,
|
|
39719
|
+
"<": /</g,
|
|
39720
|
+
">": />/g
|
|
39721
|
+
};
|
|
39704
39722
|
function clearHtml(value) {
|
|
39705
39723
|
if (!value) return "";
|
|
39706
|
-
return
|
|
39724
|
+
return Object.entries(htmlReplacers).reduce(
|
|
39725
|
+
(text, [replacement, regex2]) => text.replace(regex2, replacement),
|
|
39726
|
+
value
|
|
39727
|
+
);
|
|
39707
39728
|
}
|
|
39729
|
+
const normalizeSearchChars = /[\p{N}\p{L}\s]/gu;
|
|
39708
39730
|
function normalizeText(text) {
|
|
39709
39731
|
var _a;
|
|
39710
|
-
|
|
39711
|
-
return ((_a = text.match(searchChars)) == null ? void 0 : _a.join("").toLowerCase()) ?? "";
|
|
39732
|
+
return ((_a = text.match(normalizeSearchChars)) == null ? void 0 : _a.join("").toLowerCase()) ?? "";
|
|
39712
39733
|
}
|
|
39713
39734
|
function getValueByPath(obj, path) {
|
|
39714
39735
|
const keys4 = path.split(".");
|
|
@@ -40007,18 +40028,27 @@ exports.Zoomer = Zoomer;
|
|
|
40007
40028
|
exports.allCountries = allCountries;
|
|
40008
40029
|
exports.appendScript = appendScript;
|
|
40009
40030
|
exports.appendStyle = appendStyle;
|
|
40031
|
+
exports.arrField = arrField;
|
|
40010
40032
|
exports.bagelFormUtils = BagelFormUtils;
|
|
40011
40033
|
exports.bagelInjectionKey = bagelInjectionKey;
|
|
40034
|
+
exports.bglForm = bglForm;
|
|
40012
40035
|
exports.bindAttrs = bindAttrs;
|
|
40036
|
+
exports.checkField = checkField;
|
|
40013
40037
|
exports.classify = classify;
|
|
40014
40038
|
exports.clearHtml = clearHtml;
|
|
40039
|
+
exports.colorField = colorField;
|
|
40015
40040
|
exports.copyText = copyText;
|
|
40041
|
+
exports.dateField = dateField;
|
|
40016
40042
|
exports.debounce = debounce;
|
|
40017
40043
|
exports.denullify = denullify;
|
|
40018
40044
|
exports.downloadFile = downloadFile;
|
|
40045
|
+
exports.emailField = emailField;
|
|
40046
|
+
exports.findBglFieldById = findBglFieldById;
|
|
40019
40047
|
exports.fmtDate = fmtDate;
|
|
40020
40048
|
exports.formatDate = formatDate;
|
|
40021
40049
|
exports.formatString = formatString;
|
|
40050
|
+
exports.frmRow = frmRow;
|
|
40051
|
+
exports.getBaseField = getBaseField;
|
|
40022
40052
|
exports.getDatePartsMap = getDatePartsMap;
|
|
40023
40053
|
exports.getFallbackSchema = getFallbackSchema;
|
|
40024
40054
|
exports.getNestedValue = getNestedValue;
|
|
@@ -40032,13 +40062,21 @@ exports.localRef = localRef;
|
|
|
40032
40062
|
exports.normalizeDimension = normalizeDimension;
|
|
40033
40063
|
exports.normalizeText = normalizeText;
|
|
40034
40064
|
exports.normalizeURL = normalizeURL;
|
|
40065
|
+
exports.numField = numField;
|
|
40035
40066
|
exports.pathKeyToURL = pathKeyToURL;
|
|
40036
40067
|
exports.provideBagelFormState = provideBagelFormState;
|
|
40068
|
+
exports.rangeField = rangeField;
|
|
40069
|
+
exports.richText = richText;
|
|
40037
40070
|
exports.searchItems = searchItems;
|
|
40071
|
+
exports.selectField = selectField;
|
|
40072
|
+
exports.slctField = slctField;
|
|
40038
40073
|
exports.sleep = sleep;
|
|
40039
40074
|
exports.slugify = slugify;
|
|
40075
|
+
exports.telField = telField;
|
|
40040
40076
|
exports.timeAgo = timeAgo;
|
|
40041
40077
|
exports.timeDelta = timeDelta;
|
|
40078
|
+
exports.txtField = txtField;
|
|
40079
|
+
exports.uploadField = uploadField;
|
|
40042
40080
|
exports.useBagel = useBagel;
|
|
40043
40081
|
exports.useBagelFormState = useBagelFormState;
|
|
40044
40082
|
exports.useBglSchema = useBglSchema;
|