@bagelink/vue 1.0.13 → 1.0.18
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/index.cjs +1052 -940
- package/dist/index.mjs +1052 -940
- package/dist/style.css +45 -19
- package/package.json +1 -1
- package/src/components/Spreadsheet/Index.vue +179 -248
- package/src/components/Spreadsheet/SpreadsheetTable.vue +317 -0
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { en
|
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
import { defineComponent, reactive, provide, openBlock, createElementBlock, renderSlot, ref, computed, inject, watch, normalizeClass, createElementVNode, unref, createVNode, createCommentVNode, toDisplayString, Transition, withCtx, isRef, Fragment, renderList, createBlock, useSlots, resolveDirective, withDirectives, resolveDynamicComponent, mergeProps, withModifiers, withKeys, createTextVNode, normalizeStyle, useCssVars, onMounted, Comment, Text, nextTick, onBeforeUnmount, onUnmounted, resolveComponent, isVNode, h as h$2, getCurrentScope, onScopeDispose, toValue, getCurrentInstance, shallowRef, mergeModels, useModel, normalizeProps, vModelCheckbox, pushScopeId, popScopeId, guardReactiveProps, withScopeId, createApp, vModelText, vModelRadio, TransitionGroup, vModelDynamic, toRef, createSlots } from "vue";
|
|
5
5
|
import { RouterLink } from "vue-router";
|
|
6
|
-
const _sfc_main$
|
|
6
|
+
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "Accordion",
|
|
8
8
|
setup(__props) {
|
|
9
9
|
const state2 = reactive({
|
|
@@ -17,10 +17,10 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
|
-
const _hoisted_1$
|
|
21
|
-
const _hoisted_2$
|
|
22
|
-
const _hoisted_3$
|
|
23
|
-
const _sfc_main$
|
|
20
|
+
const _hoisted_1$1a = ["aria-expanded", "aria-controls"];
|
|
21
|
+
const _hoisted_2$S = { class: "accordion-label" };
|
|
22
|
+
const _hoisted_3$H = ["id", "aria-hidden"];
|
|
23
|
+
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
24
24
|
__name: "AccordionItem",
|
|
25
25
|
props: {
|
|
26
26
|
label: {},
|
|
@@ -86,7 +86,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
86
86
|
createVNode(unref(Icon), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
87
87
|
], 2)) : createCommentVNode("", true),
|
|
88
88
|
renderSlot(_ctx.$slots, "head", {}, () => [
|
|
89
|
-
createElementVNode("span", _hoisted_2$
|
|
89
|
+
createElementVNode("span", _hoisted_2$S, toDisplayString(_ctx.label), 1)
|
|
90
90
|
], true),
|
|
91
91
|
iconPosition.value === "end" ? (openBlock(), createElementBlock("span", {
|
|
92
92
|
key: 1,
|
|
@@ -94,7 +94,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
94
94
|
}, [
|
|
95
95
|
createVNode(unref(Icon), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
96
96
|
], 2)) : createCommentVNode("", true)
|
|
97
|
-
], 8, _hoisted_1$
|
|
97
|
+
], 8, _hoisted_1$1a),
|
|
98
98
|
createVNode(Transition, { name: "expand" }, {
|
|
99
99
|
default: withCtx(() => [
|
|
100
100
|
unref(isOpen) ? (openBlock(), createElementBlock("div", {
|
|
@@ -104,7 +104,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
104
104
|
"aria-hidden": unref(isOpen) ? "false" : "true"
|
|
105
105
|
}, [
|
|
106
106
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
107
|
-
], 8, _hoisted_3$
|
|
107
|
+
], 8, _hoisted_3$H)) : createCommentVNode("", true)
|
|
108
108
|
]),
|
|
109
109
|
_: 3
|
|
110
110
|
})
|
|
@@ -119,9 +119,9 @@ const _export_sfc = (sfc, props2) => {
|
|
|
119
119
|
}
|
|
120
120
|
return target;
|
|
121
121
|
};
|
|
122
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
123
|
-
const _hoisted_1$
|
|
124
|
-
const _sfc_main$
|
|
122
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-3334f637"]]);
|
|
123
|
+
const _hoisted_1$19 = { class: "relative" };
|
|
124
|
+
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
125
125
|
__name: "AddressSearch",
|
|
126
126
|
emits: ["addressSelected"],
|
|
127
127
|
setup(__props, { emit: __emit }) {
|
|
@@ -143,8 +143,8 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
143
143
|
(_a = suggestion.value) == null ? void 0 : _a.show();
|
|
144
144
|
}
|
|
145
145
|
return (_ctx, _cache) => {
|
|
146
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
147
|
-
createVNode(unref(_sfc_main$
|
|
146
|
+
return openBlock(), createElementBlock("div", _hoisted_1$19, [
|
|
147
|
+
createVNode(unref(_sfc_main$W), {
|
|
148
148
|
ref_key: "suggestion",
|
|
149
149
|
ref: suggestion,
|
|
150
150
|
noAutoFocus: true,
|
|
@@ -162,7 +162,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
162
162
|
createVNode(unref(ListView), { class: "-mt-2 hm-300px" }, {
|
|
163
163
|
default: withCtx(() => [
|
|
164
164
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(searchResults), (result2, index2) => {
|
|
165
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
165
|
+
return openBlock(), createBlock(unref(_sfc_main$h), {
|
|
166
166
|
key: index2,
|
|
167
167
|
icon: "location_on",
|
|
168
168
|
title: result2.display_name,
|
|
@@ -179,11 +179,11 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
179
179
|
};
|
|
180
180
|
}
|
|
181
181
|
});
|
|
182
|
-
const _hoisted_1$
|
|
182
|
+
const _hoisted_1$18 = {
|
|
183
183
|
key: 1,
|
|
184
184
|
class: "bgl_btn-flex"
|
|
185
185
|
};
|
|
186
|
-
const _sfc_main$
|
|
186
|
+
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
187
187
|
__name: "Btn",
|
|
188
188
|
props: {
|
|
189
189
|
disabled: { type: Boolean, default: false },
|
|
@@ -249,7 +249,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
249
249
|
key: 0,
|
|
250
250
|
class: "h-100p",
|
|
251
251
|
size: "15"
|
|
252
|
-
})) : (openBlock(), createElementBlock("div", _hoisted_1$
|
|
252
|
+
})) : (openBlock(), createElementBlock("div", _hoisted_1$18, [
|
|
253
253
|
_ctx.icon ? (openBlock(), createBlock(unref(Icon), {
|
|
254
254
|
key: 0,
|
|
255
255
|
icon: _ctx.icon,
|
|
@@ -273,10 +273,10 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
273
273
|
};
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
277
|
-
const _hoisted_1$
|
|
278
|
-
const _hoisted_2$
|
|
279
|
-
const _sfc_main$
|
|
276
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-bfc435b3"]]);
|
|
277
|
+
const _hoisted_1$17 = ["dismissable"];
|
|
278
|
+
const _hoisted_2$R = { class: "m-0" };
|
|
279
|
+
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
280
280
|
__name: "Alert",
|
|
281
281
|
props: {
|
|
282
282
|
message: {},
|
|
@@ -304,7 +304,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
304
304
|
size: 2,
|
|
305
305
|
color: color2[_ctx.type]
|
|
306
306
|
}, null, 8, ["icon", "color"])) : createCommentVNode("", true),
|
|
307
|
-
createElementVNode("p", _hoisted_2$
|
|
307
|
+
createElementVNode("p", _hoisted_2$R, toDisplayString(_ctx.message), 1),
|
|
308
308
|
createVNode(Btn, {
|
|
309
309
|
flat: "",
|
|
310
310
|
thin: "",
|
|
@@ -312,13 +312,13 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
312
312
|
icon: "close",
|
|
313
313
|
onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
|
|
314
314
|
})
|
|
315
|
-
], 10, _hoisted_1$
|
|
315
|
+
], 10, _hoisted_1$17)) : createCommentVNode("", true);
|
|
316
316
|
};
|
|
317
317
|
}
|
|
318
318
|
});
|
|
319
|
-
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
320
|
-
const _hoisted_1$
|
|
321
|
-
const _sfc_main$
|
|
319
|
+
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-064bdd20"]]);
|
|
320
|
+
const _hoisted_1$16 = ["src", "alt"];
|
|
321
|
+
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
322
322
|
__name: "Avatar",
|
|
323
323
|
props: {
|
|
324
324
|
fallback: {},
|
|
@@ -336,7 +336,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
336
336
|
key: 0,
|
|
337
337
|
src: _ctx.src,
|
|
338
338
|
alt: _ctx.name
|
|
339
|
-
}, null, 8, _hoisted_1$
|
|
339
|
+
}, null, 8, _hoisted_1$16)) : (openBlock(), createElementBlock("p", {
|
|
340
340
|
key: 1,
|
|
341
341
|
style: normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
|
|
342
342
|
}, toDisplayString((_ctx.fallback || unref(initials)(_ctx.name || "")).toUpperCase()), 5))
|
|
@@ -344,8 +344,8 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
344
344
|
};
|
|
345
345
|
}
|
|
346
346
|
});
|
|
347
|
-
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
348
|
-
const _sfc_main$
|
|
347
|
+
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-46ad8c25"]]);
|
|
348
|
+
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
349
349
|
__name: "Badge",
|
|
350
350
|
props: {
|
|
351
351
|
color: {},
|
|
@@ -374,11 +374,11 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
374
374
|
};
|
|
375
375
|
}
|
|
376
376
|
});
|
|
377
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
378
|
-
const _hoisted_1$
|
|
379
|
-
const _hoisted_2$
|
|
380
|
-
const _hoisted_3$
|
|
381
|
-
const _sfc_main$
|
|
377
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-689f051f"]]);
|
|
378
|
+
const _hoisted_1$15 = ["src"];
|
|
379
|
+
const _hoisted_2$Q = ["autoplay", "muted", "loop", "controls", "playsinline"];
|
|
380
|
+
const _hoisted_3$G = ["src", "type"];
|
|
381
|
+
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
382
382
|
__name: "BglVideo",
|
|
383
383
|
props: {
|
|
384
384
|
src: {},
|
|
@@ -455,7 +455,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
455
455
|
allowfullscreen: "",
|
|
456
456
|
title: "Video",
|
|
457
457
|
allow: "autoplay"
|
|
458
|
-
}, null, 12, _hoisted_1$
|
|
458
|
+
}, null, 12, _hoisted_1$15)) : _ctx.src ? (openBlock(), createElementBlock("video", {
|
|
459
459
|
key: 1,
|
|
460
460
|
ref_key: "video",
|
|
461
461
|
ref: video,
|
|
@@ -469,13 +469,13 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
469
469
|
createElementVNode("source", {
|
|
470
470
|
src: _ctx.src,
|
|
471
471
|
type: `video/${videoFormat.value}`
|
|
472
|
-
}, null, 8, _hoisted_3$
|
|
473
|
-
], 12, _hoisted_2$
|
|
472
|
+
}, null, 8, _hoisted_3$G)
|
|
473
|
+
], 12, _hoisted_2$Q)) : createCommentVNode("", true)
|
|
474
474
|
], 2);
|
|
475
475
|
};
|
|
476
476
|
}
|
|
477
477
|
});
|
|
478
|
-
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
478
|
+
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-006552f6"]]);
|
|
479
479
|
const languageKeys = {
|
|
480
480
|
/** The following three keys, describe the calendar modes */
|
|
481
481
|
week: {
|
|
@@ -606,9 +606,9 @@ function translate(key, locale2 = "en-US") {
|
|
|
606
606
|
const language = languageKeys[key] || {};
|
|
607
607
|
return language[locale2] || key;
|
|
608
608
|
}
|
|
609
|
-
const _hoisted_1$
|
|
610
|
-
const _hoisted_2$
|
|
611
|
-
const _sfc_main$
|
|
609
|
+
const _hoisted_1$14 = { class: "flex gap-05 space-between pb-1 datePick" };
|
|
610
|
+
const _hoisted_2$P = { class: "flex gap-1 m_gap-025" };
|
|
611
|
+
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
612
612
|
__name: "Header",
|
|
613
613
|
props: {
|
|
614
614
|
config: {
|
|
@@ -686,8 +686,8 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
686
686
|
emit2("updatedPeriod", currentPeriod.value);
|
|
687
687
|
}
|
|
688
688
|
return (_ctx, _cache) => {
|
|
689
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
690
|
-
createElementVNode("div", _hoisted_2$
|
|
689
|
+
return openBlock(), createElementBlock("div", _hoisted_1$14, [
|
|
690
|
+
createElementVNode("div", _hoisted_2$P, [
|
|
691
691
|
createVNode(unref(Btn), {
|
|
692
692
|
flat: "",
|
|
693
693
|
icon: "chevron_left",
|
|
@@ -737,23 +737,23 @@ const EVENT_COLORS = {
|
|
|
737
737
|
};
|
|
738
738
|
const DATE_TIME_STRING_PATTERN = /^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/;
|
|
739
739
|
const DATE_TIME_STRING_FULL_DAY_PATTERN = /^\d{4}-\d{2}-\d{2}$/;
|
|
740
|
-
const _hoisted_1$
|
|
741
|
-
const _hoisted_2$
|
|
742
|
-
const _hoisted_3$
|
|
740
|
+
const _hoisted_1$13 = ["id"];
|
|
741
|
+
const _hoisted_2$O = { class: "flex txt14 flex column align-items-start gap-025 opacity-6" };
|
|
742
|
+
const _hoisted_3$F = {
|
|
743
743
|
key: 0,
|
|
744
744
|
class: "agenda__event-time flex gap-025"
|
|
745
745
|
};
|
|
746
|
-
const _hoisted_4$
|
|
746
|
+
const _hoisted_4$t = {
|
|
747
747
|
key: 1,
|
|
748
748
|
class: "agenda__event-location flex gap-025"
|
|
749
749
|
};
|
|
750
|
-
const _hoisted_5$
|
|
751
|
-
const _hoisted_6$
|
|
750
|
+
const _hoisted_5$p = { class: "agenda__event-title" };
|
|
751
|
+
const _hoisted_6$l = {
|
|
752
752
|
key: 0,
|
|
753
753
|
class: "agenda__event-with txt14 opacity-6"
|
|
754
754
|
};
|
|
755
755
|
const eventIdPrefix$1 = "agenda__event-";
|
|
756
|
-
const _sfc_main$
|
|
756
|
+
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
757
757
|
__name: "AgendaEventTile",
|
|
758
758
|
props: {
|
|
759
759
|
time: {
|
|
@@ -827,15 +827,15 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
827
827
|
class: "agenda__event is-event rounded mb-05 pointer user-select-none p-1 grid gap-1",
|
|
828
828
|
onClick: withModifiers(handleClickOnEvent, ["prevent"])
|
|
829
829
|
}, [
|
|
830
|
-
createElementVNode("div", _hoisted_2$
|
|
831
|
-
eventTime.value && !__props.calendarEvent.originalEvent ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
830
|
+
createElementVNode("div", _hoisted_2$O, [
|
|
831
|
+
eventTime.value && !__props.calendarEvent.originalEvent ? (openBlock(), createElementBlock("span", _hoisted_3$F, [
|
|
832
832
|
createVNode(unref(Icon), {
|
|
833
833
|
icon: icons.clock,
|
|
834
834
|
size: 0.8
|
|
835
835
|
}, null, 8, ["icon"]),
|
|
836
836
|
createTextVNode(" " + toDisplayString(eventTime.value), 1)
|
|
837
837
|
])) : createCommentVNode("", true),
|
|
838
|
-
__props.calendarEvent.location ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
838
|
+
__props.calendarEvent.location ? (openBlock(), createElementBlock("span", _hoisted_4$t, [
|
|
839
839
|
createVNode(unref(Icon), {
|
|
840
840
|
icon: icons.location,
|
|
841
841
|
size: 1
|
|
@@ -844,33 +844,33 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
844
844
|
])) : createCommentVNode("", true)
|
|
845
845
|
]),
|
|
846
846
|
createElementVNode("div", null, [
|
|
847
|
-
createElementVNode("div", _hoisted_5$
|
|
848
|
-
__props.calendarEvent.with ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
847
|
+
createElementVNode("div", _hoisted_5$p, toDisplayString(__props.calendarEvent.title), 1),
|
|
848
|
+
__props.calendarEvent.with ? (openBlock(), createElementBlock("div", _hoisted_6$l, [
|
|
849
849
|
createVNode(unref(Icon), {
|
|
850
850
|
icon: icons.user
|
|
851
851
|
}, null, 8, ["icon"]),
|
|
852
852
|
createTextVNode(" " + toDisplayString(__props.calendarEvent.with), 1)
|
|
853
853
|
])) : createCommentVNode("", true)
|
|
854
854
|
])
|
|
855
|
-
], 8, _hoisted_1$
|
|
855
|
+
], 8, _hoisted_1$13);
|
|
856
856
|
};
|
|
857
857
|
}
|
|
858
858
|
});
|
|
859
|
-
const AgendaEventTile = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
860
|
-
const _hoisted_1$
|
|
861
|
-
const _hoisted_2$
|
|
862
|
-
const _hoisted_3$
|
|
863
|
-
const _hoisted_4$
|
|
864
|
-
const _hoisted_5$
|
|
865
|
-
const _hoisted_6$
|
|
859
|
+
const AgendaEventTile = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-5740437b"]]);
|
|
860
|
+
const _hoisted_1$12 = { class: "agenda__wrapper grid align-items-start gap-1 h-100p" };
|
|
861
|
+
const _hoisted_2$N = { class: "m_sticky" };
|
|
862
|
+
const _hoisted_3$E = { class: "agenda__header-day-name txt-center" };
|
|
863
|
+
const _hoisted_4$s = { class: "agenda__header-date flex justify-content-center rounded p-025 txt24 line-height-04" };
|
|
864
|
+
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" };
|
|
865
|
+
const _hoisted_6$k = {
|
|
866
866
|
key: 0,
|
|
867
867
|
class: "align-items-center flex justify-content-center h-100p opacity-6"
|
|
868
868
|
};
|
|
869
|
-
const _hoisted_7$
|
|
869
|
+
const _hoisted_7$g = {
|
|
870
870
|
key: 1,
|
|
871
871
|
class: "w-100p"
|
|
872
872
|
};
|
|
873
|
-
const _sfc_main$
|
|
873
|
+
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
874
874
|
__name: "AgendaEvents",
|
|
875
875
|
props: {
|
|
876
876
|
config: {
|
|
@@ -890,13 +890,13 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
890
890
|
setup(__props, { emit: __emit }) {
|
|
891
891
|
const emit2 = __emit;
|
|
892
892
|
return (_ctx, _cache) => {
|
|
893
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
894
|
-
createElementVNode("header", _hoisted_2$
|
|
895
|
-
createElementVNode("div", _hoisted_3$
|
|
896
|
-
createElementVNode("div", _hoisted_4$
|
|
893
|
+
return openBlock(), createElementBlock("div", _hoisted_1$12, [
|
|
894
|
+
createElementVNode("header", _hoisted_2$N, [
|
|
895
|
+
createElementVNode("div", _hoisted_3$E, toDisplayString(__props.day.dayName.slice(0, 3)), 1),
|
|
896
|
+
createElementVNode("div", _hoisted_4$s, toDisplayString(__props.day.dateTimeString.substring(8, 10)), 1)
|
|
897
897
|
]),
|
|
898
|
-
createElementVNode("div", _hoisted_5$
|
|
899
|
-
__props.day.events.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
898
|
+
createElementVNode("div", _hoisted_5$o, [
|
|
899
|
+
__props.day.events.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6$k, toDisplayString(unref(getLanguage)(unref(languageKeys).noEvent, __props.time.CALENDAR_LOCALE)), 1)) : (openBlock(), createElementBlock("div", _hoisted_7$g, [
|
|
900
900
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.day.events, (dayEvent) => {
|
|
901
901
|
return openBlock(), createBlock(AgendaEventTile, {
|
|
902
902
|
key: `agenda_event_${dayEvent.id}`,
|
|
@@ -913,7 +913,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
913
913
|
};
|
|
914
914
|
}
|
|
915
915
|
});
|
|
916
|
-
const AgendaEvents = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
916
|
+
const AgendaEvents = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-746fe0c6"]]);
|
|
917
917
|
class EDate extends Date {
|
|
918
918
|
get fullYear() {
|
|
919
919
|
return this.getFullYear();
|
|
@@ -1592,25 +1592,25 @@ class EventFlyoutPosition {
|
|
|
1592
1592
|
return { top: eventElementDOMRect.top, left: null };
|
|
1593
1593
|
}
|
|
1594
1594
|
}
|
|
1595
|
-
const _hoisted_1$
|
|
1595
|
+
const _hoisted_1$11 = {
|
|
1596
1596
|
key: 0,
|
|
1597
1597
|
class: "event-flyout__relative-wrapper"
|
|
1598
1598
|
};
|
|
1599
|
-
const _hoisted_2$
|
|
1600
|
-
const _hoisted_3$
|
|
1599
|
+
const _hoisted_2$M = { class: "event-flyout__menu" };
|
|
1600
|
+
const _hoisted_3$D = {
|
|
1601
1601
|
key: 0,
|
|
1602
1602
|
class: "event-flyout__menu-editable"
|
|
1603
1603
|
};
|
|
1604
|
-
const _hoisted_4$
|
|
1605
|
-
const _hoisted_5$
|
|
1604
|
+
const _hoisted_4$r = { class: "event-flyout__menu-close" };
|
|
1605
|
+
const _hoisted_5$n = {
|
|
1606
1606
|
key: 0,
|
|
1607
1607
|
class: "event-flyout__info-wrapper"
|
|
1608
1608
|
};
|
|
1609
|
-
const _hoisted_6$
|
|
1609
|
+
const _hoisted_6$j = {
|
|
1610
1610
|
key: 0,
|
|
1611
1611
|
class: "event-flyout__row is-title"
|
|
1612
1612
|
};
|
|
1613
|
-
const _hoisted_7$
|
|
1613
|
+
const _hoisted_7$f = {
|
|
1614
1614
|
key: 1,
|
|
1615
1615
|
class: "event-flyout__row is-time"
|
|
1616
1616
|
};
|
|
@@ -1630,8 +1630,8 @@ const _hoisted_11$6 = {
|
|
|
1630
1630
|
key: 5,
|
|
1631
1631
|
class: "event-flyout__row is-description"
|
|
1632
1632
|
};
|
|
1633
|
-
const _hoisted_12$
|
|
1634
|
-
const _sfc_main$
|
|
1633
|
+
const _hoisted_12$5 = ["innerHTML"];
|
|
1634
|
+
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
1635
1635
|
__name: "EventFlyout",
|
|
1636
1636
|
props: {
|
|
1637
1637
|
calendarEventProp: {
|
|
@@ -1804,9 +1804,9 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
1804
1804
|
class: normalizeClass(["event-flyout p-05 bg-white", { "is-visible": isVisible.value, "is-not-editable": !isEditable.value }]),
|
|
1805
1805
|
style: normalizeStyle(eventFlyoutInlineStyles.value)
|
|
1806
1806
|
}, [
|
|
1807
|
-
!__props.config.eventDialog || !__props.config.eventDialog.isCustom ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
1808
|
-
createElementVNode("div", _hoisted_2$
|
|
1809
|
-
isEditable.value ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
1807
|
+
!__props.config.eventDialog || !__props.config.eventDialog.isCustom ? (openBlock(), createElementBlock("div", _hoisted_1$11, [
|
|
1808
|
+
createElementVNode("div", _hoisted_2$M, [
|
|
1809
|
+
isEditable.value ? (openBlock(), createElementBlock("span", _hoisted_3$D, [
|
|
1810
1810
|
createVNode(unref(Icon), {
|
|
1811
1811
|
class: "event-flyout__menu-item is-edit-icon",
|
|
1812
1812
|
icon: icons.edit,
|
|
@@ -1818,7 +1818,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
1818
1818
|
onClick: deleteEvent
|
|
1819
1819
|
}, null, 8, ["icon"])
|
|
1820
1820
|
])) : createCommentVNode("", true),
|
|
1821
|
-
createElementVNode("span", _hoisted_4$
|
|
1821
|
+
createElementVNode("span", _hoisted_4$r, [
|
|
1822
1822
|
createVNode(unref(Icon), {
|
|
1823
1823
|
class: "event-flyout__menu-item is-times-icon",
|
|
1824
1824
|
icon: icons.times,
|
|
@@ -1826,15 +1826,15 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
1826
1826
|
}, null, 8, ["icon"])
|
|
1827
1827
|
])
|
|
1828
1828
|
]),
|
|
1829
|
-
calendarEvent.value ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
1830
|
-
calendarEvent.value.title ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
1829
|
+
calendarEvent.value ? (openBlock(), createElementBlock("div", _hoisted_5$n, [
|
|
1830
|
+
calendarEvent.value.title ? (openBlock(), createElementBlock("div", _hoisted_6$j, [
|
|
1831
1831
|
createElementVNode("div", {
|
|
1832
1832
|
class: "event-flyout__color-icon",
|
|
1833
1833
|
style: normalizeStyle({ backgroundColor: eventBackgroundColor.value })
|
|
1834
1834
|
}, null, 4),
|
|
1835
1835
|
createTextVNode(" " + toDisplayString(calendarEvent.value.title), 1)
|
|
1836
1836
|
])) : createCommentVNode("", true),
|
|
1837
|
-
calendarEvent.value.time ? (openBlock(), createElementBlock("div", _hoisted_7$
|
|
1837
|
+
calendarEvent.value.time ? (openBlock(), createElementBlock("div", _hoisted_7$f, toDisplayString(getEventTime.value), 1)) : createCommentVNode("", true),
|
|
1838
1838
|
calendarEvent.value.location ? (openBlock(), createElementBlock("div", _hoisted_8$9, [
|
|
1839
1839
|
createVNode(unref(Icon), {
|
|
1840
1840
|
icon: icons.location
|
|
@@ -1859,7 +1859,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
1859
1859
|
}, null, 8, ["icon"]),
|
|
1860
1860
|
createElementVNode("p", {
|
|
1861
1861
|
innerHTML: calendarEvent.value.description
|
|
1862
|
-
}, null, 8, _hoisted_12$
|
|
1862
|
+
}, null, 8, _hoisted_12$5)
|
|
1863
1863
|
])) : createCommentVNode("", true)
|
|
1864
1864
|
])) : createCommentVNode("", true)
|
|
1865
1865
|
])) : renderSlot(_ctx.$slots, "default", {
|
|
@@ -1871,19 +1871,19 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
1871
1871
|
};
|
|
1872
1872
|
}
|
|
1873
1873
|
});
|
|
1874
|
-
const _hoisted_1
|
|
1874
|
+
const _hoisted_1$10 = {
|
|
1875
1875
|
key: 0,
|
|
1876
1876
|
class: "calendar-month__event"
|
|
1877
1877
|
};
|
|
1878
|
-
const _hoisted_2$
|
|
1879
|
-
const _hoisted_3$
|
|
1880
|
-
const _hoisted_4$
|
|
1878
|
+
const _hoisted_2$L = ["id", "draggable"];
|
|
1879
|
+
const _hoisted_3$C = ["id", "draggable"];
|
|
1880
|
+
const _hoisted_4$q = {
|
|
1881
1881
|
key: 0,
|
|
1882
1882
|
class: "calendar-month__event-time opacity-6 flex-shrink-0"
|
|
1883
1883
|
};
|
|
1884
|
-
const _hoisted_5$
|
|
1884
|
+
const _hoisted_5$m = { class: "calendar-month__event-title1 white-space ellipsis" };
|
|
1885
1885
|
const eventIdPrefix = "calendar-month__event-";
|
|
1886
|
-
const _sfc_main$
|
|
1886
|
+
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
1887
1887
|
__name: "Event",
|
|
1888
1888
|
props: {
|
|
1889
1889
|
time: {
|
|
@@ -1963,7 +1963,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
1963
1963
|
setColors();
|
|
1964
1964
|
});
|
|
1965
1965
|
return (_ctx, _cache) => {
|
|
1966
|
-
return __props.config.isSmall ? (openBlock(), createElementBlock("div", _hoisted_1
|
|
1966
|
+
return __props.config.isSmall ? (openBlock(), createElementBlock("div", _hoisted_1$10)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
1967
1967
|
isCustomEvent.value ? (openBlock(), createElementBlock("div", {
|
|
1968
1968
|
key: 0,
|
|
1969
1969
|
id: elementId.value,
|
|
@@ -1974,7 +1974,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
1974
1974
|
onClick: handleClickOnEvent
|
|
1975
1975
|
}, [
|
|
1976
1976
|
renderSlot(_ctx.$slots, "monthEvent", { eventData: __props.calendarEvent }, void 0, true)
|
|
1977
|
-
], 42, _hoisted_2$
|
|
1977
|
+
], 42, _hoisted_2$L)) : (openBlock(), createElementBlock("div", {
|
|
1978
1978
|
key: 1,
|
|
1979
1979
|
id: elementId.value,
|
|
1980
1980
|
"data-ref": "default-event",
|
|
@@ -1984,22 +1984,22 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
1984
1984
|
onClick: handleClickOnEvent
|
|
1985
1985
|
}, [
|
|
1986
1986
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "calendar-month__event-color round flex-shrink-0" }, null, -1)),
|
|
1987
|
-
eventTimeStart.value && !__props.calendarEvent.originalEvent ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
1988
|
-
createElementVNode("span", _hoisted_5$
|
|
1989
|
-
], 42, _hoisted_3$
|
|
1987
|
+
eventTimeStart.value && !__props.calendarEvent.originalEvent ? (openBlock(), createElementBlock("span", _hoisted_4$q, toDisplayString(eventTimeStart.value), 1)) : createCommentVNode("", true),
|
|
1988
|
+
createElementVNode("span", _hoisted_5$m, toDisplayString(__props.calendarEvent.title), 1)
|
|
1989
|
+
], 42, _hoisted_3$C))
|
|
1990
1990
|
], 64));
|
|
1991
1991
|
};
|
|
1992
1992
|
}
|
|
1993
1993
|
});
|
|
1994
|
-
const Event = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1995
|
-
const _hoisted_1
|
|
1996
|
-
const _hoisted_2$
|
|
1997
|
-
const _hoisted_3$
|
|
1998
|
-
const _hoisted_4$
|
|
1994
|
+
const Event = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-3c4101df"]]);
|
|
1995
|
+
const _hoisted_1$$ = ["id"];
|
|
1996
|
+
const _hoisted_2$K = { class: "w-100p flex justify-content-end txt14 p-025 m_h-100p" };
|
|
1997
|
+
const _hoisted_3$B = { class: "calendar-month_events" };
|
|
1998
|
+
const _hoisted_4$p = {
|
|
1999
1999
|
key: 1,
|
|
2000
2000
|
class: "space-reserver"
|
|
2001
2001
|
};
|
|
2002
|
-
const _sfc_main$
|
|
2002
|
+
const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
2003
2003
|
__name: "Day",
|
|
2004
2004
|
props: {
|
|
2005
2005
|
config: {
|
|
@@ -2096,13 +2096,13 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
2096
2096
|
onDragend: handleDragEnd
|
|
2097
2097
|
}, [
|
|
2098
2098
|
renderSlot(_ctx.$slots, "dayCell", { dayData: __props.day }, () => [
|
|
2099
|
-
createElementVNode("div", _hoisted_2$
|
|
2099
|
+
createElementVNode("div", _hoisted_2$K, [
|
|
2100
2100
|
createElementVNode("p", {
|
|
2101
2101
|
class: "calendar-month__day-date ms-auto flex aspect-ratio-1 w-30px h-30px justify-content-center m_mx-auto",
|
|
2102
2102
|
onClick: emitDayWasClicked
|
|
2103
2103
|
}, toDisplayString(__props.day.dateTimeString.substring(8, 10).startsWith("0") ? __props.day.dateTimeString.substring(9, 10) : __props.day.dateTimeString.substring(8, 10)), 1)
|
|
2104
2104
|
]),
|
|
2105
|
-
createElementVNode("div", _hoisted_3$
|
|
2105
|
+
createElementVNode("div", _hoisted_3$B, [
|
|
2106
2106
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.day.events, (calendarEvent, index2) => {
|
|
2107
2107
|
return openBlock(), createElementBlock(Fragment, { key: index2 }, [
|
|
2108
2108
|
index2 < 3 ? (openBlock(), createBlock(Event, {
|
|
@@ -2129,31 +2129,31 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
2129
2129
|
}, toDisplayString(unref(getLanguage)(unref(languageKeys).moreEvents, __props.time.CALENDAR_LOCALE)), 1)) : createCommentVNode("", true)
|
|
2130
2130
|
])
|
|
2131
2131
|
], true)
|
|
2132
|
-
], 42, _hoisted_1
|
|
2132
|
+
], 42, _hoisted_1$$)) : (openBlock(), createElementBlock("div", _hoisted_4$p));
|
|
2133
2133
|
};
|
|
2134
2134
|
}
|
|
2135
2135
|
});
|
|
2136
|
-
const Day$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2137
|
-
const _hoisted_1$
|
|
2138
|
-
const _sfc_main$
|
|
2136
|
+
const Day$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-c1dfa100"]]);
|
|
2137
|
+
const _hoisted_1$_ = { class: "txt12 normal block color-black pb-025" };
|
|
2138
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
2139
2139
|
__name: "WeekDay",
|
|
2140
2140
|
props: {
|
|
2141
2141
|
day: {}
|
|
2142
2142
|
},
|
|
2143
2143
|
setup(__props) {
|
|
2144
2144
|
return (_ctx, _cache) => {
|
|
2145
|
-
return openBlock(), createElementBlock("span", _hoisted_1$
|
|
2145
|
+
return openBlock(), createElementBlock("span", _hoisted_1$_, toDisplayString(_ctx.day.dayName), 1);
|
|
2146
2146
|
};
|
|
2147
2147
|
}
|
|
2148
2148
|
});
|
|
2149
|
-
const _hoisted_1$
|
|
2150
|
-
const _hoisted_2$
|
|
2151
|
-
const _hoisted_3$
|
|
2152
|
-
const _hoisted_4$
|
|
2149
|
+
const _hoisted_1$Z = { class: "calendar-month relative column w-100p h-100p overflow-y flex flex-stretch" };
|
|
2150
|
+
const _hoisted_2$J = { class: "flex space-between" };
|
|
2151
|
+
const _hoisted_3$A = { class: "calendar-month__weeks h-100p flex-grow flex flex-stretch column space-between" };
|
|
2152
|
+
const _hoisted_4$o = {
|
|
2153
2153
|
key: 0,
|
|
2154
2154
|
class: "calendar-month__day_events w-100p pt-1 m_pb-1"
|
|
2155
2155
|
};
|
|
2156
|
-
const _sfc_main$
|
|
2156
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
2157
2157
|
__name: "Month",
|
|
2158
2158
|
props: {
|
|
2159
2159
|
config: {
|
|
@@ -2255,10 +2255,10 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
2255
2255
|
});
|
|
2256
2256
|
return (_ctx, _cache) => {
|
|
2257
2257
|
var _a;
|
|
2258
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2259
|
-
createElementVNode("div", _hoisted_2$
|
|
2258
|
+
return openBlock(), createElementBlock("div", _hoisted_1$Z, [
|
|
2259
|
+
createElementVNode("div", _hoisted_2$J, [
|
|
2260
2260
|
(openBlock(true), createElementBlock(Fragment, null, renderList(month.value[0], (day, dayIndex) => {
|
|
2261
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2261
|
+
return openBlock(), createBlock(_sfc_main$19, {
|
|
2262
2262
|
key: dayIndex,
|
|
2263
2263
|
class: "txt-center flex-shrink flex-grow",
|
|
2264
2264
|
config: __props.config,
|
|
@@ -2267,7 +2267,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
2267
2267
|
}, null, 8, ["config", "day", "time"]);
|
|
2268
2268
|
}), 128))
|
|
2269
2269
|
]),
|
|
2270
|
-
createElementVNode("div", _hoisted_3$
|
|
2270
|
+
createElementVNode("div", _hoisted_3$A, [
|
|
2271
2271
|
(openBlock(true), createElementBlock(Fragment, null, renderList(month.value, (week, weekIndex) => {
|
|
2272
2272
|
return openBlock(), createElementBlock("div", {
|
|
2273
2273
|
key: weekIndex,
|
|
@@ -2298,7 +2298,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
2298
2298
|
]);
|
|
2299
2299
|
}), 128))
|
|
2300
2300
|
]),
|
|
2301
|
-
!(((_a = __props.config.month) == null ? void 0 : _a.showEventsOnMobileView) === false) ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
2301
|
+
!(((_a = __props.config.month) == null ? void 0 : _a.showEventsOnMobileView) === false) ? (openBlock(), createElementBlock("div", _hoisted_4$o, [
|
|
2302
2302
|
selectedDay.value ? (openBlock(), createBlock(AgendaEvents, {
|
|
2303
2303
|
key: 0,
|
|
2304
2304
|
config: __props.config,
|
|
@@ -2307,7 +2307,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
2307
2307
|
onEventWasClicked: handleClickOnEvent
|
|
2308
2308
|
}, null, 8, ["config", "time", "day"])) : createCommentVNode("", true)
|
|
2309
2309
|
])) : createCommentVNode("", true),
|
|
2310
|
-
!__props.config.eventDialog || !__props.config.eventDialog.isDisabled ? (openBlock(), createBlock(_sfc_main$
|
|
2310
|
+
!__props.config.eventDialog || !__props.config.eventDialog.isDisabled ? (openBlock(), createBlock(_sfc_main$1c, {
|
|
2311
2311
|
key: 1,
|
|
2312
2312
|
"calendar-event-prop": selectedEvent.value,
|
|
2313
2313
|
"event-element": selectedEventElement.value,
|
|
@@ -2532,27 +2532,27 @@ class EventChange {
|
|
|
2532
2532
|
this.dayEnd = `${endHourString}:00`;
|
|
2533
2533
|
}
|
|
2534
2534
|
}
|
|
2535
|
-
const _hoisted_1$
|
|
2536
|
-
const _hoisted_2$
|
|
2537
|
-
const _hoisted_3$
|
|
2538
|
-
const _hoisted_4$
|
|
2535
|
+
const _hoisted_1$Y = ["data-ref"];
|
|
2536
|
+
const _hoisted_2$I = { class: "calendar-week__event-row is-title" };
|
|
2537
|
+
const _hoisted_3$z = { class: "calendar-week__event-row is-time flex" };
|
|
2538
|
+
const _hoisted_4$n = {
|
|
2539
2539
|
key: 0,
|
|
2540
2540
|
class: "calendar-week__event-row is-location"
|
|
2541
2541
|
};
|
|
2542
|
-
const _hoisted_5$
|
|
2542
|
+
const _hoisted_5$l = {
|
|
2543
2543
|
key: 1,
|
|
2544
2544
|
class: "calendar-week__event-row is-with"
|
|
2545
2545
|
};
|
|
2546
|
-
const _hoisted_6$
|
|
2546
|
+
const _hoisted_6$i = {
|
|
2547
2547
|
key: 2,
|
|
2548
2548
|
class: "calendar-week__event-row is-topic"
|
|
2549
2549
|
};
|
|
2550
|
-
const _hoisted_7$
|
|
2550
|
+
const _hoisted_7$e = {
|
|
2551
2551
|
key: 3,
|
|
2552
2552
|
class: "calendar-week__event-row is-description"
|
|
2553
2553
|
};
|
|
2554
2554
|
const _hoisted_8$8 = ["innerHTML"];
|
|
2555
|
-
const _sfc_main$
|
|
2555
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
2556
2556
|
__name: "DayEvent",
|
|
2557
2557
|
props: {
|
|
2558
2558
|
eventProp: {
|
|
@@ -2894,36 +2894,36 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
2894
2894
|
backgroundColor: eventBackgroundColor.value
|
|
2895
2895
|
})
|
|
2896
2896
|
}, [
|
|
2897
|
-
createElementVNode("div", _hoisted_2$
|
|
2898
|
-
createElementVNode("div", _hoisted_3$
|
|
2897
|
+
createElementVNode("div", _hoisted_2$I, toDisplayString(event.value.title), 1),
|
|
2898
|
+
createElementVNode("div", _hoisted_3$z, [
|
|
2899
2899
|
createVNode(unref(Icon), {
|
|
2900
2900
|
icon: icons.value.clock,
|
|
2901
2901
|
class: "calendar-week__event-icon"
|
|
2902
2902
|
}, null, 8, ["icon"]),
|
|
2903
2903
|
createElementVNode("span", null, toDisplayString(getEventTime.value), 1)
|
|
2904
2904
|
]),
|
|
2905
|
-
event.value.location ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
2905
|
+
event.value.location ? (openBlock(), createElementBlock("div", _hoisted_4$n, [
|
|
2906
2906
|
createVNode(unref(Icon), {
|
|
2907
2907
|
icon: icons.value.location,
|
|
2908
2908
|
class: "calendar-week__event-icon"
|
|
2909
2909
|
}, null, 8, ["icon"]),
|
|
2910
2910
|
createElementVNode("span", null, toDisplayString(event.value.location), 1)
|
|
2911
2911
|
])) : createCommentVNode("", true),
|
|
2912
|
-
event.value.with ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
2912
|
+
event.value.with ? (openBlock(), createElementBlock("div", _hoisted_5$l, [
|
|
2913
2913
|
createVNode(unref(Icon), {
|
|
2914
2914
|
icon: icons.value.user,
|
|
2915
2915
|
class: "calendar-week__event-icon"
|
|
2916
2916
|
}, null, 8, ["icon"]),
|
|
2917
2917
|
createElementVNode("span", null, toDisplayString(event.value.with), 1)
|
|
2918
2918
|
])) : createCommentVNode("", true),
|
|
2919
|
-
event.value.topic ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
2919
|
+
event.value.topic ? (openBlock(), createElementBlock("div", _hoisted_6$i, [
|
|
2920
2920
|
createVNode(unref(Icon), {
|
|
2921
2921
|
icon: icons.value.topic,
|
|
2922
2922
|
class: "calendar-week__event-icon"
|
|
2923
2923
|
}, null, 8, ["icon"]),
|
|
2924
2924
|
createElementVNode("span", null, toDisplayString(event.value.topic), 1)
|
|
2925
2925
|
])) : createCommentVNode("", true),
|
|
2926
|
-
event.value.description ? (openBlock(), createElementBlock("div", _hoisted_7$
|
|
2926
|
+
event.value.description ? (openBlock(), createElementBlock("div", _hoisted_7$e, [
|
|
2927
2927
|
createVNode(unref(Icon), {
|
|
2928
2928
|
icon: icons.value.description,
|
|
2929
2929
|
class: "calendar-week__event-icon"
|
|
@@ -2953,13 +2953,13 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
2953
2953
|
class: "calendar-week__event-resize calendar-week__event-resize-down",
|
|
2954
2954
|
onMousedown: _cache[1] || (_cache[1] = ($event) => resizeEvent("down"))
|
|
2955
2955
|
}, null, 32)) : createCommentVNode("", true)
|
|
2956
|
-
], 46, _hoisted_1$
|
|
2956
|
+
], 46, _hoisted_1$Y);
|
|
2957
2957
|
};
|
|
2958
2958
|
}
|
|
2959
2959
|
});
|
|
2960
|
-
const DayEvent = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2961
|
-
const _hoisted_1$
|
|
2962
|
-
const _sfc_main$
|
|
2960
|
+
const DayEvent = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-c512b81d"]]);
|
|
2961
|
+
const _hoisted_1$X = ["id", "onClick"];
|
|
2962
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
2963
2963
|
__name: "Day",
|
|
2964
2964
|
props: {
|
|
2965
2965
|
day: {
|
|
@@ -3096,16 +3096,16 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
3096
3096
|
class: normalizeClass(["calendar-week__day-interval", { "has-border": interval.hasBorder }]),
|
|
3097
3097
|
style: normalizeStyle(intervalStyles.value),
|
|
3098
3098
|
onClick: ($event) => handleClickOnInterval(interval)
|
|
3099
|
-
}, toDisplayString(__props.time.getLocalizedTime(interval.intervalStart)), 15, _hoisted_1$
|
|
3099
|
+
}, toDisplayString(__props.time.getLocalizedTime(interval.intervalStart)), 15, _hoisted_1$X);
|
|
3100
3100
|
}), 128)) : createCommentVNode("", true)
|
|
3101
3101
|
]);
|
|
3102
3102
|
};
|
|
3103
3103
|
}
|
|
3104
3104
|
});
|
|
3105
|
-
const Day = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3106
|
-
const _hoisted_1$
|
|
3107
|
-
const _hoisted_2$
|
|
3108
|
-
const _sfc_main$
|
|
3105
|
+
const Day = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-87669cec"]]);
|
|
3106
|
+
const _hoisted_1$W = { class: "day-timeline absolute top-0 start-0 space-evenly column display-flex" };
|
|
3107
|
+
const _hoisted_2$H = { class: "day-timeline__hour-text line-height-0" };
|
|
3108
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
3109
3109
|
__name: "DayTimeline",
|
|
3110
3110
|
props: {
|
|
3111
3111
|
time: {
|
|
@@ -3131,27 +3131,27 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
3131
3131
|
return props2.time.getLocalizedHour(new Date(2100, 1, 1, hour));
|
|
3132
3132
|
}
|
|
3133
3133
|
return (_ctx, _cache) => {
|
|
3134
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3134
|
+
return openBlock(), createElementBlock("div", _hoisted_1$W, [
|
|
3135
3135
|
(openBlock(true), createElementBlock(Fragment, null, renderList(timelineHours.value, (hour) => {
|
|
3136
3136
|
return openBlock(), createElementBlock("div", {
|
|
3137
3137
|
key: hour,
|
|
3138
3138
|
class: "day-timeline__hour display-flex column ustify-content-start h-100p ps-05"
|
|
3139
3139
|
}, [
|
|
3140
|
-
createElementVNode("span", _hoisted_2$
|
|
3140
|
+
createElementVNode("span", _hoisted_2$H, toDisplayString(getLocaleTimeString(hour)), 1)
|
|
3141
3141
|
]);
|
|
3142
3142
|
}), 128))
|
|
3143
3143
|
]);
|
|
3144
3144
|
};
|
|
3145
3145
|
}
|
|
3146
3146
|
});
|
|
3147
|
-
const DayTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3148
|
-
const _hoisted_1$
|
|
3149
|
-
const _hoisted_2$
|
|
3147
|
+
const DayTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-0b3de5c5"]]);
|
|
3148
|
+
const _hoisted_1$V = ["id"];
|
|
3149
|
+
const _hoisted_2$G = {
|
|
3150
3150
|
key: 1,
|
|
3151
3151
|
class: "week-timeline__event"
|
|
3152
3152
|
};
|
|
3153
3153
|
const eventElementIdPrefix = "week-timeline__event-id-";
|
|
3154
|
-
const _sfc_main$
|
|
3154
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
3155
3155
|
__name: "FullDayEvent",
|
|
3156
3156
|
props: {
|
|
3157
3157
|
scheduleEvent: {
|
|
@@ -3217,21 +3217,21 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
3217
3217
|
zIndex: 1
|
|
3218
3218
|
}),
|
|
3219
3219
|
onClick: handleClickOnEvent
|
|
3220
|
-
}, toDisplayString(__props.scheduleEvent.title), 13, _hoisted_1$
|
|
3220
|
+
}, toDisplayString(__props.scheduleEvent.title), 13, _hoisted_1$V)) : (openBlock(), createElementBlock("div", _hoisted_2$G));
|
|
3221
3221
|
};
|
|
3222
3222
|
}
|
|
3223
3223
|
});
|
|
3224
|
-
const FullDayEvent = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3225
|
-
const _hoisted_1$
|
|
3224
|
+
const FullDayEvent = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-8bd51337"]]);
|
|
3225
|
+
const _hoisted_1$U = {
|
|
3226
3226
|
class: "week-timeline flex space-between border-bottom ms-3-5",
|
|
3227
3227
|
style: { "margin-inline-end": "0.5em" }
|
|
3228
3228
|
};
|
|
3229
|
-
const _hoisted_2$
|
|
3230
|
-
const _hoisted_3$
|
|
3231
|
-
const _hoisted_4$
|
|
3232
|
-
const _hoisted_5$
|
|
3233
|
-
const _hoisted_6$
|
|
3234
|
-
const _sfc_main$
|
|
3229
|
+
const _hoisted_2$F = ["onClick"];
|
|
3230
|
+
const _hoisted_3$y = { class: "flex justify-content-center gap-025 txt12 pb-025" };
|
|
3231
|
+
const _hoisted_4$m = { class: "" };
|
|
3232
|
+
const _hoisted_5$k = { class: "week-timeline__date txt14 round inline-flex justify-content-center" };
|
|
3233
|
+
const _hoisted_6$h = { class: "week-timeline__events" };
|
|
3234
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
3235
3235
|
__name: "WeekTimeline",
|
|
3236
3236
|
props: {
|
|
3237
3237
|
days: {},
|
|
@@ -3252,7 +3252,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
3252
3252
|
return date2;
|
|
3253
3253
|
}
|
|
3254
3254
|
return (_ctx, _cache) => {
|
|
3255
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3255
|
+
return openBlock(), createElementBlock("div", _hoisted_1$U, [
|
|
3256
3256
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.days, (day, dayIndex) => {
|
|
3257
3257
|
return openBlock(), createElementBlock("div", {
|
|
3258
3258
|
key: dayIndex,
|
|
@@ -3261,11 +3261,11 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
3261
3261
|
}]),
|
|
3262
3262
|
onClick: ($event) => emit2("dayWasClicked", _ctx.time.dateStringFrom(day.dateTimeString))
|
|
3263
3263
|
}, [
|
|
3264
|
-
createElementVNode("div", _hoisted_3$
|
|
3265
|
-
createElementVNode("div", _hoisted_4$
|
|
3266
|
-
createElementVNode("div", _hoisted_5$
|
|
3264
|
+
createElementVNode("div", _hoisted_3$y, [
|
|
3265
|
+
createElementVNode("div", _hoisted_4$m, toDisplayString(day.dayName.charAt(0).toUpperCase() + day.dayName.slice(1, 3).toLowerCase()), 1),
|
|
3266
|
+
createElementVNode("div", _hoisted_5$k, toDisplayString(getDaysDate(day)), 1)
|
|
3267
3267
|
]),
|
|
3268
|
-
createElementVNode("div", _hoisted_6$
|
|
3268
|
+
createElementVNode("div", _hoisted_6$h, [
|
|
3269
3269
|
(openBlock(true), createElementBlock(Fragment, null, renderList(day.fullDayEvents, (event, key) => {
|
|
3270
3270
|
return openBlock(), createElementBlock(Fragment, { key }, [
|
|
3271
3271
|
key !== "date" ? (openBlock(), createBlock(FullDayEvent, {
|
|
@@ -3278,17 +3278,17 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
3278
3278
|
], 64);
|
|
3279
3279
|
}), 128))
|
|
3280
3280
|
])
|
|
3281
|
-
], 10, _hoisted_2$
|
|
3281
|
+
], 10, _hoisted_2$F);
|
|
3282
3282
|
}), 128))
|
|
3283
3283
|
]);
|
|
3284
3284
|
};
|
|
3285
3285
|
}
|
|
3286
3286
|
});
|
|
3287
|
-
const WeekTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3288
|
-
const _hoisted_1$
|
|
3289
|
-
const _hoisted_2$
|
|
3290
|
-
const _hoisted_3$
|
|
3291
|
-
const _sfc_main$
|
|
3287
|
+
const WeekTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-18ecf6c3"]]);
|
|
3288
|
+
const _hoisted_1$T = { class: "calendar-week__wrapper relative ps-3-5" };
|
|
3289
|
+
const _hoisted_2$E = { class: "calendar-week" };
|
|
3290
|
+
const _hoisted_3$x = { class: "calendar-week__events" };
|
|
3291
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
3292
3292
|
__name: "Week",
|
|
3293
3293
|
props: {
|
|
3294
3294
|
config: {
|
|
@@ -3514,8 +3514,8 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
3514
3514
|
onEventWasClicked: handleClickOnEvent,
|
|
3515
3515
|
onDayWasClicked: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("dayWasClicked", $event))
|
|
3516
3516
|
}, null, 8, ["days", "time", "full-day-events", "config", "mode"]),
|
|
3517
|
-
createElementVNode("div", _hoisted_1$
|
|
3518
|
-
!__props.config.eventDialog || !__props.config.eventDialog.isDisabled ? (openBlock(), createBlock(_sfc_main$
|
|
3517
|
+
createElementVNode("div", _hoisted_1$T, [
|
|
3518
|
+
!__props.config.eventDialog || !__props.config.eventDialog.isDisabled ? (openBlock(), createBlock(_sfc_main$1c, {
|
|
3519
3519
|
key: 0,
|
|
3520
3520
|
"calendar-event-prop": selectedEvent.value,
|
|
3521
3521
|
"event-element": selectedEventElement.value,
|
|
@@ -3533,7 +3533,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
3533
3533
|
]),
|
|
3534
3534
|
_: 3
|
|
3535
3535
|
}, 8, ["calendar-event-prop", "event-element", "time", "config"])) : createCommentVNode("", true),
|
|
3536
|
-
createElementVNode("section", _hoisted_2$
|
|
3536
|
+
createElementVNode("section", _hoisted_2$E, [
|
|
3537
3537
|
hasCustomCurrentTimeSlot.value && showCurrentTime.value ? (openBlock(), createElementBlock("div", {
|
|
3538
3538
|
key: 0,
|
|
3539
3539
|
class: "custom-current-time",
|
|
@@ -3553,7 +3553,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
3553
3553
|
"day-intervals": dayIntervals.value,
|
|
3554
3554
|
"week-height": weekHeight.value
|
|
3555
3555
|
}, null, 8, ["time", "day-intervals", "week-height"])),
|
|
3556
|
-
createElementVNode("div", _hoisted_3$
|
|
3556
|
+
createElementVNode("div", _hoisted_3$x, [
|
|
3557
3557
|
(openBlock(true), createElementBlock(Fragment, null, renderList(days.value, (day, dayIndex) => {
|
|
3558
3558
|
return openBlock(), createBlock(Day, {
|
|
3559
3559
|
key: day.dateTimeString + mode.value + weekVersion.value,
|
|
@@ -3586,7 +3586,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
3586
3586
|
};
|
|
3587
3587
|
}
|
|
3588
3588
|
});
|
|
3589
|
-
const Week = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3589
|
+
const Week = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-f1a405b2"]]);
|
|
3590
3590
|
const _Errors = class _Errors {
|
|
3591
3591
|
static checkEventProperties(event) {
|
|
3592
3592
|
var _a, _b, _c, _d;
|
|
@@ -3635,13 +3635,13 @@ ${_Errors.SUFFIX}`);
|
|
|
3635
3635
|
__publicField(_Errors, "MISSING_TIME_END_WARNING", `${_Errors.PREFIX} required event property 'time.end' is missing
|
|
3636
3636
|
${_Errors.SUFFIX}`);
|
|
3637
3637
|
let Errors = _Errors;
|
|
3638
|
-
const _hoisted_1$
|
|
3639
|
-
const _hoisted_2$
|
|
3640
|
-
const _hoisted_3$
|
|
3638
|
+
const _hoisted_1$S = { class: "calendar-root-wrapper txt16" };
|
|
3639
|
+
const _hoisted_2$D = ["data-lang"];
|
|
3640
|
+
const _hoisted_3$w = {
|
|
3641
3641
|
key: 0,
|
|
3642
3642
|
class: "top-bar-loader"
|
|
3643
3643
|
};
|
|
3644
|
-
const _sfc_main$
|
|
3644
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
3645
3645
|
__name: "Index",
|
|
3646
3646
|
props: {
|
|
3647
3647
|
config: {
|
|
@@ -3815,7 +3815,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
3815
3815
|
}
|
|
3816
3816
|
return (_ctx, _cache) => {
|
|
3817
3817
|
var _a2, _b2;
|
|
3818
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3818
|
+
return openBlock(), createElementBlock("div", _hoisted_1$S, [
|
|
3819
3819
|
createElementVNode("div", {
|
|
3820
3820
|
ref_key: "calendarRoot",
|
|
3821
3821
|
ref: calendarRoot,
|
|
@@ -3829,11 +3829,11 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
3829
3829
|
}, [
|
|
3830
3830
|
createVNode(Transition, { name: "loading" }, {
|
|
3831
3831
|
default: withCtx(() => [
|
|
3832
|
-
__props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
3832
|
+
__props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_3$w)) : createCommentVNode("", true)
|
|
3833
3833
|
]),
|
|
3834
3834
|
_: 1
|
|
3835
3835
|
}),
|
|
3836
|
-
(openBlock(), createBlock(_sfc_main$
|
|
3836
|
+
(openBlock(), createBlock(_sfc_main$1f, {
|
|
3837
3837
|
ref_key: "appHeaderRef",
|
|
3838
3838
|
ref: appHeaderRef,
|
|
3839
3839
|
key: wasInitialized.value + mode.value,
|
|
@@ -3885,7 +3885,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
3885
3885
|
]),
|
|
3886
3886
|
_: 3
|
|
3887
3887
|
}, 8, ["events-prop", "period", "config", "mode-prop", "time"])) : createCommentVNode("", true),
|
|
3888
|
-
mode.value === "month" ? (openBlock(), createBlock(_sfc_main$
|
|
3888
|
+
mode.value === "month" ? (openBlock(), createBlock(_sfc_main$18, {
|
|
3889
3889
|
key: period.value.start.getTime() + period.value.end.getTime() + eventRenderingKey.value,
|
|
3890
3890
|
"events-prop": eventsDataProperty.value,
|
|
3891
3891
|
time: time.value,
|
|
@@ -3914,16 +3914,16 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
3914
3914
|
]),
|
|
3915
3915
|
_: 3
|
|
3916
3916
|
}, 8, ["events-prop", "time", "config", "period"])) : createCommentVNode("", true)
|
|
3917
|
-
], 10, _hoisted_2$
|
|
3917
|
+
], 10, _hoisted_2$D)
|
|
3918
3918
|
]);
|
|
3919
3919
|
};
|
|
3920
3920
|
}
|
|
3921
3921
|
});
|
|
3922
|
-
const _hoisted_1$
|
|
3922
|
+
const _hoisted_1$R = {
|
|
3923
3923
|
key: 0,
|
|
3924
3924
|
class: "card_label"
|
|
3925
3925
|
};
|
|
3926
|
-
const _sfc_main
|
|
3926
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
3927
3927
|
__name: "Card",
|
|
3928
3928
|
props: {
|
|
3929
3929
|
label: {},
|
|
@@ -3952,7 +3952,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
3952
3952
|
}])
|
|
3953
3953
|
}, {
|
|
3954
3954
|
default: withCtx(() => [
|
|
3955
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
3955
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$R, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
3956
3956
|
renderSlot(_ctx.$slots, "default")
|
|
3957
3957
|
]),
|
|
3958
3958
|
_: 3
|
|
@@ -3962,16 +3962,16 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
3962
3962
|
};
|
|
3963
3963
|
}
|
|
3964
3964
|
});
|
|
3965
|
-
const _hoisted_1$
|
|
3966
|
-
const _hoisted_2$
|
|
3965
|
+
const _hoisted_1$Q = ["dir"];
|
|
3966
|
+
const _hoisted_2$C = {
|
|
3967
3967
|
key: 0,
|
|
3968
3968
|
class: "dots"
|
|
3969
3969
|
};
|
|
3970
|
-
const _hoisted_3$
|
|
3971
|
-
const _hoisted_4$
|
|
3970
|
+
const _hoisted_3$v = ["onClick"];
|
|
3971
|
+
const _hoisted_4$l = { class: "Handlers" };
|
|
3972
3972
|
const GAP_PERCENT = 1;
|
|
3973
3973
|
const VELOCITY_SAMPLE_DURATION = 100;
|
|
3974
|
-
const _sfc_main
|
|
3974
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
3975
3975
|
__name: "Carousel",
|
|
3976
3976
|
props: {
|
|
3977
3977
|
autoHeight: { type: Boolean, default: false },
|
|
@@ -4397,16 +4397,16 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
4397
4397
|
}, [
|
|
4398
4398
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
4399
4399
|
], 38),
|
|
4400
|
-
props2.dots && unref(slideCount) > 1 ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
4400
|
+
props2.dots && unref(slideCount) > 1 ? (openBlock(), createElementBlock("div", _hoisted_2$C, [
|
|
4401
4401
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(slideCount), (i2) => {
|
|
4402
4402
|
return openBlock(), createElementBlock("span", {
|
|
4403
4403
|
key: i2,
|
|
4404
4404
|
class: normalizeClass(["dot", { current: unref(activeSlideIndex) === i2 - 1 }]),
|
|
4405
4405
|
onClick: ($event) => goToSlide(i2 - 1)
|
|
4406
|
-
}, null, 10, _hoisted_3$
|
|
4406
|
+
}, null, 10, _hoisted_3$v);
|
|
4407
4407
|
}), 128))
|
|
4408
4408
|
])) : createCommentVNode("", true),
|
|
4409
|
-
createElementVNode("div", _hoisted_4$
|
|
4409
|
+
createElementVNode("div", _hoisted_4$l, [
|
|
4410
4410
|
createElementVNode("span", { onClick: prev }, [
|
|
4411
4411
|
renderSlot(_ctx.$slots, "prev", {
|
|
4412
4412
|
index: unref(activeSlideIndex),
|
|
@@ -4420,11 +4420,11 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
4420
4420
|
}, void 0, true)
|
|
4421
4421
|
])
|
|
4422
4422
|
])
|
|
4423
|
-
], 14, _hoisted_1$
|
|
4423
|
+
], 14, _hoisted_1$Q);
|
|
4424
4424
|
};
|
|
4425
4425
|
}
|
|
4426
4426
|
});
|
|
4427
|
-
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
4427
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-31632a3b"]]);
|
|
4428
4428
|
function _isPlaceholder(a2) {
|
|
4429
4429
|
return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
|
|
4430
4430
|
}
|
|
@@ -9335,7 +9335,7 @@ const _hoisted_4$2$1 = {
|
|
|
9335
9335
|
};
|
|
9336
9336
|
const _hoisted_5$2$1 = ["x1", "y1", "x2", "y2"];
|
|
9337
9337
|
const _hoisted_6$2$1 = ["x1", "y1", "x2", "y2"];
|
|
9338
|
-
const _hoisted_7$
|
|
9338
|
+
const _hoisted_7$d = ["x1", "y1", "x2", "y2"];
|
|
9339
9339
|
function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9340
9340
|
return _ctx.data.length ? (openBlock(), createElementBlock("g", {
|
|
9341
9341
|
key: 0,
|
|
@@ -9391,7 +9391,7 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9391
9391
|
y1: _ctx.canvas.y,
|
|
9392
9392
|
x2: _ctx.canvas.width - 1,
|
|
9393
9393
|
y2: _ctx.canvas.height
|
|
9394
|
-
}, null, 8, _hoisted_7$
|
|
9394
|
+
}, null, 8, _hoisted_7$d)
|
|
9395
9395
|
])
|
|
9396
9396
|
], 8, _hoisted_1$4$1)) : createCommentVNode("v-if", true);
|
|
9397
9397
|
}
|
|
@@ -10258,10 +10258,10 @@ const _hoisted_1$1$1 = {
|
|
|
10258
10258
|
style: { display: "flex", position: "relative" }
|
|
10259
10259
|
};
|
|
10260
10260
|
const _hoisted_2$1$1 = ["width", "height", "viewBox"];
|
|
10261
|
-
const _hoisted_3$
|
|
10262
|
-
const _hoisted_4$
|
|
10263
|
-
const _hoisted_5$
|
|
10264
|
-
const _hoisted_6$
|
|
10261
|
+
const _hoisted_3$u = { class: "layer-rectangles" };
|
|
10262
|
+
const _hoisted_4$k = ["transform", "onMouseover"];
|
|
10263
|
+
const _hoisted_5$j = ["width", "height"];
|
|
10264
|
+
const _hoisted_6$g = {
|
|
10265
10265
|
x: 0 + 10,
|
|
10266
10266
|
y: 0 + 20,
|
|
10267
10267
|
"font-size": `15px`,
|
|
@@ -10276,7 +10276,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10276
10276
|
viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
|
|
10277
10277
|
ref: "el"
|
|
10278
10278
|
}, [
|
|
10279
|
-
createElementVNode("g", _hoisted_3$
|
|
10279
|
+
createElementVNode("g", _hoisted_3$u, [
|
|
10280
10280
|
(openBlock(true), createElementBlock(
|
|
10281
10281
|
Fragment,
|
|
10282
10282
|
null,
|
|
@@ -10297,21 +10297,21 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10297
10297
|
y: 0,
|
|
10298
10298
|
width: r2.width,
|
|
10299
10299
|
height: r2.height
|
|
10300
|
-
}), null, 16, _hoisted_5$
|
|
10300
|
+
}), null, 16, _hoisted_5$j),
|
|
10301
10301
|
renderSlot(_ctx.$slots, "text", {
|
|
10302
10302
|
r: r2,
|
|
10303
10303
|
selected: _ctx.selected === i2
|
|
10304
10304
|
}, () => [
|
|
10305
10305
|
createElementVNode(
|
|
10306
10306
|
"text",
|
|
10307
|
-
_hoisted_6$
|
|
10307
|
+
_hoisted_6$g,
|
|
10308
10308
|
toDisplayString(r2.data.name),
|
|
10309
10309
|
1
|
|
10310
10310
|
/* TEXT */
|
|
10311
10311
|
)
|
|
10312
10312
|
])
|
|
10313
10313
|
])
|
|
10314
|
-
], 42, _hoisted_4$
|
|
10314
|
+
], 42, _hoisted_4$k);
|
|
10315
10315
|
}),
|
|
10316
10316
|
128
|
|
10317
10317
|
/* KEYED_FRAGMENT */
|
|
@@ -10368,25 +10368,25 @@ var script = defineComponent({
|
|
|
10368
10368
|
return { bar, canvas, direction, mouse };
|
|
10369
10369
|
}
|
|
10370
10370
|
});
|
|
10371
|
-
const _hoisted_1$
|
|
10371
|
+
const _hoisted_1$P = {
|
|
10372
10372
|
key: 0,
|
|
10373
10373
|
class: "layer-hover-bar"
|
|
10374
10374
|
};
|
|
10375
|
-
const _hoisted_2$
|
|
10375
|
+
const _hoisted_2$B = ["x", "y", "width", "height"];
|
|
10376
10376
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10377
|
-
return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$
|
|
10377
|
+
return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$P, [
|
|
10378
10378
|
createElementVNode("rect", mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
|
|
10379
10379
|
x: _ctx.bar.x,
|
|
10380
10380
|
y: _ctx.bar.y,
|
|
10381
10381
|
width: _ctx.bar.width > 0 ? _ctx.bar.width : 0,
|
|
10382
10382
|
height: _ctx.bar.height > 0 ? _ctx.bar.height : 0
|
|
10383
|
-
}), null, 16, _hoisted_2$
|
|
10383
|
+
}), null, 16, _hoisted_2$B)
|
|
10384
10384
|
])) : createCommentVNode("v-if", true);
|
|
10385
10385
|
}
|
|
10386
10386
|
script.render = render;
|
|
10387
10387
|
script.__file = "src/components/HoverBar/index.vue";
|
|
10388
10388
|
const BRAND_COLOR = "var(--bgl-primary)";
|
|
10389
|
-
const _sfc_main$
|
|
10389
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
10390
10390
|
__name: "Lineart",
|
|
10391
10391
|
props: {
|
|
10392
10392
|
data: {},
|
|
@@ -10536,8 +10536,8 @@ function useSchemaField(optns) {
|
|
|
10536
10536
|
text: TextInput,
|
|
10537
10537
|
textarea: TextInput,
|
|
10538
10538
|
number: NumberInput,
|
|
10539
|
-
array: _sfc_main$
|
|
10540
|
-
color: _sfc_main$
|
|
10539
|
+
array: _sfc_main$S,
|
|
10540
|
+
color: _sfc_main$O,
|
|
10541
10541
|
tel: TelInput,
|
|
10542
10542
|
select: SelectInput,
|
|
10543
10543
|
toggle: ToggleInput,
|
|
@@ -10547,7 +10547,7 @@ function useSchemaField(optns) {
|
|
|
10547
10547
|
file: UploadInput,
|
|
10548
10548
|
date: DateInput,
|
|
10549
10549
|
tabs: TabsNav,
|
|
10550
|
-
form: _sfc_main$
|
|
10550
|
+
form: _sfc_main$T
|
|
10551
10551
|
};
|
|
10552
10552
|
if (field.$el === "textarea" && !((_a = field.attrs) == null ? void 0 : _a.multiline)) {
|
|
10553
10553
|
field.attrs = { ...field.attrs, multiline: true };
|
|
@@ -10760,8 +10760,8 @@ function useTableData(options) {
|
|
|
10760
10760
|
toggleSort
|
|
10761
10761
|
};
|
|
10762
10762
|
}
|
|
10763
|
-
const _hoisted_1$
|
|
10764
|
-
const _sfc_main$
|
|
10763
|
+
const _hoisted_1$O = { class: "data-preview" };
|
|
10764
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
10765
10765
|
__name: "DataPreview",
|
|
10766
10766
|
props: {
|
|
10767
10767
|
schema: { type: Function },
|
|
@@ -10792,7 +10792,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
10792
10792
|
includeUnset: props2.includeUnset
|
|
10793
10793
|
});
|
|
10794
10794
|
return (_ctx, _cache) => {
|
|
10795
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
10795
|
+
return openBlock(), createElementBlock("div", _hoisted_1$O, [
|
|
10796
10796
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(computedSchema), (field) => {
|
|
10797
10797
|
return openBlock(), createBlock(resolveDynamicComponent(unref(renderField)(field, unref(slots))), {
|
|
10798
10798
|
key: field.id
|
|
@@ -10802,7 +10802,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
10802
10802
|
};
|
|
10803
10803
|
}
|
|
10804
10804
|
});
|
|
10805
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10805
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-74c7df87"]]);
|
|
10806
10806
|
function useTableSelection(options) {
|
|
10807
10807
|
const allSelectorEl = ref();
|
|
10808
10808
|
const computedSelectedItems = computed(() => options.selectedItems.value);
|
|
@@ -11431,20 +11431,20 @@ function useTableVirtualization(options) {
|
|
|
11431
11431
|
registerLastItemObserver
|
|
11432
11432
|
};
|
|
11433
11433
|
}
|
|
11434
|
-
const _hoisted_1$
|
|
11434
|
+
const _hoisted_1$N = {
|
|
11435
11435
|
key: 0,
|
|
11436
11436
|
class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
|
|
11437
11437
|
};
|
|
11438
|
-
const _hoisted_2$
|
|
11439
|
-
const _hoisted_3$
|
|
11440
|
-
const _hoisted_4$
|
|
11441
|
-
const _hoisted_5$
|
|
11442
|
-
const _hoisted_6$
|
|
11443
|
-
const _hoisted_7$
|
|
11438
|
+
const _hoisted_2$A = { class: "infinite-wrapper" };
|
|
11439
|
+
const _hoisted_3$t = { class: "row first-row" };
|
|
11440
|
+
const _hoisted_4$j = { key: 0 };
|
|
11441
|
+
const _hoisted_5$i = ["onClick"];
|
|
11442
|
+
const _hoisted_6$f = { class: "flex" };
|
|
11443
|
+
const _hoisted_7$c = ["onClick"];
|
|
11444
11444
|
const _hoisted_8$7 = { key: 0 };
|
|
11445
11445
|
const _hoisted_9$6 = ["value"];
|
|
11446
11446
|
const _hoisted_10$6 = { key: 1 };
|
|
11447
|
-
const _sfc_main$
|
|
11447
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
11448
11448
|
__name: "DataTable",
|
|
11449
11449
|
props: /* @__PURE__ */ mergeModels({
|
|
11450
11450
|
data: {},
|
|
@@ -11564,12 +11564,12 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
11564
11564
|
return openBlock(), createElementBlock("div", mergeProps({ class: "table-list-wrap h-100" }, unref(containerProps), {
|
|
11565
11565
|
class: { "loading-table": loading.value }
|
|
11566
11566
|
}), [
|
|
11567
|
-
loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
11567
|
+
loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$N, _cache[4] || (_cache[4] = [
|
|
11568
11568
|
createElementVNode("div", { class: "loading-table-animation absolute oval" }, null, -1)
|
|
11569
11569
|
]))) : (openBlock(), createElementBlock("div", normalizeProps(mergeProps({ key: 1 }, unref(wrapperProps))), [
|
|
11570
|
-
createElementVNode("table", _hoisted_2$
|
|
11571
|
-
createElementVNode("thead", _hoisted_3$
|
|
11572
|
-
unref(isSelectable) ? (openBlock(), createElementBlock("th", _hoisted_4$
|
|
11570
|
+
createElementVNode("table", _hoisted_2$A, [
|
|
11571
|
+
createElementVNode("thead", _hoisted_3$t, [
|
|
11572
|
+
unref(isSelectable) ? (openBlock(), createElementBlock("th", _hoisted_4$j, [
|
|
11573
11573
|
createElementVNode("input", {
|
|
11574
11574
|
ref_key: "allSelectorEl",
|
|
11575
11575
|
ref: allSelectorEl,
|
|
@@ -11586,7 +11586,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
11586
11586
|
class: "col",
|
|
11587
11587
|
onClick: ($event) => unref(toggleSort)((field == null ? void 0 : field.id) || "")
|
|
11588
11588
|
}, [
|
|
11589
|
-
createElementVNode("div", _hoisted_6$
|
|
11589
|
+
createElementVNode("div", _hoisted_6$f, [
|
|
11590
11590
|
createTextVNode(toDisplayString(field.label || unref(keyToLabel)(field.id)) + " ", 1),
|
|
11591
11591
|
createElementVNode("div", {
|
|
11592
11592
|
class: normalizeClass(["list-arrows", { sorted: unref(sortField) === field.id }])
|
|
@@ -11597,7 +11597,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
11597
11597
|
}, null, 8, ["class"])
|
|
11598
11598
|
], 2)
|
|
11599
11599
|
])
|
|
11600
|
-
], 8, _hoisted_5$
|
|
11600
|
+
], 8, _hoisted_5$i);
|
|
11601
11601
|
}), 128))
|
|
11602
11602
|
]),
|
|
11603
11603
|
createElementVNode("tbody", null, [
|
|
@@ -11635,7 +11635,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
11635
11635
|
]))
|
|
11636
11636
|
]);
|
|
11637
11637
|
}), 128))
|
|
11638
|
-
], 10, _hoisted_7$
|
|
11638
|
+
], 10, _hoisted_7$c);
|
|
11639
11639
|
}), 128)),
|
|
11640
11640
|
props2.onLastItemVisible !== void 0 ? (openBlock(), createElementBlock("tr", {
|
|
11641
11641
|
key: 0,
|
|
@@ -11650,7 +11650,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
11650
11650
|
};
|
|
11651
11651
|
}
|
|
11652
11652
|
});
|
|
11653
|
-
const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11653
|
+
const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-89f6838b"]]);
|
|
11654
11654
|
function useDraggable(options = {}) {
|
|
11655
11655
|
const isDragging = ref(false);
|
|
11656
11656
|
const dragElement = ref(null);
|
|
@@ -12125,7 +12125,7 @@ function useDraggable(options = {}) {
|
|
|
12125
12125
|
initDraggableContainer
|
|
12126
12126
|
};
|
|
12127
12127
|
}
|
|
12128
|
-
const _sfc_main$
|
|
12128
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
12129
12129
|
__name: "Draggable",
|
|
12130
12130
|
props: {
|
|
12131
12131
|
modelValue: {},
|
|
@@ -14745,7 +14745,7 @@ const Gt = {
|
|
|
14745
14745
|
install: Ct,
|
|
14746
14746
|
options: h
|
|
14747
14747
|
};
|
|
14748
|
-
const _sfc_main$
|
|
14748
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
14749
14749
|
__name: "Dropdown",
|
|
14750
14750
|
props: /* @__PURE__ */ mergeModels({
|
|
14751
14751
|
value: {},
|
|
@@ -14828,9 +14828,9 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
14828
14828
|
};
|
|
14829
14829
|
}
|
|
14830
14830
|
});
|
|
14831
|
-
const _hoisted_1$
|
|
14832
|
-
const _hoisted_2$
|
|
14833
|
-
const _sfc_main$
|
|
14831
|
+
const _hoisted_1$M = { class: "px-1 pt-025 pb-1" };
|
|
14832
|
+
const _hoisted_2$z = { class: "ms-1" };
|
|
14833
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
14834
14834
|
__name: "FieldSetVue",
|
|
14835
14835
|
props: {
|
|
14836
14836
|
label: {},
|
|
@@ -14838,15 +14838,15 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
14838
14838
|
},
|
|
14839
14839
|
setup(__props) {
|
|
14840
14840
|
return (_ctx, _cache) => {
|
|
14841
|
-
return openBlock(), createElementBlock("fieldset", _hoisted_1$
|
|
14842
|
-
createElementVNode("legend", _hoisted_2$
|
|
14841
|
+
return openBlock(), createElementBlock("fieldset", _hoisted_1$M, [
|
|
14842
|
+
createElementVNode("legend", _hoisted_2$z, toDisplayString(_ctx.legend || _ctx.label), 1),
|
|
14843
14843
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
14844
14844
|
]);
|
|
14845
14845
|
};
|
|
14846
14846
|
}
|
|
14847
14847
|
});
|
|
14848
|
-
const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14849
|
-
const _sfc_main$
|
|
14848
|
+
const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-f7e758e5"]]);
|
|
14849
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
14850
14850
|
__name: "Flag",
|
|
14851
14851
|
props: {
|
|
14852
14852
|
country: {},
|
|
@@ -14876,7 +14876,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
14876
14876
|
};
|
|
14877
14877
|
}
|
|
14878
14878
|
});
|
|
14879
|
-
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14879
|
+
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-f99f1900"]]);
|
|
14880
14880
|
function getBaseField(id, labelOrRest = {}, rest = {}) {
|
|
14881
14881
|
if (typeof labelOrRest === "object") return { id, ...labelOrRest };
|
|
14882
14882
|
return { id, label: labelOrRest, ...rest };
|
|
@@ -15269,7 +15269,7 @@ function getNestedValue(obj, path, defaultValue = void 0) {
|
|
|
15269
15269
|
}
|
|
15270
15270
|
return current ?? defaultValue;
|
|
15271
15271
|
}
|
|
15272
|
-
const _sfc_main$
|
|
15272
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
15273
15273
|
__name: "BagelForm",
|
|
15274
15274
|
props: {
|
|
15275
15275
|
modelValue: { default: void 0 },
|
|
@@ -15403,13 +15403,13 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
15403
15403
|
};
|
|
15404
15404
|
}
|
|
15405
15405
|
});
|
|
15406
|
-
const _hoisted_1$
|
|
15407
|
-
const _hoisted_2$
|
|
15406
|
+
const _hoisted_1$L = { class: "label mb-05" };
|
|
15407
|
+
const _hoisted_2$y = {
|
|
15408
15408
|
key: 0,
|
|
15409
15409
|
class: "ps-025 border-start mb-05"
|
|
15410
15410
|
};
|
|
15411
|
-
const _hoisted_3$
|
|
15412
|
-
const _sfc_main$
|
|
15411
|
+
const _hoisted_3$s = { class: "bg-gray-80 -my-05 px-025 pt-065 txt-center" };
|
|
15412
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
15413
15413
|
__name: "FieldArray",
|
|
15414
15414
|
props: {
|
|
15415
15415
|
el: { default: "div" },
|
|
@@ -15477,8 +15477,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
15477
15477
|
return openBlock(), createElementBlock("div", {
|
|
15478
15478
|
class: normalizeClass(props2.class)
|
|
15479
15479
|
}, [
|
|
15480
|
-
createElementVNode("p", _hoisted_1$
|
|
15481
|
-
_ctx.schema ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
15480
|
+
createElementVNode("p", _hoisted_1$L, toDisplayString(_ctx.label), 1),
|
|
15481
|
+
_ctx.schema ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
|
|
15482
15482
|
(openBlock(true), createElementBlock(Fragment, null, renderList(data2.value, (_2, i2) => {
|
|
15483
15483
|
return openBlock(), createElementBlock("div", {
|
|
15484
15484
|
key: i2,
|
|
@@ -15486,12 +15486,12 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
15486
15486
|
thin: "",
|
|
15487
15487
|
class: "mb-05 itemBox transition ps-05 pb-025 pt-025 radius-05 gap-05 overflow-hidden"
|
|
15488
15488
|
}, [
|
|
15489
|
-
createVNode(unref(_sfc_main$
|
|
15489
|
+
createVNode(unref(_sfc_main$T), {
|
|
15490
15490
|
modelValue: data2.value[i2],
|
|
15491
15491
|
"onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
|
|
15492
15492
|
schema: _ctx.schema
|
|
15493
15493
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "schema"]),
|
|
15494
|
-
createElementVNode("div", _hoisted_3$
|
|
15494
|
+
createElementVNode("div", _hoisted_3$s, [
|
|
15495
15495
|
props2.delete ? (openBlock(), createBlock(unref(Btn), {
|
|
15496
15496
|
key: 0,
|
|
15497
15497
|
icon: "delete",
|
|
@@ -15526,8 +15526,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
15526
15526
|
};
|
|
15527
15527
|
}
|
|
15528
15528
|
});
|
|
15529
|
-
const _hoisted_1$
|
|
15530
|
-
const _sfc_main$
|
|
15529
|
+
const _hoisted_1$K = { class: "primary-checkbox" };
|
|
15530
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
15531
15531
|
__name: "Checkbox",
|
|
15532
15532
|
props: {
|
|
15533
15533
|
"modelValue": { type: Boolean, ...{ default: false } },
|
|
@@ -15537,7 +15537,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
15537
15537
|
setup(__props) {
|
|
15538
15538
|
const val = useModel(__props, "modelValue");
|
|
15539
15539
|
return (_ctx, _cache) => {
|
|
15540
|
-
return openBlock(), createElementBlock("label", _hoisted_1$
|
|
15540
|
+
return openBlock(), createElementBlock("label", _hoisted_1$K, [
|
|
15541
15541
|
renderSlot(_ctx.$slots, "label", {}, void 0, true),
|
|
15542
15542
|
withDirectives(createElementVNode("input", {
|
|
15543
15543
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
|
|
@@ -15549,11 +15549,11 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
15549
15549
|
};
|
|
15550
15550
|
}
|
|
15551
15551
|
});
|
|
15552
|
-
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15553
|
-
const _hoisted_1$
|
|
15554
|
-
const _hoisted_2$
|
|
15555
|
-
const _hoisted_3$
|
|
15556
|
-
const _sfc_main$
|
|
15552
|
+
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-73f1d9ad"]]);
|
|
15553
|
+
const _hoisted_1$J = ["title"];
|
|
15554
|
+
const _hoisted_2$x = ["id", "value", "required"];
|
|
15555
|
+
const _hoisted_3$r = ["for"];
|
|
15556
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
15557
15557
|
__name: "CheckInput",
|
|
15558
15558
|
props: /* @__PURE__ */ mergeModels({
|
|
15559
15559
|
label: {},
|
|
@@ -15587,32 +15587,32 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
15587
15587
|
required: _ctx.required,
|
|
15588
15588
|
type: "checkbox",
|
|
15589
15589
|
class: "me-05"
|
|
15590
|
-
}, null, 8, _hoisted_2$
|
|
15590
|
+
}, null, 8, _hoisted_2$x), [
|
|
15591
15591
|
[vModelCheckbox, checked.value]
|
|
15592
15592
|
]),
|
|
15593
15593
|
createElementVNode("label", { for: inputId.value }, [
|
|
15594
15594
|
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
15595
15595
|
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
15596
15596
|
], true)
|
|
15597
|
-
], 8, _hoisted_3$
|
|
15598
|
-
], 10, _hoisted_1$
|
|
15597
|
+
], 8, _hoisted_3$r)
|
|
15598
|
+
], 10, _hoisted_1$J);
|
|
15599
15599
|
};
|
|
15600
15600
|
}
|
|
15601
15601
|
});
|
|
15602
|
-
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15603
|
-
const _hoisted_1$
|
|
15604
|
-
const _hoisted_2$
|
|
15602
|
+
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-03ed2982"]]);
|
|
15603
|
+
const _hoisted_1$I = { class: "mb-05" };
|
|
15604
|
+
const _hoisted_2$w = {
|
|
15605
15605
|
key: 0,
|
|
15606
15606
|
class: "label txt-start"
|
|
15607
15607
|
};
|
|
15608
|
-
const _hoisted_3$
|
|
15608
|
+
const _hoisted_3$q = {
|
|
15609
15609
|
key: 1,
|
|
15610
15610
|
class: "code-editor-wrap grid rounded p-1 overflow hm-300px ltr txt-start relative h-100p"
|
|
15611
15611
|
};
|
|
15612
|
-
const _hoisted_4$
|
|
15613
|
-
const _hoisted_5$
|
|
15614
|
-
const _hoisted_6$
|
|
15615
|
-
const _sfc_main$
|
|
15612
|
+
const _hoisted_4$i = { class: "overflow-hidden absolute inset-0 p-0 m-0 h-100 codeText" };
|
|
15613
|
+
const _hoisted_5$h = ["innerHTML"];
|
|
15614
|
+
const _hoisted_6$e = ["onKeydown"];
|
|
15615
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
15616
15616
|
__name: "Index",
|
|
15617
15617
|
props: {
|
|
15618
15618
|
language: {},
|
|
@@ -15694,19 +15694,19 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
15694
15694
|
}
|
|
15695
15695
|
}, { immediate: true });
|
|
15696
15696
|
return (_ctx, _cache) => {
|
|
15697
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15698
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
15699
|
-
unref(loaded) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
15697
|
+
return openBlock(), createElementBlock("div", _hoisted_1$I, [
|
|
15698
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$w, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
15699
|
+
unref(loaded) ? (openBlock(), createElementBlock("div", _hoisted_3$q, [
|
|
15700
15700
|
createElementVNode("div", {
|
|
15701
15701
|
class: "relative block h-100",
|
|
15702
15702
|
style: normalizeStyle({ height: `calc(${unref(elHeight)} - 2rem)` })
|
|
15703
15703
|
}, [
|
|
15704
|
-
createElementVNode("pre", _hoisted_4$
|
|
15704
|
+
createElementVNode("pre", _hoisted_4$i, [
|
|
15705
15705
|
_cache[2] || (_cache[2] = createTextVNode(" ")),
|
|
15706
15706
|
createElementVNode("code", {
|
|
15707
15707
|
class: normalizeClass(["absolute inset-0", className.value]),
|
|
15708
15708
|
innerHTML: highlightedCode.value
|
|
15709
|
-
}, null, 10, _hoisted_5$
|
|
15709
|
+
}, null, 10, _hoisted_5$h),
|
|
15710
15710
|
_cache[3] || (_cache[3] = createTextVNode("\n "))
|
|
15711
15711
|
]),
|
|
15712
15712
|
!_ctx.readonly ? withDirectives((openBlock(), createElementBlock("textarea", {
|
|
@@ -15721,7 +15721,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
15721
15721
|
"data-gramm": "false",
|
|
15722
15722
|
onKeydown: withKeys(withModifiers(handleTab, ["prevent"]), ["tab"]),
|
|
15723
15723
|
onInput: _cache[1] || (_cache[1] = ($event) => emit2("update:modelValue", unref(code)))
|
|
15724
|
-
}, null, 40, _hoisted_6$
|
|
15724
|
+
}, null, 40, _hoisted_6$e)), [
|
|
15725
15725
|
[vModelText, unref(code)]
|
|
15726
15726
|
]) : createCommentVNode("", true)
|
|
15727
15727
|
], 4)
|
|
@@ -15730,10 +15730,10 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
15730
15730
|
};
|
|
15731
15731
|
}
|
|
15732
15732
|
});
|
|
15733
|
-
const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15734
|
-
const _hoisted_1$
|
|
15735
|
-
const _hoisted_2$
|
|
15736
|
-
const _sfc_main$
|
|
15733
|
+
const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-1fbc9b61"]]);
|
|
15734
|
+
const _hoisted_1$H = ["title"];
|
|
15735
|
+
const _hoisted_2$v = ["id", "placeholder", "required"];
|
|
15736
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
15737
15737
|
__name: "ColorInput",
|
|
15738
15738
|
props: {
|
|
15739
15739
|
label: {},
|
|
@@ -15770,24 +15770,24 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
15770
15770
|
placeholder: _ctx.placeholder || _ctx.label,
|
|
15771
15771
|
class: { "no-edit": !_ctx.editMode },
|
|
15772
15772
|
required: _ctx.required
|
|
15773
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_2$
|
|
15773
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_2$v), [
|
|
15774
15774
|
[vModelText, inputVal.value]
|
|
15775
15775
|
])
|
|
15776
15776
|
])
|
|
15777
|
-
], 10, _hoisted_1$
|
|
15777
|
+
], 10, _hoisted_1$H);
|
|
15778
15778
|
};
|
|
15779
15779
|
}
|
|
15780
15780
|
});
|
|
15781
|
-
const _hoisted_1$
|
|
15782
|
-
const _hoisted_2$
|
|
15783
|
-
const _hoisted_3$
|
|
15781
|
+
const _hoisted_1$G = ["title"];
|
|
15782
|
+
const _hoisted_2$u = { key: 0 };
|
|
15783
|
+
const _hoisted_3$p = {
|
|
15784
15784
|
key: 0,
|
|
15785
15785
|
class: "required"
|
|
15786
15786
|
};
|
|
15787
|
-
const _hoisted_4$
|
|
15788
|
-
const _hoisted_5$
|
|
15789
|
-
const _hoisted_6$
|
|
15790
|
-
const _hoisted_7$
|
|
15787
|
+
const _hoisted_4$h = { class: "calendar-section m_border-none pe-05 m_p-0" };
|
|
15788
|
+
const _hoisted_5$g = { class: "flex space-between pb-1" };
|
|
15789
|
+
const _hoisted_6$d = { class: "flex gap-05" };
|
|
15790
|
+
const _hoisted_7$b = { class: "month-year" };
|
|
15791
15791
|
const _hoisted_8$6 = {
|
|
15792
15792
|
key: 0,
|
|
15793
15793
|
class: "calendar-grid grid gap-025"
|
|
@@ -15798,18 +15798,18 @@ const _hoisted_10$5 = {
|
|
|
15798
15798
|
class: "month-grid grid gap-05 p-05"
|
|
15799
15799
|
};
|
|
15800
15800
|
const _hoisted_11$5 = ["disabled", "onClick"];
|
|
15801
|
-
const _hoisted_12$
|
|
15801
|
+
const _hoisted_12$4 = {
|
|
15802
15802
|
key: 2,
|
|
15803
15803
|
class: "year-grid grid gap-05 p-0"
|
|
15804
15804
|
};
|
|
15805
|
-
const _hoisted_13$
|
|
15806
|
-
const _hoisted_14$
|
|
15805
|
+
const _hoisted_13$3 = ["disabled", "onClick"];
|
|
15806
|
+
const _hoisted_14$3 = {
|
|
15807
15807
|
key: 0,
|
|
15808
15808
|
class: "time-picker border-start flex column gap-1 w-120px"
|
|
15809
15809
|
};
|
|
15810
|
-
const _hoisted_15$
|
|
15811
|
-
const _hoisted_16$
|
|
15812
|
-
const _sfc_main$
|
|
15810
|
+
const _hoisted_15$3 = { class: "flex gap-025" };
|
|
15811
|
+
const _hoisted_16$3 = { class: "txt-center opacity-6 txt14" };
|
|
15812
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
15813
15813
|
__name: "DateInput",
|
|
15814
15814
|
props: {
|
|
15815
15815
|
required: { type: Boolean },
|
|
@@ -16150,11 +16150,11 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
16150
16150
|
onFocusin: _cache[6] || (_cache[6] = //@ts-ignore
|
|
16151
16151
|
(...args) => unref(handleFocus) && unref(handleFocus)(...args))
|
|
16152
16152
|
}, [
|
|
16153
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
16153
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$u, [
|
|
16154
16154
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
16155
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
16155
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$p, "*")) : createCommentVNode("", true)
|
|
16156
16156
|
])) : createCommentVNode("", true),
|
|
16157
|
-
createVNode(unref(_sfc_main$
|
|
16157
|
+
createVNode(unref(_sfc_main$W), {
|
|
16158
16158
|
shown: isOpen.value,
|
|
16159
16159
|
placement: "bottom-start",
|
|
16160
16160
|
autoHide: false,
|
|
@@ -16196,15 +16196,15 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
16196
16196
|
onClick: _cache[5] || (_cache[5] = withModifiers(() => {
|
|
16197
16197
|
}, ["stop"]))
|
|
16198
16198
|
}, [
|
|
16199
|
-
createElementVNode("div", _hoisted_4$
|
|
16200
|
-
createElementVNode("div", _hoisted_5$
|
|
16199
|
+
createElementVNode("div", _hoisted_4$h, [
|
|
16200
|
+
createElementVNode("div", _hoisted_5$g, [
|
|
16201
16201
|
currentView.value === "days" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
16202
16202
|
createVNode(unref(Btn), {
|
|
16203
16203
|
flat: "",
|
|
16204
16204
|
icon: "chevron_left",
|
|
16205
16205
|
onClick: unref(previousMonth)
|
|
16206
16206
|
}, null, 8, ["onClick"]),
|
|
16207
|
-
createElementVNode("div", _hoisted_6$
|
|
16207
|
+
createElementVNode("div", _hoisted_6$d, [
|
|
16208
16208
|
createVNode(unref(Btn), {
|
|
16209
16209
|
flat: "",
|
|
16210
16210
|
class: "month-btn",
|
|
@@ -16237,7 +16237,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
16237
16237
|
icon: "chevron_left",
|
|
16238
16238
|
onClick: unref(previousYear)
|
|
16239
16239
|
}, null, 8, ["onClick"]),
|
|
16240
|
-
createElementVNode("span", _hoisted_7$
|
|
16240
|
+
createElementVNode("span", _hoisted_7$b, toDisplayString(unref(currentMonthValue).formatted.year), 1),
|
|
16241
16241
|
createVNode(unref(Btn), {
|
|
16242
16242
|
flat: "",
|
|
16243
16243
|
icon: "chevron_right",
|
|
@@ -16278,7 +16278,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
16278
16278
|
onClick: ($event) => unref(selectMonth)(month.value)
|
|
16279
16279
|
}, toDisplayString(month.name), 11, _hoisted_11$5);
|
|
16280
16280
|
}), 128))
|
|
16281
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_12$
|
|
16281
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_12$4, [
|
|
16282
16282
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(years), (year) => {
|
|
16283
16283
|
return openBlock(), createElementBlock("button", {
|
|
16284
16284
|
key: year.value,
|
|
@@ -16288,12 +16288,12 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
16288
16288
|
}]),
|
|
16289
16289
|
disabled: year.disabled,
|
|
16290
16290
|
onClick: ($event) => unref(selectYear)(year.value)
|
|
16291
|
-
}, toDisplayString(year.value), 11, _hoisted_13$
|
|
16291
|
+
}, toDisplayString(year.value), 11, _hoisted_13$3);
|
|
16292
16292
|
}), 128))
|
|
16293
16293
|
]))
|
|
16294
16294
|
]),
|
|
16295
|
-
_ctx.enableTime && currentView.value === "days" ? (openBlock(), createElementBlock("div", _hoisted_14$
|
|
16296
|
-
createElementVNode("div", _hoisted_15$
|
|
16295
|
+
_ctx.enableTime && currentView.value === "days" ? (openBlock(), createElementBlock("div", _hoisted_14$3, [
|
|
16296
|
+
createElementVNode("div", _hoisted_15$3, [
|
|
16297
16297
|
createVNode(unref(NumberInput), {
|
|
16298
16298
|
center: "",
|
|
16299
16299
|
"model-value": unref(hours),
|
|
@@ -16316,7 +16316,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
16316
16316
|
"onUpdate:modelValue": unref(handleMinuteInput)
|
|
16317
16317
|
}, null, 8, ["model-value", "disabled", "onUpdate:modelValue"])
|
|
16318
16318
|
]),
|
|
16319
|
-
createElementVNode("span", _hoisted_16$
|
|
16319
|
+
createElementVNode("span", _hoisted_16$3, toDisplayString(unref(timezoneDisplay)), 1),
|
|
16320
16320
|
unref(selectedDate) ? (openBlock(), createBlock(unref(Btn), {
|
|
16321
16321
|
key: 0,
|
|
16322
16322
|
flat: "",
|
|
@@ -16332,21 +16332,21 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
16332
16332
|
]),
|
|
16333
16333
|
_: 1
|
|
16334
16334
|
}, 8, ["shown"])
|
|
16335
|
-
], 42, _hoisted_1$
|
|
16335
|
+
], 42, _hoisted_1$G);
|
|
16336
16336
|
};
|
|
16337
16337
|
}
|
|
16338
16338
|
});
|
|
16339
|
-
const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16340
|
-
const _hoisted_1$
|
|
16341
|
-
const _hoisted_2$
|
|
16342
|
-
const _hoisted_3$
|
|
16339
|
+
const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-c35156b6"]]);
|
|
16340
|
+
const _hoisted_1$F = ["title"];
|
|
16341
|
+
const _hoisted_2$t = { key: 0 };
|
|
16342
|
+
const _hoisted_3$o = {
|
|
16343
16343
|
key: 0,
|
|
16344
16344
|
class: "required"
|
|
16345
16345
|
};
|
|
16346
|
-
const _hoisted_4$
|
|
16347
|
-
const _hoisted_5$
|
|
16348
|
-
const _hoisted_6$
|
|
16349
|
-
const _hoisted_7$
|
|
16346
|
+
const _hoisted_4$g = { class: "date-picker-container" };
|
|
16347
|
+
const _hoisted_5$f = ["value", "min", "max", "required", "disabled"];
|
|
16348
|
+
const _hoisted_6$c = { class: "flex gap-075 p-05 m_flex-wrap calendar-container justify-content-center h-100p" };
|
|
16349
|
+
const _hoisted_7$a = { class: "calendar-section m_border-none pe-05 m_p-0" };
|
|
16350
16350
|
const _hoisted_8$5 = { class: "flex space-between pb-1" };
|
|
16351
16351
|
const _hoisted_9$4 = { class: "flex gap-05" };
|
|
16352
16352
|
const _hoisted_10$4 = { class: "month-year" };
|
|
@@ -16354,24 +16354,24 @@ const _hoisted_11$4 = {
|
|
|
16354
16354
|
key: 0,
|
|
16355
16355
|
class: "calendar-grid grid gap-025"
|
|
16356
16356
|
};
|
|
16357
|
-
const _hoisted_12$
|
|
16358
|
-
const _hoisted_13$
|
|
16357
|
+
const _hoisted_12$3 = ["disabled", "onClick"];
|
|
16358
|
+
const _hoisted_13$2 = {
|
|
16359
16359
|
key: 1,
|
|
16360
16360
|
class: "month-grid grid gap-05 p-05"
|
|
16361
16361
|
};
|
|
16362
|
-
const _hoisted_14$
|
|
16363
|
-
const _hoisted_15$
|
|
16362
|
+
const _hoisted_14$2 = ["disabled", "onClick"];
|
|
16363
|
+
const _hoisted_15$2 = {
|
|
16364
16364
|
key: 2,
|
|
16365
16365
|
class: "year-grid grid gap-05 p-0"
|
|
16366
16366
|
};
|
|
16367
|
-
const _hoisted_16$
|
|
16368
|
-
const _hoisted_17$
|
|
16367
|
+
const _hoisted_16$2 = ["disabled", "onClick"];
|
|
16368
|
+
const _hoisted_17$2 = {
|
|
16369
16369
|
key: 0,
|
|
16370
16370
|
class: "time-picker border-start flex column gap-1 w-120px"
|
|
16371
16371
|
};
|
|
16372
|
-
const _hoisted_18
|
|
16373
|
-
const _hoisted_19
|
|
16374
|
-
const _sfc_main$
|
|
16372
|
+
const _hoisted_18 = { class: "flex gap-025" };
|
|
16373
|
+
const _hoisted_19 = { class: "txt-center opacity-6 txt14" };
|
|
16374
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
16375
16375
|
__name: "DatePick",
|
|
16376
16376
|
props: {
|
|
16377
16377
|
required: { type: Boolean },
|
|
@@ -16564,18 +16564,18 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
16564
16564
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
16565
16565
|
title: _ctx.label
|
|
16566
16566
|
}, [
|
|
16567
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
16567
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$t, [
|
|
16568
16568
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
16569
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
16569
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$o, "*")) : createCommentVNode("", true)
|
|
16570
16570
|
])) : createCommentVNode("", true),
|
|
16571
|
-
createVNode(unref(_sfc_main$
|
|
16571
|
+
createVNode(unref(_sfc_main$W), {
|
|
16572
16572
|
shown: unref(isOpen),
|
|
16573
16573
|
placement: "bottom-start",
|
|
16574
16574
|
onApplyShow: _cache[4] || (_cache[4] = ($event) => isRef(isOpen) ? isOpen.value = true : isOpen = true),
|
|
16575
16575
|
onApplyHide: _cache[5] || (_cache[5] = ($event) => isRef(isOpen) ? isOpen.value = false : isOpen = false)
|
|
16576
16576
|
}, {
|
|
16577
16577
|
trigger: withCtx(() => [
|
|
16578
|
-
createElementVNode("div", _hoisted_4$
|
|
16578
|
+
createElementVNode("div", _hoisted_4$g, [
|
|
16579
16579
|
createElementVNode("input", {
|
|
16580
16580
|
type: "text",
|
|
16581
16581
|
value: formattedDisplayValue.value,
|
|
@@ -16588,12 +16588,12 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
16588
16588
|
}]),
|
|
16589
16589
|
readonly: "",
|
|
16590
16590
|
onClick: _cache[0] || (_cache[0] = ($event) => isRef(isOpen) ? isOpen.value = true : isOpen = true)
|
|
16591
|
-
}, null, 10, _hoisted_5$
|
|
16591
|
+
}, null, 10, _hoisted_5$f)
|
|
16592
16592
|
])
|
|
16593
16593
|
]),
|
|
16594
16594
|
default: withCtx(() => [
|
|
16595
|
-
createElementVNode("div", _hoisted_6$
|
|
16596
|
-
createElementVNode("div", _hoisted_7$
|
|
16595
|
+
createElementVNode("div", _hoisted_6$c, [
|
|
16596
|
+
createElementVNode("div", _hoisted_7$a, [
|
|
16597
16597
|
createElementVNode("div", _hoisted_8$5, [
|
|
16598
16598
|
unref(currentView) === "days" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
16599
16599
|
createVNode(unref(Btn), {
|
|
@@ -16661,9 +16661,9 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
16661
16661
|
}]),
|
|
16662
16662
|
disabled: isDateDisabled(date2),
|
|
16663
16663
|
onClick: ($event) => selectDate(date2)
|
|
16664
|
-
}, toDisplayString(date2 == null ? void 0 : date2.getDate()), 11, _hoisted_12$
|
|
16664
|
+
}, toDisplayString(date2 == null ? void 0 : date2.getDate()), 11, _hoisted_12$3);
|
|
16665
16665
|
}), 128))
|
|
16666
|
-
])) : unref(currentView) === "months" ? (openBlock(), createElementBlock("div", _hoisted_13$
|
|
16666
|
+
])) : unref(currentView) === "months" ? (openBlock(), createElementBlock("div", _hoisted_13$2, [
|
|
16667
16667
|
(openBlock(true), createElementBlock(Fragment, null, renderList(months.value, (month) => {
|
|
16668
16668
|
return openBlock(), createElementBlock("button", {
|
|
16669
16669
|
key: month.value,
|
|
@@ -16673,9 +16673,9 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
16673
16673
|
}]),
|
|
16674
16674
|
disabled: month.disabled,
|
|
16675
16675
|
onClick: ($event) => selectMonth(month.value)
|
|
16676
|
-
}, toDisplayString(month.name), 11, _hoisted_14$
|
|
16676
|
+
}, toDisplayString(month.name), 11, _hoisted_14$2);
|
|
16677
16677
|
}), 128))
|
|
16678
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_15$
|
|
16678
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_15$2, [
|
|
16679
16679
|
(openBlock(true), createElementBlock(Fragment, null, renderList(years.value, (year) => {
|
|
16680
16680
|
return openBlock(), createElementBlock("button", {
|
|
16681
16681
|
key: year.value,
|
|
@@ -16685,12 +16685,12 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
16685
16685
|
}]),
|
|
16686
16686
|
disabled: year.disabled,
|
|
16687
16687
|
onClick: ($event) => selectYear(year.value)
|
|
16688
|
-
}, toDisplayString(year.value), 11, _hoisted_16$
|
|
16688
|
+
}, toDisplayString(year.value), 11, _hoisted_16$2);
|
|
16689
16689
|
}), 128))
|
|
16690
16690
|
]))
|
|
16691
16691
|
]),
|
|
16692
|
-
_ctx.enableTime && unref(currentView) === "days" ? (openBlock(), createElementBlock("div", _hoisted_17$
|
|
16693
|
-
createElementVNode("div", _hoisted_18
|
|
16692
|
+
_ctx.enableTime && unref(currentView) === "days" ? (openBlock(), createElementBlock("div", _hoisted_17$2, [
|
|
16693
|
+
createElementVNode("div", _hoisted_18, [
|
|
16694
16694
|
createVNode(unref(NumberInput), {
|
|
16695
16695
|
center: "",
|
|
16696
16696
|
"model-value": hours.value,
|
|
@@ -16713,7 +16713,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
16713
16713
|
"onUpdate:modelValue": handleMinuteInput
|
|
16714
16714
|
}, null, 8, ["model-value", "disabled"])
|
|
16715
16715
|
]),
|
|
16716
|
-
createElementVNode("span", _hoisted_19
|
|
16716
|
+
createElementVNode("span", _hoisted_19, toDisplayString(timezoneDisplay.value), 1),
|
|
16717
16717
|
selectedDate.value ? (openBlock(), createBlock(unref(Btn), {
|
|
16718
16718
|
key: 0,
|
|
16719
16719
|
flat: "",
|
|
@@ -16729,19 +16729,19 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
16729
16729
|
]),
|
|
16730
16730
|
_: 1
|
|
16731
16731
|
}, 8, ["shown"])
|
|
16732
|
-
], 10, _hoisted_1$
|
|
16732
|
+
], 10, _hoisted_1$F);
|
|
16733
16733
|
};
|
|
16734
16734
|
}
|
|
16735
16735
|
});
|
|
16736
|
-
const DatePick = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16737
|
-
const _hoisted_1$
|
|
16738
|
-
const _hoisted_2$
|
|
16736
|
+
const DatePick = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-3d6519f4"]]);
|
|
16737
|
+
const _hoisted_1$E = { class: "datetime-wrap" };
|
|
16738
|
+
const _hoisted_2$s = {
|
|
16739
16739
|
key: 0,
|
|
16740
16740
|
class: "time-wrap"
|
|
16741
16741
|
};
|
|
16742
|
-
const _hoisted_3$
|
|
16743
|
-
const _hoisted_4$
|
|
16744
|
-
const _sfc_main$
|
|
16742
|
+
const _hoisted_3$n = ["id", "name", "value"];
|
|
16743
|
+
const _hoisted_4$f = ["for"];
|
|
16744
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
16745
16745
|
__name: "DatePicker",
|
|
16746
16746
|
props: {
|
|
16747
16747
|
label: {},
|
|
@@ -16761,8 +16761,8 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
16761
16761
|
return `${hour}:${minute}`;
|
|
16762
16762
|
});
|
|
16763
16763
|
return (_ctx, _cache) => {
|
|
16764
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16765
|
-
_ctx.showTimeWrap ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
16764
|
+
return openBlock(), createElementBlock("div", _hoisted_1$E, [
|
|
16765
|
+
_ctx.showTimeWrap ? (openBlock(), createElementBlock("div", _hoisted_2$s, [
|
|
16766
16766
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(hours), (hr) => {
|
|
16767
16767
|
return openBlock(), createElementBlock(Fragment, { key: hr }, [
|
|
16768
16768
|
withDirectives(createElementVNode("input", {
|
|
@@ -16771,12 +16771,12 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
16771
16771
|
type: "radio",
|
|
16772
16772
|
name: _ctx.label,
|
|
16773
16773
|
value: hr
|
|
16774
|
-
}, null, 8, _hoisted_3$
|
|
16774
|
+
}, null, 8, _hoisted_3$n), [
|
|
16775
16775
|
[vModelRadio, selectedHour.value]
|
|
16776
16776
|
]),
|
|
16777
16777
|
createElementVNode("label", {
|
|
16778
16778
|
for: `${hr}_${_ctx.id}`
|
|
16779
|
-
}, toDisplayString(hr), 9, _hoisted_4$
|
|
16779
|
+
}, toDisplayString(hr), 9, _hoisted_4$f)
|
|
16780
16780
|
], 64);
|
|
16781
16781
|
}), 128))
|
|
16782
16782
|
])) : createCommentVNode("", true)
|
|
@@ -16784,19 +16784,19 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
16784
16784
|
};
|
|
16785
16785
|
}
|
|
16786
16786
|
});
|
|
16787
|
-
const _hoisted_1$
|
|
16788
|
-
const _hoisted_2$
|
|
16787
|
+
const _hoisted_1$D = { class: "bagel-input" };
|
|
16788
|
+
const _hoisted_2$r = {
|
|
16789
16789
|
key: 0,
|
|
16790
16790
|
placeholder: "required",
|
|
16791
16791
|
type: "text",
|
|
16792
16792
|
required: "",
|
|
16793
16793
|
class: "pixel"
|
|
16794
16794
|
};
|
|
16795
|
-
const _hoisted_3$
|
|
16796
|
-
const _hoisted_4$
|
|
16797
|
-
const _hoisted_5$
|
|
16798
|
-
const _hoisted_6$
|
|
16799
|
-
const _hoisted_7$
|
|
16795
|
+
const _hoisted_3$m = { class: "m-05 flex opacity-7 z-99" };
|
|
16796
|
+
const _hoisted_4$e = { class: "ellipsis-1 word-break-all h-20 m-0 color-black" };
|
|
16797
|
+
const _hoisted_5$e = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
|
|
16798
|
+
const _hoisted_6$b = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
|
|
16799
|
+
const _hoisted_7$9 = {
|
|
16800
16800
|
key: 1,
|
|
16801
16801
|
class: "txt-gray txt-12"
|
|
16802
16802
|
};
|
|
@@ -16810,22 +16810,22 @@ const _hoisted_11$3 = {
|
|
|
16810
16810
|
key: 0,
|
|
16811
16811
|
class: "progress"
|
|
16812
16812
|
};
|
|
16813
|
-
const _hoisted_12$
|
|
16813
|
+
const _hoisted_12$2 = {
|
|
16814
16814
|
key: 1,
|
|
16815
16815
|
class: "bgl-single-preview"
|
|
16816
16816
|
};
|
|
16817
|
-
const _hoisted_13$
|
|
16818
|
-
const _hoisted_14$
|
|
16817
|
+
const _hoisted_13$1 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
|
|
16818
|
+
const _hoisted_14$1 = {
|
|
16819
16819
|
key: 0,
|
|
16820
16820
|
class: "h-100"
|
|
16821
16821
|
};
|
|
16822
|
-
const _hoisted_15$
|
|
16822
|
+
const _hoisted_15$1 = {
|
|
16823
16823
|
key: 0,
|
|
16824
16824
|
class: "progress"
|
|
16825
16825
|
};
|
|
16826
|
-
const _hoisted_16$
|
|
16827
|
-
const _hoisted_17$
|
|
16828
|
-
const _sfc_main$
|
|
16826
|
+
const _hoisted_16$1 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
|
|
16827
|
+
const _hoisted_17$1 = { class: "pretty balance" };
|
|
16828
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
16829
16829
|
__name: "FileUpload",
|
|
16830
16830
|
props: /* @__PURE__ */ mergeModels({
|
|
16831
16831
|
label: {},
|
|
@@ -17000,10 +17000,10 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
17000
17000
|
return (_ctx, _cache) => {
|
|
17001
17001
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
17002
17002
|
const _directive_lightbox = resolveDirective("lightbox");
|
|
17003
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17003
|
+
return openBlock(), createElementBlock("div", _hoisted_1$D, [
|
|
17004
17004
|
createElementVNode("label", null, toDisplayString(_ctx.label), 1),
|
|
17005
|
-
_ctx.required && !storageFiles.value.length ? (openBlock(), createElementBlock("input", _hoisted_2$
|
|
17006
|
-
_ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main
|
|
17005
|
+
_ctx.required && !storageFiles.value.length ? (openBlock(), createElementBlock("input", _hoisted_2$r)) : createCommentVNode("", true),
|
|
17006
|
+
_ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$10), {
|
|
17007
17007
|
key: 1,
|
|
17008
17008
|
outline: "",
|
|
17009
17009
|
class: "flex p-05 gap-1",
|
|
@@ -17024,7 +17024,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
17024
17024
|
key: file.id,
|
|
17025
17025
|
class: "txt-gray txt-12 flex"
|
|
17026
17026
|
}, [
|
|
17027
|
-
createElementVNode("div", _hoisted_3$
|
|
17027
|
+
createElementVNode("div", _hoisted_3$m, [
|
|
17028
17028
|
withDirectives(createVNode(unref(Btn), {
|
|
17029
17029
|
color: "gray",
|
|
17030
17030
|
thin: "",
|
|
@@ -17053,17 +17053,17 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
17053
17053
|
}, null, 8, ["href", "download"]), [
|
|
17054
17054
|
[_directive_tooltip, "Download"]
|
|
17055
17055
|
]),
|
|
17056
|
-
withDirectives((openBlock(), createElementBlock("p", _hoisted_4$
|
|
17056
|
+
withDirectives((openBlock(), createElementBlock("p", _hoisted_4$e, [
|
|
17057
17057
|
createTextVNode(toDisplayString(file.name), 1)
|
|
17058
17058
|
])), [
|
|
17059
17059
|
[_directive_lightbox, { src: file.url, download: true }]
|
|
17060
17060
|
]),
|
|
17061
|
-
createElementVNode("div", _hoisted_5$
|
|
17061
|
+
createElementVNode("div", _hoisted_5$e, [
|
|
17062
17062
|
createVNode(unref(Icon), {
|
|
17063
17063
|
icon: "draft",
|
|
17064
17064
|
size: 1.5
|
|
17065
17065
|
}),
|
|
17066
|
-
withDirectives((openBlock(), createElementBlock("p", _hoisted_6$
|
|
17066
|
+
withDirectives((openBlock(), createElementBlock("p", _hoisted_6$b, [
|
|
17067
17067
|
createTextVNode(toDisplayString(file.name), 1)
|
|
17068
17068
|
])), [
|
|
17069
17069
|
[_directive_lightbox, { src: file.url, download: true }]
|
|
@@ -17079,7 +17079,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
17079
17079
|
])
|
|
17080
17080
|
]);
|
|
17081
17081
|
}), 128)),
|
|
17082
|
-
!storageFiles.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_7$
|
|
17082
|
+
!storageFiles.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_7$9, toDisplayString(_ctx.noFilePlaceholder || "No file selected"), 1)) : createCommentVNode("", true)
|
|
17083
17083
|
]),
|
|
17084
17084
|
_: 1
|
|
17085
17085
|
})) : (openBlock(), createElementBlock("div", {
|
|
@@ -17159,13 +17159,13 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
17159
17159
|
]);
|
|
17160
17160
|
}), 128))
|
|
17161
17161
|
])) : createCommentVNode("", true),
|
|
17162
|
-
!_ctx.multiple && (storageFiles.value.length > 0 || fileQueue.value.length > 0) ? (openBlock(), createElementBlock("div", _hoisted_12$
|
|
17162
|
+
!_ctx.multiple && (storageFiles.value.length > 0 || fileQueue.value.length > 0) ? (openBlock(), createElementBlock("div", _hoisted_12$2, [
|
|
17163
17163
|
(openBlock(true), createElementBlock(Fragment, null, renderList(storageFiles.value, (file) => {
|
|
17164
17164
|
return openBlock(), createElementBlock("div", {
|
|
17165
17165
|
key: file.id,
|
|
17166
17166
|
class: normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
|
|
17167
17167
|
}, [
|
|
17168
|
-
createElementVNode("div", _hoisted_13$
|
|
17168
|
+
createElementVNode("div", _hoisted_13$1, [
|
|
17169
17169
|
withDirectives(createVNode(unref(Btn), {
|
|
17170
17170
|
color: "gray",
|
|
17171
17171
|
thin: "",
|
|
@@ -17195,7 +17195,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
17195
17195
|
[_directive_tooltip, "Download"]
|
|
17196
17196
|
])
|
|
17197
17197
|
]),
|
|
17198
|
-
isImage(file.extension || file.url) ? (openBlock(), createElementBlock("div", _hoisted_14$
|
|
17198
|
+
isImage(file.extension || file.url) ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
|
|
17199
17199
|
withDirectives(createVNode(unref(Image$1), {
|
|
17200
17200
|
class: "single-preview",
|
|
17201
17201
|
src: file.url,
|
|
@@ -17223,7 +17223,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
17223
17223
|
class: normalizeClass(["pie", { complete: fileQ.progress === 100 }]),
|
|
17224
17224
|
style: normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
17225
17225
|
}, [
|
|
17226
|
-
fileQ.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_15$
|
|
17226
|
+
fileQ.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_15$1, toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
|
|
17227
17227
|
createVNode(unref(Icon), {
|
|
17228
17228
|
class: "success",
|
|
17229
17229
|
icon: "check"
|
|
@@ -17247,9 +17247,9 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
17247
17247
|
fileQueue: fileQueue.value,
|
|
17248
17248
|
browse
|
|
17249
17249
|
}, () => [
|
|
17250
|
-
createElementVNode("p", _hoisted_16$
|
|
17250
|
+
createElementVNode("p", _hoisted_16$1, [
|
|
17251
17251
|
createVNode(unref(Icon), { icon: "upload_2" }),
|
|
17252
|
-
createElementVNode("span", _hoisted_17$
|
|
17252
|
+
createElementVNode("span", _hoisted_17$1, toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
|
|
17253
17253
|
])
|
|
17254
17254
|
], true) : createCommentVNode("", true)
|
|
17255
17255
|
], 38))
|
|
@@ -17257,11 +17257,11 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
17257
17257
|
};
|
|
17258
17258
|
}
|
|
17259
17259
|
});
|
|
17260
|
-
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17261
|
-
const _hoisted_1$
|
|
17262
|
-
const _hoisted_2$
|
|
17263
|
-
const _hoisted_3$
|
|
17264
|
-
const _sfc_main$
|
|
17260
|
+
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-50fd0597"]]);
|
|
17261
|
+
const _hoisted_1$C = ["title"];
|
|
17262
|
+
const _hoisted_2$q = { key: 0 };
|
|
17263
|
+
const _hoisted_3$l = ["value", "placeholder"];
|
|
17264
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
17265
17265
|
__name: "JSONInput",
|
|
17266
17266
|
props: {
|
|
17267
17267
|
description: { default: "" },
|
|
@@ -17284,7 +17284,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
17284
17284
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
17285
17285
|
title: _ctx.description
|
|
17286
17286
|
}, [
|
|
17287
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
17287
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$q, [
|
|
17288
17288
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
17289
17289
|
])) : createCommentVNode("", true),
|
|
17290
17290
|
createElementVNode("textarea", {
|
|
@@ -17292,24 +17292,24 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
17292
17292
|
class: normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
17293
17293
|
placeholder: _ctx.placeholder,
|
|
17294
17294
|
onInput: handleInput
|
|
17295
|
-
}, null, 42, _hoisted_3$
|
|
17296
|
-
], 10, _hoisted_1$
|
|
17295
|
+
}, null, 42, _hoisted_3$l)
|
|
17296
|
+
], 10, _hoisted_1$C);
|
|
17297
17297
|
};
|
|
17298
17298
|
}
|
|
17299
17299
|
});
|
|
17300
|
-
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17301
|
-
const _hoisted_1$
|
|
17302
|
-
const _hoisted_2$
|
|
17300
|
+
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-1cbaeab2"]]);
|
|
17301
|
+
const _hoisted_1$B = ["for"];
|
|
17302
|
+
const _hoisted_2$p = {
|
|
17303
17303
|
key: 0,
|
|
17304
17304
|
class: "block"
|
|
17305
17305
|
};
|
|
17306
|
-
const _hoisted_3$
|
|
17307
|
-
const _hoisted_4$
|
|
17308
|
-
const _hoisted_5$
|
|
17306
|
+
const _hoisted_3$k = ["id", "placeholder", "disabled", "required", "readonly", "pattern", "onKeydown"];
|
|
17307
|
+
const _hoisted_4$d = { key: 1 };
|
|
17308
|
+
const _hoisted_5$d = {
|
|
17309
17309
|
key: 5,
|
|
17310
17310
|
class: "flex column spinner"
|
|
17311
17311
|
};
|
|
17312
|
-
const _sfc_main$
|
|
17312
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
17313
17313
|
__name: "NumberInput",
|
|
17314
17314
|
props: {
|
|
17315
17315
|
modelValue: {},
|
|
@@ -17414,7 +17414,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
17414
17414
|
}])
|
|
17415
17415
|
}, [
|
|
17416
17416
|
createElementVNode("div", { for: _ctx.id }, [
|
|
17417
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
17417
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$p, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
17418
17418
|
createElementVNode("div", {
|
|
17419
17419
|
class: normalizeClass(["gap-025", { "column flex": _ctx.layout === "vertical", "flex": _ctx.layout === "horizontal" }])
|
|
17420
17420
|
}, [
|
|
@@ -17449,7 +17449,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
17449
17449
|
withKeys(withModifiers(increment, ["prevent"]), ["up"]),
|
|
17450
17450
|
withKeys(withModifiers(decrement, ["prevent"]), ["down"])
|
|
17451
17451
|
]
|
|
17452
|
-
}, null, 42, _hoisted_3$
|
|
17452
|
+
}, null, 42, _hoisted_3$k), [
|
|
17453
17453
|
[
|
|
17454
17454
|
vModelText,
|
|
17455
17455
|
unref(formattedValue),
|
|
@@ -17463,7 +17463,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
17463
17463
|
{ number: true }
|
|
17464
17464
|
]
|
|
17465
17465
|
]),
|
|
17466
|
-
_ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_4$
|
|
17466
|
+
_ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_4$d, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true),
|
|
17467
17467
|
_ctx.iconStart ? (openBlock(), createBlock(unref(Icon), {
|
|
17468
17468
|
key: 2,
|
|
17469
17469
|
class: "iconStart",
|
|
@@ -17481,7 +17481,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
17481
17481
|
tabindex: "-1",
|
|
17482
17482
|
onClick: decrement
|
|
17483
17483
|
}, null, 8, ["class"])) : createCommentVNode("", true),
|
|
17484
|
-
_ctx.spinner && (!_ctx.layout || !btnLayouts.includes(_ctx.layout)) ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
17484
|
+
_ctx.spinner && (!_ctx.layout || !btnLayouts.includes(_ctx.layout)) ? (openBlock(), createElementBlock("div", _hoisted_5$d, [
|
|
17485
17485
|
createVNode(unref(Btn), {
|
|
17486
17486
|
icon: "add",
|
|
17487
17487
|
flat: "",
|
|
@@ -17502,14 +17502,14 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
17502
17502
|
}, null, 8, ["disabled"])
|
|
17503
17503
|
])) : createCommentVNode("", true)
|
|
17504
17504
|
], 2)
|
|
17505
|
-
], 8, _hoisted_1$
|
|
17505
|
+
], 8, _hoisted_1$B)
|
|
17506
17506
|
], 2);
|
|
17507
17507
|
};
|
|
17508
17508
|
}
|
|
17509
17509
|
});
|
|
17510
|
-
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17511
|
-
const _hoisted_1$
|
|
17512
|
-
const _sfc_main$
|
|
17510
|
+
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-77950bb7"]]);
|
|
17511
|
+
const _hoisted_1$A = ["value", "autofocus", "onKeydown", "onPaste"];
|
|
17512
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
17513
17513
|
__name: "OTP",
|
|
17514
17514
|
props: {
|
|
17515
17515
|
digitCount: {},
|
|
@@ -17606,16 +17606,16 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
17606
17606
|
oninput: "this.value = this.value.slice(0, 1)",
|
|
17607
17607
|
onKeydown: ($event) => handleKeyDown($event, ind),
|
|
17608
17608
|
onPaste: ($event) => handlePaste($event, ind)
|
|
17609
|
-
}, null, 40, _hoisted_1$
|
|
17609
|
+
}, null, 40, _hoisted_1$A);
|
|
17610
17610
|
}), 128))
|
|
17611
17611
|
], 512);
|
|
17612
17612
|
};
|
|
17613
17613
|
}
|
|
17614
17614
|
});
|
|
17615
|
-
const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17616
|
-
const _hoisted_1$
|
|
17617
|
-
const _hoisted_2$
|
|
17618
|
-
const _sfc_main$
|
|
17615
|
+
const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-8e8db33e"]]);
|
|
17616
|
+
const _hoisted_1$z = { class: "relative passwordInput" };
|
|
17617
|
+
const _hoisted_2$o = { class: "m-password position-bottom-end flex column justify-content-center" };
|
|
17618
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
17619
17619
|
__name: "PasswordInput",
|
|
17620
17620
|
props: /* @__PURE__ */ mergeModels({
|
|
17621
17621
|
id: {},
|
|
@@ -17656,7 +17656,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
17656
17656
|
);
|
|
17657
17657
|
const inputType = computed(() => showPwd.value ? "text" : "password");
|
|
17658
17658
|
return (_ctx, _cache) => {
|
|
17659
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17659
|
+
return openBlock(), createElementBlock("div", _hoisted_1$z, [
|
|
17660
17660
|
createVNode(unref(TextInput), mergeProps({
|
|
17661
17661
|
modelValue: password.value,
|
|
17662
17662
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
|
|
@@ -17664,7 +17664,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
17664
17664
|
type: inputType.value,
|
|
17665
17665
|
class: "mb-0"
|
|
17666
17666
|
}), null, 16, ["modelValue", "type"]),
|
|
17667
|
-
createElementVNode("div", _hoisted_2$
|
|
17667
|
+
createElementVNode("div", _hoisted_2$o, [
|
|
17668
17668
|
createVNode(unref(Btn), {
|
|
17669
17669
|
flat: "",
|
|
17670
17670
|
thin: "",
|
|
@@ -17677,20 +17677,20 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
17677
17677
|
};
|
|
17678
17678
|
}
|
|
17679
17679
|
});
|
|
17680
|
-
const _hoisted_1$
|
|
17681
|
-
const _hoisted_2$
|
|
17682
|
-
const _hoisted_3$
|
|
17683
|
-
const _hoisted_4$
|
|
17684
|
-
const _hoisted_5$
|
|
17685
|
-
const _hoisted_6$
|
|
17680
|
+
const _hoisted_1$y = ["for"];
|
|
17681
|
+
const _hoisted_2$n = ["id", "disabled", "name", "value", "required"];
|
|
17682
|
+
const _hoisted_3$j = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|
|
17683
|
+
const _hoisted_4$c = ["src", "alt"];
|
|
17684
|
+
const _hoisted_5$c = { class: "" };
|
|
17685
|
+
const _hoisted_6$a = {
|
|
17686
17686
|
key: 0,
|
|
17687
17687
|
class: "m-0 m_txt-14"
|
|
17688
17688
|
};
|
|
17689
|
-
const _hoisted_7$
|
|
17689
|
+
const _hoisted_7$8 = {
|
|
17690
17690
|
key: 1,
|
|
17691
17691
|
class: "txt-gray txt-12 m-0"
|
|
17692
17692
|
};
|
|
17693
|
-
const _sfc_main$
|
|
17693
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
17694
17694
|
__name: "RadioGroup",
|
|
17695
17695
|
props: /* @__PURE__ */ mergeModels({
|
|
17696
17696
|
groupName: {},
|
|
@@ -17748,20 +17748,20 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
17748
17748
|
onFocus: handleFocus,
|
|
17749
17749
|
onBlur: handleBlur,
|
|
17750
17750
|
onChange: handleChange
|
|
17751
|
-
}, null, 40, _hoisted_2$
|
|
17751
|
+
}, null, 40, _hoisted_2$n), [
|
|
17752
17752
|
[vModelRadio, selectedOption.value]
|
|
17753
17753
|
]),
|
|
17754
|
-
createElementVNode("div", _hoisted_3$
|
|
17754
|
+
createElementVNode("div", _hoisted_3$j, [
|
|
17755
17755
|
opt.imgSrc ? (openBlock(), createElementBlock("img", {
|
|
17756
17756
|
key: 0,
|
|
17757
17757
|
class: "bg-popup shadow-light py-025 radius-05 m_w40",
|
|
17758
17758
|
width: "60",
|
|
17759
17759
|
src: opt.imgSrc,
|
|
17760
17760
|
alt: opt.imgAlt
|
|
17761
|
-
}, null, 8, _hoisted_4$
|
|
17762
|
-
createElementVNode("div", _hoisted_5$
|
|
17763
|
-
opt.label ? (openBlock(), createElementBlock("p", _hoisted_6$
|
|
17764
|
-
opt.subLabel ? (openBlock(), createElementBlock("p", _hoisted_7$
|
|
17761
|
+
}, null, 8, _hoisted_4$c)) : createCommentVNode("", true),
|
|
17762
|
+
createElementVNode("div", _hoisted_5$c, [
|
|
17763
|
+
opt.label ? (openBlock(), createElementBlock("p", _hoisted_6$a, toDisplayString(opt.label), 1)) : createCommentVNode("", true),
|
|
17764
|
+
opt.subLabel ? (openBlock(), createElementBlock("p", _hoisted_7$8, toDisplayString(opt.subLabel), 1)) : createCommentVNode("", true)
|
|
17765
17765
|
]),
|
|
17766
17766
|
renderSlot(_ctx.$slots, "radioItem", mergeProps({ ref_for: true }, opt), void 0, true)
|
|
17767
17767
|
]),
|
|
@@ -17773,19 +17773,19 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
17773
17773
|
icon: "delete",
|
|
17774
17774
|
onClick: ($event) => _ctx.$emit("delete", opt)
|
|
17775
17775
|
}, null, 8, ["onClick"])) : createCommentVNode("", true)
|
|
17776
|
-
], 8, _hoisted_1$
|
|
17776
|
+
], 8, _hoisted_1$y);
|
|
17777
17777
|
}), 128))
|
|
17778
17778
|
], 2);
|
|
17779
17779
|
};
|
|
17780
17780
|
}
|
|
17781
17781
|
});
|
|
17782
|
-
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17783
|
-
const _hoisted_1$
|
|
17784
|
-
const _hoisted_2$
|
|
17785
|
-
const _hoisted_3$
|
|
17786
|
-
const _hoisted_4$
|
|
17787
|
-
const _hoisted_5$
|
|
17788
|
-
const _sfc_main$
|
|
17782
|
+
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-a692c596"]]);
|
|
17783
|
+
const _hoisted_1$x = { class: "bagel-input" };
|
|
17784
|
+
const _hoisted_2$m = { class: "pb-025" };
|
|
17785
|
+
const _hoisted_3$i = { class: "flex gap-05 flex-wrap" };
|
|
17786
|
+
const _hoisted_4$b = ["id", "name", "value", "checked"];
|
|
17787
|
+
const _hoisted_5$b = ["for"];
|
|
17788
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
17789
17789
|
__name: "RadioPillsInput",
|
|
17790
17790
|
props: {
|
|
17791
17791
|
options: {},
|
|
@@ -17826,9 +17826,9 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
17826
17826
|
selectedValue.value = props2.modelValue;
|
|
17827
17827
|
});
|
|
17828
17828
|
return (_ctx, _cache) => {
|
|
17829
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17830
|
-
createElementVNode("label", _hoisted_2$
|
|
17831
|
-
createElementVNode("div", _hoisted_3$
|
|
17829
|
+
return openBlock(), createElementBlock("div", _hoisted_1$x, [
|
|
17830
|
+
createElementVNode("label", _hoisted_2$m, toDisplayString(_ctx.label), 1),
|
|
17831
|
+
createElementVNode("div", _hoisted_3$i, [
|
|
17832
17832
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option2, index2) => {
|
|
17833
17833
|
return openBlock(), createElementBlock("div", {
|
|
17834
17834
|
key: index2,
|
|
@@ -17841,10 +17841,10 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
17841
17841
|
value: getValue(option2),
|
|
17842
17842
|
checked: unref(selectedValue) === getValue(option2),
|
|
17843
17843
|
onChange: handleSelect
|
|
17844
|
-
}, null, 40, _hoisted_4$
|
|
17844
|
+
}, null, 40, _hoisted_4$b),
|
|
17845
17845
|
createElementVNode("label", {
|
|
17846
17846
|
for: `${_ctx.id}-${getValue(option2)}`
|
|
17847
|
-
}, toDisplayString(getLabel(option2)), 9, _hoisted_5$
|
|
17847
|
+
}, toDisplayString(getLabel(option2)), 9, _hoisted_5$b)
|
|
17848
17848
|
]);
|
|
17849
17849
|
}), 128))
|
|
17850
17850
|
])
|
|
@@ -17852,18 +17852,18 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
17852
17852
|
};
|
|
17853
17853
|
}
|
|
17854
17854
|
});
|
|
17855
|
-
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17856
|
-
const _hoisted_1$
|
|
17857
|
-
const _hoisted_2$
|
|
17855
|
+
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-cf892d71"]]);
|
|
17856
|
+
const _hoisted_1$w = ["dir"];
|
|
17857
|
+
const _hoisted_2$l = {
|
|
17858
17858
|
key: 0,
|
|
17859
17859
|
class: "label"
|
|
17860
17860
|
};
|
|
17861
|
-
const _hoisted_3$
|
|
17862
|
-
const _hoisted_4$
|
|
17863
|
-
const _hoisted_5$
|
|
17864
|
-
const _hoisted_6$
|
|
17865
|
-
const _hoisted_7$
|
|
17866
|
-
const _sfc_main$
|
|
17861
|
+
const _hoisted_3$h = { class: "range-slider relative w-100" };
|
|
17862
|
+
const _hoisted_4$a = ["id", "value", "min", "max", "step", "required", "disabled", "aria-label"];
|
|
17863
|
+
const _hoisted_5$a = ["value", "min", "max", "step", "required", "disabled"];
|
|
17864
|
+
const _hoisted_6$9 = { class: "track absolute pointer-events-none overflow-hidden round" };
|
|
17865
|
+
const _hoisted_7$7 = { class: "txt-center txt-14 user-select-none range-slider-txt flex space-between opacity-4 mx-05" };
|
|
17866
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
17867
17867
|
__name: "RangeInput",
|
|
17868
17868
|
props: {
|
|
17869
17869
|
modelValue: {},
|
|
@@ -17931,8 +17931,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
17931
17931
|
return openBlock(), createElementBlock("div", {
|
|
17932
17932
|
dir: unref(rtl) ? "rtl" : "ltr"
|
|
17933
17933
|
}, [
|
|
17934
|
-
unref(label) ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
17935
|
-
createElementVNode("div", _hoisted_3$
|
|
17934
|
+
unref(label) ? (openBlock(), createElementBlock("label", _hoisted_2$l, toDisplayString(unref(label)), 1)) : createCommentVNode("", true),
|
|
17935
|
+
createElementVNode("div", _hoisted_3$h, [
|
|
17936
17936
|
createElementVNode("input", {
|
|
17937
17937
|
id: unref(id),
|
|
17938
17938
|
value: validFrom.value,
|
|
@@ -17945,7 +17945,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
17945
17945
|
disabled: unref(disabled),
|
|
17946
17946
|
"aria-label": unref(multiRange) ? "Minimum value" : "Value",
|
|
17947
17947
|
onInput: _cache[0] || (_cache[0] = (e) => handleInput(+e.target.value, true))
|
|
17948
|
-
}, null, 40, _hoisted_4$
|
|
17948
|
+
}, null, 40, _hoisted_4$a),
|
|
17949
17949
|
unref(multiRange) ? (openBlock(), createElementBlock("input", {
|
|
17950
17950
|
key: 0,
|
|
17951
17951
|
value: validTo.value,
|
|
@@ -17958,8 +17958,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
17958
17958
|
disabled: unref(disabled),
|
|
17959
17959
|
"aria-label": "Maximum value",
|
|
17960
17960
|
onInput: _cache[1] || (_cache[1] = (e) => handleInput(+e.target.value, false))
|
|
17961
|
-
}, null, 40, _hoisted_5$
|
|
17962
|
-
createElementVNode("div", _hoisted_6$
|
|
17961
|
+
}, null, 40, _hoisted_5$a)) : createCommentVNode("", true),
|
|
17962
|
+
createElementVNode("div", _hoisted_6$9, [
|
|
17963
17963
|
createElementVNode("div", {
|
|
17964
17964
|
class: "active-range absolute h-100 pointer-events-none bg-primary",
|
|
17965
17965
|
style: normalizeStyle(rangeStyle.value)
|
|
@@ -18003,7 +18003,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
18003
18003
|
], true)
|
|
18004
18004
|
], 4)) : createCommentVNode("", true)
|
|
18005
18005
|
]),
|
|
18006
|
-
createElementVNode("p", _hoisted_7$
|
|
18006
|
+
createElementVNode("p", _hoisted_7$7, [
|
|
18007
18007
|
renderSlot(_ctx.$slots, "min", {
|
|
18008
18008
|
max: unref(formatValue)(unref(max2)),
|
|
18009
18009
|
min: unref(formatValue)(unref(min2)),
|
|
@@ -18023,11 +18023,11 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
18023
18023
|
createElementVNode("span", null, toDisplayString(unref(formatValue)(unref(max2))), 1)
|
|
18024
18024
|
], true)
|
|
18025
18025
|
])
|
|
18026
|
-
], 8, _hoisted_1$
|
|
18026
|
+
], 8, _hoisted_1$w);
|
|
18027
18027
|
};
|
|
18028
18028
|
}
|
|
18029
18029
|
});
|
|
18030
|
-
const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18030
|
+
const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-25d991e5"]]);
|
|
18031
18031
|
const basicToolbarConfig = [
|
|
18032
18032
|
"h2",
|
|
18033
18033
|
"h3",
|
|
@@ -18091,12 +18091,12 @@ const toolbarOptions = [
|
|
|
18091
18091
|
{ name: "separator" },
|
|
18092
18092
|
{ name: "fullScreen", label: "Full Screen", icon: "fullscreen", class: "ms-auto" }
|
|
18093
18093
|
];
|
|
18094
|
-
const _hoisted_1$
|
|
18095
|
-
const _hoisted_2$
|
|
18096
|
-
const _hoisted_3$
|
|
18094
|
+
const _hoisted_1$v = { class: "grid grid-wrap p-05" };
|
|
18095
|
+
const _hoisted_2$k = ["onMousemove", "onClick"];
|
|
18096
|
+
const _hoisted_3$g = { class: "txt-center txt-12 color-gray" };
|
|
18097
18097
|
const fb = 1;
|
|
18098
18098
|
const base = 5;
|
|
18099
|
-
const _sfc_main$
|
|
18099
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
18100
18100
|
__name: "gridBox",
|
|
18101
18101
|
emits: ["select"],
|
|
18102
18102
|
setup(__props, { emit: __emit }) {
|
|
@@ -18112,7 +18112,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
18112
18112
|
return hoveredCol.value > base - 1 ? enlarge : base;
|
|
18113
18113
|
});
|
|
18114
18114
|
return (_ctx, _cache) => {
|
|
18115
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
18115
|
+
return openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
18116
18116
|
(openBlock(true), createElementBlock(Fragment, null, renderList(rowSize.value, (row) => {
|
|
18117
18117
|
return openBlock(), createElementBlock("div", {
|
|
18118
18118
|
key: `row-${row}`,
|
|
@@ -18139,21 +18139,21 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
18139
18139
|
hoveredCol.value = col;
|
|
18140
18140
|
},
|
|
18141
18141
|
onClick: ($event) => emit2("select", `${row}x${col}`)
|
|
18142
|
-
}, null, 42, _hoisted_2$
|
|
18142
|
+
}, null, 42, _hoisted_2$k);
|
|
18143
18143
|
}), 128))
|
|
18144
18144
|
], 32);
|
|
18145
18145
|
}), 128)),
|
|
18146
|
-
createElementVNode("p", _hoisted_3$
|
|
18146
|
+
createElementVNode("p", _hoisted_3$g, toDisplayString(hoveredRow.value) + "x" + toDisplayString(hoveredCol.value), 1)
|
|
18147
18147
|
]);
|
|
18148
18148
|
};
|
|
18149
18149
|
}
|
|
18150
18150
|
});
|
|
18151
|
-
const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18152
|
-
const _hoisted_1$
|
|
18151
|
+
const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-4548b70f"]]);
|
|
18152
|
+
const _hoisted_1$u = {
|
|
18153
18153
|
class: "toolbar flex gap-025 pb-05 flex-wrap",
|
|
18154
18154
|
role: "toolbar"
|
|
18155
18155
|
};
|
|
18156
|
-
const _sfc_main$
|
|
18156
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
18157
18157
|
__name: "EditorToolbar",
|
|
18158
18158
|
props: {
|
|
18159
18159
|
config: { default: basicToolbarConfig },
|
|
@@ -18168,10 +18168,10 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
18168
18168
|
}
|
|
18169
18169
|
return (_ctx, _cache) => {
|
|
18170
18170
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
18171
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
18171
|
+
return openBlock(), createElementBlock("div", _hoisted_1$u, [
|
|
18172
18172
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.config.map(configToOption).filter(Boolean), (action, index2) => {
|
|
18173
18173
|
return openBlock(), createElementBlock(Fragment, { key: index2 }, [
|
|
18174
|
-
action.name === "insertTable" ? (openBlock(), createBlock(unref(_sfc_main$
|
|
18174
|
+
action.name === "insertTable" ? (openBlock(), createBlock(unref(_sfc_main$W), {
|
|
18175
18175
|
key: 0,
|
|
18176
18176
|
placement: "bottom-start",
|
|
18177
18177
|
thin: "",
|
|
@@ -18211,7 +18211,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
18211
18211
|
};
|
|
18212
18212
|
}
|
|
18213
18213
|
});
|
|
18214
|
-
const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18214
|
+
const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-9d8a6eb6"]]);
|
|
18215
18215
|
function isStyleActive(style, doc) {
|
|
18216
18216
|
const selection = doc.getSelection();
|
|
18217
18217
|
if (!selection || !selection.rangeCount) return false;
|
|
@@ -19483,13 +19483,13 @@ function isNodeEmpty(node) {
|
|
|
19483
19483
|
if (brElements.length === 0) return true;
|
|
19484
19484
|
return brElements.length === 1 && node.childNodes.length <= 2;
|
|
19485
19485
|
}
|
|
19486
|
-
const _hoisted_1$
|
|
19487
|
-
const _hoisted_2$
|
|
19488
|
-
const _hoisted_3$
|
|
19486
|
+
const _hoisted_1$t = { class: "bagel-input" };
|
|
19487
|
+
const _hoisted_2$j = { class: "content-area radius-05" };
|
|
19488
|
+
const _hoisted_3$f = {
|
|
19489
19489
|
key: 1,
|
|
19490
19490
|
class: "flex"
|
|
19491
19491
|
};
|
|
19492
|
-
const _sfc_main$
|
|
19492
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
19493
19493
|
__name: "index",
|
|
19494
19494
|
props: {
|
|
19495
19495
|
modelValue: {},
|
|
@@ -19606,7 +19606,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
19606
19606
|
});
|
|
19607
19607
|
return (_ctx, _cache) => {
|
|
19608
19608
|
var _a, _b;
|
|
19609
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19609
|
+
return openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
19610
19610
|
createElementVNode("label", null, toDisplayString(_ctx.label), 1),
|
|
19611
19611
|
createElementVNode("div", {
|
|
19612
19612
|
class: normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075", { "fullscreen-mode": unref(editor).state.isFullscreen }])
|
|
@@ -19620,7 +19620,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
19620
19620
|
createElementVNode("div", {
|
|
19621
19621
|
class: normalizeClass(["editor-container", { "split-view": unref(editor).state.isSplitView }])
|
|
19622
19622
|
}, [
|
|
19623
|
-
createElementVNode("div", _hoisted_2$
|
|
19623
|
+
createElementVNode("div", _hoisted_2$j, [
|
|
19624
19624
|
createElementVNode("iframe", {
|
|
19625
19625
|
id: "rich-text-iframe",
|
|
19626
19626
|
ref_key: "iframe",
|
|
@@ -19643,7 +19643,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
19643
19643
|
class: "code-editor"
|
|
19644
19644
|
}, null, 8, ["modelValue"])) : createCommentVNode("", true)
|
|
19645
19645
|
], 2),
|
|
19646
|
-
_ctx.debug ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
19646
|
+
_ctx.debug ? (openBlock(), createElementBlock("div", _hoisted_3$f, [
|
|
19647
19647
|
_cache[6] || (_cache[6] = createElementVNode("p", { class: "text12 txt-gray mb-0 p-0" }, " Debug ", -1)),
|
|
19648
19648
|
createVNode(unref(Btn), {
|
|
19649
19649
|
thin: "",
|
|
@@ -19687,18 +19687,18 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
19687
19687
|
};
|
|
19688
19688
|
}
|
|
19689
19689
|
});
|
|
19690
|
-
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19691
|
-
const _hoisted_1$
|
|
19692
|
-
const _hoisted_2$
|
|
19693
|
-
const _hoisted_3$
|
|
19694
|
-
const _hoisted_4$
|
|
19690
|
+
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-30bcda4c"]]);
|
|
19691
|
+
const _hoisted_1$s = { class: "flex gap-05" };
|
|
19692
|
+
const _hoisted_2$i = ["disabled"];
|
|
19693
|
+
const _hoisted_3$e = { key: 1 };
|
|
19694
|
+
const _hoisted_4$9 = {
|
|
19695
19695
|
key: 2,
|
|
19696
19696
|
class: "ms-auto ps-05 me-05"
|
|
19697
19697
|
};
|
|
19698
|
-
const _hoisted_5$
|
|
19699
|
-
const _hoisted_6$
|
|
19700
|
-
const _hoisted_7$
|
|
19701
|
-
const _sfc_main$
|
|
19698
|
+
const _hoisted_5$9 = ["value"];
|
|
19699
|
+
const _hoisted_6$8 = ["aria-selected", "onClick", "onKeydown"];
|
|
19700
|
+
const _hoisted_7$6 = { class: "block" };
|
|
19701
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
19702
19702
|
__name: "SelectInput",
|
|
19703
19703
|
props: {
|
|
19704
19704
|
options: {},
|
|
@@ -19874,7 +19874,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
19874
19874
|
}
|
|
19875
19875
|
});
|
|
19876
19876
|
return (_ctx, _cache) => {
|
|
19877
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
19877
|
+
return openBlock(), createBlock(unref(_sfc_main$W), {
|
|
19878
19878
|
ref_key: "dropdown",
|
|
19879
19879
|
ref: dropdown,
|
|
19880
19880
|
shown: unref(open),
|
|
@@ -19886,7 +19886,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
19886
19886
|
trigger: withCtx(() => [
|
|
19887
19887
|
createElementVNode("label", null, [
|
|
19888
19888
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
19889
|
-
createElementVNode("div", _hoisted_1$
|
|
19889
|
+
createElementVNode("div", _hoisted_1$s, [
|
|
19890
19890
|
_ctx.searchable && unref(open) ? (openBlock(), createBlock(unref(TextInput), {
|
|
19891
19891
|
key: 0,
|
|
19892
19892
|
ref_key: "searchInput",
|
|
@@ -19917,8 +19917,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
19917
19917
|
key: 0,
|
|
19918
19918
|
icon: _ctx.icon
|
|
19919
19919
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
19920
|
-
!_ctx.hideLabel ? (openBlock(), createElementBlock("p", _hoisted_3$
|
|
19921
|
-
_ctx.clearable && selectedItemCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
19920
|
+
!_ctx.hideLabel ? (openBlock(), createElementBlock("p", _hoisted_3$e, toDisplayString(selectedLabel.value), 1)) : createCommentVNode("", true),
|
|
19921
|
+
_ctx.clearable && selectedItemCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_4$9, [
|
|
19922
19922
|
createVNode(unref(Btn), {
|
|
19923
19923
|
flat: "",
|
|
19924
19924
|
thin: "",
|
|
@@ -19934,14 +19934,14 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
19934
19934
|
key: 3,
|
|
19935
19935
|
thin: ""
|
|
19936
19936
|
}, { icon: unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : createCommentVNode("", true)
|
|
19937
|
-
], 42, _hoisted_2$
|
|
19937
|
+
], 42, _hoisted_2$i)),
|
|
19938
19938
|
_ctx.required ? (openBlock(), createElementBlock("input", {
|
|
19939
19939
|
key: 2,
|
|
19940
19940
|
tabindex: "-1",
|
|
19941
19941
|
style: { "width": "0", "height": "0", "position": "absolute", "opacity": "0", "z-index": "-1" },
|
|
19942
19942
|
value: unref(selectedItems),
|
|
19943
19943
|
required: ""
|
|
19944
|
-
}, null, 8, _hoisted_5$
|
|
19944
|
+
}, null, 8, _hoisted_5$9)) : createCommentVNode("", true)
|
|
19945
19945
|
])
|
|
19946
19946
|
])
|
|
19947
19947
|
]),
|
|
@@ -19953,7 +19953,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
19953
19953
|
height: "25px",
|
|
19954
19954
|
class: "mx-1 my-1"
|
|
19955
19955
|
})) : createCommentVNode("", true),
|
|
19956
|
-
createVNode(unref(_sfc_main
|
|
19956
|
+
createVNode(unref(_sfc_main$10), {
|
|
19957
19957
|
class: "p-05",
|
|
19958
19958
|
style: normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
|
|
19959
19959
|
}, {
|
|
@@ -19990,8 +19990,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
19990
19990
|
size: 1.1
|
|
19991
19991
|
})) : createCommentVNode("", true)
|
|
19992
19992
|
], 64)) : createCommentVNode("", true),
|
|
19993
|
-
createElementVNode("span", _hoisted_7$
|
|
19994
|
-
], 42, _hoisted_6$
|
|
19993
|
+
createElementVNode("span", _hoisted_7$6, toDisplayString(getLabel(option2)), 1)
|
|
19994
|
+
], 42, _hoisted_6$8);
|
|
19995
19995
|
}), 128))
|
|
19996
19996
|
], 2),
|
|
19997
19997
|
renderSlot(_ctx.$slots, "last", {}, void 0, true)
|
|
@@ -20004,7 +20004,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
20004
20004
|
};
|
|
20005
20005
|
}
|
|
20006
20006
|
});
|
|
20007
|
-
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20007
|
+
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-70535216"]]);
|
|
20008
20008
|
/*!
|
|
20009
20009
|
* Signature Pad v5.0.4 | https://github.com/szimek/signature_pad
|
|
20010
20010
|
* (c) 2024 Szymon Nowak | Released under the MIT license
|
|
@@ -20601,15 +20601,15 @@ class SignaturePad extends SignatureEventTarget {
|
|
|
20601
20601
|
return svg.outerHTML;
|
|
20602
20602
|
}
|
|
20603
20603
|
}
|
|
20604
|
-
const _hoisted_1$
|
|
20605
|
-
const _hoisted_2$
|
|
20604
|
+
const _hoisted_1$r = ["disabled"];
|
|
20605
|
+
const _hoisted_2$h = {
|
|
20606
20606
|
key: 1,
|
|
20607
20607
|
placeholder: "required",
|
|
20608
20608
|
type: "text",
|
|
20609
20609
|
required: "",
|
|
20610
20610
|
class: "pixel opacity-0"
|
|
20611
20611
|
};
|
|
20612
|
-
const _sfc_main$
|
|
20612
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
20613
20613
|
__name: "SignaturePad",
|
|
20614
20614
|
props: /* @__PURE__ */ mergeModels({
|
|
20615
20615
|
sigOption: {},
|
|
@@ -20805,8 +20805,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
20805
20805
|
ref: vCanvas,
|
|
20806
20806
|
class: "canvas",
|
|
20807
20807
|
disabled: _ctx.disabled
|
|
20808
|
-
}, null, 8, _hoisted_1$
|
|
20809
|
-
_ctx.required && unref(_isEmpty) ? (openBlock(), createElementBlock("input", _hoisted_2$
|
|
20808
|
+
}, null, 8, _hoisted_1$r),
|
|
20809
|
+
_ctx.required && unref(_isEmpty) ? (openBlock(), createElementBlock("input", _hoisted_2$h)) : createCommentVNode("", true)
|
|
20810
20810
|
], 34);
|
|
20811
20811
|
};
|
|
20812
20812
|
}
|
|
@@ -23290,13 +23290,13 @@ const VueDraggableNext = defineComponent({
|
|
|
23290
23290
|
}
|
|
23291
23291
|
}
|
|
23292
23292
|
});
|
|
23293
|
-
const _hoisted_1$
|
|
23294
|
-
const _hoisted_2$
|
|
23295
|
-
const _hoisted_3$
|
|
23296
|
-
const _hoisted_4$
|
|
23297
|
-
const _hoisted_5$
|
|
23298
|
-
const _hoisted_6$
|
|
23299
|
-
const _sfc_main$
|
|
23293
|
+
const _hoisted_1$q = ["title"];
|
|
23294
|
+
const _hoisted_2$g = { class: "bagel-input" };
|
|
23295
|
+
const _hoisted_3$d = { class: "table-side-scroll" };
|
|
23296
|
+
const _hoisted_4$8 = { class: "table-header" };
|
|
23297
|
+
const _hoisted_5$8 = { class: "table-reorder" };
|
|
23298
|
+
const _hoisted_6$7 = { class: "table-action" };
|
|
23299
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
23300
23300
|
__name: "TableField",
|
|
23301
23301
|
props: {
|
|
23302
23302
|
description: { default: "" },
|
|
@@ -23361,11 +23361,11 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
23361
23361
|
class: "table-field-wrap",
|
|
23362
23362
|
title: _ctx.description
|
|
23363
23363
|
}, [
|
|
23364
|
-
createElementVNode("div", _hoisted_2$
|
|
23364
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
23365
23365
|
createElementVNode("label", null, toDisplayString((_a = unref(fieldMeta)) == null ? void 0 : _a.label), 1)
|
|
23366
23366
|
]),
|
|
23367
|
-
createElementVNode("div", _hoisted_3$
|
|
23368
|
-
createElementVNode("div", _hoisted_4$
|
|
23367
|
+
createElementVNode("div", _hoisted_3$d, [
|
|
23368
|
+
createElementVNode("div", _hoisted_4$8, [
|
|
23369
23369
|
(openBlock(true), createElementBlock(Fragment, null, renderList((_b = unref(entityMeta)) == null ? void 0 : _b.fields, (field) => {
|
|
23370
23370
|
return openBlock(), createElementBlock("div", {
|
|
23371
23371
|
key: `${field.fieldname}header`,
|
|
@@ -23392,7 +23392,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
23392
23392
|
key: row.id,
|
|
23393
23393
|
class: "flex table-row"
|
|
23394
23394
|
}, [
|
|
23395
|
-
createElementVNode("div", _hoisted_5$
|
|
23395
|
+
createElementVNode("div", _hoisted_5$8, [
|
|
23396
23396
|
createVNode(unref(Icon), { icon: "more_vert" })
|
|
23397
23397
|
]),
|
|
23398
23398
|
(openBlock(true), createElementBlock(Fragment, null, renderList((_a2 = unref(entityMeta)) == null ? void 0 : _a2.fields, (field) => {
|
|
@@ -23409,7 +23409,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
23409
23409
|
}, null, 8, ["field-meta", "bagel-app", "model-value", "onUpdate:modelValue"])
|
|
23410
23410
|
], 2);
|
|
23411
23411
|
}), 128)),
|
|
23412
|
-
createElementVNode("div", _hoisted_6$
|
|
23412
|
+
createElementVNode("div", _hoisted_6$7, [
|
|
23413
23413
|
createVNode(unref(Icon), {
|
|
23414
23414
|
icon: "delete",
|
|
23415
23415
|
onClick: ($event) => removeRow(index2)
|
|
@@ -23436,11 +23436,11 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
23436
23436
|
])),
|
|
23437
23437
|
_: 1
|
|
23438
23438
|
})
|
|
23439
|
-
], 8, _hoisted_1$
|
|
23439
|
+
], 8, _hoisted_1$q);
|
|
23440
23440
|
};
|
|
23441
23441
|
}
|
|
23442
23442
|
});
|
|
23443
|
-
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23443
|
+
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-e9632f79"]]);
|
|
23444
23444
|
function bind(fn, thisArg) {
|
|
23445
23445
|
return function wrap() {
|
|
23446
23446
|
return fn.apply(thisArg, arguments);
|
|
@@ -27887,14 +27887,14 @@ function parsePhoneNumber$1() {
|
|
|
27887
27887
|
function parsePhoneNumber() {
|
|
27888
27888
|
return withMetadataArgument(parsePhoneNumber$1, arguments);
|
|
27889
27889
|
}
|
|
27890
|
-
const _hoisted_1$
|
|
27891
|
-
const _hoisted_2$
|
|
27892
|
-
const _hoisted_3$
|
|
27893
|
-
const _hoisted_4$
|
|
27894
|
-
const _hoisted_5$
|
|
27895
|
-
const _hoisted_6$
|
|
27896
|
-
const _hoisted_7$
|
|
27897
|
-
const _sfc_main$
|
|
27890
|
+
const _hoisted_1$p = ["aria-expanded"];
|
|
27891
|
+
const _hoisted_2$f = { class: "flex gap-05" };
|
|
27892
|
+
const _hoisted_3$c = { class: "p-075 tel-countryp-dropdown" };
|
|
27893
|
+
const _hoisted_4$7 = ["aria-selected", "onClick", "onMousemove"];
|
|
27894
|
+
const _hoisted_5$7 = { class: "tel-country" };
|
|
27895
|
+
const _hoisted_6$6 = { key: 1 };
|
|
27896
|
+
const _hoisted_7$5 = ["id", "required", "placeholder", "disabled", "autocomplete", "pattern", "minlength", "maxlength", "name", "readonly", "tabindex", "aria-describedby"];
|
|
27897
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
27898
27898
|
__name: "TelInput",
|
|
27899
27899
|
props: /* @__PURE__ */ mergeModels({
|
|
27900
27900
|
label: {},
|
|
@@ -28194,14 +28194,14 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28194
28194
|
withKeys(reset, ["tab"])
|
|
28195
28195
|
]
|
|
28196
28196
|
}, [
|
|
28197
|
-
createVNode(unref(_sfc_main$
|
|
28197
|
+
createVNode(unref(_sfc_main$W), {
|
|
28198
28198
|
shown: open.value,
|
|
28199
28199
|
"onUpdate:shown": _cache[1] || (_cache[1] = ($event) => open.value = $event),
|
|
28200
28200
|
placement: "bottom-start",
|
|
28201
28201
|
disabled: unref(computedDropDownOptions).disabled
|
|
28202
28202
|
}, {
|
|
28203
28203
|
trigger: withCtx(() => [
|
|
28204
|
-
createElementVNode("span", _hoisted_2$
|
|
28204
|
+
createElementVNode("span", _hoisted_2$f, [
|
|
28205
28205
|
createVNode(unref(Icon), {
|
|
28206
28206
|
icon: open.value ? "collapse_all" : "expand_all"
|
|
28207
28207
|
}, null, 8, ["icon"]),
|
|
@@ -28212,7 +28212,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28212
28212
|
])
|
|
28213
28213
|
]),
|
|
28214
28214
|
default: withCtx(() => [
|
|
28215
|
-
createElementVNode("div", _hoisted_3$
|
|
28215
|
+
createElementVNode("div", _hoisted_3$c, [
|
|
28216
28216
|
_ctx.searchable ? (openBlock(), createBlock(unref(TextInput), {
|
|
28217
28217
|
key: 0,
|
|
28218
28218
|
modelValue: unref(searchQuery),
|
|
@@ -28239,9 +28239,9 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28239
28239
|
key: 0,
|
|
28240
28240
|
country: pb.iso2
|
|
28241
28241
|
}, null, 8, ["country"])) : createCommentVNode("", true),
|
|
28242
|
-
createElementVNode("p", _hoisted_5$
|
|
28243
|
-
unref(computedDropDownOptions).showDialCodeInList ? (openBlock(), createElementBlock("span", _hoisted_6$
|
|
28244
|
-
], 40, _hoisted_4$
|
|
28242
|
+
createElementVNode("p", _hoisted_5$7, toDisplayString(pb.name), 1),
|
|
28243
|
+
unref(computedDropDownOptions).showDialCodeInList ? (openBlock(), createElementBlock("span", _hoisted_6$6, " +" + toDisplayString(pb.dialCode), 1)) : createCommentVNode("", true)
|
|
28244
|
+
], 40, _hoisted_4$7);
|
|
28245
28245
|
}), 128))
|
|
28246
28246
|
], 2)
|
|
28247
28247
|
])
|
|
@@ -28272,22 +28272,22 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28272
28272
|
withKeys(onSpace, ["space"])
|
|
28273
28273
|
],
|
|
28274
28274
|
onKeydown: handleInput
|
|
28275
|
-
}, null, 44, _hoisted_7$
|
|
28275
|
+
}, null, 44, _hoisted_7$5), [
|
|
28276
28276
|
[vModelText, phone.value]
|
|
28277
28277
|
])
|
|
28278
|
-
], 40, _hoisted_1$
|
|
28278
|
+
], 40, _hoisted_1$p)
|
|
28279
28279
|
])
|
|
28280
28280
|
], 2);
|
|
28281
28281
|
};
|
|
28282
28282
|
}
|
|
28283
28283
|
});
|
|
28284
|
-
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28285
|
-
const _hoisted_1$
|
|
28286
|
-
const _hoisted_2$
|
|
28287
|
-
const _hoisted_3$
|
|
28288
|
-
const _hoisted_4$
|
|
28289
|
-
const _hoisted_5$
|
|
28290
|
-
const _sfc_main$
|
|
28284
|
+
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-a77caf64"]]);
|
|
28285
|
+
const _hoisted_1$o = ["title"];
|
|
28286
|
+
const _hoisted_2$e = ["for"];
|
|
28287
|
+
const _hoisted_3$b = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
|
|
28288
|
+
const _hoisted_4$6 = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
|
|
28289
|
+
const _hoisted_5$6 = { key: 2 };
|
|
28290
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
28291
28291
|
__name: "TextInput",
|
|
28292
28292
|
props: {
|
|
28293
28293
|
id: {},
|
|
@@ -28390,7 +28390,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
28390
28390
|
onFocus: _cache[2] || (_cache[2] = //@ts-ignore
|
|
28391
28391
|
(...args) => _ctx.onFocus && _ctx.onFocus(...args)),
|
|
28392
28392
|
onInput: updateInputVal
|
|
28393
|
-
}), null, 16, _hoisted_3$
|
|
28393
|
+
}), null, 16, _hoisted_3$b)), [
|
|
28394
28394
|
[
|
|
28395
28395
|
vModelDynamic,
|
|
28396
28396
|
unref(inputVal),
|
|
@@ -28414,10 +28414,10 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
28414
28414
|
onInput: updateInputVal,
|
|
28415
28415
|
onFocusout: _cache[4] || (_cache[4] = //@ts-ignore
|
|
28416
28416
|
(...args) => _ctx.onFocusout && _ctx.onFocusout(...args))
|
|
28417
|
-
}), null, 16, _hoisted_4$
|
|
28417
|
+
}), null, 16, _hoisted_4$6)), [
|
|
28418
28418
|
[vModelText, unref(inputVal)]
|
|
28419
28419
|
]),
|
|
28420
|
-
_ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_5$
|
|
28420
|
+
_ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_5$6, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true),
|
|
28421
28421
|
_ctx.iconStart ? (openBlock(), createBlock(unref(Icon), {
|
|
28422
28422
|
key: 3,
|
|
28423
28423
|
class: "iconStart",
|
|
@@ -28427,16 +28427,16 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
28427
28427
|
key: 4,
|
|
28428
28428
|
icon: _ctx.icon
|
|
28429
28429
|
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
28430
|
-
], 8, _hoisted_2$
|
|
28431
|
-
], 10, _hoisted_1$
|
|
28430
|
+
], 8, _hoisted_2$e)
|
|
28431
|
+
], 10, _hoisted_1$o);
|
|
28432
28432
|
};
|
|
28433
28433
|
}
|
|
28434
28434
|
});
|
|
28435
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28436
|
-
const _hoisted_1$
|
|
28437
|
-
const _hoisted_2$
|
|
28438
|
-
const _hoisted_3$
|
|
28439
|
-
const _sfc_main$
|
|
28435
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-99e3ea36"]]);
|
|
28436
|
+
const _hoisted_1$n = ["title"];
|
|
28437
|
+
const _hoisted_2$d = ["id", "required"];
|
|
28438
|
+
const _hoisted_3$a = ["for"];
|
|
28439
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
28440
28440
|
__name: "ToggleInput",
|
|
28441
28441
|
props: /* @__PURE__ */ mergeModels({
|
|
28442
28442
|
label: {},
|
|
@@ -28472,19 +28472,19 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
28472
28472
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checked.value = $event),
|
|
28473
28473
|
type: "checkbox",
|
|
28474
28474
|
required: _ctx.required
|
|
28475
|
-
}, null, 8, _hoisted_2$
|
|
28475
|
+
}, null, 8, _hoisted_2$d), [
|
|
28476
28476
|
[vModelCheckbox, checked.value]
|
|
28477
28477
|
]),
|
|
28478
28478
|
createElementVNode("label", { for: inputId.value }, [
|
|
28479
28479
|
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
28480
28480
|
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
28481
28481
|
], true)
|
|
28482
|
-
], 8, _hoisted_3$
|
|
28483
|
-
], 10, _hoisted_1$
|
|
28482
|
+
], 8, _hoisted_3$a)
|
|
28483
|
+
], 10, _hoisted_1$n);
|
|
28484
28484
|
};
|
|
28485
28485
|
}
|
|
28486
28486
|
});
|
|
28487
|
-
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28487
|
+
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-ebe691ee"]]);
|
|
28488
28488
|
const files = {
|
|
28489
28489
|
setBaseUrl: (baseUrl) => {
|
|
28490
28490
|
if (!baseUrl) return;
|
|
@@ -28513,19 +28513,19 @@ const files = {
|
|
|
28513
28513
|
return axios$1.get("/files_v2/list", { params: { dir_path: dirPath } });
|
|
28514
28514
|
}
|
|
28515
28515
|
};
|
|
28516
|
-
const _hoisted_1$
|
|
28517
|
-
const _hoisted_2$
|
|
28518
|
-
const _hoisted_3$
|
|
28516
|
+
const _hoisted_1$m = { class: "bagel-input" };
|
|
28517
|
+
const _hoisted_2$c = { key: 0 };
|
|
28518
|
+
const _hoisted_3$9 = {
|
|
28519
28519
|
key: 1,
|
|
28520
28520
|
placeholder: "required",
|
|
28521
28521
|
type: "text",
|
|
28522
28522
|
required: "",
|
|
28523
28523
|
class: "pixel"
|
|
28524
28524
|
};
|
|
28525
|
-
const _hoisted_4$
|
|
28526
|
-
const _hoisted_5$
|
|
28527
|
-
const _hoisted_6$
|
|
28528
|
-
const _hoisted_7$
|
|
28525
|
+
const _hoisted_4$5 = { class: "m-05 flex opacity-7 z-99" };
|
|
28526
|
+
const _hoisted_5$5 = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
|
|
28527
|
+
const _hoisted_6$5 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
|
|
28528
|
+
const _hoisted_7$4 = {
|
|
28529
28529
|
key: 1,
|
|
28530
28530
|
class: "txt-gray txt-12"
|
|
28531
28531
|
};
|
|
@@ -28539,22 +28539,22 @@ const _hoisted_11$2 = {
|
|
|
28539
28539
|
key: 0,
|
|
28540
28540
|
class: "progress"
|
|
28541
28541
|
};
|
|
28542
|
-
const _hoisted_12$
|
|
28542
|
+
const _hoisted_12$1 = {
|
|
28543
28543
|
key: 1,
|
|
28544
28544
|
class: "bgl-single-preview"
|
|
28545
28545
|
};
|
|
28546
|
-
const _hoisted_13
|
|
28547
|
-
const _hoisted_14
|
|
28546
|
+
const _hoisted_13 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
|
|
28547
|
+
const _hoisted_14 = {
|
|
28548
28548
|
key: 0,
|
|
28549
28549
|
class: "h-100"
|
|
28550
28550
|
};
|
|
28551
|
-
const _hoisted_15
|
|
28551
|
+
const _hoisted_15 = {
|
|
28552
28552
|
key: 0,
|
|
28553
28553
|
class: "progress"
|
|
28554
28554
|
};
|
|
28555
|
-
const _hoisted_16
|
|
28556
|
-
const _hoisted_17
|
|
28557
|
-
const _sfc_main$
|
|
28555
|
+
const _hoisted_16 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
|
|
28556
|
+
const _hoisted_17 = { class: "pretty balance" };
|
|
28557
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
28558
28558
|
__name: "UploadInput",
|
|
28559
28559
|
props: {
|
|
28560
28560
|
label: {},
|
|
@@ -28663,10 +28663,10 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
28663
28663
|
return (_ctx, _cache) => {
|
|
28664
28664
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
28665
28665
|
const _directive_lightbox = resolveDirective("lightbox");
|
|
28666
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
28667
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
28668
|
-
_ctx.required && !pathKeys.value.length ? (openBlock(), createElementBlock("input", _hoisted_3$
|
|
28669
|
-
_ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main
|
|
28666
|
+
return openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
28667
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$c, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
28668
|
+
_ctx.required && !pathKeys.value.length ? (openBlock(), createElementBlock("input", _hoisted_3$9)) : createCommentVNode("", true),
|
|
28669
|
+
_ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$10), {
|
|
28670
28670
|
key: 2,
|
|
28671
28671
|
outline: "",
|
|
28672
28672
|
class: "flex p-05 gap-1",
|
|
@@ -28687,7 +28687,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
28687
28687
|
key: path_key,
|
|
28688
28688
|
class: "txt-gray txt-12 flex"
|
|
28689
28689
|
}, [
|
|
28690
|
-
createElementVNode("div", _hoisted_4$
|
|
28690
|
+
createElementVNode("div", _hoisted_4$5, [
|
|
28691
28691
|
withDirectives(createVNode(unref(Btn), {
|
|
28692
28692
|
color: "gray",
|
|
28693
28693
|
thin: "",
|
|
@@ -28711,12 +28711,12 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
28711
28711
|
href: unref(pathKeyToURL)(path_key),
|
|
28712
28712
|
download: path_key.split("/").pop()
|
|
28713
28713
|
}, null, 8, ["href", "download"]),
|
|
28714
|
-
createElementVNode("div", _hoisted_5$
|
|
28714
|
+
createElementVNode("div", _hoisted_5$5, [
|
|
28715
28715
|
createVNode(unref(Icon), {
|
|
28716
28716
|
icon: "draft",
|
|
28717
28717
|
size: 1.5
|
|
28718
28718
|
}),
|
|
28719
|
-
withDirectives((openBlock(), createElementBlock("p", _hoisted_6$
|
|
28719
|
+
withDirectives((openBlock(), createElementBlock("p", _hoisted_6$5, [
|
|
28720
28720
|
createTextVNode(toDisplayString(path_key.split("/").pop()), 1)
|
|
28721
28721
|
])), [
|
|
28722
28722
|
[_directive_lightbox, { src: unref(pathKeyToURL)(path_key), download: true }]
|
|
@@ -28725,7 +28725,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
28725
28725
|
])
|
|
28726
28726
|
]);
|
|
28727
28727
|
}), 128)),
|
|
28728
|
-
!pathKeys.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_7$
|
|
28728
|
+
!pathKeys.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_7$4, toDisplayString(_ctx.noFilePlaceholder || "No file selected"), 1)) : createCommentVNode("", true)
|
|
28729
28729
|
]),
|
|
28730
28730
|
_: 1
|
|
28731
28731
|
})) : (openBlock(), createElementBlock("div", {
|
|
@@ -28800,13 +28800,13 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
28800
28800
|
], 6)
|
|
28801
28801
|
], 2);
|
|
28802
28802
|
}), 128))
|
|
28803
|
-
])) : pathKeys.value.length > 0 || fileQueue.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_12$
|
|
28803
|
+
])) : pathKeys.value.length > 0 || fileQueue.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_12$1, [
|
|
28804
28804
|
(openBlock(true), createElementBlock(Fragment, null, renderList(pathKeys.value, (path_key) => {
|
|
28805
28805
|
return openBlock(), createElementBlock("div", {
|
|
28806
28806
|
key: path_key,
|
|
28807
28807
|
class: normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
|
|
28808
28808
|
}, [
|
|
28809
|
-
createElementVNode("div", _hoisted_13
|
|
28809
|
+
createElementVNode("div", _hoisted_13, [
|
|
28810
28810
|
withDirectives(createVNode(unref(Btn), {
|
|
28811
28811
|
color: "gray",
|
|
28812
28812
|
thin: "",
|
|
@@ -28833,7 +28833,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
28833
28833
|
[_directive_tooltip, "Download"]
|
|
28834
28834
|
])
|
|
28835
28835
|
]),
|
|
28836
|
-
isImage(path_key) ? (openBlock(), createElementBlock("div", _hoisted_14
|
|
28836
|
+
isImage(path_key) ? (openBlock(), createElementBlock("div", _hoisted_14, [
|
|
28837
28837
|
withDirectives(createVNode(unref(Image$1), {
|
|
28838
28838
|
class: "single-preview",
|
|
28839
28839
|
pathKey: path_key,
|
|
@@ -28861,7 +28861,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
28861
28861
|
class: normalizeClass(["pie", { complete: file.progress === 100 }]),
|
|
28862
28862
|
style: normalizeStyle([{ "--p": file.progress }, { "--b": "2px" }])
|
|
28863
28863
|
}, [
|
|
28864
|
-
file.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_15
|
|
28864
|
+
file.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_15, toDisplayString(file.progress.toFixed(0)), 1)) : createCommentVNode("", true),
|
|
28865
28865
|
createVNode(unref(Icon), {
|
|
28866
28866
|
class: "success",
|
|
28867
28867
|
icon: "check_circle"
|
|
@@ -28885,9 +28885,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
28885
28885
|
fileQueue: fileQueue.value,
|
|
28886
28886
|
browse
|
|
28887
28887
|
}, () => [
|
|
28888
|
-
createElementVNode("p", _hoisted_16
|
|
28888
|
+
createElementVNode("p", _hoisted_16, [
|
|
28889
28889
|
createVNode(unref(Icon), { icon: "upload_2" }),
|
|
28890
|
-
createElementVNode("span", _hoisted_17
|
|
28890
|
+
createElementVNode("span", _hoisted_17, toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
|
|
28891
28891
|
])
|
|
28892
28892
|
], true) : createCommentVNode("", true)
|
|
28893
28893
|
], 38))
|
|
@@ -28895,7 +28895,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
28895
28895
|
};
|
|
28896
28896
|
}
|
|
28897
28897
|
});
|
|
28898
|
-
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28898
|
+
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-d2faef2b"]]);
|
|
28899
28899
|
const FONT_AWESOME_ICONS = [
|
|
28900
28900
|
"trash-can",
|
|
28901
28901
|
"message",
|
|
@@ -33321,7 +33321,7 @@ const MATERIAL_ICONS = [
|
|
|
33321
33321
|
"zoom_out",
|
|
33322
33322
|
"zoom_out_map"
|
|
33323
33323
|
];
|
|
33324
|
-
const _sfc_main$
|
|
33324
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
33325
33325
|
__name: "Icon",
|
|
33326
33326
|
props: {
|
|
33327
33327
|
icon: {},
|
|
@@ -33352,9 +33352,9 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
33352
33352
|
};
|
|
33353
33353
|
}
|
|
33354
33354
|
});
|
|
33355
|
-
const Icon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33356
|
-
const _hoisted_1$
|
|
33357
|
-
const _sfc_main$
|
|
33355
|
+
const Icon = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-b28cd148"]]);
|
|
33356
|
+
const _hoisted_1$l = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
|
|
33357
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
33358
33358
|
__name: "IframeVue",
|
|
33359
33359
|
props: {
|
|
33360
33360
|
src: {},
|
|
@@ -33413,14 +33413,14 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
33413
33413
|
scrolling: _ctx.scrolling,
|
|
33414
33414
|
srcset: _ctx.srcset,
|
|
33415
33415
|
onLoad: _cache[0] || (_cache[0] = ($event) => emit2("load", $event))
|
|
33416
|
-
}, null, 40, _hoisted_1$
|
|
33416
|
+
}, null, 40, _hoisted_1$l);
|
|
33417
33417
|
};
|
|
33418
33418
|
}
|
|
33419
33419
|
});
|
|
33420
|
-
const _hoisted_1$
|
|
33421
|
-
const _hoisted_2$
|
|
33422
|
-
const _hoisted_3$
|
|
33423
|
-
const _sfc_main$
|
|
33420
|
+
const _hoisted_1$k = { key: 0 };
|
|
33421
|
+
const _hoisted_2$b = ["src", "alt", "width", "height"];
|
|
33422
|
+
const _hoisted_3$8 = ["src", "alt", "width", "height"];
|
|
33423
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
33424
33424
|
__name: "Image",
|
|
33425
33425
|
props: {
|
|
33426
33426
|
src: {},
|
|
@@ -33496,7 +33496,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
33496
33496
|
}
|
|
33497
33497
|
watch(() => [props2.src, props2.pathKey], loadImage, { immediate: true });
|
|
33498
33498
|
return (_ctx, _cache) => {
|
|
33499
|
-
return _ctx.caption ? (openBlock(), createElementBlock("figcaption", _hoisted_1$
|
|
33499
|
+
return _ctx.caption ? (openBlock(), createElementBlock("figcaption", _hoisted_1$k, [
|
|
33500
33500
|
unref(imageSrc) ? (openBlock(), createElementBlock("img", mergeProps({
|
|
33501
33501
|
key: 0,
|
|
33502
33502
|
src: unref(imageSrc)
|
|
@@ -33504,7 +33504,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
33504
33504
|
alt: _ctx.alt,
|
|
33505
33505
|
width: unref(normalizeDimension)(_ctx.width),
|
|
33506
33506
|
height: unref(normalizeDimension)(_ctx.height)
|
|
33507
|
-
}), null, 16, _hoisted_2$
|
|
33507
|
+
}), null, 16, _hoisted_2$b)) : (openBlock(), createBlock(unref(Skeleton), {
|
|
33508
33508
|
key: 1,
|
|
33509
33509
|
class: "img-web-kit",
|
|
33510
33510
|
width: unref(normalizeDimension)(_ctx.width),
|
|
@@ -33517,7 +33517,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
33517
33517
|
alt: _ctx.alt,
|
|
33518
33518
|
width: unref(normalizeDimension)(_ctx.width),
|
|
33519
33519
|
height: unref(normalizeDimension)(_ctx.height)
|
|
33520
|
-
}), null, 16, _hoisted_3$
|
|
33520
|
+
}), null, 16, _hoisted_3$8)) : unref(loadingError) ? (openBlock(), createElementBlock("div", {
|
|
33521
33521
|
key: 2,
|
|
33522
33522
|
class: "flex-center error-image",
|
|
33523
33523
|
style: normalizeStyle({
|
|
@@ -33535,16 +33535,16 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
33535
33535
|
};
|
|
33536
33536
|
}
|
|
33537
33537
|
});
|
|
33538
|
-
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33539
|
-
const _hoisted_1$
|
|
33540
|
-
const _sfc_main$
|
|
33538
|
+
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-2f5e271c"]]);
|
|
33539
|
+
const _hoisted_1$j = { class: "m-0 pb-025 txt14 line-height-1 w60 menu-text" };
|
|
33540
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
33541
33541
|
__name: "BottomMenu",
|
|
33542
33542
|
props: {
|
|
33543
33543
|
navLinks: {}
|
|
33544
33544
|
},
|
|
33545
33545
|
setup(__props) {
|
|
33546
33546
|
return (_ctx, _cache) => {
|
|
33547
|
-
return openBlock(), createBlock(unref(_sfc_main
|
|
33547
|
+
return openBlock(), createBlock(unref(_sfc_main$10), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
|
|
33548
33548
|
default: withCtx(() => [
|
|
33549
33549
|
renderSlot(_ctx.$slots, "brand", {}, void 0, true),
|
|
33550
33550
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.navLinks, (nav, i2) => {
|
|
@@ -33560,7 +33560,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
33560
33560
|
size: 1.4,
|
|
33561
33561
|
class: "m-0 line-height-14"
|
|
33562
33562
|
}, null, 8, ["icon"]),
|
|
33563
|
-
createElementVNode("p", _hoisted_1$
|
|
33563
|
+
createElementVNode("p", _hoisted_1$j, toDisplayString(nav.label), 1)
|
|
33564
33564
|
]),
|
|
33565
33565
|
_: 2
|
|
33566
33566
|
}, 1032, ["to", "onClick"]);
|
|
@@ -33572,8 +33572,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
33572
33572
|
};
|
|
33573
33573
|
}
|
|
33574
33574
|
});
|
|
33575
|
-
const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33576
|
-
const _sfc_main$
|
|
33575
|
+
const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-fe3a895e"]]);
|
|
33576
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
33577
33577
|
__name: "Layout",
|
|
33578
33578
|
props: {
|
|
33579
33579
|
gap: { default: 1 },
|
|
@@ -33614,9 +33614,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
33614
33614
|
};
|
|
33615
33615
|
}
|
|
33616
33616
|
});
|
|
33617
|
-
const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33618
|
-
const _hoisted_1$
|
|
33619
|
-
const _sfc_main$
|
|
33617
|
+
const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-1814129a"]]);
|
|
33618
|
+
const _hoisted_1$i = { key: 0 };
|
|
33619
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
33620
33620
|
__name: "SidebarMenu",
|
|
33621
33621
|
props: {
|
|
33622
33622
|
navLinks: {},
|
|
@@ -33645,7 +33645,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
33645
33645
|
icon: "keyboard_arrow_right",
|
|
33646
33646
|
onClick: unref(toggleMenu)
|
|
33647
33647
|
}, null, 8, ["onClick"]),
|
|
33648
|
-
createVNode(unref(_sfc_main
|
|
33648
|
+
createVNode(unref(_sfc_main$10), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
|
|
33649
33649
|
default: withCtx(() => [
|
|
33650
33650
|
!unref(isOpen) || !unref(slots)["brand-open"] ? renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : createCommentVNode("", true),
|
|
33651
33651
|
unref(isOpen) ? renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : createCommentVNode("", true),
|
|
@@ -33663,7 +33663,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
33663
33663
|
}, null, 8, ["icon"]),
|
|
33664
33664
|
createVNode(Transition, { name: "showP" }, {
|
|
33665
33665
|
default: withCtx(() => [
|
|
33666
|
-
_ctx.open ? (openBlock(), createElementBlock("p", _hoisted_1$
|
|
33666
|
+
_ctx.open ? (openBlock(), createElementBlock("p", _hoisted_1$i, toDisplayString(nav.label), 1)) : createCommentVNode("", true)
|
|
33667
33667
|
]),
|
|
33668
33668
|
_: 2
|
|
33669
33669
|
}, 1024)
|
|
@@ -33690,8 +33690,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
33690
33690
|
};
|
|
33691
33691
|
}
|
|
33692
33692
|
});
|
|
33693
|
-
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33694
|
-
const _sfc_main$
|
|
33693
|
+
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-951fdacc"]]);
|
|
33694
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
33695
33695
|
__name: "Skeleton",
|
|
33696
33696
|
props: {
|
|
33697
33697
|
count: { default: 1 },
|
|
@@ -33722,11 +33722,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
33722
33722
|
};
|
|
33723
33723
|
}
|
|
33724
33724
|
});
|
|
33725
|
-
const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33726
|
-
const _hoisted_1$
|
|
33727
|
-
const _hoisted_2$
|
|
33728
|
-
const _hoisted_3$
|
|
33729
|
-
const _sfc_main$
|
|
33725
|
+
const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-8788ed73"]]);
|
|
33726
|
+
const _hoisted_1$h = { class: "bgl_card tabs-top" };
|
|
33727
|
+
const _hoisted_2$a = { class: "tabs grid auto-flow-columns fit-content" };
|
|
33728
|
+
const _hoisted_3$7 = ["onClick"];
|
|
33729
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
33730
33730
|
__name: "TabbedLayout",
|
|
33731
33731
|
props: {
|
|
33732
33732
|
title: {},
|
|
@@ -33759,9 +33759,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
33759
33759
|
return openBlock(), createElementBlock("div", {
|
|
33760
33760
|
class: normalizeClass(["h-100 grid list-view gap-1", { "side-tabs": _ctx.sideTabs }])
|
|
33761
33761
|
}, [
|
|
33762
|
-
createElementVNode("div", _hoisted_1$
|
|
33762
|
+
createElementVNode("div", _hoisted_1$h, [
|
|
33763
33763
|
renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
|
|
33764
|
-
createElementVNode("div", _hoisted_2$
|
|
33764
|
+
createElementVNode("div", _hoisted_2$a, [
|
|
33765
33765
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.tabs, (tab) => {
|
|
33766
33766
|
var _a;
|
|
33767
33767
|
return openBlock(), createElementBlock("div", {
|
|
@@ -33770,7 +33770,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
33770
33770
|
active: tab === unref(activeTab) || tab === ((_a = _ctx.router) == null ? void 0 : _a.currentRoute.value.path.split("/").slice(-1)[0])
|
|
33771
33771
|
}, "tab"]),
|
|
33772
33772
|
onClick: ($event) => changeTab(tab)
|
|
33773
|
-
}, toDisplayString(tab), 11, _hoisted_3$
|
|
33773
|
+
}, toDisplayString(tab), 11, _hoisted_3$7);
|
|
33774
33774
|
}), 128))
|
|
33775
33775
|
])
|
|
33776
33776
|
]),
|
|
@@ -33786,7 +33786,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
33786
33786
|
};
|
|
33787
33787
|
}
|
|
33788
33788
|
});
|
|
33789
|
-
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33789
|
+
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-915732c1"]]);
|
|
33790
33790
|
const state = reactive(/* @__PURE__ */ new Map());
|
|
33791
33791
|
function useTabs(group) {
|
|
33792
33792
|
if (!state.has(group)) {
|
|
@@ -33800,8 +33800,8 @@ function useTabs(group) {
|
|
|
33800
33800
|
});
|
|
33801
33801
|
return { currentTab };
|
|
33802
33802
|
}
|
|
33803
|
-
const _hoisted_1$
|
|
33804
|
-
const _sfc_main$
|
|
33803
|
+
const _hoisted_1$g = { key: 0 };
|
|
33804
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
33805
33805
|
__name: "Tabs",
|
|
33806
33806
|
props: {
|
|
33807
33807
|
tabs: {},
|
|
@@ -33843,14 +33843,14 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
33843
33843
|
group: unref(group),
|
|
33844
33844
|
class: "mb-05"
|
|
33845
33845
|
}, null, 8, ["modelValue", "flat", "tabs", "group"]),
|
|
33846
|
-
unref(currentTab) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
33846
|
+
unref(currentTab) ? (openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
33847
33847
|
unref(slots)[unref(currentTab)] ? renderSlot(_ctx.$slots, unref(currentTab), { key: 0 }) : unref(currentTab) ? (openBlock(), createBlock(resolveDynamicComponent(unref(tabComponent)), { key: 1 })) : createCommentVNode("", true)
|
|
33848
33848
|
])) : createCommentVNode("", true)
|
|
33849
33849
|
], 64);
|
|
33850
33850
|
};
|
|
33851
33851
|
}
|
|
33852
33852
|
});
|
|
33853
|
-
const _sfc_main$
|
|
33853
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
33854
33854
|
__name: "TabsBody",
|
|
33855
33855
|
props: {
|
|
33856
33856
|
group: {}
|
|
@@ -33863,8 +33863,8 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
33863
33863
|
};
|
|
33864
33864
|
}
|
|
33865
33865
|
});
|
|
33866
|
-
const _hoisted_1$
|
|
33867
|
-
const _sfc_main$
|
|
33866
|
+
const _hoisted_1$f = ["onClick"];
|
|
33867
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
33868
33868
|
__name: "TabsNav",
|
|
33869
33869
|
props: {
|
|
33870
33870
|
title: {},
|
|
@@ -33946,17 +33946,17 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
33946
33946
|
icon: tab.icon
|
|
33947
33947
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
33948
33948
|
createTextVNode(" " + toDisplayString(tabLabel(tab)), 1)
|
|
33949
|
-
], 10, _hoisted_1$
|
|
33949
|
+
], 10, _hoisted_1$f);
|
|
33950
33950
|
}), 128))
|
|
33951
33951
|
], true)
|
|
33952
33952
|
], 2);
|
|
33953
33953
|
};
|
|
33954
33954
|
}
|
|
33955
33955
|
});
|
|
33956
|
-
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33957
|
-
const _hoisted_1$
|
|
33958
|
-
const _hoisted_2$
|
|
33959
|
-
const _sfc_main$
|
|
33956
|
+
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-e680c2a4"]]);
|
|
33957
|
+
const _hoisted_1$e = { class: "no-margin ellipsis line-height-14 pb-025" };
|
|
33958
|
+
const _hoisted_2$9 = { class: "txt12 no-margin txt-gray ellipsis" };
|
|
33959
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
33960
33960
|
__name: "ListItem",
|
|
33961
33961
|
props: {
|
|
33962
33962
|
src: {},
|
|
@@ -33990,11 +33990,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
33990
33990
|
icon: _ctx.icon
|
|
33991
33991
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
33992
33992
|
createElementVNode("div", null, [
|
|
33993
|
-
createElementVNode("p", _hoisted_1$
|
|
33993
|
+
createElementVNode("p", _hoisted_1$e, [
|
|
33994
33994
|
createTextVNode(toDisplayString(_ctx.title) + " ", 1),
|
|
33995
33995
|
renderSlot(_ctx.$slots, "default")
|
|
33996
33996
|
]),
|
|
33997
|
-
createElementVNode("p", _hoisted_2$
|
|
33997
|
+
createElementVNode("p", _hoisted_2$9, [
|
|
33998
33998
|
createTextVNode(toDisplayString(_ctx.subtitle) + " ", 1),
|
|
33999
33999
|
renderSlot(_ctx.$slots, "subtitle")
|
|
34000
34000
|
])
|
|
@@ -34005,23 +34005,23 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
34005
34005
|
};
|
|
34006
34006
|
}
|
|
34007
34007
|
});
|
|
34008
|
-
const _sfc_main$
|
|
34009
|
-
const _hoisted_1$
|
|
34010
|
-
const _hoisted_2$
|
|
34011
|
-
const _hoisted_3$
|
|
34008
|
+
const _sfc_main$g = {};
|
|
34009
|
+
const _hoisted_1$d = { class: "list-wrap bgl_card thin grid overflow-hidden pt-0 pb-05 px-0 m_pb-0" };
|
|
34010
|
+
const _hoisted_2$8 = { class: "p-0" };
|
|
34011
|
+
const _hoisted_3$6 = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
|
|
34012
34012
|
function _sfc_render$3(_ctx, _cache) {
|
|
34013
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
34014
|
-
createElementVNode("div", _hoisted_2$
|
|
34013
|
+
return openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
34014
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
34015
34015
|
renderSlot(_ctx.$slots, "header")
|
|
34016
34016
|
]),
|
|
34017
|
-
createElementVNode("div", _hoisted_3$
|
|
34017
|
+
createElementVNode("div", _hoisted_3$6, [
|
|
34018
34018
|
renderSlot(_ctx.$slots, "default")
|
|
34019
34019
|
])
|
|
34020
34020
|
]);
|
|
34021
34021
|
}
|
|
34022
|
-
const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
34023
|
-
const _hoisted_1$
|
|
34024
|
-
const _sfc_main$
|
|
34022
|
+
const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$3]]);
|
|
34023
|
+
const _hoisted_1$c = { class: "flex-center" };
|
|
34024
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
34025
34025
|
__name: "Loading",
|
|
34026
34026
|
props: {
|
|
34027
34027
|
size: { default: 64 },
|
|
@@ -34043,7 +34043,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
34043
34043
|
return standardSize(borderValue);
|
|
34044
34044
|
});
|
|
34045
34045
|
return (_ctx, _cache) => {
|
|
34046
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
34046
|
+
return openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
34047
34047
|
theme.value === "bar" ? (openBlock(), createElementBlock("div", {
|
|
34048
34048
|
key: 0,
|
|
34049
34049
|
class: "lds-bar",
|
|
@@ -34085,11 +34085,11 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
34085
34085
|
};
|
|
34086
34086
|
}
|
|
34087
34087
|
});
|
|
34088
|
-
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
34089
|
-
const _hoisted_1$
|
|
34088
|
+
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-2e27b3c1"]]);
|
|
34089
|
+
const _hoisted_1$b = ["id"];
|
|
34090
34090
|
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>';
|
|
34091
34091
|
const leafletScriptUrl = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js";
|
|
34092
|
-
const _sfc_main$
|
|
34092
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
34093
34093
|
__name: "MapEmbed",
|
|
34094
34094
|
props: {
|
|
34095
34095
|
center: { default: () => [31.7683, 35.2137] },
|
|
@@ -34180,23 +34180,23 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
34180
34180
|
class: "leaflet-map",
|
|
34181
34181
|
style: normalizeStyle({ height: `${props2.height || 400}px` }),
|
|
34182
34182
|
dir: "ltr"
|
|
34183
|
-
}, null, 12, _hoisted_1$
|
|
34183
|
+
}, null, 12, _hoisted_1$b);
|
|
34184
34184
|
};
|
|
34185
34185
|
}
|
|
34186
34186
|
});
|
|
34187
|
-
const _hoisted_1$
|
|
34187
|
+
const _hoisted_1$a = {
|
|
34188
34188
|
key: 0,
|
|
34189
34189
|
class: "tool-bar"
|
|
34190
34190
|
};
|
|
34191
|
-
const _hoisted_2$
|
|
34191
|
+
const _hoisted_2$7 = {
|
|
34192
34192
|
key: 1,
|
|
34193
34193
|
class: "sticky bg-popup z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
|
|
34194
34194
|
};
|
|
34195
|
-
const _hoisted_3$
|
|
34195
|
+
const _hoisted_3$5 = {
|
|
34196
34196
|
key: 2,
|
|
34197
34197
|
class: "modal-footer mt-1"
|
|
34198
34198
|
};
|
|
34199
|
-
const _sfc_main$
|
|
34199
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
34200
34200
|
__name: "Modal",
|
|
34201
34201
|
props: {
|
|
34202
34202
|
thin: { type: Boolean },
|
|
@@ -34253,7 +34253,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
34253
34253
|
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
34254
34254
|
onKeydown: withKeys(closeModal, ["esc"])
|
|
34255
34255
|
}, [
|
|
34256
|
-
createVNode(unref(_sfc_main
|
|
34256
|
+
createVNode(unref(_sfc_main$10), {
|
|
34257
34257
|
class: "modal",
|
|
34258
34258
|
style: normalizeStyle({ ...maxWidth.value }),
|
|
34259
34259
|
thin: _ctx.thin,
|
|
@@ -34263,7 +34263,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
34263
34263
|
default: withCtx(() => {
|
|
34264
34264
|
var _a;
|
|
34265
34265
|
return [
|
|
34266
|
-
unref(slots).toolbar || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$
|
|
34266
|
+
unref(slots).toolbar || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$a, [
|
|
34267
34267
|
renderSlot(_ctx.$slots, "toolbar"),
|
|
34268
34268
|
createVNode(unref(Btn), {
|
|
34269
34269
|
style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -34278,7 +34278,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
34278
34278
|
tag: "h3",
|
|
34279
34279
|
label: _ctx.title
|
|
34280
34280
|
}, null, 8, ["label"])) : createCommentVNode("", true)
|
|
34281
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
34281
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_2$7, [
|
|
34282
34282
|
createVNode(unref(Btn), {
|
|
34283
34283
|
class: "position-start",
|
|
34284
34284
|
icon: "close",
|
|
@@ -34288,7 +34288,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
34288
34288
|
})
|
|
34289
34289
|
])),
|
|
34290
34290
|
renderSlot(_ctx.$slots, "default"),
|
|
34291
|
-
unref(slots).footer || ((_a = _ctx.actions) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("footer", _hoisted_3$
|
|
34291
|
+
unref(slots).footer || ((_a = _ctx.actions) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("footer", _hoisted_3$5, [
|
|
34292
34292
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.actions, (action, i2) => {
|
|
34293
34293
|
return openBlock(), createBlock(unref(Btn), mergeProps({
|
|
34294
34294
|
key: i2,
|
|
@@ -34306,8 +34306,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
34306
34306
|
};
|
|
34307
34307
|
}
|
|
34308
34308
|
});
|
|
34309
|
-
const _hoisted_1$
|
|
34310
|
-
const _sfc_main$
|
|
34309
|
+
const _hoisted_1$9 = { class: "pb-05 pretty" };
|
|
34310
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
34311
34311
|
__name: "ModalConfirm",
|
|
34312
34312
|
props: {
|
|
34313
34313
|
title: {},
|
|
@@ -34333,7 +34333,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
34333
34333
|
const confirmBtnColor = props2.confirmBtnColor || "green";
|
|
34334
34334
|
const cancelBtnColor = props2.cancelBtnColor || "gray";
|
|
34335
34335
|
return (_ctx, _cache) => {
|
|
34336
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
34336
|
+
return openBlock(), createBlock(unref(_sfc_main$d), {
|
|
34337
34337
|
title: unref(title),
|
|
34338
34338
|
width: "380px",
|
|
34339
34339
|
dismissable: false,
|
|
@@ -34352,16 +34352,16 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
34352
34352
|
}, null, 8, ["color", "value"])
|
|
34353
34353
|
]),
|
|
34354
34354
|
default: withCtx(() => [
|
|
34355
|
-
createElementVNode("p", _hoisted_1$
|
|
34355
|
+
createElementVNode("p", _hoisted_1$9, toDisplayString(unref(message)), 1)
|
|
34356
34356
|
]),
|
|
34357
34357
|
_: 1
|
|
34358
34358
|
}, 8, ["title"]);
|
|
34359
34359
|
};
|
|
34360
34360
|
}
|
|
34361
34361
|
});
|
|
34362
|
-
const _hoisted_1$
|
|
34363
|
-
const _hoisted_2$
|
|
34364
|
-
const _sfc_main$
|
|
34362
|
+
const _hoisted_1$8 = { class: "flex gap-0" };
|
|
34363
|
+
const _hoisted_2$6 = { class: "flex gap-05" };
|
|
34364
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
34365
34365
|
__name: "ModalForm",
|
|
34366
34366
|
props: /* @__PURE__ */ mergeModels({
|
|
34367
34367
|
schema: {},
|
|
@@ -34425,7 +34425,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
34425
34425
|
}
|
|
34426
34426
|
__expose({ setFormValues });
|
|
34427
34427
|
return (_ctx, _cache) => {
|
|
34428
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
34428
|
+
return openBlock(), createBlock(unref(_sfc_main$d), {
|
|
34429
34429
|
ref_key: "modal",
|
|
34430
34430
|
ref: modal,
|
|
34431
34431
|
side: _ctx.side,
|
|
@@ -34436,7 +34436,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
34436
34436
|
"onUpdate:visible": _cache[3] || (_cache[3] = ($event) => emit2("update:visible", $event))
|
|
34437
34437
|
}, createSlots({
|
|
34438
34438
|
default: withCtx(() => [
|
|
34439
|
-
_ctx.visible ? (openBlock(), createBlock(unref(_sfc_main$
|
|
34439
|
+
_ctx.visible ? (openBlock(), createBlock(unref(_sfc_main$T), {
|
|
34440
34440
|
key: 0,
|
|
34441
34441
|
ref_key: "form",
|
|
34442
34442
|
ref: form,
|
|
@@ -34454,7 +34454,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
34454
34454
|
_ctx.onDelete || _ctx.onSubmit ? {
|
|
34455
34455
|
name: "footer",
|
|
34456
34456
|
fn: withCtx(() => [
|
|
34457
|
-
createElementVNode("div", _hoisted_1$
|
|
34457
|
+
createElementVNode("div", _hoisted_1$8, [
|
|
34458
34458
|
createVNode(unref(Btn), {
|
|
34459
34459
|
thin: "",
|
|
34460
34460
|
flat: "",
|
|
@@ -34471,7 +34471,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
34471
34471
|
onClick: runDelete
|
|
34472
34472
|
}, null, 8, ["value"])) : createCommentVNode("", true)
|
|
34473
34473
|
]),
|
|
34474
|
-
createElementVNode("div", _hoisted_2$
|
|
34474
|
+
createElementVNode("div", _hoisted_2$6, [
|
|
34475
34475
|
_ctx.onDuplicate ? (openBlock(), createBlock(unref(Btn), {
|
|
34476
34476
|
key: 0,
|
|
34477
34477
|
outline: "",
|
|
@@ -34497,14 +34497,14 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
34497
34497
|
};
|
|
34498
34498
|
}
|
|
34499
34499
|
});
|
|
34500
|
-
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
34501
|
-
const _hoisted_1$
|
|
34502
|
-
const _hoisted_2$
|
|
34503
|
-
const _hoisted_3$
|
|
34504
|
-
const _hoisted_4$
|
|
34505
|
-
const _hoisted_5$
|
|
34506
|
-
const _hoisted_6$
|
|
34507
|
-
const _sfc_main$
|
|
34500
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-1c0f6894"]]);
|
|
34501
|
+
const _hoisted_1$7 = { class: "full-nav" };
|
|
34502
|
+
const _hoisted_2$5 = { class: "nav-scroll" };
|
|
34503
|
+
const _hoisted_3$4 = { class: "nav-links-wrapper" };
|
|
34504
|
+
const _hoisted_4$4 = { class: "tooltip" };
|
|
34505
|
+
const _hoisted_5$4 = { class: "bot-buttons-wrapper" };
|
|
34506
|
+
const _hoisted_6$4 = { class: "tooltip" };
|
|
34507
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
34508
34508
|
__name: "NavBar",
|
|
34509
34509
|
props: {
|
|
34510
34510
|
footerLinks: { default: () => [] },
|
|
@@ -34543,9 +34543,9 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
34543
34543
|
class: "top-arrow"
|
|
34544
34544
|
})
|
|
34545
34545
|
], 32),
|
|
34546
|
-
createElementVNode("div", _hoisted_1$
|
|
34547
|
-
createElementVNode("div", _hoisted_2$
|
|
34548
|
-
createElementVNode("div", _hoisted_3$
|
|
34546
|
+
createElementVNode("div", _hoisted_1$7, [
|
|
34547
|
+
createElementVNode("div", _hoisted_2$5, [
|
|
34548
|
+
createElementVNode("div", _hoisted_3$4, [
|
|
34549
34549
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.links, (link) => {
|
|
34550
34550
|
return openBlock(), createBlock(resolveDynamicComponent(link.to ? "router-link" : "div"), {
|
|
34551
34551
|
key: link.label,
|
|
@@ -34560,14 +34560,14 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
34560
34560
|
createVNode(unref(Icon), {
|
|
34561
34561
|
icon: link.icon
|
|
34562
34562
|
}, null, 8, ["icon"]),
|
|
34563
|
-
createElementVNode("div", _hoisted_4$
|
|
34563
|
+
createElementVNode("div", _hoisted_4$4, toDisplayString(link.label), 1)
|
|
34564
34564
|
]),
|
|
34565
34565
|
_: 2
|
|
34566
34566
|
}, 1032, ["to", "onClick"]);
|
|
34567
34567
|
}), 128))
|
|
34568
34568
|
])
|
|
34569
34569
|
]),
|
|
34570
|
-
createElementVNode("div", _hoisted_5$
|
|
34570
|
+
createElementVNode("div", _hoisted_5$4, [
|
|
34571
34571
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.footerLinks, (link) => {
|
|
34572
34572
|
return openBlock(), createBlock(resolveDynamicComponent(link.to ? "router-link" : "div"), {
|
|
34573
34573
|
key: link.label,
|
|
@@ -34582,7 +34582,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
34582
34582
|
createVNode(unref(Icon), {
|
|
34583
34583
|
icon: link.icon
|
|
34584
34584
|
}, null, 8, ["icon"]),
|
|
34585
|
-
createElementVNode("div", _hoisted_6$
|
|
34585
|
+
createElementVNode("div", _hoisted_6$4, toDisplayString(link.label), 1)
|
|
34586
34586
|
]),
|
|
34587
34587
|
_: 2
|
|
34588
34588
|
}, 1032, ["to", "onClick"]);
|
|
@@ -34594,10 +34594,10 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
34594
34594
|
};
|
|
34595
34595
|
}
|
|
34596
34596
|
});
|
|
34597
|
-
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
34598
|
-
const _hoisted_1$
|
|
34599
|
-
const _hoisted_2$
|
|
34600
|
-
const _sfc_main$
|
|
34597
|
+
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-f3df1ee7"]]);
|
|
34598
|
+
const _hoisted_1$6 = { class: "page-top" };
|
|
34599
|
+
const _hoisted_2$4 = { class: "top-title m-0" };
|
|
34600
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
34601
34601
|
__name: "PageTitle",
|
|
34602
34602
|
props: {
|
|
34603
34603
|
value: {
|
|
@@ -34607,8 +34607,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
34607
34607
|
},
|
|
34608
34608
|
setup(__props) {
|
|
34609
34609
|
return (_ctx, _cache) => {
|
|
34610
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
34611
|
-
createElementVNode("h1", _hoisted_2$
|
|
34610
|
+
return openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
34611
|
+
createElementVNode("h1", _hoisted_2$4, [
|
|
34612
34612
|
renderSlot(_ctx.$slots, "default"),
|
|
34613
34613
|
createTextVNode(" " + toDisplayString(__props.value), 1)
|
|
34614
34614
|
])
|
|
@@ -34616,27 +34616,27 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
34616
34616
|
};
|
|
34617
34617
|
}
|
|
34618
34618
|
});
|
|
34619
|
-
const _hoisted_1$
|
|
34620
|
-
const _hoisted_2$
|
|
34621
|
-
const _hoisted_3$
|
|
34619
|
+
const _hoisted_1$5 = ["disabled"];
|
|
34620
|
+
const _hoisted_2$3 = { class: "bgl_pill-flex" };
|
|
34621
|
+
const _hoisted_3$3 = {
|
|
34622
34622
|
key: 0,
|
|
34623
34623
|
class: "loading"
|
|
34624
34624
|
};
|
|
34625
|
-
const _hoisted_4$
|
|
34626
|
-
const _hoisted_5$
|
|
34625
|
+
const _hoisted_4$3 = { key: 1 };
|
|
34626
|
+
const _hoisted_5$3 = {
|
|
34627
34627
|
key: 0,
|
|
34628
34628
|
class: "flex h-100"
|
|
34629
34629
|
};
|
|
34630
|
-
const _hoisted_6$
|
|
34630
|
+
const _hoisted_6$3 = {
|
|
34631
34631
|
key: 5,
|
|
34632
34632
|
class: "loading"
|
|
34633
34633
|
};
|
|
34634
|
-
const _hoisted_7$
|
|
34634
|
+
const _hoisted_7$3 = { key: 6 };
|
|
34635
34635
|
const _hoisted_8$2 = {
|
|
34636
34636
|
key: 0,
|
|
34637
34637
|
class: "flex h-100"
|
|
34638
34638
|
};
|
|
34639
|
-
const _sfc_main$
|
|
34639
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
34640
34640
|
__name: "Pill",
|
|
34641
34641
|
props: {
|
|
34642
34642
|
disabled: { type: Boolean },
|
|
@@ -34714,9 +34714,9 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
34714
34714
|
"bgl_pill-border": _ctx.border || _ctx.outline
|
|
34715
34715
|
})
|
|
34716
34716
|
}, [
|
|
34717
|
-
createElementVNode("div", _hoisted_2$
|
|
34718
|
-
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
34719
|
-
_ctx.btn ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
34717
|
+
createElementVNode("div", _hoisted_2$3, [
|
|
34718
|
+
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_3$3)) : (openBlock(), createElementBlock("div", _hoisted_4$3, [
|
|
34719
|
+
_ctx.btn ? (openBlock(), createElementBlock("div", _hoisted_5$3, [
|
|
34720
34720
|
createVNode(unref(Btn), mergeProps({
|
|
34721
34721
|
class: "bgl_pill-btn",
|
|
34722
34722
|
round: "",
|
|
@@ -34736,7 +34736,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
34736
34736
|
key: 4,
|
|
34737
34737
|
icon: _ctx.iconEnd
|
|
34738
34738
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
34739
|
-
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
34739
|
+
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_6$3)) : (openBlock(), createElementBlock("div", _hoisted_7$3, [
|
|
34740
34740
|
_ctx.btnEnd ? (openBlock(), createElementBlock("div", _hoisted_8$2, [
|
|
34741
34741
|
createVNode(unref(Btn), mergeProps({
|
|
34742
34742
|
class: "bgl_pill-btn",
|
|
@@ -34746,12 +34746,12 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
34746
34746
|
])) : createCommentVNode("", true)
|
|
34747
34747
|
]))
|
|
34748
34748
|
])
|
|
34749
|
-
], 10, _hoisted_1$
|
|
34749
|
+
], 10, _hoisted_1$5);
|
|
34750
34750
|
};
|
|
34751
34751
|
}
|
|
34752
34752
|
});
|
|
34753
|
-
const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
34754
|
-
const _sfc_main$
|
|
34753
|
+
const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-764b6b8b"]]);
|
|
34754
|
+
const _sfc_main$7 = {};
|
|
34755
34755
|
function _sfc_render$2(_ctx, _cache) {
|
|
34756
34756
|
const _component_router_view = resolveComponent("router-view");
|
|
34757
34757
|
return openBlock(), createBlock(_component_router_view, null, {
|
|
@@ -34773,52 +34773,197 @@ function _sfc_render$2(_ctx, _cache) {
|
|
|
34773
34773
|
_: 1
|
|
34774
34774
|
});
|
|
34775
34775
|
}
|
|
34776
|
-
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
34777
|
-
const _hoisted_1$
|
|
34778
|
-
const _hoisted_2$1 = {
|
|
34776
|
+
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$2]]);
|
|
34777
|
+
const _hoisted_1$4 = {
|
|
34779
34778
|
key: 0,
|
|
34780
|
-
class: "
|
|
34779
|
+
class: "row-number-header bg-white"
|
|
34781
34780
|
};
|
|
34782
|
-
const
|
|
34783
|
-
const
|
|
34784
|
-
const
|
|
34785
|
-
|
|
34786
|
-
|
|
34787
|
-
|
|
34788
|
-
const
|
|
34789
|
-
const
|
|
34790
|
-
const _hoisted_8$1 = ["tabindex", "onMousedown", "onMouseover", "onFocusin", "onDblclick", "onKeydown"];
|
|
34791
|
-
const _hoisted_9$1 = ["value", "onInput"];
|
|
34792
|
-
const _hoisted_10$1 = { class: "spreadsheet-cell spreadsheetCellPlaceHolder" };
|
|
34793
|
-
const _hoisted_11$1 = {
|
|
34781
|
+
const _hoisted_2$2 = { class: "th-content" };
|
|
34782
|
+
const _hoisted_3$2 = ["onClick"];
|
|
34783
|
+
const _hoisted_4$2 = ["onMousedown"];
|
|
34784
|
+
const _hoisted_5$2 = ["onClick"];
|
|
34785
|
+
const _hoisted_6$2 = ["tabindex", "onMousedown", "onMouseover", "onFocusin", "onDblclick", "onKeydown"];
|
|
34786
|
+
const _hoisted_7$2 = ["value", "onInput"];
|
|
34787
|
+
const _hoisted_8$1 = { class: "spreadsheet-cell spreadsheetCellPlaceHolder" };
|
|
34788
|
+
const _hoisted_9$1 = {
|
|
34794
34789
|
key: 0,
|
|
34795
34790
|
class: "h40px w-100p flex align-items-center justify-content-center overflow-hidden"
|
|
34796
34791
|
};
|
|
34797
|
-
const
|
|
34798
|
-
const
|
|
34792
|
+
const _hoisted_10$1 = ["src", "alt"];
|
|
34793
|
+
const _hoisted_11$1 = {
|
|
34799
34794
|
key: 2,
|
|
34800
34795
|
class: "spreadsheet-cell"
|
|
34801
34796
|
};
|
|
34802
|
-
const
|
|
34803
|
-
|
|
34804
|
-
|
|
34805
|
-
|
|
34806
|
-
|
|
34807
|
-
}
|
|
34808
|
-
|
|
34809
|
-
|
|
34810
|
-
|
|
34811
|
-
|
|
34812
|
-
|
|
34813
|
-
|
|
34797
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
34798
|
+
__name: "SpreadsheetTable",
|
|
34799
|
+
props: {
|
|
34800
|
+
columns: {},
|
|
34801
|
+
rows: {},
|
|
34802
|
+
isFixed: { type: Boolean },
|
|
34803
|
+
showRowNumbers: { type: Boolean },
|
|
34804
|
+
columnWidths: {},
|
|
34805
|
+
sortColumn: {},
|
|
34806
|
+
sortDirection: {},
|
|
34807
|
+
selectionStart: {},
|
|
34808
|
+
selectionEnd: {},
|
|
34809
|
+
editingCell: {},
|
|
34810
|
+
baseColumnIndex: {}
|
|
34811
|
+
},
|
|
34812
|
+
emits: ["sortColumn", "resizeStart", "selectRow", "cellMouseDown", "cellMouseOver", "cellEditStart", "cellKeyDown", "updateCell", "stopEditing", "setInputRef"],
|
|
34813
|
+
setup(__props, { emit: __emit }) {
|
|
34814
|
+
const props2 = __props;
|
|
34815
|
+
const getActualColumnIndex = (localIndex) => props2.baseColumnIndex + localIndex;
|
|
34816
|
+
function isCellSelected(row, localColIndex) {
|
|
34817
|
+
if (!props2.selectionStart || !props2.selectionEnd) return false;
|
|
34818
|
+
const colIndex = getActualColumnIndex(localColIndex);
|
|
34819
|
+
const startRow = Math.min(props2.selectionStart.row, props2.selectionEnd.row);
|
|
34820
|
+
const endRow = Math.max(props2.selectionStart.row, props2.selectionEnd.row);
|
|
34821
|
+
const startCol = Math.min(props2.selectionStart.col, props2.selectionEnd.col);
|
|
34822
|
+
const endCol = Math.max(props2.selectionStart.col, props2.selectionEnd.col);
|
|
34823
|
+
return row >= startRow && row <= endRow && colIndex >= startCol && colIndex <= endCol;
|
|
34824
|
+
}
|
|
34825
|
+
function isCellEditable(columnKey) {
|
|
34826
|
+
const column = props2.columns.find((col) => col.key === columnKey);
|
|
34827
|
+
return !((column == null ? void 0 : column.locked) ?? false);
|
|
34828
|
+
}
|
|
34829
|
+
function isEditing(row, localColIndex) {
|
|
34830
|
+
if (!props2.editingCell) return false;
|
|
34831
|
+
const colIndex = getActualColumnIndex(localColIndex);
|
|
34832
|
+
return props2.editingCell.row === row && props2.editingCell.col === colIndex;
|
|
34833
|
+
}
|
|
34834
|
+
function formatCellValue(value, format2) {
|
|
34835
|
+
if (value === null || value === void 0) return "";
|
|
34836
|
+
switch (format2) {
|
|
34837
|
+
case "image":
|
|
34838
|
+
return String(value);
|
|
34839
|
+
// Return raw value for images
|
|
34840
|
+
case "boolean":
|
|
34841
|
+
return "";
|
|
34842
|
+
// Return empty string since we're using CheckInput component
|
|
34843
|
+
case "number":
|
|
34844
|
+
return Number(value).toLocaleString();
|
|
34845
|
+
case "currency":
|
|
34846
|
+
return Number(value).toLocaleString(void 0, {
|
|
34847
|
+
style: "currency",
|
|
34848
|
+
currency: "USD"
|
|
34849
|
+
});
|
|
34850
|
+
case "date":
|
|
34851
|
+
return value ? new Date(value).toLocaleDateString() : "";
|
|
34852
|
+
case "percentage":
|
|
34853
|
+
return Number(value).toLocaleString(void 0, {
|
|
34854
|
+
style: "percent",
|
|
34855
|
+
minimumFractionDigits: 2
|
|
34856
|
+
});
|
|
34857
|
+
default:
|
|
34858
|
+
return String(value);
|
|
34859
|
+
}
|
|
34860
|
+
}
|
|
34861
|
+
return (_ctx, _cache) => {
|
|
34862
|
+
return openBlock(), createElementBlock("table", {
|
|
34863
|
+
class: normalizeClass({ "fixed-columns": _ctx.isFixed, "w-100p": !_ctx.isFixed })
|
|
34864
|
+
}, [
|
|
34865
|
+
createElementVNode("thead", null, [
|
|
34866
|
+
createElementVNode("tr", null, [
|
|
34867
|
+
_ctx.showRowNumbers ? (openBlock(), createElementBlock("th", _hoisted_1$4)) : createCommentVNode("", true),
|
|
34868
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.columns, (col) => {
|
|
34869
|
+
return openBlock(), createElementBlock("th", {
|
|
34870
|
+
key: col.key,
|
|
34871
|
+
style: normalizeStyle({ width: _ctx.columnWidths.get(col.key) ? `${_ctx.columnWidths.get(col.key)}px` : col.width })
|
|
34872
|
+
}, [
|
|
34873
|
+
createElementVNode("div", _hoisted_2$2, [
|
|
34874
|
+
createElementVNode("span", {
|
|
34875
|
+
onClick: ($event) => col.sortable && _ctx.$emit("sortColumn", col.key)
|
|
34876
|
+
}, toDisplayString(col.label || col.key), 9, _hoisted_3$2),
|
|
34877
|
+
_ctx.sortColumn === col.key ? (openBlock(), createBlock(unref(Icon), {
|
|
34878
|
+
key: 0,
|
|
34879
|
+
class: normalizeClass(["line-height-0 transition-400", { "rotate-180": _ctx.sortDirection === "desc" }]),
|
|
34880
|
+
name: "keyboard_arrow_down"
|
|
34881
|
+
}, null, 8, ["class"])) : createCommentVNode("", true),
|
|
34882
|
+
createElementVNode("div", {
|
|
34883
|
+
class: "resize-handle",
|
|
34884
|
+
onMousedown: withModifiers(($event) => _ctx.$emit("resizeStart", $event, col.key), ["stop"])
|
|
34885
|
+
}, null, 40, _hoisted_4$2)
|
|
34886
|
+
])
|
|
34887
|
+
], 4);
|
|
34888
|
+
}), 128))
|
|
34889
|
+
])
|
|
34890
|
+
]),
|
|
34891
|
+
createElementVNode("tbody", null, [
|
|
34892
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.rows, (row, rowIndex) => {
|
|
34893
|
+
return openBlock(), createElementBlock("tr", { key: rowIndex }, [
|
|
34894
|
+
_ctx.showRowNumbers ? (openBlock(), createElementBlock("td", {
|
|
34895
|
+
key: 0,
|
|
34896
|
+
class: "row-number txt-center hover user-select-none pointer txt12 regular",
|
|
34897
|
+
onClick: ($event) => _ctx.$emit("selectRow", rowIndex)
|
|
34898
|
+
}, toDisplayString(rowIndex + 1), 9, _hoisted_5$2)) : createCommentVNode("", true),
|
|
34899
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.columns, (col, colIndex) => {
|
|
34900
|
+
return openBlock(), createElementBlock("td", {
|
|
34901
|
+
key: col.key,
|
|
34902
|
+
class: normalizeClass({
|
|
34903
|
+
selected: isCellSelected(rowIndex, colIndex),
|
|
34904
|
+
locked: !isCellEditable(col.key)
|
|
34905
|
+
}),
|
|
34906
|
+
style: normalizeStyle({ width: _ctx.columnWidths.get(col.key) ? `${_ctx.columnWidths.get(col.key)}px` : col.width }),
|
|
34907
|
+
tabindex: col.hidden ? void 0 : 0,
|
|
34908
|
+
onMousedown: ($event) => _ctx.$emit("cellMouseDown", rowIndex, getActualColumnIndex(colIndex)),
|
|
34909
|
+
onMouseover: ($event) => _ctx.$emit("cellMouseOver", rowIndex, getActualColumnIndex(colIndex)),
|
|
34910
|
+
onFocusin: ($event) => _ctx.$emit("cellMouseOver", rowIndex, getActualColumnIndex(colIndex)),
|
|
34911
|
+
onDblclick: ($event) => _ctx.$emit("cellEditStart", rowIndex, getActualColumnIndex(colIndex)),
|
|
34912
|
+
onKeydown: ($event) => _ctx.$emit("cellKeyDown", $event, rowIndex, getActualColumnIndex(colIndex))
|
|
34913
|
+
}, [
|
|
34914
|
+
isEditing(rowIndex, colIndex) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
34915
|
+
createElementVNode("input", {
|
|
34916
|
+
ref_for: true,
|
|
34917
|
+
ref: (el) => _ctx.$emit("setInputRef", el, `cell-${rowIndex}-${getActualColumnIndex(colIndex)}`),
|
|
34918
|
+
value: row[col.key],
|
|
34919
|
+
type: "text",
|
|
34920
|
+
class: "spreadsheet-input",
|
|
34921
|
+
onInput: (e) => _ctx.$emit("updateCell", rowIndex, col.key, e.target.value),
|
|
34922
|
+
onBlur: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("stopEditing", false)),
|
|
34923
|
+
onKeydown: [
|
|
34924
|
+
_cache[1] || (_cache[1] = withKeys(withModifiers(($event) => _ctx.$emit("stopEditing", false), ["prevent"]), ["enter"])),
|
|
34925
|
+
_cache[2] || (_cache[2] = withKeys(withModifiers(($event) => _ctx.$emit("stopEditing", true), ["prevent"]), ["esc"]))
|
|
34926
|
+
],
|
|
34927
|
+
onMousedown: _cache[3] || (_cache[3] = withModifiers(() => {
|
|
34928
|
+
}, ["stop"]))
|
|
34929
|
+
}, null, 40, _hoisted_7$2),
|
|
34930
|
+
createElementVNode("span", _hoisted_8$1, toDisplayString(formatCellValue(row[col.key], col.format)), 1)
|
|
34931
|
+
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
34932
|
+
col.format === "image" ? (openBlock(), createElementBlock("div", _hoisted_9$1, [
|
|
34933
|
+
createElementVNode("img", {
|
|
34934
|
+
class: "w-100p h-100p contain radius-05",
|
|
34935
|
+
src: row[col.key],
|
|
34936
|
+
alt: col.label || col.key
|
|
34937
|
+
}, null, 8, _hoisted_10$1)
|
|
34938
|
+
])) : col.format === "boolean" ? (openBlock(), createBlock(unref(CheckInput), {
|
|
34939
|
+
key: 1,
|
|
34940
|
+
modelValue: !!row[col.key],
|
|
34941
|
+
disabled: !isCellEditable(col.key),
|
|
34942
|
+
"onUpdate:modelValue": (value) => _ctx.$emit("updateCell", rowIndex, col.key, !!value),
|
|
34943
|
+
onMousedown: _cache[4] || (_cache[4] = withModifiers(() => {
|
|
34944
|
+
}, ["stop"]))
|
|
34945
|
+
}, null, 8, ["modelValue", "disabled", "onUpdate:modelValue"])) : (openBlock(), createElementBlock("span", _hoisted_11$1, toDisplayString(formatCellValue(row[col.key], col.format)), 1))
|
|
34946
|
+
], 64))
|
|
34947
|
+
], 46, _hoisted_6$2);
|
|
34948
|
+
}), 128))
|
|
34949
|
+
]);
|
|
34950
|
+
}), 128))
|
|
34951
|
+
])
|
|
34952
|
+
], 2);
|
|
34953
|
+
};
|
|
34954
|
+
}
|
|
34955
|
+
});
|
|
34956
|
+
const SpreadsheetTable = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-147c95d0"]]);
|
|
34957
|
+
const _hoisted_1$3 = { class: "flex gap-05 py-05 justify-content-end m_flex-wrap" };
|
|
34958
|
+
const _hoisted_2$1 = {
|
|
34814
34959
|
key: 0,
|
|
34815
|
-
class: "
|
|
34816
|
-
};
|
|
34817
|
-
const _hoisted_23 = ["src", "alt"];
|
|
34818
|
-
const _hoisted_24 = {
|
|
34819
|
-
key: 2,
|
|
34820
|
-
class: "spreadsheet-cell"
|
|
34960
|
+
class: "label me-auto"
|
|
34821
34961
|
};
|
|
34962
|
+
const _hoisted_3$1 = { class: "flex gap-075" };
|
|
34963
|
+
const _hoisted_4$1 = { class: "p-05" };
|
|
34964
|
+
const _hoisted_5$1 = { class: "flex space-between" };
|
|
34965
|
+
const _hoisted_6$1 = { class: "flex w-100p relative" };
|
|
34966
|
+
const _hoisted_7$1 = { class: "flex-shrink flex-grow overflow-x" };
|
|
34822
34967
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
34823
34968
|
__name: "Index",
|
|
34824
34969
|
props: {
|
|
@@ -34872,6 +35017,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
34872
35017
|
function emitUpdate() {
|
|
34873
35018
|
emit2("update:modelValue", localRows.value.map((row) => unflattenObject({ ...row })));
|
|
34874
35019
|
}
|
|
35020
|
+
const visibleColumns = ref([]);
|
|
34875
35021
|
const sortColumn = ref(null);
|
|
34876
35022
|
const sortDirection = ref("asc");
|
|
34877
35023
|
const columns = computed(() => {
|
|
@@ -34961,8 +35107,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
34961
35107
|
const modifier = sortDirection.value === "desc" ? 1 : -1;
|
|
34962
35108
|
return aVal < bVal ? -modifier : modifier;
|
|
34963
35109
|
});
|
|
35110
|
+
const currentVisibleColumns = [...visibleColumns.value];
|
|
34964
35111
|
localRows.value = sorted;
|
|
34965
35112
|
emitUpdate();
|
|
35113
|
+
nextTick(() => {
|
|
35114
|
+
visibleColumns.value = currentVisibleColumns;
|
|
35115
|
+
});
|
|
34966
35116
|
}
|
|
34967
35117
|
const isSelecting = ref(false);
|
|
34968
35118
|
const selectionStart = ref(null);
|
|
@@ -34978,14 +35128,6 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
34978
35128
|
editInputRef.value.delete(key);
|
|
34979
35129
|
}
|
|
34980
35130
|
}
|
|
34981
|
-
function isCellSelected(row, col) {
|
|
34982
|
-
if (!selectionStart.value || !selectionEnd.value) return false;
|
|
34983
|
-
const startRow = Math.min(selectionStart.value.row, selectionEnd.value.row);
|
|
34984
|
-
const endRow = Math.max(selectionStart.value.row, selectionEnd.value.row);
|
|
34985
|
-
const startCol = Math.min(selectionStart.value.col, selectionEnd.value.col);
|
|
34986
|
-
const endCol = Math.max(selectionStart.value.col, selectionEnd.value.col);
|
|
34987
|
-
return row >= startRow && row <= endRow && col >= startCol && col <= endCol;
|
|
34988
|
-
}
|
|
34989
35131
|
function handleMouseDown(row, col) {
|
|
34990
35132
|
selectionStart.value = { row, col };
|
|
34991
35133
|
selectionEnd.value = { row, col };
|
|
@@ -35064,11 +35206,16 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
35064
35206
|
localRows.value[rowIndex][key] = parsedValue ?? (column == null ? void 0 : column.defaultValue) ?? ((column == null ? void 0 : column.format) === "boolean" ? false : "");
|
|
35065
35207
|
emitUpdate();
|
|
35066
35208
|
}
|
|
35209
|
+
watch(() => columns.value, (newColumns) => {
|
|
35210
|
+
if (newColumns.length > 0 && visibleColumns.value.length === 0) {
|
|
35211
|
+
visibleColumns.value = newColumns.filter((col) => !col.hidden).map((col) => col.key);
|
|
35212
|
+
}
|
|
35213
|
+
});
|
|
35067
35214
|
const fixedColumns = computed(() => {
|
|
35068
|
-
return columns.value.filter((col) => col.fixed && !col.hidden);
|
|
35215
|
+
return columns.value.filter((col) => col.fixed && !col.hidden && visibleColumns.value.includes(col.key));
|
|
35069
35216
|
});
|
|
35070
35217
|
const scrollableColumns = computed(() => {
|
|
35071
|
-
return columns.value.filter((col) => !col.fixed && !col.hidden);
|
|
35218
|
+
return columns.value.filter((col) => !col.fixed && !col.hidden && visibleColumns.value.includes(col.key));
|
|
35072
35219
|
});
|
|
35073
35220
|
function createEmptyRow() {
|
|
35074
35221
|
const newRow = {};
|
|
@@ -35111,6 +35258,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
35111
35258
|
console.error("Failed to copy to clipboard:", err);
|
|
35112
35259
|
}
|
|
35113
35260
|
}
|
|
35261
|
+
const searchInputRef = ref(null);
|
|
35262
|
+
function isSearchFocused() {
|
|
35263
|
+
var _a, _b;
|
|
35264
|
+
const inputElement = (_b = (_a = searchInputRef.value) == null ? void 0 : _a.$el) == null ? void 0 : _b.querySelector("input");
|
|
35265
|
+
return document.activeElement === inputElement;
|
|
35266
|
+
}
|
|
35114
35267
|
async function pasteSelection() {
|
|
35115
35268
|
if (!selectionStart.value) return;
|
|
35116
35269
|
try {
|
|
@@ -35200,7 +35353,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
35200
35353
|
}
|
|
35201
35354
|
}
|
|
35202
35355
|
function handleSpreadsheetKeyDown(event) {
|
|
35203
|
-
if (editingCell.value) return;
|
|
35356
|
+
if (editingCell.value || isSearchFocused()) return;
|
|
35357
|
+
console.log("handleSpreadsheetKeyDown", event);
|
|
35204
35358
|
const isCtrlOrCmd = event.ctrlKey || event.metaKey;
|
|
35205
35359
|
if (isCtrlOrCmd) {
|
|
35206
35360
|
switch (event.key.toLowerCase()) {
|
|
@@ -35240,6 +35394,43 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
35240
35394
|
});
|
|
35241
35395
|
});
|
|
35242
35396
|
});
|
|
35397
|
+
const columnWidths = ref(/* @__PURE__ */ new Map());
|
|
35398
|
+
const isResizing = ref(false);
|
|
35399
|
+
const resizingColumn = ref(null);
|
|
35400
|
+
const startX = ref(0);
|
|
35401
|
+
const startWidth = ref(0);
|
|
35402
|
+
function handleResizeStart(e, columnKey) {
|
|
35403
|
+
isResizing.value = true;
|
|
35404
|
+
resizingColumn.value = columnKey;
|
|
35405
|
+
startX.value = e.pageX;
|
|
35406
|
+
const columnHeader = e.target.closest("th");
|
|
35407
|
+
if (!columnHeader) return;
|
|
35408
|
+
const computedWidth = columnHeader.getBoundingClientRect().width;
|
|
35409
|
+
const currentWidth = columnWidths.value.get(columnKey) || computedWidth;
|
|
35410
|
+
startWidth.value = currentWidth;
|
|
35411
|
+
document.addEventListener("mousemove", handleResizeMove);
|
|
35412
|
+
document.addEventListener("mouseup", handleResizeEnd);
|
|
35413
|
+
}
|
|
35414
|
+
function handleResizeMove(e) {
|
|
35415
|
+
if (!isResizing.value || !resizingColumn.value) return;
|
|
35416
|
+
e.preventDefault();
|
|
35417
|
+
const diff = e.pageX - startX.value;
|
|
35418
|
+
const newWidth = Math.max(80, startWidth.value + diff);
|
|
35419
|
+
columnWidths.value.set(resizingColumn.value, newWidth);
|
|
35420
|
+
}
|
|
35421
|
+
function handleResizeEnd() {
|
|
35422
|
+
isResizing.value = false;
|
|
35423
|
+
resizingColumn.value = null;
|
|
35424
|
+
document.removeEventListener("mousemove", handleResizeMove);
|
|
35425
|
+
document.removeEventListener("mouseup", handleResizeEnd);
|
|
35426
|
+
}
|
|
35427
|
+
onUnmounted(() => {
|
|
35428
|
+
document.removeEventListener("mousemove", handleResizeMove);
|
|
35429
|
+
document.removeEventListener("mouseup", handleResizeEnd);
|
|
35430
|
+
});
|
|
35431
|
+
const columnOptions = computed(() => {
|
|
35432
|
+
return columns.value.filter((col) => !col.hidden);
|
|
35433
|
+
});
|
|
35243
35434
|
return (_ctx, _cache) => {
|
|
35244
35435
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
35245
35436
|
return openBlock(), createElementBlock("div", {
|
|
@@ -35250,9 +35441,47 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
35250
35441
|
createElementVNode("div", _hoisted_1$3, [
|
|
35251
35442
|
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$1, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
35252
35443
|
createElementVNode("div", _hoisted_3$1, [
|
|
35444
|
+
createVNode(_sfc_main$W, {
|
|
35445
|
+
flat: "",
|
|
35446
|
+
thin: "",
|
|
35447
|
+
icon: "view_column"
|
|
35448
|
+
}, {
|
|
35449
|
+
default: withCtx(() => [
|
|
35450
|
+
createElementVNode("div", _hoisted_4$1, [
|
|
35451
|
+
createElementVNode("div", _hoisted_5$1, [
|
|
35452
|
+
createVNode(unref(Btn), {
|
|
35453
|
+
flat: "",
|
|
35454
|
+
thin: "",
|
|
35455
|
+
small: "",
|
|
35456
|
+
value: "Select All",
|
|
35457
|
+
onClick: _cache[0] || (_cache[0] = ($event) => visibleColumns.value = columnOptions.value.map((col) => col.key))
|
|
35458
|
+
}),
|
|
35459
|
+
createVNode(unref(Btn), {
|
|
35460
|
+
flat: "",
|
|
35461
|
+
thin: "",
|
|
35462
|
+
small: "",
|
|
35463
|
+
value: "Clear All",
|
|
35464
|
+
onClick: _cache[1] || (_cache[1] = ($event) => visibleColumns.value = [])
|
|
35465
|
+
})
|
|
35466
|
+
]),
|
|
35467
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(columnOptions.value, (col) => {
|
|
35468
|
+
return openBlock(), createBlock(unref(CheckInput), {
|
|
35469
|
+
key: col.key,
|
|
35470
|
+
modelValue: visibleColumns.value,
|
|
35471
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => visibleColumns.value = $event),
|
|
35472
|
+
value: col.key,
|
|
35473
|
+
label: col.label || col.key
|
|
35474
|
+
}, null, 8, ["modelValue", "value", "label"]);
|
|
35475
|
+
}), 128))
|
|
35476
|
+
])
|
|
35477
|
+
]),
|
|
35478
|
+
_: 1
|
|
35479
|
+
}),
|
|
35253
35480
|
createVNode(unref(TextInput), {
|
|
35481
|
+
ref_key: "searchInputRef",
|
|
35482
|
+
ref: searchInputRef,
|
|
35254
35483
|
modelValue: search.value,
|
|
35255
|
-
"onUpdate:modelValue": _cache[
|
|
35484
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => search.value = $event),
|
|
35256
35485
|
icon: "search",
|
|
35257
35486
|
placeholder: "Search",
|
|
35258
35487
|
class: "m-0 max-w200px"
|
|
@@ -35301,173 +35530,56 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
35301
35530
|
class: "spreadsheet",
|
|
35302
35531
|
onMouseup: handleMouseUp
|
|
35303
35532
|
}, [
|
|
35304
|
-
createElementVNode("div",
|
|
35305
|
-
fixedColumns.value.length ? (openBlock(),
|
|
35306
|
-
|
|
35307
|
-
|
|
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
|
-
onInput: (e) => updateCell(rowIndex, col.key, e.target.value),
|
|
35355
|
-
onBlur: _cache[1] || (_cache[1] = ($event) => handleStopEditingAndBlur(false)),
|
|
35356
|
-
onKeydown: [
|
|
35357
|
-
_cache[2] || (_cache[2] = withKeys(withModifiers(($event) => handleStopEditingAndBlur(false), ["prevent"]), ["enter"])),
|
|
35358
|
-
_cache[3] || (_cache[3] = withKeys(withModifiers(($event) => handleStopEditingAndBlur(true), ["prevent"]), ["esc"]))
|
|
35359
|
-
],
|
|
35360
|
-
onMousedown: _cache[4] || (_cache[4] = withModifiers(() => {
|
|
35361
|
-
}, ["stop"]))
|
|
35362
|
-
}, null, 40, _hoisted_9$1),
|
|
35363
|
-
createElementVNode("span", _hoisted_10$1, toDisplayString(formatCellValue(row[col.key], col.format)), 1)
|
|
35364
|
-
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
35365
|
-
col.format === "image" ? (openBlock(), createElementBlock("div", _hoisted_11$1, [
|
|
35366
|
-
createElementVNode("img", {
|
|
35367
|
-
class: "w-100p h-100p contain radius-05",
|
|
35368
|
-
src: row[col.key],
|
|
35369
|
-
alt: col.label || col.key
|
|
35370
|
-
}, null, 8, _hoisted_12$1)
|
|
35371
|
-
])) : col.format === "boolean" ? (openBlock(), createBlock(unref(CheckInput), {
|
|
35372
|
-
key: 1,
|
|
35373
|
-
modelValue: !!row[col.key],
|
|
35374
|
-
disabled: !isCellEditable(col.key),
|
|
35375
|
-
"onUpdate:modelValue": (value) => updateCell(rowIndex, col.key, !!value),
|
|
35376
|
-
onMousedown: _cache[5] || (_cache[5] = withModifiers(() => {
|
|
35377
|
-
}, ["stop"]))
|
|
35378
|
-
}, null, 8, ["modelValue", "disabled", "onUpdate:modelValue"])) : (openBlock(), createElementBlock("span", _hoisted_13, toDisplayString(formatCellValue(row[col.key], col.format)), 1))
|
|
35379
|
-
], 64))
|
|
35380
|
-
], 46, _hoisted_8$1);
|
|
35381
|
-
}), 128))
|
|
35382
|
-
]);
|
|
35383
|
-
}), 128))
|
|
35384
|
-
])
|
|
35385
|
-
])) : createCommentVNode("", true),
|
|
35386
|
-
createElementVNode("div", _hoisted_14, [
|
|
35387
|
-
createElementVNode("table", _hoisted_15, [
|
|
35388
|
-
createElementVNode("thead", null, [
|
|
35389
|
-
createElementVNode("tr", null, [
|
|
35390
|
-
!fixedColumns.value.length ? (openBlock(), createElementBlock("th", _hoisted_16)) : createCommentVNode("", true),
|
|
35391
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(scrollableColumns.value, (col) => {
|
|
35392
|
-
return openBlock(), createElementBlock("th", {
|
|
35393
|
-
key: col.key
|
|
35394
|
-
}, [
|
|
35395
|
-
createElementVNode("span", {
|
|
35396
|
-
onClick: ($event) => col.sortable && sortByColumn(col.key)
|
|
35397
|
-
}, toDisplayString(col.label || col.key), 9, _hoisted_17),
|
|
35398
|
-
sortColumn.value === col.key ? (openBlock(), createBlock(unref(Icon), {
|
|
35399
|
-
key: 0,
|
|
35400
|
-
name: "keyboard_arrow_down",
|
|
35401
|
-
class: normalizeClass(["line-height-0 inline-block", { "rotate-180": sortColumn.value === col.key && sortDirection.value === "desc" }])
|
|
35402
|
-
}, null, 8, ["class"])) : createCommentVNode("", true)
|
|
35403
|
-
]);
|
|
35404
|
-
}), 128))
|
|
35405
|
-
])
|
|
35406
|
-
]),
|
|
35407
|
-
createElementVNode("tbody", null, [
|
|
35408
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(filteredRows.value, (row, rowIndex) => {
|
|
35409
|
-
return openBlock(), createElementBlock("tr", { key: rowIndex }, [
|
|
35410
|
-
!fixedColumns.value.length ? (openBlock(), createElementBlock("td", {
|
|
35411
|
-
key: 0,
|
|
35412
|
-
class: "row-number txt-center hover user-select-none pointer txt12 regular",
|
|
35413
|
-
onClick: ($event) => selectEntireRow(rowIndex)
|
|
35414
|
-
}, toDisplayString(rowIndex + 1), 9, _hoisted_18)) : createCommentVNode("", true),
|
|
35415
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(scrollableColumns.value, (col, colIndex) => {
|
|
35416
|
-
return openBlock(), createElementBlock("td", {
|
|
35417
|
-
key: col.key,
|
|
35418
|
-
class: normalizeClass({
|
|
35419
|
-
selected: isCellSelected(rowIndex, fixedColumns.value.length + colIndex),
|
|
35420
|
-
locked: !isCellEditable(col.key)
|
|
35421
|
-
}),
|
|
35422
|
-
style: normalizeStyle({ width: col.width }),
|
|
35423
|
-
tabindex: col.hidden ? void 0 : 0,
|
|
35424
|
-
onMousedown: ($event) => handleMouseDown(rowIndex, fixedColumns.value.length + colIndex),
|
|
35425
|
-
onMouseover: ($event) => handleMouseOver(rowIndex, fixedColumns.value.length + colIndex),
|
|
35426
|
-
onFocusin: ($event) => handleMouseOver(rowIndex, fixedColumns.value.length + colIndex),
|
|
35427
|
-
onDblclick: ($event) => startEditing(rowIndex, fixedColumns.value.length + colIndex),
|
|
35428
|
-
onKeydown: ($event) => handleCellKeyDown($event, rowIndex, fixedColumns.value.length + colIndex)
|
|
35429
|
-
}, [
|
|
35430
|
-
editingCell.value && editingCell.value.row === rowIndex && editingCell.value.col === fixedColumns.value.length + colIndex ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
35431
|
-
createElementVNode("input", {
|
|
35432
|
-
ref_for: true,
|
|
35433
|
-
ref: (el) => setInputRef(el, `cell-${rowIndex}-${fixedColumns.value.length + colIndex}`),
|
|
35434
|
-
value: row[col.key],
|
|
35435
|
-
type: "text",
|
|
35436
|
-
class: "spreadsheet-input",
|
|
35437
|
-
onInput: (e) => updateCell(rowIndex, col.key, e.target.value),
|
|
35438
|
-
onBlur: _cache[6] || (_cache[6] = ($event) => handleStopEditingAndBlur(false)),
|
|
35439
|
-
onKeydown: [
|
|
35440
|
-
_cache[7] || (_cache[7] = withKeys(withModifiers(($event) => handleStopEditingAndBlur(false), ["prevent"]), ["enter"])),
|
|
35441
|
-
_cache[8] || (_cache[8] = withKeys(withModifiers(($event) => handleStopEditingAndBlur(true), ["prevent"]), ["esc"]))
|
|
35442
|
-
],
|
|
35443
|
-
onMousedown: _cache[9] || (_cache[9] = withModifiers(() => {
|
|
35444
|
-
}, ["stop"]))
|
|
35445
|
-
}, null, 40, _hoisted_20),
|
|
35446
|
-
createElementVNode("span", _hoisted_21, toDisplayString(formatCellValue(row[col.key], col.format)), 1)
|
|
35447
|
-
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
35448
|
-
col.format === "image" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
35449
|
-
row[col.key] ? (openBlock(), createElementBlock("div", _hoisted_22, [
|
|
35450
|
-
createElementVNode("img", {
|
|
35451
|
-
class: "w-100p h-100p contain radius-05",
|
|
35452
|
-
src: row[col.key],
|
|
35453
|
-
alt: col.label || col.key
|
|
35454
|
-
}, null, 8, _hoisted_23)
|
|
35455
|
-
])) : createCommentVNode("", true)
|
|
35456
|
-
], 64)) : col.format === "boolean" ? (openBlock(), createBlock(unref(CheckInput), {
|
|
35457
|
-
key: 1,
|
|
35458
|
-
modelValue: !!row[col.key],
|
|
35459
|
-
disabled: !isCellEditable(col.key),
|
|
35460
|
-
"onUpdate:modelValue": (value) => updateCell(rowIndex, col.key, !!value),
|
|
35461
|
-
onMousedown: _cache[10] || (_cache[10] = withModifiers(() => {
|
|
35462
|
-
}, ["stop"]))
|
|
35463
|
-
}, null, 8, ["modelValue", "disabled", "onUpdate:modelValue"])) : (openBlock(), createElementBlock("span", _hoisted_24, toDisplayString(formatCellValue(row[col.key], col.format)), 1))
|
|
35464
|
-
], 64))
|
|
35465
|
-
], 46, _hoisted_19);
|
|
35466
|
-
}), 128))
|
|
35467
|
-
]);
|
|
35468
|
-
}), 128))
|
|
35469
|
-
])
|
|
35470
|
-
])
|
|
35533
|
+
createElementVNode("div", _hoisted_6$1, [
|
|
35534
|
+
fixedColumns.value.length ? (openBlock(), createBlock(SpreadsheetTable, {
|
|
35535
|
+
key: 0,
|
|
35536
|
+
columns: fixedColumns.value,
|
|
35537
|
+
rows: filteredRows.value,
|
|
35538
|
+
"is-fixed": true,
|
|
35539
|
+
"show-row-numbers": true,
|
|
35540
|
+
"column-widths": columnWidths.value,
|
|
35541
|
+
"sort-column": sortColumn.value,
|
|
35542
|
+
"sort-direction": sortDirection.value,
|
|
35543
|
+
"selection-start": selectionStart.value,
|
|
35544
|
+
"selection-end": selectionEnd.value,
|
|
35545
|
+
"editing-cell": editingCell.value,
|
|
35546
|
+
"base-column-index": 0,
|
|
35547
|
+
class: "sticky z-2 start-0 bg-white",
|
|
35548
|
+
onSortColumn: sortByColumn,
|
|
35549
|
+
onResizeStart: handleResizeStart,
|
|
35550
|
+
onSelectRow: selectEntireRow,
|
|
35551
|
+
onCellMouseDown: handleMouseDown,
|
|
35552
|
+
onCellMouseOver: handleMouseOver,
|
|
35553
|
+
onCellEditStart: startEditing,
|
|
35554
|
+
onCellKeyDown: handleCellKeyDown,
|
|
35555
|
+
onUpdateCell: updateCell,
|
|
35556
|
+
onStopEditing: handleStopEditingAndBlur,
|
|
35557
|
+
onSetInputRef: setInputRef
|
|
35558
|
+
}, null, 8, ["columns", "rows", "column-widths", "sort-column", "sort-direction", "selection-start", "selection-end", "editing-cell"])) : createCommentVNode("", true),
|
|
35559
|
+
createElementVNode("div", _hoisted_7$1, [
|
|
35560
|
+
createVNode(SpreadsheetTable, {
|
|
35561
|
+
columns: scrollableColumns.value,
|
|
35562
|
+
rows: filteredRows.value,
|
|
35563
|
+
"is-fixed": false,
|
|
35564
|
+
"show-row-numbers": !fixedColumns.value.length,
|
|
35565
|
+
"column-widths": columnWidths.value,
|
|
35566
|
+
"sort-column": sortColumn.value,
|
|
35567
|
+
"sort-direction": sortDirection.value,
|
|
35568
|
+
"selection-start": selectionStart.value,
|
|
35569
|
+
"selection-end": selectionEnd.value,
|
|
35570
|
+
"editing-cell": editingCell.value,
|
|
35571
|
+
"base-column-index": fixedColumns.value.length,
|
|
35572
|
+
onSortColumn: sortByColumn,
|
|
35573
|
+
onResizeStart: handleResizeStart,
|
|
35574
|
+
onSelectRow: selectEntireRow,
|
|
35575
|
+
onCellMouseDown: handleMouseDown,
|
|
35576
|
+
onCellMouseOver: handleMouseOver,
|
|
35577
|
+
onCellEditStart: startEditing,
|
|
35578
|
+
onCellKeyDown: handleCellKeyDown,
|
|
35579
|
+
onUpdateCell: updateCell,
|
|
35580
|
+
onStopEditing: handleStopEditingAndBlur,
|
|
35581
|
+
onSetInputRef: setInputRef
|
|
35582
|
+
}, null, 8, ["columns", "rows", "show-row-numbers", "column-widths", "sort-column", "sort-direction", "selection-start", "selection-end", "editing-cell", "base-column-index"])
|
|
35471
35583
|
])
|
|
35472
35584
|
]),
|
|
35473
35585
|
_ctx.allowAddRow ? (openBlock(), createBlock(unref(Btn), {
|
|
@@ -35485,7 +35597,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
35485
35597
|
};
|
|
35486
35598
|
}
|
|
35487
35599
|
});
|
|
35488
|
-
const Index = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
35600
|
+
const Index = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-e4d0dbbe"]]);
|
|
35489
35601
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
35490
35602
|
__name: "Title",
|
|
35491
35603
|
props: {
|
|
@@ -36893,9 +37005,9 @@ const ModalPlugin = {
|
|
|
36893
37005
|
case "modalForm":
|
|
36894
37006
|
return h$2(ModalForm, props2, modal.componentSlots);
|
|
36895
37007
|
case "confirmModal":
|
|
36896
|
-
return h$2(_sfc_main$
|
|
37008
|
+
return h$2(_sfc_main$c, props2, {});
|
|
36897
37009
|
default:
|
|
36898
|
-
return h$2(_sfc_main$
|
|
37010
|
+
return h$2(_sfc_main$d, props2, modal.componentSlots);
|
|
36899
37011
|
}
|
|
36900
37012
|
});
|
|
36901
37013
|
}
|
|
@@ -37355,58 +37467,58 @@ function formatDate(date2, format2 = "dd.mm.yy") {
|
|
|
37355
37467
|
}
|
|
37356
37468
|
}
|
|
37357
37469
|
export {
|
|
37358
|
-
_sfc_main$
|
|
37470
|
+
_sfc_main$1n as Accordion,
|
|
37359
37471
|
AccordionItem,
|
|
37360
|
-
_sfc_main$
|
|
37472
|
+
_sfc_main$1l as AddressSearch,
|
|
37361
37473
|
Alert,
|
|
37362
37474
|
Avatar,
|
|
37363
37475
|
Badge,
|
|
37364
|
-
_sfc_main$
|
|
37476
|
+
_sfc_main$T as BagelForm,
|
|
37365
37477
|
BagelVue,
|
|
37366
|
-
_sfc_main$
|
|
37478
|
+
_sfc_main$T as BglForm,
|
|
37367
37479
|
BglVideo,
|
|
37368
37480
|
BottomMenu,
|
|
37369
37481
|
Btn,
|
|
37370
|
-
_sfc_main$
|
|
37371
|
-
_sfc_main
|
|
37482
|
+
_sfc_main$11 as Calendar,
|
|
37483
|
+
_sfc_main$10 as Card,
|
|
37372
37484
|
Carousel,
|
|
37373
37485
|
CheckInput,
|
|
37374
37486
|
Checkbox,
|
|
37375
37487
|
CodeEditor,
|
|
37376
|
-
_sfc_main$
|
|
37488
|
+
_sfc_main$O as ColorInput,
|
|
37377
37489
|
DataPreview,
|
|
37378
37490
|
DataTable,
|
|
37379
37491
|
DateInput,
|
|
37380
37492
|
DatePick,
|
|
37381
|
-
_sfc_main$
|
|
37382
|
-
_sfc_main$
|
|
37383
|
-
_sfc_main$
|
|
37493
|
+
_sfc_main$L as DatePicker,
|
|
37494
|
+
_sfc_main$X as Draggable,
|
|
37495
|
+
_sfc_main$W as Dropdown,
|
|
37384
37496
|
FORM_STATE_KEY,
|
|
37385
|
-
_sfc_main$
|
|
37497
|
+
_sfc_main$S as FieldArray,
|
|
37386
37498
|
FieldSetVue,
|
|
37387
37499
|
FileUpload,
|
|
37388
37500
|
Flag,
|
|
37389
37501
|
IMAGE_FORMATS,
|
|
37390
37502
|
IMAGE_FORMATS_REGEXP,
|
|
37391
37503
|
Icon,
|
|
37392
|
-
_sfc_main$
|
|
37504
|
+
_sfc_main$r as IframeVue,
|
|
37393
37505
|
Image$1 as Image,
|
|
37394
37506
|
JSONInput,
|
|
37395
37507
|
Layout,
|
|
37396
|
-
_sfc_main$
|
|
37397
|
-
_sfc_main$
|
|
37508
|
+
_sfc_main$_ as Lineart,
|
|
37509
|
+
_sfc_main$h as ListItem,
|
|
37398
37510
|
ListView,
|
|
37399
37511
|
Loading,
|
|
37400
|
-
_sfc_main$
|
|
37401
|
-
_sfc_main$
|
|
37402
|
-
_sfc_main$
|
|
37512
|
+
_sfc_main$e as MapEmbed,
|
|
37513
|
+
_sfc_main$d as Modal,
|
|
37514
|
+
_sfc_main$c as ModalConfirm,
|
|
37403
37515
|
ModalForm,
|
|
37404
37516
|
ModalPlugin,
|
|
37405
37517
|
NavBar,
|
|
37406
37518
|
NumberInput,
|
|
37407
37519
|
OTP,
|
|
37408
|
-
_sfc_main$
|
|
37409
|
-
_sfc_main$
|
|
37520
|
+
_sfc_main$9 as PageTitle,
|
|
37521
|
+
_sfc_main$G as PasswordInput,
|
|
37410
37522
|
Pill,
|
|
37411
37523
|
RadioGroup,
|
|
37412
37524
|
RadioPillsInput,
|
|
@@ -37415,14 +37527,14 @@ export {
|
|
|
37415
37527
|
RouterWrapper,
|
|
37416
37528
|
SelectInput,
|
|
37417
37529
|
SidebarMenu,
|
|
37418
|
-
_sfc_main$
|
|
37530
|
+
_sfc_main$y as SignaturePad,
|
|
37419
37531
|
Skeleton,
|
|
37420
37532
|
Index as Spreadsheet,
|
|
37421
37533
|
TabbedLayout,
|
|
37422
37534
|
TableField,
|
|
37423
37535
|
DataTable as TableSchema,
|
|
37424
|
-
_sfc_main$
|
|
37425
|
-
_sfc_main$
|
|
37536
|
+
_sfc_main$k as Tabs,
|
|
37537
|
+
_sfc_main$j as TabsBody,
|
|
37426
37538
|
TabsNav,
|
|
37427
37539
|
TelInput,
|
|
37428
37540
|
TextInput,
|