@web-utils/form-ui 1.0.0-beta85 → 1.0.0-beta87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/address-input/index.mjs +1 -1
- package/affix/index.mjs +2 -2
- package/base2.css +1 -0
- package/capsule-tab/index.mjs +1 -1
- package/card/index.mjs +15 -15
- package/chunks/{C-zPVdz-.mjs → 1EH2Ca7m2.mjs} +31 -29
- package/chunks/{mnqSaATq.mjs → 2Bhi7uIl.mjs} +18 -19
- package/chunks/2Hag_Aho.mjs +4 -0
- package/chunks/6Lm-ZabT2.mjs +439 -0
- package/chunks/7OAy-mrx.mjs +642 -0
- package/chunks/7cy48wUQ.mjs +25 -0
- package/chunks/8ldF4QwW.mjs +209 -0
- package/chunks/{BhHMGhJ8.mjs → B0rLJ6br2.mjs} +27 -26
- package/chunks/{DCqyZyF6.mjs → B14qtsOg2.mjs} +8 -7
- package/chunks/B2vpUK0j.mjs +13 -0
- package/chunks/B7fnIBG_2.mjs +346 -0
- package/chunks/B9BRO_ca2.mjs +2 -0
- package/chunks/B9rfY77Q.mjs +107 -0
- package/chunks/BBYzYVET.mjs +173 -0
- package/chunks/BBbwcaCo.mjs +196 -0
- package/chunks/{DSTNXl142.mjs → BBlZh4pj.mjs} +2 -2
- package/chunks/{6dNVtIN32.mjs → BCqOe0lx.mjs} +1 -1
- package/chunks/BEOl740t2.mjs +56 -0
- package/chunks/{B1luuf_A2.mjs → BF0OBs7P.mjs} +15 -14
- package/chunks/BFY-akW92.mjs +1 -0
- package/chunks/BGjN3ifV.mjs +34 -0
- package/chunks/BMouE3MT.mjs +48 -0
- package/chunks/{BYu4QaK72.mjs → BPQMbzNr.mjs} +2 -2
- package/chunks/BVD_ePZC.mjs +37 -0
- package/chunks/BVSJF8GY.mjs +670 -0
- package/chunks/{vHsAJZRT.mjs → BXdCyPVV.mjs} +2 -2
- package/chunks/{DbcxJ45j.mjs → BZb0RMw12.mjs} +15 -13
- package/chunks/BZuJ9dKq2.mjs +69 -0
- package/chunks/BaM7vJ3h.mjs +1920 -0
- package/chunks/BbJd8Pij.mjs +734 -0
- package/chunks/{tVHVSu5h.mjs → BgQktI__2.mjs} +384 -385
- package/chunks/BhIjXcRj2.mjs +617 -0
- package/chunks/{SInS7QSL.mjs → Bi03Pb_j2.mjs} +1 -1
- package/chunks/Bi2y9LWO2.mjs +338 -0
- package/chunks/{CTFV8OFH2.mjs → BjZf7WL6.mjs} +2 -2
- package/chunks/{BxcsELcB2.mjs → BkEjtrWy.mjs} +2 -2
- package/chunks/BnNJk0GR2.mjs +4 -0
- package/chunks/Bpp7HhpF.mjs +446 -0
- package/chunks/Bs0Qas8r.mjs +14 -0
- package/chunks/Bs8cIxmy.mjs +384 -0
- package/chunks/BsBVCVnp2.mjs +378 -0
- package/chunks/BtGJbKCB.mjs +4 -0
- package/chunks/{Bs926z902.mjs → BuwISkjU.mjs} +12 -11
- package/chunks/{61ccpSFj2.mjs → BvdCIFp_.mjs} +39 -32
- package/chunks/BwVhaeaN2.mjs +8 -0
- package/chunks/BxfDXlNF.mjs +5 -0
- package/chunks/C1rRv4L7.mjs +1094 -0
- package/chunks/C2ILQE4o.mjs +15 -0
- package/chunks/{CCpKg0cM.mjs → C5SO6LJW.mjs} +2 -2
- package/chunks/C6wieT3K2.mjs +4 -0
- package/chunks/C7L-0D2c.mjs +18 -0
- package/chunks/CAXQZ1D92.mjs +158 -0
- package/chunks/CAmsy3d12.mjs +1 -0
- package/chunks/CBrMFZX-.mjs +39 -0
- package/chunks/CDhbz_dU.mjs +5 -0
- package/chunks/CEAep1cG2.mjs +88 -0
- package/chunks/CEDUulAx.mjs +245 -0
- package/chunks/CEaiqlCR.mjs +678 -0
- package/chunks/{CpsHWpwH2.mjs → CFfhckpA.mjs} +26 -27
- package/chunks/CG-vyVAP2.mjs +2 -0
- package/chunks/CHqbeWkw.mjs +99 -0
- package/chunks/CI6Nw27a2.mjs +299 -0
- package/chunks/CNcSX5f1.mjs +1 -0
- package/chunks/CPAK-Btp2.mjs +58 -0
- package/chunks/CRScbQff2.mjs +1 -0
- package/chunks/CShykH0i.mjs +1 -0
- package/chunks/CTAUFbNL.mjs +222 -0
- package/chunks/{D_q3C3v4.mjs → CTCW5Zu02.mjs} +135 -134
- package/chunks/CZbhVowA2.mjs +105 -0
- package/chunks/{DVF9q3oX.mjs → C_mXAGw2.mjs} +2 -2
- package/chunks/C_rLHaAm.mjs +41 -0
- package/chunks/C_ykwQIT.mjs +25 -0
- package/chunks/Cm5l5wtF.mjs +21 -0
- package/chunks/CogUVyM32.mjs +161 -0
- package/chunks/{C-iN5MJZ.mjs → Cqn3fqrC.mjs} +6 -6
- package/chunks/{BsqIRxSS.mjs → CsckXzQC.mjs} +7 -6
- package/chunks/CtqI9iHR.mjs +108 -0
- package/chunks/{Dodxnwze.mjs → CuU6RbNj2.mjs} +6 -6
- package/chunks/Cu_oMKPd.mjs +250 -0
- package/chunks/Cum802WQ.mjs +13 -0
- package/chunks/{8zYlq-t92.mjs → Cwgd7PoY.mjs} +4 -4
- package/chunks/Cx2xXO7o.mjs +52 -0
- package/chunks/{BMei9UHN2.mjs → Cxhpz5pM.mjs} +119 -113
- package/chunks/CyF0QYX72.mjs +1098 -0
- package/chunks/D0SsqlhV2.mjs +2381 -0
- package/chunks/D5OVW2kN.mjs +34 -0
- package/chunks/D6WqEUFG2.mjs +98 -0
- package/chunks/D8iXlrtZ2.mjs +1038 -0
- package/chunks/D98jjbwV2.mjs +61 -0
- package/chunks/D9Pg_OCD2.mjs +6 -0
- package/chunks/DA1LVvTS.mjs +577 -0
- package/chunks/DHUKKHoT.mjs +1 -0
- package/chunks/DJQH0NMv.mjs +276 -0
- package/chunks/DK7E0MrC2.mjs +990 -0
- package/chunks/{BM5LdxU72.mjs → DNicIC4X.mjs} +32 -31
- package/chunks/{CLn5E7NV.mjs → DOPqetRk2.mjs} +1 -1
- package/chunks/DTS-uhBE.mjs +25 -0
- package/chunks/DUQs5bPg.mjs +188 -0
- package/chunks/{B5c0s3IR.mjs → DUzoabyA2.mjs} +69 -68
- package/chunks/DV-c1hfn2.mjs +6 -0
- package/chunks/DVvu0kbn2.mjs +69 -0
- package/chunks/{tqW2DSco.mjs → DZ1RiRcl2.mjs} +31 -29
- package/chunks/DZZdwRGN.mjs +479 -0
- package/chunks/{Ctx93AFS.mjs → DcIBy4G3.mjs} +6 -6
- package/chunks/Dd5QuF1x.mjs +26 -0
- package/chunks/DdkcOQQ02.mjs +204 -0
- package/chunks/DeXyq_xW2.mjs +936 -0
- package/chunks/DgXDFUzM2.mjs +60 -0
- package/chunks/DhA6VYyn.mjs +588 -0
- package/chunks/DiQUqii-.mjs +486 -0
- package/chunks/{KOJEsarR2.mjs → Dk_ATXDY.mjs} +1 -1
- package/chunks/DlhCJLng.mjs +211 -0
- package/chunks/Dq9YiS-H.mjs +26 -0
- package/chunks/{mqi8hesW2.mjs → DrrpjVlS.mjs} +19 -18
- package/chunks/DsSXjU752.mjs +4811 -0
- package/chunks/DuIXSS2d.mjs +454 -0
- package/chunks/DvCdN2bU.mjs +1 -0
- package/chunks/DvG4VjQh.mjs +216 -0
- package/chunks/DvenxcV4.mjs +186 -0
- package/chunks/DxG4FcLQ2.mjs +58 -0
- package/chunks/E-zZdDOp.mjs +48 -0
- package/chunks/HQd8AhfS.mjs +225 -0
- package/chunks/HsqImdEj.mjs +69 -0
- package/chunks/IAX-2m4F.mjs +31 -0
- package/chunks/JvWWISEH2.mjs +243 -0
- package/chunks/K7NMn1cU.mjs +12 -0
- package/chunks/{BrSqLOi5.mjs → LnWJAAlm2.mjs} +178 -178
- package/chunks/NiAjkTEH2.mjs +32 -0
- package/chunks/OWDOBaZL.mjs +467 -0
- package/chunks/R_GWm9EB.mjs +41 -0
- package/chunks/Rn-X08l92.mjs +273 -0
- package/chunks/STHbzblo.mjs +55 -0
- package/chunks/TWAjK03p.mjs +3092 -0
- package/chunks/{tfaGdZX2.mjs → XGboXSyJ2.mjs} +139 -138
- package/chunks/ZIHPaVeg.mjs +105 -0
- package/chunks/ZxxDJBOG2.mjs +180 -0
- package/chunks/_NG8ze6x.mjs +42 -0
- package/chunks/_wUx1zSH2.mjs +30 -0
- package/chunks/aeYRYRdi.mjs +29 -0
- package/chunks/b58kljs82.mjs +525 -0
- package/chunks/cGGsl8YM2.mjs +2 -0
- package/chunks/cvUTkWmm.mjs +98 -0
- package/chunks/el7WAt3q.mjs +4 -0
- package/chunks/f-0LSLCC.mjs +17 -0
- package/chunks/g1H2yYXi.mjs +35 -0
- package/chunks/gQwOnofw.mjs +302 -0
- package/chunks/hczonP-N2.mjs +206 -0
- package/chunks/jkTWyLZa.mjs +17 -0
- package/chunks/kN7dSjtl.mjs +1278 -0
- package/chunks/kWflpyKd.mjs +221 -0
- package/chunks/lJ7uxiQe2.mjs +46 -0
- package/chunks/lKeVGJZg.mjs +62 -0
- package/chunks/{ofu8wJKp.mjs → losZHy0P.mjs} +1 -1
- package/chunks/qNngJ9B9.mjs +29 -0
- package/chunks/r6tERHEL.mjs +438 -0
- package/chunks/tSJE9_uL.mjs +1 -0
- package/chunks/vRQzbLgj.mjs +2 -0
- package/chunks/wfxM1ecI.mjs +17 -0
- package/chunks/{Dkw6LNCq2.mjs → wkrB-kab.mjs} +1 -1
- package/chunks/{C8h_P_kl2.mjs → y9rz_ZSp.mjs} +37 -36
- package/chunks/zG9cElaH.mjs +1209 -0
- package/code-mirror-editor/index.mjs +1 -1
- package/confirm-button/index.mjs +1 -1
- package/confirmable/index.mjs +1 -1
- package/constants/index.d.ts +2 -0
- package/constants/index.mjs +2 -2
- package/context-menu/index.mjs +1 -1
- package/count-up/index.mjs +1 -1
- package/css/style.css +1 -0
- package/css/style10.css +1 -0
- package/css/style11.css +1 -0
- package/css/style12.css +1 -0
- package/css/style13.css +1 -0
- package/css/style14.css +1 -0
- package/css/style15.css +1 -0
- package/css/style16.css +1 -0
- package/css/style17.css +1 -0
- package/css/style18.css +1 -0
- package/css/style19.css +1 -0
- package/css/style2.css +1 -0
- package/css/style20.css +1 -0
- package/css/style21.css +1 -0
- package/css/style22.css +1 -0
- package/css/style23.css +1 -0
- package/css/style24.css +1 -0
- package/css/style25.css +1 -0
- package/css/style26.css +1 -0
- package/css/style27.css +1 -0
- package/css/style28.css +1 -0
- package/css/style29.css +1 -0
- package/css/style3.css +1 -0
- package/css/style30.css +1 -0
- package/css/style31.css +1 -0
- package/css/style32.css +1 -0
- package/css/style33.css +1 -0
- package/css/style34.css +1 -0
- package/css/style35.css +1 -0
- package/css/style36.css +1 -0
- package/css/style37.css +1 -0
- package/css/style38.css +1 -0
- package/css/style39.css +1 -0
- package/css/style4.css +1 -0
- package/css/style5.css +1 -0
- package/css/style6.css +1 -0
- package/css/style7.css +1 -0
- package/css/style8.css +1 -0
- package/css/style9.css +1 -0
- package/custom-scrollbar/index.mjs +1 -1
- package/data-box/index.mjs +1 -1
- package/data-card/index.mjs +8 -8
- package/data-card-text/index.mjs +8 -8
- package/data-display/index.mjs +9 -9
- package/data-icons/index.mjs +9 -9
- package/data-imgtext/index.mjs +10 -9
- package/data-operatext/index.mjs +8 -8
- package/data-panel/index.mjs +9 -9
- package/data-pay/index.mjs +11 -10
- package/data-price/index.mjs +8 -8
- package/data-progress/index.mjs +10 -10
- package/data-rotate/index.mjs +1 -1
- package/data-table-picker/index.mjs +15 -15
- package/data-tabs/index.mjs +1 -1
- package/dialog-form/index.d.ts +4 -0
- package/dialog-form/index.mjs +154 -0
- package/dialog-form/style.css +1 -0
- package/dict-render/index.mjs +1 -1
- package/e-charts/index.mjs +2 -2
- package/easy-popup/index.mjs +1 -1
- package/editable-progress/index.mjs +8 -8
- package/editable-tree/index.mjs +2 -596
- package/editable-tree/style.css +1 -1
- package/element-dialog/index.mjs +1 -1
- package/element-dialog/style.css +1 -1
- package/element-resize-observer/index.mjs +1 -1
- package/empty-view/index.d.ts +2 -2
- package/flex-box/index.mjs +1 -1
- package/flex-column/index.mjs +1 -1
- package/flex-item/index.mjs +1 -1
- package/flex-row/index.mjs +1 -1
- package/flex-scroller/index.mjs +1 -1
- package/flow-designer/index.mjs +1 -1
- package/flow-viewer/index.mjs +1 -1
- package/form-cascader/index.mjs +1 -1
- package/form-checkbox/index.mjs +1 -1
- package/form-checkbox-group/index.mjs +1 -1
- package/form-checkbox-group/style.css +1 -1
- package/form-date-picker/index.d.ts +4 -4
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.mjs +1 -1
- package/form-image/index.mjs +1 -1
- package/form-image/style.css +1 -0
- package/form-input/index.mjs +1 -1
- package/form-input-cron-expression/index.mjs +1 -1
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.mjs +1 -1
- package/form-input-time/index.mjs +1 -1
- package/form-item/index.mjs +1 -1
- package/form-item-group/index.mjs +1 -1
- package/form-radio-group/index.mjs +1 -1
- package/form-radio-group/style.css +1 -0
- package/form-rate/index.mjs +1 -1
- package/form-row/index.mjs +1 -1
- package/form-select/index.mjs +1 -1
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.mjs +1 -1
- package/form-table/index.d.ts +9 -0
- package/form-table/index.mjs +1 -1
- package/form-table-plus/index.d.ts +9 -0
- package/form-table-plus/index.mjs +1 -1
- package/form-text/index.mjs +1 -1
- package/form-textarea/index.mjs +1 -1
- package/form-time-select/index.mjs +1 -1
- package/form-tree-select/index.mjs +1 -1
- package/form-tree-select-multiple/index.mjs +1 -1
- package/form-view/index.mjs +3 -3
- package/fy-array/index.d.ts +234 -0
- package/fy-array/index.mjs +2 -0
- package/fy-array/style.css +1 -0
- package/fy-button/index.d.ts +18 -0
- package/fy-button/index.mjs +2 -0
- package/fy-button/style.css +1 -0
- package/fy-cascader/index.d.ts +298 -0
- package/fy-cascader/index.mjs +116 -0
- package/fy-checkbox/index.d.ts +231 -0
- package/fy-checkbox/index.mjs +100 -0
- package/fy-checkbox/style.css +1 -0
- package/fy-curd/index.d.ts +908 -0
- package/fy-curd/index.mjs +2 -0
- package/fy-date/index.d.ts +246 -0
- package/fy-date/index.mjs +79 -0
- package/fy-date/style.css +1 -0
- package/fy-dynamic/index.d.ts +268 -0
- package/fy-dynamic/index.mjs +2 -0
- package/fy-empty/index.d.ts +31 -0
- package/fy-empty/index.mjs +35 -0
- package/fy-empty/style.css +1 -0
- package/fy-form/index.d.ts +522 -0
- package/fy-form/index.mjs +2 -0
- package/fy-form/style.css +1 -0
- package/fy-input/index.d.ts +316 -0
- package/fy-input/index.mjs +123 -0
- package/fy-input-color/index.d.ts +235 -0
- package/fy-input-color/index.mjs +2 -0
- package/fy-input-color/style.css +1 -0
- package/fy-input-icon/index.d.ts +244 -0
- package/fy-input-icon/index.mjs +134 -0
- package/fy-input-icon/style.css +1 -0
- package/fy-input-map/index.d.ts +266 -0
- package/fy-input-map/index.mjs +249 -0
- package/fy-input-map/style.css +1 -0
- package/fy-input-number/index.d.ts +266 -0
- package/fy-input-number/index.mjs +78 -0
- package/fy-input-table/index.d.ts +248 -0
- package/fy-input-table/index.mjs +167 -0
- package/fy-input-table/style.css +1 -0
- package/fy-input-tree/index.d.ts +351 -0
- package/fy-input-tree/index.mjs +266 -0
- package/fy-input-tree/style.css +1 -0
- package/fy-radio/index.d.ts +218 -0
- package/fy-radio/index.mjs +57 -0
- package/fy-radio/style.css +1 -0
- package/fy-rate/index.d.ts +288 -0
- package/fy-rate/index.mjs +90 -0
- package/fy-rate/style.css +1 -0
- package/fy-select/index.d.ts +324 -0
- package/fy-select/index.mjs +2 -0
- package/fy-select/style.css +1 -0
- package/fy-slider/index.d.ts +249 -0
- package/fy-slider/index.mjs +72 -0
- package/fy-switch/index.d.ts +229 -0
- package/fy-switch/index.mjs +71 -0
- package/fy-tabs/index.d.ts +20 -0
- package/fy-tabs/index.mjs +50 -0
- package/fy-time/index.d.ts +704 -0
- package/fy-time/index.mjs +85 -0
- package/fy-title/index.d.ts +224 -0
- package/fy-title/index.mjs +18 -0
- package/fy-title/style.css +1 -0
- package/fy-tree/index.d.ts +141 -0
- package/fy-tree/index.mjs +392 -0
- package/fy-tree/style.css +1 -0
- package/fy-u-editor/index.d.ts +116 -0
- package/fy-u-editor/index.mjs +2 -0
- package/fy-u-editor/style.css +1 -0
- package/fy-upload/index.d.ts +379 -0
- package/fy-upload/index.mjs +2 -0
- package/fy-upload/style.css +1 -0
- package/guide-steps/index.mjs +2 -77
- package/guide-steps/style.css +1 -1
- package/helper/avue.d.ts +36 -0
- package/helper/avue.mjs +35 -0
- package/helper/dictionary.mjs +1 -1
- package/helper/input.mjs +1 -1
- package/highlight-j-s/index.mjs +1 -1
- package/icon-temp/index.d.ts +19 -0
- package/icon-temp/index.mjs +27 -0
- package/icon-temp/style.css +1 -0
- package/iframe-window/index.mjs +1 -1
- package/image-cropper/index.mjs +5 -5
- package/image-preview/index.mjs +2 -201
- package/image-preview/style.css +1 -1
- package/image-viewer/index.d.ts +1 -1
- package/image-viewer/index.mjs +1 -1
- package/index.css +1 -1
- package/index.d.ts +31 -1
- package/index.mjs +149 -121
- package/input-number-range/index.mjs +7 -7
- package/keyboard/index.mjs +1 -1
- package/loading-view/index.mjs +1 -1
- package/monaco-editor/index.d.ts +126 -0
- package/monaco-editor/index.mjs +2 -0
- package/monaco-editor/style.css +1 -0
- package/name-avatar/index.mjs +1 -1
- package/nav-bar/index.mjs +3 -3
- package/package.json +3 -3
- package/page-index/index.mjs +14 -14
- package/page-index-top/index.mjs +12 -12
- package/pageable-table/index.d.ts +2 -2
- package/pageable-table/index.mjs +1 -1
- package/photo-swipe/index.mjs +1 -1
- package/props/col.mjs +1 -1
- package/props/form-item.mjs +1 -1
- package/resolver/components.mjs +1 -1
- package/sign-panel/index.mjs +1 -1
- package/skeleton-panel/index.mjs +3 -3
- package/split-pane/index.mjs +1 -1
- package/sub-table/index.d.ts +9 -0
- package/sub-table/index.mjs +1 -1
- package/sub-table-plus/index.d.ts +9 -0
- package/sub-table-plus/index.mjs +1 -1
- package/swiper/index.mjs +2 -2
- package/table-column/index.mjs +1 -1
- package/table-column-def/index.d.ts +6 -6
- package/table-column-def/index.mjs +1 -1
- package/table-view/index.d.ts +5 -5
- package/table-view/index.mjs +105 -104
- package/tag-render/index.d.ts +1 -1
- package/tag-render/index.mjs +9 -7
- package/text-ellipsis/index.mjs +1 -1
- package/toolbar/index.mjs +1 -1
- package/toolbar-button/index.mjs +1 -1
- package/vue-cron/index.mjs +1 -1
- package/vue-tags-input/index.d.ts +1 -1
- package/vue-tags-input/index.mjs +1 -1
- package/vue-tree-select/index.mjs +1 -1
- package/vue-video-player/index.mjs +1 -1
- package/watermark/index.mjs +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +24 -20
- package/year-calendar/index.mjs +1 -1
- package/chunks/3nLaRSbR2.mjs +0 -108
- package/chunks/6eDDQWcr.mjs +0 -69
- package/chunks/BIy6bO4j.mjs +0 -50
- package/chunks/BQytQPLa.mjs +0 -780
- package/chunks/BxuM-fgJ.mjs +0 -61
- package/chunks/By-W0XXn2.mjs +0 -63
- package/chunks/C28bnMcw.mjs +0 -68
- package/chunks/CET31mBi.mjs +0 -39
- package/chunks/CjCNtCWd.mjs +0 -58
- package/chunks/CkHQY4ME2.mjs +0 -29
- package/chunks/ClVh1Lek.mjs +0 -130
- package/chunks/DJlgX5ty.mjs +0 -30
- package/chunks/DdACGFy3.mjs +0 -90
- package/chunks/Dst9_BmZ.mjs +0 -99
- package/chunks/SLYmepqR.mjs +0 -667
- package/chunks/SWO35fS42.mjs +0 -31
- package/chunks/Tq3_dajC2.mjs +0 -25
- package/chunks/V-Js6hNd.mjs +0 -179
- package/chunks/XQwnPkab2.mjs +0 -34
- package/chunks/b0ve2YgF.mjs +0 -155
- package/chunks/saZ_qJOT.mjs +0 -32
- package/chunks/vebd58-O.mjs +0 -37
- package/chunks/y1Q66LEa2.mjs +0 -29
- /package/chunks/{CHmZyvFr.mjs → BMdSzPpD2.mjs} +0 -0
- /package/chunks/{X-ckP2Hj.mjs → CISLTyi_2.mjs} +0 -0
- /package/chunks/{PEU1JRcN2.mjs → CVDxIjGg.mjs} +0 -0
- /package/chunks/{DokYQ49m.mjs → CeLNtZZw.mjs} +0 -0
- /package/chunks/{BwL9Xz1F.mjs → CyNGeUTh.mjs} +0 -0
- /package/chunks/{BAG_R87k2.mjs → DX29uO-O.mjs} +0 -0
- /package/chunks/{tzjUpVIj.mjs → Xe_0bP0H.mjs} +0 -0
- /package/chunks/{B1MSrc6f.mjs → hFCEXdXW.mjs} +0 -0
- /package/chunks/{C_QfuxeQ.mjs → nvUgyH-A.mjs} +0 -0
- /package/chunks/{BTGrh7dw2.mjs → wm9pxXuv.mjs} +0 -0
package/chunks/SLYmepqR.mjs
DELETED
|
@@ -1,667 +0,0 @@
|
|
|
1
|
-
import { h as e, m as t, n, r } from "./ClVh1Lek.mjs";
|
|
2
|
-
import i from "../element-resize-observer/index.mjs";
|
|
3
|
-
import { cellClickHandlerContextKey as a, pageableTableContextKey as o } from "../constants/index.mjs";
|
|
4
|
-
import { t as s } from "./mnqSaATq.mjs";
|
|
5
|
-
import { getDictLabel as c } from "../helper/dictionary.mjs";
|
|
6
|
-
import { t as l } from "./C_QfuxeQ.mjs";
|
|
7
|
-
import { t as u } from "./6eDDQWcr.mjs";
|
|
8
|
-
import { useVisibilityChange as ee } from "../hook/useVisibilityChange.mjs";
|
|
9
|
-
import { ElCheckbox as d, ElDrawer as f, ElEmpty as te, ElMessage as ne, ElPagination as re, ElRadio as p, ElTable as m, ElTableColumn as h } from "element-plus/es";
|
|
10
|
-
import "element-plus/es/components/base/style/css";
|
|
11
|
-
import { Fragment as g, computed as _, createBlock as v, createTextVNode as y, createVNode as b, inject as x, isVNode as S, mergeModels as C, mergeProps as w, nextTick as ie, onUpdated as ae, openBlock as T, provide as E, reactive as D, ref as O, toDisplayString as k, useModel as A, useTemplateRef as j, watch as M, withCtx as N } from "vue";
|
|
12
|
-
import "element-plus/es/components/message/style/css";
|
|
13
|
-
import "element-plus/es/components/drawer/style/css";
|
|
14
|
-
import "element-plus/es/components/table/style/css";
|
|
15
|
-
import "element-plus/es/components/checkbox/style/css";
|
|
16
|
-
import "element-plus/es/components/table-column/style/css";
|
|
17
|
-
import "element-plus/es/components/pagination/style/css";
|
|
18
|
-
import "element-plus/es/components/empty/style/css";
|
|
19
|
-
import "element-plus/es/components/radio/style/css";
|
|
20
|
-
import { useEventBus as oe } from "@web-utils/vue/hooks/useEventBus";
|
|
21
|
-
//#region src/components/table/components/TableColumnSettingPanel.vue
|
|
22
|
-
var P = /* @__PURE__ */ Object.assign({ name: "TableColumnSettingPanel" }, {
|
|
23
|
-
__name: "TableColumnSettingPanel",
|
|
24
|
-
props: /* @__PURE__ */ C({ columns: {
|
|
25
|
-
type: Array,
|
|
26
|
-
default: () => []
|
|
27
|
-
} }, {
|
|
28
|
-
modelValue: {
|
|
29
|
-
type: Boolean,
|
|
30
|
-
default: !1
|
|
31
|
-
},
|
|
32
|
-
modelModifiers: {}
|
|
33
|
-
}),
|
|
34
|
-
emits: /* @__PURE__ */ C(["update:settings"], ["update:modelValue"]),
|
|
35
|
-
setup(e, { expose: t, emit: n }) {
|
|
36
|
-
let r = A(e, "modelValue"), i = n, a = D({
|
|
37
|
-
hideProps: {},
|
|
38
|
-
fixedProps: {},
|
|
39
|
-
filterableProps: {},
|
|
40
|
-
sortableProps: {}
|
|
41
|
-
}), o = (e, t, n) => {
|
|
42
|
-
n === "hide" ? a.hideProps[t.prop] = e : n === "fixed" ? a.fixedProps[t.prop] = e : n === "filterable" ? a.filterableProps[t.prop] = e : n === "sortable" && (a.sortableProps[t.prop] = e), i("update:settings", a);
|
|
43
|
-
};
|
|
44
|
-
return t({ settings: a }), (t, n) => {
|
|
45
|
-
let i = h, a = d, s = m, c = f;
|
|
46
|
-
return T(), v(c, {
|
|
47
|
-
modelValue: r.value,
|
|
48
|
-
"onUpdate:modelValue": n[0] || (n[0] = (e) => r.value = e),
|
|
49
|
-
class: "table-column-filter",
|
|
50
|
-
title: "表格设置",
|
|
51
|
-
"append-to-body": ""
|
|
52
|
-
}, {
|
|
53
|
-
default: N(() => [b(s, {
|
|
54
|
-
data: e.columns,
|
|
55
|
-
border: ""
|
|
56
|
-
}, {
|
|
57
|
-
default: N(() => [
|
|
58
|
-
b(i, { label: "列名" }, {
|
|
59
|
-
default: N(({ row: e }) => [y(k(e.label), 1)]),
|
|
60
|
-
_: 1
|
|
61
|
-
}),
|
|
62
|
-
b(i, {
|
|
63
|
-
label: "隐藏",
|
|
64
|
-
align: "center"
|
|
65
|
-
}, {
|
|
66
|
-
default: N(({ row: e }) => [b(a, { onChange: (t) => o(t, e, "hide") }, null, 8, ["onChange"])]),
|
|
67
|
-
_: 1
|
|
68
|
-
}),
|
|
69
|
-
b(i, {
|
|
70
|
-
label: "冻结",
|
|
71
|
-
align: "center"
|
|
72
|
-
}, {
|
|
73
|
-
default: N(({ row: e }) => [b(a, { onChange: (t) => o(t, e, "fixed") }, null, 8, ["onChange"])]),
|
|
74
|
-
_: 1
|
|
75
|
-
}),
|
|
76
|
-
b(i, {
|
|
77
|
-
label: "过滤",
|
|
78
|
-
align: "center"
|
|
79
|
-
}, {
|
|
80
|
-
default: N(({ row: e }) => [b(a, { onChange: (t) => o(t, e, "filterable") }, null, 8, ["onChange"])]),
|
|
81
|
-
_: 1
|
|
82
|
-
}),
|
|
83
|
-
b(i, {
|
|
84
|
-
label: "排序",
|
|
85
|
-
align: "center"
|
|
86
|
-
}, {
|
|
87
|
-
default: N(({ row: e }) => [b(a, {
|
|
88
|
-
title: e.allowSort ? null : "该列不支持排序!",
|
|
89
|
-
disabled: !e.allowSort,
|
|
90
|
-
onChange: (t) => o(t, e, "sortable")
|
|
91
|
-
}, null, 8, [
|
|
92
|
-
"title",
|
|
93
|
-
"disabled",
|
|
94
|
-
"onChange"
|
|
95
|
-
])]),
|
|
96
|
-
_: 1
|
|
97
|
-
})
|
|
98
|
-
]),
|
|
99
|
-
_: 1
|
|
100
|
-
}, 8, ["data"])]),
|
|
101
|
-
_: 1
|
|
102
|
-
}, 8, ["modelValue"]);
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
});
|
|
106
|
-
//#endregion
|
|
107
|
-
//#region src/components/table/components/TableColumnFilterable.vue?vue&type=script&lang.jsx
|
|
108
|
-
function F(e) {
|
|
109
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !S(e);
|
|
110
|
-
}
|
|
111
|
-
//#endregion
|
|
112
|
-
//#region src/components/table/components/TableColumnFilterable.vue
|
|
113
|
-
var se = {
|
|
114
|
-
name: "TableColumnFilterable",
|
|
115
|
-
props: { ...l },
|
|
116
|
-
setup(t, { slots: n }) {
|
|
117
|
-
let r = x(o, null), i = e(t, (e) => e !== "filterMethod" && e !== "filters"), a = _(() => {
|
|
118
|
-
if (t.filterable && r) return (e, t, n) => t[n.property] === e;
|
|
119
|
-
}), s = _(() => {
|
|
120
|
-
if (t.filterable && r) return [...new Set(r.records.value.map((e) => e[t.prop]).filter((e) => e))].map((e) => ({
|
|
121
|
-
text: e,
|
|
122
|
-
value: e
|
|
123
|
-
}));
|
|
124
|
-
});
|
|
125
|
-
return () => b(u, w(i.value, {
|
|
126
|
-
filterMethod: a.value,
|
|
127
|
-
filters: s.value
|
|
128
|
-
}), F(n) ? n : { default: () => [n] });
|
|
129
|
-
}
|
|
130
|
-
}, I = {
|
|
131
|
-
data: {
|
|
132
|
-
type: Array,
|
|
133
|
-
default: () => []
|
|
134
|
-
},
|
|
135
|
-
height: [String, Number],
|
|
136
|
-
maxHeight: [String, Number],
|
|
137
|
-
stripe: {
|
|
138
|
-
type: Boolean,
|
|
139
|
-
default: !1
|
|
140
|
-
},
|
|
141
|
-
border: {
|
|
142
|
-
type: Boolean,
|
|
143
|
-
default: !0
|
|
144
|
-
},
|
|
145
|
-
size: String,
|
|
146
|
-
fit: {
|
|
147
|
-
type: Boolean,
|
|
148
|
-
default: !0
|
|
149
|
-
},
|
|
150
|
-
showHeader: {
|
|
151
|
-
type: Boolean,
|
|
152
|
-
default: !0
|
|
153
|
-
},
|
|
154
|
-
highlightCurrentRow: {
|
|
155
|
-
type: Boolean,
|
|
156
|
-
default: !1
|
|
157
|
-
},
|
|
158
|
-
currentRowKey: [String, Number],
|
|
159
|
-
rowClassName: [Function, String],
|
|
160
|
-
rowStyle: [Function, Object],
|
|
161
|
-
cellClassName: [Function, String],
|
|
162
|
-
cellStyle: [Function, Object],
|
|
163
|
-
headerRowClassName: [Function, String],
|
|
164
|
-
headerRowStyle: [Function, Object],
|
|
165
|
-
headerCellClassName: [Function, String],
|
|
166
|
-
headerCellStyle: [Function, Object],
|
|
167
|
-
rowKey: {
|
|
168
|
-
type: [Function, String],
|
|
169
|
-
default: "id"
|
|
170
|
-
},
|
|
171
|
-
emptyText: {
|
|
172
|
-
type: String,
|
|
173
|
-
default: "No Data"
|
|
174
|
-
},
|
|
175
|
-
defaultExpandAll: {
|
|
176
|
-
type: Boolean,
|
|
177
|
-
default: !1
|
|
178
|
-
},
|
|
179
|
-
expandRowKeys: {
|
|
180
|
-
type: Array,
|
|
181
|
-
default: () => []
|
|
182
|
-
},
|
|
183
|
-
defaultSort: Object,
|
|
184
|
-
tooltipEffect: {
|
|
185
|
-
type: String,
|
|
186
|
-
default: "dark"
|
|
187
|
-
},
|
|
188
|
-
tooltipOptions: {
|
|
189
|
-
type: Object,
|
|
190
|
-
default: () => ({})
|
|
191
|
-
},
|
|
192
|
-
appendFilterPanelTo: String,
|
|
193
|
-
showSummary: {
|
|
194
|
-
type: Boolean,
|
|
195
|
-
default: !1
|
|
196
|
-
},
|
|
197
|
-
sumText: {
|
|
198
|
-
type: String,
|
|
199
|
-
default: "Sum"
|
|
200
|
-
},
|
|
201
|
-
summaryMethod: Function,
|
|
202
|
-
spanMethod: Function,
|
|
203
|
-
selectOnIndeterminate: {
|
|
204
|
-
type: Boolean,
|
|
205
|
-
default: !0
|
|
206
|
-
},
|
|
207
|
-
indent: {
|
|
208
|
-
type: Number,
|
|
209
|
-
default: 16
|
|
210
|
-
},
|
|
211
|
-
lazy: {
|
|
212
|
-
type: Boolean,
|
|
213
|
-
default: !1
|
|
214
|
-
},
|
|
215
|
-
load: Function,
|
|
216
|
-
treeProps: {
|
|
217
|
-
type: Object,
|
|
218
|
-
default: () => ({})
|
|
219
|
-
},
|
|
220
|
-
tableLayout: {
|
|
221
|
-
type: String,
|
|
222
|
-
default: "fixed"
|
|
223
|
-
},
|
|
224
|
-
scrollbarAlwaysOn: {
|
|
225
|
-
type: Boolean,
|
|
226
|
-
default: !1
|
|
227
|
-
},
|
|
228
|
-
showOverflowTooltip: [Boolean, Object],
|
|
229
|
-
flexible: {
|
|
230
|
-
type: Boolean,
|
|
231
|
-
default: !1
|
|
232
|
-
},
|
|
233
|
-
scrollbarTabindex: [String, Number],
|
|
234
|
-
allowDragLastColumn: {
|
|
235
|
-
type: Boolean,
|
|
236
|
-
default: !0
|
|
237
|
-
},
|
|
238
|
-
tooltipFormatter: Function,
|
|
239
|
-
preserveExpandedContent: {
|
|
240
|
-
type: Boolean,
|
|
241
|
-
default: !1
|
|
242
|
-
},
|
|
243
|
-
nativeScrollbar: {
|
|
244
|
-
type: Boolean,
|
|
245
|
-
default: !1
|
|
246
|
-
},
|
|
247
|
-
rowExpandable: Function,
|
|
248
|
-
selectionWidth: {
|
|
249
|
-
type: String,
|
|
250
|
-
default: "45"
|
|
251
|
-
},
|
|
252
|
-
viewId: String,
|
|
253
|
-
url: String,
|
|
254
|
-
hideOnSinglePage: Boolean,
|
|
255
|
-
api: Function,
|
|
256
|
-
model: Object,
|
|
257
|
-
ascs: {
|
|
258
|
-
type: Array,
|
|
259
|
-
default: () => []
|
|
260
|
-
},
|
|
261
|
-
descs: {
|
|
262
|
-
type: Array,
|
|
263
|
-
default: () => []
|
|
264
|
-
},
|
|
265
|
-
headerBold: Boolean,
|
|
266
|
-
autoHeight: Boolean,
|
|
267
|
-
immediate: {
|
|
268
|
-
type: Boolean,
|
|
269
|
-
default: !0
|
|
270
|
-
},
|
|
271
|
-
index: {
|
|
272
|
-
type: Boolean,
|
|
273
|
-
default: !0
|
|
274
|
-
},
|
|
275
|
-
multiple: {
|
|
276
|
-
type: Boolean,
|
|
277
|
-
default: !0
|
|
278
|
-
},
|
|
279
|
-
selection: {
|
|
280
|
-
type: Boolean,
|
|
281
|
-
default: !0
|
|
282
|
-
},
|
|
283
|
-
reloadOnModelChange: {
|
|
284
|
-
type: Boolean,
|
|
285
|
-
default: !1
|
|
286
|
-
},
|
|
287
|
-
columns: Array,
|
|
288
|
-
pageSize: {
|
|
289
|
-
type: Number,
|
|
290
|
-
default: 25
|
|
291
|
-
},
|
|
292
|
-
dicOptions: {
|
|
293
|
-
type: Array,
|
|
294
|
-
default: () => []
|
|
295
|
-
},
|
|
296
|
-
paging: {
|
|
297
|
-
type: Boolean,
|
|
298
|
-
default: !0
|
|
299
|
-
},
|
|
300
|
-
clickRowSelect: Boolean,
|
|
301
|
-
payloadStyle: String,
|
|
302
|
-
disabledRowKeys: Array,
|
|
303
|
-
selectExport: Boolean,
|
|
304
|
-
useVisibilityChange: Boolean,
|
|
305
|
-
rowDbClick: Function
|
|
306
|
-
}, L = {
|
|
307
|
-
data: !0,
|
|
308
|
-
rowDbClick: !0,
|
|
309
|
-
selectionWidth: !0,
|
|
310
|
-
hideOnSinglePage: !0,
|
|
311
|
-
ascs: !0,
|
|
312
|
-
descs: !0,
|
|
313
|
-
headerBold: !0,
|
|
314
|
-
autoHeight: !0,
|
|
315
|
-
immediate: !0,
|
|
316
|
-
index: !0,
|
|
317
|
-
multiple: !0,
|
|
318
|
-
selection: !0,
|
|
319
|
-
reloadOnModelChange: !0,
|
|
320
|
-
pageSize: !0,
|
|
321
|
-
dicOptions: !0,
|
|
322
|
-
paging: !0,
|
|
323
|
-
clickRowSelect: !0,
|
|
324
|
-
selectExport: !0,
|
|
325
|
-
useVisibilityChange: !0,
|
|
326
|
-
viewId: !0,
|
|
327
|
-
url: !0,
|
|
328
|
-
api: !0,
|
|
329
|
-
model: !0,
|
|
330
|
-
columns: !0,
|
|
331
|
-
payloadStyle: !0,
|
|
332
|
-
disabledRowKeys: !0
|
|
333
|
-
}, ce = (e) => L[e] !== !0;
|
|
334
|
-
//#endregion
|
|
335
|
-
//#region src/components/table/PageableTable.vue?vue&type=script&lang.jsx
|
|
336
|
-
function le(e) {
|
|
337
|
-
let t = "";
|
|
338
|
-
for (let n in e) t += `<TableColumnDef prop="${n}" label="${n}"/>\n`;
|
|
339
|
-
return t;
|
|
340
|
-
}
|
|
341
|
-
var R = {
|
|
342
|
-
loading: 1,
|
|
343
|
-
error: -1,
|
|
344
|
-
empty: 2,
|
|
345
|
-
success: 0
|
|
346
|
-
}, z = {
|
|
347
|
-
name: "PageableTable",
|
|
348
|
-
emits: { "page-loaded": null },
|
|
349
|
-
inheritAttrs: !1,
|
|
350
|
-
props: { ...I },
|
|
351
|
-
setup(e, { emit: l, attrs: u, slots: d, expose: f }) {
|
|
352
|
-
E(a, e.rowDbClick);
|
|
353
|
-
let v = j("table"), x = O({
|
|
354
|
-
hideProps: {},
|
|
355
|
-
fixedProps: {},
|
|
356
|
-
filterableProps: {},
|
|
357
|
-
sortableProps: {}
|
|
358
|
-
}), S = O(R.empty), C = O([]), T = O(null), D = O(!1), k = O([]), A = O({
|
|
359
|
-
total: 0,
|
|
360
|
-
page: 1,
|
|
361
|
-
limit: e.pageSize,
|
|
362
|
-
ascs: e.ascs,
|
|
363
|
-
descs: e.descs
|
|
364
|
-
}), N = O(0), F = O(0), I = _(() => e.reloadOnModelChange ? {
|
|
365
|
-
asc: A.value.ascs,
|
|
366
|
-
desc: A.value.descs,
|
|
367
|
-
page: A.value.page,
|
|
368
|
-
limit: A.value.limit,
|
|
369
|
-
model: e.model
|
|
370
|
-
} : {
|
|
371
|
-
asc: A.value.ascs,
|
|
372
|
-
desc: A.value.descs,
|
|
373
|
-
page: A.value.page,
|
|
374
|
-
limit: A.value.limit
|
|
375
|
-
}), L = _(() => {
|
|
376
|
-
var e;
|
|
377
|
-
let t = `${(A.value.page - 1) * A.value.limit + (((e = C.value) == null ? void 0 : e.length) ?? 0)}`;
|
|
378
|
-
return t.length > 3 ? 60 + (t.length - 3) * 10 : 60;
|
|
379
|
-
}), z = () => {
|
|
380
|
-
V();
|
|
381
|
-
}, B = (t, n, r) => {
|
|
382
|
-
if (e.clickRowSelect && Q(t)) {
|
|
383
|
-
var i;
|
|
384
|
-
if (k.value.find((n) => n[e.rowKey] === t[e.rowKey])) {
|
|
385
|
-
var a;
|
|
386
|
-
(a = v.value) == null || a.toggleRowSelection(t, !1);
|
|
387
|
-
return;
|
|
388
|
-
}
|
|
389
|
-
(i = v.value) == null || i.toggleRowSelection(t);
|
|
390
|
-
}
|
|
391
|
-
}, V = () => {
|
|
392
|
-
var e, t;
|
|
393
|
-
let n = (e = v.value) == null || (e = e.$children) == null ? void 0 : e.find((e) => {
|
|
394
|
-
var t;
|
|
395
|
-
return ((t = e.$options) == null ? void 0 : t.name) === "ElTableBody";
|
|
396
|
-
});
|
|
397
|
-
n == null || (t = n.$refs) == null || (t = t.tooltip) == null || t.hide();
|
|
398
|
-
}, H = ({ scrollLeft: e, scrollTop: t }) => {
|
|
399
|
-
N.value = t, F.value = e;
|
|
400
|
-
}, U = () => {
|
|
401
|
-
me(N.value, F.value);
|
|
402
|
-
}, ue = (e) => n(le(e)), de = ({ prop: t, order: n }) => {
|
|
403
|
-
e.payloadStyle === "body" ? (A.value.ascs = n === "ascending" ? [t] : e.ascs, A.value.descs = n === "descending" ? [t] : e.descs) : (A.value.ascs = n === "ascending" ? t : "", A.value.descs = n === "descending" ? t : "");
|
|
404
|
-
}, fe = (e) => {
|
|
405
|
-
Q(e) && (T.value = e);
|
|
406
|
-
}, pe = (e) => {
|
|
407
|
-
k.value = e;
|
|
408
|
-
}, W = () => {
|
|
409
|
-
var e;
|
|
410
|
-
(e = v.value) == null || e.clearSelection();
|
|
411
|
-
}, G = () => {
|
|
412
|
-
let t;
|
|
413
|
-
return t = e.payloadStyle === "body" ? {
|
|
414
|
-
page: {
|
|
415
|
-
...A.value,
|
|
416
|
-
current: A.value.page,
|
|
417
|
-
size: A.value.limit
|
|
418
|
-
},
|
|
419
|
-
example: e.model || {}
|
|
420
|
-
} : {
|
|
421
|
-
...A.value,
|
|
422
|
-
current: A.value.page,
|
|
423
|
-
size: A.value.limit,
|
|
424
|
-
...e.model || {}
|
|
425
|
-
}, e.selectExport && (e.rowKey ? t.exportKeys = k.value.map((t) => t[e.rowKey]) : t.exportKeys = k.value.map((e) => C.value.indexOf(e))), t;
|
|
426
|
-
}, K = async (t = !0) => {
|
|
427
|
-
if (!e.api && e.data !== !1) {
|
|
428
|
-
var n;
|
|
429
|
-
C.value = e.data, A.value.page = 1, A.value.total = (n = C.value) == null ? void 0 : n.length, A.value.limit = A.value.total < 1 ? e.pageSize : A.value.total;
|
|
430
|
-
return;
|
|
431
|
-
}
|
|
432
|
-
t !== !1 && (C.value = []);
|
|
433
|
-
let r, i = G();
|
|
434
|
-
if (e.api) {
|
|
435
|
-
t !== !1 && (S.value = R.loading);
|
|
436
|
-
try {
|
|
437
|
-
e.api && (r = await e.api(i));
|
|
438
|
-
} catch {
|
|
439
|
-
S.value = R.error;
|
|
440
|
-
return;
|
|
441
|
-
}
|
|
442
|
-
} else if (e.data) r = { data: { data: {
|
|
443
|
-
total: e.data.length,
|
|
444
|
-
records: e.data
|
|
445
|
-
} } };
|
|
446
|
-
else {
|
|
447
|
-
ne.warning({
|
|
448
|
-
title: "开发提示!",
|
|
449
|
-
message: "PageableTable api(Function) 属性"
|
|
450
|
-
});
|
|
451
|
-
return;
|
|
452
|
-
}
|
|
453
|
-
let { data: { data: a } = {} } = r || {}, { total: o, records: s } = a || {};
|
|
454
|
-
A.value.total = Number(o), C.value = await he(s), !s || !s.length ? S.value = R.empty : S.value = R.success, q(), l("page-loaded", a);
|
|
455
|
-
}, q = () => {
|
|
456
|
-
ie(() => {
|
|
457
|
-
var e;
|
|
458
|
-
(e = v.value) == null || e.doLayout();
|
|
459
|
-
});
|
|
460
|
-
}, J = async (e) => {
|
|
461
|
-
await K(e);
|
|
462
|
-
}, Y = () => {
|
|
463
|
-
A.value = {
|
|
464
|
-
total: 0,
|
|
465
|
-
page: 1,
|
|
466
|
-
limit: e.pageSize,
|
|
467
|
-
ascs: e.ascs,
|
|
468
|
-
descs: e.descs
|
|
469
|
-
};
|
|
470
|
-
}, me = (e, t) => {
|
|
471
|
-
v.value.setScrollTop(e), v.value.setScrollLeft(t);
|
|
472
|
-
}, X = (e, t) => {
|
|
473
|
-
var n;
|
|
474
|
-
(n = v.value) == null || n.toggleRowSelection(e, t);
|
|
475
|
-
}, he = async (t) => {
|
|
476
|
-
if (!t) return [];
|
|
477
|
-
let n = [...t];
|
|
478
|
-
for (let t of n) for (let n of e.dicOptions) if (t[`$${n.prop}`] = t[n.prop], n.dicData) {
|
|
479
|
-
var r;
|
|
480
|
-
t[n.prop] = ((r = n.dicData.find((e) => e.modelValue === t[n.prop])) == null ? void 0 : r.label) || t[n.prop];
|
|
481
|
-
} else t[n.prop] = await c(n.dicType, t[n.prop]);
|
|
482
|
-
return n;
|
|
483
|
-
}, Z = () => {
|
|
484
|
-
D.value = !D.value;
|
|
485
|
-
}, Q = (t) => {
|
|
486
|
-
var n;
|
|
487
|
-
return !(t != null && t.disabled) && !((n = e.disabledRowKeys) != null && n.includes(t == null ? void 0 : t[e.rowKey]));
|
|
488
|
-
};
|
|
489
|
-
e.useVisibilityChange && ee({ onPageVisible: () => {
|
|
490
|
-
J(!1);
|
|
491
|
-
} }), oe("reloadTableView", (t) => {
|
|
492
|
-
t === e.viewId && K();
|
|
493
|
-
}), M(() => e.url, Y), M(() => e.api, Y), M(() => e.data, K), M(() => I.value, K, {
|
|
494
|
-
deep: !0,
|
|
495
|
-
immediate: e.immediate
|
|
496
|
-
});
|
|
497
|
-
let $ = _(() => {
|
|
498
|
-
let t = [];
|
|
499
|
-
if (d.default) {
|
|
500
|
-
var n;
|
|
501
|
-
let e = r((n = d.default) == null ? void 0 : n.call(d));
|
|
502
|
-
for (let n = 0; n < e.length; n++) {
|
|
503
|
-
let { props: r, children: i } = e[n];
|
|
504
|
-
if (!r) continue;
|
|
505
|
-
let { sortable: a, prop: o, fixed: s, ...c } = r, l = {
|
|
506
|
-
...c,
|
|
507
|
-
prop: o,
|
|
508
|
-
allowSort: a !== !1
|
|
509
|
-
};
|
|
510
|
-
i && (l.headerSlot = i.header, l.defaultSlot = i.default, l.expandSlot = i.expand, l.iconSlot = i["filter-icon"]), l.hide = x.value.hideProps[o], l.filterable = x.value.filterableProps[o], l.sortable = x.value.sortableProps[o] === !0, l.fixed = s || x.value.fixedProps[o], t.push(l);
|
|
511
|
-
}
|
|
512
|
-
} else if (e.columns) for (let n = 0; n < e.columns.length; n++) {
|
|
513
|
-
let { prop: r, sortable: i, fixed: a, ...o } = e.columns[n], s = {
|
|
514
|
-
...o,
|
|
515
|
-
prop: r,
|
|
516
|
-
allowSort: i !== !1
|
|
517
|
-
};
|
|
518
|
-
s.hide = x.value.hideProps[r], s.filterable = x.value.filterableProps[r], s.sortable = x.value.sortableProps[r] === !0, s.fixed = a || x.value.fixedProps[r], t.push(s);
|
|
519
|
-
}
|
|
520
|
-
return t;
|
|
521
|
-
});
|
|
522
|
-
ae(() => {
|
|
523
|
-
U();
|
|
524
|
-
}), f({
|
|
525
|
-
records: C,
|
|
526
|
-
getPage: K,
|
|
527
|
-
refresh: J,
|
|
528
|
-
reload: Y,
|
|
529
|
-
doLayout: q,
|
|
530
|
-
clearSelection: W,
|
|
531
|
-
toggleRowSelection: X,
|
|
532
|
-
toggleSettings: Z,
|
|
533
|
-
currentRow: T,
|
|
534
|
-
getPageQuery: G,
|
|
535
|
-
tableColumns: $
|
|
536
|
-
}), E(o, {
|
|
537
|
-
records: C,
|
|
538
|
-
getPage: K,
|
|
539
|
-
refresh: J,
|
|
540
|
-
reload: Y,
|
|
541
|
-
doLayout: q,
|
|
542
|
-
clearSelection: W,
|
|
543
|
-
toggleRowSelection: X,
|
|
544
|
-
toggleSettings: Z
|
|
545
|
-
});
|
|
546
|
-
let { autoBindProps: ge, listeners: _e } = t(e, { predicate: ce });
|
|
547
|
-
return () => {
|
|
548
|
-
var t;
|
|
549
|
-
let n = T.value && T.value[u["row-key"] || e.rowKey || "id"] === (T.value && e.rowKey ? T.value[e.rowKey] : (t = T.value) == null ? void 0 : t.id);
|
|
550
|
-
return b("div", {
|
|
551
|
-
class: [
|
|
552
|
-
"pageable-table",
|
|
553
|
-
{ "auto-height": e.autoHeight },
|
|
554
|
-
u.class
|
|
555
|
-
],
|
|
556
|
-
style: u.style
|
|
557
|
-
}, [b("div", { class: "pageable-table-wrapper" }, [
|
|
558
|
-
d.toolbar && d.toolbar({ selectedRows: k.value }),
|
|
559
|
-
b(m, w(_e.value, ge.value, {
|
|
560
|
-
ref: "table",
|
|
561
|
-
data: C.value,
|
|
562
|
-
class: ["flex-item", { "header-bold": e.headerBold }],
|
|
563
|
-
border: e.border,
|
|
564
|
-
stripe: !0,
|
|
565
|
-
size: "default",
|
|
566
|
-
height: e.autoHeight ? null : "auto",
|
|
567
|
-
onScroll: H,
|
|
568
|
-
onSortChange: de,
|
|
569
|
-
onRowDblclick: z,
|
|
570
|
-
onRowClick: B,
|
|
571
|
-
onCellClick: V,
|
|
572
|
-
onCurrentChange: fe,
|
|
573
|
-
onSelectionChange: pe
|
|
574
|
-
}), {
|
|
575
|
-
default: () => {
|
|
576
|
-
let t = [];
|
|
577
|
-
if (e.multiple && e.selection && t.push(b(h, {
|
|
578
|
-
key: "selection",
|
|
579
|
-
type: "selection",
|
|
580
|
-
selectable: Q,
|
|
581
|
-
width: e.selectionWidth,
|
|
582
|
-
align: "center"
|
|
583
|
-
}, null)), !e.multiple && e.selection && t.push(b(h, {
|
|
584
|
-
key: "single-selection",
|
|
585
|
-
type: "single-selection",
|
|
586
|
-
"class-name": "single-select-column",
|
|
587
|
-
width: e.selectionWidth,
|
|
588
|
-
align: "center"
|
|
589
|
-
}, {
|
|
590
|
-
header: () => b(p, {
|
|
591
|
-
modelValue: !!T.value,
|
|
592
|
-
label: !0
|
|
593
|
-
}, { default: () => [b("span", null, null)] }),
|
|
594
|
-
default: ({ row: e }) => b(p, {
|
|
595
|
-
label: !0,
|
|
596
|
-
disabled: !Q(e),
|
|
597
|
-
modelValue: n
|
|
598
|
-
}, { default: () => [b("span", null, null)] })
|
|
599
|
-
})), e.index && t.push(b(h, {
|
|
600
|
-
key: "index",
|
|
601
|
-
type: "index",
|
|
602
|
-
label: "序号",
|
|
603
|
-
width: L.value,
|
|
604
|
-
align: "center"
|
|
605
|
-
}, { default: ({ $index: e }) => (A.value.page - 1) * A.value.limit + e + 1 || e + 1 })), $.value.length > 0) for (let e = 0; e < $.value.length; e++) {
|
|
606
|
-
let n = $.value[e];
|
|
607
|
-
if (n.hide) continue;
|
|
608
|
-
let { prop: r, headerSlot: i, defaultSlot: a, expandSlot: o, iconSlot: s, ...c } = n;
|
|
609
|
-
t.push(b(se, w(c, { prop: r }), {
|
|
610
|
-
default: d[r] ? ({ row: e }) => d[r]({ row: e }) : a,
|
|
611
|
-
header: i,
|
|
612
|
-
expand: o,
|
|
613
|
-
"filter-icon": s
|
|
614
|
-
}));
|
|
615
|
-
}
|
|
616
|
-
else t.push(b(h, {
|
|
617
|
-
key: "default",
|
|
618
|
-
label: "点击表格行复制模板"
|
|
619
|
-
}, { default: ({ row: e }) => b("pre", {
|
|
620
|
-
class: "pointer",
|
|
621
|
-
onClick: () => ue(e)
|
|
622
|
-
}, [JSON.stringify(e, null, " ")]) }));
|
|
623
|
-
return t;
|
|
624
|
-
},
|
|
625
|
-
empty: () => d.empty ? d.empty() : b(g, null, [
|
|
626
|
-
S.value === R.loading && b("span", { class: "pageable-table-loading" }, [b("i", { class: "table-status-icon el-icon-loading" }, null), y("加载中...")]),
|
|
627
|
-
S.value === R.error && b(s, {
|
|
628
|
-
class: "pageable-table-error",
|
|
629
|
-
onClick: J
|
|
630
|
-
}, { default: () => [b("i", { class: "table-status-icon el-icon-error" }, null), y("加载失败,点击重试!")] }),
|
|
631
|
-
S.value !== R.loading && S.value !== R.error && b(te, null, null)
|
|
632
|
-
]),
|
|
633
|
-
append: d.append
|
|
634
|
-
}),
|
|
635
|
-
e.paging && b(re, {
|
|
636
|
-
"current-page": A.value.page,
|
|
637
|
-
"onUpdate:current-page": (e) => A.value.page = e,
|
|
638
|
-
"hide-on-single-page": e.hideOnSinglePage,
|
|
639
|
-
"page-size": A.value.limit,
|
|
640
|
-
"onUpdate:page-size": (e) => A.value.limit = e,
|
|
641
|
-
total: A.value.total,
|
|
642
|
-
"page-sizes": [
|
|
643
|
-
10,
|
|
644
|
-
25,
|
|
645
|
-
50,
|
|
646
|
-
100,
|
|
647
|
-
500,
|
|
648
|
-
1e3,
|
|
649
|
-
2e3
|
|
650
|
-
],
|
|
651
|
-
class: "flex-not-shrink",
|
|
652
|
-
background: !0,
|
|
653
|
-
layout: "total, sizes, prev, pager, next, jumper"
|
|
654
|
-
}, null),
|
|
655
|
-
b(P, {
|
|
656
|
-
settings: x.value,
|
|
657
|
-
"onUpdate:settings": (e) => x.value = e,
|
|
658
|
-
modelValue: D.value,
|
|
659
|
-
"onUpdate:modelValue": (e) => D.value = e,
|
|
660
|
-
columns: $.value
|
|
661
|
-
}, null)
|
|
662
|
-
]), b(i, { onNotify: q }, null)]);
|
|
663
|
-
};
|
|
664
|
-
}
|
|
665
|
-
};
|
|
666
|
-
//#endregion
|
|
667
|
-
export { z as t };
|
package/chunks/SWO35fS42.mjs
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { n as e, o as t } from "./b0ve2YgF.mjs";
|
|
2
|
-
import { allProps as n, predicate as r } from "../props/time-select.mjs";
|
|
3
|
-
import { ElTimeSelect as i } from "element-plus/es";
|
|
4
|
-
import "element-plus/es/components/base/style/css";
|
|
5
|
-
import { createVNode as a, mergeProps as o } from "vue";
|
|
6
|
-
import "element-plus/es/components/time-select/style/css";
|
|
7
|
-
//#endregion
|
|
8
|
-
//#region src/components/form/FormTimeSelect.vue
|
|
9
|
-
var s = {
|
|
10
|
-
name: "FormTimeSelect",
|
|
11
|
-
inheritAttrs: !1,
|
|
12
|
-
props: { ...n },
|
|
13
|
-
emits: { ...e },
|
|
14
|
-
setup(e, { emit: n, slots: s, attrs: c }) {
|
|
15
|
-
let { emitInput: l, render: u, placeholder: d, disabled: f, listeners: p, inputProps: m } = t(e, {
|
|
16
|
-
emit: n,
|
|
17
|
-
slots: s,
|
|
18
|
-
attrs: c,
|
|
19
|
-
predicate: r
|
|
20
|
-
});
|
|
21
|
-
return () => u({ vNodes: a(i, o(p.value, m.value, {
|
|
22
|
-
style: "width: 100%",
|
|
23
|
-
modelValue: e.modelValue,
|
|
24
|
-
disabled: f.value,
|
|
25
|
-
"onUpdate:modelValue": l,
|
|
26
|
-
placeholder: d.value
|
|
27
|
-
}), null) });
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
//#endregion
|
|
31
|
-
export { s as t };
|