st-comp 0.0.75 → 0.0.76

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 (77) hide show
  1. package/components.d.ts +3 -0
  2. package/es/ChartLayout.cjs +1 -1
  3. package/es/ChartLayout.js +25 -223
  4. package/es/Dialog.cjs +1 -1
  5. package/es/Dialog.js +15 -13
  6. package/es/Kline.cjs +1 -1
  7. package/es/Kline.js +105 -102
  8. package/es/KlineNew.cjs +1 -1
  9. package/es/KlineNew.js +45 -42
  10. package/es/MonacoEditor.cjs +1 -1
  11. package/es/MonacoEditor.js +1 -1
  12. package/es/Pagination.cjs +1 -1
  13. package/es/Pagination.js +121 -117
  14. package/es/Table.cjs +3 -3
  15. package/es/Table.js +275 -271
  16. package/es/VarietySearch.cjs +2 -2
  17. package/es/VarietySearch.js +476 -477
  18. package/es/VirtualTable.cjs +13 -1
  19. package/es/VirtualTable.js +2724 -1
  20. package/es/{base-dbd10dcf.cjs → base-4865d432.cjs} +3 -3
  21. package/es/{base-00f6b0ab.js → base-6faccb01.js} +66 -65
  22. package/es/castArray-3341cbb4.cjs +1 -0
  23. package/es/castArray-bdee0d50.js +10 -0
  24. package/es/config-provider-465c8253.cjs +1 -0
  25. package/es/config-provider-be0e9c36.js +46 -0
  26. package/es/{el-button-12e38f0b.js → el-button-1b9c4fd6.js} +31 -31
  27. package/es/el-button-aad5268b.cjs +1 -0
  28. package/es/el-empty-348c46f7.js +204 -0
  29. package/es/el-empty-608948d9.cjs +1 -0
  30. package/es/el-icon-158ddc19.cjs +1 -0
  31. package/es/{el-icon-bacbcecf.js → el-icon-d385d377.js} +58 -57
  32. package/es/{el-overlay-ea0f5492.js → el-overlay-400ac6ce.js} +58 -57
  33. package/es/el-overlay-4713107e.cjs +5 -0
  34. package/es/el-scrollbar-83abe3de.js +248 -0
  35. package/es/el-scrollbar-bc381e35.cjs +1 -0
  36. package/es/el-select-7116533b.cjs +9 -0
  37. package/es/{el-select-f84b87d9.js → el-select-895360ba.js} +282 -280
  38. package/es/el-tag-2c7e5d4a.cjs +1 -0
  39. package/es/el-tag-30cecca3.js +2417 -0
  40. package/es/focus-trap-5ac78614.js +259 -0
  41. package/es/focus-trap-a169f160.cjs +1 -0
  42. package/es/{index-2cc1c02e.cjs → index-a091492d.cjs} +1 -1
  43. package/es/{index-16dfa199.js → index-caa490bf.js} +17 -14
  44. package/es/{python-336a8c96.js → python-0b8dfd75.js} +1 -1
  45. package/es/{python-044eec0c.cjs → python-bd86111b.cjs} +1 -1
  46. package/es/raf-5e5c53db.cjs +1 -0
  47. package/es/raf-92c5ed6d.js +6 -0
  48. package/es/{scroll-c6489061.js → scroll-264c50f3.js} +5 -5
  49. package/es/{scroll-891e3e9f.cjs → scroll-bb8039ba.cjs} +1 -1
  50. package/es/style.css +1 -1
  51. package/es/typescript-7ae59c4c.js +4 -0
  52. package/es/typescript-b63f8e83.cjs +1 -0
  53. package/es/use-form-item-0e9cae13.js +668 -0
  54. package/es/use-form-item-6cef6b15.cjs +3 -0
  55. package/es/use-global-config-17f3d7c7.cjs +1 -0
  56. package/es/use-global-config-8c9c775f.js +110 -0
  57. package/es/{vnode-b44a499a.cjs → vnode-abafec9e.cjs} +1 -1
  58. package/es/{vnode-229e6729.js → vnode-b78096e3.js} +4 -4
  59. package/es/{zh-cn-e0c3b8df.js → zh-cn-8aaa7dd2.js} +2 -2
  60. package/es/{zh-cn-5c01bb26.cjs → zh-cn-e4d38144.cjs} +1 -1
  61. package/lib/bundle.js +1 -1
  62. package/lib/bundle.umd.cjs +1 -1
  63. package/lib/{index-d7f5d65b.js → index-bdeb684f.js} +17 -14
  64. package/lib/{python-31d7356c.js → python-c9833067.js} +1 -1
  65. package/package.json +1 -1
  66. package/packages/MonacoEditor/index.vue +5 -0
  67. package/src/pages/MonacoEditor/index.vue +5 -0
  68. package/es/config-provider-33068fb6.cjs +0 -1
  69. package/es/config-provider-c98bd563.js +0 -148
  70. package/es/el-button-fc645d0f.cjs +0 -1
  71. package/es/el-icon-99876220.cjs +0 -1
  72. package/es/el-overlay-dcbc4437.cjs +0 -5
  73. package/es/el-scrollbar-6800cb98.js +0 -2653
  74. package/es/el-scrollbar-9da140ab.cjs +0 -1
  75. package/es/el-select-d22b5aa3.cjs +0 -9
  76. package/es/focus-trap-9f4b1039.js +0 -880
  77. package/es/focus-trap-fae33d9d.cjs +0 -3
@@ -1,3 +0,0 @@
1
- "use strict";const e=require("vue"),i=require("./base-dbd10dcf.cjs");var pe=9007199254740991,ve=/^(?:0|[1-9]\d*)$/;function me(t,n){var o=typeof t;return n=n??pe,!!n&&(o=="number"||o!="symbol"&&ve.test(t))&&t>-1&&t%1==0&&t<n}function ee(t){return t==null}/*! Element Plus Icons Vue v2.1.0 */var u=(t,n)=>{let o=t.__vccOpts||t;for(let[r,s]of n)o[r]=s;return o},he={name:"ArrowDown"},we={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Ee=e.createElementVNode("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"},null,-1),ge=[Ee];function $e(t,n,o,r,s,a){return e.openBlock(),e.createElementBlock("svg",we,ge)}var xe=u(he,[["render",$e],["__file","arrow-down.vue"]]),Ce={name:"ArrowLeft"},ye={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Te=e.createElementVNode("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"},null,-1),ze=[Te];function Be(t,n,o,r,s,a){return e.openBlock(),e.createElementBlock("svg",ye,ze)}var Ie=u(Ce,[["render",Be],["__file","arrow-left.vue"]]),Le={name:"ArrowRight"},ke={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Fe=e.createElementVNode("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"},null,-1),Ne=[Fe];function be(t,n,o,r,s,a){return e.openBlock(),e.createElementBlock("svg",ke,Ne)}var Se=u(Le,[["render",be],["__file","arrow-right.vue"]]),Pe={name:"ArrowUp"},Ve={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Me=e.createElementVNode("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0z"},null,-1),Ae=[Me];function Oe(t,n,o,r,s,a){return e.openBlock(),e.createElementBlock("svg",Ve,Ae)}var Ue=u(Pe,[["render",Oe],["__file","arrow-up.vue"]]),Re={name:"CircleCheck"},De={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Ke=e.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),He=e.createElementVNode("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"},null,-1),Ze=[Ke,He];function je(t,n,o,r,s,a){return e.openBlock(),e.createElementBlock("svg",De,Ze)}var qe=u(Re,[["render",je],["__file","circle-check.vue"]]),We={name:"CircleCloseFilled"},Je={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Ye=e.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336L512 457.664z"},null,-1),Ge=[Ye];function Qe(t,n,o,r,s,a){return e.openBlock(),e.createElementBlock("svg",Je,Ge)}var N=u(We,[["render",Qe],["__file","circle-close-filled.vue"]]),Xe={name:"CircleClose"},et={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},tt=e.createElementVNode("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z"},null,-1),nt=e.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),ot=[tt,nt];function rt(t,n,o,r,s,a){return e.openBlock(),e.createElementBlock("svg",et,ot)}var te=u(Xe,[["render",rt],["__file","circle-close.vue"]]),st={name:"Close"},at={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},lt=e.createElementVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"},null,-1),ct=[lt];function ut(t,n,o,r,s,a){return e.openBlock(),e.createElementBlock("svg",at,ct)}var b=u(st,[["render",ut],["__file","close.vue"]]),it={name:"DArrowLeft"},dt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_t=e.createElementVNode("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"},null,-1),ft=[_t];function pt(t,n,o,r,s,a){return e.openBlock(),e.createElementBlock("svg",dt,ft)}var vt=u(it,[["render",pt],["__file","d-arrow-left.vue"]]),mt={name:"DArrowRight"},ht={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},wt=e.createElementVNode("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688zm-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"},null,-1),Et=[wt];function gt(t,n,o,r,s,a){return e.openBlock(),e.createElementBlock("svg",ht,Et)}var $t=u(mt,[["render",gt],["__file","d-arrow-right.vue"]]),xt={name:"Hide"},Ct={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},yt=e.createElementVNode("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2L371.2 588.8ZM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"},null,-1),Tt=e.createElementVNode("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"},null,-1),zt=[yt,Tt];function Bt(t,n,o,r,s,a){return e.openBlock(),e.createElementBlock("svg",Ct,zt)}var It=u(xt,[["render",Bt],["__file","hide.vue"]]),Lt={name:"InfoFilled"},kt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Ft=e.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"},null,-1),Nt=[Ft];function bt(t,n,o,r,s,a){return e.openBlock(),e.createElementBlock("svg",kt,Nt)}var ne=u(Lt,[["render",bt],["__file","info-filled.vue"]]),St={name:"Loading"},Pt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Vt=e.createElementVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"},null,-1),Mt=[Vt];function At(t,n,o,r,s,a){return e.openBlock(),e.createElementBlock("svg",Pt,Mt)}var oe=u(St,[["render",At],["__file","loading.vue"]]),Ot={name:"Minus"},Ut={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Rt=e.createElementVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z"},null,-1),Dt=[Rt];function Kt(t,n,o,r,s,a){return e.openBlock(),e.createElementBlock("svg",Ut,Dt)}var Ht=u(Ot,[["render",Kt],["__file","minus.vue"]]),Zt={name:"MoreFilled"},jt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},qt=e.createElementVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224z"},null,-1),Wt=[qt];function Jt(t,n,o,r,s,a){return e.openBlock(),e.createElementBlock("svg",jt,Wt)}var Yt=u(Zt,[["render",Jt],["__file","more-filled.vue"]]),Gt={name:"More"},Qt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Xt=e.createElementVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96zm336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96zm336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96z"},null,-1),e2=[Xt];function t2(t,n,o,r,s,a){return e.openBlock(),e.createElementBlock("svg",Qt,e2)}var n2=u(Gt,[["render",t2],["__file","more.vue"]]),o2={name:"Plus"},r2={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},s2=e.createElementVNode("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64h352z"},null,-1),a2=[s2];function l2(t,n,o,r,s,a){return e.openBlock(),e.createElementBlock("svg",r2,a2)}var c2=u(o2,[["render",l2],["__file","plus.vue"]]),u2={name:"QuestionFilled"},i2={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},d2=e.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"},null,-1),_2=[d2];function f2(t,n,o,r,s,a){return e.openBlock(),e.createElementBlock("svg",i2,_2)}var p2=u(u2,[["render",f2],["__file","question-filled.vue"]]),v2={name:"SuccessFilled"},m2={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},h2=e.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336L456.192 600.384z"},null,-1),w2=[h2];function E2(t,n,o,r,s,a){return e.openBlock(),e.createElementBlock("svg",m2,w2)}var re=u(v2,[["render",E2],["__file","success-filled.vue"]]),g2={name:"View"},$2={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},x2=e.createElementVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"},null,-1),C2=[x2];function y2(t,n,o,r,s,a){return e.openBlock(),e.createElementBlock("svg",$2,C2)}var T2=u(g2,[["render",y2],["__file","view.vue"]]),z2={name:"WarningFilled"},B2={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},I2=e.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256zm0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4z"},null,-1),L2=[I2];function k2(t,n,o,r,s,a){return e.openBlock(),e.createElementBlock("svg",B2,L2)}var se=u(z2,[["render",k2],["__file","warning-filled.vue"]]);const F2=i.definePropType([String,Object,Function]),N2={Close:b},b2={Close:b,SuccessFilled:re,InfoFilled:ne,WarningFilled:se,CircleCloseFilled:N},S2={success:re,warning:se,error:N,info:ne},P2={validating:oe,success:qe,error:te},S={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"},V2="update:modelValue",M2="change",A2="input",ae=["","default","small","large"],O2={large:40,default:32,small:24},U2=({from:t,replacement:n,scope:o,version:r,ref:s,type:a="API"},d)=>{e.watch(()=>e.unref(d),_=>{_&&i.debugWarn(o,`[${a}] ${t} is about to be deprecated in version ${r}, please use ${n} instead.
2
- For more detail, please visit: ${s}
3
- `)},{immediate:!0})},le=t=>{const n=e.getCurrentInstance();return e.computed(()=>{var o,r;return(r=(o=n==null?void 0:n.proxy)==null?void 0:o.$props)==null?void 0:r[t]})};let E=[];const Z=t=>{const n=t;n.key===S.esc&&E.forEach(o=>o(n))},R2=t=>{e.onMounted(()=>{E.length===0&&document.addEventListener("keydown",Z),i.isClient&&E.push(t)}),e.onBeforeUnmount(()=>{E=E.filter(n=>n!==t),E.length===0&&i.isClient&&document.removeEventListener("keydown",Z)})},j=e.ref(0),ce=2e3,ue=Symbol("zIndexContextKey"),D2=t=>{const n=t||(e.getCurrentInstance()?e.inject(ue,void 0):void 0),o=e.computed(()=>{const a=e.unref(n);return i.isNumber(a)?a:ce}),r=e.computed(()=>o.value+j.value);return{initialZIndex:o,currentZIndex:r,nextZIndex:()=>(j.value++,r.value)}},K2=i.buildProp({type:String,values:ae,required:!1}),ie=Symbol("size"),H2=()=>{const t=e.inject(ie,{});return e.computed(()=>e.unref(t.size)||"")},Z2=i.buildProps({size:{type:i.definePropType([Number,String])},color:{type:String}}),j2=e.defineComponent({name:"ElIcon",inheritAttrs:!1}),q2=e.defineComponent({...j2,props:Z2,setup(t){const n=t,o=i.useNamespace("icon"),r=e.computed(()=>{const{size:s,color:a}=n;return!s&&!a?{}:{fontSize:i.isUndefined(s)?void 0:i.addUnit(s),"--color":a}});return(s,a)=>(e.openBlock(),e.createElementBlock("i",e.mergeProps({class:e.unref(o).b(),style:e.unref(r)},s.$attrs),[e.renderSlot(s.$slots,"default")],16))}});var W2=i._export_sfc(q2,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const J2=i.withInstall(W2),T=Symbol("formContextKey"),P=Symbol("formItemContextKey"),Y2=(t,n={})=>{const o=e.ref(void 0),r=n.prop?o:le("size"),s=n.global?o:H2(),a=n.form?{size:void 0}:e.inject(T,void 0),d=n.formItem?{size:void 0}:e.inject(P,void 0);return e.computed(()=>r.value||e.unref(t)||(d==null?void 0:d.size)||(a==null?void 0:a.size)||s.value||"")},G2=t=>{const n=le("disabled"),o=e.inject(T,void 0);return e.computed(()=>n.value||e.unref(t)||(o==null?void 0:o.disabled)||!1)},Q2=()=>{const t=e.inject(T,void 0),n=e.inject(P,void 0);return{form:t,formItem:n}},X2=(t,{formItemContext:n,disableIdGeneration:o,disableIdManagement:r})=>{o||(o=e.ref(!1)),r||(r=e.ref(!1));const s=e.ref();let a;const d=e.computed(()=>{var _;return!!(!t.label&&n&&n.inputIds&&((_=n.inputIds)==null?void 0:_.length)<=1)});return e.onMounted(()=>{a=e.watch([e.toRef(t,"id"),o],([_,g])=>{const w=_??(g?void 0:i.useId().value);w!==s.value&&(n!=null&&n.removeInputId&&(s.value&&n.removeInputId(s.value),!(r!=null&&r.value)&&!g&&w&&n.addInputId(w)),s.value=w)},{immediate:!0})}),e.onUnmounted(()=>{a&&a(),n!=null&&n.removeInputId&&s.value&&n.removeInputId(s.value)}),{isLabeledByFormItem:d,inputId:s}},k="focus-trap.focus-after-trapped",F="focus-trap.focus-after-released",en="focus-trap.focusout-prevented",q={cancelable:!0,bubbles:!1},tn={cancelable:!0,bubbles:!1},W="focusAfterTrapped",J="focusAfterReleased",de=Symbol("elFocusTrap"),V=e.ref(),z=e.ref(0),M=e.ref(0);let x=0;const _e=t=>{const n=[],o=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0||r===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)n.push(o.currentNode);return n},Y=(t,n)=>{for(const o of t)if(!nn(o,n))return o},nn=(t,n)=>{if(process.env.NODE_ENV==="test")return!1;if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(n&&t===n)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1},on=t=>{const n=_e(t),o=Y(n,t),r=Y(n.reverse(),t);return[o,r]},rn=t=>t instanceof HTMLInputElement&&"select"in t,h=(t,n)=>{if(t&&t.focus){const o=document.activeElement;t.focus({preventScroll:!0}),M.value=window.performance.now(),t!==o&&rn(t)&&n&&t.select()}};function G(t,n){const o=[...t],r=t.indexOf(n);return r!==-1&&o.splice(r,1),o}const sn=()=>{let t=[];return{push:r=>{const s=t[0];s&&r!==s&&s.pause(),t=G(t,r),t.unshift(r)},remove:r=>{var s,a;t=G(t,r),(a=(s=t[0])==null?void 0:s.resume)==null||a.call(s)}}},an=(t,n=!1)=>{const o=document.activeElement;for(const r of t)if(h(r,n),document.activeElement!==o)return},Q=sn(),ln=()=>z.value>M.value,C=()=>{V.value="pointer",z.value=window.performance.now()},X=()=>{V.value="keyboard",z.value=window.performance.now()},cn=()=>(e.onMounted(()=>{x===0&&(document.addEventListener("mousedown",C),document.addEventListener("touchstart",C),document.addEventListener("keydown",X)),x++}),e.onBeforeUnmount(()=>{x--,x<=0&&(document.removeEventListener("mousedown",C),document.removeEventListener("touchstart",C),document.removeEventListener("keydown",X))}),{focusReason:V,lastUserFocusTimestamp:z,lastAutomatedFocusTimestamp:M}),y=t=>new CustomEvent(en,{...tn,detail:t}),un=e.defineComponent({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[W,J,"focusin","focusout","focusout-prevented","release-requested"],setup(t,{emit:n}){const o=e.ref();let r,s;const{focusReason:a}=cn();R2(l=>{t.trapped&&!d.paused&&n("release-requested",l)});const d={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},_=l=>{if(!t.loop&&!t.trapped||d.paused)return;const{key:c,altKey:f,ctrlKey:p,metaKey:v,currentTarget:D,shiftKey:K}=l,{loop:H}=t,fe=c===S.tab&&!f&&!p&&!v,$=document.activeElement;if(fe&&$){const B=D,[I,L]=on(B);if(I&&L){if(!K&&$===L){const m=y({focusReason:a.value});n("focusout-prevented",m),m.defaultPrevented||(l.preventDefault(),H&&h(I,!0))}else if(K&&[I,B].includes($)){const m=y({focusReason:a.value});n("focusout-prevented",m),m.defaultPrevented||(l.preventDefault(),H&&h(L,!0))}}else if($===B){const m=y({focusReason:a.value});n("focusout-prevented",m),m.defaultPrevented||l.preventDefault()}}};e.provide(de,{focusTrapRef:o,onKeydown:_}),e.watch(()=>t.focusTrapEl,l=>{l&&(o.value=l)},{immediate:!0}),e.watch([o],([l],[c])=>{l&&(l.addEventListener("keydown",_),l.addEventListener("focusin",A),l.addEventListener("focusout",O)),c&&(c.removeEventListener("keydown",_),c.removeEventListener("focusin",A),c.removeEventListener("focusout",O))});const g=l=>{n(W,l)},w=l=>n(J,l),A=l=>{const c=e.unref(o);if(!c)return;const f=l.target,p=l.relatedTarget,v=f&&c.contains(f);t.trapped||p&&c.contains(p)||(r=p),v&&n("focusin",l),!d.paused&&t.trapped&&(v?s=f:h(s,!0))},O=l=>{const c=e.unref(o);if(!(d.paused||!c))if(t.trapped){const f=l.relatedTarget;!ee(f)&&!c.contains(f)&&setTimeout(()=>{if(!d.paused&&t.trapped){const p=y({focusReason:a.value});n("focusout-prevented",p),p.defaultPrevented||h(s,!0)}},0)}else{const f=l.target;f&&c.contains(f)||n("focusout",l)}};async function U(){await e.nextTick();const l=e.unref(o);if(l){Q.push(d);const c=l.contains(document.activeElement)?r:document.activeElement;if(r=c,!l.contains(c)){const p=new Event(k,q);l.addEventListener(k,g),l.dispatchEvent(p),p.defaultPrevented||e.nextTick(()=>{let v=t.focusStartEl;i.isString(v)||(h(v),document.activeElement!==v&&(v="first")),v==="first"&&an(_e(l),!0),(document.activeElement===c||v==="container")&&h(l)})}}}function R(){const l=e.unref(o);if(l){l.removeEventListener(k,g);const c=new CustomEvent(F,{...q,detail:{focusReason:a.value}});l.addEventListener(F,w),l.dispatchEvent(c),!c.defaultPrevented&&(a.value=="keyboard"||!ln()||l.contains(document.activeElement))&&h(r??document.body),l.removeEventListener(F,w),Q.remove(d)}}return e.onMounted(()=>{t.trapped&&U(),e.watch(()=>t.trapped,l=>{l?U():R()})}),e.onBeforeUnmount(()=>{t.trapped&&R()}),{onKeydown:_}}});function dn(t,n,o,r,s,a){return e.renderSlot(t.$slots,"default",{handleKeydown:t.onKeydown})}var _n=i._export_sfc(un,[["render",dn],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);exports.CHANGE_EVENT=M2;exports.CloseComponents=N2;exports.EVENT_CODE=S;exports.ElFocusTrap=_n;exports.ElIcon=J2;exports.FOCUS_TRAP_INJECTION_KEY=de;exports.INPUT_EVENT=A2;exports.SIZE_INJECTION_KEY=ie;exports.TypeComponents=b2;exports.TypeComponentsMap=S2;exports.UPDATE_MODEL_EVENT=V2;exports.ValidateComponentsMap=P2;exports.arrow_down_default=xe;exports.arrow_left_default=Ie;exports.arrow_right_default=Se;exports.arrow_up_default=Ue;exports.circle_close_default=te;exports.circle_close_filled_default=N;exports.close_default=b;exports.componentSizeMap=O2;exports.componentSizes=ae;exports.d_arrow_left_default=vt;exports.d_arrow_right_default=$t;exports.defaultInitialZIndex=ce;exports.formContextKey=T;exports.formItemContextKey=P;exports.hide_default=It;exports.iconPropType=F2;exports.isIndex=me;exports.isNil=ee;exports.loading_default=oe;exports.minus_default=Ht;exports.more_default=n2;exports.more_filled_default=Yt;exports.plus_default=c2;exports.question_filled_default=p2;exports.useDeprecated=U2;exports.useFormDisabled=G2;exports.useFormItem=Q2;exports.useFormItemInputId=X2;exports.useFormSize=Y2;exports.useSizeProp=K2;exports.useZIndex=D2;exports.view_default=T2;exports.zIndexContextKey=ue;