st-comp 0.0.186 → 0.0.188
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.
- package/es/ChartLayout.cjs +1 -1
- package/es/ChartLayout.js +14 -13
- package/es/CustomFunction.cjs +1 -1
- package/es/CustomFunction.js +104 -91
- package/es/FactorWarning.cjs +1 -1
- package/es/FactorWarning.js +31 -28
- package/es/Kline.cjs +1 -1
- package/es/Kline.js +17 -14
- package/es/KlineBasic.cjs +1 -1
- package/es/KlineBasic.js +26 -23
- package/es/KlineConfig.cjs +1 -1
- package/es/KlineConfig.js +22 -19
- package/es/KlineNew.cjs +1 -1
- package/es/KlineNew.js +16 -13
- package/es/KlinePlus.cjs +1 -1
- package/es/KlinePlus.js +19 -16
- package/es/Pagination.cjs +1 -1
- package/es/Pagination.js +88 -85
- package/es/PasswordPrompt.cjs +1 -1
- package/es/PasswordPrompt.js +3 -3
- package/es/Table.cjs +1 -1
- package/es/Table.js +34 -32
- package/es/TreeMap.cjs +1 -2
- package/es/TreeMap.js +1 -163
- package/es/User.cjs +1 -1
- package/es/User.js +53 -50
- package/es/VarSelectDialog.cjs +3 -3
- package/es/VarSelectDialog.js +166 -479
- package/es/VarietyAutoComplete.cjs +1 -0
- package/es/VarietyAutoComplete.js +84 -0
- package/es/VarietySearch.cjs +6 -6
- package/es/VarietySearch.js +50 -47
- package/es/VirtualTable.cjs +1 -1
- package/es/VirtualTable.js +33 -31
- package/es/{_initCloneObject-00cee14a.js → _initCloneObject-25087817.js} +24 -23
- package/es/_initCloneObject-95a1fe6e.cjs +1 -0
- package/es/{base-62a70f61.js → base-f5b11441.js} +40 -40
- package/es/config-provider-79c2df1b.cjs +1 -0
- package/es/{config-provider-89aba243.js → config-provider-95d27ce2.js} +9 -8
- package/es/{debounce-5f2ec4be.js → debounce-06f59c68.js} +10 -10
- package/es/{debounce-0b77a317.cjs → debounce-62f5b6e8.cjs} +1 -1
- package/es/{dropdown-0fd8bdbd.js → dropdown-7a853d45.js} +9 -9
- package/es/{dropdown-babf55db.cjs → dropdown-c2ef9062.cjs} +1 -1
- package/es/el-autocomplete-b7bcfb25.cjs +1 -0
- package/es/el-autocomplete-e74d589c.js +328 -0
- package/es/{el-button-338a49b7.cjs → el-button-5973d99c.cjs} +1 -1
- package/es/{el-button-f44cb2cf.js → el-button-5a260464.js} +33 -33
- package/es/{el-dialog-c2451c86.js → el-dialog-8d8f6443.js} +17 -17
- package/es/{el-dialog-45250561.cjs → el-dialog-a24f4f8f.cjs} +1 -1
- package/es/{el-divider-2f300113.js → el-divider-4e1c0fb8.js} +1 -1
- package/es/el-empty-1697ded8.cjs +1 -0
- package/es/{el-empty-87a86f30.js → el-empty-deee6b39.js} +10 -9
- package/es/{el-form-item-64c14a64.js → el-form-item-3167d76a.js} +74 -73
- package/es/el-form-item-8dc6aec8.cjs +12 -0
- package/es/{el-input-ef6edbf3.js → el-input-03aad76d.js} +33 -33
- package/es/{el-input-c663697a.cjs → el-input-06243b61.cjs} +1 -1
- package/es/{el-input-number-cda5c4e1.js → el-input-number-12c09ac3.js} +70 -70
- package/es/{el-input-number-5fda0890.cjs → el-input-number-854b2066.cjs} +1 -1
- package/es/{el-loading-1be77e7c.js → el-loading-86fdef94.js} +5 -5
- package/es/{el-loading-8c3379d5.cjs → el-loading-a536daf8.cjs} +1 -1
- package/es/{el-menu-item-84a4b594.js → el-menu-item-1172154b.js} +22 -22
- package/es/{el-menu-item-cf9e0e36.cjs → el-menu-item-6522d54c.cjs} +1 -1
- package/es/{el-message-c500161d.cjs → el-message-0aeea1a3.cjs} +1 -1
- package/es/{el-message-ba131b90.js → el-message-35d4e3ac.js} +23 -23
- package/es/{el-message-box-743c461a.cjs → el-message-box-2e7304ce.cjs} +1 -1
- package/es/{el-message-box-38779ab9.js → el-message-box-f43b6e7a.js} +20 -20
- package/es/{el-overlay-a6f43919.js → el-overlay-04659660.js} +41 -41
- package/es/{el-overlay-39e2e96f.cjs → el-overlay-ef92f51f.cjs} +1 -1
- package/es/{el-popconfirm-16597a41.js → el-popconfirm-29d538b6.js} +20 -20
- package/es/{el-popconfirm-08b4221f.cjs → el-popconfirm-58a1b946.cjs} +1 -1
- package/es/{el-popper-dca2de0d.cjs → el-popper-c9e0136d.cjs} +1 -1
- package/es/{el-popper-05a8f271.js → el-popper-ee1f8186.js} +79 -79
- package/es/el-scrollbar-05815cf5.cjs +1 -0
- package/es/el-scrollbar-09769d9e.js +395 -0
- package/es/{el-segmented-d68dfe31.js → el-segmented-916b982a.js} +8 -8
- package/es/{el-segmented-c2952e4c.cjs → el-segmented-d454a924.cjs} +1 -1
- package/es/el-select-6d813c15.cjs +1 -0
- package/es/{el-select-7846f331.js → el-select-8cb88e3c.js} +364 -361
- package/es/{el-table-column-cd63e722.js → el-table-column-0c899664.js} +147 -145
- package/es/el-table-column-762a20e0.cjs +14 -0
- package/es/{el-tag-914c96a9.js → el-tag-554c333b.js} +27 -26
- package/es/el-tag-fe492a6d.cjs +1 -0
- package/es/index-34048a1d.js +314 -0
- package/es/{index-b132c1b1.js → index-384ed4b0.js} +3 -3
- package/es/index-5b62ea0e.js +375 -0
- package/es/{index-1c409d46.cjs → index-62573d45.cjs} +1 -1
- package/es/{index-14c322b1.js → index-69a9bd75.js} +2 -2
- package/es/{index-2bf6214c.cjs → index-77f4746b.cjs} +1 -1
- package/es/index-7e4e0bd3.cjs +1 -0
- package/es/index-9780a537.cjs +1 -0
- package/es/{index-e6deec5d.cjs → index-a9d4ef0f.cjs} +1 -1
- package/es/{index-35129268.js → index-b07f58c9.js} +76 -61
- package/es/index-b7fd560c.js +60 -0
- package/es/index-bb833443.cjs +1 -0
- package/es/index-ca7dbd47.cjs +1 -0
- package/es/index-cfeda35a.js +204 -0
- package/es/{index-20749652.js → index-df06f32a.js} +15 -15
- package/es/index-eab8a286.cjs +1 -0
- package/es/raf-fa761d02.js +6 -0
- package/es/{scroll-7d352c1f.js → scroll-9e2dd92b.js} +5 -5
- package/es/style.css +1 -1
- package/es/use-global-config-1923bb6f.js +72 -0
- package/es/use-global-config-c2c5ca8f.cjs +1 -0
- package/es/{validator-f66b0f34.cjs → validator-866ea0bb.cjs} +1 -1
- package/es/{validator-90d3e848.js → validator-fd32f925.js} +1 -1
- package/es/vnode-b906ae6d.cjs +1 -0
- package/es/vnode-f9752526.js +14 -0
- package/es/{zh-cn-de7ae601.cjs → zh-cn-0fa1aa6d.cjs} +1 -1
- package/es/{zh-cn-530f1ed1.js → zh-cn-d667062d.js} +2 -2
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +139 -139
- package/lib/{index-26fab3e5.js → index-02706357.js} +14643 -14551
- package/lib/{python-c34eeb40.js → python-42146c31.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/CustomFunction/index.vue +11 -2
- package/packages/VarietyAutoComplete/index.ts +8 -0
- package/packages/VarietyAutoComplete/index.vue +89 -0
- package/packages/index.ts +2 -0
- package/src/pages/VarietyAutoComplete/index.vue +19 -0
- package/src/router/routes.ts +5 -0
- package/es/_initCloneObject-4dd3c9a4.cjs +0 -1
- package/es/config-provider-d82ea78c.cjs +0 -1
- package/es/el-empty-bb2b0235.cjs +0 -1
- package/es/el-form-item-b5f6081b.cjs +0 -12
- package/es/el-scrollbar-31d72626.js +0 -763
- package/es/el-scrollbar-802d874d.cjs +0 -1
- package/es/el-select-8337856d.cjs +0 -1
- package/es/el-table-column-34f080b5.cjs +0 -14
- package/es/el-tag-a2e99294.cjs +0 -1
- package/es/index-34592e82.js +0 -513
- package/es/index-3a74eae4.cjs +0 -1
- package/es/index-8feed26f.cjs +0 -1
- package/es/raf-41aed4d4.js +0 -6
- package/es/use-global-config-53be2b7d.js +0 -71
- package/es/use-global-config-f3664595.cjs +0 -1
- package/es/vnode-6d51e502.cjs +0 -1
- package/es/vnode-8ddc4f78.js +0 -70
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { ref as g, getCurrentInstance as d, provide as C, computed as u, unref as v, inject as x } from "vue";
|
|
2
|
+
import { o as y, u as I, p as z } from "./base-f5b11441.js";
|
|
3
|
+
import { j as _, z as S, S as K, k as O, l as b } from "./el-scrollbar-09769d9e.js";
|
|
4
|
+
import { g as k, l as N, u as E } from "./index-cfeda35a.js";
|
|
5
|
+
import { e as G } from "./index-5b62ea0e.js";
|
|
6
|
+
const m = Symbol();
|
|
7
|
+
function V(n, t, o) {
|
|
8
|
+
return n == null ? n : _(n, t, o);
|
|
9
|
+
}
|
|
10
|
+
const f = (n) => Object.keys(n), T = (n, t, o) => ({
|
|
11
|
+
get value() {
|
|
12
|
+
return k(n, t, o);
|
|
13
|
+
},
|
|
14
|
+
set value(a) {
|
|
15
|
+
V(n, t, a);
|
|
16
|
+
}
|
|
17
|
+
}), i = g();
|
|
18
|
+
function p(n, t = void 0) {
|
|
19
|
+
const o = d() ? x(m, i) : i;
|
|
20
|
+
return n ? u(() => {
|
|
21
|
+
var a, l;
|
|
22
|
+
return (l = (a = o.value) == null ? void 0 : a[n]) != null ? l : t;
|
|
23
|
+
}) : o;
|
|
24
|
+
}
|
|
25
|
+
function Y(n, t) {
|
|
26
|
+
const o = p(), a = I(n, u(() => {
|
|
27
|
+
var e;
|
|
28
|
+
return ((e = o.value) == null ? void 0 : e.namespace) || z;
|
|
29
|
+
})), l = E(u(() => {
|
|
30
|
+
var e;
|
|
31
|
+
return (e = o.value) == null ? void 0 : e.locale;
|
|
32
|
+
})), s = O(u(() => {
|
|
33
|
+
var e;
|
|
34
|
+
return ((e = o.value) == null ? void 0 : e.zIndex) || b;
|
|
35
|
+
})), r = u(() => {
|
|
36
|
+
var e;
|
|
37
|
+
return v(t) || ((e = o.value) == null ? void 0 : e.size) || "";
|
|
38
|
+
});
|
|
39
|
+
return Z(u(() => v(o) || {})), {
|
|
40
|
+
ns: a,
|
|
41
|
+
locale: l,
|
|
42
|
+
zIndex: s,
|
|
43
|
+
size: r
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
const Z = (n, t, o = !1) => {
|
|
47
|
+
var a;
|
|
48
|
+
const l = !!d(), s = l ? p() : void 0, r = (a = t == null ? void 0 : t.provide) != null ? a : l ? C : void 0;
|
|
49
|
+
if (!r)
|
|
50
|
+
return;
|
|
51
|
+
const e = u(() => {
|
|
52
|
+
const c = v(n);
|
|
53
|
+
return s != null && s.value ? P(s.value, c) : c;
|
|
54
|
+
});
|
|
55
|
+
return r(m, e), r(N, u(() => e.value.locale)), r(y, u(() => e.value.namespace)), r(S, u(() => e.value.zIndex)), r(K, {
|
|
56
|
+
size: u(() => e.value.size || "")
|
|
57
|
+
}), r(G, u(() => ({
|
|
58
|
+
emptyValues: e.value.emptyValues,
|
|
59
|
+
valueOnClear: e.value.valueOnClear
|
|
60
|
+
}))), (o || !i.value) && (i.value = e.value), e;
|
|
61
|
+
}, P = (n, t) => {
|
|
62
|
+
const o = [.../* @__PURE__ */ new Set([...f(n), ...f(t)])], a = {};
|
|
63
|
+
for (const l of o)
|
|
64
|
+
a[l] = t[l] !== void 0 ? t[l] : n[l];
|
|
65
|
+
return a;
|
|
66
|
+
};
|
|
67
|
+
export {
|
|
68
|
+
p as a,
|
|
69
|
+
T as g,
|
|
70
|
+
Z as p,
|
|
71
|
+
Y as u
|
|
72
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const n=require("vue"),v=require("./base-ef747d02.cjs"),c=require("./el-scrollbar-05815cf5.cjs"),d=require("./index-bb833443.cjs"),x=require("./index-ca7dbd47.cjs"),g=Symbol();function y(t,u,o){return t==null?t:c.baseSet(t,u,o)}const m=t=>Object.keys(t),I=(t,u,o)=>({get value(){return d.get(t,u,o)},set value(l){y(t,u,l)}}),i=n.ref();function f(t,u=void 0){const o=n.getCurrentInstance()?n.inject(g,i):i;return t?n.computed(()=>{var l,r;return(r=(l=o.value)==null?void 0:l[t])!=null?r:u}):o}function b(t,u){const o=f(),l=v.useNamespace(t,n.computed(()=>{var e;return((e=o.value)==null?void 0:e.namespace)||v.defaultNamespace})),r=d.useLocale(n.computed(()=>{var e;return(e=o.value)==null?void 0:e.locale})),s=c.useZIndex(n.computed(()=>{var e;return((e=o.value)==null?void 0:e.zIndex)||c.defaultInitialZIndex})),a=n.computed(()=>{var e;return n.unref(u)||((e=o.value)==null?void 0:e.size)||""});return C(n.computed(()=>n.unref(o)||{})),{ns:l,locale:r,zIndex:s,size:a}}const C=(t,u,o=!1)=>{var l;const r=!!n.getCurrentInstance(),s=r?f():void 0,a=(l=u==null?void 0:u.provide)!=null?l:r?n.provide:void 0;if(!a)return;const e=n.computed(()=>{const p=n.unref(t);return s!=null&&s.value?_(s.value,p):p});return a(g,e),a(d.localeContextKey,n.computed(()=>e.value.locale)),a(v.namespaceContextKey,n.computed(()=>e.value.namespace)),a(c.zIndexContextKey,n.computed(()=>e.value.zIndex)),a(c.SIZE_INJECTION_KEY,{size:n.computed(()=>e.value.size||"")}),a(x.emptyValuesContextKey,n.computed(()=>({emptyValues:e.value.emptyValues,valueOnClear:e.value.valueOnClear}))),(o||!i.value)&&(i.value=e.value),e},_=(t,u)=>{const o=[...new Set([...m(t),...m(u)])],l={};for(const r of o)l[r]=u[r]!==void 0?u[r]:t[r];return l};exports.getProp=I;exports.provideGlobalConfig=C;exports.useGlobalComponentSettings=b;exports.useGlobalConfig=f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("./el-scrollbar-
|
|
1
|
+
"use strict";const i=require("./el-scrollbar-05815cf5.cjs"),n=e=>["",...i.componentSizes].includes(e);exports.isValidComponentSize=n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const A=require("vue"),S=require("./base-ef747d02.cjs");var o=(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))(o||{});const r=e=>{const u=S.isArray(e)?e:[e],T=[];return u.forEach(E=>{var N;S.isArray(E)?T.push(...r(E)):A.isVNode(E)&&((N=E.component)!=null&&N.subTree)?T.push(E,...r(E.component.subTree)):A.isVNode(E)&&S.isArray(E.children)?T.push(...r(E.children)):A.isVNode(E)&&E.shapeFlag===2?T.push(...r(E.type())):T.push(E)}),T};exports.PatchFlags=o;exports.flattedChildren=r;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { isVNode as A } from "vue";
|
|
2
|
+
import { i as r } from "./base-f5b11441.js";
|
|
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
|
+
const S = (E) => {
|
|
5
|
+
const N = r(E) ? E : [E], e = [];
|
|
6
|
+
return N.forEach((T) => {
|
|
7
|
+
var o;
|
|
8
|
+
r(T) ? e.push(...S(T)) : A(T) && ((o = T.component) != null && o.subTree) ? e.push(T, ...S(T.component.subTree)) : A(T) && r(T.children) ? e.push(...S(T.children)) : A(T) && T.shapeFlag === 2 ? e.push(...S(T.type())) : e.push(T);
|
|
9
|
+
}), e;
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
_ as P,
|
|
13
|
+
S as f
|
|
14
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const u=require("./config-provider-
|
|
1
|
+
"use strict";const u=require("./config-provider-79c2df1b.cjs"),e=require("./base-ef747d02.cjs"),E=e.withInstall(u.ConfigProvider);var t={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",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:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},dropdown:{toggleDropdown:"切换下拉选项"},mention:{loading:"加载中"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 Delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tour:{next:"下一步",previous:"上一步",finish:"结束导览",close:"关闭此对话框"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"}}};exports.ElConfigProvider=E;exports.zhCn=t;
|
package/lib/bundle.js
CHANGED