@bagelink/vue 1.2.126 → 1.2.128
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/DragOver.vue.d.ts +1 -0
- package/dist/components/DragOver.vue.d.ts.map +1 -1
- package/dist/components/ImportData.vue.d.ts.map +1 -1
- package/dist/components/Loading.vue.d.ts +1 -0
- package/dist/components/Loading.vue.d.ts.map +1 -1
- package/dist/components/Modal.vue.d.ts +10 -5
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/dataTable/DataTable.vue.d.ts.map +1 -1
- package/dist/components/dataTable/useTableData.d.ts +10 -10
- package/dist/components/dataTable/useTableData.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/index.cjs +318 -257
- package/dist/index.mjs +318 -257
- package/dist/style.css +111 -112
- package/dist/types/BagelForm.d.ts.map +1 -1
- package/dist/types/TableSchema.d.ts +1 -1
- package/dist/types/TableSchema.d.ts.map +1 -1
- package/dist/utils/BagelFormUtils.d.ts +2 -2
- package/dist/utils/BagelFormUtils.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/DragOver.vue +21 -0
- package/src/components/ImportData.vue +34 -33
- package/src/components/Loading.vue +58 -50
- package/src/components/Modal.vue +10 -4
- package/src/components/dataTable/DataTable.vue +5 -11
- package/src/components/dataTable/useTableData.ts +11 -10
- package/src/components/form/inputs/SelectInput.vue +1 -1
- package/src/types/BagelForm.ts +2 -0
- package/src/types/TableSchema.ts +1 -1
- package/src/utils/BagelFormUtils.ts +2 -2
package/dist/index.mjs
CHANGED
|
@@ -18,8 +18,8 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
const _hoisted_1$15 = ["aria-expanded", "aria-controls"];
|
|
21
|
-
const _hoisted_2$
|
|
22
|
-
const _hoisted_3$
|
|
21
|
+
const _hoisted_2$Q = { class: "accordion-label" };
|
|
22
|
+
const _hoisted_3$I = ["id", "aria-hidden"];
|
|
23
23
|
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
24
24
|
__name: "AccordionItem",
|
|
25
25
|
props: {
|
|
@@ -86,7 +86,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
86
86
|
createVNode(unref(_sfc_main$v), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
87
87
|
], 2)) : createCommentVNode("", true),
|
|
88
88
|
renderSlot(_ctx.$slots, "head", {}, () => [
|
|
89
|
-
createElementVNode("span", _hoisted_2$
|
|
89
|
+
createElementVNode("span", _hoisted_2$Q, toDisplayString(_ctx.label), 1)
|
|
90
90
|
], true),
|
|
91
91
|
iconPosition.value === "end" ? (openBlock(), createElementBlock("span", {
|
|
92
92
|
key: 1,
|
|
@@ -104,7 +104,7 @@ const _sfc_main$1i = /* @__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$I)) : createCommentVNode("", true)
|
|
108
108
|
]),
|
|
109
109
|
_: 3
|
|
110
110
|
})
|
|
@@ -278,7 +278,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
278
278
|
});
|
|
279
279
|
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-99c4aa53"]]);
|
|
280
280
|
const _hoisted_1$12 = ["dismissable"];
|
|
281
|
-
const _hoisted_2$
|
|
281
|
+
const _hoisted_2$P = { class: "m-0" };
|
|
282
282
|
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
283
283
|
__name: "Alert",
|
|
284
284
|
props: {
|
|
@@ -309,7 +309,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
309
309
|
size: 1.7,
|
|
310
310
|
color: color2[_ctx.type]
|
|
311
311
|
}, null, 8, ["icon", "color"])) : createCommentVNode("", true),
|
|
312
|
-
createElementVNode("p", _hoisted_2$
|
|
312
|
+
createElementVNode("p", _hoisted_2$P, toDisplayString(_ctx.message), 1),
|
|
313
313
|
createVNode(Btn, {
|
|
314
314
|
flat: "",
|
|
315
315
|
thin: "",
|
|
@@ -381,8 +381,8 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
381
381
|
});
|
|
382
382
|
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-689f051f"]]);
|
|
383
383
|
const _hoisted_1$10 = ["src"];
|
|
384
|
-
const _hoisted_2$
|
|
385
|
-
const _hoisted_3$
|
|
384
|
+
const _hoisted_2$O = ["autoplay", "muted", "loop", "controls", "playsinline"];
|
|
385
|
+
const _hoisted_3$H = ["src", "type"];
|
|
386
386
|
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
387
387
|
__name: "BglVideo",
|
|
388
388
|
props: {
|
|
@@ -474,8 +474,8 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
474
474
|
createElementVNode("source", {
|
|
475
475
|
src: _ctx.src,
|
|
476
476
|
type: `video/${videoFormat.value}`
|
|
477
|
-
}, null, 8, _hoisted_3$
|
|
478
|
-
], 12, _hoisted_2$
|
|
477
|
+
}, null, 8, _hoisted_3$H)
|
|
478
|
+
], 12, _hoisted_2$O)) : createCommentVNode("", true)
|
|
479
479
|
], 2);
|
|
480
480
|
};
|
|
481
481
|
}
|
|
@@ -548,8 +548,8 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
548
548
|
});
|
|
549
549
|
const CalendarPopover = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-6f51f6b3"]]);
|
|
550
550
|
const _hoisted_1$$ = { class: "agenda-view" };
|
|
551
|
-
const _hoisted_2$
|
|
552
|
-
const _hoisted_3$
|
|
551
|
+
const _hoisted_2$N = ["data-date", "onClick"];
|
|
552
|
+
const _hoisted_3$G = { class: "event-content" };
|
|
553
553
|
const _hoisted_4$s = { class: "event-time" };
|
|
554
554
|
const _hoisted_5$r = { class: "event-details" };
|
|
555
555
|
const _hoisted_6$n = { class: "event-title" };
|
|
@@ -672,7 +672,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
672
672
|
"data-date": event.start_time,
|
|
673
673
|
onClick: withModifiers(($event) => handleEventSelection(event, $event), ["stop"])
|
|
674
674
|
}, [
|
|
675
|
-
createElementVNode("div", _hoisted_3$
|
|
675
|
+
createElementVNode("div", _hoisted_3$G, [
|
|
676
676
|
createElementVNode("div", _hoisted_4$s, toDisplayString(unref(formatDate)(event.start_time, { fmt: "HH:mm" })), 1),
|
|
677
677
|
createElementVNode("div", _hoisted_5$r, [
|
|
678
678
|
createElementVNode("div", _hoisted_6$n, toDisplayString(event.title), 1),
|
|
@@ -681,7 +681,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
681
681
|
}, toDisplayString(event.dayLabel), 3)
|
|
682
682
|
])
|
|
683
683
|
])
|
|
684
|
-
], 12, _hoisted_2$
|
|
684
|
+
], 12, _hoisted_2$N);
|
|
685
685
|
}), 128))
|
|
686
686
|
], 512)
|
|
687
687
|
]);
|
|
@@ -690,8 +690,8 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
690
690
|
});
|
|
691
691
|
const AgendaView = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-1e2b483b"]]);
|
|
692
692
|
const _hoisted_1$_ = { class: "w-100p overflow-hidden m_overflow h-100p grid" };
|
|
693
|
-
const _hoisted_2$
|
|
694
|
-
const _hoisted_3$
|
|
693
|
+
const _hoisted_2$M = { class: "border-bottom me-1 txt-center p-05 dayGrid" };
|
|
694
|
+
const _hoisted_3$F = { class: "overflow h-100p pe-05" };
|
|
695
695
|
const _hoisted_4$r = { class: "time-column" };
|
|
696
696
|
const _hoisted_5$q = { class: "events-column" };
|
|
697
697
|
const _hoisted_6$m = ["onClick"];
|
|
@@ -836,11 +836,11 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
836
836
|
});
|
|
837
837
|
return (_ctx, _cache) => {
|
|
838
838
|
return openBlock(), createElementBlock("div", _hoisted_1$_, [
|
|
839
|
-
createElementVNode("div", _hoisted_2$
|
|
839
|
+
createElementVNode("div", _hoisted_2$M, [
|
|
840
840
|
_cache[0] || (_cache[0] = createElementVNode("div", null, null, -1)),
|
|
841
841
|
createElementVNode("div", null, toDisplayString(unref(formatDate)(_ctx.startDate)), 1)
|
|
842
842
|
]),
|
|
843
|
-
createElementVNode("div", _hoisted_3$
|
|
843
|
+
createElementVNode("div", _hoisted_3$F, [
|
|
844
844
|
createElementVNode("div", {
|
|
845
845
|
class: "time-slots dayGrid border-end relative",
|
|
846
846
|
onMousedown: handleMouseDown
|
|
@@ -902,8 +902,8 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
902
902
|
});
|
|
903
903
|
const DayView = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-8b1a770f"]]);
|
|
904
904
|
const _hoisted_1$Z = { class: "month-view" };
|
|
905
|
-
const _hoisted_2$
|
|
906
|
-
const _hoisted_3$
|
|
905
|
+
const _hoisted_2$L = { class: "month-header" };
|
|
906
|
+
const _hoisted_3$E = { class: "month-grid" };
|
|
907
907
|
const _hoisted_4$q = { class: "day-number" };
|
|
908
908
|
const _hoisted_5$p = { class: "day-events" };
|
|
909
909
|
const _hoisted_6$l = {
|
|
@@ -988,7 +988,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
988
988
|
}
|
|
989
989
|
return (_ctx, _cache) => {
|
|
990
990
|
return openBlock(), createElementBlock("div", _hoisted_1$Z, [
|
|
991
|
-
createElementVNode("div", _hoisted_2$
|
|
991
|
+
createElementVNode("div", _hoisted_2$L, [
|
|
992
992
|
(openBlock(true), createElementBlock(Fragment, null, renderList(weekDays.value, (day) => {
|
|
993
993
|
return openBlock(), createElementBlock("div", {
|
|
994
994
|
key: day,
|
|
@@ -996,7 +996,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
996
996
|
}, toDisplayString(day), 1);
|
|
997
997
|
}), 128))
|
|
998
998
|
]),
|
|
999
|
-
createElementVNode("div", _hoisted_3$
|
|
999
|
+
createElementVNode("div", _hoisted_3$E, [
|
|
1000
1000
|
(openBlock(true), createElementBlock(Fragment, null, renderList(currentMonth.value, (day) => {
|
|
1001
1001
|
return openBlock(), createElementBlock("div", {
|
|
1002
1002
|
key: day.date.toISOString(),
|
|
@@ -1031,8 +1031,8 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
1031
1031
|
});
|
|
1032
1032
|
const MonthView = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-0b1117c4"]]);
|
|
1033
1033
|
const _hoisted_1$Y = { class: "w-100p overflow-hidden m_overflow h-100p grid" };
|
|
1034
|
-
const _hoisted_2$
|
|
1035
|
-
const _hoisted_3$
|
|
1034
|
+
const _hoisted_2$K = { class: "overflow h-100p pe-05" };
|
|
1035
|
+
const _hoisted_3$D = ["onMousedown"];
|
|
1036
1036
|
const _hoisted_4$p = ["onClick"];
|
|
1037
1037
|
const _hoisted_5$o = { class: "overflow-hidden color-white p-025 txt12 h-100p" };
|
|
1038
1038
|
const _hoisted_6$k = { class: "white-space ellipsis-1" };
|
|
@@ -1316,7 +1316,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
1316
1316
|
]);
|
|
1317
1317
|
}), 128))
|
|
1318
1318
|
], 512),
|
|
1319
|
-
createElementVNode("div", _hoisted_2$
|
|
1319
|
+
createElementVNode("div", _hoisted_2$K, [
|
|
1320
1320
|
createElementVNode("div", {
|
|
1321
1321
|
ref_key: "dayColumnsContainer",
|
|
1322
1322
|
ref: dayColumnsContainer,
|
|
@@ -1371,7 +1371,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
1371
1371
|
])
|
|
1372
1372
|
], 44, _hoisted_4$p);
|
|
1373
1373
|
}), 128))
|
|
1374
|
-
], 40, _hoisted_3$
|
|
1374
|
+
], 40, _hoisted_3$D);
|
|
1375
1375
|
}), 128)),
|
|
1376
1376
|
dragState.value.isDragging && dragState.value.start && dragState.value.end ? (openBlock(), createElementBlock("div", {
|
|
1377
1377
|
key: 1,
|
|
@@ -1394,8 +1394,8 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
1394
1394
|
});
|
|
1395
1395
|
const WeekView = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-2d5bca17"]]);
|
|
1396
1396
|
const _hoisted_1$X = { class: "calendar" };
|
|
1397
|
-
const _hoisted_2$
|
|
1398
|
-
const _hoisted_3$
|
|
1397
|
+
const _hoisted_2$J = { class: "flex m_block m_pb-1" };
|
|
1398
|
+
const _hoisted_3$C = { class: "txt-light my-0" };
|
|
1399
1399
|
const _hoisted_4$o = { class: "ms-auto flex gap-025" };
|
|
1400
1400
|
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
1401
1401
|
__name: "Index",
|
|
@@ -1490,8 +1490,8 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
1490
1490
|
});
|
|
1491
1491
|
return (_ctx, _cache) => {
|
|
1492
1492
|
return openBlock(), createElementBlock("div", _hoisted_1$X, [
|
|
1493
|
-
createElementVNode("div", _hoisted_2$
|
|
1494
|
-
createElementVNode("h3", _hoisted_3$
|
|
1493
|
+
createElementVNode("div", _hoisted_2$J, [
|
|
1494
|
+
createElementVNode("h3", _hoisted_3$C, [
|
|
1495
1495
|
createElementVNode("b", null, toDisplayString(unref(fmtDate)(currentDate.value, { fmt: "MMMM" })), 1),
|
|
1496
1496
|
createTextVNode(" " + toDisplayString(unref(fmtDate)(currentDate.value, { fmt: "YYYY" })), 1)
|
|
1497
1497
|
]),
|
|
@@ -1612,11 +1612,11 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
1612
1612
|
}
|
|
1613
1613
|
});
|
|
1614
1614
|
const _hoisted_1$V = ["dir"];
|
|
1615
|
-
const _hoisted_2$
|
|
1615
|
+
const _hoisted_2$I = {
|
|
1616
1616
|
key: 0,
|
|
1617
1617
|
class: "dots"
|
|
1618
1618
|
};
|
|
1619
|
-
const _hoisted_3$
|
|
1619
|
+
const _hoisted_3$B = ["onClick"];
|
|
1620
1620
|
const GAP_PERCENT = 1;
|
|
1621
1621
|
const VELOCITY_SAMPLE_DURATION = 100;
|
|
1622
1622
|
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
@@ -2053,13 +2053,13 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
2053
2053
|
}, [
|
|
2054
2054
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
2055
2055
|
], 38),
|
|
2056
|
-
props2.dots && unref(slideCount) > 1 ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
2056
|
+
props2.dots && unref(slideCount) > 1 ? (openBlock(), createElementBlock("div", _hoisted_2$I, [
|
|
2057
2057
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(slideCount), (i2) => {
|
|
2058
2058
|
return openBlock(), createElementBlock("span", {
|
|
2059
2059
|
key: i2,
|
|
2060
2060
|
class: normalizeClass(["dot", { current: unref(activeSlideIndex) === i2 - 1 }]),
|
|
2061
2061
|
onClick: ($event) => goToSlide(i2 - 1)
|
|
2062
|
-
}, null, 10, _hoisted_3$
|
|
2062
|
+
}, null, 10, _hoisted_3$B);
|
|
2063
2063
|
}), 128))
|
|
2064
2064
|
])) : createCommentVNode("", true),
|
|
2065
2065
|
createElementVNode("div", {
|
|
@@ -7922,7 +7922,7 @@ const _hoisted_1$1$1 = {
|
|
|
7922
7922
|
style: { display: "flex", position: "relative" }
|
|
7923
7923
|
};
|
|
7924
7924
|
const _hoisted_2$1$1 = ["width", "height", "viewBox"];
|
|
7925
|
-
const _hoisted_3$
|
|
7925
|
+
const _hoisted_3$A = { class: "layer-rectangles" };
|
|
7926
7926
|
const _hoisted_4$n = ["transform", "onMouseover"];
|
|
7927
7927
|
const _hoisted_5$n = ["width", "height"];
|
|
7928
7928
|
const _hoisted_6$j = {
|
|
@@ -7940,7 +7940,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7940
7940
|
viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
|
|
7941
7941
|
ref: "el"
|
|
7942
7942
|
}, [
|
|
7943
|
-
createElementVNode("g", _hoisted_3$
|
|
7943
|
+
createElementVNode("g", _hoisted_3$A, [
|
|
7944
7944
|
(openBlock(true), createElementBlock(
|
|
7945
7945
|
Fragment,
|
|
7946
7946
|
null,
|
|
@@ -8036,7 +8036,7 @@ const _hoisted_1$U = {
|
|
|
8036
8036
|
key: 0,
|
|
8037
8037
|
class: "layer-hover-bar"
|
|
8038
8038
|
};
|
|
8039
|
-
const _hoisted_2$
|
|
8039
|
+
const _hoisted_2$H = ["x", "y", "width", "height"];
|
|
8040
8040
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8041
8041
|
return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$U, [
|
|
8042
8042
|
createElementVNode("rect", mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
|
|
@@ -8044,7 +8044,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8044
8044
|
y: _ctx.bar.y,
|
|
8045
8045
|
width: _ctx.bar.width > 0 ? _ctx.bar.width : 0,
|
|
8046
8046
|
height: _ctx.bar.height > 0 ? _ctx.bar.height : 0
|
|
8047
|
-
}), null, 16, _hoisted_2$
|
|
8047
|
+
}), null, 16, _hoisted_2$H)
|
|
8048
8048
|
])) : createCommentVNode("v-if", true);
|
|
8049
8049
|
}
|
|
8050
8050
|
script.render = render;
|
|
@@ -8388,7 +8388,7 @@ function useTableData(options) {
|
|
|
8388
8388
|
function resolveSchema() {
|
|
8389
8389
|
try {
|
|
8390
8390
|
schemaState.value = "loading";
|
|
8391
|
-
const dataValue = options.data
|
|
8391
|
+
const dataValue = toValue(options.data) || [];
|
|
8392
8392
|
const schema = useBglSchema({
|
|
8393
8393
|
schema: toValue(options.schema),
|
|
8394
8394
|
columns: toValue(options.columns),
|
|
@@ -8462,12 +8462,11 @@ function useTableData(options) {
|
|
|
8462
8462
|
}
|
|
8463
8463
|
const computedSortField = computed(() => sortField.value ? `_transformed_${sortField.value}` : "");
|
|
8464
8464
|
const computedData = computed(() => {
|
|
8465
|
-
const currentData = options.data
|
|
8465
|
+
const currentData = toValue(options.data) || [];
|
|
8466
8466
|
if (!Array.isArray(currentData) || currentData.length === 0) {
|
|
8467
8467
|
return [];
|
|
8468
8468
|
}
|
|
8469
|
-
|
|
8470
|
-
if (!sortField.value || useServerSortValue.value === true) {
|
|
8469
|
+
if (!sortField.value || toValue(options.useServerSort) === true) {
|
|
8471
8470
|
return currentData.map(transform);
|
|
8472
8471
|
}
|
|
8473
8472
|
return currentData.map(transform).sort((a2, z2) => {
|
|
@@ -8513,7 +8512,7 @@ function useTableData(options) {
|
|
|
8513
8512
|
};
|
|
8514
8513
|
}
|
|
8515
8514
|
const _hoisted_1$T = { class: "data-preview" };
|
|
8516
|
-
const _hoisted_2$
|
|
8515
|
+
const _hoisted_2$G = {
|
|
8517
8516
|
key: 1,
|
|
8518
8517
|
class: "empty-preview"
|
|
8519
8518
|
};
|
|
@@ -8524,7 +8523,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
8524
8523
|
includeUnset: { type: Boolean },
|
|
8525
8524
|
schema: {},
|
|
8526
8525
|
columns: {},
|
|
8527
|
-
useServerSort: {},
|
|
8526
|
+
useServerSort: { type: Boolean },
|
|
8528
8527
|
selectable: { type: Boolean },
|
|
8529
8528
|
onLastItemVisible: { type: Function }
|
|
8530
8529
|
},
|
|
@@ -8564,7 +8563,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
8564
8563
|
return openBlock(), createBlock(resolveDynamicComponent(unref(renderField)(field, unref(slots))), {
|
|
8565
8564
|
key: field.id
|
|
8566
8565
|
});
|
|
8567
|
-
}), 128)) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
8566
|
+
}), 128)) : (openBlock(), createElementBlock("div", _hoisted_2$G, " No data to display "))
|
|
8568
8567
|
]);
|
|
8569
8568
|
};
|
|
8570
8569
|
}
|
|
@@ -9505,8 +9504,8 @@ const _hoisted_1$S = {
|
|
|
9505
9504
|
key: 0,
|
|
9506
9505
|
class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
|
|
9507
9506
|
};
|
|
9508
|
-
const _hoisted_2$
|
|
9509
|
-
const _hoisted_3$
|
|
9507
|
+
const _hoisted_2$F = { class: "infinite-wrapper" };
|
|
9508
|
+
const _hoisted_3$z = { class: "row first-row" };
|
|
9510
9509
|
const _hoisted_4$m = { key: 0 };
|
|
9511
9510
|
const _hoisted_5$m = ["onClick"];
|
|
9512
9511
|
const _hoisted_6$i = { class: "flex" };
|
|
@@ -9520,7 +9519,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
9520
9519
|
data: {},
|
|
9521
9520
|
schema: {},
|
|
9522
9521
|
columns: {},
|
|
9523
|
-
useServerSort: {},
|
|
9522
|
+
useServerSort: { type: Boolean },
|
|
9524
9523
|
selectable: { type: Boolean },
|
|
9525
9524
|
onLastItemVisible: { type: Function }
|
|
9526
9525
|
}, {
|
|
@@ -9534,7 +9533,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
9534
9533
|
emits: /* @__PURE__ */ mergeModels(["orderBy", "select", "lastItemVisible"], ["update:loading", "update:itemHeight", "update:selectedItems"]),
|
|
9535
9534
|
setup(__props, { emit: __emit }) {
|
|
9536
9535
|
useCssVars((_ctx) => ({
|
|
9537
|
-
"
|
|
9536
|
+
"25c2d418": unref(computedItemHeight)
|
|
9538
9537
|
}));
|
|
9539
9538
|
const props2 = __props;
|
|
9540
9539
|
const emit2 = __emit;
|
|
@@ -9542,10 +9541,6 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
9542
9541
|
const loading = useModel(__props, "loading");
|
|
9543
9542
|
const itemHeight = useModel(__props, "itemHeight");
|
|
9544
9543
|
const selectedItems = useModel(__props, "selectedItems");
|
|
9545
|
-
const data2 = computed(() => props2.data);
|
|
9546
|
-
const schema = computed(() => props2.schema);
|
|
9547
|
-
const columns = computed(() => props2.columns);
|
|
9548
|
-
const useServerSort = computed(() => props2.useServerSort);
|
|
9549
9544
|
const {
|
|
9550
9545
|
computedSchema,
|
|
9551
9546
|
computedData,
|
|
@@ -9554,10 +9549,10 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
9554
9549
|
toggleSort,
|
|
9555
9550
|
cleanTransformedData
|
|
9556
9551
|
} = useTableData({
|
|
9557
|
-
data:
|
|
9558
|
-
schema,
|
|
9559
|
-
columns,
|
|
9560
|
-
useServerSort,
|
|
9552
|
+
data: computed(() => props2.data),
|
|
9553
|
+
schema: computed(() => toValue(props2.schema)),
|
|
9554
|
+
columns: computed(() => toValue(props2.columns)),
|
|
9555
|
+
useServerSort: computed(() => toValue(props2.useServerSort)),
|
|
9561
9556
|
onSort: (field, direction) => {
|
|
9562
9557
|
emit2("orderBy", `${field.trim()} ${direction.trim()}`);
|
|
9563
9558
|
}
|
|
@@ -9640,8 +9635,8 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
9640
9635
|
createElementVNode("div", mergeProps(unref(wrapperProps), {
|
|
9641
9636
|
class: { "pointer-events-none": showLoading.value }
|
|
9642
9637
|
}), [
|
|
9643
|
-
createElementVNode("table", _hoisted_2$
|
|
9644
|
-
createElementVNode("thead", _hoisted_3$
|
|
9638
|
+
createElementVNode("table", _hoisted_2$F, [
|
|
9639
|
+
createElementVNode("thead", _hoisted_3$z, [
|
|
9645
9640
|
unref(isSelectable) ? (openBlock(), createElementBlock("th", _hoisted_4$m, [
|
|
9646
9641
|
createElementVNode("input", {
|
|
9647
9642
|
ref_key: "allSelectorEl",
|
|
@@ -9723,7 +9718,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
9723
9718
|
};
|
|
9724
9719
|
}
|
|
9725
9720
|
});
|
|
9726
|
-
const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-
|
|
9721
|
+
const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-f795f660"]]);
|
|
9727
9722
|
function useDraggable(options = {}) {
|
|
9728
9723
|
const isDragging = ref(false);
|
|
9729
9724
|
const dragElement = ref(null);
|
|
@@ -10281,7 +10276,8 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
10281
10276
|
props: {
|
|
10282
10277
|
multiple: { type: Boolean },
|
|
10283
10278
|
accept: {},
|
|
10284
|
-
disabled: { type: Boolean }
|
|
10279
|
+
disabled: { type: Boolean },
|
|
10280
|
+
browse: { type: Boolean }
|
|
10285
10281
|
},
|
|
10286
10282
|
emits: ["addFiles"],
|
|
10287
10283
|
setup(__props, { emit: __emit }) {
|
|
@@ -10310,6 +10306,24 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
10310
10306
|
isDragging.value = false;
|
|
10311
10307
|
}
|
|
10312
10308
|
}
|
|
10309
|
+
function handleClick(e) {
|
|
10310
|
+
if (!props2.browse || props2.disabled) {
|
|
10311
|
+
return;
|
|
10312
|
+
}
|
|
10313
|
+
e.preventDefault();
|
|
10314
|
+
e.stopPropagation();
|
|
10315
|
+
const input = document.createElement("input");
|
|
10316
|
+
input.type = "file";
|
|
10317
|
+
input.multiple = !!props2.multiple;
|
|
10318
|
+
input.accept = props2.accept || "*";
|
|
10319
|
+
input.onchange = (e22) => {
|
|
10320
|
+
const { files: files2 } = e22.target;
|
|
10321
|
+
if (files2) {
|
|
10322
|
+
emit2("addFiles", files2);
|
|
10323
|
+
}
|
|
10324
|
+
};
|
|
10325
|
+
input.click();
|
|
10326
|
+
}
|
|
10313
10327
|
function handleDrop(e) {
|
|
10314
10328
|
if (props2.disabled) return;
|
|
10315
10329
|
e.preventDefault();
|
|
@@ -10328,7 +10342,8 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
10328
10342
|
onDragenter: handleDragEnter,
|
|
10329
10343
|
onDragover: handleDragOver,
|
|
10330
10344
|
onDragleave: handleDragLeave,
|
|
10331
|
-
onDrop: handleDrop
|
|
10345
|
+
onDrop: handleDrop,
|
|
10346
|
+
onClick: handleClick
|
|
10332
10347
|
}, [
|
|
10333
10348
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
10334
10349
|
isDragging.value && !_ctx.disabled ? (openBlock(), createElementBlock("div", _hoisted_1$R, _cache[0] || (_cache[0] = [
|
|
@@ -10338,7 +10353,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
10338
10353
|
};
|
|
10339
10354
|
}
|
|
10340
10355
|
});
|
|
10341
|
-
const DragOver = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-
|
|
10356
|
+
const DragOver = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-9cf27687"]]);
|
|
10342
10357
|
const sides = ["top", "right", "bottom", "left"];
|
|
10343
10358
|
const alignments = ["start", "end"];
|
|
10344
10359
|
const placements = /* @__PURE__ */ sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
|
@@ -12980,7 +12995,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
12980
12995
|
}
|
|
12981
12996
|
});
|
|
12982
12997
|
const _hoisted_1$Q = { class: "px-1 pt-025 pb-1" };
|
|
12983
|
-
const _hoisted_2$
|
|
12998
|
+
const _hoisted_2$E = { class: "ms-1" };
|
|
12984
12999
|
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
12985
13000
|
__name: "FieldSetVue",
|
|
12986
13001
|
props: {
|
|
@@ -12990,7 +13005,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
12990
13005
|
setup(__props) {
|
|
12991
13006
|
return (_ctx, _cache) => {
|
|
12992
13007
|
return openBlock(), createElementBlock("fieldset", _hoisted_1$Q, [
|
|
12993
|
-
createElementVNode("legend", _hoisted_2$
|
|
13008
|
+
createElementVNode("legend", _hoisted_2$E, toDisplayString(_ctx.legend || _ctx.label), 1),
|
|
12994
13009
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
12995
13010
|
]);
|
|
12996
13011
|
};
|
|
@@ -13668,11 +13683,11 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
13668
13683
|
}
|
|
13669
13684
|
});
|
|
13670
13685
|
const _hoisted_1$P = { class: "bgl-multi-step-form" };
|
|
13671
|
-
const _hoisted_2$
|
|
13686
|
+
const _hoisted_2$D = {
|
|
13672
13687
|
key: 0,
|
|
13673
13688
|
class: "bgl-step-progress"
|
|
13674
13689
|
};
|
|
13675
|
-
const _hoisted_3$
|
|
13690
|
+
const _hoisted_3$y = { class: "bgl-steps-indicator" };
|
|
13676
13691
|
const _hoisted_4$l = ["onClick"];
|
|
13677
13692
|
const _hoisted_5$l = {
|
|
13678
13693
|
key: 0,
|
|
@@ -13846,7 +13861,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
13846
13861
|
});
|
|
13847
13862
|
return (_ctx, _cache) => {
|
|
13848
13863
|
return openBlock(), createElementBlock("div", _hoisted_1$P, [
|
|
13849
|
-
_ctx.showProgress ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
13864
|
+
_ctx.showProgress ? (openBlock(), createElementBlock("div", _hoisted_2$D, [
|
|
13850
13865
|
renderSlot(_ctx.$slots, "progress", normalizeProps(guardReactiveProps({
|
|
13851
13866
|
currentStep: currentStep.value,
|
|
13852
13867
|
totalSteps: numberOfSteps.value,
|
|
@@ -13855,7 +13870,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
13855
13870
|
allowStepNavigation: props2.allowStepNavigation,
|
|
13856
13871
|
isStepValidated: isStepValidated.value
|
|
13857
13872
|
})), () => [
|
|
13858
|
-
createElementVNode("div", _hoisted_3$
|
|
13873
|
+
createElementVNode("div", _hoisted_3$y, [
|
|
13859
13874
|
(openBlock(true), createElementBlock(Fragment, null, renderList(numberOfSteps.value, (_2, index2) => {
|
|
13860
13875
|
return openBlock(), createElementBlock("div", {
|
|
13861
13876
|
key: index2,
|
|
@@ -13949,8 +13964,8 @@ const _hoisted_1$O = {
|
|
|
13949
13964
|
key: 0,
|
|
13950
13965
|
class: "label mb-05"
|
|
13951
13966
|
};
|
|
13952
|
-
const _hoisted_2$
|
|
13953
|
-
const _hoisted_3$
|
|
13967
|
+
const _hoisted_2$C = { class: "ps-025 border-start mb-05" };
|
|
13968
|
+
const _hoisted_3$x = {
|
|
13954
13969
|
key: 0,
|
|
13955
13970
|
class: "flex-center h-300px"
|
|
13956
13971
|
};
|
|
@@ -14051,8 +14066,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
14051
14066
|
class: normalizeClass(props2.class)
|
|
14052
14067
|
}, [
|
|
14053
14068
|
_ctx.label ? (openBlock(), createElementBlock("p", _hoisted_1$O, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
14054
|
-
createElementVNode("div", _hoisted_2$
|
|
14055
|
-
schemaState.value !== "loaded" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
14069
|
+
createElementVNode("div", _hoisted_2$C, [
|
|
14070
|
+
schemaState.value !== "loaded" ? (openBlock(), createElementBlock("div", _hoisted_3$x, [
|
|
14056
14071
|
schemaState.value === "loading" ? (openBlock(), createBlock(unref(Loading), { key: 0 })) : schemaState.value === "error" ? (openBlock(), createBlock(unref(_sfc_main$v), {
|
|
14057
14072
|
key: 1,
|
|
14058
14073
|
icon: "error",
|
|
@@ -14138,8 +14153,8 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
14138
14153
|
});
|
|
14139
14154
|
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-73f1d9ad"]]);
|
|
14140
14155
|
const _hoisted_1$M = ["title"];
|
|
14141
|
-
const _hoisted_2$
|
|
14142
|
-
const _hoisted_3$
|
|
14156
|
+
const _hoisted_2$B = ["id", "value", "required"];
|
|
14157
|
+
const _hoisted_3$w = ["for"];
|
|
14143
14158
|
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
14144
14159
|
__name: "CheckInput",
|
|
14145
14160
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -14173,7 +14188,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
14173
14188
|
required: _ctx.required,
|
|
14174
14189
|
type: "checkbox",
|
|
14175
14190
|
class: "me-05"
|
|
14176
|
-
}, null, 8, _hoisted_2$
|
|
14191
|
+
}, null, 8, _hoisted_2$B), [
|
|
14177
14192
|
[vModelCheckbox, checked.value]
|
|
14178
14193
|
]),
|
|
14179
14194
|
createElementVNode("label", {
|
|
@@ -14182,7 +14197,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
14182
14197
|
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
14183
14198
|
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
14184
14199
|
], true)
|
|
14185
|
-
], 8, _hoisted_3$
|
|
14200
|
+
], 8, _hoisted_3$w)
|
|
14186
14201
|
], 10, _hoisted_1$M);
|
|
14187
14202
|
};
|
|
14188
14203
|
}
|
|
@@ -14245,8 +14260,8 @@ const _hoisted_1$L = {
|
|
|
14245
14260
|
key: 0,
|
|
14246
14261
|
class: "label"
|
|
14247
14262
|
};
|
|
14248
|
-
const _hoisted_2$
|
|
14249
|
-
const _hoisted_3$
|
|
14263
|
+
const _hoisted_2$A = { class: "editor-content-papa relative" };
|
|
14264
|
+
const _hoisted_3$v = {
|
|
14250
14265
|
class: "code-display",
|
|
14251
14266
|
wrap: ""
|
|
14252
14267
|
};
|
|
@@ -14320,8 +14335,8 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
14320
14335
|
ref: editorRef,
|
|
14321
14336
|
class: "code-editor-grandpa"
|
|
14322
14337
|
}, [
|
|
14323
|
-
createElementVNode("div", _hoisted_2$
|
|
14324
|
-
createElementVNode("pre", _hoisted_3$
|
|
14338
|
+
createElementVNode("div", _hoisted_2$A, [
|
|
14339
|
+
createElementVNode("pre", _hoisted_3$v, [
|
|
14325
14340
|
createElementVNode("code", { innerHTML: formattedCode.value }, null, 8, _hoisted_4$j)
|
|
14326
14341
|
]),
|
|
14327
14342
|
!_ctx.readonly ? (openBlock(), createElementBlock("textarea", {
|
|
@@ -14343,8 +14358,8 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
14343
14358
|
});
|
|
14344
14359
|
const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-de01e351"]]);
|
|
14345
14360
|
const _hoisted_1$K = ["title"];
|
|
14346
|
-
const _hoisted_2$
|
|
14347
|
-
const _hoisted_3$
|
|
14361
|
+
const _hoisted_2$z = { class: "flex bg-input rounded px-025 colorInputPickWrap" };
|
|
14362
|
+
const _hoisted_3$u = ["id", "placeholder", "required"];
|
|
14348
14363
|
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
14349
14364
|
__name: "ColorInput",
|
|
14350
14365
|
props: {
|
|
@@ -14375,7 +14390,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
14375
14390
|
}, [
|
|
14376
14391
|
createElementVNode("label", null, [
|
|
14377
14392
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
14378
|
-
createElementVNode("div", _hoisted_2$
|
|
14393
|
+
createElementVNode("div", _hoisted_2$z, [
|
|
14379
14394
|
withDirectives(createElementVNode("input", mergeProps({
|
|
14380
14395
|
id: _ctx.id,
|
|
14381
14396
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputVal.value = $event),
|
|
@@ -14383,7 +14398,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
14383
14398
|
type: "color",
|
|
14384
14399
|
placeholder: _ctx.placeholder || _ctx.label,
|
|
14385
14400
|
required: _ctx.required
|
|
14386
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$
|
|
14401
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$u), [
|
|
14387
14402
|
[vModelText, inputVal.value]
|
|
14388
14403
|
]),
|
|
14389
14404
|
withDirectives(createElementVNode("input", {
|
|
@@ -14927,8 +14942,8 @@ class Time {
|
|
|
14927
14942
|
}
|
|
14928
14943
|
}
|
|
14929
14944
|
const _hoisted_1$J = { class: "ltr flex gap-075 m_flex-wrap calendar-container justify-content-center h-100p" };
|
|
14930
|
-
const _hoisted_2$
|
|
14931
|
-
const _hoisted_3$
|
|
14945
|
+
const _hoisted_2$y = { class: "calendar-section m_border-none pe-05 m_p-0" };
|
|
14946
|
+
const _hoisted_3$t = { class: "flex space-between pb-1" };
|
|
14932
14947
|
const _hoisted_4$i = { class: "flex gap-05" };
|
|
14933
14948
|
const _hoisted_5$i = { class: "month-year" };
|
|
14934
14949
|
const _hoisted_6$f = {
|
|
@@ -15183,8 +15198,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
15183
15198
|
}
|
|
15184
15199
|
return (_ctx, _cache) => {
|
|
15185
15200
|
return openBlock(), createElementBlock("div", _hoisted_1$J, [
|
|
15186
|
-
createElementVNode("div", _hoisted_2$
|
|
15187
|
-
createElementVNode("div", _hoisted_3$
|
|
15201
|
+
createElementVNode("div", _hoisted_2$y, [
|
|
15202
|
+
createElementVNode("div", _hoisted_3$t, [
|
|
15188
15203
|
currentView.value === "days" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
15189
15204
|
createVNode(unref(Btn), {
|
|
15190
15205
|
flat: "",
|
|
@@ -15315,8 +15330,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
15315
15330
|
});
|
|
15316
15331
|
const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-16646325"]]);
|
|
15317
15332
|
const _hoisted_1$I = ["title"];
|
|
15318
|
-
const _hoisted_2$
|
|
15319
|
-
const _hoisted_3$
|
|
15333
|
+
const _hoisted_2$x = { key: 0 };
|
|
15334
|
+
const _hoisted_3$s = {
|
|
15320
15335
|
key: 0,
|
|
15321
15336
|
class: "required"
|
|
15322
15337
|
};
|
|
@@ -15436,9 +15451,9 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
15436
15451
|
onFocusin: _cache[4] || (_cache[4] = //@ts-ignore
|
|
15437
15452
|
(...args) => unref(handleFocus) && unref(handleFocus)(...args))
|
|
15438
15453
|
}, [
|
|
15439
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
15454
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$x, [
|
|
15440
15455
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
15441
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
15456
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$s, "*")) : createCommentVNode("", true)
|
|
15442
15457
|
])) : createCommentVNode("", true),
|
|
15443
15458
|
createVNode(unref(_sfc_main$_), {
|
|
15444
15459
|
shown: isOpen.value,
|
|
@@ -15505,8 +15520,8 @@ const VIDEO_FORMATS = ["mp4", "webm", "ogg", "mov", "avi", "flv", "wmv", "mkv",
|
|
|
15505
15520
|
const VIDEO_FORMATS_REGEXP = new RegExp(`(${VIDEO_FORMATS.join("|")})$`, "i");
|
|
15506
15521
|
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;
|
|
15507
15522
|
const _hoisted_1$H = ["title"];
|
|
15508
|
-
const _hoisted_2$
|
|
15509
|
-
const _hoisted_3$
|
|
15523
|
+
const _hoisted_2$w = ["for"];
|
|
15524
|
+
const _hoisted_3$r = { class: "flex" };
|
|
15510
15525
|
const _hoisted_4$h = { key: 0 };
|
|
15511
15526
|
const _hoisted_5$h = {
|
|
15512
15527
|
key: 1,
|
|
@@ -15781,7 +15796,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
15781
15796
|
title: _ctx.title
|
|
15782
15797
|
}, [
|
|
15783
15798
|
createElementVNode("label", { for: _ctx.id }, [
|
|
15784
|
-
createElementVNode("div", _hoisted_3$
|
|
15799
|
+
createElementVNode("div", _hoisted_3$r, [
|
|
15785
15800
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
15786
15801
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_4$h, "*")) : createCommentVNode("", true),
|
|
15787
15802
|
_ctx.helptext ? (openBlock(), createElementBlock("span", _hoisted_5$h, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true),
|
|
@@ -15823,21 +15838,21 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
15823
15838
|
key: 1,
|
|
15824
15839
|
icon: _ctx.icon
|
|
15825
15840
|
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
15826
|
-
], 8, _hoisted_2$
|
|
15841
|
+
], 8, _hoisted_2$w)
|
|
15827
15842
|
], 10, _hoisted_1$H);
|
|
15828
15843
|
};
|
|
15829
15844
|
}
|
|
15830
15845
|
});
|
|
15831
15846
|
const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-e3d13caa"]]);
|
|
15832
15847
|
const _hoisted_1$G = { class: "bagel-input" };
|
|
15833
|
-
const _hoisted_2$
|
|
15848
|
+
const _hoisted_2$v = {
|
|
15834
15849
|
key: 0,
|
|
15835
15850
|
placeholder: "required",
|
|
15836
15851
|
type: "text",
|
|
15837
15852
|
required: "",
|
|
15838
15853
|
class: "pixel"
|
|
15839
15854
|
};
|
|
15840
|
-
const _hoisted_3$
|
|
15855
|
+
const _hoisted_3$q = { class: "m-05 flex opacity-7 z-99" };
|
|
15841
15856
|
const _hoisted_4$g = { class: "ellipsis-1 word-break-all h-20 m-0 color-black" };
|
|
15842
15857
|
const _hoisted_5$g = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
|
|
15843
15858
|
const _hoisted_6$d = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
|
|
@@ -16047,7 +16062,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
16047
16062
|
const _directive_lightbox = resolveDirective("lightbox");
|
|
16048
16063
|
return openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
16049
16064
|
createElementVNode("label", null, toDisplayString(_ctx.label), 1),
|
|
16050
|
-
_ctx.required && !storageFiles.value.length ? (openBlock(), createElementBlock("input", _hoisted_2$
|
|
16065
|
+
_ctx.required && !storageFiles.value.length ? (openBlock(), createElementBlock("input", _hoisted_2$v)) : createCommentVNode("", true),
|
|
16051
16066
|
_ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$15), {
|
|
16052
16067
|
key: 1,
|
|
16053
16068
|
outline: "",
|
|
@@ -16069,7 +16084,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
16069
16084
|
key: file.id,
|
|
16070
16085
|
class: "txt-gray txt-12 flex"
|
|
16071
16086
|
}, [
|
|
16072
|
-
createElementVNode("div", _hoisted_3$
|
|
16087
|
+
createElementVNode("div", _hoisted_3$q, [
|
|
16073
16088
|
withDirectives(createVNode(unref(Btn), {
|
|
16074
16089
|
color: "gray",
|
|
16075
16090
|
thin: "",
|
|
@@ -16304,8 +16319,8 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
16304
16319
|
});
|
|
16305
16320
|
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-50fd0597"]]);
|
|
16306
16321
|
const _hoisted_1$F = ["title"];
|
|
16307
|
-
const _hoisted_2$
|
|
16308
|
-
const _hoisted_3$
|
|
16322
|
+
const _hoisted_2$u = { key: 0 };
|
|
16323
|
+
const _hoisted_3$p = ["value", "placeholder"];
|
|
16309
16324
|
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
16310
16325
|
__name: "JSONInput",
|
|
16311
16326
|
props: {
|
|
@@ -16329,7 +16344,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
16329
16344
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
16330
16345
|
title: _ctx.description
|
|
16331
16346
|
}, [
|
|
16332
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
16347
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$u, [
|
|
16333
16348
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
16334
16349
|
])) : createCommentVNode("", true),
|
|
16335
16350
|
createElementVNode("textarea", {
|
|
@@ -16337,18 +16352,18 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
16337
16352
|
class: normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
16338
16353
|
placeholder: _ctx.placeholder,
|
|
16339
16354
|
onInput: handleInput
|
|
16340
|
-
}, null, 42, _hoisted_3$
|
|
16355
|
+
}, null, 42, _hoisted_3$p)
|
|
16341
16356
|
], 10, _hoisted_1$F);
|
|
16342
16357
|
};
|
|
16343
16358
|
}
|
|
16344
16359
|
});
|
|
16345
16360
|
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-1cbaeab2"]]);
|
|
16346
16361
|
const _hoisted_1$E = ["for"];
|
|
16347
|
-
const _hoisted_2$
|
|
16362
|
+
const _hoisted_2$t = {
|
|
16348
16363
|
key: 0,
|
|
16349
16364
|
class: "block"
|
|
16350
16365
|
};
|
|
16351
|
-
const _hoisted_3$
|
|
16366
|
+
const _hoisted_3$o = ["id", "placeholder", "disabled", "required", "readonly", "pattern", "onKeydown"];
|
|
16352
16367
|
const _hoisted_4$f = {
|
|
16353
16368
|
key: 1,
|
|
16354
16369
|
class: "opacity-7 light"
|
|
@@ -16462,7 +16477,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
16462
16477
|
}])
|
|
16463
16478
|
}, [
|
|
16464
16479
|
createElementVNode("div", { for: _ctx.id }, [
|
|
16465
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
16480
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$t, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
16466
16481
|
createElementVNode("div", {
|
|
16467
16482
|
class: normalizeClass(["gap-025", { "column flex": _ctx.layout === "vertical", "flex": _ctx.layout === "horizontal" }])
|
|
16468
16483
|
}, [
|
|
@@ -16497,7 +16512,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
16497
16512
|
withKeys(withModifiers(increment, ["prevent"]), ["up"]),
|
|
16498
16513
|
withKeys(withModifiers(decrement, ["prevent"]), ["down"])
|
|
16499
16514
|
]
|
|
16500
|
-
}, null, 42, _hoisted_3$
|
|
16515
|
+
}, null, 42, _hoisted_3$o), [
|
|
16501
16516
|
[
|
|
16502
16517
|
vModelText,
|
|
16503
16518
|
unref(formattedValue),
|
|
@@ -16669,7 +16684,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
16669
16684
|
});
|
|
16670
16685
|
const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-ab0a46bf"]]);
|
|
16671
16686
|
const _hoisted_1$C = { class: "relative passwordInput" };
|
|
16672
|
-
const _hoisted_2$
|
|
16687
|
+
const _hoisted_2$s = { class: "m-password position-bottom-end flex column justify-content-center" };
|
|
16673
16688
|
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
16674
16689
|
__name: "PasswordInput",
|
|
16675
16690
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -16719,7 +16734,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
16719
16734
|
class: "mb-0",
|
|
16720
16735
|
name: props2.name
|
|
16721
16736
|
}), null, 16, ["modelValue", "type", "name"]),
|
|
16722
|
-
createElementVNode("div", _hoisted_2$
|
|
16737
|
+
createElementVNode("div", _hoisted_2$s, [
|
|
16723
16738
|
createVNode(unref(Btn), {
|
|
16724
16739
|
flat: "",
|
|
16725
16740
|
thin: "",
|
|
@@ -16733,8 +16748,8 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
16733
16748
|
}
|
|
16734
16749
|
});
|
|
16735
16750
|
const _hoisted_1$B = ["for"];
|
|
16736
|
-
const _hoisted_2$
|
|
16737
|
-
const _hoisted_3$
|
|
16751
|
+
const _hoisted_2$r = ["id", "disabled", "name", "value", "required"];
|
|
16752
|
+
const _hoisted_3$n = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|
|
16738
16753
|
const _hoisted_4$e = ["src", "alt"];
|
|
16739
16754
|
const _hoisted_5$e = { class: "" };
|
|
16740
16755
|
const _hoisted_6$c = {
|
|
@@ -16806,10 +16821,10 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
16806
16821
|
onFocus: handleFocus,
|
|
16807
16822
|
onBlur: handleBlur,
|
|
16808
16823
|
onChange: handleChange
|
|
16809
|
-
}, null, 40, _hoisted_2$
|
|
16824
|
+
}, null, 40, _hoisted_2$r), [
|
|
16810
16825
|
[vModelRadio, selectedOption.value]
|
|
16811
16826
|
]),
|
|
16812
|
-
createElementVNode("div", _hoisted_3$
|
|
16827
|
+
createElementVNode("div", _hoisted_3$n, [
|
|
16813
16828
|
opt.imgSrc ? (openBlock(), createElementBlock("img", {
|
|
16814
16829
|
key: 0,
|
|
16815
16830
|
class: "bg-popup shadow-light py-025 radius-05 m_w40",
|
|
@@ -16839,8 +16854,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
16839
16854
|
});
|
|
16840
16855
|
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-adc49780"]]);
|
|
16841
16856
|
const _hoisted_1$A = { class: "bagel-input" };
|
|
16842
|
-
const _hoisted_2$
|
|
16843
|
-
const _hoisted_3$
|
|
16857
|
+
const _hoisted_2$q = { class: "pb-025" };
|
|
16858
|
+
const _hoisted_3$m = { class: "flex gap-05 flex-wrap" };
|
|
16844
16859
|
const _hoisted_4$d = ["id", "name", "value", "checked"];
|
|
16845
16860
|
const _hoisted_5$d = ["for"];
|
|
16846
16861
|
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
@@ -16887,8 +16902,8 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
16887
16902
|
});
|
|
16888
16903
|
return (_ctx, _cache) => {
|
|
16889
16904
|
return openBlock(), createElementBlock("div", _hoisted_1$A, [
|
|
16890
|
-
createElementVNode("label", _hoisted_2$
|
|
16891
|
-
createElementVNode("div", _hoisted_3$
|
|
16905
|
+
createElementVNode("label", _hoisted_2$q, toDisplayString(_ctx.label), 1),
|
|
16906
|
+
createElementVNode("div", _hoisted_3$m, [
|
|
16892
16907
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option2, index2) => {
|
|
16893
16908
|
return openBlock(), createElementBlock("div", {
|
|
16894
16909
|
key: index2,
|
|
@@ -16914,11 +16929,11 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
16914
16929
|
});
|
|
16915
16930
|
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-68b4cdd0"]]);
|
|
16916
16931
|
const _hoisted_1$z = ["dir"];
|
|
16917
|
-
const _hoisted_2$
|
|
16932
|
+
const _hoisted_2$p = {
|
|
16918
16933
|
key: 0,
|
|
16919
16934
|
class: "label"
|
|
16920
16935
|
};
|
|
16921
|
-
const _hoisted_3$
|
|
16936
|
+
const _hoisted_3$l = { class: "range-slider relative w-100" };
|
|
16922
16937
|
const _hoisted_4$c = ["id", "value", "min", "max", "step", "required", "disabled", "aria-label"];
|
|
16923
16938
|
const _hoisted_5$c = ["value", "min", "max", "step", "required", "disabled"];
|
|
16924
16939
|
const _hoisted_6$b = { class: "track absolute pointer-events-none overflow-hidden round" };
|
|
@@ -16987,8 +17002,8 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
16987
17002
|
return openBlock(), createElementBlock("div", {
|
|
16988
17003
|
dir: _ctx.rtl ? "rtl" : "ltr"
|
|
16989
17004
|
}, [
|
|
16990
|
-
props2.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
16991
|
-
createElementVNode("div", _hoisted_3$
|
|
17005
|
+
props2.label ? (openBlock(), createElementBlock("label", _hoisted_2$p, toDisplayString(props2.label), 1)) : createCommentVNode("", true),
|
|
17006
|
+
createElementVNode("div", _hoisted_3$l, [
|
|
16992
17007
|
createElementVNode("input", {
|
|
16993
17008
|
id: _ctx.id,
|
|
16994
17009
|
value: validFrom.value,
|
|
@@ -17150,8 +17165,8 @@ const toolbarOptions = [
|
|
|
17150
17165
|
{ name: "fullScreen", label: "Full Screen", icon: "fullscreen", class: "ms-auto" }
|
|
17151
17166
|
];
|
|
17152
17167
|
const _hoisted_1$y = { class: "grid grid-wrap p-05" };
|
|
17153
|
-
const _hoisted_2$
|
|
17154
|
-
const _hoisted_3$
|
|
17168
|
+
const _hoisted_2$o = ["onMousemove", "onClick"];
|
|
17169
|
+
const _hoisted_3$k = { class: "txt-center txt-12 color-gray" };
|
|
17155
17170
|
const fb = 1;
|
|
17156
17171
|
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
17157
17172
|
__name: "gridBox",
|
|
@@ -17201,11 +17216,11 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
17201
17216
|
hoveredCol.value = col;
|
|
17202
17217
|
},
|
|
17203
17218
|
onClick: ($event) => emit2("select", `${row}x${col}`)
|
|
17204
|
-
}, null, 42, _hoisted_2$
|
|
17219
|
+
}, null, 42, _hoisted_2$o);
|
|
17205
17220
|
}), 128))
|
|
17206
17221
|
], 32);
|
|
17207
17222
|
}), 128)),
|
|
17208
|
-
createElementVNode("p", _hoisted_3$
|
|
17223
|
+
createElementVNode("p", _hoisted_3$k, toDisplayString(hoveredRow.value) + "x" + toDisplayString(hoveredCol.value), 1)
|
|
17209
17224
|
]);
|
|
17210
17225
|
};
|
|
17211
17226
|
}
|
|
@@ -18839,8 +18854,8 @@ function isNodeEmpty(node) {
|
|
|
18839
18854
|
return brElements.length === 1 && node.childNodes.length <= 2;
|
|
18840
18855
|
}
|
|
18841
18856
|
const _hoisted_1$w = { class: "bagel-input" };
|
|
18842
|
-
const _hoisted_2$
|
|
18843
|
-
const _hoisted_3$
|
|
18857
|
+
const _hoisted_2$n = { class: "content-area radius-05" };
|
|
18858
|
+
const _hoisted_3$j = {
|
|
18844
18859
|
key: 1,
|
|
18845
18860
|
class: "flex"
|
|
18846
18861
|
};
|
|
@@ -18979,7 +18994,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
18979
18994
|
createElementVNode("div", {
|
|
18980
18995
|
class: normalizeClass(["editor-container", { "split-view": unref(editor).state.isSplitView }])
|
|
18981
18996
|
}, [
|
|
18982
|
-
createElementVNode("div", _hoisted_2$
|
|
18997
|
+
createElementVNode("div", _hoisted_2$n, [
|
|
18983
18998
|
createElementVNode("iframe", {
|
|
18984
18999
|
id: "rich-text-iframe",
|
|
18985
19000
|
ref_key: "iframe",
|
|
@@ -19002,7 +19017,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
19002
19017
|
height: unref(editor).state.isFullscreen ? "calc(100vh - 4rem)" : "250px"
|
|
19003
19018
|
}, null, 8, ["modelValue", "height"])) : createCommentVNode("", true)
|
|
19004
19019
|
], 2),
|
|
19005
|
-
_ctx.debug ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
19020
|
+
_ctx.debug ? (openBlock(), createElementBlock("div", _hoisted_3$j, [
|
|
19006
19021
|
_cache[6] || (_cache[6] = createElementVNode("p", { class: "text12 txt-gray mb-0 p-0" }, " Debug ", -1)),
|
|
19007
19022
|
createVNode(unref(Btn), {
|
|
19008
19023
|
thin: "",
|
|
@@ -19048,8 +19063,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
19048
19063
|
});
|
|
19049
19064
|
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-175a13f1"]]);
|
|
19050
19065
|
const _hoisted_1$v = { key: 0 };
|
|
19051
|
-
const _hoisted_2$
|
|
19052
|
-
const _hoisted_3$
|
|
19066
|
+
const _hoisted_2$m = { class: "flex gap-05" };
|
|
19067
|
+
const _hoisted_3$i = ["disabled"];
|
|
19053
19068
|
const _hoisted_4$b = { key: 1 };
|
|
19054
19069
|
const _hoisted_5$b = {
|
|
19055
19070
|
key: 2,
|
|
@@ -19232,8 +19247,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
19232
19247
|
trigger: withCtx(() => [
|
|
19233
19248
|
createElementVNode("label", null, [
|
|
19234
19249
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
19235
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_1$v, "*")) : createCommentVNode("", true),
|
|
19236
|
-
createElementVNode("div", _hoisted_2$
|
|
19250
|
+
_ctx.required && _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$v, "*")) : createCommentVNode("", true),
|
|
19251
|
+
createElementVNode("div", _hoisted_2$m, [
|
|
19237
19252
|
_ctx.searchable && unref(open) ? (openBlock(), createBlock(unref(TextInput), {
|
|
19238
19253
|
key: 0,
|
|
19239
19254
|
ref_key: "searchInput",
|
|
@@ -19280,7 +19295,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
19280
19295
|
key: 3,
|
|
19281
19296
|
thin: ""
|
|
19282
19297
|
}, { icon: unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : createCommentVNode("", true)
|
|
19283
|
-
], 42, _hoisted_3$
|
|
19298
|
+
], 42, _hoisted_3$i)),
|
|
19284
19299
|
_ctx.required ? (openBlock(), createElementBlock("input", {
|
|
19285
19300
|
key: 2,
|
|
19286
19301
|
tabindex: "-1",
|
|
@@ -19352,7 +19367,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
19352
19367
|
};
|
|
19353
19368
|
}
|
|
19354
19369
|
});
|
|
19355
|
-
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-
|
|
19370
|
+
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-cced5e42"]]);
|
|
19356
19371
|
/*!
|
|
19357
19372
|
* Signature Pad v5.0.7 | https://github.com/szimek/signature_pad
|
|
19358
19373
|
* (c) 2025 Szymon Nowak | Released under the MIT license
|
|
@@ -19950,7 +19965,7 @@ class SignaturePad extends SignatureEventTarget {
|
|
|
19950
19965
|
}
|
|
19951
19966
|
}
|
|
19952
19967
|
const _hoisted_1$u = ["disabled"];
|
|
19953
|
-
const _hoisted_2$
|
|
19968
|
+
const _hoisted_2$l = {
|
|
19954
19969
|
key: 1,
|
|
19955
19970
|
placeholder: "required",
|
|
19956
19971
|
type: "text",
|
|
@@ -20154,7 +20169,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
20154
20169
|
class: "canvas",
|
|
20155
20170
|
disabled: _ctx.disabled
|
|
20156
20171
|
}, null, 8, _hoisted_1$u),
|
|
20157
|
-
_ctx.required && unref(_isEmpty) ? (openBlock(), createElementBlock("input", _hoisted_2$
|
|
20172
|
+
_ctx.required && unref(_isEmpty) ? (openBlock(), createElementBlock("input", _hoisted_2$l)) : createCommentVNode("", true)
|
|
20158
20173
|
], 34);
|
|
20159
20174
|
};
|
|
20160
20175
|
}
|
|
@@ -22639,8 +22654,8 @@ const VueDraggableNext = defineComponent({
|
|
|
22639
22654
|
}
|
|
22640
22655
|
});
|
|
22641
22656
|
const _hoisted_1$t = ["title"];
|
|
22642
|
-
const _hoisted_2$
|
|
22643
|
-
const _hoisted_3$
|
|
22657
|
+
const _hoisted_2$k = { class: "bagel-input" };
|
|
22658
|
+
const _hoisted_3$h = { class: "table-side-scroll" };
|
|
22644
22659
|
const _hoisted_4$a = { class: "table-header" };
|
|
22645
22660
|
const _hoisted_5$a = { class: "table-reorder" };
|
|
22646
22661
|
const _hoisted_6$9 = { class: "table-action" };
|
|
@@ -22709,10 +22724,10 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
22709
22724
|
class: "table-field-wrap",
|
|
22710
22725
|
title: _ctx.description
|
|
22711
22726
|
}, [
|
|
22712
|
-
createElementVNode("div", _hoisted_2$
|
|
22727
|
+
createElementVNode("div", _hoisted_2$k, [
|
|
22713
22728
|
createElementVNode("label", null, toDisplayString((_a = unref(fieldMeta)) == null ? void 0 : _a.label), 1)
|
|
22714
22729
|
]),
|
|
22715
|
-
createElementVNode("div", _hoisted_3$
|
|
22730
|
+
createElementVNode("div", _hoisted_3$h, [
|
|
22716
22731
|
createElementVNode("div", _hoisted_4$a, [
|
|
22717
22732
|
(openBlock(true), createElementBlock(Fragment, null, renderList((_b = unref(entityMeta)) == null ? void 0 : _b.fields, (field) => {
|
|
22718
22733
|
return openBlock(), createElementBlock("div", {
|
|
@@ -27274,8 +27289,8 @@ function parsePhoneNumber() {
|
|
|
27274
27289
|
return withMetadataArgument(parsePhoneNumber$1, arguments);
|
|
27275
27290
|
}
|
|
27276
27291
|
const _hoisted_1$s = { key: 0 };
|
|
27277
|
-
const _hoisted_2$
|
|
27278
|
-
const _hoisted_3$
|
|
27292
|
+
const _hoisted_2$j = ["aria-expanded"];
|
|
27293
|
+
const _hoisted_3$g = { class: "flex gap-05 country-code-display" };
|
|
27279
27294
|
const _hoisted_4$9 = { class: "p-075 tel-countryp-dropdown" };
|
|
27280
27295
|
const _hoisted_5$9 = {
|
|
27281
27296
|
class: "overflow-y p-0 max-h-300px",
|
|
@@ -27471,7 +27486,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
27471
27486
|
onShow: focusSearchInput
|
|
27472
27487
|
}, {
|
|
27473
27488
|
trigger: withCtx(() => [
|
|
27474
|
-
createElementVNode("span", _hoisted_3$
|
|
27489
|
+
createElementVNode("span", _hoisted_3$g, [
|
|
27475
27490
|
!disableDropdown.value ? (openBlock(), createBlock(unref(_sfc_main$v), {
|
|
27476
27491
|
key: 0,
|
|
27477
27492
|
icon: unref(open) ? "collapse_all" : "expand_all"
|
|
@@ -27543,7 +27558,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
27543
27558
|
{ tel: true }
|
|
27544
27559
|
]
|
|
27545
27560
|
])
|
|
27546
|
-
], 8, _hoisted_2$
|
|
27561
|
+
], 8, _hoisted_2$j)
|
|
27547
27562
|
])
|
|
27548
27563
|
], 2);
|
|
27549
27564
|
};
|
|
@@ -27551,8 +27566,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
27551
27566
|
});
|
|
27552
27567
|
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-24f599bf"]]);
|
|
27553
27568
|
const _hoisted_1$r = ["title"];
|
|
27554
|
-
const _hoisted_2$
|
|
27555
|
-
const _hoisted_3$
|
|
27569
|
+
const _hoisted_2$i = ["for"];
|
|
27570
|
+
const _hoisted_3$f = { key: 0 };
|
|
27556
27571
|
const _hoisted_4$8 = ["id", "name", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
|
|
27557
27572
|
const _hoisted_5$8 = ["id", "name", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
|
|
27558
27573
|
const _hoisted_6$7 = {
|
|
@@ -27651,7 +27666,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
27651
27666
|
}, [
|
|
27652
27667
|
createElementVNode("label", { for: _ctx.id }, [
|
|
27653
27668
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
27654
|
-
_ctx.required && _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
27669
|
+
_ctx.required && _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$f, "*")) : createCommentVNode("", true),
|
|
27655
27670
|
!_ctx.multiline && !_ctx.autoheight && !_ctx.code && inputRows.value < 2 ? withDirectives((openBlock(), createElementBlock("input", mergeProps({
|
|
27656
27671
|
key: 1,
|
|
27657
27672
|
id: _ctx.id,
|
|
@@ -27711,15 +27726,15 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
27711
27726
|
key: 5,
|
|
27712
27727
|
icon: _ctx.icon
|
|
27713
27728
|
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
27714
|
-
], 8, _hoisted_2$
|
|
27729
|
+
], 8, _hoisted_2$i)
|
|
27715
27730
|
], 10, _hoisted_1$r);
|
|
27716
27731
|
};
|
|
27717
27732
|
}
|
|
27718
27733
|
});
|
|
27719
27734
|
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-84ff4b81"]]);
|
|
27720
27735
|
const _hoisted_1$q = ["title"];
|
|
27721
|
-
const _hoisted_2$
|
|
27722
|
-
const _hoisted_3$
|
|
27736
|
+
const _hoisted_2$h = ["id", "required"];
|
|
27737
|
+
const _hoisted_3$e = ["for"];
|
|
27723
27738
|
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
27724
27739
|
__name: "ToggleInput",
|
|
27725
27740
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -27756,14 +27771,14 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
27756
27771
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checked.value = $event),
|
|
27757
27772
|
type: "checkbox",
|
|
27758
27773
|
required: _ctx.required
|
|
27759
|
-
}, null, 8, _hoisted_2$
|
|
27774
|
+
}, null, 8, _hoisted_2$h), [
|
|
27760
27775
|
[vModelCheckbox, checked.value]
|
|
27761
27776
|
]),
|
|
27762
27777
|
createElementVNode("label", { for: inputId.value }, [
|
|
27763
27778
|
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
27764
27779
|
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
27765
27780
|
], true)
|
|
27766
|
-
], 8, _hoisted_3$
|
|
27781
|
+
], 8, _hoisted_3$e)
|
|
27767
27782
|
], 10, _hoisted_1$q);
|
|
27768
27783
|
};
|
|
27769
27784
|
}
|
|
@@ -27900,8 +27915,8 @@ function useFileUpload(props2 = {}) {
|
|
|
27900
27915
|
};
|
|
27901
27916
|
}
|
|
27902
27917
|
const _hoisted_1$p = { class: "bagel-input" };
|
|
27903
|
-
const _hoisted_2$
|
|
27904
|
-
const _hoisted_3$
|
|
27918
|
+
const _hoisted_2$g = { key: 0 };
|
|
27919
|
+
const _hoisted_3$d = {
|
|
27905
27920
|
key: 1,
|
|
27906
27921
|
placeholder: "required",
|
|
27907
27922
|
type: "text",
|
|
@@ -28013,8 +28028,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28013
28028
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
28014
28029
|
const _directive_lightbox = resolveDirective("lightbox");
|
|
28015
28030
|
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
28016
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
28017
|
-
_ctx.required && !unref(pathKeys).length ? (openBlock(), createElementBlock("input", _hoisted_3$
|
|
28031
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$g, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
28032
|
+
_ctx.required && !unref(pathKeys).length ? (openBlock(), createElementBlock("input", _hoisted_3$d)) : createCommentVNode("", true),
|
|
28018
28033
|
_ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$15), {
|
|
28019
28034
|
key: 2,
|
|
28020
28035
|
outline: "",
|
|
@@ -32783,8 +32798,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
32783
32798
|
}
|
|
32784
32799
|
});
|
|
32785
32800
|
const _hoisted_1$n = { key: 0 };
|
|
32786
|
-
const _hoisted_2$
|
|
32787
|
-
const _hoisted_3$
|
|
32801
|
+
const _hoisted_2$f = ["src", "alt", "width", "height"];
|
|
32802
|
+
const _hoisted_3$c = ["src", "alt", "width", "height"];
|
|
32788
32803
|
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
32789
32804
|
__name: "Image",
|
|
32790
32805
|
props: {
|
|
@@ -32869,7 +32884,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
32869
32884
|
alt: _ctx.alt,
|
|
32870
32885
|
width: unref(normalizeDimension)(_ctx.width),
|
|
32871
32886
|
height: unref(normalizeDimension)(_ctx.height)
|
|
32872
|
-
}), null, 16, _hoisted_2$
|
|
32887
|
+
}), null, 16, _hoisted_2$f)) : (openBlock(), createBlock(unref(Skeleton), {
|
|
32873
32888
|
key: 1,
|
|
32874
32889
|
class: "img-web-kit",
|
|
32875
32890
|
width: unref(normalizeDimension)(_ctx.width),
|
|
@@ -32882,7 +32897,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
32882
32897
|
alt: _ctx.alt,
|
|
32883
32898
|
width: unref(normalizeDimension)(_ctx.width),
|
|
32884
32899
|
height: unref(normalizeDimension)(_ctx.height)
|
|
32885
|
-
}), null, 16, _hoisted_3$
|
|
32900
|
+
}), null, 16, _hoisted_3$c)) : unref(loadingError) ? (openBlock(), createElementBlock("div", {
|
|
32886
32901
|
key: 2,
|
|
32887
32902
|
class: "flex-center error-image",
|
|
32888
32903
|
style: normalizeStyle({
|
|
@@ -32902,11 +32917,11 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
32902
32917
|
});
|
|
32903
32918
|
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-2f5e271c"]]);
|
|
32904
32919
|
const _hoisted_1$m = ["textContent"];
|
|
32905
|
-
const _hoisted_2$
|
|
32920
|
+
const _hoisted_2$e = {
|
|
32906
32921
|
key: 0,
|
|
32907
32922
|
class: "h-100p flex column justify-content-center"
|
|
32908
32923
|
};
|
|
32909
|
-
const _hoisted_3$
|
|
32924
|
+
const _hoisted_3$b = {
|
|
32910
32925
|
key: 1,
|
|
32911
32926
|
class: "loading-container"
|
|
32912
32927
|
};
|
|
@@ -33074,7 +33089,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
33074
33089
|
const lowerSourceValue = String(sourceValue).toLowerCase().trim();
|
|
33075
33090
|
const exactMatch = options.find((option2) => {
|
|
33076
33091
|
const optionObj = typeof option2 === "object" && option2 !== null ? option2 : { label: String(option2) };
|
|
33077
|
-
if (!optionObj
|
|
33092
|
+
if (!optionObj) return false;
|
|
33078
33093
|
const optionLabel = `${optionObj.label}`.toLowerCase().trim();
|
|
33079
33094
|
return optionLabel === lowerSourceValue;
|
|
33080
33095
|
});
|
|
@@ -33271,14 +33286,18 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
33271
33286
|
});
|
|
33272
33287
|
if (fileHeaders.value.length > 0) {
|
|
33273
33288
|
schemaFields.value.forEach((field) => {
|
|
33289
|
+
const fieldIdCamel = formatString(field.id, "camel");
|
|
33290
|
+
const fieldIdPascal = formatString(field.id, "pascal");
|
|
33291
|
+
const fieldLabelCamel = formatString(field.label.replace(/\s+/g, "_"), "camel");
|
|
33292
|
+
const fieldLabelPascal = formatString(field.label.replace(/\s+/g, "_"), "pascal");
|
|
33274
33293
|
const exactMatch = fileHeaders.value.find(
|
|
33275
|
-
(header) => header.toLowerCase() === field.id.toLowerCase() || header.toLowerCase() === field.label.toLowerCase()
|
|
33294
|
+
(header) => header.toLowerCase() === field.id.toLowerCase() || header.toLowerCase() === field.label.toLowerCase() || header.toLowerCase() === fieldIdCamel.toLowerCase() || header.toLowerCase() === fieldIdPascal.toLowerCase() || header.toLowerCase() === fieldLabelCamel.toLowerCase() || header.toLowerCase() === fieldLabelPascal.toLowerCase() || formatString(header.replace(/\s+/g, "_"), "camel").toLowerCase() === fieldIdCamel.toLowerCase() || formatString(header.replace(/\s+/g, "_"), "camel").toLowerCase() === fieldLabelCamel.toLowerCase()
|
|
33276
33295
|
);
|
|
33277
33296
|
if (exactMatch && !field.disabled) {
|
|
33278
33297
|
fieldMapping[field.id] = exactMatch;
|
|
33279
33298
|
} else {
|
|
33280
33299
|
const partialMatch = fileHeaders.value.find(
|
|
33281
|
-
(header) => header.toLowerCase().includes(field.id.toLowerCase()) || header.toLowerCase().includes(field.label.toLowerCase())
|
|
33300
|
+
(header) => header.toLowerCase().includes(field.id.toLowerCase()) || header.toLowerCase().includes(field.label.toLowerCase()) || header.toLowerCase().includes(fieldIdCamel.toLowerCase()) || header.toLowerCase().includes(fieldLabelCamel.toLowerCase()) || field.id.toLowerCase().includes(header.toLowerCase()) || field.label.toLowerCase().includes(header.toLowerCase())
|
|
33282
33301
|
);
|
|
33283
33302
|
if (partialMatch && !field.disabled) {
|
|
33284
33303
|
fieldMapping[field.id] = partialMatch;
|
|
@@ -33519,9 +33538,8 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
33519
33538
|
updateFieldMapping(fieldId, target.value);
|
|
33520
33539
|
}
|
|
33521
33540
|
}
|
|
33522
|
-
|
|
33523
|
-
|
|
33524
|
-
file.value = fileQueue.value[0].file;
|
|
33541
|
+
async function handleFilesUploaded(files2) {
|
|
33542
|
+
file.value = files2[0];
|
|
33525
33543
|
if (!file.value) return;
|
|
33526
33544
|
isLoading.value = true;
|
|
33527
33545
|
try {
|
|
@@ -33532,7 +33550,6 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
33532
33550
|
isLoading.value = false;
|
|
33533
33551
|
}
|
|
33534
33552
|
}
|
|
33535
|
-
watch(fileQueue.value, handleFilesUploaded);
|
|
33536
33553
|
watchEffect(() => {
|
|
33537
33554
|
if (selectedSheet.value) {
|
|
33538
33555
|
loadSheetData();
|
|
@@ -33568,11 +33585,14 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
33568
33585
|
selectedRelationField.value = field;
|
|
33569
33586
|
showRelatedDialog.value = true;
|
|
33570
33587
|
}
|
|
33571
|
-
async function processRelatedFile(fieldId,
|
|
33572
|
-
if (!
|
|
33588
|
+
async function processRelatedFile(fieldId, files2) {
|
|
33589
|
+
if (!files2) return;
|
|
33590
|
+
const file2 = files2[0];
|
|
33573
33591
|
relatedFiles[fieldId] = file2;
|
|
33574
33592
|
try {
|
|
33575
|
-
const
|
|
33593
|
+
const sheets = await getSheetNames(file2);
|
|
33594
|
+
const selectedSheet2 = sheets.length > 0 ? sheets[0] : "";
|
|
33595
|
+
const { headers, data: data2 } = await readSheetData(file2, selectedSheet2, true);
|
|
33576
33596
|
relatedFileData[fieldId] = data2;
|
|
33577
33597
|
if (!relatedFileMappings[fieldId]) {
|
|
33578
33598
|
relatedFileMappings[fieldId] = {};
|
|
@@ -33987,12 +34007,12 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
33987
34007
|
class: "line-height-1 m-0 pb-2 txt-center",
|
|
33988
34008
|
textContent: toDisplayString(props2.title || "Upload and Map Data")
|
|
33989
34009
|
}, null, 8, _hoisted_1$m),
|
|
33990
|
-
!file.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
34010
|
+
!file.value ? (openBlock(), createElementBlock("div", _hoisted_2$e, [
|
|
33991
34011
|
createVNode(unref(DragOver), {
|
|
33992
34012
|
accept: ".csv,.xls,.xlsx",
|
|
33993
34013
|
class: "max-h300px w-500px",
|
|
33994
|
-
|
|
33995
|
-
|
|
34014
|
+
browse: "",
|
|
34015
|
+
onAddFiles: handleFilesUploaded
|
|
33996
34016
|
}, {
|
|
33997
34017
|
default: withCtx(() => [
|
|
33998
34018
|
createVNode(unref(_sfc_main$15), { class: "flex flex-column items-center justify-center outline-dashed outline-3 bg-input hover h-100p justify-content-center txt-center" }, {
|
|
@@ -34001,17 +34021,17 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34001
34021
|
name: "upload",
|
|
34002
34022
|
size: "5"
|
|
34003
34023
|
}),
|
|
34004
|
-
_cache[
|
|
34005
|
-
_cache[
|
|
34006
|
-
_cache[
|
|
34024
|
+
_cache[29] || (_cache[29] = createElementVNode("p", null, "Drag and drop an Excel or CSV file here", -1)),
|
|
34025
|
+
_cache[30] || (_cache[30] = createElementVNode("u", null, "or click to select a file", -1)),
|
|
34026
|
+
_cache[31] || (_cache[31] = createElementVNode("p", { class: "txt-12 color-gray" }, " Accepts .xlsx, .xls, and .csv files ", -1))
|
|
34007
34027
|
]),
|
|
34008
34028
|
_: 1
|
|
34009
34029
|
})
|
|
34010
34030
|
]),
|
|
34011
34031
|
_: 1
|
|
34012
|
-
}
|
|
34032
|
+
})
|
|
34013
34033
|
])) : createCommentVNode("", true),
|
|
34014
|
-
isLoading.value ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
34034
|
+
isLoading.value ? (openBlock(), createElementBlock("div", _hoisted_3$b, _cache[32] || (_cache[32] = [
|
|
34015
34035
|
createElementVNode("div", { class: "spinner" }, null, -1),
|
|
34016
34036
|
createElementVNode("p", null, "Processing your file...", -1)
|
|
34017
34037
|
]))) : createCommentVNode("", true),
|
|
@@ -34020,7 +34040,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34020
34040
|
withDirectives((openBlock(), createBlock(unref(Btn), {
|
|
34021
34041
|
class: "px-1",
|
|
34022
34042
|
color: "gray",
|
|
34023
|
-
onClick: _cache[
|
|
34043
|
+
onClick: _cache[0] || (_cache[0] = ($event) => file.value = null)
|
|
34024
34044
|
}, {
|
|
34025
34045
|
default: withCtx(() => [
|
|
34026
34046
|
createVNode(unref(_sfc_main$v), {
|
|
@@ -34037,22 +34057,22 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34037
34057
|
sheetNames.value.length > 1 ? (openBlock(), createBlock(unref(SelectInput), {
|
|
34038
34058
|
key: 0,
|
|
34039
34059
|
modelValue: selectedSheet.value,
|
|
34040
|
-
"onUpdate:modelValue": _cache[
|
|
34060
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => selectedSheet.value = $event),
|
|
34041
34061
|
options: sheetNames.value,
|
|
34042
34062
|
label: "Select Sheet"
|
|
34043
34063
|
}, null, 8, ["modelValue", "options"])) : createCommentVNode("", true),
|
|
34044
34064
|
createVNode(unref(CheckInput), {
|
|
34045
34065
|
modelValue: hasHeaders.value,
|
|
34046
|
-
"onUpdate:modelValue": _cache[
|
|
34066
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => hasHeaders.value = $event),
|
|
34047
34067
|
label: "Mark this if file has a header row",
|
|
34048
34068
|
class: "m-0",
|
|
34049
34069
|
style: { "--bgl-accent-color": "var(--bgl-black)", "--bgl-primary": "var(--bgl-black)" }
|
|
34050
34070
|
}, null, 8, ["modelValue"])
|
|
34051
34071
|
])) : createCommentVNode("", true),
|
|
34052
34072
|
file.value && !isLoading.value && fileHeaders.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_6$5, [
|
|
34053
|
-
_cache[
|
|
34073
|
+
_cache[36] || (_cache[36] = createElementVNode("p", { class: "label pb-1 border-bottom mb-1" }, " Match each required field to a column from your file, set default values, or configure transformations ", -1)),
|
|
34054
34074
|
createElementVNode("div", _hoisted_7$4, [
|
|
34055
|
-
_cache[
|
|
34075
|
+
_cache[33] || (_cache[33] = createElementVNode("div", { class: "grid grid-wrap-5 gap-1 bold pb-1 m_none" }, [
|
|
34056
34076
|
createElementVNode("p", null, "Schema Field"),
|
|
34057
34077
|
createElementVNode("p", null, "Column from File"),
|
|
34058
34078
|
createElementVNode("p", null, "Default Value"),
|
|
@@ -34087,6 +34107,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34087
34107
|
"onUpdate:modelValue": ($event) => fieldMapping[field.id] = $event,
|
|
34088
34108
|
icon: "table_chart",
|
|
34089
34109
|
options: fileHeaders.value,
|
|
34110
|
+
searchable: "",
|
|
34090
34111
|
required: isFieldRequired(field),
|
|
34091
34112
|
disabled: field.disabled,
|
|
34092
34113
|
onChange: ($event) => handleSelectChange($event, field.id)
|
|
@@ -34132,19 +34153,19 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34132
34153
|
]),
|
|
34133
34154
|
mappingComplete.value ? (openBlock(), createElementBlock("div", _hoisted_18, [
|
|
34134
34155
|
createVNode(unref(Btn), { onClick: showPreview }, {
|
|
34135
|
-
default: withCtx(() => _cache[
|
|
34156
|
+
default: withCtx(() => _cache[34] || (_cache[34] = [
|
|
34136
34157
|
createTextVNode(" Preview Data ")
|
|
34137
34158
|
])),
|
|
34138
34159
|
_: 1
|
|
34139
34160
|
})
|
|
34140
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_19, _cache[
|
|
34161
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_19, _cache[35] || (_cache[35] = [
|
|
34141
34162
|
createElementVNode("div", { class: "mapping-incomplete-message" }, " Please map the required fields to continue ", -1)
|
|
34142
34163
|
])))
|
|
34143
34164
|
])) : createCommentVNode("", true)
|
|
34144
34165
|
]),
|
|
34145
34166
|
createVNode(unref(_sfc_main$f), {
|
|
34146
34167
|
visible: showTransformDialog.value,
|
|
34147
|
-
"onUpdate:visible": _cache[
|
|
34168
|
+
"onUpdate:visible": _cache[10] || (_cache[10] = ($event) => showTransformDialog.value = $event),
|
|
34148
34169
|
title: "Configure Transformations",
|
|
34149
34170
|
width: "800"
|
|
34150
34171
|
}, {
|
|
@@ -34152,18 +34173,18 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34152
34173
|
selectedTransformField.value ? (openBlock(), createElementBlock("div", _hoisted_20, [
|
|
34153
34174
|
createElementVNode("div", _hoisted_21, [
|
|
34154
34175
|
createElementVNode("p", null, [
|
|
34155
|
-
_cache[
|
|
34176
|
+
_cache[37] || (_cache[37] = createTextVNode("Create transformations for ")),
|
|
34156
34177
|
createElementVNode("strong", null, toDisplayString(selectedTransformField.value.label), 1)
|
|
34157
34178
|
]),
|
|
34158
34179
|
createVNode(unref(Btn), {
|
|
34159
34180
|
icon: "auto_awesome",
|
|
34160
34181
|
thin: "",
|
|
34161
34182
|
value: "Autodetect",
|
|
34162
|
-
onClick: _cache[
|
|
34183
|
+
onClick: _cache[3] || (_cache[3] = ($event) => autoPopulateTransformations(selectedTransformField.value.id))
|
|
34163
34184
|
})
|
|
34164
34185
|
]),
|
|
34165
34186
|
createElementVNode("div", null, [
|
|
34166
|
-
_cache[
|
|
34187
|
+
_cache[38] || (_cache[38] = createElementVNode("div", { class: "grid grid-wrap-7 gap-1 bold pb-05 m_none" }, [
|
|
34167
34188
|
createElementVNode("p", { class: "grid-span-2" }, " Source Value "),
|
|
34168
34189
|
createElementVNode("p", { class: "grid-span-4" }, " Target Value "),
|
|
34169
34190
|
createElementVNode("p", null, "Action")
|
|
@@ -34192,14 +34213,14 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34192
34213
|
fieldMapping[selectedTransformField.value.id] ? (openBlock(), createBlock(unref(SelectInput), {
|
|
34193
34214
|
key: 0,
|
|
34194
34215
|
modelValue: selectedSourceValue.value,
|
|
34195
|
-
"onUpdate:modelValue": _cache[
|
|
34216
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => selectedSourceValue.value = $event),
|
|
34196
34217
|
searchable: "",
|
|
34197
34218
|
options: sourceValueOptions.value,
|
|
34198
34219
|
placeholder: "Select source value"
|
|
34199
34220
|
}, null, 8, ["modelValue", "options"])) : (openBlock(), createBlock(TextInput, {
|
|
34200
34221
|
key: 1,
|
|
34201
34222
|
modelValue: selectedSourceValue.value,
|
|
34202
|
-
"onUpdate:modelValue": _cache[
|
|
34223
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => selectedSourceValue.value = $event),
|
|
34203
34224
|
type: "text",
|
|
34204
34225
|
placeholder: "Source value"
|
|
34205
34226
|
}, null, 8, ["modelValue"]))
|
|
@@ -34208,14 +34229,14 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34208
34229
|
selectedTransformField.value.options && selectedTransformField.value.options.length > 0 ? (openBlock(), createBlock(unref(SelectInput), {
|
|
34209
34230
|
key: 0,
|
|
34210
34231
|
modelValue: selectedTargetValue.value,
|
|
34211
|
-
"onUpdate:modelValue": _cache[
|
|
34232
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => selectedTargetValue.value = $event),
|
|
34212
34233
|
searchable: "",
|
|
34213
34234
|
options: selectedTransformField.value.options,
|
|
34214
34235
|
placeholder: "Select target value"
|
|
34215
34236
|
}, null, 8, ["modelValue", "options"])) : (openBlock(), createBlock(TextInput, {
|
|
34216
34237
|
key: 1,
|
|
34217
34238
|
modelValue: selectedTargetValue.value,
|
|
34218
|
-
"onUpdate:modelValue": _cache[
|
|
34239
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => selectedTargetValue.value = $event),
|
|
34219
34240
|
type: "text",
|
|
34220
34241
|
placeholder: "Target value"
|
|
34221
34242
|
}, null, 8, ["modelValue"]))
|
|
@@ -34225,7 +34246,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34225
34246
|
thin: "",
|
|
34226
34247
|
icon: "add",
|
|
34227
34248
|
color: "primary",
|
|
34228
|
-
onClick: _cache[
|
|
34249
|
+
onClick: _cache[8] || (_cache[8] = ($event) => addTransformation(selectedTransformField.value.id))
|
|
34229
34250
|
}, null, 512), [
|
|
34230
34251
|
[_directive_tooltip, "Add"]
|
|
34231
34252
|
])
|
|
@@ -34236,7 +34257,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34236
34257
|
createVNode(unref(Btn), {
|
|
34237
34258
|
class: "ms-auto",
|
|
34238
34259
|
value: "Close",
|
|
34239
|
-
onClick: _cache[
|
|
34260
|
+
onClick: _cache[9] || (_cache[9] = ($event) => showTransformDialog.value = false)
|
|
34240
34261
|
})
|
|
34241
34262
|
])
|
|
34242
34263
|
])) : createCommentVNode("", true)
|
|
@@ -34245,7 +34266,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34245
34266
|
}, 8, ["visible"]),
|
|
34246
34267
|
createVNode(unref(_sfc_main$f), {
|
|
34247
34268
|
visible: showRelatedDialog.value,
|
|
34248
|
-
"onUpdate:visible": _cache[
|
|
34269
|
+
"onUpdate:visible": _cache[16] || (_cache[16] = ($event) => showRelatedDialog.value = $event),
|
|
34249
34270
|
title: "Configure Related Data",
|
|
34250
34271
|
width: "900"
|
|
34251
34272
|
}, {
|
|
@@ -34257,9 +34278,8 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34257
34278
|
!relatedFiles[selectedRelationField.value.id] ? (openBlock(), createElementBlock("div", _hoisted_30, [
|
|
34258
34279
|
createVNode(unref(DragOver), {
|
|
34259
34280
|
accept: ".csv,.xls,.xlsx",
|
|
34260
|
-
|
|
34261
|
-
|
|
34262
|
-
})
|
|
34281
|
+
browse: "",
|
|
34282
|
+
onAddFiles: _cache[11] || (_cache[11] = (files2) => processRelatedFile(selectedRelationField.value.id, files2))
|
|
34263
34283
|
}, {
|
|
34264
34284
|
default: withCtx(() => [
|
|
34265
34285
|
createVNode(unref(_sfc_main$15), { class: "flex flex-column items-center justify-center outline-dashed outline-3 hover bg-input" }, {
|
|
@@ -34268,9 +34288,9 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34268
34288
|
name: "upload",
|
|
34269
34289
|
size: "5"
|
|
34270
34290
|
}),
|
|
34271
|
-
_cache[
|
|
34272
|
-
_cache[
|
|
34273
|
-
_cache[
|
|
34291
|
+
_cache[39] || (_cache[39] = createElementVNode("p", null, "Drag and drop an Excel or CSV file here", -1)),
|
|
34292
|
+
_cache[40] || (_cache[40] = createElementVNode("p", null, "or click to select a file", -1)),
|
|
34293
|
+
_cache[41] || (_cache[41] = createElementVNode("p", { class: "txt-12 color-gray" }, " Accepts .xlsx, .xls, and .csv files ", -1))
|
|
34274
34294
|
]),
|
|
34275
34295
|
_: 1
|
|
34276
34296
|
})
|
|
@@ -34289,28 +34309,28 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34289
34309
|
thin: "",
|
|
34290
34310
|
round: "",
|
|
34291
34311
|
value: "Change File",
|
|
34292
|
-
onClick: _cache[
|
|
34312
|
+
onClick: _cache[12] || (_cache[12] = ($event) => relatedFiles[selectedRelationField.value.id] = null)
|
|
34293
34313
|
})
|
|
34294
34314
|
]),
|
|
34295
34315
|
relatedFileData[selectedRelationField.value.id] ? (openBlock(), createElementBlock("div", _hoisted_33, [
|
|
34296
|
-
_cache[
|
|
34316
|
+
_cache[44] || (_cache[44] = createElementVNode("h4", null, "Configure Relationship", -1)),
|
|
34297
34317
|
createElementVNode("div", _hoisted_34, [
|
|
34298
34318
|
createVNode(unref(SelectInput), {
|
|
34299
34319
|
modelValue: parentKeyField[selectedRelationField.value.id],
|
|
34300
|
-
"onUpdate:modelValue": _cache[
|
|
34320
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => parentKeyField[selectedRelationField.value.id] = $event),
|
|
34301
34321
|
options: fileHeaders.value,
|
|
34302
34322
|
label: "Source Key Field (from this file)"
|
|
34303
34323
|
}, null, 8, ["modelValue", "options"]),
|
|
34304
34324
|
createVNode(unref(SelectInput), {
|
|
34305
34325
|
modelValue: relatedKeyField[selectedRelationField.value.id],
|
|
34306
|
-
"onUpdate:modelValue": _cache[
|
|
34326
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => relatedKeyField[selectedRelationField.value.id] = $event),
|
|
34307
34327
|
options: Object.keys(relatedFileData[selectedRelationField.value.id][0] || {}),
|
|
34308
34328
|
label: "Related Key Field (from related file)"
|
|
34309
34329
|
}, null, 8, ["modelValue", "options"])
|
|
34310
34330
|
]),
|
|
34311
|
-
_cache[
|
|
34331
|
+
_cache[45] || (_cache[45] = createElementVNode("h4", null, "Map Related Fields", -1)),
|
|
34312
34332
|
createElementVNode("table", null, [
|
|
34313
|
-
_cache[
|
|
34333
|
+
_cache[43] || (_cache[43] = createElementVNode("thead", null, [
|
|
34314
34334
|
createElementVNode("tr", null, [
|
|
34315
34335
|
createElementVNode("th", null, "Child Field"),
|
|
34316
34336
|
createElementVNode("th", null, "Related File Column"),
|
|
@@ -34355,7 +34375,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34355
34375
|
icon: "transform",
|
|
34356
34376
|
onClick: ($event) => openRelatedTransformDialog(selectedRelationField.value.id, schemaItem)
|
|
34357
34377
|
}, {
|
|
34358
|
-
default: withCtx(() => _cache[
|
|
34378
|
+
default: withCtx(() => _cache[42] || (_cache[42] = [
|
|
34359
34379
|
createTextVNode(" Transform ")
|
|
34360
34380
|
])),
|
|
34361
34381
|
_: 2
|
|
@@ -34372,7 +34392,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34372
34392
|
createVNode(unref(Btn), {
|
|
34373
34393
|
class: "ms-auto",
|
|
34374
34394
|
value: "Close",
|
|
34375
|
-
onClick: _cache[
|
|
34395
|
+
onClick: _cache[15] || (_cache[15] = ($event) => showRelatedDialog.value = false)
|
|
34376
34396
|
})
|
|
34377
34397
|
])
|
|
34378
34398
|
])) : createCommentVNode("", true)
|
|
@@ -34382,7 +34402,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34382
34402
|
}, 8, ["visible"]),
|
|
34383
34403
|
createVNode(unref(_sfc_main$f), {
|
|
34384
34404
|
visible: showPreviewModal.value,
|
|
34385
|
-
"onUpdate:visible": _cache[
|
|
34405
|
+
"onUpdate:visible": _cache[20] || (_cache[20] = ($event) => showPreviewModal.value = $event),
|
|
34386
34406
|
title: "Data Preview & Edit",
|
|
34387
34407
|
width: "90vw"
|
|
34388
34408
|
}, {
|
|
@@ -34390,7 +34410,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34390
34410
|
createElementVNode("div", null, [
|
|
34391
34411
|
createVNode(unref(_sfc_main$5), {
|
|
34392
34412
|
modelValue: previewData.value,
|
|
34393
|
-
"onUpdate:modelValue": _cache[
|
|
34413
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => previewData.value = $event),
|
|
34394
34414
|
class: "popupPreviewSpreadsheet",
|
|
34395
34415
|
"column-config": spreadsheetColumns.value,
|
|
34396
34416
|
"allow-add-row": ""
|
|
@@ -34403,11 +34423,11 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34403
34423
|
flat: "",
|
|
34404
34424
|
thin: "",
|
|
34405
34425
|
value: "Cancel",
|
|
34406
|
-
onClick: _cache[
|
|
34426
|
+
onClick: _cache[18] || (_cache[18] = ($event) => showPreviewModal.value = false)
|
|
34407
34427
|
}),
|
|
34408
34428
|
createVNode(unref(Btn), {
|
|
34409
34429
|
value: "Import Data",
|
|
34410
|
-
onClick: _cache[
|
|
34430
|
+
onClick: _cache[19] || (_cache[19] = ($event) => processData())
|
|
34411
34431
|
})
|
|
34412
34432
|
])
|
|
34413
34433
|
])
|
|
@@ -34416,7 +34436,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34416
34436
|
}, 8, ["visible"]),
|
|
34417
34437
|
createVNode(unref(_sfc_main$f), {
|
|
34418
34438
|
visible: showRelatedTransformDialog.value,
|
|
34419
|
-
"onUpdate:visible": _cache[
|
|
34439
|
+
"onUpdate:visible": _cache[28] || (_cache[28] = ($event) => showRelatedTransformDialog.value = $event),
|
|
34420
34440
|
title: "Configure Related Transformations",
|
|
34421
34441
|
width: "800"
|
|
34422
34442
|
}, {
|
|
@@ -34425,7 +34445,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34425
34445
|
return [
|
|
34426
34446
|
selectedRelatedTransformField.value ? (openBlock(), createElementBlock("div", _hoisted_40, [
|
|
34427
34447
|
createElementVNode("p", null, [
|
|
34428
|
-
_cache[
|
|
34448
|
+
_cache[46] || (_cache[46] = createTextVNode("Create transformations for ")),
|
|
34429
34449
|
createElementVNode("strong", null, toDisplayString(selectedRelatedTransformField.value.field.label), 1),
|
|
34430
34450
|
createTextVNode(" in " + toDisplayString((_a = selectedRelationField.value) == null ? void 0 : _a.label), 1)
|
|
34431
34451
|
]),
|
|
@@ -34436,7 +34456,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34436
34456
|
icon: "auto_awesome",
|
|
34437
34457
|
value: "Autolink",
|
|
34438
34458
|
color: "primary",
|
|
34439
|
-
onClick: _cache[
|
|
34459
|
+
onClick: _cache[21] || (_cache[21] = ($event) => autoPopulateRelatedTransformations(
|
|
34440
34460
|
selectedRelatedTransformField.value.parentId,
|
|
34441
34461
|
selectedRelatedTransformField.value.field.id
|
|
34442
34462
|
))
|
|
@@ -34445,7 +34465,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34445
34465
|
]),
|
|
34446
34466
|
createElementVNode("div", null, [
|
|
34447
34467
|
createElementVNode("table", null, [
|
|
34448
|
-
_cache[
|
|
34468
|
+
_cache[47] || (_cache[47] = createElementVNode("thead", null, [
|
|
34449
34469
|
createElementVNode("tr", null, [
|
|
34450
34470
|
createElementVNode("th", null, "Source Value"),
|
|
34451
34471
|
createElementVNode("th", null, "Target Value"),
|
|
@@ -34478,13 +34498,13 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34478
34498
|
((_c = relatedFileMappings[selectedRelatedTransformField.value.parentId]) == null ? void 0 : _c[selectedRelatedTransformField.value.field.id]) ? (openBlock(), createBlock(unref(SelectInput), {
|
|
34479
34499
|
key: 0,
|
|
34480
34500
|
modelValue: selectedRelatedSourceValue.value,
|
|
34481
|
-
"onUpdate:modelValue": _cache[
|
|
34501
|
+
"onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => selectedRelatedSourceValue.value = $event),
|
|
34482
34502
|
searchable: "",
|
|
34483
34503
|
options: relatedSourceValueOptions.value,
|
|
34484
34504
|
placeholder: "Select source value"
|
|
34485
34505
|
}, null, 8, ["modelValue", "options"])) : withDirectives((openBlock(), createElementBlock("input", {
|
|
34486
34506
|
key: 1,
|
|
34487
|
-
"onUpdate:modelValue": _cache[
|
|
34507
|
+
"onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => selectedRelatedSourceValue.value = $event),
|
|
34488
34508
|
type: "text",
|
|
34489
34509
|
placeholder: "Source value"
|
|
34490
34510
|
}, null, 512)), [
|
|
@@ -34495,13 +34515,13 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34495
34515
|
selectedRelatedTransformField.value.field.options && selectedRelatedTransformField.value.field.options.length > 0 ? (openBlock(), createBlock(unref(SelectInput), {
|
|
34496
34516
|
key: 0,
|
|
34497
34517
|
modelValue: selectedRelatedTargetValue.value,
|
|
34498
|
-
"onUpdate:modelValue": _cache[
|
|
34518
|
+
"onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => selectedRelatedTargetValue.value = $event),
|
|
34499
34519
|
searchable: "",
|
|
34500
34520
|
options: selectedRelatedTransformField.value.field.options,
|
|
34501
34521
|
placeholder: "Select target value"
|
|
34502
34522
|
}, null, 8, ["modelValue", "options"])) : withDirectives((openBlock(), createElementBlock("input", {
|
|
34503
34523
|
key: 1,
|
|
34504
|
-
"onUpdate:modelValue": _cache[
|
|
34524
|
+
"onUpdate:modelValue": _cache[25] || (_cache[25] = ($event) => selectedRelatedTargetValue.value = $event),
|
|
34505
34525
|
type: "text",
|
|
34506
34526
|
placeholder: "Target value"
|
|
34507
34527
|
}, null, 512)), [
|
|
@@ -34513,7 +34533,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34513
34533
|
thin: "",
|
|
34514
34534
|
icon: "add",
|
|
34515
34535
|
color: "primary",
|
|
34516
|
-
onClick: _cache[
|
|
34536
|
+
onClick: _cache[26] || (_cache[26] = ($event) => addRelatedTransformation(
|
|
34517
34537
|
selectedRelatedTransformField.value.parentId,
|
|
34518
34538
|
selectedRelatedTransformField.value.field.id
|
|
34519
34539
|
))
|
|
@@ -34527,9 +34547,9 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34527
34547
|
]),
|
|
34528
34548
|
createElementVNode("div", null, [
|
|
34529
34549
|
createVNode(unref(Btn), {
|
|
34530
|
-
onClick: _cache[
|
|
34550
|
+
onClick: _cache[27] || (_cache[27] = ($event) => showRelatedTransformDialog.value = false)
|
|
34531
34551
|
}, {
|
|
34532
|
-
default: withCtx(() => _cache[
|
|
34552
|
+
default: withCtx(() => _cache[48] || (_cache[48] = [
|
|
34533
34553
|
createTextVNode(" Close ")
|
|
34534
34554
|
])),
|
|
34535
34555
|
_: 1
|
|
@@ -34740,8 +34760,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
34740
34760
|
});
|
|
34741
34761
|
const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-8788ed73"]]);
|
|
34742
34762
|
const _hoisted_1$j = { class: "bgl_card tabs-top" };
|
|
34743
|
-
const _hoisted_2$
|
|
34744
|
-
const _hoisted_3$
|
|
34763
|
+
const _hoisted_2$d = { class: "tabs grid auto-flow-columns fit-content" };
|
|
34764
|
+
const _hoisted_3$a = ["onClick"];
|
|
34745
34765
|
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
34746
34766
|
__name: "TabbedLayout",
|
|
34747
34767
|
props: {
|
|
@@ -34777,7 +34797,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
34777
34797
|
}, [
|
|
34778
34798
|
createElementVNode("div", _hoisted_1$j, [
|
|
34779
34799
|
renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
|
|
34780
|
-
createElementVNode("div", _hoisted_2$
|
|
34800
|
+
createElementVNode("div", _hoisted_2$d, [
|
|
34781
34801
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.tabs, (tab) => {
|
|
34782
34802
|
var _a;
|
|
34783
34803
|
return openBlock(), createElementBlock("div", {
|
|
@@ -34786,7 +34806,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
34786
34806
|
active: tab === unref(activeTab) || tab === ((_a = _ctx.router) == null ? void 0 : _a.currentRoute.value.path.split("/").slice(-1)[0])
|
|
34787
34807
|
}, "tab"]),
|
|
34788
34808
|
onClick: ($event) => changeTab(tab)
|
|
34789
|
-
}, toDisplayString(tab), 11, _hoisted_3$
|
|
34809
|
+
}, toDisplayString(tab), 11, _hoisted_3$a);
|
|
34790
34810
|
}), 128))
|
|
34791
34811
|
])
|
|
34792
34812
|
]),
|
|
@@ -34981,11 +35001,11 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
34981
35001
|
});
|
|
34982
35002
|
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-6ece2018"]]);
|
|
34983
35003
|
const _hoisted_1$g = { class: "txt-start" };
|
|
34984
|
-
const _hoisted_2$
|
|
35004
|
+
const _hoisted_2$c = {
|
|
34985
35005
|
key: 0,
|
|
34986
35006
|
class: "txt10 m-0 p-0 txt-gray ellipsis"
|
|
34987
35007
|
};
|
|
34988
|
-
const _hoisted_3$
|
|
35008
|
+
const _hoisted_3$9 = { class: "m-0 p-0 ellipsis-1 line-height-14 pb-025" };
|
|
34989
35009
|
const _hoisted_4$5 = {
|
|
34990
35010
|
key: 1,
|
|
34991
35011
|
class: "txt12 m-0 p-0 opacity-7 ellipsis-1"
|
|
@@ -35060,11 +35080,11 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
35060
35080
|
icon: _ctx.icon
|
|
35061
35081
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
35062
35082
|
createElementVNode("div", _hoisted_1$g, [
|
|
35063
|
-
_ctx.lead ? (openBlock(), createElementBlock("p", _hoisted_2$
|
|
35083
|
+
_ctx.lead ? (openBlock(), createElementBlock("p", _hoisted_2$c, [
|
|
35064
35084
|
createTextVNode(toDisplayString(_ctx.lead) + " ", 1),
|
|
35065
35085
|
renderSlot(_ctx.$slots, "lead")
|
|
35066
35086
|
])) : createCommentVNode("", true),
|
|
35067
|
-
createElementVNode("p", _hoisted_3$
|
|
35087
|
+
createElementVNode("p", _hoisted_3$9, [
|
|
35068
35088
|
createTextVNode(toDisplayString(_ctx.title) + " ", 1),
|
|
35069
35089
|
renderSlot(_ctx.$slots, "default")
|
|
35070
35090
|
]),
|
|
@@ -35096,20 +35116,22 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
35096
35116
|
});
|
|
35097
35117
|
const _sfc_main$i = {};
|
|
35098
35118
|
const _hoisted_1$f = { class: "list-wrap bgl_card thin grid overflow-hidden pt-0 pb-05 px-0 m_pb-0" };
|
|
35099
|
-
const _hoisted_2$
|
|
35100
|
-
const _hoisted_3$
|
|
35119
|
+
const _hoisted_2$b = { class: "p-0" };
|
|
35120
|
+
const _hoisted_3$8 = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
|
|
35101
35121
|
function _sfc_render$3(_ctx, _cache) {
|
|
35102
35122
|
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
35103
|
-
createElementVNode("div", _hoisted_2$
|
|
35123
|
+
createElementVNode("div", _hoisted_2$b, [
|
|
35104
35124
|
renderSlot(_ctx.$slots, "header")
|
|
35105
35125
|
]),
|
|
35106
|
-
createElementVNode("div", _hoisted_3$
|
|
35126
|
+
createElementVNode("div", _hoisted_3$8, [
|
|
35107
35127
|
renderSlot(_ctx.$slots, "default")
|
|
35108
35128
|
])
|
|
35109
35129
|
]);
|
|
35110
35130
|
}
|
|
35111
35131
|
const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$3]]);
|
|
35112
|
-
const _hoisted_1$e =
|
|
35132
|
+
const _hoisted_1$e = ["width", "height"];
|
|
35133
|
+
const _hoisted_2$a = ["r", "stroke", "stroke-width"];
|
|
35134
|
+
const _hoisted_3$7 = ["r", "stroke", "stroke-width", "stroke-dasharray"];
|
|
35113
35135
|
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
35114
35136
|
__name: "Loading",
|
|
35115
35137
|
props: {
|
|
@@ -35117,7 +35139,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
35117
35139
|
thickness: {},
|
|
35118
35140
|
duration: { default: 1.2 },
|
|
35119
35141
|
type: { default: "ring" },
|
|
35120
|
-
color: {}
|
|
35142
|
+
color: {},
|
|
35143
|
+
progress: {}
|
|
35121
35144
|
},
|
|
35122
35145
|
setup(__props) {
|
|
35123
35146
|
const theme = toRef(__props, "type");
|
|
@@ -35131,8 +35154,18 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
35131
35154
|
const borderValue = __props.thickness ?? Math.max(Number.parseInt(computedSize.value) / 9, 2);
|
|
35132
35155
|
return standardSize(borderValue);
|
|
35133
35156
|
});
|
|
35157
|
+
const svgStrokeWidth = computed(() => {
|
|
35158
|
+
const borderNumeric = Number.parseFloat(computedBorder.value);
|
|
35159
|
+
const sizeNumeric = Number.parseFloat(computedSize.value);
|
|
35160
|
+
return Math.round(borderNumeric / sizeNumeric * 100) * 0.9;
|
|
35161
|
+
});
|
|
35162
|
+
const svgRadius = computed(() => 50 - svgStrokeWidth.value / 2);
|
|
35163
|
+
const svgCircumference = computed(() => Math.PI * 2 * svgRadius.value);
|
|
35134
35164
|
return (_ctx, _cache) => {
|
|
35135
|
-
return openBlock(), createElementBlock("div",
|
|
35165
|
+
return openBlock(), createElementBlock("div", {
|
|
35166
|
+
class: normalizeClass(["flex-center", { progress: _ctx.progress !== void 0 }]),
|
|
35167
|
+
style: normalizeStyle({ "--progress": _ctx.progress })
|
|
35168
|
+
}, [
|
|
35136
35169
|
theme.value === "bar" ? (openBlock(), createElementBlock("div", {
|
|
35137
35170
|
key: 0,
|
|
35138
35171
|
class: "lds-bar",
|
|
@@ -35155,7 +35188,33 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
35155
35188
|
class: "lds-ring",
|
|
35156
35189
|
style: normalizeStyle({ "--size": computedSize.value, "--thickness": computedBorder.value })
|
|
35157
35190
|
}, [
|
|
35158
|
-
(openBlock(), createElementBlock(
|
|
35191
|
+
_ctx.progress !== void 0 ? (openBlock(), createElementBlock("svg", {
|
|
35192
|
+
key: 0,
|
|
35193
|
+
width: computedSize.value,
|
|
35194
|
+
height: computedSize.value,
|
|
35195
|
+
viewBox: "0 0 100 100"
|
|
35196
|
+
}, [
|
|
35197
|
+
createElementVNode("circle", {
|
|
35198
|
+
cx: "50",
|
|
35199
|
+
cy: "50",
|
|
35200
|
+
r: svgRadius.value,
|
|
35201
|
+
fill: "none",
|
|
35202
|
+
stroke: _ctx.color || "currentColor",
|
|
35203
|
+
"stroke-width": svgStrokeWidth.value,
|
|
35204
|
+
"stroke-opacity": "0.2"
|
|
35205
|
+
}, null, 8, _hoisted_2$a),
|
|
35206
|
+
createElementVNode("circle", {
|
|
35207
|
+
cx: "50",
|
|
35208
|
+
cy: "50",
|
|
35209
|
+
r: svgRadius.value,
|
|
35210
|
+
fill: "none",
|
|
35211
|
+
stroke: _ctx.color || "currentColor",
|
|
35212
|
+
"stroke-width": svgStrokeWidth.value,
|
|
35213
|
+
"stroke-linecap": "round",
|
|
35214
|
+
"stroke-dasharray": `${_ctx.progress / 100 * svgCircumference.value} ${svgCircumference.value}`,
|
|
35215
|
+
transform: "rotate(-90 50 50)"
|
|
35216
|
+
}, null, 8, _hoisted_3$7)
|
|
35217
|
+
], 8, _hoisted_1$e)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, renderList(4, (n2) => {
|
|
35159
35218
|
return createElementVNode("div", {
|
|
35160
35219
|
key: n2,
|
|
35161
35220
|
style: normalizeStyle({
|
|
@@ -35170,11 +35229,11 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
35170
35229
|
}, null, 4);
|
|
35171
35230
|
}), 64))
|
|
35172
35231
|
], 4)) : createCommentVNode("", true)
|
|
35173
|
-
]);
|
|
35232
|
+
], 6);
|
|
35174
35233
|
};
|
|
35175
35234
|
}
|
|
35176
35235
|
});
|
|
35177
|
-
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
35236
|
+
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-71d082b4"]]);
|
|
35178
35237
|
const _hoisted_1$d = ["id"];
|
|
35179
35238
|
const defaultMarkerSVG = '<svg width="28" height="38" viewBox="0 0 28 38" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.2263 37.7955C17.0897 37.7955 19.4109 37.0138 19.4109 36.0496C19.4109 35.0854 17.0897 34.3037 14.2263 34.3037C11.363 34.3037 9.04175 35.0854 9.04175 36.0496C9.04175 37.0138 11.363 37.7955 14.2263 37.7955Z" fill="black" fill-opacity="0.1"/><path d="M14.2265 0.549591C21.2842 0.549591 27.0131 6.23786 27.0787 13.28V13.4024C27.0787 19.3328 24.4759 24.4306 21.5627 28.2764C18.6511 32.12 15.4577 34.6754 14.3457 35.5097C14.2748 35.5629 14.1778 35.5629 14.1068 35.5097C12.9947 34.675 9.80135 32.1197 6.88984 28.2762C3.97665 24.4304 1.37378 19.3328 1.37378 13.4024C1.37378 6.30387 7.12806 0.549591 14.2265 0.549591Z" fill="#ED1b3E" stroke="#ED6C6F"/><path d="M14.2263 21.6185C18.7639 21.6185 22.4424 17.94 22.4424 13.4024C22.4424 8.86477 18.7639 5.18631 14.2263 5.18631C9.68872 5.18631 6.01025 8.86477 6.01025 13.4024C6.01025 17.94 9.68872 21.6185 14.2263 21.6185Z" fill="white"/></svg>';
|
|
35180
35239
|
const leafletScriptUrl = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js";
|
|
@@ -35288,13 +35347,13 @@ const _hoisted_3$6 = {
|
|
|
35288
35347
|
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
35289
35348
|
__name: "Modal",
|
|
35290
35349
|
props: {
|
|
35291
|
-
thin: { type: Boolean },
|
|
35292
|
-
side: { type: Boolean },
|
|
35350
|
+
thin: { type: Boolean, default: false },
|
|
35351
|
+
side: { type: Boolean, default: false },
|
|
35293
35352
|
title: {},
|
|
35294
35353
|
width: {},
|
|
35295
|
-
dismissable: { type: Boolean },
|
|
35354
|
+
dismissable: { type: Boolean, default: true },
|
|
35296
35355
|
actions: {},
|
|
35297
|
-
visible: { type: Boolean }
|
|
35356
|
+
visible: { type: Boolean, default: false }
|
|
35298
35357
|
},
|
|
35299
35358
|
emits: ["update:visible"],
|
|
35300
35359
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -35354,28 +35413,30 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
35354
35413
|
return [
|
|
35355
35414
|
unref(slots).toolbar || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$c, [
|
|
35356
35415
|
renderSlot(_ctx.$slots, "toolbar"),
|
|
35357
|
-
|
|
35416
|
+
_ctx.dismissable ? (openBlock(), createBlock(unref(Btn), {
|
|
35417
|
+
key: 0,
|
|
35358
35418
|
style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
35359
35419
|
flat: "",
|
|
35360
35420
|
icon: "close",
|
|
35361
35421
|
thin: "",
|
|
35362
35422
|
onClick: closeModal
|
|
35363
|
-
}, null, 8, ["style"]),
|
|
35423
|
+
}, null, 8, ["style"])) : createCommentVNode("", true),
|
|
35364
35424
|
_ctx.title ? (openBlock(), createBlock(unref(_sfc_main$4), {
|
|
35365
|
-
key:
|
|
35425
|
+
key: 1,
|
|
35366
35426
|
class: "modal-title",
|
|
35367
35427
|
tag: "h3",
|
|
35368
35428
|
label: _ctx.title
|
|
35369
35429
|
}, null, 8, ["label"])) : createCommentVNode("", true)
|
|
35370
35430
|
])) : (openBlock(), createElementBlock("div", _hoisted_2$9, [
|
|
35371
|
-
|
|
35431
|
+
_ctx.dismissable ? (openBlock(), createBlock(unref(Btn), {
|
|
35432
|
+
key: 0,
|
|
35372
35433
|
class: "position-start",
|
|
35373
35434
|
icon: "close",
|
|
35374
35435
|
thin: "",
|
|
35375
35436
|
round: "",
|
|
35376
35437
|
color: "white",
|
|
35377
35438
|
onClick: closeModal
|
|
35378
|
-
})
|
|
35439
|
+
})) : createCommentVNode("", true)
|
|
35379
35440
|
])),
|
|
35380
35441
|
renderSlot(_ctx.$slots, "default"),
|
|
35381
35442
|
unref(slots).footer || ((_a = _ctx.actions) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("footer", _hoisted_3$6, [
|