st-comp 0.0.219 → 0.0.221
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/CustomFunction.cjs +5 -5
- package/es/CustomFunction.js +362 -299
- package/es/FactorWarning.cjs +1 -1
- package/es/FactorWarning.js +25 -25
- package/es/Kline.cjs +1 -1
- package/es/Kline.js +10 -10
- package/es/KlineBasic.cjs +1 -1
- package/es/KlineBasic.js +425 -394
- package/es/KlineConfig.cjs +1 -1
- package/es/KlineConfig.js +15 -15
- package/es/KlineNew.cjs +1 -1
- package/es/KlineNew.js +9 -9
- package/es/KlinePlus.cjs +1 -1
- package/es/KlinePlus.js +11 -11
- package/es/Pagination.cjs +1 -1
- package/es/Pagination.js +13 -13
- package/es/PasswordPrompt.cjs +1 -1
- package/es/PasswordPrompt.js +2 -2
- package/es/Table.cjs +1 -1
- package/es/Table.js +29 -29
- package/es/User.cjs +1 -1
- package/es/User.js +18 -18
- package/es/VarSelectDialog.cjs +1 -1
- package/es/VarSelectDialog.js +17 -17
- package/es/VarietyAutoComplete.cjs +1 -1
- package/es/VarietyAutoComplete.js +7 -7
- package/es/VarietySearch.cjs +1 -1
- package/es/VarietySearch.js +26 -26
- package/es/VarietyTextCopy.cjs +1 -1
- package/es/VarietyTextCopy.js +9 -9
- package/es/VirtualTable.cjs +1 -1
- package/es/VirtualTable.js +5 -5
- package/es/{_initCloneObject-6429d105.cjs → _initCloneObject-52b6a510.cjs} +1 -1
- package/es/{_initCloneObject-4f4401b6.js → _initCloneObject-eaef9418.js} +2 -2
- package/es/{config-provider-285ead82.cjs → config-provider-a584d81e.cjs} +1 -1
- package/es/{config-provider-e1736401.js → config-provider-b16efd62.js} +3 -3
- package/es/{dropdown-6ba4a93d.cjs → dropdown-071c5d7e.cjs} +1 -1
- package/es/{dropdown-73ca08ef.js → dropdown-a59bba73.js} +2 -2
- package/es/{el-autocomplete-aeb7da33.cjs → el-autocomplete-a07e9439.cjs} +1 -1
- package/es/{el-autocomplete-2180fc5c.js → el-autocomplete-ba808eb6.js} +5 -5
- package/es/{el-button-e8b725f0.js → el-button-c95adb85.js} +3 -3
- package/es/{el-button-0dbb2d4a.cjs → el-button-eec58cff.cjs} +1 -1
- package/es/{el-checkbox-df0def51.js → el-checkbox-7421ccd3.js} +3 -3
- package/es/{el-checkbox-b8c558ca.cjs → el-checkbox-c25236a6.cjs} +1 -1
- package/es/{el-dialog-4330c5bd.js → el-dialog-41ab8417.js} +4 -4
- package/es/{el-dialog-5028c704.cjs → el-dialog-ae86edb8.cjs} +1 -1
- package/es/{el-form-item-f7e8255e.cjs → el-form-item-c3fe189b.cjs} +1 -1
- package/es/{el-form-item-b816e9f3.js → el-form-item-c53c374d.js} +5 -5
- package/es/{el-input-bd1ce1e9.js → el-input-2f75c4ba.js} +4 -4
- package/es/{el-input-2e9268ac.cjs → el-input-7fd293af.cjs} +1 -1
- package/es/{el-input-number-153a3742.cjs → el-input-number-22e21d16.cjs} +1 -1
- package/es/{el-input-number-088d2c66.js → el-input-number-5193fe6d.js} +4 -4
- package/es/{el-loading-03240202.cjs → el-loading-cfd86c15.cjs} +1 -1
- package/es/{el-loading-d0dac75f.js → el-loading-f6022062.js} +1 -1
- package/es/{el-menu-item-b843f5ee.cjs → el-menu-item-17dc717e.cjs} +1 -1
- package/es/{el-menu-item-c7202455.js → el-menu-item-7e881203.js} +4 -4
- package/es/{el-message-3d8d9810.cjs → el-message-5e6a6be9.cjs} +1 -1
- package/es/{el-message-box-7a952ec7.js → el-message-box-a93d2f6a.js} +9 -9
- package/es/{el-message-box-aafae7ee.cjs → el-message-box-c10adb52.cjs} +1 -1
- package/es/{el-message-290a93ff.js → el-message-e544a8f5.js} +5 -5
- package/es/{el-overlay-f72f3f3d.js → el-overlay-09ad71cd.js} +3 -3
- package/es/{el-overlay-ab0b3c66.cjs → el-overlay-9e34965f.cjs} +1 -1
- package/es/{el-popconfirm-a4a50f14.cjs → el-popconfirm-70a976bf.cjs} +1 -1
- package/es/{el-popconfirm-bdcb65fe.js → el-popconfirm-81dcd202.js} +4 -4
- package/es/{el-popper-b0ef8ed3.js → el-popper-b4f97157.js} +1 -1
- package/es/{el-popper-b37ec1ef.cjs → el-popper-b6c99b28.cjs} +1 -1
- package/es/{el-segmented-d0a61f41.js → el-segmented-b868d074.js} +2 -2
- package/es/{el-segmented-f505fd25.cjs → el-segmented-f8fce9ac.cjs} +1 -1
- package/es/{el-select-d63dc0f6.js → el-select-95627997.js} +8 -8
- package/es/{el-select-91145989.cjs → el-select-d8d91db1.cjs} +1 -1
- package/es/{el-table-column-5ad33084.js → el-table-column-376cd907.js} +9 -9
- package/es/{el-table-column-4dae58f0.cjs → el-table-column-c974cb96.cjs} +1 -1
- package/es/{el-tag-2da70fa3.js → el-tag-66cab138.js} +2 -2
- package/es/{el-tag-891b703d.cjs → el-tag-a33c4b22.cjs} +1 -1
- package/es/{el-text-d42a3be4.js → el-text-ac60d0f2.js} +1 -1
- package/es/{el-text-cfd2f326.cjs → el-text-c20a9f48.cjs} +1 -1
- package/es/index-098c2447.cjs +1 -0
- package/es/{index-eb3ca89a.cjs → index-11547a0c.cjs} +1 -1
- package/es/{index-23d35abc.js → index-1f7d4f70.js} +1 -1
- package/es/{index-f50a50b3.cjs → index-298075cf.cjs} +1 -1
- package/es/{index-af3c738f.js → index-57672682.js} +2 -2
- package/es/{index-5108cae0.js → index-844bdd85.js} +2 -2
- package/es/{index-d6a848ac.js → index-88546436.js} +2 -2
- package/es/{index-25bc46bb.cjs → index-9b9ef5dd.cjs} +1 -1
- package/es/{index-598d418b.js → index-a871c3eb.js} +111 -92
- package/es/{index-6c252a43.cjs → index-c108567d.cjs} +1 -1
- package/es/{index-0902dd2e.js → index-d91dc23f.js} +2 -2
- package/es/{index-b99c0c42.js → index-e5566b94.js} +1 -1
- package/es/{index-d7928b14.cjs → index-f3562b52.cjs} +1 -1
- package/es/{index-7a26fd8b.cjs → index-f967d6c1.cjs} +1 -1
- package/es/style.css +1 -1
- package/es/{use-form-common-props-b995a440.js → use-form-common-props-815d48a6.js} +12 -12
- package/es/{use-form-common-props-3b387353.cjs → use-form-common-props-fd9b61a0.cjs} +1 -1
- package/es/{use-global-config-2a4156cd.cjs → use-global-config-30d7d8ce.cjs} +1 -1
- package/es/{use-global-config-e20aee8c.js → use-global-config-b5e9d3d5.js} +2 -2
- package/es/{validator-7dacff4f.cjs → validator-1b8a6128.cjs} +1 -1
- package/es/{validator-6d23708b.js → validator-764a9db0.js} +1 -1
- package/es/{zh-cn-a3c3833a.cjs → zh-cn-90317f62.cjs} +1 -1
- package/es/{zh-cn-7530f035.js → zh-cn-e963c628.js} +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +164 -164
- package/lib/{index-f90c4e75.js → index-d3e408b3.js} +16052 -15940
- package/lib/{python-8759beff.js → python-34cb78d0.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/CustomFunction/components/ManageDialog.vue +31 -30
- package/packages/CustomFunction/index.vue +59 -4
- package/packages/KlineBasic/components/AverageTips/index.vue +33 -0
- package/packages/KlineBasic/components/KlineSub/index.vue +2 -2
- package/packages/KlineBasic/components/Tips/index.vue +21 -3
- package/es/index-7a85500c.cjs +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as ee, e as te, a as M, b as ne, i as z, j as re, t as se, u as oe } from "./index-960806da.js";
|
|
2
2
|
import { M as ie, O as B, P as Z, H as P, C as ae, Q as ue, s as H, R as U, S as le, p as ce, I as de, e as fe } from "./base-a5af3db3.js";
|
|
3
3
|
import { watch as h, ref as _, getCurrentInstance as g, inject as m, computed as y, unref as w, onMounted as pe, toRef as ve, onUnmounted as me } from "vue";
|
|
4
|
-
import { l as _e,
|
|
4
|
+
import { l as _e, o as Ie, w as Oe, c as q, i as E, B as D, C as G, s as X } from "./index-a871c3eb.js";
|
|
5
5
|
var ye = function() {
|
|
6
6
|
try {
|
|
7
7
|
var e = ee(Object, "defineProperty");
|
|
@@ -9,14 +9,14 @@ var ye = function() {
|
|
|
9
9
|
} catch {
|
|
10
10
|
}
|
|
11
11
|
}();
|
|
12
|
-
const
|
|
12
|
+
const C = ye;
|
|
13
13
|
var be = 9007199254740991, ge = /^(?:0|[1-9]\d*)$/;
|
|
14
14
|
function he(e, t) {
|
|
15
15
|
var n = typeof e;
|
|
16
16
|
return t = t ?? be, !!t && (n == "number" || n != "symbol" && ge.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
17
17
|
}
|
|
18
18
|
function we(e, t, n) {
|
|
19
|
-
t == "__proto__" &&
|
|
19
|
+
t == "__proto__" && C ? C(e, t, {
|
|
20
20
|
configurable: !0,
|
|
21
21
|
enumerable: !0,
|
|
22
22
|
value: n,
|
|
@@ -32,14 +32,14 @@ var ze = 9007199254740991;
|
|
|
32
32
|
function Ve(e) {
|
|
33
33
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= ze;
|
|
34
34
|
}
|
|
35
|
-
var
|
|
36
|
-
function
|
|
37
|
-
return M(e) && ne(e) ==
|
|
35
|
+
var Ce = "[object Arguments]";
|
|
36
|
+
function x(e) {
|
|
37
|
+
return M(e) && ne(e) == Ce;
|
|
38
38
|
}
|
|
39
|
-
var J = Object.prototype,
|
|
39
|
+
var J = Object.prototype, xe = J.hasOwnProperty, Ae = J.propertyIsEnumerable, Te = x(function() {
|
|
40
40
|
return arguments;
|
|
41
|
-
}()) ?
|
|
42
|
-
return M(e) &&
|
|
41
|
+
}()) ? x : function(e) {
|
|
42
|
+
return M(e) && xe.call(e, "callee") && !Ae.call(e, "callee");
|
|
43
43
|
};
|
|
44
44
|
const ke = Te;
|
|
45
45
|
function et(e, t) {
|
|
@@ -83,12 +83,12 @@ function O(...e) {
|
|
|
83
83
|
};
|
|
84
84
|
return P(u), u;
|
|
85
85
|
}
|
|
86
|
-
let
|
|
86
|
+
let A = !1;
|
|
87
87
|
function nt(e, t, n = {}) {
|
|
88
88
|
const { window: r = b, ignore: o = [], capture: c = !0, detectIframe: s = !1 } = n;
|
|
89
89
|
if (!r)
|
|
90
90
|
return;
|
|
91
|
-
ae && !
|
|
91
|
+
ae && !A && (A = !0, Array.from(r.document.body.children).forEach((l) => l.addEventListener("click", B)));
|
|
92
92
|
let i = !0;
|
|
93
93
|
const a = (l) => o.some((f) => {
|
|
94
94
|
if (typeof f == "string")
|
|
@@ -359,6 +359,6 @@ export {
|
|
|
359
359
|
nt as v,
|
|
360
360
|
ot as w,
|
|
361
361
|
at as x,
|
|
362
|
-
|
|
362
|
+
C as y,
|
|
363
363
|
Ve as z
|
|
364
364
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const I=require("./index-9780a537.cjs"),v=require("./base-ef747d02.cjs"),o=require("vue"),_=require("./index-
|
|
1
|
+
"use strict";const I=require("./index-9780a537.cjs"),v=require("./base-ef747d02.cjs"),o=require("vue"),_=require("./index-098c2447.cjs");var G=function(){try{var e=I.getNative(Object,"defineProperty");return e({},"",{}),e}catch{}}();const w=G;var J=9007199254740991,V=/^(?:0|[1-9]\d*)$/;function K(e,t){var n=typeof e;return t=t??J,!!t&&(n=="number"||n!="symbol"&&V.test(e))&&e>-1&&e%1==0&&e<t}function W(e,t,n){t=="__proto__"&&w?w(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var X=Object.prototype,Y=X.hasOwnProperty;function R(e,t,n){var r=e[t];(!(Y.call(e,t)&&I.eq(r,n))||n===void 0&&!(t in e))&&W(e,t,n)}var k=9007199254740991;function ee(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=k}var te="[object Arguments]";function S(e){return I.isObjectLike(e)&&I.baseGetTag(e)==te}var M=Object.prototype,ne=M.hasOwnProperty,re=M.propertyIsEnumerable,oe=S(function(){return arguments}())?S:function(e){return I.isObjectLike(e)&&ne.call(e,"callee")&&!re.call(e,"callee")};const ie=oe;function se(e,t){for(var n=-1,r=t.length,s=e.length;++n<r;)e[s+n]=t[n];return e}function ue(e,t,n,r){if(!I.isObject(e))return e;t=I.castPath(t,e);for(var s=-1,d=t.length,i=d-1,u=e;u!=null&&++s<d;){var l=I.toKey(t[s]),a=n;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(s!=i){var f=u[l];a=r?r(f,l,u):void 0,a===void 0&&(a=I.isObject(f)?f:K(t[s+1])?[]:{})}R(u,l,a),u=u[l]}return e}function O(e){var t;const n=v.resolveUnref(e);return(t=n==null?void 0:n.$el)!=null?t:n}const g=v.isClient?window:void 0;function b(...e){let t,n,r,s;if(v.isString$1(e[0])||Array.isArray(e[0])?([n,r,s]=e,t=g):[t,n,r,s]=e,!t)return v.noop;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const d=[],i=()=>{d.forEach(f=>f()),d.length=0},u=(f,m,c,p)=>(f.addEventListener(m,c,p),()=>f.removeEventListener(m,c,p)),l=o.watch(()=>[O(t),v.resolveUnref(s)],([f,m])=>{i(),f&&d.push(...n.flatMap(c=>r.map(p=>u(f,c,p,m))))},{immediate:!0,flush:"post"}),a=()=>{l(),i()};return v.tryOnScopeDispose(a),a}let P=!1;function le(e,t,n={}){const{window:r=g,ignore:s=[],capture:d=!0,detectIframe:i=!1}=n;if(!r)return;v.isIOS&&!P&&(P=!0,Array.from(r.document.body.children).forEach(c=>c.addEventListener("click",v.noop)));let u=!0;const l=c=>s.some(p=>{if(typeof p=="string")return Array.from(r.document.querySelectorAll(p)).some(y=>y===c.target||c.composedPath().includes(y));{const y=O(p);return y&&(c.target===y||c.composedPath().includes(y))}}),f=[b(r,"click",c=>{const p=O(e);if(!(!p||p===c.target||c.composedPath().includes(p))){if(c.detail===0&&(u=!l(c)),!u){u=!0;return}t(c)}},{passive:!0,capture:d}),b(r,"pointerdown",c=>{const p=O(e);p&&(u=!c.composedPath().includes(p)&&!l(c))},{passive:!0}),i&&b(r,"blur",c=>{var p;const y=O(e);((p=r.document.activeElement)==null?void 0:p.tagName)==="IFRAME"&&!(y!=null&&y.contains(r.document.activeElement))&&t(c)})].filter(Boolean);return()=>f.forEach(c=>c())}function ae(e={}){var t;const{window:n=g}=e,r=(t=e.document)!=null?t:n==null?void 0:n.document,s=v.computedWithControl(()=>null,()=>r==null?void 0:r.activeElement);return n&&(b(n,"blur",d=>{d.relatedTarget===null&&s.trigger()},!0),b(n,"focus",s.trigger,!0)),s}function Z(e,t=!1){const n=o.ref(),r=()=>n.value=!!e();return r(),v.tryOnMounted(r,t),n}const C=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},x="__vueuse_ssr_handlers__";C[x]=C[x]||{};var z=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,fe=(e,t)=>{var n={};for(var r in e)ce.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&z)for(var r of z(e))t.indexOf(r)<0&&de.call(e,r)&&(n[r]=e[r]);return n};function pe(e,t,n={}){const r=n,{window:s=g}=r,d=fe(r,["window"]);let i;const u=Z(()=>s&&"ResizeObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},a=o.watch(()=>O(e),m=>{l(),u.value&&s&&m&&(i=new ResizeObserver(t),i.observe(m,d))},{immediate:!0,flush:"post"}),f=()=>{l(),a()};return v.tryOnScopeDispose(f),{isSupported:u,stop:f}}var j=Object.getOwnPropertySymbols,ve=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,_e=(e,t)=>{var n={};for(var r in e)ve.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&j)for(var r of j(e))t.indexOf(r)<0&&me.call(e,r)&&(n[r]=e[r]);return n};function Ie(e,t,n={}){const r=n,{window:s=g}=r,d=_e(r,["window"]);let i;const u=Z(()=>s&&"MutationObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},a=o.watch(()=>O(e),m=>{l(),u.value&&s&&m&&(i=new MutationObserver(t),i.observe(m,d))},{immediate:!0}),f=()=>{l(),a()};return v.tryOnScopeDispose(f),{isSupported:u,stop:f}}var A;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(A||(A={}));var ye=Object.defineProperty,T=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,F=(e,t,n)=>t in e?ye(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ge=(e,t)=>{for(var n in t||(t={}))Oe.call(t,n)&&F(e,n,t[n]);if(T)for(var n of T(t))be.call(t,n)&&F(e,n,t[n]);return e};const he={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};ge({linear:v.identity},he);function we(e={}){const{window:t=g,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:s=!0,includeScrollbar:d=!0}=e,i=o.ref(n),u=o.ref(r),l=()=>{t&&(d?(i.value=t.innerWidth,u.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,u.value=t.document.documentElement.clientHeight))};return l(),v.tryOnMounted(l),b("resize",l,{passive:!0}),s&&b("orientationchange",l,{passive:!0}),{width:i,height:u}}const N={current:0},$=o.ref(0),Q=2e3,L=Symbol("elZIndexContextKey"),q=Symbol("zIndexContextKey"),Ee=e=>{const t=o.getCurrentInstance()?o.inject(L,N):N,n=e||(o.getCurrentInstance()?o.inject(q,void 0):void 0),r=o.computed(()=>{const i=o.unref(n);return v.isNumber(i)?i:Q}),s=o.computed(()=>r.value+$.value),d=()=>(t.current++,$.value=t.current,s.value);return!v.isClient&&o.inject(L),{initialZIndex:r,currentZIndex:s,nextZIndex:d}},U=["","default","small","large"],Se=v.buildProp({type:String,values:U,required:!1}),B=Symbol("size"),D=()=>{const e=o.inject(B,{});return o.computed(()=>o.unref(e.size)||"")},Pe=v.definePropType([String,Object,Function]),Ce={Close:_.close_default},xe={Close:_.close_default,SuccessFilled:_.success_filled_default,InfoFilled:_.info_filled_default,WarningFilled:_.warning_filled_default,CircleCloseFilled:_.circle_close_filled_default},ze={primary:_.info_filled_default,success:_.success_filled_default,warning:_.warning_filled_default,error:_.circle_close_filled_default,info:_.info_filled_default},je={validating:_.loading_default,success:_.circle_check_default,error:_.circle_close_default},h=Symbol("formContextKey"),E=Symbol("formItemContextKey"),Ae=()=>{const e=o.inject(h,void 0),t=o.inject(E,void 0);return{form:e,formItem:t}},Te=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:r})=>{n||(n=o.ref(!1)),r||(r=o.ref(!1));const s=o.getCurrentInstance(),d=()=>{let a=s==null?void 0:s.parent;for(;a;){if(a.type.name==="ElFormItem")return!1;if(a.type.name==="ElLabelWrap")return!0;a=a.parent}return!1},i=o.ref();let u;const l=o.computed(()=>{var a;return!!(!(e.label||e.ariaLabel)&&t&&t.inputIds&&((a=t.inputIds)==null?void 0:a.length)<=1)});return o.onMounted(()=>{u=o.watch([o.toRef(e,"id"),n],([a,f])=>{const m=a??(f?void 0:I.useId().value);m!==i.value&&(t!=null&&t.removeInputId&&!d()&&(i.value&&t.removeInputId(i.value),!(r!=null&&r.value)&&!f&&m&&t.addInputId(m)),i.value=m)},{immediate:!0})}),o.onUnmounted(()=>{u&&u(),t!=null&&t.removeInputId&&i.value&&t.removeInputId(i.value)}),{isLabeledByFormItem:l,inputId:i}},H=e=>{const t=o.getCurrentInstance();return o.computed(()=>{var n,r;return(r=(n=t==null?void 0:t.proxy)==null?void 0:n.$props)==null?void 0:r[e]})},Fe=(e,t={})=>{const n=o.ref(void 0),r=t.prop?n:H("size"),s=t.global?n:D(),d=t.form?{size:void 0}:o.inject(h,void 0),i=t.formItem?{size:void 0}:o.inject(E,void 0);return o.computed(()=>r.value||o.unref(e)||(i==null?void 0:i.size)||(d==null?void 0:d.size)||s.value||"")},Ne=e=>{const t=H("disabled"),n=o.inject(h,void 0);return o.computed(()=>t.value||o.unref(e)||(n==null?void 0:n.disabled)||!1)};exports.CloseComponents=Ce;exports.SIZE_INJECTION_KEY=B;exports.TypeComponents=xe;exports.TypeComponentsMap=ze;exports.ValidateComponentsMap=je;exports.arrayPush=se;exports.assignValue=R;exports.baseAssignValue=W;exports.baseSet=ue;exports.componentSizes=U;exports.defaultInitialZIndex=Q;exports.defineProperty=w;exports.formContextKey=h;exports.formItemContextKey=E;exports.iconPropType=Pe;exports.isArguments=ie;exports.isIndex=K;exports.isLength=ee;exports.onClickOutside=le;exports.unrefElement=O;exports.useActiveElement=ae;exports.useEventListener=b;exports.useFormDisabled=Ne;exports.useFormItem=Ae;exports.useFormItemInputId=Te;exports.useFormSize=Fe;exports.useGlobalSize=D;exports.useMutationObserver=Ie;exports.useResizeObserver=pe;exports.useSizeProp=Se;exports.useWindowSize=we;exports.useZIndex=Ee;exports.zIndexContextKey=q;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("vue"),v=require("./base-ef747d02.cjs"),c=require("./use-form-common-props-
|
|
1
|
+
"use strict";const n=require("vue"),v=require("./base-ef747d02.cjs"),c=require("./use-form-common-props-fd9b61a0.cjs"),d=require("./index-bb833443.cjs"),x=require("./index-c108567d.cjs"),g=Symbol();function y(o,u,t){return o==null?o:c.baseSet(o,u,t)}const m=o=>Object.keys(o),I=(o,u,t)=>({get value(){return d.get(o,u,t)},set value(l){y(o,u,l)}}),i=n.ref();function f(o,u=void 0){const t=n.getCurrentInstance()?n.inject(g,i):i;return o?n.computed(()=>{var l,r;return(r=(l=t.value)==null?void 0:l[o])!=null?r:u}):t}function _(o,u){const t=f(),l=v.useNamespace(o,n.computed(()=>{var e;return((e=t.value)==null?void 0:e.namespace)||v.defaultNamespace})),r=d.useLocale(n.computed(()=>{var e;return(e=t.value)==null?void 0:e.locale})),s=c.useZIndex(n.computed(()=>{var e;return((e=t.value)==null?void 0:e.zIndex)||c.defaultInitialZIndex})),a=n.computed(()=>{var e;return n.unref(u)||((e=t.value)==null?void 0:e.size)||""});return C(n.computed(()=>n.unref(t)||{})),{ns:l,locale:r,zIndex:s,size:a}}const C=(o,u,t=!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(o);return s!=null&&s.value?b(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}))),(t||!i.value)&&(i.value=e.value),e},b=(o,u)=>{const t=[...new Set([...m(o),...m(u)])],l={};for(const r of t)l[r]=u[r]!==void 0?u[r]:o[r];return l};exports.getProp=I;exports.provideGlobalConfig=C;exports.useGlobalComponentSettings=_;exports.useGlobalConfig=f;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as g, getCurrentInstance as d, provide as C, computed as u, unref as v, inject as x } from "vue";
|
|
2
2
|
import { L as y, u as I, E as _ } from "./base-a5af3db3.js";
|
|
3
|
-
import { A as z, B as S, S as K, x as O, D as b } from "./use-form-common-props-
|
|
3
|
+
import { A as z, B as S, S as K, x as O, D as b } from "./use-form-common-props-815d48a6.js";
|
|
4
4
|
import { g as E, l as N, u as k } from "./index-d77a7336.js";
|
|
5
|
-
import { q as G } from "./index-
|
|
5
|
+
import { q as G } from "./index-e5566b94.js";
|
|
6
6
|
const m = Symbol();
|
|
7
7
|
function V(n, t, o) {
|
|
8
8
|
return n == null ? n : z(n, t, o);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./use-form-common-props-
|
|
1
|
+
"use strict";const e=require("./use-form-common-props-fd9b61a0.cjs"),i=o=>["",...e.componentSizes].includes(o);exports.isValidComponentSize=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const u=require("./config-provider-
|
|
1
|
+
"use strict";const u=require("./config-provider-a584d81e.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