@yoyaflow/yoya-ui 0.2.1 → 0.3.1
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/README.md +63 -18
- package/README.zh-CN.md +63 -18
- package/dist/yoya-ui.umd.js +2 -2
- package/dist/yoya.core.js +231 -126
- package/dist/yoya.echart.js +12 -5
- package/dist/yoya.ssr.js +623 -546
- package/dist/yoya.ui.css +35 -11
- package/dist/yoya.ui.js +2286 -1448
- package/package.json +1 -1
- package/types/core.d.ts +87 -0
- package/types/data-display.d.ts +77 -0
- package/types/form.d.ts +21 -0
- package/types/svg.d.ts +1 -0
package/dist/yoya.core.js
CHANGED
|
@@ -73,7 +73,7 @@ var c = class e {
|
|
|
73
73
|
child(...e) {
|
|
74
74
|
return e.flat(Infinity).forEach((e) => {
|
|
75
75
|
if (e == null) return;
|
|
76
|
-
let t =
|
|
76
|
+
let t = u(e);
|
|
77
77
|
this._pendingRemovals.delete(t), this._children.push(t), this._childrenDirty = !0;
|
|
78
78
|
}), this;
|
|
79
79
|
}
|
|
@@ -181,16 +181,16 @@ var c = class e {
|
|
|
181
181
|
return this._resolved && this._resolved.destroy(), super.destroy();
|
|
182
182
|
}
|
|
183
183
|
};
|
|
184
|
-
function
|
|
184
|
+
function te(e = "") {
|
|
185
185
|
return new l(e);
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function u(e) {
|
|
188
188
|
if (e instanceof c) return e;
|
|
189
189
|
if (typeof e == "function" || e && typeof e == "object" && typeof e.render == "function") return new ee(e);
|
|
190
190
|
if (typeof e == "string" || typeof e == "number") return new l(e);
|
|
191
191
|
throw TypeError("ViewNode child must be a ViewNode, component, string, or number");
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function d(e = null, t = null, n = null) {
|
|
194
194
|
return typeof t == "function" && n == null ? {
|
|
195
195
|
first: e,
|
|
196
196
|
options: null,
|
|
@@ -201,10 +201,10 @@ function f(e = null, t = null, n = null) {
|
|
|
201
201
|
callback: n
|
|
202
202
|
};
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function f(e, t) {
|
|
205
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
206
|
}
|
|
207
|
-
var
|
|
207
|
+
var p = class extends c {
|
|
208
208
|
constructor(e, t = null) {
|
|
209
209
|
super(null), this._tagName = e, this._attrs = {}, this._styles = {}, this._classes = /* @__PURE__ */ new Set(), this._el = null, t !== null && this.setup(t);
|
|
210
210
|
}
|
|
@@ -272,7 +272,7 @@ var m = class extends c {
|
|
|
272
272
|
child(...e) {
|
|
273
273
|
return e.flat(Infinity).forEach((e) => {
|
|
274
274
|
if (e == null) return;
|
|
275
|
-
let t =
|
|
275
|
+
let t = u(e);
|
|
276
276
|
if (this._pendingRemovals.delete(t), this._children.push(t), this._childrenDirty = !0, this._el) {
|
|
277
277
|
let e = t.renderDom();
|
|
278
278
|
e && e.parentNode !== this._el && this._el.appendChild(e);
|
|
@@ -317,13 +317,13 @@ var m = class extends c {
|
|
|
317
317
|
return o(this._styles);
|
|
318
318
|
}
|
|
319
319
|
};
|
|
320
|
-
function
|
|
320
|
+
function m(e, t = p) {
|
|
321
321
|
return function(n = null, r = null, i = null) {
|
|
322
|
-
let a =
|
|
323
|
-
return
|
|
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
324
|
};
|
|
325
325
|
}
|
|
326
|
-
function
|
|
326
|
+
function h(e, t, n = {}) {
|
|
327
327
|
let { override: r = !1 } = n;
|
|
328
328
|
Object.entries(t).forEach(([t, n]) => {
|
|
329
329
|
!r && e.prototype[t] || (e.prototype[t] = function(...e) {
|
|
@@ -333,12 +333,12 @@ function g(e, t, n = {}) {
|
|
|
333
333
|
}
|
|
334
334
|
//#endregion
|
|
335
335
|
//#region src/core/client-only.js
|
|
336
|
-
var
|
|
336
|
+
var g = class extends c {
|
|
337
337
|
constructor(e) {
|
|
338
338
|
super(null), this._loader = e, this._resolved = null;
|
|
339
339
|
}
|
|
340
340
|
_resolve() {
|
|
341
|
-
return this._resolved ||=
|
|
341
|
+
return this._resolved ||= _(this._loader), this._resolved;
|
|
342
342
|
}
|
|
343
343
|
toHTML() {
|
|
344
344
|
return this._deleted ? "" : "<div class=\"yoya-client-only\" data-client-only=\"true\"></div>";
|
|
@@ -358,21 +358,45 @@ var _ = class extends c {
|
|
|
358
358
|
return this._resolved && this._resolved.destroy(), super.destroy();
|
|
359
359
|
}
|
|
360
360
|
};
|
|
361
|
-
function
|
|
362
|
-
return new
|
|
361
|
+
function ne(e) {
|
|
362
|
+
return new g(e);
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function _(e) {
|
|
365
365
|
if (e instanceof c) return e;
|
|
366
|
-
if (typeof e == "function") return
|
|
367
|
-
if (e && typeof e.render == "function") return
|
|
366
|
+
if (typeof e == "function") return _(e());
|
|
367
|
+
if (e && typeof e.render == "function") return _(e.render());
|
|
368
368
|
throw TypeError("vClientOnly loader must return a ViewNode or a component object");
|
|
369
369
|
}
|
|
370
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
|
|
371
395
|
//#region src/core/i18n.js
|
|
372
|
-
var
|
|
396
|
+
var v = "yoya-ui:i18n", y = /* @__PURE__ */ new Map(), b = class {
|
|
373
397
|
constructor(e = {}) {
|
|
374
398
|
let t = e.language || "zh-CN";
|
|
375
|
-
this._key = e.key || null, this._storage = I(e.storage), this._storageKey = e.storageKey || null, this._sharedStorageKey = this._key ?
|
|
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);
|
|
376
400
|
}
|
|
377
401
|
key() {
|
|
378
402
|
return this._key;
|
|
@@ -418,10 +442,10 @@ var y = "yoya-ui:i18n", b = /* @__PURE__ */ new Map(), x = class {
|
|
|
418
442
|
}
|
|
419
443
|
t(e, t = {}, n = void 0) {
|
|
420
444
|
let r = j(this._messages[this._language], e) ?? j(this._messages[this._fallbackLanguage], e) ?? n ?? e;
|
|
421
|
-
return
|
|
445
|
+
return fe(typeof r == "function" ? r(t, this) : r, t);
|
|
422
446
|
}
|
|
423
447
|
text(e, t = {}, n = void 0) {
|
|
424
|
-
return new
|
|
448
|
+
return new x(this, e, t, n);
|
|
425
449
|
}
|
|
426
450
|
subscribe(e) {
|
|
427
451
|
return this._listeners.add(e), () => {
|
|
@@ -451,7 +475,7 @@ var y = "yoya-ui:i18n", b = /* @__PURE__ */ new Map(), x = class {
|
|
|
451
475
|
_notify() {
|
|
452
476
|
this._listeners.forEach((e) => e(this));
|
|
453
477
|
}
|
|
454
|
-
},
|
|
478
|
+
}, x = class extends l {
|
|
455
479
|
constructor(e, t, n = {}, r = void 0) {
|
|
456
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());
|
|
457
481
|
}
|
|
@@ -471,16 +495,16 @@ var y = "yoya-ui:i18n", b = /* @__PURE__ */ new Map(), x = class {
|
|
|
471
495
|
return this._unsubscribe &&= (this._unsubscribe(), null), super.destroy();
|
|
472
496
|
}
|
|
473
497
|
};
|
|
474
|
-
function
|
|
475
|
-
return new
|
|
498
|
+
function S(e = {}) {
|
|
499
|
+
return new b(e);
|
|
476
500
|
}
|
|
477
|
-
var
|
|
478
|
-
function
|
|
479
|
-
return
|
|
501
|
+
var C = S();
|
|
502
|
+
function se(e, t = {}) {
|
|
503
|
+
return C.text(e, t);
|
|
480
504
|
}
|
|
481
|
-
var
|
|
482
|
-
function
|
|
483
|
-
return
|
|
505
|
+
var w = C;
|
|
506
|
+
function T(e = C) {
|
|
507
|
+
return w = e, String.prototype._yoyaUiStringShortcutInstalled ? e : (Object.defineProperty(String.prototype, "_yoyaUiStringShortcutInstalled", {
|
|
484
508
|
configurable: !0,
|
|
485
509
|
enumerable: !1,
|
|
486
510
|
value: !0
|
|
@@ -488,41 +512,41 @@ function E(e = w) {
|
|
|
488
512
|
configurable: !0,
|
|
489
513
|
enumerable: !1,
|
|
490
514
|
value: function(e, t, n) {
|
|
491
|
-
let r = String(this), i = {}, a =
|
|
492
|
-
return
|
|
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);
|
|
493
517
|
}
|
|
494
518
|
}), e);
|
|
495
519
|
}
|
|
496
|
-
function
|
|
497
|
-
let n =
|
|
498
|
-
|
|
520
|
+
function ce(e, t) {
|
|
521
|
+
let n = w;
|
|
522
|
+
w = e || n;
|
|
499
523
|
try {
|
|
500
524
|
return t();
|
|
501
525
|
} finally {
|
|
502
|
-
|
|
526
|
+
w = n;
|
|
503
527
|
}
|
|
504
528
|
}
|
|
505
|
-
function
|
|
529
|
+
function E(e) {
|
|
506
530
|
return !!(e && typeof e.text == "function");
|
|
507
531
|
}
|
|
508
532
|
function D(e) {
|
|
509
533
|
let t = e?.key?.();
|
|
510
|
-
return t ? (
|
|
511
|
-
|
|
534
|
+
return t ? (y.set(t, e), () => {
|
|
535
|
+
y.get(t) === e && y.delete(t);
|
|
512
536
|
}) : () => {};
|
|
513
537
|
}
|
|
514
|
-
function
|
|
538
|
+
function le(e) {
|
|
515
539
|
let t = typeof e == "string" ? e : e?.key?.();
|
|
516
|
-
return t &&
|
|
540
|
+
return t && y.delete(t), t;
|
|
517
541
|
}
|
|
518
542
|
function O(e) {
|
|
519
|
-
return e &&
|
|
543
|
+
return e && y.get(e) || null;
|
|
520
544
|
}
|
|
521
|
-
function
|
|
522
|
-
return new Map(
|
|
545
|
+
function ue() {
|
|
546
|
+
return new Map(y);
|
|
523
547
|
}
|
|
524
|
-
function
|
|
525
|
-
return k(e || I(),
|
|
548
|
+
function de(e) {
|
|
549
|
+
return k(e || I(), v);
|
|
526
550
|
}
|
|
527
551
|
function k(e, t) {
|
|
528
552
|
if (!e) return {};
|
|
@@ -540,13 +564,13 @@ function A(e, t, n) {
|
|
|
540
564
|
e.setItem(t, JSON.stringify(n));
|
|
541
565
|
} catch {}
|
|
542
566
|
}
|
|
543
|
-
|
|
567
|
+
T(C);
|
|
544
568
|
function j(e, t) {
|
|
545
569
|
if (!(!e || !t)) return Object.prototype.hasOwnProperty.call(e, t) ? e[t] : String(t).split(".").reduce((e, t) => {
|
|
546
570
|
if (e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, t)) return e[t];
|
|
547
571
|
}, e);
|
|
548
572
|
}
|
|
549
|
-
function
|
|
573
|
+
function fe(e, t) {
|
|
550
574
|
return String(e).replace(/\{([^{}]+)\}/g, (e, n) => {
|
|
551
575
|
let r = t?.[n.trim()];
|
|
552
576
|
return r == null ? e : String(r);
|
|
@@ -572,10 +596,10 @@ function I(e) {
|
|
|
572
596
|
try {
|
|
573
597
|
if (typeof globalThis < "u" && globalThis.localStorage) return globalThis.localStorage;
|
|
574
598
|
} catch {}
|
|
575
|
-
return
|
|
599
|
+
return pe();
|
|
576
600
|
}
|
|
577
601
|
var L = /* @__PURE__ */ new Map();
|
|
578
|
-
function
|
|
602
|
+
function pe() {
|
|
579
603
|
return {
|
|
580
604
|
getItem(e) {
|
|
581
605
|
return L.has(e) ? L.get(e) : null;
|
|
@@ -590,11 +614,11 @@ function le() {
|
|
|
590
614
|
}
|
|
591
615
|
//#endregion
|
|
592
616
|
//#region src/core/state-node.js
|
|
593
|
-
var
|
|
617
|
+
var me = /* @__PURE__ */ new Set([
|
|
594
618
|
"state",
|
|
595
619
|
"render",
|
|
596
620
|
"update"
|
|
597
|
-
]),
|
|
621
|
+
]), he = /* @__PURE__ */ new Set([
|
|
598
622
|
"destroy",
|
|
599
623
|
"getState",
|
|
600
624
|
"setState",
|
|
@@ -612,7 +636,7 @@ function R(e = {}) {
|
|
|
612
636
|
render() {
|
|
613
637
|
if (r) return i;
|
|
614
638
|
if (!i) {
|
|
615
|
-
i = new
|
|
639
|
+
i = new p("div");
|
|
616
640
|
let e = i.destroy.bind(i);
|
|
617
641
|
i.destroy = () => (n.clear(), e()), o();
|
|
618
642
|
}
|
|
@@ -635,8 +659,8 @@ function R(e = {}) {
|
|
|
635
659
|
return n.add(e), () => n.delete(e);
|
|
636
660
|
}
|
|
637
661
|
};
|
|
638
|
-
for (let t of Object.keys(e)) if (!(
|
|
639
|
-
if (
|
|
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`);
|
|
640
664
|
a[t] = e[t];
|
|
641
665
|
}
|
|
642
666
|
return a;
|
|
@@ -652,7 +676,7 @@ function R(e = {}) {
|
|
|
652
676
|
o();
|
|
653
677
|
}
|
|
654
678
|
}
|
|
655
|
-
|
|
679
|
+
h(p, { vStateNode: R });
|
|
656
680
|
//#endregion
|
|
657
681
|
//#region src/core/theme.js
|
|
658
682
|
var z = [
|
|
@@ -681,7 +705,7 @@ function G() {
|
|
|
681
705
|
let e = H(), t = e && e.dataset.yoyaMode;
|
|
682
706
|
return z.includes(t) ? t : "light";
|
|
683
707
|
}
|
|
684
|
-
function
|
|
708
|
+
function ge() {
|
|
685
709
|
let e = G();
|
|
686
710
|
return e === "system" ? typeof window > "u" || typeof window.matchMedia != "function" ? "light" : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : e;
|
|
687
711
|
}
|
|
@@ -702,7 +726,7 @@ function q() {
|
|
|
702
726
|
let e = H();
|
|
703
727
|
return e && e.dataset.yoyaTheme || "";
|
|
704
728
|
}
|
|
705
|
-
function
|
|
729
|
+
function _e(e = {}) {
|
|
706
730
|
let t = e.mode, n = e.theme;
|
|
707
731
|
if (t === void 0 && U()) {
|
|
708
732
|
let e = localStorage.getItem(B);
|
|
@@ -714,8 +738,63 @@ function pe(e = {}) {
|
|
|
714
738
|
};
|
|
715
739
|
}
|
|
716
740
|
//#endregion
|
|
717
|
-
//#region src/
|
|
718
|
-
var J =
|
|
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 = [
|
|
719
798
|
"a",
|
|
720
799
|
"abbr",
|
|
721
800
|
"address",
|
|
@@ -837,18 +916,18 @@ var J = class extends m {}, me = [
|
|
|
837
916
|
"video",
|
|
838
917
|
"wbr"
|
|
839
918
|
];
|
|
840
|
-
function
|
|
841
|
-
return
|
|
842
|
-
let { aliases: n = [], name: r, tagName: i } =
|
|
919
|
+
function X() {
|
|
920
|
+
return xe.reduce((e, t) => {
|
|
921
|
+
let { aliases: n = [], name: r, tagName: i } = kn(t), a = m(i, Y);
|
|
843
922
|
return e[r] = a, n.forEach((t) => {
|
|
844
923
|
e[t] = a;
|
|
845
924
|
}), e;
|
|
846
925
|
}, {});
|
|
847
926
|
}
|
|
848
|
-
var
|
|
849
|
-
|
|
850
|
-
var { a:
|
|
851
|
-
function
|
|
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) {
|
|
852
931
|
return typeof e == "string" ? {
|
|
853
932
|
name: e,
|
|
854
933
|
tagName: e
|
|
@@ -856,7 +935,7 @@ function Sn(e) {
|
|
|
856
935
|
}
|
|
857
936
|
//#endregion
|
|
858
937
|
//#region src/svg/icons.js
|
|
859
|
-
function
|
|
938
|
+
function An() {
|
|
860
939
|
return $((e) => {
|
|
861
940
|
e.className("yoya-icon").attr({
|
|
862
941
|
"aria-hidden": "true",
|
|
@@ -872,7 +951,7 @@ function Cn() {
|
|
|
872
951
|
}), e.path({ d: "M12 5v14" }), e.path({ d: "m19 12-7 7-7-7" });
|
|
873
952
|
});
|
|
874
953
|
}
|
|
875
|
-
function
|
|
954
|
+
function jn() {
|
|
876
955
|
return $((e) => {
|
|
877
956
|
e.className("yoya-icon").attr({
|
|
878
957
|
"aria-hidden": "true",
|
|
@@ -888,7 +967,7 @@ function wn() {
|
|
|
888
967
|
}), e.path({ d: "M19 12H5" }), e.path({ d: "m12 19-7-7 7-7" });
|
|
889
968
|
});
|
|
890
969
|
}
|
|
891
|
-
function
|
|
970
|
+
function Mn() {
|
|
892
971
|
return $((e) => {
|
|
893
972
|
e.className("yoya-icon").attr({
|
|
894
973
|
"aria-hidden": "true",
|
|
@@ -904,7 +983,7 @@ function Tn() {
|
|
|
904
983
|
}), e.path({ d: "M5 12h14" }), e.path({ d: "m12 5 7 7-7 7" });
|
|
905
984
|
});
|
|
906
985
|
}
|
|
907
|
-
function
|
|
986
|
+
function Nn() {
|
|
908
987
|
return $((e) => {
|
|
909
988
|
e.className("yoya-icon").attr({
|
|
910
989
|
"aria-hidden": "true",
|
|
@@ -920,7 +999,7 @@ function En() {
|
|
|
920
999
|
}), e.path({ d: "M12 19V5" }), e.path({ d: "m5 12 7-7 7 7" });
|
|
921
1000
|
});
|
|
922
1001
|
}
|
|
923
|
-
function
|
|
1002
|
+
function Pn() {
|
|
924
1003
|
return $((e) => {
|
|
925
1004
|
e.className("yoya-icon").attr({
|
|
926
1005
|
"aria-hidden": "true",
|
|
@@ -936,7 +1015,7 @@ function Dn() {
|
|
|
936
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" });
|
|
937
1016
|
});
|
|
938
1017
|
}
|
|
939
|
-
function
|
|
1018
|
+
function Fn() {
|
|
940
1019
|
return $((e) => {
|
|
941
1020
|
e.className("yoya-icon").attr({
|
|
942
1021
|
"aria-hidden": "true",
|
|
@@ -958,7 +1037,7 @@ function On() {
|
|
|
958
1037
|
}), e.path({ d: "M16 2v4" }), e.path({ d: "M8 2v4" }), e.path({ d: "M3 10h18" });
|
|
959
1038
|
});
|
|
960
1039
|
}
|
|
961
|
-
function
|
|
1040
|
+
function In() {
|
|
962
1041
|
return $((e) => {
|
|
963
1042
|
e.className("yoya-icon").attr({
|
|
964
1043
|
"aria-hidden": "true",
|
|
@@ -974,7 +1053,7 @@ function kn() {
|
|
|
974
1053
|
}), e.path({ d: "M20 6 9 17l-5-5" });
|
|
975
1054
|
});
|
|
976
1055
|
}
|
|
977
|
-
function
|
|
1056
|
+
function Ln() {
|
|
978
1057
|
return $((e) => {
|
|
979
1058
|
e.className("yoya-icon").attr({
|
|
980
1059
|
"aria-hidden": "true",
|
|
@@ -990,7 +1069,7 @@ function An() {
|
|
|
990
1069
|
}), e.path({ d: "m6 9 6 6 6-6" });
|
|
991
1070
|
});
|
|
992
1071
|
}
|
|
993
|
-
function
|
|
1072
|
+
function Rn() {
|
|
994
1073
|
return $((e) => {
|
|
995
1074
|
e.className("yoya-icon").attr({
|
|
996
1075
|
"aria-hidden": "true",
|
|
@@ -1006,7 +1085,7 @@ function jn() {
|
|
|
1006
1085
|
}), e.path({ d: "m15 18-6-6 6-6" });
|
|
1007
1086
|
});
|
|
1008
1087
|
}
|
|
1009
|
-
function
|
|
1088
|
+
function zn() {
|
|
1010
1089
|
return $((e) => {
|
|
1011
1090
|
e.className("yoya-icon").attr({
|
|
1012
1091
|
"aria-hidden": "true",
|
|
@@ -1022,7 +1101,7 @@ function Mn() {
|
|
|
1022
1101
|
}), e.path({ d: "m9 18 6-6-6-6" });
|
|
1023
1102
|
});
|
|
1024
1103
|
}
|
|
1025
|
-
function
|
|
1104
|
+
function Bn() {
|
|
1026
1105
|
return $((e) => {
|
|
1027
1106
|
e.className("yoya-icon").attr({
|
|
1028
1107
|
"aria-hidden": "true",
|
|
@@ -1038,7 +1117,7 @@ function Nn() {
|
|
|
1038
1117
|
}), e.path({ d: "m18 15-6-6-6 6" });
|
|
1039
1118
|
});
|
|
1040
1119
|
}
|
|
1041
|
-
function
|
|
1120
|
+
function Vn() {
|
|
1042
1121
|
return $((e) => {
|
|
1043
1122
|
e.className("yoya-icon").attr({
|
|
1044
1123
|
"aria-hidden": "true",
|
|
@@ -1054,7 +1133,7 @@ function Pn() {
|
|
|
1054
1133
|
}), e.path({ d: "M18 6 6 18" }), e.path({ d: "m6 6 12 12" });
|
|
1055
1134
|
});
|
|
1056
1135
|
}
|
|
1057
|
-
function
|
|
1136
|
+
function Hn() {
|
|
1058
1137
|
return $((e) => {
|
|
1059
1138
|
e.className("yoya-icon").attr({
|
|
1060
1139
|
"aria-hidden": "true",
|
|
@@ -1070,7 +1149,7 @@ function Fn() {
|
|
|
1070
1149
|
}), e.path({ d: "m16 18 6-6-6-6" }), e.path({ d: "m8 6-6 6 6 6" });
|
|
1071
1150
|
});
|
|
1072
1151
|
}
|
|
1073
|
-
function
|
|
1152
|
+
function Un() {
|
|
1074
1153
|
return $((e) => {
|
|
1075
1154
|
e.className("yoya-icon").attr({
|
|
1076
1155
|
"aria-hidden": "true",
|
|
@@ -1092,7 +1171,7 @@ function In() {
|
|
|
1092
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" });
|
|
1093
1172
|
});
|
|
1094
1173
|
}
|
|
1095
|
-
function
|
|
1174
|
+
function Wn() {
|
|
1096
1175
|
return $((e) => {
|
|
1097
1176
|
e.className("yoya-icon").attr({
|
|
1098
1177
|
"aria-hidden": "true",
|
|
@@ -1108,7 +1187,7 @@ function Ln() {
|
|
|
1108
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" });
|
|
1109
1188
|
});
|
|
1110
1189
|
}
|
|
1111
|
-
function
|
|
1190
|
+
function Gn() {
|
|
1112
1191
|
return $((e) => {
|
|
1113
1192
|
e.className("yoya-icon").attr({
|
|
1114
1193
|
"aria-hidden": "true",
|
|
@@ -1124,7 +1203,7 @@ function Rn() {
|
|
|
1124
1203
|
}), e.path({ d: "M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z" });
|
|
1125
1204
|
});
|
|
1126
1205
|
}
|
|
1127
|
-
function
|
|
1206
|
+
function Kn() {
|
|
1128
1207
|
return $((e) => {
|
|
1129
1208
|
e.className("yoya-icon").attr({
|
|
1130
1209
|
"aria-hidden": "true",
|
|
@@ -1140,7 +1219,7 @@ function zn() {
|
|
|
1140
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" });
|
|
1141
1220
|
});
|
|
1142
1221
|
}
|
|
1143
|
-
function
|
|
1222
|
+
function qn() {
|
|
1144
1223
|
return $((e) => {
|
|
1145
1224
|
e.className("yoya-icon").attr({
|
|
1146
1225
|
"aria-hidden": "true",
|
|
@@ -1160,7 +1239,7 @@ function Bn() {
|
|
|
1160
1239
|
});
|
|
1161
1240
|
});
|
|
1162
1241
|
}
|
|
1163
|
-
function
|
|
1242
|
+
function Jn() {
|
|
1164
1243
|
return $((e) => {
|
|
1165
1244
|
e.className("yoya-icon").attr({
|
|
1166
1245
|
"aria-hidden": "true",
|
|
@@ -1176,7 +1255,33 @@ function Vn() {
|
|
|
1176
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" });
|
|
1177
1256
|
});
|
|
1178
1257
|
}
|
|
1179
|
-
function
|
|
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() {
|
|
1180
1285
|
return $((e) => {
|
|
1181
1286
|
e.className("yoya-icon").attr({
|
|
1182
1287
|
"aria-hidden": "true",
|
|
@@ -1192,7 +1297,7 @@ function Hn() {
|
|
|
1192
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" });
|
|
1193
1298
|
});
|
|
1194
1299
|
}
|
|
1195
|
-
function
|
|
1300
|
+
function Zn() {
|
|
1196
1301
|
return $((e) => {
|
|
1197
1302
|
e.className("yoya-icon").attr({
|
|
1198
1303
|
"aria-hidden": "true",
|
|
@@ -1208,7 +1313,7 @@ function Un() {
|
|
|
1208
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" });
|
|
1209
1314
|
});
|
|
1210
1315
|
}
|
|
1211
|
-
function
|
|
1316
|
+
function Qn() {
|
|
1212
1317
|
return $((e) => {
|
|
1213
1318
|
e.className("yoya-icon").attr({
|
|
1214
1319
|
"aria-hidden": "true",
|
|
@@ -1224,7 +1329,7 @@ function Wn() {
|
|
|
1224
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" });
|
|
1225
1330
|
});
|
|
1226
1331
|
}
|
|
1227
|
-
function
|
|
1332
|
+
function $n() {
|
|
1228
1333
|
return $((e) => {
|
|
1229
1334
|
e.className("yoya-icon").attr({
|
|
1230
1335
|
"aria-hidden": "true",
|
|
@@ -1240,7 +1345,7 @@ function Gn() {
|
|
|
1240
1345
|
}), e.path({ d: "m3 9.5 9-6.5 9 6.5" }), e.path({ d: "M5 10v10h5v-6h4v6h5V10" });
|
|
1241
1346
|
});
|
|
1242
1347
|
}
|
|
1243
|
-
function
|
|
1348
|
+
function er() {
|
|
1244
1349
|
return $((e) => {
|
|
1245
1350
|
e.className("yoya-icon").attr({
|
|
1246
1351
|
"aria-hidden": "true",
|
|
@@ -1260,7 +1365,7 @@ function Kn() {
|
|
|
1260
1365
|
}), e.path({ d: "M12 16v-4" }), e.path({ d: "M12 8h.01" });
|
|
1261
1366
|
});
|
|
1262
1367
|
}
|
|
1263
|
-
function
|
|
1368
|
+
function tr() {
|
|
1264
1369
|
return $((e) => {
|
|
1265
1370
|
e.className("yoya-icon").attr({
|
|
1266
1371
|
"aria-hidden": "true",
|
|
@@ -1282,7 +1387,7 @@ function qn() {
|
|
|
1282
1387
|
}), e.path({ d: "M7 11V7a5 5 0 0 1 10 0v4" });
|
|
1283
1388
|
});
|
|
1284
1389
|
}
|
|
1285
|
-
function
|
|
1390
|
+
function nr() {
|
|
1286
1391
|
return $((e) => {
|
|
1287
1392
|
e.className("yoya-icon").attr({
|
|
1288
1393
|
"aria-hidden": "true",
|
|
@@ -1298,7 +1403,7 @@ function Jn() {
|
|
|
1298
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" });
|
|
1299
1404
|
});
|
|
1300
1405
|
}
|
|
1301
|
-
function
|
|
1406
|
+
function rr() {
|
|
1302
1407
|
return $((e) => {
|
|
1303
1408
|
e.className("yoya-icon").attr({
|
|
1304
1409
|
"aria-hidden": "true",
|
|
@@ -1320,7 +1425,7 @@ function Yn() {
|
|
|
1320
1425
|
}), e.path({ d: "m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7" });
|
|
1321
1426
|
});
|
|
1322
1427
|
}
|
|
1323
|
-
function
|
|
1428
|
+
function ir() {
|
|
1324
1429
|
return $((e) => {
|
|
1325
1430
|
e.className("yoya-icon").attr({
|
|
1326
1431
|
"aria-hidden": "true",
|
|
@@ -1336,7 +1441,7 @@ function Xn() {
|
|
|
1336
1441
|
}), e.path({ d: "M4 6h16" }), e.path({ d: "M4 12h16" }), e.path({ d: "M4 18h16" });
|
|
1337
1442
|
});
|
|
1338
1443
|
}
|
|
1339
|
-
function
|
|
1444
|
+
function ar() {
|
|
1340
1445
|
return $((e) => {
|
|
1341
1446
|
e.className("yoya-icon").attr({
|
|
1342
1447
|
"aria-hidden": "true",
|
|
@@ -1352,7 +1457,7 @@ function Zn() {
|
|
|
1352
1457
|
}), e.path({ d: "M5 12h14" });
|
|
1353
1458
|
});
|
|
1354
1459
|
}
|
|
1355
|
-
function
|
|
1460
|
+
function or() {
|
|
1356
1461
|
return $((e) => {
|
|
1357
1462
|
e.className("yoya-icon").attr({
|
|
1358
1463
|
"aria-hidden": "true",
|
|
@@ -1383,7 +1488,7 @@ function Qn() {
|
|
|
1383
1488
|
});
|
|
1384
1489
|
});
|
|
1385
1490
|
}
|
|
1386
|
-
function
|
|
1491
|
+
function sr() {
|
|
1387
1492
|
return $((e) => {
|
|
1388
1493
|
e.className("yoya-icon").attr({
|
|
1389
1494
|
"aria-hidden": "true",
|
|
@@ -1399,7 +1504,7 @@ function $n() {
|
|
|
1399
1504
|
}), e.path({ d: "M5 12h14" }), e.path({ d: "M12 5v14" });
|
|
1400
1505
|
});
|
|
1401
1506
|
}
|
|
1402
|
-
function
|
|
1507
|
+
function cr() {
|
|
1403
1508
|
return $((e) => {
|
|
1404
1509
|
e.className("yoya-icon").attr({
|
|
1405
1510
|
"aria-hidden": "true",
|
|
@@ -1415,7 +1520,7 @@ function er() {
|
|
|
1415
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" });
|
|
1416
1521
|
});
|
|
1417
1522
|
}
|
|
1418
|
-
function
|
|
1523
|
+
function lr() {
|
|
1419
1524
|
return $((e) => {
|
|
1420
1525
|
e.className("yoya-icon").attr({
|
|
1421
1526
|
"aria-hidden": "true",
|
|
@@ -1435,7 +1540,7 @@ function tr() {
|
|
|
1435
1540
|
}), e.path({ d: "m20 20-4-4" });
|
|
1436
1541
|
});
|
|
1437
1542
|
}
|
|
1438
|
-
function
|
|
1543
|
+
function ur() {
|
|
1439
1544
|
return $((e) => {
|
|
1440
1545
|
e.className("yoya-icon").attr({
|
|
1441
1546
|
"aria-hidden": "true",
|
|
@@ -1455,7 +1560,7 @@ function nr() {
|
|
|
1455
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" });
|
|
1456
1561
|
});
|
|
1457
1562
|
}
|
|
1458
|
-
function
|
|
1563
|
+
function dr() {
|
|
1459
1564
|
return $((e) => {
|
|
1460
1565
|
e.className("yoya-icon").attr({
|
|
1461
1566
|
"aria-hidden": "true",
|
|
@@ -1475,7 +1580,7 @@ function rr() {
|
|
|
1475
1580
|
});
|
|
1476
1581
|
});
|
|
1477
1582
|
}
|
|
1478
|
-
function
|
|
1583
|
+
function fr() {
|
|
1479
1584
|
return $((e) => {
|
|
1480
1585
|
e.className("yoya-icon").attr({
|
|
1481
1586
|
"aria-hidden": "true",
|
|
@@ -1491,7 +1596,7 @@ function ir() {
|
|
|
1491
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" });
|
|
1492
1597
|
});
|
|
1493
1598
|
}
|
|
1494
|
-
function
|
|
1599
|
+
function pr() {
|
|
1495
1600
|
return $((e) => {
|
|
1496
1601
|
e.className("yoya-icon").attr({
|
|
1497
1602
|
"aria-hidden": "true",
|
|
@@ -1507,7 +1612,7 @@ function ar() {
|
|
|
1507
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" });
|
|
1508
1613
|
});
|
|
1509
1614
|
}
|
|
1510
|
-
function
|
|
1615
|
+
function mr() {
|
|
1511
1616
|
return $((e) => {
|
|
1512
1617
|
e.className("yoya-icon").attr({
|
|
1513
1618
|
"aria-hidden": "true",
|
|
@@ -1527,7 +1632,7 @@ function or() {
|
|
|
1527
1632
|
});
|
|
1528
1633
|
});
|
|
1529
1634
|
}
|
|
1530
|
-
function
|
|
1635
|
+
function hr() {
|
|
1531
1636
|
return $((e) => {
|
|
1532
1637
|
e.className("yoya-icon").attr({
|
|
1533
1638
|
"aria-hidden": "true",
|
|
@@ -1543,7 +1648,7 @@ function sr() {
|
|
|
1543
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" });
|
|
1544
1649
|
});
|
|
1545
1650
|
}
|
|
1546
|
-
function
|
|
1651
|
+
function gr() {
|
|
1547
1652
|
return $((e) => {
|
|
1548
1653
|
e.className("yoya-icon").attr({
|
|
1549
1654
|
"aria-hidden": "true",
|
|
@@ -1563,7 +1668,7 @@ function cr() {
|
|
|
1563
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" });
|
|
1564
1669
|
});
|
|
1565
1670
|
}
|
|
1566
|
-
function
|
|
1671
|
+
function _r() {
|
|
1567
1672
|
return $((e) => {
|
|
1568
1673
|
e.className("yoya-icon").attr({
|
|
1569
1674
|
"aria-hidden": "true",
|
|
@@ -1579,7 +1684,7 @@ function lr() {
|
|
|
1579
1684
|
}), e.path({ d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" });
|
|
1580
1685
|
});
|
|
1581
1686
|
}
|
|
1582
|
-
function
|
|
1687
|
+
function vr() {
|
|
1583
1688
|
return $((e) => {
|
|
1584
1689
|
e.className("yoya-icon").attr({
|
|
1585
1690
|
"aria-hidden": "true",
|
|
@@ -1603,19 +1708,19 @@ function ur() {
|
|
|
1603
1708
|
}
|
|
1604
1709
|
//#endregion
|
|
1605
1710
|
//#region src/svg/index.js
|
|
1606
|
-
var
|
|
1711
|
+
var yr = "http://www.w3.org/2000/svg", br = /* @__PURE__ */ new Set([
|
|
1607
1712
|
"desc",
|
|
1608
1713
|
"metadata",
|
|
1609
1714
|
"text",
|
|
1610
1715
|
"textPath",
|
|
1611
1716
|
"title",
|
|
1612
1717
|
"tspan"
|
|
1613
|
-
]), Q = class e extends
|
|
1718
|
+
]), Q = class e extends p {
|
|
1614
1719
|
setup(e) {
|
|
1615
1720
|
return typeof e == "string" || typeof e == "number" ? this.child(e) : super.setup(e);
|
|
1616
1721
|
}
|
|
1617
1722
|
text(...e) {
|
|
1618
|
-
if (
|
|
1723
|
+
if (br.has(this._tagName)) {
|
|
1619
1724
|
let [t, n] = e;
|
|
1620
1725
|
return e.length > 0 && this.child(t), n != null && this.setup(n), this;
|
|
1621
1726
|
}
|
|
@@ -1623,10 +1728,10 @@ var Z = "http://www.w3.org/2000/svg", dr = /* @__PURE__ */ new Set([
|
|
|
1623
1728
|
}
|
|
1624
1729
|
style(...e) {
|
|
1625
1730
|
let [t, n] = e;
|
|
1626
|
-
return this._tagName === "style" && e.length <= 1 ? (e.length === 1 && this.child(t), this) : e.length <= 1 &&
|
|
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);
|
|
1627
1732
|
}
|
|
1628
1733
|
renderDom() {
|
|
1629
|
-
return this._deleted ? null : (this._el || (this._el = document.createElementNS(
|
|
1734
|
+
return this._deleted ? null : (this._el || (this._el = document.createElementNS(yr, this._tagName), this._applySnapshotToElement()), this._el);
|
|
1630
1735
|
}
|
|
1631
1736
|
_syncClassName() {
|
|
1632
1737
|
let e = [...this._classes].join(" ");
|
|
@@ -1639,11 +1744,11 @@ var Z = "http://www.w3.org/2000/svg", dr = /* @__PURE__ */ new Set([
|
|
|
1639
1744
|
}), this.child(r);
|
|
1640
1745
|
}
|
|
1641
1746
|
};
|
|
1642
|
-
function
|
|
1747
|
+
function xr(e) {
|
|
1643
1748
|
return e == null || typeof e == "function" || typeof e == "string" || typeof e == "number" || Array.isArray(e);
|
|
1644
1749
|
}
|
|
1645
|
-
var
|
|
1646
|
-
function
|
|
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) {
|
|
1647
1752
|
return function(...t) {
|
|
1648
1753
|
let n = new Q(e);
|
|
1649
1754
|
return e === "svg" && n.style("display", "block"), t.forEach((e) => {
|
|
@@ -1651,24 +1756,24 @@ function mr(e) {
|
|
|
1651
1756
|
}), n;
|
|
1652
1757
|
};
|
|
1653
1758
|
}
|
|
1654
|
-
function
|
|
1655
|
-
return
|
|
1656
|
-
let { aliases: n = [], name: r, tagName: i } =
|
|
1759
|
+
function wr() {
|
|
1760
|
+
return Sr.reduce((e, t) => {
|
|
1761
|
+
let { aliases: n = [], name: r, tagName: i } = Er(t), a = Cr(i);
|
|
1657
1762
|
return e[r] = a, n.forEach((t) => {
|
|
1658
1763
|
e[t] = a;
|
|
1659
1764
|
}), e;
|
|
1660
1765
|
}, {});
|
|
1661
1766
|
}
|
|
1662
|
-
var $ =
|
|
1663
|
-
|
|
1767
|
+
var $ = Cr("svg"), Tr = wr();
|
|
1768
|
+
h(Y, { svg: $ }), h(Q, {
|
|
1664
1769
|
svg: $,
|
|
1665
|
-
...
|
|
1770
|
+
...Tr
|
|
1666
1771
|
});
|
|
1667
|
-
function
|
|
1772
|
+
function Er(e) {
|
|
1668
1773
|
return typeof e == "string" ? {
|
|
1669
1774
|
name: e,
|
|
1670
1775
|
tagName: e
|
|
1671
1776
|
} : e;
|
|
1672
1777
|
}
|
|
1673
1778
|
//#endregion
|
|
1674
|
-
export {
|
|
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 };
|