@bagelink/vue 1.4.22 → 1.4.26
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/Pill.vue.d.ts.map +1 -1
- package/dist/components/Slider.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 +73 -64
- package/dist/index.mjs +73 -64
- package/dist/style.css +36 -38
- package/dist/utils/BagelFormUtils.d.ts +3 -1
- package/dist/utils/BagelFormUtils.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Pill.vue +0 -2
- package/src/components/Slider.vue +0 -11
- package/src/components/form/inputs/RichText/index.vue +13 -5
- package/src/utils/BagelFormUtils.ts +5 -9
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,7 +1568,7 @@ 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"];
|
|
@@ -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
|
|
@@ -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,
|
|
@@ -9532,7 +9532,7 @@ const _hoisted_1$R = {
|
|
|
9532
9532
|
class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
|
|
9533
9533
|
};
|
|
9534
9534
|
const _hoisted_2$E = { class: "infinite-wrapper" };
|
|
9535
|
-
const _hoisted_3$
|
|
9535
|
+
const _hoisted_3$x = { class: "row first-row" };
|
|
9536
9536
|
const _hoisted_4$l = { key: 0 };
|
|
9537
9537
|
const _hoisted_5$l = ["onClick"];
|
|
9538
9538
|
const _hoisted_6$h = { class: "flex" };
|
|
@@ -9663,7 +9663,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
9663
9663
|
class: { "pointer-events-none": showLoading.value }
|
|
9664
9664
|
}), [
|
|
9665
9665
|
createElementVNode("table", _hoisted_2$E, [
|
|
9666
|
-
createElementVNode("thead", _hoisted_3$
|
|
9666
|
+
createElementVNode("thead", _hoisted_3$x, [
|
|
9667
9667
|
unref(isSelectable) ? (openBlock(), createElementBlock("th", _hoisted_4$l, [
|
|
9668
9668
|
createElementVNode("input", {
|
|
9669
9669
|
ref_key: "allSelectorEl",
|
|
@@ -13088,6 +13088,7 @@ function richText(id, label, options) {
|
|
|
13088
13088
|
vIf: options == null ? void 0 : options.vIf,
|
|
13089
13089
|
placeholder: options == null ? void 0 : options.placeholder,
|
|
13090
13090
|
attrs: {
|
|
13091
|
+
height: options == null ? void 0 : options.height,
|
|
13091
13092
|
autocomplete: options == null ? void 0 : options.autocomplete
|
|
13092
13093
|
}
|
|
13093
13094
|
};
|
|
@@ -13718,7 +13719,7 @@ const _hoisted_2$C = {
|
|
|
13718
13719
|
key: 0,
|
|
13719
13720
|
class: "bgl-step-progress"
|
|
13720
13721
|
};
|
|
13721
|
-
const _hoisted_3$
|
|
13722
|
+
const _hoisted_3$w = { class: "bgl-steps-indicator" };
|
|
13722
13723
|
const _hoisted_4$k = ["onClick"];
|
|
13723
13724
|
const _hoisted_5$k = {
|
|
13724
13725
|
key: 0,
|
|
@@ -13901,7 +13902,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
13901
13902
|
allowStepNavigation: props2.allowStepNavigation,
|
|
13902
13903
|
isStepValidated: isStepValidated.value
|
|
13903
13904
|
})), () => [
|
|
13904
|
-
createElementVNode("div", _hoisted_3$
|
|
13905
|
+
createElementVNode("div", _hoisted_3$w, [
|
|
13905
13906
|
(openBlock(true), createElementBlock(Fragment, null, renderList(numberOfSteps.value, (_2, index2) => {
|
|
13906
13907
|
return openBlock(), createElementBlock("div", {
|
|
13907
13908
|
key: index2,
|
|
@@ -13996,7 +13997,7 @@ const _hoisted_1$N = {
|
|
|
13996
13997
|
class: "label mb-05"
|
|
13997
13998
|
};
|
|
13998
13999
|
const _hoisted_2$B = { class: "ps-025 border-start mb-05" };
|
|
13999
|
-
const _hoisted_3$
|
|
14000
|
+
const _hoisted_3$v = {
|
|
14000
14001
|
key: 0,
|
|
14001
14002
|
class: "flex-center h-300px"
|
|
14002
14003
|
};
|
|
@@ -14098,7 +14099,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
14098
14099
|
}, [
|
|
14099
14100
|
_ctx.label ? (openBlock(), createElementBlock("p", _hoisted_1$N, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
14100
14101
|
createElementVNode("div", _hoisted_2$B, [
|
|
14101
|
-
schemaState.value !== "loaded" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
14102
|
+
schemaState.value !== "loaded" ? (openBlock(), createElementBlock("div", _hoisted_3$v, [
|
|
14102
14103
|
schemaState.value === "loading" ? (openBlock(), createBlock(unref(Loading), { key: 0 })) : schemaState.value === "error" ? (openBlock(), createBlock(unref(_sfc_main$v), {
|
|
14103
14104
|
key: 1,
|
|
14104
14105
|
icon: "error",
|
|
@@ -14185,7 +14186,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
14185
14186
|
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-73f1d9ad"]]);
|
|
14186
14187
|
const _hoisted_1$L = ["title"];
|
|
14187
14188
|
const _hoisted_2$A = ["id", "disabled", "value", "required"];
|
|
14188
|
-
const _hoisted_3$
|
|
14189
|
+
const _hoisted_3$u = ["for"];
|
|
14189
14190
|
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
14190
14191
|
__name: "CheckInput",
|
|
14191
14192
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -14230,7 +14231,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
14230
14231
|
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
14231
14232
|
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
14232
14233
|
], true)
|
|
14233
|
-
], 8, _hoisted_3$
|
|
14234
|
+
], 8, _hoisted_3$u)
|
|
14234
14235
|
], 10, _hoisted_1$L);
|
|
14235
14236
|
};
|
|
14236
14237
|
}
|
|
@@ -14294,7 +14295,7 @@ const _hoisted_1$K = {
|
|
|
14294
14295
|
class: "label"
|
|
14295
14296
|
};
|
|
14296
14297
|
const _hoisted_2$z = { class: "editor-content-papa relative" };
|
|
14297
|
-
const _hoisted_3$
|
|
14298
|
+
const _hoisted_3$t = {
|
|
14298
14299
|
class: "code-display",
|
|
14299
14300
|
wrap: ""
|
|
14300
14301
|
};
|
|
@@ -14369,7 +14370,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
14369
14370
|
class: "code-editor-grandpa"
|
|
14370
14371
|
}, [
|
|
14371
14372
|
createElementVNode("div", _hoisted_2$z, [
|
|
14372
|
-
createElementVNode("pre", _hoisted_3$
|
|
14373
|
+
createElementVNode("pre", _hoisted_3$t, [
|
|
14373
14374
|
createElementVNode("code", { innerHTML: formattedCode.value }, null, 8, _hoisted_4$i)
|
|
14374
14375
|
]),
|
|
14375
14376
|
!_ctx.readonly ? (openBlock(), createElementBlock("textarea", {
|
|
@@ -14392,7 +14393,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
14392
14393
|
const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-de01e351"]]);
|
|
14393
14394
|
const _hoisted_1$J = ["title"];
|
|
14394
14395
|
const _hoisted_2$y = { class: "flex bg-input rounded px-025 colorInputPickWrap" };
|
|
14395
|
-
const _hoisted_3$
|
|
14396
|
+
const _hoisted_3$s = ["id", "placeholder", "required"];
|
|
14396
14397
|
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
14397
14398
|
__name: "ColorInput",
|
|
14398
14399
|
props: {
|
|
@@ -14431,7 +14432,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
14431
14432
|
type: "color",
|
|
14432
14433
|
placeholder: _ctx.placeholder || _ctx.label,
|
|
14433
14434
|
required: _ctx.required
|
|
14434
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$
|
|
14435
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$s), [
|
|
14435
14436
|
[vModelText, inputVal.value]
|
|
14436
14437
|
]),
|
|
14437
14438
|
withDirectives(createElementVNode("input", {
|
|
@@ -14975,7 +14976,7 @@ class Time {
|
|
|
14975
14976
|
}
|
|
14976
14977
|
const _hoisted_1$I = { class: "ltr flex gap-075 m_flex-wrap calendar-container justify-content-center h-100p" };
|
|
14977
14978
|
const _hoisted_2$x = { class: "calendar-section m_border-none pe-05 m_p-0" };
|
|
14978
|
-
const _hoisted_3$
|
|
14979
|
+
const _hoisted_3$r = { class: "flex space-between pb-1" };
|
|
14979
14980
|
const _hoisted_4$h = { class: "flex gap-05" };
|
|
14980
14981
|
const _hoisted_5$h = { class: "month-year" };
|
|
14981
14982
|
const _hoisted_6$e = {
|
|
@@ -15231,7 +15232,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
15231
15232
|
return (_ctx, _cache) => {
|
|
15232
15233
|
return openBlock(), createElementBlock("div", _hoisted_1$I, [
|
|
15233
15234
|
createElementVNode("div", _hoisted_2$x, [
|
|
15234
|
-
createElementVNode("div", _hoisted_3$
|
|
15235
|
+
createElementVNode("div", _hoisted_3$r, [
|
|
15235
15236
|
currentView.value === "days" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
15236
15237
|
createVNode(unref(Btn), {
|
|
15237
15238
|
flat: "",
|
|
@@ -15363,7 +15364,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
15363
15364
|
const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-16646325"]]);
|
|
15364
15365
|
const _hoisted_1$H = ["title"];
|
|
15365
15366
|
const _hoisted_2$w = { key: 0 };
|
|
15366
|
-
const _hoisted_3$
|
|
15367
|
+
const _hoisted_3$q = {
|
|
15367
15368
|
key: 0,
|
|
15368
15369
|
class: "required"
|
|
15369
15370
|
};
|
|
@@ -15485,7 +15486,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
15485
15486
|
}, [
|
|
15486
15487
|
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$w, [
|
|
15487
15488
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
15488
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
15489
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$q, "*")) : createCommentVNode("", true)
|
|
15489
15490
|
])) : createCommentVNode("", true),
|
|
15490
15491
|
createVNode(unref(_sfc_main$Z), {
|
|
15491
15492
|
shown: isOpen.value,
|
|
@@ -15553,7 +15554,7 @@ const VIDEO_FORMATS_REGEXP = new RegExp(`(${VIDEO_FORMATS.join("|")})$`, "i");
|
|
|
15553
15554
|
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
15555
|
const _hoisted_1$G = ["title"];
|
|
15555
15556
|
const _hoisted_2$v = ["for"];
|
|
15556
|
-
const _hoisted_3$
|
|
15557
|
+
const _hoisted_3$p = { class: "flex" };
|
|
15557
15558
|
const _hoisted_4$g = { key: 0 };
|
|
15558
15559
|
const _hoisted_5$g = {
|
|
15559
15560
|
key: 1,
|
|
@@ -15828,7 +15829,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
15828
15829
|
title: _ctx.title
|
|
15829
15830
|
}, [
|
|
15830
15831
|
createElementVNode("label", { for: _ctx.id }, [
|
|
15831
|
-
createElementVNode("div", _hoisted_3$
|
|
15832
|
+
createElementVNode("div", _hoisted_3$p, [
|
|
15832
15833
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
15833
15834
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_4$g, "*")) : createCommentVNode("", true),
|
|
15834
15835
|
_ctx.helptext ? (openBlock(), createElementBlock("span", _hoisted_5$g, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true),
|
|
@@ -15878,7 +15879,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
15878
15879
|
const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-e3d13caa"]]);
|
|
15879
15880
|
const _hoisted_1$F = ["title"];
|
|
15880
15881
|
const _hoisted_2$u = { key: 0 };
|
|
15881
|
-
const _hoisted_3$
|
|
15882
|
+
const _hoisted_3$o = ["value", "placeholder"];
|
|
15882
15883
|
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
15883
15884
|
__name: "JSONInput",
|
|
15884
15885
|
props: {
|
|
@@ -15910,7 +15911,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
15910
15911
|
class: normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
15911
15912
|
placeholder: _ctx.placeholder,
|
|
15912
15913
|
onInput: handleInput
|
|
15913
|
-
}, null, 42, _hoisted_3$
|
|
15914
|
+
}, null, 42, _hoisted_3$o)
|
|
15914
15915
|
], 10, _hoisted_1$F);
|
|
15915
15916
|
};
|
|
15916
15917
|
}
|
|
@@ -15921,7 +15922,7 @@ const _hoisted_2$t = {
|
|
|
15921
15922
|
key: 0,
|
|
15922
15923
|
class: "block"
|
|
15923
15924
|
};
|
|
15924
|
-
const _hoisted_3$
|
|
15925
|
+
const _hoisted_3$n = ["id", "placeholder", "disabled", "required", "readonly", "pattern", "onKeydown"];
|
|
15925
15926
|
const _hoisted_4$f = {
|
|
15926
15927
|
key: 1,
|
|
15927
15928
|
class: "opacity-7 light"
|
|
@@ -16070,7 +16071,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
16070
16071
|
withKeys(withModifiers(increment, ["prevent"]), ["up"]),
|
|
16071
16072
|
withKeys(withModifiers(decrement, ["prevent"]), ["down"])
|
|
16072
16073
|
]
|
|
16073
|
-
}, null, 42, _hoisted_3$
|
|
16074
|
+
}, null, 42, _hoisted_3$n), [
|
|
16074
16075
|
[
|
|
16075
16076
|
vModelText,
|
|
16076
16077
|
unref(formattedValue),
|
|
@@ -16307,7 +16308,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
16307
16308
|
});
|
|
16308
16309
|
const _hoisted_1$B = ["for"];
|
|
16309
16310
|
const _hoisted_2$r = ["id", "disabled", "name", "value", "required"];
|
|
16310
|
-
const _hoisted_3$
|
|
16311
|
+
const _hoisted_3$m = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|
|
16311
16312
|
const _hoisted_4$e = ["src", "alt"];
|
|
16312
16313
|
const _hoisted_5$e = { class: "" };
|
|
16313
16314
|
const _hoisted_6$c = {
|
|
@@ -16382,7 +16383,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
16382
16383
|
}, null, 40, _hoisted_2$r), [
|
|
16383
16384
|
[vModelRadio, selectedOption.value]
|
|
16384
16385
|
]),
|
|
16385
|
-
createElementVNode("div", _hoisted_3$
|
|
16386
|
+
createElementVNode("div", _hoisted_3$m, [
|
|
16386
16387
|
opt.imgSrc ? (openBlock(), createElementBlock("img", {
|
|
16387
16388
|
key: 0,
|
|
16388
16389
|
class: "bg-popup shadow-light py-025 radius-05 m_w40",
|
|
@@ -16413,7 +16414,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
16413
16414
|
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-adc49780"]]);
|
|
16414
16415
|
const _hoisted_1$A = { class: "bagel-input" };
|
|
16415
16416
|
const _hoisted_2$q = { class: "pb-025" };
|
|
16416
|
-
const _hoisted_3$
|
|
16417
|
+
const _hoisted_3$l = { class: "flex gap-05 flex-wrap" };
|
|
16417
16418
|
const _hoisted_4$d = ["id", "name", "value", "checked"];
|
|
16418
16419
|
const _hoisted_5$d = ["for"];
|
|
16419
16420
|
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
@@ -16461,7 +16462,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
16461
16462
|
return (_ctx, _cache) => {
|
|
16462
16463
|
return openBlock(), createElementBlock("div", _hoisted_1$A, [
|
|
16463
16464
|
createElementVNode("label", _hoisted_2$q, toDisplayString(_ctx.label), 1),
|
|
16464
|
-
createElementVNode("div", _hoisted_3$
|
|
16465
|
+
createElementVNode("div", _hoisted_3$l, [
|
|
16465
16466
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option2, index2) => {
|
|
16466
16467
|
return openBlock(), createElementBlock("div", {
|
|
16467
16468
|
key: index2,
|
|
@@ -16491,7 +16492,7 @@ const _hoisted_2$p = {
|
|
|
16491
16492
|
key: 0,
|
|
16492
16493
|
class: "label"
|
|
16493
16494
|
};
|
|
16494
|
-
const _hoisted_3$
|
|
16495
|
+
const _hoisted_3$k = { class: "range-slider relative w-100" };
|
|
16495
16496
|
const _hoisted_4$c = ["id", "value", "min", "max", "step", "required", "disabled", "aria-label"];
|
|
16496
16497
|
const _hoisted_5$c = ["value", "min", "max", "step", "required", "disabled"];
|
|
16497
16498
|
const _hoisted_6$b = { class: "track absolute pointer-events-none overflow-hidden round" };
|
|
@@ -16561,7 +16562,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
16561
16562
|
dir: _ctx.rtl ? "rtl" : "ltr"
|
|
16562
16563
|
}, [
|
|
16563
16564
|
props2.label ? (openBlock(), createElementBlock("label", _hoisted_2$p, toDisplayString(props2.label), 1)) : createCommentVNode("", true),
|
|
16564
|
-
createElementVNode("div", _hoisted_3$
|
|
16565
|
+
createElementVNode("div", _hoisted_3$k, [
|
|
16565
16566
|
createElementVNode("input", {
|
|
16566
16567
|
id: _ctx.id,
|
|
16567
16568
|
value: validFrom.value,
|
|
@@ -16724,7 +16725,7 @@ const toolbarOptions = [
|
|
|
16724
16725
|
];
|
|
16725
16726
|
const _hoisted_1$y = { class: "grid grid-wrap p-05" };
|
|
16726
16727
|
const _hoisted_2$o = ["onMousemove", "onClick"];
|
|
16727
|
-
const _hoisted_3$
|
|
16728
|
+
const _hoisted_3$j = { class: "txt-center txt-12 color-gray" };
|
|
16728
16729
|
const fb = 1;
|
|
16729
16730
|
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
16730
16731
|
__name: "gridBox",
|
|
@@ -16778,7 +16779,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
16778
16779
|
}), 128))
|
|
16779
16780
|
], 32);
|
|
16780
16781
|
}), 128)),
|
|
16781
|
-
createElementVNode("p", _hoisted_3$
|
|
16782
|
+
createElementVNode("p", _hoisted_3$j, toDisplayString(hoveredRow.value) + "x" + toDisplayString(hoveredCol.value), 1)
|
|
16782
16783
|
]);
|
|
16783
16784
|
};
|
|
16784
16785
|
}
|
|
@@ -18416,8 +18417,7 @@ function isNodeEmpty(node) {
|
|
|
18416
18417
|
return brElements.length === 1 && node.childNodes.length <= 2;
|
|
18417
18418
|
}
|
|
18418
18419
|
const _hoisted_1$w = { class: "bagel-input" };
|
|
18419
|
-
const _hoisted_2$n = {
|
|
18420
|
-
const _hoisted_3$j = {
|
|
18420
|
+
const _hoisted_2$n = {
|
|
18421
18421
|
key: 1,
|
|
18422
18422
|
class: "flex"
|
|
18423
18423
|
};
|
|
@@ -18427,7 +18427,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
18427
18427
|
modelValue: {},
|
|
18428
18428
|
toolbarConfig: {},
|
|
18429
18429
|
debug: { type: Boolean },
|
|
18430
|
-
label: {}
|
|
18430
|
+
label: {},
|
|
18431
|
+
height: {}
|
|
18431
18432
|
},
|
|
18432
18433
|
emits: ["update:modelValue"],
|
|
18433
18434
|
setup(__props, { emit: __emit }) {
|
|
@@ -18444,6 +18445,14 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
18444
18445
|
const commands = useCommands(editor.state, editor.state.debug);
|
|
18445
18446
|
const debugMethods = computed(() => editor.state.debug);
|
|
18446
18447
|
const hasRTL = computed(() => /[\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC]/.test(props2.modelValue));
|
|
18448
|
+
const editorHeight = computed(() => {
|
|
18449
|
+
if (typeof props2.height === "number") {
|
|
18450
|
+
return `${props2.height}px`;
|
|
18451
|
+
} else if (typeof props2.height === "string") {
|
|
18452
|
+
return props2.height;
|
|
18453
|
+
}
|
|
18454
|
+
return "240px";
|
|
18455
|
+
});
|
|
18447
18456
|
onUnmounted(() => {
|
|
18448
18457
|
editor.cleanup();
|
|
18449
18458
|
});
|
|
@@ -18556,7 +18565,10 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
18556
18565
|
createElementVNode("div", {
|
|
18557
18566
|
class: normalizeClass(["editor-container", { "split-view": unref(editor).state.isSplitView }])
|
|
18558
18567
|
}, [
|
|
18559
|
-
createElementVNode("div",
|
|
18568
|
+
createElementVNode("div", {
|
|
18569
|
+
class: "content-area radius-05",
|
|
18570
|
+
style: normalizeStyle({ height: unref(editor).state.isFullscreen ? "calc(100vh - 4rem)" : editorHeight.value })
|
|
18571
|
+
}, [
|
|
18560
18572
|
createElementVNode("iframe", {
|
|
18561
18573
|
id: "rich-text-iframe",
|
|
18562
18574
|
ref_key: "iframe",
|
|
@@ -18567,7 +18579,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
18567
18579
|
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
18580
|
onLoad: initEditor
|
|
18569
18581
|
}, null, 544)
|
|
18570
|
-
]),
|
|
18582
|
+
], 4),
|
|
18571
18583
|
unref(editor).state.isSplitView ? (openBlock(), createBlock(unref(CodeEditor), {
|
|
18572
18584
|
key: 0,
|
|
18573
18585
|
modelValue: unref(editor).state.content,
|
|
@@ -18576,10 +18588,10 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
18576
18588
|
_cache[1] || (_cache[1] = ($event) => unref(editor).updateState.content("html"))
|
|
18577
18589
|
],
|
|
18578
18590
|
language: "html",
|
|
18579
|
-
height: unref(editor).state.isFullscreen ? "calc(100vh - 4rem)" :
|
|
18591
|
+
height: unref(editor).state.isFullscreen ? "calc(100vh - 4rem)" : editorHeight.value
|
|
18580
18592
|
}, null, 8, ["modelValue", "height"])) : createCommentVNode("", true)
|
|
18581
18593
|
], 2),
|
|
18582
|
-
_ctx.debug ? (openBlock(), createElementBlock("div",
|
|
18594
|
+
_ctx.debug ? (openBlock(), createElementBlock("div", _hoisted_2$n, [
|
|
18583
18595
|
_cache[6] || (_cache[6] = createElementVNode("p", { class: "text12 txt-gray mb-0 p-0" }, " Debug ", -1)),
|
|
18584
18596
|
createVNode(unref(Btn), {
|
|
18585
18597
|
thin: "",
|
|
@@ -18623,7 +18635,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
18623
18635
|
};
|
|
18624
18636
|
}
|
|
18625
18637
|
});
|
|
18626
|
-
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-
|
|
18638
|
+
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-8304a538"]]);
|
|
18627
18639
|
const _hoisted_1$v = { key: 0 };
|
|
18628
18640
|
const _hoisted_2$m = { class: "flex gap-05" };
|
|
18629
18641
|
const _hoisted_3$i = ["disabled"];
|
|
@@ -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,
|