@hotelinking/ui 14.47.7 → 14.47.9
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.cjs +1 -1
- package/dist/ui.d.ts +2 -2
- package/dist/ui.es.js +452 -441
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as M, createBlock as k, createElementBlock as n, openBlock as l, resolveDynamicComponent as Re, normalizeClass as y, createCommentVNode as b, renderSlot as E, createElementVNode as e, ref as I, watch as H,
|
|
1
|
+
import { defineComponent as M, createBlock as k, createElementBlock as n, openBlock as l, resolveDynamicComponent as Re, normalizeClass as y, computed as Y, createCommentVNode as b, renderSlot as E, createElementVNode as e, ref as I, watch as H, unref as c, withCtx as h, createVNode as m, toDisplayString as g, createTextVNode as L, Transition as re, Fragment as $, renderList as S, withDirectives as B, vModelDynamic as ct, vShow as D, withModifiers as ye, vModelText as se, createStaticVNode as te, resolveComponent as Oe, vModelCheckbox as Ee, reactive as ae, isRef as xe, TransitionGroup as gt, onMounted as mt, shallowRef as pt, mergeProps as ve } from "vue";
|
|
2
2
|
import { Menu as _e, MenuButton as $e, MenuItems as Ce, MenuItem as Se, Combobox as Ue, ComboboxLabel as He, ComboboxInput as Ze, ComboboxButton as Je, ComboboxOptions as We, ComboboxOption as Ge, SwitchGroup as ft, Switch as ht, SwitchLabel as yt, TransitionRoot as Be, Dialog as Me, TransitionChild as X, DialogPanel as je, DialogTitle as Qe, Disclosure as De, DisclosureButton as Q, DisclosurePanel as Te, Listbox as vt, ListboxLabel as bt, ListboxButton as wt, ListboxOptions as kt, ListboxOption as xt, Popover as _t, PopoverButton as $t, PopoverPanel as Ct } from "@headlessui/vue";
|
|
3
3
|
import V from "dayjs";
|
|
4
4
|
import ze from "vue3-apexcharts";
|
|
@@ -40,10 +40,7 @@ const A = /* @__PURE__ */ M({
|
|
|
40
40
|
})
|
|
41
41
|
}, null, 8, ["class"]));
|
|
42
42
|
}
|
|
43
|
-
}), Mt = ["disabled"], jt = {
|
|
44
|
-
key: 1,
|
|
45
|
-
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"
|
|
46
|
-
}, U = /* @__PURE__ */ M({
|
|
43
|
+
}), Mt = ["disabled"], jt = "group inline-flex items-center border border-transparent font-medium focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-25 text-nowrap", U = /* @__PURE__ */ M({
|
|
47
44
|
__name: "uiButton",
|
|
48
45
|
props: {
|
|
49
46
|
block: { type: Boolean },
|
|
@@ -54,39 +51,49 @@ const A = /* @__PURE__ */ M({
|
|
|
54
51
|
size: { default: "medium" }
|
|
55
52
|
},
|
|
56
53
|
setup(p) {
|
|
57
|
-
|
|
58
|
-
|
|
54
|
+
const u = p, r = {
|
|
55
|
+
primary: "bg-black hover:bg-lime-400 group-hover:text-black text-white shadow-sm",
|
|
56
|
+
secondary: "bg-lime-400 hover:bg-black hover:text-white shadow-sm group:text-black",
|
|
57
|
+
red: "bg-red-600 hover:bg-red-900 text-white shadow-sm",
|
|
58
|
+
yellow: "bg-yellow-400 hover:bg-yellow-600 text-white shadow-sm",
|
|
59
|
+
green: "bg-green-600 hover:bg-green-900 text-white shadow-sm"
|
|
60
|
+
}, i = {
|
|
61
|
+
small: "px-2.5 py-1.5 text-xs rounded leading-none",
|
|
62
|
+
medium: "px-4 py-2 text-sm rounded-md",
|
|
63
|
+
big: "px-6 py-3 text-base rounded-md"
|
|
64
|
+
}, s = Y(() => {
|
|
65
|
+
const t = [jt];
|
|
66
|
+
return u.color && r[u.color] && t.push(r[u.color]), u.size && i[u.size] && t.push(i[u.size]), u.block && t.push("w-full flex items-center justify-center"), t.join(" ");
|
|
67
|
+
}), o = Y(() => [
|
|
68
|
+
"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"
|
|
69
|
+
].join(" "));
|
|
70
|
+
return (t, a) => t.loading ? (l(), n("button", {
|
|
71
|
+
key: 1,
|
|
72
|
+
class: y(o.value),
|
|
73
|
+
type: "button"
|
|
74
|
+
}, [
|
|
75
|
+
t.icon ? (l(), k(A, {
|
|
59
76
|
key: 0,
|
|
60
|
-
icon:
|
|
77
|
+
icon: t.icon,
|
|
61
78
|
color: "white",
|
|
62
79
|
class: "-ml-0.5 mr-2",
|
|
63
|
-
loading:
|
|
80
|
+
loading: t.loading
|
|
64
81
|
}, null, 8, ["icon", "loading"])) : b("", !0),
|
|
65
|
-
|
|
66
|
-
])) : (l(), n("button", {
|
|
82
|
+
a[0] || (a[0] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-16" }, null, -1))
|
|
83
|
+
], 2)) : (l(), n("button", {
|
|
67
84
|
key: 0,
|
|
68
|
-
disabled:
|
|
69
|
-
class: y(
|
|
70
|
-
"bg-black hover:bg-lime-400 group-hover:text-black text-white shadow-sm": u.color === "primary",
|
|
71
|
-
"bg-lime-400 hover:bg-black hover:text-white shadow-sm group:text-black": u.color === "secondary",
|
|
72
|
-
"bg-red-600 hover:bg-red-900 text-white shadow-sm": u.color === "red",
|
|
73
|
-
"bg-yellow-400 hover:bg-yellow-600 text-white shadow-sm": u.color === "yellow",
|
|
74
|
-
"bg-green-600 hover:bg-green-900 text-white shadow-sm": u.color === "green",
|
|
75
|
-
"px-4 py-2 text-sm rounded-md": u.size === "medium",
|
|
76
|
-
"px-2.5 py-1.5 text-xs rounded leading-none": u.size === "small",
|
|
77
|
-
"px-6 py-3 text-base rounded-md": u.size === "big",
|
|
78
|
-
"w-full flex items-center justify-center": u.block
|
|
79
|
-
}, "group inline-flex items-center border border-transparent font-medium focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-25 text-nowrap"]),
|
|
85
|
+
disabled: t.disabled,
|
|
86
|
+
class: y(s.value),
|
|
80
87
|
type: "button"
|
|
81
88
|
}, [
|
|
82
|
-
|
|
89
|
+
t.icon ? (l(), k(A, {
|
|
83
90
|
key: 0,
|
|
84
|
-
icon:
|
|
91
|
+
icon: t.icon,
|
|
85
92
|
class: "-ml-0.5 mr-2",
|
|
86
93
|
color: "black",
|
|
87
|
-
loading:
|
|
94
|
+
loading: t.loading
|
|
88
95
|
}, null, 8, ["icon", "loading"])) : b("", !0),
|
|
89
|
-
E(
|
|
96
|
+
E(t.$slots, "default")
|
|
90
97
|
], 10, Mt));
|
|
91
98
|
}
|
|
92
99
|
}), Dt = {
|
|
@@ -3019,24 +3026,24 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3019
3026
|
])
|
|
3020
3027
|
]));
|
|
3021
3028
|
}
|
|
3022
|
-
}), Hr = { class: "flex flex-row grow border-r border-gray-200 bg-white pr-6" }, Zr = { class: "bg-black w-16 mr-6" }, Jr = ["onClick"], Wr = ["src", "alt"], Gr = {
|
|
3029
|
+
}), Hr = { class: "flex flex-row grow border-r border-gray-200 bg-white pr-6 h-screen" }, Zr = { class: "bg-black w-16 mr-6 flex-shrink-0" }, Jr = ["onClick"], Wr = ["src", "alt"], Gr = {
|
|
3023
3030
|
key: 0,
|
|
3024
|
-
class: "flex flex-col grow
|
|
3025
|
-
}, Qr = ["src"], Kr = { class: "flex flex-1 flex-col" }, Xr = {
|
|
3031
|
+
class: "flex flex-col grow h-full"
|
|
3032
|
+
}, Qr = ["src"], Kr = { class: "flex flex-1 flex-col overflow-hidden" }, Xr = { class: "flex-1 overflow-y-auto pr-6" }, ea = {
|
|
3026
3033
|
key: 0,
|
|
3027
3034
|
role: "list",
|
|
3028
|
-
class: "flex flex-
|
|
3029
|
-
},
|
|
3035
|
+
class: "flex flex-col gap-y-7 mb-4"
|
|
3036
|
+
}, ta = {
|
|
3030
3037
|
role: "list",
|
|
3031
3038
|
class: "ml-2 space-y-1"
|
|
3032
|
-
},
|
|
3039
|
+
}, la = ["onClick"], sa = {
|
|
3033
3040
|
key: 1,
|
|
3034
3041
|
role: "list",
|
|
3035
|
-
class: "flex flex-
|
|
3036
|
-
},
|
|
3042
|
+
class: "flex flex-col gap-y-7 mb-4"
|
|
3043
|
+
}, oa = { class: "ml-2 space-y-1" }, ra = { class: "font-bold mb-4" }, aa = {
|
|
3037
3044
|
key: 1,
|
|
3038
|
-
class: "flex flex-col grow
|
|
3039
|
-
},
|
|
3045
|
+
class: "flex flex-col grow h-full"
|
|
3046
|
+
}, na = { class: "flex-1 overflow-y-auto pr-6" }, ia = { class: "h-12 flex flex-row items-center" }, we = /* @__PURE__ */ M({
|
|
3040
3047
|
__name: "uiSidebarV2",
|
|
3041
3048
|
props: {
|
|
3042
3049
|
navigation: {},
|
|
@@ -3064,11 +3071,13 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3064
3071
|
], 10, Jr))), 128))
|
|
3065
3072
|
])
|
|
3066
3073
|
]),
|
|
3067
|
-
s.loading ? (l(), n("div",
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3074
|
+
s.loading ? (l(), n("div", aa, [
|
|
3075
|
+
e("div", na, [
|
|
3076
|
+
(l(), n($, null, S(5, (t) => e("div", ia, o[2] || (o[2] = [
|
|
3077
|
+
e("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
|
|
3078
|
+
e("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full w-1/2 dark:bg-gray-300" }, null, -1)
|
|
3079
|
+
]))), 64))
|
|
3080
|
+
])
|
|
3072
3081
|
])) : (l(), n("div", Gr, [
|
|
3073
3082
|
e("div", {
|
|
3074
3083
|
class: "flex h-16 shrink-0 items-center",
|
|
@@ -3081,123 +3090,125 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3081
3090
|
}, null, 8, Qr)
|
|
3082
3091
|
]),
|
|
3083
3092
|
e("nav", Kr, [
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
e("
|
|
3087
|
-
(
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
default: h(() => [
|
|
3100
|
-
m(A, {
|
|
3101
|
-
icon: t.icon,
|
|
3102
|
-
color: "primary",
|
|
3103
|
-
size: "big",
|
|
3104
|
-
loading: !1,
|
|
3105
|
-
"aria-hidden": "true",
|
|
3106
|
-
class: "shrink-0"
|
|
3107
|
-
}, null, 8, ["icon"]),
|
|
3108
|
-
L(" " + g(t.name) + " ", 1),
|
|
3109
|
-
m(c(ne), {
|
|
3110
|
-
class: y([t.children.some((a) => a.current) || t.current ? "rotate-90 text-black" : "text-gray-400", "ml-auto h-5 w-5 shrink-0"]),
|
|
3111
|
-
"aria-hidden": "true"
|
|
3112
|
-
}, null, 8, ["class"])
|
|
3113
|
-
]),
|
|
3114
|
-
_: 2
|
|
3115
|
-
}, 1032, ["onClick", "class"]),
|
|
3116
|
-
B(e("div", null, [
|
|
3117
|
-
m(c(Te), {
|
|
3118
|
-
as: "ul",
|
|
3119
|
-
class: "mt-1 px-2",
|
|
3120
|
-
static: ""
|
|
3093
|
+
e("div", Xr, [
|
|
3094
|
+
s.isFilterNavigation ? b("", !0) : (l(), n("ul", ea, [
|
|
3095
|
+
e("li", null, [
|
|
3096
|
+
e("ul", ta, [
|
|
3097
|
+
(l(!0), n($, null, S(i.value, (t) => (l(), n("li", {
|
|
3098
|
+
key: t.name
|
|
3099
|
+
}, [
|
|
3100
|
+
t.children ? (l(), k(c(De), {
|
|
3101
|
+
key: 1,
|
|
3102
|
+
as: "div"
|
|
3103
|
+
}, {
|
|
3104
|
+
default: h(() => [
|
|
3105
|
+
m(c(Q), {
|
|
3106
|
+
onClick: (a) => s.$emit("sideBarClick", t.id),
|
|
3107
|
+
class: y([t.current ? "bg-lime-100" : "hover:bg-lime-100", "flex w-full items-center gap-x-3 rounded-md p-2 text-left text-sm font-semibold leading-6 text-gray-700"])
|
|
3121
3108
|
}, {
|
|
3122
3109
|
default: h(() => [
|
|
3123
|
-
(
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
]))), 128))
|
|
3110
|
+
m(A, {
|
|
3111
|
+
icon: t.icon,
|
|
3112
|
+
color: "primary",
|
|
3113
|
+
size: "big",
|
|
3114
|
+
loading: !1,
|
|
3115
|
+
"aria-hidden": "true",
|
|
3116
|
+
class: "shrink-0"
|
|
3117
|
+
}, null, 8, ["icon"]),
|
|
3118
|
+
L(" " + g(t.name) + " ", 1),
|
|
3119
|
+
m(c(ne), {
|
|
3120
|
+
class: y([t.children.some((a) => a.current) || t.current ? "rotate-90 text-black" : "text-gray-400", "ml-auto h-5 w-5 shrink-0"]),
|
|
3121
|
+
"aria-hidden": "true"
|
|
3122
|
+
}, null, 8, ["class"])
|
|
3137
3123
|
]),
|
|
3138
3124
|
_: 2
|
|
3139
|
-
},
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3125
|
+
}, 1032, ["onClick", "class"]),
|
|
3126
|
+
B(e("div", null, [
|
|
3127
|
+
m(c(Te), {
|
|
3128
|
+
as: "ul",
|
|
3129
|
+
class: "mt-1 px-2",
|
|
3130
|
+
static: ""
|
|
3131
|
+
}, {
|
|
3132
|
+
default: h(() => [
|
|
3133
|
+
(l(!0), n($, null, S(t.children, (a) => (l(), n("li", {
|
|
3134
|
+
key: a.name
|
|
3135
|
+
}, [
|
|
3136
|
+
m(c(Q), {
|
|
3137
|
+
as: "a",
|
|
3138
|
+
onClick: (d) => s.$emit("sideBarClick", a.id),
|
|
3139
|
+
class: y([a.current ? "bg-lime-100" : "hover:bg-lime-100", "block rounded-md py-2 pl-9 pr-2 text-sm leading-6 text-gray-700 cursor-pointer"])
|
|
3140
|
+
}, {
|
|
3141
|
+
default: h(() => [
|
|
3142
|
+
L(g(a.name), 1)
|
|
3143
|
+
]),
|
|
3144
|
+
_: 2
|
|
3145
|
+
}, 1032, ["onClick", "class"])
|
|
3146
|
+
]))), 128))
|
|
3147
|
+
]),
|
|
3148
|
+
_: 2
|
|
3149
|
+
}, 1024)
|
|
3150
|
+
], 512), [
|
|
3151
|
+
[D, t.children.some((a) => a.current) || t.current]
|
|
3152
|
+
])
|
|
3153
|
+
]),
|
|
3154
|
+
_: 2
|
|
3155
|
+
}, 1024)) : (l(), n("div", {
|
|
3156
|
+
key: 0,
|
|
3157
|
+
onClick: (a) => s.$emit("sideBarClick", t.id),
|
|
3158
|
+
class: y([t.current ? "bg-lime-100" : "hover:bg-lime-100", "group flex gap-x-3 rounded-md p-2 text-sm font-semibold leading-6 text-gray-700 cursor-pointer"])
|
|
3159
|
+
}, [
|
|
3160
|
+
m(A, {
|
|
3161
|
+
icon: t.icon,
|
|
3162
|
+
color: "primary",
|
|
3163
|
+
size: "big",
|
|
3164
|
+
loading: !1,
|
|
3165
|
+
"aria-hidden": "true",
|
|
3166
|
+
class: "shrink-0"
|
|
3167
|
+
}, null, 8, ["icon"]),
|
|
3168
|
+
L(" " + g(t.name), 1)
|
|
3169
|
+
], 10, la))
|
|
3170
|
+
]))), 128))
|
|
3171
|
+
])
|
|
3161
3172
|
])
|
|
3162
|
-
])
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
]))
|
|
3192
|
-
])
|
|
3173
|
+
])),
|
|
3174
|
+
s.isFilterNavigation && s.filterNavigation ? (l(), n("ul", sa, [
|
|
3175
|
+
e("li", oa, [
|
|
3176
|
+
s.filterNavigation.hasSearch && s.filterNavigation.search ? (l(), k(J, {
|
|
3177
|
+
key: 0,
|
|
3178
|
+
name: s.filterNavigation.search.name,
|
|
3179
|
+
label: s.filterNavigation.search.label,
|
|
3180
|
+
placeholder: s.filterNavigation.search.placeholder,
|
|
3181
|
+
value: s.filterNavigation.search.value,
|
|
3182
|
+
loading: s.filterNavigation.search.loading,
|
|
3183
|
+
onInputChanged: o[1] || (o[1] = (t) => s.$emit("inputChanged", t))
|
|
3184
|
+
}, null, 8, ["name", "label", "placeholder", "value", "loading"])) : b("", !0)
|
|
3185
|
+
]),
|
|
3186
|
+
(l(!0), n($, null, S(s.filterNavigation.items, (t, a) => (l(), n("li", {
|
|
3187
|
+
class: "ml-2",
|
|
3188
|
+
key: a
|
|
3189
|
+
}, [
|
|
3190
|
+
e("p", ra, g(t.label), 1),
|
|
3191
|
+
(l(!0), n($, null, S(t.filters, (d, f) => (l(), k(Ke, {
|
|
3192
|
+
class: "mb-2",
|
|
3193
|
+
value: d.value,
|
|
3194
|
+
loading: d.loading
|
|
3195
|
+
}, {
|
|
3196
|
+
default: h(() => [
|
|
3197
|
+
L(g(d.text), 1)
|
|
3198
|
+
]),
|
|
3199
|
+
_: 2
|
|
3200
|
+
}, 1032, ["value", "loading"]))), 256))
|
|
3201
|
+
]))), 128))
|
|
3202
|
+
])) : b("", !0)
|
|
3203
|
+
])
|
|
3193
3204
|
])
|
|
3194
3205
|
]))
|
|
3195
3206
|
]));
|
|
3196
3207
|
}
|
|
3197
|
-
}),
|
|
3208
|
+
}), da = { key: 0 }, ua = { class: "ml-16 text-sm font-medium truncate" }, ca = { class: "ml-16 flex items-baseline pb-5" }, ga = { class: "text-2xl font-semibold" }, ma = {
|
|
3198
3209
|
key: 0,
|
|
3199
3210
|
class: "text-black ml-2 flex items-baseline text-sm font-semibold"
|
|
3200
|
-
},
|
|
3211
|
+
}, pa = { class: "absolute bottom-0 inset-x-0 bg-lime-50 px-4 py-4 sm:px-6" }, fa = { class: "text-sm" }, ha = { key: 1 }, ya = { class: "relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full pb-6" }, va = { class: "absolute bg-gray-200 rounded-md p-3 animate-pulse" }, it = /* @__PURE__ */ M({
|
|
3201
3212
|
__name: "uiStats",
|
|
3202
3213
|
props: {
|
|
3203
3214
|
item: {},
|
|
@@ -3205,10 +3216,10 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3205
3216
|
},
|
|
3206
3217
|
emits: ["statClick"],
|
|
3207
3218
|
setup(p, { emit: u }) {
|
|
3208
|
-
return (r, i) => r.loading ? (l(), n("div",
|
|
3209
|
-
e("div",
|
|
3219
|
+
return (r, i) => r.loading ? (l(), n("div", ha, [
|
|
3220
|
+
e("div", ya, [
|
|
3210
3221
|
e("dt", null, [
|
|
3211
|
-
e("div",
|
|
3222
|
+
e("div", va, [
|
|
3212
3223
|
m(A, {
|
|
3213
3224
|
loading: r.loading,
|
|
3214
3225
|
icon: r.item.icon,
|
|
@@ -3224,7 +3235,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3224
3235
|
], -1))
|
|
3225
3236
|
])
|
|
3226
3237
|
])
|
|
3227
|
-
])) : (l(), n("div",
|
|
3238
|
+
])) : (l(), n("div", da, [
|
|
3228
3239
|
e("div", {
|
|
3229
3240
|
class: y(["relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full", { "pb-12": r.item.showFooter }])
|
|
3230
3241
|
}, [
|
|
@@ -3243,11 +3254,11 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3243
3254
|
loading: r.loading
|
|
3244
3255
|
}, null, 8, ["icon", "loading"])
|
|
3245
3256
|
], 2),
|
|
3246
|
-
e("p",
|
|
3257
|
+
e("p", ua, g(r.item.name), 1)
|
|
3247
3258
|
]),
|
|
3248
|
-
e("dd",
|
|
3249
|
-
e("p",
|
|
3250
|
-
r.item.explanation ? (l(), n("p",
|
|
3259
|
+
e("dd", ca, [
|
|
3260
|
+
e("p", ga, g(r.item.stat), 1),
|
|
3261
|
+
r.item.explanation ? (l(), n("p", ma, g(r.item.explanation), 1)) : b("", !0),
|
|
3251
3262
|
r.item.changeType ? (l(), n("p", {
|
|
3252
3263
|
key: 1,
|
|
3253
3264
|
class: y([
|
|
@@ -3271,8 +3282,8 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3271
3282
|
})) : b("", !0),
|
|
3272
3283
|
L(" " + g(r.item.change), 1)
|
|
3273
3284
|
], 2)) : b("", !0),
|
|
3274
|
-
B(e("div",
|
|
3275
|
-
e("div",
|
|
3285
|
+
B(e("div", pa, [
|
|
3286
|
+
e("div", fa, [
|
|
3276
3287
|
e("span", {
|
|
3277
3288
|
onClick: i[0] || (i[0] = (s) => r.$emit("statClick", r.item.id)),
|
|
3278
3289
|
class: "font-medium text-black hover:text-lime-400 underline cursor-pointer"
|
|
@@ -3285,19 +3296,19 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3285
3296
|
], 2)
|
|
3286
3297
|
]));
|
|
3287
3298
|
}
|
|
3288
|
-
}),
|
|
3299
|
+
}), ba = {
|
|
3289
3300
|
key: 0,
|
|
3290
3301
|
class: "overflow-hidden bg-white shadow sm:rounded-lg"
|
|
3291
|
-
},
|
|
3302
|
+
}, wa = { class: "px-4 py-5 sm:px-6" }, ka = { class: "text-lg font-medium leading-6" }, xa = { class: "mt-1 max-w-2xl text-sm" }, _a = { class: "border-t border-gray-200" }, $a = { class: "text-sm font-medium" }, Ca = {
|
|
3292
3303
|
key: 0,
|
|
3293
3304
|
class: "mt-1 text-sm sm:col-span-2 sm:mt-0 break-normal"
|
|
3294
|
-
},
|
|
3305
|
+
}, Sa = ["onClick"], Ba = {
|
|
3295
3306
|
key: 2,
|
|
3296
3307
|
class: "mt-1 text-sm sm:col-span-2 sm:mt-0 break-words"
|
|
3297
|
-
},
|
|
3308
|
+
}, Ma = {
|
|
3298
3309
|
key: 1,
|
|
3299
3310
|
class: "overflow-hidden bg-white shadow sm:rounded-lg"
|
|
3300
|
-
},
|
|
3311
|
+
}, ja = { class: "border-t border-gray-200" }, Da = /* @__PURE__ */ M({
|
|
3301
3312
|
__name: "uiStripedCard",
|
|
3302
3313
|
props: {
|
|
3303
3314
|
title: {},
|
|
@@ -3307,9 +3318,9 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3307
3318
|
},
|
|
3308
3319
|
emits: ["itemClicked"],
|
|
3309
3320
|
setup(p) {
|
|
3310
|
-
return (u, r) => u.loading ? (l(), n("div",
|
|
3321
|
+
return (u, r) => u.loading ? (l(), n("div", Ma, [
|
|
3311
3322
|
r[1] || (r[1] = te('<div class="px-4 py-5 sm:px-6 animate-pulse"><h3 class="text-lg font-medium leading-6"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4"></div></h3><div class="mt-1 max-w-2xl text-sm text-gray-500"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/5"></div></div></div>', 1)),
|
|
3312
|
-
e("div",
|
|
3323
|
+
e("div", ja, [
|
|
3313
3324
|
e("dl", null, [
|
|
3314
3325
|
(l(), n($, null, S(5, (i) => e("div", {
|
|
3315
3326
|
key: i,
|
|
@@ -3324,19 +3335,19 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3324
3335
|
]), 2)), 64))
|
|
3325
3336
|
])
|
|
3326
3337
|
])
|
|
3327
|
-
])) : (l(), n("div",
|
|
3328
|
-
e("div",
|
|
3329
|
-
e("h3",
|
|
3330
|
-
e("p",
|
|
3338
|
+
])) : (l(), n("div", ba, [
|
|
3339
|
+
e("div", wa, [
|
|
3340
|
+
e("h3", ka, g(u.title), 1),
|
|
3341
|
+
e("p", xa, g(u.subtitle), 1)
|
|
3331
3342
|
]),
|
|
3332
|
-
e("div",
|
|
3343
|
+
e("div", _a, [
|
|
3333
3344
|
e("dl", null, [
|
|
3334
3345
|
(l(!0), n($, null, S(u.items, (i, s) => (l(), n("div", {
|
|
3335
3346
|
key: s,
|
|
3336
3347
|
class: y(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [s % 2 === 0 ? "bg-lime-50" : "bg-white"]])
|
|
3337
3348
|
}, [
|
|
3338
|
-
e("dt",
|
|
3339
|
-
i.type === "tags" ? (l(), n("dd",
|
|
3349
|
+
e("dt", $a, g(i.title), 1),
|
|
3350
|
+
i.type === "tags" ? (l(), n("dd", Ca, [
|
|
3340
3351
|
(l(!0), n($, null, S(i.tags, (o, t) => (l(), k(Z, {
|
|
3341
3352
|
loading: u.loading,
|
|
3342
3353
|
key: t,
|
|
@@ -3352,13 +3363,13 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3352
3363
|
key: 1,
|
|
3353
3364
|
class: "mt-1 text-sm text-lime-600 hover:text-black sm:col-span-2 sm:mt-0 cursor-pointer",
|
|
3354
3365
|
onClick: (o) => u.$emit("itemClicked", i.emits)
|
|
3355
|
-
}, g(i.text), 9,
|
|
3366
|
+
}, g(i.text), 9, Sa)) : (l(), n("dd", Ba, g(i.text), 1))
|
|
3356
3367
|
], 2))), 128))
|
|
3357
3368
|
])
|
|
3358
3369
|
])
|
|
3359
3370
|
]));
|
|
3360
3371
|
}
|
|
3361
|
-
}),
|
|
3372
|
+
}), Ta = { class: "absolute top-10 bg-black text-white text-xs p-2 rounded z-10 font-light w-60 flex flex-row items-start" }, za = { class: "ml-2" }, La = {
|
|
3362
3373
|
__name: "tooltip",
|
|
3363
3374
|
props: {
|
|
3364
3375
|
tip: {
|
|
@@ -3367,7 +3378,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3367
3378
|
}
|
|
3368
3379
|
},
|
|
3369
3380
|
setup(p) {
|
|
3370
|
-
return (u, r) => (l(), n("div",
|
|
3381
|
+
return (u, r) => (l(), n("div", Ta, [
|
|
3371
3382
|
r[0] || (r[0] = e("svg", {
|
|
3372
3383
|
class: "absolute -top-3 left-0",
|
|
3373
3384
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3391,19 +3402,19 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3391
3402
|
size: "big"
|
|
3392
3403
|
}, null, 8, ["icon"])
|
|
3393
3404
|
]),
|
|
3394
|
-
e("span",
|
|
3405
|
+
e("span", za, g(p.tip), 1)
|
|
3395
3406
|
]));
|
|
3396
3407
|
}
|
|
3397
|
-
},
|
|
3408
|
+
}, Oa = { key: 0 }, Aa = { class: "flex flex-col" }, Fa = { class: "-my-2 overflow-x-auto" }, Ia = { class: "inline-block min-w-full py-2 align-middle px-1" }, Na = { class: "relative overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, Pa = {
|
|
3398
3409
|
key: 0,
|
|
3399
3410
|
class: "absolute top-0 left-12 flex h-12 items-center space-x-3 sm:left-16 bg-white shadow rounded px-4 py-1 z-10"
|
|
3400
|
-
},
|
|
3411
|
+
}, Va = ["onClick"], Ya = { class: "min-w-full table-fixed divide-y divide-gray-300" }, qa = { class: "bg-lime-50" }, Ra = ["checked", "indeterminate"], Ea = ["onMouseover", "onMouseleave"], Ua = ["onClick"], Ha = {
|
|
3401
3412
|
key: 2,
|
|
3402
3413
|
class: "group flex items-center uppercase text-xs"
|
|
3403
|
-
},
|
|
3414
|
+
}, Za = { class: "divide-y divide-gray-200 bg-white" }, Ja = {
|
|
3404
3415
|
key: 0,
|
|
3405
3416
|
class: "absolute inset-y-0 left-0 w-0.5 bg-lime-400"
|
|
3406
|
-
},
|
|
3417
|
+
}, Wa = ["value"], Ga = ["onClick"], Qa = ["href"], Ka = { key: 3 }, Xa = /* @__PURE__ */ M({
|
|
3407
3418
|
__name: "uiTable",
|
|
3408
3419
|
props: {
|
|
3409
3420
|
resetSelected: { type: Boolean, default: !1 },
|
|
@@ -3429,21 +3440,21 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3429
3440
|
}, j = (w) => t.hiddenColumns && t.hiddenColumns.length > 0 ? !t.hiddenColumns.includes(w) : !0;
|
|
3430
3441
|
return H(() => t.resetSelected, (w) => {
|
|
3431
3442
|
s.value = w, w && s.value && (r.value = [], s.value = !w, o("selectedItemsDeleted"));
|
|
3432
|
-
}), (w, T) => w.loading ? (l(), k(nt, { key: 1 })) : (l(), n("div",
|
|
3433
|
-
e("div",
|
|
3434
|
-
e("div",
|
|
3435
|
-
e("div",
|
|
3436
|
-
e("div",
|
|
3437
|
-
c(r)?.length > 0 && w.actions?.length > 0 ? (l(), n("div",
|
|
3443
|
+
}), (w, T) => w.loading ? (l(), k(nt, { key: 1 })) : (l(), n("div", Oa, [
|
|
3444
|
+
e("div", Aa, [
|
|
3445
|
+
e("div", Fa, [
|
|
3446
|
+
e("div", Ia, [
|
|
3447
|
+
e("div", Na, [
|
|
3448
|
+
c(r)?.length > 0 && w.actions?.length > 0 ? (l(), n("div", Pa, [
|
|
3438
3449
|
(l(!0), n($, null, S(w.actions, (x, F) => (l(), n("button", {
|
|
3439
3450
|
onClick: (O) => w.$emit("tableAction", { action: x.id, items: c(r) }),
|
|
3440
3451
|
key: F,
|
|
3441
3452
|
type: "button",
|
|
3442
3453
|
class: "inline-flex items-center rounded bg-lime-400 hover:bg-black px-2.5 py-1.5 text-xs font-medium text-white shadow-sm disabled:cursor-not-allowed disabled:opacity-30"
|
|
3443
|
-
}, g(x.name), 9,
|
|
3454
|
+
}, g(x.name), 9, Va))), 128))
|
|
3444
3455
|
])) : b("", !0),
|
|
3445
|
-
e("table",
|
|
3446
|
-
e("thead",
|
|
3456
|
+
e("table", Ya, [
|
|
3457
|
+
e("thead", qa, [
|
|
3447
3458
|
e("tr", null, [
|
|
3448
3459
|
e("th", {
|
|
3449
3460
|
scope: "col",
|
|
@@ -3456,7 +3467,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3456
3467
|
class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-black focus:ring-lime-400",
|
|
3457
3468
|
type: "checkbox",
|
|
3458
3469
|
onChange: f
|
|
3459
|
-
}, null, 40,
|
|
3470
|
+
}, null, 40, Ra)) : b("", !0)
|
|
3460
3471
|
], 2),
|
|
3461
3472
|
(l(!0), n($, null, S(w.header, (x, F) => B((l(), n("th", {
|
|
3462
3473
|
key: F,
|
|
@@ -3465,7 +3476,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3465
3476
|
onMouseover: (O) => d(x.name, !0),
|
|
3466
3477
|
onMouseleave: (O) => d(x.name, !1)
|
|
3467
3478
|
}, [
|
|
3468
|
-
x.tooltip ? B((l(), k(
|
|
3479
|
+
x.tooltip ? B((l(), k(La, {
|
|
3469
3480
|
key: 0,
|
|
3470
3481
|
tip: x.tooltip
|
|
3471
3482
|
}, null, 8, ["tip"])), [
|
|
@@ -3488,15 +3499,15 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3488
3499
|
color: x.value === w.orderedBy ? "white" : "primary"
|
|
3489
3500
|
}, null, 8, ["icon", "loading", "color"])
|
|
3490
3501
|
], 2)
|
|
3491
|
-
], 8,
|
|
3502
|
+
], 8, Ua)) : (l(), n("p", Ha, [
|
|
3492
3503
|
e("span", null, g(x.name), 1)
|
|
3493
3504
|
]))
|
|
3494
|
-
], 40,
|
|
3505
|
+
], 40, Ea)), [
|
|
3495
3506
|
[D, j(F)]
|
|
3496
3507
|
])), 128))
|
|
3497
3508
|
])
|
|
3498
3509
|
]),
|
|
3499
|
-
e("tbody",
|
|
3510
|
+
e("tbody", Za, [
|
|
3500
3511
|
(l(!0), n($, null, S(w.items, (x, F) => (l(), n("tr", {
|
|
3501
3512
|
key: x.id,
|
|
3502
3513
|
class: y([
|
|
@@ -3507,14 +3518,14 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3507
3518
|
e("td", {
|
|
3508
3519
|
class: y([w.actions?.length > 0 ? "w-2" : "w-0", "relative"])
|
|
3509
3520
|
}, [
|
|
3510
|
-
c(r).includes(x.id) ? (l(), n("div",
|
|
3521
|
+
c(r).includes(x.id) ? (l(), n("div", Ja)) : b("", !0),
|
|
3511
3522
|
w.actions?.length > 0 ? B((l(), n("input", {
|
|
3512
3523
|
key: 1,
|
|
3513
3524
|
"onUpdate:modelValue": T[0] || (T[0] = (O) => xe(r) ? r.value = O : r = O),
|
|
3514
3525
|
value: x.id,
|
|
3515
3526
|
class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-black focus:ring-lime-400 flex-wrap",
|
|
3516
3527
|
type: "checkbox"
|
|
3517
|
-
}, null, 8,
|
|
3528
|
+
}, null, 8, Wa)), [
|
|
3518
3529
|
[Ee, c(r)]
|
|
3519
3530
|
]) : b("", !0)
|
|
3520
3531
|
], 2),
|
|
@@ -3538,11 +3549,11 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3538
3549
|
key: 1,
|
|
3539
3550
|
class: "text-black font-bold underline hover:text-lime-400 cursor-pointer",
|
|
3540
3551
|
onClick: (q) => v(O)
|
|
3541
|
-
}, g(O.content), 9,
|
|
3552
|
+
}, g(O.content), 9, Ga)) : typeof O == "object" && O.type === "href" ? (l(), n("a", {
|
|
3542
3553
|
key: 2,
|
|
3543
3554
|
class: "text-black font-bold underline hover:text-lime-400 cursor-pointer",
|
|
3544
3555
|
href: O.href
|
|
3545
|
-
}, g(O.content), 9,
|
|
3556
|
+
}, g(O.content), 9, Qa)) : (l(), n("span", Ka, g(O), 1))
|
|
3546
3557
|
], 2)), [
|
|
3547
3558
|
[D, j(C)]
|
|
3548
3559
|
])), 128))
|
|
@@ -3555,10 +3566,10 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3555
3566
|
])
|
|
3556
3567
|
]));
|
|
3557
3568
|
}
|
|
3558
|
-
}),
|
|
3569
|
+
}), en = { class: "lg:hidden" }, tn = ["value"], ln = { class: "hidden lg:block" }, sn = { class: "border-b border-gray-200" }, on = {
|
|
3559
3570
|
class: "-mb-px flex space-x-8",
|
|
3560
3571
|
"aria-label": "Tabs"
|
|
3561
|
-
},
|
|
3572
|
+
}, rn = ["onClick", "aria-current"], an = /* @__PURE__ */ M({
|
|
3562
3573
|
__name: "uiTabs",
|
|
3563
3574
|
props: {
|
|
3564
3575
|
tabs: {}
|
|
@@ -3570,7 +3581,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3570
3581
|
o.value && r("tabClicked", o.value);
|
|
3571
3582
|
};
|
|
3572
3583
|
return (s, o) => (l(), n("div", null, [
|
|
3573
|
-
e("div",
|
|
3584
|
+
e("div", en, [
|
|
3574
3585
|
e("select", {
|
|
3575
3586
|
onChange: o[0] || (o[0] = (t) => i(t)),
|
|
3576
3587
|
id: "tabs",
|
|
@@ -3580,12 +3591,12 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3580
3591
|
(l(!0), n($, null, S(s.tabs, (t) => (l(), n("option", {
|
|
3581
3592
|
value: t.id,
|
|
3582
3593
|
key: t.name
|
|
3583
|
-
}, g(t.name), 9,
|
|
3594
|
+
}, g(t.name), 9, tn))), 128))
|
|
3584
3595
|
], 32)
|
|
3585
3596
|
]),
|
|
3586
|
-
e("div",
|
|
3587
|
-
e("div",
|
|
3588
|
-
e("nav",
|
|
3597
|
+
e("div", ln, [
|
|
3598
|
+
e("div", sn, [
|
|
3599
|
+
e("nav", on, [
|
|
3589
3600
|
(l(!0), n($, null, S(s.tabs, (t) => (l(), n("a", {
|
|
3590
3601
|
key: t.name,
|
|
3591
3602
|
onClick: (a) => r("tabClicked", t.id),
|
|
@@ -3603,36 +3614,36 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3603
3614
|
"hidden ml-3 py-0.5 px-2.5 rounded-full text-xs font-medium md:inline-block"
|
|
3604
3615
|
])
|
|
3605
3616
|
}, g(t.count), 3)) : b("", !0)
|
|
3606
|
-
], 10,
|
|
3617
|
+
], 10, rn))), 128))
|
|
3607
3618
|
])
|
|
3608
3619
|
])
|
|
3609
3620
|
])
|
|
3610
3621
|
]));
|
|
3611
3622
|
}
|
|
3612
|
-
}),
|
|
3623
|
+
}), nn = { class: "px-4 py-5 sm:px-6" }, dn = { class: "text-xl font-bold" }, un = {
|
|
3613
3624
|
key: 0,
|
|
3614
3625
|
class: "px-4 py-5 sm:p-6"
|
|
3615
|
-
},
|
|
3626
|
+
}, cn = { class: "flow-root" }, gn = { class: "relative pb-8" }, mn = {
|
|
3616
3627
|
key: 0,
|
|
3617
3628
|
class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200",
|
|
3618
3629
|
"aria-hidden": "true"
|
|
3619
|
-
},
|
|
3630
|
+
}, pn = { class: "relative flex space-x-3" }, fn = { class: "min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center" }, hn = { class: "text-sm text-gray-500" }, yn = ["onClick"], vn = { class: "text-right text-sm whitespace-nowrap text-gray-500" }, bn = ["datetime"], wn = {
|
|
3620
3631
|
key: 1,
|
|
3621
3632
|
class: "bg-lime-50 px-4 py-4 sm:px-6 z-10"
|
|
3622
|
-
},
|
|
3633
|
+
}, kn = { class: "text-sm" }, xn = {
|
|
3623
3634
|
key: 2,
|
|
3624
3635
|
class: "h-full w-full flex items-center justify-center flex-col px-4 py-5 sm:p-6"
|
|
3625
|
-
},
|
|
3636
|
+
}, _n = {
|
|
3626
3637
|
key: 1,
|
|
3627
3638
|
class: "bg-white overflow-hidden shadow rounded-lg"
|
|
3628
|
-
},
|
|
3639
|
+
}, $n = { class: "px-4 py-5 sm:p-6 animate-pulse" }, Cn = { class: "flow-root" }, Sn = {
|
|
3629
3640
|
class: "-mb-8",
|
|
3630
3641
|
role: "list"
|
|
3631
|
-
},
|
|
3642
|
+
}, Bn = { class: "relative pb-8" }, Mn = {
|
|
3632
3643
|
key: 0,
|
|
3633
3644
|
class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200",
|
|
3634
3645
|
"aria-hidden": "true"
|
|
3635
|
-
},
|
|
3646
|
+
}, jn = /* @__PURE__ */ M({
|
|
3636
3647
|
__name: "uiTimeline",
|
|
3637
3648
|
props: {
|
|
3638
3649
|
name: {},
|
|
@@ -3644,18 +3655,18 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3644
3655
|
emits: ["timelineEventClicked", "timelineFooterClicked"],
|
|
3645
3656
|
setup(p, { emit: u }) {
|
|
3646
3657
|
const i = ae(p.timeline);
|
|
3647
|
-
return (s, o) => s.loading ? (l(), n("div",
|
|
3658
|
+
return (s, o) => s.loading ? (l(), n("div", _n, [
|
|
3648
3659
|
o[3] || (o[3] = e("div", { class: "px-4 py-5 sm:px-6 animate-pulse" }, [
|
|
3649
3660
|
e("h1", { class: "text-xl font-bold" }, [
|
|
3650
3661
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4" })
|
|
3651
3662
|
])
|
|
3652
3663
|
], -1)),
|
|
3653
|
-
e("div",
|
|
3654
|
-
e("div",
|
|
3655
|
-
e("ul",
|
|
3664
|
+
e("div", $n, [
|
|
3665
|
+
e("div", Cn, [
|
|
3666
|
+
e("ul", Sn, [
|
|
3656
3667
|
(l(), n($, null, S(10, (t, a) => e("li", { key: a }, [
|
|
3657
|
-
e("div",
|
|
3658
|
-
t !== 10 ? (l(), n("span",
|
|
3668
|
+
e("div", Bn, [
|
|
3669
|
+
t !== 10 ? (l(), n("span", Mn)) : b("", !0),
|
|
3659
3670
|
o[2] || (o[2] = te('<div class="relative flex space-x-3"><div><span class="h-8 w-8 rounded-full bg-gray-300 flex items-center justify-center ring-4 ring-white"></span></div><div class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center"><div><div class="text-sm text-gray-500 flex-1"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full"></div></div></div><div class="text-right text-sm whitespace-nowrap text-gray-500 flex-1"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4"></div></div></div></div>', 1))
|
|
3660
3671
|
])
|
|
3661
3672
|
])), 64))
|
|
@@ -3671,11 +3682,11 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3671
3682
|
key: 0,
|
|
3672
3683
|
class: y(["h-[" + s.height + "px]", "bg-white overflow-hidden shadow rounded-lg"])
|
|
3673
3684
|
}, [
|
|
3674
|
-
e("div",
|
|
3675
|
-
e("h1",
|
|
3685
|
+
e("div", nn, [
|
|
3686
|
+
e("h1", dn, g(s.name), 1)
|
|
3676
3687
|
]),
|
|
3677
|
-
i.items.length > 0 ? (l(), n("div",
|
|
3678
|
-
e("div",
|
|
3688
|
+
i.items.length > 0 ? (l(), n("div", un, [
|
|
3689
|
+
e("div", cn, [
|
|
3679
3690
|
m(gt, {
|
|
3680
3691
|
name: "list",
|
|
3681
3692
|
tag: "ul",
|
|
@@ -3683,9 +3694,9 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3683
3694
|
}, {
|
|
3684
3695
|
default: h(() => [
|
|
3685
3696
|
(l(!0), n($, null, S(i.items, (t, a) => (l(), n("li", { key: a }, [
|
|
3686
|
-
e("div",
|
|
3687
|
-
a < i.items.length - 1 ? (l(), n("span",
|
|
3688
|
-
e("div",
|
|
3697
|
+
e("div", gn, [
|
|
3698
|
+
a < i.items.length - 1 ? (l(), n("span", mn)) : b("", !0),
|
|
3699
|
+
e("div", pn, [
|
|
3689
3700
|
e("div", null, [
|
|
3690
3701
|
e("span", {
|
|
3691
3702
|
class: y([{
|
|
@@ -3703,20 +3714,20 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3703
3714
|
}, null, 8, ["loading", "icon"])
|
|
3704
3715
|
], 2)
|
|
3705
3716
|
]),
|
|
3706
|
-
e("div",
|
|
3717
|
+
e("div", fn, [
|
|
3707
3718
|
e("div", null, [
|
|
3708
|
-
e("p",
|
|
3719
|
+
e("p", hn, [
|
|
3709
3720
|
e("a", {
|
|
3710
3721
|
onClick: (d) => s.$emit("timelineEventClicked", t.linkId),
|
|
3711
3722
|
class: "font-medium text-black hover:text-lime-400 cursor-pointer"
|
|
3712
|
-
}, g(t?.target), 9,
|
|
3723
|
+
}, g(t?.target), 9, yn),
|
|
3713
3724
|
L(" " + g(t?.content), 1)
|
|
3714
3725
|
])
|
|
3715
3726
|
]),
|
|
3716
|
-
e("div",
|
|
3727
|
+
e("div", vn, [
|
|
3717
3728
|
e("time", {
|
|
3718
3729
|
datetime: t?.datetime
|
|
3719
|
-
}, g(t?.date), 9,
|
|
3730
|
+
}, g(t?.date), 9, bn)
|
|
3720
3731
|
])
|
|
3721
3732
|
])
|
|
3722
3733
|
])
|
|
@@ -3727,14 +3738,14 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3727
3738
|
})
|
|
3728
3739
|
])
|
|
3729
3740
|
])) : b("", !0),
|
|
3730
|
-
i.items.length > 0 ? (l(), n("div",
|
|
3731
|
-
e("div",
|
|
3741
|
+
i.items.length > 0 ? (l(), n("div", wn, [
|
|
3742
|
+
e("div", kn, [
|
|
3732
3743
|
e("a", {
|
|
3733
3744
|
class: "cursor-pointer font-medium text-black hover:text-lime-400",
|
|
3734
3745
|
onClick: o[0] || (o[0] = (t) => s.$emit("timelineFooterClicked", s.timeline.id))
|
|
3735
3746
|
}, g(s.timeline.footerText), 1)
|
|
3736
3747
|
])
|
|
3737
|
-
])) : (l(), n("div",
|
|
3748
|
+
])) : (l(), n("div", xn, [
|
|
3738
3749
|
m(A, {
|
|
3739
3750
|
icon: c(W),
|
|
3740
3751
|
color: "gray",
|
|
@@ -3745,10 +3756,10 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3745
3756
|
]))
|
|
3746
3757
|
], 2));
|
|
3747
3758
|
}
|
|
3748
|
-
}),
|
|
3759
|
+
}), Dn = { class: "mx-auto px-6 lg:px-8" }, Tn = { class: "flex justify-between h-20" }, zn = { class: "flex" }, Ln = { class: "-ml-2 mr-2 flex items-center lg:hidden" }, On = ["src"], An = { class: "flex items-center" }, Fn = { class: "lg:ml-4 lg:flex-shrink-0 lg:flex lg:items-center hidden" }, In = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute -top-0 -left-1" }, Nn = ["src"], Pn = ["onClick"], Vn = { class: "pt-2 pb-3 space-y-1" }, Yn = ["onClick"], qn = { class: "pt-4 pb-3 border-t border-gray-200" }, Rn = { class: "flex items-center px-4 sm:px-6" }, En = { class: "flex-shrink-0" }, Un = ["src"], Hn = {
|
|
3749
3760
|
key: 0,
|
|
3750
3761
|
class: "ml-3"
|
|
3751
|
-
},
|
|
3762
|
+
}, Zn = { class: "text-base font-medium text-gray-800" }, Jn = { class: "text-sm font-medium text-gray-500" }, Wn = { class: "mt-3 space-y-1" }, Gn = ["onClick"], Qn = /* @__PURE__ */ M({
|
|
3752
3763
|
__name: "uiTopbar",
|
|
3753
3764
|
props: {
|
|
3754
3765
|
logo: {},
|
|
@@ -3766,10 +3777,10 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3766
3777
|
class: "bg-white shadow z-10"
|
|
3767
3778
|
}, {
|
|
3768
3779
|
default: h(({ open: t }) => [
|
|
3769
|
-
e("div",
|
|
3770
|
-
e("div",
|
|
3771
|
-
e("div",
|
|
3772
|
-
e("div",
|
|
3780
|
+
e("div", Dn, [
|
|
3781
|
+
e("div", Tn, [
|
|
3782
|
+
e("div", zn, [
|
|
3783
|
+
e("div", Ln, [
|
|
3773
3784
|
m(c(Q), { class: "inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500" }, {
|
|
3774
3785
|
default: h(() => [
|
|
3775
3786
|
o[1] || (o[1] = e("span", { class: "sr-only" }, "Open main menu", -1)),
|
|
@@ -3795,11 +3806,11 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3795
3806
|
class: "h-10",
|
|
3796
3807
|
src: s.logo,
|
|
3797
3808
|
alt: "Hotelinking suite product logo"
|
|
3798
|
-
}, null, 8,
|
|
3809
|
+
}, null, 8, On)
|
|
3799
3810
|
])
|
|
3800
3811
|
]),
|
|
3801
|
-
e("div",
|
|
3802
|
-
e("div",
|
|
3812
|
+
e("div", An, [
|
|
3813
|
+
e("div", Fn, [
|
|
3803
3814
|
m(c(_e), {
|
|
3804
3815
|
as: "div",
|
|
3805
3816
|
class: "ml-3 relative"
|
|
@@ -3808,7 +3819,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3808
3819
|
e("div", null, [
|
|
3809
3820
|
B(m(c($e), { class: "bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 relative" }, {
|
|
3810
3821
|
default: h(() => [
|
|
3811
|
-
B(e("div",
|
|
3822
|
+
B(e("div", In, o[2] || (o[2] = [
|
|
3812
3823
|
e("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
|
|
3813
3824
|
]), 512), [
|
|
3814
3825
|
[D, s.alerted]
|
|
@@ -3816,7 +3827,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3816
3827
|
e("img", {
|
|
3817
3828
|
class: "h-10 w-10 rounded-full",
|
|
3818
3829
|
src: s.accountLogo
|
|
3819
|
-
}, null, 8,
|
|
3830
|
+
}, null, 8, Nn)
|
|
3820
3831
|
]),
|
|
3821
3832
|
_: 1
|
|
3822
3833
|
}, 512), [
|
|
@@ -3844,7 +3855,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3844
3855
|
d ? "bg-gray-100" : "",
|
|
3845
3856
|
"block px-4 py-2 text-sm text-gray-700"
|
|
3846
3857
|
]])
|
|
3847
|
-
}, g(a.name), 11,
|
|
3858
|
+
}, g(a.name), 11, Pn)
|
|
3848
3859
|
]),
|
|
3849
3860
|
_: 2
|
|
3850
3861
|
}, 1024))), 128))
|
|
@@ -3863,7 +3874,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3863
3874
|
]),
|
|
3864
3875
|
m(c(Te), { class: "lg:hidden" }, {
|
|
3865
3876
|
default: h(() => [
|
|
3866
|
-
e("div",
|
|
3877
|
+
e("div", Vn, [
|
|
3867
3878
|
(l(!0), n($, null, S(i.value, (a) => (l(), k(c(Q), {
|
|
3868
3879
|
as: "template",
|
|
3869
3880
|
key: a.id,
|
|
@@ -3875,25 +3886,25 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3875
3886
|
default: h(() => [
|
|
3876
3887
|
e("p", {
|
|
3877
3888
|
onClick: (d) => s.$emit("topBarClick", a.id)
|
|
3878
|
-
}, g(a.name), 9,
|
|
3889
|
+
}, g(a.name), 9, Yn)
|
|
3879
3890
|
]),
|
|
3880
3891
|
_: 2
|
|
3881
3892
|
}, 1032, ["class"]))), 128))
|
|
3882
3893
|
]),
|
|
3883
|
-
e("div",
|
|
3884
|
-
e("div",
|
|
3885
|
-
e("div",
|
|
3894
|
+
e("div", qn, [
|
|
3895
|
+
e("div", Rn, [
|
|
3896
|
+
e("div", En, [
|
|
3886
3897
|
e("img", {
|
|
3887
3898
|
class: "h-10 w-10 rounded-full",
|
|
3888
3899
|
src: s.accountLogo
|
|
3889
|
-
}, null, 8,
|
|
3900
|
+
}, null, 8, Un)
|
|
3890
3901
|
]),
|
|
3891
|
-
s.brand ? (l(), n("div",
|
|
3892
|
-
e("div",
|
|
3893
|
-
e("div",
|
|
3902
|
+
s.brand ? (l(), n("div", Hn, [
|
|
3903
|
+
e("div", Zn, g(s.brand.title), 1),
|
|
3904
|
+
e("div", Jn, g(s.brand.subtitle), 1)
|
|
3894
3905
|
])) : b("", !0)
|
|
3895
3906
|
]),
|
|
3896
|
-
e("div",
|
|
3907
|
+
e("div", Wn, [
|
|
3897
3908
|
(l(!0), n($, null, S(s.profileMenu, (a) => (l(), k(c(Q), {
|
|
3898
3909
|
as: "template",
|
|
3899
3910
|
key: a.name,
|
|
@@ -3902,7 +3913,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3902
3913
|
default: h(() => [
|
|
3903
3914
|
e("p", {
|
|
3904
3915
|
onClick: (d) => s.$emit("topBarClick", a.id)
|
|
3905
|
-
}, g(a.name), 9,
|
|
3916
|
+
}, g(a.name), 9, Gn)
|
|
3906
3917
|
]),
|
|
3907
3918
|
_: 2
|
|
3908
3919
|
}, 1024))), 128))
|
|
@@ -3915,7 +3926,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3915
3926
|
_: 1
|
|
3916
3927
|
}));
|
|
3917
3928
|
}
|
|
3918
|
-
}),
|
|
3929
|
+
}), Kn = { class: "chart-selector flex flex-row items-center justify-center" }, Xn = /* @__PURE__ */ M({
|
|
3919
3930
|
__name: "RangeSelector",
|
|
3920
3931
|
props: { range: { type: String } },
|
|
3921
3932
|
emits: ["rangeSelected"],
|
|
@@ -3925,7 +3936,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3925
3936
|
const o = (t) => {
|
|
3926
3937
|
s = t, r("rangeSelected", t);
|
|
3927
3938
|
};
|
|
3928
|
-
return (t, a) => (l(), n("ul",
|
|
3939
|
+
return (t, a) => (l(), n("ul", Kn, [
|
|
3929
3940
|
e("li", {
|
|
3930
3941
|
class: y({ selected: c(s) === "24h" }),
|
|
3931
3942
|
onClick: a[0] || (a[0] = (d) => o("24h"))
|
|
@@ -3944,7 +3955,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3944
3955
|
}, "3M", 2)
|
|
3945
3956
|
]));
|
|
3946
3957
|
}
|
|
3947
|
-
}),
|
|
3958
|
+
}), ei = { class: "chart-header flex flex-row justify-between" }, ti = { class: "text-sm font-medium text-gray-500 truncate" }, li = { class: "chart-content" }, si = { class: "h-full w-full flex items-center justify-center flex-col" }, oi = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, ri = /* @__PURE__ */ M({
|
|
3948
3959
|
__name: "uiFunnelChartV2",
|
|
3949
3960
|
props: {
|
|
3950
3961
|
labels: {},
|
|
@@ -4009,14 +4020,14 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4009
4020
|
B(e("div", {
|
|
4010
4021
|
class: y(["h-[" + f.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
|
|
4011
4022
|
}, [
|
|
4012
|
-
e("div",
|
|
4013
|
-
e("div",
|
|
4014
|
-
m(
|
|
4023
|
+
e("div", ei, [
|
|
4024
|
+
e("div", ti, g(f.title), 1),
|
|
4025
|
+
m(Xn, {
|
|
4015
4026
|
range: f.range,
|
|
4016
4027
|
onRangeSelected: v[0] || (v[0] = (j) => f.$emit("selectedRange", { range: j, chartId: f.id }))
|
|
4017
4028
|
}, null, 8, ["range"])
|
|
4018
4029
|
]),
|
|
4019
|
-
B(e("div",
|
|
4030
|
+
B(e("div", li, [
|
|
4020
4031
|
m(c(ze), {
|
|
4021
4032
|
type: f.type,
|
|
4022
4033
|
series: t.value,
|
|
@@ -4030,7 +4041,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4030
4041
|
], 512), [
|
|
4031
4042
|
[D, !f.empty]
|
|
4032
4043
|
]),
|
|
4033
|
-
B(e("div",
|
|
4044
|
+
B(e("div", si, [
|
|
4034
4045
|
m(A, {
|
|
4035
4046
|
icon: c(W),
|
|
4036
4047
|
color: "gray",
|
|
@@ -4044,7 +4055,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4044
4055
|
], 2), [
|
|
4045
4056
|
[D, !f.loading]
|
|
4046
4057
|
]),
|
|
4047
|
-
B(e("div",
|
|
4058
|
+
B(e("div", oi, v[2] || (v[2] = [
|
|
4048
4059
|
e("div", {
|
|
4049
4060
|
role: "status",
|
|
4050
4061
|
class: "w-full animate-pulse h-full flex flex-col"
|
|
@@ -4075,7 +4086,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4075
4086
|
])
|
|
4076
4087
|
], 64));
|
|
4077
4088
|
}
|
|
4078
|
-
}),
|
|
4089
|
+
}), ai = { class: "w-full flex flex-col justify-center p-10 grow" }, ni = { class: "text-center" }, ii = { class: "text-2xl mt-4 font-bold" }, di = { class: "mt-4" }, ui = { class: "buttons flex mt-8 gap-x-1 justify-center flex-col gap-y-2 md:flex-row md:gap-y-0" }, ci = /* @__PURE__ */ M({
|
|
4079
4090
|
__name: "uiNoResults",
|
|
4080
4091
|
props: {
|
|
4081
4092
|
title: {},
|
|
@@ -4086,7 +4097,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4086
4097
|
},
|
|
4087
4098
|
emits: ["action", "noResultsOptionSelected"],
|
|
4088
4099
|
setup(p) {
|
|
4089
|
-
return (u, r) => (l(), n("div",
|
|
4100
|
+
return (u, r) => (l(), n("div", ai, [
|
|
4090
4101
|
m(A, {
|
|
4091
4102
|
class: "mx-auto",
|
|
4092
4103
|
loading: !1,
|
|
@@ -4094,10 +4105,10 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4094
4105
|
size: "massive",
|
|
4095
4106
|
color: "gray"
|
|
4096
4107
|
}, null, 8, ["icon"]),
|
|
4097
|
-
e("div",
|
|
4098
|
-
e("h2",
|
|
4099
|
-
e("p",
|
|
4100
|
-
e("div",
|
|
4108
|
+
e("div", ni, [
|
|
4109
|
+
e("h2", ii, g(u.title), 1),
|
|
4110
|
+
e("p", di, g(u.message), 1),
|
|
4111
|
+
e("div", ui, [
|
|
4101
4112
|
(l(!0), n($, null, S(u.actions, (i, s) => (l(), k(U, {
|
|
4102
4113
|
key: s,
|
|
4103
4114
|
loading: !1,
|
|
@@ -4118,7 +4129,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4118
4129
|
])
|
|
4119
4130
|
]));
|
|
4120
4131
|
}
|
|
4121
|
-
}),
|
|
4132
|
+
}), gi = { class: "fixed inset-0 overflow-hidden" }, mi = { class: "absolute inset-0 overflow-hidden" }, pi = { class: "pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10" }, fi = { class: "flex h-full flex-col overflow-y-scroll bg-white shadow-xl" }, hi = { class: "bg-lime-400 px-4 py-6 sm:px-6" }, yi = { class: "flex items-center justify-between" }, vi = { class: "ml-3 flex h-7 items-center" }, bi = { class: "mt-1" }, wi = { class: "text-sm" }, ki = { class: "relative flex-1 px-4 py-6 sm:px-6" }, xi = /* @__PURE__ */ M({
|
|
4122
4133
|
__name: "uiRightSidebar",
|
|
4123
4134
|
props: {
|
|
4124
4135
|
title: {},
|
|
@@ -4139,9 +4150,9 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4139
4150
|
}, {
|
|
4140
4151
|
default: h(() => [
|
|
4141
4152
|
i[4] || (i[4] = e("div", { class: "fixed inset-0" }, null, -1)),
|
|
4142
|
-
e("div",
|
|
4143
|
-
e("div",
|
|
4144
|
-
e("div",
|
|
4153
|
+
e("div", gi, [
|
|
4154
|
+
e("div", mi, [
|
|
4155
|
+
e("div", pi, [
|
|
4145
4156
|
m(c(X), {
|
|
4146
4157
|
as: "template",
|
|
4147
4158
|
enter: "transform transition ease-in-out duration-500 sm:duration-700",
|
|
@@ -4154,16 +4165,16 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4154
4165
|
default: h(() => [
|
|
4155
4166
|
m(c(je), { class: "pointer-events-auto w-screen max-w-md" }, {
|
|
4156
4167
|
default: h(() => [
|
|
4157
|
-
e("div",
|
|
4158
|
-
e("div",
|
|
4159
|
-
e("div",
|
|
4168
|
+
e("div", fi, [
|
|
4169
|
+
e("div", hi, [
|
|
4170
|
+
e("div", yi, [
|
|
4160
4171
|
m(c(Qe), { class: "text-base font-semibold leading-6" }, {
|
|
4161
4172
|
default: h(() => [
|
|
4162
4173
|
L(g(r.title), 1)
|
|
4163
4174
|
]),
|
|
4164
4175
|
_: 1
|
|
4165
4176
|
}),
|
|
4166
|
-
e("div",
|
|
4177
|
+
e("div", vi, [
|
|
4167
4178
|
e("button", {
|
|
4168
4179
|
type: "button",
|
|
4169
4180
|
class: "relative rounded-md hover:bg-black hover:text-white outline-none",
|
|
@@ -4178,11 +4189,11 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4178
4189
|
])
|
|
4179
4190
|
])
|
|
4180
4191
|
]),
|
|
4181
|
-
e("div",
|
|
4182
|
-
e("p",
|
|
4192
|
+
e("div", bi, [
|
|
4193
|
+
e("p", wi, g(r.description), 1)
|
|
4183
4194
|
])
|
|
4184
4195
|
]),
|
|
4185
|
-
e("div",
|
|
4196
|
+
e("div", ki, [
|
|
4186
4197
|
E(r.$slots, "default")
|
|
4187
4198
|
])
|
|
4188
4199
|
])
|
|
@@ -4203,15 +4214,15 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4203
4214
|
_: 3
|
|
4204
4215
|
}, 8, ["show"]));
|
|
4205
4216
|
}
|
|
4206
|
-
}),
|
|
4217
|
+
}), _i = { class: "uiGallery" }, $i = {
|
|
4207
4218
|
key: 1,
|
|
4208
4219
|
role: "list",
|
|
4209
4220
|
class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
|
|
4210
|
-
},
|
|
4221
|
+
}, Ci = { class: "group aspect-h-7 aspect-w-10 block w-full overflow-hidden rounded-lg bg-gray-100 focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 focus-within:ring-offset-gray-100" }, Si = ["src"], Bi = ["onClick"], Mi = { class: "pointer-events-none mt-2 block truncate text-sm font-medium text-gray-900" }, ji = { class: "flex items-center justify-between" }, Di = { class: "pointer-events-none block text-sm font-medium" }, Ti = {
|
|
4211
4222
|
key: 2,
|
|
4212
4223
|
role: "list",
|
|
4213
4224
|
class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
|
|
4214
|
-
},
|
|
4225
|
+
}, zi = /* @__PURE__ */ M({
|
|
4215
4226
|
__name: "uiGallery",
|
|
4216
4227
|
props: {
|
|
4217
4228
|
galleryId: {},
|
|
@@ -4224,7 +4235,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4224
4235
|
const r = u, i = I(!1), s = (o) => {
|
|
4225
4236
|
i.value = !1, r("modalAction", o);
|
|
4226
4237
|
};
|
|
4227
|
-
return (o, t) => (l(), n("div",
|
|
4238
|
+
return (o, t) => (l(), n("div", _i, [
|
|
4228
4239
|
o.loading ? b("", !0) : (l(), k(at, {
|
|
4229
4240
|
key: 0,
|
|
4230
4241
|
open: i.value,
|
|
@@ -4239,32 +4250,32 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4239
4250
|
]),
|
|
4240
4251
|
_: 1
|
|
4241
4252
|
}, 8, ["open", "title", "actions"])),
|
|
4242
|
-
o.loading ? (l(), n("ul",
|
|
4253
|
+
o.loading ? (l(), n("ul", Ti, [
|
|
4243
4254
|
(l(), n($, null, S(4, (a) => e("li", null, t[2] || (t[2] = [
|
|
4244
4255
|
e("div", { class: "group aspect-h-7 aspect-w-10 block w-full overflow-hidden rounded-lg bg-gray-200 animate-pulse dark:bg-gray-200 focus-within:ring-2 focus-within:ring-lime-400 focus-within:ring-offset-2 focus-within:ring-offset-gray-100" }, null, -1),
|
|
4245
4256
|
e("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28 mt-4" }, null, -1),
|
|
4246
4257
|
e("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-14 mt-2" }, null, -1)
|
|
4247
4258
|
]))), 64))
|
|
4248
|
-
])) : (l(), n("ul",
|
|
4259
|
+
])) : (l(), n("ul", $i, [
|
|
4249
4260
|
(l(!0), n($, null, S(o.gallery, (a) => (l(), n("li", {
|
|
4250
4261
|
key: a.source,
|
|
4251
4262
|
class: "relative"
|
|
4252
4263
|
}, [
|
|
4253
|
-
e("div",
|
|
4264
|
+
e("div", Ci, [
|
|
4254
4265
|
e("img", {
|
|
4255
4266
|
src: a.source,
|
|
4256
4267
|
alt: "",
|
|
4257
4268
|
class: "pointer-events-none object-cover group-hover:opacity-75"
|
|
4258
|
-
}, null, 8,
|
|
4269
|
+
}, null, 8, Si),
|
|
4259
4270
|
e("button", {
|
|
4260
4271
|
type: "button",
|
|
4261
4272
|
class: "absolute inset-0 focus:outline-none",
|
|
4262
4273
|
onClick: (d) => o.$emit("imgClicked", a)
|
|
4263
|
-
}, null, 8,
|
|
4274
|
+
}, null, 8, Bi)
|
|
4264
4275
|
]),
|
|
4265
|
-
e("p",
|
|
4266
|
-
e("div",
|
|
4267
|
-
e("p",
|
|
4276
|
+
e("p", Mi, g(a.title), 1),
|
|
4277
|
+
e("div", ji, [
|
|
4278
|
+
e("p", Di, g(a.size), 1),
|
|
4268
4279
|
m(A, {
|
|
4269
4280
|
class: "cursor-pointer",
|
|
4270
4281
|
icon: c(pe),
|
|
@@ -4290,10 +4301,10 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4290
4301
|
})) : b("", !0)
|
|
4291
4302
|
]));
|
|
4292
4303
|
}
|
|
4293
|
-
}),
|
|
4304
|
+
}), Li = { class: "cursor-move mb-1 relative flex items-center space-x-3 rounded-lg border border-gray-300 bg-white p-4 shadow-sm focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 hover:border-gray-400" }, Oi = { class: "flex flex-row items-center w-full" }, Ai = { class: "content text-sm grow" }, Fi = { class: "font-bold" }, Ii = { key: 0 }, Ni = { class: "font-bold text-gray-400" }, Pi = {
|
|
4294
4305
|
key: 1,
|
|
4295
4306
|
class: "animate-pulse"
|
|
4296
|
-
},
|
|
4307
|
+
}, Vi = /* @__PURE__ */ M({
|
|
4297
4308
|
__name: "uiDragAndDrop",
|
|
4298
4309
|
props: {
|
|
4299
4310
|
elements: {},
|
|
@@ -4309,7 +4320,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4309
4320
|
const o = (t) => {
|
|
4310
4321
|
r("dragAndDropUpdated", t);
|
|
4311
4322
|
};
|
|
4312
|
-
return (t, a) => t.loading ? (l(), n("div",
|
|
4323
|
+
return (t, a) => t.loading ? (l(), n("div", Pi, a[2] || (a[2] = [
|
|
4313
4324
|
te('<div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div>', 5)
|
|
4314
4325
|
]))) : (l(), k(c(St), {
|
|
4315
4326
|
key: 0,
|
|
@@ -4320,8 +4331,8 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4320
4331
|
]
|
|
4321
4332
|
}, {
|
|
4322
4333
|
item: h(({ item: d }) => [
|
|
4323
|
-
e("div",
|
|
4324
|
-
e("div",
|
|
4334
|
+
e("div", Li, [
|
|
4335
|
+
e("div", Oi, [
|
|
4325
4336
|
m(A, {
|
|
4326
4337
|
icon: c(Vt),
|
|
4327
4338
|
loading: !1,
|
|
@@ -4329,18 +4340,18 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4329
4340
|
class: "mr-4",
|
|
4330
4341
|
size: "big"
|
|
4331
4342
|
}, null, 8, ["icon"]),
|
|
4332
|
-
e("div",
|
|
4333
|
-
e("p",
|
|
4334
|
-
d.description ? (l(), n("p",
|
|
4343
|
+
e("div", Ai, [
|
|
4344
|
+
e("p", Fi, g(d.name), 1),
|
|
4345
|
+
d.description ? (l(), n("p", Ii, g(d.description), 1)) : b("", !0)
|
|
4335
4346
|
]),
|
|
4336
|
-
e("div",
|
|
4347
|
+
e("div", Ni, g(c(s).indexOf(d) + 1), 1)
|
|
4337
4348
|
])
|
|
4338
4349
|
])
|
|
4339
4350
|
]),
|
|
4340
4351
|
_: 1
|
|
4341
4352
|
}, 8, ["modelValue"]));
|
|
4342
4353
|
}
|
|
4343
|
-
}),
|
|
4354
|
+
}), Yi = { class: "chart-header flex flex-row justify-between" }, qi = { class: "text-sm font-medium text-gray-500 truncate" }, Ri = { class: "hidden sm:flex items-center" }, Ei = { class: "w-1/2 min-w-0 flex-1" }, Ui = ["max"], Hi = { class: "min-w-0 flex-1" }, Zi = ["max"], Ji = { class: "chart-content" }, Wi = { class: "h-full w-full flex items-center justify-center flex-col" }, Gi = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, Qi = /* @__PURE__ */ M({
|
|
4344
4355
|
__name: "uiCircleChart",
|
|
4345
4356
|
props: {
|
|
4346
4357
|
labels: {},
|
|
@@ -4408,10 +4419,10 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4408
4419
|
B(e("div", {
|
|
4409
4420
|
class: y(["h-[" + T.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
|
|
4410
4421
|
}, [
|
|
4411
|
-
e("div",
|
|
4412
|
-
e("div",
|
|
4413
|
-
e("div",
|
|
4414
|
-
e("div",
|
|
4422
|
+
e("div", Yi, [
|
|
4423
|
+
e("div", qi, g(T.title), 1),
|
|
4424
|
+
e("div", Ri, [
|
|
4425
|
+
e("div", Ei, [
|
|
4415
4426
|
B(e("input", {
|
|
4416
4427
|
type: "datetime-local",
|
|
4417
4428
|
"onUpdate:modelValue": x[0] || (x[0] = (F) => c(o).from = F),
|
|
@@ -4420,11 +4431,11 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4420
4431
|
name: "from",
|
|
4421
4432
|
id: "from",
|
|
4422
4433
|
class: "text-xs relative block w-full rounded rounded-r-none border-0 bg-transparent py-1.5 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:z-10 focus:ring-2 focus:ring-inset focus:ring-indigo-600"
|
|
4423
|
-
}, null, 40,
|
|
4434
|
+
}, null, 40, Ui), [
|
|
4424
4435
|
[se, c(o).from]
|
|
4425
4436
|
])
|
|
4426
4437
|
]),
|
|
4427
|
-
e("div",
|
|
4438
|
+
e("div", Hi, [
|
|
4428
4439
|
B(e("input", {
|
|
4429
4440
|
type: "datetime-local",
|
|
4430
4441
|
"onUpdate:modelValue": x[1] || (x[1] = (F) => c(o).to = F),
|
|
@@ -4433,7 +4444,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4433
4444
|
name: "to",
|
|
4434
4445
|
id: "to",
|
|
4435
4446
|
class: "text-xs relative block w-full -mr-2 rounded rounded-l-none border-0 bg-transparent py-1.5 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:z-10 focus:ring-2 focus:ring-inset focus:ring-indigo-600"
|
|
4436
|
-
}, null, 40,
|
|
4447
|
+
}, null, 40, Zi), [
|
|
4437
4448
|
[se, c(o).to]
|
|
4438
4449
|
])
|
|
4439
4450
|
]),
|
|
@@ -4446,7 +4457,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4446
4457
|
}, null, 8, ["loading", "icon"])
|
|
4447
4458
|
])
|
|
4448
4459
|
]),
|
|
4449
|
-
B(e("div",
|
|
4460
|
+
B(e("div", Ji, [
|
|
4450
4461
|
m(c(ze), {
|
|
4451
4462
|
class: "flex items-center justify-center mt-4",
|
|
4452
4463
|
type: "donut",
|
|
@@ -4460,7 +4471,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4460
4471
|
], 512), [
|
|
4461
4472
|
[D, !T.empty]
|
|
4462
4473
|
]),
|
|
4463
|
-
B(e("div",
|
|
4474
|
+
B(e("div", Wi, [
|
|
4464
4475
|
m(A, {
|
|
4465
4476
|
icon: c(W),
|
|
4466
4477
|
color: "gray",
|
|
@@ -4474,7 +4485,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4474
4485
|
], 2), [
|
|
4475
4486
|
[D, !T.loading]
|
|
4476
4487
|
]),
|
|
4477
|
-
B(e("div",
|
|
4488
|
+
B(e("div", Gi, x[4] || (x[4] = [
|
|
4478
4489
|
e("div", {
|
|
4479
4490
|
role: "status",
|
|
4480
4491
|
class: "w-full animate-pulse h-full flex flex-col"
|
|
@@ -4505,13 +4516,13 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4505
4516
|
])
|
|
4506
4517
|
], 64));
|
|
4507
4518
|
}
|
|
4508
|
-
}),
|
|
4519
|
+
}), Ki = {
|
|
4509
4520
|
key: 0,
|
|
4510
4521
|
class: "flex flex-col lg:flex-row w-full gap-y-4 gap-x-2"
|
|
4511
|
-
},
|
|
4522
|
+
}, Xi = {
|
|
4512
4523
|
key: 1,
|
|
4513
4524
|
class: "flex flex-col lg:flex-row w-full gap-y-4 gap-x-2"
|
|
4514
|
-
},
|
|
4525
|
+
}, ed = /* @__PURE__ */ M({
|
|
4515
4526
|
__name: "uiDateRange",
|
|
4516
4527
|
props: {
|
|
4517
4528
|
id: {},
|
|
@@ -4535,7 +4546,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4535
4546
|
const t = () => {
|
|
4536
4547
|
o("uiDateRangeButtonClicked", s);
|
|
4537
4548
|
};
|
|
4538
|
-
return (a, d) => a.loading ? (l(), n("div",
|
|
4549
|
+
return (a, d) => a.loading ? (l(), n("div", Xi, [
|
|
4539
4550
|
m(J, {
|
|
4540
4551
|
name: "dateFrom",
|
|
4541
4552
|
loading: !0
|
|
@@ -4546,12 +4557,12 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4546
4557
|
}),
|
|
4547
4558
|
m(U, { loading: !0 }, {
|
|
4548
4559
|
default: h(() => d[2] || (d[2] = [
|
|
4549
|
-
L("Search")
|
|
4560
|
+
L("Search", -1)
|
|
4550
4561
|
])),
|
|
4551
4562
|
_: 1,
|
|
4552
4563
|
__: [2]
|
|
4553
4564
|
})
|
|
4554
|
-
])) : (l(), n("div",
|
|
4565
|
+
])) : (l(), n("div", Ki, [
|
|
4555
4566
|
m(J, {
|
|
4556
4567
|
type: "datetime-local",
|
|
4557
4568
|
loading: !1,
|
|
@@ -4593,17 +4604,17 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4593
4604
|
}, 8, ["disabled", "class"])
|
|
4594
4605
|
]));
|
|
4595
4606
|
}
|
|
4596
|
-
}),
|
|
4607
|
+
}), td = { class: "flex justify-between items-center" }, ld = {
|
|
4597
4608
|
key: 0,
|
|
4598
4609
|
class: "block text-sm font-medium"
|
|
4599
|
-
},
|
|
4610
|
+
}, sd = {
|
|
4600
4611
|
key: 1,
|
|
4601
4612
|
"data-test": "required",
|
|
4602
4613
|
class: "place-self-center text-[10px] uppercase justify-self-end"
|
|
4603
|
-
},
|
|
4614
|
+
}, od = {
|
|
4604
4615
|
key: 1,
|
|
4605
4616
|
class: "h-2 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 w-full"
|
|
4606
|
-
},
|
|
4617
|
+
}, rd = /* @__PURE__ */ M({
|
|
4607
4618
|
__name: "uiRangeSlider",
|
|
4608
4619
|
props: {
|
|
4609
4620
|
loading: { type: Boolean, default: !0 },
|
|
@@ -4618,14 +4629,14 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4618
4629
|
setup(p, { emit: u }) {
|
|
4619
4630
|
const r = u, s = I(p.sliderValue);
|
|
4620
4631
|
return (o, t) => (l(), n("div", null, [
|
|
4621
|
-
e("div",
|
|
4622
|
-
o.label ? (l(), n("label",
|
|
4623
|
-
o.requiredText ? (l(), n("span",
|
|
4632
|
+
e("div", td, [
|
|
4633
|
+
o.label ? (l(), n("label", ld, g(o.label), 1)) : b("", !0),
|
|
4634
|
+
o.requiredText ? (l(), n("span", sd, g(o.requiredText), 1)) : b("", !0)
|
|
4624
4635
|
]),
|
|
4625
4636
|
e("div", {
|
|
4626
4637
|
class: y([{ "mt-1": o.label }, "pt-16 px-6 pb-6 bg-gray-50 border border-black rounded-lg shadow-sm"])
|
|
4627
4638
|
}, [
|
|
4628
|
-
o.loading ? (l(), n("p",
|
|
4639
|
+
o.loading ? (l(), n("p", od)) : (l(), k(c(Bt), {
|
|
4629
4640
|
key: 0,
|
|
4630
4641
|
modelValue: s.value,
|
|
4631
4642
|
"onUpdate:modelValue": t[0] || (t[0] = (a) => s.value = a),
|
|
@@ -4641,7 +4652,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4641
4652
|
], 2)
|
|
4642
4653
|
]));
|
|
4643
4654
|
}
|
|
4644
|
-
}),
|
|
4655
|
+
}), ad = { class: "mt-1 mb-8 text-sm" }, nd = /* @__PURE__ */ M({
|
|
4645
4656
|
__name: "uiSectionTitle",
|
|
4646
4657
|
props: {
|
|
4647
4658
|
title: {},
|
|
@@ -4652,16 +4663,16 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4652
4663
|
e("h3", {
|
|
4653
4664
|
class: y(["text-lg font-medium leading-6", { "mb-8": u.description === void 0 }])
|
|
4654
4665
|
}, g(u.title), 3),
|
|
4655
|
-
e("p",
|
|
4666
|
+
e("p", ad, g(u.description), 1)
|
|
4656
4667
|
], 64));
|
|
4657
4668
|
}
|
|
4658
|
-
}),
|
|
4669
|
+
}), id = {
|
|
4659
4670
|
key: 0,
|
|
4660
4671
|
class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow"
|
|
4661
|
-
},
|
|
4672
|
+
}, dd = { class: "flex flex-1 flex-col p-8" }, ud = { class: "text-2xl font-bold" }, cd = { class: "mt-1 flex flex-grow flex-col justify-between" }, gd = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, md = {
|
|
4662
4673
|
key: 1,
|
|
4663
4674
|
class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow"
|
|
4664
|
-
},
|
|
4675
|
+
}, pd = { class: "flex flex-1 flex-col p-8" }, fd = { class: "rounded-md p-3 flex items-center justify-center mx-auto mb-4 bg-gray-200" }, hd = { class: "mt-1 flex flex-grow flex-col justify-between" }, yd = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, vd = /* @__PURE__ */ M({
|
|
4665
4676
|
__name: "uiDeviceStatus",
|
|
4666
4677
|
props: {
|
|
4667
4678
|
id: {},
|
|
@@ -4674,9 +4685,9 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4674
4685
|
},
|
|
4675
4686
|
emits: ["deviceStatusTagClicked", "deviceStatusQtyClicked"],
|
|
4676
4687
|
setup(p, { emit: u }) {
|
|
4677
|
-
return (r, i) => r.loading ? (l(), n("div",
|
|
4678
|
-
e("div",
|
|
4679
|
-
e("div",
|
|
4688
|
+
return (r, i) => r.loading ? (l(), n("div", md, [
|
|
4689
|
+
e("div", pd, [
|
|
4690
|
+
e("div", fd, [
|
|
4680
4691
|
m(A, {
|
|
4681
4692
|
icon: r.icon,
|
|
4682
4693
|
size: "huge",
|
|
@@ -4686,8 +4697,8 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4686
4697
|
}, null, 8, ["icon", "loading"])
|
|
4687
4698
|
]),
|
|
4688
4699
|
i[3] || (i[3] = e("div", { class: "h-4 bg-gray-200 rounded-full dark:bg-gray-300 w-1/3 mx-auto" }, null, -1)),
|
|
4689
|
-
e("dl",
|
|
4690
|
-
e("dd",
|
|
4700
|
+
e("dl", hd, [
|
|
4701
|
+
e("dd", yd, [
|
|
4691
4702
|
(l(!0), n($, null, S(r.tags, (s, o) => (l(), k(Z, {
|
|
4692
4703
|
key: o,
|
|
4693
4704
|
loading: r.loading,
|
|
@@ -4703,8 +4714,8 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4703
4714
|
])
|
|
4704
4715
|
])
|
|
4705
4716
|
])
|
|
4706
|
-
])) : (l(), n("div",
|
|
4707
|
-
e("div",
|
|
4717
|
+
])) : (l(), n("div", id, [
|
|
4718
|
+
e("div", dd, [
|
|
4708
4719
|
e("div", {
|
|
4709
4720
|
class: y(["rounded-md p-3 flex items-center justify-center mx-auto mb-4", {
|
|
4710
4721
|
"bg-lime-400": r.color === "green" || r.color === "primary" || !r.color,
|
|
@@ -4722,7 +4733,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4722
4733
|
loading: !1
|
|
4723
4734
|
}, null, 8, ["icon"])
|
|
4724
4735
|
], 2),
|
|
4725
|
-
e("h3",
|
|
4736
|
+
e("h3", ud, [
|
|
4726
4737
|
L(g(r.name) + " ", 1),
|
|
4727
4738
|
B(e("span", {
|
|
4728
4739
|
class: "text-black hover:text-lime-400 underline cursor-pointer",
|
|
@@ -4731,8 +4742,8 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4731
4742
|
[D, r.qty > 0]
|
|
4732
4743
|
])
|
|
4733
4744
|
]),
|
|
4734
|
-
e("dl",
|
|
4735
|
-
e("dd",
|
|
4745
|
+
e("dl", cd, [
|
|
4746
|
+
e("dd", gd, [
|
|
4736
4747
|
(l(!0), n($, null, S(r.tags, (s, o) => (l(), k(Z, {
|
|
4737
4748
|
key: o,
|
|
4738
4749
|
loading: !1,
|
|
@@ -4750,7 +4761,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4750
4761
|
])
|
|
4751
4762
|
]));
|
|
4752
4763
|
}
|
|
4753
|
-
}),
|
|
4764
|
+
}), bd = { class: "fixed inset-0 flex" }, wd = { class: "absolute left-full top-0 flex w-16 justify-center pt-5" }, kd = { class: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-[25rem] lg:flex-col" }, xd = { class: "lg:pl-[25rem]" }, _d = { class: "sticky top-0 z-10 flex h-16 shrink-0 items-center gap-x-4 border-b border-gray-200 bg-white px-4 shadow-sm sm:gap-x-6 sm:px-6 lg:px-8" }, $d = { class: "flex flex-1 gap-x-4 self-stretch lg:gap-x-6" }, Cd = { class: "flex items-center gap-x-4 lg:gap-x-6" }, Sd = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute top-1 left-2" }, Bd = ["src"], Md = { class: "hidden lg:flex lg:items-center" }, jd = ["onClick"], Dd = { class: "py-7" }, Td = { class: "px-7 lg:px-10" }, zd = /* @__PURE__ */ M({
|
|
4754
4765
|
__name: "uiWrapper",
|
|
4755
4766
|
props: {
|
|
4756
4767
|
topbar: {},
|
|
@@ -4788,7 +4799,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4788
4799
|
_: 1,
|
|
4789
4800
|
__: [10]
|
|
4790
4801
|
}),
|
|
4791
|
-
e("div",
|
|
4802
|
+
e("div", bd, [
|
|
4792
4803
|
m(c(X), {
|
|
4793
4804
|
as: "template",
|
|
4794
4805
|
enter: "transition ease-in-out duration-300 transform",
|
|
@@ -4811,7 +4822,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4811
4822
|
"leave-to": "opacity-0"
|
|
4812
4823
|
}, {
|
|
4813
4824
|
default: h(() => [
|
|
4814
|
-
e("div",
|
|
4825
|
+
e("div", wd, [
|
|
4815
4826
|
e("button", {
|
|
4816
4827
|
type: "button",
|
|
4817
4828
|
class: "-m-2.5 p-2.5",
|
|
@@ -4852,7 +4863,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4852
4863
|
]),
|
|
4853
4864
|
_: 1
|
|
4854
4865
|
}, 8, ["show"]),
|
|
4855
|
-
e("div",
|
|
4866
|
+
e("div", kd, [
|
|
4856
4867
|
m(we, {
|
|
4857
4868
|
productsSidebar: t.sidebar.productsSidebar,
|
|
4858
4869
|
isFilterNavigation: t.sidebar.isFilterNavigation,
|
|
@@ -4866,8 +4877,8 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4866
4877
|
onInputChanged: a[7] || (a[7] = (d) => t.$emit("inputChanged", d))
|
|
4867
4878
|
}, null, 8, ["productsSidebar", "isFilterNavigation", "navigation", "filterNavigation", "logo"])
|
|
4868
4879
|
]),
|
|
4869
|
-
e("div",
|
|
4870
|
-
e("div",
|
|
4880
|
+
e("div", xd, [
|
|
4881
|
+
e("div", _d, [
|
|
4871
4882
|
e("button", {
|
|
4872
4883
|
type: "button",
|
|
4873
4884
|
class: "-m-2.5 p-2.5 text-gray-700 lg:hidden",
|
|
@@ -4883,7 +4894,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4883
4894
|
class: "h-6 w-px bg-gray-200 lg:hidden",
|
|
4884
4895
|
"aria-hidden": "true"
|
|
4885
4896
|
}, null, -1)),
|
|
4886
|
-
e("div",
|
|
4897
|
+
e("div", $d, [
|
|
4887
4898
|
m(ee, {
|
|
4888
4899
|
isWrapped: !0,
|
|
4889
4900
|
class: "w-full self-center relative",
|
|
@@ -4891,14 +4902,14 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4891
4902
|
select: t.topbar.selectedItem,
|
|
4892
4903
|
onSelectChanged: a[8] || (a[8] = (d) => t.$emit("selectChanged", d))
|
|
4893
4904
|
}, null, 8, ["items", "select"]),
|
|
4894
|
-
e("div",
|
|
4905
|
+
e("div", Cd, [
|
|
4895
4906
|
e("button", {
|
|
4896
4907
|
type: "button",
|
|
4897
4908
|
class: "-m-2.5 p-2.5 text-gray-400 hover:text-gray-500 relative",
|
|
4898
4909
|
onClick: a[9] || (a[9] = (d) => i("bellClick"))
|
|
4899
4910
|
}, [
|
|
4900
4911
|
a[14] || (a[14] = e("span", { class: "sr-only" }, "View notifications", -1)),
|
|
4901
|
-
B(e("div",
|
|
4912
|
+
B(e("div", Sd, a[13] || (a[13] = [
|
|
4902
4913
|
e("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
|
|
4903
4914
|
]), 512), [
|
|
4904
4915
|
[D, t.topbar.alerted]
|
|
@@ -4924,8 +4935,8 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4924
4935
|
class: "h-8 w-8 rounded-full bg-gray-50",
|
|
4925
4936
|
src: t.topbar.accountLogo,
|
|
4926
4937
|
alt: ""
|
|
4927
|
-
}, null, 8,
|
|
4928
|
-
e("span",
|
|
4938
|
+
}, null, 8, Bd),
|
|
4939
|
+
e("span", Md, [
|
|
4929
4940
|
m(c(oe), {
|
|
4930
4941
|
class: "ml-2 h-5 w-5 text-gray-400",
|
|
4931
4942
|
"aria-hidden": "true"
|
|
@@ -4953,7 +4964,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4953
4964
|
e("a", {
|
|
4954
4965
|
onClick: (v) => t.$emit("topBarClick", d.id),
|
|
4955
4966
|
class: y([f ? "bg-gray-50" : "", "block px-3 py-1 text-sm leading-6 text-gray-900"])
|
|
4956
|
-
}, g(d.name), 11,
|
|
4967
|
+
}, g(d.name), 11, jd)
|
|
4957
4968
|
]),
|
|
4958
4969
|
_: 2
|
|
4959
4970
|
}, 1024))), 128))
|
|
@@ -4969,15 +4980,15 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4969
4980
|
])
|
|
4970
4981
|
])
|
|
4971
4982
|
]),
|
|
4972
|
-
e("main",
|
|
4973
|
-
e("div",
|
|
4983
|
+
e("main", Dd, [
|
|
4984
|
+
e("div", Td, [
|
|
4974
4985
|
E(t.$slots, "default")
|
|
4975
4986
|
])
|
|
4976
4987
|
])
|
|
4977
4988
|
])
|
|
4978
4989
|
]));
|
|
4979
4990
|
}
|
|
4980
|
-
}),
|
|
4991
|
+
}), Ld = /* @__PURE__ */ M({
|
|
4981
4992
|
__name: "uiDynamicStats",
|
|
4982
4993
|
props: {
|
|
4983
4994
|
dynamicStats: {},
|
|
@@ -4996,13 +5007,13 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4996
5007
|
}, null, 8, ["item", "loading"]))), 128))
|
|
4997
5008
|
], 2));
|
|
4998
5009
|
}
|
|
4999
|
-
}),
|
|
5010
|
+
}), Od = { class: "flex justify-between" }, Ad = {
|
|
5000
5011
|
key: 0,
|
|
5001
5012
|
class: "text-[10px] uppercase justify-self-end place-self-center"
|
|
5002
|
-
},
|
|
5013
|
+
}, Fd = { class: "relative" }, Id = { class: "block flex flex-wrap gap-2" }, Nd = {
|
|
5003
5014
|
key: 0,
|
|
5004
5015
|
class: "p-0.5"
|
|
5005
|
-
},
|
|
5016
|
+
}, Pd = ["onClick"], Vd = { class: "absolute mt-1 w-full rounded-md bg-white shadow-lg z-50" }, Yd = {
|
|
5006
5017
|
key: 1,
|
|
5007
5018
|
class: "animate-pulse px-4 py-2.5 bg-gray-200 rounded-md flex justify-between items-center w-full"
|
|
5008
5019
|
}, dt = /* @__PURE__ */ M({
|
|
@@ -5029,7 +5040,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
5029
5040
|
function t(a) {
|
|
5030
5041
|
s.value = s.value.filter((d) => d.id !== a.id), o(s.value);
|
|
5031
5042
|
}
|
|
5032
|
-
return (a, d) => a.loading ? (l(), n("div",
|
|
5043
|
+
return (a, d) => a.loading ? (l(), n("div", Yd, [
|
|
5033
5044
|
d[4] || (d[4] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)),
|
|
5034
5045
|
m(c(be), {
|
|
5035
5046
|
"aria-hidden": "true",
|
|
@@ -5048,16 +5059,16 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
5048
5059
|
as: "div"
|
|
5049
5060
|
}, {
|
|
5050
5061
|
default: h(() => [
|
|
5051
|
-
e("div",
|
|
5062
|
+
e("div", Od, [
|
|
5052
5063
|
m(c(bt), { class: "block text-sm font-medium" }, {
|
|
5053
5064
|
default: h(() => [
|
|
5054
5065
|
L(g(a.label), 1)
|
|
5055
5066
|
]),
|
|
5056
5067
|
_: 1
|
|
5057
5068
|
}),
|
|
5058
|
-
a.requiredText ? (l(), n("span",
|
|
5069
|
+
a.requiredText ? (l(), n("span", Ad, g(a.requiredText), 1)) : b("", !0)
|
|
5059
5070
|
]),
|
|
5060
|
-
e("div",
|
|
5071
|
+
e("div", Fd, [
|
|
5061
5072
|
m(c(wt), {
|
|
5062
5073
|
class: y([{
|
|
5063
5074
|
"mt-1": a.requiredText || a.label,
|
|
@@ -5076,8 +5087,8 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
5076
5087
|
}, "relative w-full rounded-md border py-1.5 pl-2 pr-10 shadow-sm focus:border-lime-400 focus:outline-none focus:ring-1 focus:ring-lime-400 sm:text-sm"])
|
|
5077
5088
|
}, {
|
|
5078
5089
|
default: h(() => [
|
|
5079
|
-
e("span",
|
|
5080
|
-
c(s).length === 0 ? (l(), n("span",
|
|
5090
|
+
e("span", Id, [
|
|
5091
|
+
c(s).length === 0 ? (l(), n("span", Nd, "...")) : b("", !0),
|
|
5081
5092
|
(l(!0), n($, null, S(c(s), (f) => (l(), n("span", {
|
|
5082
5093
|
key: f.id,
|
|
5083
5094
|
class: "flex items-center gap-1 rounded text-xs font-medium bg-lime-400 text-black border border-lime-200 px-2 py-0.5"
|
|
@@ -5097,7 +5108,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
5097
5108
|
"stroke-width": "2",
|
|
5098
5109
|
d: "M6 18L18 6M6 6l12 12"
|
|
5099
5110
|
}, null, -1)
|
|
5100
|
-
]), 8,
|
|
5111
|
+
]), 8, Pd))
|
|
5101
5112
|
]))), 128))
|
|
5102
5113
|
]),
|
|
5103
5114
|
d[2] || (d[2] = e("span", { class: "absolute h-full right-0 mr-2 self-center top-0 flex items-center" }, [
|
|
@@ -5119,7 +5130,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
5119
5130
|
_: 1,
|
|
5120
5131
|
__: [2]
|
|
5121
5132
|
}, 8, ["class"]),
|
|
5122
|
-
e("div",
|
|
5133
|
+
e("div", Vd, [
|
|
5123
5134
|
m(c(kt), { class: "shadow-2xs focus:outline-hidden max-h-60 overflow-auto rounded-md py-1 text-base leading-6 sm:text-sm sm:leading-5" }, {
|
|
5124
5135
|
default: h(() => [
|
|
5125
5136
|
(l(!0), n($, null, S(a.items, (f) => (l(), k(c(xt), {
|
|
@@ -5173,7 +5184,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
5173
5184
|
_: 1
|
|
5174
5185
|
}, 8, ["modelValue", "disabled"]));
|
|
5175
5186
|
}
|
|
5176
|
-
}),
|
|
5187
|
+
}), qd = { class: "flex flex-col lg:flex-row items-center" }, ke = /* @__PURE__ */ M({
|
|
5177
5188
|
__name: "uiSmartFilter",
|
|
5178
5189
|
props: {
|
|
5179
5190
|
items: {},
|
|
@@ -5202,7 +5213,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
5202
5213
|
}
|
|
5203
5214
|
o.value = a.props;
|
|
5204
5215
|
};
|
|
5205
|
-
return (a, d) => (l(), n("div",
|
|
5216
|
+
return (a, d) => (l(), n("div", qd, [
|
|
5206
5217
|
m(rt, {
|
|
5207
5218
|
items: a.items,
|
|
5208
5219
|
loading: a.loading,
|
|
@@ -5228,11 +5239,11 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
5228
5239
|
}, 8, ["loading"])) : b("", !0)
|
|
5229
5240
|
]));
|
|
5230
5241
|
}
|
|
5231
|
-
}),
|
|
5232
|
-
function
|
|
5233
|
-
return l(), n("span",
|
|
5242
|
+
}), Rd = {}, Ed = { class: "bg-gray-200 text-gray-500 px-2 py-2 rounded h-full text-sm font-bold ml-2 text-center" };
|
|
5243
|
+
function Ud(p, u) {
|
|
5244
|
+
return l(), n("span", Ed, "AND");
|
|
5234
5245
|
}
|
|
5235
|
-
const Ye = /* @__PURE__ */ le(
|
|
5246
|
+
const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-col sm:flex-row items-center w-full" }, Zd = { class: "flex mt-4" }, Jd = /* @__PURE__ */ M({
|
|
5236
5247
|
__name: "uiSmartFilterMultiple",
|
|
5237
5248
|
props: {
|
|
5238
5249
|
items: {},
|
|
@@ -5254,7 +5265,7 @@ const Ye = /* @__PURE__ */ le(Yd, [["render", Rd]]), Ed = { class: "flex flex-co
|
|
|
5254
5265
|
o.value = [], s.value = [JSON.parse(JSON.stringify(r))], i("smartFilterMultipleSent", []);
|
|
5255
5266
|
};
|
|
5256
5267
|
return (v, j) => (l(), n("div", null, [
|
|
5257
|
-
e("div",
|
|
5268
|
+
e("div", Hd, [
|
|
5258
5269
|
m(ke, ve(s.value[0], {
|
|
5259
5270
|
class: "w-full sm:grow",
|
|
5260
5271
|
onSmartInputChanged: j[0] || (j[0] = (w) => o.value[0].value = w),
|
|
@@ -5320,7 +5331,7 @@ const Ye = /* @__PURE__ */ le(Yd, [["render", Rd]]), Ed = { class: "flex flex-co
|
|
|
5320
5331
|
_: 1
|
|
5321
5332
|
}, 8, ["icon"])) : b("", !0)
|
|
5322
5333
|
]))), 128)),
|
|
5323
|
-
e("div",
|
|
5334
|
+
e("div", Zd, [
|
|
5324
5335
|
m(U, {
|
|
5325
5336
|
loading: !1,
|
|
5326
5337
|
onClick: d,
|
|
@@ -5345,10 +5356,10 @@ const Ye = /* @__PURE__ */ le(Yd, [["render", Rd]]), Ed = { class: "flex flex-co
|
|
|
5345
5356
|
])
|
|
5346
5357
|
]));
|
|
5347
5358
|
}
|
|
5348
|
-
}),
|
|
5359
|
+
}), Wd = { class: "hidden py-0.5 px-2.5 rounded text-xs font-medium md:inline-block bg-lime-400 text-gray-900" }, Gd = {
|
|
5349
5360
|
key: 0,
|
|
5350
5361
|
class: "hidden py-0.5 px-2.5 rounded text-xs font-medium md:inline-block bg-gray-100 text-gray-900 uppercase"
|
|
5351
|
-
},
|
|
5362
|
+
}, Qd = { class: "w-screen max-w-md flex-auto rounded bg-white text-sm/6 shadow-lg ring-1 ring-gray-900/5 lg:max-w-3xl" }, Kd = { class: "p-6 gap-y-4 flex flex-col" }, Xd = { class: "flex items-center gap-x-2 w-full" }, eu = { class: "w-auto px-3 py-2 bg-gray-50 rounded border text-sm" }, tu = { class: "px-6 pb-6 gap-x-2 flex justify-end" }, lu = /* @__PURE__ */ M({
|
|
5352
5363
|
__name: "uiSmartFilterMultipleV2",
|
|
5353
5364
|
props: {
|
|
5354
5365
|
literals: { default: () => ({
|
|
@@ -5457,8 +5468,8 @@ const Ye = /* @__PURE__ */ le(Yd, [["render", Rd]]), Ed = { class: "flex flex-co
|
|
|
5457
5468
|
default: h(() => [
|
|
5458
5469
|
e("span", null, g(r.literals.filters) + ": ", 1),
|
|
5459
5470
|
(l(!0), n($, null, S(w.value, (z, R) => (l(), n($, { key: R }, [
|
|
5460
|
-
e("span",
|
|
5461
|
-
R < w.value.length - 1 ? (l(), n("span",
|
|
5471
|
+
e("span", Wd, g(z.name) + " " + g(z.operator) + ": " + g(z.value), 1),
|
|
5472
|
+
R < w.value.length - 1 ? (l(), n("span", Gd, g(s.value.name), 1)) : b("", !0)
|
|
5462
5473
|
], 64))), 128)),
|
|
5463
5474
|
m(c(oe), {
|
|
5464
5475
|
class: "size-5",
|
|
@@ -5478,9 +5489,9 @@ const Ye = /* @__PURE__ */ le(Yd, [["render", Rd]]), Ed = { class: "flex flex-co
|
|
|
5478
5489
|
default: h(() => [
|
|
5479
5490
|
m(c(Ct), { class: "absolute z-10 mt-2 flex w-screen max-w-max bg-transparent" }, {
|
|
5480
5491
|
default: h(() => [
|
|
5481
|
-
e("div",
|
|
5482
|
-
e("div",
|
|
5483
|
-
e("div",
|
|
5492
|
+
e("div", Qd, [
|
|
5493
|
+
e("div", Kd, [
|
|
5494
|
+
e("div", Xd, [
|
|
5484
5495
|
m(ee, {
|
|
5485
5496
|
loading: !1,
|
|
5486
5497
|
class: "w-60",
|
|
@@ -5494,7 +5505,7 @@ const Ye = /* @__PURE__ */ le(Yd, [["render", Rd]]), Ed = { class: "flex flex-co
|
|
|
5494
5505
|
disabled: !o.value
|
|
5495
5506
|
}, {
|
|
5496
5507
|
default: h(() => P[0] || (P[0] = [
|
|
5497
|
-
L(" Agregar Filtro ")
|
|
5508
|
+
L(" Agregar Filtro ", -1)
|
|
5498
5509
|
])),
|
|
5499
5510
|
_: 1,
|
|
5500
5511
|
__: [0]
|
|
@@ -5504,7 +5515,7 @@ const Ye = /* @__PURE__ */ le(Yd, [["render", Rd]]), Ed = { class: "flex flex-co
|
|
|
5504
5515
|
class: "flex items-center gap-x-2 w-full",
|
|
5505
5516
|
key: z.id
|
|
5506
5517
|
}, [
|
|
5507
|
-
e("div",
|
|
5518
|
+
e("div", eu, g(z.name), 1),
|
|
5508
5519
|
m(Z, {
|
|
5509
5520
|
loading: !1,
|
|
5510
5521
|
size: "big",
|
|
@@ -5560,7 +5571,7 @@ const Ye = /* @__PURE__ */ le(Yd, [["render", Rd]]), Ed = { class: "flex flex-co
|
|
|
5560
5571
|
}, null, 8, ["icon", "onClick"])
|
|
5561
5572
|
]))), 128))
|
|
5562
5573
|
]),
|
|
5563
|
-
e("div",
|
|
5574
|
+
e("div", tu, [
|
|
5564
5575
|
m(U, {
|
|
5565
5576
|
loading: !1,
|
|
5566
5577
|
color: "red",
|
|
@@ -5602,122 +5613,122 @@ const Ye = /* @__PURE__ */ le(Yd, [["render", Rd]]), Ed = { class: "flex flex-co
|
|
|
5602
5613
|
uiCard: us,
|
|
5603
5614
|
uiChart: gr,
|
|
5604
5615
|
uiCheckbox: Ke,
|
|
5605
|
-
uiCircleChart:
|
|
5606
|
-
uiDateRange:
|
|
5607
|
-
uiDeviceStatus:
|
|
5608
|
-
uiDragAndDrop:
|
|
5616
|
+
uiCircleChart: Qi,
|
|
5617
|
+
uiDateRange: ed,
|
|
5618
|
+
uiDeviceStatus: vd,
|
|
5619
|
+
uiDragAndDrop: Vi,
|
|
5609
5620
|
uiDropdown: he,
|
|
5610
|
-
uiDynamicStats:
|
|
5621
|
+
uiDynamicStats: Ld,
|
|
5611
5622
|
uiFilter: rt,
|
|
5612
5623
|
uiFooter: hr,
|
|
5613
|
-
uiFunnelChartV2:
|
|
5614
|
-
uiGallery:
|
|
5624
|
+
uiFunnelChartV2: ri,
|
|
5625
|
+
uiGallery: zi,
|
|
5615
5626
|
uiIcon: A,
|
|
5616
5627
|
uiInput: J,
|
|
5617
5628
|
uiInputFile: bl,
|
|
5618
5629
|
uiLoadingScreen: yr,
|
|
5619
5630
|
uiModal: at,
|
|
5620
|
-
uiNoResults:
|
|
5631
|
+
uiNoResults: ci,
|
|
5621
5632
|
uiNotification: Ms,
|
|
5622
5633
|
uiPagination: zr,
|
|
5623
5634
|
uiPriceCalendar: Xo,
|
|
5624
|
-
uiRangeSlider:
|
|
5625
|
-
uiRightSidebar:
|
|
5626
|
-
uiSectionTitle:
|
|
5635
|
+
uiRangeSlider: rd,
|
|
5636
|
+
uiRightSidebar: xi,
|
|
5637
|
+
uiSectionTitle: nd,
|
|
5627
5638
|
uiSelect: $l,
|
|
5628
5639
|
uiSelectMultiple: dt,
|
|
5629
5640
|
uiSelect_v2: ee,
|
|
5630
5641
|
uiSidebar: Ur,
|
|
5631
5642
|
uiSidebarV2: we,
|
|
5632
5643
|
uiSmartFilter: ke,
|
|
5633
|
-
uiSmartFilterMultiple:
|
|
5634
|
-
uiSmartFilterMultipleV2:
|
|
5644
|
+
uiSmartFilterMultiple: Jd,
|
|
5645
|
+
uiSmartFilterMultipleV2: lu,
|
|
5635
5646
|
uiStats: it,
|
|
5636
|
-
uiStripedCard:
|
|
5637
|
-
uiTable:
|
|
5638
|
-
uiTabs:
|
|
5647
|
+
uiStripedCard: Da,
|
|
5648
|
+
uiTable: Xa,
|
|
5649
|
+
uiTabs: an,
|
|
5639
5650
|
uiTag: Z,
|
|
5640
5651
|
uiTaskList: Ps,
|
|
5641
5652
|
uiTextArea: Fl,
|
|
5642
|
-
uiTimeline:
|
|
5653
|
+
uiTimeline: jn,
|
|
5643
5654
|
uiToggle: Vl,
|
|
5644
|
-
uiTopbar:
|
|
5645
|
-
uiWrapper:
|
|
5646
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5655
|
+
uiTopbar: Qn,
|
|
5656
|
+
uiWrapper: zd
|
|
5657
|
+
}, Symbol.toStringTag, { value: "Module" })), su = [
|
|
5647
5658
|
"primary",
|
|
5648
5659
|
"secondary",
|
|
5649
5660
|
"light",
|
|
5650
5661
|
"green",
|
|
5651
5662
|
"yellow",
|
|
5652
5663
|
"red"
|
|
5653
|
-
],
|
|
5664
|
+
], pu = [
|
|
5654
5665
|
"text",
|
|
5655
5666
|
"email",
|
|
5656
5667
|
"password",
|
|
5657
5668
|
"number",
|
|
5658
5669
|
"date",
|
|
5659
5670
|
"datetime-local"
|
|
5660
|
-
],
|
|
5661
|
-
function
|
|
5671
|
+
], ou = ["black", "gray", "white"], fu = [...su, ...ou], ru = ["small", "medium", "big"], au = ["bigger", "huge", "massive"], hu = [...ru, ...au], yu = ["default", "success", "warning", "danger"];
|
|
5672
|
+
function nu(p) {
|
|
5662
5673
|
for (const u in qe)
|
|
5663
5674
|
p.component(u, qe[u]);
|
|
5664
5675
|
}
|
|
5665
|
-
const
|
|
5676
|
+
const vu = { install: nu };
|
|
5666
5677
|
export {
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5678
|
+
fu as AllColors,
|
|
5679
|
+
hu as AllSizes,
|
|
5680
|
+
au as BiggerSizes,
|
|
5681
|
+
su as Colors,
|
|
5682
|
+
ou as MonoColors,
|
|
5683
|
+
ru as Sizes,
|
|
5684
|
+
yu as Types,
|
|
5685
|
+
pu as UiInputTypes,
|
|
5686
|
+
vu as default,
|
|
5676
5687
|
Wl as uiAlert,
|
|
5677
5688
|
ss as uiBreadcrumbs,
|
|
5678
5689
|
U as uiButton,
|
|
5679
5690
|
us as uiCard,
|
|
5680
5691
|
gr as uiChart,
|
|
5681
5692
|
Ke as uiCheckbox,
|
|
5682
|
-
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5693
|
+
Qi as uiCircleChart,
|
|
5694
|
+
ed as uiDateRange,
|
|
5695
|
+
vd as uiDeviceStatus,
|
|
5696
|
+
Vi as uiDragAndDrop,
|
|
5686
5697
|
he as uiDropdown,
|
|
5687
|
-
|
|
5698
|
+
Ld as uiDynamicStats,
|
|
5688
5699
|
rt as uiFilter,
|
|
5689
5700
|
hr as uiFooter,
|
|
5690
|
-
|
|
5691
|
-
|
|
5701
|
+
ri as uiFunnelChartV2,
|
|
5702
|
+
zi as uiGallery,
|
|
5692
5703
|
A as uiIcon,
|
|
5693
5704
|
J as uiInput,
|
|
5694
5705
|
bl as uiInputFile,
|
|
5695
5706
|
yr as uiLoadingScreen,
|
|
5696
5707
|
at as uiModal,
|
|
5697
|
-
|
|
5708
|
+
ci as uiNoResults,
|
|
5698
5709
|
Ms as uiNotification,
|
|
5699
5710
|
zr as uiPagination,
|
|
5700
5711
|
Xo as uiPriceCalendar,
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
5712
|
+
rd as uiRangeSlider,
|
|
5713
|
+
xi as uiRightSidebar,
|
|
5714
|
+
nd as uiSectionTitle,
|
|
5704
5715
|
$l as uiSelect,
|
|
5705
5716
|
dt as uiSelectMultiple,
|
|
5706
5717
|
ee as uiSelect_v2,
|
|
5707
5718
|
Ur as uiSidebar,
|
|
5708
5719
|
we as uiSidebarV2,
|
|
5709
5720
|
ke as uiSmartFilter,
|
|
5710
|
-
|
|
5711
|
-
|
|
5721
|
+
Jd as uiSmartFilterMultiple,
|
|
5722
|
+
lu as uiSmartFilterMultipleV2,
|
|
5712
5723
|
it as uiStats,
|
|
5713
|
-
|
|
5714
|
-
|
|
5715
|
-
|
|
5724
|
+
Da as uiStripedCard,
|
|
5725
|
+
Xa as uiTable,
|
|
5726
|
+
an as uiTabs,
|
|
5716
5727
|
Z as uiTag,
|
|
5717
5728
|
Ps as uiTaskList,
|
|
5718
5729
|
Fl as uiTextArea,
|
|
5719
|
-
|
|
5730
|
+
jn as uiTimeline,
|
|
5720
5731
|
Vl as uiToggle,
|
|
5721
|
-
|
|
5722
|
-
|
|
5732
|
+
Qn as uiTopbar,
|
|
5733
|
+
zd as uiWrapper
|
|
5723
5734
|
};
|