@yoyaflow/yoya-ui 0.3.2 → 0.4.0

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.
Files changed (42) hide show
  1. package/README.md +407 -124
  2. package/README.zh-CN.md +375 -131
  3. package/dist/yoya.core.chunk.js +4275 -0
  4. package/dist/yoya.core.chunk.min.js +9 -0
  5. package/dist/yoya.core.js +3 -1779
  6. package/dist/yoya.core.min.js +1 -0
  7. package/dist/yoya.devtools.js +3 -0
  8. package/dist/yoya.devtools.min.js +1 -0
  9. package/dist/yoya.echart.js +182 -592
  10. package/dist/yoya.echart.min.js +1 -0
  11. package/dist/yoya.router.full.js +5271 -0
  12. package/dist/yoya.router.full.min.js +43 -0
  13. package/dist/yoya.router.js +1330 -0
  14. package/dist/yoya.router.min.js +35 -0
  15. package/dist/yoya.three.js +360 -0
  16. package/dist/yoya.three.min.js +1 -0
  17. package/dist/yoya.ui-router.full.js +21843 -0
  18. package/dist/yoya.ui-router.full.min.js +43 -0
  19. package/dist/yoya.ui-router.umd.js +43 -0
  20. package/dist/yoya.ui-router.umd.min.js +43 -0
  21. package/dist/yoya.ui.css +80 -0
  22. package/dist/yoya.ui.full.js +20169 -0
  23. package/dist/yoya.ui.full.min.js +1 -0
  24. package/dist/yoya.ui.js +12227 -9083
  25. package/dist/yoya.ui.min.js +1 -0
  26. package/package.json +27 -11
  27. package/types/core.d.ts +122 -1
  28. package/types/data-display.d.ts +44 -2
  29. package/types/devtools.d.ts +156 -0
  30. package/types/feedback.d.ts +13 -0
  31. package/types/form.d.ts +1 -1
  32. package/types/index.d.ts +1 -1
  33. package/types/ssr.d.ts +27 -7
  34. package/types/three.d.ts +77 -0
  35. package/types/yoya.devtools.d.ts +5 -0
  36. package/types/yoya.router.d.ts +7 -0
  37. package/types/yoya.three.d.ts +4 -0
  38. package/types/yoya.ui-router.d.ts +19 -0
  39. package/types/yoya.ui.d.ts +2 -7
  40. package/dist/yoya-ui.umd.js +0 -35
  41. package/dist/yoya.ssr.js +0 -2856
  42. package/types/yoya.ssr.d.ts +0 -9
package/dist/yoya.core.js CHANGED
@@ -1,1779 +1,3 @@
1
- //#region src/core/node.js
2
- var e = /* @__PURE__ */ new Set([
3
- "checked",
4
- "disabled",
5
- "readonly",
6
- "selected"
7
- ]), t = /* @__PURE__ */ new Set([
8
- "area",
9
- "base",
10
- "br",
11
- "col",
12
- "embed",
13
- "hr",
14
- "img",
15
- "input",
16
- "link",
17
- "meta",
18
- "param",
19
- "source",
20
- "track",
21
- "wbr"
22
- ]);
23
- function n(e) {
24
- return typeof e == "string" ? document.querySelector(e) : e;
25
- }
26
- function r(e) {
27
- return String(e).replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
28
- }
29
- function i(t) {
30
- return e.has(t);
31
- }
32
- function a(e, t, n) {
33
- if (n == null || n === !1) {
34
- if (e.removeAttribute(t), t in e) try {
35
- e[t] = !1;
36
- } catch {}
37
- return;
38
- }
39
- if (n === !0 || i(t)) {
40
- if (e.setAttribute(t, t), t in e) try {
41
- e[t] = !0;
42
- } catch {}
43
- return;
44
- }
45
- if (e.setAttribute(t, String(n)), t in e) try {
46
- e[t] = n;
47
- } catch {}
48
- }
49
- function o(e) {
50
- return Object.entries(e).filter(([, e]) => e != null && e !== "").map(([e, t]) => `${s(e)}:${r(t)}`).join("; ");
51
- }
52
- function s(e) {
53
- return String(e).replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`);
54
- }
55
- var c = class e {
56
- constructor(e = null) {
57
- this._children = [], this._events = /* @__PURE__ */ new Map(), this._cleanup = [], this._states = {}, this._stateTypes = {}, this._stateHandlers = /* @__PURE__ */ new Map(), this._pendingRemovals = /* @__PURE__ */ new Set(), this._childrenDirty = !1, this._deleted = !1, e !== null && this.setup(e);
58
- }
59
- setup(t) {
60
- return typeof t == "function" ? t(this) : t instanceof e ? this.child(t) : typeof t == "string" || typeof t == "number" ? this.text(t) : t && typeof t == "object" && this._setupObject(t), this;
61
- }
62
- _setupObject(e) {
63
- e.children && this.child(e.children);
64
- }
65
- children() {
66
- return [...this._children];
67
- }
68
- clearChildren() {
69
- return this._children.forEach((e) => {
70
- this._pendingRemovals.add(e);
71
- }), this._children = [], this._childrenDirty = !0, this;
72
- }
73
- child(...e) {
74
- return e.flat(Infinity).forEach((e) => {
75
- if (e == null) return;
76
- let t = u(e);
77
- this._pendingRemovals.delete(t), this._children.push(t), this._childrenDirty = !0;
78
- }), this;
79
- }
80
- text(e) {
81
- return this.child(new l(e));
82
- }
83
- on(e, t, n) {
84
- return this._events.has(e) || this._events.set(e, []), this._events.get(e).push({
85
- handler: t,
86
- options: n
87
- }), this._el && (this._el.addEventListener(e, t, n), this._cleanup.push(() => this._el.removeEventListener(e, t, n))), this;
88
- }
89
- registerStateAttrs(...e) {
90
- return e.forEach((e) => {
91
- if (typeof e == "string") {
92
- this._stateTypes[e] = "boolean";
93
- return;
94
- }
95
- e && typeof e == "object" && Object.entries(e).forEach(([e, t]) => {
96
- this._stateTypes[e] = t || "boolean";
97
- });
98
- }), this;
99
- }
100
- registerStateHandler(e, t) {
101
- return this._stateHandlers.has(e) || this._stateHandlers.set(e, []), this._stateHandlers.get(e).push(t), this;
102
- }
103
- setState(e, t = !0) {
104
- let n = this._states[e];
105
- return this._states[e] = t, (this._stateHandlers.get(e) || []).forEach((e) => e(t, this, n)), this;
106
- }
107
- getState(e) {
108
- return this._states[e];
109
- }
110
- getBooleanState(e) {
111
- return !!this.getState(e);
112
- }
113
- getStringState(e) {
114
- let t = this.getState(e);
115
- return t == null ? "" : String(t);
116
- }
117
- getNumberState(e) {
118
- return Number(this.getState(e) || 0);
119
- }
120
- renderDom() {
121
- return null;
122
- }
123
- commit() {
124
- return this.renderDom();
125
- }
126
- _commitChildren() {
127
- this._pendingRemovals.forEach((e) => e.destroy()), this._pendingRemovals.clear(), this._childrenDirty = !1;
128
- }
129
- bindTo(e) {
130
- let t = n(e), r = this.renderDom();
131
- return t && r && t.appendChild(r), this;
132
- }
133
- destroy() {
134
- return this._deleted = !0, this._cleanup.forEach((e) => e()), this._cleanup = [], this._children.forEach((e) => e.destroy()), this._pendingRemovals.forEach((e) => e.destroy()), this._pendingRemovals.clear(), this._children = [], this._el?.parentNode && this._el.parentNode.removeChild(this._el), this;
135
- }
136
- toHTML() {
137
- return "";
138
- }
139
- hydrateSnapshot() {
140
- return this;
141
- }
142
- }, l = class extends c {
143
- constructor(e = "") {
144
- super(null), this._content = String(e), this._textNode = null;
145
- }
146
- textContent(e) {
147
- return e === void 0 ? this._content : (this._content = String(e), this._textNode && (this._textNode.textContent = this._content), this);
148
- }
149
- renderDom() {
150
- return this._deleted ? null : (this._textNode || (this._textNode = document.createTextNode(this._content), this._el = this._textNode), this._textNode);
151
- }
152
- toHTML() {
153
- return this._deleted ? "" : r(this._content);
154
- }
155
- }, ee = class extends c {
156
- constructor(e) {
157
- super(null), this._component = e, this._resolved = null;
158
- }
159
- _resolve() {
160
- if (this._resolved) return this._resolved;
161
- let e = typeof this._component == "function" ? this._component() : this._component.render();
162
- if (!(e instanceof c)) throw TypeError("Component render must return a ViewNode");
163
- return this._resolved = e, e;
164
- }
165
- children() {
166
- return this._resolved ? this._resolved.children() : [];
167
- }
168
- textContent() {
169
- let e = this._resolve();
170
- return typeof e.textContent == "function" ? e.textContent() : "";
171
- }
172
- renderDom() {
173
- if (this._deleted) return null;
174
- let e = this._resolve().renderDom();
175
- return this._el = e, e;
176
- }
177
- toHTML() {
178
- return this._deleted ? "" : this._resolve().toHTML();
179
- }
180
- destroy() {
181
- return this._resolved && this._resolved.destroy(), super.destroy();
182
- }
183
- };
184
- function te(e = "") {
185
- return new l(e);
186
- }
187
- function u(e) {
188
- if (e instanceof c) return e;
189
- if (typeof e == "function" || e && typeof e == "object" && typeof e.render == "function") return new ee(e);
190
- if (typeof e == "string" || typeof e == "number") return new l(e);
191
- throw TypeError("ViewNode child must be a ViewNode, component, string, or number");
192
- }
193
- function d(e = null, t = null, n = null) {
194
- return typeof t == "function" && n == null ? {
195
- first: e,
196
- options: null,
197
- callback: t
198
- } : {
199
- first: e,
200
- options: t,
201
- callback: n
202
- };
203
- }
204
- function f(e, t) {
205
- return !t || typeof t != "object" || Array.isArray(t) ? e : (t.attrs && typeof e.attr == "function" && e.attr(t.attrs), t.style && typeof e.styles == "function" && e.styles(t.style), e);
206
- }
207
- var p = class extends c {
208
- constructor(e, t = null) {
209
- super(null), this._tagName = e, this._attrs = {}, this._styles = {}, this._classes = /* @__PURE__ */ new Set(), this._el = null, t !== null && this.setup(t);
210
- }
211
- _setupObject(e) {
212
- Object.entries(e).forEach(([e, t]) => {
213
- if (e === "class" || e === "className") {
214
- this.className(t);
215
- return;
216
- }
217
- if (e === "attrs") {
218
- this.attr(t);
219
- return;
220
- }
221
- if (e === "style") {
222
- this.styles(t);
223
- return;
224
- }
225
- if (e === "children") {
226
- this.child(t);
227
- return;
228
- }
229
- if (e.startsWith("on") && typeof t == "function") {
230
- this.on(e.slice(2).toLowerCase(), t);
231
- return;
232
- }
233
- if (typeof this[e] == "function") {
234
- this[e](t);
235
- return;
236
- }
237
- typeof t != "function" && this.attr(e, t);
238
- });
239
- }
240
- tagName() {
241
- return this._tagName;
242
- }
243
- textContent() {
244
- return this._children.map((e) => typeof e.textContent == "function" ? e.textContent() : "").join("");
245
- }
246
- attr(e, t) {
247
- return t === void 0 && typeof e == "string" ? this._attrs[e] : e && typeof e == "object" ? (Object.entries(e).forEach(([e, t]) => this.attr(e, t)), this) : (t == null || t === !1 ? delete this._attrs[e] : this._attrs[e] = t, this._el && a(this._el, e, t), this);
248
- }
249
- id(e) {
250
- return e === void 0 ? this.attr("id") : this.attr("id", e);
251
- }
252
- name(e) {
253
- return e === void 0 ? this.attr("name") : this.attr("name", e);
254
- }
255
- className(...e) {
256
- return e.length === 0 ? [...this._classes].join(" ") : (e.flat(Infinity).forEach((e) => {
257
- e && String(e).split(/\s+/).filter(Boolean).forEach((e) => this._classes.add(e));
258
- }), this._syncClassName(), this);
259
- }
260
- class(...e) {
261
- return this.className(...e);
262
- }
263
- replaceClassName(e, t, n = !1) {
264
- return !e || !t || e === t ? this : this._classes.has(e) ? (this._classes.delete(e), this.className(t)) : n ? this.className(t) : this;
265
- }
266
- style(e, t) {
267
- return t === void 0 && typeof e == "string" ? this._styles[e] : e && typeof e == "object" ? this.styles(e) : (t == null || t === "" ? delete this._styles[e] : this._styles[e] = t, this._el && (this._el.style[e] = t || ""), this);
268
- }
269
- styles(e) {
270
- return Object.entries(e || {}).forEach(([e, t]) => this.style(e, t)), this;
271
- }
272
- child(...e) {
273
- return e.flat(Infinity).forEach((e) => {
274
- if (e == null) return;
275
- let t = u(e);
276
- if (this._pendingRemovals.delete(t), this._children.push(t), this._childrenDirty = !0, this._el) {
277
- let e = t.renderDom();
278
- e && e.parentNode !== this._el && this._el.appendChild(e);
279
- }
280
- }), this;
281
- }
282
- renderDom() {
283
- return this._deleted ? null : (this._el || (this._el = document.createElement(this._tagName), this._applySnapshotToElement()), this._commitChildren(), this._children.forEach((e) => {
284
- let t = e.renderDom();
285
- t && t.parentNode !== this._el && this._el.appendChild(t);
286
- }), this._el);
287
- }
288
- toHTML() {
289
- if (this._deleted) return "";
290
- let e = this._serializeAttributes(), n = e ? `<${this._tagName} ${e}>` : `<${this._tagName}>`;
291
- return t.has(this._tagName) ? n : `${n}${this._children.map((e) => e.toHTML()).join("")}</${this._tagName}>`;
292
- }
293
- _applyBindingsToElement() {
294
- Object.entries(this._attrs).forEach(([e, t]) => a(this._el, e, t)), this._syncClassName(), Object.entries(this._styles).forEach(([e, t]) => {
295
- this._el.style[e] = t;
296
- }), this._events.forEach((e, t) => {
297
- e.forEach(({ handler: e, options: n }) => {
298
- this._el.addEventListener(t, e, n), this._cleanup.push(() => this._el.removeEventListener(t, e, n));
299
- });
300
- });
301
- }
302
- _applySnapshotToElement() {
303
- this._applyBindingsToElement(), this._children.forEach((e) => {
304
- let t = e.renderDom();
305
- t && this._el.appendChild(t);
306
- });
307
- }
308
- _syncClassName() {
309
- let e = [...this._classes].join(" ");
310
- e ? this._attrs.class = e : delete this._attrs.class, this._el && (e ? this._el.className = e : this._el.removeAttribute("class"));
311
- }
312
- _serializeAttributes() {
313
- let e = { ...this._attrs }, t = this._serializeStyles();
314
- return t && (e.style = e.style ? `${e.style}; ${t}` : t), Object.entries(e).filter(([, e]) => e != null && e !== !1).map(([e, t]) => t === !0 || i(e) ? `${e}="${e}"` : `${e}="${r(t)}"`).join(" ");
315
- }
316
- _serializeStyles() {
317
- return o(this._styles);
318
- }
319
- };
320
- function m(e, t = p) {
321
- return function(n = null, r = null, i = null) {
322
- let a = d(n, r, i), o = new t(e, a.first);
323
- return f(o, a.options), typeof a.callback == "function" && a.callback(o), o;
324
- };
325
- }
326
- function h(e, t, n = {}) {
327
- let { override: r = !1 } = n;
328
- Object.entries(t).forEach(([t, n]) => {
329
- !r && e.prototype[t] || (e.prototype[t] = function(...e) {
330
- return this.child(n(...e));
331
- });
332
- });
333
- }
334
- //#endregion
335
- //#region src/core/client-only.js
336
- var g = class extends c {
337
- constructor(e) {
338
- super(null), this._loader = e, this._resolved = null;
339
- }
340
- _resolve() {
341
- return this._resolved ||= _(this._loader), this._resolved;
342
- }
343
- toHTML() {
344
- return this._deleted ? "" : "<div class=\"yoya-client-only\" data-client-only=\"true\"></div>";
345
- }
346
- renderDom() {
347
- if (this._deleted) return null;
348
- let e = this._resolve().renderDom();
349
- return this._el && this._el !== e && this._el.parentNode && this._el.parentNode.replaceChild(e, this._el), this._el = e, e;
350
- }
351
- children() {
352
- return this._resolved ? this._resolved.children() : [];
353
- }
354
- textContent() {
355
- return this._resolved && typeof this._resolved.textContent == "function" ? this._resolved.textContent() : "";
356
- }
357
- destroy() {
358
- return this._resolved && this._resolved.destroy(), super.destroy();
359
- }
360
- };
361
- function ne(e) {
362
- return new g(e);
363
- }
364
- function _(e) {
365
- if (e instanceof c) return e;
366
- if (typeof e == "function") return _(e());
367
- if (e && typeof e.render == "function") return _(e.render());
368
- throw TypeError("vClientOnly loader must return a ViewNode or a component object");
369
- }
370
- //#endregion
371
- //#region src/core/document-events.js
372
- function re(e, t, n = void 0) {
373
- return typeof document > "u" ? () => {} : (document.addEventListener(e, t, n), () => {
374
- document.removeEventListener(e, t, n);
375
- });
376
- }
377
- function ie(e, t, n = void 0) {
378
- typeof document > "u" || document.removeEventListener(e, t, n);
379
- }
380
- function ae(e, t, n = void 0) {
381
- return typeof window > "u" ? () => {} : (window.addEventListener(e, t, n), () => {
382
- window.removeEventListener(e, t, n);
383
- });
384
- }
385
- function oe(e, t = null) {
386
- if (typeof document > "u") return null;
387
- if (t) {
388
- let e = document.querySelector(`[${t}]`);
389
- if (e) return e;
390
- }
391
- let n = document.createElement("style");
392
- return t && n.setAttribute(t, ""), n.textContent = e, document.head?.appendChild(n), n;
393
- }
394
- //#endregion
395
- //#region src/core/i18n.js
396
- var v = "yoya-ui:i18n", y = /* @__PURE__ */ new Map(), b = class {
397
- constructor(e = {}) {
398
- let t = e.language || "zh-CN";
399
- this._key = e.key || null, this._storage = I(e.storage), this._storageKey = e.storageKey || null, this._sharedStorageKey = this._key ? v : null, this._fallbackLanguage = e.fallbackLanguage || t, this._language = this._readStoredLanguage(t), this._messages = {}, this._listeners = /* @__PURE__ */ new Set(), this.registerMessages(e.messages || {}), this._key && D(this);
400
- }
401
- key() {
402
- return this._key;
403
- }
404
- getLanguage() {
405
- return this._language;
406
- }
407
- setLanguage(e) {
408
- return !e || e === this._language ? this : (this._language = e, this._persistLanguage(), this._notify(), this);
409
- }
410
- getFallbackLanguage() {
411
- return this._fallbackLanguage;
412
- }
413
- setFallbackLanguage(e) {
414
- return e ? (this._fallbackLanguage = e, this._notify(), this) : this;
415
- }
416
- clearPersistedLanguage() {
417
- if (!this._storageKey) {
418
- if (!this._sharedStorageKey) return this;
419
- let e = k(this._storage, this._sharedStorageKey);
420
- return delete e[this._key], A(this._storage, this._sharedStorageKey, e), this;
421
- }
422
- try {
423
- this._storage.removeItem(this._storageKey);
424
- } catch {}
425
- return this;
426
- }
427
- register(e, t = {}) {
428
- return e ? (F(t).forEach((t) => {
429
- this._messages[e] = M(this._messages[e] || {}, t);
430
- }), this._notify(), this) : this;
431
- }
432
- registerMessages(e = {}) {
433
- return P(e).forEach((e) => {
434
- if (e.language) {
435
- this.register(e.language, e.messages || {});
436
- return;
437
- }
438
- Object.entries(e).forEach(([e, t]) => {
439
- this.register(e, t);
440
- });
441
- }), this;
442
- }
443
- t(e, t = {}, n = void 0) {
444
- let r = j(this._messages[this._language], e) ?? j(this._messages[this._fallbackLanguage], e) ?? n ?? e;
445
- return fe(typeof r == "function" ? r(t, this) : r, t);
446
- }
447
- text(e, t = {}, n = void 0) {
448
- return new x(this, e, t, n);
449
- }
450
- subscribe(e) {
451
- return this._listeners.add(e), () => {
452
- this._listeners.delete(e);
453
- };
454
- }
455
- _readStoredLanguage(e) {
456
- if (this._storageKey) try {
457
- return this._storage.getItem(this._storageKey) || e;
458
- } catch {
459
- return e;
460
- }
461
- return this._sharedStorageKey && k(this._storage, this._sharedStorageKey)[this._key] || e;
462
- }
463
- _persistLanguage() {
464
- if (this._storageKey) {
465
- try {
466
- this._storage.setItem(this._storageKey, this._language);
467
- } catch {}
468
- return;
469
- }
470
- if (this._sharedStorageKey) {
471
- let e = k(this._storage, this._sharedStorageKey);
472
- e[this._key] = this._language, A(this._storage, this._sharedStorageKey, e);
473
- }
474
- }
475
- _notify() {
476
- this._listeners.forEach((e) => e(this));
477
- }
478
- }, x = class extends l {
479
- constructor(e, t, n = {}, r = void 0) {
480
- super(e.t(t, n, r)), this._i18n = e, this._key = t, this._params = n || {}, this._defaultValue = r, this._unsubscribe = e.subscribe(() => this.refresh());
481
- }
482
- key(e) {
483
- return e === void 0 ? this._key : (this._key = e, this.refresh());
484
- }
485
- params(e) {
486
- return e === void 0 ? { ...this._params } : (this._params = e || {}, this.refresh());
487
- }
488
- defaultValue(e) {
489
- return e === void 0 ? this._defaultValue : (this._defaultValue = e, this.refresh());
490
- }
491
- refresh() {
492
- return this.textContent(this._i18n.t(this._key, this._params, this._defaultValue)), this;
493
- }
494
- destroy() {
495
- return this._unsubscribe &&= (this._unsubscribe(), null), super.destroy();
496
- }
497
- };
498
- function S(e = {}) {
499
- return new b(e);
500
- }
501
- var C = S();
502
- function se(e, t = {}) {
503
- return C.text(e, t);
504
- }
505
- var w = C;
506
- function T(e = C) {
507
- return w = e, String.prototype._yoyaUiStringShortcutInstalled ? e : (Object.defineProperty(String.prototype, "_yoyaUiStringShortcutInstalled", {
508
- configurable: !0,
509
- enumerable: !1,
510
- value: !0
511
- }), Object.defineProperty(String.prototype, "s", {
512
- configurable: !0,
513
- enumerable: !1,
514
- value: function(e, t, n) {
515
- let r = String(this), i = {}, a = w;
516
- return E(t) ? a = t : typeof t == "string" ? a = O(t) || w : (i = t || {}, E(n) ? a = n : typeof n == "string" && (a = O(n) || w)), a.text(e || r, i, r);
517
- }
518
- }), e);
519
- }
520
- function ce(e, t) {
521
- let n = w;
522
- w = e || n;
523
- try {
524
- return t();
525
- } finally {
526
- w = n;
527
- }
528
- }
529
- function E(e) {
530
- return !!(e && typeof e.text == "function");
531
- }
532
- function D(e) {
533
- let t = e?.key?.();
534
- return t ? (y.set(t, e), () => {
535
- y.get(t) === e && y.delete(t);
536
- }) : () => {};
537
- }
538
- function le(e) {
539
- let t = typeof e == "string" ? e : e?.key?.();
540
- return t && y.delete(t), t;
541
- }
542
- function O(e) {
543
- return e && y.get(e) || null;
544
- }
545
- function ue() {
546
- return new Map(y);
547
- }
548
- function de(e) {
549
- return k(e || I(), v);
550
- }
551
- function k(e, t) {
552
- if (!e) return {};
553
- try {
554
- let n = e.getItem(t);
555
- if (!n) return {};
556
- let r = JSON.parse(n);
557
- return r && typeof r == "object" ? r : {};
558
- } catch {
559
- return {};
560
- }
561
- }
562
- function A(e, t, n) {
563
- if (e) try {
564
- e.setItem(t, JSON.stringify(n));
565
- } catch {}
566
- }
567
- T(C);
568
- function j(e, t) {
569
- if (!(!e || !t)) return Object.prototype.hasOwnProperty.call(e, t) ? e[t] : String(t).split(".").reduce((e, t) => {
570
- if (e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, t)) return e[t];
571
- }, e);
572
- }
573
- function fe(e, t) {
574
- return String(e).replace(/\{([^{}]+)\}/g, (e, n) => {
575
- let r = t?.[n.trim()];
576
- return r == null ? e : String(r);
577
- });
578
- }
579
- function M(e, t) {
580
- let n = { ...e };
581
- return Object.entries(t || {}).forEach(([e, t]) => {
582
- N(t) && N(n[e]) ? n[e] = M(n[e], t) : n[e] = t;
583
- }), n;
584
- }
585
- function N(e) {
586
- return Object.prototype.toString.call(e) === "[object Object]";
587
- }
588
- function P(e) {
589
- return Array.isArray(e) ? e.flatMap((e) => P(e)) : [e || {}];
590
- }
591
- function F(e) {
592
- return Array.isArray(e) ? e.flatMap((e) => F(e)) : [e || {}];
593
- }
594
- function I(e) {
595
- if (e) return e;
596
- try {
597
- if (typeof globalThis < "u" && globalThis.localStorage) return globalThis.localStorage;
598
- } catch {}
599
- return pe();
600
- }
601
- var L = /* @__PURE__ */ new Map();
602
- function pe() {
603
- return {
604
- getItem(e) {
605
- return L.has(e) ? L.get(e) : null;
606
- },
607
- setItem(e, t) {
608
- L.set(e, String(t));
609
- },
610
- removeItem(e) {
611
- L.delete(e);
612
- }
613
- };
614
- }
615
- //#endregion
616
- //#region src/core/state-node.js
617
- var me = /* @__PURE__ */ new Set([
618
- "state",
619
- "render",
620
- "update"
621
- ]), he = /* @__PURE__ */ new Set([
622
- "destroy",
623
- "getState",
624
- "setState",
625
- "subscribe"
626
- ]);
627
- function R(e = {}) {
628
- if (typeof e.render != "function") throw TypeError("vStateNode requires a render function");
629
- let t = typeof e.state == "function" ? e.state() : { ...e.state || {} }, n = /* @__PURE__ */ new Set(), r = !1, i = null, a = {
630
- destroy() {
631
- return r ? a : (r = !0, n.clear(), i && i.destroy(), a);
632
- },
633
- getState() {
634
- return a.state();
635
- },
636
- render() {
637
- if (r) return i;
638
- if (!i) {
639
- i = new p("div");
640
- let e = i.destroy.bind(i);
641
- i.destroy = () => (n.clear(), e()), o();
642
- }
643
- return i;
644
- },
645
- setState(e) {
646
- if (r || e == null) return a;
647
- let o = typeof e == "function" ? e({ ...t }) : e;
648
- if (!o || typeof o != "object") return a;
649
- let c = /* @__PURE__ */ new Set();
650
- return Object.entries(o).forEach(([e, n]) => {
651
- t[e] !== n && (t[e] = n, c.add(e));
652
- }), c.size > 0 && (i && s(c), n.forEach((e) => e(t, a))), a;
653
- },
654
- state() {
655
- return { ...t };
656
- },
657
- subscribe(e) {
658
- if (typeof e != "function") throw TypeError("vStateNode subscriber must be a function");
659
- return n.add(e), () => n.delete(e);
660
- }
661
- };
662
- for (let t of Object.keys(e)) if (!(me.has(t) || typeof e[t] != "function")) {
663
- if (he.has(t)) throw TypeError(`vStateNode config key "${t}" conflicts with the built-in API`);
664
- a[t] = e[t];
665
- }
666
- return a;
667
- function o() {
668
- let n = e.render.call(a, t, a);
669
- i.clearChildren().child(n), i._el && i.commit();
670
- }
671
- function s(n) {
672
- if (typeof e.update == "function") {
673
- e.update.call(a, t, a, n) === !0 && o();
674
- return;
675
- }
676
- o();
677
- }
678
- }
679
- h(p, { vStateNode: R });
680
- //#endregion
681
- //#region src/core/theme.js
682
- var z = [
683
- "light",
684
- "dark",
685
- "system"
686
- ], B = "yoya-theme-mode", V = "yoya-theme-name";
687
- function H() {
688
- return typeof document > "u" ? null : document.documentElement;
689
- }
690
- function U() {
691
- try {
692
- return typeof localStorage < "u" && localStorage !== null;
693
- } catch {
694
- return !1;
695
- }
696
- }
697
- function W(e = "light", t = {}) {
698
- let n = z.includes(e) ? e : "light", r = H();
699
- if (r && (r.dataset.yoyaMode = n), t.persist && U()) try {
700
- localStorage.setItem(B, n);
701
- } catch {}
702
- return n;
703
- }
704
- function G() {
705
- let e = H(), t = e && e.dataset.yoyaMode;
706
- return z.includes(t) ? t : "light";
707
- }
708
- function ge() {
709
- let e = G();
710
- return e === "system" ? typeof window > "u" || typeof window.matchMedia != "function" ? "light" : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : e;
711
- }
712
- function K(e = "", t = {}) {
713
- let n = H();
714
- if (!e) {
715
- if (n && delete n.dataset.yoyaTheme, t.persist && U()) try {
716
- localStorage.removeItem(V);
717
- } catch {}
718
- return "";
719
- }
720
- if (n && (n.dataset.yoyaTheme = e), t.persist && U()) try {
721
- localStorage.setItem(V, e);
722
- } catch {}
723
- return e;
724
- }
725
- function q() {
726
- let e = H();
727
- return e && e.dataset.yoyaTheme || "";
728
- }
729
- function _e(e = {}) {
730
- let t = e.mode, n = e.theme;
731
- if (t === void 0 && U()) {
732
- let e = localStorage.getItem(B);
733
- z.includes(e) && (t = e);
734
- }
735
- return n === void 0 && U() && (n = localStorage.getItem(V) || ""), t !== void 0 && W(t, { persist: e.persist }), n !== void 0 && K(n, { persist: e.persist }), {
736
- mode: G(),
737
- theme: q()
738
- };
739
- }
740
- //#endregion
741
- //#region src/core/request.js
742
- var J = null;
743
- function ve({ submit: e } = {}) {
744
- return J = typeof e == "function" ? e : null, J;
745
- }
746
- var ye = class {
747
- method() {
748
- return "GET";
749
- }
750
- headers() {
751
- return {};
752
- }
753
- cookies() {
754
- return null;
755
- }
756
- body() {
757
- return null;
758
- }
759
- params() {
760
- return {};
761
- }
762
- address() {
763
- return "";
764
- }
765
- submit() {
766
- if (typeof J != "function") throw Error("RequestBase: 未注册请求传输,请先 configureRequest({ submit })");
767
- return J(this);
768
- }
769
- }, be = class e {
770
- constructor({ ok: e = !0, code: t = "0", msg: n = null, showType: r = 0, data: i = null, kind: a = "detail", pageNum: o = null, pageSize: s = null, total: c = null } = {}) {
771
- this.ok = e, this.code = t, this.msg = n, this.showType = r, this.data = i, this.kind = a, this.pageNum = o, this.pageSize = s, this.total = c;
772
- }
773
- get isSuccess() {
774
- return !!this.ok;
775
- }
776
- get pages() {
777
- return this.pageSize > 0 ? Math.ceil((this.total ?? 0) / this.pageSize) : 0;
778
- }
779
- static from(t, n = {}) {
780
- if (!t || t.ok === !1) {
781
- let e = Error(t?.msg || "请求失败");
782
- throw e.code = t?.code, e.showType = t?.showType, e;
783
- }
784
- let r = t.data, i = Array.isArray(r) && t.pageNum != null, a = Array.isArray(r);
785
- return new e({
786
- ok: t.ok,
787
- code: t.code,
788
- msg: t.msg,
789
- showType: t.showType,
790
- kind: i ? "page" : a ? "list" : "detail",
791
- data: i || a ? (r ?? []).map((e) => n.toItem ? n.toItem(e) : e) : n.toDetail ? n.toDetail(r) : r,
792
- pageNum: t.pageNum,
793
- pageSize: t.pageSize,
794
- total: t.total
795
- });
796
- }
797
- }, Y = class extends p {}, xe = [
798
- "a",
799
- "abbr",
800
- "address",
801
- "area",
802
- "article",
803
- "aside",
804
- "audio",
805
- "b",
806
- "base",
807
- "bdi",
808
- "bdo",
809
- "blockquote",
810
- "body",
811
- "br",
812
- "button",
813
- "canvas",
814
- "caption",
815
- "cite",
816
- "code",
817
- "col",
818
- "colgroup",
819
- "data",
820
- "datalist",
821
- "dd",
822
- "del",
823
- "details",
824
- "dfn",
825
- "dialog",
826
- "div",
827
- "dl",
828
- "dt",
829
- "em",
830
- "embed",
831
- "fieldset",
832
- "figcaption",
833
- "figure",
834
- "footer",
835
- "form",
836
- "h1",
837
- "h2",
838
- "h3",
839
- "h4",
840
- "h5",
841
- "h6",
842
- "head",
843
- "header",
844
- "hgroup",
845
- "hr",
846
- "html",
847
- "i",
848
- "iframe",
849
- "img",
850
- "input",
851
- "ins",
852
- "kbd",
853
- "label",
854
- "legend",
855
- "li",
856
- "link",
857
- "main",
858
- "map",
859
- "mark",
860
- "menu",
861
- "meta",
862
- "meter",
863
- "nav",
864
- "noscript",
865
- "object",
866
- "ol",
867
- "optgroup",
868
- "option",
869
- "output",
870
- "p",
871
- "picture",
872
- "pre",
873
- "progress",
874
- "q",
875
- "rp",
876
- "rt",
877
- "ruby",
878
- "s",
879
- "samp",
880
- "script",
881
- "search",
882
- "section",
883
- "select",
884
- "selectedcontent",
885
- "slot",
886
- "small",
887
- "source",
888
- "span",
889
- "strong",
890
- {
891
- name: "style",
892
- tagName: "style",
893
- aliases: ["styleTag"]
894
- },
895
- "sub",
896
- "summary",
897
- "sup",
898
- "table",
899
- "tbody",
900
- "td",
901
- "template",
902
- "textarea",
903
- "tfoot",
904
- "th",
905
- "thead",
906
- "time",
907
- "title",
908
- "tr",
909
- "track",
910
- "u",
911
- "ul",
912
- {
913
- name: "varTag",
914
- tagName: "var"
915
- },
916
- "video",
917
- "wbr"
918
- ];
919
- function X() {
920
- return xe.reduce((e, t) => {
921
- let { aliases: n = [], name: r, tagName: i } = kn(t), a = m(i, Y);
922
- return e[r] = a, n.forEach((t) => {
923
- e[t] = a;
924
- }), e;
925
- }, {});
926
- }
927
- var Z = X();
928
- h(Y, Z);
929
- var { a: Se, abbr: Ce, address: we, area: Te, article: Ee, aside: De, audio: Oe, b: ke, base: Ae, bdi: je, bdo: Me, blockquote: Ne, body: Pe, br: Fe, button: Ie, canvas: Le, caption: Re, cite: ze, code: Be, col: Ve, colgroup: He, data: Ue, datalist: We, dd: Ge, del: Ke, details: qe, dfn: Je, dialog: Ye, div: Xe, dl: Ze, dt: Qe, em: $e, embed: et, fieldset: tt, figcaption: nt, figure: rt, footer: it, form: at, h1: ot, h2: st, h3: ct, h4: lt, h5: ut, h6: dt, head: ft, header: pt, hgroup: mt, hr: ht, html: gt, i: _t, iframe: vt, img: yt, input: bt, ins: xt, kbd: St, label: Ct, legend: wt, li: Tt, link: Et, main: Dt, map: Ot, mark: kt, menu: At, meta: jt, meter: Mt, nav: Nt, noscript: Pt, object: Ft, ol: It, optgroup: Lt, option: Rt, output: zt, p: Bt, picture: Vt, pre: Ht, progress: Ut, q: Wt, rp: Gt, rt: Kt, ruby: qt, s: Jt, samp: Yt, script: Xt, search: Zt, section: Qt, select: $t, selectedcontent: en, slot: tn, small: nn, source: rn, span: an, strong: on, style: sn, styleTag: cn, sub: ln, summary: un, sup: dn, table: fn, tbody: pn, td: mn, template: hn, textarea: gn, tfoot: _n, th: vn, thead: yn, time: bn, title: xn, tr: Sn, track: Cn, u: wn, ul: Tn, varTag: En, video: Dn, wbr: On } = Z;
930
- function kn(e) {
931
- return typeof e == "string" ? {
932
- name: e,
933
- tagName: e
934
- } : e;
935
- }
936
- //#endregion
937
- //#region src/svg/icons.js
938
- function An() {
939
- return $((e) => {
940
- e.className("yoya-icon").attr({
941
- "aria-hidden": "true",
942
- fill: "none",
943
- stroke: "currentColor",
944
- "stroke-linecap": "round",
945
- "stroke-linejoin": "round",
946
- "stroke-width": "2",
947
- viewBox: "0 0 24 24"
948
- }).styles({
949
- height: "24px",
950
- width: "24px"
951
- }), e.path({ d: "M12 5v14" }), e.path({ d: "m19 12-7 7-7-7" });
952
- });
953
- }
954
- function jn() {
955
- return $((e) => {
956
- e.className("yoya-icon").attr({
957
- "aria-hidden": "true",
958
- fill: "none",
959
- stroke: "currentColor",
960
- "stroke-linecap": "round",
961
- "stroke-linejoin": "round",
962
- "stroke-width": "2",
963
- viewBox: "0 0 24 24"
964
- }).styles({
965
- height: "24px",
966
- width: "24px"
967
- }), e.path({ d: "M19 12H5" }), e.path({ d: "m12 19-7-7 7-7" });
968
- });
969
- }
970
- function Mn() {
971
- return $((e) => {
972
- e.className("yoya-icon").attr({
973
- "aria-hidden": "true",
974
- fill: "none",
975
- stroke: "currentColor",
976
- "stroke-linecap": "round",
977
- "stroke-linejoin": "round",
978
- "stroke-width": "2",
979
- viewBox: "0 0 24 24"
980
- }).styles({
981
- height: "24px",
982
- width: "24px"
983
- }), e.path({ d: "M5 12h14" }), e.path({ d: "m12 5 7 7-7 7" });
984
- });
985
- }
986
- function Nn() {
987
- return $((e) => {
988
- e.className("yoya-icon").attr({
989
- "aria-hidden": "true",
990
- fill: "none",
991
- stroke: "currentColor",
992
- "stroke-linecap": "round",
993
- "stroke-linejoin": "round",
994
- "stroke-width": "2",
995
- viewBox: "0 0 24 24"
996
- }).styles({
997
- height: "24px",
998
- width: "24px"
999
- }), e.path({ d: "M12 19V5" }), e.path({ d: "m5 12 7-7 7 7" });
1000
- });
1001
- }
1002
- function Pn() {
1003
- return $((e) => {
1004
- e.className("yoya-icon").attr({
1005
- "aria-hidden": "true",
1006
- fill: "none",
1007
- stroke: "currentColor",
1008
- "stroke-linecap": "round",
1009
- "stroke-linejoin": "round",
1010
- "stroke-width": "2",
1011
- viewBox: "0 0 24 24"
1012
- }).styles({
1013
- height: "24px",
1014
- width: "24px"
1015
- }), e.path({ d: "M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9" }), e.path({ d: "M10.3 21a1.94 1.94 0 0 0 3.4 0" });
1016
- });
1017
- }
1018
- function Fn() {
1019
- return $((e) => {
1020
- e.className("yoya-icon").attr({
1021
- "aria-hidden": "true",
1022
- fill: "none",
1023
- stroke: "currentColor",
1024
- "stroke-linecap": "round",
1025
- "stroke-linejoin": "round",
1026
- "stroke-width": "2",
1027
- viewBox: "0 0 24 24"
1028
- }).styles({
1029
- height: "24px",
1030
- width: "24px"
1031
- }), e.rect({
1032
- height: "18",
1033
- rx: "2",
1034
- width: "18",
1035
- x: "3",
1036
- y: "4"
1037
- }), e.path({ d: "M16 2v4" }), e.path({ d: "M8 2v4" }), e.path({ d: "M3 10h18" });
1038
- });
1039
- }
1040
- function In() {
1041
- return $((e) => {
1042
- e.className("yoya-icon").attr({
1043
- "aria-hidden": "true",
1044
- fill: "none",
1045
- stroke: "currentColor",
1046
- "stroke-linecap": "round",
1047
- "stroke-linejoin": "round",
1048
- "stroke-width": "2",
1049
- viewBox: "0 0 24 24"
1050
- }).styles({
1051
- height: "24px",
1052
- width: "24px"
1053
- }), e.path({ d: "M20 6 9 17l-5-5" });
1054
- });
1055
- }
1056
- function Ln() {
1057
- return $((e) => {
1058
- e.className("yoya-icon").attr({
1059
- "aria-hidden": "true",
1060
- fill: "none",
1061
- stroke: "currentColor",
1062
- "stroke-linecap": "round",
1063
- "stroke-linejoin": "round",
1064
- "stroke-width": "2",
1065
- viewBox: "0 0 24 24"
1066
- }).styles({
1067
- height: "24px",
1068
- width: "24px"
1069
- }), e.path({ d: "m6 9 6 6 6-6" });
1070
- });
1071
- }
1072
- function Rn() {
1073
- return $((e) => {
1074
- e.className("yoya-icon").attr({
1075
- "aria-hidden": "true",
1076
- fill: "none",
1077
- stroke: "currentColor",
1078
- "stroke-linecap": "round",
1079
- "stroke-linejoin": "round",
1080
- "stroke-width": "2",
1081
- viewBox: "0 0 24 24"
1082
- }).styles({
1083
- height: "24px",
1084
- width: "24px"
1085
- }), e.path({ d: "m15 18-6-6 6-6" });
1086
- });
1087
- }
1088
- function zn() {
1089
- return $((e) => {
1090
- e.className("yoya-icon").attr({
1091
- "aria-hidden": "true",
1092
- fill: "none",
1093
- stroke: "currentColor",
1094
- "stroke-linecap": "round",
1095
- "stroke-linejoin": "round",
1096
- "stroke-width": "2",
1097
- viewBox: "0 0 24 24"
1098
- }).styles({
1099
- height: "24px",
1100
- width: "24px"
1101
- }), e.path({ d: "m9 18 6-6-6-6" });
1102
- });
1103
- }
1104
- function Bn() {
1105
- return $((e) => {
1106
- e.className("yoya-icon").attr({
1107
- "aria-hidden": "true",
1108
- fill: "none",
1109
- stroke: "currentColor",
1110
- "stroke-linecap": "round",
1111
- "stroke-linejoin": "round",
1112
- "stroke-width": "2",
1113
- viewBox: "0 0 24 24"
1114
- }).styles({
1115
- height: "24px",
1116
- width: "24px"
1117
- }), e.path({ d: "m18 15-6-6-6 6" });
1118
- });
1119
- }
1120
- function Vn() {
1121
- return $((e) => {
1122
- e.className("yoya-icon").attr({
1123
- "aria-hidden": "true",
1124
- fill: "none",
1125
- stroke: "currentColor",
1126
- "stroke-linecap": "round",
1127
- "stroke-linejoin": "round",
1128
- "stroke-width": "2",
1129
- viewBox: "0 0 24 24"
1130
- }).styles({
1131
- height: "24px",
1132
- width: "24px"
1133
- }), e.path({ d: "M18 6 6 18" }), e.path({ d: "m6 6 12 12" });
1134
- });
1135
- }
1136
- function Hn() {
1137
- return $((e) => {
1138
- e.className("yoya-icon").attr({
1139
- "aria-hidden": "true",
1140
- fill: "none",
1141
- stroke: "currentColor",
1142
- "stroke-linecap": "round",
1143
- "stroke-linejoin": "round",
1144
- "stroke-width": "2",
1145
- viewBox: "0 0 24 24"
1146
- }).styles({
1147
- height: "24px",
1148
- width: "24px"
1149
- }), e.path({ d: "m16 18 6-6-6-6" }), e.path({ d: "m8 6-6 6 6 6" });
1150
- });
1151
- }
1152
- function Un() {
1153
- return $((e) => {
1154
- e.className("yoya-icon").attr({
1155
- "aria-hidden": "true",
1156
- fill: "none",
1157
- stroke: "currentColor",
1158
- "stroke-linecap": "round",
1159
- "stroke-linejoin": "round",
1160
- "stroke-width": "2",
1161
- viewBox: "0 0 24 24"
1162
- }).styles({
1163
- height: "24px",
1164
- width: "24px"
1165
- }), e.rect({
1166
- height: "14",
1167
- rx: "2",
1168
- width: "14",
1169
- x: "8",
1170
- y: "8"
1171
- }), e.path({ d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" });
1172
- });
1173
- }
1174
- function Wn() {
1175
- return $((e) => {
1176
- e.className("yoya-icon").attr({
1177
- "aria-hidden": "true",
1178
- fill: "none",
1179
- stroke: "currentColor",
1180
- "stroke-linecap": "round",
1181
- "stroke-linejoin": "round",
1182
- "stroke-width": "2",
1183
- viewBox: "0 0 24 24"
1184
- }).styles({
1185
- height: "24px",
1186
- width: "24px"
1187
- }), e.path({ d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }), e.path({ d: "m7 10 5 5 5-5" }), e.path({ d: "M12 15V3" });
1188
- });
1189
- }
1190
- function Gn() {
1191
- return $((e) => {
1192
- e.className("yoya-icon").attr({
1193
- "aria-hidden": "true",
1194
- fill: "none",
1195
- stroke: "currentColor",
1196
- "stroke-linecap": "round",
1197
- "stroke-linejoin": "round",
1198
- "stroke-width": "2",
1199
- viewBox: "0 0 24 24"
1200
- }).styles({
1201
- height: "24px",
1202
- width: "24px"
1203
- }), e.path({ d: "M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z" });
1204
- });
1205
- }
1206
- function Kn() {
1207
- return $((e) => {
1208
- e.className("yoya-icon").attr({
1209
- "aria-hidden": "true",
1210
- fill: "none",
1211
- stroke: "currentColor",
1212
- "stroke-linecap": "round",
1213
- "stroke-linejoin": "round",
1214
- "stroke-width": "2",
1215
- viewBox: "0 0 24 24"
1216
- }).styles({
1217
- height: "24px",
1218
- width: "24px"
1219
- }), e.path({ d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }), e.path({ d: "m15 3 6 6" }), e.path({ d: "m21 3-9 9" });
1220
- });
1221
- }
1222
- function qn() {
1223
- return $((e) => {
1224
- e.className("yoya-icon").attr({
1225
- "aria-hidden": "true",
1226
- fill: "none",
1227
- stroke: "currentColor",
1228
- "stroke-linecap": "round",
1229
- "stroke-linejoin": "round",
1230
- "stroke-width": "2",
1231
- viewBox: "0 0 24 24"
1232
- }).styles({
1233
- height: "24px",
1234
- width: "24px"
1235
- }), e.path({ d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }), e.circle({
1236
- cx: "12",
1237
- cy: "12",
1238
- r: "3"
1239
- });
1240
- });
1241
- }
1242
- function Jn() {
1243
- return $((e) => {
1244
- e.className("yoya-icon").attr({
1245
- "aria-hidden": "true",
1246
- fill: "none",
1247
- stroke: "currentColor",
1248
- "stroke-linecap": "round",
1249
- "stroke-linejoin": "round",
1250
- "stroke-width": "2",
1251
- viewBox: "0 0 24 24"
1252
- }).styles({
1253
- height: "24px",
1254
- width: "24px"
1255
- }), e.path({ d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z" }), e.path({ d: "M14 2v4a2 2 0 0 0 2 2h4" });
1256
- });
1257
- }
1258
- function Yn() {
1259
- return $((e) => {
1260
- e.className("yoya-icon").attr({
1261
- "aria-hidden": "true",
1262
- fill: "none",
1263
- stroke: "currentColor",
1264
- "stroke-linecap": "round",
1265
- "stroke-linejoin": "round",
1266
- "stroke-width": "2",
1267
- viewBox: "0 0 24 24"
1268
- }).styles({
1269
- height: "24px",
1270
- width: "24px"
1271
- }), e.rect({
1272
- height: "18",
1273
- rx: "2",
1274
- width: "18",
1275
- x: "3",
1276
- y: "3"
1277
- }), e.circle({
1278
- cx: "9",
1279
- cy: "9",
1280
- r: "2"
1281
- }), e.path({ d: "m21 15-3.1-3.1a2 2 0 0 0-2.8 0L6 21" });
1282
- });
1283
- }
1284
- function Xn() {
1285
- return $((e) => {
1286
- e.className("yoya-icon").attr({
1287
- "aria-hidden": "true",
1288
- fill: "none",
1289
- stroke: "currentColor",
1290
- "stroke-linecap": "round",
1291
- "stroke-linejoin": "round",
1292
- "stroke-width": "2",
1293
- viewBox: "0 0 24 24"
1294
- }).styles({
1295
- height: "24px",
1296
- width: "24px"
1297
- }), e.path({ d: "M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z" });
1298
- });
1299
- }
1300
- function Zn() {
1301
- return $((e) => {
1302
- e.className("yoya-icon").attr({
1303
- "aria-hidden": "true",
1304
- fill: "none",
1305
- stroke: "currentColor",
1306
- "stroke-linecap": "round",
1307
- "stroke-linejoin": "round",
1308
- "stroke-width": "2",
1309
- viewBox: "0 0 24 24"
1310
- }).styles({
1311
- height: "24px",
1312
- width: "24px"
1313
- }), e.path({ d: "m6 14 1.45-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.55 6a2 2 0 0 1-1.94 1.5H4a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.93a2 2 0 0 1 1.66.9l.82 1.2a2 2 0 0 0 1.66.9H18a2 2 0 0 1 2 2v2" });
1314
- });
1315
- }
1316
- function Qn() {
1317
- return $((e) => {
1318
- e.className("yoya-icon").attr({
1319
- "aria-hidden": "true",
1320
- fill: "none",
1321
- stroke: "currentColor",
1322
- "stroke-linecap": "round",
1323
- "stroke-linejoin": "round",
1324
- "stroke-width": "2",
1325
- viewBox: "0 0 24 24"
1326
- }).styles({
1327
- height: "24px",
1328
- width: "24px"
1329
- }), e.path({ d: "M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" });
1330
- });
1331
- }
1332
- function $n() {
1333
- return $((e) => {
1334
- e.className("yoya-icon").attr({
1335
- "aria-hidden": "true",
1336
- fill: "none",
1337
- stroke: "currentColor",
1338
- "stroke-linecap": "round",
1339
- "stroke-linejoin": "round",
1340
- "stroke-width": "2",
1341
- viewBox: "0 0 24 24"
1342
- }).styles({
1343
- height: "24px",
1344
- width: "24px"
1345
- }), e.path({ d: "m3 9.5 9-6.5 9 6.5" }), e.path({ d: "M5 10v10h5v-6h4v6h5V10" });
1346
- });
1347
- }
1348
- function er() {
1349
- return $((e) => {
1350
- e.className("yoya-icon").attr({
1351
- "aria-hidden": "true",
1352
- fill: "none",
1353
- stroke: "currentColor",
1354
- "stroke-linecap": "round",
1355
- "stroke-linejoin": "round",
1356
- "stroke-width": "2",
1357
- viewBox: "0 0 24 24"
1358
- }).styles({
1359
- height: "24px",
1360
- width: "24px"
1361
- }), e.circle({
1362
- cx: "12",
1363
- cy: "12",
1364
- r: "10"
1365
- }), e.path({ d: "M12 16v-4" }), e.path({ d: "M12 8h.01" });
1366
- });
1367
- }
1368
- function tr() {
1369
- return $((e) => {
1370
- e.className("yoya-icon").attr({
1371
- "aria-hidden": "true",
1372
- fill: "none",
1373
- stroke: "currentColor",
1374
- "stroke-linecap": "round",
1375
- "stroke-linejoin": "round",
1376
- "stroke-width": "2",
1377
- viewBox: "0 0 24 24"
1378
- }).styles({
1379
- height: "24px",
1380
- width: "24px"
1381
- }), e.rect({
1382
- height: "11",
1383
- rx: "2",
1384
- width: "18",
1385
- x: "3",
1386
- y: "11"
1387
- }), e.path({ d: "M7 11V7a5 5 0 0 1 10 0v4" });
1388
- });
1389
- }
1390
- function nr() {
1391
- return $((e) => {
1392
- e.className("yoya-icon").attr({
1393
- "aria-hidden": "true",
1394
- fill: "none",
1395
- stroke: "currentColor",
1396
- "stroke-linecap": "round",
1397
- "stroke-linejoin": "round",
1398
- "stroke-width": "2",
1399
- viewBox: "0 0 24 24"
1400
- }).styles({
1401
- height: "24px",
1402
- width: "24px"
1403
- }), e.path({ d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" }), e.path({ d: "m16 17 5-5-5-5" }), e.path({ d: "M21 12H9" });
1404
- });
1405
- }
1406
- function rr() {
1407
- return $((e) => {
1408
- e.className("yoya-icon").attr({
1409
- "aria-hidden": "true",
1410
- fill: "none",
1411
- stroke: "currentColor",
1412
- "stroke-linecap": "round",
1413
- "stroke-linejoin": "round",
1414
- "stroke-width": "2",
1415
- viewBox: "0 0 24 24"
1416
- }).styles({
1417
- height: "24px",
1418
- width: "24px"
1419
- }), e.rect({
1420
- height: "16",
1421
- rx: "2",
1422
- width: "20",
1423
- x: "2",
1424
- y: "4"
1425
- }), e.path({ d: "m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7" });
1426
- });
1427
- }
1428
- function ir() {
1429
- return $((e) => {
1430
- e.className("yoya-icon").attr({
1431
- "aria-hidden": "true",
1432
- fill: "none",
1433
- stroke: "currentColor",
1434
- "stroke-linecap": "round",
1435
- "stroke-linejoin": "round",
1436
- "stroke-width": "2",
1437
- viewBox: "0 0 24 24"
1438
- }).styles({
1439
- height: "24px",
1440
- width: "24px"
1441
- }), e.path({ d: "M4 6h16" }), e.path({ d: "M4 12h16" }), e.path({ d: "M4 18h16" });
1442
- });
1443
- }
1444
- function ar() {
1445
- return $((e) => {
1446
- e.className("yoya-icon").attr({
1447
- "aria-hidden": "true",
1448
- fill: "none",
1449
- stroke: "currentColor",
1450
- "stroke-linecap": "round",
1451
- "stroke-linejoin": "round",
1452
- "stroke-width": "2",
1453
- viewBox: "0 0 24 24"
1454
- }).styles({
1455
- height: "24px",
1456
- width: "24px"
1457
- }), e.path({ d: "M5 12h14" });
1458
- });
1459
- }
1460
- function or() {
1461
- return $((e) => {
1462
- e.className("yoya-icon").attr({
1463
- "aria-hidden": "true",
1464
- fill: "none",
1465
- stroke: "currentColor",
1466
- "stroke-linecap": "round",
1467
- "stroke-linejoin": "round",
1468
- "stroke-width": "2",
1469
- viewBox: "0 0 24 24"
1470
- }).styles({
1471
- height: "24px",
1472
- width: "24px"
1473
- }), e.circle({
1474
- cx: "5",
1475
- cy: "12",
1476
- r: "1",
1477
- fill: "currentColor"
1478
- }), e.circle({
1479
- cx: "12",
1480
- cy: "12",
1481
- r: "1",
1482
- fill: "currentColor"
1483
- }), e.circle({
1484
- cx: "19",
1485
- cy: "12",
1486
- r: "1",
1487
- fill: "currentColor"
1488
- });
1489
- });
1490
- }
1491
- function sr() {
1492
- return $((e) => {
1493
- e.className("yoya-icon").attr({
1494
- "aria-hidden": "true",
1495
- fill: "none",
1496
- stroke: "currentColor",
1497
- "stroke-linecap": "round",
1498
- "stroke-linejoin": "round",
1499
- "stroke-width": "2",
1500
- viewBox: "0 0 24 24"
1501
- }).styles({
1502
- height: "24px",
1503
- width: "24px"
1504
- }), e.path({ d: "M5 12h14" }), e.path({ d: "M12 5v14" });
1505
- });
1506
- }
1507
- function cr() {
1508
- return $((e) => {
1509
- e.className("yoya-icon").attr({
1510
- "aria-hidden": "true",
1511
- fill: "none",
1512
- stroke: "currentColor",
1513
- "stroke-linecap": "round",
1514
- "stroke-linejoin": "round",
1515
- "stroke-width": "2",
1516
- viewBox: "0 0 24 24"
1517
- }).styles({
1518
- height: "24px",
1519
- width: "24px"
1520
- }), e.path({ d: "M3 12a9 9 0 0 1 15-6.7L21 8" }), e.path({ d: "M21 3v5h-5" }), e.path({ d: "M21 12a9 9 0 0 1-15 6.7L3 16" }), e.path({ d: "M3 21v-5h5" });
1521
- });
1522
- }
1523
- function lr() {
1524
- return $((e) => {
1525
- e.className("yoya-icon").attr({
1526
- "aria-hidden": "true",
1527
- fill: "none",
1528
- stroke: "currentColor",
1529
- "stroke-linecap": "round",
1530
- "stroke-linejoin": "round",
1531
- "stroke-width": "2",
1532
- viewBox: "0 0 24 24"
1533
- }).styles({
1534
- height: "24px",
1535
- width: "24px"
1536
- }), e.circle({
1537
- cx: "11",
1538
- cy: "11",
1539
- r: "7"
1540
- }), e.path({ d: "m20 20-4-4" });
1541
- });
1542
- }
1543
- function ur() {
1544
- return $((e) => {
1545
- e.className("yoya-icon").attr({
1546
- "aria-hidden": "true",
1547
- fill: "none",
1548
- stroke: "currentColor",
1549
- "stroke-linecap": "round",
1550
- "stroke-linejoin": "round",
1551
- "stroke-width": "2",
1552
- viewBox: "0 0 24 24"
1553
- }).styles({
1554
- height: "24px",
1555
- width: "24px"
1556
- }), e.circle({
1557
- cx: "12",
1558
- cy: "12",
1559
- r: "3"
1560
- }), e.path({ d: "M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2Z" });
1561
- });
1562
- }
1563
- function dr() {
1564
- return $((e) => {
1565
- e.className("yoya-icon").attr({
1566
- "aria-hidden": "true",
1567
- fill: "none",
1568
- stroke: "currentColor",
1569
- "stroke-linecap": "round",
1570
- "stroke-linejoin": "round",
1571
- "stroke-width": "2",
1572
- viewBox: "0 0 24 24"
1573
- }).styles({
1574
- height: "24px",
1575
- width: "24px"
1576
- }), e.path({
1577
- d: "m12 2 3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z",
1578
- fill: "currentColor",
1579
- stroke: "none"
1580
- });
1581
- });
1582
- }
1583
- function fr() {
1584
- return $((e) => {
1585
- e.className("yoya-icon").attr({
1586
- "aria-hidden": "true",
1587
- fill: "none",
1588
- stroke: "currentColor",
1589
- "stroke-linecap": "round",
1590
- "stroke-linejoin": "round",
1591
- "stroke-width": "2",
1592
- viewBox: "0 0 24 24"
1593
- }).styles({
1594
- height: "24px",
1595
- width: "24px"
1596
- }), e.path({ d: "M3 6h18" }), e.path({ d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" }), e.path({ d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" }), e.path({ d: "M10 10v6" }), e.path({ d: "M14 10v6" });
1597
- });
1598
- }
1599
- function pr() {
1600
- return $((e) => {
1601
- e.className("yoya-icon").attr({
1602
- "aria-hidden": "true",
1603
- fill: "none",
1604
- stroke: "currentColor",
1605
- "stroke-linecap": "round",
1606
- "stroke-linejoin": "round",
1607
- "stroke-width": "2",
1608
- viewBox: "0 0 24 24"
1609
- }).styles({
1610
- height: "24px",
1611
- width: "24px"
1612
- }), e.path({ d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }), e.path({ d: "m17 8-5-5-5 5" }), e.path({ d: "M12 3v12" });
1613
- });
1614
- }
1615
- function mr() {
1616
- return $((e) => {
1617
- e.className("yoya-icon").attr({
1618
- "aria-hidden": "true",
1619
- fill: "none",
1620
- stroke: "currentColor",
1621
- "stroke-linecap": "round",
1622
- "stroke-linejoin": "round",
1623
- "stroke-width": "2",
1624
- viewBox: "0 0 24 24"
1625
- }).styles({
1626
- height: "24px",
1627
- width: "24px"
1628
- }), e.path({ d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2" }), e.circle({
1629
- cx: "12",
1630
- cy: "7",
1631
- r: "4"
1632
- });
1633
- });
1634
- }
1635
- function hr() {
1636
- return $((e) => {
1637
- e.className("yoya-icon").attr({
1638
- "aria-hidden": "true",
1639
- fill: "none",
1640
- stroke: "currentColor",
1641
- "stroke-linecap": "round",
1642
- "stroke-linejoin": "round",
1643
- "stroke-width": "2",
1644
- viewBox: "0 0 24 24"
1645
- }).styles({
1646
- height: "24px",
1647
- width: "24px"
1648
- }), e.path({ d: "M21.73 18 13.34 3.7a2 2 0 0 0-3.44 0L2.27 18A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z" }), e.path({ d: "M12 9v4" }), e.path({ d: "M12 17h.01" });
1649
- });
1650
- }
1651
- function gr() {
1652
- return $((e) => {
1653
- e.className("yoya-icon").attr({
1654
- "aria-hidden": "true",
1655
- fill: "none",
1656
- stroke: "currentColor",
1657
- "stroke-linecap": "round",
1658
- "stroke-linejoin": "round",
1659
- "stroke-width": "2",
1660
- viewBox: "0 0 24 24"
1661
- }).styles({
1662
- height: "24px",
1663
- width: "24px"
1664
- }), e.circle({
1665
- cx: "12",
1666
- cy: "12",
1667
- r: "4"
1668
- }), e.path({ d: "M12 2v2" }), e.path({ d: "M12 20v2" }), e.path({ d: "m4.93 4.93 1.41 1.41" }), e.path({ d: "m17.66 17.66 1.41 1.41" }), e.path({ d: "M2 12h2" }), e.path({ d: "M20 12h2" }), e.path({ d: "m6.34 17.66-1.41 1.41" }), e.path({ d: "m19.07 4.93-1.41 1.41" });
1669
- });
1670
- }
1671
- function _r() {
1672
- return $((e) => {
1673
- e.className("yoya-icon").attr({
1674
- "aria-hidden": "true",
1675
- fill: "none",
1676
- stroke: "currentColor",
1677
- "stroke-linecap": "round",
1678
- "stroke-linejoin": "round",
1679
- "stroke-width": "2",
1680
- viewBox: "0 0 24 24"
1681
- }).styles({
1682
- height: "24px",
1683
- width: "24px"
1684
- }), e.path({ d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" });
1685
- });
1686
- }
1687
- function vr() {
1688
- return $((e) => {
1689
- e.className("yoya-icon").attr({
1690
- "aria-hidden": "true",
1691
- fill: "none",
1692
- stroke: "currentColor",
1693
- "stroke-linecap": "round",
1694
- "stroke-linejoin": "round",
1695
- "stroke-width": "2",
1696
- viewBox: "0 0 24 24"
1697
- }).styles({
1698
- height: "24px",
1699
- width: "24px"
1700
- }), e.rect({
1701
- height: "14",
1702
- rx: "2",
1703
- width: "20",
1704
- x: "2",
1705
- y: "3"
1706
- }), e.path({ d: "M8 21h8" }), e.path({ d: "M12 17v4" });
1707
- });
1708
- }
1709
- //#endregion
1710
- //#region src/svg/index.js
1711
- var yr = "http://www.w3.org/2000/svg", br = /* @__PURE__ */ new Set([
1712
- "desc",
1713
- "metadata",
1714
- "text",
1715
- "textPath",
1716
- "title",
1717
- "tspan"
1718
- ]), Q = class e extends p {
1719
- setup(e) {
1720
- return typeof e == "string" || typeof e == "number" ? this.child(e) : super.setup(e);
1721
- }
1722
- text(...e) {
1723
- if (br.has(this._tagName)) {
1724
- let [t, n] = e;
1725
- return e.length > 0 && this.child(t), n != null && this.setup(n), this;
1726
- }
1727
- return this._svgChild("text", ...e);
1728
- }
1729
- style(...e) {
1730
- let [t, n] = e;
1731
- return this._tagName === "style" && e.length <= 1 ? (e.length === 1 && this.child(t), this) : e.length <= 1 && xr(t) ? this._svgChild("style", t) : super.style(t, n);
1732
- }
1733
- renderDom() {
1734
- return this._deleted ? null : (this._el || (this._el = document.createElementNS(yr, this._tagName), this._applySnapshotToElement()), this._el);
1735
- }
1736
- _syncClassName() {
1737
- let e = [...this._classes].join(" ");
1738
- e ? this._attrs.class = e : delete this._attrs.class, this._el && (e ? this._el.setAttribute("class", e) : this._el.removeAttribute("class"));
1739
- }
1740
- _svgChild(t, ...n) {
1741
- let r = new e(t);
1742
- return n.forEach((e) => {
1743
- e != null && r.setup(e);
1744
- }), this.child(r);
1745
- }
1746
- };
1747
- function xr(e) {
1748
- return e == null || typeof e == "function" || typeof e == "string" || typeof e == "number" || Array.isArray(e);
1749
- }
1750
- var Sr = /* @__PURE__ */ "animate.animateMotion.animateTransform.circle.clipPath.defs.desc.ellipse.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.filter.foreignObject.g.image.line.linearGradient.marker.mask.metadata.mpath.path.pattern.polygon.polyline.radialGradient.rect.set.stop.a.script.style.switch.text.title.symbol.textPath.tspan.use.view".split(".");
1751
- function Cr(e) {
1752
- return function(...t) {
1753
- let n = new Q(e);
1754
- return e === "svg" && n.style("display", "block"), t.forEach((e) => {
1755
- e != null && n.setup(e);
1756
- }), n;
1757
- };
1758
- }
1759
- function wr() {
1760
- return Sr.reduce((e, t) => {
1761
- let { aliases: n = [], name: r, tagName: i } = Er(t), a = Cr(i);
1762
- return e[r] = a, n.forEach((t) => {
1763
- e[t] = a;
1764
- }), e;
1765
- }, {});
1766
- }
1767
- var $ = Cr("svg"), Tr = wr();
1768
- h(Y, { svg: $ }), h(Q, {
1769
- svg: $,
1770
- ...Tr
1771
- });
1772
- function Er(e) {
1773
- return typeof e == "string" ? {
1774
- name: e,
1775
- tagName: e
1776
- } : e;
1777
- }
1778
- //#endregion
1779
- export { An as ArrowDownOutlined, jn as ArrowLeftOutlined, Mn as ArrowRightOutlined, Nn as ArrowUpOutlined, Pn as BellOutlined, Fn as CalendarOutlined, In as CheckOutlined, Ln as ChevronDownOutlined, Rn as ChevronLeftOutlined, zn as ChevronRightOutlined, Bn as ChevronUpOutlined, g as ClientOnlyNode, Vn as CloseOutlined, Hn as CodeOutlined, ee as ComponentNode, Un as CopyOutlined, Wn as DownloadOutlined, Gn as EditOutlined, p as ElementNode, Kn as ExternalOutlined, qn as EyeOutlined, Jn as FileOutlined, Zn as FolderOpenOutlined, Xn as FolderOutlined, Qn as HeartOutlined, $n as HomeOutlined, Y as HtmlElementNode, b as I18n, x as I18nTextNode, Yn as ImageOutlined, er as InfoOutlined, tr as LockOutlined, nr as LogoutOutlined, rr as MailOutlined, ir as MenuOutlined, ar as MinusOutlined, vr as MonitorOutlined, _r as MoonOutlined, or as MoreHorizontalOutlined, sr as PlusOutlined, cr as RefreshOutlined, ye as RequestBase, be as Result, yr as SVG_NAMESPACE, lr as SearchOutlined, ur as SettingsOutlined, dr as StarOutlined, gr as SunOutlined, Q as SvgElementNode, l as TextNode, l as VTextNode, l as ViewTextNode, fr as TrashOutlined, pr as UploadOutlined, mr as UserOutlined, c as ViewNode, hr as WarningOutlined, Se as a, Ce as abbr, we as address, f as applyElementOptions, Te as area, Ee as article, De as aside, Oe as audio, ke as b, Ae as base, je as bdi, Me as bdo, re as bindDocumentEvent, ae as bindWindowEvent, Ne as blockquote, Pe as body, Fe as br, Ie as button, Le as canvas, Re as caption, ze as cite, Be as code, Ve as col, He as colgroup, ve as configureRequest, m as createElementFactory, X as createHtmlFactories, S as createI18n, Ue as data, We as datalist, Ge as dd, Ke as del, qe as details, Je as dfn, Ye as dialog, Xe as div, Ze as dl, Qe as dt, $e as em, et as embed, r as escapeHtml, tt as fieldset, nt as figcaption, rt as figure, it as footer, at as form, O as getI18n, de as getPersistedI18nLocales, G as getYoyaMode, q as getYoyaTheme, ot as h1, st as h2, ct as h3, lt as h4, ut as h5, dt as h6, ft as head, pt as header, mt as hgroup, ht as hr, gt as html, _t as i, C as i18n, se as i18nText, vt as iframe, yt as img, _e as initYoyaTheme, oe as injectDocumentStyle, bt as input, xt as ins, T as installI18nStringShortcut, St as kbd, Ct as label, wt as legend, Tt as li, Et as link, ue as listI18n, Dt as main, Ot as map, kt as mark, At as menu, jt as meta, Mt as meter, Nt as nav, u as normalizeChild, d as normalizeSetupArguments, Pt as noscript, Ft as object, It as ol, Lt as optgroup, Rt as option, zt as output, Bt as p, Vt as picture, Ht as pre, Ut as progress, Wt as q, h as registerChildFactories, D as registerI18n, n as resolveTarget, ge as resolveYoyaMode, Gt as rp, Kt as rt, qt as ruby, Jt as s, Yt as samp, Xt as script, Zt as search, Qt as section, $t as select, en as selectedcontent, W as setYoyaMode, K as setYoyaTheme, tn as slot, nn as small, rn as source, an as span, on as strong, sn as style, cn as styleTag, ln as sub, un as summary, dn as sup, $ as svg, fn as table, pn as tbody, mn as td, hn as template, te as text, te as vText, gn as textarea, _n as tfoot, vn as th, yn as thead, bn as time, xn as title, Sn as tr, Cn as track, wn as u, Tn as ul, ie as unbindDocumentEvent, le as unregisterI18n, ne as vClientOnly, R as vStateNode, En as varTag, Dn as video, On as wbr, ce as withI18nStringShortcut };
1
+ import { $ as FileOutlined, $n as s, $t as dfn, Ai as normalizeChild, An as li, Ar as varTag, At as article, B as CalendarOutlined, Bi as withAccess, Bn as object, Br as setYoyaMode, Bt as button, Ci as ComponentNode, Cn as iframe, Cr as thead, Ct as WarningOutlined, Di as applyElementOptions, Dn as kbd, Dr as track, Dt as abbr, Ei as ViewNode, En as ins, Er as tr, Et as a, F as ArrowDownOutlined, Fi as createAccess, Fn as menu, Fr as configureRequest, Ft as bdi, G as ChevronUpOutlined, Gn as p, Gr as moveByKey, Gt as col, H as ChevronDownOutlined, Hn as optgroup, Hr as announce, Ht as caption, I as ArrowLeftOutlined, Ii as currentAccess, In as meta, Ir as getYoyaMode, It as bdo, J as CopyOutlined, Jn as progress, Jt as data, K as CloseOutlined, Kn as picture, Kr as vStateNode, Kt as colgroup, L as ArrowRightOutlined, Li as installAccess, Ln as meter, Lr as getYoyaTheme, Lt as blockquote, M as SVG_NAMESPACE, Mi as registerChildFactories, Mn as main, Mr as wbr, Mt as audio, N as SvgElementNode, Ni as resolveTarget, Nn as map, Nr as Result, Nt as b, Oi as createElementFactory, On as label, Or as u, Ot as address, P as svg, Pi as vText, Pn as mark, Pr as RequestBase, Pt as base, Q as EyeOutlined, Qn as ruby, Qt as details, R as ArrowUpOutlined, Ri as parseAccessSpec, Rn as nav, Rr as initYoyaTheme, Rt as body, Si as vClientOnly, Sn as i, Sr as th, St as UserOutlined, Ti as VTextNode, Tn as input, Tr as title, Tt as HtmlElementNode, U as ChevronLeftOutlined, Un as option, Ur as createFocusTrap, Ut as cite, V as CheckOutlined, Vn as ol, Vr as setYoyaTheme, Vt as canvas, W as ChevronRightOutlined, Wn as output, Wr as getFocusableElements, Wt as code, X as EditOutlined, Xn as rp, Xt as dd, Y as DownloadOutlined, Yn as q, Yt as datalist, Z as ExternalOutlined, Zn as rt, Zt as del, _i as bindDocumentEvent, _n as head, _r as tbody, _t as SettingsOutlined, ai as I18n, an as embed, ar as selectedcontent, at as InfoOutlined, bi as unbindDocumentEvent, bn as hr, br as textarea, bt as TrashOutlined, ci as getI18n, cn as figure, cr as source, ct as MailOutlined, di as i18nText, dn as h1, dr as style, dt as MonitorOutlined, ei as clearInstalledContext, en as dialog, er as samp, et as FolderOpenOutlined, fi as installI18nStringShortcut, fn as h2, fr as styleTag, ft as MoonOutlined, gi as withI18nStringShortcut, gn as h6, gr as table, gt as SearchOutlined, hi as unregisterI18n, hn as h5, hr as sup, ht as RefreshOutlined, ii as withContext, in as em, ir as select, it as ImageOutlined, ji as normalizeSetupArguments, jn as link, jr as video, jt as aside, ki as escapeHtml, kn as legend, kr as ul, kt as area, li as getPersistedI18nLocales, ln as footer, lr as span, lt as MenuOutlined, mi as registerI18n, mn as h4, mr as summary, mt as PlusOutlined, ni as installContext, nn as dl, nr as search, nt as HeartOutlined, oi as I18nTextNode, on as fieldset, or as slot, ot as LockOutlined, pi as listI18n, pn as h3, pr as sub, pt as MoreHorizontalOutlined, q as CodeOutlined, qn as pre, qt as createHtmlFactories, ri as snapshotContext, rn as dt, rr as section, rt as HomeOutlined, si as createI18n, sn as figcaption, sr as small, st as LogoutOutlined, ti as currentContext, tn as div, tr as script, tt as FolderOutlined, ui as i18n, un as form, ur as strong, ut as MinusOutlined, vi as bindWindowEvent, vn as header, vr as td, vt as StarOutlined, wi as ElementNode, wn as img, wr as time, xi as ClientOnlyNode, xn as html, xr as tfoot, xt as UploadOutlined, yi as injectDocumentStyle, yn as hgroup, yr as template, yt as SunOutlined, z as BellOutlined, zi as stripAccessCode, zn as noscript, zr as resolveYoyaMode, zt as br } from "./yoya.core.chunk.js";
2
+
3
+ export { ArrowDownOutlined, ArrowLeftOutlined, ArrowRightOutlined, ArrowUpOutlined, BellOutlined, CalendarOutlined, CheckOutlined, ChevronDownOutlined, ChevronLeftOutlined, ChevronRightOutlined, ChevronUpOutlined, ClientOnlyNode, CloseOutlined, CodeOutlined, ComponentNode, CopyOutlined, DownloadOutlined, EditOutlined, ElementNode, ExternalOutlined, EyeOutlined, FileOutlined, FolderOpenOutlined, FolderOutlined, HeartOutlined, HomeOutlined, HtmlElementNode, I18n, I18nTextNode, ImageOutlined, InfoOutlined, LockOutlined, LogoutOutlined, MailOutlined, MenuOutlined, MinusOutlined, MonitorOutlined, MoonOutlined, MoreHorizontalOutlined, PlusOutlined, RefreshOutlined, RequestBase, Result, SVG_NAMESPACE, SearchOutlined, SettingsOutlined, StarOutlined, SunOutlined, SvgElementNode, VTextNode as TextNode, VTextNode, VTextNode as ViewTextNode, TrashOutlined, UploadOutlined, UserOutlined, ViewNode, WarningOutlined, a, abbr, address, announce, applyElementOptions, area, article, aside, audio, b, base, bdi, bdo, bindDocumentEvent, bindWindowEvent, blockquote, body, br, button, canvas, caption, cite, clearInstalledContext, code, col, colgroup, configureRequest, createAccess, createElementFactory, createFocusTrap, createHtmlFactories, createI18n, currentAccess, currentContext, data, datalist, dd, del, details, dfn, dialog, div, dl, dt, em, embed, escapeHtml, fieldset, figcaption, figure, footer, form, getFocusableElements, getI18n, getPersistedI18nLocales, getYoyaMode, getYoyaTheme, h1, h2, h3, h4, h5, h6, head, header, hgroup, hr, html, i, i18n, i18nText, iframe, img, initYoyaTheme, injectDocumentStyle, input, ins, installAccess, installContext, installI18nStringShortcut, kbd, label, legend, li, link, listI18n, main, map, mark, menu, meta, meter, moveByKey, nav, normalizeChild, normalizeSetupArguments, noscript, object, ol, optgroup, option, output, p, parseAccessSpec, picture, pre, progress, q, registerChildFactories, registerI18n, resolveTarget, resolveYoyaMode, rp, rt, ruby, s, samp, script, search, section, select, selectedcontent, setYoyaMode, setYoyaTheme, slot, small, snapshotContext, source, span, stripAccessCode, strong, style, styleTag, sub, summary, sup, svg, table, tbody, td, template, vText as text, vText, textarea, tfoot, th, thead, time, title, tr, track, u, ul, unbindDocumentEvent, unregisterI18n, vClientOnly, vStateNode, varTag, video, wbr, withAccess, withContext, withI18nStringShortcut };