@yoyaflow/yoya-ui 0.3.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/yoya.core.js CHANGED
@@ -368,6 +368,30 @@ function _(e) {
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
396
  var v = "yoya-ui:i18n", y = /* @__PURE__ */ new Map(), b = class {
373
397
  constructor(e = {}) {
@@ -418,7 +442,7 @@ var v = "yoya-ui:i18n", y = /* @__PURE__ */ new Map(), b = 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 ce(typeof r == "function" ? r(t, this) : r, t);
445
+ return fe(typeof r == "function" ? r(t, this) : r, t);
422
446
  }
423
447
  text(e, t = {}, n = void 0) {
424
448
  return new x(this, e, t, n);
@@ -475,7 +499,7 @@ function S(e = {}) {
475
499
  return new b(e);
476
500
  }
477
501
  var C = S();
478
- function re(e, t = {}) {
502
+ function se(e, t = {}) {
479
503
  return C.text(e, t);
480
504
  }
481
505
  var w = C;
@@ -493,7 +517,7 @@ function T(e = C) {
493
517
  }
494
518
  }), e);
495
519
  }
496
- function ie(e, t) {
520
+ function ce(e, t) {
497
521
  let n = w;
498
522
  w = e || n;
499
523
  try {
@@ -511,17 +535,17 @@ function D(e) {
511
535
  y.get(t) === e && y.delete(t);
512
536
  }) : () => {};
513
537
  }
514
- function ae(e) {
538
+ function le(e) {
515
539
  let t = typeof e == "string" ? e : e?.key?.();
516
540
  return t && y.delete(t), t;
517
541
  }
518
542
  function O(e) {
519
543
  return e && y.get(e) || null;
520
544
  }
521
- function oe() {
545
+ function ue() {
522
546
  return new Map(y);
523
547
  }
524
- function se(e) {
548
+ function de(e) {
525
549
  return k(e || I(), v);
526
550
  }
527
551
  function k(e, t) {
@@ -546,7 +570,7 @@ function j(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 ce(e, t) {
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 le();
599
+ return pe();
576
600
  }
577
601
  var L = /* @__PURE__ */ new Map();
578
- function le() {
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 ue = /* @__PURE__ */ new Set([
617
+ var me = /* @__PURE__ */ new Set([
594
618
  "state",
595
619
  "render",
596
620
  "update"
597
- ]), de = /* @__PURE__ */ new Set([
621
+ ]), he = /* @__PURE__ */ new Set([
598
622
  "destroy",
599
623
  "getState",
600
624
  "setState",
@@ -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 (!(ue.has(t) || typeof e[t] != "function")) {
639
- if (de.has(t)) throw TypeError(`vStateNode config key "${t}" conflicts with the built-in API`);
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;
@@ -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 fe() {
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 pe(e = {}) {
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);
@@ -716,10 +740,10 @@ function pe(e = {}) {
716
740
  //#endregion
717
741
  //#region src/core/request.js
718
742
  var J = null;
719
- function me({ submit: e } = {}) {
743
+ function ve({ submit: e } = {}) {
720
744
  return J = typeof e == "function" ? e : null, J;
721
745
  }
722
- var he = class {
746
+ var ye = class {
723
747
  method() {
724
748
  return "GET";
725
749
  }
@@ -742,7 +766,7 @@ var he = class {
742
766
  if (typeof J != "function") throw Error("RequestBase: 未注册请求传输,请先 configureRequest({ submit })");
743
767
  return J(this);
744
768
  }
745
- }, ge = class e {
769
+ }, be = class e {
746
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 } = {}) {
747
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;
748
772
  }
@@ -770,7 +794,7 @@ var he = class {
770
794
  total: t.total
771
795
  });
772
796
  }
773
- }, Y = class extends p {}, _e = [
797
+ }, Y = class extends p {}, xe = [
774
798
  "a",
775
799
  "abbr",
776
800
  "address",
@@ -893,8 +917,8 @@ var he = class {
893
917
  "wbr"
894
918
  ];
895
919
  function X() {
896
- return _e.reduce((e, t) => {
897
- let { aliases: n = [], name: r, tagName: i } = Tn(t), a = m(i, Y);
920
+ return xe.reduce((e, t) => {
921
+ let { aliases: n = [], name: r, tagName: i } = kn(t), a = m(i, Y);
898
922
  return e[r] = a, n.forEach((t) => {
899
923
  e[t] = a;
900
924
  }), e;
@@ -902,8 +926,8 @@ function X() {
902
926
  }
903
927
  var Z = X();
904
928
  h(Y, Z);
905
- var { a: ve, abbr: ye, address: be, area: xe, article: Se, aside: Ce, audio: we, b: Te, base: Ee, bdi: De, bdo: Oe, blockquote: ke, body: Ae, br: je, button: Me, canvas: Ne, caption: Pe, cite: Fe, code: Ie, col: Le, colgroup: Re, data: ze, datalist: Be, dd: Ve, del: He, details: Ue, dfn: We, dialog: Ge, div: Ke, dl: qe, dt: Je, em: Ye, embed: Xe, fieldset: Ze, figcaption: Qe, figure: $e, footer: et, form: tt, h1: nt, h2: rt, h3: it, h4: at, h5: ot, h6: st, head: ct, header: lt, hgroup: ut, hr: dt, html: ft, i: pt, iframe: mt, img: ht, input: gt, ins: _t, kbd: vt, label: yt, legend: bt, li: xt, link: St, main: Ct, map: wt, mark: Tt, menu: Et, meta: Dt, meter: Ot, nav: kt, noscript: At, object: jt, ol: Mt, optgroup: Nt, option: Pt, output: Ft, p: It, picture: Lt, pre: Rt, progress: zt, q: Bt, rp: Vt, rt: Ht, ruby: Ut, s: Wt, samp: Gt, script: Kt, search: qt, section: Jt, select: Yt, selectedcontent: Xt, slot: Zt, small: Qt, source: $t, span: en, strong: tn, style: nn, styleTag: rn, sub: an, summary: on, sup: sn, table: cn, tbody: ln, td: un, template: dn, textarea: fn, tfoot: pn, th: mn, thead: hn, time: gn, title: _n, tr: vn, track: yn, u: bn, ul: xn, varTag: Sn, video: Cn, wbr: wn } = Z;
906
- function Tn(e) {
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) {
907
931
  return typeof e == "string" ? {
908
932
  name: e,
909
933
  tagName: e
@@ -911,7 +935,7 @@ function Tn(e) {
911
935
  }
912
936
  //#endregion
913
937
  //#region src/svg/icons.js
914
- function En() {
938
+ function An() {
915
939
  return $((e) => {
916
940
  e.className("yoya-icon").attr({
917
941
  "aria-hidden": "true",
@@ -927,7 +951,7 @@ function En() {
927
951
  }), e.path({ d: "M12 5v14" }), e.path({ d: "m19 12-7 7-7-7" });
928
952
  });
929
953
  }
930
- function Dn() {
954
+ function jn() {
931
955
  return $((e) => {
932
956
  e.className("yoya-icon").attr({
933
957
  "aria-hidden": "true",
@@ -943,7 +967,7 @@ function Dn() {
943
967
  }), e.path({ d: "M19 12H5" }), e.path({ d: "m12 19-7-7 7-7" });
944
968
  });
945
969
  }
946
- function On() {
970
+ function Mn() {
947
971
  return $((e) => {
948
972
  e.className("yoya-icon").attr({
949
973
  "aria-hidden": "true",
@@ -959,7 +983,7 @@ function On() {
959
983
  }), e.path({ d: "M5 12h14" }), e.path({ d: "m12 5 7 7-7 7" });
960
984
  });
961
985
  }
962
- function kn() {
986
+ function Nn() {
963
987
  return $((e) => {
964
988
  e.className("yoya-icon").attr({
965
989
  "aria-hidden": "true",
@@ -975,7 +999,7 @@ function kn() {
975
999
  }), e.path({ d: "M12 19V5" }), e.path({ d: "m5 12 7-7 7 7" });
976
1000
  });
977
1001
  }
978
- function An() {
1002
+ function Pn() {
979
1003
  return $((e) => {
980
1004
  e.className("yoya-icon").attr({
981
1005
  "aria-hidden": "true",
@@ -991,7 +1015,7 @@ function An() {
991
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" });
992
1016
  });
993
1017
  }
994
- function jn() {
1018
+ function Fn() {
995
1019
  return $((e) => {
996
1020
  e.className("yoya-icon").attr({
997
1021
  "aria-hidden": "true",
@@ -1013,7 +1037,7 @@ function jn() {
1013
1037
  }), e.path({ d: "M16 2v4" }), e.path({ d: "M8 2v4" }), e.path({ d: "M3 10h18" });
1014
1038
  });
1015
1039
  }
1016
- function Mn() {
1040
+ function In() {
1017
1041
  return $((e) => {
1018
1042
  e.className("yoya-icon").attr({
1019
1043
  "aria-hidden": "true",
@@ -1029,7 +1053,7 @@ function Mn() {
1029
1053
  }), e.path({ d: "M20 6 9 17l-5-5" });
1030
1054
  });
1031
1055
  }
1032
- function Nn() {
1056
+ function Ln() {
1033
1057
  return $((e) => {
1034
1058
  e.className("yoya-icon").attr({
1035
1059
  "aria-hidden": "true",
@@ -1045,7 +1069,7 @@ function Nn() {
1045
1069
  }), e.path({ d: "m6 9 6 6 6-6" });
1046
1070
  });
1047
1071
  }
1048
- function Pn() {
1072
+ function Rn() {
1049
1073
  return $((e) => {
1050
1074
  e.className("yoya-icon").attr({
1051
1075
  "aria-hidden": "true",
@@ -1061,7 +1085,7 @@ function Pn() {
1061
1085
  }), e.path({ d: "m15 18-6-6 6-6" });
1062
1086
  });
1063
1087
  }
1064
- function Fn() {
1088
+ function zn() {
1065
1089
  return $((e) => {
1066
1090
  e.className("yoya-icon").attr({
1067
1091
  "aria-hidden": "true",
@@ -1077,7 +1101,7 @@ function Fn() {
1077
1101
  }), e.path({ d: "m9 18 6-6-6-6" });
1078
1102
  });
1079
1103
  }
1080
- function In() {
1104
+ function Bn() {
1081
1105
  return $((e) => {
1082
1106
  e.className("yoya-icon").attr({
1083
1107
  "aria-hidden": "true",
@@ -1093,7 +1117,7 @@ function In() {
1093
1117
  }), e.path({ d: "m18 15-6-6-6 6" });
1094
1118
  });
1095
1119
  }
1096
- function Ln() {
1120
+ function Vn() {
1097
1121
  return $((e) => {
1098
1122
  e.className("yoya-icon").attr({
1099
1123
  "aria-hidden": "true",
@@ -1109,7 +1133,7 @@ function Ln() {
1109
1133
  }), e.path({ d: "M18 6 6 18" }), e.path({ d: "m6 6 12 12" });
1110
1134
  });
1111
1135
  }
1112
- function Rn() {
1136
+ function Hn() {
1113
1137
  return $((e) => {
1114
1138
  e.className("yoya-icon").attr({
1115
1139
  "aria-hidden": "true",
@@ -1125,7 +1149,7 @@ function Rn() {
1125
1149
  }), e.path({ d: "m16 18 6-6-6-6" }), e.path({ d: "m8 6-6 6 6 6" });
1126
1150
  });
1127
1151
  }
1128
- function zn() {
1152
+ function Un() {
1129
1153
  return $((e) => {
1130
1154
  e.className("yoya-icon").attr({
1131
1155
  "aria-hidden": "true",
@@ -1147,7 +1171,7 @@ function zn() {
1147
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" });
1148
1172
  });
1149
1173
  }
1150
- function Bn() {
1174
+ function Wn() {
1151
1175
  return $((e) => {
1152
1176
  e.className("yoya-icon").attr({
1153
1177
  "aria-hidden": "true",
@@ -1163,7 +1187,7 @@ function Bn() {
1163
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" });
1164
1188
  });
1165
1189
  }
1166
- function Vn() {
1190
+ function Gn() {
1167
1191
  return $((e) => {
1168
1192
  e.className("yoya-icon").attr({
1169
1193
  "aria-hidden": "true",
@@ -1179,7 +1203,7 @@ function Vn() {
1179
1203
  }), e.path({ d: "M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z" });
1180
1204
  });
1181
1205
  }
1182
- function Hn() {
1206
+ function Kn() {
1183
1207
  return $((e) => {
1184
1208
  e.className("yoya-icon").attr({
1185
1209
  "aria-hidden": "true",
@@ -1195,7 +1219,7 @@ function Hn() {
1195
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" });
1196
1220
  });
1197
1221
  }
1198
- function Un() {
1222
+ function qn() {
1199
1223
  return $((e) => {
1200
1224
  e.className("yoya-icon").attr({
1201
1225
  "aria-hidden": "true",
@@ -1215,7 +1239,7 @@ function Un() {
1215
1239
  });
1216
1240
  });
1217
1241
  }
1218
- function Wn() {
1242
+ function Jn() {
1219
1243
  return $((e) => {
1220
1244
  e.className("yoya-icon").attr({
1221
1245
  "aria-hidden": "true",
@@ -1231,7 +1255,7 @@ function Wn() {
1231
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" });
1232
1256
  });
1233
1257
  }
1234
- function Gn() {
1258
+ function Yn() {
1235
1259
  return $((e) => {
1236
1260
  e.className("yoya-icon").attr({
1237
1261
  "aria-hidden": "true",
@@ -1257,7 +1281,7 @@ function Gn() {
1257
1281
  }), e.path({ d: "m21 15-3.1-3.1a2 2 0 0 0-2.8 0L6 21" });
1258
1282
  });
1259
1283
  }
1260
- function Kn() {
1284
+ function Xn() {
1261
1285
  return $((e) => {
1262
1286
  e.className("yoya-icon").attr({
1263
1287
  "aria-hidden": "true",
@@ -1273,7 +1297,7 @@ function Kn() {
1273
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" });
1274
1298
  });
1275
1299
  }
1276
- function qn() {
1300
+ function Zn() {
1277
1301
  return $((e) => {
1278
1302
  e.className("yoya-icon").attr({
1279
1303
  "aria-hidden": "true",
@@ -1289,7 +1313,7 @@ function qn() {
1289
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" });
1290
1314
  });
1291
1315
  }
1292
- function Jn() {
1316
+ function Qn() {
1293
1317
  return $((e) => {
1294
1318
  e.className("yoya-icon").attr({
1295
1319
  "aria-hidden": "true",
@@ -1305,7 +1329,7 @@ function Jn() {
1305
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" });
1306
1330
  });
1307
1331
  }
1308
- function Yn() {
1332
+ function $n() {
1309
1333
  return $((e) => {
1310
1334
  e.className("yoya-icon").attr({
1311
1335
  "aria-hidden": "true",
@@ -1321,7 +1345,7 @@ function Yn() {
1321
1345
  }), e.path({ d: "m3 9.5 9-6.5 9 6.5" }), e.path({ d: "M5 10v10h5v-6h4v6h5V10" });
1322
1346
  });
1323
1347
  }
1324
- function Xn() {
1348
+ function er() {
1325
1349
  return $((e) => {
1326
1350
  e.className("yoya-icon").attr({
1327
1351
  "aria-hidden": "true",
@@ -1341,7 +1365,7 @@ function Xn() {
1341
1365
  }), e.path({ d: "M12 16v-4" }), e.path({ d: "M12 8h.01" });
1342
1366
  });
1343
1367
  }
1344
- function Zn() {
1368
+ function tr() {
1345
1369
  return $((e) => {
1346
1370
  e.className("yoya-icon").attr({
1347
1371
  "aria-hidden": "true",
@@ -1363,7 +1387,7 @@ function Zn() {
1363
1387
  }), e.path({ d: "M7 11V7a5 5 0 0 1 10 0v4" });
1364
1388
  });
1365
1389
  }
1366
- function Qn() {
1390
+ function nr() {
1367
1391
  return $((e) => {
1368
1392
  e.className("yoya-icon").attr({
1369
1393
  "aria-hidden": "true",
@@ -1379,7 +1403,7 @@ function Qn() {
1379
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" });
1380
1404
  });
1381
1405
  }
1382
- function $n() {
1406
+ function rr() {
1383
1407
  return $((e) => {
1384
1408
  e.className("yoya-icon").attr({
1385
1409
  "aria-hidden": "true",
@@ -1401,7 +1425,7 @@ function $n() {
1401
1425
  }), e.path({ d: "m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7" });
1402
1426
  });
1403
1427
  }
1404
- function er() {
1428
+ function ir() {
1405
1429
  return $((e) => {
1406
1430
  e.className("yoya-icon").attr({
1407
1431
  "aria-hidden": "true",
@@ -1417,7 +1441,7 @@ function er() {
1417
1441
  }), e.path({ d: "M4 6h16" }), e.path({ d: "M4 12h16" }), e.path({ d: "M4 18h16" });
1418
1442
  });
1419
1443
  }
1420
- function tr() {
1444
+ function ar() {
1421
1445
  return $((e) => {
1422
1446
  e.className("yoya-icon").attr({
1423
1447
  "aria-hidden": "true",
@@ -1433,7 +1457,7 @@ function tr() {
1433
1457
  }), e.path({ d: "M5 12h14" });
1434
1458
  });
1435
1459
  }
1436
- function nr() {
1460
+ function or() {
1437
1461
  return $((e) => {
1438
1462
  e.className("yoya-icon").attr({
1439
1463
  "aria-hidden": "true",
@@ -1464,7 +1488,7 @@ function nr() {
1464
1488
  });
1465
1489
  });
1466
1490
  }
1467
- function rr() {
1491
+ function sr() {
1468
1492
  return $((e) => {
1469
1493
  e.className("yoya-icon").attr({
1470
1494
  "aria-hidden": "true",
@@ -1480,7 +1504,7 @@ function rr() {
1480
1504
  }), e.path({ d: "M5 12h14" }), e.path({ d: "M12 5v14" });
1481
1505
  });
1482
1506
  }
1483
- function ir() {
1507
+ function cr() {
1484
1508
  return $((e) => {
1485
1509
  e.className("yoya-icon").attr({
1486
1510
  "aria-hidden": "true",
@@ -1496,7 +1520,7 @@ function ir() {
1496
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" });
1497
1521
  });
1498
1522
  }
1499
- function ar() {
1523
+ function lr() {
1500
1524
  return $((e) => {
1501
1525
  e.className("yoya-icon").attr({
1502
1526
  "aria-hidden": "true",
@@ -1516,7 +1540,7 @@ function ar() {
1516
1540
  }), e.path({ d: "m20 20-4-4" });
1517
1541
  });
1518
1542
  }
1519
- function or() {
1543
+ function ur() {
1520
1544
  return $((e) => {
1521
1545
  e.className("yoya-icon").attr({
1522
1546
  "aria-hidden": "true",
@@ -1536,7 +1560,7 @@ function or() {
1536
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" });
1537
1561
  });
1538
1562
  }
1539
- function sr() {
1563
+ function dr() {
1540
1564
  return $((e) => {
1541
1565
  e.className("yoya-icon").attr({
1542
1566
  "aria-hidden": "true",
@@ -1556,7 +1580,7 @@ function sr() {
1556
1580
  });
1557
1581
  });
1558
1582
  }
1559
- function cr() {
1583
+ function fr() {
1560
1584
  return $((e) => {
1561
1585
  e.className("yoya-icon").attr({
1562
1586
  "aria-hidden": "true",
@@ -1572,7 +1596,7 @@ function cr() {
1572
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" });
1573
1597
  });
1574
1598
  }
1575
- function lr() {
1599
+ function pr() {
1576
1600
  return $((e) => {
1577
1601
  e.className("yoya-icon").attr({
1578
1602
  "aria-hidden": "true",
@@ -1588,7 +1612,7 @@ function lr() {
1588
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" });
1589
1613
  });
1590
1614
  }
1591
- function ur() {
1615
+ function mr() {
1592
1616
  return $((e) => {
1593
1617
  e.className("yoya-icon").attr({
1594
1618
  "aria-hidden": "true",
@@ -1608,7 +1632,7 @@ function ur() {
1608
1632
  });
1609
1633
  });
1610
1634
  }
1611
- function dr() {
1635
+ function hr() {
1612
1636
  return $((e) => {
1613
1637
  e.className("yoya-icon").attr({
1614
1638
  "aria-hidden": "true",
@@ -1624,7 +1648,7 @@ function dr() {
1624
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" });
1625
1649
  });
1626
1650
  }
1627
- function fr() {
1651
+ function gr() {
1628
1652
  return $((e) => {
1629
1653
  e.className("yoya-icon").attr({
1630
1654
  "aria-hidden": "true",
@@ -1644,7 +1668,7 @@ function fr() {
1644
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" });
1645
1669
  });
1646
1670
  }
1647
- function pr() {
1671
+ function _r() {
1648
1672
  return $((e) => {
1649
1673
  e.className("yoya-icon").attr({
1650
1674
  "aria-hidden": "true",
@@ -1660,7 +1684,7 @@ function pr() {
1660
1684
  }), e.path({ d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" });
1661
1685
  });
1662
1686
  }
1663
- function mr() {
1687
+ function vr() {
1664
1688
  return $((e) => {
1665
1689
  e.className("yoya-icon").attr({
1666
1690
  "aria-hidden": "true",
@@ -1684,7 +1708,7 @@ function mr() {
1684
1708
  }
1685
1709
  //#endregion
1686
1710
  //#region src/svg/index.js
1687
- var hr = "http://www.w3.org/2000/svg", gr = /* @__PURE__ */ new Set([
1711
+ var yr = "http://www.w3.org/2000/svg", br = /* @__PURE__ */ new Set([
1688
1712
  "desc",
1689
1713
  "metadata",
1690
1714
  "text",
@@ -1696,7 +1720,7 @@ var hr = "http://www.w3.org/2000/svg", gr = /* @__PURE__ */ new Set([
1696
1720
  return typeof e == "string" || typeof e == "number" ? this.child(e) : super.setup(e);
1697
1721
  }
1698
1722
  text(...e) {
1699
- if (gr.has(this._tagName)) {
1723
+ if (br.has(this._tagName)) {
1700
1724
  let [t, n] = e;
1701
1725
  return e.length > 0 && this.child(t), n != null && this.setup(n), this;
1702
1726
  }
@@ -1704,10 +1728,10 @@ var hr = "http://www.w3.org/2000/svg", gr = /* @__PURE__ */ new Set([
1704
1728
  }
1705
1729
  style(...e) {
1706
1730
  let [t, n] = e;
1707
- return this._tagName === "style" && e.length <= 1 ? (e.length === 1 && this.child(t), this) : e.length <= 1 && _r(t) ? this._svgChild("style", t) : super.style(t, n);
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);
1708
1732
  }
1709
1733
  renderDom() {
1710
- return this._deleted ? null : (this._el || (this._el = document.createElementNS(hr, this._tagName), this._applySnapshotToElement()), this._el);
1734
+ return this._deleted ? null : (this._el || (this._el = document.createElementNS(yr, this._tagName), this._applySnapshotToElement()), this._el);
1711
1735
  }
1712
1736
  _syncClassName() {
1713
1737
  let e = [...this._classes].join(" ");
@@ -1720,11 +1744,11 @@ var hr = "http://www.w3.org/2000/svg", gr = /* @__PURE__ */ new Set([
1720
1744
  }), this.child(r);
1721
1745
  }
1722
1746
  };
1723
- function _r(e) {
1747
+ function xr(e) {
1724
1748
  return e == null || typeof e == "function" || typeof e == "string" || typeof e == "number" || Array.isArray(e);
1725
1749
  }
1726
- var vr = /* @__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(".");
1727
- function yr(e) {
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) {
1728
1752
  return function(...t) {
1729
1753
  let n = new Q(e);
1730
1754
  return e === "svg" && n.style("display", "block"), t.forEach((e) => {
@@ -1732,24 +1756,24 @@ function yr(e) {
1732
1756
  }), n;
1733
1757
  };
1734
1758
  }
1735
- function br() {
1736
- return vr.reduce((e, t) => {
1737
- let { aliases: n = [], name: r, tagName: i } = Sr(t), a = yr(i);
1759
+ function wr() {
1760
+ return Sr.reduce((e, t) => {
1761
+ let { aliases: n = [], name: r, tagName: i } = Er(t), a = Cr(i);
1738
1762
  return e[r] = a, n.forEach((t) => {
1739
1763
  e[t] = a;
1740
1764
  }), e;
1741
1765
  }, {});
1742
1766
  }
1743
- var $ = yr("svg"), xr = br();
1767
+ var $ = Cr("svg"), Tr = wr();
1744
1768
  h(Y, { svg: $ }), h(Q, {
1745
1769
  svg: $,
1746
- ...xr
1770
+ ...Tr
1747
1771
  });
1748
- function Sr(e) {
1772
+ function Er(e) {
1749
1773
  return typeof e == "string" ? {
1750
1774
  name: e,
1751
1775
  tagName: e
1752
1776
  } : e;
1753
1777
  }
1754
1778
  //#endregion
1755
- export { En as ArrowDownOutlined, Dn as ArrowLeftOutlined, On as ArrowRightOutlined, kn as ArrowUpOutlined, An as BellOutlined, jn as CalendarOutlined, Mn as CheckOutlined, Nn as ChevronDownOutlined, Pn as ChevronLeftOutlined, Fn as ChevronRightOutlined, In as ChevronUpOutlined, g as ClientOnlyNode, Ln as CloseOutlined, Rn as CodeOutlined, ee as ComponentNode, zn as CopyOutlined, Bn as DownloadOutlined, Vn as EditOutlined, p as ElementNode, Hn as ExternalOutlined, Un as EyeOutlined, Wn as FileOutlined, qn as FolderOpenOutlined, Kn as FolderOutlined, Jn as HeartOutlined, Yn as HomeOutlined, Y as HtmlElementNode, b as I18n, x as I18nTextNode, Gn as ImageOutlined, Xn as InfoOutlined, Zn as LockOutlined, Qn as LogoutOutlined, $n as MailOutlined, er as MenuOutlined, tr as MinusOutlined, mr as MonitorOutlined, pr as MoonOutlined, nr as MoreHorizontalOutlined, rr as PlusOutlined, ir as RefreshOutlined, he as RequestBase, ge as Result, hr as SVG_NAMESPACE, ar as SearchOutlined, or as SettingsOutlined, sr as StarOutlined, fr as SunOutlined, Q as SvgElementNode, l as TextNode, l as VTextNode, l as ViewTextNode, cr as TrashOutlined, lr as UploadOutlined, ur as UserOutlined, c as ViewNode, dr as WarningOutlined, ve as a, ye as abbr, be as address, f as applyElementOptions, xe as area, Se as article, Ce as aside, we as audio, Te as b, Ee as base, De as bdi, Oe as bdo, ke as blockquote, Ae as body, je as br, Me as button, Ne as canvas, Pe as caption, Fe as cite, Ie as code, Le as col, Re as colgroup, me as configureRequest, m as createElementFactory, X as createHtmlFactories, S as createI18n, ze as data, Be as datalist, Ve as dd, He as del, Ue as details, We as dfn, Ge as dialog, Ke as div, qe as dl, Je as dt, Ye as em, Xe as embed, r as escapeHtml, Ze as fieldset, Qe as figcaption, $e as figure, et as footer, tt as form, O as getI18n, se as getPersistedI18nLocales, G as getYoyaMode, q as getYoyaTheme, nt as h1, rt as h2, it as h3, at as h4, ot as h5, st as h6, ct as head, lt as header, ut as hgroup, dt as hr, ft as html, pt as i, C as i18n, re as i18nText, mt as iframe, ht as img, pe as initYoyaTheme, gt as input, _t as ins, T as installI18nStringShortcut, vt as kbd, yt as label, bt as legend, xt as li, St as link, oe as listI18n, Ct as main, wt as map, Tt as mark, Et as menu, Dt as meta, Ot as meter, kt as nav, u as normalizeChild, d as normalizeSetupArguments, At as noscript, jt as object, Mt as ol, Nt as optgroup, Pt as option, Ft as output, It as p, Lt as picture, Rt as pre, zt as progress, Bt as q, h as registerChildFactories, D as registerI18n, n as resolveTarget, fe as resolveYoyaMode, Vt as rp, Ht as rt, Ut as ruby, Wt as s, Gt as samp, Kt as script, qt as search, Jt as section, Yt as select, Xt as selectedcontent, W as setYoyaMode, K as setYoyaTheme, Zt as slot, Qt as small, $t as source, en as span, tn as strong, nn as style, rn as styleTag, an as sub, on as summary, sn as sup, $ as svg, cn as table, ln as tbody, un as td, dn as template, te as text, te as vText, fn as textarea, pn as tfoot, mn as th, hn as thead, gn as time, _n as title, vn as tr, yn as track, bn as u, xn as ul, ae as unregisterI18n, ne as vClientOnly, R as vStateNode, Sn as varTag, Cn as video, wn as wbr, ie as withI18nStringShortcut };
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 };