st-comp 0.0.208 → 0.0.209

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 (164) hide show
  1. package/es/ChartLayout.cjs +1 -1
  2. package/es/ChartLayout.js +74 -1
  3. package/es/CustomFunction.cjs +1 -1
  4. package/es/CustomFunction.js +56 -53
  5. package/es/FactorWarning.cjs +1 -1
  6. package/es/FactorWarning.js +48 -45
  7. package/es/HeatMap.cjs +1 -1
  8. package/es/HeatMap.js +118 -1
  9. package/es/Kline.cjs +1 -1
  10. package/es/Kline.js +90 -87
  11. package/es/KlineBasic.cjs +1 -1
  12. package/es/KlineBasic.js +28 -25
  13. package/es/KlineConfig.cjs +1 -1
  14. package/es/KlineConfig.js +164 -161
  15. package/es/KlineNew.cjs +1 -1
  16. package/es/KlineNew.js +114 -111
  17. package/es/KlinePlus.cjs +2 -2
  18. package/es/KlinePlus.js +183 -180
  19. package/es/Pagination.cjs +1 -1
  20. package/es/Pagination.js +143 -140
  21. package/es/PasswordPrompt.cjs +1 -1
  22. package/es/PasswordPrompt.js +3 -2
  23. package/es/Table.cjs +1 -1
  24. package/es/Table.js +58 -55
  25. package/es/User.cjs +1 -1
  26. package/es/User.js +88 -85
  27. package/es/VarSelectDialog.cjs +2 -2
  28. package/es/VarSelectDialog.js +56 -53
  29. package/es/VarietyAutoComplete.cjs +1 -1
  30. package/es/VarietyAutoComplete.js +17 -15
  31. package/es/VarietySearch.cjs +10 -10
  32. package/es/VarietySearch.js +56 -53
  33. package/es/VarietyTextCopy.cjs +3 -3
  34. package/es/VarietyTextCopy.js +34 -31
  35. package/es/VirtualTable.cjs +1 -1
  36. package/es/VirtualTable.js +106 -103
  37. package/es/_initCloneObject-52b6a510.cjs +1 -0
  38. package/es/{_initCloneObject-c477c74d.js → _initCloneObject-eaef9418.js} +26 -25
  39. package/es/base-a5af3db3.js +288 -0
  40. package/es/base-ef747d02.cjs +5 -0
  41. package/es/castArray-35947698.cjs +1 -0
  42. package/es/{castArray-1eb17278.js → castArray-7741a212.js} +1 -1
  43. package/es/{config-provider-18c0a68a.cjs → config-provider-a584d81e.cjs} +1 -1
  44. package/es/{config-provider-49c17381.js → config-provider-b16efd62.js} +6 -6
  45. package/es/debounce-62f5b6e8.cjs +1 -0
  46. package/es/{debounce-33406a0d.js → debounce-8d53f4dd.js} +9 -9
  47. package/es/{dropdown-3f1fe325.cjs → dropdown-071c5d7e.cjs} +1 -1
  48. package/es/{dropdown-6e7b1df0.js → dropdown-a59bba73.js} +15 -15
  49. package/es/el-autocomplete-a07e9439.cjs +1 -0
  50. package/es/{el-autocomplete-87b7f461.js → el-autocomplete-ba808eb6.js} +53 -51
  51. package/es/{el-button-56624e61.js → el-button-c95adb85.js} +46 -45
  52. package/es/el-button-eec58cff.cjs +1 -0
  53. package/es/{el-checkbox-f13560e9.js → el-checkbox-7421ccd3.js} +40 -40
  54. package/es/{el-checkbox-09f3b57f.cjs → el-checkbox-c25236a6.cjs} +1 -1
  55. package/es/{el-dialog-1d5f5877.js → el-dialog-41ab8417.js} +10 -9
  56. package/es/el-dialog-ae86edb8.cjs +1 -0
  57. package/es/{el-divider-8a4c87e3.cjs → el-divider-4713d74c.cjs} +1 -1
  58. package/es/{el-divider-1cda1783.js → el-divider-4e059794.js} +1 -1
  59. package/es/el-empty-1697ded8.cjs +1 -0
  60. package/es/{el-empty-04682b5d.js → el-empty-33cb66f1.js} +3 -3
  61. package/es/el-form-item-c3fe189b.cjs +12 -0
  62. package/es/{el-form-item-505c0b70.js → el-form-item-c53c374d.js} +76 -75
  63. package/es/{el-input-262851e8.js → el-input-2f75c4ba.js} +85 -84
  64. package/es/el-input-7fd293af.cjs +1 -0
  65. package/es/el-input-number-22e21d16.cjs +1 -0
  66. package/es/{el-input-number-fdac2b86.js → el-input-number-5193fe6d.js} +83 -82
  67. package/es/{el-loading-3cf7b796.cjs → el-loading-cfd86c15.cjs} +1 -1
  68. package/es/{el-loading-7440dc64.js → el-loading-f6022062.js} +2 -2
  69. package/es/el-menu-item-17dc717e.cjs +1 -0
  70. package/es/{el-menu-item-36c3004c.js → el-menu-item-7e881203.js} +54 -53
  71. package/es/el-message-5e6a6be9.cjs +1 -0
  72. package/es/{el-message-box-8f5e34ca.js → el-message-box-a93d2f6a.js} +22 -20
  73. package/es/el-message-box-c10adb52.cjs +1 -0
  74. package/es/{el-message-416bd265.js → el-message-e544a8f5.js} +29 -28
  75. package/es/{el-overlay-04426e36.js → el-overlay-09ad71cd.js} +53 -52
  76. package/es/el-overlay-9e34965f.cjs +1 -0
  77. package/es/el-popconfirm-70a976bf.cjs +1 -0
  78. package/es/{el-popconfirm-3790cda2.js → el-popconfirm-81dcd202.js} +39 -38
  79. package/es/{el-popper-49152708.js → el-popper-b4f97157.js} +192 -191
  80. package/es/el-popper-b6c99b28.cjs +1 -0
  81. package/es/{el-segmented-05509f9d.js → el-segmented-b868d074.js} +13 -12
  82. package/es/el-segmented-f8fce9ac.cjs +1 -0
  83. package/es/{el-select-700f3686.js → el-select-95627997.js} +295 -292
  84. package/es/el-select-d8d91db1.cjs +1 -0
  85. package/es/{el-table-column-44360700.js → el-table-column-376cd907.js} +57 -54
  86. package/es/el-table-column-c974cb96.cjs +14 -0
  87. package/es/{el-tag-55a172c9.js → el-tag-66cab138.js} +31 -30
  88. package/es/el-tag-a33c4b22.cjs +1 -0
  89. package/es/{el-text-ab6bfc40.js → el-text-ac60d0f2.js} +4 -4
  90. package/es/{el-text-5bcaffb6.cjs → el-text-c20a9f48.cjs} +1 -1
  91. package/es/index-098c2447.cjs +1 -0
  92. package/es/{index-d8294b1a.cjs → index-11547a0c.cjs} +1 -1
  93. package/es/{index-0afedcbd.js → index-1f7d4f70.js} +12 -11
  94. package/es/{index-ae6c9d97.cjs → index-298075cf.cjs} +1 -1
  95. package/es/{index-4e46f96c.js → index-57672682.js} +13 -12
  96. package/es/{index-66ad0d6a.js → index-844bdd85.js} +34 -34
  97. package/es/{index-29418a8d.js → index-88546436.js} +18 -18
  98. package/es/index-960806da.js +314 -0
  99. package/es/index-9780a537.cjs +1 -0
  100. package/es/index-9b9ef5dd.cjs +1 -0
  101. package/es/{base-aa512893.js → index-a871c3eb.js} +171 -454
  102. package/es/index-bb833443.cjs +1 -0
  103. package/es/index-c108567d.cjs +1 -0
  104. package/es/index-d77a7336.js +204 -0
  105. package/es/{index-cbbd78b4.js → index-d91dc23f.js} +12 -12
  106. package/es/index-e5566b94.js +368 -0
  107. package/es/index-f3562b52.cjs +1 -0
  108. package/es/{index-882d77d3.cjs → index-f967d6c1.cjs} +1 -1
  109. package/es/raf-80ef0c0a.js +6 -0
  110. package/es/{raf-336ef01e.cjs → raf-8249652f.cjs} +1 -1
  111. package/es/{scroll-0a48995c.js → scroll-679bd6bf.js} +5 -5
  112. package/es/{scroll-19533c53.cjs → scroll-b108dabd.cjs} +1 -1
  113. package/es/style.css +1 -1
  114. package/es/use-form-common-props-815d48a6.js +364 -0
  115. package/es/use-form-common-props-fd9b61a0.cjs +1 -0
  116. package/es/use-global-config-30d7d8ce.cjs +1 -0
  117. package/es/use-global-config-b5e9d3d5.js +72 -0
  118. package/es/{validator-28b22907.cjs → validator-1b8a6128.cjs} +1 -1
  119. package/es/{validator-e35f7978.js → validator-764a9db0.js} +1 -1
  120. package/es/{vnode-b62d0045.js → vnode-5ddb7ed1.js} +1 -1
  121. package/es/{vnode-8cb31692.cjs → vnode-b906ae6d.cjs} +1 -1
  122. package/es/{zh-cn-7c8640bb.cjs → zh-cn-90317f62.cjs} +1 -1
  123. package/es/{zh-cn-346f3a73.js → zh-cn-e963c628.js} +2 -2
  124. package/lib/bundle.js +1 -1
  125. package/lib/bundle.umd.cjs +105 -105
  126. package/lib/{index-da0f2951.js → index-e158c3d6.js} +1529 -1529
  127. package/lib/{python-c0a1e4ef.js → python-57033756.js} +1 -1
  128. package/lib/style.css +1 -1
  129. package/package.json +1 -1
  130. package/packages/Kline/componentsNew/KlineTips/index.vue +4 -4
  131. package/packages/Kline/index.vue +4 -4
  132. package/packages/KlineNew/components/KlineTips/index.vue +8 -8
  133. package/packages/KlinePlus/index.vue +4 -4
  134. package/src/pages/KlineBasic/api.js +1 -1
  135. package/es/_initCloneObject-e660897e.cjs +0 -1
  136. package/es/base-7ba08794.cjs +0 -5
  137. package/es/castArray-efa457a5.cjs +0 -1
  138. package/es/debounce-4aa22feb.cjs +0 -1
  139. package/es/el-autocomplete-609ac86d.cjs +0 -1
  140. package/es/el-button-08310c06.cjs +0 -1
  141. package/es/el-dialog-ea480083.cjs +0 -1
  142. package/es/el-empty-b40fa7ea.cjs +0 -1
  143. package/es/el-form-item-338ea2f7.cjs +0 -12
  144. package/es/el-input-b04b5bfc.cjs +0 -1
  145. package/es/el-input-number-7242c8b5.cjs +0 -1
  146. package/es/el-menu-item-7aca344e.cjs +0 -1
  147. package/es/el-message-05cd85bf.cjs +0 -1
  148. package/es/el-message-box-b7e9917e.cjs +0 -1
  149. package/es/el-overlay-60bc5a02.cjs +0 -1
  150. package/es/el-popconfirm-24b622c5.cjs +0 -1
  151. package/es/el-popper-1dd8f5b4.cjs +0 -1
  152. package/es/el-segmented-a928d89b.cjs +0 -1
  153. package/es/el-select-5fd77a96.cjs +0 -1
  154. package/es/el-table-column-bf3ab2a6.cjs +0 -14
  155. package/es/el-tag-d59f3463.cjs +0 -1
  156. package/es/index-3d0bc5da.js +0 -566
  157. package/es/index-a206f6eb.cjs +0 -1
  158. package/es/index-b4700d83.cjs +0 -1
  159. package/es/index-c30cf7f9.cjs +0 -1
  160. package/es/raf-d8c44079.js +0 -6
  161. package/es/use-form-common-props-41182853.cjs +0 -1
  162. package/es/use-form-common-props-4cdda474.js +0 -671
  163. package/es/use-global-config-7bfbe48c.js +0 -71
  164. package/es/use-global-config-dc5527e8.cjs +0 -1
@@ -1,7 +1,7 @@
1
- import { defineComponent as h, computed as a, ref as A, unref as s, openBlock as u, createBlock as R, mergeProps as U, withCtx as c, createElementBlock as $, normalizeClass as D, toDisplayString as v, createCommentVNode as b, renderSlot as g, createTextVNode as K } from "vue";
2
- import { c as f, a as r, E as V } from "./el-popper-49152708.js";
3
- import { d } from "./dropdown-6e7b1df0.js";
4
- import { b as O, o as z, u as H, s as I, _ as L, z as F, w as j } from "./base-aa512893.js";
1
+ import { defineComponent as h, computed as a, ref as T, unref as s, openBlock as u, createBlock as R, mergeProps as U, withCtx as v, createElementBlock as $, normalizeClass as D, toDisplayString as c, createCommentVNode as b, renderSlot as g, createTextVNode as K } from "vue";
2
+ import { i as f, g as r, E as V } from "./el-popper-b4f97157.js";
3
+ import { d } from "./dropdown-a59bba73.js";
4
+ import { b as O, o as H, u as I, n as L, _ as z, A as F, w as j } from "./base-a5af3db3.js";
5
5
  const q = O({
6
6
  trigger: f.trigger,
7
7
  triggerKeys: f.triggerKeys,
@@ -57,7 +57,7 @@ const q = O({
57
57
  type: Function
58
58
  }
59
59
  }), G = {
60
- "update:visible": (t) => z(t),
60
+ "update:visible": (t) => H(t),
61
61
  "before-enter": () => !0,
62
62
  "before-leave": () => !0,
63
63
  "after-enter": () => !0,
@@ -69,12 +69,12 @@ const q = O({
69
69
  props: q,
70
70
  emits: G,
71
71
  setup(t, { expose: p, emit: n }) {
72
- const o = t, y = a(() => o[J]), i = H("popover"), l = A(), w = a(() => {
72
+ const o = t, y = a(() => o[J]), i = I("popover"), l = T(), w = a(() => {
73
73
  var e;
74
74
  return (e = s(l)) == null ? void 0 : e.popperRef;
75
75
  }), E = a(() => [
76
76
  {
77
- width: I(o.width)
77
+ width: L(o.width)
78
78
  },
79
79
  o.popperStyle
80
80
  ]), P = a(() => [i.b(), o.popperClass, { [i.m("plain")]: !!o.content }]), C = a(() => o.transition === `${i.namespace.value}-fade-in-linear`), k = () => {
@@ -82,11 +82,11 @@ const q = O({
82
82
  (e = l.value) == null || e.hide();
83
83
  }, S = () => {
84
84
  n("before-enter");
85
- }, B = () => {
85
+ }, A = () => {
86
86
  n("before-leave");
87
- }, N = () => {
87
+ }, B = () => {
88
88
  n("after-enter");
89
- }, T = () => {
89
+ }, N = () => {
90
90
  n("update:visible", !1), n("after-leave");
91
91
  };
92
92
  return p({
@@ -121,28 +121,28 @@ const q = O({
121
121
  "gpu-acceleration": s(C),
122
122
  "onUpdate:visible": s(y),
123
123
  onBeforeShow: S,
124
- onBeforeHide: B,
125
- onShow: N,
126
- onHide: T
124
+ onBeforeHide: A,
125
+ onShow: B,
126
+ onHide: N
127
127
  }), {
128
- content: c(() => [
128
+ content: v(() => [
129
129
  e.title ? (u(), $("div", {
130
130
  key: 0,
131
131
  class: D(s(i).e("title")),
132
132
  role: "title"
133
- }, v(e.title), 3)) : b("v-if", !0),
133
+ }, c(e.title), 3)) : b("v-if", !0),
134
134
  g(e.$slots, "default", {}, () => [
135
- K(v(e.content), 1)
135
+ K(c(e.content), 1)
136
136
  ])
137
137
  ]),
138
- default: c(() => [
138
+ default: v(() => [
139
139
  e.$slots.reference ? g(e.$slots, "reference", { key: 0 }) : b("v-if", !0)
140
140
  ]),
141
141
  _: 3
142
142
  }, 16, ["trigger", "trigger-keys", "placement", "disabled", "visible", "transition", "popper-options", "tabindex", "content", "offset", "show-after", "hide-after", "auto-close", "show-arrow", "aria-label", "effect", "enterable", "popper-class", "popper-style", "teleported", "append-to", "persistent", "gpu-acceleration", "onUpdate:visible"]));
143
143
  }
144
144
  });
145
- var W = /* @__PURE__ */ L(Q, [["__file", "popover.vue"]]);
145
+ var W = /* @__PURE__ */ z(Q, [["__file", "popover.vue"]]);
146
146
  const m = (t, p) => {
147
147
  const n = p.arg || p.value, o = n == null ? void 0 : n.popperRef;
148
148
  o && (o.triggerRef = t);
@@ -0,0 +1,314 @@
1
+ import { getCurrentInstance as x, inject as E, unref as N } from "vue";
2
+ import { J as z, K as D } from "./base-a5af3db3.js";
3
+ var M = typeof global == "object" && global && global.Object === Object && global;
4
+ const F = M;
5
+ var A = typeof self == "object" && self && self.Object === Object && self, G = F || A || Function("return this")();
6
+ const _ = G;
7
+ var H = _.Symbol;
8
+ const c = H;
9
+ var T = Object.prototype, R = T.hasOwnProperty, K = T.toString, f = c ? c.toStringTag : void 0;
10
+ function J(t) {
11
+ var e = R.call(t, f), r = t[f];
12
+ try {
13
+ t[f] = void 0;
14
+ var n = !0;
15
+ } catch {
16
+ }
17
+ var a = K.call(t);
18
+ return n && (e ? t[f] = r : delete t[f]), a;
19
+ }
20
+ var U = Object.prototype, L = U.toString;
21
+ function Y(t) {
22
+ return L.call(t);
23
+ }
24
+ var q = "[object Null]", X = "[object Undefined]", m = c ? c.toStringTag : void 0;
25
+ function I(t) {
26
+ return t == null ? t === void 0 ? X : q : m && m in Object(t) ? J(t) : Y(t);
27
+ }
28
+ function Z(t) {
29
+ return t != null && typeof t == "object";
30
+ }
31
+ var V = "[object Symbol]";
32
+ function g(t) {
33
+ return typeof t == "symbol" || Z(t) && I(t) == V;
34
+ }
35
+ function B(t, e) {
36
+ for (var r = -1, n = t == null ? 0 : t.length, a = Array(n); ++r < n; )
37
+ a[r] = e(t[r], r, t);
38
+ return a;
39
+ }
40
+ var Q = Array.isArray;
41
+ const y = Q;
42
+ var W = 1 / 0, j = c ? c.prototype : void 0, S = j ? j.toString : void 0;
43
+ function C(t) {
44
+ if (typeof t == "string")
45
+ return t;
46
+ if (y(t))
47
+ return B(t, C) + "";
48
+ if (g(t))
49
+ return S ? S.call(t) : "";
50
+ var e = t + "";
51
+ return e == "0" && 1 / t == -W ? "-0" : e;
52
+ }
53
+ function P(t) {
54
+ var e = typeof t;
55
+ return t != null && (e == "object" || e == "function");
56
+ }
57
+ var k = "[object AsyncFunction]", tt = "[object Function]", et = "[object GeneratorFunction]", rt = "[object Proxy]";
58
+ function nt(t) {
59
+ if (!P(t))
60
+ return !1;
61
+ var e = I(t);
62
+ return e == tt || e == et || e == k || e == rt;
63
+ }
64
+ var at = _["__core-js_shared__"];
65
+ const d = at;
66
+ var $ = function() {
67
+ var t = /[^.]+$/.exec(d && d.keys && d.keys.IE_PROTO || "");
68
+ return t ? "Symbol(src)_1." + t : "";
69
+ }();
70
+ function ot(t) {
71
+ return !!$ && $ in t;
72
+ }
73
+ var it = Function.prototype, st = it.toString;
74
+ function ct(t) {
75
+ if (t != null) {
76
+ try {
77
+ return st.call(t);
78
+ } catch {
79
+ }
80
+ try {
81
+ return t + "";
82
+ } catch {
83
+ }
84
+ }
85
+ return "";
86
+ }
87
+ var ut = /[\\^$.*+?()[\]{}|]/g, ft = /^\[object .+?Constructor\]$/, ht = Function.prototype, pt = Object.prototype, lt = ht.toString, dt = pt.hasOwnProperty, _t = RegExp(
88
+ "^" + lt.call(dt).replace(ut, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
89
+ );
90
+ function gt(t) {
91
+ if (!P(t) || ot(t))
92
+ return !1;
93
+ var e = nt(t) ? _t : ft;
94
+ return e.test(ct(t));
95
+ }
96
+ function yt(t, e) {
97
+ return t == null ? void 0 : t[e];
98
+ }
99
+ function w(t, e) {
100
+ var r = yt(t, e);
101
+ return gt(r) ? r : void 0;
102
+ }
103
+ function bt(t, e) {
104
+ return t === e || t !== t && e !== e;
105
+ }
106
+ var vt = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, mt = /^\w*$/;
107
+ function jt(t, e) {
108
+ if (y(t))
109
+ return !1;
110
+ var r = typeof t;
111
+ return r == "number" || r == "symbol" || r == "boolean" || t == null || g(t) ? !0 : mt.test(t) || !vt.test(t) || e != null && t in Object(e);
112
+ }
113
+ var St = w(Object, "create");
114
+ const h = St;
115
+ function $t() {
116
+ this.__data__ = h ? h(null) : {}, this.size = 0;
117
+ }
118
+ function Ot(t) {
119
+ var e = this.has(t) && delete this.__data__[t];
120
+ return this.size -= e ? 1 : 0, e;
121
+ }
122
+ var Tt = "__lodash_hash_undefined__", It = Object.prototype, Ct = It.hasOwnProperty;
123
+ function Pt(t) {
124
+ var e = this.__data__;
125
+ if (h) {
126
+ var r = e[t];
127
+ return r === Tt ? void 0 : r;
128
+ }
129
+ return Ct.call(e, t) ? e[t] : void 0;
130
+ }
131
+ var wt = Object.prototype, xt = wt.hasOwnProperty;
132
+ function Et(t) {
133
+ var e = this.__data__;
134
+ return h ? e[t] !== void 0 : xt.call(e, t);
135
+ }
136
+ var Nt = "__lodash_hash_undefined__";
137
+ function zt(t, e) {
138
+ var r = this.__data__;
139
+ return this.size += this.has(t) ? 0 : 1, r[t] = h && e === void 0 ? Nt : e, this;
140
+ }
141
+ function i(t) {
142
+ var e = -1, r = t == null ? 0 : t.length;
143
+ for (this.clear(); ++e < r; ) {
144
+ var n = t[e];
145
+ this.set(n[0], n[1]);
146
+ }
147
+ }
148
+ i.prototype.clear = $t;
149
+ i.prototype.delete = Ot;
150
+ i.prototype.get = Pt;
151
+ i.prototype.has = Et;
152
+ i.prototype.set = zt;
153
+ function Dt() {
154
+ this.__data__ = [], this.size = 0;
155
+ }
156
+ function p(t, e) {
157
+ for (var r = t.length; r--; )
158
+ if (bt(t[r][0], e))
159
+ return r;
160
+ return -1;
161
+ }
162
+ var Mt = Array.prototype, Ft = Mt.splice;
163
+ function At(t) {
164
+ var e = this.__data__, r = p(e, t);
165
+ if (r < 0)
166
+ return !1;
167
+ var n = e.length - 1;
168
+ return r == n ? e.pop() : Ft.call(e, r, 1), --this.size, !0;
169
+ }
170
+ function Gt(t) {
171
+ var e = this.__data__, r = p(e, t);
172
+ return r < 0 ? void 0 : e[r][1];
173
+ }
174
+ function Ht(t) {
175
+ return p(this.__data__, t) > -1;
176
+ }
177
+ function Rt(t, e) {
178
+ var r = this.__data__, n = p(r, t);
179
+ return n < 0 ? (++this.size, r.push([t, e])) : r[n][1] = e, this;
180
+ }
181
+ function u(t) {
182
+ var e = -1, r = t == null ? 0 : t.length;
183
+ for (this.clear(); ++e < r; ) {
184
+ var n = t[e];
185
+ this.set(n[0], n[1]);
186
+ }
187
+ }
188
+ u.prototype.clear = Dt;
189
+ u.prototype.delete = At;
190
+ u.prototype.get = Gt;
191
+ u.prototype.has = Ht;
192
+ u.prototype.set = Rt;
193
+ var Kt = w(_, "Map");
194
+ const Jt = Kt;
195
+ function Ut() {
196
+ this.size = 0, this.__data__ = {
197
+ hash: new i(),
198
+ map: new (Jt || u)(),
199
+ string: new i()
200
+ };
201
+ }
202
+ function Lt(t) {
203
+ var e = typeof t;
204
+ return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
205
+ }
206
+ function l(t, e) {
207
+ var r = t.__data__;
208
+ return Lt(e) ? r[typeof e == "string" ? "string" : "hash"] : r.map;
209
+ }
210
+ function Yt(t) {
211
+ var e = l(this, t).delete(t);
212
+ return this.size -= e ? 1 : 0, e;
213
+ }
214
+ function qt(t) {
215
+ return l(this, t).get(t);
216
+ }
217
+ function Xt(t) {
218
+ return l(this, t).has(t);
219
+ }
220
+ function Zt(t, e) {
221
+ var r = l(this, t), n = r.size;
222
+ return r.set(t, e), this.size += r.size == n ? 0 : 1, this;
223
+ }
224
+ function s(t) {
225
+ var e = -1, r = t == null ? 0 : t.length;
226
+ for (this.clear(); ++e < r; ) {
227
+ var n = t[e];
228
+ this.set(n[0], n[1]);
229
+ }
230
+ }
231
+ s.prototype.clear = Ut;
232
+ s.prototype.delete = Yt;
233
+ s.prototype.get = qt;
234
+ s.prototype.has = Xt;
235
+ s.prototype.set = Zt;
236
+ var Vt = "Expected a function";
237
+ function b(t, e) {
238
+ if (typeof t != "function" || e != null && typeof e != "function")
239
+ throw new TypeError(Vt);
240
+ var r = function() {
241
+ var n = arguments, a = e ? e.apply(this, n) : n[0], o = r.cache;
242
+ if (o.has(a))
243
+ return o.get(a);
244
+ var v = t.apply(this, n);
245
+ return r.cache = o.set(a, v) || o, v;
246
+ };
247
+ return r.cache = new (b.Cache || s)(), r;
248
+ }
249
+ b.Cache = s;
250
+ var Bt = 500;
251
+ function Qt(t) {
252
+ var e = b(t, function(n) {
253
+ return r.size === Bt && r.clear(), n;
254
+ }), r = e.cache;
255
+ return e;
256
+ }
257
+ var Wt = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, kt = /\\(\\)?/g, te = Qt(function(t) {
258
+ var e = [];
259
+ return t.charCodeAt(0) === 46 && e.push(""), t.replace(Wt, function(r, n, a, o) {
260
+ e.push(a ? o.replace(kt, "$1") : n || r);
261
+ }), e;
262
+ });
263
+ const ee = te;
264
+ function re(t) {
265
+ return t == null ? "" : C(t);
266
+ }
267
+ function ne(t, e) {
268
+ return y(t) ? t : jt(t, e) ? [t] : ee(re(t));
269
+ }
270
+ var ae = 1 / 0;
271
+ function oe(t) {
272
+ if (typeof t == "string" || g(t))
273
+ return t;
274
+ var e = t + "";
275
+ return e == "0" && 1 / t == -ae ? "-0" : e;
276
+ }
277
+ function fe(t, e) {
278
+ e = ne(e, t);
279
+ for (var r = 0, n = e.length; t != null && r < n; )
280
+ t = t[oe(e[r++])];
281
+ return r && r == n ? t : void 0;
282
+ }
283
+ const O = {
284
+ prefix: Math.floor(Math.random() * 1e4),
285
+ current: 0
286
+ }, ie = Symbol("elIdInjection"), se = () => x() ? E(ie, O) : O, he = (t) => {
287
+ const e = se(), r = z();
288
+ return D(() => N(t) || `${r.value}-id-${e.prefix}-${e.current++}`);
289
+ };
290
+ export {
291
+ u as L,
292
+ Jt as M,
293
+ c as S,
294
+ Z as a,
295
+ I as b,
296
+ y as c,
297
+ nt as d,
298
+ bt as e,
299
+ B as f,
300
+ jt as g,
301
+ fe as h,
302
+ P as i,
303
+ ne as j,
304
+ se as k,
305
+ g as l,
306
+ b as m,
307
+ w as n,
308
+ F as o,
309
+ s as p,
310
+ ct as q,
311
+ _ as r,
312
+ oe as t,
313
+ he as u
314
+ };
@@ -0,0 +1 @@
1
+ "use strict";const v=require("vue"),$=require("./base-ef747d02.cjs");var L=typeof global=="object"&&global&&global.Object===Object&&global;const x=L;var U=typeof self=="object"&&self&&self.Object===Object&&self,J=x||U||Function("return this")();const l=J;var Y=l.Symbol;const s=Y;var E=Object.prototype,X=E.hasOwnProperty,Z=E.toString,f=s?s.toStringTag:void 0;function V(t){var e=X.call(t,f),r=t[f];try{t[f]=void 0;var n=!0}catch{}var a=Z.call(t);return n&&(e?t[f]=r:delete t[f]),a}var B=Object.prototype,Q=B.toString;function W(t){return Q.call(t)}var k="[object Null]",tt="[object Undefined]",I=s?s.toStringTag:void 0;function m(t){return t==null?t===void 0?tt:k:I&&I in Object(t)?V(t):W(t)}function N(t){return t!=null&&typeof t=="object"}var et="[object Symbol]";function p(t){return typeof t=="symbol"||N(t)&&m(t)==et}function z(t,e){for(var r=-1,n=t==null?0:t.length,a=Array(n);++r<n;)a[r]=e(t[r],r,t);return a}var rt=Array.isArray;const d=rt;var nt=1/0,T=s?s.prototype:void 0,C=T?T.toString:void 0;function M(t){if(typeof t=="string")return t;if(d(t))return z(t,M)+"";if(p(t))return C?C.call(t):"";var e=t+"";return e=="0"&&1/t==-nt?"-0":e}function j(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var at="[object AsyncFunction]",ot="[object Function]",it="[object GeneratorFunction]",st="[object Proxy]";function D(t){if(!j(t))return!1;var e=m(t);return e==ot||e==it||e==at||e==st}var ct=l["__core-js_shared__"];const b=ct;var P=function(){var t=/[^.]+$/.exec(b&&b.keys&&b.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function ut(t){return!!P&&P in t}var ft=Function.prototype,ht=ft.toString;function F(t){if(t!=null){try{return ht.call(t)}catch{}try{return t+""}catch{}}return""}var lt=/[\\^$.*+?()[\]{}|]/g,pt=/^\[object .+?Constructor\]$/,dt=Function.prototype,_t=Object.prototype,gt=dt.toString,yt=_t.hasOwnProperty,bt=RegExp("^"+gt.call(yt).replace(lt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function vt(t){if(!j(t)||ut(t))return!1;var e=D(t)?bt:pt;return e.test(F(t))}function mt(t,e){return t==null?void 0:t[e]}function S(t,e){var r=mt(t,e);return vt(r)?r:void 0}function A(t,e){return t===e||t!==t&&e!==e}var jt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,St=/^\w*$/;function G(t,e){if(d(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||p(t)?!0:St.test(t)||!jt.test(t)||e!=null&&t in Object(e)}var Ot=S(Object,"create");const h=Ot;function $t(){this.__data__=h?h(null):{},this.size=0}function It(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Tt="__lodash_hash_undefined__",Ct=Object.prototype,Pt=Ct.hasOwnProperty;function wt(t){var e=this.__data__;if(h){var r=e[t];return r===Tt?void 0:r}return Pt.call(e,t)?e[t]:void 0}var xt=Object.prototype,Et=xt.hasOwnProperty;function Nt(t){var e=this.__data__;return h?e[t]!==void 0:Et.call(e,t)}var zt="__lodash_hash_undefined__";function Mt(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=h&&e===void 0?zt:e,this}function c(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=$t;c.prototype.delete=It;c.prototype.get=wt;c.prototype.has=Nt;c.prototype.set=Mt;function Dt(){this.__data__=[],this.size=0}function _(t,e){for(var r=t.length;r--;)if(A(t[r][0],e))return r;return-1}var Ft=Array.prototype,At=Ft.splice;function Gt(t){var e=this.__data__,r=_(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():At.call(e,r,1),--this.size,!0}function Ht(t){var e=this.__data__,r=_(e,t);return r<0?void 0:e[r][1]}function Rt(t){return _(this.__data__,t)>-1}function Kt(t,e){var r=this.__data__,n=_(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}function u(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=Dt;u.prototype.delete=Gt;u.prototype.get=Ht;u.prototype.has=Rt;u.prototype.set=Kt;var qt=S(l,"Map");const H=qt;function Lt(){this.size=0,this.__data__={hash:new c,map:new(H||u),string:new c}}function Ut(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function g(t,e){var r=t.__data__;return Ut(e)?r[typeof e=="string"?"string":"hash"]:r.map}function Jt(t){var e=g(this,t).delete(t);return this.size-=e?1:0,e}function Yt(t){return g(this,t).get(t)}function Xt(t){return g(this,t).has(t)}function Zt(t,e){var r=g(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}function o(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}o.prototype.clear=Lt;o.prototype.delete=Jt;o.prototype.get=Yt;o.prototype.has=Xt;o.prototype.set=Zt;var Vt="Expected a function";function y(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(Vt);var r=function(){var n=arguments,a=e?e.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var O=t.apply(this,n);return r.cache=i.set(a,O)||i,O};return r.cache=new(y.Cache||o),r}y.Cache=o;var Bt=500;function Qt(t){var e=y(t,function(n){return r.size===Bt&&r.clear(),n}),r=e.cache;return e}var Wt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,kt=/\\(\\)?/g,te=Qt(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(Wt,function(r,n,a,i){e.push(a?i.replace(kt,"$1"):n||r)}),e});const ee=te;function re(t){return t==null?"":M(t)}function R(t,e){return d(t)?t:G(t,e)?[t]:ee(re(t))}var ne=1/0;function K(t){if(typeof t=="string"||p(t))return t;var e=t+"";return e=="0"&&1/t==-ne?"-0":e}function ae(t,e){e=R(e,t);for(var r=0,n=e.length;t!=null&&r<n;)t=t[K(e[r++])];return r&&r==n?t:void 0}const w={prefix:Math.floor(Math.random()*1e4),current:0},oe=Symbol("elIdInjection"),q=()=>v.getCurrentInstance()?v.inject(oe,w):w,ie=t=>{const e=q(),r=$.useGetDerivedNamespace();return $.computedEager(()=>v.unref(t)||`${r.value}-id-${e.prefix}-${e.current++}`)};exports.ListCache=u;exports.Map=H;exports.MapCache=o;exports.Symbol=s;exports.arrayMap=z;exports.baseGet=ae;exports.baseGetTag=m;exports.castPath=R;exports.eq=A;exports.freeGlobal=x;exports.getNative=S;exports.isArray=d;exports.isFunction=D;exports.isKey=G;exports.isObject=j;exports.isObjectLike=N;exports.isSymbol=p;exports.memoize=y;exports.root=l;exports.toKey=K;exports.toSource=F;exports.useId=ie;exports.useIdInjection=q;
@@ -0,0 +1 @@
1
+ "use strict";require("./base-ef747d02.cjs");const e=require("vue"),f=require("./index-098c2447.cjs"),h=require("./_plugin-vue_export-helper-f246444f.cjs");const g={key:0,class:"rule-box"},x={key:0,class:"level-box"},V={class:"level-color"},C={class:"level-text"},w={__name:"index",props:{value:{type:String,default:""},isFocus:{type:Boolean,default:!1},textColor:{type:[String,null],default:null}},setup(c,{expose:m}){const v=c,u=[{text:"不能包含空格",validator:t=>!/\s/.test(t)},{text:"长度为8-18个字符",validator:t=>t.length>=8&&t.length<=18},{text:"必须包含字母、数字、符号中至少2种",validator:t=>{const l=/[a-zA-Z]/.test(t),a=/\d/.test(t),r=/[^a-zA-Z0-9]/.test(t);return[l,a,r].filter(Boolean).length>=2}},{text:"请勿输入连续、重复6位以上字母或数字, 0123456, 1111111",validator:t=>{if(/([a-zA-Z0-9])\1{6,}/.test(t)||/(?:0123456|1234567|2345678|3456789|9876543|8765432|7654321|6543210)/.test(t))return!1;const r=t.toLowerCase(),d=s=>{if(!/^[a-z]+$/.test(s))return!1;for(let n=1;n<s.length;n++)if(s.charCodeAt(n)!==s.charCodeAt(n-1)+1)return!1;return!0};for(let s=0;s<=r.length-7;s++){const n=r.substr(s,7);if(d(n))return!1}return!0}}],p=e.computed(()=>!u.map(l=>l.validator(v.value)).includes(!1)),o=e.computed(()=>{const t=v.value;if(!t)return 0;let l=0;return t.length>=8&&l++,t.length>=12&&l++,/\d/.test(t)&&l++,/[a-z]/.test(t)&&l++,/[A-Z]/.test(t)&&l++,/[^a-zA-Z0-9]/.test(t)&&l++,l<=2?1:l<=4?2:3}),i=e.computed(()=>{switch(o.value){case 1:return"lv1";case 2:return"lv2";case 3:return"lv3";default:return""}}),_=e.computed(()=>{switch(o.value){case 1:return"弱";case 2:return"中";case 3:return"强";default:return""}});return m({pwdValidators:u,levelValue:o,ruleFormPassword:[{required:!0,trigger:"blur",message:"密码不能为空"},...u.map(t=>({trigger:"blur",validator:(l,a,r)=>{t.validator(a)?r():r(t.text)}}))]}),(t,l)=>{const a=f.ElIcon;return e.openBlock(),e.createElementBlock("div",{class:"password-prompt",style:e.normalizeStyle({color:c.textColor??"var(--el-color-info)"})},[e.createVNode(e.Transition,{name:"slide-down"},{default:e.withCtx(()=>[c.isFocus?(e.openBlock(),e.createElementBlock("div",g,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(u,(r,d)=>e.createElementVNode("div",{class:"rule-item",key:d},[e.withDirectives(e.createVNode(a,null,{default:e.withCtx(()=>[e.createVNode(e.unref(f.circle_check_default))]),_:2},1536),[[e.vShow,r.validator(c.value)]]),e.createElementVNode("span",null,e.toDisplayString(r.text),1)])),64))])):e.createCommentVNode("",!0)]),_:1}),!c.isFocus&&p.value?(e.openBlock(),e.createElementBlock("div",x,[e.createElementVNode("div",V,[e.createElementVNode("div",{class:e.normalizeClass(["levelValue-block",[o.value>=1?i.value:""]])},null,2),e.createElementVNode("div",{class:e.normalizeClass(["levelValue-block",[o.value>=2?i.value:""]])},null,2),e.createElementVNode("div",{class:e.normalizeClass(["levelValue-block",[o.value>=3?i.value:""]])},null,2)]),e.createElementVNode("div",C,"密码强度: "+e.toDisplayString(_.value),1)])):e.createCommentVNode("",!0)],4)}}},N=h._export_sfc(w,[["__scopeId","data-v-ff60a416"]]);exports.PasswordPrompt=N;