@web-utils/component 4.0.16 → 5.0.0-beta02

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 (325) hide show
  1. package/address-input/index.mjs +76 -74
  2. package/affix/index.mjs +71 -78
  3. package/aside-menu/index.mjs +20 -31
  4. package/avatar/index.mjs +94 -82
  5. package/awesome-button/index.mjs +54 -71
  6. package/capsule-tab/index.mjs +27 -32
  7. package/card/index.mjs +86 -69
  8. package/carousel/index.mjs +45 -32
  9. package/chat/index.mjs +441 -266
  10. package/chunk-file-uploader/index.mjs +2 -103
  11. package/chunks/ChunkFileUploader.C3EA0e5t.mjs +114 -0
  12. package/chunks/EditableTree.D0ByhRTi.mjs +648 -0
  13. package/chunks/ElementBaseInfo.B3pY8TkD.mjs +209 -0
  14. package/chunks/ElementDialog.DNsDHdQS.mjs +251 -0
  15. package/chunks/ElementForm.D_lXbe--.mjs +627 -0
  16. package/chunks/ElementListeners.Cufwd4bp.mjs +656 -0
  17. package/chunks/ElementMultiInstance.BhY8NY2z.mjs +290 -0
  18. package/chunks/ElementOtherConfig.DX1ZJ9w2.mjs +51 -0
  19. package/chunks/ElementProperties.BRafADXp.mjs +196 -0
  20. package/chunks/ElementTaskConfig.B6pqRir_.mjs +446 -0
  21. package/chunks/FlowCondition.Dvwji23j.mjs +194 -0
  22. package/chunks/FlowDesigner.LL-vXDIE.mjs +5100 -0
  23. package/chunks/FormBlock.Co7l6USP.mjs +117 -0
  24. package/chunks/FormCascader.DMY3uNc8.mjs +1227 -0
  25. package/chunks/FormInputTime.BC4FfWwY.mjs +1774 -0
  26. package/chunks/FormItem.BSXI2cZU.mjs +89 -0
  27. package/chunks/FormItemGroup.D2Htta7J.mjs +149 -0
  28. package/chunks/FormSelect.CY0K-izg.mjs +1473 -0
  29. package/chunks/FormSwitch.DLqFXaFF.mjs +297 -0
  30. package/chunks/FormTemp.PJFfNRls.mjs +139 -0
  31. package/chunks/FyCurd.me083T8V.mjs +2622 -0
  32. package/chunks/FyForm.vVp8aVtj.mjs +906 -0
  33. package/chunks/FyFormDesign.BCxVyiWY.mjs +5600 -0
  34. package/chunks/FyUEditor.BymtA5SJ.mjs +221 -0
  35. package/chunks/FyUpload.CA7Gfa6Q.mjs +504 -0
  36. package/chunks/ImagePreview.ByEWJYdu.mjs +639 -0
  37. package/chunks/Keyboard.4hi7CjGc.mjs +379 -0
  38. package/chunks/MonacoEditor.B7BUQwb7.mjs +302 -0
  39. package/chunks/PageableTable.Ba3XSbZ5.mjs +660 -0
  40. package/chunks/RecordVideo.VRFTaHSp.mjs +116 -0
  41. package/chunks/SignalAndMessage.DYhKWs3X.mjs +198 -0
  42. package/chunks/SplitPane.Bwe5Rc0J.mjs +219 -0
  43. package/chunks/TableColumn.72HOXQkb.mjs +186 -0
  44. package/chunks/TableView.BxfsOAxU.mjs +484 -0
  45. package/chunks/Toolbar.BVziVmyT.mjs +219 -0
  46. package/chunks/UserTaskListeners.CkeyTpnn.mjs +599 -0
  47. package/chunks/VueCron.DEvY5-i7.mjs +1823 -0
  48. package/chunks/VueTreeSelect.C6Ycu28Z.mjs +1873 -0
  49. package/chunks/_plugin-vue_export-helper.7vrlOII_.mjs +8 -0
  50. package/chunks/checkbox.C_9WZ8gc.mjs +437 -0
  51. package/chunks/confirmable-mixin.zegaXQTl.mjs +1762 -0
  52. package/chunks/core.DXaMPWGV.mjs +51 -0
  53. package/chunks/dataformat.CteBVoOe.mjs +144 -0
  54. package/chunks/dic.C0abEij9.mjs +116 -0
  55. package/chunks/dictionary.BRhZD-WH.mjs +19 -0
  56. package/chunks/dictionary.CNNpjPL2.mjs +87 -0
  57. package/chunks/event.B4iwtUNO.mjs +4 -0
  58. package/chunks/event.Dv4XTu8B.mjs +224 -0
  59. package/chunks/focus-trap.FbvlqAGe.mjs +211 -0
  60. package/chunks/form-input.BUGZmAI1.mjs +34 -0
  61. package/chunks/form-item.Ca8U2bIR.mjs +712 -0
  62. package/chunks/form-pick.DT5kumy4.mjs +7 -0
  63. package/chunks/form-validate.CUvMwtPN.mjs +11 -0
  64. package/chunks/icon.CxCY22-F.mjs +26 -0
  65. package/chunks/icon.ym7735_x.mjs +251 -0
  66. package/chunks/init.6jGmuY99.mjs +115 -0
  67. package/chunks/input.C2GWsuXE.mjs +547 -0
  68. package/chunks/install.yLcn5MLL.mjs +84 -0
  69. package/chunks/message.C4NdvfbE.mjs +400 -0
  70. package/chunks/packages.BLDb9e6G.mjs +56 -0
  71. package/chunks/permission.C-IUDxQQ.mjs +16 -0
  72. package/chunks/photo-swipe.BxnG4lip.mjs +55 -0
  73. package/chunks/radio.CeLeSOEo.mjs +273 -0
  74. package/chunks/scroll.DWjS-gnW.mjs +28 -0
  75. package/chunks/scrollbar.CAmrlKi9.mjs +345 -0
  76. package/chunks/slot.DT5QwXL-.mjs +25 -0
  77. package/chunks/style.BmlGmjpO.mjs +325 -0
  78. package/chunks/sub-table-plus-props.CRX7ERxJ.mjs +28 -0
  79. package/chunks/tab-mixin.7zuMMM1E.mjs +70 -0
  80. package/chunks/tag.ZhEIVRpP.mjs +141 -0
  81. package/chunks/tooltip.DNiltmX1.mjs +1939 -0
  82. package/chunks/typescript.CLl-2siQ.mjs +18 -0
  83. package/chunks/use-aria.BW7nWOl1.mjs +17 -0
  84. package/chunks/use-composition.mUaomyno.mjs +47 -0
  85. package/chunks/use-deprecated.BfDSbZS9.mjs +12 -0
  86. package/chunks/use-empty-values.D8KYIiKR.mjs +81 -0
  87. package/chunks/use-form-item.BlWa7ZKe.mjs +56 -0
  88. package/chunks/use-global-config.DRovgom9.mjs +57 -0
  89. package/chunks/use-locale.Be9HCpTQ.mjs +188 -0
  90. package/chunks/util.Ce4MHRmD.mjs +103 -0
  91. package/chunks/util.g-WQEec9.mjs +223 -0
  92. package/chunks/utilSelf.BttmSVX6.mjs +46 -0
  93. package/chunks/utils.BGJfM4oG.mjs +60 -0
  94. package/chunks/utils.CSPl1l4f.mjs +14 -0
  95. package/chunks/validator.DuBSEj8O.mjs +5 -0
  96. package/chunks/vnode.C3PXzhmg.mjs +14 -0
  97. package/code-mirror-editor/index.mjs +89 -88
  98. package/comment/index.mjs +62 -57
  99. package/configComponents.mjs +40 -50
  100. package/confirm-button/index.mjs +34 -46
  101. package/confirmable/index.mjs +7 -17
  102. package/context-menu/index.mjs +195 -174
  103. package/count-up/index.mjs +97 -105
  104. package/custom-scrollbar/index.mjs +91 -98
  105. package/data-box/index.mjs +64 -44
  106. package/data-box/style.css +1 -1
  107. package/data-card/index.mjs +60 -47
  108. package/data-card/style.css +1 -1
  109. package/data-card-text/index.mjs +63 -49
  110. package/data-display/index.mjs +71 -51
  111. package/data-display/style.css +1 -1
  112. package/data-icons/index.mjs +70 -50
  113. package/data-icons/style.css +1 -1
  114. package/data-imgtext/index.mjs +67 -43
  115. package/data-imgtext/style.css +1 -1
  116. package/data-operatext/index.mjs +51 -40
  117. package/data-operatext/style.css +1 -1
  118. package/data-panel/index.mjs +57 -44
  119. package/data-panel/style.css +1 -1
  120. package/data-pay/index.mjs +105 -48
  121. package/data-pay/style.css +1 -1
  122. package/data-price/index.mjs +48 -40
  123. package/data-price/style.css +1 -1
  124. package/data-progress/index.mjs +67 -44
  125. package/data-progress/style.css +1 -1
  126. package/data-rotate/index.mjs +61 -44
  127. package/data-rotate/style.css +1 -1
  128. package/data-table-picker/index.mjs +119 -71
  129. package/data-tabs/index.mjs +67 -44
  130. package/data-tabs/style.css +1 -1
  131. package/dialog-form/index.mjs +143 -87
  132. package/dynamic-table/index.mjs +166 -109
  133. package/e-charts/index.mjs +174 -200
  134. package/easy-popup/index.mjs +91 -102
  135. package/editable-progress/index.mjs +112 -83
  136. package/editable-tree/index.mjs +2 -481
  137. package/element-dialog/index.mjs +2 -306
  138. package/ellipsis/index.mjs +124 -148
  139. package/empty-view/index.mjs +48 -65
  140. package/error-view/index.mjs +39 -51
  141. package/flex-column/index.mjs +34 -51
  142. package/flex-item/index.mjs +60 -64
  143. package/flex-row/index.mjs +33 -39
  144. package/flex-scroller/index.mjs +29 -30
  145. package/flow/index.mjs +240 -247
  146. package/flow-designer/index.mjs +2 -4709
  147. package/flow-node/index.mjs +56 -64
  148. package/flow-viewer/index.mjs +159 -157
  149. package/form-block/index.mjs +2 -147
  150. package/form-button/index.mjs +35 -47
  151. package/form-card/index.mjs +14 -25
  152. package/form-cascader/index.mjs +2 -115
  153. package/form-checkbox/index.mjs +89 -70
  154. package/form-checkbox-group/index.mjs +161 -113
  155. package/form-date-picker/index.mjs +155 -142
  156. package/form-holder/index.mjs +134 -109
  157. package/form-input/index.mjs +113 -86
  158. package/form-input-cron-expression/index.mjs +97 -76
  159. package/form-input-email/index.mjs +65 -51
  160. package/form-input-id-card/index.mjs +73 -54
  161. package/form-input-phone-number/index.mjs +72 -56
  162. package/form-input-tag/index.mjs +88 -61
  163. package/form-input-time/index.mjs +2 -73
  164. package/form-item/index.mjs +2 -142
  165. package/form-item-config-provider/index.mjs +46 -60
  166. package/form-item-group/index.mjs +2 -157
  167. package/form-radio-group/index.mjs +161 -121
  168. package/form-select/index.mjs +2 -179
  169. package/form-switch/index.mjs +2 -54
  170. package/form-table/index.mjs +131 -84
  171. package/form-table-plus/index.mjs +164 -108
  172. package/form-textarea/index.mjs +90 -56
  173. package/form-tree-select/index.mjs +89 -71
  174. package/form-tree-select-multiple/index.mjs +92 -77
  175. package/form-view/index.mjs +280 -207
  176. package/fy-array/index.mjs +121 -70
  177. package/fy-article/index.mjs +73 -60
  178. package/fy-cascader/index.mjs +113 -90
  179. package/fy-checkbox/index.mjs +96 -64
  180. package/fy-code/index.mjs +48 -50
  181. package/fy-curd/index.mjs +2 -1879
  182. package/fy-date/index.mjs +76 -41
  183. package/fy-draggable/index.mjs +322 -317
  184. package/fy-dynamic/index.mjs +259 -224
  185. package/fy-empty/index.mjs +35 -36
  186. package/fy-form/index.mjs +2 -640
  187. package/fy-form-design/index.mjs +2 -2852
  188. package/fy-form-design/style.css +1 -1
  189. package/fy-from/crud/zh.d.ts +1 -1
  190. package/fy-input/index.mjs +117 -97
  191. package/fy-input-color/index.mjs +77 -54
  192. package/fy-input-icon/index.mjs +129 -82
  193. package/fy-input-map/index.mjs +242 -183
  194. package/fy-input-number/index.mjs +74 -49
  195. package/fy-input-table/index.mjs +160 -105
  196. package/fy-input-tree/index.mjs +259 -178
  197. package/fy-progress/index.mjs +36 -39
  198. package/fy-radio/index.mjs +53 -37
  199. package/fy-rate/index.mjs +86 -70
  200. package/fy-select/index.mjs +224 -137
  201. package/fy-slider/index.mjs +68 -43
  202. package/fy-switch/index.mjs +67 -41
  203. package/fy-tabs/index.mjs +46 -46
  204. package/fy-time/index.mjs +81 -53
  205. package/fy-title/index.mjs +18 -27
  206. package/fy-tree/index.mjs +382 -286
  207. package/fy-u-editor/index.mjs +2 -357
  208. package/fy-upload/index.mjs +2 -421
  209. package/guide-steps/index.mjs +72 -71
  210. package/helper-function.d.ts +3 -30
  211. package/helper-function.mjs +48 -67
  212. package/highlight-j-s/index.mjs +50 -59
  213. package/icon-card/index.mjs +34 -36
  214. package/icon-temp/index.mjs +27 -27
  215. package/iframe-window/index.mjs +39 -32
  216. package/image-cropper/index.mjs +171 -73
  217. package/image-preview/index.mjs +2 -116
  218. package/image-viewer/index.mjs +69 -66
  219. package/index.d.ts +3 -9
  220. package/index.mjs +173 -488
  221. package/input-number-range/index.mjs +78 -58
  222. package/j-s-x-component/index.mjs +13 -15
  223. package/keyboard/index.mjs +2 -369
  224. package/license/index.mjs +106 -115
  225. package/loading-view/index.mjs +39 -51
  226. package/login/index.mjs +252 -120
  227. package/monaco-editor/index.mjs +2 -7
  228. package/name-avatar/index.mjs +61 -53
  229. package/nav-bar/index.mjs +33 -30
  230. package/not-implement/index.mjs +10 -22
  231. package/notice/index.mjs +100 -93
  232. package/package.json +7 -7
  233. package/page/index.mjs +18 -25
  234. package/page-header/index.mjs +27 -33
  235. package/page-index/index.mjs +121 -99
  236. package/page-index-top/index.mjs +79 -74
  237. package/page-skeleton/index.mjs +47 -44
  238. package/page-skeleton-new/index.mjs +79 -49
  239. package/pageable-table/index.mjs +2 -512
  240. package/pageable-view/index.mjs +279 -274
  241. package/photo-swipe/index.d.ts +4 -0
  242. package/photo-swipe/index.mjs +33 -36
  243. package/picker-table-view/index.mjs +224 -117
  244. package/present-view/index.mjs +271 -196
  245. package/queue/index.mjs +45 -53
  246. package/record-video/index.mjs +2 -134
  247. package/resize-observer/index.mjs +43 -46
  248. package/search/index.mjs +116 -107
  249. package/sign/index.mjs +103 -110
  250. package/sign-panel/index.mjs +182 -141
  251. package/skeleton/index.mjs +51 -54
  252. package/skeleton-panel/index.mjs +33 -37
  253. package/split-pane/index.mjs +3 -196
  254. package/stateful/index.mjs +70 -73
  255. package/static-pageable-table/index.mjs +72 -64
  256. package/sub-table/index.mjs +508 -206
  257. package/sub-table-plus/index.mjs +592 -230
  258. package/swiper/index.mjs +128 -120
  259. package/tab/index.mjs +117 -119
  260. package/tab-item/index.mjs +48 -56
  261. package/table-column/index.mjs +2 -225
  262. package/table-view/index.mjs +3 -326
  263. package/tabs-view/index.mjs +109 -104
  264. package/tag-render/index.mjs +79 -67
  265. package/text-ellipsis/index.mjs +94 -77
  266. package/toolbar/index.mjs +2 -254
  267. package/toolbar-button/index.mjs +142 -120
  268. package/verify/index.mjs +58 -64
  269. package/vue-cron/index.mjs +2 -1180
  270. package/vue-qr-code/index.mjs +31 -54
  271. package/vue-quill-editor/index.mjs +123 -99
  272. package/vue-tags-input/index.mjs +348 -431
  273. package/vue-tree-select/index.mjs +2 -2627
  274. package/vue-video-player/index.mjs +135 -136
  275. package/watermark/index.mjs +46 -74
  276. package/web-types.json +225 -969
  277. package/x-input-tag/index.mjs +144 -106
  278. package/chunks/ElementBaseInfo.ZADwixb5.mjs +0 -125
  279. package/chunks/ElementForm.CQ3PN5qj.mjs +0 -223
  280. package/chunks/ElementListeners.De_PRuIm.mjs +0 -215
  281. package/chunks/ElementMultiInstance.DQo2wuAQ.mjs +0 -181
  282. package/chunks/ElementOtherConfig.B1NfMTYh.mjs +0 -60
  283. package/chunks/ElementProperties.CosfDrlW.mjs +0 -112
  284. package/chunks/ElementTaskConfig.Bko0kgTp.mjs +0 -317
  285. package/chunks/FlowCondition.Y6qEYi1T.mjs +0 -102
  286. package/chunks/FormTemp.BQxO5IQq.mjs +0 -123
  287. package/chunks/MonacoEditor.D31t4FTy.mjs +0 -327
  288. package/chunks/SignalAndMessage.Bb5PFX0N.mjs +0 -85
  289. package/chunks/UserTaskListeners.Bv3BDfEI.mjs +0 -169
  290. package/chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs +0 -10
  291. package/chunks/confirmable-mixin.B2TtLAdk.mjs +0 -86
  292. package/chunks/core.0Exl13Mz.mjs +0 -54
  293. package/chunks/dataformat.CpqOeGBl.mjs +0 -154
  294. package/chunks/dic.Dkl-leRW.mjs +0 -128
  295. package/chunks/dictionary.DGt59Ir7.mjs +0 -68
  296. package/chunks/dictionary.DqiP9x2m.mjs +0 -25
  297. package/chunks/event.9aDS6jcw.mjs +0 -236
  298. package/chunks/form-input.CvFdwlEV.mjs +0 -31
  299. package/chunks/form-item.LWjePsPa.mjs +0 -233
  300. package/chunks/form-pick.BFTIVn_i.mjs +0 -11
  301. package/chunks/form-validate.CVarNHKX.mjs +0 -12
  302. package/chunks/helper.BiMLcEEk.mjs +0 -41
  303. package/chunks/index.9OxHjTIE.mjs +0 -16
  304. package/chunks/index.B2TRddqf.mjs +0 -184
  305. package/chunks/index.BmYCjxZQ.mjs +0 -47
  306. package/chunks/init.DAsXSoLW.mjs +0 -122
  307. package/chunks/packages.ByyangTp.mjs +0 -58
  308. package/chunks/permission.CO31YIkD.mjs +0 -16
  309. package/chunks/slot.DXIbhGat.mjs +0 -27
  310. package/chunks/sub-table-plus-props.BVsD71hT.mjs +0 -30
  311. package/chunks/tab-mixin.BNK6dxLN.mjs +0 -81
  312. package/chunks/util.DqFv_pWg.mjs +0 -241
  313. package/chunks/utilSelf.Csq1766E.mjs +0 -48
  314. package/chunks/utils.DRcxC1Fb.mjs +0 -60
  315. package/color-picker/index.mjs +0 -78
  316. package/egd-collapse/index.mjs +0 -62
  317. package/egd-collapse-item/index.mjs +0 -72
  318. package/form-input-number/index.mjs +0 -69
  319. package/form-input-number/style.css +0 -1
  320. package/input-number/index.mjs +0 -232
  321. package/input-number/style.css +0 -1
  322. package/keep-view-alive/index.mjs +0 -117
  323. package/search-popover/index.mjs +0 -118
  324. package/search-popover/style.css +0 -1
  325. /package/{base.css → utils/style.css} +0 -0
@@ -0,0 +1,325 @@
1
+ import { _ as e, c as t, d as n, l as r, m as i } from "./install.yLcn5MLL.mjs";
2
+ import { computed as a, getCurrentInstance as o, getCurrentScope as s, onMounted as c, onScopeDispose as l, readonly as u, ref as d, shallowRef as f, unref as p, warn as m, watch as h, watchEffect as ee } from "vue";
3
+ import { fromPairs as te, get as ne, isNil as g, set as _ } from "lodash-unified";
4
+ //#region node_modules/.pnpm/element-plus@2.13.6_typescr_b7ae825491da06c0282fd613061a7e37/node_modules/element-plus/es/utils/types.mjs
5
+ var v = (e) => e === void 0, y = (e) => typeof e == "boolean", b = (e) => typeof e == "number", x = (e) => !e && e !== 0 || n(e) && e.length === 0 || i(e) && !Object.keys(e).length, S = (e) => typeof Element > "u" ? !1 : e instanceof Element, C = (e) => g(e), re = (t) => e(t) ? !Number.isNaN(Number(t)) : !1, ie = (e) => Object.keys(e), ae = (e, t, n) => ({
6
+ get value() {
7
+ return ne(e, t, n);
8
+ },
9
+ set value(n) {
10
+ _(e, t, n);
11
+ }
12
+ }), oe = "__epPropKey", se = (e) => e, ce = (e) => i(e) && !!e.__epPropKey, w = (e, t) => {
13
+ if (!i(e) || ce(e)) return e;
14
+ let { values: n, required: a, default: o, type: s, validator: c } = e, l = {
15
+ type: s,
16
+ required: !!a,
17
+ validator: n || c ? (i) => {
18
+ let a = !1, s = [];
19
+ if (n && (s = Array.from(n), r(e, "default") && s.push(o), a || (a = s.includes(i))), c && (a || (a = c(i))), !a && s.length > 0) {
20
+ let e = [...new Set(s)].map((e) => JSON.stringify(e)).join(", ");
21
+ m(`Invalid prop: validation failed${t ? ` for prop "${t}"` : ""}. Expected one of [${e}], got value ${JSON.stringify(i)}.`);
22
+ }
23
+ return a;
24
+ } : void 0,
25
+ [oe]: !0
26
+ };
27
+ return r(e, "default") && (l.default = o), l;
28
+ }, le = (e) => te(Object.entries(e).map(([e, t]) => [e, w(t, e)])), T = class extends Error {
29
+ constructor(e) {
30
+ super(e), this.name = "ElementPlusError";
31
+ }
32
+ };
33
+ function ue(e, t) {
34
+ throw new T(`[${e}] ${t}`);
35
+ }
36
+ function E(t, n) {
37
+ {
38
+ let r = e(t) ? new T(`[${t}] ${n}`) : t;
39
+ console.warn(r);
40
+ }
41
+ }
42
+ //#endregion
43
+ //#region node_modules/.pnpm/@vueuse+shared@12.0.0_typescript@5.9.3/node_modules/@vueuse/shared/index.mjs
44
+ function D(e, t) {
45
+ let n = f();
46
+ return ee(() => {
47
+ n.value = e();
48
+ }, {
49
+ ...t,
50
+ flush: (t == null ? void 0 : t.flush) ?? "sync"
51
+ }), u(n);
52
+ }
53
+ function O(e) {
54
+ return s() ? (l(e), !0) : !1;
55
+ }
56
+ function k(e) {
57
+ return typeof e == "function" ? e() : p(e);
58
+ }
59
+ var A = typeof window < "u" && typeof document < "u";
60
+ typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
61
+ var j = (e) => e != null, M = Object.prototype.toString, N = (e) => M.call(e) === "[object Object]", P = () => {}, F = /* @__PURE__ */ I();
62
+ function I() {
63
+ var e, t;
64
+ return A && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
65
+ }
66
+ function L(e, t) {
67
+ function n(...n) {
68
+ return new Promise((r, i) => {
69
+ Promise.resolve(e(() => t.apply(this, n), {
70
+ fn: t,
71
+ thisArg: this,
72
+ args: n
73
+ })).then(r).catch(i);
74
+ });
75
+ }
76
+ return n;
77
+ }
78
+ function R(e, t = {}) {
79
+ let n, r, i = P, a = (e) => {
80
+ clearTimeout(e), i(), i = P;
81
+ };
82
+ return (o) => {
83
+ let s = k(e), c = k(t.maxWait);
84
+ return n && a(n), s <= 0 || c !== void 0 && c <= 0 ? (r && (a(r), r = null), Promise.resolve(o())) : new Promise((e, l) => {
85
+ i = t.rejectOnCancel ? l : e, c && !r && (r = setTimeout(() => {
86
+ n && a(n), r = null, e(o());
87
+ }, c)), n = setTimeout(() => {
88
+ r && a(r), r = null, e(o());
89
+ }, s);
90
+ });
91
+ };
92
+ }
93
+ function z(e, t = 200, n = {}) {
94
+ return L(R(t, n), e);
95
+ }
96
+ function B(e, t = 200, n = {}) {
97
+ let r = d(e.value), i = z(() => {
98
+ r.value = e.value;
99
+ }, t, n);
100
+ return h(e, () => i()), r;
101
+ }
102
+ function V(e, t, n = {}) {
103
+ let { immediate: r = !0 } = n, i = d(!1), a = null;
104
+ function o() {
105
+ a && (clearTimeout(a), a = null);
106
+ }
107
+ function s() {
108
+ i.value = !1, o();
109
+ }
110
+ function c(...n) {
111
+ o(), i.value = !0, a = setTimeout(() => {
112
+ i.value = !1, a = null, e(...n);
113
+ }, k(t));
114
+ }
115
+ return r && (i.value = !0, A && c()), O(s), {
116
+ isPending: u(i),
117
+ start: c,
118
+ stop: s
119
+ };
120
+ }
121
+ //#endregion
122
+ //#region node_modules/.pnpm/@vueuse+core@12.0.0_typescript@5.9.3/node_modules/@vueuse/core/index.mjs
123
+ var H = A ? window : void 0;
124
+ A && window.document, A && window.navigator, A && window.location;
125
+ function U(e) {
126
+ let t = k(e);
127
+ return (t == null ? void 0 : t.$el) ?? t;
128
+ }
129
+ function W(...e) {
130
+ let t, n, r, i;
131
+ if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, r, i] = e, t = H) : [t, n, r, i] = e, !t) return P;
132
+ Array.isArray(n) || (n = [n]), Array.isArray(r) || (r = [r]);
133
+ let a = [], o = () => {
134
+ a.forEach((e) => e()), a.length = 0;
135
+ }, s = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), c = h(() => [U(t), k(i)], ([e, t]) => {
136
+ if (o(), !e) return;
137
+ let i = N(t) ? { ...t } : t;
138
+ a.push(...n.flatMap((t) => r.map((n) => s(e, t, n, i))));
139
+ }, {
140
+ immediate: !0,
141
+ flush: "post"
142
+ }), l = () => {
143
+ c(), o();
144
+ };
145
+ return O(l), l;
146
+ }
147
+ var G = !1;
148
+ function de(e, t, n = {}) {
149
+ let { window: r = H, ignore: i = [], capture: a = !0, detectIframe: o = !1 } = n;
150
+ if (!r) return P;
151
+ F && !G && (G = !0, Array.from(r.document.body.children).forEach((e) => e.addEventListener("click", P)), r.document.documentElement.addEventListener("click", P));
152
+ let s = !0, c = (e) => k(i).some((t) => {
153
+ if (typeof t == "string") return Array.from(r.document.querySelectorAll(t)).some((t) => t === e.target || e.composedPath().includes(t));
154
+ {
155
+ let n = U(t);
156
+ return n && (e.target === n || e.composedPath().includes(n));
157
+ }
158
+ });
159
+ function l(e) {
160
+ let t = k(e);
161
+ return t && t.$.subTree.shapeFlag === 16;
162
+ }
163
+ function u(e, t) {
164
+ let n = k(e), r = n.$.subTree && n.$.subTree.children;
165
+ return r == null || !Array.isArray(r) ? !1 : r.some((e) => e.el === t.target || t.composedPath().includes(e.el));
166
+ }
167
+ let d = (n) => {
168
+ let r = U(e);
169
+ if (n.target != null && !(!(r instanceof Element) && l(e) && u(e, n)) && !(!r || r === n.target || n.composedPath().includes(r))) {
170
+ if (n.detail === 0 && (s = !c(n)), !s) {
171
+ s = !0;
172
+ return;
173
+ }
174
+ t(n);
175
+ }
176
+ }, f = !1, p = [
177
+ W(r, "click", (e) => {
178
+ f || (f = !0, setTimeout(() => {
179
+ f = !1;
180
+ }, 0), d(e));
181
+ }, {
182
+ passive: !0,
183
+ capture: a
184
+ }),
185
+ W(r, "pointerdown", (t) => {
186
+ let n = U(e);
187
+ s = !c(t) && !!(n && !t.composedPath().includes(n));
188
+ }, { passive: !0 }),
189
+ o && W(r, "blur", (n) => {
190
+ setTimeout(() => {
191
+ var i;
192
+ let a = U(e);
193
+ ((i = r.document.activeElement) == null ? void 0 : i.tagName) === "IFRAME" && !(a != null && a.contains(r.document.activeElement)) && t(n);
194
+ }, 0);
195
+ })
196
+ ].filter(Boolean);
197
+ return () => p.forEach((e) => e());
198
+ }
199
+ function fe() {
200
+ let e = d(!1), t = o();
201
+ return t && c(() => {
202
+ e.value = !0;
203
+ }, t), e;
204
+ }
205
+ function K(e) {
206
+ let t = fe();
207
+ return a(() => (t.value, !!e()));
208
+ }
209
+ function q(e, t, n = {}) {
210
+ let { window: r = H, ...i } = n, o, s = K(() => r && "MutationObserver" in r), c = () => {
211
+ o && (o.disconnect(), o = void 0);
212
+ }, l = a(() => {
213
+ let t = k(e), n = (Array.isArray(t) ? t : [t]).map(U).filter(j);
214
+ return new Set(n);
215
+ }), u = h(() => l.value, (e) => {
216
+ c(), s.value && e.size && (o = new MutationObserver(t), e.forEach((e) => o.observe(e, i)));
217
+ }, {
218
+ immediate: !0,
219
+ flush: "post"
220
+ }), d = () => o == null ? void 0 : o.takeRecords(), f = () => {
221
+ u(), c();
222
+ };
223
+ return O(f), {
224
+ isSupported: s,
225
+ stop: f,
226
+ takeRecords: d
227
+ };
228
+ }
229
+ function pe(e, t, n = {}) {
230
+ let { window: r = H, initialValue: i, observe: o = !1 } = n, s = d(i), c = a(() => {
231
+ var e;
232
+ return U(t) || ((e = r == null ? void 0 : r.document) == null ? void 0 : e.documentElement);
233
+ });
234
+ function l() {
235
+ var t;
236
+ let n = k(e), a = k(c);
237
+ a && r && n && (s.value = ((t = r.getComputedStyle(a).getPropertyValue(n)) == null ? void 0 : t.trim()) || i);
238
+ }
239
+ return o && q(c, l, {
240
+ attributeFilter: ["style", "class"],
241
+ window: r
242
+ }), h([c, () => k(e)], (e, t) => {
243
+ t[0] && t[1] && t[0].style.removeProperty(t[1]), l();
244
+ }, { immediate: !0 }), h(s, (t) => {
245
+ var n;
246
+ let r = k(e);
247
+ (n = c.value) != null && n.style && r && (t == null ? c.value.style.removeProperty(r) : c.value.style.setProperty(r, t));
248
+ }), s;
249
+ }
250
+ function me(e, t, n = {}) {
251
+ let { window: r = H, ...i } = n, o, s = K(() => r && "ResizeObserver" in r), c = () => {
252
+ o && (o.disconnect(), o = void 0);
253
+ }, l = h(a(() => {
254
+ let t = k(e);
255
+ return Array.isArray(t) ? t.map((e) => U(e)) : [U(t)];
256
+ }), (e) => {
257
+ if (c(), s.value && r) {
258
+ o = new ResizeObserver(t);
259
+ for (let t of e) t && o.observe(t, i);
260
+ }
261
+ }, {
262
+ immediate: !0,
263
+ flush: "post"
264
+ }), u = () => {
265
+ c(), l();
266
+ };
267
+ return O(u), {
268
+ isSupported: s,
269
+ stop: u
270
+ };
271
+ }
272
+ //#endregion
273
+ //#region node_modules/.pnpm/element-plus@2.13.6_typescr_b7ae825491da06c0282fd613061a7e37/node_modules/element-plus/es/utils/dom/aria.mjs
274
+ var he = "a[href],button:not([disabled]),button:not([hidden]),:not([tabindex=\"-1\"]),input:not([disabled]),input:not([type=\"hidden\"]),select:not([disabled]),textarea:not([disabled])", ge = (e) => typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot, J = (e) => typeof Element > "u" ? !1 : e instanceof Element, _e = (e) => getComputedStyle(e).position === "fixed" ? !1 : e.offsetParent !== null, ve = (e) => Array.from(e.querySelectorAll(he)).filter((e) => Y(e) && _e(e)), Y = (e) => {
275
+ if (e.tabIndex > 0 || e.tabIndex === 0 && e.getAttribute("tabIndex") !== null) return !0;
276
+ if (e.tabIndex < 0 || e.hasAttribute("disabled") || e.getAttribute("aria-disabled") === "true") return !1;
277
+ switch (e.nodeName) {
278
+ case "A": return !!e.href && e.rel !== "ignore";
279
+ case "INPUT": return !(e.type === "hidden" || e.type === "file");
280
+ case "BUTTON":
281
+ case "SELECT":
282
+ case "TEXTAREA": return !0;
283
+ default: return !1;
284
+ }
285
+ }, X = (e) => !e.getAttribute("aria-owns"), ye = (e, t, n) => {
286
+ let { parentNode: r } = e;
287
+ if (!r) return null;
288
+ let i = r.querySelectorAll(n);
289
+ return i[Array.prototype.indexOf.call(i, e) + t] || null;
290
+ }, Z = (e, t) => {
291
+ if (!e || !e.focus) return;
292
+ let n = !1;
293
+ J(e) && !Y(e) && !e.getAttribute("tabindex") && (e.setAttribute("tabindex", "-1"), n = !0), e.focus(t), J(e) && n && e.removeAttribute("tabindex");
294
+ }, be = (e) => {
295
+ e && (Z(e), !X(e) && e.click());
296
+ }, xe = () => A && /firefox/i.test(window.navigator.userAgent), Q = () => A && /android/i.test(window.navigator.userAgent), Se = (e = "") => e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d"), Ce = "utils/dom/style", $ = (e = "") => e.split(" ").filter((e) => !!e.trim()), we = (e, t) => {
297
+ if (!e || !t) return !1;
298
+ if (t.includes(" ")) throw Error("className should not contain space.");
299
+ return e.classList.contains(t);
300
+ }, Te = (e, t) => {
301
+ !e || !t.trim() || e.classList.add(...$(t));
302
+ }, Ee = (e, t) => {
303
+ !e || !t.trim() || e.classList.remove(...$(t));
304
+ }, De = (e, n) => {
305
+ if (!A || !e || !n || ge(e)) return "";
306
+ let r = t(n);
307
+ r === "float" && (r = "cssFloat");
308
+ try {
309
+ var i;
310
+ let t = e.style[r];
311
+ if (t) return t;
312
+ let n = (i = document.defaultView) == null ? void 0 : i.getComputedStyle(e, "");
313
+ return n ? n[r] : "";
314
+ } catch {
315
+ return e.style[r];
316
+ }
317
+ };
318
+ function Oe(t, n = "px") {
319
+ if (!t && t !== 0) return "";
320
+ if (b(t) || re(t)) return `${t}${n}`;
321
+ if (e(t)) return t;
322
+ E(Ce, "binding value must be a string or number");
323
+ }
324
+ //#endregion
325
+ export { w as A, v as B, F as C, V as D, z as E, y as F, S as I, x as L, se as M, ae as N, E as O, ie as P, b as R, A as S, O as T, pe as _, Ee as a, me as b, xe as c, ye as d, Y as f, U as g, de as h, we as i, le as j, ue as k, Z as l, ve as m, Oe as n, Se as o, X as p, De as r, Q as s, Te as t, be as u, W as v, B as w, D as x, q as y, C as z };
@@ -0,0 +1,28 @@
1
+ //#region src/components/table/sub-table-plus-props.js
2
+ var e = { props: {
3
+ modelValue: Array,
4
+ prop: String,
5
+ columns: Array,
6
+ descs: Array,
7
+ ascs: Array,
8
+ limit: {
9
+ type: Number,
10
+ default: Infinity
11
+ },
12
+ disabled: Boolean,
13
+ showSummary: Boolean,
14
+ selection: Boolean,
15
+ index: {
16
+ type: Boolean,
17
+ default: !0
18
+ },
19
+ selectionWidth: String,
20
+ toolbarMenus: Array,
21
+ handleMenus: Array,
22
+ fetchApi: Function,
23
+ delApi: Function,
24
+ bottomAddButton: Boolean,
25
+ initRow: Function
26
+ } };
27
+ //#endregion
28
+ export { e as t };
@@ -0,0 +1,70 @@
1
+ //#region src/components/tab/tab-mixin.js
2
+ var e = {
3
+ mounted() {
4
+ this.value >= 0 && (this.currentIndex = this.value), this.updateIndex();
5
+ },
6
+ methods: { updateIndex() {
7
+ if (!this.$children || !this.$children.length) return;
8
+ this.number = this.$children.length;
9
+ let e = this.$children;
10
+ for (let t = 0; t < e.length; t++) e[t].currentIndex = t, e[t].currentSelected && (this.index = t);
11
+ } },
12
+ props: { value: Number },
13
+ watch: {
14
+ currentIndex(e, t) {
15
+ t > -1 && this.$children[t] && (this.$children[t].currentSelected = !1), e > -1 && this.$children[e] && (this.$children[e].currentSelected = !0), this.$emit("input", e), this.$emit("on-index-change", e, t);
16
+ },
17
+ index(e) {
18
+ this.currentIndex = e;
19
+ },
20
+ value(e) {
21
+ this.index = e;
22
+ }
23
+ },
24
+ data() {
25
+ return {
26
+ index: -1,
27
+ currentIndex: this.index,
28
+ number: this.$children.length
29
+ };
30
+ }
31
+ }, t = {
32
+ props: { selected: {
33
+ type: Boolean,
34
+ default: !1
35
+ } },
36
+ mounted() {
37
+ this.$parent.updateIndex();
38
+ },
39
+ beforeDestroy() {
40
+ let e = this.$parent;
41
+ this.$nextTick(() => {
42
+ e.updateIndex();
43
+ });
44
+ },
45
+ methods: { onItemClick(e) {
46
+ if (this.$parent.preventDefault) {
47
+ this.$parent.$emit("on-before-index-change", this.currentIndex);
48
+ return;
49
+ }
50
+ (this.disabled === void 0 || this.disabled === !1) && (this.currentSelected = !0, this.$parent.currentIndex = this.currentIndex, this.$nextTick(() => {
51
+ this.$emit("on-item-click", this.currentIndex);
52
+ }));
53
+ } },
54
+ watch: {
55
+ currentSelected(e) {
56
+ e && (this.$parent.index = this.currentIndex);
57
+ },
58
+ selected(e) {
59
+ this.currentSelected = e;
60
+ }
61
+ },
62
+ data() {
63
+ return {
64
+ currentIndex: -1,
65
+ currentSelected: this.selected
66
+ };
67
+ }
68
+ };
69
+ //#endregion
70
+ export { e as n, t };
@@ -0,0 +1,141 @@
1
+ import { d as e, o as t, t as n } from "./install.yLcn5MLL.mjs";
2
+ import { a as r } from "./typescript.CLl-2siQ.mjs";
3
+ import { I as i, S as a, j as o } from "./style.BmlGmjpO.mjs";
4
+ import { n as s } from "./use-locale.Be9HCpTQ.mjs";
5
+ import { i as c } from "./use-form-item.BlWa7ZKe.mjs";
6
+ import { f as l, t as u } from "./icon.ym7735_x.mjs";
7
+ import { Transition as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as _, defineComponent as v, normalizeClass as y, normalizeStyle as b, openBlock as x, renderSlot as S, unref as C, withCtx as w, withModifiers as T } from "vue";
8
+ //#region node_modules/.pnpm/element-plus@2.13.6_typescr_b7ae825491da06c0282fd613061a7e37/node_modules/element-plus/es/directives/click-outside/index.mjs
9
+ var E = /* @__PURE__ */ new Map();
10
+ if (a) {
11
+ let e;
12
+ document.addEventListener("mousedown", (t) => e = t), document.addEventListener("mouseup", (t) => {
13
+ if (e) {
14
+ for (let n of E.values()) for (let { documentHandler: r } of n) r(t, e);
15
+ e = void 0;
16
+ }
17
+ });
18
+ }
19
+ function D(t, n) {
20
+ let r = [];
21
+ return e(n.arg) ? r = n.arg : i(n.arg) && r.push(n.arg), function(e, i) {
22
+ let a = n.instance.popperRef, o = e.target, s = i == null ? void 0 : i.target, c = !n || !n.instance, l = !o || !s, u = t.contains(o) || t.contains(s), d = t === o, f = r.length && r.some((e) => e == null ? void 0 : e.contains(o)) || r.length && r.includes(s), p = a && (a.contains(o) || a.contains(s));
23
+ c || l || u || d || f || p || n.value(e, i);
24
+ };
25
+ }
26
+ var O = {
27
+ beforeMount(e, t) {
28
+ E.has(e) || E.set(e, []), E.get(e).push({
29
+ documentHandler: D(e, t),
30
+ bindingFn: t.value
31
+ });
32
+ },
33
+ updated(e, t) {
34
+ E.has(e) || E.set(e, []);
35
+ let n = E.get(e), r = n.findIndex((e) => e.bindingFn === t.oldValue), i = {
36
+ documentHandler: D(e, t),
37
+ bindingFn: t.value
38
+ };
39
+ r >= 0 ? n.splice(r, 1, i) : n.push(i);
40
+ },
41
+ unmounted(e) {
42
+ E.delete(e);
43
+ }
44
+ }, k = o({
45
+ type: {
46
+ type: String,
47
+ values: [
48
+ "primary",
49
+ "success",
50
+ "info",
51
+ "warning",
52
+ "danger"
53
+ ],
54
+ default: "primary"
55
+ },
56
+ closable: Boolean,
57
+ disableTransitions: Boolean,
58
+ hit: Boolean,
59
+ color: String,
60
+ size: {
61
+ type: String,
62
+ values: r
63
+ },
64
+ effect: {
65
+ type: String,
66
+ values: [
67
+ "dark",
68
+ "light",
69
+ "plain"
70
+ ],
71
+ default: "light"
72
+ },
73
+ round: Boolean
74
+ }), A = {
75
+ close: (e) => e instanceof MouseEvent,
76
+ click: (e) => e instanceof MouseEvent
77
+ }, j = ["aria-label"], M = ["aria-label"], N = n(/* @__PURE__ */ v({
78
+ name: "ElTag",
79
+ __name: "tag",
80
+ props: k,
81
+ emits: A,
82
+ setup(e, { emit: n }) {
83
+ let r = e, i = n, a = c(), { t: o } = s(), v = t("tag"), E = f(() => {
84
+ let { type: e, hit: t, effect: n, closable: i, round: o } = r;
85
+ return [
86
+ v.b(),
87
+ v.is("closable", i),
88
+ v.m(e || "primary"),
89
+ v.m(a.value),
90
+ v.m(n),
91
+ v.is("hit", t),
92
+ v.is("round", o)
93
+ ];
94
+ }), D = (e) => {
95
+ i("close", e);
96
+ }, O = (e) => {
97
+ i("click", e);
98
+ }, k = (e) => {
99
+ var t;
100
+ !(e == null || (t = e.component) == null || (t = t.subTree) == null || (t = t.component) == null) && t.bum && (e.component.subTree.component.bum = null);
101
+ };
102
+ return (t, n) => e.disableTransitions ? (x(), h("span", {
103
+ key: 0,
104
+ class: y(E.value),
105
+ style: b({ backgroundColor: e.color }),
106
+ onClick: O
107
+ }, [g("span", { class: y(C(v).e("content")) }, [S(t.$slots, "default")], 2), e.closable ? (x(), h("button", {
108
+ key: 0,
109
+ "aria-label": C(o)("el.tag.close"),
110
+ class: y(C(v).e("close")),
111
+ type: "button",
112
+ onClick: T(D, ["stop"])
113
+ }, [_(C(u), null, {
114
+ default: w(() => [_(C(l))]),
115
+ _: 1
116
+ })], 10, j)) : m("v-if", !0)], 6)) : (x(), p(d, {
117
+ key: 1,
118
+ name: `${C(v).namespace.value}-zoom-in-center`,
119
+ appear: "",
120
+ onVnodeMounted: k
121
+ }, {
122
+ default: w(() => [g("span", {
123
+ class: y(E.value),
124
+ style: b({ backgroundColor: e.color }),
125
+ onClick: O
126
+ }, [g("span", { class: y(C(v).e("content")) }, [S(t.$slots, "default")], 2), e.closable ? (x(), h("button", {
127
+ key: 0,
128
+ "aria-label": C(o)("el.tag.close"),
129
+ class: y(C(v).e("close")),
130
+ type: "button",
131
+ onClick: T(D, ["stop"])
132
+ }, [_(C(u), null, {
133
+ default: w(() => [_(C(l))]),
134
+ _: 1
135
+ })], 10, M)) : m("v-if", !0)], 6)]),
136
+ _: 3
137
+ }, 8, ["name"]));
138
+ }
139
+ }));
140
+ //#endregion
141
+ export { k as n, O as r, N as t };