@solar-taro/ui-sun 2.0.0 → 2.2.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 (63) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/index.d.ts +2 -0
  3. package/index.js +29 -25
  4. package/index13.js +1 -1
  5. package/index14.js +1 -1
  6. package/index23.js +1 -1
  7. package/index24.js +1 -1
  8. package/index25.js +9 -9
  9. package/index26.js +10 -2
  10. package/index27.js +10 -2
  11. package/index28.js +1 -1
  12. package/index29.js +2 -7
  13. package/index30.js +1 -1
  14. package/index31.js +1 -1
  15. package/index32.js +1 -1
  16. package/index33.js +7 -2
  17. package/index34.js +1 -1
  18. package/index35.js +1 -1
  19. package/index36.js +1 -1
  20. package/index37.js +1 -1
  21. package/index38.js +1 -1
  22. package/index39.js +1 -1
  23. package/index40.js +1 -1
  24. package/index41.js +1 -1
  25. package/index42.js +1 -1
  26. package/index43.js +1 -1
  27. package/index44.js +1 -1
  28. package/index45.js +1 -1
  29. package/index46.js +1 -1
  30. package/index47.js +2 -3
  31. package/index48.js +7 -7
  32. package/index49.js +3 -3
  33. package/index50.js +4 -4
  34. package/index51.js +4 -4
  35. package/index54.js +3 -26
  36. package/index55.js +2 -2
  37. package/index56.js +24 -504
  38. package/index57.js +2 -79
  39. package/index58.js +498 -62
  40. package/index59.js +58 -48
  41. package/index60.js +62 -535
  42. package/index61.js +69 -2
  43. package/index62.js +543 -2
  44. package/index63.js +2 -2
  45. package/index64.js +2 -4
  46. package/index65.js +2 -2
  47. package/index66.js +4 -4
  48. package/index68.js +4 -2
  49. package/index71.js +2 -48
  50. package/index72.js +41 -75
  51. package/index73.js +82 -2
  52. package/index74.js +2 -2
  53. package/index75.js +2 -2
  54. package/index76.js +4 -0
  55. package/index77.js +4 -0
  56. package/package.json +1 -1
  57. package/page-header/index.d.ts +1 -0
  58. package/page-header/index.scss +5 -0
  59. package/page-header/index.vue.d.ts +17 -0
  60. package/popover/index.scss +20 -18
  61. package/title/index.d.ts +1 -0
  62. package/title/index.scss +4 -0
  63. package/title/index.vue.d.ts +17 -0
package/index59.js CHANGED
@@ -1,71 +1,81 @@
1
- import { commonjsGlobal as k } from "./index54.js";
2
- import { __module as f } from "./index70.js";
3
- import { __require as y } from "./index56.js";
4
- import { __require as D } from "./index71.js";
5
- import { __require as E } from "./index72.js";
1
+ import { commonjsGlobal as B } from "./index56.js";
2
+ import { __module as h } from "./index69.js";
3
+ import { __require as A } from "./index58.js";
6
4
  var m;
7
- function S() {
8
- return m ? f.exports : (m = 1, function(h, K) {
9
- (function(o, e, n) {
10
- h.exports = e(y(), D(), E());
11
- })(k, function(o) {
5
+ function E() {
6
+ return m ? h.exports : (m = 1, function(_, q) {
7
+ (function(c, f) {
8
+ _.exports = f(A());
9
+ })(B, function(c) {
12
10
  return function() {
13
- var e = o, n = e.lib, v = n.Base, l = n.WordArray, c = e.algo, _ = c.MD5, g = c.EvpKDF = v.extend({
11
+ var f = c, d = f.lib, l = d.WordArray, x = f.enc;
12
+ x.Base64 = {
14
13
  /**
15
- * Configuration options.
14
+ * Converts a word array to a Base64 string.
16
15
  *
17
- * @property {number} keySize The key size in words to generate. Default: 4 (128 bits)
18
- * @property {Hasher} hasher The hash algorithm to use. Default: MD5
19
- * @property {number} iterations The number of iterations to perform. Default: 1
20
- */
21
- cfg: v.extend({
22
- keySize: 128 / 32,
23
- hasher: _,
24
- iterations: 1
25
- }),
26
- /**
27
- * Initializes a newly created key derivation function.
16
+ * @param {WordArray} wordArray The word array.
28
17
  *
29
- * @param {Object} cfg (Optional) The configuration options to use for the derivation.
18
+ * @return {string} The Base64 string.
19
+ *
20
+ * @static
30
21
  *
31
22
  * @example
32
23
  *
33
- * var kdf = CryptoJS.algo.EvpKDF.create();
34
- * var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8 });
35
- * var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8, iterations: 1000 });
24
+ * var base64String = CryptoJS.enc.Base64.stringify(wordArray);
36
25
  */
37
- init: function(t) {
38
- this.cfg = this.cfg.extend(t);
26
+ stringify: function(e) {
27
+ var n = e.words, o = e.sigBytes, t = this._map;
28
+ e.clamp();
29
+ for (var a = [], r = 0; r < o; r += 3)
30
+ for (var s = n[r >>> 2] >>> 24 - r % 4 * 8 & 255, i = n[r + 1 >>> 2] >>> 24 - (r + 1) % 4 * 8 & 255, u = n[r + 2 >>> 2] >>> 24 - (r + 2) % 4 * 8 & 255, g = s << 16 | i << 8 | u, v = 0; v < 4 && r + v * 0.75 < o; v++)
31
+ a.push(t.charAt(g >>> 6 * (3 - v) & 63));
32
+ var p = t.charAt(64);
33
+ if (p)
34
+ for (; a.length % 4; )
35
+ a.push(p);
36
+ return a.join("");
39
37
  },
40
38
  /**
41
- * Derives a key from a password.
39
+ * Converts a Base64 string to a word array.
40
+ *
41
+ * @param {string} base64Str The Base64 string.
42
42
  *
43
- * @param {WordArray|string} password The password.
44
- * @param {WordArray|string} salt A salt.
43
+ * @return {WordArray} The word array.
45
44
  *
46
- * @return {WordArray} The derived key.
45
+ * @static
47
46
  *
48
47
  * @example
49
48
  *
50
- * var key = kdf.compute(password, salt);
49
+ * var wordArray = CryptoJS.enc.Base64.parse(base64String);
51
50
  */
52
- compute: function(t, s) {
53
- for (var r, u = this.cfg, i = u.hasher.create(), a = l.create(), q = a.words, p = u.keySize, x = u.iterations; q.length < p; ) {
54
- r && i.update(r), r = i.update(t).finalize(s), i.reset();
55
- for (var d = 1; d < x; d++)
56
- r = i.finalize(r), i.reset();
57
- a.concat(r);
51
+ parse: function(e) {
52
+ var n = e.length, o = this._map, t = this._reverseMap;
53
+ if (!t) {
54
+ t = this._reverseMap = [];
55
+ for (var a = 0; a < o.length; a++)
56
+ t[o.charCodeAt(a)] = a;
58
57
  }
59
- return a.sigBytes = p * 4, a;
60
- }
61
- });
62
- e.EvpKDF = function(t, s, r) {
63
- return g.create(r).compute(t, s);
58
+ var r = o.charAt(64);
59
+ if (r) {
60
+ var s = e.indexOf(r);
61
+ s !== -1 && (n = s);
62
+ }
63
+ return C(e, n, t);
64
+ },
65
+ _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
64
66
  };
65
- }(), o.EvpKDF;
67
+ function C(e, n, o) {
68
+ for (var t = [], a = 0, r = 0; r < n; r++)
69
+ if (r % 4) {
70
+ var s = o[e.charCodeAt(r - 1)] << r % 4 * 2, i = o[e.charCodeAt(r)] >>> 6 - r % 4 * 2, u = s | i;
71
+ t[a >>> 2] |= u << 24 - a % 4 * 8, a++;
72
+ }
73
+ return l.create(t, a);
74
+ }
75
+ }(), c.enc.Base64;
66
76
  });
67
- }(f), f.exports);
77
+ }(h), h.exports);
68
78
  }
69
79
  export {
70
- S as __require
80
+ E as __require
71
81
  };