@vc-shell/framework 2.6.2-pr375.0f04f78 → 2.6.2-pr376.623694a
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/ai-agent/index.js +3 -3
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_script_setup_true_lang-CmsM1ooA.js → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-BZ5N2o20.js} +2 -2
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_script_setup_true_lang-CmsM1ooA.js.map → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-BZ5N2o20.js.map} +1 -1
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-JB7OKRk6.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-at7LNGOQ.js} +2 -2
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-JB7OKRk6.js.map → VcAiAgentPanel.vue_vue_type_style_index_0_lang-at7LNGOQ.js.map} +1 -1
- package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-CqFO0C1J.js → VcScheduler.vue_vue_type_script_setup_true_lang-CR6bc2Kz.js} +5324 -5299
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-CR6bc2Kz.js.map +1 -0
- package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-Cjmi5lAM.js → VcScheduler.vue_vue_type_style_index_0_lang-Dx-BQrO-.js} +4 -4
- package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-Cjmi5lAM.js.map → VcScheduler.vue_vue_type_style_index_0_lang-Dx-BQrO-.js.map} +1 -1
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-CYq_EvRc.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-D8kxJQOY.js} +2 -2
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-CYq_EvRc.js.map → dashboard-feed-row.vue_vue_type_script_setup_true_lang-D8kxJQOY.js.map} +1 -1
- package/dist/chunks/{index-_JlFbcuN.js → index-Cjrzln8a.js} +2 -2
- package/dist/chunks/{index-_JlFbcuN.js.map → index-Cjrzln8a.js.map} +1 -1
- package/dist/chunks/{vendor-vueuse-components-B3XvEasa.js → vendor-vueuse-components-BTQXlUpM.js} +1 -1
- package/dist/chunks/{vendor-vueuse-components-B3XvEasa.js.map → vendor-vueuse-components-BTQXlUpM.js.map} +1 -1
- package/dist/chunks/vendor-vueuse-core-BwXFv1rx.js +627 -0
- package/dist/chunks/{vendor-vueuse-core-_wFDcFkI.js.map → vendor-vueuse-core-BwXFv1rx.js.map} +1 -1
- package/dist/chunks/{vendor-vueuse-shared-CiuC98Kk.js → vendor-vueuse-shared-BPTQMqzb.js} +3 -3
- package/dist/chunks/{vendor-vueuse-shared-CiuC98Kk.js.map → vendor-vueuse-shared-BPTQMqzb.js.map} +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/framework.js +465 -465
- package/dist/framework.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/DataTableCellRenderer.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/Table.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/TableRowActions.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useDataTableOrchestrator.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableEditing.d.ts +6 -4
- package/dist/ui/components/organisms/vc-data-table/composables/useTableEditing.d.ts.map +1 -1
- package/dist/ui/index.js +3 -3
- package/package.json +4 -4
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-CqFO0C1J.js.map +0 -1
- package/dist/chunks/vendor-vueuse-core-_wFDcFkI.js +0 -587
- package/dist/core/utilities/authGuard.d.ts +0 -17
- package/dist/core/utilities/authGuard.d.ts.map +0 -1
|
@@ -1,587 +0,0 @@
|
|
|
1
|
-
import { t as A, n as X, a as B, b as I, i as Z, c as q, d as ee, e as J, w as te, f as U, g as ne } from "./vendor-vueuse-shared-CiuC98Kk.js";
|
|
2
|
-
import { computed as D, ref as S, watch as R, getCurrentInstance as re, onMounted as oe, shallowRef as Y, nextTick as ie, watchEffect as ae } from "vue";
|
|
3
|
-
function M(e) {
|
|
4
|
-
var o;
|
|
5
|
-
const t = A(e);
|
|
6
|
-
return (o = t?.$el) != null ? o : t;
|
|
7
|
-
}
|
|
8
|
-
const C = Z ? window : void 0;
|
|
9
|
-
function k(...e) {
|
|
10
|
-
let o, t, u, i;
|
|
11
|
-
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([t, u, i] = e, o = C) : [o, t, u, i] = e, !o)
|
|
12
|
-
return B;
|
|
13
|
-
Array.isArray(t) || (t = [t]), Array.isArray(u) || (u = [u]);
|
|
14
|
-
const l = [], s = () => {
|
|
15
|
-
l.forEach((n) => n()), l.length = 0;
|
|
16
|
-
}, a = (n, r, c, v) => (n.addEventListener(r, c, v), () => n.removeEventListener(r, c, v)), p = R(
|
|
17
|
-
() => [M(o), A(i)],
|
|
18
|
-
([n, r]) => {
|
|
19
|
-
if (s(), !n)
|
|
20
|
-
return;
|
|
21
|
-
const c = ee(r) ? { ...r } : r;
|
|
22
|
-
l.push(
|
|
23
|
-
...t.flatMap((v) => u.map((m) => a(n, v, m, c)))
|
|
24
|
-
);
|
|
25
|
-
},
|
|
26
|
-
{ immediate: !0, flush: "post" }
|
|
27
|
-
), f = () => {
|
|
28
|
-
p(), s();
|
|
29
|
-
};
|
|
30
|
-
return I(f), f;
|
|
31
|
-
}
|
|
32
|
-
const le = 500, se = 10;
|
|
33
|
-
function ye(e, o, t) {
|
|
34
|
-
var u, i;
|
|
35
|
-
const l = D(() => M(e));
|
|
36
|
-
let s, a, p, f = !1;
|
|
37
|
-
function n() {
|
|
38
|
-
s && (clearTimeout(s), s = void 0), a = void 0, p = void 0, f = !1;
|
|
39
|
-
}
|
|
40
|
-
function r(h) {
|
|
41
|
-
var y, E, w;
|
|
42
|
-
const [b, L, T] = [p, a, f];
|
|
43
|
-
if (n(), !t?.onMouseUp || !L || !b || (y = t?.modifiers) != null && y.self && h.target !== l.value)
|
|
44
|
-
return;
|
|
45
|
-
(E = t?.modifiers) != null && E.prevent && h.preventDefault(), (w = t?.modifiers) != null && w.stop && h.stopPropagation();
|
|
46
|
-
const x = h.x - L.x, W = h.y - L.y, d = Math.sqrt(x * x + W * W);
|
|
47
|
-
t.onMouseUp(h.timeStamp - b, d, T);
|
|
48
|
-
}
|
|
49
|
-
function c(h) {
|
|
50
|
-
var y, E, w, b;
|
|
51
|
-
(y = t?.modifiers) != null && y.self && h.target !== l.value || (n(), (E = t?.modifiers) != null && E.prevent && h.preventDefault(), (w = t?.modifiers) != null && w.stop && h.stopPropagation(), a = {
|
|
52
|
-
x: h.x,
|
|
53
|
-
y: h.y
|
|
54
|
-
}, p = h.timeStamp, s = setTimeout(
|
|
55
|
-
() => {
|
|
56
|
-
f = !0, o(h);
|
|
57
|
-
},
|
|
58
|
-
(b = t?.delay) != null ? b : le
|
|
59
|
-
));
|
|
60
|
-
}
|
|
61
|
-
function v(h) {
|
|
62
|
-
var y, E, w, b;
|
|
63
|
-
if ((y = t?.modifiers) != null && y.self && h.target !== l.value || !a || t?.distanceThreshold === !1)
|
|
64
|
-
return;
|
|
65
|
-
(E = t?.modifiers) != null && E.prevent && h.preventDefault(), (w = t?.modifiers) != null && w.stop && h.stopPropagation();
|
|
66
|
-
const L = h.x - a.x, T = h.y - a.y;
|
|
67
|
-
Math.sqrt(L * L + T * T) >= ((b = t?.distanceThreshold) != null ? b : se) && n();
|
|
68
|
-
}
|
|
69
|
-
const m = {
|
|
70
|
-
capture: (u = t?.modifiers) == null ? void 0 : u.capture,
|
|
71
|
-
once: (i = t?.modifiers) == null ? void 0 : i.once
|
|
72
|
-
}, g = [
|
|
73
|
-
k(l, "pointerdown", c, m),
|
|
74
|
-
k(l, "pointermove", v, m),
|
|
75
|
-
k(l, ["pointerup", "pointerleave"], r, m)
|
|
76
|
-
];
|
|
77
|
-
return () => g.forEach((h) => h());
|
|
78
|
-
}
|
|
79
|
-
function ue() {
|
|
80
|
-
const e = S(!1), o = re();
|
|
81
|
-
return o && oe(() => {
|
|
82
|
-
e.value = !0;
|
|
83
|
-
}, o), e;
|
|
84
|
-
}
|
|
85
|
-
function H(e) {
|
|
86
|
-
const o = ue();
|
|
87
|
-
return D(() => (o.value, !!e()));
|
|
88
|
-
}
|
|
89
|
-
function $(e, o = {}) {
|
|
90
|
-
const { window: t = C } = o, u = H(() => t && "matchMedia" in t && typeof t.matchMedia == "function");
|
|
91
|
-
let i;
|
|
92
|
-
const l = S(!1), s = (f) => {
|
|
93
|
-
l.value = f.matches;
|
|
94
|
-
}, a = () => {
|
|
95
|
-
i && ("removeEventListener" in i ? i.removeEventListener("change", s) : i.removeListener(s));
|
|
96
|
-
}, p = ae(() => {
|
|
97
|
-
u.value && (a(), i = t.matchMedia(A(e)), "addEventListener" in i ? i.addEventListener("change", s) : i.addListener(s), l.value = i.matches);
|
|
98
|
-
});
|
|
99
|
-
return I(() => {
|
|
100
|
-
p(), a(), i = void 0;
|
|
101
|
-
}), l;
|
|
102
|
-
}
|
|
103
|
-
function be(e, o = {}) {
|
|
104
|
-
function t(n, r) {
|
|
105
|
-
let c = A(e[A(n)]);
|
|
106
|
-
return r != null && (c = ne(c, r)), typeof c == "number" && (c = `${c}px`), c;
|
|
107
|
-
}
|
|
108
|
-
const { window: u = C, strategy: i = "min-width" } = o;
|
|
109
|
-
function l(n) {
|
|
110
|
-
return u ? u.matchMedia(n).matches : !1;
|
|
111
|
-
}
|
|
112
|
-
const s = (n) => $(() => `(min-width: ${t(n)})`, o), a = (n) => $(() => `(max-width: ${t(n)})`, o), p = Object.keys(e).reduce((n, r) => (Object.defineProperty(n, r, {
|
|
113
|
-
get: () => i === "min-width" ? s(r) : a(r),
|
|
114
|
-
enumerable: !0,
|
|
115
|
-
configurable: !0
|
|
116
|
-
}), n), {});
|
|
117
|
-
function f() {
|
|
118
|
-
const n = Object.keys(e).map((r) => [r, s(r)]);
|
|
119
|
-
return D(() => n.filter(([, r]) => r.value).map(([r]) => r));
|
|
120
|
-
}
|
|
121
|
-
return Object.assign(p, {
|
|
122
|
-
greaterOrEqual: s,
|
|
123
|
-
smallerOrEqual: a,
|
|
124
|
-
greater(n) {
|
|
125
|
-
return $(() => `(min-width: ${t(n, 0.1)})`, o);
|
|
126
|
-
},
|
|
127
|
-
smaller(n) {
|
|
128
|
-
return $(() => `(max-width: ${t(n, -0.1)})`, o);
|
|
129
|
-
},
|
|
130
|
-
between(n, r) {
|
|
131
|
-
return $(() => `(min-width: ${t(n)}) and (max-width: ${t(r, -0.1)})`, o);
|
|
132
|
-
},
|
|
133
|
-
isGreater(n) {
|
|
134
|
-
return l(`(min-width: ${t(n, 0.1)})`);
|
|
135
|
-
},
|
|
136
|
-
isGreaterOrEqual(n) {
|
|
137
|
-
return l(`(min-width: ${t(n)})`);
|
|
138
|
-
},
|
|
139
|
-
isSmaller(n) {
|
|
140
|
-
return l(`(max-width: ${t(n, -0.1)})`);
|
|
141
|
-
},
|
|
142
|
-
isSmallerOrEqual(n) {
|
|
143
|
-
return l(`(max-width: ${t(n)})`);
|
|
144
|
-
},
|
|
145
|
-
isInBetween(n, r) {
|
|
146
|
-
return l(`(min-width: ${t(n)}) and (max-width: ${t(r, -0.1)})`);
|
|
147
|
-
},
|
|
148
|
-
current: f,
|
|
149
|
-
active() {
|
|
150
|
-
const n = f();
|
|
151
|
-
return D(() => n.value.length === 0 ? "" : n.value.at(-1));
|
|
152
|
-
}
|
|
153
|
-
});
|
|
154
|
-
}
|
|
155
|
-
const j = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, z = "__vueuse_ssr_handlers__", ce = /* @__PURE__ */ fe();
|
|
156
|
-
function fe() {
|
|
157
|
-
return z in j || (j[z] = j[z] || {}), j[z];
|
|
158
|
-
}
|
|
159
|
-
function G(e, o) {
|
|
160
|
-
return ce[e] || o;
|
|
161
|
-
}
|
|
162
|
-
function de(e) {
|
|
163
|
-
return e == null ? "any" : e instanceof Set ? "set" : e instanceof Map ? "map" : e instanceof Date ? "date" : typeof e == "boolean" ? "boolean" : typeof e == "string" ? "string" : typeof e == "object" ? "object" : Number.isNaN(e) ? "any" : "number";
|
|
164
|
-
}
|
|
165
|
-
const ve = {
|
|
166
|
-
boolean: {
|
|
167
|
-
read: (e) => e === "true",
|
|
168
|
-
write: (e) => String(e)
|
|
169
|
-
},
|
|
170
|
-
object: {
|
|
171
|
-
read: (e) => JSON.parse(e),
|
|
172
|
-
write: (e) => JSON.stringify(e)
|
|
173
|
-
},
|
|
174
|
-
number: {
|
|
175
|
-
read: (e) => Number.parseFloat(e),
|
|
176
|
-
write: (e) => String(e)
|
|
177
|
-
},
|
|
178
|
-
any: {
|
|
179
|
-
read: (e) => e,
|
|
180
|
-
write: (e) => String(e)
|
|
181
|
-
},
|
|
182
|
-
string: {
|
|
183
|
-
read: (e) => e,
|
|
184
|
-
write: (e) => String(e)
|
|
185
|
-
},
|
|
186
|
-
map: {
|
|
187
|
-
read: (e) => new Map(JSON.parse(e)),
|
|
188
|
-
write: (e) => JSON.stringify(Array.from(e.entries()))
|
|
189
|
-
},
|
|
190
|
-
set: {
|
|
191
|
-
read: (e) => new Set(JSON.parse(e)),
|
|
192
|
-
write: (e) => JSON.stringify(Array.from(e))
|
|
193
|
-
},
|
|
194
|
-
date: {
|
|
195
|
-
read: (e) => new Date(e),
|
|
196
|
-
write: (e) => e.toISOString()
|
|
197
|
-
}
|
|
198
|
-
}, F = "vueuse-storage";
|
|
199
|
-
function K(e, o, t, u = {}) {
|
|
200
|
-
var i;
|
|
201
|
-
const {
|
|
202
|
-
flush: l = "pre",
|
|
203
|
-
deep: s = !0,
|
|
204
|
-
listenToStorageChanges: a = !0,
|
|
205
|
-
writeDefaults: p = !0,
|
|
206
|
-
mergeDefaults: f = !1,
|
|
207
|
-
shallow: n,
|
|
208
|
-
window: r = C,
|
|
209
|
-
eventFilter: c,
|
|
210
|
-
onError: v = (d) => {
|
|
211
|
-
console.error(d);
|
|
212
|
-
},
|
|
213
|
-
initOnMounted: m
|
|
214
|
-
} = u, g = (n ? Y : S)(typeof o == "function" ? o() : o);
|
|
215
|
-
if (!t)
|
|
216
|
-
try {
|
|
217
|
-
t = G("getDefaultStorage", () => {
|
|
218
|
-
var d;
|
|
219
|
-
return (d = C) == null ? void 0 : d.localStorage;
|
|
220
|
-
})();
|
|
221
|
-
} catch (d) {
|
|
222
|
-
v(d);
|
|
223
|
-
}
|
|
224
|
-
if (!t)
|
|
225
|
-
return g;
|
|
226
|
-
const _ = A(o), h = de(_), y = (i = u.serializer) != null ? i : ve[h], { pause: E, resume: w } = te(
|
|
227
|
-
g,
|
|
228
|
-
() => L(g.value),
|
|
229
|
-
{ flush: l, deep: s, eventFilter: c }
|
|
230
|
-
);
|
|
231
|
-
r && a && q(() => {
|
|
232
|
-
k(r, "storage", x), k(r, F, W), m && x();
|
|
233
|
-
}), m || x();
|
|
234
|
-
function b(d, O) {
|
|
235
|
-
r && r.dispatchEvent(new CustomEvent(F, {
|
|
236
|
-
detail: {
|
|
237
|
-
key: e,
|
|
238
|
-
oldValue: d,
|
|
239
|
-
newValue: O,
|
|
240
|
-
storageArea: t
|
|
241
|
-
}
|
|
242
|
-
}));
|
|
243
|
-
}
|
|
244
|
-
function L(d) {
|
|
245
|
-
try {
|
|
246
|
-
const O = t.getItem(e);
|
|
247
|
-
if (d == null)
|
|
248
|
-
b(O, null), t.removeItem(e);
|
|
249
|
-
else {
|
|
250
|
-
const N = y.write(d);
|
|
251
|
-
O !== N && (t.setItem(e, N), b(O, N));
|
|
252
|
-
}
|
|
253
|
-
} catch (O) {
|
|
254
|
-
v(O);
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
function T(d) {
|
|
258
|
-
const O = d ? d.newValue : t.getItem(e);
|
|
259
|
-
if (O == null)
|
|
260
|
-
return p && _ != null && t.setItem(e, y.write(_)), _;
|
|
261
|
-
if (!d && f) {
|
|
262
|
-
const N = y.read(O);
|
|
263
|
-
return typeof f == "function" ? f(N, _) : h === "object" && !Array.isArray(N) ? { ..._, ...N } : N;
|
|
264
|
-
} else return typeof O != "string" ? O : y.read(O);
|
|
265
|
-
}
|
|
266
|
-
function x(d) {
|
|
267
|
-
if (!(d && d.storageArea !== t)) {
|
|
268
|
-
if (d && d.key == null) {
|
|
269
|
-
g.value = _;
|
|
270
|
-
return;
|
|
271
|
-
}
|
|
272
|
-
if (!(d && d.key !== e)) {
|
|
273
|
-
E();
|
|
274
|
-
try {
|
|
275
|
-
d?.newValue !== y.write(g.value) && (g.value = T(d));
|
|
276
|
-
} catch (O) {
|
|
277
|
-
v(O);
|
|
278
|
-
} finally {
|
|
279
|
-
d ? ie(w) : w();
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
function W(d) {
|
|
285
|
-
x(d.detail);
|
|
286
|
-
}
|
|
287
|
-
return g;
|
|
288
|
-
}
|
|
289
|
-
function me(e) {
|
|
290
|
-
return $("(prefers-color-scheme: dark)", e);
|
|
291
|
-
}
|
|
292
|
-
function Se(e = {}) {
|
|
293
|
-
const {
|
|
294
|
-
selector: o = "html",
|
|
295
|
-
attribute: t = "class",
|
|
296
|
-
initialValue: u = "auto",
|
|
297
|
-
window: i = C,
|
|
298
|
-
storage: l,
|
|
299
|
-
storageKey: s = "vueuse-color-scheme",
|
|
300
|
-
listenToStorageChanges: a = !0,
|
|
301
|
-
storageRef: p,
|
|
302
|
-
emitAuto: f,
|
|
303
|
-
disableTransition: n = !0
|
|
304
|
-
} = e, r = {
|
|
305
|
-
auto: "",
|
|
306
|
-
light: "light",
|
|
307
|
-
dark: "dark",
|
|
308
|
-
...e.modes || {}
|
|
309
|
-
}, c = me({ window: i }), v = D(() => c.value ? "dark" : "light"), m = p || (s == null ? J(u) : K(s, u, l, { window: i, listenToStorageChanges: a })), g = D(() => m.value === "auto" ? v.value : m.value), _ = G(
|
|
310
|
-
"updateHTMLAttrs",
|
|
311
|
-
(w, b, L) => {
|
|
312
|
-
const T = typeof w == "string" ? i?.document.querySelector(w) : M(w);
|
|
313
|
-
if (!T)
|
|
314
|
-
return;
|
|
315
|
-
let x;
|
|
316
|
-
if (n && (x = i.document.createElement("style"), x.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")), i.document.head.appendChild(x)), b === "class") {
|
|
317
|
-
const W = L.split(/\s/g);
|
|
318
|
-
Object.values(r).flatMap((d) => (d || "").split(/\s/g)).filter(Boolean).forEach((d) => {
|
|
319
|
-
W.includes(d) ? T.classList.add(d) : T.classList.remove(d);
|
|
320
|
-
});
|
|
321
|
-
} else
|
|
322
|
-
T.setAttribute(b, L);
|
|
323
|
-
n && (i.getComputedStyle(x).opacity, document.head.removeChild(x));
|
|
324
|
-
}
|
|
325
|
-
);
|
|
326
|
-
function h(w) {
|
|
327
|
-
var b;
|
|
328
|
-
_(o, t, (b = r[w]) != null ? b : w);
|
|
329
|
-
}
|
|
330
|
-
function y(w) {
|
|
331
|
-
e.onChanged ? e.onChanged(w, h) : h(w);
|
|
332
|
-
}
|
|
333
|
-
R(g, y, { flush: "post", immediate: !0 }), q(() => y(g.value));
|
|
334
|
-
const E = D({
|
|
335
|
-
get() {
|
|
336
|
-
return f ? m.value : g.value;
|
|
337
|
-
},
|
|
338
|
-
set(w) {
|
|
339
|
-
m.value = w;
|
|
340
|
-
}
|
|
341
|
-
});
|
|
342
|
-
try {
|
|
343
|
-
return Object.assign(E, { store: m, system: v, state: g });
|
|
344
|
-
} catch {
|
|
345
|
-
return E;
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
function Oe(e, o) {
|
|
349
|
-
const t = Y(f()), u = J(e), i = D({
|
|
350
|
-
get() {
|
|
351
|
-
var n;
|
|
352
|
-
const r = u.value;
|
|
353
|
-
let c = o?.getIndexOf ? o.getIndexOf(t.value, r) : r.indexOf(t.value);
|
|
354
|
-
return c < 0 && (c = (n = o?.fallbackIndex) != null ? n : 0), c;
|
|
355
|
-
},
|
|
356
|
-
set(n) {
|
|
357
|
-
l(n);
|
|
358
|
-
}
|
|
359
|
-
});
|
|
360
|
-
function l(n) {
|
|
361
|
-
const r = u.value, c = r.length, v = (n % c + c) % c, m = r[v];
|
|
362
|
-
return t.value = m, m;
|
|
363
|
-
}
|
|
364
|
-
function s(n = 1) {
|
|
365
|
-
return l(i.value + n);
|
|
366
|
-
}
|
|
367
|
-
function a(n = 1) {
|
|
368
|
-
return s(n);
|
|
369
|
-
}
|
|
370
|
-
function p(n = 1) {
|
|
371
|
-
return s(-n);
|
|
372
|
-
}
|
|
373
|
-
function f() {
|
|
374
|
-
var n, r;
|
|
375
|
-
return (r = A((n = o?.initialValue) != null ? n : A(e)[0])) != null ? r : void 0;
|
|
376
|
-
}
|
|
377
|
-
return R(u, () => l(i.value)), {
|
|
378
|
-
state: t,
|
|
379
|
-
index: i,
|
|
380
|
-
next: a,
|
|
381
|
-
prev: p,
|
|
382
|
-
go: l
|
|
383
|
-
};
|
|
384
|
-
}
|
|
385
|
-
function he(e, o, t = {}) {
|
|
386
|
-
const { window: u = C, ...i } = t;
|
|
387
|
-
let l;
|
|
388
|
-
const s = H(() => u && "ResizeObserver" in u), a = () => {
|
|
389
|
-
l && (l.disconnect(), l = void 0);
|
|
390
|
-
}, p = D(() => Array.isArray(e) ? e.map((r) => M(r)) : [M(e)]), f = R(
|
|
391
|
-
p,
|
|
392
|
-
(r) => {
|
|
393
|
-
if (a(), s.value && u) {
|
|
394
|
-
l = new ResizeObserver(o);
|
|
395
|
-
for (const c of r)
|
|
396
|
-
c && l.observe(c, i);
|
|
397
|
-
}
|
|
398
|
-
},
|
|
399
|
-
{ immediate: !0, flush: "post" }
|
|
400
|
-
), n = () => {
|
|
401
|
-
a(), f();
|
|
402
|
-
};
|
|
403
|
-
return I(n), {
|
|
404
|
-
isSupported: s,
|
|
405
|
-
stop: n
|
|
406
|
-
};
|
|
407
|
-
}
|
|
408
|
-
function xe(e, o = { width: 0, height: 0 }, t = {}) {
|
|
409
|
-
const { window: u = C, box: i = "content-box" } = t, l = D(() => {
|
|
410
|
-
var r, c;
|
|
411
|
-
return (c = (r = M(e)) == null ? void 0 : r.namespaceURI) == null ? void 0 : c.includes("svg");
|
|
412
|
-
}), s = S(o.width), a = S(o.height), { stop: p } = he(
|
|
413
|
-
e,
|
|
414
|
-
([r]) => {
|
|
415
|
-
const c = i === "border-box" ? r.borderBoxSize : i === "content-box" ? r.contentBoxSize : r.devicePixelContentBoxSize;
|
|
416
|
-
if (u && l.value) {
|
|
417
|
-
const v = M(e);
|
|
418
|
-
if (v) {
|
|
419
|
-
const m = v.getBoundingClientRect();
|
|
420
|
-
s.value = m.width, a.value = m.height;
|
|
421
|
-
}
|
|
422
|
-
} else if (c) {
|
|
423
|
-
const v = Array.isArray(c) ? c : [c];
|
|
424
|
-
s.value = v.reduce((m, { inlineSize: g }) => m + g, 0), a.value = v.reduce((m, { blockSize: g }) => m + g, 0);
|
|
425
|
-
} else
|
|
426
|
-
s.value = r.contentRect.width, a.value = r.contentRect.height;
|
|
427
|
-
},
|
|
428
|
-
t
|
|
429
|
-
);
|
|
430
|
-
q(() => {
|
|
431
|
-
const r = M(e);
|
|
432
|
-
r && (s.value = "offsetWidth" in r ? r.offsetWidth : o.width, a.value = "offsetHeight" in r ? r.offsetHeight : o.height);
|
|
433
|
-
});
|
|
434
|
-
const f = R(
|
|
435
|
-
() => M(e),
|
|
436
|
-
(r) => {
|
|
437
|
-
s.value = r ? o.width : 0, a.value = r ? o.height : 0;
|
|
438
|
-
}
|
|
439
|
-
);
|
|
440
|
-
function n() {
|
|
441
|
-
p(), f();
|
|
442
|
-
}
|
|
443
|
-
return {
|
|
444
|
-
width: s,
|
|
445
|
-
height: a,
|
|
446
|
-
stop: n
|
|
447
|
-
};
|
|
448
|
-
}
|
|
449
|
-
function _e(e, o, t = {}) {
|
|
450
|
-
const {
|
|
451
|
-
root: u,
|
|
452
|
-
rootMargin: i = "0px",
|
|
453
|
-
threshold: l = 0.1,
|
|
454
|
-
window: s = C,
|
|
455
|
-
immediate: a = !0
|
|
456
|
-
} = t, p = H(() => s && "IntersectionObserver" in s), f = D(() => {
|
|
457
|
-
const m = A(e);
|
|
458
|
-
return (Array.isArray(m) ? m : [m]).map(M).filter(X);
|
|
459
|
-
});
|
|
460
|
-
let n = B;
|
|
461
|
-
const r = S(a), c = p.value ? R(
|
|
462
|
-
() => [f.value, M(u), r.value],
|
|
463
|
-
([m, g]) => {
|
|
464
|
-
if (n(), !r.value || !m.length)
|
|
465
|
-
return;
|
|
466
|
-
const _ = new IntersectionObserver(
|
|
467
|
-
o,
|
|
468
|
-
{
|
|
469
|
-
root: M(g),
|
|
470
|
-
rootMargin: i,
|
|
471
|
-
threshold: l
|
|
472
|
-
}
|
|
473
|
-
);
|
|
474
|
-
m.forEach((h) => h && _.observe(h)), n = () => {
|
|
475
|
-
_.disconnect(), n = B;
|
|
476
|
-
};
|
|
477
|
-
},
|
|
478
|
-
{ immediate: a, flush: "post" }
|
|
479
|
-
) : B, v = () => {
|
|
480
|
-
n(), c(), r.value = !1;
|
|
481
|
-
};
|
|
482
|
-
return I(v), {
|
|
483
|
-
isSupported: p,
|
|
484
|
-
isActive: r,
|
|
485
|
-
pause() {
|
|
486
|
-
n(), r.value = !1;
|
|
487
|
-
},
|
|
488
|
-
resume() {
|
|
489
|
-
r.value = !0;
|
|
490
|
-
},
|
|
491
|
-
stop: v
|
|
492
|
-
};
|
|
493
|
-
}
|
|
494
|
-
function P(e) {
|
|
495
|
-
return typeof Window < "u" && e instanceof Window ? e.document.documentElement : typeof Document < "u" && e instanceof Document ? e.documentElement : e;
|
|
496
|
-
}
|
|
497
|
-
function Ee(e, o, t = {}) {
|
|
498
|
-
const { window: u = C } = t;
|
|
499
|
-
return K(e, o, u?.localStorage, t);
|
|
500
|
-
}
|
|
501
|
-
function Me(e = {}) {
|
|
502
|
-
const { window: o = C } = e, t = o?.navigator, u = H(() => t && "connection" in t), i = S(!0), l = S(!1), s = S(void 0), a = S(void 0), p = S(void 0), f = S(void 0), n = S(void 0), r = S(void 0), c = S("unknown"), v = u.value && t.connection;
|
|
503
|
-
function m() {
|
|
504
|
-
t && (i.value = t.onLine, s.value = i.value ? void 0 : Date.now(), a.value = i.value ? Date.now() : void 0, v && (p.value = v.downlink, f.value = v.downlinkMax, r.value = v.effectiveType, n.value = v.rtt, l.value = v.saveData, c.value = v.type));
|
|
505
|
-
}
|
|
506
|
-
return o && (k(o, "offline", () => {
|
|
507
|
-
i.value = !1, s.value = Date.now();
|
|
508
|
-
}), k(o, "online", () => {
|
|
509
|
-
i.value = !0, a.value = Date.now();
|
|
510
|
-
})), v && k(v, "change", m, !1), m(), {
|
|
511
|
-
isSupported: u,
|
|
512
|
-
isOnline: i,
|
|
513
|
-
saveData: l,
|
|
514
|
-
offlineAt: s,
|
|
515
|
-
onlineAt: a,
|
|
516
|
-
downlink: p,
|
|
517
|
-
downlinkMax: f,
|
|
518
|
-
effectiveType: r,
|
|
519
|
-
rtt: n,
|
|
520
|
-
type: c
|
|
521
|
-
};
|
|
522
|
-
}
|
|
523
|
-
function Q(e) {
|
|
524
|
-
const o = window.getComputedStyle(e);
|
|
525
|
-
if (o.overflowX === "scroll" || o.overflowY === "scroll" || o.overflowX === "auto" && e.clientWidth < e.scrollWidth || o.overflowY === "auto" && e.clientHeight < e.scrollHeight)
|
|
526
|
-
return !0;
|
|
527
|
-
{
|
|
528
|
-
const t = e.parentNode;
|
|
529
|
-
return !t || t.tagName === "BODY" ? !1 : Q(t);
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
function pe(e) {
|
|
533
|
-
const o = e || window.event, t = o.target;
|
|
534
|
-
return Q(t) ? !1 : o.touches.length > 1 ? !0 : (o.preventDefault && o.preventDefault(), !1);
|
|
535
|
-
}
|
|
536
|
-
const V = /* @__PURE__ */ new WeakMap();
|
|
537
|
-
function Ae(e, o = !1) {
|
|
538
|
-
const t = S(o);
|
|
539
|
-
let u = null, i = "";
|
|
540
|
-
R(J(e), (a) => {
|
|
541
|
-
const p = P(A(a));
|
|
542
|
-
if (p) {
|
|
543
|
-
const f = p;
|
|
544
|
-
if (V.get(f) || V.set(f, f.style.overflow), f.style.overflow !== "hidden" && (i = f.style.overflow), f.style.overflow === "hidden")
|
|
545
|
-
return t.value = !0;
|
|
546
|
-
if (t.value)
|
|
547
|
-
return f.style.overflow = "hidden";
|
|
548
|
-
}
|
|
549
|
-
}, {
|
|
550
|
-
immediate: !0
|
|
551
|
-
});
|
|
552
|
-
const l = () => {
|
|
553
|
-
const a = P(A(e));
|
|
554
|
-
!a || t.value || (U && (u = k(
|
|
555
|
-
a,
|
|
556
|
-
"touchmove",
|
|
557
|
-
(p) => {
|
|
558
|
-
pe(p);
|
|
559
|
-
},
|
|
560
|
-
{ passive: !1 }
|
|
561
|
-
)), a.style.overflow = "hidden", t.value = !0);
|
|
562
|
-
}, s = () => {
|
|
563
|
-
const a = P(A(e));
|
|
564
|
-
!a || !t.value || (U && u?.(), a.style.overflow = i, V.delete(a), t.value = !1);
|
|
565
|
-
};
|
|
566
|
-
return I(s), D({
|
|
567
|
-
get() {
|
|
568
|
-
return t.value;
|
|
569
|
-
},
|
|
570
|
-
set(a) {
|
|
571
|
-
a ? l() : s();
|
|
572
|
-
}
|
|
573
|
-
});
|
|
574
|
-
}
|
|
575
|
-
export {
|
|
576
|
-
Ee as a,
|
|
577
|
-
Me as b,
|
|
578
|
-
be as c,
|
|
579
|
-
he as d,
|
|
580
|
-
Se as e,
|
|
581
|
-
Oe as f,
|
|
582
|
-
_e as g,
|
|
583
|
-
xe as h,
|
|
584
|
-
Ae as i,
|
|
585
|
-
ye as o,
|
|
586
|
-
k as u
|
|
587
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { ComputedRef } from "vue";
|
|
2
|
-
import type { RouteLocationNormalized, RouteLocationRaw } from "vue-router";
|
|
3
|
-
interface UserManagement {
|
|
4
|
-
isAuthenticated: ComputedRef<boolean>;
|
|
5
|
-
loadUser: () => Promise<unknown>;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Sends an unauthenticated visitor of the app's root routes to the login page.
|
|
9
|
-
*
|
|
10
|
-
* "No user held" is not "not signed in": `loadUser()` swallows its errors, so one 5xx or dropped
|
|
11
|
-
* connection while the app starts leaves no user behind a live session cookie. The user is loaded
|
|
12
|
-
* once more before deciding — deduplicated with a load already in flight — and only a visitor the
|
|
13
|
-
* server still does not know is sent to log in.
|
|
14
|
-
*/
|
|
15
|
-
export declare function requireAuthentication(to: RouteLocationNormalized, { isAuthenticated, loadUser }: UserManagement): Promise<RouteLocationRaw | undefined>;
|
|
16
|
-
export {};
|
|
17
|
-
//# sourceMappingURL=authGuard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authGuard.d.ts","sourceRoot":"","sources":["../../../core/utilities/authGuard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,KAAK,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE5E,UAAU,cAAc;IACtB,eAAe,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACtC,QAAQ,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;CAClC;AAED;;;;;;;GAOG;AACH,wBAAsB,qBAAqB,CACzC,EAAE,EAAE,uBAAuB,EAC3B,EAAE,eAAe,EAAE,QAAQ,EAAE,EAAE,cAAc,GAC5C,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAYvC"}
|