@hotelinking/ui 9.41.12 → 9.41.13
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/ui.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as Bt, openBlock as z, createBlock as Et, resolveDynamicComponent as
|
|
2
|
-
import { Menu as Bi, MenuButton as $i, MenuItems as Wi, MenuItem as Vi, Combobox as
|
|
3
|
-
import
|
|
1
|
+
import { defineComponent as Bt, openBlock as z, createBlock as Et, resolveDynamicComponent as Ea, normalizeClass as ft, createElementBlock as O, createCommentVNode as Pt, renderSlot as Pe, createElementVNode as b, ref as ce, computed as ue, unref as U, withCtx as xt, toDisplayString as G, createVNode as q, createTextVNode as Qt, Transition as vi, Fragment as zt, renderList as Xt, watch as xe, withDirectives as Nt, vModelDynamic as Da, vShow as jt, withModifiers as sa, vModelText as Xa, createStaticVNode as Je, resolveComponent as Re, vModelCheckbox as ha, onBeforeMount as Ya, onMounted as Hi, getCurrentInstance as Fa, onBeforeUnmount as Oa, toRefs as ni, h as Ra, nextTick as Na, isRef as ua, reactive as ga, TransitionGroup as Ha, onUnmounted as Ba, mergeProps as $a } from "vue";
|
|
2
|
+
import { Menu as Bi, MenuButton as $i, MenuItems as Wi, MenuItem as Vi, Combobox as pa, ComboboxLabel as Wa, ComboboxInput as fa, ComboboxButton as xa, ComboboxOptions as ma, ComboboxOption as ba, SwitchGroup as Va, Switch as ja, SwitchLabel as Ga, TransitionRoot as ji, Dialog as Gi, TransitionChild as Ue, DialogPanel as Ui, DialogTitle as va, Disclosure as qi, DisclosureButton as Ne, DisclosurePanel as Zi } from "@headlessui/vue";
|
|
3
|
+
import Ua from "vue3-draggable";
|
|
4
4
|
const qt = /* @__PURE__ */ Bt({
|
|
5
5
|
__name: "uiIcon",
|
|
6
6
|
props: {
|
|
@@ -13,7 +13,7 @@ const qt = /* @__PURE__ */ Bt({
|
|
|
13
13
|
return (T, _) => T.loading ? (z(), O("div", {
|
|
14
14
|
key: 1,
|
|
15
15
|
class: ft([{ "h-4 w-4": T.size === "medium", "h-6 w-6": T.size === "big", "h-8 w-8": T.size === "bigger", "h-12 w-12": T.size === "huge", "h-20 w-20": T.size === "massive" }, "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300"])
|
|
16
|
-
}, null, 2)) : (z(), Et(
|
|
16
|
+
}, null, 2)) : (z(), Et(Ea(T.icon), {
|
|
17
17
|
key: 0,
|
|
18
18
|
class: ft({
|
|
19
19
|
"h-4 w-4": T.size === "medium",
|
|
@@ -32,10 +32,10 @@ const qt = /* @__PURE__ */ Bt({
|
|
|
32
32
|
})
|
|
33
33
|
}, null, 8, ["class"]));
|
|
34
34
|
}
|
|
35
|
-
}),
|
|
35
|
+
}), qa = ["disabled"], Za = {
|
|
36
36
|
key: 1,
|
|
37
37
|
class: "animate-pulse px-4 py-2.5 text-sm rounded-md inline-flex items-center border border-transparent font-medium shadow-sm text-white focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-25 bg-gray-200"
|
|
38
|
-
},
|
|
38
|
+
}, Ja = /* @__PURE__ */ b("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-16" }, null, -1), qe = /* @__PURE__ */ Bt({
|
|
39
39
|
__name: "uiButton",
|
|
40
40
|
props: {
|
|
41
41
|
block: { type: Boolean },
|
|
@@ -46,7 +46,7 @@ const qt = /* @__PURE__ */ Bt({
|
|
|
46
46
|
size: { default: "medium" }
|
|
47
47
|
},
|
|
48
48
|
setup(H) {
|
|
49
|
-
return (T, _) => T.loading ? (z(), O("button",
|
|
49
|
+
return (T, _) => T.loading ? (z(), O("button", Za, [
|
|
50
50
|
T.icon ? (z(), Et(qt, {
|
|
51
51
|
key: 0,
|
|
52
52
|
icon: T.icon,
|
|
@@ -54,7 +54,7 @@ const qt = /* @__PURE__ */ Bt({
|
|
|
54
54
|
class: "-ml-0.5 mr-2",
|
|
55
55
|
loading: T.loading
|
|
56
56
|
}, null, 8, ["icon", "loading"])) : Pt("", !0),
|
|
57
|
-
|
|
57
|
+
Ja
|
|
58
58
|
])) : (z(), O("button", {
|
|
59
59
|
key: 0,
|
|
60
60
|
disabled: T.disabled,
|
|
@@ -79,18 +79,18 @@ const qt = /* @__PURE__ */ Bt({
|
|
|
79
79
|
loading: T.loading
|
|
80
80
|
}, null, 8, ["icon", "loading"])) : Pt("", !0),
|
|
81
81
|
Pe(T.$slots, "default")
|
|
82
|
-
], 10,
|
|
82
|
+
], 10, qa));
|
|
83
83
|
}
|
|
84
|
-
}),
|
|
84
|
+
}), Qa = {
|
|
85
85
|
key: 0,
|
|
86
86
|
class: "relative flex items-start"
|
|
87
|
-
},
|
|
87
|
+
}, Ka = { class: "flex items-center h-5" }, ts = ["checked", "value", "disabled"], es = { class: "ml-3 text-sm" }, is = { class: "text-gray-500" }, as = {
|
|
88
88
|
key: 1,
|
|
89
89
|
class: "flex items-center animate-pulse"
|
|
90
|
-
},
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
],
|
|
90
|
+
}, ss = /* @__PURE__ */ b("div", { class: "w-5 h-5 rounded bg-gray-200" }, null, -1), rs = /* @__PURE__ */ b("div", { class: "ml-3 h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" }, null, -1), os = [
|
|
91
|
+
ss,
|
|
92
|
+
rs
|
|
93
|
+
], ya = /* @__PURE__ */ Bt({
|
|
94
94
|
__name: "uiCheckbox",
|
|
95
95
|
props: {
|
|
96
96
|
check: { type: Boolean, default: !1 },
|
|
@@ -104,8 +104,8 @@ const qt = /* @__PURE__ */ Bt({
|
|
|
104
104
|
const _ = T, C = H, R = ce(C.check), M = () => {
|
|
105
105
|
C.disabled || (R.value = !R.value, _("checkboxChanged", { checked: R.value, value: C.value }));
|
|
106
106
|
};
|
|
107
|
-
return (I, Y) => I.loading ? (z(), O("div",
|
|
108
|
-
b("div",
|
|
107
|
+
return (I, Y) => I.loading ? (z(), O("div", as, os)) : (z(), O("div", Qa, [
|
|
108
|
+
b("div", Ka, [
|
|
109
109
|
b("input", {
|
|
110
110
|
checked: I.check,
|
|
111
111
|
value: I.value,
|
|
@@ -113,17 +113,17 @@ const qt = /* @__PURE__ */ Bt({
|
|
|
113
113
|
class: "focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300 rounded disabled:opacity-25",
|
|
114
114
|
type: "checkbox",
|
|
115
115
|
onChange: Y[0] || (Y[0] = ($) => M())
|
|
116
|
-
}, null, 40,
|
|
116
|
+
}, null, 40, ts)
|
|
117
117
|
]),
|
|
118
|
-
b("div",
|
|
119
|
-
b("span",
|
|
118
|
+
b("div", es, [
|
|
119
|
+
b("span", is, [
|
|
120
120
|
Pe(I.$slots, "default")
|
|
121
121
|
])
|
|
122
122
|
])
|
|
123
123
|
]));
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
|
-
function
|
|
126
|
+
function ns(H, T) {
|
|
127
127
|
return z(), O("svg", {
|
|
128
128
|
xmlns: "http://www.w3.org/2000/svg",
|
|
129
129
|
fill: "none",
|
|
@@ -140,7 +140,7 @@ function ls(H, T) {
|
|
|
140
140
|
})
|
|
141
141
|
]);
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function ls(H, T) {
|
|
144
144
|
return z(), O("svg", {
|
|
145
145
|
xmlns: "http://www.w3.org/2000/svg",
|
|
146
146
|
fill: "none",
|
|
@@ -157,7 +157,7 @@ function cs(H, T) {
|
|
|
157
157
|
})
|
|
158
158
|
]);
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function cs(H, T) {
|
|
161
161
|
return z(), O("svg", {
|
|
162
162
|
xmlns: "http://www.w3.org/2000/svg",
|
|
163
163
|
fill: "none",
|
|
@@ -174,7 +174,7 @@ function ds(H, T) {
|
|
|
174
174
|
})
|
|
175
175
|
]);
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function wa(H, T) {
|
|
178
178
|
return z(), O("svg", {
|
|
179
179
|
xmlns: "http://www.w3.org/2000/svg",
|
|
180
180
|
fill: "none",
|
|
@@ -191,7 +191,7 @@ function ya(H, T) {
|
|
|
191
191
|
})
|
|
192
192
|
]);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function ds(H, T) {
|
|
195
195
|
return z(), O("svg", {
|
|
196
196
|
xmlns: "http://www.w3.org/2000/svg",
|
|
197
197
|
fill: "none",
|
|
@@ -208,7 +208,7 @@ function hs(H, T) {
|
|
|
208
208
|
})
|
|
209
209
|
]);
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function hs(H, T) {
|
|
212
212
|
return z(), O("svg", {
|
|
213
213
|
xmlns: "http://www.w3.org/2000/svg",
|
|
214
214
|
fill: "none",
|
|
@@ -225,7 +225,7 @@ function us(H, T) {
|
|
|
225
225
|
})
|
|
226
226
|
]);
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function ka(H, T) {
|
|
229
229
|
return z(), O("svg", {
|
|
230
230
|
xmlns: "http://www.w3.org/2000/svg",
|
|
231
231
|
fill: "none",
|
|
@@ -276,7 +276,7 @@ function bi(H, T) {
|
|
|
276
276
|
})
|
|
277
277
|
]);
|
|
278
278
|
}
|
|
279
|
-
function
|
|
279
|
+
function Sa(H, T) {
|
|
280
280
|
return z(), O("svg", {
|
|
281
281
|
xmlns: "http://www.w3.org/2000/svg",
|
|
282
282
|
fill: "none",
|
|
@@ -327,7 +327,7 @@ function Oi(H, T) {
|
|
|
327
327
|
})
|
|
328
328
|
]);
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function us(H, T) {
|
|
331
331
|
return z(), O("svg", {
|
|
332
332
|
xmlns: "http://www.w3.org/2000/svg",
|
|
333
333
|
fill: "none",
|
|
@@ -344,7 +344,7 @@ function gs(H, T) {
|
|
|
344
344
|
})
|
|
345
345
|
]);
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function gs(H, T) {
|
|
348
348
|
return z(), O("svg", {
|
|
349
349
|
xmlns: "http://www.w3.org/2000/svg",
|
|
350
350
|
fill: "none",
|
|
@@ -378,7 +378,7 @@ function Ye(H, T) {
|
|
|
378
378
|
})
|
|
379
379
|
]);
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function ps(H, T) {
|
|
382
382
|
return z(), O("svg", {
|
|
383
383
|
xmlns: "http://www.w3.org/2000/svg",
|
|
384
384
|
fill: "none",
|
|
@@ -395,7 +395,7 @@ function fs(H, T) {
|
|
|
395
395
|
})
|
|
396
396
|
]);
|
|
397
397
|
}
|
|
398
|
-
function
|
|
398
|
+
function Ca(H, T) {
|
|
399
399
|
return z(), O("svg", {
|
|
400
400
|
xmlns: "http://www.w3.org/2000/svg",
|
|
401
401
|
fill: "none",
|
|
@@ -412,7 +412,7 @@ function Sa(H, T) {
|
|
|
412
412
|
})
|
|
413
413
|
]);
|
|
414
414
|
}
|
|
415
|
-
function
|
|
415
|
+
function fs(H, T) {
|
|
416
416
|
return z(), O("svg", {
|
|
417
417
|
xmlns: "http://www.w3.org/2000/svg",
|
|
418
418
|
fill: "none",
|
|
@@ -429,7 +429,7 @@ function xs(H, T) {
|
|
|
429
429
|
})
|
|
430
430
|
]);
|
|
431
431
|
}
|
|
432
|
-
function
|
|
432
|
+
function xs(H, T) {
|
|
433
433
|
return z(), O("svg", {
|
|
434
434
|
xmlns: "http://www.w3.org/2000/svg",
|
|
435
435
|
fill: "none",
|
|
@@ -446,7 +446,7 @@ function ms(H, T) {
|
|
|
446
446
|
})
|
|
447
447
|
]);
|
|
448
448
|
}
|
|
449
|
-
function
|
|
449
|
+
function Aa(H, T) {
|
|
450
450
|
return z(), O("svg", {
|
|
451
451
|
xmlns: "http://www.w3.org/2000/svg",
|
|
452
452
|
fill: "none",
|
|
@@ -463,7 +463,7 @@ function Ca(H, T) {
|
|
|
463
463
|
})
|
|
464
464
|
]);
|
|
465
465
|
}
|
|
466
|
-
function
|
|
466
|
+
function ms(H, T) {
|
|
467
467
|
return z(), O("svg", {
|
|
468
468
|
xmlns: "http://www.w3.org/2000/svg",
|
|
469
469
|
fill: "none",
|
|
@@ -480,7 +480,7 @@ function bs(H, T) {
|
|
|
480
480
|
})
|
|
481
481
|
]);
|
|
482
482
|
}
|
|
483
|
-
function
|
|
483
|
+
function bs(H, T) {
|
|
484
484
|
return z(), O("svg", {
|
|
485
485
|
xmlns: "http://www.w3.org/2000/svg",
|
|
486
486
|
fill: "none",
|
|
@@ -497,7 +497,7 @@ function vs(H, T) {
|
|
|
497
497
|
})
|
|
498
498
|
]);
|
|
499
499
|
}
|
|
500
|
-
function
|
|
500
|
+
function vs(H, T) {
|
|
501
501
|
return z(), O("svg", {
|
|
502
502
|
xmlns: "http://www.w3.org/2000/svg",
|
|
503
503
|
fill: "none",
|
|
@@ -514,7 +514,7 @@ function ys(H, T) {
|
|
|
514
514
|
})
|
|
515
515
|
]);
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function ys(H, T) {
|
|
518
518
|
return z(), O("svg", {
|
|
519
519
|
xmlns: "http://www.w3.org/2000/svg",
|
|
520
520
|
fill: "none",
|
|
@@ -565,13 +565,13 @@ function He(H, T) {
|
|
|
565
565
|
})
|
|
566
566
|
]);
|
|
567
567
|
}
|
|
568
|
-
const
|
|
568
|
+
const ws = {
|
|
569
569
|
key: 0,
|
|
570
570
|
class: "block text-sm font-medium text-gray-700 mb-1"
|
|
571
|
-
},
|
|
571
|
+
}, ks = { class: "py-1" }, Ss = ["onClick"], Cs = {
|
|
572
572
|
key: 1,
|
|
573
573
|
class: "animate-pulse px-4 py-2 bg-gray-200 rounded-md flex inline-flex items-center relative inline-block text-left"
|
|
574
|
-
},
|
|
574
|
+
}, As = /* @__PURE__ */ b("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" }, null, -1), Ji = /* @__PURE__ */ Bt({
|
|
575
575
|
__name: "uiDropdown",
|
|
576
576
|
props: {
|
|
577
577
|
items: {},
|
|
@@ -588,8 +588,8 @@ const ks = {
|
|
|
588
588
|
}), M = (I) => {
|
|
589
589
|
C.disabled || _("optionSelected", I);
|
|
590
590
|
};
|
|
591
|
-
return (I, Y) => I.loading ? (z(), O("div",
|
|
592
|
-
|
|
591
|
+
return (I, Y) => I.loading ? (z(), O("div", Cs, [
|
|
592
|
+
As,
|
|
593
593
|
q(U(bi), {
|
|
594
594
|
"aria-hidden": "true",
|
|
595
595
|
class: "-mr-1 ml-2 h-5 w-5 text-gray-200 dark:text-gray-300"
|
|
@@ -601,7 +601,7 @@ const ks = {
|
|
|
601
601
|
}, {
|
|
602
602
|
default: xt(() => [
|
|
603
603
|
b("div", null, [
|
|
604
|
-
I.label ? (z(), O("label",
|
|
604
|
+
I.label ? (z(), O("label", ws, G(I.label), 1)) : Pt("", !0),
|
|
605
605
|
q(U($i), { class: "inline-flex justify-between w-full rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-indigo-500" }, {
|
|
606
606
|
default: xt(() => [
|
|
607
607
|
Qt(G(R.value) + " ", 1),
|
|
@@ -627,7 +627,7 @@ const ks = {
|
|
|
627
627
|
class: ft([{ "right-0": I.position === "right", "left-0": I.position === "left" }, "origin-top-right absolute mt-2 w-56 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none z-10"])
|
|
628
628
|
}, {
|
|
629
629
|
default: xt(() => [
|
|
630
|
-
b("div",
|
|
630
|
+
b("div", ks, [
|
|
631
631
|
(z(!0), O(zt, null, Xt(I.items, ($, K) => (z(), Et(U(Vi), { key: K }, {
|
|
632
632
|
default: xt(() => [
|
|
633
633
|
b("a", {
|
|
@@ -636,7 +636,7 @@ const ks = {
|
|
|
636
636
|
$.active ? "bg-gray-100 text-gray-900" : "text-gray-700",
|
|
637
637
|
"block px-4 py-2 text-sm cursor-pointer"
|
|
638
638
|
])
|
|
639
|
-
}, G($.name), 11,
|
|
639
|
+
}, G($.name), 11, Ss)
|
|
640
640
|
]),
|
|
641
641
|
_: 2
|
|
642
642
|
}, 1024))), 128))
|
|
@@ -651,19 +651,19 @@ const ks = {
|
|
|
651
651
|
_: 1
|
|
652
652
|
}, 8, ["class"]));
|
|
653
653
|
}
|
|
654
|
-
}),
|
|
654
|
+
}), Ls = { key: 0 }, Ps = { class: "flex justify-between" }, Ms = {
|
|
655
655
|
key: 0,
|
|
656
656
|
class: "block text-sm font-medium text-gray-700"
|
|
657
|
-
},
|
|
657
|
+
}, _s = {
|
|
658
658
|
key: 1,
|
|
659
659
|
class: "text-[10px] text-gray-500 uppercase justify-self-end"
|
|
660
|
-
},
|
|
660
|
+
}, Ts = ["disabled", "name", "placeholder", "type"], zs = { class: "absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none" }, Is = {
|
|
661
661
|
key: 1,
|
|
662
662
|
class: "animate-pulse"
|
|
663
|
-
},
|
|
663
|
+
}, Es = {
|
|
664
664
|
key: 0,
|
|
665
665
|
class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/3 md:w-1/4 mb-1.5"
|
|
666
|
-
},
|
|
666
|
+
}, Ds = /* @__PURE__ */ b("div", { class: "animate-pulse px-4 py-3.5 bg-gray-200 rounded-md flex inline-flex items-center relative inline-block text-left w-full" }, [
|
|
667
667
|
/* @__PURE__ */ b("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" })
|
|
668
668
|
], -1), Ge = /* @__PURE__ */ Bt({
|
|
669
669
|
__name: "uiInput",
|
|
@@ -691,13 +691,13 @@ const ks = {
|
|
|
691
691
|
const M = (I) => {
|
|
692
692
|
I.target.value && I.target.name && _("inputChanged", { value: I.target.value, name: I.target.name });
|
|
693
693
|
};
|
|
694
|
-
return (I, Y) => I.loading ? (z(), O("div",
|
|
695
|
-
I.label !== void 0 ? (z(), O("div",
|
|
696
|
-
|
|
697
|
-
])) : (z(), O("div",
|
|
698
|
-
b("div",
|
|
699
|
-
I.label ? (z(), O("label",
|
|
700
|
-
I.requiredText ? (z(), O("span",
|
|
694
|
+
return (I, Y) => I.loading ? (z(), O("div", Is, [
|
|
695
|
+
I.label !== void 0 ? (z(), O("div", Es)) : Pt("", !0),
|
|
696
|
+
Ds
|
|
697
|
+
])) : (z(), O("div", Ls, [
|
|
698
|
+
b("div", Ps, [
|
|
699
|
+
I.label ? (z(), O("label", Ms, G(I.label), 1)) : Pt("", !0),
|
|
700
|
+
I.requiredText ? (z(), O("span", _s, G(I.requiredText), 1)) : Pt("", !0)
|
|
701
701
|
]),
|
|
702
702
|
b("div", {
|
|
703
703
|
class: ft([{ "mt-1": I.label }, "relative flex"])
|
|
@@ -730,15 +730,15 @@ const ks = {
|
|
|
730
730
|
placeholder: I.placeholder,
|
|
731
731
|
type: I.type,
|
|
732
732
|
onInput: M
|
|
733
|
-
}, null, 42,
|
|
734
|
-
[
|
|
733
|
+
}, null, 42, Ts), [
|
|
734
|
+
[Da, R.value]
|
|
735
735
|
]),
|
|
736
736
|
I.rightAddOn ? (z(), O("span", {
|
|
737
737
|
key: 1,
|
|
738
738
|
onClick: Y[2] || (Y[2] = ($) => I.$emit("rightAddOnClicked")),
|
|
739
739
|
class: "inline-flex items-center px-3 rounded-r-md border border-l-0 border-gray-300 bg-gray-50 hover:bg-gray-200 text-gray-500 sm:text-sm cursor-pointer"
|
|
740
740
|
}, G(I.rightAddOn), 1)) : Pt("", !0),
|
|
741
|
-
b("div",
|
|
741
|
+
b("div", zs, [
|
|
742
742
|
I.icon ? (z(), Et(qt, {
|
|
743
743
|
key: 0,
|
|
744
744
|
icon: I.icon,
|
|
@@ -780,22 +780,22 @@ const ks = {
|
|
|
780
780
|
])
|
|
781
781
|
]));
|
|
782
782
|
}
|
|
783
|
-
}),
|
|
783
|
+
}), Xs = { key: 0 }, Ys = { class: "flex justify-between" }, Fs = {
|
|
784
784
|
key: 0,
|
|
785
785
|
class: "block text-sm font-medium text-gray-700"
|
|
786
|
-
},
|
|
786
|
+
}, Os = {
|
|
787
787
|
key: 1,
|
|
788
788
|
class: "text-[10px] text-gray-500 uppercase"
|
|
789
|
-
},
|
|
789
|
+
}, Rs = { class: "space-y-1 flex flex-col items-center justify-center" }, Ns = { class: "flex text-sm text-gray-600 flex flex-col sm:flex-row text-center" }, Hs = ["for"], Bs = ["id", "name", "accept"], $s = { class: "pl-1" }, Ws = { class: "text-xs text-gray-500 pb-4" }, Vs = { class: "mt-2 text-xs flex flex-row items-center text-red-300" }, js = {
|
|
790
790
|
key: 1,
|
|
791
791
|
class: "animate-pulse"
|
|
792
|
-
},
|
|
792
|
+
}, Gs = /* @__PURE__ */ b("div", { class: "flex justify-center items-center flex-col rounded-md border-2 border-dashed px-6 pt-5 pb-6 border-gray-200" }, [
|
|
793
793
|
/* @__PURE__ */ b("div", { class: "rounded-full h-20 w-20 bg-gray-200 mb-4" }),
|
|
794
794
|
/* @__PURE__ */ b("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full md:w-1/3 mb-3" }),
|
|
795
795
|
/* @__PURE__ */ b("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full md:w-1/4 mb-3" })
|
|
796
|
-
], -1),
|
|
797
|
-
|
|
798
|
-
],
|
|
796
|
+
], -1), Us = [
|
|
797
|
+
Gs
|
|
798
|
+
], qs = /* @__PURE__ */ Bt({
|
|
799
799
|
__name: "uiInputFile",
|
|
800
800
|
props: {
|
|
801
801
|
name: {},
|
|
@@ -806,7 +806,7 @@ const ks = {
|
|
|
806
806
|
fileTypesAndSizes: {},
|
|
807
807
|
error: {},
|
|
808
808
|
accept: {},
|
|
809
|
-
icon: { default:
|
|
809
|
+
icon: { default: ls },
|
|
810
810
|
loading: { type: Boolean, default: !0 },
|
|
811
811
|
label: {}
|
|
812
812
|
},
|
|
@@ -824,10 +824,10 @@ const ks = {
|
|
|
824
824
|
K++, _.value += it.name, K >= 1 && K < $.length && (_.value += ", ");
|
|
825
825
|
});
|
|
826
826
|
};
|
|
827
|
-
return ($, K) => $.loading ? (z(), O("div",
|
|
828
|
-
b("div",
|
|
829
|
-
$.label ? (z(), O("label",
|
|
830
|
-
$.requiredText ? (z(), O("span",
|
|
827
|
+
return ($, K) => $.loading ? (z(), O("div", js, Us)) : (z(), O("div", Xs, [
|
|
828
|
+
b("div", Ys, [
|
|
829
|
+
$.label ? (z(), O("label", Fs, G($.label), 1)) : Pt("", !0),
|
|
830
|
+
$.requiredText ? (z(), O("span", Os, G($.requiredText), 1)) : Pt("", !0)
|
|
831
831
|
]),
|
|
832
832
|
b("div", {
|
|
833
833
|
class: ft([
|
|
@@ -838,11 +838,11 @@ const ks = {
|
|
|
838
838
|
],
|
|
839
839
|
"dropArea flex justify-center rounded-md border-2 border-dashed px-6 pt-5 pb-6"
|
|
840
840
|
]),
|
|
841
|
-
onDragover: K[0] || (K[0] =
|
|
841
|
+
onDragover: K[0] || (K[0] = sa(() => {
|
|
842
842
|
}, ["prevent"])),
|
|
843
|
-
onDrop:
|
|
843
|
+
onDrop: sa(M, ["prevent"])
|
|
844
844
|
}, [
|
|
845
|
-
b("div",
|
|
845
|
+
b("div", Rs, [
|
|
846
846
|
q(qt, {
|
|
847
847
|
icon: $.icon,
|
|
848
848
|
size: "massive",
|
|
@@ -851,7 +851,7 @@ const ks = {
|
|
|
851
851
|
class: "mb-4",
|
|
852
852
|
loading: $.loading
|
|
853
853
|
}, null, 8, ["icon", "loading"]),
|
|
854
|
-
b("div",
|
|
854
|
+
b("div", Ns, [
|
|
855
855
|
b("label", {
|
|
856
856
|
for: $.id,
|
|
857
857
|
class: "relative cursor-pointer rounded-md font-medium text-indigo-600 focus-within:outline-none focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 hover:text-indigo-500"
|
|
@@ -865,17 +865,17 @@ const ks = {
|
|
|
865
865
|
accept: $.accept,
|
|
866
866
|
multiple: "",
|
|
867
867
|
onChange: I
|
|
868
|
-
}, null, 40,
|
|
869
|
-
], 8,
|
|
870
|
-
b("p",
|
|
868
|
+
}, null, 40, Bs)
|
|
869
|
+
], 8, Hs),
|
|
870
|
+
b("p", $s, G($.dragAndDrop), 1)
|
|
871
871
|
]),
|
|
872
|
-
b("p",
|
|
872
|
+
b("p", Ws, G($.fileTypesAndSizes), 1),
|
|
873
873
|
Nt(b("p", { class: "font-bold text-xs uppercase block p-2 bg-gray-200 rounded" }, G(U(_)), 513), [
|
|
874
874
|
[jt, U(_) !== null]
|
|
875
875
|
])
|
|
876
876
|
])
|
|
877
877
|
], 34),
|
|
878
|
-
Nt(b("p",
|
|
878
|
+
Nt(b("p", Vs, [
|
|
879
879
|
q(qt, {
|
|
880
880
|
icon: U(wi),
|
|
881
881
|
color: "red",
|
|
@@ -888,13 +888,13 @@ const ks = {
|
|
|
888
888
|
])
|
|
889
889
|
]));
|
|
890
890
|
}
|
|
891
|
-
}),
|
|
891
|
+
}), Zs = { class: "flex justify-between" }, Js = {
|
|
892
892
|
key: 0,
|
|
893
893
|
class: "text-[10px] text-gray-500 uppercase justify-self-end"
|
|
894
|
-
},
|
|
894
|
+
}, Qs = { class: "relative mt-1" }, Ks = {
|
|
895
895
|
key: 1,
|
|
896
896
|
class: "animate-pulse px-4 py-2.5 bg-gray-200 rounded-md flex justify-between items-center w-full"
|
|
897
|
-
},
|
|
897
|
+
}, tr = /* @__PURE__ */ b("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1), er = /* @__PURE__ */ Bt({
|
|
898
898
|
__name: "uiSelect",
|
|
899
899
|
props: {
|
|
900
900
|
items: {},
|
|
@@ -909,13 +909,13 @@ const ks = {
|
|
|
909
909
|
emits: ["selectChanged"],
|
|
910
910
|
setup(H, { emit: T }) {
|
|
911
911
|
const _ = ce(""), C = T, R = H, M = ue(() => _.value === "" ? R.items : R.items.filter(($) => $.name.toLowerCase().includes(_.value.toLowerCase()))), I = ($) => ($ == null ? void 0 : $.name) ?? "", Y = ue(() => R.select);
|
|
912
|
-
return ($, K) => $.loading ? (z(), O("div",
|
|
913
|
-
|
|
912
|
+
return ($, K) => $.loading ? (z(), O("div", Ks, [
|
|
913
|
+
tr,
|
|
914
914
|
q(U(Oi), {
|
|
915
915
|
"aria-hidden": "true",
|
|
916
916
|
class: "-mr-1 ml-2 h-5 w-5 text-gray-300 dark:text-gray-400"
|
|
917
917
|
})
|
|
918
|
-
])) : (z(), Et(U(
|
|
918
|
+
])) : (z(), Et(U(pa), {
|
|
919
919
|
key: 0,
|
|
920
920
|
modelValue: Y.value,
|
|
921
921
|
"onUpdate:modelValue": [
|
|
@@ -926,17 +926,17 @@ const ks = {
|
|
|
926
926
|
as: "div"
|
|
927
927
|
}, {
|
|
928
928
|
default: xt(() => [
|
|
929
|
-
b("div",
|
|
930
|
-
q(U(
|
|
929
|
+
b("div", Zs, [
|
|
930
|
+
q(U(Wa), { class: "block text-sm font-medium" }, {
|
|
931
931
|
default: xt(() => [
|
|
932
932
|
Qt(G($.label), 1)
|
|
933
933
|
]),
|
|
934
934
|
_: 1
|
|
935
935
|
}),
|
|
936
|
-
$.requiredText ? (z(), O("span",
|
|
936
|
+
$.requiredText ? (z(), O("span", Js, G($.requiredText), 1)) : Pt("", !0)
|
|
937
937
|
]),
|
|
938
|
-
b("div",
|
|
939
|
-
q(U(
|
|
938
|
+
b("div", Qs, [
|
|
939
|
+
q(U(fa), {
|
|
940
940
|
onChange: K[0] || (K[0] = (it) => _.value = it.target.value),
|
|
941
941
|
onBlur: K[1] || (K[1] = (it) => _.value = ""),
|
|
942
942
|
displayValue: I,
|
|
@@ -954,7 +954,7 @@ const ks = {
|
|
|
954
954
|
"text-green-400": $.color === "green"
|
|
955
955
|
}, "w-full rounded-md border py-2 pl-3 pr-10 shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 sm:text-sm"])
|
|
956
956
|
}, null, 8, ["class"]),
|
|
957
|
-
q(U(
|
|
957
|
+
q(U(xa), { class: "absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none" }, {
|
|
958
958
|
default: xt(() => [
|
|
959
959
|
q(U(Oi), {
|
|
960
960
|
"aria-hidden": "true",
|
|
@@ -963,12 +963,12 @@ const ks = {
|
|
|
963
963
|
]),
|
|
964
964
|
_: 1
|
|
965
965
|
}),
|
|
966
|
-
M.value.length > 0 ? (z(), Et(U(
|
|
966
|
+
M.value.length > 0 ? (z(), Et(U(ma), {
|
|
967
967
|
key: 0,
|
|
968
968
|
class: "absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"
|
|
969
969
|
}, {
|
|
970
970
|
default: xt(() => [
|
|
971
|
-
(z(!0), O(zt, null, Xt(M.value, (it) => (z(), Et(U(
|
|
971
|
+
(z(!0), O(zt, null, Xt(M.value, (it) => (z(), Et(U(ba), {
|
|
972
972
|
key: it.id,
|
|
973
973
|
value: it,
|
|
974
974
|
as: "template"
|
|
@@ -1118,7 +1118,7 @@ const ks = {
|
|
|
1118
1118
|
}]),
|
|
1119
1119
|
onChange: R
|
|
1120
1120
|
}, null, 42, cr), [
|
|
1121
|
-
[
|
|
1121
|
+
[Xa, M.value]
|
|
1122
1122
|
])
|
|
1123
1123
|
], 2),
|
|
1124
1124
|
Nt(b("p", {
|
|
@@ -1162,13 +1162,13 @@ const ks = {
|
|
|
1162
1162
|
},
|
|
1163
1163
|
setup(H) {
|
|
1164
1164
|
const T = H, _ = ce(T.checked);
|
|
1165
|
-
return xe(() => T.checked, (C) => _.value = C), (C, R) => C.loading ? (z(), O("div", mr, yr)) : (z(), Et(U(
|
|
1165
|
+
return xe(() => T.checked, (C) => _.value = C), (C, R) => C.loading ? (z(), O("div", mr, yr)) : (z(), Et(U(Va), {
|
|
1166
1166
|
key: 0,
|
|
1167
1167
|
as: "div",
|
|
1168
1168
|
class: "flex items-center relative"
|
|
1169
1169
|
}, {
|
|
1170
1170
|
default: xt(() => [
|
|
1171
|
-
q(U(
|
|
1171
|
+
q(U(ja), {
|
|
1172
1172
|
disabled: C.disabled,
|
|
1173
1173
|
onClick: R[0] || (R[0] = (M) => C.$emit("toggleChanged", { item: C.item, active: !_.value })),
|
|
1174
1174
|
modelValue: _.value,
|
|
@@ -1190,7 +1190,7 @@ const ks = {
|
|
|
1190
1190
|
]),
|
|
1191
1191
|
_: 1
|
|
1192
1192
|
}, 8, ["disabled", "modelValue", "class"]),
|
|
1193
|
-
q(U(
|
|
1193
|
+
q(U(Ga), {
|
|
1194
1194
|
as: "span",
|
|
1195
1195
|
class: "ml-3"
|
|
1196
1196
|
}, {
|
|
@@ -1237,7 +1237,7 @@ const ks = {
|
|
|
1237
1237
|
}, [
|
|
1238
1238
|
b("div", Sr, [
|
|
1239
1239
|
b("div", Cr, [
|
|
1240
|
-
T.type === "info" ? (z(), Et(U(
|
|
1240
|
+
T.type === "info" ? (z(), Et(U(Aa), {
|
|
1241
1241
|
key: 0,
|
|
1242
1242
|
class: "h-8 w-8 text-indigo-400",
|
|
1243
1243
|
"aria-hidden": "true"
|
|
@@ -1252,7 +1252,7 @@ const ks = {
|
|
|
1252
1252
|
class: "h-8 w-8 text-yellow-400",
|
|
1253
1253
|
"aria-hidden": "true"
|
|
1254
1254
|
})) : Pt("", !0),
|
|
1255
|
-
T.type === "success" ? (z(), Et(U(
|
|
1255
|
+
T.type === "success" ? (z(), Et(U(ka), {
|
|
1256
1256
|
key: 3,
|
|
1257
1257
|
class: "h-8 w-8 text-green-400",
|
|
1258
1258
|
"aria-hidden": "true"
|
|
@@ -1331,7 +1331,7 @@ const ks = {
|
|
|
1331
1331
|
onClick: (M) => T.$emit("breadCrumbClicked", C.routeName),
|
|
1332
1332
|
class: "flex flex-row items-center justify-center text-indigo-600 hover:text-indigo-800 cursor-pointer"
|
|
1333
1333
|
}, [
|
|
1334
|
-
q(U(
|
|
1334
|
+
q(U(xs), {
|
|
1335
1335
|
class: "flex-shrink-0 h-3 w-3 text-gray-400 mr-4",
|
|
1336
1336
|
"aria-hidden": "true"
|
|
1337
1337
|
}),
|
|
@@ -1420,7 +1420,7 @@ const ks = {
|
|
|
1420
1420
|
Y.value !== I.value ? Y.active = !1 : Y.active = !0;
|
|
1421
1421
|
}), _("filterSelected", I);
|
|
1422
1422
|
}, M = ce(C.items);
|
|
1423
|
-
return (I, Y) => (z(), Et(
|
|
1423
|
+
return (I, Y) => (z(), Et(Ji, {
|
|
1424
1424
|
loading: I.loading,
|
|
1425
1425
|
onOptionSelected: Y[0] || (Y[0] = ($) => R($)),
|
|
1426
1426
|
position: I.position,
|
|
@@ -1431,7 +1431,7 @@ const ks = {
|
|
|
1431
1431
|
}), io = /* @__PURE__ */ b("div", { class: "fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity" }, null, -1), ao = { class: "fixed inset-0 z-10 overflow-y-auto" }, so = { class: "flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0" }, ro = { class: "absolute top-0 right-0 hidden pt-4 pr-4 sm:block" }, oo = /* @__PURE__ */ b("span", { class: "sr-only" }, "X", -1), no = { class: "sm:flex sm:items-start" }, lo = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left sm:mr-4 sm:w-10/12 break-words" }, co = { class: "mt-4 text-gray-500 text-sm" }, ho = {
|
|
1432
1432
|
key: 0,
|
|
1433
1433
|
class: "mt-8"
|
|
1434
|
-
}, uo = ["onClick"],
|
|
1434
|
+
}, uo = ["onClick"], La = /* @__PURE__ */ Bt({
|
|
1435
1435
|
__name: "uiModal",
|
|
1436
1436
|
props: {
|
|
1437
1437
|
title: {},
|
|
@@ -1526,7 +1526,7 @@ const ks = {
|
|
|
1526
1526
|
}, null, 512), [
|
|
1527
1527
|
[jt, M.type === "warning"]
|
|
1528
1528
|
]),
|
|
1529
|
-
Nt(q(U(
|
|
1529
|
+
Nt(q(U(fs), {
|
|
1530
1530
|
class: "h-6 w-6 text-indigo-600",
|
|
1531
1531
|
"aria-hidden": "true"
|
|
1532
1532
|
}, null, 512), [
|
|
@@ -1534,7 +1534,7 @@ const ks = {
|
|
|
1534
1534
|
])
|
|
1535
1535
|
], 2),
|
|
1536
1536
|
b("div", lo, [
|
|
1537
|
-
q(U(
|
|
1537
|
+
q(U(va), {
|
|
1538
1538
|
as: "h3",
|
|
1539
1539
|
class: "text-lg font-medium leading-6 text-gray-900"
|
|
1540
1540
|
}, {
|
|
@@ -1603,7 +1603,7 @@ const ks = {
|
|
|
1603
1603
|
b("div", fo, [
|
|
1604
1604
|
b("div", xo, [
|
|
1605
1605
|
b("div", mo, [
|
|
1606
|
-
Nt(q(U(
|
|
1606
|
+
Nt(q(U(ka), {
|
|
1607
1607
|
"aria-hidden": "true",
|
|
1608
1608
|
class: "h-6 w-6 text-green-400"
|
|
1609
1609
|
}, null, 512), [
|
|
@@ -1621,7 +1621,7 @@ const ks = {
|
|
|
1621
1621
|
}, null, 512), [
|
|
1622
1622
|
[jt, C.type === "warning"]
|
|
1623
1623
|
]),
|
|
1624
|
-
Nt(q(U(
|
|
1624
|
+
Nt(q(U(Aa), {
|
|
1625
1625
|
"aria-hidden": "true",
|
|
1626
1626
|
class: "h-6 w-6 text-indigo-600"
|
|
1627
1627
|
}, null, 512), [
|
|
@@ -1712,10 +1712,10 @@ const ks = {
|
|
|
1712
1712
|
}
|
|
1713
1713
|
});
|
|
1714
1714
|
var Qe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1715
|
-
function
|
|
1715
|
+
function Pa(H) {
|
|
1716
1716
|
return H && H.__esModule && Object.prototype.hasOwnProperty.call(H, "default") ? H.default : H;
|
|
1717
1717
|
}
|
|
1718
|
-
var
|
|
1718
|
+
var Ma = { exports: {} };
|
|
1719
1719
|
(function(H, T) {
|
|
1720
1720
|
(function(_, C) {
|
|
1721
1721
|
H.exports = C();
|
|
@@ -1990,9 +1990,9 @@ var _a = { exports: {} };
|
|
|
1990
1990
|
return Vt(1e3 * rt);
|
|
1991
1991
|
}, Vt.en = Yt[j], Vt.Ls = Yt, Vt.p = {}, Vt;
|
|
1992
1992
|
});
|
|
1993
|
-
})(
|
|
1994
|
-
var ki =
|
|
1995
|
-
const ve = /* @__PURE__ */
|
|
1993
|
+
})(Ma);
|
|
1994
|
+
var ki = Ma.exports;
|
|
1995
|
+
const ve = /* @__PURE__ */ Pa(ki);
|
|
1996
1996
|
var Fo = { exports: {} };
|
|
1997
1997
|
(function(H, T) {
|
|
1998
1998
|
(function(_, C) {
|
|
@@ -2058,7 +2058,7 @@ const Ke = (H, T) => {
|
|
|
2058
2058
|
return _;
|
|
2059
2059
|
}, Ho = {
|
|
2060
2060
|
name: "dateSelector",
|
|
2061
|
-
components: { ChevronLeftIcon:
|
|
2061
|
+
components: { ChevronLeftIcon: Sa, ChevronRightIcon: li },
|
|
2062
2062
|
computed: {
|
|
2063
2063
|
currentDate() {
|
|
2064
2064
|
return ve(this.selectedDate).locale("es").format("DD MMM. YYYY");
|
|
@@ -2210,8 +2210,8 @@ function dn(H, T, _, C, R, M) {
|
|
|
2210
2210
|
])
|
|
2211
2211
|
]);
|
|
2212
2212
|
}
|
|
2213
|
-
const
|
|
2214
|
-
var
|
|
2213
|
+
const _a = /* @__PURE__ */ Ke(Uo, [["render", dn]]);
|
|
2214
|
+
var Ta = { exports: {} };
|
|
2215
2215
|
(function(H, T) {
|
|
2216
2216
|
(function(_, C) {
|
|
2217
2217
|
H.exports = C();
|
|
@@ -2223,9 +2223,9 @@ var za = { exports: {} };
|
|
|
2223
2223
|
};
|
|
2224
2224
|
};
|
|
2225
2225
|
});
|
|
2226
|
-
})(
|
|
2227
|
-
var hn =
|
|
2228
|
-
const un = /* @__PURE__ */
|
|
2226
|
+
})(Ta);
|
|
2227
|
+
var hn = Ta.exports;
|
|
2228
|
+
const un = /* @__PURE__ */ Pa(hn), gn = {
|
|
2229
2229
|
name: "calendarDay",
|
|
2230
2230
|
props: {
|
|
2231
2231
|
day: Object
|
|
@@ -2321,7 +2321,7 @@ const kn = /* @__PURE__ */ Ke(vn, [["render", wn]]), Sn = {
|
|
|
2321
2321
|
required: !0
|
|
2322
2322
|
}
|
|
2323
2323
|
},
|
|
2324
|
-
components: { DateSelector: Go, Day: bn, Price: kn, uiButton: qe, SkeletonTable:
|
|
2324
|
+
components: { DateSelector: Go, Day: bn, Price: kn, uiButton: qe, SkeletonTable: _a },
|
|
2325
2325
|
computed: {
|
|
2326
2326
|
days() {
|
|
2327
2327
|
let H = [];
|
|
@@ -2541,7 +2541,7 @@ function Kn(H, T, _, C, R, M) {
|
|
|
2541
2541
|
value: mt.name,
|
|
2542
2542
|
"onUpdate:modelValue": T[2] || (T[2] = (J) => H.selectedRooms = J)
|
|
2543
2543
|
}, null, 8, qn), [
|
|
2544
|
-
[
|
|
2544
|
+
[ha, H.selectedRooms]
|
|
2545
2545
|
]),
|
|
2546
2546
|
b("span", Zn, G(mt.name), 1)
|
|
2547
2547
|
]),
|
|
@@ -11401,7 +11401,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
11401
11401
|
H.exports = oi;
|
|
11402
11402
|
})(Ri, Ri.exports);
|
|
11403
11403
|
var il = Ri.exports;
|
|
11404
|
-
const
|
|
11404
|
+
const ra = /* @__PURE__ */ el(il), oa = [
|
|
11405
11405
|
"animationEnd",
|
|
11406
11406
|
"beforeMount",
|
|
11407
11407
|
"mounted",
|
|
@@ -11441,7 +11441,7 @@ const sa = /* @__PURE__ */ el(il), ra = [
|
|
|
11441
11441
|
}
|
|
11442
11442
|
},
|
|
11443
11443
|
// events emitted by this component
|
|
11444
|
-
emits:
|
|
11444
|
+
emits: oa,
|
|
11445
11445
|
setup(H, { emit: T }) {
|
|
11446
11446
|
const _ = ce(null), C = ce(null), R = (st) => st && typeof st == "object" && !Array.isArray(st) && st != null, M = (st, Mt) => {
|
|
11447
11447
|
typeof Object.assign != "function" && function() {
|
|
@@ -11467,7 +11467,7 @@ const sa = /* @__PURE__ */ el(il), ra = [
|
|
|
11467
11467
|
});
|
|
11468
11468
|
}), ae;
|
|
11469
11469
|
}, I = async () => {
|
|
11470
|
-
if (await
|
|
11470
|
+
if (await Na(), C.value)
|
|
11471
11471
|
return;
|
|
11472
11472
|
const st = {
|
|
11473
11473
|
chart: {
|
|
@@ -11478,12 +11478,12 @@ const sa = /* @__PURE__ */ el(il), ra = [
|
|
|
11478
11478
|
},
|
|
11479
11479
|
series: H.series
|
|
11480
11480
|
};
|
|
11481
|
-
|
|
11481
|
+
oa.forEach((ae) => {
|
|
11482
11482
|
let rt = (...et) => T(ae, ...et);
|
|
11483
11483
|
st.chart.events[ae] = rt;
|
|
11484
11484
|
});
|
|
11485
11485
|
const Mt = M(H.options, st);
|
|
11486
|
-
return C.value = new
|
|
11486
|
+
return C.value = new ra(_.value, Mt), C.value.render();
|
|
11487
11487
|
}, Y = () => ($(), I()), $ = () => {
|
|
11488
11488
|
C.value.destroy();
|
|
11489
11489
|
}, K = (st, Mt) => C.value.updateSeries(st, Mt), it = (st, Mt, ae, rt) => C.value.updateOptions(st, Mt, ae, rt), gt = (st) => C.value.toggleSeries(st), At = (st) => {
|
|
@@ -11505,11 +11505,11 @@ const sa = /* @__PURE__ */ el(il), ra = [
|
|
|
11505
11505
|
}, It = () => {
|
|
11506
11506
|
C.value.clearAnnotations();
|
|
11507
11507
|
};
|
|
11508
|
-
|
|
11509
|
-
window.ApexCharts =
|
|
11508
|
+
Ya(() => {
|
|
11509
|
+
window.ApexCharts = ra;
|
|
11510
11510
|
}), Hi(() => {
|
|
11511
|
-
_.value =
|
|
11512
|
-
}),
|
|
11511
|
+
_.value = Fa().proxy.$el, I();
|
|
11512
|
+
}), Oa(() => {
|
|
11513
11513
|
C.value && $();
|
|
11514
11514
|
});
|
|
11515
11515
|
const Vt = ni(H);
|
|
@@ -11552,7 +11552,7 @@ const sa = /* @__PURE__ */ el(il), ra = [
|
|
|
11552
11552
|
};
|
|
11553
11553
|
},
|
|
11554
11554
|
render() {
|
|
11555
|
-
return
|
|
11555
|
+
return Ra("div", {
|
|
11556
11556
|
class: "vue-apexcharts"
|
|
11557
11557
|
});
|
|
11558
11558
|
}
|
|
@@ -11560,7 +11560,7 @@ const sa = /* @__PURE__ */ el(il), ra = [
|
|
|
11560
11560
|
H.component(Ze.name, Ze);
|
|
11561
11561
|
};
|
|
11562
11562
|
Ze.install = al;
|
|
11563
|
-
const sl = { class: "chart-selector flex flex-row items-center justify-center" },
|
|
11563
|
+
const sl = { class: "chart-selector flex flex-row items-center justify-center" }, Qi = /* @__PURE__ */ Bt({
|
|
11564
11564
|
__name: "RangeSelector",
|
|
11565
11565
|
props: { range: { type: String } },
|
|
11566
11566
|
emits: ["rangeSelected"],
|
|
@@ -11714,7 +11714,7 @@ const sl = { class: "chart-selector flex flex-row items-center justify-center" }
|
|
|
11714
11714
|
}, {
|
|
11715
11715
|
default: xt(() => [
|
|
11716
11716
|
q(qt, {
|
|
11717
|
-
icon: U(
|
|
11717
|
+
icon: U(ps),
|
|
11718
11718
|
loading: !1,
|
|
11719
11719
|
color: "red"
|
|
11720
11720
|
}, null, 8, ["icon"]),
|
|
@@ -11730,7 +11730,7 @@ const sl = { class: "chart-selector flex flex-row items-center justify-center" }
|
|
|
11730
11730
|
}, {
|
|
11731
11731
|
default: xt(() => [
|
|
11732
11732
|
q(qt, {
|
|
11733
|
-
icon: U(
|
|
11733
|
+
icon: U(gs),
|
|
11734
11734
|
loading: !1,
|
|
11735
11735
|
color: "yellow"
|
|
11736
11736
|
}, null, 8, ["icon"]),
|
|
@@ -11746,7 +11746,7 @@ const sl = { class: "chart-selector flex flex-row items-center justify-center" }
|
|
|
11746
11746
|
}, {
|
|
11747
11747
|
default: xt(() => [
|
|
11748
11748
|
q(qt, {
|
|
11749
|
-
icon: U(
|
|
11749
|
+
icon: U(Ca),
|
|
11750
11750
|
loading: !1,
|
|
11751
11751
|
color: "green"
|
|
11752
11752
|
}, null, 8, ["icon"]),
|
|
@@ -11756,7 +11756,7 @@ const sl = { class: "chart-selector flex flex-row items-center justify-center" }
|
|
|
11756
11756
|
_: 1
|
|
11757
11757
|
})
|
|
11758
11758
|
])) : Pt("", !0),
|
|
11759
|
-
q(
|
|
11759
|
+
q(Qi, {
|
|
11760
11760
|
range: At.range,
|
|
11761
11761
|
onRangeSelected: Y
|
|
11762
11762
|
}, null, 8, ["range"])
|
|
@@ -11900,7 +11900,7 @@ const Sl = /* @__PURE__ */ Ke(bl, [["render", kl]]), Cl = /* @__PURE__ */ b("div
|
|
|
11900
11900
|
b("span", Xl, [
|
|
11901
11901
|
Pe($.$slots, "previous")
|
|
11902
11902
|
]),
|
|
11903
|
-
q(U(
|
|
11903
|
+
q(U(Sa), {
|
|
11904
11904
|
class: "h-5 w-5",
|
|
11905
11905
|
"aria-hidden": "true"
|
|
11906
11906
|
})
|
|
@@ -12054,7 +12054,7 @@ const Sl = /* @__PURE__ */ Ke(bl, [["render", kl]]), Cl = /* @__PURE__ */ b("div
|
|
|
12054
12054
|
/* @__PURE__ */ b("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2 mb-4 animate-pulse" })
|
|
12055
12055
|
], -1), bc = /* @__PURE__ */ b("div", { class: "ml-16" }, [
|
|
12056
12056
|
/* @__PURE__ */ b("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2 animate-pulse" })
|
|
12057
|
-
], -1),
|
|
12057
|
+
], -1), za = /* @__PURE__ */ Bt({
|
|
12058
12058
|
__name: "uiStats",
|
|
12059
12059
|
props: {
|
|
12060
12060
|
item: {},
|
|
@@ -12114,12 +12114,12 @@ const Sl = /* @__PURE__ */ Ke(bl, [["render", kl]]), Cl = /* @__PURE__ */ b("div
|
|
|
12114
12114
|
"ml-2 flex items-baseline text-sm font-semibold"
|
|
12115
12115
|
])
|
|
12116
12116
|
}, [
|
|
12117
|
-
_.item.changeType === "increase" ? (z(), Et(U(
|
|
12117
|
+
_.item.changeType === "increase" ? (z(), Et(U(cs), {
|
|
12118
12118
|
key: 0,
|
|
12119
12119
|
class: "self-center flex-shrink-0 h-3 w-3 text-green-500",
|
|
12120
12120
|
"aria-hidden": "true"
|
|
12121
12121
|
})) : Pt("", !0),
|
|
12122
|
-
_.item.changeType === "decrease" ? (z(), Et(U(
|
|
12122
|
+
_.item.changeType === "decrease" ? (z(), Et(U(ns), {
|
|
12123
12123
|
key: 1,
|
|
12124
12124
|
class: "self-center flex-shrink-0 h-3 w-3 text-red-500",
|
|
12125
12125
|
"aria-hidden": "true"
|
|
@@ -12252,7 +12252,7 @@ const Sl = /* @__PURE__ */ Ke(bl, [["render", kl]]), Cl = /* @__PURE__ */ b("div
|
|
|
12252
12252
|
Fc,
|
|
12253
12253
|
b("div", null, [
|
|
12254
12254
|
q(qt, {
|
|
12255
|
-
icon: U(
|
|
12255
|
+
icon: U(bs),
|
|
12256
12256
|
loading: !1,
|
|
12257
12257
|
color: "white",
|
|
12258
12258
|
size: "big"
|
|
@@ -12296,7 +12296,7 @@ const Sl = /* @__PURE__ */ Ke(bl, [["render", kl]]), Cl = /* @__PURE__ */ b("div
|
|
|
12296
12296
|
};
|
|
12297
12297
|
return (it, gt) => {
|
|
12298
12298
|
var At, mt;
|
|
12299
|
-
return it.loading ? (z(), Et(
|
|
12299
|
+
return it.loading ? (z(), Et(_a, { key: 1 })) : (z(), O("div", Nc, [
|
|
12300
12300
|
b("div", Hc, [
|
|
12301
12301
|
b("div", Bc, [
|
|
12302
12302
|
b("div", $c, [
|
|
@@ -12350,7 +12350,7 @@ const Sl = /* @__PURE__ */ Ke(bl, [["render", kl]]), Cl = /* @__PURE__ */ b("div
|
|
|
12350
12350
|
], "ml-2 flex-none rounded group-hover:bg-indigo-200 group-hover:text-white"])
|
|
12351
12351
|
}, [
|
|
12352
12352
|
q(qt, {
|
|
12353
|
-
icon: it.orderDirection === "asc" ? U(bi) : U(
|
|
12353
|
+
icon: it.orderDirection === "asc" ? U(bi) : U(us),
|
|
12354
12354
|
loading: it.loading,
|
|
12355
12355
|
color: J.value === it.orderedBy ? "white" : "primary"
|
|
12356
12356
|
}, null, 8, ["icon", "loading", "color"])
|
|
@@ -12377,12 +12377,12 @@ const Sl = /* @__PURE__ */ Ke(bl, [["render", kl]]), Cl = /* @__PURE__ */ b("div
|
|
|
12377
12377
|
U(_).includes(J.id) ? (z(), O("div", td)) : Pt("", !0),
|
|
12378
12378
|
(($t = it.actions) == null ? void 0 : $t.length) > 0 ? Nt((z(), O("input", {
|
|
12379
12379
|
key: 1,
|
|
12380
|
-
"onUpdate:modelValue": gt[0] || (gt[0] = (F) =>
|
|
12380
|
+
"onUpdate:modelValue": gt[0] || (gt[0] = (F) => ua(_) ? _.value = F : _ = F),
|
|
12381
12381
|
value: J.id,
|
|
12382
12382
|
class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500 flex-wrap",
|
|
12383
12383
|
type: "checkbox"
|
|
12384
12384
|
}, null, 8, ed)), [
|
|
12385
|
-
[
|
|
12385
|
+
[ha, U(_)]
|
|
12386
12386
|
]) : Pt("", !0)
|
|
12387
12387
|
], 2),
|
|
12388
12388
|
(z(!0), O(zt, null, Xt(J.row, (F, ne) => (z(), O("td", {
|
|
@@ -12518,7 +12518,7 @@ const Sl = /* @__PURE__ */ Ke(bl, [["render", kl]]), Cl = /* @__PURE__ */ b("div
|
|
|
12518
12518
|
loading: { type: Boolean, default: !0 }
|
|
12519
12519
|
},
|
|
12520
12520
|
setup(H) {
|
|
12521
|
-
const _ =
|
|
12521
|
+
const _ = ga(H.timeline);
|
|
12522
12522
|
return (C, R) => C.loading ? (z(), O("div", _d, [
|
|
12523
12523
|
Td,
|
|
12524
12524
|
b("div", zd, [
|
|
@@ -12543,7 +12543,7 @@ const Sl = /* @__PURE__ */ Ke(bl, [["render", kl]]), Cl = /* @__PURE__ */ b("div
|
|
|
12543
12543
|
]),
|
|
12544
12544
|
_.items ? (z(), O("div", fd, [
|
|
12545
12545
|
b("div", xd, [
|
|
12546
|
-
q(
|
|
12546
|
+
q(Ha, {
|
|
12547
12547
|
name: "list",
|
|
12548
12548
|
tag: "ul",
|
|
12549
12549
|
class: "-mb-8"
|
|
@@ -12644,7 +12644,7 @@ const Sl = /* @__PURE__ */ Ke(bl, [["render", kl]]), Cl = /* @__PURE__ */ b("div
|
|
|
12644
12644
|
key: 1,
|
|
12645
12645
|
class: "block h-6 w-6",
|
|
12646
12646
|
"aria-hidden": "true"
|
|
12647
|
-
})) : (z(), Et(U(
|
|
12647
|
+
})) : (z(), Et(U(wa), {
|
|
12648
12648
|
key: 0,
|
|
12649
12649
|
class: "block h-6 w-6",
|
|
12650
12650
|
"aria-hidden": "true"
|
|
@@ -12870,7 +12870,7 @@ const Sl = /* @__PURE__ */ Ke(bl, [["render", kl]]), Cl = /* @__PURE__ */ b("div
|
|
|
12870
12870
|
}, [
|
|
12871
12871
|
b("div", dh, [
|
|
12872
12872
|
b("div", hh, G(K.title), 1),
|
|
12873
|
-
q(
|
|
12873
|
+
q(Qi, {
|
|
12874
12874
|
range: K.range,
|
|
12875
12875
|
onRangeSelected: it[0] || (it[0] = (gt) => K.$emit("selectedRange", { range: gt, chartId: K.id }))
|
|
12876
12876
|
}, null, 8, ["range"])
|
|
@@ -12917,7 +12917,7 @@ const Sl = /* @__PURE__ */ Ke(bl, [["render", kl]]), Cl = /* @__PURE__ */ b("div
|
|
|
12917
12917
|
items: {},
|
|
12918
12918
|
select: {}
|
|
12919
12919
|
},
|
|
12920
|
-
emits: ["action", "
|
|
12920
|
+
emits: ["action", "noResultsOptionSelected"],
|
|
12921
12921
|
setup(H) {
|
|
12922
12922
|
return (T, _) => (z(), O("div", vh, [
|
|
12923
12923
|
q(qt, {
|
|
@@ -12939,14 +12939,12 @@ const Sl = /* @__PURE__ */ Ke(bl, [["render", kl]]), Cl = /* @__PURE__ */ b("div
|
|
|
12939
12939
|
]),
|
|
12940
12940
|
_: 2
|
|
12941
12941
|
}, 1032, ["onClick"]))), 128)),
|
|
12942
|
-
T.items ? (z(), Et(
|
|
12942
|
+
T.items ? (z(), Et(Ji, {
|
|
12943
12943
|
key: 0,
|
|
12944
|
-
class: "-mt-1",
|
|
12945
12944
|
items: T.items,
|
|
12946
|
-
select: T.select,
|
|
12947
12945
|
loading: !1,
|
|
12948
|
-
|
|
12949
|
-
}, null, 8, ["items"
|
|
12946
|
+
onOptionSelected: _[0] || (_[0] = (C) => T.$emit("noResultsOptionSelected", C))
|
|
12947
|
+
}, null, 8, ["items"])) : Pt("", !0)
|
|
12950
12948
|
])
|
|
12951
12949
|
]));
|
|
12952
12950
|
}
|
|
@@ -12989,7 +12987,7 @@ const Sl = /* @__PURE__ */ Ke(bl, [["render", kl]]), Cl = /* @__PURE__ */ b("div
|
|
|
12989
12987
|
b("div", Ph, [
|
|
12990
12988
|
b("div", Mh, [
|
|
12991
12989
|
b("div", _h, [
|
|
12992
|
-
q(U(
|
|
12990
|
+
q(U(va), { class: "text-base font-semibold leading-6 text-white" }, {
|
|
12993
12991
|
default: xt(() => [
|
|
12994
12992
|
Qt(G(_.title), 1)
|
|
12995
12993
|
]),
|
|
@@ -13060,7 +13058,7 @@ const Sl = /* @__PURE__ */ Ke(bl, [["render", kl]]), Cl = /* @__PURE__ */ b("div
|
|
|
13060
13058
|
C.value = !1, _("modalAction", M);
|
|
13061
13059
|
};
|
|
13062
13060
|
return (M, I) => (z(), O("div", Fh, [
|
|
13063
|
-
M.loading ? Pt("", !0) : (z(), Et(
|
|
13061
|
+
M.loading ? Pt("", !0) : (z(), Et(La, {
|
|
13064
13062
|
key: 0,
|
|
13065
13063
|
open: C.value,
|
|
13066
13064
|
modalName: "deleteAllImagesModal",
|
|
@@ -13098,7 +13096,7 @@ const Sl = /* @__PURE__ */ Ke(bl, [["render", kl]]), Cl = /* @__PURE__ */ b("div
|
|
|
13098
13096
|
b("p", Wh, G(Y.size), 1),
|
|
13099
13097
|
q(qt, {
|
|
13100
13098
|
class: "cursor-pointer",
|
|
13101
|
-
icon: U(
|
|
13099
|
+
icon: U(vs),
|
|
13102
13100
|
color: "red",
|
|
13103
13101
|
loading: !1,
|
|
13104
13102
|
onClick: ($) => M.$emit("deleteImage", Y)
|
|
@@ -13142,11 +13140,11 @@ const Sl = /* @__PURE__ */ Ke(bl, [["render", kl]]), Cl = /* @__PURE__ */ b("div
|
|
|
13142
13140
|
const M = (I) => {
|
|
13143
13141
|
_("dragAndDropUpdated", I);
|
|
13144
13142
|
};
|
|
13145
|
-
return (I, Y) => I.loading ? (z(), O("div", au, ru)) : (z(), Et(U(
|
|
13143
|
+
return (I, Y) => I.loading ? (z(), O("div", au, ru)) : (z(), Et(U(Ua), {
|
|
13146
13144
|
key: 0,
|
|
13147
13145
|
modelValue: U(R),
|
|
13148
13146
|
"onUpdate:modelValue": [
|
|
13149
|
-
Y[0] || (Y[0] = ($) =>
|
|
13147
|
+
Y[0] || (Y[0] = ($) => ua(R) ? R.value = $ : R = $),
|
|
13150
13148
|
Y[1] || (Y[1] = ($) => M($))
|
|
13151
13149
|
]
|
|
13152
13150
|
}, {
|
|
@@ -13154,7 +13152,7 @@ const Sl = /* @__PURE__ */ Ke(bl, [["render", kl]]), Cl = /* @__PURE__ */ b("div
|
|
|
13154
13152
|
b("div", Jh, [
|
|
13155
13153
|
b("div", Qh, [
|
|
13156
13154
|
q(qt, {
|
|
13157
|
-
icon: U(
|
|
13155
|
+
icon: U(ds),
|
|
13158
13156
|
loading: !1,
|
|
13159
13157
|
color: "gray",
|
|
13160
13158
|
class: "mr-4",
|
|
@@ -13259,7 +13257,7 @@ const Sl = /* @__PURE__ */ Ke(bl, [["render", kl]]), Cl = /* @__PURE__ */ b("div
|
|
|
13259
13257
|
}, [
|
|
13260
13258
|
b("div", nu, [
|
|
13261
13259
|
b("div", lu, G(it.title), 1),
|
|
13262
|
-
q(
|
|
13260
|
+
q(Qi, {
|
|
13263
13261
|
range: it.range,
|
|
13264
13262
|
onRangeSelected: gt[0] || (gt[0] = (At) => it.$emit("selectedRange", { range: At, chartId: it.id }))
|
|
13265
13263
|
}, null, 8, ["range"])
|
|
@@ -13317,7 +13315,7 @@ const Sl = /* @__PURE__ */ Ke(bl, [["render", kl]]), Cl = /* @__PURE__ */ b("div
|
|
|
13317
13315
|
placeholder: {}
|
|
13318
13316
|
},
|
|
13319
13317
|
setup(H) {
|
|
13320
|
-
let T =
|
|
13318
|
+
let T = ga({ from: "", to: "" });
|
|
13321
13319
|
const _ = (C, R) => {
|
|
13322
13320
|
C === "from" ? T.from = R : T.to = R;
|
|
13323
13321
|
};
|
|
@@ -13386,11 +13384,11 @@ function mi(H) {
|
|
|
13386
13384
|
function vu(H) {
|
|
13387
13385
|
return H && H.__esModule && Object.prototype.hasOwnProperty.call(H, "default") ? H.default : H;
|
|
13388
13386
|
}
|
|
13389
|
-
function
|
|
13387
|
+
function Ia(H) {
|
|
13390
13388
|
var T = { exports: {} };
|
|
13391
13389
|
return H(T, T.exports), T.exports;
|
|
13392
13390
|
}
|
|
13393
|
-
var
|
|
13391
|
+
var na = Ia(function(H, T) {
|
|
13394
13392
|
H.exports = /* @__PURE__ */ function() {
|
|
13395
13393
|
var _ = ["decimals", "thousand", "mark", "prefix", "suffix", "encoder", "decoder", "negativeBefore", "negative", "edit", "undo"];
|
|
13396
13394
|
function C(J) {
|
|
@@ -13449,7 +13447,7 @@ var oa = Ea(function(H, T) {
|
|
|
13449
13447
|
}
|
|
13450
13448
|
return mt;
|
|
13451
13449
|
}();
|
|
13452
|
-
}), yu = vu(
|
|
13450
|
+
}), yu = vu(Ia(function(H, T) {
|
|
13453
13451
|
(function(_) {
|
|
13454
13452
|
function C(N) {
|
|
13455
13453
|
return R(N) && typeof N.from == "function";
|
|
@@ -13851,10 +13849,10 @@ var oa = Ea(function(H, T) {
|
|
|
13851
13849
|
return (W = $(W.slice().sort(function(fe, oe) {
|
|
13852
13850
|
return fe - oe;
|
|
13853
13851
|
})))[0] !== ut && (W.unshift(ut), Lt = !0), W[W.length - 1] !== nt && (W.push(nt), ht = !0), W.forEach(function(fe, oe) {
|
|
13854
|
-
var he, ie, ye, Ce, be,
|
|
13855
|
-
for (
|
|
13856
|
-
for (
|
|
13857
|
-
Yi = W.indexOf(ie) > -1 ? _.PipsType.LargeValue :
|
|
13852
|
+
var he, ie, ye, Ce, be, Ki, Yi, ta, ea, ia, Fi = fe, je = W[oe + 1], aa = E.mode === _.PipsMode.Steps;
|
|
13853
|
+
for (aa && (he = Dt.xNumSteps[oe]), he || (he = je - Fi), je === void 0 && (je = Fi), he = Math.max(he, 1e-7), ie = Fi; ie <= je; ie = B(ie, he)) {
|
|
13854
|
+
for (ta = (be = (Ce = Dt.toStepping(ie)) - de) / (E.density || 1), ia = be / (ea = Math.round(ta)), ye = 1; ye <= ea; ye += 1) tt[(Ki = de + ye * ia).toFixed(5)] = [Dt.fromStepping(Ki), 0];
|
|
13855
|
+
Yi = W.indexOf(ie) > -1 ? _.PipsType.LargeValue : aa ? _.PipsType.SmallValue : _.PipsType.NoValue, !oe && Lt && ie !== je && (Yi = 0), ie === je && ht || (tt[Ce.toFixed(5)] = [ie, Yi]), de = Ce;
|
|
13858
13856
|
}
|
|
13859
13857
|
}), tt;
|
|
13860
13858
|
}
|
|
@@ -14151,7 +14149,7 @@ var oa = Ea(function(H, T) {
|
|
|
14151
14149
|
_.create = di, _.cssClasses = St, _.default = hi, Object.defineProperty(_, "__esModule", { value: !0 });
|
|
14152
14150
|
})(T);
|
|
14153
14151
|
}));
|
|
14154
|
-
function
|
|
14152
|
+
function la(H, T) {
|
|
14155
14153
|
if (!Array.isArray(H) || !Array.isArray(T)) return !1;
|
|
14156
14154
|
const _ = T.slice().sort();
|
|
14157
14155
|
return H.length === T.length && H.slice().sort().every(function(C, R) {
|
|
@@ -14178,7 +14176,7 @@ var Ni = { name: "Slider", emits: ["input", "update:modelValue", "start", "slide
|
|
|
14178
14176
|
}), it.value !== "always" && (J.target += ` ${it.value === "drag" ? J.tooltipDrag : J.tooltipFocus}`), At.value === "horizontal" && (J.tooltip += gt.value === "bottom" ? ` ${J.tooltipBottom}` : ` ${J.tooltipTop}`), At.value === "vertical" && (J.tooltip += gt.value === "right" ? ` ${J.tooltipRight}` : ` ${J.tooltipLeft}`), J;
|
|
14179
14177
|
}) };
|
|
14180
14178
|
}(H), R = function(I, Y, $) {
|
|
14181
|
-
const { format: K, step: it } = ni(I), gt = $.value, At = $.classList, mt = ue(() => K && K.value ? typeof K.value == "function" ? { to: K.value } :
|
|
14179
|
+
const { format: K, step: it } = ni(I), gt = $.value, At = $.classList, mt = ue(() => K && K.value ? typeof K.value == "function" ? { to: K.value } : na({ ...K.value }) : na({ decimals: it.value >= 0 ? 0 : 2 })), J = ue(() => Array.isArray(gt.value) ? gt.value.map((ct) => mt.value) : mt.value);
|
|
14182
14180
|
return { tooltipFormat: mt, tooltipsFormat: J, tooltipsMerge: (ct, yt, $t) => {
|
|
14183
14181
|
var F = getComputedStyle(ct).direction === "rtl", ne = ct.noUiSlider.options.direction === "rtl", Zt = ct.noUiSlider.options.orientation === "vertical", j = ct.noUiSlider.getTooltips(), Yt = ct.noUiSlider.getOrigins();
|
|
14184
14182
|
j.forEach(function(Kt, te) {
|
|
@@ -14232,7 +14230,7 @@ var Ni = { name: "Slider", emits: ["input", "update:modelValue", "start", "slide
|
|
|
14232
14230
|
}), et.value.on("update", () => {
|
|
14233
14231
|
if (!at.value) return;
|
|
14234
14232
|
const bt = kt();
|
|
14235
|
-
St.value &&
|
|
14233
|
+
St.value && la(te.value, bt) || !St.value && te.value == bt ? Y.emit("update", bt) : j.value || Rt(bt);
|
|
14236
14234
|
}), et.value.on("start", () => {
|
|
14237
14235
|
Y.emit("start", kt());
|
|
14238
14236
|
}), et.value.on("end", () => {
|
|
@@ -14257,12 +14255,12 @@ var Ni = { name: "Slider", emits: ["input", "update:modelValue", "start", "slide
|
|
|
14257
14255
|
}, Gt = (bt, Ut) => {
|
|
14258
14256
|
at.value = !1, se(), Jt();
|
|
14259
14257
|
};
|
|
14260
|
-
return Hi(Jt),
|
|
14258
|
+
return Hi(Jt), Ba(se), xe(St, Gt, { immediate: !1 }), xe(mt, Gt, { immediate: !1 }), xe(J, Gt, { immediate: !1 }), xe(At, Gt, { immediate: !1 }), xe(K, Gt, { immediate: !1 }), xe(it, Gt, { immediate: !1 }), xe(gt, Gt, { immediate: !1 }), xe(ct, Gt, { immediate: !1 }), xe(Zt, Gt, { immediate: !1, deep: !0 }), xe(F, Gt, { immediate: !1, deep: !0 }), xe(ne, Gt, { immediate: !1, deep: !0 }), xe(te, (bt, Ut) => {
|
|
14261
14259
|
Ut && (typeof Ut == "object" && typeof bt == "object" && bt && Object.keys(Ut) > Object.keys(bt) || typeof Ut == "object" && typeof bt != "object" || mi(bt)) && Gt();
|
|
14262
14260
|
}, { immediate: !1 }), xe(te, (bt) => {
|
|
14263
14261
|
if (mi(bt)) return void Ht(mt.value, !1);
|
|
14264
14262
|
let Ut = kt();
|
|
14265
|
-
St.value && !Array.isArray(Ut) && (Ut = [Ut]), (St.value && !
|
|
14263
|
+
St.value && !Array.isArray(Ut) && (Ut = [Ut]), (St.value && !la(bt, Ut) || !St.value && bt != Ut) && Ht(bt, !1);
|
|
14266
14264
|
}, { deep: !0 }), { slider: rt, slider$: et, isRange: St, sliderProps: lt, init: Jt, destroy: se, refresh: Gt, update: Ht, reset: () => {
|
|
14267
14265
|
Rt(It.value);
|
|
14268
14266
|
} };
|
|
@@ -14270,7 +14268,7 @@ var Ni = { name: "Slider", emits: ["input", "update:modelValue", "start", "slide
|
|
|
14270
14268
|
return { ...C, ...R, ...M };
|
|
14271
14269
|
} };
|
|
14272
14270
|
Ni.render = function(H, T, _, C, R, M) {
|
|
14273
|
-
return z(), O("div",
|
|
14271
|
+
return z(), O("div", $a(H.sliderProps, { ref: "slider" }), null, 16);
|
|
14274
14272
|
}, Ni.__file = "src/Slider.vue";
|
|
14275
14273
|
const wu = { class: "flex justify-between items-center" }, ku = {
|
|
14276
14274
|
key: 0,
|
|
@@ -14448,7 +14446,7 @@ const wu = { class: "flex justify-between items-center" }, ku = {
|
|
|
14448
14446
|
}, Ku = { class: "h-12 flex flex-row items-center" }, tg = /* @__PURE__ */ b("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1), eg = /* @__PURE__ */ b("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full w-1/2 dark:bg-gray-300" }, null, -1), ig = [
|
|
14449
14447
|
tg,
|
|
14450
14448
|
eg
|
|
14451
|
-
],
|
|
14449
|
+
], ca = /* @__PURE__ */ Bt({
|
|
14452
14450
|
__name: "uiSidebarV2",
|
|
14453
14451
|
props: {
|
|
14454
14452
|
navigation: {},
|
|
@@ -14467,7 +14465,7 @@ const wu = { class: "flex justify-between items-center" }, ku = {
|
|
|
14467
14465
|
onClick: C[0] || (C[0] = (R) => _.$emit("productBarClick", "CaptivePortal"))
|
|
14468
14466
|
}, [
|
|
14469
14467
|
q(qt, {
|
|
14470
|
-
icon: U(
|
|
14468
|
+
icon: U(ys),
|
|
14471
14469
|
loading: !1,
|
|
14472
14470
|
color: "white",
|
|
14473
14471
|
size: "bigger"
|
|
@@ -14478,7 +14476,7 @@ const wu = { class: "flex justify-between items-center" }, ku = {
|
|
|
14478
14476
|
onClick: C[1] || (C[1] = (R) => _.$emit("productBarClick", "Surveys"))
|
|
14479
14477
|
}, [
|
|
14480
14478
|
q(qt, {
|
|
14481
|
-
icon: U(
|
|
14479
|
+
icon: U(Ca),
|
|
14482
14480
|
loading: !1,
|
|
14483
14481
|
color: "white",
|
|
14484
14482
|
size: "bigger"
|
|
@@ -14593,7 +14591,7 @@ const wu = { class: "flex justify-between items-center" }, ku = {
|
|
|
14593
14591
|
key: M
|
|
14594
14592
|
}, [
|
|
14595
14593
|
b("p", Ju, G(R.label), 1),
|
|
14596
|
-
(z(!0), O(zt, null, Xt(R.filters, (I, Y) => (z(), Et(
|
|
14594
|
+
(z(!0), O(zt, null, Xt(R.filters, (I, Y) => (z(), Et(ya, {
|
|
14597
14595
|
class: "mb-2",
|
|
14598
14596
|
value: I.value,
|
|
14599
14597
|
loading: I.loading
|
|
@@ -14699,7 +14697,7 @@ const wu = { class: "flex justify-between items-center" }, ku = {
|
|
|
14699
14697
|
]),
|
|
14700
14698
|
_: 1
|
|
14701
14699
|
}),
|
|
14702
|
-
q(
|
|
14700
|
+
q(ca, {
|
|
14703
14701
|
isFilterNavigation: Y.sidebar.isFilterNavigation,
|
|
14704
14702
|
navigation: Y.sidebar.navigation,
|
|
14705
14703
|
filterNavigation: Y.sidebar.filterNavigation,
|
|
@@ -14721,7 +14719,7 @@ const wu = { class: "flex justify-between items-center" }, ku = {
|
|
|
14721
14719
|
_: 1
|
|
14722
14720
|
}, 8, ["show"]),
|
|
14723
14721
|
b("div", ng, [
|
|
14724
|
-
q(
|
|
14722
|
+
q(ca, {
|
|
14725
14723
|
isFilterNavigation: Y.sidebar.isFilterNavigation,
|
|
14726
14724
|
navigation: Y.sidebar.navigation,
|
|
14727
14725
|
filterNavigation: Y.sidebar.filterNavigation,
|
|
@@ -14738,7 +14736,7 @@ const wu = { class: "flex justify-between items-center" }, ku = {
|
|
|
14738
14736
|
onClick: $[4] || ($[4] = (K) => I.value = !0)
|
|
14739
14737
|
}, [
|
|
14740
14738
|
dg,
|
|
14741
|
-
q(U(
|
|
14739
|
+
q(U(wa), {
|
|
14742
14740
|
class: "h-6 w-6",
|
|
14743
14741
|
"aria-hidden": "true"
|
|
14744
14742
|
})
|
|
@@ -14747,11 +14745,11 @@ const wu = { class: "flex justify-between items-center" }, ku = {
|
|
|
14747
14745
|
b("div", ug, [
|
|
14748
14746
|
b("form", gg, [
|
|
14749
14747
|
pg,
|
|
14750
|
-
q(U(
|
|
14748
|
+
q(U(ms), {
|
|
14751
14749
|
class: "pointer-events-none absolute inset-y-0 left-0 h-full w-5 text-gray-400",
|
|
14752
14750
|
"aria-hidden": "true"
|
|
14753
14751
|
}),
|
|
14754
|
-
q(U(
|
|
14752
|
+
q(U(pa), {
|
|
14755
14753
|
class: "w-full",
|
|
14756
14754
|
as: "div",
|
|
14757
14755
|
modelValue: M.value,
|
|
@@ -14762,24 +14760,24 @@ const wu = { class: "flex justify-between items-center" }, ku = {
|
|
|
14762
14760
|
}, {
|
|
14763
14761
|
default: xt(() => [
|
|
14764
14762
|
b("div", fg, [
|
|
14765
|
-
q(U(
|
|
14763
|
+
q(U(fa), {
|
|
14766
14764
|
class: "block h-full w-full border-0 py-0 pl-8 pr-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm",
|
|
14767
14765
|
onChange: $[5] || ($[5] = (K) => _.value = K.target.value),
|
|
14768
14766
|
onBlur: $[6] || ($[6] = (K) => _.value = ""),
|
|
14769
14767
|
displayValue: R
|
|
14770
14768
|
}),
|
|
14771
|
-
q(U(
|
|
14769
|
+
q(U(xa), { class: "absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none" }, {
|
|
14772
14770
|
default: xt(() => [
|
|
14773
14771
|
q(U(Oi), { class: "h-5 w-5 text-gray-400" })
|
|
14774
14772
|
]),
|
|
14775
14773
|
_: 1
|
|
14776
14774
|
}),
|
|
14777
|
-
C.value.length > 0 ? (z(), Et(U(
|
|
14775
|
+
C.value.length > 0 ? (z(), Et(U(ma), {
|
|
14778
14776
|
key: 0,
|
|
14779
14777
|
class: "absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"
|
|
14780
14778
|
}, {
|
|
14781
14779
|
default: xt(() => [
|
|
14782
|
-
(z(!0), O(zt, null, Xt(C.value, (K) => (z(), Et(U(
|
|
14780
|
+
(z(!0), O(zt, null, Xt(C.value, (K) => (z(), Et(U(ba), {
|
|
14783
14781
|
key: K.id,
|
|
14784
14782
|
value: K,
|
|
14785
14783
|
as: "template"
|
|
@@ -14815,7 +14813,7 @@ const wu = { class: "flex justify-between items-center" }, ku = {
|
|
|
14815
14813
|
Nt(b("div", vg, wg, 512), [
|
|
14816
14814
|
[jt, Y.topbar.alerted]
|
|
14817
14815
|
]),
|
|
14818
|
-
q(U(
|
|
14816
|
+
q(U(hs), {
|
|
14819
14817
|
class: "h-6 w-6",
|
|
14820
14818
|
"aria-hidden": "true"
|
|
14821
14819
|
})
|
|
@@ -14897,26 +14895,26 @@ const wu = { class: "flex justify-between items-center" }, ku = {
|
|
|
14897
14895
|
class: ft([R.value, "grid grid-cols-1 md:grid-cols-2 gap-4"]),
|
|
14898
14896
|
key: C.value
|
|
14899
14897
|
}, [
|
|
14900
|
-
(z(!0), O(zt, null, Xt(M.dynamicStats, (Y, $) => (z(), Et(
|
|
14898
|
+
(z(!0), O(zt, null, Xt(M.dynamicStats, (Y, $) => (z(), Et(za, {
|
|
14901
14899
|
key: $,
|
|
14902
14900
|
item: Y,
|
|
14903
14901
|
loading: M.loading
|
|
14904
14902
|
}, null, 8, ["item", "loading"]))), 128))
|
|
14905
14903
|
], 2));
|
|
14906
14904
|
}
|
|
14907
|
-
}),
|
|
14905
|
+
}), da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14908
14906
|
__proto__: null,
|
|
14909
14907
|
uiAlert: Ir,
|
|
14910
14908
|
uiBreadcrumbs: Vr,
|
|
14911
14909
|
uiButton: qe,
|
|
14912
14910
|
uiCard: to,
|
|
14913
14911
|
uiChart: ml,
|
|
14914
|
-
uiCheckbox:
|
|
14912
|
+
uiCheckbox: ya,
|
|
14915
14913
|
uiCircleChart: fu,
|
|
14916
14914
|
uiDateRange: bu,
|
|
14917
14915
|
uiDeviceStatus: Ru,
|
|
14918
14916
|
uiDragAndDrop: ou,
|
|
14919
|
-
uiDropdown:
|
|
14917
|
+
uiDropdown: Ji,
|
|
14920
14918
|
uiDynamicStats: Tg,
|
|
14921
14919
|
uiFilter: eo,
|
|
14922
14920
|
uiFooter: Sl,
|
|
@@ -14924,9 +14922,9 @@ const wu = { class: "flex justify-between items-center" }, ku = {
|
|
|
14924
14922
|
uiGallery: Zh,
|
|
14925
14923
|
uiIcon: qt,
|
|
14926
14924
|
uiInput: Ge,
|
|
14927
|
-
uiInputFile:
|
|
14925
|
+
uiInputFile: qs,
|
|
14928
14926
|
uiLoadingScreen: Al,
|
|
14929
|
-
uiModal:
|
|
14927
|
+
uiModal: La,
|
|
14930
14928
|
uiNoResults: kh,
|
|
14931
14929
|
uiNotification: So,
|
|
14932
14930
|
uiPagination: Bl,
|
|
@@ -14934,9 +14932,9 @@ const wu = { class: "flex justify-between items-center" }, ku = {
|
|
|
14934
14932
|
uiRangeSlider: Au,
|
|
14935
14933
|
uiRightSidebar: Yh,
|
|
14936
14934
|
uiSectionTitle: Pu,
|
|
14937
|
-
uiSelect:
|
|
14935
|
+
uiSelect: er,
|
|
14938
14936
|
uiSidebar: oc,
|
|
14939
|
-
uiStats:
|
|
14937
|
+
uiStats: za,
|
|
14940
14938
|
uiStripedCard: Xc,
|
|
14941
14939
|
uiTable: rd,
|
|
14942
14940
|
uiTabs: ud,
|
|
@@ -14949,8 +14947,8 @@ const wu = { class: "flex justify-between items-center" }, ku = {
|
|
|
14949
14947
|
uiWrapper: _g
|
|
14950
14948
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
14951
14949
|
function zg(H) {
|
|
14952
|
-
for (const T in
|
|
14953
|
-
H.component(T,
|
|
14950
|
+
for (const T in da)
|
|
14951
|
+
H.component(T, da[T]);
|
|
14954
14952
|
}
|
|
14955
14953
|
const Xg = { install: zg };
|
|
14956
14954
|
export {
|
|
@@ -14960,12 +14958,12 @@ export {
|
|
|
14960
14958
|
qe as uiButton,
|
|
14961
14959
|
to as uiCard,
|
|
14962
14960
|
ml as uiChart,
|
|
14963
|
-
|
|
14961
|
+
ya as uiCheckbox,
|
|
14964
14962
|
fu as uiCircleChart,
|
|
14965
14963
|
bu as uiDateRange,
|
|
14966
14964
|
Ru as uiDeviceStatus,
|
|
14967
14965
|
ou as uiDragAndDrop,
|
|
14968
|
-
|
|
14966
|
+
Ji as uiDropdown,
|
|
14969
14967
|
Tg as uiDynamicStats,
|
|
14970
14968
|
eo as uiFilter,
|
|
14971
14969
|
Sl as uiFooter,
|
|
@@ -14973,9 +14971,9 @@ export {
|
|
|
14973
14971
|
Zh as uiGallery,
|
|
14974
14972
|
qt as uiIcon,
|
|
14975
14973
|
Ge as uiInput,
|
|
14976
|
-
|
|
14974
|
+
qs as uiInputFile,
|
|
14977
14975
|
Al as uiLoadingScreen,
|
|
14978
|
-
|
|
14976
|
+
La as uiModal,
|
|
14979
14977
|
kh as uiNoResults,
|
|
14980
14978
|
So as uiNotification,
|
|
14981
14979
|
Bl as uiPagination,
|
|
@@ -14983,9 +14981,9 @@ export {
|
|
|
14983
14981
|
Au as uiRangeSlider,
|
|
14984
14982
|
Yh as uiRightSidebar,
|
|
14985
14983
|
Pu as uiSectionTitle,
|
|
14986
|
-
|
|
14984
|
+
er as uiSelect,
|
|
14987
14985
|
oc as uiSidebar,
|
|
14988
|
-
|
|
14986
|
+
za as uiStats,
|
|
14989
14987
|
Xc as uiStripedCard,
|
|
14990
14988
|
rd as uiTable,
|
|
14991
14989
|
ud as uiTabs,
|