st-comp 0.0.164 → 0.0.166

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 (145) hide show
  1. package/components.d.ts +3 -0
  2. package/es/ChartLayout.cjs +1 -1
  3. package/es/ChartLayout.js +3 -3
  4. package/es/Dialog.cjs +1 -1
  5. package/es/Dialog.js +16 -14
  6. package/es/FactorWarning.cjs +1 -1
  7. package/es/FactorWarning.js +492 -614
  8. package/es/Kline.cjs +1 -1
  9. package/es/Kline.js +16 -16
  10. package/es/KlineBasic.cjs +1 -1
  11. package/es/KlineBasic.js +477 -766
  12. package/es/KlineConfig.cjs +1 -0
  13. package/es/KlineConfig.js +703 -0
  14. package/es/KlineNew.cjs +1 -1
  15. package/es/KlineNew.js +14 -14
  16. package/es/KlinePlus.cjs +6 -0
  17. package/es/KlinePlus.js +1212 -0
  18. package/es/Pagination.cjs +1 -1
  19. package/es/Pagination.js +21 -20
  20. package/es/PasswordPrompt.cjs +1 -1
  21. package/es/PasswordPrompt.js +3 -3
  22. package/es/Table.cjs +1 -1
  23. package/es/Table.js +100 -279
  24. package/es/User.cjs +1 -1
  25. package/es/User.js +41 -39
  26. package/es/VarSelectDialog.cjs +1 -1
  27. package/es/VarSelectDialog.js +23 -22
  28. package/es/VarietySearch.cjs +1 -1
  29. package/es/VarietySearch.js +34 -32
  30. package/es/VirtualTable.cjs +5 -5
  31. package/es/VirtualTable.js +1018 -1056
  32. package/es/{_initCloneObject-47814efa.cjs → _initCloneObject-9ccbb113.cjs} +1 -1
  33. package/es/{_initCloneObject-c939f3af.js → _initCloneObject-a9305c1e.js} +3 -3
  34. package/es/base-4bcd2756.js +304 -0
  35. package/es/base-bdc10baa.cjs +5 -0
  36. package/es/{castArray-a78ae889.cjs → castArray-37eb9980.cjs} +1 -1
  37. package/es/{castArray-2440268f.js → castArray-681d750b.js} +1 -1
  38. package/es/{config-provider-722dca36.js → config-provider-93846ae3.js} +9 -9
  39. package/es/config-provider-ec6b09df.cjs +1 -0
  40. package/es/dayjs.min-19fb125f.cjs +1 -0
  41. package/es/dayjs.min-54a4e095.js +296 -0
  42. package/es/{debounce-82e23c4b.js → debounce-51046b06.js} +1 -1
  43. package/es/{debounce-cf26af24.cjs → debounce-9e323221.cjs} +1 -1
  44. package/es/{dropdown-6f8379f0.js → dropdown-65e74de8.js} +6 -6
  45. package/es/{dropdown-790d31ea.cjs → dropdown-b2dab5bb.cjs} +1 -1
  46. package/es/{el-autocomplete-75762ef9.js → el-autocomplete-5064d466.js} +9 -9
  47. package/es/{el-autocomplete-84de99ba.cjs → el-autocomplete-814993af.cjs} +1 -1
  48. package/es/el-button-960edd49.cjs +1 -0
  49. package/es/{el-button-2e878325.js → el-button-d39472d3.js} +37 -36
  50. package/es/{el-checkbox-group-45247bbf.cjs → el-checkbox-group-020b49f5.cjs} +1 -1
  51. package/es/{el-checkbox-group-5e4f32f0.js → el-checkbox-group-779f353a.js} +2 -2
  52. package/es/el-dialog-cd484c1f.cjs +1 -0
  53. package/es/el-dialog-f45ec2a1.js +267 -0
  54. package/es/el-divider-40c50ce7.cjs +1 -0
  55. package/es/el-divider-7cf13678.js +45 -0
  56. package/es/{el-empty-2ece1134.cjs → el-empty-627ec09e.cjs} +1 -1
  57. package/es/{el-empty-7f8acbdc.js → el-empty-64b2ea8a.js} +2 -2
  58. package/es/{el-form-item-45ba08ff.js → el-form-item-b31e7a98.js} +8 -8
  59. package/es/{el-form-item-47e255d4.cjs → el-form-item-e1c3104b.cjs} +2 -2
  60. package/es/{el-input-1323afd2.js → el-input-42315ac4.js} +48 -48
  61. package/es/{el-input-cb340042.cjs → el-input-5163bda3.cjs} +1 -1
  62. package/es/{el-input-number-0f194f3f.cjs → el-input-number-eb54cde4.cjs} +1 -1
  63. package/es/{el-input-number-991f8bfc.js → el-input-number-ebd64e22.js} +19 -19
  64. package/es/el-loading-15a5501c.cjs +1 -0
  65. package/es/el-loading-5d29f26d.js +187 -0
  66. package/es/{el-menu-item-4c9eb7ad.cjs → el-menu-item-ac89e804.cjs} +1 -1
  67. package/es/{el-menu-item-dbbcd01a.js → el-menu-item-d62e0a3f.js} +32 -32
  68. package/es/el-message-ad87b9dd.cjs +1 -0
  69. package/es/{el-message-03e6f342.js → el-message-bd1d2c82.js} +17 -17
  70. package/es/el-overlay-690b50aa.js +269 -0
  71. package/es/el-overlay-e5d318c3.cjs +1 -0
  72. package/es/{el-popconfirm-8372cd13.js → el-popconfirm-88bbd066.js} +13 -13
  73. package/es/{el-popconfirm-86503f8a.cjs → el-popconfirm-a497b279.cjs} +1 -1
  74. package/es/{el-popper-7adbf1c6.cjs → el-popper-14a9d493.cjs} +1 -1
  75. package/es/{el-popper-b5315f5b.js → el-popper-85365d5b.js} +63 -63
  76. package/es/{el-scrollbar-ac525239.cjs → el-scrollbar-8bf765f2.cjs} +1 -1
  77. package/es/{el-scrollbar-4dc1493a.js → el-scrollbar-bcf29780.js} +21 -21
  78. package/es/el-segmented-84707138.js +136 -0
  79. package/es/el-segmented-bccd9f2a.cjs +1 -0
  80. package/es/{el-select-31f8ac8a.cjs → el-select-1d2309a1.cjs} +1 -1
  81. package/es/{el-select-a4ad7c8b.js → el-select-d3bce4d1.js} +13 -13
  82. package/es/{el-table-column-2e7132b3.js → el-table-column-9691b26d.js} +19 -18
  83. package/es/el-table-column-be9a76bb.cjs +14 -0
  84. package/es/{el-tag-a79385c6.js → el-tag-6036f51c.js} +39 -39
  85. package/es/{el-tag-9732314f.cjs → el-tag-8d49d4d2.cjs} +1 -1
  86. package/es/{index-375e8de4.cjs → index-02ca0096.cjs} +1 -1
  87. package/es/{index-afc88a4b.cjs → index-19fa1fcf.cjs} +1 -1
  88. package/es/{index-733cd68a.js → index-21fb27eb.js} +17 -17
  89. package/es/{index-e5fe37a4.js → index-3425f2f0.js} +10 -10
  90. package/es/{index-1d85ba4b.cjs → index-5b81f4da.cjs} +1 -1
  91. package/es/index-8d3c5e96.cjs +3 -0
  92. package/es/{index-97d24ab7.js → index-8ee89b40.js} +16 -16
  93. package/es/{index-9e6e8d03.cjs → index-a99a5307.cjs} +1 -1
  94. package/es/{index-58521b9e.cjs → index-b90c746b.cjs} +1 -1
  95. package/es/index-c45ac024.js +14 -0
  96. package/es/{index-f5b9b211.js → index-cb8157f2.js} +2 -2
  97. package/es/{index-e6a36e09.js → index-d3c37134.js} +7 -7
  98. package/es/{index-65b4113e.cjs → index-d94bae37.cjs} +1 -1
  99. package/es/{index-2d9c78d4.cjs → index-e348d5e8.cjs} +1 -1
  100. package/es/{index-57a7323a.js → index-ef7c4392.js} +11 -11
  101. package/es/{index-e3353eeb.js → index-fbe85773.js} +13 -13
  102. package/es/{raf-f46caea0.cjs → raf-07cb6953.cjs} +1 -1
  103. package/es/{raf-c817c3f7.js → raf-36faa519.js} +1 -1
  104. package/es/{scroll-4fe7a76f.js → scroll-0277d145.js} +1 -1
  105. package/es/{scroll-339681d4.cjs → scroll-4769a65d.cjs} +1 -1
  106. package/es/style.css +1 -1
  107. package/es/{use-form-common-props-04fb0752.js → use-form-common-props-54c31983.js} +40 -40
  108. package/es/{use-form-common-props-74a96df2.cjs → use-form-common-props-592797e2.cjs} +1 -1
  109. package/es/use-global-config-584b62f1.cjs +1 -0
  110. package/es/use-global-config-946f61a4.js +73 -0
  111. package/es/{vnode-b15eb11b.cjs → vnode-1b827c99.cjs} +1 -1
  112. package/es/{vnode-0fd3003d.js → vnode-dfc92f20.js} +1 -1
  113. package/es/{zh-cn-cac8283b.js → zh-cn-5066f5e9.js} +2 -2
  114. package/es/{zh-cn-36f34912.cjs → zh-cn-b24a7dc9.cjs} +1 -1
  115. package/lib/bundle.js +1 -1
  116. package/lib/bundle.umd.cjs +217 -212
  117. package/lib/{index-5f63dc2e.js → index-80531492.js} +39042 -37182
  118. package/lib/{python-5918f7d5.js → python-20a1a5fc.js} +1 -1
  119. package/lib/style.css +1 -1
  120. package/package.json +1 -1
  121. package/packages/KlineConfig/config.js +39 -0
  122. package/packages/KlineConfig/index.ts +8 -0
  123. package/packages/KlineConfig/index.vue +315 -0
  124. package/packages/KlinePlus/components/SliderChart.vue +218 -0
  125. package/packages/KlinePlus/components/Tips.vue +36 -0
  126. package/packages/KlinePlus/images/buy.svg +1 -0
  127. package/packages/KlinePlus/images/sell.svg +1 -0
  128. package/packages/KlinePlus/images/t.svg +1 -0
  129. package/packages/KlinePlus/index.ts +8 -0
  130. package/packages/KlinePlus/index.vue +880 -0
  131. package/packages/KlinePlus/utils.js +705 -0
  132. package/packages/index.ts +4 -0
  133. package/src/pages/KlineConfig/index.vue +20 -0
  134. package/src/pages/KlinePlus/index.vue +180 -0
  135. package/src/router/routes.ts +10 -0
  136. package/es/base-0ca7c43a.cjs +0 -5
  137. package/es/base-b56cf478.js +0 -303
  138. package/es/config-provider-cfbb9cd8.cjs +0 -1
  139. package/es/el-button-62966947.cjs +0 -1
  140. package/es/el-message-d5ed7a4f.cjs +0 -1
  141. package/es/el-overlay-41994f67.cjs +0 -1
  142. package/es/el-overlay-47b665a0.js +0 -521
  143. package/es/el-table-column-bdc46568.cjs +0 -14
  144. package/es/index-0baeaec7.js +0 -82
  145. package/es/index-2f958e56.cjs +0 -3
@@ -1,31 +1,31 @@
1
1
  import { getCurrentInstance as C, shallowRef as E, ref as m, watch as g, onMounted as F, nextTick as b } from "vue";
2
- import { b as r } from "./el-scrollbar-4dc1493a.js";
3
- import { l as x, g as f } from "./base-b56cf478.js";
2
+ import { b as r } from "./el-scrollbar-bcf29780.js";
3
+ import { e as x, i as f } from "./base-4bcd2756.js";
4
4
  function y(l, {
5
5
  beforeFocus: t,
6
6
  afterFocus: e,
7
7
  beforeBlur: d,
8
- afterBlur: c
8
+ afterBlur: i
9
9
  } = {}) {
10
10
  const p = C(), { emit: v } = p, o = E(), s = m(!1), a = (n) => {
11
11
  f(t) && t(n) || s.value || (s.value = !0, v("focus", n), e == null || e());
12
- }, i = (n) => {
12
+ }, c = (n) => {
13
13
  var u;
14
- f(d) && d(n) || n.relatedTarget && ((u = o.value) != null && u.contains(n.relatedTarget)) || (s.value = !1, v("blur", n), c == null || c());
14
+ f(d) && d(n) || n.relatedTarget && ((u = o.value) != null && u.contains(n.relatedTarget)) || (s.value = !1, v("blur", n), i == null || i());
15
15
  }, h = () => {
16
16
  var n, u;
17
17
  (n = o.value) != null && n.contains(document.activeElement) && o.value !== document.activeElement || (u = l.value) == null || u.focus();
18
18
  };
19
19
  return g(o, (n) => {
20
20
  n && n.setAttribute("tabindex", "-1");
21
- }), r(o, "focus", a, !0), r(o, "blur", i, !0), r(o, "click", h, !0), process.env.NODE_ENV === "test" && F(() => {
21
+ }), r(o, "focus", a, !0), r(o, "blur", c, !0), r(o, "click", h, !0), process.env.NODE_ENV === "test" && F(() => {
22
22
  const n = x(l.value) ? l.value : document.querySelector("input,textarea");
23
- n && (r(n, "focus", a, !0), r(n, "blur", i, !0));
23
+ n && (r(n, "focus", a, !0), r(n, "blur", c, !0));
24
24
  }), {
25
25
  isFocused: s,
26
26
  wrapperRef: o,
27
27
  handleFocus: a,
28
- handleBlur: i
28
+ handleBlur: c
29
29
  };
30
30
  }
31
31
  const _ = (l) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(l);
@@ -35,21 +35,21 @@ function D({
35
35
  }) {
36
36
  const e = m(!1), d = (o) => {
37
37
  t == null || t("compositionstart", o), e.value = !0;
38
- }, c = (o) => {
38
+ }, i = (o) => {
39
39
  var s;
40
40
  t == null || t("compositionupdate", o);
41
- const a = (s = o.target) == null ? void 0 : s.value, i = a[a.length - 1] || "";
42
- e.value = !_(i);
41
+ const a = (s = o.target) == null ? void 0 : s.value, c = a[a.length - 1] || "";
42
+ e.value = !_(c);
43
43
  }, p = (o) => {
44
44
  t == null || t("compositionend", o), e.value && (e.value = !1, b(() => l(o)));
45
45
  };
46
46
  return {
47
47
  isComposing: e,
48
48
  handleComposition: (o) => {
49
- o.type === "compositionend" ? p(o) : c(o);
49
+ o.type === "compositionend" ? p(o) : i(o);
50
50
  },
51
51
  handleCompositionStart: d,
52
- handleCompositionUpdate: c,
52
+ handleCompositionUpdate: i,
53
53
  handleCompositionEnd: p
54
54
  };
55
55
  }
@@ -1 +1 @@
1
- "use strict";const i=require("./base-0ca7c43a.cjs"),t=e=>i.isClient?window.requestAnimationFrame(e):setTimeout(e,16),n=e=>i.isClient?window.cancelAnimationFrame(e):clearTimeout(e);exports.cAF=n;exports.rAF=t;
1
+ "use strict";const i=require("./base-bdc10baa.cjs"),t=e=>i.isClient?window.requestAnimationFrame(e):setTimeout(e,16),n=e=>i.isClient?window.cancelAnimationFrame(e):clearTimeout(e);exports.cAF=n;exports.rAF=t;
@@ -1,4 +1,4 @@
1
- import { h as o } from "./base-b56cf478.js";
1
+ import { b as o } from "./base-4bcd2756.js";
2
2
  const e = (i) => o ? window.requestAnimationFrame(i) : setTimeout(i, 16), r = (i) => o ? window.cancelAnimationFrame(i) : clearTimeout(i);
3
3
  export {
4
4
  r as c,
@@ -1,4 +1,4 @@
1
- import { h as f } from "./base-b56cf478.js";
1
+ import { b as f } from "./base-4bcd2756.js";
2
2
  let r;
3
3
  const u = (o) => {
4
4
  var l;
@@ -1 +1 @@
1
- "use strict";const c=require("./base-0ca7c43a.cjs");let r;const h=o=>{var l;if(!c.isClient)return 0;if(r!==void 0)return r;const t=document.createElement("div");t.className=`${o}-scrollbar__wrap`,t.style.visibility="hidden",t.style.width="100px",t.style.position="absolute",t.style.top="-9999px",document.body.appendChild(t);const e=t.offsetWidth;t.style.overflow="scroll";const s=document.createElement("div");s.style.width="100%",t.appendChild(s);const i=s.offsetWidth;return(l=t.parentNode)==null||l.removeChild(t),r=e-i,r};function u(o,l){if(!c.isClient)return;if(!l){o.scrollTop=0;return}const t=[];let e=l.offsetParent;for(;e!==null&&o!==e&&o.contains(e);)t.push(e),e=e.offsetParent;const s=l.offsetTop+t.reduce((d,p)=>d+p.offsetTop,0),i=s+l.offsetHeight,n=o.scrollTop,f=n+o.clientHeight;s<n?o.scrollTop=s:i>f&&(o.scrollTop=i-o.clientHeight)}exports.getScrollBarWidth=h;exports.scrollIntoView=u;
1
+ "use strict";const c=require("./base-bdc10baa.cjs");let r;const h=o=>{var l;if(!c.isClient)return 0;if(r!==void 0)return r;const t=document.createElement("div");t.className=`${o}-scrollbar__wrap`,t.style.visibility="hidden",t.style.width="100px",t.style.position="absolute",t.style.top="-9999px",document.body.appendChild(t);const e=t.offsetWidth;t.style.overflow="scroll";const s=document.createElement("div");s.style.width="100%",t.appendChild(s);const i=s.offsetWidth;return(l=t.parentNode)==null||l.removeChild(t),r=e-i,r};function u(o,l){if(!c.isClient)return;if(!l){o.scrollTop=0;return}const t=[];let e=l.offsetParent;for(;e!==null&&o!==e&&o.contains(e);)t.push(e),e=e.offsetParent;const s=l.offsetTop+t.reduce((d,p)=>d+p.offsetTop,0),i=s+l.offsetHeight,n=o.scrollTop,f=n+o.clientHeight;s<n?o.scrollTop=s:i>f&&(o.scrollTop=i-o.clientHeight)}exports.getScrollBarWidth=h;exports.scrollIntoView=u;