@solar-taro/ui-sun 3.1.1 → 3.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 (106) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/_color.scss +2 -2
  3. package/card/card-content.vue.d.ts +17 -0
  4. package/card/card-header.vue.d.ts +17 -0
  5. package/card/card-subtitle.vue.d.ts +17 -0
  6. package/card/card-title.vue.d.ts +17 -0
  7. package/card/card.vue.d.ts +23 -0
  8. package/card/index.d.ts +5 -0
  9. package/card/index.scss +90 -0
  10. package/chip/index.scss +5 -0
  11. package/index.d.ts +1 -0
  12. package/index.js +56 -46
  13. package/index10.js +16 -30
  14. package/index11.js +29 -17
  15. package/index12.js +17 -79
  16. package/index13.js +80 -24
  17. package/index14.js +24 -33
  18. package/index15.js +33 -75
  19. package/index16.js +75 -19
  20. package/index17.js +19 -49
  21. package/index18.js +46 -141
  22. package/index19.js +142 -27
  23. package/index20.js +27 -82
  24. package/index21.js +86 -23
  25. package/index22.js +20 -42
  26. package/index23.js +42 -23
  27. package/index24.js +21 -9
  28. package/index25.js +10 -27
  29. package/index26.js +29 -18
  30. package/index27.js +18 -30
  31. package/index28.js +30 -119
  32. package/index29.js +118 -9
  33. package/index30.js +7 -8
  34. package/index31.js +7 -8
  35. package/index32.js +6 -7
  36. package/index33.js +9 -7
  37. package/index34.js +14 -10
  38. package/index35.js +8 -7
  39. package/index36.js +11 -2
  40. package/index37.js +11 -2
  41. package/index38.js +8 -7
  42. package/index39.js +10 -2
  43. package/index4.js +1 -1
  44. package/index40.js +10 -2
  45. package/index41.js +1 -1
  46. package/index42.js +7 -2
  47. package/index43.js +1 -1
  48. package/index44.js +1 -1
  49. package/index45.js +1 -1
  50. package/index46.js +1 -1
  51. package/index47.js +1 -1
  52. package/index48.js +1 -1
  53. package/index49.js +1 -1
  54. package/index5.js +11 -14
  55. package/index50.js +1 -1
  56. package/index51.js +1 -1
  57. package/index52.js +1 -1
  58. package/index53.js +1 -1
  59. package/index54.js +1 -1
  60. package/index55.js +2 -526
  61. package/index56.js +2 -3
  62. package/index57.js +1 -1
  63. package/index58.js +1 -1
  64. package/index59.js +1 -1
  65. package/index6.js +16 -23
  66. package/index60.js +1 -1
  67. package/index61.js +1 -1
  68. package/index62.js +1 -1
  69. package/index63.js +1 -1
  70. package/index64.js +1 -1
  71. package/index65.js +1 -1
  72. package/index66.js +2 -66
  73. package/index67.js +2 -12
  74. package/index68.js +2 -25
  75. package/index69.js +2 -14
  76. package/index7.js +26 -17
  77. package/index70.js +3 -26
  78. package/index71.js +526 -2
  79. package/index72.js +63 -503
  80. package/index73.js +12 -79
  81. package/index74.js +23 -68
  82. package/index75.js +14 -69
  83. package/index76.js +24 -541
  84. package/index78.js +506 -2
  85. package/index79.js +79 -2
  86. package/index8.js +18 -17
  87. package/index80.js +69 -3
  88. package/index81.js +69 -2
  89. package/index82.js +543 -4
  90. package/index85.js +2 -2
  91. package/index86.js +3 -47
  92. package/index87.js +2 -82
  93. package/index88.js +4 -2
  94. package/index89.js +2 -2
  95. package/index9.js +13 -14
  96. package/index90.js +2 -2
  97. package/index91.js +2 -2
  98. package/index92.js +4 -0
  99. package/index93.js +50 -0
  100. package/index94.js +84 -0
  101. package/index95.js +4 -0
  102. package/index96.js +4 -0
  103. package/index97.js +4 -0
  104. package/item/index.scss +5 -2
  105. package/package.json +1 -1
  106. package/toggle/index.scss +35 -23
package/index66.js CHANGED
@@ -1,68 +1,4 @@
1
- import { commonjsGlobal as L } from "./index70.js";
2
- import { __module as H } from "./index71.js";
3
- import { __require as Q } from "./index72.js";
4
- import { __require as T } from "./index73.js";
5
- import { __require as Y } from "./index74.js";
6
- import { __require as Z } from "./index75.js";
7
- import { __require as $ } from "./index76.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 "./index21.js";
66
2
  export {
67
- X as a
3
+ f as default
68
4
  };
package/index67.js CHANGED
@@ -1,14 +1,4 @@
1
- import { commonjsGlobal as n } from "./index70.js";
2
- import { __module as r } from "./index77.js";
3
- import { __require as f } from "./index72.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 "./index27.js";
12
2
  export {
13
- c as e
3
+ f as default
14
4
  };
package/index68.js CHANGED
@@ -1,27 +1,4 @@
1
- import { commonjsGlobal as i, getDefaultExportFromCjs as p } from "./index70.js";
2
- import { __module as c } from "./index78.js";
3
- import { __require as m } from "./index72.js";
4
- import { __require as s } from "./index76.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 "./index28.js";
25
2
  export {
26
- B as default
3
+ f as default
27
4
  };
package/index69.js CHANGED
@@ -1,16 +1,4 @@
1
- import { commonjsGlobal as p, getDefaultExportFromCjs as s } from "./index70.js";
2
- import { __module as o } from "./index79.js";
3
- import { __require as i } from "./index72.js";
4
- import { __require as a } from "./index76.js";
5
- (function(e, u) {
6
- (function(r, t, n) {
7
- e.exports = t(i(), a());
8
- })(p, function(r) {
9
- return r.pad.Pkcs7;
10
- });
11
- })(o);
12
- var m = o.exports;
13
- const _ = /* @__PURE__ */ s(m);
1
+ import f from "./index29.js";
14
2
  export {
15
- _ as default
3
+ f as default
16
4
  };
package/index7.js CHANGED
@@ -1,22 +1,31 @@
1
- import { defineComponent as n, unref as r, createVNode as s, renderSlot as c, createTextVNode as a, createElementVNode as l, openBlock as _, createElementBlock as d } from "vue";
2
- import m from "./index29.js";
3
- const i = r, p = s, o = c, u = a, f = l, N = _, V = d, E = { class: "sun-empty" }, k = { class: "sun-empty-description" }, T = /* @__PURE__ */ n({
1
+ import { defineComponent as c, computed as s, toDisplayString as u, createElementVNode as p, normalizeClass as m, normalizeStyle as _, openBlock as v, createElementBlock as d } from "vue";
2
+ import { withPixel as o } from "@solar-kit/core";
3
+ const z = u, t = p, g = m, x = _, y = v, f = d, k = { class: "sun-circular-progress-value" }, E = /* @__PURE__ */ c({
4
4
  __name: "index",
5
- setup(B) {
6
- return (e, t) => (N(), V("view", E, [
7
- p(i(m), {
8
- class: "sun-empty-icon",
9
- name: "planet"
10
- }),
11
- f("view", k, [
12
- o(e.$slots, "description", {}, () => [
13
- t[0] || (t[0] = u("EMPTY"))
14
- ])
15
- ]),
16
- o(e.$slots, "default")
17
- ]));
5
+ props: {
6
+ value: {},
7
+ size: {},
8
+ color: { default: "primary" }
9
+ },
10
+ setup(r) {
11
+ const e = r, a = s(() => ({
12
+ "--value": e.value.toString(),
13
+ "--size": o(e.size),
14
+ "--stroke-width": o(e.size / 10)
15
+ })), n = s(() => [
16
+ `sun-circular-progress-${e.color}`
17
+ ]), i = s(() => +(e.value * 100).toFixed(1));
18
+ return (S, l) => (y(), f("view", {
19
+ class: g(["sun-circular-progress", n.value]),
20
+ style: x(a.value)
21
+ }, [
22
+ t("view", null, [
23
+ t("text", k, z(i.value), 1),
24
+ l[0] || (l[0] = t("text", { class: "sun-circular-progress-unit" }, "%", -1))
25
+ ])
26
+ ], 6));
18
27
  }
19
28
  });
20
29
  export {
21
- T as default
30
+ E as default
22
31
  };
package/index70.js CHANGED
@@ -1,28 +1,5 @@
1
- var u = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
2
- function f(e) {
3
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
- }
5
- function l(e) {
6
- if (e.__esModule) return e;
7
- var r = e.default;
8
- if (typeof r == "function") {
9
- var t = function o() {
10
- return this instanceof o ? Reflect.construct(r, arguments, this.constructor) : r.apply(this, arguments);
11
- };
12
- t.prototype = r.prototype;
13
- } else t = {};
14
- return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(o) {
15
- var n = Object.getOwnPropertyDescriptor(e, o);
16
- Object.defineProperty(t, o, n.get ? n : {
17
- enumerable: !0,
18
- get: function() {
19
- return e[o];
20
- }
21
- });
22
- }), t;
23
- }
1
+ const o = Symbol(), t = Symbol();
24
2
  export {
25
- u as commonjsGlobal,
26
- l as getAugmentedNamespace,
27
- f as getDefaultExportFromCjs
3
+ o as ACTIVE_CHILD,
4
+ t as PARENT
28
5
  };