st-comp 0.0.263 → 0.0.267

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 (125) hide show
  1. package/es/CustomFunction.cjs +1 -1
  2. package/es/CustomFunction.js +22 -22
  3. package/es/FactorWarning.cjs +1 -1
  4. package/es/FactorWarning.js +26 -26
  5. package/es/Kline.cjs +1 -1
  6. package/es/Kline.js +11 -11
  7. package/es/KlineBasic.cjs +1 -1
  8. package/es/KlineBasic.js +19 -19
  9. package/es/KlineConfig.cjs +1 -1
  10. package/es/KlineConfig.js +16 -16
  11. package/es/KlineNew.cjs +1 -1
  12. package/es/KlineNew.js +10 -10
  13. package/es/KlinePlus.cjs +1 -1
  14. package/es/KlinePlus.js +12 -12
  15. package/es/MonacoEditor.cjs +1 -1
  16. package/es/MonacoEditor.js +18 -18
  17. package/es/Pagination.cjs +1 -1
  18. package/es/Pagination.js +14 -14
  19. package/es/PasswordPrompt.cjs +1 -1
  20. package/es/PasswordPrompt.js +2 -2
  21. package/es/Table.cjs +1 -1
  22. package/es/Table.js +18 -18
  23. package/es/User.cjs +1 -1
  24. package/es/User.js +19 -19
  25. package/es/VarSelectDialog.cjs +1 -1
  26. package/es/VarSelectDialog.js +19 -19
  27. package/es/VarietyAiHelper.cjs +3 -3
  28. package/es/VarietyAiHelper.js +301 -280
  29. package/es/VarietyAutoComplete.cjs +1 -1
  30. package/es/VarietyAutoComplete.js +8 -8
  31. package/es/VarietySearch.cjs +1 -1
  32. package/es/VarietySearch.js +31 -31
  33. package/es/{VarietySelect-9f267958.js → VarietySelect-1ac10ec2.js} +3 -3
  34. package/es/{VarietySelect-5c845562.cjs → VarietySelect-639a8d9a.cjs} +1 -1
  35. package/es/VarietyTextCopy.cjs +1 -1
  36. package/es/VarietyTextCopy.js +10 -10
  37. package/es/VirtualTable.cjs +1 -1
  38. package/es/VirtualTable.js +66 -66
  39. package/es/{_initCloneObject-69c8ae23.js → _initCloneObject-6b8c230e.js} +2 -2
  40. package/es/{_initCloneObject-2b82e9f7.cjs → _initCloneObject-9eddcb0c.cjs} +1 -1
  41. package/es/aiTools-822859d6.cjs +4 -0
  42. package/es/aiTools-9a9c997f.js +149 -0
  43. package/es/aiTools.js +92 -1
  44. package/es/{config-provider-7860903c.js → config-provider-56193d47.js} +3 -3
  45. package/es/{config-provider-2ae47cc8.cjs → config-provider-ea286661.cjs} +1 -1
  46. package/es/{dropdown-497442b7.js → dropdown-4e541d60.js} +3 -3
  47. package/es/{dropdown-eba9eaf5.cjs → dropdown-f30148cc.cjs} +1 -1
  48. package/es/{el-autocomplete-b59eb529.cjs → el-autocomplete-3949e68c.cjs} +1 -1
  49. package/es/{el-autocomplete-27c60cc8.js → el-autocomplete-4b521c83.js} +6 -6
  50. package/es/{el-button-e2c63c08.js → el-button-4f201000.js} +3 -3
  51. package/es/{el-button-974ff9e9.cjs → el-button-dd065de0.cjs} +1 -1
  52. package/es/{el-checkbox-08185353.cjs → el-checkbox-02ce40f0.cjs} +1 -1
  53. package/es/{el-checkbox-71ebd862.js → el-checkbox-33cb73db.js} +3 -3
  54. package/es/{el-dialog-eedcfd3e.js → el-dialog-1939f7c5.js} +4 -4
  55. package/es/{el-dialog-1b185570.cjs → el-dialog-6501a151.cjs} +1 -1
  56. package/es/{el-form-item-c997b4fa.cjs → el-form-item-316b35d8.cjs} +1 -1
  57. package/es/{el-form-item-bdcfd297.js → el-form-item-ea11211d.js} +5 -5
  58. package/es/{el-input-fa18ef84.cjs → el-input-094afbe2.cjs} +1 -1
  59. package/es/{el-input-d47281da.js → el-input-58786d42.js} +32 -32
  60. package/es/{el-input-number-3d94fa58.cjs → el-input-number-a609a5e3.cjs} +1 -1
  61. package/es/{el-input-number-c8018cb1.js → el-input-number-a7971697.js} +14 -14
  62. package/es/{el-loading-969a79ca.cjs → el-loading-d171ce64.cjs} +1 -1
  63. package/es/{el-loading-0cd81d05.js → el-loading-f3815921.js} +1 -1
  64. package/es/{el-menu-item-26071fd6.cjs → el-menu-item-3d1e0aff.cjs} +1 -1
  65. package/es/{el-menu-item-dac65bb3.js → el-menu-item-a166b997.js} +5 -5
  66. package/es/{el-message-box-31e0aa98.cjs → el-message-box-b8ffcf34.cjs} +1 -1
  67. package/es/{el-message-box-fea4fca8.js → el-message-box-f2b667e9.js} +9 -9
  68. package/es/{el-overlay-1ee0338d.js → el-overlay-1dfe3675.js} +3 -3
  69. package/es/{el-overlay-ea65cb05.cjs → el-overlay-a94f8a98.cjs} +1 -1
  70. package/es/{el-popconfirm-9e232436.cjs → el-popconfirm-70e2849c.cjs} +1 -1
  71. package/es/{el-popconfirm-089b8bec.js → el-popconfirm-ca31ceea.js} +5 -5
  72. package/es/{el-popper-2d3914e4.cjs → el-popper-ce575c12.cjs} +1 -1
  73. package/es/{el-popper-c9b3d3cf.js → el-popper-db6c599f.js} +2 -2
  74. package/es/{el-segmented-140ac042.cjs → el-segmented-4d50b63f.cjs} +1 -1
  75. package/es/{el-segmented-9d3a9e11.js → el-segmented-741f2252.js} +2 -2
  76. package/es/{el-select-e51e11c1.js → el-select-086bcb6c.js} +9 -9
  77. package/es/{el-select-a11f33e8.cjs → el-select-2ebc8380.cjs} +1 -1
  78. package/es/{el-table-column-98570a4d.cjs → el-table-column-2f07fbdb.cjs} +1 -1
  79. package/es/{el-table-column-05d292a8.js → el-table-column-8a15378a.js} +10 -10
  80. package/es/{el-tag-17cd04a1.js → el-tag-65a99986.js} +2 -2
  81. package/es/{el-tag-6d8e653e.cjs → el-tag-f48b1190.cjs} +1 -1
  82. package/es/{el-text-a18106cb.cjs → el-text-33359f44.cjs} +1 -1
  83. package/es/{el-text-2710fff3.js → el-text-cbb693f2.js} +1 -1
  84. package/es/{index-f30561d3.js → index-072c4a65.js} +5 -5
  85. package/es/{index-299ee017.cjs → index-0f767104.cjs} +1 -1
  86. package/es/{index-eb99b188.cjs → index-18565979.cjs} +1 -1
  87. package/es/{index-0f79095c.js → index-1955f23d.js} +1 -1
  88. package/es/{index-0ee486ad.js → index-1e91e986.js} +1 -1
  89. package/es/{index-6ca95c8a.cjs → index-21e8d2bc.cjs} +1 -1
  90. package/es/{index-33f80550.cjs → index-3792552a.cjs} +1 -1
  91. package/es/{index-7dce9f59.cjs → index-4f900527.cjs} +1 -1
  92. package/es/{index-1d9b50de.js → index-57d82da0.js} +2 -2
  93. package/es/{index-e8eeea22.cjs → index-5b546f7d.cjs} +1 -1
  94. package/es/{index-c71e37dc.js → index-7db02db7.js} +2 -2
  95. package/es/{index-37b8d3c6.cjs → index-7eb88616.cjs} +1 -1
  96. package/es/{index-6b99def3.cjs → index-8439d2f9.cjs} +1 -1
  97. package/es/{index-40f05e2c.cjs → index-8b055879.cjs} +2 -2
  98. package/es/{index-b0117ba2.js → index-a4e252a0.js} +1 -1
  99. package/es/{index-95e5d454.js → index-b51915a2.js} +2 -2
  100. package/es/{index-28e03bad.cjs → index-bf98dd03.cjs} +1 -1
  101. package/es/{index-c2b9bbfd.js → index-ca91ac68.js} +82 -67
  102. package/es/{index-8a54ceeb.js → index-d857270a.js} +9 -9
  103. package/es/{index-bcd895a0.js → index-ff26b1a6.js} +2 -2
  104. package/es/{python-02c3937a.cjs → python-5b5c9c58.cjs} +1 -1
  105. package/es/{python-99011a53.js → python-ad9239f9.js} +18 -18
  106. package/es/style.css +1 -1
  107. package/es/{use-form-common-props-d3ed62c6.cjs → use-form-common-props-00ec25ac.cjs} +1 -1
  108. package/es/{use-form-common-props-cb0ca65c.js → use-form-common-props-c14990b9.js} +29 -29
  109. package/es/{use-global-config-c80f33a4.cjs → use-global-config-28efb416.cjs} +1 -1
  110. package/es/{use-global-config-cdaeca54.js → use-global-config-a01b5ce1.js} +2 -2
  111. package/es/{validator-07160325.cjs → validator-119fdaf4.cjs} +1 -1
  112. package/es/{validator-4ab9774f.js → validator-65de1caf.js} +1 -1
  113. package/es/{zh-cn-6a0f844c.cjs → zh-cn-9fb29a39.cjs} +1 -1
  114. package/es/{zh-cn-8a6390a4.js → zh-cn-c1c28e70.js} +1 -1
  115. package/lib/aiTools.js +92 -1
  116. package/lib/bundle.js +1 -1
  117. package/lib/bundle.umd.cjs +202 -201
  118. package/lib/{index-0969ca9d.js → index-7279dacd.js} +16066 -15973
  119. package/lib/{python-506107bf.js → python-60bc2922.js} +1 -1
  120. package/lib/style.css +1 -1
  121. package/package.json +1 -1
  122. package/packages/VarietyAiHelper/index.vue +252 -135
  123. package/public/aiTools.js +92 -1
  124. package/es/aiTools-2e1f92d2.cjs +0 -3
  125. package/es/aiTools-faa0a14d.js +0 -90
@@ -1 +1 @@
1
- "use strict";const I=require("./index-9780a537.cjs"),v=require("./base-ef747d02.cjs"),o=require("vue"),_=require("./index-33f80550.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
+ "use strict";const I=require("./index-9780a537.cjs"),v=require("./base-ef747d02.cjs"),o=require("vue"),_=require("./index-3792552a.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,7 +1,7 @@
1
1
  import { n as ee, e as te, a as M, b as ne, i as z, k as re, t as se, u as oe } from "./index-8391a3df.js";
2
- import { M as ie, O as Z, P as B, G as P, C as ae, Q as ue, s as U, R as G, S as le, p as ce, I as de, e as fe } from "./base-29f73b05.js";
2
+ import { M as ie, O as B, P as Z, G 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-29f73b05.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, o as Ie, z as Oe, c as H, i as E, F as q, G as D, w as X } from "./index-c2b9bbfd.js";
4
+ import { l as _e, o as Ie, B as Oe, c as q, i as E, p as G, H as D, y as X } from "./index-ca91ac68.js";
5
5
  var ye = function() {
6
6
  try {
7
7
  var e = ee(Object, "defineProperty");
@@ -65,18 +65,18 @@ function tt(e, t, n, r) {
65
65
  }
66
66
  function I(e) {
67
67
  var t;
68
- const n = B(e);
68
+ const n = Z(e);
69
69
  return (t = n == null ? void 0 : n.$el) != null ? t : n;
70
70
  }
71
- const b = U ? window : void 0;
71
+ const b = H ? window : void 0;
72
72
  function O(...e) {
73
73
  let t, n, r, o;
74
74
  if (ie(e[0]) || Array.isArray(e[0]) ? ([n, r, o] = e, t = b) : [t, n, r, o] = e, !t)
75
- return Z;
75
+ return B;
76
76
  Array.isArray(n) || (n = [n]), Array.isArray(r) || (r = [r]);
77
77
  const c = [], s = () => {
78
78
  c.forEach((d) => d()), c.length = 0;
79
- }, i = (d, p, l, f) => (d.addEventListener(p, l, f), () => d.removeEventListener(p, l, f)), a = h(() => [I(t), B(o)], ([d, p]) => {
79
+ }, i = (d, p, l, f) => (d.addEventListener(p, l, f), () => d.removeEventListener(p, l, f)), a = h(() => [I(t), Z(o)], ([d, p]) => {
80
80
  s(), d && c.push(...n.flatMap((l) => r.map((f) => i(d, l, f, p))));
81
81
  }, { immediate: !0, flush: "post" }), u = () => {
82
82
  a(), s();
@@ -88,7 +88,7 @@ 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 && !A && (A = !0, Array.from(r.document.body.children).forEach((l) => l.addEventListener("click", Z)));
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")
@@ -129,7 +129,7 @@ function rt(e = {}) {
129
129
  }
130
130
  function Y(e, t = !1) {
131
131
  const n = _(), r = () => n.value = !!e();
132
- return r(), G(r, t), n;
132
+ return r(), U(r, t), n;
133
133
  }
134
134
  const T = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, F = "__vueuse_ssr_handlers__";
135
135
  T[F] = T[F] || {};
@@ -193,7 +193,7 @@ var Re = Object.defineProperty, W = Object.getOwnPropertySymbols, Ke = Object.pr
193
193
  Qe.call(t, n) && L(e, n, t[n]);
194
194
  return e;
195
195
  };
196
- const Ze = {
196
+ const Be = {
197
197
  easeInSine: [0.12, 0, 0.39, 0],
198
198
  easeOutSine: [0.61, 1, 0.88, 1],
199
199
  easeInOutSine: [0.37, 0, 0.63, 1],
@@ -221,7 +221,7 @@ const Ze = {
221
221
  };
222
222
  Me({
223
223
  linear: le
224
- }, Ze);
224
+ }, Be);
225
225
  function it(e = {}) {
226
226
  const {
227
227
  window: t = b,
@@ -232,42 +232,42 @@ function it(e = {}) {
232
232
  } = e, s = _(n), i = _(r), a = () => {
233
233
  t && (c ? (s.value = t.innerWidth, i.value = t.innerHeight) : (s.value = t.document.documentElement.clientWidth, i.value = t.document.documentElement.clientHeight));
234
234
  };
235
- return a(), G(a), O("resize", a, { passive: !0 }), o && O("orientationchange", a, { passive: !0 }), { width: s, height: i };
235
+ return a(), U(a), O("resize", a, { passive: !0 }), o && O("orientationchange", a, { passive: !0 }), { width: s, height: i };
236
236
  }
237
237
  const R = {
238
238
  current: 0
239
- }, K = _(0), Be = 2e3, Q = Symbol("elZIndexContextKey"), Ue = Symbol("zIndexContextKey"), at = (e) => {
240
- const t = g() ? m(Q, R) : R, n = e || (g() ? m(Ue, void 0) : void 0), r = y(() => {
239
+ }, K = _(0), Ze = 2e3, Q = Symbol("elZIndexContextKey"), He = Symbol("zIndexContextKey"), at = (e) => {
240
+ const t = g() ? m(Q, R) : R, n = e || (g() ? m(He, void 0) : void 0), r = y(() => {
241
241
  const s = w(n);
242
- return ce(s) ? s : Be;
242
+ return ce(s) ? s : Ze;
243
243
  }), o = y(() => r.value + K.value), c = () => (t.current++, K.value = t.current, o.value);
244
- return !U && m(Q), {
244
+ return !H && m(Q), {
245
245
  initialZIndex: r,
246
246
  currentZIndex: o,
247
247
  nextZIndex: c
248
248
  };
249
- }, Ge = ["", "default", "small", "large"], ut = de({
249
+ }, Ue = ["", "default", "small", "large"], ut = de({
250
250
  type: String,
251
- values: Ge,
251
+ values: Ue,
252
252
  required: !1
253
- }), He = Symbol("size"), qe = () => {
254
- const e = m(He, {});
253
+ }), qe = Symbol("size"), Ge = () => {
254
+ const e = m(qe, {});
255
255
  return y(() => w(e.size) || "");
256
256
  }, lt = fe([
257
257
  String,
258
258
  Object,
259
259
  Function
260
260
  ]), ct = {
261
- Close: H
261
+ Close: q
262
262
  }, dt = {
263
- Close: H,
264
- SuccessFilled: q,
263
+ Close: q,
264
+ SuccessFilled: G,
265
265
  InfoFilled: E,
266
266
  WarningFilled: D,
267
267
  CircleCloseFilled: X
268
268
  }, ft = {
269
269
  primary: E,
270
- success: q,
270
+ success: G,
271
271
  warning: D,
272
272
  error: X,
273
273
  info: E
@@ -321,7 +321,7 @@ const R = {
321
321
  return (r = (n = t == null ? void 0 : t.proxy) == null ? void 0 : n.$props) == null ? void 0 : r[e];
322
322
  });
323
323
  }, _t = (e, t = {}) => {
324
- const n = _(void 0), r = t.prop ? n : k("size"), o = t.global ? n : qe(), c = t.form ? { size: void 0 } : m(S, void 0), s = t.formItem ? { size: void 0 } : m(V, void 0);
324
+ const n = _(void 0), r = t.prop ? n : k("size"), o = t.global ? n : Ge(), c = t.form ? { size: void 0 } : m(S, void 0), s = t.formItem ? { size: void 0 } : m(V, void 0);
325
325
  return y(() => r.value || w(e) || (s == null ? void 0 : s.size) || (c == null ? void 0 : c.size) || o.value || "");
326
326
  }, It = (e) => {
327
327
  const t = k("disabled"), n = m(S, void 0);
@@ -329,10 +329,10 @@ const R = {
329
329
  };
330
330
  export {
331
331
  tt as A,
332
- Ue as B,
332
+ He as B,
333
333
  ct as C,
334
- Be as D,
335
- He as S,
334
+ Ze as D,
335
+ qe as S,
336
336
  dt as T,
337
337
  pt as V,
338
338
  I as a,
@@ -345,8 +345,8 @@ export {
345
345
  ut as h,
346
346
  lt as i,
347
347
  rt as j,
348
- Ge as k,
349
- qe as l,
348
+ Ue as k,
349
+ Ge as l,
350
350
  ft as m,
351
351
  he as n,
352
352
  we as o,
@@ -1 +1 @@
1
- "use strict";const n=require("vue"),v=require("./base-ef747d02.cjs"),c=require("./use-form-common-props-d3ed62c6.cjs"),d=require("./index-bb833443.cjs"),x=require("./index-37b8d3c6.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
+ "use strict";const n=require("vue"),v=require("./base-ef747d02.cjs"),c=require("./use-form-common-props-00ec25ac.cjs"),d=require("./index-bb833443.cjs"),x=require("./index-7eb88616.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-29f73b05.js";
3
- import { A as z, B as S, S as K, w as O, D as b } from "./use-form-common-props-cb0ca65c.js";
3
+ import { A as z, B as S, S as K, w as O, D as b } from "./use-form-common-props-c14990b9.js";
4
4
  import { g as E, l as N, u as k } from "./index-de24705f.js";
5
- import { q as G } from "./index-0ee486ad.js";
5
+ import { q as G } from "./index-1e91e986.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-d3ed62c6.cjs"),i=o=>["",...e.componentSizes].includes(o);exports.isValidComponentSize=i;
1
+ "use strict";const e=require("./use-form-common-props-00ec25ac.cjs"),i=o=>["",...e.componentSizes].includes(o);exports.isValidComponentSize=i;
@@ -1,4 +1,4 @@
1
- import { k as i } from "./use-form-common-props-cb0ca65c.js";
1
+ import { k as i } from "./use-form-common-props-c14990b9.js";
2
2
  const n = (o) => ["", ...i].includes(o);
3
3
  export {
4
4
  n as i
@@ -1 +1 @@
1
- "use strict";const u=require("./config-provider-2ae47cc8.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;
1
+ "use strict";const u=require("./config-provider-ea286661.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;
@@ -1,4 +1,4 @@
1
- import { C as u } from "./config-provider-7860903c.js";
1
+ import { C as u } from "./config-provider-56193d47.js";
2
2
  import { w as e } from "./base-29f73b05.js";
3
3
  const a = e(u);
4
4
  var o = {
package/lib/aiTools.js CHANGED
@@ -27,7 +27,7 @@ export const sendToBaiLianAppNonStreaming = async ({ appId, apiKey, value }) =>
27
27
  throw error;
28
28
  }
29
29
  };
30
- // 流式返回 - 支持错误处理
30
+ // 单智能体应用: 流式返回
31
31
  export const sendToBaiLianAppStreaming = async ({ appId, apiKey, value, callback }) => {
32
32
  try {
33
33
  const response = await fetch(`https://dashscope.aliyuncs.com/api/v1/apps/${appId}/completion`, {
@@ -114,7 +114,98 @@ export const sendToBaiLianAppStreaming = async ({ appId, apiKey, value, callback
114
114
  callback("error", error.message);
115
115
  }
116
116
  };
117
+ // 工作流: 流式返回
118
+ export const sendToBaiLianWorkflowStreaming = async ({ mode, appId, apiKey, token, value, callback }) => {
119
+ try {
120
+ const response = await fetch(`https://dashscope.aliyuncs.com/api/v1/apps/${appId}/completion`, {
121
+ method: "POST",
122
+ body: JSON.stringify({
123
+ input: { prompt: value, biz_params: { token, mode, origin: "web" } },
124
+ parameters: { incremental_output: "true", flow_stream_mode: "message_format_plus" },
125
+ debug: {},
126
+ }),
127
+ headers: {
128
+ Authorization: `Bearer ${apiKey}`,
129
+ "Content-Type": "application/json",
130
+ "X-DashScope-SSE": "enable",
131
+ },
132
+ });
133
+
134
+ if (!response.ok) {
135
+ callback("error", `HTTP ${response.status}: ${response.statusText}`);
136
+ return;
137
+ }
117
138
 
139
+ const reader = response.body.getReader();
140
+ const decoder = new TextDecoder();
141
+ let buffer = "";
142
+ let finalResult = "";
143
+ // 记录已出现的节点(去重用)
144
+ const nodeMap = {};
145
+
146
+ while (true) {
147
+ const { done, value } = await reader.read();
148
+ if (done) {
149
+ if (finalResult) {
150
+ callback("message", finalResult);
151
+ }
152
+ callback("finish", "");
153
+ break;
154
+ }
155
+
156
+ buffer += decoder.decode(value, { stream: true });
157
+ let newlineIndex;
158
+ while ((newlineIndex = buffer.indexOf("\n")) !== -1) {
159
+ const line = buffer.substring(0, newlineIndex).trim();
160
+ buffer = buffer.substring(newlineIndex + 1);
161
+
162
+ if (line.startsWith("data:")) {
163
+ const dataStr = line.substring(5).trim();
164
+ if (!dataStr || dataStr === "[DONE]") continue;
165
+
166
+ try {
167
+ const parsed = JSON.parse(dataStr);
168
+ const output = parsed?.output;
169
+ const wfMsg = output?.workflow_message;
170
+
171
+ // 提取节点信息
172
+ if (wfMsg?.node_name && wfMsg?.node_type) {
173
+ const nodeName = wfMsg.node_name;
174
+ const nodeStatus = wfMsg.node_status; // "executing" | "success"
175
+ const isCompleted = wfMsg.node_is_completed;
176
+
177
+ // 去重:同一节点只推送状态变化
178
+ const prevStatus = nodeMap[nodeName];
179
+ if (prevStatus !== nodeStatus || (isCompleted && prevStatus !== "success")) {
180
+ nodeMap[nodeName] = isCompleted ? "success" : nodeStatus;
181
+ callback("node", {
182
+ name: nodeName,
183
+ status: isCompleted ? "success" : "executing",
184
+ });
185
+ }
186
+ }
187
+
188
+ // 最终结果
189
+ if (output?.finish_reason === "stop" && output?.text) {
190
+ finalResult = output.text;
191
+ }
192
+
193
+ // 错误
194
+ if (output?.code || output?.message) {
195
+ callback("error", output.message || output.code || "未知错误");
196
+ return;
197
+ }
198
+ } catch (e) {
199
+ // 忽略非 JSON 行
200
+ }
201
+ }
202
+ }
203
+ }
204
+ } catch (error) {
205
+ console.error("工作流请求失败:", error);
206
+ callback("error", error.message);
207
+ }
208
+ };
118
209
  // 辅助函数:处理缓冲区剩余数据
119
210
  const tryProcessBuffer = (buffer, callback) => {
120
211
  const lines = buffer.split("\n");
package/lib/bundle.js CHANGED
@@ -1,4 +1,4 @@
1
- import { i as m } from "./index-0969ca9d.js";
1
+ import { i as m } from "./index-7279dacd.js";
2
2
  import "vue";
3
3
  import "echarts";
4
4
  export {