@solar-taro/ui-sun 2.7.2 → 2.8.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.
- package/CHANGELOG.md +15 -0
- package/index.d.ts +1 -0
- package/index.js +13 -11
- package/index12.js +1 -1
- package/index13.js +1 -1
- package/index14.js +1 -1
- package/index15.js +4 -4
- package/index18.js +1 -1
- package/index22.js +17 -118
- package/index23.js +123 -14
- package/index24.js +14 -14
- package/index25.js +14 -11
- package/index26.js +5 -5
- package/index27.js +10 -7
- package/index28.js +6 -8
- package/index29.js +9 -9
- package/index30.js +10 -2
- package/index31.js +1 -1
- package/index33.js +1 -1
- package/index34.js +2 -7
- package/index35.js +7 -2
- package/index36.js +1 -1
- package/index37.js +1 -1
- package/index38.js +1 -1
- package/index39.js +1 -1
- package/index4.js +1 -1
- 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 +1 -1
- package/index49.js +1 -1
- package/index50.js +1 -1
- package/index51.js +1 -1
- package/index52.js +2 -3
- package/index53.js +2 -526
- package/index54.js +3 -66
- package/index55.js +526 -12
- package/index56.js +64 -23
- package/index57.js +11 -13
- package/index58.js +25 -26
- package/index59.js +14 -2
- package/index60.js +24 -504
- package/index61.js +2 -79
- package/index62.js +498 -62
- package/index63.js +58 -48
- package/index64.js +62 -535
- package/index65.js +69 -2
- package/index66.js +543 -2
- package/index67.js +2 -2
- package/index68.js +2 -4
- package/index69.js +2 -2
- package/index70.js +4 -4
- package/index72.js +4 -2
- package/index75.js +2 -48
- package/index76.js +41 -75
- package/index77.js +82 -2
- package/index78.js +2 -2
- package/index79.js +2 -2
- package/index8.js +1 -1
- package/index80.js +4 -0
- package/index81.js +4 -0
- package/package.json +1 -1
- package/tag/index.d.ts +1 -0
- package/tag/index.scss +89 -0
- package/tag/index.vue.d.ts +26 -0
package/index76.js
CHANGED
|
@@ -1,84 +1,50 @@
|
|
|
1
|
-
import { commonjsGlobal as B } from "./
|
|
2
|
-
import { __module as
|
|
3
|
-
import { __require as
|
|
4
|
-
var
|
|
5
|
-
function
|
|
6
|
-
return
|
|
7
|
-
(function(
|
|
8
|
-
|
|
9
|
-
})(B, function(
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
*
|
|
21
|
-
* var hmacHasher = CryptoJS.algo.HMAC.create(CryptoJS.algo.SHA256, key);
|
|
22
|
-
*/
|
|
23
|
-
init: function(e, r) {
|
|
24
|
-
e = this._hasher = new e.init(), typeof r == "string" && (r = m.parse(r));
|
|
25
|
-
var t = e.blockSize, a = t * 4;
|
|
26
|
-
r.sigBytes > a && (r = e.finalize(r)), r.clamp();
|
|
27
|
-
for (var c = this._oKey = r.clone(), h = this._iKey = r.clone(), d = c.words, x = h.words, o = 0; o < t; o++)
|
|
28
|
-
d[o] ^= 1549556828, x[o] ^= 909522486;
|
|
29
|
-
c.sigBytes = h.sigBytes = a, this.reset();
|
|
1
|
+
import { commonjsGlobal as B } from "./index60.js";
|
|
2
|
+
import { __module as d } from "./index80.js";
|
|
3
|
+
import { __require as S } from "./index62.js";
|
|
4
|
+
var m;
|
|
5
|
+
function w() {
|
|
6
|
+
return m ? d.exports : (m = 1, function(p, g) {
|
|
7
|
+
(function(v, c) {
|
|
8
|
+
p.exports = c(S());
|
|
9
|
+
})(B, function(v) {
|
|
10
|
+
return function() {
|
|
11
|
+
var c = v, u = c.lib, b = u.WordArray, f = u.Hasher, A = c.algo, i = [], x = A.SHA1 = f.extend({
|
|
12
|
+
_doReset: function() {
|
|
13
|
+
this._hash = new b.init([
|
|
14
|
+
1732584193,
|
|
15
|
+
4023233417,
|
|
16
|
+
2562383102,
|
|
17
|
+
271733878,
|
|
18
|
+
3285377520
|
|
19
|
+
]);
|
|
30
20
|
},
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
21
|
+
_doProcessBlock: function(s, h) {
|
|
22
|
+
for (var r = this._hash.words, a = r[0], o = r[1], t = r[2], n = r[3], _ = r[4], e = 0; e < 80; e++) {
|
|
23
|
+
if (e < 16)
|
|
24
|
+
i[e] = s[h + e] | 0;
|
|
25
|
+
else {
|
|
26
|
+
var H = i[e - 3] ^ i[e - 8] ^ i[e - 14] ^ i[e - 16];
|
|
27
|
+
i[e] = H << 1 | H >>> 31;
|
|
28
|
+
}
|
|
29
|
+
var l = (a << 5 | a >>> 27) + _ + i[e];
|
|
30
|
+
e < 20 ? l += (o & t | ~o & n) + 1518500249 : e < 40 ? l += (o ^ t ^ n) + 1859775393 : e < 60 ? l += (o & t | o & n | t & n) - 1894007588 : l += (o ^ t ^ n) - 899497514, _ = n, n = t, t = o << 30 | o >>> 2, o = a, a = l;
|
|
31
|
+
}
|
|
32
|
+
r[0] = r[0] + a | 0, r[1] = r[1] + o | 0, r[2] = r[2] + t | 0, r[3] = r[3] + n | 0, r[4] = r[4] + _ | 0;
|
|
41
33
|
},
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
* @param {WordArray|string} messageUpdate The message to append.
|
|
46
|
-
*
|
|
47
|
-
* @return {HMAC} This HMAC instance.
|
|
48
|
-
*
|
|
49
|
-
* @example
|
|
50
|
-
*
|
|
51
|
-
* hmacHasher.update('message');
|
|
52
|
-
* hmacHasher.update(wordArray);
|
|
53
|
-
*/
|
|
54
|
-
update: function(e) {
|
|
55
|
-
return this._hasher.update(e), this;
|
|
34
|
+
_doFinalize: function() {
|
|
35
|
+
var s = this._data, h = s.words, r = this._nDataBytes * 8, a = s.sigBytes * 8;
|
|
36
|
+
return h[a >>> 5] |= 128 << 24 - a % 32, h[(a + 64 >>> 9 << 4) + 14] = Math.floor(r / 4294967296), h[(a + 64 >>> 9 << 4) + 15] = r, s.sigBytes = h.length * 4, this._process(), this._hash;
|
|
56
37
|
},
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
*
|
|
61
|
-
* @param {WordArray|string} messageUpdate (Optional) A final message update.
|
|
62
|
-
*
|
|
63
|
-
* @return {WordArray} The HMAC.
|
|
64
|
-
*
|
|
65
|
-
* @example
|
|
66
|
-
*
|
|
67
|
-
* var hmac = hmacHasher.finalize();
|
|
68
|
-
* var hmac = hmacHasher.finalize('message');
|
|
69
|
-
* var hmac = hmacHasher.finalize(wordArray);
|
|
70
|
-
*/
|
|
71
|
-
finalize: function(e) {
|
|
72
|
-
var r = this._hasher, t = r.finalize(e);
|
|
73
|
-
r.reset();
|
|
74
|
-
var a = r.finalize(this._oKey.clone().concat(t));
|
|
75
|
-
return a;
|
|
38
|
+
clone: function() {
|
|
39
|
+
var s = f.clone.call(this);
|
|
40
|
+
return s._hash = this._hash.clone(), s;
|
|
76
41
|
}
|
|
77
42
|
});
|
|
78
|
-
|
|
43
|
+
c.SHA1 = f._createHelper(x), c.HmacSHA1 = f._createHmacHelper(x);
|
|
44
|
+
}(), v.SHA1;
|
|
79
45
|
});
|
|
80
|
-
}(
|
|
46
|
+
}(d), d.exports);
|
|
81
47
|
}
|
|
82
48
|
export {
|
|
83
|
-
|
|
49
|
+
w as __require
|
|
84
50
|
};
|
package/index77.js
CHANGED
|
@@ -1,4 +1,84 @@
|
|
|
1
|
-
|
|
1
|
+
import { commonjsGlobal as B } from "./index60.js";
|
|
2
|
+
import { __module as s } from "./index81.js";
|
|
3
|
+
import { __require as K } from "./index62.js";
|
|
4
|
+
var f;
|
|
5
|
+
function y() {
|
|
6
|
+
return f ? s.exports : (f = 1, function(u, z) {
|
|
7
|
+
(function(n, i) {
|
|
8
|
+
u.exports = i(K());
|
|
9
|
+
})(B, function(n) {
|
|
10
|
+
(function() {
|
|
11
|
+
var i = n, l = i.lib, v = l.Base, _ = i.enc, m = _.Utf8, p = i.algo;
|
|
12
|
+
p.HMAC = v.extend({
|
|
13
|
+
/**
|
|
14
|
+
* Initializes a newly created HMAC.
|
|
15
|
+
*
|
|
16
|
+
* @param {Hasher} hasher The hash algorithm to use.
|
|
17
|
+
* @param {WordArray|string} key The secret key.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
*
|
|
21
|
+
* var hmacHasher = CryptoJS.algo.HMAC.create(CryptoJS.algo.SHA256, key);
|
|
22
|
+
*/
|
|
23
|
+
init: function(e, r) {
|
|
24
|
+
e = this._hasher = new e.init(), typeof r == "string" && (r = m.parse(r));
|
|
25
|
+
var t = e.blockSize, a = t * 4;
|
|
26
|
+
r.sigBytes > a && (r = e.finalize(r)), r.clamp();
|
|
27
|
+
for (var c = this._oKey = r.clone(), h = this._iKey = r.clone(), d = c.words, x = h.words, o = 0; o < t; o++)
|
|
28
|
+
d[o] ^= 1549556828, x[o] ^= 909522486;
|
|
29
|
+
c.sigBytes = h.sigBytes = a, this.reset();
|
|
30
|
+
},
|
|
31
|
+
/**
|
|
32
|
+
* Resets this HMAC to its initial state.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
*
|
|
36
|
+
* hmacHasher.reset();
|
|
37
|
+
*/
|
|
38
|
+
reset: function() {
|
|
39
|
+
var e = this._hasher;
|
|
40
|
+
e.reset(), e.update(this._iKey);
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* Updates this HMAC with a message.
|
|
44
|
+
*
|
|
45
|
+
* @param {WordArray|string} messageUpdate The message to append.
|
|
46
|
+
*
|
|
47
|
+
* @return {HMAC} This HMAC instance.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
*
|
|
51
|
+
* hmacHasher.update('message');
|
|
52
|
+
* hmacHasher.update(wordArray);
|
|
53
|
+
*/
|
|
54
|
+
update: function(e) {
|
|
55
|
+
return this._hasher.update(e), this;
|
|
56
|
+
},
|
|
57
|
+
/**
|
|
58
|
+
* Finalizes the HMAC computation.
|
|
59
|
+
* Note that the finalize operation is effectively a destructive, read-once operation.
|
|
60
|
+
*
|
|
61
|
+
* @param {WordArray|string} messageUpdate (Optional) A final message update.
|
|
62
|
+
*
|
|
63
|
+
* @return {WordArray} The HMAC.
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
*
|
|
67
|
+
* var hmac = hmacHasher.finalize();
|
|
68
|
+
* var hmac = hmacHasher.finalize('message');
|
|
69
|
+
* var hmac = hmacHasher.finalize(wordArray);
|
|
70
|
+
*/
|
|
71
|
+
finalize: function(e) {
|
|
72
|
+
var r = this._hasher, t = r.finalize(e);
|
|
73
|
+
r.reset();
|
|
74
|
+
var a = r.finalize(this._oKey.clone().concat(t));
|
|
75
|
+
return a;
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
})();
|
|
79
|
+
});
|
|
80
|
+
}(s), s.exports);
|
|
81
|
+
}
|
|
2
82
|
export {
|
|
3
|
-
|
|
83
|
+
y as __require
|
|
4
84
|
};
|
package/index78.js
CHANGED
package/index79.js
CHANGED
package/index8.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as r, computed as c, renderSlot as i, createElementVNode as m, unref as d, openBlock as u, createBlock as p, createCommentVNode as _, normalizeClass as f, createElementBlock as k } from "vue";
|
|
2
|
-
import B from "./
|
|
2
|
+
import B from "./index25.js";
|
|
3
3
|
const n = i, o = m, v = d, s = u, h = p, w = _, C = f, y = k, E = { class: "sun-item-inner" }, N = { class: "sun-item-content-wrapper" }, z = /* @__PURE__ */ r({
|
|
4
4
|
__name: "index",
|
|
5
5
|
props: {
|
package/index80.js
ADDED
package/index81.js
ADDED
package/package.json
CHANGED
package/tag/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SunTag } from './index.vue';
|
package/tag/index.scss
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
.sun-tag {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
justify-content: center;
|
|
4
|
+
align-items: center;
|
|
5
|
+
color: var(--color);
|
|
6
|
+
background: var(--background);
|
|
7
|
+
border-radius: var(--border-radius);
|
|
8
|
+
|
|
9
|
+
font-size: 12px;
|
|
10
|
+
padding: 1px 4px;
|
|
11
|
+
|
|
12
|
+
&-round {
|
|
13
|
+
--border-radius: 4px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&-square {
|
|
17
|
+
--border-radius: 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&-pill {
|
|
21
|
+
--border-radius: 99px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&-solid {
|
|
25
|
+
--color: var(--color-contrast);
|
|
26
|
+
--background: rgba(var(--color-rgb), 1);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&-outline {
|
|
30
|
+
--color: rgba(var(--color-rgb), 1);
|
|
31
|
+
--background: transparent;
|
|
32
|
+
border: 1px solid rgba(var(--color-rgb), 1);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&-translucent {
|
|
36
|
+
--color: rgba(var(--color-rgb), 1);
|
|
37
|
+
--background: rgba(var(--color-rgb, 0, 0, 0), 0.12);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&-primary {
|
|
41
|
+
--color-rgb: var(--color-primary-rgb);
|
|
42
|
+
--color-contrast: var(--color-primary-contrast);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&-secondary {
|
|
46
|
+
--color-rgb: var(--color-secondary-rgb);
|
|
47
|
+
--color-contrast: var(--color-secondary-contrast);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&-danger {
|
|
51
|
+
--color-rgb: var(--color-danger-rgb);
|
|
52
|
+
--color-contrast: var(--color-danger-contrast);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&-success {
|
|
56
|
+
--color-rgb: var(--color-success-rgb);
|
|
57
|
+
--color-contrast: var(--color-success-contrast);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&-warning {
|
|
61
|
+
--color-rgb: var(--color-warning-rgb);
|
|
62
|
+
--color-contrast: var(--color-warning-contrast);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&-info {
|
|
66
|
+
--color-rgb: var(--color-info-rgb);
|
|
67
|
+
--color-contrast: var(--color-info-contrast);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&-light {
|
|
71
|
+
--color-rgb: var(--color-light-rgb);
|
|
72
|
+
--color-contrast: var(--color-light-contrast);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&-dark {
|
|
76
|
+
--color-rgb: var(--color-dark-rgb);
|
|
77
|
+
--color-contrast: var(--color-dark-contrast);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&-medium {
|
|
81
|
+
--color-rgb: var(--color-medium-rgb);
|
|
82
|
+
--color-contrast: var(--color-medium-contrast);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&-white {
|
|
86
|
+
--color-rgb: 255, 255, 255;
|
|
87
|
+
--color-contrast: var(--color-dark);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Color } from '../typing';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
type?: 'solid' | 'translucent' | 'outline';
|
|
4
|
+
color: Color;
|
|
5
|
+
shape?: 'square' | 'round' | 'pill';
|
|
6
|
+
};
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: SVGViewElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
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
|
+
shape: "square" | "round" | "pill";
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGViewElement>;
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|