@bagelink/vue 1.0.16 → 1.0.22
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/Spreadsheet/Index.vue.d.ts +89 -1
- package/dist/components/Spreadsheet/Index.vue.d.ts.map +1 -1
- package/dist/components/Spreadsheet/SpreadsheetTable.vue.d.ts +37 -0
- package/dist/components/Spreadsheet/SpreadsheetTable.vue.d.ts.map +1 -0
- package/dist/composables/useSchemaField.d.ts.map +1 -1
- package/dist/index.cjs +1070 -940
- package/dist/index.mjs +1070 -940
- package/dist/style.css +45 -19
- package/dist/utils/BagelFormUtils.d.ts +11 -0
- package/dist/utils/BagelFormUtils.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Spreadsheet/Index.vue +176 -257
- package/src/components/Spreadsheet/SpreadsheetTable.vue +316 -0
- package/src/composables/useSchemaField.ts +3 -1
- package/src/utils/BagelFormUtils.ts +30 -0
package/dist/index.cjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
6
6
|
const vue = require("vue");
|
|
7
7
|
const vueRouter = require("vue-router");
|
|
8
|
-
const _sfc_main$
|
|
8
|
+
const _sfc_main$1n = /* @__PURE__ */ vue.defineComponent({
|
|
9
9
|
__name: "Accordion",
|
|
10
10
|
setup(__props) {
|
|
11
11
|
const state2 = vue.reactive({
|
|
@@ -19,10 +19,10 @@ const _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
|
-
const _hoisted_1$
|
|
23
|
-
const _hoisted_2$
|
|
24
|
-
const _hoisted_3$
|
|
25
|
-
const _sfc_main$
|
|
22
|
+
const _hoisted_1$1a = ["aria-expanded", "aria-controls"];
|
|
23
|
+
const _hoisted_2$S = { class: "accordion-label" };
|
|
24
|
+
const _hoisted_3$H = ["id", "aria-hidden"];
|
|
25
|
+
const _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
|
|
26
26
|
__name: "AccordionItem",
|
|
27
27
|
props: {
|
|
28
28
|
label: {},
|
|
@@ -88,7 +88,7 @@ const _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
|
|
|
88
88
|
vue.createVNode(vue.unref(Icon), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
89
89
|
], 2)) : vue.createCommentVNode("", true),
|
|
90
90
|
vue.renderSlot(_ctx.$slots, "head", {}, () => [
|
|
91
|
-
vue.createElementVNode("span", _hoisted_2$
|
|
91
|
+
vue.createElementVNode("span", _hoisted_2$S, vue.toDisplayString(_ctx.label), 1)
|
|
92
92
|
], true),
|
|
93
93
|
iconPosition.value === "end" ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
94
94
|
key: 1,
|
|
@@ -96,7 +96,7 @@ const _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
|
|
|
96
96
|
}, [
|
|
97
97
|
vue.createVNode(vue.unref(Icon), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
98
98
|
], 2)) : vue.createCommentVNode("", true)
|
|
99
|
-
], 8, _hoisted_1$
|
|
99
|
+
], 8, _hoisted_1$1a),
|
|
100
100
|
vue.createVNode(vue.Transition, { name: "expand" }, {
|
|
101
101
|
default: vue.withCtx(() => [
|
|
102
102
|
vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -106,7 +106,7 @@ const _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
|
|
|
106
106
|
"aria-hidden": vue.unref(isOpen) ? "false" : "true"
|
|
107
107
|
}, [
|
|
108
108
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
109
|
-
], 8, _hoisted_3$
|
|
109
|
+
], 8, _hoisted_3$H)) : vue.createCommentVNode("", true)
|
|
110
110
|
]),
|
|
111
111
|
_: 3
|
|
112
112
|
})
|
|
@@ -121,9 +121,9 @@ const _export_sfc = (sfc, props2) => {
|
|
|
121
121
|
}
|
|
122
122
|
return target;
|
|
123
123
|
};
|
|
124
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
125
|
-
const _hoisted_1$
|
|
126
|
-
const _sfc_main$
|
|
124
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-3334f637"]]);
|
|
125
|
+
const _hoisted_1$19 = { class: "relative" };
|
|
126
|
+
const _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
|
|
127
127
|
__name: "AddressSearch",
|
|
128
128
|
emits: ["addressSelected"],
|
|
129
129
|
setup(__props, { emit: __emit }) {
|
|
@@ -145,8 +145,8 @@ const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
|
|
|
145
145
|
(_a = suggestion.value) == null ? void 0 : _a.show();
|
|
146
146
|
}
|
|
147
147
|
return (_ctx, _cache) => {
|
|
148
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
149
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
148
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$19, [
|
|
149
|
+
vue.createVNode(vue.unref(_sfc_main$W), {
|
|
150
150
|
ref_key: "suggestion",
|
|
151
151
|
ref: suggestion,
|
|
152
152
|
noAutoFocus: true,
|
|
@@ -164,7 +164,7 @@ const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
|
|
|
164
164
|
vue.createVNode(vue.unref(ListView), { class: "-mt-2 hm-300px" }, {
|
|
165
165
|
default: vue.withCtx(() => [
|
|
166
166
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(searchResults), (result2, index2) => {
|
|
167
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
167
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$h), {
|
|
168
168
|
key: index2,
|
|
169
169
|
icon: "location_on",
|
|
170
170
|
title: result2.display_name,
|
|
@@ -181,11 +181,11 @@ const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
|
|
|
181
181
|
};
|
|
182
182
|
}
|
|
183
183
|
});
|
|
184
|
-
const _hoisted_1$
|
|
184
|
+
const _hoisted_1$18 = {
|
|
185
185
|
key: 1,
|
|
186
186
|
class: "bgl_btn-flex"
|
|
187
187
|
};
|
|
188
|
-
const _sfc_main$
|
|
188
|
+
const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
|
|
189
189
|
__name: "Btn",
|
|
190
190
|
props: {
|
|
191
191
|
disabled: { type: Boolean, default: false },
|
|
@@ -251,7 +251,7 @@ const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
|
|
|
251
251
|
key: 0,
|
|
252
252
|
class: "h-100p",
|
|
253
253
|
size: "15"
|
|
254
|
-
})) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
254
|
+
})) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$18, [
|
|
255
255
|
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(Icon), {
|
|
256
256
|
key: 0,
|
|
257
257
|
icon: _ctx.icon,
|
|
@@ -275,10 +275,10 @@ const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
|
|
|
275
275
|
};
|
|
276
276
|
}
|
|
277
277
|
});
|
|
278
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
279
|
-
const _hoisted_1$
|
|
280
|
-
const _hoisted_2$
|
|
281
|
-
const _sfc_main$
|
|
278
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-bfc435b3"]]);
|
|
279
|
+
const _hoisted_1$17 = ["dismissable"];
|
|
280
|
+
const _hoisted_2$R = { class: "m-0" };
|
|
281
|
+
const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
|
|
282
282
|
__name: "Alert",
|
|
283
283
|
props: {
|
|
284
284
|
message: {},
|
|
@@ -306,7 +306,7 @@ const _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
|
|
|
306
306
|
size: 2,
|
|
307
307
|
color: color2[_ctx.type]
|
|
308
308
|
}, null, 8, ["icon", "color"])) : vue.createCommentVNode("", true),
|
|
309
|
-
vue.createElementVNode("p", _hoisted_2$
|
|
309
|
+
vue.createElementVNode("p", _hoisted_2$R, vue.toDisplayString(_ctx.message), 1),
|
|
310
310
|
vue.createVNode(Btn, {
|
|
311
311
|
flat: "",
|
|
312
312
|
thin: "",
|
|
@@ -314,13 +314,13 @@ const _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
|
|
|
314
314
|
icon: "close",
|
|
315
315
|
onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
|
|
316
316
|
})
|
|
317
|
-
], 10, _hoisted_1$
|
|
317
|
+
], 10, _hoisted_1$17)) : vue.createCommentVNode("", true);
|
|
318
318
|
};
|
|
319
319
|
}
|
|
320
320
|
});
|
|
321
|
-
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
322
|
-
const _hoisted_1$
|
|
323
|
-
const _sfc_main$
|
|
321
|
+
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-064bdd20"]]);
|
|
322
|
+
const _hoisted_1$16 = ["src", "alt"];
|
|
323
|
+
const _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
|
|
324
324
|
__name: "Avatar",
|
|
325
325
|
props: {
|
|
326
326
|
fallback: {},
|
|
@@ -338,7 +338,7 @@ const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
|
|
|
338
338
|
key: 0,
|
|
339
339
|
src: _ctx.src,
|
|
340
340
|
alt: _ctx.name
|
|
341
|
-
}, null, 8, _hoisted_1$
|
|
341
|
+
}, null, 8, _hoisted_1$16)) : (vue.openBlock(), vue.createElementBlock("p", {
|
|
342
342
|
key: 1,
|
|
343
343
|
style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
|
|
344
344
|
}, vue.toDisplayString((_ctx.fallback || vue.unref(initials)(_ctx.name || "")).toUpperCase()), 5))
|
|
@@ -346,8 +346,8 @@ const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
|
|
|
346
346
|
};
|
|
347
347
|
}
|
|
348
348
|
});
|
|
349
|
-
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
350
|
-
const _sfc_main$
|
|
349
|
+
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-46ad8c25"]]);
|
|
350
|
+
const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
|
|
351
351
|
__name: "Badge",
|
|
352
352
|
props: {
|
|
353
353
|
color: {},
|
|
@@ -376,11 +376,11 @@ const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
|
|
|
376
376
|
};
|
|
377
377
|
}
|
|
378
378
|
});
|
|
379
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
380
|
-
const _hoisted_1$
|
|
381
|
-
const _hoisted_2$
|
|
382
|
-
const _hoisted_3$
|
|
383
|
-
const _sfc_main$
|
|
379
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-689f051f"]]);
|
|
380
|
+
const _hoisted_1$15 = ["src"];
|
|
381
|
+
const _hoisted_2$Q = ["autoplay", "muted", "loop", "controls", "playsinline"];
|
|
382
|
+
const _hoisted_3$G = ["src", "type"];
|
|
383
|
+
const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
|
|
384
384
|
__name: "BglVideo",
|
|
385
385
|
props: {
|
|
386
386
|
src: {},
|
|
@@ -457,7 +457,7 @@ const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
|
|
|
457
457
|
allowfullscreen: "",
|
|
458
458
|
title: "Video",
|
|
459
459
|
allow: "autoplay"
|
|
460
|
-
}, null, 12, _hoisted_1$
|
|
460
|
+
}, null, 12, _hoisted_1$15)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
|
|
461
461
|
key: 1,
|
|
462
462
|
ref_key: "video",
|
|
463
463
|
ref: video,
|
|
@@ -471,13 +471,13 @@ const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
|
|
|
471
471
|
vue.createElementVNode("source", {
|
|
472
472
|
src: _ctx.src,
|
|
473
473
|
type: `video/${videoFormat.value}`
|
|
474
|
-
}, null, 8, _hoisted_3$
|
|
475
|
-
], 12, _hoisted_2$
|
|
474
|
+
}, null, 8, _hoisted_3$G)
|
|
475
|
+
], 12, _hoisted_2$Q)) : vue.createCommentVNode("", true)
|
|
476
476
|
], 2);
|
|
477
477
|
};
|
|
478
478
|
}
|
|
479
479
|
});
|
|
480
|
-
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
480
|
+
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-006552f6"]]);
|
|
481
481
|
const languageKeys = {
|
|
482
482
|
/** The following three keys, describe the calendar modes */
|
|
483
483
|
week: {
|
|
@@ -608,9 +608,9 @@ function translate(key, locale2 = "en-US") {
|
|
|
608
608
|
const language = languageKeys[key] || {};
|
|
609
609
|
return language[locale2] || key;
|
|
610
610
|
}
|
|
611
|
-
const _hoisted_1$
|
|
612
|
-
const _hoisted_2$
|
|
613
|
-
const _sfc_main$
|
|
611
|
+
const _hoisted_1$14 = { class: "flex gap-05 space-between pb-1 datePick" };
|
|
612
|
+
const _hoisted_2$P = { class: "flex gap-1 m_gap-025" };
|
|
613
|
+
const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
|
|
614
614
|
__name: "Header",
|
|
615
615
|
props: {
|
|
616
616
|
config: {
|
|
@@ -688,8 +688,8 @@ const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
|
|
|
688
688
|
emit2("updatedPeriod", currentPeriod.value);
|
|
689
689
|
}
|
|
690
690
|
return (_ctx, _cache) => {
|
|
691
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
692
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
691
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$14, [
|
|
692
|
+
vue.createElementVNode("div", _hoisted_2$P, [
|
|
693
693
|
vue.createVNode(vue.unref(Btn), {
|
|
694
694
|
flat: "",
|
|
695
695
|
icon: "chevron_left",
|
|
@@ -739,23 +739,23 @@ const EVENT_COLORS = {
|
|
|
739
739
|
};
|
|
740
740
|
const DATE_TIME_STRING_PATTERN = /^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/;
|
|
741
741
|
const DATE_TIME_STRING_FULL_DAY_PATTERN = /^\d{4}-\d{2}-\d{2}$/;
|
|
742
|
-
const _hoisted_1$
|
|
743
|
-
const _hoisted_2$
|
|
744
|
-
const _hoisted_3$
|
|
742
|
+
const _hoisted_1$13 = ["id"];
|
|
743
|
+
const _hoisted_2$O = { class: "flex txt14 flex column align-items-start gap-025 opacity-6" };
|
|
744
|
+
const _hoisted_3$F = {
|
|
745
745
|
key: 0,
|
|
746
746
|
class: "agenda__event-time flex gap-025"
|
|
747
747
|
};
|
|
748
|
-
const _hoisted_4$
|
|
748
|
+
const _hoisted_4$t = {
|
|
749
749
|
key: 1,
|
|
750
750
|
class: "agenda__event-location flex gap-025"
|
|
751
751
|
};
|
|
752
|
-
const _hoisted_5$
|
|
753
|
-
const _hoisted_6$
|
|
752
|
+
const _hoisted_5$p = { class: "agenda__event-title" };
|
|
753
|
+
const _hoisted_6$l = {
|
|
754
754
|
key: 0,
|
|
755
755
|
class: "agenda__event-with txt14 opacity-6"
|
|
756
756
|
};
|
|
757
757
|
const eventIdPrefix$1 = "agenda__event-";
|
|
758
|
-
const _sfc_main$
|
|
758
|
+
const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
|
|
759
759
|
__name: "AgendaEventTile",
|
|
760
760
|
props: {
|
|
761
761
|
time: {
|
|
@@ -829,15 +829,15 @@ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
|
|
|
829
829
|
class: "agenda__event is-event rounded mb-05 pointer user-select-none p-1 grid gap-1",
|
|
830
830
|
onClick: vue.withModifiers(handleClickOnEvent, ["prevent"])
|
|
831
831
|
}, [
|
|
832
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
833
|
-
eventTime.value && !__props.calendarEvent.originalEvent ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$
|
|
832
|
+
vue.createElementVNode("div", _hoisted_2$O, [
|
|
833
|
+
eventTime.value && !__props.calendarEvent.originalEvent ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$F, [
|
|
834
834
|
vue.createVNode(vue.unref(Icon), {
|
|
835
835
|
icon: icons.clock,
|
|
836
836
|
size: 0.8
|
|
837
837
|
}, null, 8, ["icon"]),
|
|
838
838
|
vue.createTextVNode(" " + vue.toDisplayString(eventTime.value), 1)
|
|
839
839
|
])) : vue.createCommentVNode("", true),
|
|
840
|
-
__props.calendarEvent.location ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$
|
|
840
|
+
__props.calendarEvent.location ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$t, [
|
|
841
841
|
vue.createVNode(vue.unref(Icon), {
|
|
842
842
|
icon: icons.location,
|
|
843
843
|
size: 1
|
|
@@ -846,33 +846,33 @@ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
|
|
|
846
846
|
])) : vue.createCommentVNode("", true)
|
|
847
847
|
]),
|
|
848
848
|
vue.createElementVNode("div", null, [
|
|
849
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
850
|
-
__props.calendarEvent.with ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$
|
|
849
|
+
vue.createElementVNode("div", _hoisted_5$p, vue.toDisplayString(__props.calendarEvent.title), 1),
|
|
850
|
+
__props.calendarEvent.with ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$l, [
|
|
851
851
|
vue.createVNode(vue.unref(Icon), {
|
|
852
852
|
icon: icons.user
|
|
853
853
|
}, null, 8, ["icon"]),
|
|
854
854
|
vue.createTextVNode(" " + vue.toDisplayString(__props.calendarEvent.with), 1)
|
|
855
855
|
])) : vue.createCommentVNode("", true)
|
|
856
856
|
])
|
|
857
|
-
], 8, _hoisted_1$
|
|
857
|
+
], 8, _hoisted_1$13);
|
|
858
858
|
};
|
|
859
859
|
}
|
|
860
860
|
});
|
|
861
|
-
const AgendaEventTile = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
862
|
-
const _hoisted_1$
|
|
863
|
-
const _hoisted_2$
|
|
864
|
-
const _hoisted_3$
|
|
865
|
-
const _hoisted_4$
|
|
866
|
-
const _hoisted_5$
|
|
867
|
-
const _hoisted_6$
|
|
861
|
+
const AgendaEventTile = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-5740437b"]]);
|
|
862
|
+
const _hoisted_1$12 = { class: "agenda__wrapper grid align-items-start gap-1 h-100p" };
|
|
863
|
+
const _hoisted_2$N = { class: "m_sticky" };
|
|
864
|
+
const _hoisted_3$E = { class: "agenda__header-day-name txt-center" };
|
|
865
|
+
const _hoisted_4$s = { class: "agenda__header-date flex justify-content-center rounded p-025 txt24 line-height-04" };
|
|
866
|
+
const _hoisted_5$o = { class: "agenda__content flex column w-100p h-100p min-h-100px pt-05 border-start ps-1 m_pt-0 min-h-50px" };
|
|
867
|
+
const _hoisted_6$k = {
|
|
868
868
|
key: 0,
|
|
869
869
|
class: "align-items-center flex justify-content-center h-100p opacity-6"
|
|
870
870
|
};
|
|
871
|
-
const _hoisted_7$
|
|
871
|
+
const _hoisted_7$g = {
|
|
872
872
|
key: 1,
|
|
873
873
|
class: "w-100p"
|
|
874
874
|
};
|
|
875
|
-
const _sfc_main$
|
|
875
|
+
const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
|
|
876
876
|
__name: "AgendaEvents",
|
|
877
877
|
props: {
|
|
878
878
|
config: {
|
|
@@ -892,13 +892,13 @@ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
|
|
|
892
892
|
setup(__props, { emit: __emit }) {
|
|
893
893
|
const emit2 = __emit;
|
|
894
894
|
return (_ctx, _cache) => {
|
|
895
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
896
|
-
vue.createElementVNode("header", _hoisted_2$
|
|
897
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
898
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
895
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$12, [
|
|
896
|
+
vue.createElementVNode("header", _hoisted_2$N, [
|
|
897
|
+
vue.createElementVNode("div", _hoisted_3$E, vue.toDisplayString(__props.day.dayName.slice(0, 3)), 1),
|
|
898
|
+
vue.createElementVNode("div", _hoisted_4$s, vue.toDisplayString(__props.day.dateTimeString.substring(8, 10)), 1)
|
|
899
899
|
]),
|
|
900
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
901
|
-
__props.day.events.length === 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$
|
|
900
|
+
vue.createElementVNode("div", _hoisted_5$o, [
|
|
901
|
+
__props.day.events.length === 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$k, vue.toDisplayString(vue.unref(getLanguage)(vue.unref(languageKeys).noEvent, __props.time.CALENDAR_LOCALE)), 1)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$g, [
|
|
902
902
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.day.events, (dayEvent) => {
|
|
903
903
|
return vue.openBlock(), vue.createBlock(AgendaEventTile, {
|
|
904
904
|
key: `agenda_event_${dayEvent.id}`,
|
|
@@ -915,7 +915,7 @@ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
|
|
|
915
915
|
};
|
|
916
916
|
}
|
|
917
917
|
});
|
|
918
|
-
const AgendaEvents = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
918
|
+
const AgendaEvents = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-746fe0c6"]]);
|
|
919
919
|
class EDate extends Date {
|
|
920
920
|
get fullYear() {
|
|
921
921
|
return this.getFullYear();
|
|
@@ -1594,25 +1594,25 @@ class EventFlyoutPosition {
|
|
|
1594
1594
|
return { top: eventElementDOMRect.top, left: null };
|
|
1595
1595
|
}
|
|
1596
1596
|
}
|
|
1597
|
-
const _hoisted_1$
|
|
1597
|
+
const _hoisted_1$11 = {
|
|
1598
1598
|
key: 0,
|
|
1599
1599
|
class: "event-flyout__relative-wrapper"
|
|
1600
1600
|
};
|
|
1601
|
-
const _hoisted_2$
|
|
1602
|
-
const _hoisted_3$
|
|
1601
|
+
const _hoisted_2$M = { class: "event-flyout__menu" };
|
|
1602
|
+
const _hoisted_3$D = {
|
|
1603
1603
|
key: 0,
|
|
1604
1604
|
class: "event-flyout__menu-editable"
|
|
1605
1605
|
};
|
|
1606
|
-
const _hoisted_4$
|
|
1607
|
-
const _hoisted_5$
|
|
1606
|
+
const _hoisted_4$r = { class: "event-flyout__menu-close" };
|
|
1607
|
+
const _hoisted_5$n = {
|
|
1608
1608
|
key: 0,
|
|
1609
1609
|
class: "event-flyout__info-wrapper"
|
|
1610
1610
|
};
|
|
1611
|
-
const _hoisted_6$
|
|
1611
|
+
const _hoisted_6$j = {
|
|
1612
1612
|
key: 0,
|
|
1613
1613
|
class: "event-flyout__row is-title"
|
|
1614
1614
|
};
|
|
1615
|
-
const _hoisted_7$
|
|
1615
|
+
const _hoisted_7$f = {
|
|
1616
1616
|
key: 1,
|
|
1617
1617
|
class: "event-flyout__row is-time"
|
|
1618
1618
|
};
|
|
@@ -1632,8 +1632,8 @@ const _hoisted_11$6 = {
|
|
|
1632
1632
|
key: 5,
|
|
1633
1633
|
class: "event-flyout__row is-description"
|
|
1634
1634
|
};
|
|
1635
|
-
const _hoisted_12$
|
|
1636
|
-
const _sfc_main$
|
|
1635
|
+
const _hoisted_12$5 = ["innerHTML"];
|
|
1636
|
+
const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
|
|
1637
1637
|
__name: "EventFlyout",
|
|
1638
1638
|
props: {
|
|
1639
1639
|
calendarEventProp: {
|
|
@@ -1806,9 +1806,9 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
|
1806
1806
|
class: vue.normalizeClass(["event-flyout p-05 bg-white", { "is-visible": isVisible.value, "is-not-editable": !isEditable.value }]),
|
|
1807
1807
|
style: vue.normalizeStyle(eventFlyoutInlineStyles.value)
|
|
1808
1808
|
}, [
|
|
1809
|
-
!__props.config.eventDialog || !__props.config.eventDialog.isCustom ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
1810
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
1811
|
-
isEditable.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$
|
|
1809
|
+
!__props.config.eventDialog || !__props.config.eventDialog.isCustom ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$11, [
|
|
1810
|
+
vue.createElementVNode("div", _hoisted_2$M, [
|
|
1811
|
+
isEditable.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$D, [
|
|
1812
1812
|
vue.createVNode(vue.unref(Icon), {
|
|
1813
1813
|
class: "event-flyout__menu-item is-edit-icon",
|
|
1814
1814
|
icon: icons.edit,
|
|
@@ -1820,7 +1820,7 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
|
1820
1820
|
onClick: deleteEvent
|
|
1821
1821
|
}, null, 8, ["icon"])
|
|
1822
1822
|
])) : vue.createCommentVNode("", true),
|
|
1823
|
-
vue.createElementVNode("span", _hoisted_4$
|
|
1823
|
+
vue.createElementVNode("span", _hoisted_4$r, [
|
|
1824
1824
|
vue.createVNode(vue.unref(Icon), {
|
|
1825
1825
|
class: "event-flyout__menu-item is-times-icon",
|
|
1826
1826
|
icon: icons.times,
|
|
@@ -1828,15 +1828,15 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
|
1828
1828
|
}, null, 8, ["icon"])
|
|
1829
1829
|
])
|
|
1830
1830
|
]),
|
|
1831
|
-
calendarEvent.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$
|
|
1832
|
-
calendarEvent.value.title ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$
|
|
1831
|
+
calendarEvent.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$n, [
|
|
1832
|
+
calendarEvent.value.title ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$j, [
|
|
1833
1833
|
vue.createElementVNode("div", {
|
|
1834
1834
|
class: "event-flyout__color-icon",
|
|
1835
1835
|
style: vue.normalizeStyle({ backgroundColor: eventBackgroundColor.value })
|
|
1836
1836
|
}, null, 4),
|
|
1837
1837
|
vue.createTextVNode(" " + vue.toDisplayString(calendarEvent.value.title), 1)
|
|
1838
1838
|
])) : vue.createCommentVNode("", true),
|
|
1839
|
-
calendarEvent.value.time ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$
|
|
1839
|
+
calendarEvent.value.time ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$f, vue.toDisplayString(getEventTime.value), 1)) : vue.createCommentVNode("", true),
|
|
1840
1840
|
calendarEvent.value.location ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$9, [
|
|
1841
1841
|
vue.createVNode(vue.unref(Icon), {
|
|
1842
1842
|
icon: icons.location
|
|
@@ -1861,7 +1861,7 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
|
1861
1861
|
}, null, 8, ["icon"]),
|
|
1862
1862
|
vue.createElementVNode("p", {
|
|
1863
1863
|
innerHTML: calendarEvent.value.description
|
|
1864
|
-
}, null, 8, _hoisted_12$
|
|
1864
|
+
}, null, 8, _hoisted_12$5)
|
|
1865
1865
|
])) : vue.createCommentVNode("", true)
|
|
1866
1866
|
])) : vue.createCommentVNode("", true)
|
|
1867
1867
|
])) : vue.renderSlot(_ctx.$slots, "default", {
|
|
@@ -1873,19 +1873,19 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
|
1873
1873
|
};
|
|
1874
1874
|
}
|
|
1875
1875
|
});
|
|
1876
|
-
const _hoisted_1
|
|
1876
|
+
const _hoisted_1$10 = {
|
|
1877
1877
|
key: 0,
|
|
1878
1878
|
class: "calendar-month__event"
|
|
1879
1879
|
};
|
|
1880
|
-
const _hoisted_2$
|
|
1881
|
-
const _hoisted_3$
|
|
1882
|
-
const _hoisted_4$
|
|
1880
|
+
const _hoisted_2$L = ["id", "draggable"];
|
|
1881
|
+
const _hoisted_3$C = ["id", "draggable"];
|
|
1882
|
+
const _hoisted_4$q = {
|
|
1883
1883
|
key: 0,
|
|
1884
1884
|
class: "calendar-month__event-time opacity-6 flex-shrink-0"
|
|
1885
1885
|
};
|
|
1886
|
-
const _hoisted_5$
|
|
1886
|
+
const _hoisted_5$m = { class: "calendar-month__event-title1 white-space ellipsis" };
|
|
1887
1887
|
const eventIdPrefix = "calendar-month__event-";
|
|
1888
|
-
const _sfc_main$
|
|
1888
|
+
const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
1889
1889
|
__name: "Event",
|
|
1890
1890
|
props: {
|
|
1891
1891
|
time: {
|
|
@@ -1965,7 +1965,7 @@ const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
|
|
|
1965
1965
|
setColors();
|
|
1966
1966
|
});
|
|
1967
1967
|
return (_ctx, _cache) => {
|
|
1968
|
-
return __props.config.isSmall ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1
|
|
1968
|
+
return __props.config.isSmall ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$10)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
1969
1969
|
isCustomEvent.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
1970
1970
|
key: 0,
|
|
1971
1971
|
id: elementId.value,
|
|
@@ -1976,7 +1976,7 @@ const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
|
|
|
1976
1976
|
onClick: handleClickOnEvent
|
|
1977
1977
|
}, [
|
|
1978
1978
|
vue.renderSlot(_ctx.$slots, "monthEvent", { eventData: __props.calendarEvent }, void 0, true)
|
|
1979
|
-
], 42, _hoisted_2$
|
|
1979
|
+
], 42, _hoisted_2$L)) : (vue.openBlock(), vue.createElementBlock("div", {
|
|
1980
1980
|
key: 1,
|
|
1981
1981
|
id: elementId.value,
|
|
1982
1982
|
"data-ref": "default-event",
|
|
@@ -1986,22 +1986,22 @@ const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
|
|
|
1986
1986
|
onClick: handleClickOnEvent
|
|
1987
1987
|
}, [
|
|
1988
1988
|
_cache[0] || (_cache[0] = vue.createElementVNode("span", { class: "calendar-month__event-color round flex-shrink-0" }, null, -1)),
|
|
1989
|
-
eventTimeStart.value && !__props.calendarEvent.originalEvent ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$
|
|
1990
|
-
vue.createElementVNode("span", _hoisted_5$
|
|
1991
|
-
], 42, _hoisted_3$
|
|
1989
|
+
eventTimeStart.value && !__props.calendarEvent.originalEvent ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$q, vue.toDisplayString(eventTimeStart.value), 1)) : vue.createCommentVNode("", true),
|
|
1990
|
+
vue.createElementVNode("span", _hoisted_5$m, vue.toDisplayString(__props.calendarEvent.title), 1)
|
|
1991
|
+
], 42, _hoisted_3$C))
|
|
1992
1992
|
], 64));
|
|
1993
1993
|
};
|
|
1994
1994
|
}
|
|
1995
1995
|
});
|
|
1996
|
-
const Event = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1997
|
-
const _hoisted_1
|
|
1998
|
-
const _hoisted_2$
|
|
1999
|
-
const _hoisted_3$
|
|
2000
|
-
const _hoisted_4$
|
|
1996
|
+
const Event = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-3c4101df"]]);
|
|
1997
|
+
const _hoisted_1$$ = ["id"];
|
|
1998
|
+
const _hoisted_2$K = { class: "w-100p flex justify-content-end txt14 p-025 m_h-100p" };
|
|
1999
|
+
const _hoisted_3$B = { class: "calendar-month_events" };
|
|
2000
|
+
const _hoisted_4$p = {
|
|
2001
2001
|
key: 1,
|
|
2002
2002
|
class: "space-reserver"
|
|
2003
2003
|
};
|
|
2004
|
-
const _sfc_main$
|
|
2004
|
+
const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
|
|
2005
2005
|
__name: "Day",
|
|
2006
2006
|
props: {
|
|
2007
2007
|
config: {
|
|
@@ -2098,13 +2098,13 @@ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2098
2098
|
onDragend: handleDragEnd
|
|
2099
2099
|
}, [
|
|
2100
2100
|
vue.renderSlot(_ctx.$slots, "dayCell", { dayData: __props.day }, () => [
|
|
2101
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
2101
|
+
vue.createElementVNode("div", _hoisted_2$K, [
|
|
2102
2102
|
vue.createElementVNode("p", {
|
|
2103
2103
|
class: "calendar-month__day-date ms-auto flex aspect-ratio-1 w-30px h-30px justify-content-center m_mx-auto",
|
|
2104
2104
|
onClick: emitDayWasClicked
|
|
2105
2105
|
}, vue.toDisplayString(__props.day.dateTimeString.substring(8, 10).startsWith("0") ? __props.day.dateTimeString.substring(9, 10) : __props.day.dateTimeString.substring(8, 10)), 1)
|
|
2106
2106
|
]),
|
|
2107
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
2107
|
+
vue.createElementVNode("div", _hoisted_3$B, [
|
|
2108
2108
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.day.events, (calendarEvent, index2) => {
|
|
2109
2109
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
2110
2110
|
index2 < 3 ? (vue.openBlock(), vue.createBlock(Event, {
|
|
@@ -2131,31 +2131,31 @@ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2131
2131
|
}, vue.toDisplayString(vue.unref(getLanguage)(vue.unref(languageKeys).moreEvents, __props.time.CALENDAR_LOCALE)), 1)) : vue.createCommentVNode("", true)
|
|
2132
2132
|
])
|
|
2133
2133
|
], true)
|
|
2134
|
-
], 42, _hoisted_1
|
|
2134
|
+
], 42, _hoisted_1$$)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$p));
|
|
2135
2135
|
};
|
|
2136
2136
|
}
|
|
2137
2137
|
});
|
|
2138
|
-
const Day$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2139
|
-
const _hoisted_1$
|
|
2140
|
-
const _sfc_main$
|
|
2138
|
+
const Day$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-c1dfa100"]]);
|
|
2139
|
+
const _hoisted_1$_ = { class: "txt12 normal block color-black pb-025" };
|
|
2140
|
+
const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
|
|
2141
2141
|
__name: "WeekDay",
|
|
2142
2142
|
props: {
|
|
2143
2143
|
day: {}
|
|
2144
2144
|
},
|
|
2145
2145
|
setup(__props) {
|
|
2146
2146
|
return (_ctx, _cache) => {
|
|
2147
|
-
return vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
2147
|
+
return vue.openBlock(), vue.createElementBlock("span", _hoisted_1$_, vue.toDisplayString(_ctx.day.dayName), 1);
|
|
2148
2148
|
};
|
|
2149
2149
|
}
|
|
2150
2150
|
});
|
|
2151
|
-
const _hoisted_1$
|
|
2152
|
-
const _hoisted_2$
|
|
2153
|
-
const _hoisted_3$
|
|
2154
|
-
const _hoisted_4$
|
|
2151
|
+
const _hoisted_1$Z = { class: "calendar-month relative column w-100p h-100p overflow-y flex flex-stretch" };
|
|
2152
|
+
const _hoisted_2$J = { class: "flex space-between" };
|
|
2153
|
+
const _hoisted_3$A = { class: "calendar-month__weeks h-100p flex-grow flex flex-stretch column space-between" };
|
|
2154
|
+
const _hoisted_4$o = {
|
|
2155
2155
|
key: 0,
|
|
2156
2156
|
class: "calendar-month__day_events w-100p pt-1 m_pb-1"
|
|
2157
2157
|
};
|
|
2158
|
-
const _sfc_main$
|
|
2158
|
+
const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
2159
2159
|
__name: "Month",
|
|
2160
2160
|
props: {
|
|
2161
2161
|
config: {
|
|
@@ -2257,10 +2257,10 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2257
2257
|
});
|
|
2258
2258
|
return (_ctx, _cache) => {
|
|
2259
2259
|
var _a;
|
|
2260
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
2261
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
2260
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Z, [
|
|
2261
|
+
vue.createElementVNode("div", _hoisted_2$J, [
|
|
2262
2262
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(month.value[0], (day, dayIndex) => {
|
|
2263
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
2263
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$19, {
|
|
2264
2264
|
key: dayIndex,
|
|
2265
2265
|
class: "txt-center flex-shrink flex-grow",
|
|
2266
2266
|
config: __props.config,
|
|
@@ -2269,7 +2269,7 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2269
2269
|
}, null, 8, ["config", "day", "time"]);
|
|
2270
2270
|
}), 128))
|
|
2271
2271
|
]),
|
|
2272
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
2272
|
+
vue.createElementVNode("div", _hoisted_3$A, [
|
|
2273
2273
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(month.value, (week, weekIndex) => {
|
|
2274
2274
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
2275
2275
|
key: weekIndex,
|
|
@@ -2300,7 +2300,7 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2300
2300
|
]);
|
|
2301
2301
|
}), 128))
|
|
2302
2302
|
]),
|
|
2303
|
-
!(((_a = __props.config.month) == null ? void 0 : _a.showEventsOnMobileView) === false) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
2303
|
+
!(((_a = __props.config.month) == null ? void 0 : _a.showEventsOnMobileView) === false) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$o, [
|
|
2304
2304
|
selectedDay.value ? (vue.openBlock(), vue.createBlock(AgendaEvents, {
|
|
2305
2305
|
key: 0,
|
|
2306
2306
|
config: __props.config,
|
|
@@ -2309,7 +2309,7 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2309
2309
|
onEventWasClicked: handleClickOnEvent
|
|
2310
2310
|
}, null, 8, ["config", "time", "day"])) : vue.createCommentVNode("", true)
|
|
2311
2311
|
])) : vue.createCommentVNode("", true),
|
|
2312
|
-
!__props.config.eventDialog || !__props.config.eventDialog.isDisabled ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
2312
|
+
!__props.config.eventDialog || !__props.config.eventDialog.isDisabled ? (vue.openBlock(), vue.createBlock(_sfc_main$1c, {
|
|
2313
2313
|
key: 1,
|
|
2314
2314
|
"calendar-event-prop": selectedEvent.value,
|
|
2315
2315
|
"event-element": selectedEventElement.value,
|
|
@@ -2534,27 +2534,27 @@ class EventChange {
|
|
|
2534
2534
|
this.dayEnd = `${endHourString}:00`;
|
|
2535
2535
|
}
|
|
2536
2536
|
}
|
|
2537
|
-
const _hoisted_1$
|
|
2538
|
-
const _hoisted_2$
|
|
2539
|
-
const _hoisted_3$
|
|
2540
|
-
const _hoisted_4$
|
|
2537
|
+
const _hoisted_1$Y = ["data-ref"];
|
|
2538
|
+
const _hoisted_2$I = { class: "calendar-week__event-row is-title" };
|
|
2539
|
+
const _hoisted_3$z = { class: "calendar-week__event-row is-time flex" };
|
|
2540
|
+
const _hoisted_4$n = {
|
|
2541
2541
|
key: 0,
|
|
2542
2542
|
class: "calendar-week__event-row is-location"
|
|
2543
2543
|
};
|
|
2544
|
-
const _hoisted_5$
|
|
2544
|
+
const _hoisted_5$l = {
|
|
2545
2545
|
key: 1,
|
|
2546
2546
|
class: "calendar-week__event-row is-with"
|
|
2547
2547
|
};
|
|
2548
|
-
const _hoisted_6$
|
|
2548
|
+
const _hoisted_6$i = {
|
|
2549
2549
|
key: 2,
|
|
2550
2550
|
class: "calendar-week__event-row is-topic"
|
|
2551
2551
|
};
|
|
2552
|
-
const _hoisted_7$
|
|
2552
|
+
const _hoisted_7$e = {
|
|
2553
2553
|
key: 3,
|
|
2554
2554
|
class: "calendar-week__event-row is-description"
|
|
2555
2555
|
};
|
|
2556
2556
|
const _hoisted_8$8 = ["innerHTML"];
|
|
2557
|
-
const _sfc_main$
|
|
2557
|
+
const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
2558
2558
|
__name: "DayEvent",
|
|
2559
2559
|
props: {
|
|
2560
2560
|
eventProp: {
|
|
@@ -2896,36 +2896,36 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2896
2896
|
backgroundColor: eventBackgroundColor.value
|
|
2897
2897
|
})
|
|
2898
2898
|
}, [
|
|
2899
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
2900
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
2899
|
+
vue.createElementVNode("div", _hoisted_2$I, vue.toDisplayString(event.value.title), 1),
|
|
2900
|
+
vue.createElementVNode("div", _hoisted_3$z, [
|
|
2901
2901
|
vue.createVNode(vue.unref(Icon), {
|
|
2902
2902
|
icon: icons.value.clock,
|
|
2903
2903
|
class: "calendar-week__event-icon"
|
|
2904
2904
|
}, null, 8, ["icon"]),
|
|
2905
2905
|
vue.createElementVNode("span", null, vue.toDisplayString(getEventTime.value), 1)
|
|
2906
2906
|
]),
|
|
2907
|
-
event.value.location ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
2907
|
+
event.value.location ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$n, [
|
|
2908
2908
|
vue.createVNode(vue.unref(Icon), {
|
|
2909
2909
|
icon: icons.value.location,
|
|
2910
2910
|
class: "calendar-week__event-icon"
|
|
2911
2911
|
}, null, 8, ["icon"]),
|
|
2912
2912
|
vue.createElementVNode("span", null, vue.toDisplayString(event.value.location), 1)
|
|
2913
2913
|
])) : vue.createCommentVNode("", true),
|
|
2914
|
-
event.value.with ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$
|
|
2914
|
+
event.value.with ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$l, [
|
|
2915
2915
|
vue.createVNode(vue.unref(Icon), {
|
|
2916
2916
|
icon: icons.value.user,
|
|
2917
2917
|
class: "calendar-week__event-icon"
|
|
2918
2918
|
}, null, 8, ["icon"]),
|
|
2919
2919
|
vue.createElementVNode("span", null, vue.toDisplayString(event.value.with), 1)
|
|
2920
2920
|
])) : vue.createCommentVNode("", true),
|
|
2921
|
-
event.value.topic ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$
|
|
2921
|
+
event.value.topic ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$i, [
|
|
2922
2922
|
vue.createVNode(vue.unref(Icon), {
|
|
2923
2923
|
icon: icons.value.topic,
|
|
2924
2924
|
class: "calendar-week__event-icon"
|
|
2925
2925
|
}, null, 8, ["icon"]),
|
|
2926
2926
|
vue.createElementVNode("span", null, vue.toDisplayString(event.value.topic), 1)
|
|
2927
2927
|
])) : vue.createCommentVNode("", true),
|
|
2928
|
-
event.value.description ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$
|
|
2928
|
+
event.value.description ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$e, [
|
|
2929
2929
|
vue.createVNode(vue.unref(Icon), {
|
|
2930
2930
|
icon: icons.value.description,
|
|
2931
2931
|
class: "calendar-week__event-icon"
|
|
@@ -2955,13 +2955,13 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2955
2955
|
class: "calendar-week__event-resize calendar-week__event-resize-down",
|
|
2956
2956
|
onMousedown: _cache[1] || (_cache[1] = ($event) => resizeEvent("down"))
|
|
2957
2957
|
}, null, 32)) : vue.createCommentVNode("", true)
|
|
2958
|
-
], 46, _hoisted_1$
|
|
2958
|
+
], 46, _hoisted_1$Y);
|
|
2959
2959
|
};
|
|
2960
2960
|
}
|
|
2961
2961
|
});
|
|
2962
|
-
const DayEvent = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2963
|
-
const _hoisted_1$
|
|
2964
|
-
const _sfc_main$
|
|
2962
|
+
const DayEvent = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-c512b81d"]]);
|
|
2963
|
+
const _hoisted_1$X = ["id", "onClick"];
|
|
2964
|
+
const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
2965
2965
|
__name: "Day",
|
|
2966
2966
|
props: {
|
|
2967
2967
|
day: {
|
|
@@ -3098,16 +3098,16 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3098
3098
|
class: vue.normalizeClass(["calendar-week__day-interval", { "has-border": interval.hasBorder }]),
|
|
3099
3099
|
style: vue.normalizeStyle(intervalStyles.value),
|
|
3100
3100
|
onClick: ($event) => handleClickOnInterval(interval)
|
|
3101
|
-
}, vue.toDisplayString(__props.time.getLocalizedTime(interval.intervalStart)), 15, _hoisted_1$
|
|
3101
|
+
}, vue.toDisplayString(__props.time.getLocalizedTime(interval.intervalStart)), 15, _hoisted_1$X);
|
|
3102
3102
|
}), 128)) : vue.createCommentVNode("", true)
|
|
3103
3103
|
]);
|
|
3104
3104
|
};
|
|
3105
3105
|
}
|
|
3106
3106
|
});
|
|
3107
|
-
const Day = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3108
|
-
const _hoisted_1$
|
|
3109
|
-
const _hoisted_2$
|
|
3110
|
-
const _sfc_main$
|
|
3107
|
+
const Day = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-87669cec"]]);
|
|
3108
|
+
const _hoisted_1$W = { class: "day-timeline absolute top-0 start-0 space-evenly column display-flex" };
|
|
3109
|
+
const _hoisted_2$H = { class: "day-timeline__hour-text line-height-0" };
|
|
3110
|
+
const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
3111
3111
|
__name: "DayTimeline",
|
|
3112
3112
|
props: {
|
|
3113
3113
|
time: {
|
|
@@ -3133,27 +3133,27 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3133
3133
|
return props2.time.getLocalizedHour(new Date(2100, 1, 1, hour));
|
|
3134
3134
|
}
|
|
3135
3135
|
return (_ctx, _cache) => {
|
|
3136
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
3136
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$W, [
|
|
3137
3137
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(timelineHours.value, (hour) => {
|
|
3138
3138
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
3139
3139
|
key: hour,
|
|
3140
3140
|
class: "day-timeline__hour display-flex column ustify-content-start h-100p ps-05"
|
|
3141
3141
|
}, [
|
|
3142
|
-
vue.createElementVNode("span", _hoisted_2$
|
|
3142
|
+
vue.createElementVNode("span", _hoisted_2$H, vue.toDisplayString(getLocaleTimeString(hour)), 1)
|
|
3143
3143
|
]);
|
|
3144
3144
|
}), 128))
|
|
3145
3145
|
]);
|
|
3146
3146
|
};
|
|
3147
3147
|
}
|
|
3148
3148
|
});
|
|
3149
|
-
const DayTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3150
|
-
const _hoisted_1$
|
|
3151
|
-
const _hoisted_2$
|
|
3149
|
+
const DayTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-0b3de5c5"]]);
|
|
3150
|
+
const _hoisted_1$V = ["id"];
|
|
3151
|
+
const _hoisted_2$G = {
|
|
3152
3152
|
key: 1,
|
|
3153
3153
|
class: "week-timeline__event"
|
|
3154
3154
|
};
|
|
3155
3155
|
const eventElementIdPrefix = "week-timeline__event-id-";
|
|
3156
|
-
const _sfc_main$
|
|
3156
|
+
const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
|
|
3157
3157
|
__name: "FullDayEvent",
|
|
3158
3158
|
props: {
|
|
3159
3159
|
scheduleEvent: {
|
|
@@ -3219,21 +3219,21 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3219
3219
|
zIndex: 1
|
|
3220
3220
|
}),
|
|
3221
3221
|
onClick: handleClickOnEvent
|
|
3222
|
-
}, vue.toDisplayString(__props.scheduleEvent.title), 13, _hoisted_1$
|
|
3222
|
+
}, vue.toDisplayString(__props.scheduleEvent.title), 13, _hoisted_1$V)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$G));
|
|
3223
3223
|
};
|
|
3224
3224
|
}
|
|
3225
3225
|
});
|
|
3226
|
-
const FullDayEvent = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3227
|
-
const _hoisted_1$
|
|
3226
|
+
const FullDayEvent = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-8bd51337"]]);
|
|
3227
|
+
const _hoisted_1$U = {
|
|
3228
3228
|
class: "week-timeline flex space-between border-bottom ms-3-5",
|
|
3229
3229
|
style: { "margin-inline-end": "0.5em" }
|
|
3230
3230
|
};
|
|
3231
|
-
const _hoisted_2$
|
|
3232
|
-
const _hoisted_3$
|
|
3233
|
-
const _hoisted_4$
|
|
3234
|
-
const _hoisted_5$
|
|
3235
|
-
const _hoisted_6$
|
|
3236
|
-
const _sfc_main$
|
|
3231
|
+
const _hoisted_2$F = ["onClick"];
|
|
3232
|
+
const _hoisted_3$y = { class: "flex justify-content-center gap-025 txt12 pb-025" };
|
|
3233
|
+
const _hoisted_4$m = { class: "" };
|
|
3234
|
+
const _hoisted_5$k = { class: "week-timeline__date txt14 round inline-flex justify-content-center" };
|
|
3235
|
+
const _hoisted_6$h = { class: "week-timeline__events" };
|
|
3236
|
+
const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
3237
3237
|
__name: "WeekTimeline",
|
|
3238
3238
|
props: {
|
|
3239
3239
|
days: {},
|
|
@@ -3254,7 +3254,7 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3254
3254
|
return date2;
|
|
3255
3255
|
}
|
|
3256
3256
|
return (_ctx, _cache) => {
|
|
3257
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
3257
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$U, [
|
|
3258
3258
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.days, (day, dayIndex) => {
|
|
3259
3259
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
3260
3260
|
key: dayIndex,
|
|
@@ -3263,11 +3263,11 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3263
3263
|
}]),
|
|
3264
3264
|
onClick: ($event) => emit2("dayWasClicked", _ctx.time.dateStringFrom(day.dateTimeString))
|
|
3265
3265
|
}, [
|
|
3266
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
3267
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
3268
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
3266
|
+
vue.createElementVNode("div", _hoisted_3$y, [
|
|
3267
|
+
vue.createElementVNode("div", _hoisted_4$m, vue.toDisplayString(day.dayName.charAt(0).toUpperCase() + day.dayName.slice(1, 3).toLowerCase()), 1),
|
|
3268
|
+
vue.createElementVNode("div", _hoisted_5$k, vue.toDisplayString(getDaysDate(day)), 1)
|
|
3269
3269
|
]),
|
|
3270
|
-
vue.createElementVNode("div", _hoisted_6$
|
|
3270
|
+
vue.createElementVNode("div", _hoisted_6$h, [
|
|
3271
3271
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(day.fullDayEvents, (event, key) => {
|
|
3272
3272
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key }, [
|
|
3273
3273
|
key !== "date" ? (vue.openBlock(), vue.createBlock(FullDayEvent, {
|
|
@@ -3280,17 +3280,17 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3280
3280
|
], 64);
|
|
3281
3281
|
}), 128))
|
|
3282
3282
|
])
|
|
3283
|
-
], 10, _hoisted_2$
|
|
3283
|
+
], 10, _hoisted_2$F);
|
|
3284
3284
|
}), 128))
|
|
3285
3285
|
]);
|
|
3286
3286
|
};
|
|
3287
3287
|
}
|
|
3288
3288
|
});
|
|
3289
|
-
const WeekTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3290
|
-
const _hoisted_1$
|
|
3291
|
-
const _hoisted_2$
|
|
3292
|
-
const _hoisted_3$
|
|
3293
|
-
const _sfc_main$
|
|
3289
|
+
const WeekTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-18ecf6c3"]]);
|
|
3290
|
+
const _hoisted_1$T = { class: "calendar-week__wrapper relative ps-3-5" };
|
|
3291
|
+
const _hoisted_2$E = { class: "calendar-week" };
|
|
3292
|
+
const _hoisted_3$x = { class: "calendar-week__events" };
|
|
3293
|
+
const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
3294
3294
|
__name: "Week",
|
|
3295
3295
|
props: {
|
|
3296
3296
|
config: {
|
|
@@ -3516,8 +3516,8 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3516
3516
|
onEventWasClicked: handleClickOnEvent,
|
|
3517
3517
|
onDayWasClicked: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("dayWasClicked", $event))
|
|
3518
3518
|
}, null, 8, ["days", "time", "full-day-events", "config", "mode"]),
|
|
3519
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
3520
|
-
!__props.config.eventDialog || !__props.config.eventDialog.isDisabled ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
3519
|
+
vue.createElementVNode("div", _hoisted_1$T, [
|
|
3520
|
+
!__props.config.eventDialog || !__props.config.eventDialog.isDisabled ? (vue.openBlock(), vue.createBlock(_sfc_main$1c, {
|
|
3521
3521
|
key: 0,
|
|
3522
3522
|
"calendar-event-prop": selectedEvent.value,
|
|
3523
3523
|
"event-element": selectedEventElement.value,
|
|
@@ -3535,7 +3535,7 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3535
3535
|
]),
|
|
3536
3536
|
_: 3
|
|
3537
3537
|
}, 8, ["calendar-event-prop", "event-element", "time", "config"])) : vue.createCommentVNode("", true),
|
|
3538
|
-
vue.createElementVNode("section", _hoisted_2$
|
|
3538
|
+
vue.createElementVNode("section", _hoisted_2$E, [
|
|
3539
3539
|
hasCustomCurrentTimeSlot.value && showCurrentTime.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
3540
3540
|
key: 0,
|
|
3541
3541
|
class: "custom-current-time",
|
|
@@ -3555,7 +3555,7 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3555
3555
|
"day-intervals": dayIntervals.value,
|
|
3556
3556
|
"week-height": weekHeight.value
|
|
3557
3557
|
}, null, 8, ["time", "day-intervals", "week-height"])),
|
|
3558
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
3558
|
+
vue.createElementVNode("div", _hoisted_3$x, [
|
|
3559
3559
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(days.value, (day, dayIndex) => {
|
|
3560
3560
|
return vue.openBlock(), vue.createBlock(Day, {
|
|
3561
3561
|
key: day.dateTimeString + mode.value + weekVersion.value,
|
|
@@ -3588,7 +3588,7 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3588
3588
|
};
|
|
3589
3589
|
}
|
|
3590
3590
|
});
|
|
3591
|
-
const Week = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3591
|
+
const Week = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-f1a405b2"]]);
|
|
3592
3592
|
const _Errors = class _Errors {
|
|
3593
3593
|
static checkEventProperties(event) {
|
|
3594
3594
|
var _a, _b, _c, _d;
|
|
@@ -3637,13 +3637,13 @@ ${_Errors.SUFFIX}`);
|
|
|
3637
3637
|
__publicField(_Errors, "MISSING_TIME_END_WARNING", `${_Errors.PREFIX} required event property 'time.end' is missing
|
|
3638
3638
|
${_Errors.SUFFIX}`);
|
|
3639
3639
|
let Errors = _Errors;
|
|
3640
|
-
const _hoisted_1$
|
|
3641
|
-
const _hoisted_2$
|
|
3642
|
-
const _hoisted_3$
|
|
3640
|
+
const _hoisted_1$S = { class: "calendar-root-wrapper txt16" };
|
|
3641
|
+
const _hoisted_2$D = ["data-lang"];
|
|
3642
|
+
const _hoisted_3$w = {
|
|
3643
3643
|
key: 0,
|
|
3644
3644
|
class: "top-bar-loader"
|
|
3645
3645
|
};
|
|
3646
|
-
const _sfc_main$
|
|
3646
|
+
const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
3647
3647
|
__name: "Index",
|
|
3648
3648
|
props: {
|
|
3649
3649
|
config: {
|
|
@@ -3817,7 +3817,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3817
3817
|
}
|
|
3818
3818
|
return (_ctx, _cache) => {
|
|
3819
3819
|
var _a2, _b2;
|
|
3820
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
3820
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$S, [
|
|
3821
3821
|
vue.createElementVNode("div", {
|
|
3822
3822
|
ref_key: "calendarRoot",
|
|
3823
3823
|
ref: calendarRoot,
|
|
@@ -3831,11 +3831,11 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3831
3831
|
}, [
|
|
3832
3832
|
vue.createVNode(vue.Transition, { name: "loading" }, {
|
|
3833
3833
|
default: vue.withCtx(() => [
|
|
3834
|
-
__props.isLoading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
3834
|
+
__props.isLoading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$w)) : vue.createCommentVNode("", true)
|
|
3835
3835
|
]),
|
|
3836
3836
|
_: 1
|
|
3837
3837
|
}),
|
|
3838
|
-
(vue.openBlock(), vue.createBlock(_sfc_main$
|
|
3838
|
+
(vue.openBlock(), vue.createBlock(_sfc_main$1f, {
|
|
3839
3839
|
ref_key: "appHeaderRef",
|
|
3840
3840
|
ref: appHeaderRef,
|
|
3841
3841
|
key: wasInitialized.value + mode.value,
|
|
@@ -3887,7 +3887,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3887
3887
|
]),
|
|
3888
3888
|
_: 3
|
|
3889
3889
|
}, 8, ["events-prop", "period", "config", "mode-prop", "time"])) : vue.createCommentVNode("", true),
|
|
3890
|
-
mode.value === "month" ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
3890
|
+
mode.value === "month" ? (vue.openBlock(), vue.createBlock(_sfc_main$18, {
|
|
3891
3891
|
key: period.value.start.getTime() + period.value.end.getTime() + eventRenderingKey.value,
|
|
3892
3892
|
"events-prop": eventsDataProperty.value,
|
|
3893
3893
|
time: time.value,
|
|
@@ -3916,16 +3916,16 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3916
3916
|
]),
|
|
3917
3917
|
_: 3
|
|
3918
3918
|
}, 8, ["events-prop", "time", "config", "period"])) : vue.createCommentVNode("", true)
|
|
3919
|
-
], 10, _hoisted_2$
|
|
3919
|
+
], 10, _hoisted_2$D)
|
|
3920
3920
|
]);
|
|
3921
3921
|
};
|
|
3922
3922
|
}
|
|
3923
3923
|
});
|
|
3924
|
-
const _hoisted_1$
|
|
3924
|
+
const _hoisted_1$R = {
|
|
3925
3925
|
key: 0,
|
|
3926
3926
|
class: "card_label"
|
|
3927
3927
|
};
|
|
3928
|
-
const _sfc_main
|
|
3928
|
+
const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
3929
3929
|
__name: "Card",
|
|
3930
3930
|
props: {
|
|
3931
3931
|
label: {},
|
|
@@ -3954,7 +3954,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
|
3954
3954
|
}])
|
|
3955
3955
|
}, {
|
|
3956
3956
|
default: vue.withCtx(() => [
|
|
3957
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
3957
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$R, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
3958
3958
|
vue.renderSlot(_ctx.$slots, "default")
|
|
3959
3959
|
]),
|
|
3960
3960
|
_: 3
|
|
@@ -3964,16 +3964,16 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
|
3964
3964
|
};
|
|
3965
3965
|
}
|
|
3966
3966
|
});
|
|
3967
|
-
const _hoisted_1$
|
|
3968
|
-
const _hoisted_2$
|
|
3967
|
+
const _hoisted_1$Q = ["dir"];
|
|
3968
|
+
const _hoisted_2$C = {
|
|
3969
3969
|
key: 0,
|
|
3970
3970
|
class: "dots"
|
|
3971
3971
|
};
|
|
3972
|
-
const _hoisted_3$
|
|
3973
|
-
const _hoisted_4$
|
|
3972
|
+
const _hoisted_3$v = ["onClick"];
|
|
3973
|
+
const _hoisted_4$l = { class: "Handlers" };
|
|
3974
3974
|
const GAP_PERCENT = 1;
|
|
3975
3975
|
const VELOCITY_SAMPLE_DURATION = 100;
|
|
3976
|
-
const _sfc_main
|
|
3976
|
+
const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
3977
3977
|
__name: "Carousel",
|
|
3978
3978
|
props: {
|
|
3979
3979
|
autoHeight: { type: Boolean, default: false },
|
|
@@ -4399,16 +4399,16 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
4399
4399
|
}, [
|
|
4400
4400
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
4401
4401
|
], 38),
|
|
4402
|
-
props2.dots && vue.unref(slideCount) > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
4402
|
+
props2.dots && vue.unref(slideCount) > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$C, [
|
|
4403
4403
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(slideCount), (i2) => {
|
|
4404
4404
|
return vue.openBlock(), vue.createElementBlock("span", {
|
|
4405
4405
|
key: i2,
|
|
4406
4406
|
class: vue.normalizeClass(["dot", { current: vue.unref(activeSlideIndex) === i2 - 1 }]),
|
|
4407
4407
|
onClick: ($event) => goToSlide(i2 - 1)
|
|
4408
|
-
}, null, 10, _hoisted_3$
|
|
4408
|
+
}, null, 10, _hoisted_3$v);
|
|
4409
4409
|
}), 128))
|
|
4410
4410
|
])) : vue.createCommentVNode("", true),
|
|
4411
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
4411
|
+
vue.createElementVNode("div", _hoisted_4$l, [
|
|
4412
4412
|
vue.createElementVNode("span", { onClick: prev }, [
|
|
4413
4413
|
vue.renderSlot(_ctx.$slots, "prev", {
|
|
4414
4414
|
index: vue.unref(activeSlideIndex),
|
|
@@ -4422,11 +4422,11 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
4422
4422
|
}, void 0, true)
|
|
4423
4423
|
])
|
|
4424
4424
|
])
|
|
4425
|
-
], 14, _hoisted_1$
|
|
4425
|
+
], 14, _hoisted_1$Q);
|
|
4426
4426
|
};
|
|
4427
4427
|
}
|
|
4428
4428
|
});
|
|
4429
|
-
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
4429
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-31632a3b"]]);
|
|
4430
4430
|
function _isPlaceholder(a2) {
|
|
4431
4431
|
return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
|
|
4432
4432
|
}
|
|
@@ -9337,7 +9337,7 @@ const _hoisted_4$2$1 = {
|
|
|
9337
9337
|
};
|
|
9338
9338
|
const _hoisted_5$2$1 = ["x1", "y1", "x2", "y2"];
|
|
9339
9339
|
const _hoisted_6$2$1 = ["x1", "y1", "x2", "y2"];
|
|
9340
|
-
const _hoisted_7$
|
|
9340
|
+
const _hoisted_7$d = ["x1", "y1", "x2", "y2"];
|
|
9341
9341
|
function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9342
9342
|
return _ctx.data.length ? (vue.openBlock(), vue.createElementBlock("g", {
|
|
9343
9343
|
key: 0,
|
|
@@ -9393,7 +9393,7 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9393
9393
|
y1: _ctx.canvas.y,
|
|
9394
9394
|
x2: _ctx.canvas.width - 1,
|
|
9395
9395
|
y2: _ctx.canvas.height
|
|
9396
|
-
}, null, 8, _hoisted_7$
|
|
9396
|
+
}, null, 8, _hoisted_7$d)
|
|
9397
9397
|
])
|
|
9398
9398
|
], 8, _hoisted_1$4$1)) : vue.createCommentVNode("v-if", true);
|
|
9399
9399
|
}
|
|
@@ -10260,10 +10260,10 @@ const _hoisted_1$1$1 = {
|
|
|
10260
10260
|
style: { display: "flex", position: "relative" }
|
|
10261
10261
|
};
|
|
10262
10262
|
const _hoisted_2$1$1 = ["width", "height", "viewBox"];
|
|
10263
|
-
const _hoisted_3$
|
|
10264
|
-
const _hoisted_4$
|
|
10265
|
-
const _hoisted_5$
|
|
10266
|
-
const _hoisted_6$
|
|
10263
|
+
const _hoisted_3$u = { class: "layer-rectangles" };
|
|
10264
|
+
const _hoisted_4$k = ["transform", "onMouseover"];
|
|
10265
|
+
const _hoisted_5$j = ["width", "height"];
|
|
10266
|
+
const _hoisted_6$g = {
|
|
10267
10267
|
x: 0 + 10,
|
|
10268
10268
|
y: 0 + 20,
|
|
10269
10269
|
"font-size": `15px`,
|
|
@@ -10278,7 +10278,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10278
10278
|
viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
|
|
10279
10279
|
ref: "el"
|
|
10280
10280
|
}, [
|
|
10281
|
-
vue.createElementVNode("g", _hoisted_3$
|
|
10281
|
+
vue.createElementVNode("g", _hoisted_3$u, [
|
|
10282
10282
|
(vue.openBlock(true), vue.createElementBlock(
|
|
10283
10283
|
vue.Fragment,
|
|
10284
10284
|
null,
|
|
@@ -10299,21 +10299,21 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10299
10299
|
y: 0,
|
|
10300
10300
|
width: r2.width,
|
|
10301
10301
|
height: r2.height
|
|
10302
|
-
}), null, 16, _hoisted_5$
|
|
10302
|
+
}), null, 16, _hoisted_5$j),
|
|
10303
10303
|
vue.renderSlot(_ctx.$slots, "text", {
|
|
10304
10304
|
r: r2,
|
|
10305
10305
|
selected: _ctx.selected === i2
|
|
10306
10306
|
}, () => [
|
|
10307
10307
|
vue.createElementVNode(
|
|
10308
10308
|
"text",
|
|
10309
|
-
_hoisted_6$
|
|
10309
|
+
_hoisted_6$g,
|
|
10310
10310
|
vue.toDisplayString(r2.data.name),
|
|
10311
10311
|
1
|
|
10312
10312
|
/* TEXT */
|
|
10313
10313
|
)
|
|
10314
10314
|
])
|
|
10315
10315
|
])
|
|
10316
|
-
], 42, _hoisted_4$
|
|
10316
|
+
], 42, _hoisted_4$k);
|
|
10317
10317
|
}),
|
|
10318
10318
|
128
|
|
10319
10319
|
/* KEYED_FRAGMENT */
|
|
@@ -10370,25 +10370,25 @@ var script = vue.defineComponent({
|
|
|
10370
10370
|
return { bar, canvas, direction, mouse };
|
|
10371
10371
|
}
|
|
10372
10372
|
});
|
|
10373
|
-
const _hoisted_1$
|
|
10373
|
+
const _hoisted_1$P = {
|
|
10374
10374
|
key: 0,
|
|
10375
10375
|
class: "layer-hover-bar"
|
|
10376
10376
|
};
|
|
10377
|
-
const _hoisted_2$
|
|
10377
|
+
const _hoisted_2$B = ["x", "y", "width", "height"];
|
|
10378
10378
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10379
|
-
return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$
|
|
10379
|
+
return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$P, [
|
|
10380
10380
|
vue.createElementVNode("rect", vue.mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
|
|
10381
10381
|
x: _ctx.bar.x,
|
|
10382
10382
|
y: _ctx.bar.y,
|
|
10383
10383
|
width: _ctx.bar.width > 0 ? _ctx.bar.width : 0,
|
|
10384
10384
|
height: _ctx.bar.height > 0 ? _ctx.bar.height : 0
|
|
10385
|
-
}), null, 16, _hoisted_2$
|
|
10385
|
+
}), null, 16, _hoisted_2$B)
|
|
10386
10386
|
])) : vue.createCommentVNode("v-if", true);
|
|
10387
10387
|
}
|
|
10388
10388
|
script.render = render;
|
|
10389
10389
|
script.__file = "src/components/HoverBar/index.vue";
|
|
10390
10390
|
const BRAND_COLOR = "var(--bgl-primary)";
|
|
10391
|
-
const _sfc_main$
|
|
10391
|
+
const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
10392
10392
|
__name: "Lineart",
|
|
10393
10393
|
props: {
|
|
10394
10394
|
data: {},
|
|
@@ -10538,8 +10538,8 @@ function useSchemaField(optns) {
|
|
|
10538
10538
|
text: TextInput,
|
|
10539
10539
|
textarea: TextInput,
|
|
10540
10540
|
number: NumberInput,
|
|
10541
|
-
array: _sfc_main$
|
|
10542
|
-
color: _sfc_main$
|
|
10541
|
+
array: _sfc_main$S,
|
|
10542
|
+
color: _sfc_main$O,
|
|
10543
10543
|
tel: TelInput,
|
|
10544
10544
|
select: SelectInput,
|
|
10545
10545
|
toggle: ToggleInput,
|
|
@@ -10549,7 +10549,8 @@ function useSchemaField(optns) {
|
|
|
10549
10549
|
file: UploadInput,
|
|
10550
10550
|
date: DateInput,
|
|
10551
10551
|
tabs: TabsNav,
|
|
10552
|
-
form: _sfc_main$
|
|
10552
|
+
form: _sfc_main$T,
|
|
10553
|
+
range: RangeInput
|
|
10553
10554
|
};
|
|
10554
10555
|
if (field.$el === "textarea" && !((_a = field.attrs) == null ? void 0 : _a.multiline)) {
|
|
10555
10556
|
field.attrs = { ...field.attrs, multiline: true };
|
|
@@ -10762,8 +10763,8 @@ function useTableData(options) {
|
|
|
10762
10763
|
toggleSort
|
|
10763
10764
|
};
|
|
10764
10765
|
}
|
|
10765
|
-
const _hoisted_1$
|
|
10766
|
-
const _sfc_main$
|
|
10766
|
+
const _hoisted_1$O = { class: "data-preview" };
|
|
10767
|
+
const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
10767
10768
|
__name: "DataPreview",
|
|
10768
10769
|
props: {
|
|
10769
10770
|
schema: { type: Function },
|
|
@@ -10794,7 +10795,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
|
10794
10795
|
includeUnset: props2.includeUnset
|
|
10795
10796
|
});
|
|
10796
10797
|
return (_ctx, _cache) => {
|
|
10797
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
10798
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$O, [
|
|
10798
10799
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(computedSchema), (field) => {
|
|
10799
10800
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(renderField)(field, vue.unref(slots))), {
|
|
10800
10801
|
key: field.id
|
|
@@ -10804,7 +10805,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
|
10804
10805
|
};
|
|
10805
10806
|
}
|
|
10806
10807
|
});
|
|
10807
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10808
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-74c7df87"]]);
|
|
10808
10809
|
function useTableSelection(options) {
|
|
10809
10810
|
const allSelectorEl = vue.ref();
|
|
10810
10811
|
const computedSelectedItems = vue.computed(() => options.selectedItems.value);
|
|
@@ -11433,20 +11434,20 @@ function useTableVirtualization(options) {
|
|
|
11433
11434
|
registerLastItemObserver
|
|
11434
11435
|
};
|
|
11435
11436
|
}
|
|
11436
|
-
const _hoisted_1$
|
|
11437
|
+
const _hoisted_1$N = {
|
|
11437
11438
|
key: 0,
|
|
11438
11439
|
class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
|
|
11439
11440
|
};
|
|
11440
|
-
const _hoisted_2$
|
|
11441
|
-
const _hoisted_3$
|
|
11442
|
-
const _hoisted_4$
|
|
11443
|
-
const _hoisted_5$
|
|
11444
|
-
const _hoisted_6$
|
|
11445
|
-
const _hoisted_7$
|
|
11441
|
+
const _hoisted_2$A = { class: "infinite-wrapper" };
|
|
11442
|
+
const _hoisted_3$t = { class: "row first-row" };
|
|
11443
|
+
const _hoisted_4$j = { key: 0 };
|
|
11444
|
+
const _hoisted_5$i = ["onClick"];
|
|
11445
|
+
const _hoisted_6$f = { class: "flex" };
|
|
11446
|
+
const _hoisted_7$c = ["onClick"];
|
|
11446
11447
|
const _hoisted_8$7 = { key: 0 };
|
|
11447
11448
|
const _hoisted_9$6 = ["value"];
|
|
11448
11449
|
const _hoisted_10$6 = { key: 1 };
|
|
11449
|
-
const _sfc_main$
|
|
11450
|
+
const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
11450
11451
|
__name: "DataTable",
|
|
11451
11452
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
11452
11453
|
data: {},
|
|
@@ -11566,12 +11567,12 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
|
11566
11567
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: "table-list-wrap h-100" }, vue.unref(containerProps), {
|
|
11567
11568
|
class: { "loading-table": loading.value }
|
|
11568
11569
|
}), [
|
|
11569
|
-
loading.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
11570
|
+
loading.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N, _cache[4] || (_cache[4] = [
|
|
11570
11571
|
vue.createElementVNode("div", { class: "loading-table-animation absolute oval" }, null, -1)
|
|
11571
11572
|
]))) : (vue.openBlock(), vue.createElementBlock("div", vue.normalizeProps(vue.mergeProps({ key: 1 }, vue.unref(wrapperProps))), [
|
|
11572
|
-
vue.createElementVNode("table", _hoisted_2$
|
|
11573
|
-
vue.createElementVNode("thead", _hoisted_3$
|
|
11574
|
-
vue.unref(isSelectable) ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_4$
|
|
11573
|
+
vue.createElementVNode("table", _hoisted_2$A, [
|
|
11574
|
+
vue.createElementVNode("thead", _hoisted_3$t, [
|
|
11575
|
+
vue.unref(isSelectable) ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_4$j, [
|
|
11575
11576
|
vue.createElementVNode("input", {
|
|
11576
11577
|
ref_key: "allSelectorEl",
|
|
11577
11578
|
ref: allSelectorEl,
|
|
@@ -11588,7 +11589,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
|
11588
11589
|
class: "col",
|
|
11589
11590
|
onClick: ($event) => vue.unref(toggleSort)((field == null ? void 0 : field.id) || "")
|
|
11590
11591
|
}, [
|
|
11591
|
-
vue.createElementVNode("div", _hoisted_6$
|
|
11592
|
+
vue.createElementVNode("div", _hoisted_6$f, [
|
|
11592
11593
|
vue.createTextVNode(vue.toDisplayString(field.label || vue.unref(keyToLabel)(field.id)) + " ", 1),
|
|
11593
11594
|
vue.createElementVNode("div", {
|
|
11594
11595
|
class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === field.id }])
|
|
@@ -11599,7 +11600,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
|
11599
11600
|
}, null, 8, ["class"])
|
|
11600
11601
|
], 2)
|
|
11601
11602
|
])
|
|
11602
|
-
], 8, _hoisted_5$
|
|
11603
|
+
], 8, _hoisted_5$i);
|
|
11603
11604
|
}), 128))
|
|
11604
11605
|
]),
|
|
11605
11606
|
vue.createElementVNode("tbody", null, [
|
|
@@ -11637,7 +11638,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
|
11637
11638
|
]))
|
|
11638
11639
|
]);
|
|
11639
11640
|
}), 128))
|
|
11640
|
-
], 10, _hoisted_7$
|
|
11641
|
+
], 10, _hoisted_7$c);
|
|
11641
11642
|
}), 128)),
|
|
11642
11643
|
props2.onLastItemVisible !== void 0 ? (vue.openBlock(), vue.createElementBlock("tr", {
|
|
11643
11644
|
key: 0,
|
|
@@ -11652,7 +11653,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
|
11652
11653
|
};
|
|
11653
11654
|
}
|
|
11654
11655
|
});
|
|
11655
|
-
const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11656
|
+
const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-89f6838b"]]);
|
|
11656
11657
|
function useDraggable(options = {}) {
|
|
11657
11658
|
const isDragging = vue.ref(false);
|
|
11658
11659
|
const dragElement = vue.ref(null);
|
|
@@ -12127,7 +12128,7 @@ function useDraggable(options = {}) {
|
|
|
12127
12128
|
initDraggableContainer
|
|
12128
12129
|
};
|
|
12129
12130
|
}
|
|
12130
|
-
const _sfc_main$
|
|
12131
|
+
const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
12131
12132
|
__name: "Draggable",
|
|
12132
12133
|
props: {
|
|
12133
12134
|
modelValue: {},
|
|
@@ -14747,7 +14748,7 @@ const Gt = {
|
|
|
14747
14748
|
install: Ct,
|
|
14748
14749
|
options: h
|
|
14749
14750
|
};
|
|
14750
|
-
const _sfc_main$
|
|
14751
|
+
const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
|
|
14751
14752
|
__name: "Dropdown",
|
|
14752
14753
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
14753
14754
|
value: {},
|
|
@@ -14830,9 +14831,9 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
|
14830
14831
|
};
|
|
14831
14832
|
}
|
|
14832
14833
|
});
|
|
14833
|
-
const _hoisted_1$
|
|
14834
|
-
const _hoisted_2$
|
|
14835
|
-
const _sfc_main$
|
|
14834
|
+
const _hoisted_1$M = { class: "px-1 pt-025 pb-1" };
|
|
14835
|
+
const _hoisted_2$z = { class: "ms-1" };
|
|
14836
|
+
const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
14836
14837
|
__name: "FieldSetVue",
|
|
14837
14838
|
props: {
|
|
14838
14839
|
label: {},
|
|
@@ -14840,15 +14841,15 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
|
14840
14841
|
},
|
|
14841
14842
|
setup(__props) {
|
|
14842
14843
|
return (_ctx, _cache) => {
|
|
14843
|
-
return vue.openBlock(), vue.createElementBlock("fieldset", _hoisted_1$
|
|
14844
|
-
vue.createElementVNode("legend", _hoisted_2$
|
|
14844
|
+
return vue.openBlock(), vue.createElementBlock("fieldset", _hoisted_1$M, [
|
|
14845
|
+
vue.createElementVNode("legend", _hoisted_2$z, vue.toDisplayString(_ctx.legend || _ctx.label), 1),
|
|
14845
14846
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
14846
14847
|
]);
|
|
14847
14848
|
};
|
|
14848
14849
|
}
|
|
14849
14850
|
});
|
|
14850
|
-
const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14851
|
-
const _sfc_main$
|
|
14851
|
+
const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-f7e758e5"]]);
|
|
14852
|
+
const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
14852
14853
|
__name: "Flag",
|
|
14853
14854
|
props: {
|
|
14854
14855
|
country: {},
|
|
@@ -14878,7 +14879,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
14878
14879
|
};
|
|
14879
14880
|
}
|
|
14880
14881
|
});
|
|
14881
|
-
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14882
|
+
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-f99f1900"]]);
|
|
14882
14883
|
function getBaseField(id, labelOrRest = {}, rest = {}) {
|
|
14883
14884
|
if (typeof labelOrRest === "object") return { id, ...labelOrRest };
|
|
14884
14885
|
return { id, label: labelOrRest, ...rest };
|
|
@@ -14999,6 +15000,22 @@ function uploadField(id, label, options) {
|
|
|
14999
15000
|
}
|
|
15000
15001
|
};
|
|
15001
15002
|
}
|
|
15003
|
+
function rangeField(id, label, options) {
|
|
15004
|
+
return {
|
|
15005
|
+
$el: "range",
|
|
15006
|
+
id,
|
|
15007
|
+
label,
|
|
15008
|
+
vIf: options == null ? void 0 : options.vIf,
|
|
15009
|
+
attrs: {
|
|
15010
|
+
min: options == null ? void 0 : options.min,
|
|
15011
|
+
max: options == null ? void 0 : options.max,
|
|
15012
|
+
step: options == null ? void 0 : options.step,
|
|
15013
|
+
rtl: options == null ? void 0 : options.rtl,
|
|
15014
|
+
multiRange: options == null ? void 0 : options.multiRange,
|
|
15015
|
+
formatValue: options == null ? void 0 : options.formatValue
|
|
15016
|
+
}
|
|
15017
|
+
};
|
|
15018
|
+
}
|
|
15002
15019
|
function bglForm(idOrField, ...schema) {
|
|
15003
15020
|
if (typeof idOrField === "string") {
|
|
15004
15021
|
return {
|
|
@@ -15067,6 +15084,7 @@ const bagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
|
|
|
15067
15084
|
frmRow: frmRow$1,
|
|
15068
15085
|
getBaseField,
|
|
15069
15086
|
numField: numField$1,
|
|
15087
|
+
rangeField,
|
|
15070
15088
|
richText,
|
|
15071
15089
|
selectField,
|
|
15072
15090
|
slctField,
|
|
@@ -15271,7 +15289,7 @@ function getNestedValue(obj, path, defaultValue = void 0) {
|
|
|
15271
15289
|
}
|
|
15272
15290
|
return current ?? defaultValue;
|
|
15273
15291
|
}
|
|
15274
|
-
const _sfc_main$
|
|
15292
|
+
const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
15275
15293
|
__name: "BagelForm",
|
|
15276
15294
|
props: {
|
|
15277
15295
|
modelValue: { default: void 0 },
|
|
@@ -15405,13 +15423,13 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
|
15405
15423
|
};
|
|
15406
15424
|
}
|
|
15407
15425
|
});
|
|
15408
|
-
const _hoisted_1$
|
|
15409
|
-
const _hoisted_2$
|
|
15426
|
+
const _hoisted_1$L = { class: "label mb-05" };
|
|
15427
|
+
const _hoisted_2$y = {
|
|
15410
15428
|
key: 0,
|
|
15411
15429
|
class: "ps-025 border-start mb-05"
|
|
15412
15430
|
};
|
|
15413
|
-
const _hoisted_3$
|
|
15414
|
-
const _sfc_main$
|
|
15431
|
+
const _hoisted_3$s = { class: "bg-gray-80 -my-05 px-025 pt-065 txt-center" };
|
|
15432
|
+
const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
15415
15433
|
__name: "FieldArray",
|
|
15416
15434
|
props: {
|
|
15417
15435
|
el: { default: "div" },
|
|
@@ -15479,8 +15497,8 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
15479
15497
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
15480
15498
|
class: vue.normalizeClass(props2.class)
|
|
15481
15499
|
}, [
|
|
15482
|
-
vue.createElementVNode("p", _hoisted_1$
|
|
15483
|
-
_ctx.schema ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
15500
|
+
vue.createElementVNode("p", _hoisted_1$L, vue.toDisplayString(_ctx.label), 1),
|
|
15501
|
+
_ctx.schema ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$y, [
|
|
15484
15502
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(data2.value, (_2, i2) => {
|
|
15485
15503
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
15486
15504
|
key: i2,
|
|
@@ -15488,12 +15506,12 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
15488
15506
|
thin: "",
|
|
15489
15507
|
class: "mb-05 itemBox transition ps-05 pb-025 pt-025 radius-05 gap-05 overflow-hidden"
|
|
15490
15508
|
}, [
|
|
15491
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15509
|
+
vue.createVNode(vue.unref(_sfc_main$T), {
|
|
15492
15510
|
modelValue: data2.value[i2],
|
|
15493
15511
|
"onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
|
|
15494
15512
|
schema: _ctx.schema
|
|
15495
15513
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "schema"]),
|
|
15496
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
15514
|
+
vue.createElementVNode("div", _hoisted_3$s, [
|
|
15497
15515
|
props2.delete ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
15498
15516
|
key: 0,
|
|
15499
15517
|
icon: "delete",
|
|
@@ -15528,8 +15546,8 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
15528
15546
|
};
|
|
15529
15547
|
}
|
|
15530
15548
|
});
|
|
15531
|
-
const _hoisted_1$
|
|
15532
|
-
const _sfc_main$
|
|
15549
|
+
const _hoisted_1$K = { class: "primary-checkbox" };
|
|
15550
|
+
const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
15533
15551
|
__name: "Checkbox",
|
|
15534
15552
|
props: {
|
|
15535
15553
|
"modelValue": { type: Boolean, ...{ default: false } },
|
|
@@ -15539,7 +15557,7 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
|
15539
15557
|
setup(__props) {
|
|
15540
15558
|
const val = vue.useModel(__props, "modelValue");
|
|
15541
15559
|
return (_ctx, _cache) => {
|
|
15542
|
-
return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$
|
|
15560
|
+
return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$K, [
|
|
15543
15561
|
vue.renderSlot(_ctx.$slots, "label", {}, void 0, true),
|
|
15544
15562
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
15545
15563
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
|
|
@@ -15551,11 +15569,11 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
|
15551
15569
|
};
|
|
15552
15570
|
}
|
|
15553
15571
|
});
|
|
15554
|
-
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15555
|
-
const _hoisted_1$
|
|
15556
|
-
const _hoisted_2$
|
|
15557
|
-
const _hoisted_3$
|
|
15558
|
-
const _sfc_main$
|
|
15572
|
+
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-73f1d9ad"]]);
|
|
15573
|
+
const _hoisted_1$J = ["title"];
|
|
15574
|
+
const _hoisted_2$x = ["id", "value", "required"];
|
|
15575
|
+
const _hoisted_3$r = ["for"];
|
|
15576
|
+
const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
15559
15577
|
__name: "CheckInput",
|
|
15560
15578
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
15561
15579
|
label: {},
|
|
@@ -15589,32 +15607,32 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
15589
15607
|
required: _ctx.required,
|
|
15590
15608
|
type: "checkbox",
|
|
15591
15609
|
class: "me-05"
|
|
15592
|
-
}, null, 8, _hoisted_2$
|
|
15610
|
+
}, null, 8, _hoisted_2$x), [
|
|
15593
15611
|
[vue.vModelCheckbox, checked.value]
|
|
15594
15612
|
]),
|
|
15595
15613
|
vue.createElementVNode("label", { for: inputId.value }, [
|
|
15596
15614
|
vue.renderSlot(_ctx.$slots, "label", {}, () => [
|
|
15597
15615
|
vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
|
|
15598
15616
|
], true)
|
|
15599
|
-
], 8, _hoisted_3$
|
|
15600
|
-
], 10, _hoisted_1$
|
|
15617
|
+
], 8, _hoisted_3$r)
|
|
15618
|
+
], 10, _hoisted_1$J);
|
|
15601
15619
|
};
|
|
15602
15620
|
}
|
|
15603
15621
|
});
|
|
15604
|
-
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15605
|
-
const _hoisted_1$
|
|
15606
|
-
const _hoisted_2$
|
|
15622
|
+
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-03ed2982"]]);
|
|
15623
|
+
const _hoisted_1$I = { class: "mb-05" };
|
|
15624
|
+
const _hoisted_2$w = {
|
|
15607
15625
|
key: 0,
|
|
15608
15626
|
class: "label txt-start"
|
|
15609
15627
|
};
|
|
15610
|
-
const _hoisted_3$
|
|
15628
|
+
const _hoisted_3$q = {
|
|
15611
15629
|
key: 1,
|
|
15612
15630
|
class: "code-editor-wrap grid rounded p-1 overflow hm-300px ltr txt-start relative h-100p"
|
|
15613
15631
|
};
|
|
15614
|
-
const _hoisted_4$
|
|
15615
|
-
const _hoisted_5$
|
|
15616
|
-
const _hoisted_6$
|
|
15617
|
-
const _sfc_main$
|
|
15632
|
+
const _hoisted_4$i = { class: "overflow-hidden absolute inset-0 p-0 m-0 h-100 codeText" };
|
|
15633
|
+
const _hoisted_5$h = ["innerHTML"];
|
|
15634
|
+
const _hoisted_6$e = ["onKeydown"];
|
|
15635
|
+
const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
15618
15636
|
__name: "Index",
|
|
15619
15637
|
props: {
|
|
15620
15638
|
language: {},
|
|
@@ -15696,19 +15714,19 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
15696
15714
|
}
|
|
15697
15715
|
}, { immediate: true });
|
|
15698
15716
|
return (_ctx, _cache) => {
|
|
15699
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
15700
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
15701
|
-
vue.unref(loaded) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
15717
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [
|
|
15718
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$w, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
15719
|
+
vue.unref(loaded) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$q, [
|
|
15702
15720
|
vue.createElementVNode("div", {
|
|
15703
15721
|
class: "relative block h-100",
|
|
15704
15722
|
style: vue.normalizeStyle({ height: `calc(${vue.unref(elHeight)} - 2rem)` })
|
|
15705
15723
|
}, [
|
|
15706
|
-
vue.createElementVNode("pre", _hoisted_4$
|
|
15724
|
+
vue.createElementVNode("pre", _hoisted_4$i, [
|
|
15707
15725
|
_cache[2] || (_cache[2] = vue.createTextVNode(" ")),
|
|
15708
15726
|
vue.createElementVNode("code", {
|
|
15709
15727
|
class: vue.normalizeClass(["absolute inset-0", className.value]),
|
|
15710
15728
|
innerHTML: highlightedCode.value
|
|
15711
|
-
}, null, 10, _hoisted_5$
|
|
15729
|
+
}, null, 10, _hoisted_5$h),
|
|
15712
15730
|
_cache[3] || (_cache[3] = vue.createTextVNode("\n "))
|
|
15713
15731
|
]),
|
|
15714
15732
|
!_ctx.readonly ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("textarea", {
|
|
@@ -15723,7 +15741,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
15723
15741
|
"data-gramm": "false",
|
|
15724
15742
|
onKeydown: vue.withKeys(vue.withModifiers(handleTab, ["prevent"]), ["tab"]),
|
|
15725
15743
|
onInput: _cache[1] || (_cache[1] = ($event) => emit2("update:modelValue", vue.unref(code)))
|
|
15726
|
-
}, null, 40, _hoisted_6$
|
|
15744
|
+
}, null, 40, _hoisted_6$e)), [
|
|
15727
15745
|
[vue.vModelText, vue.unref(code)]
|
|
15728
15746
|
]) : vue.createCommentVNode("", true)
|
|
15729
15747
|
], 4)
|
|
@@ -15732,10 +15750,10 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
15732
15750
|
};
|
|
15733
15751
|
}
|
|
15734
15752
|
});
|
|
15735
|
-
const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15736
|
-
const _hoisted_1$
|
|
15737
|
-
const _hoisted_2$
|
|
15738
|
-
const _sfc_main$
|
|
15753
|
+
const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-1fbc9b61"]]);
|
|
15754
|
+
const _hoisted_1$H = ["title"];
|
|
15755
|
+
const _hoisted_2$v = ["id", "placeholder", "required"];
|
|
15756
|
+
const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
15739
15757
|
__name: "ColorInput",
|
|
15740
15758
|
props: {
|
|
15741
15759
|
label: {},
|
|
@@ -15772,24 +15790,24 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
15772
15790
|
placeholder: _ctx.placeholder || _ctx.label,
|
|
15773
15791
|
class: { "no-edit": !_ctx.editMode },
|
|
15774
15792
|
required: _ctx.required
|
|
15775
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_2$
|
|
15793
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_2$v), [
|
|
15776
15794
|
[vue.vModelText, inputVal.value]
|
|
15777
15795
|
])
|
|
15778
15796
|
])
|
|
15779
|
-
], 10, _hoisted_1$
|
|
15797
|
+
], 10, _hoisted_1$H);
|
|
15780
15798
|
};
|
|
15781
15799
|
}
|
|
15782
15800
|
});
|
|
15783
|
-
const _hoisted_1$
|
|
15784
|
-
const _hoisted_2$
|
|
15785
|
-
const _hoisted_3$
|
|
15801
|
+
const _hoisted_1$G = ["title"];
|
|
15802
|
+
const _hoisted_2$u = { key: 0 };
|
|
15803
|
+
const _hoisted_3$p = {
|
|
15786
15804
|
key: 0,
|
|
15787
15805
|
class: "required"
|
|
15788
15806
|
};
|
|
15789
|
-
const _hoisted_4$
|
|
15790
|
-
const _hoisted_5$
|
|
15791
|
-
const _hoisted_6$
|
|
15792
|
-
const _hoisted_7$
|
|
15807
|
+
const _hoisted_4$h = { class: "calendar-section m_border-none pe-05 m_p-0" };
|
|
15808
|
+
const _hoisted_5$g = { class: "flex space-between pb-1" };
|
|
15809
|
+
const _hoisted_6$d = { class: "flex gap-05" };
|
|
15810
|
+
const _hoisted_7$b = { class: "month-year" };
|
|
15793
15811
|
const _hoisted_8$6 = {
|
|
15794
15812
|
key: 0,
|
|
15795
15813
|
class: "calendar-grid grid gap-025"
|
|
@@ -15800,18 +15818,18 @@ const _hoisted_10$5 = {
|
|
|
15800
15818
|
class: "month-grid grid gap-05 p-05"
|
|
15801
15819
|
};
|
|
15802
15820
|
const _hoisted_11$5 = ["disabled", "onClick"];
|
|
15803
|
-
const _hoisted_12$
|
|
15821
|
+
const _hoisted_12$4 = {
|
|
15804
15822
|
key: 2,
|
|
15805
15823
|
class: "year-grid grid gap-05 p-0"
|
|
15806
15824
|
};
|
|
15807
|
-
const _hoisted_13$
|
|
15808
|
-
const _hoisted_14$
|
|
15825
|
+
const _hoisted_13$3 = ["disabled", "onClick"];
|
|
15826
|
+
const _hoisted_14$3 = {
|
|
15809
15827
|
key: 0,
|
|
15810
15828
|
class: "time-picker border-start flex column gap-1 w-120px"
|
|
15811
15829
|
};
|
|
15812
|
-
const _hoisted_15$
|
|
15813
|
-
const _hoisted_16$
|
|
15814
|
-
const _sfc_main$
|
|
15830
|
+
const _hoisted_15$3 = { class: "flex gap-025" };
|
|
15831
|
+
const _hoisted_16$3 = { class: "txt-center opacity-6 txt14" };
|
|
15832
|
+
const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
15815
15833
|
__name: "DateInput",
|
|
15816
15834
|
props: {
|
|
15817
15835
|
required: { type: Boolean },
|
|
@@ -16152,11 +16170,11 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
16152
16170
|
onFocusin: _cache[6] || (_cache[6] = //@ts-ignore
|
|
16153
16171
|
(...args) => vue.unref(handleFocus) && vue.unref(handleFocus)(...args))
|
|
16154
16172
|
}, [
|
|
16155
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
16173
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$u, [
|
|
16156
16174
|
vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
|
|
16157
|
-
_ctx.required ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$
|
|
16175
|
+
_ctx.required ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$p, "*")) : vue.createCommentVNode("", true)
|
|
16158
16176
|
])) : vue.createCommentVNode("", true),
|
|
16159
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
16177
|
+
vue.createVNode(vue.unref(_sfc_main$W), {
|
|
16160
16178
|
shown: isOpen.value,
|
|
16161
16179
|
placement: "bottom-start",
|
|
16162
16180
|
autoHide: false,
|
|
@@ -16198,15 +16216,15 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
16198
16216
|
onClick: _cache[5] || (_cache[5] = vue.withModifiers(() => {
|
|
16199
16217
|
}, ["stop"]))
|
|
16200
16218
|
}, [
|
|
16201
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
16202
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
16219
|
+
vue.createElementVNode("div", _hoisted_4$h, [
|
|
16220
|
+
vue.createElementVNode("div", _hoisted_5$g, [
|
|
16203
16221
|
currentView.value === "days" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
16204
16222
|
vue.createVNode(vue.unref(Btn), {
|
|
16205
16223
|
flat: "",
|
|
16206
16224
|
icon: "chevron_left",
|
|
16207
16225
|
onClick: vue.unref(previousMonth)
|
|
16208
16226
|
}, null, 8, ["onClick"]),
|
|
16209
|
-
vue.createElementVNode("div", _hoisted_6$
|
|
16227
|
+
vue.createElementVNode("div", _hoisted_6$d, [
|
|
16210
16228
|
vue.createVNode(vue.unref(Btn), {
|
|
16211
16229
|
flat: "",
|
|
16212
16230
|
class: "month-btn",
|
|
@@ -16239,7 +16257,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
16239
16257
|
icon: "chevron_left",
|
|
16240
16258
|
onClick: vue.unref(previousYear)
|
|
16241
16259
|
}, null, 8, ["onClick"]),
|
|
16242
|
-
vue.createElementVNode("span", _hoisted_7$
|
|
16260
|
+
vue.createElementVNode("span", _hoisted_7$b, vue.toDisplayString(vue.unref(currentMonthValue).formatted.year), 1),
|
|
16243
16261
|
vue.createVNode(vue.unref(Btn), {
|
|
16244
16262
|
flat: "",
|
|
16245
16263
|
icon: "chevron_right",
|
|
@@ -16280,7 +16298,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
16280
16298
|
onClick: ($event) => vue.unref(selectMonth)(month.value)
|
|
16281
16299
|
}, vue.toDisplayString(month.name), 11, _hoisted_11$5);
|
|
16282
16300
|
}), 128))
|
|
16283
|
-
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$
|
|
16301
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$4, [
|
|
16284
16302
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(years), (year) => {
|
|
16285
16303
|
return vue.openBlock(), vue.createElementBlock("button", {
|
|
16286
16304
|
key: year.value,
|
|
@@ -16290,12 +16308,12 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
16290
16308
|
}]),
|
|
16291
16309
|
disabled: year.disabled,
|
|
16292
16310
|
onClick: ($event) => vue.unref(selectYear)(year.value)
|
|
16293
|
-
}, vue.toDisplayString(year.value), 11, _hoisted_13$
|
|
16311
|
+
}, vue.toDisplayString(year.value), 11, _hoisted_13$3);
|
|
16294
16312
|
}), 128))
|
|
16295
16313
|
]))
|
|
16296
16314
|
]),
|
|
16297
|
-
_ctx.enableTime && currentView.value === "days" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14$
|
|
16298
|
-
vue.createElementVNode("div", _hoisted_15$
|
|
16315
|
+
_ctx.enableTime && currentView.value === "days" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14$3, [
|
|
16316
|
+
vue.createElementVNode("div", _hoisted_15$3, [
|
|
16299
16317
|
vue.createVNode(vue.unref(NumberInput), {
|
|
16300
16318
|
center: "",
|
|
16301
16319
|
"model-value": vue.unref(hours),
|
|
@@ -16318,7 +16336,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
16318
16336
|
"onUpdate:modelValue": vue.unref(handleMinuteInput)
|
|
16319
16337
|
}, null, 8, ["model-value", "disabled", "onUpdate:modelValue"])
|
|
16320
16338
|
]),
|
|
16321
|
-
vue.createElementVNode("span", _hoisted_16$
|
|
16339
|
+
vue.createElementVNode("span", _hoisted_16$3, vue.toDisplayString(vue.unref(timezoneDisplay)), 1),
|
|
16322
16340
|
vue.unref(selectedDate) ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
16323
16341
|
key: 0,
|
|
16324
16342
|
flat: "",
|
|
@@ -16334,21 +16352,21 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
16334
16352
|
]),
|
|
16335
16353
|
_: 1
|
|
16336
16354
|
}, 8, ["shown"])
|
|
16337
|
-
], 42, _hoisted_1$
|
|
16355
|
+
], 42, _hoisted_1$G);
|
|
16338
16356
|
};
|
|
16339
16357
|
}
|
|
16340
16358
|
});
|
|
16341
|
-
const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16342
|
-
const _hoisted_1$
|
|
16343
|
-
const _hoisted_2$
|
|
16344
|
-
const _hoisted_3$
|
|
16359
|
+
const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-c35156b6"]]);
|
|
16360
|
+
const _hoisted_1$F = ["title"];
|
|
16361
|
+
const _hoisted_2$t = { key: 0 };
|
|
16362
|
+
const _hoisted_3$o = {
|
|
16345
16363
|
key: 0,
|
|
16346
16364
|
class: "required"
|
|
16347
16365
|
};
|
|
16348
|
-
const _hoisted_4$
|
|
16349
|
-
const _hoisted_5$
|
|
16350
|
-
const _hoisted_6$
|
|
16351
|
-
const _hoisted_7$
|
|
16366
|
+
const _hoisted_4$g = { class: "date-picker-container" };
|
|
16367
|
+
const _hoisted_5$f = ["value", "min", "max", "required", "disabled"];
|
|
16368
|
+
const _hoisted_6$c = { class: "flex gap-075 p-05 m_flex-wrap calendar-container justify-content-center h-100p" };
|
|
16369
|
+
const _hoisted_7$a = { class: "calendar-section m_border-none pe-05 m_p-0" };
|
|
16352
16370
|
const _hoisted_8$5 = { class: "flex space-between pb-1" };
|
|
16353
16371
|
const _hoisted_9$4 = { class: "flex gap-05" };
|
|
16354
16372
|
const _hoisted_10$4 = { class: "month-year" };
|
|
@@ -16356,24 +16374,24 @@ const _hoisted_11$4 = {
|
|
|
16356
16374
|
key: 0,
|
|
16357
16375
|
class: "calendar-grid grid gap-025"
|
|
16358
16376
|
};
|
|
16359
|
-
const _hoisted_12$
|
|
16360
|
-
const _hoisted_13$
|
|
16377
|
+
const _hoisted_12$3 = ["disabled", "onClick"];
|
|
16378
|
+
const _hoisted_13$2 = {
|
|
16361
16379
|
key: 1,
|
|
16362
16380
|
class: "month-grid grid gap-05 p-05"
|
|
16363
16381
|
};
|
|
16364
|
-
const _hoisted_14$
|
|
16365
|
-
const _hoisted_15$
|
|
16382
|
+
const _hoisted_14$2 = ["disabled", "onClick"];
|
|
16383
|
+
const _hoisted_15$2 = {
|
|
16366
16384
|
key: 2,
|
|
16367
16385
|
class: "year-grid grid gap-05 p-0"
|
|
16368
16386
|
};
|
|
16369
|
-
const _hoisted_16$
|
|
16370
|
-
const _hoisted_17$
|
|
16387
|
+
const _hoisted_16$2 = ["disabled", "onClick"];
|
|
16388
|
+
const _hoisted_17$2 = {
|
|
16371
16389
|
key: 0,
|
|
16372
16390
|
class: "time-picker border-start flex column gap-1 w-120px"
|
|
16373
16391
|
};
|
|
16374
|
-
const _hoisted_18
|
|
16375
|
-
const _hoisted_19
|
|
16376
|
-
const _sfc_main$
|
|
16392
|
+
const _hoisted_18 = { class: "flex gap-025" };
|
|
16393
|
+
const _hoisted_19 = { class: "txt-center opacity-6 txt14" };
|
|
16394
|
+
const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
16377
16395
|
__name: "DatePick",
|
|
16378
16396
|
props: {
|
|
16379
16397
|
required: { type: Boolean },
|
|
@@ -16566,18 +16584,18 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
16566
16584
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
16567
16585
|
title: _ctx.label
|
|
16568
16586
|
}, [
|
|
16569
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
16587
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$t, [
|
|
16570
16588
|
vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
|
|
16571
|
-
_ctx.required ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$
|
|
16589
|
+
_ctx.required ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$o, "*")) : vue.createCommentVNode("", true)
|
|
16572
16590
|
])) : vue.createCommentVNode("", true),
|
|
16573
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
16591
|
+
vue.createVNode(vue.unref(_sfc_main$W), {
|
|
16574
16592
|
shown: vue.unref(isOpen),
|
|
16575
16593
|
placement: "bottom-start",
|
|
16576
16594
|
onApplyShow: _cache[4] || (_cache[4] = ($event) => vue.isRef(isOpen) ? isOpen.value = true : isOpen = true),
|
|
16577
16595
|
onApplyHide: _cache[5] || (_cache[5] = ($event) => vue.isRef(isOpen) ? isOpen.value = false : isOpen = false)
|
|
16578
16596
|
}, {
|
|
16579
16597
|
trigger: vue.withCtx(() => [
|
|
16580
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
16598
|
+
vue.createElementVNode("div", _hoisted_4$g, [
|
|
16581
16599
|
vue.createElementVNode("input", {
|
|
16582
16600
|
type: "text",
|
|
16583
16601
|
value: formattedDisplayValue.value,
|
|
@@ -16590,12 +16608,12 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
16590
16608
|
}]),
|
|
16591
16609
|
readonly: "",
|
|
16592
16610
|
onClick: _cache[0] || (_cache[0] = ($event) => vue.isRef(isOpen) ? isOpen.value = true : isOpen = true)
|
|
16593
|
-
}, null, 10, _hoisted_5$
|
|
16611
|
+
}, null, 10, _hoisted_5$f)
|
|
16594
16612
|
])
|
|
16595
16613
|
]),
|
|
16596
16614
|
default: vue.withCtx(() => [
|
|
16597
|
-
vue.createElementVNode("div", _hoisted_6$
|
|
16598
|
-
vue.createElementVNode("div", _hoisted_7$
|
|
16615
|
+
vue.createElementVNode("div", _hoisted_6$c, [
|
|
16616
|
+
vue.createElementVNode("div", _hoisted_7$a, [
|
|
16599
16617
|
vue.createElementVNode("div", _hoisted_8$5, [
|
|
16600
16618
|
vue.unref(currentView) === "days" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
16601
16619
|
vue.createVNode(vue.unref(Btn), {
|
|
@@ -16663,9 +16681,9 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
16663
16681
|
}]),
|
|
16664
16682
|
disabled: isDateDisabled(date2),
|
|
16665
16683
|
onClick: ($event) => selectDate(date2)
|
|
16666
|
-
}, vue.toDisplayString(date2 == null ? void 0 : date2.getDate()), 11, _hoisted_12$
|
|
16684
|
+
}, vue.toDisplayString(date2 == null ? void 0 : date2.getDate()), 11, _hoisted_12$3);
|
|
16667
16685
|
}), 128))
|
|
16668
|
-
])) : vue.unref(currentView) === "months" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13$
|
|
16686
|
+
])) : vue.unref(currentView) === "months" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13$2, [
|
|
16669
16687
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(months.value, (month) => {
|
|
16670
16688
|
return vue.openBlock(), vue.createElementBlock("button", {
|
|
16671
16689
|
key: month.value,
|
|
@@ -16675,9 +16693,9 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
16675
16693
|
}]),
|
|
16676
16694
|
disabled: month.disabled,
|
|
16677
16695
|
onClick: ($event) => selectMonth(month.value)
|
|
16678
|
-
}, vue.toDisplayString(month.name), 11, _hoisted_14$
|
|
16696
|
+
}, vue.toDisplayString(month.name), 11, _hoisted_14$2);
|
|
16679
16697
|
}), 128))
|
|
16680
|
-
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_15$
|
|
16698
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_15$2, [
|
|
16681
16699
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(years.value, (year) => {
|
|
16682
16700
|
return vue.openBlock(), vue.createElementBlock("button", {
|
|
16683
16701
|
key: year.value,
|
|
@@ -16687,12 +16705,12 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
16687
16705
|
}]),
|
|
16688
16706
|
disabled: year.disabled,
|
|
16689
16707
|
onClick: ($event) => selectYear(year.value)
|
|
16690
|
-
}, vue.toDisplayString(year.value), 11, _hoisted_16$
|
|
16708
|
+
}, vue.toDisplayString(year.value), 11, _hoisted_16$2);
|
|
16691
16709
|
}), 128))
|
|
16692
16710
|
]))
|
|
16693
16711
|
]),
|
|
16694
|
-
_ctx.enableTime && vue.unref(currentView) === "days" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_17$
|
|
16695
|
-
vue.createElementVNode("div", _hoisted_18
|
|
16712
|
+
_ctx.enableTime && vue.unref(currentView) === "days" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_17$2, [
|
|
16713
|
+
vue.createElementVNode("div", _hoisted_18, [
|
|
16696
16714
|
vue.createVNode(vue.unref(NumberInput), {
|
|
16697
16715
|
center: "",
|
|
16698
16716
|
"model-value": hours.value,
|
|
@@ -16715,7 +16733,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
16715
16733
|
"onUpdate:modelValue": handleMinuteInput
|
|
16716
16734
|
}, null, 8, ["model-value", "disabled"])
|
|
16717
16735
|
]),
|
|
16718
|
-
vue.createElementVNode("span", _hoisted_19
|
|
16736
|
+
vue.createElementVNode("span", _hoisted_19, vue.toDisplayString(timezoneDisplay.value), 1),
|
|
16719
16737
|
selectedDate.value ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
16720
16738
|
key: 0,
|
|
16721
16739
|
flat: "",
|
|
@@ -16731,19 +16749,19 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
16731
16749
|
]),
|
|
16732
16750
|
_: 1
|
|
16733
16751
|
}, 8, ["shown"])
|
|
16734
|
-
], 10, _hoisted_1$
|
|
16752
|
+
], 10, _hoisted_1$F);
|
|
16735
16753
|
};
|
|
16736
16754
|
}
|
|
16737
16755
|
});
|
|
16738
|
-
const DatePick = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16739
|
-
const _hoisted_1$
|
|
16740
|
-
const _hoisted_2$
|
|
16756
|
+
const DatePick = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-3d6519f4"]]);
|
|
16757
|
+
const _hoisted_1$E = { class: "datetime-wrap" };
|
|
16758
|
+
const _hoisted_2$s = {
|
|
16741
16759
|
key: 0,
|
|
16742
16760
|
class: "time-wrap"
|
|
16743
16761
|
};
|
|
16744
|
-
const _hoisted_3$
|
|
16745
|
-
const _hoisted_4$
|
|
16746
|
-
const _sfc_main$
|
|
16762
|
+
const _hoisted_3$n = ["id", "name", "value"];
|
|
16763
|
+
const _hoisted_4$f = ["for"];
|
|
16764
|
+
const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
16747
16765
|
__name: "DatePicker",
|
|
16748
16766
|
props: {
|
|
16749
16767
|
label: {},
|
|
@@ -16763,8 +16781,8 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
16763
16781
|
return `${hour}:${minute}`;
|
|
16764
16782
|
});
|
|
16765
16783
|
return (_ctx, _cache) => {
|
|
16766
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
16767
|
-
_ctx.showTimeWrap ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
16784
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E, [
|
|
16785
|
+
_ctx.showTimeWrap ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$s, [
|
|
16768
16786
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(hours), (hr) => {
|
|
16769
16787
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: hr }, [
|
|
16770
16788
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
@@ -16773,12 +16791,12 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
16773
16791
|
type: "radio",
|
|
16774
16792
|
name: _ctx.label,
|
|
16775
16793
|
value: hr
|
|
16776
|
-
}, null, 8, _hoisted_3$
|
|
16794
|
+
}, null, 8, _hoisted_3$n), [
|
|
16777
16795
|
[vue.vModelRadio, selectedHour.value]
|
|
16778
16796
|
]),
|
|
16779
16797
|
vue.createElementVNode("label", {
|
|
16780
16798
|
for: `${hr}_${_ctx.id}`
|
|
16781
|
-
}, vue.toDisplayString(hr), 9, _hoisted_4$
|
|
16799
|
+
}, vue.toDisplayString(hr), 9, _hoisted_4$f)
|
|
16782
16800
|
], 64);
|
|
16783
16801
|
}), 128))
|
|
16784
16802
|
])) : vue.createCommentVNode("", true)
|
|
@@ -16786,19 +16804,19 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
16786
16804
|
};
|
|
16787
16805
|
}
|
|
16788
16806
|
});
|
|
16789
|
-
const _hoisted_1$
|
|
16790
|
-
const _hoisted_2$
|
|
16807
|
+
const _hoisted_1$D = { class: "bagel-input" };
|
|
16808
|
+
const _hoisted_2$r = {
|
|
16791
16809
|
key: 0,
|
|
16792
16810
|
placeholder: "required",
|
|
16793
16811
|
type: "text",
|
|
16794
16812
|
required: "",
|
|
16795
16813
|
class: "pixel"
|
|
16796
16814
|
};
|
|
16797
|
-
const _hoisted_3$
|
|
16798
|
-
const _hoisted_4$
|
|
16799
|
-
const _hoisted_5$
|
|
16800
|
-
const _hoisted_6$
|
|
16801
|
-
const _hoisted_7$
|
|
16815
|
+
const _hoisted_3$m = { class: "m-05 flex opacity-7 z-99" };
|
|
16816
|
+
const _hoisted_4$e = { class: "ellipsis-1 word-break-all h-20 m-0 color-black" };
|
|
16817
|
+
const _hoisted_5$e = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
|
|
16818
|
+
const _hoisted_6$b = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
|
|
16819
|
+
const _hoisted_7$9 = {
|
|
16802
16820
|
key: 1,
|
|
16803
16821
|
class: "txt-gray txt-12"
|
|
16804
16822
|
};
|
|
@@ -16812,22 +16830,22 @@ const _hoisted_11$3 = {
|
|
|
16812
16830
|
key: 0,
|
|
16813
16831
|
class: "progress"
|
|
16814
16832
|
};
|
|
16815
|
-
const _hoisted_12$
|
|
16833
|
+
const _hoisted_12$2 = {
|
|
16816
16834
|
key: 1,
|
|
16817
16835
|
class: "bgl-single-preview"
|
|
16818
16836
|
};
|
|
16819
|
-
const _hoisted_13$
|
|
16820
|
-
const _hoisted_14$
|
|
16837
|
+
const _hoisted_13$1 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
|
|
16838
|
+
const _hoisted_14$1 = {
|
|
16821
16839
|
key: 0,
|
|
16822
16840
|
class: "h-100"
|
|
16823
16841
|
};
|
|
16824
|
-
const _hoisted_15$
|
|
16842
|
+
const _hoisted_15$1 = {
|
|
16825
16843
|
key: 0,
|
|
16826
16844
|
class: "progress"
|
|
16827
16845
|
};
|
|
16828
|
-
const _hoisted_16$
|
|
16829
|
-
const _hoisted_17$
|
|
16830
|
-
const _sfc_main$
|
|
16846
|
+
const _hoisted_16$1 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
|
|
16847
|
+
const _hoisted_17$1 = { class: "pretty balance" };
|
|
16848
|
+
const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
16831
16849
|
__name: "FileUpload",
|
|
16832
16850
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
16833
16851
|
label: {},
|
|
@@ -17002,10 +17020,10 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
17002
17020
|
return (_ctx, _cache) => {
|
|
17003
17021
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
17004
17022
|
const _directive_lightbox = vue.resolveDirective("lightbox");
|
|
17005
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17023
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
|
|
17006
17024
|
vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
|
|
17007
|
-
_ctx.required && !storageFiles.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$
|
|
17008
|
-
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main
|
|
17025
|
+
_ctx.required && !storageFiles.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$r)) : vue.createCommentVNode("", true),
|
|
17026
|
+
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$10), {
|
|
17009
17027
|
key: 1,
|
|
17010
17028
|
outline: "",
|
|
17011
17029
|
class: "flex p-05 gap-1",
|
|
@@ -17026,7 +17044,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
17026
17044
|
key: file.id,
|
|
17027
17045
|
class: "txt-gray txt-12 flex"
|
|
17028
17046
|
}, [
|
|
17029
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
17047
|
+
vue.createElementVNode("div", _hoisted_3$m, [
|
|
17030
17048
|
vue.withDirectives(vue.createVNode(vue.unref(Btn), {
|
|
17031
17049
|
color: "gray",
|
|
17032
17050
|
thin: "",
|
|
@@ -17055,17 +17073,17 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
17055
17073
|
}, null, 8, ["href", "download"]), [
|
|
17056
17074
|
[_directive_tooltip, "Download"]
|
|
17057
17075
|
]),
|
|
17058
|
-
vue.withDirectives((vue.openBlock(), vue.createElementBlock("p", _hoisted_4$
|
|
17076
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("p", _hoisted_4$e, [
|
|
17059
17077
|
vue.createTextVNode(vue.toDisplayString(file.name), 1)
|
|
17060
17078
|
])), [
|
|
17061
17079
|
[_directive_lightbox, { src: file.url, download: true }]
|
|
17062
17080
|
]),
|
|
17063
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
17081
|
+
vue.createElementVNode("div", _hoisted_5$e, [
|
|
17064
17082
|
vue.createVNode(vue.unref(Icon), {
|
|
17065
17083
|
icon: "draft",
|
|
17066
17084
|
size: 1.5
|
|
17067
17085
|
}),
|
|
17068
|
-
vue.withDirectives((vue.openBlock(), vue.createElementBlock("p", _hoisted_6$
|
|
17086
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("p", _hoisted_6$b, [
|
|
17069
17087
|
vue.createTextVNode(vue.toDisplayString(file.name), 1)
|
|
17070
17088
|
])), [
|
|
17071
17089
|
[_directive_lightbox, { src: file.url, download: true }]
|
|
@@ -17081,7 +17099,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
17081
17099
|
])
|
|
17082
17100
|
]);
|
|
17083
17101
|
}), 128)),
|
|
17084
|
-
!storageFiles.value.length && !fileQueue.value.length ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$
|
|
17102
|
+
!storageFiles.value.length && !fileQueue.value.length ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$9, vue.toDisplayString(_ctx.noFilePlaceholder || "No file selected"), 1)) : vue.createCommentVNode("", true)
|
|
17085
17103
|
]),
|
|
17086
17104
|
_: 1
|
|
17087
17105
|
})) : (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -17161,13 +17179,13 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
17161
17179
|
]);
|
|
17162
17180
|
}), 128))
|
|
17163
17181
|
])) : vue.createCommentVNode("", true),
|
|
17164
|
-
!_ctx.multiple && (storageFiles.value.length > 0 || fileQueue.value.length > 0) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$
|
|
17182
|
+
!_ctx.multiple && (storageFiles.value.length > 0 || fileQueue.value.length > 0) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$2, [
|
|
17165
17183
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(storageFiles.value, (file) => {
|
|
17166
17184
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
17167
17185
|
key: file.id,
|
|
17168
17186
|
class: vue.normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
|
|
17169
17187
|
}, [
|
|
17170
|
-
vue.createElementVNode("div", _hoisted_13$
|
|
17188
|
+
vue.createElementVNode("div", _hoisted_13$1, [
|
|
17171
17189
|
vue.withDirectives(vue.createVNode(vue.unref(Btn), {
|
|
17172
17190
|
color: "gray",
|
|
17173
17191
|
thin: "",
|
|
@@ -17197,7 +17215,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
17197
17215
|
[_directive_tooltip, "Download"]
|
|
17198
17216
|
])
|
|
17199
17217
|
]),
|
|
17200
|
-
isImage(file.extension || file.url) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14$
|
|
17218
|
+
isImage(file.extension || file.url) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14$1, [
|
|
17201
17219
|
vue.withDirectives(vue.createVNode(vue.unref(Image$1), {
|
|
17202
17220
|
class: "single-preview",
|
|
17203
17221
|
src: file.url,
|
|
@@ -17225,7 +17243,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
17225
17243
|
class: vue.normalizeClass(["pie", { complete: fileQ.progress === 100 }]),
|
|
17226
17244
|
style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
17227
17245
|
}, [
|
|
17228
|
-
fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15$
|
|
17246
|
+
fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15$1, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
|
|
17229
17247
|
vue.createVNode(vue.unref(Icon), {
|
|
17230
17248
|
class: "success",
|
|
17231
17249
|
icon: "check"
|
|
@@ -17249,9 +17267,9 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
17249
17267
|
fileQueue: fileQueue.value,
|
|
17250
17268
|
browse
|
|
17251
17269
|
}, () => [
|
|
17252
|
-
vue.createElementVNode("p", _hoisted_16$
|
|
17270
|
+
vue.createElementVNode("p", _hoisted_16$1, [
|
|
17253
17271
|
vue.createVNode(vue.unref(Icon), { icon: "upload_2" }),
|
|
17254
|
-
vue.createElementVNode("span", _hoisted_17$
|
|
17272
|
+
vue.createElementVNode("span", _hoisted_17$1, vue.toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
|
|
17255
17273
|
])
|
|
17256
17274
|
], true) : vue.createCommentVNode("", true)
|
|
17257
17275
|
], 38))
|
|
@@ -17259,11 +17277,11 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
17259
17277
|
};
|
|
17260
17278
|
}
|
|
17261
17279
|
});
|
|
17262
|
-
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17263
|
-
const _hoisted_1$
|
|
17264
|
-
const _hoisted_2$
|
|
17265
|
-
const _hoisted_3$
|
|
17266
|
-
const _sfc_main$
|
|
17280
|
+
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-50fd0597"]]);
|
|
17281
|
+
const _hoisted_1$C = ["title"];
|
|
17282
|
+
const _hoisted_2$q = { key: 0 };
|
|
17283
|
+
const _hoisted_3$l = ["value", "placeholder"];
|
|
17284
|
+
const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
17267
17285
|
__name: "JSONInput",
|
|
17268
17286
|
props: {
|
|
17269
17287
|
description: { default: "" },
|
|
@@ -17286,7 +17304,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
17286
17304
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
17287
17305
|
title: _ctx.description
|
|
17288
17306
|
}, [
|
|
17289
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
17307
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$q, [
|
|
17290
17308
|
vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
17291
17309
|
])) : vue.createCommentVNode("", true),
|
|
17292
17310
|
vue.createElementVNode("textarea", {
|
|
@@ -17294,24 +17312,24 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
17294
17312
|
class: vue.normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
17295
17313
|
placeholder: _ctx.placeholder,
|
|
17296
17314
|
onInput: handleInput
|
|
17297
|
-
}, null, 42, _hoisted_3$
|
|
17298
|
-
], 10, _hoisted_1$
|
|
17315
|
+
}, null, 42, _hoisted_3$l)
|
|
17316
|
+
], 10, _hoisted_1$C);
|
|
17299
17317
|
};
|
|
17300
17318
|
}
|
|
17301
17319
|
});
|
|
17302
|
-
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17303
|
-
const _hoisted_1$
|
|
17304
|
-
const _hoisted_2$
|
|
17320
|
+
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-1cbaeab2"]]);
|
|
17321
|
+
const _hoisted_1$B = ["for"];
|
|
17322
|
+
const _hoisted_2$p = {
|
|
17305
17323
|
key: 0,
|
|
17306
17324
|
class: "block"
|
|
17307
17325
|
};
|
|
17308
|
-
const _hoisted_3$
|
|
17309
|
-
const _hoisted_4$
|
|
17310
|
-
const _hoisted_5$
|
|
17326
|
+
const _hoisted_3$k = ["id", "placeholder", "disabled", "required", "readonly", "pattern", "onKeydown"];
|
|
17327
|
+
const _hoisted_4$d = { key: 1 };
|
|
17328
|
+
const _hoisted_5$d = {
|
|
17311
17329
|
key: 5,
|
|
17312
17330
|
class: "flex column spinner"
|
|
17313
17331
|
};
|
|
17314
|
-
const _sfc_main$
|
|
17332
|
+
const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
17315
17333
|
__name: "NumberInput",
|
|
17316
17334
|
props: {
|
|
17317
17335
|
modelValue: {},
|
|
@@ -17416,7 +17434,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
17416
17434
|
}])
|
|
17417
17435
|
}, [
|
|
17418
17436
|
vue.createElementVNode("div", { for: _ctx.id }, [
|
|
17419
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
17437
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$p, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
17420
17438
|
vue.createElementVNode("div", {
|
|
17421
17439
|
class: vue.normalizeClass(["gap-025", { "column flex": _ctx.layout === "vertical", "flex": _ctx.layout === "horizontal" }])
|
|
17422
17440
|
}, [
|
|
@@ -17451,7 +17469,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
17451
17469
|
vue.withKeys(vue.withModifiers(increment, ["prevent"]), ["up"]),
|
|
17452
17470
|
vue.withKeys(vue.withModifiers(decrement, ["prevent"]), ["down"])
|
|
17453
17471
|
]
|
|
17454
|
-
}, null, 42, _hoisted_3$
|
|
17472
|
+
}, null, 42, _hoisted_3$k), [
|
|
17455
17473
|
[
|
|
17456
17474
|
vue.vModelText,
|
|
17457
17475
|
vue.unref(formattedValue),
|
|
@@ -17465,7 +17483,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
17465
17483
|
{ number: true }
|
|
17466
17484
|
]
|
|
17467
17485
|
]),
|
|
17468
|
-
_ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$
|
|
17486
|
+
_ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$d, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true),
|
|
17469
17487
|
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(Icon), {
|
|
17470
17488
|
key: 2,
|
|
17471
17489
|
class: "iconStart",
|
|
@@ -17483,7 +17501,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
17483
17501
|
tabindex: "-1",
|
|
17484
17502
|
onClick: decrement
|
|
17485
17503
|
}, null, 8, ["class"])) : vue.createCommentVNode("", true),
|
|
17486
|
-
_ctx.spinner && (!_ctx.layout || !btnLayouts.includes(_ctx.layout)) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$
|
|
17504
|
+
_ctx.spinner && (!_ctx.layout || !btnLayouts.includes(_ctx.layout)) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$d, [
|
|
17487
17505
|
vue.createVNode(vue.unref(Btn), {
|
|
17488
17506
|
icon: "add",
|
|
17489
17507
|
flat: "",
|
|
@@ -17504,14 +17522,14 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
17504
17522
|
}, null, 8, ["disabled"])
|
|
17505
17523
|
])) : vue.createCommentVNode("", true)
|
|
17506
17524
|
], 2)
|
|
17507
|
-
], 8, _hoisted_1$
|
|
17525
|
+
], 8, _hoisted_1$B)
|
|
17508
17526
|
], 2);
|
|
17509
17527
|
};
|
|
17510
17528
|
}
|
|
17511
17529
|
});
|
|
17512
|
-
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17513
|
-
const _hoisted_1$
|
|
17514
|
-
const _sfc_main$
|
|
17530
|
+
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-77950bb7"]]);
|
|
17531
|
+
const _hoisted_1$A = ["value", "autofocus", "onKeydown", "onPaste"];
|
|
17532
|
+
const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
17515
17533
|
__name: "OTP",
|
|
17516
17534
|
props: {
|
|
17517
17535
|
digitCount: {},
|
|
@@ -17608,16 +17626,16 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
17608
17626
|
oninput: "this.value = this.value.slice(0, 1)",
|
|
17609
17627
|
onKeydown: ($event) => handleKeyDown($event, ind),
|
|
17610
17628
|
onPaste: ($event) => handlePaste($event, ind)
|
|
17611
|
-
}, null, 40, _hoisted_1$
|
|
17629
|
+
}, null, 40, _hoisted_1$A);
|
|
17612
17630
|
}), 128))
|
|
17613
17631
|
], 512);
|
|
17614
17632
|
};
|
|
17615
17633
|
}
|
|
17616
17634
|
});
|
|
17617
|
-
const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17618
|
-
const _hoisted_1$
|
|
17619
|
-
const _hoisted_2$
|
|
17620
|
-
const _sfc_main$
|
|
17635
|
+
const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-8e8db33e"]]);
|
|
17636
|
+
const _hoisted_1$z = { class: "relative passwordInput" };
|
|
17637
|
+
const _hoisted_2$o = { class: "m-password position-bottom-end flex column justify-content-center" };
|
|
17638
|
+
const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
17621
17639
|
__name: "PasswordInput",
|
|
17622
17640
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
17623
17641
|
id: {},
|
|
@@ -17658,7 +17676,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
17658
17676
|
);
|
|
17659
17677
|
const inputType = vue.computed(() => showPwd.value ? "text" : "password");
|
|
17660
17678
|
return (_ctx, _cache) => {
|
|
17661
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17679
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
|
|
17662
17680
|
vue.createVNode(vue.unref(TextInput), vue.mergeProps({
|
|
17663
17681
|
modelValue: password.value,
|
|
17664
17682
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
|
|
@@ -17666,7 +17684,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
17666
17684
|
type: inputType.value,
|
|
17667
17685
|
class: "mb-0"
|
|
17668
17686
|
}), null, 16, ["modelValue", "type"]),
|
|
17669
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
17687
|
+
vue.createElementVNode("div", _hoisted_2$o, [
|
|
17670
17688
|
vue.createVNode(vue.unref(Btn), {
|
|
17671
17689
|
flat: "",
|
|
17672
17690
|
thin: "",
|
|
@@ -17679,20 +17697,20 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
17679
17697
|
};
|
|
17680
17698
|
}
|
|
17681
17699
|
});
|
|
17682
|
-
const _hoisted_1$
|
|
17683
|
-
const _hoisted_2$
|
|
17684
|
-
const _hoisted_3$
|
|
17685
|
-
const _hoisted_4$
|
|
17686
|
-
const _hoisted_5$
|
|
17687
|
-
const _hoisted_6$
|
|
17700
|
+
const _hoisted_1$y = ["for"];
|
|
17701
|
+
const _hoisted_2$n = ["id", "disabled", "name", "value", "required"];
|
|
17702
|
+
const _hoisted_3$j = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|
|
17703
|
+
const _hoisted_4$c = ["src", "alt"];
|
|
17704
|
+
const _hoisted_5$c = { class: "" };
|
|
17705
|
+
const _hoisted_6$a = {
|
|
17688
17706
|
key: 0,
|
|
17689
17707
|
class: "m-0 m_txt-14"
|
|
17690
17708
|
};
|
|
17691
|
-
const _hoisted_7$
|
|
17709
|
+
const _hoisted_7$8 = {
|
|
17692
17710
|
key: 1,
|
|
17693
17711
|
class: "txt-gray txt-12 m-0"
|
|
17694
17712
|
};
|
|
17695
|
-
const _sfc_main$
|
|
17713
|
+
const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
17696
17714
|
__name: "RadioGroup",
|
|
17697
17715
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
17698
17716
|
groupName: {},
|
|
@@ -17750,20 +17768,20 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
17750
17768
|
onFocus: handleFocus,
|
|
17751
17769
|
onBlur: handleBlur,
|
|
17752
17770
|
onChange: handleChange
|
|
17753
|
-
}, null, 40, _hoisted_2$
|
|
17771
|
+
}, null, 40, _hoisted_2$n), [
|
|
17754
17772
|
[vue.vModelRadio, selectedOption.value]
|
|
17755
17773
|
]),
|
|
17756
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
17774
|
+
vue.createElementVNode("div", _hoisted_3$j, [
|
|
17757
17775
|
opt.imgSrc ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
17758
17776
|
key: 0,
|
|
17759
17777
|
class: "bg-popup shadow-light py-025 radius-05 m_w40",
|
|
17760
17778
|
width: "60",
|
|
17761
17779
|
src: opt.imgSrc,
|
|
17762
17780
|
alt: opt.imgAlt
|
|
17763
|
-
}, null, 8, _hoisted_4$
|
|
17764
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
17765
|
-
opt.label ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_6$
|
|
17766
|
-
opt.subLabel ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_7$
|
|
17781
|
+
}, null, 8, _hoisted_4$c)) : vue.createCommentVNode("", true),
|
|
17782
|
+
vue.createElementVNode("div", _hoisted_5$c, [
|
|
17783
|
+
opt.label ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_6$a, vue.toDisplayString(opt.label), 1)) : vue.createCommentVNode("", true),
|
|
17784
|
+
opt.subLabel ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_7$8, vue.toDisplayString(opt.subLabel), 1)) : vue.createCommentVNode("", true)
|
|
17767
17785
|
]),
|
|
17768
17786
|
vue.renderSlot(_ctx.$slots, "radioItem", vue.mergeProps({ ref_for: true }, opt), void 0, true)
|
|
17769
17787
|
]),
|
|
@@ -17775,19 +17793,19 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
17775
17793
|
icon: "delete",
|
|
17776
17794
|
onClick: ($event) => _ctx.$emit("delete", opt)
|
|
17777
17795
|
}, null, 8, ["onClick"])) : vue.createCommentVNode("", true)
|
|
17778
|
-
], 8, _hoisted_1$
|
|
17796
|
+
], 8, _hoisted_1$y);
|
|
17779
17797
|
}), 128))
|
|
17780
17798
|
], 2);
|
|
17781
17799
|
};
|
|
17782
17800
|
}
|
|
17783
17801
|
});
|
|
17784
|
-
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17785
|
-
const _hoisted_1$
|
|
17786
|
-
const _hoisted_2$
|
|
17787
|
-
const _hoisted_3$
|
|
17788
|
-
const _hoisted_4$
|
|
17789
|
-
const _hoisted_5$
|
|
17790
|
-
const _sfc_main$
|
|
17802
|
+
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-a692c596"]]);
|
|
17803
|
+
const _hoisted_1$x = { class: "bagel-input" };
|
|
17804
|
+
const _hoisted_2$m = { class: "pb-025" };
|
|
17805
|
+
const _hoisted_3$i = { class: "flex gap-05 flex-wrap" };
|
|
17806
|
+
const _hoisted_4$b = ["id", "name", "value", "checked"];
|
|
17807
|
+
const _hoisted_5$b = ["for"];
|
|
17808
|
+
const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
17791
17809
|
__name: "RadioPillsInput",
|
|
17792
17810
|
props: {
|
|
17793
17811
|
options: {},
|
|
@@ -17828,9 +17846,9 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
17828
17846
|
selectedValue.value = props2.modelValue;
|
|
17829
17847
|
});
|
|
17830
17848
|
return (_ctx, _cache) => {
|
|
17831
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17832
|
-
vue.createElementVNode("label", _hoisted_2$
|
|
17833
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
17849
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
|
|
17850
|
+
vue.createElementVNode("label", _hoisted_2$m, vue.toDisplayString(_ctx.label), 1),
|
|
17851
|
+
vue.createElementVNode("div", _hoisted_3$i, [
|
|
17834
17852
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (option2, index2) => {
|
|
17835
17853
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
17836
17854
|
key: index2,
|
|
@@ -17843,10 +17861,10 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
17843
17861
|
value: getValue(option2),
|
|
17844
17862
|
checked: vue.unref(selectedValue) === getValue(option2),
|
|
17845
17863
|
onChange: handleSelect
|
|
17846
|
-
}, null, 40, _hoisted_4$
|
|
17864
|
+
}, null, 40, _hoisted_4$b),
|
|
17847
17865
|
vue.createElementVNode("label", {
|
|
17848
17866
|
for: `${_ctx.id}-${getValue(option2)}`
|
|
17849
|
-
}, vue.toDisplayString(getLabel(option2)), 9, _hoisted_5$
|
|
17867
|
+
}, vue.toDisplayString(getLabel(option2)), 9, _hoisted_5$b)
|
|
17850
17868
|
]);
|
|
17851
17869
|
}), 128))
|
|
17852
17870
|
])
|
|
@@ -17854,18 +17872,18 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
17854
17872
|
};
|
|
17855
17873
|
}
|
|
17856
17874
|
});
|
|
17857
|
-
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17858
|
-
const _hoisted_1$
|
|
17859
|
-
const _hoisted_2$
|
|
17875
|
+
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-cf892d71"]]);
|
|
17876
|
+
const _hoisted_1$w = ["dir"];
|
|
17877
|
+
const _hoisted_2$l = {
|
|
17860
17878
|
key: 0,
|
|
17861
17879
|
class: "label"
|
|
17862
17880
|
};
|
|
17863
|
-
const _hoisted_3$
|
|
17864
|
-
const _hoisted_4$
|
|
17865
|
-
const _hoisted_5$
|
|
17866
|
-
const _hoisted_6$
|
|
17867
|
-
const _hoisted_7$
|
|
17868
|
-
const _sfc_main$
|
|
17881
|
+
const _hoisted_3$h = { class: "range-slider relative w-100" };
|
|
17882
|
+
const _hoisted_4$a = ["id", "value", "min", "max", "step", "required", "disabled", "aria-label"];
|
|
17883
|
+
const _hoisted_5$a = ["value", "min", "max", "step", "required", "disabled"];
|
|
17884
|
+
const _hoisted_6$9 = { class: "track absolute pointer-events-none overflow-hidden round" };
|
|
17885
|
+
const _hoisted_7$7 = { class: "txt-center txt-14 user-select-none range-slider-txt flex space-between opacity-4 mx-05" };
|
|
17886
|
+
const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
17869
17887
|
__name: "RangeInput",
|
|
17870
17888
|
props: {
|
|
17871
17889
|
modelValue: {},
|
|
@@ -17933,8 +17951,8 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
17933
17951
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
17934
17952
|
dir: vue.unref(rtl) ? "rtl" : "ltr"
|
|
17935
17953
|
}, [
|
|
17936
|
-
vue.unref(label) ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
17937
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
17954
|
+
vue.unref(label) ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$l, vue.toDisplayString(vue.unref(label)), 1)) : vue.createCommentVNode("", true),
|
|
17955
|
+
vue.createElementVNode("div", _hoisted_3$h, [
|
|
17938
17956
|
vue.createElementVNode("input", {
|
|
17939
17957
|
id: vue.unref(id),
|
|
17940
17958
|
value: validFrom.value,
|
|
@@ -17947,7 +17965,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
17947
17965
|
disabled: vue.unref(disabled),
|
|
17948
17966
|
"aria-label": vue.unref(multiRange) ? "Minimum value" : "Value",
|
|
17949
17967
|
onInput: _cache[0] || (_cache[0] = (e) => handleInput(+e.target.value, true))
|
|
17950
|
-
}, null, 40, _hoisted_4$
|
|
17968
|
+
}, null, 40, _hoisted_4$a),
|
|
17951
17969
|
vue.unref(multiRange) ? (vue.openBlock(), vue.createElementBlock("input", {
|
|
17952
17970
|
key: 0,
|
|
17953
17971
|
value: validTo.value,
|
|
@@ -17960,8 +17978,8 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
17960
17978
|
disabled: vue.unref(disabled),
|
|
17961
17979
|
"aria-label": "Maximum value",
|
|
17962
17980
|
onInput: _cache[1] || (_cache[1] = (e) => handleInput(+e.target.value, false))
|
|
17963
|
-
}, null, 40, _hoisted_5$
|
|
17964
|
-
vue.createElementVNode("div", _hoisted_6$
|
|
17981
|
+
}, null, 40, _hoisted_5$a)) : vue.createCommentVNode("", true),
|
|
17982
|
+
vue.createElementVNode("div", _hoisted_6$9, [
|
|
17965
17983
|
vue.createElementVNode("div", {
|
|
17966
17984
|
class: "active-range absolute h-100 pointer-events-none bg-primary",
|
|
17967
17985
|
style: vue.normalizeStyle(rangeStyle.value)
|
|
@@ -18005,7 +18023,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
18005
18023
|
], true)
|
|
18006
18024
|
], 4)) : vue.createCommentVNode("", true)
|
|
18007
18025
|
]),
|
|
18008
|
-
vue.createElementVNode("p", _hoisted_7$
|
|
18026
|
+
vue.createElementVNode("p", _hoisted_7$7, [
|
|
18009
18027
|
vue.renderSlot(_ctx.$slots, "min", {
|
|
18010
18028
|
max: vue.unref(formatValue)(vue.unref(max2)),
|
|
18011
18029
|
min: vue.unref(formatValue)(vue.unref(min2)),
|
|
@@ -18025,11 +18043,11 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
18025
18043
|
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(formatValue)(vue.unref(max2))), 1)
|
|
18026
18044
|
], true)
|
|
18027
18045
|
])
|
|
18028
|
-
], 8, _hoisted_1$
|
|
18046
|
+
], 8, _hoisted_1$w);
|
|
18029
18047
|
};
|
|
18030
18048
|
}
|
|
18031
18049
|
});
|
|
18032
|
-
const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18050
|
+
const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-25d991e5"]]);
|
|
18033
18051
|
const basicToolbarConfig = [
|
|
18034
18052
|
"h2",
|
|
18035
18053
|
"h3",
|
|
@@ -18093,12 +18111,12 @@ const toolbarOptions = [
|
|
|
18093
18111
|
{ name: "separator" },
|
|
18094
18112
|
{ name: "fullScreen", label: "Full Screen", icon: "fullscreen", class: "ms-auto" }
|
|
18095
18113
|
];
|
|
18096
|
-
const _hoisted_1$
|
|
18097
|
-
const _hoisted_2$
|
|
18098
|
-
const _hoisted_3$
|
|
18114
|
+
const _hoisted_1$v = { class: "grid grid-wrap p-05" };
|
|
18115
|
+
const _hoisted_2$k = ["onMousemove", "onClick"];
|
|
18116
|
+
const _hoisted_3$g = { class: "txt-center txt-12 color-gray" };
|
|
18099
18117
|
const fb = 1;
|
|
18100
18118
|
const base = 5;
|
|
18101
|
-
const _sfc_main$
|
|
18119
|
+
const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
18102
18120
|
__name: "gridBox",
|
|
18103
18121
|
emits: ["select"],
|
|
18104
18122
|
setup(__props, { emit: __emit }) {
|
|
@@ -18114,7 +18132,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
18114
18132
|
return hoveredCol.value > base - 1 ? enlarge : base;
|
|
18115
18133
|
});
|
|
18116
18134
|
return (_ctx, _cache) => {
|
|
18117
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
18135
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
|
|
18118
18136
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(rowSize.value, (row) => {
|
|
18119
18137
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
18120
18138
|
key: `row-${row}`,
|
|
@@ -18141,21 +18159,21 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
18141
18159
|
hoveredCol.value = col;
|
|
18142
18160
|
},
|
|
18143
18161
|
onClick: ($event) => emit2("select", `${row}x${col}`)
|
|
18144
|
-
}, null, 42, _hoisted_2$
|
|
18162
|
+
}, null, 42, _hoisted_2$k);
|
|
18145
18163
|
}), 128))
|
|
18146
18164
|
], 32);
|
|
18147
18165
|
}), 128)),
|
|
18148
|
-
vue.createElementVNode("p", _hoisted_3$
|
|
18166
|
+
vue.createElementVNode("p", _hoisted_3$g, vue.toDisplayString(hoveredRow.value) + "x" + vue.toDisplayString(hoveredCol.value), 1)
|
|
18149
18167
|
]);
|
|
18150
18168
|
};
|
|
18151
18169
|
}
|
|
18152
18170
|
});
|
|
18153
|
-
const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18154
|
-
const _hoisted_1$
|
|
18171
|
+
const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-4548b70f"]]);
|
|
18172
|
+
const _hoisted_1$u = {
|
|
18155
18173
|
class: "toolbar flex gap-025 pb-05 flex-wrap",
|
|
18156
18174
|
role: "toolbar"
|
|
18157
18175
|
};
|
|
18158
|
-
const _sfc_main$
|
|
18176
|
+
const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
18159
18177
|
__name: "EditorToolbar",
|
|
18160
18178
|
props: {
|
|
18161
18179
|
config: { default: basicToolbarConfig },
|
|
@@ -18170,10 +18188,10 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
18170
18188
|
}
|
|
18171
18189
|
return (_ctx, _cache) => {
|
|
18172
18190
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
18173
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
18191
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
|
|
18174
18192
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.config.map(configToOption).filter(Boolean), (action, index2) => {
|
|
18175
18193
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
18176
|
-
action.name === "insertTable" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
18194
|
+
action.name === "insertTable" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$W), {
|
|
18177
18195
|
key: 0,
|
|
18178
18196
|
placement: "bottom-start",
|
|
18179
18197
|
thin: "",
|
|
@@ -18213,7 +18231,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
18213
18231
|
};
|
|
18214
18232
|
}
|
|
18215
18233
|
});
|
|
18216
|
-
const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18234
|
+
const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-9d8a6eb6"]]);
|
|
18217
18235
|
function isStyleActive(style, doc) {
|
|
18218
18236
|
const selection = doc.getSelection();
|
|
18219
18237
|
if (!selection || !selection.rangeCount) return false;
|
|
@@ -19485,13 +19503,13 @@ function isNodeEmpty(node) {
|
|
|
19485
19503
|
if (brElements.length === 0) return true;
|
|
19486
19504
|
return brElements.length === 1 && node.childNodes.length <= 2;
|
|
19487
19505
|
}
|
|
19488
|
-
const _hoisted_1$
|
|
19489
|
-
const _hoisted_2$
|
|
19490
|
-
const _hoisted_3$
|
|
19506
|
+
const _hoisted_1$t = { class: "bagel-input" };
|
|
19507
|
+
const _hoisted_2$j = { class: "content-area radius-05" };
|
|
19508
|
+
const _hoisted_3$f = {
|
|
19491
19509
|
key: 1,
|
|
19492
19510
|
class: "flex"
|
|
19493
19511
|
};
|
|
19494
|
-
const _sfc_main$
|
|
19512
|
+
const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
19495
19513
|
__name: "index",
|
|
19496
19514
|
props: {
|
|
19497
19515
|
modelValue: {},
|
|
@@ -19608,7 +19626,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
19608
19626
|
});
|
|
19609
19627
|
return (_ctx, _cache) => {
|
|
19610
19628
|
var _a, _b;
|
|
19611
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
19629
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, [
|
|
19612
19630
|
vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
|
|
19613
19631
|
vue.createElementVNode("div", {
|
|
19614
19632
|
class: vue.normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075", { "fullscreen-mode": vue.unref(editor).state.isFullscreen }])
|
|
@@ -19622,7 +19640,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
19622
19640
|
vue.createElementVNode("div", {
|
|
19623
19641
|
class: vue.normalizeClass(["editor-container", { "split-view": vue.unref(editor).state.isSplitView }])
|
|
19624
19642
|
}, [
|
|
19625
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
19643
|
+
vue.createElementVNode("div", _hoisted_2$j, [
|
|
19626
19644
|
vue.createElementVNode("iframe", {
|
|
19627
19645
|
id: "rich-text-iframe",
|
|
19628
19646
|
ref_key: "iframe",
|
|
@@ -19645,7 +19663,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
19645
19663
|
class: "code-editor"
|
|
19646
19664
|
}, null, 8, ["modelValue"])) : vue.createCommentVNode("", true)
|
|
19647
19665
|
], 2),
|
|
19648
|
-
_ctx.debug ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
19666
|
+
_ctx.debug ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$f, [
|
|
19649
19667
|
_cache[6] || (_cache[6] = vue.createElementVNode("p", { class: "text12 txt-gray mb-0 p-0" }, " Debug ", -1)),
|
|
19650
19668
|
vue.createVNode(vue.unref(Btn), {
|
|
19651
19669
|
thin: "",
|
|
@@ -19689,18 +19707,18 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
19689
19707
|
};
|
|
19690
19708
|
}
|
|
19691
19709
|
});
|
|
19692
|
-
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19693
|
-
const _hoisted_1$
|
|
19694
|
-
const _hoisted_2$
|
|
19695
|
-
const _hoisted_3$
|
|
19696
|
-
const _hoisted_4$
|
|
19710
|
+
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-30bcda4c"]]);
|
|
19711
|
+
const _hoisted_1$s = { class: "flex gap-05" };
|
|
19712
|
+
const _hoisted_2$i = ["disabled"];
|
|
19713
|
+
const _hoisted_3$e = { key: 1 };
|
|
19714
|
+
const _hoisted_4$9 = {
|
|
19697
19715
|
key: 2,
|
|
19698
19716
|
class: "ms-auto ps-05 me-05"
|
|
19699
19717
|
};
|
|
19700
|
-
const _hoisted_5$
|
|
19701
|
-
const _hoisted_6$
|
|
19702
|
-
const _hoisted_7$
|
|
19703
|
-
const _sfc_main$
|
|
19718
|
+
const _hoisted_5$9 = ["value"];
|
|
19719
|
+
const _hoisted_6$8 = ["aria-selected", "onClick", "onKeydown"];
|
|
19720
|
+
const _hoisted_7$6 = { class: "block" };
|
|
19721
|
+
const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
19704
19722
|
__name: "SelectInput",
|
|
19705
19723
|
props: {
|
|
19706
19724
|
options: {},
|
|
@@ -19876,7 +19894,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
19876
19894
|
}
|
|
19877
19895
|
});
|
|
19878
19896
|
return (_ctx, _cache) => {
|
|
19879
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
19897
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$W), {
|
|
19880
19898
|
ref_key: "dropdown",
|
|
19881
19899
|
ref: dropdown,
|
|
19882
19900
|
shown: vue.unref(open),
|
|
@@ -19888,7 +19906,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
19888
19906
|
trigger: vue.withCtx(() => [
|
|
19889
19907
|
vue.createElementVNode("label", null, [
|
|
19890
19908
|
vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
|
|
19891
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
19909
|
+
vue.createElementVNode("div", _hoisted_1$s, [
|
|
19892
19910
|
_ctx.searchable && vue.unref(open) ? (vue.openBlock(), vue.createBlock(vue.unref(TextInput), {
|
|
19893
19911
|
key: 0,
|
|
19894
19912
|
ref_key: "searchInput",
|
|
@@ -19919,8 +19937,8 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
19919
19937
|
key: 0,
|
|
19920
19938
|
icon: _ctx.icon
|
|
19921
19939
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
19922
|
-
!_ctx.hideLabel ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_3$
|
|
19923
|
-
_ctx.clearable && selectedItemCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
19940
|
+
!_ctx.hideLabel ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_3$e, vue.toDisplayString(selectedLabel.value), 1)) : vue.createCommentVNode("", true),
|
|
19941
|
+
_ctx.clearable && selectedItemCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$9, [
|
|
19924
19942
|
vue.createVNode(vue.unref(Btn), {
|
|
19925
19943
|
flat: "",
|
|
19926
19944
|
thin: "",
|
|
@@ -19936,14 +19954,14 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
19936
19954
|
key: 3,
|
|
19937
19955
|
thin: ""
|
|
19938
19956
|
}, { icon: vue.unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : vue.createCommentVNode("", true)
|
|
19939
|
-
], 42, _hoisted_2$
|
|
19957
|
+
], 42, _hoisted_2$i)),
|
|
19940
19958
|
_ctx.required ? (vue.openBlock(), vue.createElementBlock("input", {
|
|
19941
19959
|
key: 2,
|
|
19942
19960
|
tabindex: "-1",
|
|
19943
19961
|
style: { "width": "0", "height": "0", "position": "absolute", "opacity": "0", "z-index": "-1" },
|
|
19944
19962
|
value: vue.unref(selectedItems),
|
|
19945
19963
|
required: ""
|
|
19946
|
-
}, null, 8, _hoisted_5$
|
|
19964
|
+
}, null, 8, _hoisted_5$9)) : vue.createCommentVNode("", true)
|
|
19947
19965
|
])
|
|
19948
19966
|
])
|
|
19949
19967
|
]),
|
|
@@ -19955,7 +19973,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
19955
19973
|
height: "25px",
|
|
19956
19974
|
class: "mx-1 my-1"
|
|
19957
19975
|
})) : vue.createCommentVNode("", true),
|
|
19958
|
-
vue.createVNode(vue.unref(_sfc_main
|
|
19976
|
+
vue.createVNode(vue.unref(_sfc_main$10), {
|
|
19959
19977
|
class: "p-05",
|
|
19960
19978
|
style: vue.normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
|
|
19961
19979
|
}, {
|
|
@@ -19992,8 +20010,8 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
19992
20010
|
size: 1.1
|
|
19993
20011
|
})) : vue.createCommentVNode("", true)
|
|
19994
20012
|
], 64)) : vue.createCommentVNode("", true),
|
|
19995
|
-
vue.createElementVNode("span", _hoisted_7$
|
|
19996
|
-
], 42, _hoisted_6$
|
|
20013
|
+
vue.createElementVNode("span", _hoisted_7$6, vue.toDisplayString(getLabel(option2)), 1)
|
|
20014
|
+
], 42, _hoisted_6$8);
|
|
19997
20015
|
}), 128))
|
|
19998
20016
|
], 2),
|
|
19999
20017
|
vue.renderSlot(_ctx.$slots, "last", {}, void 0, true)
|
|
@@ -20006,7 +20024,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
20006
20024
|
};
|
|
20007
20025
|
}
|
|
20008
20026
|
});
|
|
20009
|
-
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20027
|
+
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-70535216"]]);
|
|
20010
20028
|
/*!
|
|
20011
20029
|
* Signature Pad v5.0.4 | https://github.com/szimek/signature_pad
|
|
20012
20030
|
* (c) 2024 Szymon Nowak | Released under the MIT license
|
|
@@ -20603,15 +20621,15 @@ class SignaturePad extends SignatureEventTarget {
|
|
|
20603
20621
|
return svg.outerHTML;
|
|
20604
20622
|
}
|
|
20605
20623
|
}
|
|
20606
|
-
const _hoisted_1$
|
|
20607
|
-
const _hoisted_2$
|
|
20624
|
+
const _hoisted_1$r = ["disabled"];
|
|
20625
|
+
const _hoisted_2$h = {
|
|
20608
20626
|
key: 1,
|
|
20609
20627
|
placeholder: "required",
|
|
20610
20628
|
type: "text",
|
|
20611
20629
|
required: "",
|
|
20612
20630
|
class: "pixel opacity-0"
|
|
20613
20631
|
};
|
|
20614
|
-
const _sfc_main$
|
|
20632
|
+
const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
20615
20633
|
__name: "SignaturePad",
|
|
20616
20634
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
20617
20635
|
sigOption: {},
|
|
@@ -20807,8 +20825,8 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
20807
20825
|
ref: vCanvas,
|
|
20808
20826
|
class: "canvas",
|
|
20809
20827
|
disabled: _ctx.disabled
|
|
20810
|
-
}, null, 8, _hoisted_1$
|
|
20811
|
-
_ctx.required && vue.unref(_isEmpty) ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$
|
|
20828
|
+
}, null, 8, _hoisted_1$r),
|
|
20829
|
+
_ctx.required && vue.unref(_isEmpty) ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$h)) : vue.createCommentVNode("", true)
|
|
20812
20830
|
], 34);
|
|
20813
20831
|
};
|
|
20814
20832
|
}
|
|
@@ -23292,13 +23310,13 @@ const VueDraggableNext = vue.defineComponent({
|
|
|
23292
23310
|
}
|
|
23293
23311
|
}
|
|
23294
23312
|
});
|
|
23295
|
-
const _hoisted_1$
|
|
23296
|
-
const _hoisted_2$
|
|
23297
|
-
const _hoisted_3$
|
|
23298
|
-
const _hoisted_4$
|
|
23299
|
-
const _hoisted_5$
|
|
23300
|
-
const _hoisted_6$
|
|
23301
|
-
const _sfc_main$
|
|
23313
|
+
const _hoisted_1$q = ["title"];
|
|
23314
|
+
const _hoisted_2$g = { class: "bagel-input" };
|
|
23315
|
+
const _hoisted_3$d = { class: "table-side-scroll" };
|
|
23316
|
+
const _hoisted_4$8 = { class: "table-header" };
|
|
23317
|
+
const _hoisted_5$8 = { class: "table-reorder" };
|
|
23318
|
+
const _hoisted_6$7 = { class: "table-action" };
|
|
23319
|
+
const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
23302
23320
|
__name: "TableField",
|
|
23303
23321
|
props: {
|
|
23304
23322
|
description: { default: "" },
|
|
@@ -23363,11 +23381,11 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
23363
23381
|
class: "table-field-wrap",
|
|
23364
23382
|
title: _ctx.description
|
|
23365
23383
|
}, [
|
|
23366
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
23384
|
+
vue.createElementVNode("div", _hoisted_2$g, [
|
|
23367
23385
|
vue.createElementVNode("label", null, vue.toDisplayString((_a = vue.unref(fieldMeta)) == null ? void 0 : _a.label), 1)
|
|
23368
23386
|
]),
|
|
23369
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
23370
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
23387
|
+
vue.createElementVNode("div", _hoisted_3$d, [
|
|
23388
|
+
vue.createElementVNode("div", _hoisted_4$8, [
|
|
23371
23389
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_b = vue.unref(entityMeta)) == null ? void 0 : _b.fields, (field) => {
|
|
23372
23390
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
23373
23391
|
key: `${field.fieldname}header`,
|
|
@@ -23394,7 +23412,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
23394
23412
|
key: row.id,
|
|
23395
23413
|
class: "flex table-row"
|
|
23396
23414
|
}, [
|
|
23397
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
23415
|
+
vue.createElementVNode("div", _hoisted_5$8, [
|
|
23398
23416
|
vue.createVNode(vue.unref(Icon), { icon: "more_vert" })
|
|
23399
23417
|
]),
|
|
23400
23418
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a2 = vue.unref(entityMeta)) == null ? void 0 : _a2.fields, (field) => {
|
|
@@ -23411,7 +23429,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
23411
23429
|
}, null, 8, ["field-meta", "bagel-app", "model-value", "onUpdate:modelValue"])
|
|
23412
23430
|
], 2);
|
|
23413
23431
|
}), 128)),
|
|
23414
|
-
vue.createElementVNode("div", _hoisted_6$
|
|
23432
|
+
vue.createElementVNode("div", _hoisted_6$7, [
|
|
23415
23433
|
vue.createVNode(vue.unref(Icon), {
|
|
23416
23434
|
icon: "delete",
|
|
23417
23435
|
onClick: ($event) => removeRow(index2)
|
|
@@ -23438,11 +23456,11 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
23438
23456
|
])),
|
|
23439
23457
|
_: 1
|
|
23440
23458
|
})
|
|
23441
|
-
], 8, _hoisted_1$
|
|
23459
|
+
], 8, _hoisted_1$q);
|
|
23442
23460
|
};
|
|
23443
23461
|
}
|
|
23444
23462
|
});
|
|
23445
|
-
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23463
|
+
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-e9632f79"]]);
|
|
23446
23464
|
function bind(fn, thisArg) {
|
|
23447
23465
|
return function wrap() {
|
|
23448
23466
|
return fn.apply(thisArg, arguments);
|
|
@@ -27889,14 +27907,14 @@ function parsePhoneNumber$1() {
|
|
|
27889
27907
|
function parsePhoneNumber() {
|
|
27890
27908
|
return withMetadataArgument(parsePhoneNumber$1, arguments);
|
|
27891
27909
|
}
|
|
27892
|
-
const _hoisted_1$
|
|
27893
|
-
const _hoisted_2$
|
|
27894
|
-
const _hoisted_3$
|
|
27895
|
-
const _hoisted_4$
|
|
27896
|
-
const _hoisted_5$
|
|
27897
|
-
const _hoisted_6$
|
|
27898
|
-
const _hoisted_7$
|
|
27899
|
-
const _sfc_main$
|
|
27910
|
+
const _hoisted_1$p = ["aria-expanded"];
|
|
27911
|
+
const _hoisted_2$f = { class: "flex gap-05" };
|
|
27912
|
+
const _hoisted_3$c = { class: "p-075 tel-countryp-dropdown" };
|
|
27913
|
+
const _hoisted_4$7 = ["aria-selected", "onClick", "onMousemove"];
|
|
27914
|
+
const _hoisted_5$7 = { class: "tel-country" };
|
|
27915
|
+
const _hoisted_6$6 = { key: 1 };
|
|
27916
|
+
const _hoisted_7$5 = ["id", "required", "placeholder", "disabled", "autocomplete", "pattern", "minlength", "maxlength", "name", "readonly", "tabindex", "aria-describedby"];
|
|
27917
|
+
const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
27900
27918
|
__name: "TelInput",
|
|
27901
27919
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
27902
27920
|
label: {},
|
|
@@ -28196,14 +28214,14 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
28196
28214
|
vue.withKeys(reset, ["tab"])
|
|
28197
28215
|
]
|
|
28198
28216
|
}, [
|
|
28199
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
28217
|
+
vue.createVNode(vue.unref(_sfc_main$W), {
|
|
28200
28218
|
shown: open.value,
|
|
28201
28219
|
"onUpdate:shown": _cache[1] || (_cache[1] = ($event) => open.value = $event),
|
|
28202
28220
|
placement: "bottom-start",
|
|
28203
28221
|
disabled: vue.unref(computedDropDownOptions).disabled
|
|
28204
28222
|
}, {
|
|
28205
28223
|
trigger: vue.withCtx(() => [
|
|
28206
|
-
vue.createElementVNode("span", _hoisted_2$
|
|
28224
|
+
vue.createElementVNode("span", _hoisted_2$f, [
|
|
28207
28225
|
vue.createVNode(vue.unref(Icon), {
|
|
28208
28226
|
icon: open.value ? "collapse_all" : "expand_all"
|
|
28209
28227
|
}, null, 8, ["icon"]),
|
|
@@ -28214,7 +28232,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
28214
28232
|
])
|
|
28215
28233
|
]),
|
|
28216
28234
|
default: vue.withCtx(() => [
|
|
28217
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
28235
|
+
vue.createElementVNode("div", _hoisted_3$c, [
|
|
28218
28236
|
_ctx.searchable ? (vue.openBlock(), vue.createBlock(vue.unref(TextInput), {
|
|
28219
28237
|
key: 0,
|
|
28220
28238
|
modelValue: vue.unref(searchQuery),
|
|
@@ -28241,9 +28259,9 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
28241
28259
|
key: 0,
|
|
28242
28260
|
country: pb.iso2
|
|
28243
28261
|
}, null, 8, ["country"])) : vue.createCommentVNode("", true),
|
|
28244
|
-
vue.createElementVNode("p", _hoisted_5$
|
|
28245
|
-
vue.unref(computedDropDownOptions).showDialCodeInList ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$
|
|
28246
|
-
], 40, _hoisted_4$
|
|
28262
|
+
vue.createElementVNode("p", _hoisted_5$7, vue.toDisplayString(pb.name), 1),
|
|
28263
|
+
vue.unref(computedDropDownOptions).showDialCodeInList ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$6, " +" + vue.toDisplayString(pb.dialCode), 1)) : vue.createCommentVNode("", true)
|
|
28264
|
+
], 40, _hoisted_4$7);
|
|
28247
28265
|
}), 128))
|
|
28248
28266
|
], 2)
|
|
28249
28267
|
])
|
|
@@ -28274,22 +28292,22 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
28274
28292
|
vue.withKeys(onSpace, ["space"])
|
|
28275
28293
|
],
|
|
28276
28294
|
onKeydown: handleInput
|
|
28277
|
-
}, null, 44, _hoisted_7$
|
|
28295
|
+
}, null, 44, _hoisted_7$5), [
|
|
28278
28296
|
[vue.vModelText, phone.value]
|
|
28279
28297
|
])
|
|
28280
|
-
], 40, _hoisted_1$
|
|
28298
|
+
], 40, _hoisted_1$p)
|
|
28281
28299
|
])
|
|
28282
28300
|
], 2);
|
|
28283
28301
|
};
|
|
28284
28302
|
}
|
|
28285
28303
|
});
|
|
28286
|
-
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28287
|
-
const _hoisted_1$
|
|
28288
|
-
const _hoisted_2$
|
|
28289
|
-
const _hoisted_3$
|
|
28290
|
-
const _hoisted_4$
|
|
28291
|
-
const _hoisted_5$
|
|
28292
|
-
const _sfc_main$
|
|
28304
|
+
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-a77caf64"]]);
|
|
28305
|
+
const _hoisted_1$o = ["title"];
|
|
28306
|
+
const _hoisted_2$e = ["for"];
|
|
28307
|
+
const _hoisted_3$b = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
|
|
28308
|
+
const _hoisted_4$6 = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
|
|
28309
|
+
const _hoisted_5$6 = { key: 2 };
|
|
28310
|
+
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
28293
28311
|
__name: "TextInput",
|
|
28294
28312
|
props: {
|
|
28295
28313
|
id: {},
|
|
@@ -28392,7 +28410,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
28392
28410
|
onFocus: _cache[2] || (_cache[2] = //@ts-ignore
|
|
28393
28411
|
(...args) => _ctx.onFocus && _ctx.onFocus(...args)),
|
|
28394
28412
|
onInput: updateInputVal
|
|
28395
|
-
}), null, 16, _hoisted_3$
|
|
28413
|
+
}), null, 16, _hoisted_3$b)), [
|
|
28396
28414
|
[
|
|
28397
28415
|
vue.vModelDynamic,
|
|
28398
28416
|
vue.unref(inputVal),
|
|
@@ -28416,10 +28434,10 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
28416
28434
|
onInput: updateInputVal,
|
|
28417
28435
|
onFocusout: _cache[4] || (_cache[4] = //@ts-ignore
|
|
28418
28436
|
(...args) => _ctx.onFocusout && _ctx.onFocusout(...args))
|
|
28419
|
-
}), null, 16, _hoisted_4$
|
|
28437
|
+
}), null, 16, _hoisted_4$6)), [
|
|
28420
28438
|
[vue.vModelText, vue.unref(inputVal)]
|
|
28421
28439
|
]),
|
|
28422
|
-
_ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$
|
|
28440
|
+
_ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$6, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true),
|
|
28423
28441
|
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(Icon), {
|
|
28424
28442
|
key: 3,
|
|
28425
28443
|
class: "iconStart",
|
|
@@ -28429,16 +28447,16 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
28429
28447
|
key: 4,
|
|
28430
28448
|
icon: _ctx.icon
|
|
28431
28449
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true)
|
|
28432
|
-
], 8, _hoisted_2$
|
|
28433
|
-
], 10, _hoisted_1$
|
|
28450
|
+
], 8, _hoisted_2$e)
|
|
28451
|
+
], 10, _hoisted_1$o);
|
|
28434
28452
|
};
|
|
28435
28453
|
}
|
|
28436
28454
|
});
|
|
28437
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28438
|
-
const _hoisted_1$
|
|
28439
|
-
const _hoisted_2$
|
|
28440
|
-
const _hoisted_3$
|
|
28441
|
-
const _sfc_main$
|
|
28455
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-99e3ea36"]]);
|
|
28456
|
+
const _hoisted_1$n = ["title"];
|
|
28457
|
+
const _hoisted_2$d = ["id", "required"];
|
|
28458
|
+
const _hoisted_3$a = ["for"];
|
|
28459
|
+
const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
28442
28460
|
__name: "ToggleInput",
|
|
28443
28461
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
28444
28462
|
label: {},
|
|
@@ -28474,19 +28492,19 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
28474
28492
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checked.value = $event),
|
|
28475
28493
|
type: "checkbox",
|
|
28476
28494
|
required: _ctx.required
|
|
28477
|
-
}, null, 8, _hoisted_2$
|
|
28495
|
+
}, null, 8, _hoisted_2$d), [
|
|
28478
28496
|
[vue.vModelCheckbox, checked.value]
|
|
28479
28497
|
]),
|
|
28480
28498
|
vue.createElementVNode("label", { for: inputId.value }, [
|
|
28481
28499
|
vue.renderSlot(_ctx.$slots, "label", {}, () => [
|
|
28482
28500
|
vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
|
|
28483
28501
|
], true)
|
|
28484
|
-
], 8, _hoisted_3$
|
|
28485
|
-
], 10, _hoisted_1$
|
|
28502
|
+
], 8, _hoisted_3$a)
|
|
28503
|
+
], 10, _hoisted_1$n);
|
|
28486
28504
|
};
|
|
28487
28505
|
}
|
|
28488
28506
|
});
|
|
28489
|
-
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28507
|
+
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-ebe691ee"]]);
|
|
28490
28508
|
const files = {
|
|
28491
28509
|
setBaseUrl: (baseUrl) => {
|
|
28492
28510
|
if (!baseUrl) return;
|
|
@@ -28515,19 +28533,19 @@ const files = {
|
|
|
28515
28533
|
return axios$1.get("/files_v2/list", { params: { dir_path: dirPath } });
|
|
28516
28534
|
}
|
|
28517
28535
|
};
|
|
28518
|
-
const _hoisted_1$
|
|
28519
|
-
const _hoisted_2$
|
|
28520
|
-
const _hoisted_3$
|
|
28536
|
+
const _hoisted_1$m = { class: "bagel-input" };
|
|
28537
|
+
const _hoisted_2$c = { key: 0 };
|
|
28538
|
+
const _hoisted_3$9 = {
|
|
28521
28539
|
key: 1,
|
|
28522
28540
|
placeholder: "required",
|
|
28523
28541
|
type: "text",
|
|
28524
28542
|
required: "",
|
|
28525
28543
|
class: "pixel"
|
|
28526
28544
|
};
|
|
28527
|
-
const _hoisted_4$
|
|
28528
|
-
const _hoisted_5$
|
|
28529
|
-
const _hoisted_6$
|
|
28530
|
-
const _hoisted_7$
|
|
28545
|
+
const _hoisted_4$5 = { class: "m-05 flex opacity-7 z-99" };
|
|
28546
|
+
const _hoisted_5$5 = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
|
|
28547
|
+
const _hoisted_6$5 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
|
|
28548
|
+
const _hoisted_7$4 = {
|
|
28531
28549
|
key: 1,
|
|
28532
28550
|
class: "txt-gray txt-12"
|
|
28533
28551
|
};
|
|
@@ -28541,22 +28559,22 @@ const _hoisted_11$2 = {
|
|
|
28541
28559
|
key: 0,
|
|
28542
28560
|
class: "progress"
|
|
28543
28561
|
};
|
|
28544
|
-
const _hoisted_12$
|
|
28562
|
+
const _hoisted_12$1 = {
|
|
28545
28563
|
key: 1,
|
|
28546
28564
|
class: "bgl-single-preview"
|
|
28547
28565
|
};
|
|
28548
|
-
const _hoisted_13
|
|
28549
|
-
const _hoisted_14
|
|
28566
|
+
const _hoisted_13 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
|
|
28567
|
+
const _hoisted_14 = {
|
|
28550
28568
|
key: 0,
|
|
28551
28569
|
class: "h-100"
|
|
28552
28570
|
};
|
|
28553
|
-
const _hoisted_15
|
|
28571
|
+
const _hoisted_15 = {
|
|
28554
28572
|
key: 0,
|
|
28555
28573
|
class: "progress"
|
|
28556
28574
|
};
|
|
28557
|
-
const _hoisted_16
|
|
28558
|
-
const _hoisted_17
|
|
28559
|
-
const _sfc_main$
|
|
28575
|
+
const _hoisted_16 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
|
|
28576
|
+
const _hoisted_17 = { class: "pretty balance" };
|
|
28577
|
+
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
28560
28578
|
__name: "UploadInput",
|
|
28561
28579
|
props: {
|
|
28562
28580
|
label: {},
|
|
@@ -28665,10 +28683,10 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
28665
28683
|
return (_ctx, _cache) => {
|
|
28666
28684
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
28667
28685
|
const _directive_lightbox = vue.resolveDirective("lightbox");
|
|
28668
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
28669
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
28670
|
-
_ctx.required && !pathKeys.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_3$
|
|
28671
|
-
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main
|
|
28686
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
|
|
28687
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$c, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
28688
|
+
_ctx.required && !pathKeys.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_3$9)) : vue.createCommentVNode("", true),
|
|
28689
|
+
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$10), {
|
|
28672
28690
|
key: 2,
|
|
28673
28691
|
outline: "",
|
|
28674
28692
|
class: "flex p-05 gap-1",
|
|
@@ -28689,7 +28707,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
28689
28707
|
key: path_key,
|
|
28690
28708
|
class: "txt-gray txt-12 flex"
|
|
28691
28709
|
}, [
|
|
28692
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
28710
|
+
vue.createElementVNode("div", _hoisted_4$5, [
|
|
28693
28711
|
vue.withDirectives(vue.createVNode(vue.unref(Btn), {
|
|
28694
28712
|
color: "gray",
|
|
28695
28713
|
thin: "",
|
|
@@ -28713,12 +28731,12 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
28713
28731
|
href: vue.unref(pathKeyToURL)(path_key),
|
|
28714
28732
|
download: path_key.split("/").pop()
|
|
28715
28733
|
}, null, 8, ["href", "download"]),
|
|
28716
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
28734
|
+
vue.createElementVNode("div", _hoisted_5$5, [
|
|
28717
28735
|
vue.createVNode(vue.unref(Icon), {
|
|
28718
28736
|
icon: "draft",
|
|
28719
28737
|
size: 1.5
|
|
28720
28738
|
}),
|
|
28721
|
-
vue.withDirectives((vue.openBlock(), vue.createElementBlock("p", _hoisted_6$
|
|
28739
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("p", _hoisted_6$5, [
|
|
28722
28740
|
vue.createTextVNode(vue.toDisplayString(path_key.split("/").pop()), 1)
|
|
28723
28741
|
])), [
|
|
28724
28742
|
[_directive_lightbox, { src: vue.unref(pathKeyToURL)(path_key), download: true }]
|
|
@@ -28727,7 +28745,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
28727
28745
|
])
|
|
28728
28746
|
]);
|
|
28729
28747
|
}), 128)),
|
|
28730
|
-
!pathKeys.value.length && !fileQueue.value.length ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$
|
|
28748
|
+
!pathKeys.value.length && !fileQueue.value.length ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$4, vue.toDisplayString(_ctx.noFilePlaceholder || "No file selected"), 1)) : vue.createCommentVNode("", true)
|
|
28731
28749
|
]),
|
|
28732
28750
|
_: 1
|
|
28733
28751
|
})) : (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -28802,13 +28820,13 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
28802
28820
|
], 6)
|
|
28803
28821
|
], 2);
|
|
28804
28822
|
}), 128))
|
|
28805
|
-
])) : pathKeys.value.length > 0 || fileQueue.value.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$
|
|
28823
|
+
])) : pathKeys.value.length > 0 || fileQueue.value.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$1, [
|
|
28806
28824
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pathKeys.value, (path_key) => {
|
|
28807
28825
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
28808
28826
|
key: path_key,
|
|
28809
28827
|
class: vue.normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
|
|
28810
28828
|
}, [
|
|
28811
|
-
vue.createElementVNode("div", _hoisted_13
|
|
28829
|
+
vue.createElementVNode("div", _hoisted_13, [
|
|
28812
28830
|
vue.withDirectives(vue.createVNode(vue.unref(Btn), {
|
|
28813
28831
|
color: "gray",
|
|
28814
28832
|
thin: "",
|
|
@@ -28835,7 +28853,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
28835
28853
|
[_directive_tooltip, "Download"]
|
|
28836
28854
|
])
|
|
28837
28855
|
]),
|
|
28838
|
-
isImage(path_key) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14
|
|
28856
|
+
isImage(path_key) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14, [
|
|
28839
28857
|
vue.withDirectives(vue.createVNode(vue.unref(Image$1), {
|
|
28840
28858
|
class: "single-preview",
|
|
28841
28859
|
pathKey: path_key,
|
|
@@ -28863,7 +28881,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
28863
28881
|
class: vue.normalizeClass(["pie", { complete: file.progress === 100 }]),
|
|
28864
28882
|
style: vue.normalizeStyle([{ "--p": file.progress }, { "--b": "2px" }])
|
|
28865
28883
|
}, [
|
|
28866
|
-
file.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15
|
|
28884
|
+
file.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15, vue.toDisplayString(file.progress.toFixed(0)), 1)) : vue.createCommentVNode("", true),
|
|
28867
28885
|
vue.createVNode(vue.unref(Icon), {
|
|
28868
28886
|
class: "success",
|
|
28869
28887
|
icon: "check_circle"
|
|
@@ -28887,9 +28905,9 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
28887
28905
|
fileQueue: fileQueue.value,
|
|
28888
28906
|
browse
|
|
28889
28907
|
}, () => [
|
|
28890
|
-
vue.createElementVNode("p", _hoisted_16
|
|
28908
|
+
vue.createElementVNode("p", _hoisted_16, [
|
|
28891
28909
|
vue.createVNode(vue.unref(Icon), { icon: "upload_2" }),
|
|
28892
|
-
vue.createElementVNode("span", _hoisted_17
|
|
28910
|
+
vue.createElementVNode("span", _hoisted_17, vue.toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
|
|
28893
28911
|
])
|
|
28894
28912
|
], true) : vue.createCommentVNode("", true)
|
|
28895
28913
|
], 38))
|
|
@@ -28897,7 +28915,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
28897
28915
|
};
|
|
28898
28916
|
}
|
|
28899
28917
|
});
|
|
28900
|
-
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28918
|
+
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-d2faef2b"]]);
|
|
28901
28919
|
const FONT_AWESOME_ICONS = [
|
|
28902
28920
|
"trash-can",
|
|
28903
28921
|
"message",
|
|
@@ -33323,7 +33341,7 @@ const MATERIAL_ICONS = [
|
|
|
33323
33341
|
"zoom_out",
|
|
33324
33342
|
"zoom_out_map"
|
|
33325
33343
|
];
|
|
33326
|
-
const _sfc_main$
|
|
33344
|
+
const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
33327
33345
|
__name: "Icon",
|
|
33328
33346
|
props: {
|
|
33329
33347
|
icon: {},
|
|
@@ -33354,9 +33372,9 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
33354
33372
|
};
|
|
33355
33373
|
}
|
|
33356
33374
|
});
|
|
33357
|
-
const Icon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33358
|
-
const _hoisted_1$
|
|
33359
|
-
const _sfc_main$
|
|
33375
|
+
const Icon = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-b28cd148"]]);
|
|
33376
|
+
const _hoisted_1$l = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
|
|
33377
|
+
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
33360
33378
|
__name: "IframeVue",
|
|
33361
33379
|
props: {
|
|
33362
33380
|
src: {},
|
|
@@ -33415,14 +33433,14 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
33415
33433
|
scrolling: _ctx.scrolling,
|
|
33416
33434
|
srcset: _ctx.srcset,
|
|
33417
33435
|
onLoad: _cache[0] || (_cache[0] = ($event) => emit2("load", $event))
|
|
33418
|
-
}, null, 40, _hoisted_1$
|
|
33436
|
+
}, null, 40, _hoisted_1$l);
|
|
33419
33437
|
};
|
|
33420
33438
|
}
|
|
33421
33439
|
});
|
|
33422
|
-
const _hoisted_1$
|
|
33423
|
-
const _hoisted_2$
|
|
33424
|
-
const _hoisted_3$
|
|
33425
|
-
const _sfc_main$
|
|
33440
|
+
const _hoisted_1$k = { key: 0 };
|
|
33441
|
+
const _hoisted_2$b = ["src", "alt", "width", "height"];
|
|
33442
|
+
const _hoisted_3$8 = ["src", "alt", "width", "height"];
|
|
33443
|
+
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
33426
33444
|
__name: "Image",
|
|
33427
33445
|
props: {
|
|
33428
33446
|
src: {},
|
|
@@ -33498,7 +33516,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
33498
33516
|
}
|
|
33499
33517
|
vue.watch(() => [props2.src, props2.pathKey], loadImage, { immediate: true });
|
|
33500
33518
|
return (_ctx, _cache) => {
|
|
33501
|
-
return _ctx.caption ? (vue.openBlock(), vue.createElementBlock("figcaption", _hoisted_1$
|
|
33519
|
+
return _ctx.caption ? (vue.openBlock(), vue.createElementBlock("figcaption", _hoisted_1$k, [
|
|
33502
33520
|
vue.unref(imageSrc) ? (vue.openBlock(), vue.createElementBlock("img", vue.mergeProps({
|
|
33503
33521
|
key: 0,
|
|
33504
33522
|
src: vue.unref(imageSrc)
|
|
@@ -33506,7 +33524,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
33506
33524
|
alt: _ctx.alt,
|
|
33507
33525
|
width: vue.unref(normalizeDimension)(_ctx.width),
|
|
33508
33526
|
height: vue.unref(normalizeDimension)(_ctx.height)
|
|
33509
|
-
}), null, 16, _hoisted_2$
|
|
33527
|
+
}), null, 16, _hoisted_2$b)) : (vue.openBlock(), vue.createBlock(vue.unref(Skeleton), {
|
|
33510
33528
|
key: 1,
|
|
33511
33529
|
class: "img-web-kit",
|
|
33512
33530
|
width: vue.unref(normalizeDimension)(_ctx.width),
|
|
@@ -33519,7 +33537,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
33519
33537
|
alt: _ctx.alt,
|
|
33520
33538
|
width: vue.unref(normalizeDimension)(_ctx.width),
|
|
33521
33539
|
height: vue.unref(normalizeDimension)(_ctx.height)
|
|
33522
|
-
}), null, 16, _hoisted_3$
|
|
33540
|
+
}), null, 16, _hoisted_3$8)) : vue.unref(loadingError) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
33523
33541
|
key: 2,
|
|
33524
33542
|
class: "flex-center error-image",
|
|
33525
33543
|
style: vue.normalizeStyle({
|
|
@@ -33537,16 +33555,16 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
33537
33555
|
};
|
|
33538
33556
|
}
|
|
33539
33557
|
});
|
|
33540
|
-
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33541
|
-
const _hoisted_1$
|
|
33542
|
-
const _sfc_main$
|
|
33558
|
+
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-2f5e271c"]]);
|
|
33559
|
+
const _hoisted_1$j = { class: "m-0 pb-025 txt14 line-height-1 w60 menu-text" };
|
|
33560
|
+
const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
33543
33561
|
__name: "BottomMenu",
|
|
33544
33562
|
props: {
|
|
33545
33563
|
navLinks: {}
|
|
33546
33564
|
},
|
|
33547
33565
|
setup(__props) {
|
|
33548
33566
|
return (_ctx, _cache) => {
|
|
33549
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main
|
|
33567
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$10), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
|
|
33550
33568
|
default: vue.withCtx(() => [
|
|
33551
33569
|
vue.renderSlot(_ctx.$slots, "brand", {}, void 0, true),
|
|
33552
33570
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.navLinks, (nav, i2) => {
|
|
@@ -33562,7 +33580,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
33562
33580
|
size: 1.4,
|
|
33563
33581
|
class: "m-0 line-height-14"
|
|
33564
33582
|
}, null, 8, ["icon"]),
|
|
33565
|
-
vue.createElementVNode("p", _hoisted_1$
|
|
33583
|
+
vue.createElementVNode("p", _hoisted_1$j, vue.toDisplayString(nav.label), 1)
|
|
33566
33584
|
]),
|
|
33567
33585
|
_: 2
|
|
33568
33586
|
}, 1032, ["to", "onClick"]);
|
|
@@ -33574,8 +33592,8 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
33574
33592
|
};
|
|
33575
33593
|
}
|
|
33576
33594
|
});
|
|
33577
|
-
const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33578
|
-
const _sfc_main$
|
|
33595
|
+
const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-fe3a895e"]]);
|
|
33596
|
+
const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
33579
33597
|
__name: "Layout",
|
|
33580
33598
|
props: {
|
|
33581
33599
|
gap: { default: 1 },
|
|
@@ -33616,9 +33634,9 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
33616
33634
|
};
|
|
33617
33635
|
}
|
|
33618
33636
|
});
|
|
33619
|
-
const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33620
|
-
const _hoisted_1$
|
|
33621
|
-
const _sfc_main$
|
|
33637
|
+
const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-1814129a"]]);
|
|
33638
|
+
const _hoisted_1$i = { key: 0 };
|
|
33639
|
+
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
33622
33640
|
__name: "SidebarMenu",
|
|
33623
33641
|
props: {
|
|
33624
33642
|
navLinks: {},
|
|
@@ -33647,7 +33665,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
33647
33665
|
icon: "keyboard_arrow_right",
|
|
33648
33666
|
onClick: vue.unref(toggleMenu)
|
|
33649
33667
|
}, null, 8, ["onClick"]),
|
|
33650
|
-
vue.createVNode(vue.unref(_sfc_main
|
|
33668
|
+
vue.createVNode(vue.unref(_sfc_main$10), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
|
|
33651
33669
|
default: vue.withCtx(() => [
|
|
33652
33670
|
!vue.unref(isOpen) || !vue.unref(slots)["brand-open"] ? vue.renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : vue.createCommentVNode("", true),
|
|
33653
33671
|
vue.unref(isOpen) ? vue.renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : vue.createCommentVNode("", true),
|
|
@@ -33665,7 +33683,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
33665
33683
|
}, null, 8, ["icon"]),
|
|
33666
33684
|
vue.createVNode(vue.Transition, { name: "showP" }, {
|
|
33667
33685
|
default: vue.withCtx(() => [
|
|
33668
|
-
_ctx.open ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$
|
|
33686
|
+
_ctx.open ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$i, vue.toDisplayString(nav.label), 1)) : vue.createCommentVNode("", true)
|
|
33669
33687
|
]),
|
|
33670
33688
|
_: 2
|
|
33671
33689
|
}, 1024)
|
|
@@ -33692,8 +33710,8 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
33692
33710
|
};
|
|
33693
33711
|
}
|
|
33694
33712
|
});
|
|
33695
|
-
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33696
|
-
const _sfc_main$
|
|
33713
|
+
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-951fdacc"]]);
|
|
33714
|
+
const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
33697
33715
|
__name: "Skeleton",
|
|
33698
33716
|
props: {
|
|
33699
33717
|
count: { default: 1 },
|
|
@@ -33724,11 +33742,11 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
33724
33742
|
};
|
|
33725
33743
|
}
|
|
33726
33744
|
});
|
|
33727
|
-
const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33728
|
-
const _hoisted_1$
|
|
33729
|
-
const _hoisted_2$
|
|
33730
|
-
const _hoisted_3$
|
|
33731
|
-
const _sfc_main$
|
|
33745
|
+
const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-8788ed73"]]);
|
|
33746
|
+
const _hoisted_1$h = { class: "bgl_card tabs-top" };
|
|
33747
|
+
const _hoisted_2$a = { class: "tabs grid auto-flow-columns fit-content" };
|
|
33748
|
+
const _hoisted_3$7 = ["onClick"];
|
|
33749
|
+
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
33732
33750
|
__name: "TabbedLayout",
|
|
33733
33751
|
props: {
|
|
33734
33752
|
title: {},
|
|
@@ -33761,9 +33779,9 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
33761
33779
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
33762
33780
|
class: vue.normalizeClass(["h-100 grid list-view gap-1", { "side-tabs": _ctx.sideTabs }])
|
|
33763
33781
|
}, [
|
|
33764
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
33782
|
+
vue.createElementVNode("div", _hoisted_1$h, [
|
|
33765
33783
|
vue.renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
|
|
33766
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
33784
|
+
vue.createElementVNode("div", _hoisted_2$a, [
|
|
33767
33785
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tabs, (tab) => {
|
|
33768
33786
|
var _a;
|
|
33769
33787
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -33772,7 +33790,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
33772
33790
|
active: tab === vue.unref(activeTab) || tab === ((_a = _ctx.router) == null ? void 0 : _a.currentRoute.value.path.split("/").slice(-1)[0])
|
|
33773
33791
|
}, "tab"]),
|
|
33774
33792
|
onClick: ($event) => changeTab(tab)
|
|
33775
|
-
}, vue.toDisplayString(tab), 11, _hoisted_3$
|
|
33793
|
+
}, vue.toDisplayString(tab), 11, _hoisted_3$7);
|
|
33776
33794
|
}), 128))
|
|
33777
33795
|
])
|
|
33778
33796
|
]),
|
|
@@ -33788,7 +33806,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
33788
33806
|
};
|
|
33789
33807
|
}
|
|
33790
33808
|
});
|
|
33791
|
-
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33809
|
+
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-915732c1"]]);
|
|
33792
33810
|
const state = vue.reactive(/* @__PURE__ */ new Map());
|
|
33793
33811
|
function useTabs(group) {
|
|
33794
33812
|
if (!state.has(group)) {
|
|
@@ -33802,8 +33820,8 @@ function useTabs(group) {
|
|
|
33802
33820
|
});
|
|
33803
33821
|
return { currentTab };
|
|
33804
33822
|
}
|
|
33805
|
-
const _hoisted_1$
|
|
33806
|
-
const _sfc_main$
|
|
33823
|
+
const _hoisted_1$g = { key: 0 };
|
|
33824
|
+
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
33807
33825
|
__name: "Tabs",
|
|
33808
33826
|
props: {
|
|
33809
33827
|
tabs: {},
|
|
@@ -33845,14 +33863,14 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
33845
33863
|
group: vue.unref(group),
|
|
33846
33864
|
class: "mb-05"
|
|
33847
33865
|
}, null, 8, ["modelValue", "flat", "tabs", "group"]),
|
|
33848
|
-
vue.unref(currentTab) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
33866
|
+
vue.unref(currentTab) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$g, [
|
|
33849
33867
|
vue.unref(slots)[vue.unref(currentTab)] ? vue.renderSlot(_ctx.$slots, vue.unref(currentTab), { key: 0 }) : vue.unref(currentTab) ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(tabComponent)), { key: 1 })) : vue.createCommentVNode("", true)
|
|
33850
33868
|
])) : vue.createCommentVNode("", true)
|
|
33851
33869
|
], 64);
|
|
33852
33870
|
};
|
|
33853
33871
|
}
|
|
33854
33872
|
});
|
|
33855
|
-
const _sfc_main$
|
|
33873
|
+
const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
33856
33874
|
__name: "TabsBody",
|
|
33857
33875
|
props: {
|
|
33858
33876
|
group: {}
|
|
@@ -33865,8 +33883,8 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
33865
33883
|
};
|
|
33866
33884
|
}
|
|
33867
33885
|
});
|
|
33868
|
-
const _hoisted_1$
|
|
33869
|
-
const _sfc_main$
|
|
33886
|
+
const _hoisted_1$f = ["onClick"];
|
|
33887
|
+
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
33870
33888
|
__name: "TabsNav",
|
|
33871
33889
|
props: {
|
|
33872
33890
|
title: {},
|
|
@@ -33948,17 +33966,17 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
33948
33966
|
icon: tab.icon
|
|
33949
33967
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
33950
33968
|
vue.createTextVNode(" " + vue.toDisplayString(tabLabel(tab)), 1)
|
|
33951
|
-
], 10, _hoisted_1$
|
|
33969
|
+
], 10, _hoisted_1$f);
|
|
33952
33970
|
}), 128))
|
|
33953
33971
|
], true)
|
|
33954
33972
|
], 2);
|
|
33955
33973
|
};
|
|
33956
33974
|
}
|
|
33957
33975
|
});
|
|
33958
|
-
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33959
|
-
const _hoisted_1$
|
|
33960
|
-
const _hoisted_2$
|
|
33961
|
-
const _sfc_main$
|
|
33976
|
+
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-e680c2a4"]]);
|
|
33977
|
+
const _hoisted_1$e = { class: "no-margin ellipsis line-height-14 pb-025" };
|
|
33978
|
+
const _hoisted_2$9 = { class: "txt12 no-margin txt-gray ellipsis" };
|
|
33979
|
+
const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
33962
33980
|
__name: "ListItem",
|
|
33963
33981
|
props: {
|
|
33964
33982
|
src: {},
|
|
@@ -33992,11 +34010,11 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
33992
34010
|
icon: _ctx.icon
|
|
33993
34011
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
33994
34012
|
vue.createElementVNode("div", null, [
|
|
33995
|
-
vue.createElementVNode("p", _hoisted_1$
|
|
34013
|
+
vue.createElementVNode("p", _hoisted_1$e, [
|
|
33996
34014
|
vue.createTextVNode(vue.toDisplayString(_ctx.title) + " ", 1),
|
|
33997
34015
|
vue.renderSlot(_ctx.$slots, "default")
|
|
33998
34016
|
]),
|
|
33999
|
-
vue.createElementVNode("p", _hoisted_2$
|
|
34017
|
+
vue.createElementVNode("p", _hoisted_2$9, [
|
|
34000
34018
|
vue.createTextVNode(vue.toDisplayString(_ctx.subtitle) + " ", 1),
|
|
34001
34019
|
vue.renderSlot(_ctx.$slots, "subtitle")
|
|
34002
34020
|
])
|
|
@@ -34007,23 +34025,23 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
34007
34025
|
};
|
|
34008
34026
|
}
|
|
34009
34027
|
});
|
|
34010
|
-
const _sfc_main$
|
|
34011
|
-
const _hoisted_1$
|
|
34012
|
-
const _hoisted_2$
|
|
34013
|
-
const _hoisted_3$
|
|
34028
|
+
const _sfc_main$g = {};
|
|
34029
|
+
const _hoisted_1$d = { class: "list-wrap bgl_card thin grid overflow-hidden pt-0 pb-05 px-0 m_pb-0" };
|
|
34030
|
+
const _hoisted_2$8 = { class: "p-0" };
|
|
34031
|
+
const _hoisted_3$6 = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
|
|
34014
34032
|
function _sfc_render$3(_ctx, _cache) {
|
|
34015
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
34016
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
34033
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
|
|
34034
|
+
vue.createElementVNode("div", _hoisted_2$8, [
|
|
34017
34035
|
vue.renderSlot(_ctx.$slots, "header")
|
|
34018
34036
|
]),
|
|
34019
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
34037
|
+
vue.createElementVNode("div", _hoisted_3$6, [
|
|
34020
34038
|
vue.renderSlot(_ctx.$slots, "default")
|
|
34021
34039
|
])
|
|
34022
34040
|
]);
|
|
34023
34041
|
}
|
|
34024
|
-
const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
34025
|
-
const _hoisted_1$
|
|
34026
|
-
const _sfc_main$
|
|
34042
|
+
const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$3]]);
|
|
34043
|
+
const _hoisted_1$c = { class: "flex-center" };
|
|
34044
|
+
const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
34027
34045
|
__name: "Loading",
|
|
34028
34046
|
props: {
|
|
34029
34047
|
size: { default: 64 },
|
|
@@ -34045,7 +34063,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
34045
34063
|
return standardSize(borderValue);
|
|
34046
34064
|
});
|
|
34047
34065
|
return (_ctx, _cache) => {
|
|
34048
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
34066
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [
|
|
34049
34067
|
theme.value === "bar" ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
34050
34068
|
key: 0,
|
|
34051
34069
|
class: "lds-bar",
|
|
@@ -34087,11 +34105,11 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
34087
34105
|
};
|
|
34088
34106
|
}
|
|
34089
34107
|
});
|
|
34090
|
-
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
34091
|
-
const _hoisted_1$
|
|
34108
|
+
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-2e27b3c1"]]);
|
|
34109
|
+
const _hoisted_1$b = ["id"];
|
|
34092
34110
|
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>';
|
|
34093
34111
|
const leafletScriptUrl = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js";
|
|
34094
|
-
const _sfc_main$
|
|
34112
|
+
const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
34095
34113
|
__name: "MapEmbed",
|
|
34096
34114
|
props: {
|
|
34097
34115
|
center: { default: () => [31.7683, 35.2137] },
|
|
@@ -34182,23 +34200,23 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
34182
34200
|
class: "leaflet-map",
|
|
34183
34201
|
style: vue.normalizeStyle({ height: `${props2.height || 400}px` }),
|
|
34184
34202
|
dir: "ltr"
|
|
34185
|
-
}, null, 12, _hoisted_1$
|
|
34203
|
+
}, null, 12, _hoisted_1$b);
|
|
34186
34204
|
};
|
|
34187
34205
|
}
|
|
34188
34206
|
});
|
|
34189
|
-
const _hoisted_1$
|
|
34207
|
+
const _hoisted_1$a = {
|
|
34190
34208
|
key: 0,
|
|
34191
34209
|
class: "tool-bar"
|
|
34192
34210
|
};
|
|
34193
|
-
const _hoisted_2$
|
|
34211
|
+
const _hoisted_2$7 = {
|
|
34194
34212
|
key: 1,
|
|
34195
34213
|
class: "sticky bg-popup z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
|
|
34196
34214
|
};
|
|
34197
|
-
const _hoisted_3$
|
|
34215
|
+
const _hoisted_3$5 = {
|
|
34198
34216
|
key: 2,
|
|
34199
34217
|
class: "modal-footer mt-1"
|
|
34200
34218
|
};
|
|
34201
|
-
const _sfc_main$
|
|
34219
|
+
const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
34202
34220
|
__name: "Modal",
|
|
34203
34221
|
props: {
|
|
34204
34222
|
thin: { type: Boolean },
|
|
@@ -34255,7 +34273,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
34255
34273
|
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
34256
34274
|
onKeydown: vue.withKeys(closeModal, ["esc"])
|
|
34257
34275
|
}, [
|
|
34258
|
-
vue.createVNode(vue.unref(_sfc_main
|
|
34276
|
+
vue.createVNode(vue.unref(_sfc_main$10), {
|
|
34259
34277
|
class: "modal",
|
|
34260
34278
|
style: vue.normalizeStyle({ ...maxWidth.value }),
|
|
34261
34279
|
thin: _ctx.thin,
|
|
@@ -34265,7 +34283,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
34265
34283
|
default: vue.withCtx(() => {
|
|
34266
34284
|
var _a;
|
|
34267
34285
|
return [
|
|
34268
|
-
vue.unref(slots).toolbar || _ctx.title ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$
|
|
34286
|
+
vue.unref(slots).toolbar || _ctx.title ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$a, [
|
|
34269
34287
|
vue.renderSlot(_ctx.$slots, "toolbar"),
|
|
34270
34288
|
vue.createVNode(vue.unref(Btn), {
|
|
34271
34289
|
style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -34280,7 +34298,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
34280
34298
|
tag: "h3",
|
|
34281
34299
|
label: _ctx.title
|
|
34282
34300
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true)
|
|
34283
|
-
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
34301
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$7, [
|
|
34284
34302
|
vue.createVNode(vue.unref(Btn), {
|
|
34285
34303
|
class: "position-start",
|
|
34286
34304
|
icon: "close",
|
|
@@ -34290,7 +34308,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
34290
34308
|
})
|
|
34291
34309
|
])),
|
|
34292
34310
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
34293
|
-
vue.unref(slots).footer || ((_a = _ctx.actions) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("footer", _hoisted_3$
|
|
34311
|
+
vue.unref(slots).footer || ((_a = _ctx.actions) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("footer", _hoisted_3$5, [
|
|
34294
34312
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.actions, (action, i2) => {
|
|
34295
34313
|
return vue.openBlock(), vue.createBlock(vue.unref(Btn), vue.mergeProps({
|
|
34296
34314
|
key: i2,
|
|
@@ -34308,8 +34326,8 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
34308
34326
|
};
|
|
34309
34327
|
}
|
|
34310
34328
|
});
|
|
34311
|
-
const _hoisted_1$
|
|
34312
|
-
const _sfc_main$
|
|
34329
|
+
const _hoisted_1$9 = { class: "pb-05 pretty" };
|
|
34330
|
+
const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
34313
34331
|
__name: "ModalConfirm",
|
|
34314
34332
|
props: {
|
|
34315
34333
|
title: {},
|
|
@@ -34335,7 +34353,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
34335
34353
|
const confirmBtnColor = props2.confirmBtnColor || "green";
|
|
34336
34354
|
const cancelBtnColor = props2.cancelBtnColor || "gray";
|
|
34337
34355
|
return (_ctx, _cache) => {
|
|
34338
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
34356
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$d), {
|
|
34339
34357
|
title: vue.unref(title),
|
|
34340
34358
|
width: "380px",
|
|
34341
34359
|
dismissable: false,
|
|
@@ -34354,16 +34372,16 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
34354
34372
|
}, null, 8, ["color", "value"])
|
|
34355
34373
|
]),
|
|
34356
34374
|
default: vue.withCtx(() => [
|
|
34357
|
-
vue.createElementVNode("p", _hoisted_1$
|
|
34375
|
+
vue.createElementVNode("p", _hoisted_1$9, vue.toDisplayString(vue.unref(message)), 1)
|
|
34358
34376
|
]),
|
|
34359
34377
|
_: 1
|
|
34360
34378
|
}, 8, ["title"]);
|
|
34361
34379
|
};
|
|
34362
34380
|
}
|
|
34363
34381
|
});
|
|
34364
|
-
const _hoisted_1$
|
|
34365
|
-
const _hoisted_2$
|
|
34366
|
-
const _sfc_main$
|
|
34382
|
+
const _hoisted_1$8 = { class: "flex gap-0" };
|
|
34383
|
+
const _hoisted_2$6 = { class: "flex gap-05" };
|
|
34384
|
+
const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
34367
34385
|
__name: "ModalForm",
|
|
34368
34386
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
34369
34387
|
schema: {},
|
|
@@ -34427,7 +34445,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
34427
34445
|
}
|
|
34428
34446
|
__expose({ setFormValues });
|
|
34429
34447
|
return (_ctx, _cache) => {
|
|
34430
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
34448
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$d), {
|
|
34431
34449
|
ref_key: "modal",
|
|
34432
34450
|
ref: modal,
|
|
34433
34451
|
side: _ctx.side,
|
|
@@ -34438,7 +34456,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
34438
34456
|
"onUpdate:visible": _cache[3] || (_cache[3] = ($event) => emit2("update:visible", $event))
|
|
34439
34457
|
}, vue.createSlots({
|
|
34440
34458
|
default: vue.withCtx(() => [
|
|
34441
|
-
_ctx.visible ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
34459
|
+
_ctx.visible ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$T), {
|
|
34442
34460
|
key: 0,
|
|
34443
34461
|
ref_key: "form",
|
|
34444
34462
|
ref: form,
|
|
@@ -34456,7 +34474,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
34456
34474
|
_ctx.onDelete || _ctx.onSubmit ? {
|
|
34457
34475
|
name: "footer",
|
|
34458
34476
|
fn: vue.withCtx(() => [
|
|
34459
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
34477
|
+
vue.createElementVNode("div", _hoisted_1$8, [
|
|
34460
34478
|
vue.createVNode(vue.unref(Btn), {
|
|
34461
34479
|
thin: "",
|
|
34462
34480
|
flat: "",
|
|
@@ -34473,7 +34491,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
34473
34491
|
onClick: runDelete
|
|
34474
34492
|
}, null, 8, ["value"])) : vue.createCommentVNode("", true)
|
|
34475
34493
|
]),
|
|
34476
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
34494
|
+
vue.createElementVNode("div", _hoisted_2$6, [
|
|
34477
34495
|
_ctx.onDuplicate ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
34478
34496
|
key: 0,
|
|
34479
34497
|
outline: "",
|
|
@@ -34499,14 +34517,14 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
34499
34517
|
};
|
|
34500
34518
|
}
|
|
34501
34519
|
});
|
|
34502
|
-
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
34503
|
-
const _hoisted_1$
|
|
34504
|
-
const _hoisted_2$
|
|
34505
|
-
const _hoisted_3$
|
|
34506
|
-
const _hoisted_4$
|
|
34507
|
-
const _hoisted_5$
|
|
34508
|
-
const _hoisted_6$
|
|
34509
|
-
const _sfc_main$
|
|
34520
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-1c0f6894"]]);
|
|
34521
|
+
const _hoisted_1$7 = { class: "full-nav" };
|
|
34522
|
+
const _hoisted_2$5 = { class: "nav-scroll" };
|
|
34523
|
+
const _hoisted_3$4 = { class: "nav-links-wrapper" };
|
|
34524
|
+
const _hoisted_4$4 = { class: "tooltip" };
|
|
34525
|
+
const _hoisted_5$4 = { class: "bot-buttons-wrapper" };
|
|
34526
|
+
const _hoisted_6$4 = { class: "tooltip" };
|
|
34527
|
+
const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
34510
34528
|
__name: "NavBar",
|
|
34511
34529
|
props: {
|
|
34512
34530
|
footerLinks: { default: () => [] },
|
|
@@ -34545,9 +34563,9 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
34545
34563
|
class: "top-arrow"
|
|
34546
34564
|
})
|
|
34547
34565
|
], 32),
|
|
34548
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
34549
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
34550
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
34566
|
+
vue.createElementVNode("div", _hoisted_1$7, [
|
|
34567
|
+
vue.createElementVNode("div", _hoisted_2$5, [
|
|
34568
|
+
vue.createElementVNode("div", _hoisted_3$4, [
|
|
34551
34569
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.links, (link) => {
|
|
34552
34570
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(link.to ? "router-link" : "div"), {
|
|
34553
34571
|
key: link.label,
|
|
@@ -34562,14 +34580,14 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
34562
34580
|
vue.createVNode(vue.unref(Icon), {
|
|
34563
34581
|
icon: link.icon
|
|
34564
34582
|
}, null, 8, ["icon"]),
|
|
34565
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
34583
|
+
vue.createElementVNode("div", _hoisted_4$4, vue.toDisplayString(link.label), 1)
|
|
34566
34584
|
]),
|
|
34567
34585
|
_: 2
|
|
34568
34586
|
}, 1032, ["to", "onClick"]);
|
|
34569
34587
|
}), 128))
|
|
34570
34588
|
])
|
|
34571
34589
|
]),
|
|
34572
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
34590
|
+
vue.createElementVNode("div", _hoisted_5$4, [
|
|
34573
34591
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.footerLinks, (link) => {
|
|
34574
34592
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(link.to ? "router-link" : "div"), {
|
|
34575
34593
|
key: link.label,
|
|
@@ -34584,7 +34602,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
34584
34602
|
vue.createVNode(vue.unref(Icon), {
|
|
34585
34603
|
icon: link.icon
|
|
34586
34604
|
}, null, 8, ["icon"]),
|
|
34587
|
-
vue.createElementVNode("div", _hoisted_6$
|
|
34605
|
+
vue.createElementVNode("div", _hoisted_6$4, vue.toDisplayString(link.label), 1)
|
|
34588
34606
|
]),
|
|
34589
34607
|
_: 2
|
|
34590
34608
|
}, 1032, ["to", "onClick"]);
|
|
@@ -34596,10 +34614,10 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
34596
34614
|
};
|
|
34597
34615
|
}
|
|
34598
34616
|
});
|
|
34599
|
-
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
34600
|
-
const _hoisted_1$
|
|
34601
|
-
const _hoisted_2$
|
|
34602
|
-
const _sfc_main$
|
|
34617
|
+
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-f3df1ee7"]]);
|
|
34618
|
+
const _hoisted_1$6 = { class: "page-top" };
|
|
34619
|
+
const _hoisted_2$4 = { class: "top-title m-0" };
|
|
34620
|
+
const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
34603
34621
|
__name: "PageTitle",
|
|
34604
34622
|
props: {
|
|
34605
34623
|
value: {
|
|
@@ -34609,8 +34627,8 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
34609
34627
|
},
|
|
34610
34628
|
setup(__props) {
|
|
34611
34629
|
return (_ctx, _cache) => {
|
|
34612
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
34613
|
-
vue.createElementVNode("h1", _hoisted_2$
|
|
34630
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, [
|
|
34631
|
+
vue.createElementVNode("h1", _hoisted_2$4, [
|
|
34614
34632
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
34615
34633
|
vue.createTextVNode(" " + vue.toDisplayString(__props.value), 1)
|
|
34616
34634
|
])
|
|
@@ -34618,27 +34636,27 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
34618
34636
|
};
|
|
34619
34637
|
}
|
|
34620
34638
|
});
|
|
34621
|
-
const _hoisted_1$
|
|
34622
|
-
const _hoisted_2$
|
|
34623
|
-
const _hoisted_3$
|
|
34639
|
+
const _hoisted_1$5 = ["disabled"];
|
|
34640
|
+
const _hoisted_2$3 = { class: "bgl_pill-flex" };
|
|
34641
|
+
const _hoisted_3$3 = {
|
|
34624
34642
|
key: 0,
|
|
34625
34643
|
class: "loading"
|
|
34626
34644
|
};
|
|
34627
|
-
const _hoisted_4$
|
|
34628
|
-
const _hoisted_5$
|
|
34645
|
+
const _hoisted_4$3 = { key: 1 };
|
|
34646
|
+
const _hoisted_5$3 = {
|
|
34629
34647
|
key: 0,
|
|
34630
34648
|
class: "flex h-100"
|
|
34631
34649
|
};
|
|
34632
|
-
const _hoisted_6$
|
|
34650
|
+
const _hoisted_6$3 = {
|
|
34633
34651
|
key: 5,
|
|
34634
34652
|
class: "loading"
|
|
34635
34653
|
};
|
|
34636
|
-
const _hoisted_7$
|
|
34654
|
+
const _hoisted_7$3 = { key: 6 };
|
|
34637
34655
|
const _hoisted_8$2 = {
|
|
34638
34656
|
key: 0,
|
|
34639
34657
|
class: "flex h-100"
|
|
34640
34658
|
};
|
|
34641
|
-
const _sfc_main$
|
|
34659
|
+
const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
34642
34660
|
__name: "Pill",
|
|
34643
34661
|
props: {
|
|
34644
34662
|
disabled: { type: Boolean },
|
|
@@ -34716,9 +34734,9 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
34716
34734
|
"bgl_pill-border": _ctx.border || _ctx.outline
|
|
34717
34735
|
})
|
|
34718
34736
|
}, [
|
|
34719
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
34720
|
-
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
34721
|
-
_ctx.btn ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$
|
|
34737
|
+
vue.createElementVNode("div", _hoisted_2$3, [
|
|
34738
|
+
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$3)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$3, [
|
|
34739
|
+
_ctx.btn ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$3, [
|
|
34722
34740
|
vue.createVNode(vue.unref(Btn), vue.mergeProps({
|
|
34723
34741
|
class: "bgl_pill-btn",
|
|
34724
34742
|
round: "",
|
|
@@ -34738,7 +34756,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
34738
34756
|
key: 4,
|
|
34739
34757
|
icon: _ctx.iconEnd
|
|
34740
34758
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
34741
|
-
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$
|
|
34759
|
+
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$3)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$3, [
|
|
34742
34760
|
_ctx.btnEnd ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$2, [
|
|
34743
34761
|
vue.createVNode(vue.unref(Btn), vue.mergeProps({
|
|
34744
34762
|
class: "bgl_pill-btn",
|
|
@@ -34748,12 +34766,12 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
34748
34766
|
])) : vue.createCommentVNode("", true)
|
|
34749
34767
|
]))
|
|
34750
34768
|
])
|
|
34751
|
-
], 10, _hoisted_1$
|
|
34769
|
+
], 10, _hoisted_1$5);
|
|
34752
34770
|
};
|
|
34753
34771
|
}
|
|
34754
34772
|
});
|
|
34755
|
-
const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
34756
|
-
const _sfc_main$
|
|
34773
|
+
const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-764b6b8b"]]);
|
|
34774
|
+
const _sfc_main$7 = {};
|
|
34757
34775
|
function _sfc_render$2(_ctx, _cache) {
|
|
34758
34776
|
const _component_router_view = vue.resolveComponent("router-view");
|
|
34759
34777
|
return vue.openBlock(), vue.createBlock(_component_router_view, null, {
|
|
@@ -34775,52 +34793,197 @@ function _sfc_render$2(_ctx, _cache) {
|
|
|
34775
34793
|
_: 1
|
|
34776
34794
|
});
|
|
34777
34795
|
}
|
|
34778
|
-
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
34779
|
-
const _hoisted_1$
|
|
34780
|
-
const _hoisted_2$1 = {
|
|
34796
|
+
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$2]]);
|
|
34797
|
+
const _hoisted_1$4 = {
|
|
34781
34798
|
key: 0,
|
|
34782
|
-
class: "
|
|
34783
|
-
};
|
|
34784
|
-
const _hoisted_3$1 = { class: "flex gap-075" };
|
|
34785
|
-
const _hoisted_4$1 = { class: "flex w-100p relative" };
|
|
34786
|
-
const _hoisted_5$1 = {
|
|
34787
|
-
key: 0,
|
|
34788
|
-
class: "fixed-columns sticky z-2 start-0 bg-white"
|
|
34799
|
+
class: "row-number-header bg-white"
|
|
34789
34800
|
};
|
|
34790
|
-
const
|
|
34791
|
-
const
|
|
34792
|
-
const
|
|
34793
|
-
const
|
|
34794
|
-
const
|
|
34795
|
-
const
|
|
34801
|
+
const _hoisted_2$2 = { class: "th-content" };
|
|
34802
|
+
const _hoisted_3$2 = ["onClick"];
|
|
34803
|
+
const _hoisted_4$2 = ["onMousedown"];
|
|
34804
|
+
const _hoisted_5$2 = ["onClick"];
|
|
34805
|
+
const _hoisted_6$2 = ["tabindex", "onMousedown", "onMouseover", "onFocusin", "onDblclick", "onKeydown"];
|
|
34806
|
+
const _hoisted_7$2 = ["value", "onInput"];
|
|
34807
|
+
const _hoisted_8$1 = { class: "spreadsheet-cell spreadsheetCellPlaceHolder" };
|
|
34808
|
+
const _hoisted_9$1 = {
|
|
34796
34809
|
key: 0,
|
|
34797
34810
|
class: "h40px w-100p flex align-items-center justify-content-center overflow-hidden"
|
|
34798
34811
|
};
|
|
34799
|
-
const
|
|
34800
|
-
const
|
|
34812
|
+
const _hoisted_10$1 = ["src", "alt"];
|
|
34813
|
+
const _hoisted_11$1 = {
|
|
34801
34814
|
key: 2,
|
|
34802
34815
|
class: "spreadsheet-cell"
|
|
34803
34816
|
};
|
|
34804
|
-
const
|
|
34805
|
-
|
|
34806
|
-
|
|
34807
|
-
|
|
34808
|
-
|
|
34809
|
-
}
|
|
34810
|
-
|
|
34811
|
-
|
|
34812
|
-
|
|
34813
|
-
|
|
34814
|
-
|
|
34815
|
-
|
|
34817
|
+
const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
34818
|
+
__name: "SpreadsheetTable",
|
|
34819
|
+
props: {
|
|
34820
|
+
columns: {},
|
|
34821
|
+
rows: {},
|
|
34822
|
+
isFixed: { type: Boolean },
|
|
34823
|
+
showRowNumbers: { type: Boolean },
|
|
34824
|
+
columnWidths: {},
|
|
34825
|
+
sortColumn: {},
|
|
34826
|
+
sortDirection: {},
|
|
34827
|
+
selectionStart: {},
|
|
34828
|
+
selectionEnd: {},
|
|
34829
|
+
editingCell: {},
|
|
34830
|
+
baseColumnIndex: {}
|
|
34831
|
+
},
|
|
34832
|
+
emits: ["sortColumn", "resizeStart", "selectRow", "cellMouseDown", "cellMouseOver", "cellEditStart", "cellKeyDown", "updateCell", "stopEditing", "setInputRef"],
|
|
34833
|
+
setup(__props) {
|
|
34834
|
+
const props2 = __props;
|
|
34835
|
+
const getActualColumnIndex = (localIndex) => props2.baseColumnIndex + localIndex;
|
|
34836
|
+
function isCellSelected(row, localColIndex) {
|
|
34837
|
+
if (!props2.selectionStart || !props2.selectionEnd) return false;
|
|
34838
|
+
const colIndex = getActualColumnIndex(localColIndex);
|
|
34839
|
+
const startRow = Math.min(props2.selectionStart.row, props2.selectionEnd.row);
|
|
34840
|
+
const endRow = Math.max(props2.selectionStart.row, props2.selectionEnd.row);
|
|
34841
|
+
const startCol = Math.min(props2.selectionStart.col, props2.selectionEnd.col);
|
|
34842
|
+
const endCol = Math.max(props2.selectionStart.col, props2.selectionEnd.col);
|
|
34843
|
+
return row >= startRow && row <= endRow && colIndex >= startCol && colIndex <= endCol;
|
|
34844
|
+
}
|
|
34845
|
+
function isCellEditable(columnKey) {
|
|
34846
|
+
const column = props2.columns.find((col) => col.key === columnKey);
|
|
34847
|
+
return !((column == null ? void 0 : column.locked) ?? false);
|
|
34848
|
+
}
|
|
34849
|
+
function isEditing(row, localColIndex) {
|
|
34850
|
+
if (!props2.editingCell) return false;
|
|
34851
|
+
const colIndex = getActualColumnIndex(localColIndex);
|
|
34852
|
+
return props2.editingCell.row === row && props2.editingCell.col === colIndex;
|
|
34853
|
+
}
|
|
34854
|
+
function formatCellValue(value, format2) {
|
|
34855
|
+
if (value === null || value === void 0) return "";
|
|
34856
|
+
switch (format2) {
|
|
34857
|
+
case "image":
|
|
34858
|
+
return String(value);
|
|
34859
|
+
// Return raw value for images
|
|
34860
|
+
case "boolean":
|
|
34861
|
+
return "";
|
|
34862
|
+
// Return empty string since we're using CheckInput component
|
|
34863
|
+
case "number":
|
|
34864
|
+
return Number(value).toLocaleString();
|
|
34865
|
+
case "currency":
|
|
34866
|
+
return Number(value).toLocaleString(void 0, {
|
|
34867
|
+
style: "currency",
|
|
34868
|
+
currency: "USD"
|
|
34869
|
+
});
|
|
34870
|
+
case "date":
|
|
34871
|
+
return value ? new Date(value).toLocaleDateString() : "";
|
|
34872
|
+
case "percentage":
|
|
34873
|
+
return Number(value).toLocaleString(void 0, {
|
|
34874
|
+
style: "percent",
|
|
34875
|
+
minimumFractionDigits: 2
|
|
34876
|
+
});
|
|
34877
|
+
default:
|
|
34878
|
+
return String(value);
|
|
34879
|
+
}
|
|
34880
|
+
}
|
|
34881
|
+
return (_ctx, _cache) => {
|
|
34882
|
+
return vue.openBlock(), vue.createElementBlock("table", {
|
|
34883
|
+
class: vue.normalizeClass({ "fixed-columns": _ctx.isFixed, "w-100p": !_ctx.isFixed })
|
|
34884
|
+
}, [
|
|
34885
|
+
vue.createElementVNode("thead", null, [
|
|
34886
|
+
vue.createElementVNode("tr", null, [
|
|
34887
|
+
_ctx.showRowNumbers ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_1$4)) : vue.createCommentVNode("", true),
|
|
34888
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.columns, (col) => {
|
|
34889
|
+
return vue.openBlock(), vue.createElementBlock("th", {
|
|
34890
|
+
key: col.key,
|
|
34891
|
+
style: vue.normalizeStyle({ width: _ctx.columnWidths.get(col.key) ? `${_ctx.columnWidths.get(col.key)}px` : col.width })
|
|
34892
|
+
}, [
|
|
34893
|
+
vue.createElementVNode("div", _hoisted_2$2, [
|
|
34894
|
+
vue.createElementVNode("span", {
|
|
34895
|
+
onClick: ($event) => col.sortable && _ctx.$emit("sortColumn", col.key)
|
|
34896
|
+
}, vue.toDisplayString(col.label || col.key), 9, _hoisted_3$2),
|
|
34897
|
+
_ctx.sortColumn === col.key ? (vue.openBlock(), vue.createBlock(vue.unref(Icon), {
|
|
34898
|
+
key: 0,
|
|
34899
|
+
class: vue.normalizeClass(["line-height-0 transition-400", { "rotate-180": _ctx.sortDirection === "desc" }]),
|
|
34900
|
+
name: "keyboard_arrow_down"
|
|
34901
|
+
}, null, 8, ["class"])) : vue.createCommentVNode("", true),
|
|
34902
|
+
vue.createElementVNode("div", {
|
|
34903
|
+
class: "resize-handle",
|
|
34904
|
+
onMousedown: vue.withModifiers(($event) => _ctx.$emit("resizeStart", $event, col.key), ["stop"])
|
|
34905
|
+
}, null, 40, _hoisted_4$2)
|
|
34906
|
+
])
|
|
34907
|
+
], 4);
|
|
34908
|
+
}), 128))
|
|
34909
|
+
])
|
|
34910
|
+
]),
|
|
34911
|
+
vue.createElementVNode("tbody", null, [
|
|
34912
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.rows, (row, rowIndex) => {
|
|
34913
|
+
return vue.openBlock(), vue.createElementBlock("tr", { key: rowIndex }, [
|
|
34914
|
+
_ctx.showRowNumbers ? (vue.openBlock(), vue.createElementBlock("td", {
|
|
34915
|
+
key: 0,
|
|
34916
|
+
class: "row-number txt-center hover user-select-none pointer txt12 regular",
|
|
34917
|
+
onClick: ($event) => _ctx.$emit("selectRow", rowIndex)
|
|
34918
|
+
}, vue.toDisplayString(rowIndex + 1), 9, _hoisted_5$2)) : vue.createCommentVNode("", true),
|
|
34919
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.columns, (col, colIndex) => {
|
|
34920
|
+
return vue.openBlock(), vue.createElementBlock("td", {
|
|
34921
|
+
key: col.key,
|
|
34922
|
+
class: vue.normalizeClass({
|
|
34923
|
+
selected: isCellSelected(rowIndex, colIndex),
|
|
34924
|
+
locked: !isCellEditable(col.key)
|
|
34925
|
+
}),
|
|
34926
|
+
style: vue.normalizeStyle({ width: _ctx.columnWidths.get(col.key) ? `${_ctx.columnWidths.get(col.key)}px` : col.width }),
|
|
34927
|
+
tabindex: col.hidden ? void 0 : 0,
|
|
34928
|
+
onMousedown: ($event) => _ctx.$emit("cellMouseDown", rowIndex, getActualColumnIndex(colIndex)),
|
|
34929
|
+
onMouseover: ($event) => _ctx.$emit("cellMouseOver", rowIndex, getActualColumnIndex(colIndex)),
|
|
34930
|
+
onFocusin: ($event) => _ctx.$emit("cellMouseOver", rowIndex, getActualColumnIndex(colIndex)),
|
|
34931
|
+
onDblclick: ($event) => _ctx.$emit("cellEditStart", rowIndex, getActualColumnIndex(colIndex)),
|
|
34932
|
+
onKeydown: ($event) => _ctx.$emit("cellKeyDown", $event, rowIndex, getActualColumnIndex(colIndex))
|
|
34933
|
+
}, [
|
|
34934
|
+
isEditing(rowIndex, colIndex) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
34935
|
+
vue.createElementVNode("input", {
|
|
34936
|
+
ref_for: true,
|
|
34937
|
+
ref: (el) => _ctx.$emit("setInputRef", el, `cell-${rowIndex}-${getActualColumnIndex(colIndex)}`),
|
|
34938
|
+
value: row[col.key],
|
|
34939
|
+
type: "text",
|
|
34940
|
+
class: "spreadsheet-input",
|
|
34941
|
+
onInput: (e) => _ctx.$emit("updateCell", rowIndex, col.key, e.target.value),
|
|
34942
|
+
onBlur: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("stopEditing", false)),
|
|
34943
|
+
onKeydown: [
|
|
34944
|
+
_cache[1] || (_cache[1] = vue.withKeys(vue.withModifiers(($event) => _ctx.$emit("stopEditing", false), ["prevent"]), ["enter"])),
|
|
34945
|
+
_cache[2] || (_cache[2] = vue.withKeys(vue.withModifiers(($event) => _ctx.$emit("stopEditing", true), ["prevent"]), ["esc"]))
|
|
34946
|
+
],
|
|
34947
|
+
onMousedown: _cache[3] || (_cache[3] = vue.withModifiers(() => {
|
|
34948
|
+
}, ["stop"]))
|
|
34949
|
+
}, null, 40, _hoisted_7$2),
|
|
34950
|
+
vue.createElementVNode("span", _hoisted_8$1, vue.toDisplayString(formatCellValue(row[col.key], col.format)), 1)
|
|
34951
|
+
], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
34952
|
+
col.format === "image" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$1, [
|
|
34953
|
+
vue.createElementVNode("img", {
|
|
34954
|
+
class: "w-100p h-100p contain radius-05",
|
|
34955
|
+
src: row[col.key],
|
|
34956
|
+
alt: col.label || col.key
|
|
34957
|
+
}, null, 8, _hoisted_10$1)
|
|
34958
|
+
])) : col.format === "boolean" ? (vue.openBlock(), vue.createBlock(vue.unref(CheckInput), {
|
|
34959
|
+
key: 1,
|
|
34960
|
+
modelValue: !!row[col.key],
|
|
34961
|
+
disabled: !isCellEditable(col.key),
|
|
34962
|
+
"onUpdate:modelValue": (value) => _ctx.$emit("updateCell", rowIndex, col.key, !!value),
|
|
34963
|
+
onMousedown: _cache[4] || (_cache[4] = vue.withModifiers(() => {
|
|
34964
|
+
}, ["stop"]))
|
|
34965
|
+
}, null, 8, ["modelValue", "disabled", "onUpdate:modelValue"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_11$1, vue.toDisplayString(formatCellValue(row[col.key], col.format)), 1))
|
|
34966
|
+
], 64))
|
|
34967
|
+
], 46, _hoisted_6$2);
|
|
34968
|
+
}), 128))
|
|
34969
|
+
]);
|
|
34970
|
+
}), 128))
|
|
34971
|
+
])
|
|
34972
|
+
], 2);
|
|
34973
|
+
};
|
|
34974
|
+
}
|
|
34975
|
+
});
|
|
34976
|
+
const SpreadsheetTable = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-5386c509"]]);
|
|
34977
|
+
const _hoisted_1$3 = { class: "flex gap-05 py-05 justify-content-end m_flex-wrap" };
|
|
34978
|
+
const _hoisted_2$1 = {
|
|
34816
34979
|
key: 0,
|
|
34817
|
-
class: "
|
|
34818
|
-
};
|
|
34819
|
-
const _hoisted_23 = ["src", "alt"];
|
|
34820
|
-
const _hoisted_24 = {
|
|
34821
|
-
key: 2,
|
|
34822
|
-
class: "spreadsheet-cell"
|
|
34980
|
+
class: "label me-auto"
|
|
34823
34981
|
};
|
|
34982
|
+
const _hoisted_3$1 = { class: "flex gap-075" };
|
|
34983
|
+
const _hoisted_4$1 = { class: "p-05" };
|
|
34984
|
+
const _hoisted_5$1 = { class: "flex space-between" };
|
|
34985
|
+
const _hoisted_6$1 = { class: "flex w-100p relative" };
|
|
34986
|
+
const _hoisted_7$1 = { class: "flex-shrink flex-grow overflow-x" };
|
|
34824
34987
|
const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
34825
34988
|
__name: "Index",
|
|
34826
34989
|
props: {
|
|
@@ -34874,6 +35037,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
34874
35037
|
function emitUpdate() {
|
|
34875
35038
|
emit2("update:modelValue", localRows.value.map((row) => unflattenObject({ ...row })));
|
|
34876
35039
|
}
|
|
35040
|
+
const visibleColumns = vue.ref([]);
|
|
34877
35041
|
const sortColumn = vue.ref(null);
|
|
34878
35042
|
const sortDirection = vue.ref("asc");
|
|
34879
35043
|
const columns = vue.computed(() => {
|
|
@@ -34963,8 +35127,12 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
34963
35127
|
const modifier = sortDirection.value === "desc" ? 1 : -1;
|
|
34964
35128
|
return aVal < bVal ? -modifier : modifier;
|
|
34965
35129
|
});
|
|
35130
|
+
const currentVisibleColumns = [...visibleColumns.value];
|
|
34966
35131
|
localRows.value = sorted;
|
|
34967
35132
|
emitUpdate();
|
|
35133
|
+
vue.nextTick(() => {
|
|
35134
|
+
visibleColumns.value = currentVisibleColumns;
|
|
35135
|
+
});
|
|
34968
35136
|
}
|
|
34969
35137
|
const isSelecting = vue.ref(false);
|
|
34970
35138
|
const selectionStart = vue.ref(null);
|
|
@@ -34980,14 +35148,6 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
34980
35148
|
editInputRef.value.delete(key);
|
|
34981
35149
|
}
|
|
34982
35150
|
}
|
|
34983
|
-
function isCellSelected(row, col) {
|
|
34984
|
-
if (!selectionStart.value || !selectionEnd.value) return false;
|
|
34985
|
-
const startRow = Math.min(selectionStart.value.row, selectionEnd.value.row);
|
|
34986
|
-
const endRow = Math.max(selectionStart.value.row, selectionEnd.value.row);
|
|
34987
|
-
const startCol = Math.min(selectionStart.value.col, selectionEnd.value.col);
|
|
34988
|
-
const endCol = Math.max(selectionStart.value.col, selectionEnd.value.col);
|
|
34989
|
-
return row >= startRow && row <= endRow && col >= startCol && col <= endCol;
|
|
34990
|
-
}
|
|
34991
35151
|
function handleMouseDown(row, col) {
|
|
34992
35152
|
selectionStart.value = { row, col };
|
|
34993
35153
|
selectionEnd.value = { row, col };
|
|
@@ -35066,11 +35226,16 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
35066
35226
|
localRows.value[rowIndex][key] = parsedValue ?? (column == null ? void 0 : column.defaultValue) ?? ((column == null ? void 0 : column.format) === "boolean" ? false : "");
|
|
35067
35227
|
emitUpdate();
|
|
35068
35228
|
}
|
|
35229
|
+
vue.watch(() => columns.value, (newColumns) => {
|
|
35230
|
+
if (newColumns.length > 0 && visibleColumns.value.length === 0) {
|
|
35231
|
+
visibleColumns.value = newColumns.filter((col) => !col.hidden).map((col) => col.key);
|
|
35232
|
+
}
|
|
35233
|
+
});
|
|
35069
35234
|
const fixedColumns = vue.computed(() => {
|
|
35070
|
-
return columns.value.filter((col) => col.fixed && !col.hidden);
|
|
35235
|
+
return columns.value.filter((col) => col.fixed && !col.hidden && visibleColumns.value.includes(col.key));
|
|
35071
35236
|
});
|
|
35072
35237
|
const scrollableColumns = vue.computed(() => {
|
|
35073
|
-
return columns.value.filter((col) => !col.fixed && !col.hidden);
|
|
35238
|
+
return columns.value.filter((col) => !col.fixed && !col.hidden && visibleColumns.value.includes(col.key));
|
|
35074
35239
|
});
|
|
35075
35240
|
function createEmptyRow() {
|
|
35076
35241
|
const newRow = {};
|
|
@@ -35113,6 +35278,12 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
35113
35278
|
console.error("Failed to copy to clipboard:", err);
|
|
35114
35279
|
}
|
|
35115
35280
|
}
|
|
35281
|
+
const searchInputRef = vue.ref(null);
|
|
35282
|
+
function isSearchFocused() {
|
|
35283
|
+
var _a, _b;
|
|
35284
|
+
const inputElement = (_b = (_a = searchInputRef.value) == null ? void 0 : _a.$el) == null ? void 0 : _b.querySelector("input");
|
|
35285
|
+
return document.activeElement === inputElement;
|
|
35286
|
+
}
|
|
35116
35287
|
async function pasteSelection() {
|
|
35117
35288
|
if (!selectionStart.value) return;
|
|
35118
35289
|
try {
|
|
@@ -35202,7 +35373,8 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
35202
35373
|
}
|
|
35203
35374
|
}
|
|
35204
35375
|
function handleSpreadsheetKeyDown(event) {
|
|
35205
|
-
if (editingCell.value) return;
|
|
35376
|
+
if (editingCell.value || isSearchFocused()) return;
|
|
35377
|
+
console.log("handleSpreadsheetKeyDown", event);
|
|
35206
35378
|
const isCtrlOrCmd = event.ctrlKey || event.metaKey;
|
|
35207
35379
|
if (isCtrlOrCmd) {
|
|
35208
35380
|
switch (event.key.toLowerCase()) {
|
|
@@ -35242,6 +35414,43 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
35242
35414
|
});
|
|
35243
35415
|
});
|
|
35244
35416
|
});
|
|
35417
|
+
const columnWidths = vue.ref(/* @__PURE__ */ new Map());
|
|
35418
|
+
const isResizing = vue.ref(false);
|
|
35419
|
+
const resizingColumn = vue.ref(null);
|
|
35420
|
+
const startX = vue.ref(0);
|
|
35421
|
+
const startWidth = vue.ref(0);
|
|
35422
|
+
function handleResizeStart(e, columnKey) {
|
|
35423
|
+
isResizing.value = true;
|
|
35424
|
+
resizingColumn.value = columnKey;
|
|
35425
|
+
startX.value = e.pageX;
|
|
35426
|
+
const columnHeader = e.target.closest("th");
|
|
35427
|
+
if (!columnHeader) return;
|
|
35428
|
+
const computedWidth = columnHeader.getBoundingClientRect().width;
|
|
35429
|
+
const currentWidth = columnWidths.value.get(columnKey) || computedWidth;
|
|
35430
|
+
startWidth.value = currentWidth;
|
|
35431
|
+
document.addEventListener("mousemove", handleResizeMove);
|
|
35432
|
+
document.addEventListener("mouseup", handleResizeEnd);
|
|
35433
|
+
}
|
|
35434
|
+
function handleResizeMove(e) {
|
|
35435
|
+
if (!isResizing.value || !resizingColumn.value) return;
|
|
35436
|
+
e.preventDefault();
|
|
35437
|
+
const diff = e.pageX - startX.value;
|
|
35438
|
+
const newWidth = Math.max(80, startWidth.value + diff);
|
|
35439
|
+
columnWidths.value.set(resizingColumn.value, newWidth);
|
|
35440
|
+
}
|
|
35441
|
+
function handleResizeEnd() {
|
|
35442
|
+
isResizing.value = false;
|
|
35443
|
+
resizingColumn.value = null;
|
|
35444
|
+
document.removeEventListener("mousemove", handleResizeMove);
|
|
35445
|
+
document.removeEventListener("mouseup", handleResizeEnd);
|
|
35446
|
+
}
|
|
35447
|
+
vue.onUnmounted(() => {
|
|
35448
|
+
document.removeEventListener("mousemove", handleResizeMove);
|
|
35449
|
+
document.removeEventListener("mouseup", handleResizeEnd);
|
|
35450
|
+
});
|
|
35451
|
+
const columnOptions = vue.computed(() => {
|
|
35452
|
+
return columns.value.filter((col) => !col.hidden);
|
|
35453
|
+
});
|
|
35245
35454
|
return (_ctx, _cache) => {
|
|
35246
35455
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
35247
35456
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -35252,9 +35461,47 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
35252
35461
|
vue.createElementVNode("div", _hoisted_1$3, [
|
|
35253
35462
|
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$1, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
35254
35463
|
vue.createElementVNode("div", _hoisted_3$1, [
|
|
35464
|
+
vue.createVNode(_sfc_main$W, {
|
|
35465
|
+
flat: "",
|
|
35466
|
+
thin: "",
|
|
35467
|
+
icon: "view_column"
|
|
35468
|
+
}, {
|
|
35469
|
+
default: vue.withCtx(() => [
|
|
35470
|
+
vue.createElementVNode("div", _hoisted_4$1, [
|
|
35471
|
+
vue.createElementVNode("div", _hoisted_5$1, [
|
|
35472
|
+
vue.createVNode(vue.unref(Btn), {
|
|
35473
|
+
flat: "",
|
|
35474
|
+
thin: "",
|
|
35475
|
+
small: "",
|
|
35476
|
+
value: "Select All",
|
|
35477
|
+
onClick: _cache[0] || (_cache[0] = ($event) => visibleColumns.value = columnOptions.value.map((col) => col.key))
|
|
35478
|
+
}),
|
|
35479
|
+
vue.createVNode(vue.unref(Btn), {
|
|
35480
|
+
flat: "",
|
|
35481
|
+
thin: "",
|
|
35482
|
+
small: "",
|
|
35483
|
+
value: "Clear All",
|
|
35484
|
+
onClick: _cache[1] || (_cache[1] = ($event) => visibleColumns.value = [])
|
|
35485
|
+
})
|
|
35486
|
+
]),
|
|
35487
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(columnOptions.value, (col) => {
|
|
35488
|
+
return vue.openBlock(), vue.createBlock(vue.unref(CheckInput), {
|
|
35489
|
+
key: col.key,
|
|
35490
|
+
modelValue: visibleColumns.value,
|
|
35491
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => visibleColumns.value = $event),
|
|
35492
|
+
value: col.key,
|
|
35493
|
+
label: col.label || col.key
|
|
35494
|
+
}, null, 8, ["modelValue", "value", "label"]);
|
|
35495
|
+
}), 128))
|
|
35496
|
+
])
|
|
35497
|
+
]),
|
|
35498
|
+
_: 1
|
|
35499
|
+
}),
|
|
35255
35500
|
vue.createVNode(vue.unref(TextInput), {
|
|
35501
|
+
ref_key: "searchInputRef",
|
|
35502
|
+
ref: searchInputRef,
|
|
35256
35503
|
modelValue: search.value,
|
|
35257
|
-
"onUpdate:modelValue": _cache[
|
|
35504
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => search.value = $event),
|
|
35258
35505
|
icon: "search",
|
|
35259
35506
|
placeholder: "Search",
|
|
35260
35507
|
class: "m-0 max-w200px"
|
|
@@ -35303,173 +35550,56 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
35303
35550
|
class: "spreadsheet",
|
|
35304
35551
|
onMouseup: handleMouseUp
|
|
35305
35552
|
}, [
|
|
35306
|
-
vue.createElementVNode("div",
|
|
35307
|
-
fixedColumns.value.length ? (vue.openBlock(), vue.
|
|
35308
|
-
|
|
35309
|
-
|
|
35310
|
-
|
|
35311
|
-
|
|
35312
|
-
|
|
35313
|
-
|
|
35314
|
-
|
|
35315
|
-
|
|
35316
|
-
|
|
35317
|
-
|
|
35318
|
-
|
|
35319
|
-
|
|
35320
|
-
|
|
35321
|
-
|
|
35322
|
-
|
|
35323
|
-
|
|
35324
|
-
|
|
35325
|
-
|
|
35326
|
-
|
|
35327
|
-
|
|
35328
|
-
|
|
35329
|
-
|
|
35330
|
-
|
|
35331
|
-
|
|
35332
|
-
|
|
35333
|
-
|
|
35334
|
-
|
|
35335
|
-
|
|
35336
|
-
|
|
35337
|
-
|
|
35338
|
-
|
|
35339
|
-
|
|
35340
|
-
|
|
35341
|
-
|
|
35342
|
-
|
|
35343
|
-
|
|
35344
|
-
|
|
35345
|
-
|
|
35346
|
-
|
|
35347
|
-
|
|
35348
|
-
|
|
35349
|
-
|
|
35350
|
-
|
|
35351
|
-
|
|
35352
|
-
|
|
35353
|
-
|
|
35354
|
-
|
|
35355
|
-
|
|
35356
|
-
onInput: (e) => updateCell(rowIndex, col.key, e.target.value),
|
|
35357
|
-
onBlur: _cache[1] || (_cache[1] = ($event) => handleStopEditingAndBlur(false)),
|
|
35358
|
-
onKeydown: [
|
|
35359
|
-
_cache[2] || (_cache[2] = vue.withKeys(vue.withModifiers(($event) => handleStopEditingAndBlur(false), ["prevent"]), ["enter"])),
|
|
35360
|
-
_cache[3] || (_cache[3] = vue.withKeys(vue.withModifiers(($event) => handleStopEditingAndBlur(true), ["prevent"]), ["esc"]))
|
|
35361
|
-
],
|
|
35362
|
-
onMousedown: _cache[4] || (_cache[4] = vue.withModifiers(() => {
|
|
35363
|
-
}, ["stop"]))
|
|
35364
|
-
}, null, 40, _hoisted_9$1),
|
|
35365
|
-
vue.createElementVNode("span", _hoisted_10$1, vue.toDisplayString(formatCellValue(row[col.key], col.format)), 1)
|
|
35366
|
-
], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
35367
|
-
col.format === "image" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11$1, [
|
|
35368
|
-
vue.createElementVNode("img", {
|
|
35369
|
-
class: "w-100p h-100p contain radius-05",
|
|
35370
|
-
src: row[col.key],
|
|
35371
|
-
alt: col.label || col.key
|
|
35372
|
-
}, null, 8, _hoisted_12$1)
|
|
35373
|
-
])) : col.format === "boolean" ? (vue.openBlock(), vue.createBlock(vue.unref(CheckInput), {
|
|
35374
|
-
key: 1,
|
|
35375
|
-
modelValue: !!row[col.key],
|
|
35376
|
-
disabled: !isCellEditable(col.key),
|
|
35377
|
-
"onUpdate:modelValue": (value) => updateCell(rowIndex, col.key, !!value),
|
|
35378
|
-
onMousedown: _cache[5] || (_cache[5] = vue.withModifiers(() => {
|
|
35379
|
-
}, ["stop"]))
|
|
35380
|
-
}, null, 8, ["modelValue", "disabled", "onUpdate:modelValue"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_13, vue.toDisplayString(formatCellValue(row[col.key], col.format)), 1))
|
|
35381
|
-
], 64))
|
|
35382
|
-
], 46, _hoisted_8$1);
|
|
35383
|
-
}), 128))
|
|
35384
|
-
]);
|
|
35385
|
-
}), 128))
|
|
35386
|
-
])
|
|
35387
|
-
])) : vue.createCommentVNode("", true),
|
|
35388
|
-
vue.createElementVNode("div", _hoisted_14, [
|
|
35389
|
-
vue.createElementVNode("table", _hoisted_15, [
|
|
35390
|
-
vue.createElementVNode("thead", null, [
|
|
35391
|
-
vue.createElementVNode("tr", null, [
|
|
35392
|
-
!fixedColumns.value.length ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_16)) : vue.createCommentVNode("", true),
|
|
35393
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(scrollableColumns.value, (col) => {
|
|
35394
|
-
return vue.openBlock(), vue.createElementBlock("th", {
|
|
35395
|
-
key: col.key
|
|
35396
|
-
}, [
|
|
35397
|
-
vue.createElementVNode("span", {
|
|
35398
|
-
onClick: ($event) => col.sortable && sortByColumn(col.key)
|
|
35399
|
-
}, vue.toDisplayString(col.label || col.key), 9, _hoisted_17),
|
|
35400
|
-
sortColumn.value === col.key ? (vue.openBlock(), vue.createBlock(vue.unref(Icon), {
|
|
35401
|
-
key: 0,
|
|
35402
|
-
name: "keyboard_arrow_down",
|
|
35403
|
-
class: vue.normalizeClass(["line-height-0 inline-block", { "rotate-180": sortColumn.value === col.key && sortDirection.value === "desc" }])
|
|
35404
|
-
}, null, 8, ["class"])) : vue.createCommentVNode("", true)
|
|
35405
|
-
]);
|
|
35406
|
-
}), 128))
|
|
35407
|
-
])
|
|
35408
|
-
]),
|
|
35409
|
-
vue.createElementVNode("tbody", null, [
|
|
35410
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(filteredRows.value, (row, rowIndex) => {
|
|
35411
|
-
return vue.openBlock(), vue.createElementBlock("tr", { key: rowIndex }, [
|
|
35412
|
-
!fixedColumns.value.length ? (vue.openBlock(), vue.createElementBlock("td", {
|
|
35413
|
-
key: 0,
|
|
35414
|
-
class: "row-number txt-center hover user-select-none pointer txt12 regular",
|
|
35415
|
-
onClick: ($event) => selectEntireRow(rowIndex)
|
|
35416
|
-
}, vue.toDisplayString(rowIndex + 1), 9, _hoisted_18)) : vue.createCommentVNode("", true),
|
|
35417
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(scrollableColumns.value, (col, colIndex) => {
|
|
35418
|
-
return vue.openBlock(), vue.createElementBlock("td", {
|
|
35419
|
-
key: col.key,
|
|
35420
|
-
class: vue.normalizeClass({
|
|
35421
|
-
selected: isCellSelected(rowIndex, fixedColumns.value.length + colIndex),
|
|
35422
|
-
locked: !isCellEditable(col.key)
|
|
35423
|
-
}),
|
|
35424
|
-
style: vue.normalizeStyle({ width: col.width }),
|
|
35425
|
-
tabindex: col.hidden ? void 0 : 0,
|
|
35426
|
-
onMousedown: ($event) => handleMouseDown(rowIndex, fixedColumns.value.length + colIndex),
|
|
35427
|
-
onMouseover: ($event) => handleMouseOver(rowIndex, fixedColumns.value.length + colIndex),
|
|
35428
|
-
onFocusin: ($event) => handleMouseOver(rowIndex, fixedColumns.value.length + colIndex),
|
|
35429
|
-
onDblclick: ($event) => startEditing(rowIndex, fixedColumns.value.length + colIndex),
|
|
35430
|
-
onKeydown: ($event) => handleCellKeyDown($event, rowIndex, fixedColumns.value.length + colIndex)
|
|
35431
|
-
}, [
|
|
35432
|
-
editingCell.value && editingCell.value.row === rowIndex && editingCell.value.col === fixedColumns.value.length + colIndex ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
35433
|
-
vue.createElementVNode("input", {
|
|
35434
|
-
ref_for: true,
|
|
35435
|
-
ref: (el) => setInputRef(el, `cell-${rowIndex}-${fixedColumns.value.length + colIndex}`),
|
|
35436
|
-
value: row[col.key],
|
|
35437
|
-
type: "text",
|
|
35438
|
-
class: "spreadsheet-input",
|
|
35439
|
-
onInput: (e) => updateCell(rowIndex, col.key, e.target.value),
|
|
35440
|
-
onBlur: _cache[6] || (_cache[6] = ($event) => handleStopEditingAndBlur(false)),
|
|
35441
|
-
onKeydown: [
|
|
35442
|
-
_cache[7] || (_cache[7] = vue.withKeys(vue.withModifiers(($event) => handleStopEditingAndBlur(false), ["prevent"]), ["enter"])),
|
|
35443
|
-
_cache[8] || (_cache[8] = vue.withKeys(vue.withModifiers(($event) => handleStopEditingAndBlur(true), ["prevent"]), ["esc"]))
|
|
35444
|
-
],
|
|
35445
|
-
onMousedown: _cache[9] || (_cache[9] = vue.withModifiers(() => {
|
|
35446
|
-
}, ["stop"]))
|
|
35447
|
-
}, null, 40, _hoisted_20),
|
|
35448
|
-
vue.createElementVNode("span", _hoisted_21, vue.toDisplayString(formatCellValue(row[col.key], col.format)), 1)
|
|
35449
|
-
], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
35450
|
-
col.format === "image" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
35451
|
-
row[col.key] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_22, [
|
|
35452
|
-
vue.createElementVNode("img", {
|
|
35453
|
-
class: "w-100p h-100p contain radius-05",
|
|
35454
|
-
src: row[col.key],
|
|
35455
|
-
alt: col.label || col.key
|
|
35456
|
-
}, null, 8, _hoisted_23)
|
|
35457
|
-
])) : vue.createCommentVNode("", true)
|
|
35458
|
-
], 64)) : col.format === "boolean" ? (vue.openBlock(), vue.createBlock(vue.unref(CheckInput), {
|
|
35459
|
-
key: 1,
|
|
35460
|
-
modelValue: !!row[col.key],
|
|
35461
|
-
disabled: !isCellEditable(col.key),
|
|
35462
|
-
"onUpdate:modelValue": (value) => updateCell(rowIndex, col.key, !!value),
|
|
35463
|
-
onMousedown: _cache[10] || (_cache[10] = vue.withModifiers(() => {
|
|
35464
|
-
}, ["stop"]))
|
|
35465
|
-
}, null, 8, ["modelValue", "disabled", "onUpdate:modelValue"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_24, vue.toDisplayString(formatCellValue(row[col.key], col.format)), 1))
|
|
35466
|
-
], 64))
|
|
35467
|
-
], 46, _hoisted_19);
|
|
35468
|
-
}), 128))
|
|
35469
|
-
]);
|
|
35470
|
-
}), 128))
|
|
35471
|
-
])
|
|
35472
|
-
])
|
|
35553
|
+
vue.createElementVNode("div", _hoisted_6$1, [
|
|
35554
|
+
fixedColumns.value.length ? (vue.openBlock(), vue.createBlock(SpreadsheetTable, {
|
|
35555
|
+
key: 0,
|
|
35556
|
+
columns: fixedColumns.value,
|
|
35557
|
+
rows: filteredRows.value,
|
|
35558
|
+
"is-fixed": true,
|
|
35559
|
+
"show-row-numbers": true,
|
|
35560
|
+
"column-widths": columnWidths.value,
|
|
35561
|
+
"sort-column": sortColumn.value,
|
|
35562
|
+
"sort-direction": sortDirection.value,
|
|
35563
|
+
"selection-start": selectionStart.value,
|
|
35564
|
+
"selection-end": selectionEnd.value,
|
|
35565
|
+
"editing-cell": editingCell.value,
|
|
35566
|
+
"base-column-index": 0,
|
|
35567
|
+
class: "sticky z-2 start-0 bg-white",
|
|
35568
|
+
onSortColumn: sortByColumn,
|
|
35569
|
+
onResizeStart: handleResizeStart,
|
|
35570
|
+
onSelectRow: selectEntireRow,
|
|
35571
|
+
onCellMouseDown: handleMouseDown,
|
|
35572
|
+
onCellMouseOver: handleMouseOver,
|
|
35573
|
+
onCellEditStart: startEditing,
|
|
35574
|
+
onCellKeyDown: handleCellKeyDown,
|
|
35575
|
+
onUpdateCell: updateCell,
|
|
35576
|
+
onStopEditing: handleStopEditingAndBlur,
|
|
35577
|
+
onSetInputRef: setInputRef
|
|
35578
|
+
}, null, 8, ["columns", "rows", "column-widths", "sort-column", "sort-direction", "selection-start", "selection-end", "editing-cell"])) : vue.createCommentVNode("", true),
|
|
35579
|
+
vue.createElementVNode("div", _hoisted_7$1, [
|
|
35580
|
+
vue.createVNode(SpreadsheetTable, {
|
|
35581
|
+
columns: scrollableColumns.value,
|
|
35582
|
+
rows: filteredRows.value,
|
|
35583
|
+
"is-fixed": false,
|
|
35584
|
+
"show-row-numbers": !fixedColumns.value.length,
|
|
35585
|
+
"column-widths": columnWidths.value,
|
|
35586
|
+
"sort-column": sortColumn.value,
|
|
35587
|
+
"sort-direction": sortDirection.value,
|
|
35588
|
+
"selection-start": selectionStart.value,
|
|
35589
|
+
"selection-end": selectionEnd.value,
|
|
35590
|
+
"editing-cell": editingCell.value,
|
|
35591
|
+
"base-column-index": fixedColumns.value.length,
|
|
35592
|
+
onSortColumn: sortByColumn,
|
|
35593
|
+
onResizeStart: handleResizeStart,
|
|
35594
|
+
onSelectRow: selectEntireRow,
|
|
35595
|
+
onCellMouseDown: handleMouseDown,
|
|
35596
|
+
onCellMouseOver: handleMouseOver,
|
|
35597
|
+
onCellEditStart: startEditing,
|
|
35598
|
+
onCellKeyDown: handleCellKeyDown,
|
|
35599
|
+
onUpdateCell: updateCell,
|
|
35600
|
+
onStopEditing: handleStopEditingAndBlur,
|
|
35601
|
+
onSetInputRef: setInputRef
|
|
35602
|
+
}, null, 8, ["columns", "rows", "show-row-numbers", "column-widths", "sort-column", "sort-direction", "selection-start", "selection-end", "editing-cell", "base-column-index"])
|
|
35473
35603
|
])
|
|
35474
35604
|
]),
|
|
35475
35605
|
_ctx.allowAddRow ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
@@ -35487,7 +35617,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
35487
35617
|
};
|
|
35488
35618
|
}
|
|
35489
35619
|
});
|
|
35490
|
-
const Index = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
35620
|
+
const Index = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-8e95a7a9"]]);
|
|
35491
35621
|
const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
35492
35622
|
__name: "Title",
|
|
35493
35623
|
props: {
|
|
@@ -36895,9 +37025,9 @@ const ModalPlugin = {
|
|
|
36895
37025
|
case "modalForm":
|
|
36896
37026
|
return vue.h(ModalForm, props2, modal.componentSlots);
|
|
36897
37027
|
case "confirmModal":
|
|
36898
|
-
return vue.h(_sfc_main$
|
|
37028
|
+
return vue.h(_sfc_main$c, props2, {});
|
|
36899
37029
|
default:
|
|
36900
|
-
return vue.h(_sfc_main$
|
|
37030
|
+
return vue.h(_sfc_main$d, props2, modal.componentSlots);
|
|
36901
37031
|
}
|
|
36902
37032
|
});
|
|
36903
37033
|
}
|
|
@@ -37356,58 +37486,58 @@ function formatDate(date2, format2 = "dd.mm.yy") {
|
|
|
37356
37486
|
return "";
|
|
37357
37487
|
}
|
|
37358
37488
|
}
|
|
37359
|
-
exports.Accordion = _sfc_main$
|
|
37489
|
+
exports.Accordion = _sfc_main$1n;
|
|
37360
37490
|
exports.AccordionItem = AccordionItem;
|
|
37361
|
-
exports.AddressSearch = _sfc_main$
|
|
37491
|
+
exports.AddressSearch = _sfc_main$1l;
|
|
37362
37492
|
exports.Alert = Alert;
|
|
37363
37493
|
exports.Avatar = Avatar;
|
|
37364
37494
|
exports.Badge = Badge;
|
|
37365
|
-
exports.BagelForm = _sfc_main$
|
|
37495
|
+
exports.BagelForm = _sfc_main$T;
|
|
37366
37496
|
exports.BagelVue = BagelVue;
|
|
37367
|
-
exports.BglForm = _sfc_main$
|
|
37497
|
+
exports.BglForm = _sfc_main$T;
|
|
37368
37498
|
exports.BglVideo = BglVideo;
|
|
37369
37499
|
exports.BottomMenu = BottomMenu;
|
|
37370
37500
|
exports.Btn = Btn;
|
|
37371
|
-
exports.Calendar = _sfc_main$
|
|
37372
|
-
exports.Card = _sfc_main
|
|
37501
|
+
exports.Calendar = _sfc_main$11;
|
|
37502
|
+
exports.Card = _sfc_main$10;
|
|
37373
37503
|
exports.Carousel = Carousel;
|
|
37374
37504
|
exports.CheckInput = CheckInput;
|
|
37375
37505
|
exports.Checkbox = Checkbox;
|
|
37376
37506
|
exports.CodeEditor = CodeEditor;
|
|
37377
|
-
exports.ColorInput = _sfc_main$
|
|
37507
|
+
exports.ColorInput = _sfc_main$O;
|
|
37378
37508
|
exports.DataPreview = DataPreview;
|
|
37379
37509
|
exports.DataTable = DataTable;
|
|
37380
37510
|
exports.DateInput = DateInput;
|
|
37381
37511
|
exports.DatePick = DatePick;
|
|
37382
|
-
exports.DatePicker = _sfc_main$
|
|
37383
|
-
exports.Draggable = _sfc_main$
|
|
37384
|
-
exports.Dropdown = _sfc_main$
|
|
37512
|
+
exports.DatePicker = _sfc_main$L;
|
|
37513
|
+
exports.Draggable = _sfc_main$X;
|
|
37514
|
+
exports.Dropdown = _sfc_main$W;
|
|
37385
37515
|
exports.FORM_STATE_KEY = FORM_STATE_KEY;
|
|
37386
|
-
exports.FieldArray = _sfc_main$
|
|
37516
|
+
exports.FieldArray = _sfc_main$S;
|
|
37387
37517
|
exports.FieldSetVue = FieldSetVue;
|
|
37388
37518
|
exports.FileUpload = FileUpload;
|
|
37389
37519
|
exports.Flag = Flag;
|
|
37390
37520
|
exports.IMAGE_FORMATS = IMAGE_FORMATS;
|
|
37391
37521
|
exports.IMAGE_FORMATS_REGEXP = IMAGE_FORMATS_REGEXP;
|
|
37392
37522
|
exports.Icon = Icon;
|
|
37393
|
-
exports.IframeVue = _sfc_main$
|
|
37523
|
+
exports.IframeVue = _sfc_main$r;
|
|
37394
37524
|
exports.Image = Image$1;
|
|
37395
37525
|
exports.JSONInput = JSONInput;
|
|
37396
37526
|
exports.Layout = Layout;
|
|
37397
|
-
exports.Lineart = _sfc_main$
|
|
37398
|
-
exports.ListItem = _sfc_main$
|
|
37527
|
+
exports.Lineart = _sfc_main$_;
|
|
37528
|
+
exports.ListItem = _sfc_main$h;
|
|
37399
37529
|
exports.ListView = ListView;
|
|
37400
37530
|
exports.Loading = Loading;
|
|
37401
|
-
exports.MapEmbed = _sfc_main$
|
|
37402
|
-
exports.Modal = _sfc_main$
|
|
37403
|
-
exports.ModalConfirm = _sfc_main$
|
|
37531
|
+
exports.MapEmbed = _sfc_main$e;
|
|
37532
|
+
exports.Modal = _sfc_main$d;
|
|
37533
|
+
exports.ModalConfirm = _sfc_main$c;
|
|
37404
37534
|
exports.ModalForm = ModalForm;
|
|
37405
37535
|
exports.ModalPlugin = ModalPlugin;
|
|
37406
37536
|
exports.NavBar = NavBar;
|
|
37407
37537
|
exports.NumberInput = NumberInput;
|
|
37408
37538
|
exports.OTP = OTP;
|
|
37409
|
-
exports.PageTitle = _sfc_main$
|
|
37410
|
-
exports.PasswordInput = _sfc_main$
|
|
37539
|
+
exports.PageTitle = _sfc_main$9;
|
|
37540
|
+
exports.PasswordInput = _sfc_main$G;
|
|
37411
37541
|
exports.Pill = Pill;
|
|
37412
37542
|
exports.RadioGroup = RadioGroup;
|
|
37413
37543
|
exports.RadioPillsInput = RadioPillsInput;
|
|
@@ -37416,14 +37546,14 @@ exports.RichText = RichText;
|
|
|
37416
37546
|
exports.RouterWrapper = RouterWrapper;
|
|
37417
37547
|
exports.SelectInput = SelectInput;
|
|
37418
37548
|
exports.SidebarMenu = SidebarMenu;
|
|
37419
|
-
exports.SignaturePad = _sfc_main$
|
|
37549
|
+
exports.SignaturePad = _sfc_main$y;
|
|
37420
37550
|
exports.Skeleton = Skeleton;
|
|
37421
37551
|
exports.Spreadsheet = Index;
|
|
37422
37552
|
exports.TabbedLayout = TabbedLayout;
|
|
37423
37553
|
exports.TableField = TableField;
|
|
37424
37554
|
exports.TableSchema = DataTable;
|
|
37425
|
-
exports.Tabs = _sfc_main$
|
|
37426
|
-
exports.TabsBody = _sfc_main$
|
|
37555
|
+
exports.Tabs = _sfc_main$k;
|
|
37556
|
+
exports.TabsBody = _sfc_main$j;
|
|
37427
37557
|
exports.TabsNav = TabsNav;
|
|
37428
37558
|
exports.TelInput = TelInput;
|
|
37429
37559
|
exports.TextInput = TextInput;
|