@oiij/chrome-tabs 0.0.5 → 0.0.7
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/Tabs.vue.d.ts +37 -16
- package/dist/index.cjs +9 -9
- package/dist/index.d.ts +26 -19
- package/dist/index.js +625 -618
- package/dist/index.umd.cjs +8 -8
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { inject as
|
|
2
|
-
function
|
|
1
|
+
import { inject as Le, onBeforeMount as je, onMounted as ye, nextTick as $e, watch as O, getCurrentScope as Te, onScopeDispose as Pe, getCurrentInstance as ke, toValue as T, computed as S, shallowRef as Q, unref as p, ref as ze, createElementBlock as A, openBlock as I, createElementVNode as $, createStaticVNode as Fe, defineComponent as we, h as oe, normalizeClass as C, createCommentVNode as X, createBlock as _, resolveDynamicComponent as re, withModifiers as Oe, createVNode as K, normalizeStyle as ie, renderSlot as se, TransitionGroup as Ve, withCtx as De, Fragment as He, renderList as We, mergeProps as Ke } from "vue";
|
|
2
|
+
function qe(e) {
|
|
3
3
|
let t = ".", n = "__", o = "--", r;
|
|
4
4
|
if (e) {
|
|
5
5
|
let l = e.blockPrefix;
|
|
@@ -8,85 +8,85 @@ function Ze(e) {
|
|
|
8
8
|
const i = {
|
|
9
9
|
install(l) {
|
|
10
10
|
r = l.c;
|
|
11
|
-
const
|
|
12
|
-
|
|
11
|
+
const h = l.context;
|
|
12
|
+
h.bem = {}, h.bem.b = null, h.bem.els = null;
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
function s(l) {
|
|
16
|
-
let
|
|
16
|
+
let h, v;
|
|
17
17
|
return {
|
|
18
18
|
before(m) {
|
|
19
|
-
|
|
19
|
+
h = m.bem.b, v = m.bem.els, m.bem.els = null;
|
|
20
20
|
},
|
|
21
21
|
after(m) {
|
|
22
|
-
m.bem.b =
|
|
22
|
+
m.bem.b = h, m.bem.els = v;
|
|
23
23
|
},
|
|
24
|
-
$({ context: m, props:
|
|
25
|
-
return l = typeof l == "string" ? l : l({ context: m, props:
|
|
24
|
+
$({ context: m, props: k }) {
|
|
25
|
+
return l = typeof l == "string" ? l : l({ context: m, props: k }), m.bem.b = l, `${k?.bPrefix || t}${m.bem.b}`;
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
function u(l) {
|
|
30
|
-
let
|
|
30
|
+
let h;
|
|
31
31
|
return {
|
|
32
|
-
before(
|
|
33
|
-
|
|
32
|
+
before(v) {
|
|
33
|
+
h = v.bem.els;
|
|
34
34
|
},
|
|
35
|
-
after(
|
|
36
|
-
|
|
35
|
+
after(v) {
|
|
36
|
+
v.bem.els = h;
|
|
37
37
|
},
|
|
38
|
-
$({ context:
|
|
39
|
-
return l = typeof l == "string" ? l : l({ context:
|
|
38
|
+
$({ context: v, props: m }) {
|
|
39
|
+
return l = typeof l == "string" ? l : l({ context: v, props: m }), v.bem.els = l.split(",").map((k) => k.trim()), v.bem.els.map((k) => `${m?.bPrefix || t}${v.bem.b}${n}${k}`).join(", ");
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
function f(l) {
|
|
44
44
|
return {
|
|
45
|
-
$({ context:
|
|
46
|
-
l = typeof l == "string" ? l : l({ context:
|
|
45
|
+
$({ context: h, props: v }) {
|
|
46
|
+
l = typeof l == "string" ? l : l({ context: h, props: v });
|
|
47
47
|
const m = l.split(",").map((L) => L.trim());
|
|
48
|
-
function
|
|
49
|
-
return m.map((
|
|
48
|
+
function k(L) {
|
|
49
|
+
return m.map((Be) => `&${v?.bPrefix || t}${h.bem.b}${L !== void 0 ? `${n}${L}` : ""}${o}${Be}`).join(", ");
|
|
50
50
|
}
|
|
51
|
-
const
|
|
52
|
-
if (
|
|
53
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
51
|
+
const B = h.bem.els;
|
|
52
|
+
if (B !== null) {
|
|
53
|
+
if (process.env.NODE_ENV !== "production" && B.length >= 2)
|
|
54
54
|
throw Error(`[css-render/plugin-bem]: m(${l}) is invalid, using modifier inside multiple elements is not allowed`);
|
|
55
|
-
return
|
|
55
|
+
return k(B[0]);
|
|
56
56
|
} else
|
|
57
|
-
return
|
|
57
|
+
return k();
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function d(l) {
|
|
62
62
|
return {
|
|
63
|
-
$({ context:
|
|
64
|
-
l = typeof l == "string" ? l : l({ context:
|
|
65
|
-
const m =
|
|
63
|
+
$({ context: h, props: v }) {
|
|
64
|
+
l = typeof l == "string" ? l : l({ context: h, props: v });
|
|
65
|
+
const m = h.bem.els;
|
|
66
66
|
if (process.env.NODE_ENV !== "production" && m !== null && m.length >= 2)
|
|
67
67
|
throw Error(`[css-render/plugin-bem]: notM(${l}) is invalid, using modifier inside multiple elements is not allowed`);
|
|
68
|
-
return `&:not(${
|
|
68
|
+
return `&:not(${v?.bPrefix || t}${h.bem.b}${m !== null && m.length > 0 ? `${n}${m[0]}` : ""}${o}${l})`;
|
|
69
69
|
}
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
return Object.assign(i, {
|
|
73
|
-
cB: (...l) => r(s(l[0]), l[1], l[2]),
|
|
74
|
-
cE: (...l) => r(u(l[0]), l[1], l[2]),
|
|
75
|
-
cM: (...l) => r(f(l[0]), l[1], l[2]),
|
|
76
|
-
cNotM: (...l) => r(
|
|
73
|
+
cB: ((...l) => r(s(l[0]), l[1], l[2])),
|
|
74
|
+
cE: ((...l) => r(u(l[0]), l[1], l[2])),
|
|
75
|
+
cM: ((...l) => r(f(l[0]), l[1], l[2])),
|
|
76
|
+
cNotM: ((...l) => r(d(l[0]), l[1], l[2]))
|
|
77
77
|
}), i;
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function Ge(e) {
|
|
80
80
|
let t = 0;
|
|
81
81
|
for (let n = 0; n < e.length; ++n)
|
|
82
82
|
e[n] === "&" && ++t;
|
|
83
83
|
return t;
|
|
84
84
|
}
|
|
85
|
-
const
|
|
86
|
-
function
|
|
85
|
+
const Ce = /\s*,(?![^(]*\))\s*/g, Ze = /\s+/g;
|
|
86
|
+
function Ue(e, t) {
|
|
87
87
|
const n = [];
|
|
88
|
-
return t.split(
|
|
89
|
-
let r =
|
|
88
|
+
return t.split(Ce).forEach((o) => {
|
|
89
|
+
let r = Ge(o);
|
|
90
90
|
if (r) {
|
|
91
91
|
if (r === 1) {
|
|
92
92
|
e.forEach((s) => {
|
|
@@ -117,57 +117,57 @@ function Ye(e, t) {
|
|
|
117
117
|
i.forEach((s) => n.push(s));
|
|
118
118
|
}), n;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Ye(e, t) {
|
|
121
121
|
const n = [];
|
|
122
|
-
return t.split(
|
|
122
|
+
return t.split(Ce).forEach((o) => {
|
|
123
123
|
e.forEach((r) => {
|
|
124
124
|
n.push((r && r + " ") + o);
|
|
125
125
|
});
|
|
126
126
|
}), n;
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function Je(e) {
|
|
129
129
|
let t = [""];
|
|
130
130
|
return e.forEach((n) => {
|
|
131
131
|
n = n && n.trim(), // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
|
|
132
|
-
n && (n.includes("&") ? t =
|
|
133
|
-
}), t.join(", ").replace(
|
|
132
|
+
n && (n.includes("&") ? t = Ue(t, n) : t = Ye(t, n));
|
|
133
|
+
}), t.join(", ").replace(Ze, " ");
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function ue(e) {
|
|
136
136
|
if (!e)
|
|
137
137
|
return;
|
|
138
138
|
const t = e.parentElement;
|
|
139
139
|
t && t.removeChild(e);
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function te(e, t) {
|
|
142
142
|
return (t ?? document.head).querySelector(`style[cssr-id="${e}"]`);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function Qe(e) {
|
|
145
145
|
const t = document.createElement("style");
|
|
146
146
|
return t.setAttribute("cssr-id", e), t;
|
|
147
147
|
}
|
|
148
148
|
function V(e) {
|
|
149
149
|
return e ? /^\s*@(s|m)/.test(e) : !1;
|
|
150
150
|
}
|
|
151
|
-
const
|
|
151
|
+
const Xe = /[A-Z]/g;
|
|
152
152
|
function Ie(e) {
|
|
153
|
-
return e.replace(
|
|
153
|
+
return e.replace(Xe, (t) => "-" + t.toLowerCase());
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function _e(e, t = " ") {
|
|
156
156
|
return typeof e == "object" && e !== null ? ` {
|
|
157
157
|
` + Object.entries(e).map((n) => t + ` ${Ie(n[0])}: ${n[1]};`).join(`
|
|
158
158
|
`) + `
|
|
159
159
|
` + t + "}" : `: ${e};`;
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function et(e, t, n) {
|
|
162
162
|
return typeof e == "function" ? e({
|
|
163
163
|
context: t.context,
|
|
164
164
|
props: n
|
|
165
165
|
}) : e;
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function le(e, t, n, o) {
|
|
168
168
|
if (!t)
|
|
169
169
|
return "";
|
|
170
|
-
const r =
|
|
170
|
+
const r = et(t, n, o);
|
|
171
171
|
if (!r)
|
|
172
172
|
return "";
|
|
173
173
|
if (typeof r == "string")
|
|
@@ -189,59 +189,59 @@ ${r}
|
|
|
189
189
|
`);
|
|
190
190
|
return;
|
|
191
191
|
}
|
|
192
|
-
u = Ie(u), f != null && s.push(` ${u}${
|
|
192
|
+
u = Ie(u), f != null && s.push(` ${u}${_e(f)}`);
|
|
193
193
|
}), e && s.push("}"), s.join(`
|
|
194
194
|
`);
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function ee(e, t, n) {
|
|
197
197
|
e && e.forEach((o) => {
|
|
198
198
|
if (Array.isArray(o))
|
|
199
|
-
|
|
199
|
+
ee(o, t, n);
|
|
200
200
|
else if (typeof o == "function") {
|
|
201
201
|
const r = o(t);
|
|
202
|
-
Array.isArray(r) ?
|
|
202
|
+
Array.isArray(r) ? ee(r, t, n) : r && n(r);
|
|
203
203
|
} else o && n(o);
|
|
204
204
|
});
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function Ee(e, t, n, o, r) {
|
|
207
207
|
const i = e.$;
|
|
208
208
|
let s = "";
|
|
209
209
|
if (!i || typeof i == "string")
|
|
210
210
|
V(i) ? s = i : t.push(i);
|
|
211
211
|
else if (typeof i == "function") {
|
|
212
|
-
const
|
|
212
|
+
const d = i({
|
|
213
213
|
context: o.context,
|
|
214
214
|
props: r
|
|
215
215
|
});
|
|
216
|
-
V(
|
|
216
|
+
V(d) ? s = d : t.push(d);
|
|
217
217
|
} else if (i.before && i.before(o.context), !i.$ || typeof i.$ == "string")
|
|
218
218
|
V(i.$) ? s = i.$ : t.push(i.$);
|
|
219
219
|
else if (i.$) {
|
|
220
|
-
const
|
|
220
|
+
const d = i.$({
|
|
221
221
|
context: o.context,
|
|
222
222
|
props: r
|
|
223
223
|
});
|
|
224
|
-
V(
|
|
224
|
+
V(d) ? s = d : t.push(d);
|
|
225
225
|
}
|
|
226
|
-
const u =
|
|
227
|
-
s ? n.push(`${s} {`) : f.length && n.push(f), e.children &&
|
|
226
|
+
const u = Je(t), f = le(u, e.props, o, r);
|
|
227
|
+
s ? n.push(`${s} {`) : f.length && n.push(f), e.children && ee(e.children, {
|
|
228
228
|
context: o.context,
|
|
229
229
|
props: r
|
|
230
|
-
}, (
|
|
231
|
-
if (typeof
|
|
232
|
-
const
|
|
233
|
-
n.push(
|
|
230
|
+
}, (d) => {
|
|
231
|
+
if (typeof d == "string") {
|
|
232
|
+
const a = le(u, { raw: d }, o, r);
|
|
233
|
+
n.push(a);
|
|
234
234
|
} else
|
|
235
|
-
|
|
235
|
+
Ee(d, t, n, o, r);
|
|
236
236
|
}), t.pop(), s && n.push("}"), i && i.after && i.after(o.context);
|
|
237
237
|
}
|
|
238
|
-
function
|
|
238
|
+
function tt(e, t, n) {
|
|
239
239
|
const o = [];
|
|
240
|
-
return
|
|
240
|
+
return Ee(e, [], o, t, n), o.join(`
|
|
241
241
|
|
|
242
242
|
`);
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function nt(e) {
|
|
245
245
|
for (var t = 0, n, o = 0, r = e.length; r >= 4; ++o, r -= 4)
|
|
246
246
|
n = e.charCodeAt(o) & 255 | (e.charCodeAt(++o) & 255) << 8 | (e.charCodeAt(++o) & 255) << 16 | (e.charCodeAt(++o) & 255) << 24, n = /* Math.imul(k, m): */
|
|
247
247
|
(n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
|
|
@@ -261,75 +261,75 @@ function rt(e) {
|
|
|
261
261
|
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
|
|
262
262
|
}
|
|
263
263
|
typeof window < "u" && (window.__cssrContext = {});
|
|
264
|
-
function
|
|
264
|
+
function ot(e, t, n, o) {
|
|
265
265
|
const { els: r } = t;
|
|
266
266
|
if (n === void 0)
|
|
267
|
-
r.forEach(
|
|
267
|
+
r.forEach(ue), t.els = [];
|
|
268
268
|
else {
|
|
269
|
-
const i =
|
|
270
|
-
i && r.includes(i) && (
|
|
269
|
+
const i = te(n, o);
|
|
270
|
+
i && r.includes(i) && (ue(i), t.els = r.filter((s) => s !== i));
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function ae(e, t) {
|
|
274
274
|
e.push(t);
|
|
275
275
|
}
|
|
276
|
-
function
|
|
277
|
-
let
|
|
278
|
-
if (n === void 0 && (
|
|
279
|
-
f.adapter(n,
|
|
276
|
+
function rt(e, t, n, o, r, i, s, u, f) {
|
|
277
|
+
let d;
|
|
278
|
+
if (n === void 0 && (d = t.render(o), n = nt(d)), f) {
|
|
279
|
+
f.adapter(n, d ?? t.render(o));
|
|
280
280
|
return;
|
|
281
281
|
}
|
|
282
282
|
u === void 0 && (u = document.head);
|
|
283
|
-
const
|
|
284
|
-
if (
|
|
285
|
-
return
|
|
286
|
-
const
|
|
287
|
-
if (
|
|
288
|
-
return
|
|
283
|
+
const a = te(n, u);
|
|
284
|
+
if (a !== null && !i)
|
|
285
|
+
return a;
|
|
286
|
+
const c = a ?? Qe(n);
|
|
287
|
+
if (d === void 0 && (d = t.render(o)), c.textContent = d, a !== null)
|
|
288
|
+
return a;
|
|
289
289
|
if (s) {
|
|
290
|
-
const
|
|
291
|
-
if (
|
|
292
|
-
return u.insertBefore(
|
|
290
|
+
const b = u.querySelector(`meta[name="${s}"]`);
|
|
291
|
+
if (b)
|
|
292
|
+
return u.insertBefore(c, b), ae(t.els, c), c;
|
|
293
293
|
}
|
|
294
|
-
return r ? u.insertBefore(
|
|
294
|
+
return r ? u.insertBefore(c, u.querySelector("style, link")) : u.appendChild(c), ae(t.els, c), c;
|
|
295
295
|
}
|
|
296
|
-
function
|
|
297
|
-
return
|
|
296
|
+
function it(e) {
|
|
297
|
+
return tt(this, this.instance, e);
|
|
298
298
|
}
|
|
299
|
-
function
|
|
299
|
+
function st(e = {}) {
|
|
300
300
|
const { id: t, ssr: n, props: o, head: r = !1, force: i = !1, anchorMetaName: s, parent: u } = e;
|
|
301
|
-
return
|
|
301
|
+
return rt(this.instance, this, t, o, r, i, s, u, n);
|
|
302
302
|
}
|
|
303
|
-
function
|
|
303
|
+
function ut(e = {}) {
|
|
304
304
|
const { id: t, parent: n } = e;
|
|
305
|
-
|
|
305
|
+
ot(this.instance, this, t, n);
|
|
306
306
|
}
|
|
307
|
-
const
|
|
307
|
+
const D = function(e, t, n, o) {
|
|
308
308
|
return {
|
|
309
309
|
instance: e,
|
|
310
310
|
$: t,
|
|
311
311
|
props: n,
|
|
312
312
|
children: o,
|
|
313
313
|
els: [],
|
|
314
|
-
render:
|
|
315
|
-
mount:
|
|
316
|
-
unmount:
|
|
314
|
+
render: it,
|
|
315
|
+
mount: st,
|
|
316
|
+
unmount: ut
|
|
317
317
|
};
|
|
318
|
-
},
|
|
319
|
-
return Array.isArray(t) ?
|
|
318
|
+
}, lt = function(e, t, n, o) {
|
|
319
|
+
return Array.isArray(t) ? D(e, { $: null }, null, t) : Array.isArray(n) ? D(e, t, null, n) : Array.isArray(o) ? D(e, t, n, o) : D(e, t, n, null);
|
|
320
320
|
};
|
|
321
|
-
function
|
|
321
|
+
function at(e = {}) {
|
|
322
322
|
const t = {
|
|
323
|
-
c: (...n) =>
|
|
323
|
+
c: ((...n) => lt(t, ...n)),
|
|
324
324
|
use: (n, ...o) => n.install(t, ...o),
|
|
325
|
-
find:
|
|
325
|
+
find: te,
|
|
326
326
|
context: {},
|
|
327
327
|
config: e
|
|
328
328
|
};
|
|
329
329
|
return t;
|
|
330
330
|
}
|
|
331
|
-
function
|
|
332
|
-
const { namespace: t = "n", blockPrefix: n = `.${t}-`, elementPrefix: o = "__", modifierPrefix: r = "--" } = e ?? {}, i =
|
|
331
|
+
function ct(e) {
|
|
332
|
+
const { namespace: t = "n", blockPrefix: n = `.${t}-`, elementPrefix: o = "__", modifierPrefix: r = "--" } = e ?? {}, i = at(), s = qe({
|
|
333
333
|
blockPrefix: n,
|
|
334
334
|
elementPrefix: o,
|
|
335
335
|
modifierPrefix: r
|
|
@@ -343,29 +343,29 @@ function dt(e) {
|
|
|
343
343
|
plugin: s
|
|
344
344
|
};
|
|
345
345
|
}
|
|
346
|
-
const
|
|
347
|
-
function
|
|
346
|
+
const dt = "@css-render/vue3-ssr";
|
|
347
|
+
function ft(e, t) {
|
|
348
348
|
return `<style cssr-id="${e}">
|
|
349
349
|
${t}
|
|
350
350
|
</style>`;
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function ht(e, t, n) {
|
|
353
353
|
const { styles: o, ids: r } = n;
|
|
354
|
-
r.has(e) || o !== null && (r.add(e), o.push(
|
|
354
|
+
r.has(e) || o !== null && (r.add(e), o.push(ft(e, t)));
|
|
355
355
|
}
|
|
356
|
-
const
|
|
357
|
-
function
|
|
358
|
-
if (
|
|
356
|
+
const mt = typeof document < "u";
|
|
357
|
+
function vt() {
|
|
358
|
+
if (mt)
|
|
359
359
|
return;
|
|
360
|
-
const e =
|
|
360
|
+
const e = Le(dt, null);
|
|
361
361
|
if (e !== null)
|
|
362
362
|
return {
|
|
363
|
-
adapter: (t, n) =>
|
|
363
|
+
adapter: (t, n) => ht(t, n, e),
|
|
364
364
|
context: e
|
|
365
365
|
};
|
|
366
366
|
}
|
|
367
|
-
function
|
|
368
|
-
const n =
|
|
367
|
+
function bt(e, t) {
|
|
368
|
+
const n = vt();
|
|
369
369
|
function o() {
|
|
370
370
|
t.mount({
|
|
371
371
|
id: e,
|
|
@@ -373,12 +373,360 @@ function gt(e, t) {
|
|
|
373
373
|
ssr: n
|
|
374
374
|
});
|
|
375
375
|
}
|
|
376
|
-
n ? o() :
|
|
376
|
+
n ? o() : je(() => {
|
|
377
377
|
o();
|
|
378
378
|
});
|
|
379
379
|
}
|
|
380
|
-
|
|
381
|
-
|
|
380
|
+
function Se(e) {
|
|
381
|
+
return Te() ? (Pe(e), !0) : !1;
|
|
382
|
+
}
|
|
383
|
+
const pt = typeof window < "u" && typeof document < "u";
|
|
384
|
+
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
385
|
+
const gt = Object.prototype.toString, xt = (e) => gt.call(e) === "[object Object]", ce = () => {
|
|
386
|
+
};
|
|
387
|
+
function yt(e, t) {
|
|
388
|
+
function n(...o) {
|
|
389
|
+
return new Promise((r, i) => {
|
|
390
|
+
Promise.resolve(e(() => t.apply(this, o), { fn: t, thisArg: this, args: o })).then(r).catch(i);
|
|
391
|
+
});
|
|
392
|
+
}
|
|
393
|
+
return n;
|
|
394
|
+
}
|
|
395
|
+
function $t(e, t = {}) {
|
|
396
|
+
let n, o, r = ce;
|
|
397
|
+
const i = (f) => {
|
|
398
|
+
clearTimeout(f), r(), r = ce;
|
|
399
|
+
};
|
|
400
|
+
let s;
|
|
401
|
+
return (f) => {
|
|
402
|
+
const d = T(e), a = T(t.maxWait);
|
|
403
|
+
return n && i(n), d <= 0 || a !== void 0 && a <= 0 ? (o && (i(o), o = void 0), Promise.resolve(f())) : new Promise((c, b) => {
|
|
404
|
+
r = t.rejectOnCancel ? b : c, s = f, a && !o && (o = setTimeout(() => {
|
|
405
|
+
n && i(n), o = void 0, c(s());
|
|
406
|
+
}, a)), n = setTimeout(() => {
|
|
407
|
+
o && i(o), o = void 0, c(f());
|
|
408
|
+
}, d);
|
|
409
|
+
});
|
|
410
|
+
};
|
|
411
|
+
}
|
|
412
|
+
function q(e) {
|
|
413
|
+
return Array.isArray(e) ? e : [e];
|
|
414
|
+
}
|
|
415
|
+
function kt(e) {
|
|
416
|
+
return ke();
|
|
417
|
+
}
|
|
418
|
+
// @__NO_SIDE_EFFECTS__
|
|
419
|
+
function wt(e, t = 200, n = {}) {
|
|
420
|
+
return yt(
|
|
421
|
+
$t(t, n),
|
|
422
|
+
e
|
|
423
|
+
);
|
|
424
|
+
}
|
|
425
|
+
function Ct(e, t = !0, n) {
|
|
426
|
+
kt() ? ye(e, n) : t ? e() : $e(e);
|
|
427
|
+
}
|
|
428
|
+
function It(e, t, n) {
|
|
429
|
+
return O(
|
|
430
|
+
e,
|
|
431
|
+
t,
|
|
432
|
+
{
|
|
433
|
+
...n,
|
|
434
|
+
immediate: !0
|
|
435
|
+
}
|
|
436
|
+
);
|
|
437
|
+
}
|
|
438
|
+
const ne = pt ? window : void 0;
|
|
439
|
+
function j(e) {
|
|
440
|
+
var t;
|
|
441
|
+
const n = T(e);
|
|
442
|
+
return (t = n?.$el) != null ? t : n;
|
|
443
|
+
}
|
|
444
|
+
function Et(...e) {
|
|
445
|
+
const t = [], n = () => {
|
|
446
|
+
t.forEach((u) => u()), t.length = 0;
|
|
447
|
+
}, o = (u, f, d, a) => (u.addEventListener(f, d, a), () => u.removeEventListener(f, d, a)), r = S(() => {
|
|
448
|
+
const u = q(T(e[0])).filter((f) => f != null);
|
|
449
|
+
return u.every((f) => typeof f != "string") ? u : void 0;
|
|
450
|
+
}), i = It(
|
|
451
|
+
() => {
|
|
452
|
+
var u, f;
|
|
453
|
+
return [
|
|
454
|
+
(f = (u = r.value) == null ? void 0 : u.map((d) => j(d))) != null ? f : [ne].filter((d) => d != null),
|
|
455
|
+
q(T(r.value ? e[1] : e[0])),
|
|
456
|
+
q(p(r.value ? e[2] : e[1])),
|
|
457
|
+
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
458
|
+
T(r.value ? e[3] : e[2])
|
|
459
|
+
];
|
|
460
|
+
},
|
|
461
|
+
([u, f, d, a]) => {
|
|
462
|
+
if (n(), !u?.length || !f?.length || !d?.length)
|
|
463
|
+
return;
|
|
464
|
+
const c = xt(a) ? { ...a } : a;
|
|
465
|
+
t.push(
|
|
466
|
+
...u.flatMap(
|
|
467
|
+
(b) => f.flatMap(
|
|
468
|
+
(M) => d.map((l) => o(b, M, l, c))
|
|
469
|
+
)
|
|
470
|
+
)
|
|
471
|
+
);
|
|
472
|
+
},
|
|
473
|
+
{ flush: "post" }
|
|
474
|
+
), s = () => {
|
|
475
|
+
i(), n();
|
|
476
|
+
};
|
|
477
|
+
return Se(n), s;
|
|
478
|
+
}
|
|
479
|
+
// @__NO_SIDE_EFFECTS__
|
|
480
|
+
function St() {
|
|
481
|
+
const e = Q(!1), t = ke();
|
|
482
|
+
return t && ye(() => {
|
|
483
|
+
e.value = !0;
|
|
484
|
+
}, t), e;
|
|
485
|
+
}
|
|
486
|
+
// @__NO_SIDE_EFFECTS__
|
|
487
|
+
function Nt(e) {
|
|
488
|
+
const t = /* @__PURE__ */ St();
|
|
489
|
+
return S(() => (t.value, !!e()));
|
|
490
|
+
}
|
|
491
|
+
function Mt(e, t, n = {}) {
|
|
492
|
+
const { window: o = ne, ...r } = n;
|
|
493
|
+
let i;
|
|
494
|
+
const s = /* @__PURE__ */ Nt(() => o && "ResizeObserver" in o), u = () => {
|
|
495
|
+
i && (i.disconnect(), i = void 0);
|
|
496
|
+
}, f = S(() => {
|
|
497
|
+
const c = T(e);
|
|
498
|
+
return Array.isArray(c) ? c.map((b) => j(b)) : [j(c)];
|
|
499
|
+
}), d = O(
|
|
500
|
+
f,
|
|
501
|
+
(c) => {
|
|
502
|
+
if (u(), s.value && o) {
|
|
503
|
+
i = new ResizeObserver(t);
|
|
504
|
+
for (const b of c)
|
|
505
|
+
b && i.observe(b, r);
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
{ immediate: !0, flush: "post" }
|
|
509
|
+
), a = () => {
|
|
510
|
+
u(), d();
|
|
511
|
+
};
|
|
512
|
+
return Se(a), {
|
|
513
|
+
isSupported: s,
|
|
514
|
+
stop: a
|
|
515
|
+
};
|
|
516
|
+
}
|
|
517
|
+
function At(e, t = { width: 0, height: 0 }, n = {}) {
|
|
518
|
+
const { window: o = ne, box: r = "content-box" } = n, i = S(() => {
|
|
519
|
+
var c, b;
|
|
520
|
+
return (b = (c = j(e)) == null ? void 0 : c.namespaceURI) == null ? void 0 : b.includes("svg");
|
|
521
|
+
}), s = Q(t.width), u = Q(t.height), { stop: f } = Mt(
|
|
522
|
+
e,
|
|
523
|
+
([c]) => {
|
|
524
|
+
const b = r === "border-box" ? c.borderBoxSize : r === "content-box" ? c.contentBoxSize : c.devicePixelContentBoxSize;
|
|
525
|
+
if (o && i.value) {
|
|
526
|
+
const M = j(e);
|
|
527
|
+
if (M) {
|
|
528
|
+
const l = M.getBoundingClientRect();
|
|
529
|
+
s.value = l.width, u.value = l.height;
|
|
530
|
+
}
|
|
531
|
+
} else if (b) {
|
|
532
|
+
const M = q(b);
|
|
533
|
+
s.value = M.reduce((l, { inlineSize: h }) => l + h, 0), u.value = M.reduce((l, { blockSize: h }) => l + h, 0);
|
|
534
|
+
} else
|
|
535
|
+
s.value = c.contentRect.width, u.value = c.contentRect.height;
|
|
536
|
+
},
|
|
537
|
+
n
|
|
538
|
+
);
|
|
539
|
+
Ct(() => {
|
|
540
|
+
const c = j(e);
|
|
541
|
+
c && (s.value = "offsetWidth" in c ? c.offsetWidth : t.width, u.value = "offsetHeight" in c ? c.offsetHeight : t.height);
|
|
542
|
+
});
|
|
543
|
+
const d = O(
|
|
544
|
+
() => j(e),
|
|
545
|
+
(c) => {
|
|
546
|
+
s.value = c ? t.width : 0, u.value = c ? t.height : 0;
|
|
547
|
+
}
|
|
548
|
+
);
|
|
549
|
+
function a() {
|
|
550
|
+
f(), d();
|
|
551
|
+
}
|
|
552
|
+
return {
|
|
553
|
+
width: s,
|
|
554
|
+
height: u,
|
|
555
|
+
stop: a
|
|
556
|
+
};
|
|
557
|
+
}
|
|
558
|
+
function Rt(e) {
|
|
559
|
+
const { activeClassName: t = ".active", enableWheel: n = !0, direction: o = "vertical" } = e ?? {}, r = ze(), { width: i, height: s } = At(r);
|
|
560
|
+
async function u(a) {
|
|
561
|
+
await $e();
|
|
562
|
+
const c = r.value?.querySelector(t);
|
|
563
|
+
c && c.scrollIntoView({
|
|
564
|
+
behavior: "smooth",
|
|
565
|
+
block: "nearest",
|
|
566
|
+
inline: "nearest",
|
|
567
|
+
...a
|
|
568
|
+
});
|
|
569
|
+
}
|
|
570
|
+
function f(a) {
|
|
571
|
+
if (!n) return;
|
|
572
|
+
a.preventDefault();
|
|
573
|
+
const { deltaY: c } = a;
|
|
574
|
+
switch (o) {
|
|
575
|
+
case "vertical":
|
|
576
|
+
r.value?.scrollBy({
|
|
577
|
+
top: c > 0 ? s.value : -s.value,
|
|
578
|
+
behavior: "smooth"
|
|
579
|
+
});
|
|
580
|
+
break;
|
|
581
|
+
case "horizontal":
|
|
582
|
+
r.value?.scrollBy({
|
|
583
|
+
left: c > 0 ? i.value : -i.value,
|
|
584
|
+
behavior: "smooth"
|
|
585
|
+
});
|
|
586
|
+
break;
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
Et(r, "wheel", f);
|
|
590
|
+
const d = /* @__PURE__ */ wt(u, 500);
|
|
591
|
+
return O([i, s], () => {
|
|
592
|
+
d();
|
|
593
|
+
}), {
|
|
594
|
+
scrollRef: r,
|
|
595
|
+
scrollToView: u
|
|
596
|
+
};
|
|
597
|
+
}
|
|
598
|
+
var Bt = { grad: 0.9, turn: 360, rad: 360 / (2 * Math.PI) }, R = function(e) {
|
|
599
|
+
return typeof e == "string" ? e.length > 0 : typeof e == "number";
|
|
600
|
+
}, y = function(e, t, n) {
|
|
601
|
+
return t === void 0 && (t = 0), n === void 0 && (n = Math.pow(10, t)), Math.round(n * e) / n + 0;
|
|
602
|
+
}, N = function(e, t, n) {
|
|
603
|
+
return t === void 0 && (t = 0), n === void 0 && (n = 1), e > n ? n : e > t ? e : t;
|
|
604
|
+
}, Ne = function(e) {
|
|
605
|
+
return (e = isFinite(e) ? e % 360 : 0) > 0 ? e : e + 360;
|
|
606
|
+
}, de = function(e) {
|
|
607
|
+
return { r: N(e.r, 0, 255), g: N(e.g, 0, 255), b: N(e.b, 0, 255), a: N(e.a) };
|
|
608
|
+
}, Z = function(e) {
|
|
609
|
+
return { r: y(e.r), g: y(e.g), b: y(e.b), a: y(e.a, 3) };
|
|
610
|
+
}, Lt = /^#([0-9a-f]{3,8})$/i, H = function(e) {
|
|
611
|
+
var t = e.toString(16);
|
|
612
|
+
return t.length < 2 ? "0" + t : t;
|
|
613
|
+
}, Me = function(e) {
|
|
614
|
+
var t = e.r, n = e.g, o = e.b, r = e.a, i = Math.max(t, n, o), s = i - Math.min(t, n, o), u = s ? i === t ? (n - o) / s : i === n ? 2 + (o - t) / s : 4 + (t - n) / s : 0;
|
|
615
|
+
return { h: 60 * (u < 0 ? u + 6 : u), s: i ? s / i * 100 : 0, v: i / 255 * 100, a: r };
|
|
616
|
+
}, Ae = function(e) {
|
|
617
|
+
var t = e.h, n = e.s, o = e.v, r = e.a;
|
|
618
|
+
t = t / 360 * 6, n /= 100, o /= 100;
|
|
619
|
+
var i = Math.floor(t), s = o * (1 - n), u = o * (1 - (t - i) * n), f = o * (1 - (1 - t + i) * n), d = i % 6;
|
|
620
|
+
return { r: 255 * [o, u, s, s, f, o][d], g: 255 * [f, o, o, u, s, s][d], b: 255 * [s, s, f, o, o, u][d], a: r };
|
|
621
|
+
}, fe = function(e) {
|
|
622
|
+
return { h: Ne(e.h), s: N(e.s, 0, 100), l: N(e.l, 0, 100), a: N(e.a) };
|
|
623
|
+
}, he = function(e) {
|
|
624
|
+
return { h: y(e.h), s: y(e.s), l: y(e.l), a: y(e.a, 3) };
|
|
625
|
+
}, me = function(e) {
|
|
626
|
+
return Ae((n = (t = e).s, { h: t.h, s: (n *= ((o = t.l) < 50 ? o : 100 - o) / 100) > 0 ? 2 * n / (o + n) * 100 : 0, v: o + n, a: t.a }));
|
|
627
|
+
var t, n, o;
|
|
628
|
+
}, F = function(e) {
|
|
629
|
+
return { h: (t = Me(e)).h, s: (r = (200 - (n = t.s)) * (o = t.v) / 100) > 0 && r < 200 ? n * o / 100 / (r <= 100 ? r : 200 - r) * 100 : 0, l: r / 2, a: t.a };
|
|
630
|
+
var t, n, o, r;
|
|
631
|
+
}, jt = /^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, Tt = /^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, Pt = /^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, zt = /^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, ve = { string: [[function(e) {
|
|
632
|
+
var t = Lt.exec(e);
|
|
633
|
+
return t ? (e = t[1]).length <= 4 ? { r: parseInt(e[0] + e[0], 16), g: parseInt(e[1] + e[1], 16), b: parseInt(e[2] + e[2], 16), a: e.length === 4 ? y(parseInt(e[3] + e[3], 16) / 255, 2) : 1 } : e.length === 6 || e.length === 8 ? { r: parseInt(e.substr(0, 2), 16), g: parseInt(e.substr(2, 2), 16), b: parseInt(e.substr(4, 2), 16), a: e.length === 8 ? y(parseInt(e.substr(6, 2), 16) / 255, 2) : 1 } : null : null;
|
|
634
|
+
}, "hex"], [function(e) {
|
|
635
|
+
var t = Pt.exec(e) || zt.exec(e);
|
|
636
|
+
return t ? t[2] !== t[4] || t[4] !== t[6] ? null : de({ r: Number(t[1]) / (t[2] ? 100 / 255 : 1), g: Number(t[3]) / (t[4] ? 100 / 255 : 1), b: Number(t[5]) / (t[6] ? 100 / 255 : 1), a: t[7] === void 0 ? 1 : Number(t[7]) / (t[8] ? 100 : 1) }) : null;
|
|
637
|
+
}, "rgb"], [function(e) {
|
|
638
|
+
var t = jt.exec(e) || Tt.exec(e);
|
|
639
|
+
if (!t) return null;
|
|
640
|
+
var n, o, r = fe({ h: (n = t[1], o = t[2], o === void 0 && (o = "deg"), Number(n) * (Bt[o] || 1)), s: Number(t[3]), l: Number(t[4]), a: t[5] === void 0 ? 1 : Number(t[5]) / (t[6] ? 100 : 1) });
|
|
641
|
+
return me(r);
|
|
642
|
+
}, "hsl"]], object: [[function(e) {
|
|
643
|
+
var t = e.r, n = e.g, o = e.b, r = e.a, i = r === void 0 ? 1 : r;
|
|
644
|
+
return R(t) && R(n) && R(o) ? de({ r: Number(t), g: Number(n), b: Number(o), a: Number(i) }) : null;
|
|
645
|
+
}, "rgb"], [function(e) {
|
|
646
|
+
var t = e.h, n = e.s, o = e.l, r = e.a, i = r === void 0 ? 1 : r;
|
|
647
|
+
if (!R(t) || !R(n) || !R(o)) return null;
|
|
648
|
+
var s = fe({ h: Number(t), s: Number(n), l: Number(o), a: Number(i) });
|
|
649
|
+
return me(s);
|
|
650
|
+
}, "hsl"], [function(e) {
|
|
651
|
+
var t = e.h, n = e.s, o = e.v, r = e.a, i = r === void 0 ? 1 : r;
|
|
652
|
+
if (!R(t) || !R(n) || !R(o)) return null;
|
|
653
|
+
var s = (function(u) {
|
|
654
|
+
return { h: Ne(u.h), s: N(u.s, 0, 100), v: N(u.v, 0, 100), a: N(u.a) };
|
|
655
|
+
})({ h: Number(t), s: Number(n), v: Number(o), a: Number(i) });
|
|
656
|
+
return Ae(s);
|
|
657
|
+
}, "hsv"]] }, be = function(e, t) {
|
|
658
|
+
for (var n = 0; n < t.length; n++) {
|
|
659
|
+
var o = t[n][0](e);
|
|
660
|
+
if (o) return [o, t[n][1]];
|
|
661
|
+
}
|
|
662
|
+
return [null, void 0];
|
|
663
|
+
}, Ft = function(e) {
|
|
664
|
+
return typeof e == "string" ? be(e.trim(), ve.string) : typeof e == "object" && e !== null ? be(e, ve.object) : [null, void 0];
|
|
665
|
+
}, U = function(e, t) {
|
|
666
|
+
var n = F(e);
|
|
667
|
+
return { h: n.h, s: N(n.s + 100 * t, 0, 100), l: n.l, a: n.a };
|
|
668
|
+
}, Y = function(e) {
|
|
669
|
+
return (299 * e.r + 587 * e.g + 114 * e.b) / 1e3 / 255;
|
|
670
|
+
}, pe = function(e, t) {
|
|
671
|
+
var n = F(e);
|
|
672
|
+
return { h: n.h, s: n.s, l: N(n.l + 100 * t, 0, 100), a: n.a };
|
|
673
|
+
}, ge = (function() {
|
|
674
|
+
function e(t) {
|
|
675
|
+
this.parsed = Ft(t)[0], this.rgba = this.parsed || { r: 0, g: 0, b: 0, a: 1 };
|
|
676
|
+
}
|
|
677
|
+
return e.prototype.isValid = function() {
|
|
678
|
+
return this.parsed !== null;
|
|
679
|
+
}, e.prototype.brightness = function() {
|
|
680
|
+
return y(Y(this.rgba), 2);
|
|
681
|
+
}, e.prototype.isDark = function() {
|
|
682
|
+
return Y(this.rgba) < 0.5;
|
|
683
|
+
}, e.prototype.isLight = function() {
|
|
684
|
+
return Y(this.rgba) >= 0.5;
|
|
685
|
+
}, e.prototype.toHex = function() {
|
|
686
|
+
return t = Z(this.rgba), n = t.r, o = t.g, r = t.b, s = (i = t.a) < 1 ? H(y(255 * i)) : "", "#" + H(n) + H(o) + H(r) + s;
|
|
687
|
+
var t, n, o, r, i, s;
|
|
688
|
+
}, e.prototype.toRgb = function() {
|
|
689
|
+
return Z(this.rgba);
|
|
690
|
+
}, e.prototype.toRgbString = function() {
|
|
691
|
+
return t = Z(this.rgba), n = t.r, o = t.g, r = t.b, (i = t.a) < 1 ? "rgba(" + n + ", " + o + ", " + r + ", " + i + ")" : "rgb(" + n + ", " + o + ", " + r + ")";
|
|
692
|
+
var t, n, o, r, i;
|
|
693
|
+
}, e.prototype.toHsl = function() {
|
|
694
|
+
return he(F(this.rgba));
|
|
695
|
+
}, e.prototype.toHslString = function() {
|
|
696
|
+
return t = he(F(this.rgba)), n = t.h, o = t.s, r = t.l, (i = t.a) < 1 ? "hsla(" + n + ", " + o + "%, " + r + "%, " + i + ")" : "hsl(" + n + ", " + o + "%, " + r + "%)";
|
|
697
|
+
var t, n, o, r, i;
|
|
698
|
+
}, e.prototype.toHsv = function() {
|
|
699
|
+
return t = Me(this.rgba), { h: y(t.h), s: y(t.s), v: y(t.v), a: y(t.a, 3) };
|
|
700
|
+
var t;
|
|
701
|
+
}, e.prototype.invert = function() {
|
|
702
|
+
return E({ r: 255 - (t = this.rgba).r, g: 255 - t.g, b: 255 - t.b, a: t.a });
|
|
703
|
+
var t;
|
|
704
|
+
}, e.prototype.saturate = function(t) {
|
|
705
|
+
return t === void 0 && (t = 0.1), E(U(this.rgba, t));
|
|
706
|
+
}, e.prototype.desaturate = function(t) {
|
|
707
|
+
return t === void 0 && (t = 0.1), E(U(this.rgba, -t));
|
|
708
|
+
}, e.prototype.grayscale = function() {
|
|
709
|
+
return E(U(this.rgba, -1));
|
|
710
|
+
}, e.prototype.lighten = function(t) {
|
|
711
|
+
return t === void 0 && (t = 0.1), E(pe(this.rgba, t));
|
|
712
|
+
}, e.prototype.darken = function(t) {
|
|
713
|
+
return t === void 0 && (t = 0.1), E(pe(this.rgba, -t));
|
|
714
|
+
}, e.prototype.rotate = function(t) {
|
|
715
|
+
return t === void 0 && (t = 15), this.hue(this.hue() + t);
|
|
716
|
+
}, e.prototype.alpha = function(t) {
|
|
717
|
+
return typeof t == "number" ? E({ r: (n = this.rgba).r, g: n.g, b: n.b, a: t }) : y(this.rgba.a, 3);
|
|
718
|
+
var n;
|
|
719
|
+
}, e.prototype.hue = function(t) {
|
|
720
|
+
var n = F(this.rgba);
|
|
721
|
+
return typeof t == "number" ? E({ h: t, s: n.s, l: n.l, a: n.a }) : y(n.h);
|
|
722
|
+
}, e.prototype.isEqual = function(t) {
|
|
723
|
+
return this.toHex() === E(t).toHex();
|
|
724
|
+
}, e;
|
|
725
|
+
})(), E = function(e) {
|
|
726
|
+
return e instanceof ge ? e : new ge(e);
|
|
727
|
+
};
|
|
728
|
+
const { cssr: Ot, plugin: Vt, namespace: Re } = ct(), { c: g, cB: W, cE: x, cM: J, cNotM: xe } = { ...Ot, ...Vt }, z = `${Re}-chrome-tabs`, w = `${Re}-chrome-tabs-item`, P = "all .2s cubic-bezier(.4, 0, .2, 1)";
|
|
729
|
+
function Dt() {
|
|
382
730
|
return g([
|
|
383
731
|
W("chrome-tabs", {
|
|
384
732
|
display: "flex",
|
|
@@ -393,7 +741,7 @@ function $t() {
|
|
|
393
741
|
boxSizing: "border-box"
|
|
394
742
|
}),
|
|
395
743
|
g(".group-move, .group-enter-active, .group-leave-active", {
|
|
396
|
-
transition:
|
|
744
|
+
transition: P
|
|
397
745
|
}),
|
|
398
746
|
g(".group-enter-from, .group-leave-to", {
|
|
399
747
|
opacity: 0
|
|
@@ -409,7 +757,7 @@ function $t() {
|
|
|
409
757
|
padding: "5px",
|
|
410
758
|
borderRadius: "10px",
|
|
411
759
|
backgroundColor: "var(--active-background-color)",
|
|
412
|
-
transition:
|
|
760
|
+
transition: P
|
|
413
761
|
}, [
|
|
414
762
|
g("svg", {
|
|
415
763
|
width: "100%",
|
|
@@ -454,20 +802,20 @@ function $t() {
|
|
|
454
802
|
flexShrink: 0,
|
|
455
803
|
cursor: "default",
|
|
456
804
|
userSelect: "none",
|
|
457
|
-
padding: "6px
|
|
805
|
+
padding: "6px 15px 0px 15px"
|
|
458
806
|
}, [
|
|
459
|
-
|
|
807
|
+
J("disabled", {
|
|
460
808
|
cursor: "not-allowed",
|
|
461
809
|
pointerEvents: "none",
|
|
462
810
|
opacity: 0.5,
|
|
463
811
|
filter: "grayscale(0.5)"
|
|
464
812
|
}),
|
|
465
|
-
|
|
813
|
+
J("active", [
|
|
466
814
|
x("background", {
|
|
467
815
|
opacity: 1
|
|
468
816
|
})
|
|
469
817
|
]),
|
|
470
|
-
|
|
818
|
+
xe("active", [
|
|
471
819
|
g("&:hover", {}, [
|
|
472
820
|
x("content", {
|
|
473
821
|
backgroundColor: "var(--primary-color)"
|
|
@@ -489,7 +837,7 @@ function $t() {
|
|
|
489
837
|
gap: "5px",
|
|
490
838
|
borderRadius: "10px",
|
|
491
839
|
padding: "0 10px",
|
|
492
|
-
transition:
|
|
840
|
+
transition: P
|
|
493
841
|
}),
|
|
494
842
|
x("slot", {}),
|
|
495
843
|
x("icon", {
|
|
@@ -509,7 +857,7 @@ function $t() {
|
|
|
509
857
|
alignItems: "center",
|
|
510
858
|
justifyContent: "center",
|
|
511
859
|
borderRadius: "50%",
|
|
512
|
-
transition:
|
|
860
|
+
transition: P
|
|
513
861
|
}, [
|
|
514
862
|
g("&:hover", {
|
|
515
863
|
backgroundColor: "rgba(0,0,0,0.1)"
|
|
@@ -530,7 +878,7 @@ function $t() {
|
|
|
530
878
|
width: "100%",
|
|
531
879
|
display: "flex",
|
|
532
880
|
alignItems: "flex-end",
|
|
533
|
-
transition:
|
|
881
|
+
transition: P
|
|
534
882
|
}, [
|
|
535
883
|
x("block", {
|
|
536
884
|
height: "100%",
|
|
@@ -550,11 +898,11 @@ function $t() {
|
|
|
550
898
|
height: "16px",
|
|
551
899
|
width: "2px",
|
|
552
900
|
borderRadius: "1px",
|
|
553
|
-
transition:
|
|
901
|
+
transition: P,
|
|
554
902
|
backgroundColor: "var(--primary-color)",
|
|
555
903
|
opacity: 0
|
|
556
904
|
}, [
|
|
557
|
-
|
|
905
|
+
J("show", {
|
|
558
906
|
opacity: 1
|
|
559
907
|
})
|
|
560
908
|
])
|
|
@@ -573,7 +921,7 @@ function $t() {
|
|
|
573
921
|
])
|
|
574
922
|
]),
|
|
575
923
|
W("chrome-tabs-item", {}, [
|
|
576
|
-
|
|
924
|
+
xe("active", [
|
|
577
925
|
g("&:hover", {}, [
|
|
578
926
|
x("content", {
|
|
579
927
|
backgroundColor: "var(--primary-color-dark)"
|
|
@@ -592,587 +940,246 @@ function $t() {
|
|
|
592
940
|
])
|
|
593
941
|
]);
|
|
594
942
|
}
|
|
595
|
-
const
|
|
943
|
+
const G = (e, t) => {
|
|
596
944
|
const n = e.__vccOpts || e;
|
|
597
945
|
for (const [o, r] of t)
|
|
598
946
|
n[o] = r;
|
|
599
947
|
return n;
|
|
600
|
-
},
|
|
948
|
+
}, Ht = {
|
|
949
|
+
name: "RiAddLine"
|
|
950
|
+
}, Wt = {
|
|
951
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
952
|
+
width: "1em",
|
|
953
|
+
height: "1em",
|
|
954
|
+
viewBox: "0 0 24 24"
|
|
955
|
+
};
|
|
956
|
+
function Kt(e, t, n, o, r, i) {
|
|
957
|
+
return I(), A("svg", Wt, t[0] || (t[0] = [
|
|
958
|
+
$("path", {
|
|
959
|
+
fill: "#757575",
|
|
960
|
+
d: "M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z"
|
|
961
|
+
}, null, -1)
|
|
962
|
+
]));
|
|
963
|
+
}
|
|
964
|
+
const qt = /* @__PURE__ */ G(Ht, [["render", Kt]]), Gt = {
|
|
965
|
+
name: "RiArrowDropDownLine"
|
|
966
|
+
}, Zt = {
|
|
967
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
968
|
+
width: "1em",
|
|
969
|
+
height: "1em",
|
|
970
|
+
viewBox: "0 0 24 24"
|
|
971
|
+
};
|
|
972
|
+
function Ut(e, t, n, o, r, i) {
|
|
973
|
+
return I(), A("svg", Zt, t[0] || (t[0] = [
|
|
974
|
+
$("path", {
|
|
975
|
+
fill: "#757575",
|
|
976
|
+
d: "m12 15l-4.243-4.242l1.415-1.414L12 12.172l2.828-2.828l1.415 1.414z"
|
|
977
|
+
}, null, -1)
|
|
978
|
+
]));
|
|
979
|
+
}
|
|
980
|
+
const Yt = /* @__PURE__ */ G(Gt, [["render", Ut]]), Jt = {
|
|
601
981
|
name: "LineMdLoadingTwotoneLoop"
|
|
602
|
-
},
|
|
982
|
+
}, Qt = {
|
|
603
983
|
xmlns: "http://www.w3.org/2000/svg",
|
|
604
984
|
width: "1em",
|
|
605
985
|
height: "1em",
|
|
606
986
|
viewBox: "0 0 24 24"
|
|
607
987
|
};
|
|
608
|
-
function
|
|
609
|
-
return
|
|
610
|
-
|
|
988
|
+
function Xt(e, t, n, o, r, i) {
|
|
989
|
+
return I(), A("svg", Qt, t[0] || (t[0] = [
|
|
990
|
+
Fe('<g fill="none" stroke="#757575" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path stroke-dasharray="16" stroke-dashoffset="16" d="M12 3c4.97 0 9 4.03 9 9"><animate fill="freeze" attributeName="stroke-dashoffset" dur="0.3s" values="16;0"></animate><animateTransform attributeName="transform" dur="1.5s" repeatCount="indefinite" type="rotate" values="0 12 12;360 12 12"></animateTransform></path><path stroke-dasharray="64" stroke-dashoffset="64" stroke-opacity=".3" d="M12 3c4.97 0 9 4.03 9 9c0 4.97 -4.03 9 -9 9c-4.97 0 -9 -4.03 -9 -9c0 -4.97 4.03 -9 9 -9Z"><animate fill="freeze" attributeName="stroke-dashoffset" dur="1.2s" values="64;0"></animate></path></g>', 1)
|
|
611
991
|
]));
|
|
612
992
|
}
|
|
613
|
-
const
|
|
993
|
+
const _t = /* @__PURE__ */ G(Jt, [["render", Xt]]), en = {
|
|
614
994
|
name: "RiCloseLine"
|
|
615
|
-
},
|
|
995
|
+
}, tn = {
|
|
616
996
|
xmlns: "http://www.w3.org/2000/svg",
|
|
617
997
|
width: "1em",
|
|
618
998
|
height: "1em",
|
|
619
999
|
viewBox: "0 0 24 24"
|
|
620
1000
|
};
|
|
621
|
-
function
|
|
622
|
-
return
|
|
623
|
-
|
|
1001
|
+
function nn(e, t, n, o, r, i) {
|
|
1002
|
+
return I(), A("svg", tn, t[0] || (t[0] = [
|
|
1003
|
+
$("path", {
|
|
624
1004
|
fill: "#757575",
|
|
625
1005
|
d: "m12 10.587l4.95-4.95l1.414 1.414l-4.95 4.95l4.95 4.95l-1.415 1.414l-4.95-4.95l-4.949 4.95l-1.414-1.415l4.95-4.95l-4.95-4.95L7.05 5.638z"
|
|
626
1006
|
}, null, -1)
|
|
627
1007
|
]));
|
|
628
1008
|
}
|
|
629
|
-
const
|
|
1009
|
+
const on = /* @__PURE__ */ G(en, [["render", nn]]), rn = /* @__PURE__ */ we({
|
|
630
1010
|
__name: "TabItem",
|
|
631
1011
|
props: {
|
|
632
1012
|
label: { type: [String, Function] },
|
|
633
1013
|
icon: { type: Function },
|
|
634
|
-
closable: { type: Boolean },
|
|
635
|
-
disabled: { type: Boolean },
|
|
636
|
-
loading: { type: Boolean },
|
|
1014
|
+
closable: { type: [Boolean, Function] },
|
|
1015
|
+
disabled: { type: [Boolean, Function] },
|
|
1016
|
+
loading: { type: [Boolean, Function] },
|
|
637
1017
|
loadingIcon: { type: Function },
|
|
638
1018
|
onClick: { type: Function },
|
|
639
1019
|
onContextMenu: { type: Function },
|
|
640
1020
|
onClose: { type: Function },
|
|
1021
|
+
class: {},
|
|
1022
|
+
style: {},
|
|
641
1023
|
activeIndex: { default: 0 },
|
|
642
|
-
|
|
1024
|
+
itemIndex: {},
|
|
1025
|
+
itemKey: {}
|
|
643
1026
|
},
|
|
644
1027
|
emits: ["itemClick", "itemContextmenu", "itemClose"],
|
|
645
1028
|
setup(e, { emit: t }) {
|
|
646
|
-
const n = t, o =
|
|
647
|
-
function u(
|
|
648
|
-
|
|
1029
|
+
const n = t, o = S(() => e.activeIndex !== e.itemIndex && e.activeIndex - 1 !== e.itemIndex), r = S(() => e.activeIndex === e.itemIndex), i = S(() => typeof e.label == "string" ? oe("span", { class: `${w}__label` }, e.label) : e.label(e.itemKey, e.itemIndex)), s = S(() => e.loadingIcon?.(e.itemKey, e.itemIndex) ?? oe(_t));
|
|
1030
|
+
function u(a) {
|
|
1031
|
+
a.stopPropagation(), n("itemClick", a), e.onClick?.(e.itemKey, e.itemIndex, a);
|
|
649
1032
|
}
|
|
650
|
-
function f(
|
|
651
|
-
n("itemContextmenu",
|
|
1033
|
+
function f(a) {
|
|
1034
|
+
n("itemContextmenu", a), e.onContextMenu?.(e.itemKey, e.itemIndex, a);
|
|
652
1035
|
}
|
|
653
|
-
function
|
|
654
|
-
n("itemClose"), e.onClose?.();
|
|
1036
|
+
function d(a) {
|
|
1037
|
+
n("itemClose"), e.onClose?.(e.itemKey, e.itemIndex, a);
|
|
655
1038
|
}
|
|
656
|
-
return (
|
|
1039
|
+
return (a, c) => (I(), A("div", {
|
|
657
1040
|
class: C([
|
|
658
|
-
|
|
1041
|
+
p(w),
|
|
659
1042
|
{
|
|
660
|
-
[`${
|
|
661
|
-
[`${
|
|
1043
|
+
[`${p(w)}--active`]: r.value,
|
|
1044
|
+
[`${p(w)}--disabled`]: typeof a.disabled == "function" ? a.disabled(a.itemKey, a.itemIndex) : a.disabled
|
|
662
1045
|
}
|
|
663
1046
|
]),
|
|
664
1047
|
onClick: u,
|
|
665
1048
|
onContextmenu: f
|
|
666
1049
|
}, [
|
|
667
|
-
|
|
668
|
-
class: C([`${
|
|
1050
|
+
$("div", {
|
|
1051
|
+
class: C([`${p(w)}__content`])
|
|
669
1052
|
}, [
|
|
670
|
-
|
|
671
|
-
class: C([`${
|
|
1053
|
+
$("div", {
|
|
1054
|
+
class: C([`${p(w)}__icon`])
|
|
672
1055
|
}, [
|
|
673
|
-
(
|
|
1056
|
+
(I(), _(re(typeof a.loading == "function" ? a.loading(a.itemKey, a.itemIndex) : a.loading ? s.value : a.icon?.(a.itemKey, a.itemIndex) ?? void 0)))
|
|
674
1057
|
], 2),
|
|
675
|
-
|
|
676
|
-
class: C([`${
|
|
1058
|
+
$("div", {
|
|
1059
|
+
class: C([`${p(w)}__slot`])
|
|
677
1060
|
}, [
|
|
678
|
-
(
|
|
1061
|
+
(I(), _(re(i.value)))
|
|
679
1062
|
], 2),
|
|
680
|
-
|
|
1063
|
+
(typeof a.closable == "function" ? a.closable(a.itemKey, a.itemIndex) : a.closable) ? (I(), A("div", {
|
|
681
1064
|
key: 0,
|
|
682
|
-
class: C([`${
|
|
683
|
-
onClick:
|
|
1065
|
+
class: C([`${p(w)}__close`]),
|
|
1066
|
+
onClick: Oe(d, ["stop"])
|
|
684
1067
|
}, [
|
|
685
|
-
|
|
686
|
-
], 2)) :
|
|
1068
|
+
K(on)
|
|
1069
|
+
], 2)) : X("", !0)
|
|
687
1070
|
], 2),
|
|
688
|
-
|
|
689
|
-
class: C([`${
|
|
1071
|
+
$("div", {
|
|
1072
|
+
class: C([`${p(w)}__background`])
|
|
690
1073
|
}, [
|
|
691
|
-
|
|
1074
|
+
c[0] || (c[0] = $("svg", {
|
|
692
1075
|
width: "10",
|
|
693
1076
|
height: "10"
|
|
694
1077
|
}, [
|
|
695
|
-
|
|
1078
|
+
$("path", { d: "M 0 10 A 10 10 0 0 0 10 0 L 10 10 Z" })
|
|
696
1079
|
], -1)),
|
|
697
|
-
|
|
698
|
-
class: C([`${
|
|
1080
|
+
$("div", {
|
|
1081
|
+
class: C([`${p(w)}__block`])
|
|
699
1082
|
}, null, 2),
|
|
700
|
-
|
|
1083
|
+
c[1] || (c[1] = $("svg", {
|
|
701
1084
|
width: "10",
|
|
702
1085
|
height: "10"
|
|
703
1086
|
}, [
|
|
704
|
-
|
|
1087
|
+
$("path", { d: "M 0 0 A 10 10 0 0 0 10 10 L 0 10 Z" })
|
|
705
1088
|
], -1))
|
|
706
1089
|
], 2),
|
|
707
|
-
|
|
708
|
-
class: C([`${
|
|
1090
|
+
$("div", {
|
|
1091
|
+
class: C([`${p(w)}__line`, o.value ? `${p(w)}__line--show` : ""])
|
|
709
1092
|
}, null, 2)
|
|
710
1093
|
], 34));
|
|
711
1094
|
}
|
|
712
|
-
})
|
|
713
|
-
function Se(e) {
|
|
714
|
-
return Pe() ? (ze(e), !0) : !1;
|
|
715
|
-
}
|
|
716
|
-
const At = typeof window < "u" && typeof document < "u";
|
|
717
|
-
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
718
|
-
const Rt = Object.prototype.toString, Bt = (e) => Rt.call(e) === "[object Object]", de = () => {
|
|
719
|
-
};
|
|
720
|
-
function Lt(e, t) {
|
|
721
|
-
function n(...o) {
|
|
722
|
-
return new Promise((r, i) => {
|
|
723
|
-
Promise.resolve(e(() => t.apply(this, o), { fn: t, thisArg: this, args: o })).then(r).catch(i);
|
|
724
|
-
});
|
|
725
|
-
}
|
|
726
|
-
return n;
|
|
727
|
-
}
|
|
728
|
-
function jt(e, t = {}) {
|
|
729
|
-
let n, o, r = de;
|
|
730
|
-
const i = (f) => {
|
|
731
|
-
clearTimeout(f), r(), r = de;
|
|
732
|
-
};
|
|
733
|
-
let s;
|
|
734
|
-
return (f) => {
|
|
735
|
-
const c = B(e), d = B(t.maxWait);
|
|
736
|
-
return n && i(n), c <= 0 || d !== void 0 && d <= 0 ? (o && (i(o), o = void 0), Promise.resolve(f())) : new Promise((a, v) => {
|
|
737
|
-
r = t.rejectOnCancel ? v : a, s = f, d && !o && (o = setTimeout(() => {
|
|
738
|
-
n && i(n), o = void 0, a(s());
|
|
739
|
-
}, d)), n = setTimeout(() => {
|
|
740
|
-
o && i(o), o = void 0, a(f());
|
|
741
|
-
}, c);
|
|
742
|
-
});
|
|
743
|
-
};
|
|
744
|
-
}
|
|
745
|
-
function G(e) {
|
|
746
|
-
return Array.isArray(e) ? e : [e];
|
|
747
|
-
}
|
|
748
|
-
function Tt(e) {
|
|
749
|
-
return Ce();
|
|
750
|
-
}
|
|
751
|
-
// @__NO_SIDE_EFFECTS__
|
|
752
|
-
function Pt(e, t = 200, n = {}) {
|
|
753
|
-
return Lt(
|
|
754
|
-
jt(t, n),
|
|
755
|
-
e
|
|
756
|
-
);
|
|
757
|
-
}
|
|
758
|
-
function zt(e, t = !0, n) {
|
|
759
|
-
Tt() ? ke(e, n) : t ? e() : we(e);
|
|
760
|
-
}
|
|
761
|
-
function Ot(e, t, n) {
|
|
762
|
-
return O(
|
|
763
|
-
e,
|
|
764
|
-
t,
|
|
765
|
-
{
|
|
766
|
-
...n,
|
|
767
|
-
immediate: !0
|
|
768
|
-
}
|
|
769
|
-
);
|
|
770
|
-
}
|
|
771
|
-
const oe = At ? window : void 0;
|
|
772
|
-
function R(e) {
|
|
773
|
-
var t;
|
|
774
|
-
const n = B(e);
|
|
775
|
-
return (t = n?.$el) != null ? t : n;
|
|
776
|
-
}
|
|
777
|
-
function Dt(...e) {
|
|
778
|
-
const t = [], n = () => {
|
|
779
|
-
t.forEach((u) => u()), t.length = 0;
|
|
780
|
-
}, o = (u, f, c, d) => (u.addEventListener(f, c, d), () => u.removeEventListener(f, c, d)), r = M(() => {
|
|
781
|
-
const u = G(B(e[0])).filter((f) => f != null);
|
|
782
|
-
return u.every((f) => typeof f != "string") ? u : void 0;
|
|
783
|
-
}), i = Ot(
|
|
784
|
-
() => {
|
|
785
|
-
var u, f;
|
|
786
|
-
return [
|
|
787
|
-
(f = (u = r.value) == null ? void 0 : u.map((c) => R(c))) != null ? f : [oe].filter((c) => c != null),
|
|
788
|
-
G(B(r.value ? e[1] : e[0])),
|
|
789
|
-
G(b(r.value ? e[2] : e[1])),
|
|
790
|
-
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
791
|
-
B(r.value ? e[3] : e[2])
|
|
792
|
-
];
|
|
793
|
-
},
|
|
794
|
-
([u, f, c, d]) => {
|
|
795
|
-
if (n(), !u?.length || !f?.length || !c?.length)
|
|
796
|
-
return;
|
|
797
|
-
const a = Bt(d) ? { ...d } : d;
|
|
798
|
-
t.push(
|
|
799
|
-
...u.flatMap(
|
|
800
|
-
(v) => f.flatMap(
|
|
801
|
-
(S) => c.map((l) => o(v, S, l, a))
|
|
802
|
-
)
|
|
803
|
-
)
|
|
804
|
-
);
|
|
805
|
-
},
|
|
806
|
-
{ flush: "post" }
|
|
807
|
-
), s = () => {
|
|
808
|
-
i(), n();
|
|
809
|
-
};
|
|
810
|
-
return Se(n), s;
|
|
811
|
-
}
|
|
812
|
-
// @__NO_SIDE_EFFECTS__
|
|
813
|
-
function Vt() {
|
|
814
|
-
const e = ee(!1), t = Ce();
|
|
815
|
-
return t && ke(() => {
|
|
816
|
-
e.value = !0;
|
|
817
|
-
}, t), e;
|
|
818
|
-
}
|
|
819
|
-
// @__NO_SIDE_EFFECTS__
|
|
820
|
-
function Ht(e) {
|
|
821
|
-
const t = /* @__PURE__ */ Vt();
|
|
822
|
-
return M(() => (t.value, !!e()));
|
|
823
|
-
}
|
|
824
|
-
function Wt(e, t, n = {}) {
|
|
825
|
-
const { window: o = oe, ...r } = n;
|
|
826
|
-
let i;
|
|
827
|
-
const s = /* @__PURE__ */ Ht(() => o && "ResizeObserver" in o), u = () => {
|
|
828
|
-
i && (i.disconnect(), i = void 0);
|
|
829
|
-
}, f = M(() => {
|
|
830
|
-
const a = B(e);
|
|
831
|
-
return Array.isArray(a) ? a.map((v) => R(v)) : [R(a)];
|
|
832
|
-
}), c = O(
|
|
833
|
-
f,
|
|
834
|
-
(a) => {
|
|
835
|
-
if (u(), s.value && o) {
|
|
836
|
-
i = new ResizeObserver(t);
|
|
837
|
-
for (const v of a)
|
|
838
|
-
v && i.observe(v, r);
|
|
839
|
-
}
|
|
840
|
-
},
|
|
841
|
-
{ immediate: !0, flush: "post" }
|
|
842
|
-
), d = () => {
|
|
843
|
-
u(), c();
|
|
844
|
-
};
|
|
845
|
-
return Se(d), {
|
|
846
|
-
isSupported: s,
|
|
847
|
-
stop: d
|
|
848
|
-
};
|
|
849
|
-
}
|
|
850
|
-
function Ft(e, t = { width: 0, height: 0 }, n = {}) {
|
|
851
|
-
const { window: o = oe, box: r = "content-box" } = n, i = M(() => {
|
|
852
|
-
var a, v;
|
|
853
|
-
return (v = (a = R(e)) == null ? void 0 : a.namespaceURI) == null ? void 0 : v.includes("svg");
|
|
854
|
-
}), s = ee(t.width), u = ee(t.height), { stop: f } = Wt(
|
|
855
|
-
e,
|
|
856
|
-
([a]) => {
|
|
857
|
-
const v = r === "border-box" ? a.borderBoxSize : r === "content-box" ? a.contentBoxSize : a.devicePixelContentBoxSize;
|
|
858
|
-
if (o && i.value) {
|
|
859
|
-
const S = R(e);
|
|
860
|
-
if (S) {
|
|
861
|
-
const l = S.getBoundingClientRect();
|
|
862
|
-
s.value = l.width, u.value = l.height;
|
|
863
|
-
}
|
|
864
|
-
} else if (v) {
|
|
865
|
-
const S = G(v);
|
|
866
|
-
s.value = S.reduce((l, { inlineSize: p }) => l + p, 0), u.value = S.reduce((l, { blockSize: p }) => l + p, 0);
|
|
867
|
-
} else
|
|
868
|
-
s.value = a.contentRect.width, u.value = a.contentRect.height;
|
|
869
|
-
},
|
|
870
|
-
n
|
|
871
|
-
);
|
|
872
|
-
zt(() => {
|
|
873
|
-
const a = R(e);
|
|
874
|
-
a && (s.value = "offsetWidth" in a ? a.offsetWidth : t.width, u.value = "offsetHeight" in a ? a.offsetHeight : t.height);
|
|
875
|
-
});
|
|
876
|
-
const c = O(
|
|
877
|
-
() => R(e),
|
|
878
|
-
(a) => {
|
|
879
|
-
s.value = a ? t.width : 0, u.value = a ? t.height : 0;
|
|
880
|
-
}
|
|
881
|
-
);
|
|
882
|
-
function d() {
|
|
883
|
-
f(), c();
|
|
884
|
-
}
|
|
885
|
-
return {
|
|
886
|
-
width: s,
|
|
887
|
-
height: u,
|
|
888
|
-
stop: d
|
|
889
|
-
};
|
|
890
|
-
}
|
|
891
|
-
function qt(e) {
|
|
892
|
-
const { activeClassName: t = ".active", enableWheel: n = !0, direction: o = "vertical" } = e ?? {}, r = Oe(), { width: i, height: s } = Ft(r);
|
|
893
|
-
async function u(d) {
|
|
894
|
-
await we();
|
|
895
|
-
const a = r.value?.querySelector(t);
|
|
896
|
-
a && a.scrollIntoView({
|
|
897
|
-
behavior: "smooth",
|
|
898
|
-
block: "nearest",
|
|
899
|
-
inline: "nearest",
|
|
900
|
-
...d
|
|
901
|
-
});
|
|
902
|
-
}
|
|
903
|
-
function f(d) {
|
|
904
|
-
if (!n) return;
|
|
905
|
-
d.preventDefault();
|
|
906
|
-
const { deltaY: a } = d;
|
|
907
|
-
switch (o) {
|
|
908
|
-
case "vertical":
|
|
909
|
-
r.value?.scrollBy({
|
|
910
|
-
top: a > 0 ? s.value : -s.value,
|
|
911
|
-
behavior: "smooth"
|
|
912
|
-
});
|
|
913
|
-
break;
|
|
914
|
-
case "horizontal":
|
|
915
|
-
r.value?.scrollBy({
|
|
916
|
-
left: a > 0 ? i.value : -i.value,
|
|
917
|
-
behavior: "smooth"
|
|
918
|
-
});
|
|
919
|
-
break;
|
|
920
|
-
}
|
|
921
|
-
}
|
|
922
|
-
Dt(r, "wheel", f);
|
|
923
|
-
const c = /* @__PURE__ */ Pt(u, 500);
|
|
924
|
-
return O([i, s], () => {
|
|
925
|
-
c();
|
|
926
|
-
}), {
|
|
927
|
-
scrollRef: r,
|
|
928
|
-
scrollToView: u
|
|
929
|
-
};
|
|
930
|
-
}
|
|
931
|
-
var Gt = { grad: 0.9, turn: 360, rad: 360 / (2 * Math.PI) }, A = function(e) {
|
|
932
|
-
return typeof e == "string" ? e.length > 0 : typeof e == "number";
|
|
933
|
-
}, y = function(e, t, n) {
|
|
934
|
-
return t === void 0 && (t = 0), n === void 0 && (n = Math.pow(10, t)), Math.round(n * e) / n + 0;
|
|
935
|
-
}, N = function(e, t, n) {
|
|
936
|
-
return t === void 0 && (t = 0), n === void 0 && (n = 1), e > n ? n : e > t ? e : t;
|
|
937
|
-
}, _e = function(e) {
|
|
938
|
-
return (e = isFinite(e) ? e % 360 : 0) > 0 ? e : e + 360;
|
|
939
|
-
}, he = function(e) {
|
|
940
|
-
return { r: N(e.r, 0, 255), g: N(e.g, 0, 255), b: N(e.b, 0, 255), a: N(e.a) };
|
|
941
|
-
}, K = function(e) {
|
|
942
|
-
return { r: y(e.r), g: y(e.g), b: y(e.b), a: y(e.a, 3) };
|
|
943
|
-
}, Zt = /^#([0-9a-f]{3,8})$/i, F = function(e) {
|
|
944
|
-
var t = e.toString(16);
|
|
945
|
-
return t.length < 2 ? "0" + t : t;
|
|
946
|
-
}, Ae = function(e) {
|
|
947
|
-
var t = e.r, n = e.g, o = e.b, r = e.a, i = Math.max(t, n, o), s = i - Math.min(t, n, o), u = s ? i === t ? (n - o) / s : i === n ? 2 + (o - t) / s : 4 + (t - n) / s : 0;
|
|
948
|
-
return { h: 60 * (u < 0 ? u + 6 : u), s: i ? s / i * 100 : 0, v: i / 255 * 100, a: r };
|
|
949
|
-
}, Re = function(e) {
|
|
950
|
-
var t = e.h, n = e.s, o = e.v, r = e.a;
|
|
951
|
-
t = t / 360 * 6, n /= 100, o /= 100;
|
|
952
|
-
var i = Math.floor(t), s = o * (1 - n), u = o * (1 - (t - i) * n), f = o * (1 - (1 - t + i) * n), c = i % 6;
|
|
953
|
-
return { r: 255 * [o, u, s, s, f, o][c], g: 255 * [f, o, o, u, s, s][c], b: 255 * [s, s, f, o, o, u][c], a: r };
|
|
954
|
-
}, me = function(e) {
|
|
955
|
-
return { h: _e(e.h), s: N(e.s, 0, 100), l: N(e.l, 0, 100), a: N(e.a) };
|
|
956
|
-
}, pe = function(e) {
|
|
957
|
-
return { h: y(e.h), s: y(e.s), l: y(e.l), a: y(e.a, 3) };
|
|
958
|
-
}, ve = function(e) {
|
|
959
|
-
return Re((n = (t = e).s, { h: t.h, s: (n *= ((o = t.l) < 50 ? o : 100 - o) / 100) > 0 ? 2 * n / (o + n) * 100 : 0, v: o + n, a: t.a }));
|
|
960
|
-
var t, n, o;
|
|
961
|
-
}, z = function(e) {
|
|
962
|
-
return { h: (t = Ae(e)).h, s: (r = (200 - (n = t.s)) * (o = t.v) / 100) > 0 && r < 200 ? n * o / 100 / (r <= 100 ? r : 200 - r) * 100 : 0, l: r / 2, a: t.a };
|
|
963
|
-
var t, n, o, r;
|
|
964
|
-
}, Ut = /^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, Kt = /^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, Yt = /^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, Jt = /^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, be = { string: [[function(e) {
|
|
965
|
-
var t = Zt.exec(e);
|
|
966
|
-
return t ? (e = t[1]).length <= 4 ? { r: parseInt(e[0] + e[0], 16), g: parseInt(e[1] + e[1], 16), b: parseInt(e[2] + e[2], 16), a: e.length === 4 ? y(parseInt(e[3] + e[3], 16) / 255, 2) : 1 } : e.length === 6 || e.length === 8 ? { r: parseInt(e.substr(0, 2), 16), g: parseInt(e.substr(2, 2), 16), b: parseInt(e.substr(4, 2), 16), a: e.length === 8 ? y(parseInt(e.substr(6, 2), 16) / 255, 2) : 1 } : null : null;
|
|
967
|
-
}, "hex"], [function(e) {
|
|
968
|
-
var t = Yt.exec(e) || Jt.exec(e);
|
|
969
|
-
return t ? t[2] !== t[4] || t[4] !== t[6] ? null : he({ r: Number(t[1]) / (t[2] ? 100 / 255 : 1), g: Number(t[3]) / (t[4] ? 100 / 255 : 1), b: Number(t[5]) / (t[6] ? 100 / 255 : 1), a: t[7] === void 0 ? 1 : Number(t[7]) / (t[8] ? 100 : 1) }) : null;
|
|
970
|
-
}, "rgb"], [function(e) {
|
|
971
|
-
var t = Ut.exec(e) || Kt.exec(e);
|
|
972
|
-
if (!t) return null;
|
|
973
|
-
var n, o, r = me({ h: (n = t[1], o = t[2], o === void 0 && (o = "deg"), Number(n) * (Gt[o] || 1)), s: Number(t[3]), l: Number(t[4]), a: t[5] === void 0 ? 1 : Number(t[5]) / (t[6] ? 100 : 1) });
|
|
974
|
-
return ve(r);
|
|
975
|
-
}, "hsl"]], object: [[function(e) {
|
|
976
|
-
var t = e.r, n = e.g, o = e.b, r = e.a, i = r === void 0 ? 1 : r;
|
|
977
|
-
return A(t) && A(n) && A(o) ? he({ r: Number(t), g: Number(n), b: Number(o), a: Number(i) }) : null;
|
|
978
|
-
}, "rgb"], [function(e) {
|
|
979
|
-
var t = e.h, n = e.s, o = e.l, r = e.a, i = r === void 0 ? 1 : r;
|
|
980
|
-
if (!A(t) || !A(n) || !A(o)) return null;
|
|
981
|
-
var s = me({ h: Number(t), s: Number(n), l: Number(o), a: Number(i) });
|
|
982
|
-
return ve(s);
|
|
983
|
-
}, "hsl"], [function(e) {
|
|
984
|
-
var t = e.h, n = e.s, o = e.v, r = e.a, i = r === void 0 ? 1 : r;
|
|
985
|
-
if (!A(t) || !A(n) || !A(o)) return null;
|
|
986
|
-
var s = function(u) {
|
|
987
|
-
return { h: _e(u.h), s: N(u.s, 0, 100), v: N(u.v, 0, 100), a: N(u.a) };
|
|
988
|
-
}({ h: Number(t), s: Number(n), v: Number(o), a: Number(i) });
|
|
989
|
-
return Re(s);
|
|
990
|
-
}, "hsv"]] }, ge = function(e, t) {
|
|
991
|
-
for (var n = 0; n < t.length; n++) {
|
|
992
|
-
var o = t[n][0](e);
|
|
993
|
-
if (o) return [o, t[n][1]];
|
|
994
|
-
}
|
|
995
|
-
return [null, void 0];
|
|
996
|
-
}, Qt = function(e) {
|
|
997
|
-
return typeof e == "string" ? ge(e.trim(), be.string) : typeof e == "object" && e !== null ? ge(e, be.object) : [null, void 0];
|
|
998
|
-
}, Y = function(e, t) {
|
|
999
|
-
var n = z(e);
|
|
1000
|
-
return { h: n.h, s: N(n.s + 100 * t, 0, 100), l: n.l, a: n.a };
|
|
1001
|
-
}, J = function(e) {
|
|
1002
|
-
return (299 * e.r + 587 * e.g + 114 * e.b) / 1e3 / 255;
|
|
1003
|
-
}, xe = function(e, t) {
|
|
1004
|
-
var n = z(e);
|
|
1005
|
-
return { h: n.h, s: n.s, l: N(n.l + 100 * t, 0, 100), a: n.a };
|
|
1006
|
-
}, ye = function() {
|
|
1007
|
-
function e(t) {
|
|
1008
|
-
this.parsed = Qt(t)[0], this.rgba = this.parsed || { r: 0, g: 0, b: 0, a: 1 };
|
|
1009
|
-
}
|
|
1010
|
-
return e.prototype.isValid = function() {
|
|
1011
|
-
return this.parsed !== null;
|
|
1012
|
-
}, e.prototype.brightness = function() {
|
|
1013
|
-
return y(J(this.rgba), 2);
|
|
1014
|
-
}, e.prototype.isDark = function() {
|
|
1015
|
-
return J(this.rgba) < 0.5;
|
|
1016
|
-
}, e.prototype.isLight = function() {
|
|
1017
|
-
return J(this.rgba) >= 0.5;
|
|
1018
|
-
}, e.prototype.toHex = function() {
|
|
1019
|
-
return t = K(this.rgba), n = t.r, o = t.g, r = t.b, s = (i = t.a) < 1 ? F(y(255 * i)) : "", "#" + F(n) + F(o) + F(r) + s;
|
|
1020
|
-
var t, n, o, r, i, s;
|
|
1021
|
-
}, e.prototype.toRgb = function() {
|
|
1022
|
-
return K(this.rgba);
|
|
1023
|
-
}, e.prototype.toRgbString = function() {
|
|
1024
|
-
return t = K(this.rgba), n = t.r, o = t.g, r = t.b, (i = t.a) < 1 ? "rgba(" + n + ", " + o + ", " + r + ", " + i + ")" : "rgb(" + n + ", " + o + ", " + r + ")";
|
|
1025
|
-
var t, n, o, r, i;
|
|
1026
|
-
}, e.prototype.toHsl = function() {
|
|
1027
|
-
return pe(z(this.rgba));
|
|
1028
|
-
}, e.prototype.toHslString = function() {
|
|
1029
|
-
return t = pe(z(this.rgba)), n = t.h, o = t.s, r = t.l, (i = t.a) < 1 ? "hsla(" + n + ", " + o + "%, " + r + "%, " + i + ")" : "hsl(" + n + ", " + o + "%, " + r + "%)";
|
|
1030
|
-
var t, n, o, r, i;
|
|
1031
|
-
}, e.prototype.toHsv = function() {
|
|
1032
|
-
return t = Ae(this.rgba), { h: y(t.h), s: y(t.s), v: y(t.v), a: y(t.a, 3) };
|
|
1033
|
-
var t;
|
|
1034
|
-
}, e.prototype.invert = function() {
|
|
1035
|
-
return I({ r: 255 - (t = this.rgba).r, g: 255 - t.g, b: 255 - t.b, a: t.a });
|
|
1036
|
-
var t;
|
|
1037
|
-
}, e.prototype.saturate = function(t) {
|
|
1038
|
-
return t === void 0 && (t = 0.1), I(Y(this.rgba, t));
|
|
1039
|
-
}, e.prototype.desaturate = function(t) {
|
|
1040
|
-
return t === void 0 && (t = 0.1), I(Y(this.rgba, -t));
|
|
1041
|
-
}, e.prototype.grayscale = function() {
|
|
1042
|
-
return I(Y(this.rgba, -1));
|
|
1043
|
-
}, e.prototype.lighten = function(t) {
|
|
1044
|
-
return t === void 0 && (t = 0.1), I(xe(this.rgba, t));
|
|
1045
|
-
}, e.prototype.darken = function(t) {
|
|
1046
|
-
return t === void 0 && (t = 0.1), I(xe(this.rgba, -t));
|
|
1047
|
-
}, e.prototype.rotate = function(t) {
|
|
1048
|
-
return t === void 0 && (t = 15), this.hue(this.hue() + t);
|
|
1049
|
-
}, e.prototype.alpha = function(t) {
|
|
1050
|
-
return typeof t == "number" ? I({ r: (n = this.rgba).r, g: n.g, b: n.b, a: t }) : y(this.rgba.a, 3);
|
|
1051
|
-
var n;
|
|
1052
|
-
}, e.prototype.hue = function(t) {
|
|
1053
|
-
var n = z(this.rgba);
|
|
1054
|
-
return typeof t == "number" ? I({ h: t, s: n.s, l: n.l, a: n.a }) : y(n.h);
|
|
1055
|
-
}, e.prototype.isEqual = function(t) {
|
|
1056
|
-
return this.toHex() === I(t).toHex();
|
|
1057
|
-
}, e;
|
|
1058
|
-
}(), I = function(e) {
|
|
1059
|
-
return e instanceof ye ? e : new ye(e);
|
|
1060
|
-
};
|
|
1061
|
-
const Xt = {
|
|
1062
|
-
name: "RiAddLine"
|
|
1063
|
-
}, en = {
|
|
1064
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1065
|
-
width: "1em",
|
|
1066
|
-
height: "1em",
|
|
1067
|
-
viewBox: "0 0 24 24"
|
|
1068
|
-
};
|
|
1069
|
-
function tn(e, t, n, o, r, i) {
|
|
1070
|
-
return E(), _("svg", en, t[0] || (t[0] = [
|
|
1071
|
-
k("path", {
|
|
1072
|
-
fill: "#757575",
|
|
1073
|
-
d: "M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z"
|
|
1074
|
-
}, null, -1)
|
|
1075
|
-
]));
|
|
1076
|
-
}
|
|
1077
|
-
const nn = /* @__PURE__ */ Z(Xt, [["render", tn]]), on = {
|
|
1078
|
-
name: "RiArrowDropDownLine"
|
|
1079
|
-
}, rn = {
|
|
1080
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1081
|
-
width: "1em",
|
|
1082
|
-
height: "1em",
|
|
1083
|
-
viewBox: "0 0 24 24"
|
|
1084
|
-
};
|
|
1085
|
-
function sn(e, t, n, o, r, i) {
|
|
1086
|
-
return E(), _("svg", rn, t[0] || (t[0] = [
|
|
1087
|
-
k("path", {
|
|
1088
|
-
fill: "#757575",
|
|
1089
|
-
d: "m12 15l-4.243-4.242l1.415-1.414L12 12.172l2.828-2.828l1.415 1.414z"
|
|
1090
|
-
}, null, -1)
|
|
1091
|
-
]));
|
|
1092
|
-
}
|
|
1093
|
-
const un = /* @__PURE__ */ Z(on, [["render", sn]]), an = /* @__PURE__ */ $e({
|
|
1095
|
+
}), un = /* @__PURE__ */ we({
|
|
1094
1096
|
__name: "Tabs",
|
|
1095
|
-
props:
|
|
1097
|
+
props: {
|
|
1098
|
+
value: {},
|
|
1096
1099
|
colors: {},
|
|
1097
1100
|
dropdown: { type: Boolean },
|
|
1098
1101
|
addable: { type: Boolean },
|
|
1099
|
-
options: {}
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
}
|
|
1104
|
-
emits:
|
|
1102
|
+
options: {},
|
|
1103
|
+
loadingValue: {},
|
|
1104
|
+
contentClass: {},
|
|
1105
|
+
contentStyle: {}
|
|
1106
|
+
},
|
|
1107
|
+
emits: ["update:value", "click", "contextmenu", "close", "add"],
|
|
1105
1108
|
setup(e, { emit: t }) {
|
|
1106
1109
|
const n = t;
|
|
1107
|
-
|
|
1108
|
-
const { background: o = "#
|
|
1109
|
-
O(
|
|
1110
|
-
|
|
1110
|
+
bt("n-chrome-tabs", Dt());
|
|
1111
|
+
const { background: o = "#F1F1F1", active: r = "#fff", primary: i = "rgba(0,0,0,.1)" } = e.colors ?? {}, s = S(() => e.value ? e.options?.findIndex((h) => h.key === e.value) : 0), { scrollRef: u, scrollToView: f } = Rt({ activeClassName: `.${w}--active`, direction: "horizontal" });
|
|
1112
|
+
O(() => e.value, () => {
|
|
1113
|
+
f();
|
|
1111
1114
|
}, {
|
|
1112
1115
|
immediate: !0
|
|
1113
1116
|
});
|
|
1114
|
-
const d =
|
|
1115
|
-
function
|
|
1116
|
-
n("click", h);
|
|
1117
|
+
const d = S(() => E(o).darken(0.9).toHex()), a = S(() => E(r).darken(0.8).toHex()), c = S(() => E(i).darken(0.3).toHex());
|
|
1118
|
+
function b(h, v) {
|
|
1119
|
+
n("update:value", h), n("click", h, v);
|
|
1117
1120
|
}
|
|
1118
|
-
function
|
|
1119
|
-
n("contextmenu", h);
|
|
1121
|
+
function M(h, v) {
|
|
1122
|
+
n("contextmenu", h, v);
|
|
1120
1123
|
}
|
|
1121
|
-
function
|
|
1122
|
-
n("close", h);
|
|
1124
|
+
function l(h, v) {
|
|
1125
|
+
n("close", h, v);
|
|
1123
1126
|
}
|
|
1124
|
-
return (h,
|
|
1125
|
-
class: C([
|
|
1126
|
-
style:
|
|
1127
|
-
"--background-color": `${
|
|
1127
|
+
return (h, v) => (I(), A("div", {
|
|
1128
|
+
class: C([p(z)]),
|
|
1129
|
+
style: ie({
|
|
1130
|
+
"--background-color": `${p(o)}`,
|
|
1128
1131
|
"--background-color-dark": `${d.value}`,
|
|
1129
|
-
"--active-background-color": `${
|
|
1132
|
+
"--active-background-color": `${p(r)}`,
|
|
1130
1133
|
"--active-background-color-dark": `${a.value}`,
|
|
1131
|
-
"--primary-color": `${
|
|
1132
|
-
"--primary-color-dark": `${
|
|
1134
|
+
"--primary-color": `${p(i)}`,
|
|
1135
|
+
"--primary-color-dark": `${c.value}`
|
|
1133
1136
|
})
|
|
1134
1137
|
}, [
|
|
1135
|
-
h.dropdown ? (
|
|
1138
|
+
h.dropdown ? (I(), A("div", {
|
|
1136
1139
|
key: 0,
|
|
1137
|
-
class: C([`${
|
|
1140
|
+
class: C([`${p(z)}__icon`])
|
|
1138
1141
|
}, [
|
|
1139
|
-
|
|
1140
|
-
], 2)) :
|
|
1141
|
-
|
|
1142
|
-
|
|
1142
|
+
K(Yt)
|
|
1143
|
+
], 2)) : X("", !0),
|
|
1144
|
+
se(h.$slots, "prefix"),
|
|
1145
|
+
$("div", {
|
|
1143
1146
|
ref_key: "scrollRef",
|
|
1144
|
-
ref:
|
|
1145
|
-
class: C([`${
|
|
1147
|
+
ref: u,
|
|
1148
|
+
class: C([`${p(z)}__content`, h.contentClass]),
|
|
1149
|
+
style: ie(h.contentStyle)
|
|
1146
1150
|
}, [
|
|
1147
|
-
|
|
1151
|
+
K(Ve, {
|
|
1148
1152
|
name: "group",
|
|
1149
1153
|
tag: "div",
|
|
1150
|
-
class: C([`${
|
|
1154
|
+
class: C([`${p(z)}__scroll`])
|
|
1151
1155
|
}, {
|
|
1152
|
-
default:
|
|
1153
|
-
(
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1156
|
+
default: De(() => [
|
|
1157
|
+
(I(!0), A(He, null, We(h.options, ({ key: m, ...k }, B) => (I(), _(rn, Ke({
|
|
1158
|
+
key: m,
|
|
1159
|
+
loading: h.loadingValue === m
|
|
1160
|
+
}, { ref_for: !0 }, k, {
|
|
1161
|
+
"item-key": m,
|
|
1162
|
+
"item-index": B,
|
|
1163
|
+
"active-index": s.value,
|
|
1164
|
+
onItemClick: (L) => b(m, B),
|
|
1165
|
+
onItemContextmenu: (L) => M(m, B),
|
|
1166
|
+
onItemClose: (L) => l(m, B)
|
|
1167
|
+
}), null, 16, ["loading", "item-key", "item-index", "active-index", "onItemClick", "onItemContextmenu", "onItemClose"]))), 128))
|
|
1160
1168
|
]),
|
|
1161
1169
|
_: 1
|
|
1162
1170
|
}, 8, ["class"])
|
|
1163
|
-
],
|
|
1164
|
-
|
|
1165
|
-
h.addable ? (
|
|
1171
|
+
], 6),
|
|
1172
|
+
se(h.$slots, "suffix"),
|
|
1173
|
+
h.addable ? (I(), A("div", {
|
|
1166
1174
|
key: 1,
|
|
1167
|
-
class: C([`${
|
|
1168
|
-
onClick:
|
|
1175
|
+
class: C([`${p(z)}__icon`]),
|
|
1176
|
+
onClick: v[0] || (v[0] = (m) => n("add"))
|
|
1169
1177
|
}, [
|
|
1170
|
-
|
|
1171
|
-
], 2)) :
|
|
1178
|
+
K(qt)
|
|
1179
|
+
], 2)) : X("", !0)
|
|
1172
1180
|
], 6));
|
|
1173
1181
|
}
|
|
1174
1182
|
});
|
|
1175
1183
|
export {
|
|
1176
|
-
|
|
1177
|
-
an as CTabs
|
|
1184
|
+
un as CTabs
|
|
1178
1185
|
};
|