st-comp 0.0.92 → 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.
- package/components.d.ts +1 -0
- package/es/ChartLayout.cjs +1 -1
- package/es/ChartLayout.js +2 -2
- package/es/Dialog.cjs +1 -1
- package/es/Dialog.js +10 -10
- package/es/FactorWarning.cjs +1 -1
- package/es/FactorWarning.js +131 -129
- package/es/Kline.cjs +1 -1
- package/es/Kline.js +9 -9
- package/es/KlineNew.cjs +1 -1
- package/es/KlineNew.js +8 -8
- package/es/Pagination.cjs +1 -1
- package/es/Pagination.js +11 -11
- package/es/Table.cjs +1 -1
- package/es/Table.js +12 -12
- package/es/VarietySearch.cjs +1 -1
- package/es/VarietySearch.js +1300 -793
- package/es/VirtualTable.cjs +3 -3
- package/es/VirtualTable.js +9 -9
- package/es/{base-1bc9f12c.js → base-6e64c2e6.js} +7 -7
- package/es/{base-315cbfab.cjs → base-8776b83e.cjs} +1 -1
- package/es/castArray-59d5ae43.cjs +1 -0
- package/es/{castArray-f42865a2.js → castArray-8ec29ca6.js} +1 -1
- package/es/{config-provider-17c85684.cjs → config-provider-76ef1b35.cjs} +1 -1
- package/es/{config-provider-c8d3957d.js → config-provider-f4278c8e.js} +7 -7
- package/es/{el-button-93e0ac7c.js → el-button-4c7ae9df.js} +36 -36
- package/es/{el-button-ec16f484.cjs → el-button-65e4598f.cjs} +1 -1
- package/es/{el-empty-0c85d9b7.js → el-empty-05e13b3c.js} +1 -1
- package/es/{el-empty-16ceef82.cjs → el-empty-dfe11c21.cjs} +1 -1
- package/es/{el-input-a8791103.cjs → el-input-11327619.cjs} +3 -3
- package/es/{el-input-29806e42.js → el-input-f4898cfa.js} +38 -37
- package/es/{el-overlay-6d0c5cc3.cjs → el-overlay-9d9c6ba9.cjs} +1 -1
- package/es/{el-overlay-53eb27a5.js → el-overlay-d7af7dda.js} +6 -6
- package/es/{el-popover-1d087574.cjs → el-popover-4a4a4b02.cjs} +1 -1
- package/es/{el-popover-dd66e2c8.js → el-popover-dc9c7ff7.js} +4 -4
- package/es/{el-radio-group-caebab9d.js → el-radio-group-a31fb7c0.js} +13 -13
- package/es/{el-radio-group-46e8f574.cjs → el-radio-group-cc2d6c87.cjs} +1 -1
- package/es/{el-scrollbar-e17fad47.js → el-scrollbar-a00aca2f.js} +12 -12
- package/es/{el-scrollbar-9473fd47.cjs → el-scrollbar-f197b544.cjs} +1 -1
- package/es/{el-select-64511731.cjs → el-select-5dbb0da3.cjs} +1 -1
- package/es/{el-select-ac302f3c.js → el-select-b9cf452e.js} +51 -51
- package/es/el-table-column-1e15361e.cjs +20 -0
- package/es/{el-table-column-b8e2141b.js → el-table-column-675f51e6.js} +69 -69
- package/es/el-tag-c9d5baa7.cjs +1 -0
- package/es/{el-tag-9493bdff.js → el-tag-f878b1f1.js} +12 -12
- package/es/{focus-trap-1b2aef75.js → focus-trap-2677bd39.js} +1 -1
- package/es/{focus-trap-ea177336.cjs → focus-trap-5f42842b.cjs} +1 -1
- package/es/{raf-6d7e80f4.js → raf-32ed81f4.js} +1 -1
- package/es/{raf-c437ab23.cjs → raf-7c366b55.cjs} +1 -1
- package/es/{scroll-a80e1458.cjs → scroll-22a00b05.cjs} +1 -1
- package/es/{scroll-a928a93e.js → scroll-9b9249e9.js} +1 -1
- package/es/style.css +1 -1
- package/es/{use-form-item-7924b6c1.cjs → use-form-item-67e7ef93.cjs} +1 -1
- package/es/{use-form-item-aeec8499.js → use-form-item-bfc7dddf.js} +21 -21
- package/es/{use-global-config-b07c467a.js → use-global-config-89daeba3.js} +23 -23
- package/es/{use-global-config-d02be80b.cjs → use-global-config-f9103903.cjs} +1 -1
- package/es/{vnode-85a610a2.cjs → vnode-69f3ca85.cjs} +1 -1
- package/es/{vnode-aa872900.js → vnode-aa3448ec.js} +1 -1
- package/es/{zh-cn-0024c96d.cjs → zh-cn-720e514b.cjs} +1 -1
- package/es/{zh-cn-d29347f8.js → zh-cn-e662dc89.js} +2 -2
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +193 -193
- package/lib/{index-74cdff5f.js → index-5d6aca6c.js} +28012 -27503
- package/lib/{python-ed84da20.js → python-dae8be67.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/FactorWarning/index.vue +28 -13
- package/packages/VarietySearch/components/CommonIndicator/index.vue +270 -112
- package/packages/VarietySearch/config.js +12 -1
- package/packages/VarietySearch/index.vue +8 -0
- package/src/pages/FactorWarning/index.vue +850 -8
- package/es/castArray-f54f6f75.cjs +0 -1
- package/es/el-table-column-773986c7.cjs +0 -20
- package/es/el-tag-a6a4d4ef.cjs +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { X as it, Q as $e, R as Lr,
|
|
2
|
-
import {
|
|
1
|
+
import { X as it, Q as $e, R as Lr, z as ke, P as lt, Y as Dr, B as Ee, Z as Pt, $ as nt, a0 as Nn, a1 as Ie, S as Qt, O as jr, A as Fr, V as Nr, a2 as Ct, a3 as Hn, J as Hr, U as kr, a4 as kn, d as B, v as Ve, o as ve, l as zn, M as en, a5 as zr, a6 as Ur, a7 as Wr, b as X, k as Te, _ as ee, u as ye, t as Kr, m as tn, e as Un, j as rt, w as Rt, N as ht, x as ze, s as Gr, C as qr } from "./base-6e64c2e6.js";
|
|
2
|
+
import { H as Wn, z as Xr, s as nn } from "./use-form-item-bfc7dddf.js";
|
|
3
3
|
import { getCurrentInstance as Yr, computed as P, watch as F, onMounted as Ke, unref as d, shallowRef as Zr, ref as C, onBeforeUnmount as Be, onBeforeMount as Jr, provide as Ae, defineComponent as j, inject as le, toRef as de, openBlock as H, createBlock as oe, Transition as Kn, withCtx as J, withDirectives as xt, createElementVNode as yt, normalizeClass as ge, normalizeStyle as ot, vShow as Gn, createElementBlock as _e, Fragment as qn, createVNode as he, nextTick as rn, reactive as Vr, onUpdated as Qr, resolveDynamicComponent as eo, renderSlot as ie, createCommentVNode as Se, cloneVNode as to, Text as no, Comment as ro, mergeProps as Mt, Teleport as oo, readonly as ao, onDeactivated as so, toDisplayString as io } from "vue";
|
|
4
|
-
import { B as lo, r as uo, a as bt, G as Oe, u as co, b as Xn, o as fo } from "./el-scrollbar-
|
|
5
|
-
import { i as Yn, a as po, E as on } from "./focus-trap-
|
|
4
|
+
import { B as lo, r as uo, a as bt, G as Oe, u as co, b as Xn, o as fo } from "./el-scrollbar-a00aca2f.js";
|
|
5
|
+
import { i as Yn, a as po, E as on } from "./focus-trap-2677bd39.js";
|
|
6
6
|
const ne = (e, t, { checkForDefaultPrevented: n = !0 } = {}) => (o) => {
|
|
7
7
|
const a = e == null ? void 0 : e(o);
|
|
8
8
|
if (n === !1 || !a)
|
|
@@ -2389,17 +2389,17 @@ export {
|
|
|
2389
2389
|
re as S,
|
|
2390
2390
|
bn as U,
|
|
2391
2391
|
Sr as a,
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2392
|
+
ql as b,
|
|
2393
|
+
da as c,
|
|
2394
|
+
Sa as d,
|
|
2395
|
+
yn as e,
|
|
2396
|
+
ea as f,
|
|
2397
2397
|
_a as g,
|
|
2398
|
-
|
|
2398
|
+
Tt as h,
|
|
2399
2399
|
Gl as i,
|
|
2400
|
-
|
|
2400
|
+
pn as j,
|
|
2401
2401
|
tr as k,
|
|
2402
|
-
|
|
2402
|
+
Kl as l,
|
|
2403
2403
|
Bt as m,
|
|
2404
2404
|
un as n,
|
|
2405
2405
|
vo as o,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { onMounted as N, onBeforeUnmount as O, ref as w, defineComponent as te, provide as ne, watch as S, unref as T, nextTick as $, renderSlot as se } from "vue";
|
|
2
|
-
import { o as M, _ as oe, i as re } from "./base-
|
|
2
|
+
import { o as M, _ as oe, i as re } from "./base-6e64c2e6.js";
|
|
3
3
|
function ce(e) {
|
|
4
4
|
return e == null;
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("vue"),P=require("./base-
|
|
1
|
+
"use strict";const r=require("vue"),P=require("./base-8776b83e.cjs");function W(e){return e==null}const g={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},X="update:modelValue",Z="change",ee="input";let v=[];const B=e=>{const n=e;n.key===g.esc&&v.forEach(o=>o(n))},te=e=>{r.onMounted(()=>{v.length===0&&document.addEventListener("keydown",B),P.isClient&&v.push(e)}),r.onBeforeUnmount(()=>{v=v.filter(n=>n!==e),v.length===0&&P.isClient&&document.removeEventListener("keydown",B)})},C="focus-trap.focus-after-trapped",S="focus-trap.focus-after-released",ne="focus-trap.focusout-prevented",M={cancelable:!0,bubbles:!1},oe={cancelable:!0,bubbles:!1},x="focusAfterTrapped",$="focusAfterReleased",Y=Symbol("elFocusTrap"),L=r.ref(),w=r.ref(0),O=r.ref(0);let F=0;const z=e=>{const n=[],o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{const u=s.tagName==="INPUT"&&s.type==="hidden";return s.disabled||s.hidden||u?NodeFilter.FILTER_SKIP:s.tabIndex>=0||s===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)n.push(o.currentNode);return n},q=(e,n)=>{for(const o of e)if(!se(o,n))return o},se=(e,n)=>{if(process.env.NODE_ENV==="test")return!1;if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},re=e=>{const n=z(e),o=q(n,e),s=q(n.reverse(),e);return[o,s]},ce=e=>e instanceof HTMLInputElement&&"select"in e,E=(e,n)=>{if(e&&e.focus){const o=document.activeElement;e.focus({preventScroll:!0}),O.value=window.performance.now(),e!==o&&ce(e)&&n&&e.select()}};function j(e,n){const o=[...e],s=e.indexOf(n);return s!==-1&&o.splice(s,1),o}const ue=()=>{let e=[];return{push:s=>{const u=e[0];u&&s!==u&&u.pause(),e=j(e,s),e.unshift(s)},remove:s=>{var u,d;e=j(e,s),(d=(u=e[0])==null?void 0:u.resume)==null||d.call(u)}}},ae=(e,n=!1)=>{const o=document.activeElement;for(const s of e)if(E(s,n),document.activeElement!==o)return},G=ue(),ie=()=>w.value>O.value,_=()=>{L.value="pointer",w.value=window.performance.now()},J=()=>{L.value="keyboard",w.value=window.performance.now()},fe=()=>(r.onMounted(()=>{F===0&&(document.addEventListener("mousedown",_),document.addEventListener("touchstart",_),document.addEventListener("keydown",J)),F++}),r.onBeforeUnmount(()=>{F--,F<=0&&(document.removeEventListener("mousedown",_),document.removeEventListener("touchstart",_),document.removeEventListener("keydown",J))}),{focusReason:L,lastUserFocusTimestamp:w,lastAutomatedFocusTimestamp:O}),b=e=>new CustomEvent(ne,{...oe,detail:e}),de=r.defineComponent({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[x,$,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:n}){const o=r.ref();let s,u;const{focusReason:d}=fe();te(t=>{e.trapped&&!p.paused&&n("release-requested",t)});const p={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},m=t=>{if(!e.loop&&!e.trapped||p.paused)return;const{key:c,altKey:a,ctrlKey:i,metaKey:f,currentTarget:V,shiftKey:K}=t,{loop:H}=e,Q=c===g.tab&&!a&&!i&&!f,T=document.activeElement;if(Q&&T){const N=V,[y,h]=re(N);if(y&&h){if(!K&&T===h){const l=b({focusReason:d.value});n("focusout-prevented",l),l.defaultPrevented||(t.preventDefault(),H&&E(y,!0))}else if(K&&[y,N].includes(T)){const l=b({focusReason:d.value});n("focusout-prevented",l),l.defaultPrevented||(t.preventDefault(),H&&E(h,!0))}}else if(T===N){const l=b({focusReason:d.value});n("focusout-prevented",l),l.defaultPrevented||t.preventDefault()}}};r.provide(Y,{focusTrapRef:o,onKeydown:m}),r.watch(()=>e.focusTrapEl,t=>{t&&(o.value=t)},{immediate:!0}),r.watch([o],([t],[c])=>{t&&(t.addEventListener("keydown",m),t.addEventListener("focusin",R),t.addEventListener("focusout",k)),c&&(c.removeEventListener("keydown",m),c.removeEventListener("focusin",R),c.removeEventListener("focusout",k))});const A=t=>{n(x,t)},U=t=>n($,t),R=t=>{const c=r.unref(o);if(!c)return;const a=t.target,i=t.relatedTarget,f=a&&c.contains(a);e.trapped||i&&c.contains(i)||(s=i),f&&n("focusin",t),!p.paused&&e.trapped&&(f?u=a:E(u,!0))},k=t=>{const c=r.unref(o);if(!(p.paused||!c))if(e.trapped){const a=t.relatedTarget;!W(a)&&!c.contains(a)&&setTimeout(()=>{if(!p.paused&&e.trapped){const i=b({focusReason:d.value});n("focusout-prevented",i),i.defaultPrevented||E(u,!0)}},0)}else{const a=t.target;a&&c.contains(a)||n("focusout",t)}};async function I(){await r.nextTick();const t=r.unref(o);if(t){G.push(p);const c=t.contains(document.activeElement)?s:document.activeElement;if(s=c,!t.contains(c)){const i=new Event(C,M);t.addEventListener(C,A),t.dispatchEvent(i),i.defaultPrevented||r.nextTick(()=>{let f=e.focusStartEl;P.isString(f)||(E(f),document.activeElement!==f&&(f="first")),f==="first"&&ae(z(t),!0),(document.activeElement===c||f==="container")&&E(t)})}}}function D(){const t=r.unref(o);if(t){t.removeEventListener(C,A);const c=new CustomEvent(S,{...M,detail:{focusReason:d.value}});t.addEventListener(S,U),t.dispatchEvent(c),!c.defaultPrevented&&(d.value=="keyboard"||!ie()||t.contains(document.activeElement))&&E(s??document.body),t.removeEventListener(S,U),G.remove(p)}}return r.onMounted(()=>{e.trapped&&I(),r.watch(()=>e.trapped,t=>{t?I():D()})}),r.onBeforeUnmount(()=>{e.trapped&&D()}),{onKeydown:m}}});function le(e,n,o,s,u,d){return r.renderSlot(e.$slots,"default",{handleKeydown:e.onKeydown})}var Ee=P._export_sfc(de,[["render",le],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);exports.CHANGE_EVENT=Z;exports.EVENT_CODE=g;exports.ElFocusTrap=Ee;exports.FOCUS_TRAP_INJECTION_KEY=Y;exports.INPUT_EVENT=ee;exports.UPDATE_MODEL_EVENT=X;exports.isNil=W;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("./base-
|
|
1
|
+
"use strict";const i=require("./base-8776b83e.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 +1 @@
|
|
|
1
|
-
"use strict";const c=require("./base-
|
|
1
|
+
"use strict";const c=require("./base-8776b83e.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;
|