@solar-taro/ui-sun 1.6.4 → 2.0.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 (105) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/accordion/index.vue.d.ts +22 -16
  3. package/chip/index.vue.d.ts +15 -36
  4. package/circular-progress/index.vue.d.ts +4 -30
  5. package/fab/fab-group.vue.d.ts +9 -3
  6. package/fab/fab.vue.d.ts +9 -3
  7. package/fab/index.scss +11 -3
  8. package/icon/index.scss +4 -3
  9. package/icon/index.vue.d.ts +3 -22
  10. package/index.d.ts +3 -0
  11. package/index.js +28 -22
  12. package/index10.js +24 -33
  13. package/index11.js +34 -20
  14. package/index12.js +72 -46
  15. package/index13.js +19 -144
  16. package/index14.js +48 -28
  17. package/index15.js +144 -21
  18. package/index16.js +29 -24
  19. package/index17.js +19 -10
  20. package/index18.js +41 -27
  21. package/index19.js +23 -118
  22. package/index20.js +15 -9
  23. package/index21.js +33 -10
  24. package/index22.js +123 -10
  25. package/index23.js +14 -2
  26. package/index24.js +10 -2
  27. package/index25.js +10 -2
  28. package/index26.js +1 -1
  29. package/index27.js +2 -7
  30. package/index28.js +1 -1
  31. package/index29.js +7 -2
  32. package/index30.js +1 -1
  33. package/index31.js +1 -1
  34. package/index32.js +1 -1
  35. package/index33.js +1 -1
  36. package/index34.js +1 -1
  37. package/index35.js +1 -1
  38. package/index37.js +1 -1
  39. package/index38.js +1 -1
  40. package/index39.js +1 -1
  41. package/index40.js +1 -1
  42. package/index41.js +2 -66
  43. package/index42.js +2 -12
  44. package/index43.js +2 -25
  45. package/index44.js +2 -14
  46. package/index45.js +2 -5
  47. package/index46.js +2 -3
  48. package/index47.js +3 -26
  49. package/index48.js +66 -2
  50. package/index49.js +12 -506
  51. package/index50.js +24 -78
  52. package/index51.js +14 -70
  53. package/index52.js +4 -68
  54. package/index53.js +525 -542
  55. package/index54.js +26 -2
  56. package/index56.js +506 -2
  57. package/index57.js +78 -3
  58. package/index58.js +70 -2
  59. package/index59.js +69 -4
  60. package/index60.js +543 -2
  61. package/index63.js +2 -48
  62. package/index64.js +3 -81
  63. package/index66.js +4 -2
  64. package/index67.js +2 -2
  65. package/index68.js +2 -2
  66. package/index69.js +4 -0
  67. package/index7.js +7 -9
  68. package/index70.js +4 -0
  69. package/index71.js +50 -0
  70. package/index72.js +84 -0
  71. package/index73.js +4 -0
  72. package/index74.js +4 -0
  73. package/index75.js +4 -0
  74. package/index8.js +29 -17
  75. package/index9.js +19 -25
  76. package/item/index.d.ts +1 -0
  77. package/item/index.scss +40 -0
  78. package/item/index.vue.d.ts +26 -0
  79. package/lazy-render/index.vue.d.ts +13 -29
  80. package/list-header/index.scss +1 -1
  81. package/list-header/index.vue.d.ts +9 -3
  82. package/navbar/index.vue.d.ts +10 -4
  83. package/package.json +2 -2
  84. package/plugin.d.ts +0 -1
  85. package/popover/index.vue.d.ts +24 -41
  86. package/qrcode/index.d.ts +1 -0
  87. package/qrcode/index.scss +9 -0
  88. package/qrcode/index.vue.d.ts +22 -0
  89. package/qrcode/qrcodegen.d.ts +83 -0
  90. package/segment/injection.d.ts +0 -1
  91. package/segment/segment-btn.vue.d.ts +12 -16
  92. package/segment/segment.vue.d.ts +16 -20
  93. package/slider-captcha/index.vue.d.ts +7 -36
  94. package/spinner/index.scss +1 -0
  95. package/spinner/index.vue.d.ts +14 -33
  96. package/sudoku/sudoku-item.vue.d.ts +9 -3
  97. package/sudoku/sudoku.vue.d.ts +9 -3
  98. package/tabbar/index.d.ts +1 -0
  99. package/tabbar/index.scss +74 -0
  100. package/tabbar/index.vue.d.ts +38 -0
  101. package/table/_table.scss +1 -1
  102. package/table/table-cell.vue.d.ts +13 -24
  103. package/table/table-row.vue.d.ts +12 -17
  104. package/table/table.vue.d.ts +17 -43
  105. package/virtual-scroll/index.vue.d.ts +35 -74
package/index19.js CHANGED
@@ -1,125 +1,30 @@
1
- import { defineComponent as I, ref as f, computed as a, onActivated as D, onMounted as L, onUnmounted as N, renderList as A, Fragment as M, openBlock as E, createElementBlock as K, renderSlot as R, normalizeStyle as j, createCommentVNode as q, toDisplayString as O, createTextVNode as Q, unref as U, withCtx as W, createBlock as X, mergeProps as Y } from "vue";
2
- import { withPixel as b } from "@solar-kit/core";
3
- import { rpxToPx as G, vibrator as H } from "@solar-taro/core";
4
- import { createSelectorQuery as J } from "@tarojs/taro";
5
- import Z from "./index14.js";
6
- const ee = A, te = M, s = E, c = K, z = R, g = j, re = q, le = O, oe = Q, B = U, ie = W, ne = X, ae = Y, se = ["id", "refresher-enabled", "refresher-triggered", "refresher-background", "scroll-x", "scroll-y", "scroll-top", "scroll-left"], ue = {
7
- key: 1,
8
- class: "sun-virtual-scroll-placeholder",
9
- style: { display: "flex", "justify-content": "center", "align-items": "center", height: "85%" }
10
- };
11
- let ce = 1;
12
- const he = /* @__PURE__ */ I({
13
- __name: "index",
1
+ import { defineComponent as o, computed as i, renderSlot as r, mergeProps as n, openBlock as c, createElementBlock as a } from "vue";
2
+ const p = r, d = n, m = c, h = a, b = /* @__PURE__ */ o({
3
+ __name: "table-cell",
14
4
  props: {
15
- refreshing: { type: Boolean },
16
- refresher: { type: Boolean },
17
- refresherBg: { default: "transparent" },
18
- direction: { default: "vertical" },
19
- items: {},
20
- itemSize: {},
21
- itemKey: {},
22
- id: { default: () => `sun-virtual-scroll-${ce++}` },
23
- bottomSpace: { default: 0 },
24
- loading: { type: Boolean },
25
- loadingText: { default: "Loading" }
5
+ sticky: {},
6
+ head: { type: Boolean },
7
+ width: {},
8
+ maxWidth: {},
9
+ ellipsis: { type: Boolean },
10
+ breakWord: { type: Boolean }
26
11
  },
27
- emits: ["refresh", "lower"],
28
- setup($, { emit: x }) {
29
- const y = x, r = $;
30
- let m, i = 0, S = !1;
31
- const u = f(0), v = f(0), p = f(0), h = f(0), t = a(() => r.direction === "vertical"), _ = a(() => ({
32
- right: t.value ? "0" : "auto",
33
- transform: `translate${t.value ? "Y" : "X"}(${p.value}px)`,
34
- "white-space": t.value ? "normal" : "nowrap"
35
- })), n = a(() => typeof r.itemSize == "number" ? r.itemSize : r.itemSize.endsWith("rpx") ? G(parseFloat(r.itemSize)) : parseFloat(r.itemSize)), C = a(() => n.value * r.items.length), T = a(() => ({
36
- [t.value ? "height" : "width"]: b(C.value + r.bottomSpace)
37
- })), F = a(() => ({
38
- display: t.value ? "block" : "inline-block",
39
- [t.value ? "height" : "width"]: b(n.value)
40
- })), P = a(
41
- () => r.items.slice(
42
- Math.max(v.value - u.value, 0),
43
- v.value + u.value * 2
44
- )
45
- );
46
- function V({ detail: e }) {
47
- m && cancelAnimationFrame(m), m = requestAnimationFrame(() => {
48
- i = t.value ? e.scrollTop : e.scrollLeft, v.value = ~~(i / n.value), v.value > u.value - 1 ? p.value = i - n.value * u.value - i % n.value : p.value = i - i % (n.value * u.value), m = 0;
49
- });
50
- }
51
- function w() {
52
- setTimeout(() => {
53
- J().select(`#${r.id}`).boundingClientRect((e) => {
54
- if (S) return;
55
- if (e = e, !(e != null && e.height) || !(e != null && e.width))
56
- return w();
57
- const { height: l, width: o } = e, d = t.value ? l : o;
58
- u.value = Math.ceil(d / n.value);
59
- }).exec();
60
- }, 50);
61
- }
62
- return D(() => {
63
- h.value = i;
64
- }), L(() => {
65
- w();
66
- }), N(() => {
67
- S = !0;
68
- }), (e, l) => (s(), c("scroll-view", ae(e.$attrs, {
69
- id: e.id,
70
- class: "sun-virtual-scroll",
71
- "refresher-enabled": e.refresher,
72
- "refresher-triggered": e.refreshing,
73
- "refresher-background": e.refresherBg,
74
- "scroll-x": !t.value,
75
- "scroll-y": t.value,
76
- "scroll-top": t.value ? h.value : 0,
77
- "scroll-left": t.value ? 0 : h.value,
78
- enhanced: !0,
79
- "lower-threshold": 300,
80
- onScrollPassive: l[0] || (l[0] = (o) => V(o)),
81
- onRefresherrefresh: l[1] || (l[1] = (o) => {
82
- B(H).short("light"), y("refresh");
83
- }),
84
- onScrolltolower: l[2] || (l[2] = (o) => y("lower"))
12
+ setup(l) {
13
+ const e = l, s = i(() => ({
14
+ "sun-tb-cell-sticky-left": e.sticky === "left",
15
+ "sun-tb-cell-sticky-right": e.sticky === "right",
16
+ "sun-tb-cell-ellipsis": e.ellipsis,
17
+ "sun-tb-cell-head": e.ellipsis,
18
+ "sun-tb-cell-break-word": e.breakWord
19
+ }));
20
+ return (t, u) => (m(), h("view", d(t.$attrs, {
21
+ class: ["sun-tb-cell", s.value],
22
+ style: { width: t.width, "min-width": t.width, "max-width": t.maxWidth }
85
23
  }), [
86
- e.items.length ? (s(), c("view", {
87
- key: 0,
88
- class: "sun-virtual-scroll-content-container",
89
- style: g(_.value)
90
- }, [
91
- (s(!0), c(te, null, ee(P.value, (o, d) => {
92
- var k;
93
- return s(), c("view", {
94
- key: (k = o[e.itemKey]) != null ? k : d,
95
- class: "sun-virtual-scroll-item",
96
- style: g(F.value)
97
- }, [
98
- z(e.$slots, "default", {
99
- item: o,
100
- index: d
101
- })
102
- ], 4);
103
- }), 128))
104
- ], 4)) : (s(), c("view", ue, [
105
- e.loading ? (s(), ne(B(Z), {
106
- key: 0,
107
- size: "large"
108
- }, {
109
- default: ie(() => [
110
- oe(le(e.loadingText), 1)
111
- ]),
112
- _: 1
113
- })) : z(e.$slots, "empty", { key: 1 })
114
- ])),
115
- e.items.length ? (s(), c("view", {
116
- key: 2,
117
- class: "sun-virtual-scroll-spacer",
118
- style: g(T.value)
119
- }, null, 4)) : re("", !0)
120
- ], 16, se));
24
+ p(t.$slots, "default")
25
+ ], 16));
121
26
  }
122
27
  });
123
28
  export {
124
- he as default
29
+ b as default
125
30
  };
package/index20.js CHANGED
@@ -1,12 +1,18 @@
1
- import { renderSlot as r, mergeProps as o, openBlock as t, createElementBlock as n } from "vue";
2
- import c from "./index27.js";
3
- const s = {}, l = r, a = o, f = t, _ = n;
4
- function m(e, p) {
5
- return f(), _("view", a(e.$attrs, { class: "sun-fab" }), [
6
- l(e.$slots, "default")
7
- ], 16);
8
- }
9
- const u = /* @__PURE__ */ c(s, [["render", m]]);
1
+ import { defineComponent as o, renderSlot as t, mergeProps as r, openBlock as n, createElementBlock as s } from "vue";
2
+ const a = t, l = r, p = n, c = s, u = /* @__PURE__ */ o({
3
+ __name: "table-row",
4
+ props: {
5
+ head: { type: Boolean },
6
+ foot: { type: Boolean }
7
+ },
8
+ setup(m) {
9
+ return (e, d) => (p(), c("view", l(e.$attrs, {
10
+ class: ["sun-tb-row", { "sun-tb-head": e.head, "sun-tb-foot": e.foot }]
11
+ }), [
12
+ a(e.$slots, "default")
13
+ ], 16));
14
+ }
15
+ });
10
16
  export {
11
17
  u as default
12
18
  };
package/index21.js CHANGED
@@ -1,12 +1,35 @@
1
- import { renderSlot as o, openBlock as t, createElementBlock as r } from "vue";
2
- import n from "./index27.js";
3
- const c = {}, s = o, l = t, _ = r, a = { class: "sun-list-header" };
4
- function d(e, f) {
5
- return l(), _("view", a, [
6
- s(e.$slots, "default")
7
- ]);
8
- }
9
- const p = /* @__PURE__ */ n(c, [["render", d]]);
1
+ import { defineComponent as s, computed as o, renderSlot as l, normalizeClass as u, createElementVNode as d, mergeProps as b, openBlock as c, createElementBlock as p } from "vue";
2
+ const m = l, i = u, B = d, _ = b, f = c, z = p, k = /* @__PURE__ */ s({
3
+ __name: "table",
4
+ props: {
5
+ rounded: { type: Boolean, default: !0 },
6
+ bordered: { type: Boolean },
7
+ outerBordered: { type: Boolean, default: !0 },
8
+ zebra: { type: Boolean },
9
+ size: { default: "default" },
10
+ layout: {}
11
+ },
12
+ setup(r) {
13
+ const e = r, n = o(() => ({
14
+ "sun-tb-rounded": e.rounded,
15
+ "sun-tb-bordered": e.bordered,
16
+ "sun-tb-outer-bordered": e.outerBordered,
17
+ [`sun-tb-size-${e.size}`]: e.size
18
+ })), a = o(() => ({
19
+ "sun-tb-zebra": e.zebra,
20
+ [`sun-tb-layout-${e.layout}`]: e.layout
21
+ }));
22
+ return (t, y) => (f(), z("view", _(t.$attrs, {
23
+ class: ["sun-tb", n.value]
24
+ }), [
25
+ B("view", {
26
+ class: i(["sun-tb-inner", a.value])
27
+ }, [
28
+ m(t.$slots, "default")
29
+ ], 2)
30
+ ], 16));
31
+ }
32
+ });
10
33
  export {
11
- p as default
34
+ k as default
12
35
  };
package/index22.js CHANGED
@@ -1,12 +1,125 @@
1
- import { renderSlot as o, mergeProps as r, openBlock as t, createElementBlock as s } from "vue";
2
- import n from "./index27.js";
3
- const c = {}, l = o, m = r, _ = t, a = s;
4
- function u(e, d) {
5
- return _(), a("view", m(e.$attrs, { class: "sun-sudoku-item" }), [
6
- l(e.$slots, "default")
7
- ], 16);
8
- }
9
- const i = /* @__PURE__ */ n(c, [["render", u]]);
1
+ import { defineComponent as I, ref as f, computed as a, onActivated as D, onMounted as L, onUnmounted as N, renderList as A, Fragment as M, openBlock as E, createElementBlock as K, renderSlot as R, normalizeStyle as j, createCommentVNode as q, toDisplayString as O, createTextVNode as Q, unref as U, withCtx as W, createBlock as X, mergeProps as Y } from "vue";
2
+ import { withPixel as b } from "@solar-kit/core";
3
+ import { rpxToPx as G, vibrator as H } from "@solar-taro/core";
4
+ import { createSelectorQuery as J } from "@tarojs/taro";
5
+ import Z from "./index16.js";
6
+ const ee = A, te = M, s = E, c = K, z = R, g = j, re = q, le = O, oe = Q, B = U, ie = W, ne = X, ae = Y, se = ["id", "refresher-enabled", "refresher-triggered", "refresher-background", "scroll-x", "scroll-y", "scroll-top", "scroll-left"], ue = {
7
+ key: 1,
8
+ class: "sun-virtual-scroll-placeholder",
9
+ style: { display: "flex", "justify-content": "center", "align-items": "center", height: "85%" }
10
+ };
11
+ let ce = 1;
12
+ const he = /* @__PURE__ */ I({
13
+ __name: "index",
14
+ props: {
15
+ refreshing: { type: Boolean },
16
+ refresher: { type: Boolean },
17
+ refresherBg: { default: "transparent" },
18
+ direction: { default: "vertical" },
19
+ items: {},
20
+ itemSize: {},
21
+ itemKey: {},
22
+ id: { default: () => `sun-virtual-scroll-${ce++}` },
23
+ bottomSpace: { default: 0 },
24
+ loading: { type: Boolean },
25
+ loadingText: { default: "Loading" }
26
+ },
27
+ emits: ["refresh", "lower"],
28
+ setup($, { emit: x }) {
29
+ const y = x, r = $;
30
+ let m, i = 0, S = !1;
31
+ const u = f(0), v = f(0), p = f(0), h = f(0), t = a(() => r.direction === "vertical"), _ = a(() => ({
32
+ right: t.value ? "0" : "auto",
33
+ transform: `translate${t.value ? "Y" : "X"}(${p.value}px)`,
34
+ "white-space": t.value ? "normal" : "nowrap"
35
+ })), n = a(() => typeof r.itemSize == "number" ? r.itemSize : r.itemSize.endsWith("rpx") ? G(parseFloat(r.itemSize)) : parseFloat(r.itemSize)), C = a(() => n.value * r.items.length), T = a(() => ({
36
+ [t.value ? "height" : "width"]: b(C.value + r.bottomSpace)
37
+ })), F = a(() => ({
38
+ display: t.value ? "block" : "inline-block",
39
+ [t.value ? "height" : "width"]: b(n.value)
40
+ })), P = a(
41
+ () => r.items.slice(
42
+ Math.max(v.value - u.value, 0),
43
+ v.value + u.value * 2
44
+ )
45
+ );
46
+ function V({ detail: e }) {
47
+ m && cancelAnimationFrame(m), m = requestAnimationFrame(() => {
48
+ i = t.value ? e.scrollTop : e.scrollLeft, v.value = ~~(i / n.value), v.value > u.value - 1 ? p.value = i - n.value * u.value - i % n.value : p.value = i - i % (n.value * u.value), m = 0;
49
+ });
50
+ }
51
+ function w() {
52
+ setTimeout(() => {
53
+ J().select(`#${r.id}`).boundingClientRect((e) => {
54
+ if (S) return;
55
+ if (e = e, !(e != null && e.height) || !(e != null && e.width))
56
+ return w();
57
+ const { height: l, width: o } = e, d = t.value ? l : o;
58
+ u.value = Math.ceil(d / n.value);
59
+ }).exec();
60
+ }, 50);
61
+ }
62
+ return D(() => {
63
+ h.value = i;
64
+ }), L(() => {
65
+ w();
66
+ }), N(() => {
67
+ S = !0;
68
+ }), (e, l) => (s(), c("scroll-view", ae(e.$attrs, {
69
+ id: e.id,
70
+ class: "sun-virtual-scroll",
71
+ "refresher-enabled": e.refresher,
72
+ "refresher-triggered": e.refreshing,
73
+ "refresher-background": e.refresherBg,
74
+ "scroll-x": !t.value,
75
+ "scroll-y": t.value,
76
+ "scroll-top": t.value ? h.value : 0,
77
+ "scroll-left": t.value ? 0 : h.value,
78
+ enhanced: !0,
79
+ "lower-threshold": 300,
80
+ onScrollPassive: l[0] || (l[0] = (o) => V(o)),
81
+ onRefresherrefresh: l[1] || (l[1] = (o) => {
82
+ B(H).short("light"), y("refresh");
83
+ }),
84
+ onScrolltolower: l[2] || (l[2] = (o) => y("lower"))
85
+ }), [
86
+ e.items.length ? (s(), c("view", {
87
+ key: 0,
88
+ class: "sun-virtual-scroll-content-container",
89
+ style: g(_.value)
90
+ }, [
91
+ (s(!0), c(te, null, ee(P.value, (o, d) => {
92
+ var k;
93
+ return s(), c("view", {
94
+ key: (k = o[e.itemKey]) != null ? k : d,
95
+ class: "sun-virtual-scroll-item",
96
+ style: g(F.value)
97
+ }, [
98
+ z(e.$slots, "default", {
99
+ item: o,
100
+ index: d
101
+ })
102
+ ], 4);
103
+ }), 128))
104
+ ], 4)) : (s(), c("view", ue, [
105
+ e.loading ? (s(), ne(B(Z), {
106
+ key: 0,
107
+ size: "large"
108
+ }, {
109
+ default: ie(() => [
110
+ oe(le(e.loadingText), 1)
111
+ ]),
112
+ _: 1
113
+ })) : z(e.$slots, "empty", { key: 1 })
114
+ ])),
115
+ e.items.length ? (s(), c("view", {
116
+ key: 2,
117
+ class: "sun-virtual-scroll-spacer",
118
+ style: g(T.value)
119
+ }, null, 4)) : re("", !0)
120
+ ], 16, se));
121
+ }
122
+ });
10
123
  export {
11
- i as default
124
+ he as default
12
125
  };
package/index23.js CHANGED
@@ -1,4 +1,16 @@
1
- import f from "./index7.js";
1
+ import { renderSlot as r, mergeProps as o, openBlock as t, createElementBlock as s } from "vue";
2
+ import c from "./index29.js";
3
+ const n = {}, a = r, l = o, f = t, m = s;
4
+ function _(e, p) {
5
+ return f(), m("view", l(e.$attrs, {
6
+ class: "sun-fab",
7
+ "hover-class": "hover",
8
+ "hover-stay-time": "200"
9
+ }), [
10
+ a(e.$slots, "default")
11
+ ], 16);
12
+ }
13
+ const u = /* @__PURE__ */ c(n, [["render", _]]);
2
14
  export {
3
- f as default
15
+ u as default
4
16
  };
package/index24.js CHANGED
@@ -1,4 +1,12 @@
1
- import f from "./index3.js";
1
+ import { renderSlot as o, openBlock as t, createElementBlock as r } from "vue";
2
+ import n from "./index29.js";
3
+ const c = {}, s = o, l = t, _ = r, a = { class: "sun-list-header" };
4
+ function d(e, f) {
5
+ return l(), _("view", a, [
6
+ s(e.$slots, "default")
7
+ ]);
8
+ }
9
+ const p = /* @__PURE__ */ n(c, [["render", d]]);
2
10
  export {
3
- f as default
11
+ p as default
4
12
  };
package/index25.js CHANGED
@@ -1,4 +1,12 @@
1
- import f from "./index8.js";
1
+ import { renderSlot as o, mergeProps as r, openBlock as t, createElementBlock as s } from "vue";
2
+ import n from "./index29.js";
3
+ const c = {}, l = o, m = r, _ = t, a = s;
4
+ function u(e, d) {
5
+ return _(), a("view", m(e.$attrs, { class: "sun-sudoku-item" }), [
6
+ l(e.$slots, "default")
7
+ ], 16);
8
+ }
9
+ const i = /* @__PURE__ */ n(c, [["render", u]]);
2
10
  export {
3
- f as default
11
+ i as default
4
12
  };
package/index26.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index4.js";
1
+ import f from "./index8.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index27.js CHANGED
@@ -1,9 +1,4 @@
1
- const s = (t, e) => {
2
- const o = t.__vccOpts || t;
3
- for (const [r, c] of e)
4
- o[r] = c;
5
- return o;
6
- };
1
+ import f from "./index4.js";
7
2
  export {
8
- s as default
3
+ f as default
9
4
  };
package/index28.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index13.js";
1
+ import f from "./index6.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index29.js CHANGED
@@ -1,4 +1,9 @@
1
- import f from "./index15.js";
1
+ const s = (t, e) => {
2
+ const o = t.__vccOpts || t;
3
+ for (const [r, c] of e)
4
+ o[r] = c;
5
+ return o;
6
+ };
2
7
  export {
3
- f as default
8
+ s as default
4
9
  };
package/index30.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index9.js";
1
+ import f from "./index3.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index31.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index5.js";
1
+ import f from "./index9.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index32.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index6.js";
1
+ import f from "./index13.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index33.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index11.js";
1
+ import f from "./index14.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index34.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index12.js";
1
+ import f from "./index7.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index35.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index14.js";
1
+ import f from "./index10.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index37.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index10.js";
1
+ import f from "./index20.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index38.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index16.js";
1
+ import f from "./index21.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index39.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index17.js";
1
+ import f from "./index22.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index40.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index18.js";
1
+ import f from "./index11.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index41.js CHANGED
@@ -1,68 +1,4 @@
1
- import { commonjsGlobal as L } from "./index47.js";
2
- import { __module as H } from "./index48.js";
3
- import { __require as Q } from "./index49.js";
4
- import { __require as T } from "./index50.js";
5
- import { __require as Y } from "./index51.js";
6
- import { __require as Z } from "./index52.js";
7
- import { __require as $ } from "./index53.js";
8
- (function(I, J) {
9
- (function(s, l, V) {
10
- I.exports = l(Q(), T(), Y(), Z(), $());
11
- })(L, function(s) {
12
- return function() {
13
- var l = s, V = l.lib, A = V.BlockCipher, W = l.algo, t = [], g = [], z = [], P = [], j = [], k = [], d = [], h = [], C = [], q = [];
14
- (function() {
15
- for (var r = [], f = 0; f < 256; f++)
16
- f < 128 ? r[f] = f << 1 : r[f] = f << 1 ^ 283;
17
- for (var v = 0, i = 0, f = 0; f < 256; f++) {
18
- var e = i ^ i << 1 ^ i << 2 ^ i << 3 ^ i << 4;
19
- e = e >>> 8 ^ e & 255 ^ 99, t[v] = e, g[e] = v;
20
- var _ = r[v], n = r[_], a = r[n], x = r[e] * 257 ^ e * 16843008;
21
- z[v] = x << 24 | x >>> 8, P[v] = x << 16 | x >>> 16, j[v] = x << 8 | x >>> 24, k[v] = x;
22
- var x = a * 16843009 ^ n * 65537 ^ _ * 257 ^ v * 16843008;
23
- d[e] = x << 24 | x >>> 8, h[e] = x << 16 | x >>> 16, C[e] = x << 8 | x >>> 24, q[e] = x, v ? (v = _ ^ r[r[r[a ^ _]]], i ^= r[r[i]]) : v = i = 1;
24
- }
25
- })();
26
- var D = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], F = W.AES = A.extend({
27
- _doReset: function() {
28
- var r;
29
- if (!(this._nRounds && this._keyPriorReset === this._key)) {
30
- for (var f = this._keyPriorReset = this._key, v = f.words, i = f.sigBytes / 4, e = this._nRounds = i + 6, _ = (e + 1) * 4, n = this._keySchedule = [], a = 0; a < _; a++)
31
- a < i ? n[a] = v[a] : (r = n[a - 1], a % i ? i > 6 && a % i == 4 && (r = t[r >>> 24] << 24 | t[r >>> 16 & 255] << 16 | t[r >>> 8 & 255] << 8 | t[r & 255]) : (r = r << 8 | r >>> 24, r = t[r >>> 24] << 24 | t[r >>> 16 & 255] << 16 | t[r >>> 8 & 255] << 8 | t[r & 255], r ^= D[a / i | 0] << 24), n[a] = n[a - i] ^ r);
32
- for (var x = this._invKeySchedule = [], o = 0; o < _; o++) {
33
- var a = _ - o;
34
- if (o % 4)
35
- var r = n[a];
36
- else
37
- var r = n[a - 4];
38
- o < 4 || a <= 4 ? x[o] = r : x[o] = d[t[r >>> 24]] ^ h[t[r >>> 16 & 255]] ^ C[t[r >>> 8 & 255]] ^ q[t[r & 255]];
39
- }
40
- }
41
- },
42
- encryptBlock: function(r, f) {
43
- this._doCryptBlock(r, f, this._keySchedule, z, P, j, k, t);
44
- },
45
- decryptBlock: function(r, f) {
46
- var v = r[f + 1];
47
- r[f + 1] = r[f + 3], r[f + 3] = v, this._doCryptBlock(r, f, this._invKeySchedule, d, h, C, q, g);
48
- var v = r[f + 1];
49
- r[f + 1] = r[f + 3], r[f + 3] = v;
50
- },
51
- _doCryptBlock: function(r, f, v, i, e, _, n, a) {
52
- for (var x = this._nRounds, o = r[f] ^ v[0], u = r[f + 1] ^ v[1], p = r[f + 2] ^ v[2], m = r[f + 3] ^ v[3], c = 4, G = 1; G < x; G++) {
53
- var y = i[o >>> 24] ^ e[u >>> 16 & 255] ^ _[p >>> 8 & 255] ^ n[m & 255] ^ v[c++], E = i[u >>> 24] ^ e[p >>> 16 & 255] ^ _[m >>> 8 & 255] ^ n[o & 255] ^ v[c++], N = i[p >>> 24] ^ e[m >>> 16 & 255] ^ _[o >>> 8 & 255] ^ n[u & 255] ^ v[c++], b = i[m >>> 24] ^ e[o >>> 16 & 255] ^ _[u >>> 8 & 255] ^ n[p & 255] ^ v[c++];
54
- o = y, u = E, p = N, m = b;
55
- }
56
- var y = (a[o >>> 24] << 24 | a[u >>> 16 & 255] << 16 | a[p >>> 8 & 255] << 8 | a[m & 255]) ^ v[c++], E = (a[u >>> 24] << 24 | a[p >>> 16 & 255] << 16 | a[m >>> 8 & 255] << 8 | a[o & 255]) ^ v[c++], N = (a[p >>> 24] << 24 | a[m >>> 16 & 255] << 16 | a[o >>> 8 & 255] << 8 | a[u & 255]) ^ v[c++], b = (a[m >>> 24] << 24 | a[o >>> 16 & 255] << 16 | a[u >>> 8 & 255] << 8 | a[p & 255]) ^ v[c++];
57
- r[f] = y, r[f + 1] = E, r[f + 2] = N, r[f + 3] = b;
58
- },
59
- keySize: 256 / 32
60
- });
61
- l.AES = A._createHelper(F);
62
- }(), s.AES;
63
- });
64
- })(H);
65
- var X = H.exports;
1
+ import f from "./index17.js";
66
2
  export {
67
- X as a
3
+ f as default
68
4
  };
package/index42.js CHANGED
@@ -1,14 +1,4 @@
1
- import { commonjsGlobal as n } from "./index47.js";
2
- import { __module as r } from "./index54.js";
3
- import { __require as f } from "./index49.js";
4
- (function(t, m) {
5
- (function(o, e) {
6
- t.exports = e(f());
7
- })(n, function(o) {
8
- return o.enc.Utf8;
9
- });
10
- })(r);
11
- var c = r.exports;
1
+ import f from "./index15.js";
12
2
  export {
13
- c as e
3
+ f as default
14
4
  };
package/index43.js CHANGED
@@ -1,27 +1,4 @@
1
- import { commonjsGlobal as i, getDefaultExportFromCjs as p } from "./index47.js";
2
- import { __module as c } from "./index55.js";
3
- import { __require as m } from "./index49.js";
4
- import { __require as s } from "./index53.js";
5
- (function(n, d) {
6
- (function(e, o, r) {
7
- n.exports = o(m(), s());
8
- })(i, function(e) {
9
- return e.mode.ECB = function() {
10
- var o = e.lib.BlockCipherMode.extend();
11
- return o.Encryptor = o.extend({
12
- processBlock: function(r, t) {
13
- this._cipher.encryptBlock(r, t);
14
- }
15
- }), o.Decryptor = o.extend({
16
- processBlock: function(r, t) {
17
- this._cipher.decryptBlock(r, t);
18
- }
19
- }), o;
20
- }(), e.mode.ECB;
21
- });
22
- })(c);
23
- var u = c.exports;
24
- const B = /* @__PURE__ */ p(u);
1
+ import f from "./index12.js";
25
2
  export {
26
- B as default
3
+ f as default
27
4
  };