@qynpm/ui 1.0.38 → 1.0.40
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/README.md +117 -113
- package/dist/index.cjs +2 -1
- package/dist/index.mjs +50 -48
- package/dist/qy-action-bar/index.cjs +1 -1
- package/dist/qy-action-bar/index.mjs +1 -1
- package/dist/qy-alert/index.cjs +1 -1
- package/dist/qy-alert/index.mjs +1 -1
- package/dist/qy-aside/index.cjs +1 -1
- package/dist/qy-aside/index.mjs +1 -1
- package/dist/qy-autocomplete/index.cjs +1 -1
- package/dist/qy-autocomplete/index.mjs +1 -1
- package/dist/qy-avatar/index.cjs +1 -1
- package/dist/qy-avatar/index.mjs +1 -1
- package/dist/qy-badge/index.cjs +1 -1
- package/dist/qy-badge/index.mjs +1 -1
- package/dist/qy-button/index.cjs +1 -1
- package/dist/qy-button/index.mjs +1 -1
- package/dist/qy-card/index.cjs +1 -1
- package/dist/qy-card/index.mjs +1 -1
- package/dist/qy-cascader/index.cjs +1 -1
- package/dist/qy-cascader/index.mjs +1 -1
- package/dist/qy-checkbox/index.cjs +1 -1
- package/dist/qy-checkbox/index.mjs +1 -1
- package/dist/qy-checkbox-group/index.cjs +1 -1
- package/dist/qy-checkbox-group/index.mjs +1 -1
- package/dist/qy-col/index.cjs +1 -1
- package/dist/qy-col/index.mjs +1 -1
- package/dist/qy-collapse/index.cjs +1 -1
- package/dist/qy-collapse/index.mjs +1 -1
- package/dist/qy-collapse-item/index.cjs +1 -1
- package/dist/qy-collapse-item/index.mjs +1 -1
- package/dist/qy-color-picker/index.cjs +1 -1
- package/dist/qy-color-picker/index.mjs +1 -1
- package/dist/qy-container/index.cjs +1 -1
- package/dist/qy-container/index.mjs +1 -1
- package/dist/qy-date-picker/index.cjs +1 -1
- package/dist/qy-date-picker/index.mjs +1 -1
- package/dist/qy-descriptions/index.cjs +1 -1
- package/dist/qy-descriptions/index.mjs +1 -1
- package/dist/qy-descriptions-item/index.cjs +1 -1
- package/dist/qy-descriptions-item/index.mjs +1 -1
- package/dist/qy-dialog/index.cjs +1 -1
- package/dist/qy-dialog/index.mjs +1 -1
- package/dist/qy-divider/index.cjs +1 -1
- package/dist/qy-divider/index.mjs +1 -1
- package/dist/qy-drawer/index.cjs +1 -1
- package/dist/qy-drawer/index.mjs +1 -1
- package/dist/qy-dropdown/index.cjs +1 -1
- package/dist/qy-dropdown/index.mjs +1 -1
- package/dist/qy-empty/index.cjs +1 -1
- package/dist/qy-empty/index.mjs +1 -1
- package/dist/qy-file-picker/index.cjs +1 -1
- package/dist/qy-file-picker/index.mjs +1 -1
- package/dist/qy-form-section/index.cjs +1 -1
- package/dist/qy-form-section/index.mjs +1 -1
- package/dist/qy-fullscreen/index.cjs +1 -1
- package/dist/qy-fullscreen/index.mjs +1 -1
- package/dist/qy-icon/index.cjs +1 -1
- package/dist/qy-icon/index.mjs +2 -2
- package/dist/qy-icon-picker/index.cjs +1 -1
- package/dist/qy-icon-picker/index.mjs +1 -1
- package/dist/qy-iframe/index.cjs +1 -1
- package/dist/qy-iframe/index.mjs +1 -1
- package/dist/qy-image/index.cjs +1 -1
- package/dist/qy-image/index.mjs +1 -1
- package/dist/qy-image-preview/index.cjs +1 -1
- package/dist/qy-image-preview/index.mjs +1 -1
- package/dist/qy-image-upload/index.cjs +1 -1
- package/dist/qy-image-upload/index.mjs +1 -1
- package/dist/qy-input/index.cjs +1 -1
- package/dist/qy-input/index.mjs +1 -1
- package/dist/qy-input-number/index.cjs +1 -1
- package/dist/qy-input-number/index.mjs +1 -1
- package/dist/qy-input-tag/index.cjs +1 -1
- package/dist/qy-input-tag/index.mjs +1 -1
- package/dist/qy-legacy-selection-dialog/index.cjs +1 -1
- package/dist/qy-legacy-selection-dialog/index.mjs +1 -1
- package/dist/qy-link/index.cjs +1 -1
- package/dist/qy-link/index.mjs +1 -1
- package/dist/qy-main/index.cjs +1 -1
- package/dist/qy-main/index.mjs +1 -1
- package/dist/qy-menu-actions/index.cjs +1 -1
- package/dist/qy-menu-actions/index.mjs +1 -1
- package/dist/qy-money-input/index.cjs +1 -1
- package/dist/qy-money-input/index.mjs +1 -1
- package/dist/qy-pagination/index.cjs +1 -0
- package/dist/qy-pagination/index.mjs +7 -0
- package/dist/qy-popconfirm/index.cjs +1 -1
- package/dist/qy-popconfirm/index.mjs +1 -1
- package/dist/qy-popover/index.cjs +1 -1
- package/dist/qy-popover/index.mjs +1 -1
- package/dist/qy-progress/index.cjs +1 -1
- package/dist/qy-progress/index.mjs +1 -1
- package/dist/qy-radio/index.cjs +1 -1
- package/dist/qy-radio/index.mjs +1 -1
- package/dist/qy-radio-group/index.cjs +1 -1
- package/dist/qy-radio-group/index.mjs +1 -1
- package/dist/qy-record-quote-search/index.cjs +1 -1
- package/dist/qy-record-quote-search/index.mjs +1 -1
- package/dist/qy-remark-image/index.cjs +1 -1
- package/dist/qy-remark-image/index.mjs +1 -1
- package/dist/qy-remote-select/index.cjs +1 -1
- package/dist/qy-remote-select/index.mjs +1 -1
- package/dist/qy-result/index.cjs +1 -1
- package/dist/qy-result/index.mjs +1 -1
- package/dist/qy-row/index.cjs +1 -1
- package/dist/qy-row/index.mjs +1 -1
- package/dist/qy-scrollbar/index.cjs +1 -1
- package/dist/qy-scrollbar/index.mjs +1 -1
- package/dist/qy-search-input/index.cjs +1 -1
- package/dist/qy-search-input/index.mjs +1 -1
- package/dist/qy-select/index.cjs +1 -1
- package/dist/qy-select/index.mjs +1 -1
- package/dist/qy-selection-dialog/index.cjs +1 -1
- package/dist/qy-selection-dialog/index.mjs +1 -1
- package/dist/qy-skeleton/index.cjs +1 -1
- package/dist/qy-skeleton/index.mjs +1 -1
- package/dist/qy-skeleton-item/index.cjs +1 -1
- package/dist/qy-skeleton-item/index.mjs +1 -1
- package/dist/qy-statistic/index.cjs +1 -1
- package/dist/qy-statistic/index.mjs +1 -1
- package/dist/qy-step/index.cjs +1 -1
- package/dist/qy-step/index.mjs +1 -1
- package/dist/qy-steps/index.cjs +1 -1
- package/dist/qy-steps/index.mjs +1 -1
- package/dist/qy-switch/index.cjs +1 -1
- package/dist/qy-switch/index.mjs +1 -1
- package/dist/qy-tab-pane/index.cjs +1 -1
- package/dist/qy-tab-pane/index.mjs +1 -1
- package/dist/qy-table-column-settings/index.cjs +1 -1
- package/dist/qy-table-column-settings/index.mjs +1 -1
- package/dist/qy-tabs/index.cjs +1 -1
- package/dist/qy-tabs/index.mjs +1 -1
- package/dist/qy-tag/index.cjs +1 -1
- package/dist/qy-tag/index.mjs +1 -1
- package/dist/qy-tooltip/index.cjs +1 -1
- package/dist/qy-tooltip/index.mjs +1 -1
- package/dist/qy-tree/index.cjs +1 -1
- package/dist/qy-tree/index.mjs +1 -1
- package/dist/qy-tree-select/index.cjs +1 -1
- package/dist/qy-tree-select/index.mjs +1 -1
- package/dist/qy-upload/index.cjs +1 -1
- package/dist/qy-upload/index.mjs +1 -1
- package/dist/qy-watermark/index.cjs +1 -1
- package/dist/qy-watermark/index.mjs +1 -1
- package/dist/shared/{index-WUwab92q.mjs → index-1Vw54aYL.mjs} +9 -9
- package/dist/shared/{index-Cs-LC7ZG.mjs → index-5vWL_IJI.mjs} +15 -15
- package/dist/shared/{index-xhROPBam.mjs → index-7fIb2Tqw.mjs} +12 -12
- package/dist/shared/{index-CyJHJCj8.cjs → index-9T0p3USM.cjs} +1 -1
- package/dist/shared/{index-BxQnJVT8.cjs → index-B-zfoMbw.cjs} +1 -1
- package/dist/shared/{index-qLomEtF6.mjs → index-B1I7mCIm.mjs} +3 -3
- package/dist/shared/{index-CnIZoCkL.mjs → index-B1aU9mew.mjs} +10 -10
- package/dist/shared/{index-BIWER6Wa.cjs → index-B26-GlFX.cjs} +1 -1
- package/dist/shared/{index-CF3vimnX.mjs → index-B63vgrS4.mjs} +7 -7
- package/dist/shared/{index-CJxpEc9q.cjs → index-B97hTd-h.cjs} +1 -1
- package/dist/shared/{index-CypWMqI4.cjs → index-B9zEH5Yq.cjs} +1 -1
- package/dist/shared/{index--I-pLtO3.cjs → index-BA_tJgLE.cjs} +1 -1
- package/dist/shared/{index-DiNSSXC8.mjs → index-BBIPQa5N.mjs} +4 -4
- package/dist/shared/index-BCWvMvRL.cjs +1 -0
- package/dist/shared/{index-DtXU2qQS.cjs → index-BDJIWxaw.cjs} +1 -1
- package/dist/shared/{index-DdoFHdjY.mjs → index-BFbAB8UH.mjs} +41 -41
- package/dist/shared/{index-B-d53uut.mjs → index-BG3XKumS.mjs} +10 -10
- package/dist/shared/{index-CCqfQb_M.mjs → index-BHGDbXoK.mjs} +9 -9
- package/dist/shared/{index-Cz6Lo9RL.cjs → index-BInkt-Al.cjs} +1 -1
- package/dist/shared/{index-jdGrSpGg.mjs → index-BKEw_9fh.mjs} +553 -550
- package/dist/shared/{index-BOLL0aGP.mjs → index-BNfu2YgX.mjs} +7 -7
- package/dist/shared/{index-CaM4EpCy.mjs → index-BPXJkcM1.mjs} +7 -7
- package/dist/shared/{index-Q8rXwNnM.mjs → index-BQzQcTgt.mjs} +2 -2
- package/dist/shared/{index-4uXwnK7G.cjs → index-BUSdZ-x8.cjs} +1 -1
- package/dist/shared/{index-ChEefC0G.cjs → index-BZDbBD41.cjs} +1 -1
- package/dist/shared/{index-Di3R0FOU.cjs → index-Bc1ny9GC.cjs} +1 -1
- package/dist/shared/{index-B8S5RT2Z.mjs → index-BcscC86C.mjs} +30 -30
- package/dist/shared/{index-B0aY8Q_T.cjs → index-BiowqiSD.cjs} +1 -1
- package/dist/shared/{index-hPaHbb1Y.cjs → index-Bpl6Jh4H.cjs} +1 -1
- package/dist/shared/{index-DgPQ8292.cjs → index-BqojE7aF.cjs} +1 -1
- package/dist/shared/{index-mKnRWsLn.cjs → index-BrZzYI8x.cjs} +1 -1
- package/dist/shared/{index-DI5COVol.cjs → index-BsXys36-.cjs} +1 -1
- package/dist/shared/{index-gOUVgYd_.cjs → index-BvmXE8aK.cjs} +1 -1
- package/dist/shared/{index-D_l30Gzr.cjs → index-Bw3nETeY.cjs} +1 -1
- package/dist/shared/{index-DnFQkBfl.cjs → index-BxxuaQGJ.cjs} +1 -1
- package/dist/shared/{index-Du-FNseo.cjs → index-BxymsnW0.cjs} +1 -1
- package/dist/shared/{index-DniPcZnL.mjs → index-BzpgGytE.mjs} +8 -8
- package/dist/shared/{index-BiCdxX0E.mjs → index-BzzZmppN.mjs} +10 -10
- package/dist/shared/{index-B3wIgwN7.cjs → index-C0rOcDsc.cjs} +1 -1
- package/dist/shared/{index-Ba5CLmrh.mjs → index-C1hAuubZ.mjs} +8 -8
- package/dist/shared/{index-YWKumDEW.mjs → index-C2BQtQPa.mjs} +7 -7
- package/dist/shared/{index-DQn_5j_f.cjs → index-C62Loq0f.cjs} +1 -1
- package/dist/shared/{index-DFTSBy3g.mjs → index-C7N8x3DK.mjs} +36 -36
- package/dist/shared/{index-B8znc-qD.cjs → index-C8aLbb8l.cjs} +1 -1
- package/dist/shared/{index-DS539-rn.mjs → index-CA279UZp.mjs} +27 -27
- package/dist/shared/{index-BE4CELs-.mjs → index-CBhrdEIf.mjs} +1 -1
- package/dist/shared/{index-COpowa-E.mjs → index-CCVlab6d.mjs} +9 -9
- package/dist/shared/{index-Bg_o9zrB.cjs → index-CDjAMIpe.cjs} +1 -1
- package/dist/shared/{index-BWO4qxne.mjs → index-CDleTMJj.mjs} +11 -11
- package/dist/shared/{index-B-PlDm1A.cjs → index-CG4I3nRK.cjs} +1 -1
- package/dist/shared/{index-0mok5nS2.cjs → index-CHt1R1WD.cjs} +1 -1
- package/dist/shared/index-CZIsLBLq.cjs +1 -0
- package/dist/shared/{index-DFnpyAa1.mjs → index-CcEXTVYA.mjs} +14 -14
- package/dist/shared/{index-DVPk0jMO.cjs → index-CedTjtZr.cjs} +1 -1
- package/dist/shared/{index-DpitpmqK.mjs → index-CgXuleV-.mjs} +20 -20
- package/dist/shared/index-CkfWS0Ba.cjs +1 -0
- package/dist/shared/index-Cm7k9j8a.cjs +1 -0
- package/dist/shared/{index-CWB5fAb7.mjs → index-CmgT_pgc.mjs} +12 -12
- package/dist/shared/{index-Ba3qQVYM.cjs → index-CngdcQWi.cjs} +1 -1
- package/dist/shared/{index-CjKfmMG4.cjs → index-CqdhLbMe.cjs} +1 -1
- package/dist/shared/index-CrlLsoRF.mjs +78 -0
- package/dist/shared/{index-DeBjILEK.cjs → index-CsI1WBRp.cjs} +1 -1
- package/dist/shared/{index-bvvNTmuM.mjs → index-CsXA7Qfy.mjs} +8 -8
- package/dist/shared/{index-jsEFCWaY.mjs → index-CsaDF9d4.mjs} +21 -21
- package/dist/shared/{index-DyqFfMhy.mjs → index-CvdUJpAu.mjs} +12 -12
- package/dist/shared/{index-CftZiihF.mjs → index-CvfLEIFE.mjs} +28 -27
- package/dist/shared/{index-D1cbnYac.mjs → index-CwcD7q4B.mjs} +9 -9
- package/dist/shared/{index-CXAVVShG.mjs → index-D0kCG3Ov.mjs} +37 -37
- package/dist/shared/{index-R6vvV3td.cjs → index-D1-QYDXi.cjs} +1 -1
- package/dist/shared/{index-CioDI8Ys.cjs → index-D1BK66mG.cjs} +1 -1
- package/dist/shared/index-D3IHte_d.cjs +1 -0
- package/dist/shared/{index-BmWDUjpi.mjs → index-D3VO2Ccd.mjs} +8 -8
- package/dist/shared/{index-DWrymMO5.cjs → index-D5spJ8nj.cjs} +1 -1
- package/dist/shared/{index-B71cpH4T.cjs → index-D7uPizqd.cjs} +1 -1
- package/dist/shared/{index-TMhQv4oD.mjs → index-D8OJx-hy.mjs} +21 -21
- package/dist/shared/{index-BsRfuMop.cjs → index-D97QYFZw.cjs} +1 -1
- package/dist/shared/{index-_AB6uqZw.mjs → index-DAiFZxwY.mjs} +13 -13
- package/dist/shared/{index-xdsYNS2u.mjs → index-DBz3lz62.mjs} +12 -12
- package/dist/shared/{index-CndG7UWF.mjs → index-DCKEecrx.mjs} +24 -24
- package/dist/shared/index-DCneRuMf.mjs +78 -0
- package/dist/shared/{index-DePXY0TI.cjs → index-DD-zKgrO.cjs} +1 -1
- package/dist/shared/{index-DRICnDix.mjs → index-DEHvfBYQ.mjs} +8 -8
- package/dist/shared/{index-VtJrvPka.mjs → index-DF_Q6c4g.mjs} +1 -1
- package/dist/shared/index-DFeV2CL8.cjs +1 -0
- package/dist/shared/{index-2xIkj7uz.cjs → index-DIckpqrH.cjs} +1 -1
- package/dist/shared/{index-DwHzztSj.cjs → index-DKKMSKqm.cjs} +1 -1
- package/dist/shared/{index-D8-4wR07.mjs → index-DPhYSn9g.mjs} +19 -19
- package/dist/shared/{index-BsTSa25A.cjs → index-DSq7WIiO.cjs} +1 -1
- package/dist/shared/{index-DTOfhAXP.mjs → index-DTHRZ-aL.mjs} +20 -20
- package/dist/shared/{index-BM3ueCK9.cjs → index-DTqCwGN_.cjs} +1 -1
- package/dist/shared/{index-B1-htEYJ.mjs → index-DVwCIrin.mjs} +27 -27
- package/dist/shared/{index-DAoXMHpO.mjs → index-DZU3jXf9.mjs} +1 -1
- package/dist/shared/index-D_Imq4-m.mjs +72 -0
- package/dist/shared/{index-fVS62tLm.mjs → index-DbxSDJ7e.mjs} +5 -5
- package/dist/shared/{index-Bx_faI_u.mjs → index-Dc4A_1-H.mjs} +10 -10
- package/dist/shared/index-Dchy1DNn.mjs +197 -0
- package/dist/shared/{index-gU6HjdHv.mjs → index-DdKCUobQ.mjs} +55 -55
- package/dist/shared/{index-CRU4YvLz.cjs → index-DdX40CzJ.cjs} +1 -1
- package/dist/shared/{index-CutbNRjY.mjs → index-DfP6txWq.mjs} +6 -6
- package/dist/shared/{index-BoGA3Pdv.cjs → index-Dh_dh3TS.cjs} +1 -1
- package/dist/shared/{index-BigCKPUY.mjs → index-DjRDV62n.mjs} +36 -36
- package/dist/shared/{index-DYYPqv3Y.cjs → index-DpGlBnUl.cjs} +1 -1
- package/dist/shared/{index-C7GXprxF.cjs → index-DsDUAk2R.cjs} +1 -1
- package/dist/shared/{index-C97qoSgI.cjs → index-DxUzSONj.cjs} +1 -1
- package/dist/shared/{index-Hn-IGtqe.cjs → index-DypZJHmM.cjs} +1 -1
- package/dist/shared/{index-DmEwKHe4.cjs → index-DzCwEfCQ.cjs} +1 -1
- package/dist/shared/{index-Cp0dxH7g.mjs → index-EPcAlzgc.mjs} +4 -4
- package/dist/shared/{index-u7VYI7Kg.mjs → index-GRwpbz1m.mjs} +11 -11
- package/dist/shared/index-Gyu5R4Gn.cjs +1 -0
- package/dist/shared/{index-DULBwiHC.mjs → index-IJJI2ylC.mjs} +12 -12
- package/dist/shared/index-LDtOVxCE.mjs +36 -0
- package/dist/shared/{index-lsWZ_M5R.mjs → index-OaA2R7Ur.mjs} +20 -20
- package/dist/shared/{index-BhO1ARf9.cjs → index-S2TDFo5d.cjs} +1 -1
- package/dist/shared/{index-9KXqMXBF.mjs → index-Se0xx6vl.mjs} +9 -9
- package/dist/shared/{index-BA6hc-j-.mjs → index-TVUj4Yp4.mjs} +4 -4
- package/dist/shared/index-U3c1apvC.cjs +1 -0
- package/dist/shared/{index-Brxx2EqN.mjs → index-VExJFRrd.mjs} +31 -31
- package/dist/shared/{index-CeasMt4r.mjs → index-Xw2_Py_V.mjs} +10 -10
- package/dist/shared/{index-Db7PhnjA.cjs → index-ZbSETCxZ.cjs} +1 -1
- package/dist/shared/index-ZkHMbIv4.cjs +1 -0
- package/dist/shared/{index-Nx_w1JYm.cjs → index-aveXATNw.cjs} +1 -1
- package/dist/shared/{index-DnexuGuJ.cjs → index-byOl9Vtk.cjs} +1 -1
- package/dist/shared/{index-i0G6DcP0.cjs → index-fiuhurmv.cjs} +1 -1
- package/dist/shared/{index-BCfULlZK.cjs → index-pqwrEshN.cjs} +1 -1
- package/dist/shared/{index-DEosiUQV.mjs → index-rowlxa3p.mjs} +26 -26
- package/dist/shared/{index-DZzMTGSJ.cjs → index-trf8Dvbk.cjs} +1 -1
- package/dist/shared/{index-DxFfP2Fn.cjs → index-tsfRa5ze.cjs} +1 -1
- package/dist/shared/{index-BcPpl_OJ.mjs → index-uRVIiLjP.mjs} +22 -22
- package/index.d.ts +122 -113
- package/package.json +496 -490
- package/qy-alert/index.d.ts +64 -64
- package/qy-autocomplete/index.d.ts +5 -5
- package/qy-avatar/index.d.ts +67 -67
- package/qy-badge/index.d.ts +63 -63
- package/qy-card/index.d.ts +64 -64
- package/qy-cascader/index.d.ts +198 -198
- package/qy-collapse/index.d.ts +59 -59
- package/qy-collapse-item/index.d.ts +45 -45
- package/qy-descriptions/index.d.ts +47 -47
- package/qy-descriptions-item/index.d.ts +46 -46
- package/qy-dialog/index.d.ts +63 -63
- package/qy-divider/index.d.ts +53 -53
- package/qy-drawer/index.d.ts +55 -55
- package/qy-empty/index.d.ts +51 -51
- package/qy-file-picker/index.d.ts +4 -4
- package/qy-icon/index.d.ts +9 -9
- package/qy-iframe/index.d.ts +66 -66
- package/qy-image/index.d.ts +28 -28
- package/qy-image-preview/index.d.ts +20 -20
- package/qy-image-upload/index.d.ts +69 -69
- package/qy-input/index.d.ts +76 -76
- package/qy-input-number/index.d.ts +64 -64
- package/qy-input-tag/index.d.ts +69 -69
- package/qy-link/index.d.ts +69 -69
- package/qy-loading/index.d.ts +25 -25
- package/qy-menu-actions/index.d.ts +29 -29
- package/qy-money-input/index.d.ts +87 -87
- package/qy-pagination/index.d.ts +40 -0
- package/qy-progress/index.d.ts +74 -74
- package/qy-result/index.d.ts +64 -64
- package/qy-scrollbar/index.d.ts +85 -85
- package/qy-skeleton/index.d.ts +54 -54
- package/qy-skeleton-item/index.d.ts +48 -48
- package/qy-step/index.d.ts +55 -55
- package/qy-steps/index.d.ts +62 -62
- package/qy-tab-pane/index.d.ts +40 -40
- package/qy-table-column-settings/index.d.ts +18 -18
- package/qy-tabs/index.d.ts +84 -84
- package/qy-tree/index.d.ts +132 -132
- package/qy-tree-select/index.d.ts +123 -123
- package/qy-upload/index.d.ts +99 -99
- package/dist/shared/index-0aCI4Gj1.mjs +0 -78
- package/dist/shared/index-B1ZuGEIr.cjs +0 -1
- package/dist/shared/index-BFFnf0Bn.cjs +0 -1
- package/dist/shared/index-Bguu2ys0.cjs +0 -1
- package/dist/shared/index-Btwke2ql.cjs +0 -1
- package/dist/shared/index-CDGjUhaC.mjs +0 -72
- package/dist/shared/index-CSMOYD1R.cjs +0 -1
- package/dist/shared/index-CrwhANF5.mjs +0 -78
- package/dist/shared/index-CzyB5ttX.cjs +0 -1
- package/dist/shared/index-D9dQaZtu.cjs +0 -1
- package/dist/shared/index-DNMOtH4s.mjs +0 -36
- package/dist/shared/index-jP71VQxo.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as A, useAttrs as E, useSlots as N, computed as o, watchEffect as V, markRaw as Q, toRaw as R, openBlock as s, createElementBlock as r, mergeProps as j, createElementVNode as L, renderSlot as c, createBlock as _, resolveDynamicComponent as m, createCommentVNode as
|
|
2
|
-
import { _ as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as A, useAttrs as E, useSlots as N, computed as o, watchEffect as V, markRaw as Q, toRaw as R, openBlock as s, createElementBlock as r, mergeProps as j, createElementVNode as L, renderSlot as c, createBlock as _, resolveDynamicComponent as m, createCommentVNode as v } from "vue";
|
|
2
|
+
import { _ as F } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
3
|
+
const G = /* @__PURE__ */ A({
|
|
4
4
|
name: "QyButton",
|
|
5
5
|
inheritAttrs: !1,
|
|
6
6
|
__name: "index",
|
|
@@ -30,20 +30,20 @@ const F = /* @__PURE__ */ A({
|
|
|
30
30
|
"text",
|
|
31
31
|
"ghost",
|
|
32
32
|
"link"
|
|
33
|
-
], d = ["sm", "md", "lg"], f = ["button", "submit", "reset"], t = a,
|
|
33
|
+
], d = ["sm", "md", "lg"], f = ["button", "submit", "reset"], t = a, q = i, u = E(), y = N(), x = o(() => {
|
|
34
34
|
const e = t.variant || t.type || "default";
|
|
35
35
|
return n.includes(e) ? e : "default";
|
|
36
36
|
}), h = o(
|
|
37
37
|
() => d.includes(t.size) ? t.size : "md"
|
|
38
38
|
), S = o(
|
|
39
39
|
() => f.includes(t.nativeType) ? t.nativeType : "button"
|
|
40
|
-
), g = o(() => t.disabled || t.loading), k = o(() => p(t.prefixIcon)), I = o(() => p(t.suffixIcon)), T = o(() => !!(k.value || y.prefix)),
|
|
41
|
-
const e = u["aria-label"],
|
|
42
|
-
return b(e) || b(
|
|
43
|
-
}),
|
|
40
|
+
), g = o(() => t.disabled || t.loading), k = o(() => p(t.prefixIcon)), I = o(() => p(t.suffixIcon)), T = o(() => !!(k.value || y.prefix)), z = o(() => !!(I.value || y.suffix)), B = o(() => {
|
|
41
|
+
const e = u["aria-label"], w = u.title;
|
|
42
|
+
return b(e) || b(w);
|
|
43
|
+
}), O = o(() => {
|
|
44
44
|
const e = u["aria-pressed"];
|
|
45
45
|
return e ?? (t.active ? "true" : void 0);
|
|
46
|
-
}),
|
|
46
|
+
}), P = o(() => [
|
|
47
47
|
`qy-button--${x.value}`,
|
|
48
48
|
`qy-button--${h.value}`,
|
|
49
49
|
{
|
|
@@ -65,28 +65,28 @@ const F = /* @__PURE__ */ A({
|
|
|
65
65
|
if (!(!e || typeof e == "string"))
|
|
66
66
|
return Q(R(e));
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function D(e) {
|
|
69
69
|
if (g.value) {
|
|
70
70
|
e.preventDefault();
|
|
71
71
|
return;
|
|
72
72
|
}
|
|
73
|
-
|
|
73
|
+
q("click", e);
|
|
74
74
|
}
|
|
75
|
-
const C = { buttonTypes: n, buttonSizes: d, nativeTypes: f, props: t, emit:
|
|
75
|
+
const C = { buttonTypes: n, buttonSizes: d, nativeTypes: f, props: t, emit: q, attrs: u, slots: y, buttonType: x, buttonSize: h, nativeType: S, isDisabled: g, prefixIconComponent: k, suffixIconComponent: I, hasPrefixIcon: T, hasSuffixIcon: z, hasAccessibleName: B, ariaPressed: O, buttonClasses: P, hasTextValue: b, normalizeIcon: p, handleClick: D };
|
|
76
76
|
return Object.defineProperty(C, "__isScriptSetup", { enumerable: !1, value: !0 }), C;
|
|
77
77
|
}
|
|
78
|
-
}),
|
|
78
|
+
}), H = ["type", "disabled", "aria-busy", "aria-disabled", "aria-pressed"], J = {
|
|
79
79
|
key: 0,
|
|
80
80
|
class: "qy-button__icon qy-button__icon--loading",
|
|
81
81
|
"aria-hidden": "true"
|
|
82
|
-
},
|
|
82
|
+
}, K = {
|
|
83
83
|
key: 1,
|
|
84
84
|
class: "qy-button__icon qy-button__icon--prefix",
|
|
85
85
|
"aria-hidden": "true"
|
|
86
|
-
},
|
|
86
|
+
}, M = {
|
|
87
87
|
key: 2,
|
|
88
88
|
class: "qy-button__content"
|
|
89
|
-
},
|
|
89
|
+
}, U = {
|
|
90
90
|
key: 3,
|
|
91
91
|
class: "qy-button__icon qy-button__icon--suffix",
|
|
92
92
|
"aria-hidden": "true"
|
|
@@ -105,7 +105,7 @@ function X(a, l, i, n, d, f) {
|
|
|
105
105
|
"aria-pressed": n.ariaPressed,
|
|
106
106
|
onClick: n.handleClick
|
|
107
107
|
}), [
|
|
108
|
-
i.loading ? (s(), r("span",
|
|
108
|
+
i.loading ? (s(), r("span", J, [...l[0] || (l[0] = [
|
|
109
109
|
L(
|
|
110
110
|
"span",
|
|
111
111
|
{ class: "qy-button__spinner" },
|
|
@@ -113,15 +113,15 @@ function X(a, l, i, n, d, f) {
|
|
|
113
113
|
-1
|
|
114
114
|
/* CACHED */
|
|
115
115
|
)
|
|
116
|
-
])])) : n.hasPrefixIcon ? (s(), r("span",
|
|
116
|
+
])])) : n.hasPrefixIcon ? (s(), r("span", K, [
|
|
117
117
|
c(a.$slots, "prefix", {}, () => [
|
|
118
118
|
(s(), _(m(n.prefixIconComponent)))
|
|
119
119
|
], !0)
|
|
120
|
-
])) :
|
|
121
|
-
i.iconOnly ?
|
|
120
|
+
])) : v("v-if", !0),
|
|
121
|
+
i.iconOnly ? v("v-if", !0) : (s(), r("span", M, [
|
|
122
122
|
c(a.$slots, "default", {}, void 0, !0)
|
|
123
123
|
])),
|
|
124
|
-
!i.loading && !i.iconOnly && n.hasSuffixIcon ? (s(), r("span",
|
|
124
|
+
!i.loading && !i.iconOnly && n.hasSuffixIcon ? (s(), r("span", U, [
|
|
125
125
|
c(a.$slots, "suffix", {}, () => [
|
|
126
126
|
(s(), _(m(n.suffixIconComponent)))
|
|
127
127
|
], !0)
|
|
@@ -129,10 +129,10 @@ function X(a, l, i, n, d, f) {
|
|
|
129
129
|
c(a.$slots, "suffix", {}, () => [
|
|
130
130
|
(s(), _(m(n.suffixIconComponent)))
|
|
131
131
|
], !0)
|
|
132
|
-
])) :
|
|
133
|
-
], 16,
|
|
132
|
+
])) : v("v-if", !0)
|
|
133
|
+
], 16, H);
|
|
134
134
|
}
|
|
135
|
-
const $ = /* @__PURE__ */
|
|
135
|
+
const $ = /* @__PURE__ */ F(G, [["render", X], ["__scopeId", "data-v-ef627eea"], ["__file", "D:/xushenz/qy-components/packages/ui/lib/qy-button/index.vue"]]);
|
|
136
136
|
export {
|
|
137
137
|
$ as B
|
|
138
138
|
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { defineComponent as h, ref as g, computed as A, onMounted as b, watch as w, onBeforeUnmount as _, h as M } from "vue";
|
|
2
|
+
import { ElStatistic as q } from "element-plus";
|
|
3
|
+
import { _ as F } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
4
|
+
const N = (t) => t === "class" || t === "style" || t === "id" || t === "role" || t.startsWith("data-") || t.startsWith("aria-"), v = () => typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches, j = h({
|
|
5
|
+
name: "QyStatistic",
|
|
6
|
+
inheritAttrs: !1,
|
|
7
|
+
props: {
|
|
8
|
+
value: { type: Number, default: 0 },
|
|
9
|
+
precision: { type: Number, default: 0 },
|
|
10
|
+
decimalSeparator: { type: String, default: "." },
|
|
11
|
+
groupSeparator: { type: String, default: "," },
|
|
12
|
+
formatter: Function,
|
|
13
|
+
valueStyle: [String, Object, Array, Boolean],
|
|
14
|
+
title: String,
|
|
15
|
+
prefix: String,
|
|
16
|
+
suffix: String,
|
|
17
|
+
animated: Boolean,
|
|
18
|
+
duration: { type: Number, default: 1e3 },
|
|
19
|
+
startValue: { type: Number, default: 0 }
|
|
20
|
+
},
|
|
21
|
+
setup(t, { attrs: S, slots: r }) {
|
|
22
|
+
const i = g(
|
|
23
|
+
t.animated && t.duration > 0 && !v() ? t.startValue : t.value
|
|
24
|
+
), x = A(
|
|
25
|
+
() => Object.fromEntries(Object.entries(S).filter(([a]) => N(a)))
|
|
26
|
+
);
|
|
27
|
+
let n = !1, e, u = 0;
|
|
28
|
+
const f = () => {
|
|
29
|
+
u += 1, e !== void 0 && (cancelAnimationFrame(e), e = void 0);
|
|
30
|
+
}, l = (a) => {
|
|
31
|
+
if (f(), !n || !t.animated || t.duration <= 0 || v()) {
|
|
32
|
+
i.value = a;
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
const o = i.value;
|
|
36
|
+
if (o === a) return;
|
|
37
|
+
const y = u;
|
|
38
|
+
let c;
|
|
39
|
+
const d = (m) => {
|
|
40
|
+
if (!n || y !== u) return;
|
|
41
|
+
c ?? (c = m);
|
|
42
|
+
const s = Math.min(1, (m - c) / t.duration);
|
|
43
|
+
i.value = o + (a - o) * s, s < 1 ? e = requestAnimationFrame(d) : e = void 0;
|
|
44
|
+
};
|
|
45
|
+
e = requestAnimationFrame(d);
|
|
46
|
+
};
|
|
47
|
+
return b(() => {
|
|
48
|
+
n = !0, l(t.value);
|
|
49
|
+
}), w(
|
|
50
|
+
() => [t.value, t.animated, t.duration],
|
|
51
|
+
() => l(t.value)
|
|
52
|
+
), _(() => {
|
|
53
|
+
n = !1, f();
|
|
54
|
+
}), () => M(
|
|
55
|
+
q,
|
|
56
|
+
{
|
|
57
|
+
...x.value,
|
|
58
|
+
value: i.value,
|
|
59
|
+
precision: t.precision,
|
|
60
|
+
decimalSeparator: t.decimalSeparator,
|
|
61
|
+
groupSeparator: t.groupSeparator,
|
|
62
|
+
formatter: t.formatter,
|
|
63
|
+
valueStyle: t.valueStyle,
|
|
64
|
+
title: t.title,
|
|
65
|
+
prefix: t.prefix,
|
|
66
|
+
suffix: t.suffix
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
title: r.title,
|
|
70
|
+
prefix: r.prefix,
|
|
71
|
+
suffix: r.suffix
|
|
72
|
+
}
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
}), V = /* @__PURE__ */ F(j, [["__file", "D:/xushenz/qy-components/packages/ui/lib/qy-statistic/index.vue"]]);
|
|
76
|
+
export {
|
|
77
|
+
V as S
|
|
78
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("vue"),
|
|
1
|
+
"use strict";const n=require("vue"),B=require("element-plus"),E=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),I=n.defineComponent({name:"QyInputNumber",inheritAttrs:!1,__name:"index",props:{id:{type:String,required:!1},step:{type:Number,required:!1,default:1},stepStrictly:{type:Boolean,required:!1,default:!1},max:{type:Number,required:!1,default:void 0},min:{type:Number,required:!1,default:void 0},modelValue:{type:null,required:!1,default:void 0},readonly:{type:Boolean,required:!1,default:!1},disabled:{type:Boolean,required:!1,default:!1},size:{type:String,required:!1,default:void 0},controls:{type:Boolean,required:!1,default:!0},controlsPosition:{type:String,required:!1,default:""},valueOnClear:{type:[String,Number,null],required:!1,default:null},name:{type:String,required:!1},placeholder:{type:String,required:!1,default:"请输入数字"},precision:{type:Number,required:!1,default:void 0},validateEvent:{type:Boolean,required:!1},ariaLabel:{type:String,required:!1}},emits:["update:modelValue","input","change","focus","blur"],setup(r,{expose:p,emit:t}){const l=r,u=t,f=n.useAttrs(),q=n.computed(()=>Object.fromEntries(Object.entries(f).filter(([e])=>e==="class"||e==="style"||e==="title"||e==="role"||e.startsWith("data-")||e.startsWith("aria-")))),d=n.ref(null),i=n.ref(!1),c=n.ref(l.modelValue);function v(){return l.valueOnClear==="min"?l.min:l.valueOnClear==="max"?l.max:l.valueOnClear}function o(e=!1){var s,g;if(!i.value)return;i.value=!1;const a=v();u("update:modelValue",a),u("change",a,c.value),e&&((g=(s=d.value)==null?void 0:s.blur)==null||g.call(s))}function C(e){e===null&&l.valueOnClear!==null&&(i.value=!0,c.value=l.modelValue),u("update:modelValue",e)}function S(e){u("input",e)}function x(e,a){if(i.value&&e===null){o();return}i.value=!1,u("change",e,a)}function N(e){u("focus",e)}function V(e){i.value&&e.target instanceof HTMLInputElement&&e.target.value===""&&o(),u("blur",e)}function _(e){i.value&&e.key==="Tab"&&e.target instanceof HTMLInputElement&&e.target.value===""&&o(!0)}function m(e){const a=e.target;i.value&&a instanceof Element&&!a.closest(".qy-input-number")&&o(!0)}function b(){var e,a;(a=(e=d.value)==null?void 0:e.focus)==null||a.call(e)}function y(){var e,a;(a=(e=d.value)==null?void 0:e.blur)==null||a.call(e)}p({focus:b,blur:y}),n.onMounted(()=>{document.addEventListener("pointerdown",m,!0)}),n.onBeforeUnmount(()=>{document.removeEventListener("pointerdown",m,!0)});const h={props:l,emit:u,attrs:f,adapterAttrs:q,inputNumberRef:d,pendingClear:i,pendingClearOldValue:c,resolveValueOnClear:v,commitPendingClear:o,handleUpdateModelValue:C,handleInput:S,handleChange:x,handleFocus:N,handleBlur:V,handleKeydown:_,handleDocumentPointerdown:m,focus:b,blur:y,get ElInputNumber(){return B.ElInputNumber}};return Object.defineProperty(h,"__isScriptSetup",{enumerable:!1,value:!0}),h}});function O(r,p,t,l,u,f){return n.openBlock(),n.createBlock(l.ElInputNumber,n.mergeProps({ref:"inputNumberRef"},l.adapterAttrs,{class:"qy-input-number","model-value":t.modelValue,min:t.min,max:t.max,step:t.step,"step-strictly":t.stepStrictly,precision:t.precision,controls:t.controls,"controls-position":t.controlsPosition,placeholder:t.placeholder,disabled:t.disabled,readonly:t.readonly,size:t.size,"value-on-clear":t.valueOnClear,"validate-event":t.validateEvent,id:t.id,name:t.name,"aria-label":t.ariaLabel,"onUpdate:modelValue":l.handleUpdateModelValue,onInput:l.handleInput,onChange:l.handleChange,onFocus:l.handleFocus,onBlur:l.handleBlur,onKeydownCapture:l.handleKeydown}),n.createSlots({_:2},[r.$slots.prefix?{name:"prefix",fn:n.withCtx(()=>[n.renderSlot(r.$slots,"prefix")]),key:"0"}:void 0,r.$slots.suffix?{name:"suffix",fn:n.withCtx(()=>[n.renderSlot(r.$slots,"suffix")]),key:"1"}:void 0,r.$slots["increase-icon"]?{name:"increase-icon",fn:n.withCtx(()=>[n.renderSlot(r.$slots,"increase-icon")]),key:"2"}:void 0,r.$slots["decrease-icon"]?{name:"decrease-icon",fn:n.withCtx(()=>[n.renderSlot(r.$slots,"decrease-icon")]),key:"3"}:void 0]),1040,["model-value","min","max","step","step-strictly","precision","controls","controls-position","placeholder","disabled","readonly","size","value-on-clear","validate-event","id","name","aria-label"])}const w=E._export_sfc(I,[["render",O],["__file","D:/xushenz/qy-components/packages/ui/lib/qy-input-number/index.vue"]]);exports.InputNumber=w;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as I, useAttrs as
|
|
1
|
+
import { defineComponent as I, useAttrs as W, ref as K, computed as m, openBlock as U, createBlock as H, mergeProps as Q, createSlots as G, withCtx as u, renderSlot as c, normalizeProps as J, guardReactiveProps as X } from "vue";
|
|
2
2
|
import { ElCascader as Y } from "element-plus";
|
|
3
3
|
import { _ as Z } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
4
4
|
const $ = /* @__PURE__ */ I({
|
|
@@ -44,7 +44,7 @@ const $ = /* @__PURE__ */ I({
|
|
|
44
44
|
},
|
|
45
45
|
emits: ["update:modelValue", "change", "focus", "blur", "clear", "visible-change", "expand-change", "remove-tag"],
|
|
46
46
|
setup(s, { expose: q, emit: a }) {
|
|
47
|
-
const l = s, d = a, b =
|
|
47
|
+
const l = s, d = a, b = W(), n = K(), p = m(
|
|
48
48
|
() => Object.fromEntries(
|
|
49
49
|
Object.entries(b).filter(
|
|
50
50
|
([e]) => e === "class" || e === "style" || e === "role" || e === "title" || e.startsWith("data-") || e.startsWith("aria-")
|
|
@@ -53,7 +53,7 @@ const $ = /* @__PURE__ */ I({
|
|
|
53
53
|
), C = m(() => ({
|
|
54
54
|
...l.emptyValues !== void 0 ? { emptyValues: l.emptyValues } : {},
|
|
55
55
|
...l.valueOnClear !== void 0 ? { valueOnClear: l.valueOnClear } : {}
|
|
56
|
-
})),
|
|
56
|
+
})), w = m(() => ({
|
|
57
57
|
...p.value,
|
|
58
58
|
...C.value
|
|
59
59
|
}));
|
|
@@ -76,11 +76,11 @@ const $ = /* @__PURE__ */ I({
|
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
78
|
function S(e, t) {
|
|
79
|
-
var y,
|
|
79
|
+
var y, A;
|
|
80
80
|
const r = typeof t.leaf == "string" ? t.leaf : "leaf", i = t.children ?? "children", o = (y = e.data) == null ? void 0 : y[r];
|
|
81
81
|
if (typeof o == "boolean")
|
|
82
82
|
return o;
|
|
83
|
-
const f = Array.isArray(e.childrenData) ? e.childrenData : (
|
|
83
|
+
const f = Array.isArray(e.childrenData) ? e.childrenData : (A = e.data) == null ? void 0 : A[i];
|
|
84
84
|
return Array.isArray(f) && f.length > 0 ? !1 : t.lazy ? e.loaded === !0 : !0;
|
|
85
85
|
}
|
|
86
86
|
function g(e, t, r = /* @__PURE__ */ new Set()) {
|
|
@@ -179,14 +179,14 @@ const $ = /* @__PURE__ */ I({
|
|
|
179
179
|
(t = (e = n.value) == null ? void 0 : e.togglePopperVisible) == null || t.call(e, !1);
|
|
180
180
|
}
|
|
181
181
|
q({ focus: k, blur: V, open: T, close: z });
|
|
182
|
-
const B = { props: l, emit: d, attrs: b, cascaderRef: n, safeAttrs: p, emptyValueProps: C, adapterAttrs:
|
|
182
|
+
const B = { props: l, emit: d, attrs: b, cascaderRef: n, safeAttrs: p, emptyValueProps: C, adapterAttrs: w, toSnapshot: h, deriveCallbackLeafState: S, deriveCallbackDisabledState: g, toCallbackSnapshot: v, panelProps: L, adaptFilterMethod: O, adaptNodeSlotProps: x, adaptTags: j, handleUpdateModelValue: E, handleChange: P, handleFocus: D, handleBlur: F, handleClear: N, handleVisibleChange: _, handleExpandChange: M, handleRemoveTag: R, focus: k, blur: V, open: T, close: z, get ElCascader() {
|
|
183
183
|
return Y;
|
|
184
184
|
} };
|
|
185
185
|
return Object.defineProperty(B, "__isScriptSetup", { enumerable: !1, value: !0 }), B;
|
|
186
186
|
}
|
|
187
187
|
});
|
|
188
188
|
function ee(s, q, a, l, d, b) {
|
|
189
|
-
return
|
|
189
|
+
return U(), H(l.ElCascader, Q({ ref: "cascaderRef" }, l.adapterAttrs, {
|
|
190
190
|
class: "qy-cascader",
|
|
191
191
|
"model-value": a.modelValue,
|
|
192
192
|
options: a.options,
|
|
@@ -289,7 +289,7 @@ function ee(s, q, a, l, d, b) {
|
|
|
289
289
|
} : void 0
|
|
290
290
|
]), 1040, ["model-value", "options", "props", "size", "placeholder", "disabled", "clearable", "clear-icon", "filterable", "filter-method", "separator", "show-all-levels", "collapse-tags", "max-collapse-tags", "collapse-tags-tooltip", "max-collapse-tags-tooltip-height", "debounce", "before-filter", "placement", "fallback-placements", "popper-class", "popper-style", "teleported", "effect", "persistent", "show-checked-strategy", "fit-input-width", "tag-type", "tag-effect", "validate-event", "virtual-scroll", "item-size", "height"]);
|
|
291
291
|
}
|
|
292
|
-
const re = /* @__PURE__ */ Z($, [["render", ee], ["__file", "
|
|
292
|
+
const re = /* @__PURE__ */ Z($, [["render", ee], ["__file", "D:/xushenz/qy-components/packages/ui/lib/qy-cascader/index.vue"]]);
|
|
293
293
|
export {
|
|
294
294
|
re as C
|
|
295
295
|
};
|
|
@@ -21,7 +21,7 @@ const u = /* @__PURE__ */ a({
|
|
|
21
21
|
function d(o, s, t, r, n, e) {
|
|
22
22
|
return c(), m(r.ElSkeletonItem, p(r.safeAttrs, { variant: t.variant }), null, 16, ["variant"]);
|
|
23
23
|
}
|
|
24
|
-
const b = /* @__PURE__ */ f(u, [["render", d], ["__file", "
|
|
24
|
+
const b = /* @__PURE__ */ f(u, [["render", d], ["__file", "D:/xushenz/qy-components/packages/ui/lib/qy-skeleton-item/index.vue"]]);
|
|
25
25
|
export {
|
|
26
26
|
b as S
|
|
27
27
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("vue"),l=require("element-plus"),a=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),o=t.defineComponent({name:"QyMainElementPlusRenderer",inheritAttrs:!1,__name:"element-plus",setup(e,{expose:r}){r();const n={get ElMain(){return l.ElMain}};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}});function u(e,r,n,s,i,d){return t.openBlock(),t.createBlock(s.ElMain,t.normalizeProps(t.guardReactiveProps(e.$attrs)),{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},16)}const c=a._export_sfc(o,[["render",u],["__file","D:/xushenz/qy-components/packages/ui/lib/qy-main/renderer/element-plus.vue"]]),p=e=>e==="class"||e==="style"||e==="id"||e==="role"||e==="title"||e.startsWith("data-")||e.startsWith("aria-"),_=t.defineComponent({name:"QyMain",inheritAttrs:!1,setup(e,{attrs:r,slots:n}){const s=t.computed(()=>Object.fromEntries(Object.entries(r).filter(([i])=>p(i))));return()=>t.h(c,s.value,n.default?{default:n.default}:void 0)}}),f=a._export_sfc(_,[["__file","D:/xushenz/qy-components/packages/ui/lib/qy-main/index.vue"]]);exports.Main=f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const a=require("vue"),A=require("element-plus"),R=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),z=a.defineComponent({name:"QyInputTag",inheritAttrs:!1,__name:"index",props:{modelValue:{type:Array,required:!1,default:()=>[]},max:{type:Number,required:!1},trigger:{type:String,required:!1,default:"enter"},tagTone:{type:String,required:!1,default:"neutral"},tagEffect:{type:String,required:!1,default:"light"},size:{type:String,required:!1},clearable:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},readonly:{type:Boolean,required:!1},placeholder:{type:String,required:!1},autofocus:{type:Boolean,required:!1},validateEvent:{type:Boolean,required:!1,default:!0},id:{type:String,required:!1},tabindex:{type:[String,Number],required:!1},maxlength:{type:[String,Number],required:!1},minlength:{type:[String,Number],required:!1},autocomplete:{type:String,required:!1},ariaLabel:{type:String,required:!1}},emits:["update:modelValue","change","input","add","remove","clear","focus","blur"],setup(o,{expose:p,emit:c}){const
|
|
1
|
+
"use strict";const a=require("vue"),A=require("element-plus"),R=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),z=a.defineComponent({name:"QyInputTag",inheritAttrs:!1,__name:"index",props:{modelValue:{type:Array,required:!1,default:()=>[]},max:{type:Number,required:!1},trigger:{type:String,required:!1,default:"enter"},tagTone:{type:String,required:!1,default:"neutral"},tagEffect:{type:String,required:!1,default:"light"},size:{type:String,required:!1},clearable:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},readonly:{type:Boolean,required:!1},placeholder:{type:String,required:!1},autofocus:{type:Boolean,required:!1},validateEvent:{type:Boolean,required:!1,default:!0},id:{type:String,required:!1},tabindex:{type:[String,Number],required:!1},maxlength:{type:[String,Number],required:!1},minlength:{type:[String,Number],required:!1},autocomplete:{type:String,required:!1},ariaLabel:{type:String,required:!1}},emits:["update:modelValue","change","input","add","remove","clear","focus","blur"],setup(o,{expose:p,emit:c}){const n=o,r=c,s=a.useAttrs(),d=a.ref(null),i=a.ref(null),y=a.computed(()=>Object.fromEntries(Object.entries(s).filter(([e])=>e==="class"||e==="style"||e==="title"||e==="role"||e.startsWith("data-")||e.startsWith("aria-")))),v=a.computed(()=>n.tagTone==="neutral"?"info":n.tagTone),x=a.computed(()=>n.trigger==="space"?"Space":"Enter");function u(e){return e?[...e]:[]}function f(e,t){if(e.length!==t.length+1)return null;for(let l=0;l<e.length;l+=1)if(e[l]!==t[l]&&e.slice(l+1).every((I,V)=>I===t[l+V]))return{value:e[l],index:l};return{value:e[e.length-1],index:e.length-1}}function q(e){const t=u(n.modelValue),l=u(e);i.value=l.length===0&&t.length>0?null:f(t,l),r("update:modelValue",l)}function b(e){r("change",u(e))}function T(e){r("input",e)}function S(e){r("add",e)}function _(e){const t=i.value,l=(t==null?void 0:t.value)===e?t.index:u(n.modelValue).indexOf(e);r("remove",e,l),i.value=null}function C(){r("clear"),i.value=null}function B(e){r("focus",e)}function E(e){r("blur",e)}function g(){var e,t;(t=(e=d.value)==null?void 0:e.focus)==null||t.call(e)}function m(){var e,t;(t=(e=d.value)==null?void 0:e.blur)==null||t.call(e)}p({focus:g,blur:m});const h={props:n,emit:r,attrs:s,inputTagRef:d,pendingRemoval:i,safeAttrs:y,elementTagTone:v,elementTrigger:x,normalizeModelValue:u,findRemovedTag:f,handleUpdate:q,handleChange:b,handleInput:T,handleAdd:S,handleRemove:_,handleClear:C,handleFocus:B,handleBlur:E,focus:g,blur:m,get ElInputTag(){return A.ElInputTag}};return Object.defineProperty(h,"__isScriptSetup",{enumerable:!1,value:!0}),h}});function N(o,p,c,n,r,s){return a.openBlock(),a.createBlock(n.ElInputTag,a.mergeProps({ref:"inputTagRef",class:"qy-input-tag"},n.safeAttrs,{"model-value":n.props.modelValue,max:n.props.max,"tag-type":n.elementTagTone,"tag-effect":n.props.tagEffect,trigger:n.elementTrigger,size:n.props.size,clearable:n.props.clearable,disabled:n.props.disabled,readonly:n.props.readonly,placeholder:n.props.placeholder,autofocus:n.props.autofocus,"validate-event":n.props.validateEvent,id:n.props.id,tabindex:n.props.tabindex,maxlength:n.props.maxlength,minlength:n.props.minlength,autocomplete:n.props.autocomplete,"aria-label":n.props.ariaLabel,"onUpdate:modelValue":n.handleUpdate,onChange:n.handleChange,onInput:n.handleInput,onAddTag:n.handleAdd,onRemoveTag:n.handleRemove,onClear:n.handleClear,onFocusCapture:n.handleFocus,onBlurCapture:n.handleBlur}),a.createSlots({_:2},[o.$slots.tag?{name:"tag",fn:a.withCtx(({value:d,index:i})=>[a.renderSlot(o.$slots,"tag",{value:d,index:i})]),key:"0"}:void 0,o.$slots.prefix?{name:"prefix",fn:a.withCtx(()=>[a.renderSlot(o.$slots,"prefix")]),key:"1"}:void 0,o.$slots.suffix?{name:"suffix",fn:a.withCtx(()=>[a.renderSlot(o.$slots,"suffix")]),key:"2"}:void 0]),1040,["model-value","max","tag-type","tag-effect","trigger","size","clearable","disabled","readonly","placeholder","autofocus","validate-event","id","tabindex","maxlength","minlength","autocomplete","aria-label"])}const O=R._export_sfc(z,[["render",N],["__file","D:/xushenz/qy-components/packages/ui/lib/qy-input-tag/index.vue"]]);exports.InputTag=O;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),p=require("element-plus"),m=require("./index-
|
|
1
|
+
"use strict";const e=require("vue"),p=require("element-plus"),m=require("./index-BqojE7aF.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),b=e.defineComponent({name:"QyCheckboxGroup",inheritAttrs:!1,__name:"index",props:{modelValue:{type:Array,required:!1,default:()=>[]},options:{type:Array,required:!1,default:()=>[]},disabled:{type:Boolean,required:!1,default:!1},min:{type:Number,required:!1},max:{type:Number,required:!1},size:{type:String,required:!1,default:void 0},ariaLabel:{type:String,required:!1}},emits:["update:modelValue","change"],setup(t,{expose:d,emit:n}){d();const r=t,o=n,s=e.useAttrs(),l=e.computed(()=>Object.fromEntries(Object.entries(s).filter(([a])=>a==="class"||a==="style"||a==="role"||a==="title"||a==="id"||a.startsWith("data-")||a.startsWith("aria-"))));function i(a){o("update:modelValue",a.slice())}function c(a){o("change",a.slice())}const u={props:r,emit:o,attrs:s,safeAttrs:l,handleUpdateModelValue:i,handleChange:c,get ElCheckboxGroup(){return p.ElCheckboxGroup},QyCheckbox:m.Checkbox};return Object.defineProperty(u,"__isScriptSetup",{enumerable:!1,value:!0}),u}});function h(t,d,n,r,o,s){return e.openBlock(),e.createBlock(r.ElCheckboxGroup,e.mergeProps(r.safeAttrs,{"model-value":r.props.modelValue,disabled:r.props.disabled,min:r.props.min,max:r.props.max,size:r.props.size,"aria-label":r.props.ariaLabel,"onUpdate:modelValue":r.handleUpdateModelValue,onChange:r.handleChange}),{default:e.withCtx(()=>[t.$slots.default?e.renderSlot(t.$slots,"default",{},void 0,void 0,0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(r.props.options,(l,i)=>(e.openBlock(),e.createBlock(r.QyCheckbox,{key:`${String(l.value)}-${i}`,"model-value":r.props.modelValue.includes(l.value),value:l.value,disabled:r.props.disabled||l.disabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.label),1)]),_:2},1032,["model-value","value","disabled"]))),128))]),_:3},16,["model-value","disabled","min","max","size","aria-label"])}const x=f._export_sfc(b,[["render",h],["__file","D:/xushenz/qy-components/packages/ui/lib/qy-checkbox-group/index.vue"]]);exports.CheckboxGroup=x;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ElRadioButton as
|
|
3
|
-
import { R as
|
|
1
|
+
import { defineComponent as C, useAttrs as G, computed as i, ref as K, openBlock as s, createBlock as y, mergeProps as g, withCtx as v, renderSlot as _, createElementBlock as O, Fragment as x, renderList as E, resolveDynamicComponent as A, createTextVNode as P, toDisplayString as j } from "vue";
|
|
2
|
+
import { ElRadioButton as w, ElRadioGroup as D } from "element-plus";
|
|
3
|
+
import { R as U } from "./index-D8OJx-hy.mjs";
|
|
4
4
|
import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
5
|
-
const N = /* @__PURE__ */
|
|
5
|
+
const N = /* @__PURE__ */ C({
|
|
6
6
|
name: "QyRadioGroup",
|
|
7
7
|
inheritAttrs: !1,
|
|
8
8
|
__name: "index",
|
|
@@ -26,15 +26,15 @@ const N = /* @__PURE__ */ B({
|
|
|
26
26
|
([e]) => e === "class" || e === "style" || e === "role" || e === "title" || e === "id" || e.startsWith("data-") || e.startsWith("aria-")
|
|
27
27
|
)
|
|
28
28
|
)
|
|
29
|
-
), d = K(null),
|
|
30
|
-
() => a.type === "button" ?
|
|
31
|
-
),
|
|
29
|
+
), d = K(null), h = i(
|
|
30
|
+
() => a.type === "button" ? w : U
|
|
31
|
+
), R = i(
|
|
32
32
|
() => a.options.map((e) => {
|
|
33
|
-
const l = e[a.labelKey], b = e[a.valueKey],
|
|
33
|
+
const l = e[a.labelKey], b = e[a.valueKey], B = p(b) ? b : e.value ?? e.label ?? "";
|
|
34
34
|
return {
|
|
35
35
|
raw: e,
|
|
36
36
|
label: String(l ?? e.label ?? e.value ?? ""),
|
|
37
|
-
value:
|
|
37
|
+
value: B,
|
|
38
38
|
disabled: !!e[a.disabledKey]
|
|
39
39
|
};
|
|
40
40
|
})
|
|
@@ -42,7 +42,7 @@ const N = /* @__PURE__ */ B({
|
|
|
42
42
|
function p(e) {
|
|
43
43
|
return typeof e == "boolean" || typeof e == "string" || typeof e == "number";
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function S(e) {
|
|
46
46
|
const l = {
|
|
47
47
|
modelValue: a.modelValue ?? void 0,
|
|
48
48
|
value: e.value,
|
|
@@ -56,10 +56,10 @@ const N = /* @__PURE__ */ B({
|
|
|
56
56
|
border: a.border
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function V(e, l) {
|
|
60
60
|
return `${String(e.value ?? e.label)}-${l}`;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function q(e) {
|
|
63
63
|
o("update:modelValue", e);
|
|
64
64
|
}
|
|
65
65
|
function z(e) {
|
|
@@ -71,8 +71,8 @@ const N = /* @__PURE__ */ B({
|
|
|
71
71
|
u({
|
|
72
72
|
getRadioGroupInstance: m
|
|
73
73
|
});
|
|
74
|
-
const c = { props: a, emit: o, attrs: n, safeAttrs: r, radioGroupRef: d, radioComponent:
|
|
75
|
-
return
|
|
74
|
+
const c = { props: a, emit: o, attrs: n, safeAttrs: r, radioGroupRef: d, radioComponent: h, normalizedOptions: R, isRadioValue: p, getRadioProps: S, getOptionKey: V, handleUpdateModelValue: q, handleChange: z, getRadioGroupInstance: m, get ElRadioGroup() {
|
|
75
|
+
return D;
|
|
76
76
|
} };
|
|
77
77
|
return Object.defineProperty(c, "__isScriptSetup", { enumerable: !1, value: !0 }), c;
|
|
78
78
|
}
|
|
@@ -91,7 +91,7 @@ function W(t, u, f, a, o, n) {
|
|
|
91
91
|
x,
|
|
92
92
|
{ key: 1 },
|
|
93
93
|
E(a.normalizedOptions, (r, d) => (s(), y(
|
|
94
|
-
|
|
94
|
+
A(a.radioComponent),
|
|
95
95
|
g({
|
|
96
96
|
key: a.getOptionKey(r, d)
|
|
97
97
|
}, { ref_for: !0 }, a.getRadioProps(r)),
|
|
@@ -103,8 +103,8 @@ function W(t, u, f, a, o, n) {
|
|
|
103
103
|
value: r.value,
|
|
104
104
|
disabled: r.disabled
|
|
105
105
|
}, () => [
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
P(
|
|
107
|
+
j(r.label),
|
|
108
108
|
1
|
|
109
109
|
/* TEXT */
|
|
110
110
|
)
|
|
@@ -124,7 +124,7 @@ function W(t, u, f, a, o, n) {
|
|
|
124
124
|
/* FORWARDED */
|
|
125
125
|
}, 16, ["model-value", "disabled", "size", "name"]);
|
|
126
126
|
}
|
|
127
|
-
const
|
|
127
|
+
const T = /* @__PURE__ */ M(N, [["render", W], ["__file", "D:/xushenz/qy-components/packages/ui/lib/qy-radio-group/index.vue"]]);
|
|
128
128
|
export {
|
|
129
|
-
|
|
129
|
+
T as R
|
|
130
130
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("vue"),i=require("element-plus"),l=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),c=t.defineComponent({name:"QySkeletonItem",inheritAttrs:!1,__name:"index",props:{variant:{type:String,required:!1,default:"text"}},setup(a,{expose:o}){o();const r=t.useAttrs(),n=t.computed(()=>Object.fromEntries(Object.entries(r).filter(([e])=>e==="class"||e==="style"||e==="role"||e==="title"||e.startsWith("data-")||e.startsWith("aria-")))),s={attrs:r,safeAttrs:n,get ElSkeletonItem(){return i.ElSkeletonItem}};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}});function u(a,o,r,n,s,e){return t.openBlock(),t.createBlock(n.ElSkeletonItem,t.mergeProps(n.safeAttrs,{variant:r.variant}),null,16,["variant"])}const _=l._export_sfc(c,[["render",u],["__file","
|
|
1
|
+
"use strict";const t=require("vue"),i=require("element-plus"),l=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),c=t.defineComponent({name:"QySkeletonItem",inheritAttrs:!1,__name:"index",props:{variant:{type:String,required:!1,default:"text"}},setup(a,{expose:o}){o();const r=t.useAttrs(),n=t.computed(()=>Object.fromEntries(Object.entries(r).filter(([e])=>e==="class"||e==="style"||e==="role"||e==="title"||e.startsWith("data-")||e.startsWith("aria-")))),s={attrs:r,safeAttrs:n,get ElSkeletonItem(){return i.ElSkeletonItem}};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}});function u(a,o,r,n,s,e){return t.openBlock(),t.createBlock(n.ElSkeletonItem,t.mergeProps(n.safeAttrs,{variant:r.variant}),null,16,["variant"])}const _=l._export_sfc(c,[["render",u],["__file","D:/xushenz/qy-components/packages/ui/lib/qy-skeleton-item/index.vue"]]);exports.SkeletonItem=_;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as V, useAttrs as g, ref as m, computed as _, watch as b, nextTick as A, openBlock as v, createBlock as q, mergeProps as y, withCtx as N, renderSlot as S } from "vue";
|
|
2
|
-
import { ElCollapse as
|
|
3
|
-
import { _ as
|
|
4
|
-
const
|
|
2
|
+
import { ElCollapse as E } from "element-plus";
|
|
3
|
+
import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
4
|
+
const P = /* @__PURE__ */ V({
|
|
5
5
|
name: "QyCollapse",
|
|
6
6
|
inheritAttrs: !1,
|
|
7
7
|
__name: "index",
|
|
@@ -12,17 +12,17 @@ const M = /* @__PURE__ */ V({
|
|
|
12
12
|
beforeCollapse: { type: Function, required: !1 }
|
|
13
13
|
},
|
|
14
14
|
emits: ["update:modelValue", "change"],
|
|
15
|
-
setup(r, { expose:
|
|
16
|
-
const o = r, l =
|
|
15
|
+
setup(r, { expose: c, emit: a }) {
|
|
16
|
+
const o = r, l = a, s = g(), d = m(), n = m(o.modelValue), h = _(
|
|
17
17
|
() => Object.fromEntries(
|
|
18
18
|
Object.entries(s).filter(
|
|
19
19
|
([e]) => e === "class" || e === "style" || e === "id" || e === "role" || e === "title" || e.startsWith("data-") || e.startsWith("aria-")
|
|
20
20
|
)
|
|
21
21
|
)
|
|
22
22
|
);
|
|
23
|
-
function
|
|
24
|
-
const
|
|
25
|
-
return o.accordion ?
|
|
23
|
+
function i(e) {
|
|
24
|
+
const t = Array.isArray(e) ? e : [e];
|
|
25
|
+
return o.accordion ? t.slice(0, 1) : t;
|
|
26
26
|
}
|
|
27
27
|
b(
|
|
28
28
|
() => o.modelValue,
|
|
@@ -31,7 +31,7 @@ const M = /* @__PURE__ */ V({
|
|
|
31
31
|
},
|
|
32
32
|
{ deep: !0 }
|
|
33
33
|
);
|
|
34
|
-
const u = _(() =>
|
|
34
|
+
const u = _(() => i(o.modelValue));
|
|
35
35
|
function C(e) {
|
|
36
36
|
n.value = e, l("update:modelValue", e), A(() => {
|
|
37
37
|
n.value = o.modelValue;
|
|
@@ -41,23 +41,23 @@ const M = /* @__PURE__ */ V({
|
|
|
41
41
|
l("change", e);
|
|
42
42
|
}
|
|
43
43
|
function p(e) {
|
|
44
|
-
var
|
|
45
|
-
(
|
|
44
|
+
var t;
|
|
45
|
+
(t = d.value) == null || t.setActiveNames(i(e));
|
|
46
46
|
}
|
|
47
|
-
|
|
48
|
-
const f = { props: o, emit: l, attrs: s, collapseRef: d, renderedModelValue: n, safeAttrs: h, normalizeActiveNames:
|
|
49
|
-
return
|
|
47
|
+
c({ activeNames: u, setActiveNames: p });
|
|
48
|
+
const f = { props: o, emit: l, attrs: s, collapseRef: d, renderedModelValue: n, safeAttrs: h, normalizeActiveNames: i, activeNames: u, handleUpdateModelValue: C, handleChange: x, setActiveNames: p, get ElCollapse() {
|
|
49
|
+
return E;
|
|
50
50
|
} };
|
|
51
51
|
return Object.defineProperty(f, "__isScriptSetup", { enumerable: !1, value: !0 }), f;
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
|
-
function
|
|
54
|
+
function j(r, c, a, o, l, s) {
|
|
55
55
|
return v(), q(o.ElCollapse, y({ ref: "collapseRef" }, o.safeAttrs, {
|
|
56
56
|
class: "qy-collapse",
|
|
57
57
|
"model-value": o.renderedModelValue,
|
|
58
|
-
accordion:
|
|
59
|
-
"expand-icon-position":
|
|
60
|
-
"before-collapse":
|
|
58
|
+
accordion: a.accordion,
|
|
59
|
+
"expand-icon-position": a.expandIconPosition,
|
|
60
|
+
"before-collapse": a.beforeCollapse,
|
|
61
61
|
"onUpdate:modelValue": o.handleUpdateModelValue,
|
|
62
62
|
onChange: o.handleChange
|
|
63
63
|
}), {
|
|
@@ -68,7 +68,7 @@ function P(r, i, t, o, l, s) {
|
|
|
68
68
|
/* FORWARDED */
|
|
69
69
|
}, 16, ["model-value", "accordion", "expand-icon-position", "before-collapse"]);
|
|
70
70
|
}
|
|
71
|
-
const
|
|
71
|
+
const w = /* @__PURE__ */ M(P, [["render", j], ["__file", "D:/xushenz/qy-components/packages/ui/lib/qy-collapse/index.vue"]]);
|
|
72
72
|
export {
|
|
73
|
-
|
|
73
|
+
w as C
|
|
74
74
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("vue"),
|
|
1
|
+
"use strict";const i=require("vue"),f=require("element-plus"),o=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),n=["success","warning","info","error"],u=["401","403","404","500"],m=t=>t==="class"||t==="style"||t==="id"||t==="role"||t==="title"||t.startsWith("data-")||t.startsWith("aria-"),g={status:{type:String,default:"info",validator:t=>[...n,...u].includes(t)},title:{type:String,default:""},description:{type:String,default:""},image:{type:String,default:""},imageAlt:{type:String,default:""}},v=i.defineComponent({name:"QyResult",inheritAttrs:!1,props:g,setup(t,{attrs:r,slots:e}){const a=i.computed(()=>Object.fromEntries(Object.entries(r).filter(([s])=>m(s)))),l=i.computed(()=>["qy-result",`qy-result--${t.status}`,a.value.class]),c=i.computed(()=>["qy-result__renderer",`qy-result--${t.status}`]),d=()=>{if(e.visual)return e.visual();if(t.image)return i.h("img",{class:"qy-result__image",src:t.image,alt:t.imageAlt});if(u.includes(t.status))return i.h("div",{class:"qy-result__http-visual","aria-hidden":"true"},t.status)};return()=>{const s={};return(e.visual||t.image||u.includes(t.status))&&(s.icon=d),e.title&&(s.title=e.title),e.description&&(s["sub-title"]=e.description),e.actions&&(s.extra=e.actions),i.h("div",{...a.value,class:l.value,title:t.title},[i.h(f.ElResult,{class:c.value,icon:n.includes(t.status)?t.status:void 0,title:e.title?"":t.title,subTitle:e.description?"":t.description},s)])}}}),_=o._export_sfc(v,[["__file","D:/xushenz/qy-components/packages/ui/lib/qy-result/index.vue"]]);exports.Result=_;
|