@solar-taro/ui-sun 2.2.0 → 2.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/CHANGELOG.md +24 -0
- package/back-button/index.d.ts +1 -0
- package/back-button/index.scss +3 -0
- package/back-button/index.vue.d.ts +2 -0
- package/chip/index.vue.d.ts +1 -1
- package/index.d.ts +1 -0
- package/index.js +27 -25
- package/index12.js +1 -1
- package/index13.js +1 -1
- package/index14.js +1 -1
- package/index15.js +10 -10
- package/index18.js +1 -1
- package/index23.js +1 -1
- package/index24.js +14 -10
- package/index25.js +2 -2
- package/index26.js +9 -9
- package/index27.js +9 -9
- package/index28.js +10 -2
- package/index29.js +1 -1
- package/index30.js +1 -1
- package/index31.js +1 -1
- package/index32.js +7 -2
- package/index33.js +2 -7
- package/index34.js +1 -1
- package/index35.js +1 -1
- package/index36.js +1 -1
- package/index37.js +1 -1
- package/index38.js +1 -1
- package/index39.js +1 -1
- package/index4.js +11 -19
- package/index40.js +1 -1
- package/index41.js +1 -1
- package/index42.js +1 -1
- package/index43.js +1 -1
- package/index44.js +1 -1
- package/index45.js +1 -1
- package/index46.js +1 -1
- package/index47.js +1 -1
- package/index48.js +2 -66
- package/index49.js +2 -12
- package/index5.js +17 -19
- package/index50.js +2 -25
- package/index51.js +65 -13
- package/index52.js +12 -5
- package/index53.js +23 -524
- package/index54.js +14 -3
- package/index55.js +3 -2
- package/index56.js +524 -24
- package/index57.js +26 -2
- package/index58.js +2 -506
- package/index59.js +481 -54
- package/index6.js +19 -14
- package/index60.js +72 -63
- package/index61.js +64 -63
- package/index62.js +46 -520
- package/index63.js +543 -2
- package/index65.js +2 -2
- package/index66.js +2 -4
- package/index67.js +4 -2
- package/index68.js +2 -4
- package/index69.js +4 -2
- package/index7.js +15 -10
- package/index72.js +2 -48
- package/index73.js +2 -82
- package/index74.js +48 -2
- package/index75.js +82 -2
- package/index76.js +2 -2
- package/index78.js +4 -0
- package/index8.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
## 2.3.0 (2025-12-02)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **ui-sun:** add back button component
|
|
6
|
+
|
|
7
|
+
### ❤️ Thank You
|
|
8
|
+
|
|
9
|
+
- HyperLife1119
|
|
10
|
+
|
|
11
|
+
## 2.2.0 (2025-12-01)
|
|
12
|
+
|
|
13
|
+
### 🚀 Features
|
|
14
|
+
|
|
15
|
+
- **ui-sun:** add title component
|
|
16
|
+
|
|
17
|
+
### 🩹 Fixes
|
|
18
|
+
|
|
19
|
+
- **ui-sun/page-header:** adjust font size to 32px
|
|
20
|
+
|
|
21
|
+
### ❤️ Thank You
|
|
22
|
+
|
|
23
|
+
- HyperLife1119
|
|
24
|
+
|
|
1
25
|
## 2.1.0 (2025-11-25)
|
|
2
26
|
|
|
3
27
|
### 🚀 Features
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SunBackButton } from './index.vue';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGViewElement>;
|
|
2
|
+
export default _default;
|
package/chip/index.vue.d.ts
CHANGED
|
@@ -14,8 +14,8 @@ declare function __VLS_template(): {
|
|
|
14
14
|
};
|
|
15
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
16
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
|
-
type: "solid" | "translucent" | "outline";
|
|
18
17
|
size: "small" | "default" | "large";
|
|
18
|
+
type: "solid" | "translucent" | "outline";
|
|
19
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGViewElement>;
|
|
20
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
21
|
export default _default;
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { SolarSun as a } from "./index2.js";
|
|
2
2
|
import { default as t } from "./index3.js";
|
|
3
3
|
import { default as f } from "./index4.js";
|
|
4
|
-
import { default as
|
|
4
|
+
import { default as l } from "./index5.js";
|
|
5
5
|
import { default as d } from "./index6.js";
|
|
6
6
|
import { default as m } from "./index7.js";
|
|
7
7
|
import { default as x } from "./index8.js";
|
|
8
|
-
import { default as
|
|
8
|
+
import { default as c } from "./index9.js";
|
|
9
9
|
import { default as T } from "./index10.js";
|
|
10
10
|
import { default as C } from "./index11.js";
|
|
11
|
-
import { default as
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
11
|
+
import { default as B } from "./index12.js";
|
|
12
|
+
import { default as P } from "./index13.js";
|
|
13
|
+
import { default as v } from "./index14.js";
|
|
14
|
+
import { default as H } from "./index15.js";
|
|
15
|
+
import { default as R } from "./index16.js";
|
|
16
|
+
import { default as y } from "./index17.js";
|
|
17
|
+
import { default as A } from "./index18.js";
|
|
18
18
|
import { default as N } from "./index19.js";
|
|
19
19
|
import { default as V } from "./index20.js";
|
|
20
20
|
import { default as q } from "./index21.js";
|
|
@@ -24,31 +24,33 @@ import { default as O } from "./index24.js";
|
|
|
24
24
|
import { default as W } from "./index25.js";
|
|
25
25
|
import { default as Y } from "./index26.js";
|
|
26
26
|
import { default as _ } from "./index27.js";
|
|
27
|
+
import { default as ee } from "./index28.js";
|
|
27
28
|
export {
|
|
28
29
|
a as SolarSun,
|
|
29
30
|
t as SunAccordion,
|
|
30
|
-
f as
|
|
31
|
-
|
|
31
|
+
f as SunBackButton,
|
|
32
|
+
l as SunChip,
|
|
33
|
+
d as SunCircularProgress,
|
|
32
34
|
K as SunFab,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
m as SunFabGroup,
|
|
36
|
+
O as SunIcon,
|
|
35
37
|
x as SunItem,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
+
c as SunLazyRender,
|
|
39
|
+
W as SunListHeader,
|
|
38
40
|
T as SunNavbar,
|
|
39
|
-
|
|
41
|
+
Y as SunPageHeader,
|
|
40
42
|
C as SunPopover,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
43
|
+
B as SunQrcode,
|
|
44
|
+
v as SunSegment,
|
|
45
|
+
P as SunSegmentBtn,
|
|
46
|
+
H as SunSliderCaptcha,
|
|
47
|
+
R as SunSpinner,
|
|
48
|
+
y as SunSudoku,
|
|
49
|
+
_ as SunSudokuItem,
|
|
50
|
+
A as SunTabbar,
|
|
49
51
|
q as SunTb,
|
|
50
52
|
N as SunTbCell,
|
|
51
53
|
V as SunTbRow,
|
|
52
|
-
|
|
54
|
+
ee as SunTitle,
|
|
53
55
|
E as SunVirtualScroll
|
|
54
56
|
};
|
package/index12.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as C, watch as I, onMounted as L, onUnmounted as M, createElementVNode as k, unref as w, openBlock as z, createElementBlock as R } from "vue";
|
|
2
2
|
import { createSelectorQuery as y, getWindowInfo as Q, previewImage as S } from "@tarojs/taro";
|
|
3
|
-
import { QrCode as U, QrCodeEcc as a } from "./
|
|
3
|
+
import { QrCode as U, QrCodeEcc as a } from "./index56.js";
|
|
4
4
|
const h = k, A = w, B = z, D = R;
|
|
5
5
|
let T = 1;
|
|
6
6
|
const N = /* @__PURE__ */ C({
|
package/index13.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, inject as a, getCurrentInstance as c, onUnmounted as m, unref as u, renderSlot as i, mergeProps as _, openBlock as f, createElementBlock as v } from "vue";
|
|
2
|
-
import { ACTIVE_CHILD as d, PARENT as g } from "./
|
|
2
|
+
import { ACTIVE_CHILD as d, PARENT as g } from "./index55.js";
|
|
3
3
|
const o = u, k = i, C = _, B = f, E = v, $ = /* @__PURE__ */ p({
|
|
4
4
|
__name: "segment-btn",
|
|
5
5
|
props: {
|
package/index14.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as x, getCurrentInstance as V, shallowRef as E, shallowReactive as k, computed as a, provide as i, watch as C, onMounted as w, renderSlot as y, createElementVNode as B, mergeProps as I, openBlock as O, createElementBlock as A } from "vue";
|
|
2
|
-
import { ACTIVE_CHILD as N, PARENT as P } from "./
|
|
2
|
+
import { ACTIVE_CHILD as N, PARENT as P } from "./index55.js";
|
|
3
3
|
const R = y, T = B, b = I, L = O, S = A, $ = { class: "sun-segment-inner" }, M = /* @__PURE__ */ x({
|
|
4
4
|
__name: "segment",
|
|
5
5
|
props: {
|
package/index15.js
CHANGED
|
@@ -5,12 +5,12 @@ import { CaptchaType as S } from "@solar-kit/planets/mercury";
|
|
|
5
5
|
import { filterResult as ie } from "@solar-kit/planets/sun";
|
|
6
6
|
import { useCommonInterceptor as re } from "@solar-taro/http";
|
|
7
7
|
import { SunSpinner as ce } from "@solar-taro/ui-sun";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
import me from "./
|
|
13
|
-
import
|
|
8
|
+
import { attachLoading as le } from "@solar-vue/core";
|
|
9
|
+
import { createSelectorQuery as pe, getWindowInfo as ue } from "@tarojs/taro";
|
|
10
|
+
import { a as de } from "./index51.js";
|
|
11
|
+
import { e as D } from "./index52.js";
|
|
12
|
+
import me from "./index53.js";
|
|
13
|
+
import ve from "./index54.js";
|
|
14
14
|
const g = K, H = O, o = Q, w = X, fe = Y, N = ee, he = te, U = ae, $ = ne, ye = { class: "sun-slider-captcha" }, ge = { class: "sun-slider-captcha-container" }, we = { class: "sun-slider-captcha-mask" }, ke = { class: "sun-slider-captcha-track" }, _e = ["x", "disabled"], V = "sun-slider-captcha", be = 155, Ie = 310, ze = 155, xe = 50, Le = /* @__PURE__ */ J({
|
|
15
15
|
__name: "index",
|
|
16
16
|
props: {
|
|
@@ -58,7 +58,7 @@ const g = K, H = O, o = Q, w = X, fe = Y, N = ee, he = te, U = ae, $ = ne, ye =
|
|
|
58
58
|
...i.verifyData
|
|
59
59
|
};
|
|
60
60
|
I.post(i.verifyUrl, C).pipe(
|
|
61
|
-
|
|
61
|
+
le(b)
|
|
62
62
|
).subscribe({
|
|
63
63
|
next: (u) => {
|
|
64
64
|
if (u.code !== 0)
|
|
@@ -77,7 +77,7 @@ const g = K, H = O, o = Q, w = X, fe = Y, N = ee, he = te, U = ae, $ = ne, ye =
|
|
|
77
77
|
}
|
|
78
78
|
function E(t, e) {
|
|
79
79
|
const a = D.parse(e), s = D.parse(t);
|
|
80
|
-
return
|
|
80
|
+
return de.encrypt(s, a, { mode: me, padding: ve }).toString();
|
|
81
81
|
}
|
|
82
82
|
function j(t) {
|
|
83
83
|
l.value = t.x, x(l.value);
|
|
@@ -87,11 +87,11 @@ const g = K, H = O, o = Q, w = X, fe = Y, N = ee, he = te, U = ae, $ = ne, ye =
|
|
|
87
87
|
}
|
|
88
88
|
function T() {
|
|
89
89
|
setTimeout(() => {
|
|
90
|
-
|
|
90
|
+
pe().select(`#${V}`).fields({ node: !0, size: !0 }).exec(([{ node: t, width: e, height: a }]) => {
|
|
91
91
|
if (_) return;
|
|
92
92
|
if (!a || !e)
|
|
93
93
|
return T();
|
|
94
|
-
const s =
|
|
94
|
+
const s = ue().pixelRatio;
|
|
95
95
|
c = t, p = c.getContext("2d"), c.width = e * s, c.height = a * s, p.scale(s, s), z();
|
|
96
96
|
});
|
|
97
97
|
}, 50);
|
package/index18.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, computed as p, renderList as _, Fragment as f, openBlock as d, createElementBlock as g, renderSlot as v, unref as b, createBlock as k, createCommentVNode as h, toDisplayString as B, createTextVNode as y, normalizeClass as C, mergeProps as $ } from "vue";
|
|
2
|
-
import w from "./
|
|
2
|
+
import w from "./index24.js";
|
|
3
3
|
const N = _, S = f, r = d, n = g, T = v, V = b, L = k, z = h, D = B, E = y, F = C, P = $, j = ["scroll-left"], q = ["onTap"], I = /* @__PURE__ */ u({
|
|
4
4
|
__name: "index",
|
|
5
5
|
props: {
|
package/index23.js
CHANGED
package/index24.js
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
1
|
+
import { defineComponent as c, computed as s, normalizeClass as t, openBlock as a, createElementBlock as l } from "vue";
|
|
2
|
+
const r = t, i = a, m = l, d = /* @__PURE__ */ c({
|
|
3
|
+
__name: "index",
|
|
4
|
+
props: {
|
|
5
|
+
name: {}
|
|
6
|
+
},
|
|
7
|
+
setup(e) {
|
|
8
|
+
const n = e, o = s(() => `ionicon-${n.name}`);
|
|
9
|
+
return (p, _) => (i(), m("view", {
|
|
10
|
+
class: r(["sun-icon ionicon", o.value])
|
|
11
|
+
}, null, 2));
|
|
12
|
+
}
|
|
13
|
+
});
|
|
10
14
|
export {
|
|
11
|
-
|
|
15
|
+
d as default
|
|
12
16
|
};
|
package/index25.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { renderSlot as o, openBlock as t, createElementBlock as r } from "vue";
|
|
2
|
-
import n from "./
|
|
3
|
-
const c = {}, s = o, l = t, _ = r, a = { class: "sun-
|
|
2
|
+
import n from "./index32.js";
|
|
3
|
+
const c = {}, s = o, l = t, _ = r, a = { class: "sun-list-header" };
|
|
4
4
|
function d(e, f) {
|
|
5
5
|
return l(), _("view", a, [
|
|
6
6
|
s(e.$slots, "default")
|
package/index26.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { renderSlot as o,
|
|
2
|
-
import n from "./
|
|
3
|
-
const c = {},
|
|
4
|
-
function
|
|
5
|
-
return
|
|
6
|
-
|
|
7
|
-
]
|
|
1
|
+
import { renderSlot as o, openBlock as t, createElementBlock as r } from "vue";
|
|
2
|
+
import n from "./index32.js";
|
|
3
|
+
const c = {}, s = o, l = t, _ = r, a = { class: "sun-page-header" };
|
|
4
|
+
function d(e, f) {
|
|
5
|
+
return l(), _("view", a, [
|
|
6
|
+
s(e.$slots, "default")
|
|
7
|
+
]);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const p = /* @__PURE__ */ n(c, [["render", d]]);
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
p as default
|
|
12
12
|
};
|
package/index27.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { renderSlot as
|
|
2
|
-
import
|
|
3
|
-
const c = {},
|
|
4
|
-
function
|
|
5
|
-
return
|
|
6
|
-
|
|
7
|
-
]);
|
|
1
|
+
import { renderSlot as o, mergeProps as r, openBlock as t, createElementBlock as s } from "vue";
|
|
2
|
+
import n from "./index32.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
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const i = /* @__PURE__ */ n(c, [["render", u]]);
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
i as default
|
|
12
12
|
};
|
package/index28.js
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { renderSlot as t, openBlock as o, createElementBlock as n } from "vue";
|
|
2
|
+
import r from "./index32.js";
|
|
3
|
+
const c = {}, s = t, l = o, _ = n, a = { class: "sun-title" };
|
|
4
|
+
function d(e, f) {
|
|
5
|
+
return l(), _("view", a, [
|
|
6
|
+
s(e.$slots, "default")
|
|
7
|
+
]);
|
|
8
|
+
}
|
|
9
|
+
const p = /* @__PURE__ */ r(c, [["render", d]]);
|
|
2
10
|
export {
|
|
3
|
-
|
|
11
|
+
p as default
|
|
4
12
|
};
|
package/index29.js
CHANGED
package/index30.js
CHANGED
package/index31.js
CHANGED
package/index32.js
CHANGED
package/index33.js
CHANGED
package/index34.js
CHANGED
package/index35.js
CHANGED
package/index36.js
CHANGED
package/index37.js
CHANGED
package/index38.js
CHANGED
package/index39.js
CHANGED
package/index4.js
CHANGED
|
@@ -1,24 +1,16 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
1
|
+
import { defineComponent as o, unref as r, openBlock as t, createBlock as c } from "vue";
|
|
2
|
+
import { router as a } from "@solar-taro/core";
|
|
3
|
+
import m from "./index24.js";
|
|
4
|
+
const n = r, p = t, _ = c, b = /* @__PURE__ */ o({
|
|
3
5
|
__name: "index",
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const e = o, s = l(() => [
|
|
11
|
-
`sun-chip-${e.size}`,
|
|
12
|
-
`sun-chip-${e.type}`,
|
|
13
|
-
`sun-chip-${e.color}`
|
|
14
|
-
]);
|
|
15
|
-
return (t, _) => (d(), m("view", {
|
|
16
|
-
class: i(["sun-chip", s.value])
|
|
17
|
-
}, [
|
|
18
|
-
u(t.$slots, "default")
|
|
19
|
-
], 2));
|
|
6
|
+
setup(s) {
|
|
7
|
+
return (f, e) => (p(), _(n(m), {
|
|
8
|
+
class: "sun-back-btn",
|
|
9
|
+
name: "chevron-back-outline",
|
|
10
|
+
onTap: e[0] || (e[0] = (u) => n(a).back())
|
|
11
|
+
}));
|
|
20
12
|
}
|
|
21
13
|
});
|
|
22
14
|
export {
|
|
23
|
-
|
|
15
|
+
b as default
|
|
24
16
|
};
|
package/index40.js
CHANGED
package/index41.js
CHANGED
package/index42.js
CHANGED
package/index43.js
CHANGED
package/index44.js
CHANGED
package/index45.js
CHANGED
package/index46.js
CHANGED
package/index47.js
CHANGED
package/index48.js
CHANGED
|
@@ -1,68 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { __module as H } from "./index57.js";
|
|
3
|
-
import { __require as Q } from "./index58.js";
|
|
4
|
-
import { __require as T } from "./index59.js";
|
|
5
|
-
import { __require as Y } from "./index60.js";
|
|
6
|
-
import { __require as Z } from "./index61.js";
|
|
7
|
-
import { __require as $ } from "./index62.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 "./index16.js";
|
|
66
2
|
export {
|
|
67
|
-
|
|
3
|
+
f as default
|
|
68
4
|
};
|
package/index49.js
CHANGED
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { __module as r } from "./index63.js";
|
|
3
|
-
import { __require as f } from "./index58.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 "./index11.js";
|
|
12
2
|
export {
|
|
13
|
-
|
|
3
|
+
f as default
|
|
14
4
|
};
|