st-comp 0.0.93 → 0.0.94

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 (83) hide show
  1. package/components.d.ts +13 -0
  2. package/es/ChartLayout.cjs +1 -1
  3. package/es/ChartLayout.js +2 -2
  4. package/es/Dialog.cjs +1 -5
  5. package/es/Dialog.js +45 -711
  6. package/es/FactorWarning.cjs +1 -1
  7. package/es/FactorWarning.js +463 -1
  8. package/es/Kline.cjs +1 -1
  9. package/es/Kline.js +92 -91
  10. package/es/KlineNew.cjs +1 -1
  11. package/es/KlineNew.js +10 -9
  12. package/es/Pagination.cjs +1 -1
  13. package/es/Pagination.js +106 -104
  14. package/es/Table.cjs +1 -20
  15. package/es/Table.js +361 -4253
  16. package/es/VarietySearch.cjs +1 -1
  17. package/es/VarietySearch.js +2522 -1
  18. package/es/VirtualTable.cjs +3 -3
  19. package/es/VirtualTable.js +249 -254
  20. package/es/base-6e64c2e6.js +762 -0
  21. package/es/base-8776b83e.cjs +9 -0
  22. package/es/castArray-59d5ae43.cjs +1 -0
  23. package/es/castArray-8ec29ca6.js +10 -0
  24. package/es/config-provider-76ef1b35.cjs +1 -0
  25. package/es/config-provider-f4278c8e.js +46 -0
  26. package/es/{el-button-9476b767.js → el-button-4c7ae9df.js} +52 -52
  27. package/es/{el-button-ed961332.cjs → el-button-65e4598f.cjs} +1 -1
  28. package/es/{el-empty-f4c08c01.js → el-empty-05e13b3c.js} +3 -3
  29. package/es/{el-empty-7adcc7f0.cjs → el-empty-dfe11c21.cjs} +1 -1
  30. package/es/el-icon-0ea8fbf8.cjs +1 -0
  31. package/es/el-icon-4ed993c7.js +1 -0
  32. package/es/el-input-11327619.cjs +9 -0
  33. package/es/el-input-f4898cfa.js +544 -0
  34. package/es/el-overlay-9d9c6ba9.cjs +5 -0
  35. package/es/el-overlay-d7af7dda.js +678 -0
  36. package/es/el-popover-4a4a4b02.cjs +1 -0
  37. package/es/el-popover-dc9c7ff7.js +133 -0
  38. package/es/el-radio-group-a31fb7c0.js +1743 -0
  39. package/es/el-radio-group-cc2d6c87.cjs +12 -0
  40. package/es/{el-scrollbar-ffb7b9c1.js → el-scrollbar-a00aca2f.js} +48 -48
  41. package/es/{el-scrollbar-586be9bd.cjs → el-scrollbar-f197b544.cjs} +1 -1
  42. package/es/el-select-5dbb0da3.cjs +1 -0
  43. package/es/el-select-b9cf452e.js +1360 -0
  44. package/es/el-table-column-1e15361e.cjs +20 -0
  45. package/es/el-table-column-675f51e6.js +3795 -0
  46. package/es/el-tag-c9d5baa7.cjs +1 -0
  47. package/es/{el-tag-7549c103.js → el-tag-f878b1f1.js} +126 -119
  48. package/es/{focus-trap-5fc152a0.js → focus-trap-2677bd39.js} +35 -34
  49. package/es/focus-trap-5f42842b.cjs +1 -0
  50. package/es/raf-32ed81f4.js +6 -0
  51. package/es/{raf-c4bba516.cjs → raf-7c366b55.cjs} +1 -1
  52. package/es/{scroll-38e17abc.cjs → scroll-22a00b05.cjs} +1 -1
  53. package/es/{scroll-c6e51ef8.js → scroll-9b9249e9.js} +5 -5
  54. package/es/style.css +1 -1
  55. package/es/use-form-item-67e7ef93.cjs +3 -0
  56. package/es/use-form-item-bfc7dddf.js +669 -0
  57. package/es/use-global-config-89daeba3.js +110 -0
  58. package/es/use-global-config-f9103903.cjs +1 -0
  59. package/es/{vnode-40f9df3c.cjs → vnode-69f3ca85.cjs} +1 -1
  60. package/es/{vnode-f4b846cb.js → vnode-aa3448ec.js} +1 -1
  61. package/es/zh-cn-720e514b.cjs +1 -0
  62. package/es/{zh-cn-e36dfbf4.js → zh-cn-e662dc89.js} +6 -45
  63. package/lib/bundle.js +1 -1
  64. package/lib/bundle.umd.cjs +174 -174
  65. package/lib/{index-4635557b.js → index-5d6aca6c.js} +27787 -27281
  66. package/lib/{python-aa056c80.js → python-dae8be67.js} +1 -1
  67. package/lib/style.css +1 -1
  68. package/package.json +1 -1
  69. package/packages/VarietySearch/components/CommonIndicator/index.vue +270 -112
  70. package/packages/VarietySearch/config.js +12 -1
  71. package/packages/VarietySearch/index.vue +8 -0
  72. package/es/base-8aa55db5.js +0 -725
  73. package/es/base-b187e78f.cjs +0 -9
  74. package/es/el-select-a6cf0236.js +0 -1893
  75. package/es/el-select-eaa79c54.cjs +0 -9
  76. package/es/el-tag-5a8b728a.cjs +0 -1
  77. package/es/focus-trap-ea1e7a19.cjs +0 -1
  78. package/es/raf-3a2b250a.js +0 -6
  79. package/es/use-form-item-bd4b9eeb.js +0 -531
  80. package/es/use-form-item-c25c7251.cjs +0 -3
  81. package/es/use-global-config-2d21cd56.js +0 -110
  82. package/es/use-global-config-bce8cdd8.cjs +0 -1
  83. package/es/zh-cn-a61d484e.cjs +0 -1
@@ -0,0 +1,110 @@
1
+ import { ref as I, getCurrentInstance as m, provide as O, computed as l, unref as d, inject as P } from "vue";
2
+ import { X as b, O as z, A as g, V as y, a2 as K, J as S, j as G, a9 as N, aa as E, u as Z, I as h, g as w } from "./base-6e64c2e6.js";
3
+ import { H as A, K as J, S as L, z as q, L as F } from "./use-form-item-bfc7dddf.js";
4
+ var H = function() {
5
+ try {
6
+ var e = b(Object, "defineProperty");
7
+ return e({}, "", {}), e;
8
+ } catch {
9
+ }
10
+ }();
11
+ const p = H;
12
+ function T(e, n, r) {
13
+ n == "__proto__" && p ? p(e, n, {
14
+ configurable: !0,
15
+ enumerable: !0,
16
+ value: r,
17
+ writable: !0
18
+ }) : e[n] = r;
19
+ }
20
+ var W = Object.prototype, X = W.hasOwnProperty;
21
+ function Y(e, n, r) {
22
+ var t = e[n];
23
+ (!(X.call(e, n) && z(t, r)) || r === void 0 && !(n in e)) && T(e, n, r);
24
+ }
25
+ function $(e, n, r, t) {
26
+ if (!g(e))
27
+ return e;
28
+ n = y(n, e);
29
+ for (var o = -1, s = n.length, u = s - 1, a = e; a != null && ++o < s; ) {
30
+ var i = K(n[o]), c = r;
31
+ if (i === "__proto__" || i === "constructor" || i === "prototype")
32
+ return e;
33
+ if (o != u) {
34
+ var f = a[i];
35
+ c = t ? t(f, i, a) : void 0, c === void 0 && (c = g(f) ? f : A(n[o + 1]) ? [] : {});
36
+ }
37
+ Y(a, i, c), a = a[i];
38
+ }
39
+ return e;
40
+ }
41
+ function B(e, n, r) {
42
+ return e == null ? e : $(e, n, r);
43
+ }
44
+ const _ = (e) => Object.keys(e), V = (e, n, r) => ({
45
+ get value() {
46
+ return S(e, n, r);
47
+ },
48
+ set value(t) {
49
+ B(e, n, t);
50
+ }
51
+ }), x = Symbol(), v = I();
52
+ function C(e, n = void 0) {
53
+ const r = m() ? P(x, v) : v;
54
+ return e ? l(() => {
55
+ var t, o;
56
+ return (o = (t = r.value) == null ? void 0 : t[e]) != null ? o : n;
57
+ }) : r;
58
+ }
59
+ function j(e, n) {
60
+ const r = C(), t = Z(e, l(() => {
61
+ var a;
62
+ return ((a = r.value) == null ? void 0 : a.namespace) || h;
63
+ })), o = w(l(() => {
64
+ var a;
65
+ return (a = r.value) == null ? void 0 : a.locale;
66
+ })), s = q(l(() => {
67
+ var a;
68
+ return ((a = r.value) == null ? void 0 : a.zIndex) || F;
69
+ })), u = l(() => {
70
+ var a;
71
+ return d(n) || ((a = r.value) == null ? void 0 : a.size) || "";
72
+ });
73
+ return D(l(() => d(r) || {})), {
74
+ ns: t,
75
+ locale: o,
76
+ zIndex: s,
77
+ size: u
78
+ };
79
+ }
80
+ const D = (e, n, r = !1) => {
81
+ var t;
82
+ const o = !!m(), s = o ? C() : void 0, u = (t = n == null ? void 0 : n.provide) != null ? t : o ? O : void 0;
83
+ if (!u) {
84
+ G("provideGlobalConfig", "provideGlobalConfig() can only be used inside setup().");
85
+ return;
86
+ }
87
+ const a = l(() => {
88
+ const i = d(e);
89
+ return s != null && s.value ? M(s.value, i) : i;
90
+ });
91
+ return u(x, a), u(N, l(() => a.value.locale)), u(E, l(() => a.value.namespace)), u(J, l(() => a.value.zIndex)), u(L, {
92
+ size: l(() => a.value.size || "")
93
+ }), (r || !v.value) && (v.value = a.value), a;
94
+ }, M = (e, n) => {
95
+ var r;
96
+ const t = [.../* @__PURE__ */ new Set([..._(e), ..._(n)])], o = {};
97
+ for (const s of t)
98
+ o[s] = (r = n[s]) != null ? r : e[s];
99
+ return o;
100
+ };
101
+ export {
102
+ Y as a,
103
+ C as b,
104
+ T as c,
105
+ p as d,
106
+ $ as e,
107
+ V as g,
108
+ D as p,
109
+ j as u
110
+ };
@@ -0,0 +1 @@
1
+ "use strict";const r=require("vue"),i=require("./base-8776b83e.cjs"),d=require("./use-form-item-67e7ef93.cjs");var O=function(){try{var e=i.getNative(Object,"defineProperty");return e({},"",{}),e}catch{}}();const g=O;function _(e,n,t){n=="__proto__"&&g?g(e,n,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[n]=t}var y=Object.prototype,G=y.hasOwnProperty;function I(e,n,t){var u=e[n];(!(G.call(e,n)&&i.eq(u,t))||t===void 0&&!(n in e))&&_(e,n,t)}function b(e,n,t,u){if(!i.isObject$1(e))return e;n=i.castPath(n,e);for(var l=-1,s=n.length,a=s-1,o=e;o!=null&&++l<s;){var c=i.toKey(n[l]),v=t;if(c==="__proto__"||c==="constructor"||c==="prototype")return e;if(l!=a){var p=o[c];v=u?u(p,c,o):void 0,v===void 0&&(v=i.isObject$1(p)?p:d.isIndex(n[l+1])?[]:{})}I(o,c,v),o=o[c]}return e}function S(e,n,t){return e==null?e:b(e,n,t)}const C=e=>Object.keys(e),z=(e,n,t)=>({get value(){return i.get(e,n,t)},set value(u){S(e,n,u)}}),x=Symbol(),f=r.ref();function m(e,n=void 0){const t=r.getCurrentInstance()?r.inject(x,f):f;return e?r.computed(()=>{var u,l;return(l=(u=t.value)==null?void 0:u[e])!=null?l:n}):t}function K(e,n){const t=m(),u=i.useNamespace(e,r.computed(()=>{var o;return((o=t.value)==null?void 0:o.namespace)||i.defaultNamespace})),l=i.useLocale(r.computed(()=>{var o;return(o=t.value)==null?void 0:o.locale})),s=d.useZIndex(r.computed(()=>{var o;return((o=t.value)==null?void 0:o.zIndex)||d.defaultInitialZIndex})),a=r.computed(()=>{var o;return r.unref(n)||((o=t.value)==null?void 0:o.size)||""});return P(r.computed(()=>r.unref(t)||{})),{ns:u,locale:l,zIndex:s,size:a}}const P=(e,n,t=!1)=>{var u;const l=!!r.getCurrentInstance(),s=l?m():void 0,a=(u=n==null?void 0:n.provide)!=null?u:l?r.provide:void 0;if(!a){i.debugWarn("provideGlobalConfig","provideGlobalConfig() can only be used inside setup().");return}const o=r.computed(()=>{const c=r.unref(e);return s!=null&&s.value?N(s.value,c):c});return a(x,o),a(i.localeContextKey,r.computed(()=>o.value.locale)),a(i.namespaceContextKey,r.computed(()=>o.value.namespace)),a(d.zIndexContextKey,r.computed(()=>o.value.zIndex)),a(d.SIZE_INJECTION_KEY,{size:r.computed(()=>o.value.size||"")}),(t||!f.value)&&(f.value=o.value),o},N=(e,n)=>{var t;const u=[...new Set([...C(e),...C(n)])],l={};for(const s of u)l[s]=(t=n[s])!=null?t:e[s];return l};exports.assignValue=I;exports.baseAssignValue=_;exports.baseSet=b;exports.defineProperty=g;exports.getProp=z;exports.provideGlobalConfig=P;exports.useGlobalComponentSettings=K;exports.useGlobalConfig=m;
@@ -1 +1 @@
1
- "use strict";const N=require("vue"),A=require("./base-b187e78f.cjs");var _=(E=>(E[E.TEXT=1]="TEXT",E[E.CLASS=2]="CLASS",E[E.STYLE=4]="STYLE",E[E.PROPS=8]="PROPS",E[E.FULL_PROPS=16]="FULL_PROPS",E[E.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",E[E.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",E[E.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",E[E.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",E[E.NEED_PATCH=512]="NEED_PATCH",E[E.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",E[E.HOISTED=-1]="HOISTED",E[E.BAIL=-2]="BAIL",E))(_||{});const r=E=>{const n=A.isArray(E)?E:[E],T=[];return n.forEach(e=>{var S;A.isArray(e)?T.push(...r(e)):N.isVNode(e)&&A.isArray(e.children)?T.push(...r(e.children)):(T.push(e),N.isVNode(e)&&((S=e.component)!=null&&S.subTree)&&T.push(...r(e.component.subTree)))}),T};exports.PatchFlags=_;exports.flattedChildren=r;
1
+ "use strict";const N=require("vue"),A=require("./base-8776b83e.cjs");var _=(E=>(E[E.TEXT=1]="TEXT",E[E.CLASS=2]="CLASS",E[E.STYLE=4]="STYLE",E[E.PROPS=8]="PROPS",E[E.FULL_PROPS=16]="FULL_PROPS",E[E.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",E[E.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",E[E.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",E[E.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",E[E.NEED_PATCH=512]="NEED_PATCH",E[E.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",E[E.HOISTED=-1]="HOISTED",E[E.BAIL=-2]="BAIL",E))(_||{});const r=E=>{const n=A.isArray(E)?E:[E],T=[];return n.forEach(e=>{var S;A.isArray(e)?T.push(...r(e)):N.isVNode(e)&&A.isArray(e.children)?T.push(...r(e.children)):(T.push(e),N.isVNode(e)&&((S=e.component)!=null&&S.subTree)&&T.push(...r(e.component.subTree)))}),T};exports.PatchFlags=_;exports.flattedChildren=r;
@@ -1,5 +1,5 @@
1
1
  import { isVNode as o } from "vue";
2
- import { i as A } from "./base-8aa55db5.js";
2
+ import { s as A } from "./base-6e64c2e6.js";
3
3
  var _ = /* @__PURE__ */ ((E) => (E[E.TEXT = 1] = "TEXT", E[E.CLASS = 2] = "CLASS", E[E.STYLE = 4] = "STYLE", E[E.PROPS = 8] = "PROPS", E[E.FULL_PROPS = 16] = "FULL_PROPS", E[E.HYDRATE_EVENTS = 32] = "HYDRATE_EVENTS", E[E.STABLE_FRAGMENT = 64] = "STABLE_FRAGMENT", E[E.KEYED_FRAGMENT = 128] = "KEYED_FRAGMENT", E[E.UNKEYED_FRAGMENT = 256] = "UNKEYED_FRAGMENT", E[E.NEED_PATCH = 512] = "NEED_PATCH", E[E.DYNAMIC_SLOTS = 1024] = "DYNAMIC_SLOTS", E[E.HOISTED = -1] = "HOISTED", E[E.BAIL = -2] = "BAIL", E))(_ || {});
4
4
  const e = (E) => {
5
5
  const N = A(E) ? E : [E], S = [];
@@ -0,0 +1 @@
1
+ "use strict";const u=require("./config-provider-76ef1b35.cjs"),e=require("./base-8776b83e.cjs"),t=e.withInstall(u.ConfigProvider);var E={name:"zh-cn",el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"}}};exports.ElConfigProvider=t;exports.zhCn=E;
@@ -1,46 +1,7 @@
1
- import { defineComponent as n, watch as r, renderSlot as E } from "vue";
2
- import { p as i } from "./use-global-config-2d21cd56.js";
3
- import { b as l, d as u, w as c } from "./base-8aa55db5.js";
4
- import { u as s } from "./use-form-item-bd4b9eeb.js";
5
- const m = l({
6
- a11y: {
7
- type: Boolean,
8
- default: !0
9
- },
10
- locale: {
11
- type: u(Object)
12
- },
13
- size: s,
14
- button: {
15
- type: u(Object)
16
- },
17
- experimentalFeatures: {
18
- type: u(Object)
19
- },
20
- keyboardNavigation: {
21
- type: Boolean,
22
- default: !0
23
- },
24
- message: {
25
- type: u(Object)
26
- },
27
- zIndex: Number,
28
- namespace: {
29
- type: String,
30
- default: "el"
31
- }
32
- }), p = {}, F = n({
33
- name: "ElConfigProvider",
34
- props: m,
35
- setup(e, { slots: a }) {
36
- r(() => e.message, (o) => {
37
- Object.assign(p, o ?? {});
38
- }, { immediate: !0, deep: !0 });
39
- const t = i(e);
40
- return () => E(a, "default", { config: t == null ? void 0 : t.value });
41
- }
42
- }), f = c(F);
43
- var h = {
1
+ import { C as u } from "./config-provider-f4278c8e.js";
2
+ import { w as e } from "./base-6e64c2e6.js";
3
+ const a = e(u);
4
+ var o = {
44
5
  name: "zh-cn",
45
6
  el: {
46
7
  colorpicker: {
@@ -168,6 +129,6 @@ var h = {
168
129
  }
169
130
  };
170
131
  export {
171
- f as E,
172
- h as z
132
+ a as E,
133
+ o as z
173
134
  };
package/lib/bundle.js CHANGED
@@ -1,4 +1,4 @@
1
- import { i as m } from "./index-4635557b.js";
1
+ import { i as m } from "./index-5d6aca6c.js";
2
2
  import "vue";
3
3
  import "echarts";
4
4
  export {