@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,73 +1,74 @@
|
|
|
1
|
-
import { D as xe } from "./index-
|
|
2
|
-
import { U as
|
|
3
|
-
import { I as
|
|
4
|
-
import { I as
|
|
5
|
-
import { openBlock as b, createBlock as oe, mergeProps as fe, useAttrs as pe, ref as x, computed as C, defineComponent as he, watch as
|
|
1
|
+
import { D as xe } from "./index-CvfLEIFE.mjs";
|
|
2
|
+
import { U as De, a as va } from "./index-uRVIiLjP.mjs";
|
|
3
|
+
import { I as ba } from "./index-5vWL_IJI.mjs";
|
|
4
|
+
import { I as Sa } from "./index-C2BQtQPa.mjs";
|
|
5
|
+
import { openBlock as b, createBlock as oe, mergeProps as fe, useAttrs as pe, ref as x, computed as C, defineComponent as he, watch as le, onMounted as qa, nextTick as ke, onUnmounted as Qa, createElementBlock as F, normalizeStyle as Re, normalizeClass as ge, createElementVNode as $, withCtx as v, Fragment as Qe, renderList as Te, createCommentVNode as I, createVNode as O, createTextVNode as ie, onBeforeUnmount as _a, createSlots as Pe, renderSlot as _, normalizeProps as ze, guardReactiveProps as Ke, withKeys as Ie, toDisplayString as ce, useSlots as wa, getCurrentInstance as Ca, reactive as Ce, withModifiers as Fe, withDirectives as Me, vShow as ka } from "vue";
|
|
6
6
|
import { _ as ye } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
|
-
import { ElMessage as be, ElUpload as
|
|
8
|
-
import { B as
|
|
9
|
-
import { D as
|
|
10
|
-
import { I as
|
|
11
|
-
import { I as
|
|
12
|
-
import { I as Ra } from "./index-
|
|
13
|
-
import { M as
|
|
14
|
-
import { D as
|
|
15
|
-
import { C as
|
|
16
|
-
import { C as
|
|
17
|
-
import { R as Ua } from "./index-
|
|
18
|
-
import { A as
|
|
19
|
-
import { M as
|
|
20
|
-
import { T as
|
|
21
|
-
import { R as
|
|
22
|
-
import { S as Ae } from "./index-
|
|
23
|
-
import { T as We } from "./index-
|
|
24
|
-
import { ElLoadingDirective as
|
|
25
|
-
import { T as Ge } from "./index-
|
|
26
|
-
import { F as
|
|
27
|
-
import { S as
|
|
28
|
-
import { B as
|
|
29
|
-
import { C as
|
|
30
|
-
import { T as
|
|
31
|
-
import { P as
|
|
32
|
-
import { P as
|
|
33
|
-
import { S as
|
|
34
|
-
import { S as
|
|
35
|
-
import { T as
|
|
36
|
-
import { T as ro } from "./index-
|
|
37
|
-
import { S as
|
|
38
|
-
import { S as
|
|
39
|
-
import { F as
|
|
40
|
-
import { Q as He } from "./index-
|
|
41
|
-
import { P as
|
|
42
|
-
import { P as
|
|
43
|
-
import { R as
|
|
44
|
-
import { C as
|
|
45
|
-
import { C as
|
|
46
|
-
import { A as
|
|
47
|
-
import { M as
|
|
48
|
-
import { D as
|
|
49
|
-
import { D as
|
|
50
|
-
import { C as
|
|
51
|
-
import { C as
|
|
52
|
-
import { L as
|
|
53
|
-
import { I as
|
|
54
|
-
import { D as
|
|
55
|
-
import { E as
|
|
56
|
-
import { A as
|
|
57
|
-
import { C as
|
|
58
|
-
import { R as
|
|
59
|
-
import { W as
|
|
60
|
-
import { S as Io } from "./index-
|
|
61
|
-
import { P as Fo } from "./index-
|
|
62
|
-
import { S as Bo } from "./index-
|
|
63
|
-
import { A as
|
|
64
|
-
import { T as
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
|
|
7
|
+
import { ElMessage as be, ElUpload as Ta, ElSelect as Le, ElPopover as Pa, ElOption as Ue, ElInput as Be, ElButton as we, ElAutocomplete as Ia, ElTableColumn as Fa, ElTable as Ba, ElPagination as Aa, ElFormItem as je, ElForm as Ne, ElTreeSelect as Va } from "element-plus";
|
|
8
|
+
import { B as Ea } from "./index-DCKEecrx.mjs";
|
|
9
|
+
import { D as Oa } from "./index-DfP6txWq.mjs";
|
|
10
|
+
import { I as xa } from "./index-DjRDV62n.mjs";
|
|
11
|
+
import { I as Da } from "./index-CmgT_pgc.mjs";
|
|
12
|
+
import { I as Ra } from "./index-C1hAuubZ.mjs";
|
|
13
|
+
import { M as za } from "./index-BcscC86C.mjs";
|
|
14
|
+
import { D as Ka } from "./index-CsaDF9d4.mjs";
|
|
15
|
+
import { C as Ma } from "./index-DbxSDJ7e.mjs";
|
|
16
|
+
import { C as La } from "./index-BHGDbXoK.mjs";
|
|
17
|
+
import { R as Ua } from "./index-D8OJx-hy.mjs";
|
|
18
|
+
import { A as ja } from "./index-DVwCIrin.mjs";
|
|
19
|
+
import { M as Na } from "./index-CgXuleV-.mjs";
|
|
20
|
+
import { T as Wa } from "./index-CwcD7q4B.mjs";
|
|
21
|
+
import { R as Ga } from "./index-DPhYSn9g.mjs";
|
|
22
|
+
import { S as Ae } from "./index-rowlxa3p.mjs";
|
|
23
|
+
import { T as We } from "./index-CDleTMJj.mjs";
|
|
24
|
+
import { ElLoadingDirective as Ha } from "element-plus/es";
|
|
25
|
+
import { T as Ge } from "./index-BzzZmppN.mjs";
|
|
26
|
+
import { F as Ja } from "./index-7fIb2Tqw.mjs";
|
|
27
|
+
import { S as Za } from "./index-BBIPQa5N.mjs";
|
|
28
|
+
import { B as Xa } from "./index-B63vgrS4.mjs";
|
|
29
|
+
import { C as Ya } from "./index-DEHvfBYQ.mjs";
|
|
30
|
+
import { T as $a } from "./index-CA279UZp.mjs";
|
|
31
|
+
import { P as eo } from "./index-VExJFRrd.mjs";
|
|
32
|
+
import { P as to } from "./index-D0kCG3Ov.mjs";
|
|
33
|
+
import { S as ao } from "./index-DAiFZxwY.mjs";
|
|
34
|
+
import { S as oo } from "./index-DF_Q6c4g.mjs";
|
|
35
|
+
import { T as lo } from "./index-GRwpbz1m.mjs";
|
|
36
|
+
import { T as ro } from "./index-BQzQcTgt.mjs";
|
|
37
|
+
import { S as no } from "./index-CrlLsoRF.mjs";
|
|
38
|
+
import { S as io } from "./index-CCVlab6d.mjs";
|
|
39
|
+
import { F as so } from "./index-IJJI2ylC.mjs";
|
|
40
|
+
import { Q as He } from "./index-CBhrdEIf.mjs";
|
|
41
|
+
import { P as uo } from "./index-CvdUJpAu.mjs";
|
|
42
|
+
import { P as co } from "./index-C7N8x3DK.mjs";
|
|
43
|
+
import { R as fo } from "./index-BG3XKumS.mjs";
|
|
44
|
+
import { C as yo } from "./index-1Vw54aYL.mjs";
|
|
45
|
+
import { C as mo } from "./index-Dc4A_1-H.mjs";
|
|
46
|
+
import { A as go } from "./index-DBz3lz62.mjs";
|
|
47
|
+
import { M as po } from "./index-BNfu2YgX.mjs";
|
|
48
|
+
import { D as ho } from "./index-BPXJkcM1.mjs";
|
|
49
|
+
import { D as vo } from "./index-B1I7mCIm.mjs";
|
|
50
|
+
import { C as bo } from "./index-DTHRZ-aL.mjs";
|
|
51
|
+
import { C as So } from "./index-CcEXTVYA.mjs";
|
|
52
|
+
import { L as qo } from "./index-D3VO2Ccd.mjs";
|
|
53
|
+
import { I as Qo } from "./index-B1aU9mew.mjs";
|
|
54
|
+
import { D as _o } from "./index-BzpgGytE.mjs";
|
|
55
|
+
import { E as wo } from "./index-LDtOVxCE.mjs";
|
|
56
|
+
import { A as Co } from "./index-D_Imq4-m.mjs";
|
|
57
|
+
import { C as ko } from "./index-Se0xx6vl.mjs";
|
|
58
|
+
import { R as To } from "./index-DZU3jXf9.mjs";
|
|
59
|
+
import { W as Po } from "./index-Xw2_Py_V.mjs";
|
|
60
|
+
import { S as Io } from "./index-CsXA7Qfy.mjs";
|
|
61
|
+
import { P as Fo } from "./index-EPcAlzgc.mjs";
|
|
62
|
+
import { S as Bo } from "./index-DCneRuMf.mjs";
|
|
63
|
+
import { A as Ao } from "./index-TVUj4Yp4.mjs";
|
|
64
|
+
import { T as Vo } from "./index-BFbAB8UH.mjs";
|
|
65
|
+
import { P as Eo } from "./index-Dchy1DNn.mjs";
|
|
66
|
+
import { w as c } from "./install-CxBnxbuN.mjs";
|
|
67
|
+
import { v as Oo, Q as Je } from "./index-B1zDCCqy.mjs";
|
|
68
|
+
import { D as xo } from "./index-OaA2R7Ur.mjs";
|
|
69
|
+
import { o as Do } from "./utils-DoyI5oM8.mjs";
|
|
70
|
+
import { openQyLoading as Ro } from "@qynpm/hooks";
|
|
71
|
+
const zo = /* @__PURE__ */ Object.assign({
|
|
71
72
|
name: "QyImageUpload",
|
|
72
73
|
inheritAttrs: !1
|
|
73
74
|
}, {
|
|
@@ -123,9 +124,9 @@ const Ro = /* @__PURE__ */ Object.assign({
|
|
|
123
124
|
"updateImg"
|
|
124
125
|
],
|
|
125
126
|
setup(t, { expose: i, emit: a }) {
|
|
126
|
-
const e = t, n = a,
|
|
127
|
+
const e = t, n = a, B = pe(), y = x(null), u = ["jpg", "jpeg", "png", "gif", "bmp", "webp"], m = C(
|
|
127
128
|
() => e.voucher || e.mode === "voucher"
|
|
128
|
-
),
|
|
129
|
+
), D = C(() => Array.isArray(e.modelValue) ? e.modelValue.filter(Boolean) : e.modelValue ? String(e.modelValue).split(",").filter(Boolean) : []), Q = C(() => e.supportVideo ? 1 : m.value ? e.limit ?? 30 : e.limit ?? (e.multiple ? 9 : 1)), R = C(() => {
|
|
129
130
|
var o;
|
|
130
131
|
return (o = e.fileType) != null && o.length ? e.fileType : m.value && !e.supportVideo ? u : [];
|
|
131
132
|
});
|
|
@@ -139,7 +140,7 @@ const Ro = /* @__PURE__ */ Object.assign({
|
|
|
139
140
|
function Z(o) {
|
|
140
141
|
n("update:modelValue", A(o));
|
|
141
142
|
}
|
|
142
|
-
function
|
|
143
|
+
function U(o) {
|
|
143
144
|
n("change", A(o == null ? void 0 : o.files));
|
|
144
145
|
}
|
|
145
146
|
function K(o) {
|
|
@@ -187,11 +188,11 @@ const Ro = /* @__PURE__ */ Object.assign({
|
|
|
187
188
|
pathList: j,
|
|
188
189
|
getValue: p
|
|
189
190
|
});
|
|
190
|
-
const S = { props: e, emit: n, attrs:
|
|
191
|
+
const S = { props: e, emit: n, attrs: B, uploadRef: y, voucherImageTypes: u, isVoucherMode: m, modelAsArray: D, uploadLimit: Q, effectiveFileType: R, normalizeValue: w, formatValue: A, handleUpdateModelValue: Z, handleChange: U, resolveUploadUrl: K, handleSuccess: V, handleError: X, handleRemove: ee, openFileDialog: N, clearFiles: W, getPathList: M, fullPathList: G, pathList: j, getFullPathList: te, getValue: p, computed: C, ref: x, useAttrs: pe, QyUpload: De };
|
|
191
192
|
return Object.defineProperty(S, "__isScriptSetup", { enumerable: !1, value: !0 }), S;
|
|
192
193
|
}
|
|
193
194
|
});
|
|
194
|
-
function
|
|
195
|
+
function Ko(t, i, a, e, n, B) {
|
|
195
196
|
return b(), oe(e.QyUpload, fe({ ref: "uploadRef" }, e.attrs, {
|
|
196
197
|
"model-value": e.modelAsArray,
|
|
197
198
|
"value-format": "array",
|
|
@@ -220,7 +221,7 @@ function Do(t, i, a, e, n, P) {
|
|
|
220
221
|
onRemove: e.handleRemove
|
|
221
222
|
}), null, 16, ["model-value", "api", "name", "multiple", "disabled", "file-type", "file-size", "limit", "is-show-tip", "token-key", "support-video", "size", "disable-drag", "call-back", "extra-data", "upload-request", "show-paste-input", "paste-placeholder"]);
|
|
222
223
|
}
|
|
223
|
-
const
|
|
224
|
+
const Mo = /* @__PURE__ */ ye(zo, [["render", Ko], ["__file", "D:/xushenz/qy-components/packages/ui/lib/qy-image-upload/index.vue"]]);
|
|
224
225
|
function Ee(t) {
|
|
225
226
|
const i = t == null ? void 0 : t.match(/(\[url\:(.*?)\])(.*)/);
|
|
226
227
|
return i ? {
|
|
@@ -231,14 +232,14 @@ function Ee(t) {
|
|
|
231
232
|
text: t || ""
|
|
232
233
|
};
|
|
233
234
|
}
|
|
234
|
-
function
|
|
235
|
+
function Lo(t) {
|
|
235
236
|
const i = String(t || "").match(/(\[url\:.*?\])([\s\S]*)/);
|
|
236
237
|
return i ? i[2] : t;
|
|
237
238
|
}
|
|
238
239
|
function Oe(t, i) {
|
|
239
240
|
return i ? `[url:${i}]${t}` : t;
|
|
240
241
|
}
|
|
241
|
-
const
|
|
242
|
+
const Uo = /* @__PURE__ */ he({
|
|
242
243
|
__name: "index",
|
|
243
244
|
props: {
|
|
244
245
|
defaultValue: { type: String, required: !1, default: "" },
|
|
@@ -260,9 +261,9 @@ const Mo = /* @__PURE__ */ he({
|
|
|
260
261
|
},
|
|
261
262
|
emits: ["change", "update:selectValue", "select-change"],
|
|
262
263
|
setup(t, { expose: i, emit: a }) {
|
|
263
|
-
const e = t, n = a,
|
|
264
|
+
const e = t, n = a, B = pe(), y = x(null), u = x(""), m = x(""), D = x(!1), Q = C(
|
|
264
265
|
() => e.layout === "select-prefix"
|
|
265
|
-
),
|
|
266
|
+
), R = C(() => ({
|
|
266
267
|
"qy-remark-image--select-prefix": Q.value
|
|
267
268
|
})), w = C(
|
|
268
269
|
() => Q.value || e.type === "text" ? "text" : "textarea"
|
|
@@ -272,22 +273,22 @@ const Mo = /* @__PURE__ */ he({
|
|
|
272
273
|
width: typeof e.width == "number" ? `${e.width}px` : e.width
|
|
273
274
|
};
|
|
274
275
|
});
|
|
275
|
-
|
|
276
|
+
le(
|
|
276
277
|
() => e.defaultValue,
|
|
277
278
|
(p) => {
|
|
278
279
|
const S = Ee(p || "");
|
|
279
280
|
u.value = S.text, m.value = S.imageUrl || e.defaultImage || "";
|
|
280
281
|
},
|
|
281
282
|
{ immediate: !0 }
|
|
282
|
-
),
|
|
283
|
+
), le(
|
|
283
284
|
() => e.defaultImage,
|
|
284
285
|
(p) => {
|
|
285
286
|
p !== void 0 && !Ee(e.defaultValue || "").imageUrl && (m.value = p || "");
|
|
286
287
|
},
|
|
287
288
|
{ immediate: !0 }
|
|
288
|
-
),
|
|
289
|
-
ke(
|
|
290
|
-
}),
|
|
289
|
+
), qa(() => {
|
|
290
|
+
ke(U);
|
|
291
|
+
}), Qa(() => {
|
|
291
292
|
const p = Z();
|
|
292
293
|
p && p.removeEventListener("paste", N);
|
|
293
294
|
});
|
|
@@ -295,12 +296,12 @@ const Mo = /* @__PURE__ */ he({
|
|
|
295
296
|
var p, S;
|
|
296
297
|
return ((p = y.value) == null ? void 0 : p.textarea) || ((S = y.value) == null ? void 0 : S.input) || null;
|
|
297
298
|
}
|
|
298
|
-
function
|
|
299
|
+
function U() {
|
|
299
300
|
const p = Z();
|
|
300
301
|
p && (p.removeEventListener("paste", N), p.addEventListener("paste", N));
|
|
301
302
|
}
|
|
302
303
|
function K(p) {
|
|
303
|
-
u.value =
|
|
304
|
+
u.value = Lo(p || "");
|
|
304
305
|
}
|
|
305
306
|
function V(p) {
|
|
306
307
|
n("update:selectValue", p), n("select-change", p);
|
|
@@ -328,14 +329,14 @@ const Mo = /* @__PURE__ */ he({
|
|
|
328
329
|
var S, o;
|
|
329
330
|
if (p.file.size > 51200 * 1e3)
|
|
330
331
|
return be.error("图片过大"), !1;
|
|
331
|
-
|
|
332
|
+
D.value = !0;
|
|
332
333
|
try {
|
|
333
334
|
const d = await M(p);
|
|
334
335
|
return m.value = G(d), j(), be.success("上传图片成功"), (S = p.onSuccess) == null || S.call(p, d), !0;
|
|
335
336
|
} catch (d) {
|
|
336
337
|
return (o = p.onError) == null || o.call(p, d), be.error("上传失败"), !1;
|
|
337
338
|
} finally {
|
|
338
|
-
|
|
339
|
+
D.value = !1;
|
|
339
340
|
}
|
|
340
341
|
}
|
|
341
342
|
async function M(p) {
|
|
@@ -348,7 +349,7 @@ const Mo = /* @__PURE__ */ he({
|
|
|
348
349
|
api: e.api,
|
|
349
350
|
tokenKey: e.tokenKey
|
|
350
351
|
});
|
|
351
|
-
const o =
|
|
352
|
+
const o = va.get(e.tokenKey);
|
|
352
353
|
return (await fetch(e.api, {
|
|
353
354
|
method: "POST",
|
|
354
355
|
body: S,
|
|
@@ -380,49 +381,49 @@ const Mo = /* @__PURE__ */ he({
|
|
|
380
381
|
value: Oe(u.value || "", m.value || "")
|
|
381
382
|
})
|
|
382
383
|
});
|
|
383
|
-
const te = { props: e, emit: n, attrs:
|
|
384
|
+
const te = { props: e, emit: n, attrs: B, inputRef: y, remarkText: u, remarkImg: m, uploading: D, isSelectPrefixLayout: Q, rootClass: R, inputType: w, wrapperStyle: A, getTextarea: Z, bindPasteListener: U, handleTextChange: K, handleSelectChange: V, deleteImage: X, clearContent: ee, handlePaste: N, uploadImage: W, requestUpload: M, resolveUploadUrl: G, emitChange: j, get ElButton() {
|
|
384
385
|
return we;
|
|
385
386
|
}, get ElInput() {
|
|
386
|
-
return
|
|
387
|
+
return Be;
|
|
387
388
|
}, get ElOption() {
|
|
388
|
-
return
|
|
389
|
+
return Ue;
|
|
389
390
|
}, get ElPopover() {
|
|
390
|
-
return
|
|
391
|
+
return Pa;
|
|
391
392
|
}, get ElSelect() {
|
|
392
|
-
return
|
|
393
|
+
return Le;
|
|
393
394
|
}, get ElUpload() {
|
|
394
|
-
return
|
|
395
|
+
return Ta;
|
|
395
396
|
} };
|
|
396
397
|
return Object.defineProperty(te, "__isScriptSetup", { enumerable: !1, value: !0 }), te;
|
|
397
398
|
}
|
|
398
|
-
}),
|
|
399
|
+
}), jo = { class: "qy-remark-image__field" }, No = {
|
|
399
400
|
key: 1,
|
|
400
401
|
class: "qy-remark-image__divider"
|
|
401
|
-
},
|
|
402
|
+
}, Wo = { class: "qy-remark-image__upload-anchor" }, Go = {
|
|
402
403
|
key: 0,
|
|
403
404
|
class: "icon-[line-md--loading-twotone-loop]",
|
|
404
405
|
role: "img",
|
|
405
406
|
"aria-hidden": "true"
|
|
406
|
-
},
|
|
407
|
+
}, Ho = {
|
|
407
408
|
key: 1,
|
|
408
409
|
class: "icon-[ion--cloud-upload-outline]",
|
|
409
410
|
role: "img",
|
|
410
411
|
"aria-hidden": "true"
|
|
411
|
-
},
|
|
412
|
+
}, Jo = {
|
|
412
413
|
key: 2,
|
|
413
414
|
class: "icon-[ph--images-thin]",
|
|
414
415
|
role: "img",
|
|
415
416
|
"aria-hidden": "true"
|
|
416
|
-
},
|
|
417
|
-
function
|
|
418
|
-
return b(),
|
|
417
|
+
}, Zo = { class: "qy-remark-image__popover" }, Xo = ["src"], Yo = { class: "qy-remark-image__popover-footer" };
|
|
418
|
+
function $o(t, i, a, e, n, B) {
|
|
419
|
+
return b(), F(
|
|
419
420
|
"div",
|
|
420
421
|
{
|
|
421
422
|
class: ge(["qy-remark-image", e.rootClass]),
|
|
422
|
-
style:
|
|
423
|
+
style: Re(e.wrapperStyle)
|
|
423
424
|
},
|
|
424
425
|
[
|
|
425
|
-
$("div",
|
|
426
|
+
$("div", jo, [
|
|
426
427
|
e.isSelectPrefixLayout ? (b(), oe(e.ElSelect, {
|
|
427
428
|
key: 0,
|
|
428
429
|
class: "qy-remark-image__prefix-select",
|
|
@@ -433,7 +434,7 @@ function Xo(t, i, a, e, n, P) {
|
|
|
433
434
|
"onUpdate:modelValue": e.handleSelectChange
|
|
434
435
|
}, {
|
|
435
436
|
default: v(() => [
|
|
436
|
-
(b(!0),
|
|
437
|
+
(b(!0), F(
|
|
437
438
|
Qe,
|
|
438
439
|
null,
|
|
439
440
|
Te(a.selectOptions, (y) => (b(), oe(e.ElOption, {
|
|
@@ -448,8 +449,8 @@ function Xo(t, i, a, e, n, P) {
|
|
|
448
449
|
]),
|
|
449
450
|
_: 1
|
|
450
451
|
/* STABLE */
|
|
451
|
-
}, 8, ["model-value", "options", "disabled"])) :
|
|
452
|
-
e.isSelectPrefixLayout ? (b(),
|
|
452
|
+
}, 8, ["model-value", "options", "disabled"])) : I("v-if", !0),
|
|
453
|
+
e.isSelectPrefixLayout ? (b(), F("span", No)) : I("v-if", !0),
|
|
453
454
|
O(e.ElInput, fe({
|
|
454
455
|
ref: "inputRef",
|
|
455
456
|
"model-value": e.remarkText,
|
|
@@ -469,7 +470,7 @@ function Xo(t, i, a, e, n, P) {
|
|
|
469
470
|
disabled: !e.remarkImg
|
|
470
471
|
}, {
|
|
471
472
|
reference: v(() => [
|
|
472
|
-
$("div",
|
|
473
|
+
$("div", Wo, [
|
|
473
474
|
O(e.ElUpload, {
|
|
474
475
|
disabled: e.uploading || a.disabled,
|
|
475
476
|
class: "qy-remark-image__upload",
|
|
@@ -477,7 +478,7 @@ function Xo(t, i, a, e, n, P) {
|
|
|
477
478
|
"http-request": e.uploadImage
|
|
478
479
|
}, {
|
|
479
480
|
default: v(() => [
|
|
480
|
-
e.uploading ? (b(),
|
|
481
|
+
e.uploading ? (b(), F("span", Go)) : e.remarkImg ? (b(), F("span", Jo)) : (b(), F("span", Ho))
|
|
481
482
|
]),
|
|
482
483
|
_: 1
|
|
483
484
|
/* STABLE */
|
|
@@ -485,12 +486,12 @@ function Xo(t, i, a, e, n, P) {
|
|
|
485
486
|
])
|
|
486
487
|
]),
|
|
487
488
|
default: v(() => [
|
|
488
|
-
$("div",
|
|
489
|
+
$("div", Zo, [
|
|
489
490
|
$("img", {
|
|
490
491
|
src: e.remarkImg,
|
|
491
492
|
class: "qy-remark-image__preview-img"
|
|
492
|
-
}, null, 8,
|
|
493
|
-
$("div",
|
|
493
|
+
}, null, 8, Xo),
|
|
494
|
+
$("div", Yo, [
|
|
494
495
|
i[1] || (i[1] = $(
|
|
495
496
|
"span",
|
|
496
497
|
{ class: "qy-remark-image__popover-tip" },
|
|
@@ -527,7 +528,7 @@ function Xo(t, i, a, e, n, P) {
|
|
|
527
528
|
/* CLASS, STYLE */
|
|
528
529
|
);
|
|
529
530
|
}
|
|
530
|
-
const
|
|
531
|
+
const el = /* @__PURE__ */ ye(Uo, [["render", $o], ["__scopeId", "data-v-e5764ee0"], ["__file", "D:/xushenz/qy-components/packages/ui/lib/remark-image/index.vue"]]), tl = /* @__PURE__ */ he({
|
|
531
532
|
name: "QyRemoteSelect",
|
|
532
533
|
inheritAttrs: !1,
|
|
533
534
|
__name: "index",
|
|
@@ -561,119 +562,119 @@ const Yo = /* @__PURE__ */ ye(Mo, [["render", Xo], ["__scopeId", "data-v-e5764ee
|
|
|
561
562
|
},
|
|
562
563
|
emits: ["update:modelValue", "change", "clear", "visible-change", "focus", "blur", "options-change", "loading-change", "error"],
|
|
563
564
|
setup(t, { expose: i, emit: a }) {
|
|
564
|
-
const e = t, n = a,
|
|
565
|
+
const e = t, n = a, B = pe(), y = x(null), u = x([]), m = x(/* @__PURE__ */ new Map()), D = x(!1), Q = x(""), R = x("");
|
|
565
566
|
let w = 0, A = null;
|
|
566
|
-
const Z = C(() => e.loading ||
|
|
567
|
+
const Z = C(() => e.loading || D.value), U = x(!1), K = C(() => Q.value !== ""), V = C(() => {
|
|
567
568
|
if (K.value) return u.value;
|
|
568
|
-
const
|
|
569
|
-
|
|
569
|
+
const f = /* @__PURE__ */ new Map(), L = (l) => {
|
|
570
|
+
f.set(X(l), l);
|
|
570
571
|
};
|
|
571
|
-
return e.defaultOptions.forEach(
|
|
572
|
+
return e.defaultOptions.forEach(L), e.reserveSelectedOption && m.value.forEach((l) => L(l)), u.value.forEach(L), Array.from(f.values());
|
|
572
573
|
});
|
|
573
|
-
|
|
574
|
+
le(
|
|
574
575
|
() => e.defaultOptions,
|
|
575
|
-
(
|
|
576
|
-
|
|
576
|
+
(f) => {
|
|
577
|
+
f.forEach(N);
|
|
577
578
|
},
|
|
578
579
|
{ immediate: !0 }
|
|
579
|
-
),
|
|
580
|
+
), le(
|
|
580
581
|
() => e.modelValue,
|
|
581
582
|
() => {
|
|
582
583
|
V.value.forEach(N);
|
|
583
584
|
},
|
|
584
585
|
{ immediate: !0 }
|
|
585
586
|
);
|
|
586
|
-
function X(
|
|
587
|
-
return (
|
|
587
|
+
function X(f) {
|
|
588
|
+
return (f == null ? void 0 : f[e.valueKey]) ?? (f == null ? void 0 : f.value) ?? (f == null ? void 0 : f.label);
|
|
588
589
|
}
|
|
589
|
-
function ee(
|
|
590
|
-
return Array.isArray(e.modelValue) ? e.modelValue.includes(
|
|
590
|
+
function ee(f) {
|
|
591
|
+
return Array.isArray(e.modelValue) ? e.modelValue.includes(f) : e.modelValue === f;
|
|
591
592
|
}
|
|
592
|
-
function N(
|
|
593
|
+
function N(f) {
|
|
593
594
|
if (!e.reserveSelectedOption) return;
|
|
594
|
-
const
|
|
595
|
-
ee(
|
|
595
|
+
const L = X(f);
|
|
596
|
+
ee(L) && m.value.set(L, f);
|
|
596
597
|
}
|
|
597
|
-
function W(
|
|
598
|
-
return e.disabled ? !1 :
|
|
598
|
+
function W(f) {
|
|
599
|
+
return e.disabled ? !1 : f ? f.length >= e.minLength : e.remoteOnFocus;
|
|
599
600
|
}
|
|
600
|
-
function M(
|
|
601
|
-
|
|
601
|
+
function M(f) {
|
|
602
|
+
D.value !== f && (D.value = f, n("loading-change", f));
|
|
602
603
|
}
|
|
603
|
-
async function G(
|
|
604
|
-
const
|
|
605
|
-
if (ae(
|
|
604
|
+
async function G(f) {
|
|
605
|
+
const L = P(f), l = ++w;
|
|
606
|
+
if (ae(L), !W(L)) {
|
|
606
607
|
u.value = [], M(!1), n("options-change", V.value);
|
|
607
608
|
return;
|
|
608
609
|
}
|
|
609
610
|
M(!0);
|
|
610
611
|
try {
|
|
611
|
-
const g = await e.fetchMethod(
|
|
612
|
-
if (
|
|
612
|
+
const g = await e.fetchMethod(L);
|
|
613
|
+
if (l !== w) return;
|
|
613
614
|
u.value = Array.isArray(g) ? g : [], u.value.forEach(N), n("options-change", V.value);
|
|
614
615
|
} catch (g) {
|
|
615
|
-
if (
|
|
616
|
+
if (l !== w) return;
|
|
616
617
|
u.value = [], n("error", g), n("options-change", V.value);
|
|
617
618
|
} finally {
|
|
618
|
-
|
|
619
|
+
l === w && M(!1);
|
|
619
620
|
}
|
|
620
621
|
}
|
|
621
622
|
function j() {
|
|
622
|
-
|
|
623
|
+
U.value || (U.value = !0, G(""));
|
|
623
624
|
}
|
|
624
|
-
function te(
|
|
625
|
-
const
|
|
626
|
-
|
|
627
|
-
G(
|
|
625
|
+
function te(f) {
|
|
626
|
+
const L = P(f);
|
|
627
|
+
R.value = L, w += 1, ae(L), A && (clearTimeout(A), A = null), A = setTimeout(() => {
|
|
628
|
+
G(L);
|
|
628
629
|
}, e.debounce);
|
|
629
630
|
}
|
|
630
631
|
function p() {
|
|
631
|
-
|
|
632
|
+
U.value = !0, G("");
|
|
632
633
|
}
|
|
633
634
|
function S() {
|
|
634
635
|
G(Q.value);
|
|
635
636
|
}
|
|
636
|
-
function o(
|
|
637
|
-
|
|
637
|
+
function o(f) {
|
|
638
|
+
R.value = "", n("update:modelValue", f);
|
|
638
639
|
}
|
|
639
|
-
function d(
|
|
640
|
-
|
|
640
|
+
function d(f) {
|
|
641
|
+
R.value = "", V.value.forEach(N), n("change", f);
|
|
641
642
|
}
|
|
642
643
|
function E() {
|
|
643
|
-
|
|
644
|
+
R.value = "", n("clear");
|
|
644
645
|
}
|
|
645
|
-
function H(
|
|
646
|
-
|
|
646
|
+
function H(f) {
|
|
647
|
+
f && e.remoteOnFocus && !Q.value && j(), n("visible-change", f);
|
|
647
648
|
}
|
|
648
|
-
function s(
|
|
649
|
-
e.remoteOnFocus && !Q.value && j(), n("focus",
|
|
649
|
+
function s(f) {
|
|
650
|
+
e.remoteOnFocus && !Q.value && j(), n("focus", f);
|
|
650
651
|
}
|
|
651
|
-
function q(
|
|
652
|
-
k(), n("blur",
|
|
652
|
+
function q(f) {
|
|
653
|
+
k(), n("blur", f);
|
|
653
654
|
}
|
|
654
655
|
function k() {
|
|
655
656
|
if (!e.allowCreate || !e.commitOnBlur || e.disabled) return;
|
|
656
|
-
const
|
|
657
|
-
|
|
657
|
+
const f = R.value;
|
|
658
|
+
f.trim() && (R.value = "", n("update:modelValue", f), n("change", f));
|
|
658
659
|
}
|
|
659
|
-
function
|
|
660
|
-
return String(
|
|
660
|
+
function P(f) {
|
|
661
|
+
return String(f ?? "");
|
|
661
662
|
}
|
|
662
|
-
function ae(
|
|
663
|
-
Q.value =
|
|
663
|
+
function ae(f) {
|
|
664
|
+
Q.value = f, u.value = [], n("options-change", V.value);
|
|
664
665
|
}
|
|
665
666
|
function se() {
|
|
666
|
-
var
|
|
667
|
-
(
|
|
667
|
+
var f, L;
|
|
668
|
+
(L = (f = y.value) == null ? void 0 : f.focus) == null || L.call(f);
|
|
668
669
|
}
|
|
669
670
|
function ne() {
|
|
670
|
-
var
|
|
671
|
-
(
|
|
671
|
+
var f, L;
|
|
672
|
+
(L = (f = y.value) == null ? void 0 : f.blur) == null || L.call(f);
|
|
672
673
|
}
|
|
673
674
|
function ue() {
|
|
674
675
|
n("update:modelValue", e.multiple ? [] : ""), n("clear");
|
|
675
676
|
}
|
|
676
|
-
|
|
677
|
+
_a(() => {
|
|
677
678
|
A && clearTimeout(A);
|
|
678
679
|
}), i({
|
|
679
680
|
// 暴露远程选择常用控制方法,供弹窗打开后聚焦或请求失败后重试。
|
|
@@ -683,24 +684,24 @@ const Yo = /* @__PURE__ */ ye(Mo, [["render", Xo], ["__scopeId", "data-v-e5764ee
|
|
|
683
684
|
retryFetch: S,
|
|
684
685
|
fetchDefaultOptions: p
|
|
685
686
|
});
|
|
686
|
-
const me = { props: e, emit: n, attrs:
|
|
687
|
+
const me = { props: e, emit: n, attrs: B, selectRef: y, remoteOptions: u, selectedOptionMap: m, innerLoading: D, lastKeyword: Q, pendingCreateText: R, get requestId() {
|
|
687
688
|
return w;
|
|
688
|
-
}, set requestId(
|
|
689
|
-
w =
|
|
689
|
+
}, set requestId(f) {
|
|
690
|
+
w = f;
|
|
690
691
|
}, get debounceTimer() {
|
|
691
692
|
return A;
|
|
692
|
-
}, set debounceTimer(
|
|
693
|
-
A =
|
|
694
|
-
}, mergedLoading: Z, defaultOptionsFetched:
|
|
693
|
+
}, set debounceTimer(f) {
|
|
694
|
+
A = f;
|
|
695
|
+
}, mergedLoading: Z, defaultOptionsFetched: U, hasSearchKeyword: K, mergedOptions: V, getOptionValue: X, isValueSelected: ee, cacheOptionIfSelected: N, canFetch: W, setInnerLoading: M, fetchOptions: G, maybeFetchDefaultOptions: j, handleRemoteMethod: te, fetchDefaultOptions: p, retryFetch: S, handleUpdateModelValue: o, handleChange: d, handleClear: E, handleVisibleChange: H, handleFocus: s, handleBlur: q, commitPendingCreateText: k, normalizeKeyword: P, clearRemoteOptionsForKeyword: ae, focus: se, blur: ne, clear: ue, QySelect: Ae };
|
|
695
696
|
return Object.defineProperty(me, "__isScriptSetup", { enumerable: !1, value: !0 }), me;
|
|
696
697
|
}
|
|
697
698
|
});
|
|
698
|
-
function
|
|
699
|
-
return b(),
|
|
699
|
+
function al(t, i, a, e, n, B) {
|
|
700
|
+
return b(), F(
|
|
700
701
|
Qe,
|
|
701
702
|
null,
|
|
702
703
|
[
|
|
703
|
-
|
|
704
|
+
I(" 远程防抖由本组件统一维护,底层需即时同步关键字,避免快速失焦丢失手输文本。 "),
|
|
704
705
|
O(e.QySelect, fe({ ref: "selectRef" }, e.attrs, {
|
|
705
706
|
"model-value": a.modelValue,
|
|
706
707
|
options: e.mergedOptions,
|
|
@@ -731,9 +732,9 @@ function er(t, i, a, e, n, P) {
|
|
|
731
732
|
onVisibleChange: e.handleVisibleChange,
|
|
732
733
|
onFocus: e.handleFocus,
|
|
733
734
|
onBlur: e.handleBlur
|
|
734
|
-
}),
|
|
735
|
+
}), Pe({
|
|
735
736
|
default: v(() => [
|
|
736
|
-
t.$slots.default ? _(t.$slots, "default", {}, void 0, void 0, 0) :
|
|
737
|
+
t.$slots.default ? _(t.$slots, "default", {}, void 0, void 0, 0) : I("v-if", !0)
|
|
737
738
|
]),
|
|
738
739
|
_: 2
|
|
739
740
|
/* DYNAMIC */
|
|
@@ -772,7 +773,7 @@ function er(t, i, a, e, n, P) {
|
|
|
772
773
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
773
774
|
);
|
|
774
775
|
}
|
|
775
|
-
const
|
|
776
|
+
const ol = /* @__PURE__ */ ye(tl, [["render", al], ["__file", "D:/xushenz/qy-components/packages/ui/lib/qy-remote-select/index.vue"]]), ll = /* @__PURE__ */ he({
|
|
776
777
|
name: "QySearchInput",
|
|
777
778
|
inheritAttrs: !1,
|
|
778
779
|
__name: "index",
|
|
@@ -803,154 +804,154 @@ const tr = /* @__PURE__ */ ye($o, [["render", er], ["__file", "C:/Users/wzqy/.co
|
|
|
803
804
|
},
|
|
804
805
|
emits: ["update:modelValue", "search", "clear", "input", "change", "focus", "blur", "enter", "select", "visible-change", "suggestions-change", "error"],
|
|
805
806
|
setup(t, { expose: i, emit: a }) {
|
|
806
|
-
const e = t, n = a,
|
|
807
|
+
const e = t, n = a, B = pe(), y = x(null), u = x(w(e.modelValue)), m = C(() => w(e.modelValue)), D = C(
|
|
807
808
|
() => ["qy-search-input__popper", e.popperClass].filter(Boolean).join(" ")
|
|
808
|
-
), Q = C(() => w(e.modelValue)),
|
|
809
|
-
|
|
809
|
+
), Q = C(() => w(e.modelValue)), R = x("");
|
|
810
|
+
le(
|
|
810
811
|
() => e.modelValue,
|
|
811
|
-
(
|
|
812
|
-
u.value = w(
|
|
812
|
+
(l) => {
|
|
813
|
+
u.value = w(l);
|
|
813
814
|
}
|
|
814
815
|
);
|
|
815
|
-
function w(
|
|
816
|
-
return
|
|
816
|
+
function w(l) {
|
|
817
|
+
return l == null ? "" : String(l);
|
|
817
818
|
}
|
|
818
|
-
function A(
|
|
819
|
-
return e.removeSpace ?
|
|
819
|
+
function A(l) {
|
|
820
|
+
return e.removeSpace ? l.replace(/\s+/g, "") : l;
|
|
820
821
|
}
|
|
821
|
-
function Z(
|
|
822
|
-
return e.trimMode !== g ?
|
|
822
|
+
function Z(l, g) {
|
|
823
|
+
return e.trimMode !== g ? l : l.trim();
|
|
823
824
|
}
|
|
824
|
-
function
|
|
825
|
-
return A(w(
|
|
825
|
+
function U(l) {
|
|
826
|
+
return A(w(l));
|
|
826
827
|
}
|
|
827
|
-
function K(
|
|
828
|
-
u.value =
|
|
828
|
+
function K(l) {
|
|
829
|
+
u.value = l, n("update:modelValue", l);
|
|
829
830
|
}
|
|
830
|
-
function V(
|
|
831
|
+
function V(l, g = "") {
|
|
831
832
|
return {
|
|
832
|
-
...
|
|
833
|
-
label:
|
|
834
|
-
value:
|
|
835
|
-
description:
|
|
833
|
+
...l,
|
|
834
|
+
label: l.label || l.value,
|
|
835
|
+
value: l.value || l.label,
|
|
836
|
+
description: l.description || g
|
|
836
837
|
};
|
|
837
838
|
}
|
|
838
|
-
function X(
|
|
839
|
-
return
|
|
839
|
+
function X(l = []) {
|
|
840
|
+
return l.flatMap((g) => {
|
|
840
841
|
if (Array.isArray(g.items)) {
|
|
841
842
|
const J = g;
|
|
842
|
-
return J.items.map((
|
|
843
|
+
return J.items.map((re) => V(re, J.groupLabel));
|
|
843
844
|
}
|
|
844
845
|
return V(g);
|
|
845
846
|
});
|
|
846
847
|
}
|
|
847
|
-
function ee(
|
|
848
|
-
const g =
|
|
849
|
-
return (J) => [J.label, J.value, J.description].filter(Boolean).some((
|
|
848
|
+
function ee(l) {
|
|
849
|
+
const g = l.toLowerCase();
|
|
850
|
+
return (J) => [J.label, J.value, J.description].filter(Boolean).some((re) => String(re).toLowerCase().includes(g));
|
|
850
851
|
}
|
|
851
|
-
function N(
|
|
852
|
-
return
|
|
852
|
+
function N(l) {
|
|
853
|
+
return l ? l.length >= e.minLength : e.triggerOnFocus;
|
|
853
854
|
}
|
|
854
|
-
function W(
|
|
855
|
-
n("suggestions-change",
|
|
855
|
+
function W(l) {
|
|
856
|
+
n("suggestions-change", l), n("visible-change", l.length > 0);
|
|
856
857
|
}
|
|
857
|
-
async function M(
|
|
858
|
-
if (!N(
|
|
858
|
+
async function M(l) {
|
|
859
|
+
if (!N(l))
|
|
859
860
|
return W([]), [];
|
|
860
861
|
if (e.fetchSuggestionsMethod) {
|
|
861
|
-
const
|
|
862
|
+
const re = await new Promise((Y) => {
|
|
862
863
|
var _e;
|
|
863
|
-
(_e = e.fetchSuggestionsMethod) == null || _e.call(e,
|
|
864
|
+
(_e = e.fetchSuggestionsMethod) == null || _e.call(e, l, (Se) => {
|
|
864
865
|
Y(X(Se));
|
|
865
866
|
});
|
|
866
867
|
});
|
|
867
|
-
return W(
|
|
868
|
+
return W(re), re;
|
|
868
869
|
}
|
|
869
870
|
if (e.fetchSuggestions) {
|
|
870
|
-
const
|
|
871
|
+
const re = await e.fetchSuggestions(l), Y = X(Array.isArray(re) ? re : []);
|
|
871
872
|
return W(Y), Y;
|
|
872
873
|
}
|
|
873
|
-
const g = X(e.suggestions), J =
|
|
874
|
+
const g = X(e.suggestions), J = l ? g.filter(ee(l)) : g;
|
|
874
875
|
return W(J), J;
|
|
875
876
|
}
|
|
876
|
-
async function G(
|
|
877
|
-
|
|
877
|
+
async function G(l, g) {
|
|
878
|
+
R.value = l;
|
|
878
879
|
try {
|
|
879
|
-
const J = await M(
|
|
880
|
+
const J = await M(l);
|
|
880
881
|
g(J);
|
|
881
882
|
} catch (J) {
|
|
882
883
|
n("error", J), W([]), g([]);
|
|
883
884
|
}
|
|
884
885
|
}
|
|
885
886
|
function j() {
|
|
886
|
-
var
|
|
887
|
-
|
|
887
|
+
var l, g;
|
|
888
|
+
R.value && ((g = (l = y.value) == null ? void 0 : l.getData) == null || g.call(l, R.value));
|
|
888
889
|
}
|
|
889
|
-
function te(
|
|
890
|
-
const g =
|
|
890
|
+
function te(l) {
|
|
891
|
+
const g = U(l);
|
|
891
892
|
K(g);
|
|
892
893
|
}
|
|
893
|
-
function p(
|
|
894
|
-
const g =
|
|
894
|
+
function p(l) {
|
|
895
|
+
const g = U(l);
|
|
895
896
|
u.value = g, n("input", g);
|
|
896
897
|
}
|
|
897
|
-
function S(
|
|
898
|
-
const g = Z(
|
|
898
|
+
function S(l) {
|
|
899
|
+
const g = Z(U(l), "change");
|
|
899
900
|
g !== w(e.modelValue) && K(g), n("change", g);
|
|
900
901
|
}
|
|
901
|
-
function o(
|
|
902
|
-
n("focus",
|
|
902
|
+
function o(l) {
|
|
903
|
+
n("focus", l);
|
|
903
904
|
}
|
|
904
|
-
function d(
|
|
905
|
+
function d(l) {
|
|
905
906
|
const g = Z(u.value, "blur");
|
|
906
|
-
g !== w(e.modelValue) && K(g), n("blur",
|
|
907
|
+
g !== w(e.modelValue) && K(g), n("blur", l), n("visible-change", !1);
|
|
907
908
|
}
|
|
908
909
|
function E() {
|
|
909
910
|
u.value = "", n("update:modelValue", ""), n("clear"), W([]);
|
|
910
911
|
}
|
|
911
|
-
function H(
|
|
912
|
-
n("enter",
|
|
912
|
+
function H(l) {
|
|
913
|
+
n("enter", l), e.searchOnEnter && s();
|
|
913
914
|
}
|
|
914
915
|
function s() {
|
|
915
916
|
n("search", w(e.modelValue));
|
|
916
917
|
}
|
|
917
|
-
function q(
|
|
918
|
-
n("select",
|
|
918
|
+
function q(l) {
|
|
919
|
+
n("select", l), e.searchOnSelect && n("search", l.value);
|
|
919
920
|
}
|
|
920
|
-
function k(
|
|
921
|
-
return
|
|
921
|
+
function k(l) {
|
|
922
|
+
return l.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
922
923
|
}
|
|
923
|
-
function
|
|
924
|
-
return
|
|
924
|
+
function P(l) {
|
|
925
|
+
return l.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
925
926
|
}
|
|
926
|
-
function ae(
|
|
927
|
-
const g = k(
|
|
927
|
+
function ae(l) {
|
|
928
|
+
const g = k(l || "");
|
|
928
929
|
if (!e.highlightKeyword || !m.value) return g;
|
|
929
|
-
const J =
|
|
930
|
+
const J = P(k(m.value));
|
|
930
931
|
return J ? g.replace(
|
|
931
932
|
new RegExp(`(${J})`, "ig"),
|
|
932
933
|
'<mark class="qy-search-input__mark">$1</mark>'
|
|
933
934
|
) : g;
|
|
934
935
|
}
|
|
935
936
|
function se() {
|
|
936
|
-
var
|
|
937
|
-
(g = (
|
|
937
|
+
var l, g;
|
|
938
|
+
(g = (l = y.value) == null ? void 0 : l.focus) == null || g.call(l);
|
|
938
939
|
}
|
|
939
940
|
function ne() {
|
|
940
|
-
var
|
|
941
|
-
(g = (
|
|
941
|
+
var l, g;
|
|
942
|
+
(g = (l = y.value) == null ? void 0 : l.blur) == null || g.call(l);
|
|
942
943
|
}
|
|
943
944
|
function ue() {
|
|
944
|
-
var
|
|
945
|
-
(J = (g = (
|
|
945
|
+
var l, g, J;
|
|
946
|
+
(J = (g = (l = y.value) == null ? void 0 : l.inputRef) == null ? void 0 : g.select) == null || J.call(g);
|
|
946
947
|
}
|
|
947
948
|
function me() {
|
|
948
|
-
var
|
|
949
|
-
(g = (
|
|
949
|
+
var l, g;
|
|
950
|
+
(g = (l = y.value) == null ? void 0 : l.clear) == null || g.call(l);
|
|
950
951
|
}
|
|
951
|
-
function
|
|
952
|
-
var
|
|
953
|
-
(g = (
|
|
952
|
+
function f() {
|
|
953
|
+
var l, g;
|
|
954
|
+
(g = (l = y.value) == null ? void 0 : l.close) == null || g.call(l);
|
|
954
955
|
}
|
|
955
956
|
i({
|
|
956
957
|
// 暴露搜索框常用控制方法,供弹窗打开后聚焦或失败后重试建议项。
|
|
@@ -958,22 +959,22 @@ const tr = /* @__PURE__ */ ye($o, [["render", er], ["__file", "C:/Users/wzqy/.co
|
|
|
958
959
|
blur: ne,
|
|
959
960
|
select: ue,
|
|
960
961
|
clear: me,
|
|
961
|
-
closePanel:
|
|
962
|
+
closePanel: f,
|
|
962
963
|
retryFetch: j
|
|
963
964
|
});
|
|
964
|
-
const
|
|
965
|
+
const L = { props: e, emit: n, attrs: B, autocompleteRef: y, innerValue: u, normalizedKeyword: m, mergedPopperClass: D, displayValue: Q, lastQuery: R, stringifyValue: w, sanitizeSpaces: A, sanitizeTrim: Z, sanitizeImmediate: U, emitModelValue: K, normalizeItem: V, flattenSuggestionList: X, createFilter: ee, canQuery: N, emitSuggestions: W, resolveSuggestionList: M, querySuggestions: G, retryFetch: j, handleUpdateModelValue: te, handleInput: p, handleChange: S, handleFocus: o, handleBlur: d, handleClear: E, handleEnter: H, triggerSearch: s, handleSelect: q, escapeHtml: k, escapeRegExp: P, renderHighlighted: ae, focus: se, blur: ne, select: ue, clear: me, closePanel: f, get ElAutocomplete() {
|
|
965
966
|
return Ia;
|
|
966
967
|
}, get ElButton() {
|
|
967
968
|
return we;
|
|
968
969
|
} };
|
|
969
|
-
return Object.defineProperty(
|
|
970
|
+
return Object.defineProperty(L, "__isScriptSetup", { enumerable: !1, value: !0 }), L;
|
|
970
971
|
}
|
|
971
|
-
}),
|
|
972
|
+
}), rl = { class: "qy-search-input__item" }, nl = ["innerHTML"], il = {
|
|
972
973
|
key: 0,
|
|
973
974
|
class: "qy-search-input__item-description"
|
|
974
975
|
};
|
|
975
|
-
function
|
|
976
|
-
return b(),
|
|
976
|
+
function sl(t, i, a, e, n, B) {
|
|
977
|
+
return b(), F(
|
|
977
978
|
"div",
|
|
978
979
|
{
|
|
979
980
|
class: ge(["qy-search-input", { "is-disabled": a.disabled }])
|
|
@@ -999,25 +1000,25 @@ function nr(t, i, a, e, n, P) {
|
|
|
999
1000
|
onBlur: e.handleBlur,
|
|
1000
1001
|
onClear: e.handleClear,
|
|
1001
1002
|
onSelect: e.handleSelect,
|
|
1002
|
-
onKeydown:
|
|
1003
|
-
}),
|
|
1003
|
+
onKeydown: Ie(e.handleEnter, ["enter"])
|
|
1004
|
+
}), Pe({
|
|
1004
1005
|
default: v(({ item: y }) => [
|
|
1005
1006
|
_(t.$slots, "item", {
|
|
1006
1007
|
item: y,
|
|
1007
1008
|
keyword: e.normalizedKeyword
|
|
1008
1009
|
}, () => [
|
|
1009
|
-
$("div",
|
|
1010
|
+
$("div", rl, [
|
|
1010
1011
|
$("div", {
|
|
1011
1012
|
class: "qy-search-input__item-label",
|
|
1012
1013
|
innerHTML: e.renderHighlighted(y.label || y.value || "")
|
|
1013
|
-
}, null, 8,
|
|
1014
|
-
y.description ? (b(),
|
|
1014
|
+
}, null, 8, nl),
|
|
1015
|
+
y.description ? (b(), F(
|
|
1015
1016
|
"div",
|
|
1016
|
-
|
|
1017
|
+
il,
|
|
1017
1018
|
ce(y.description),
|
|
1018
1019
|
1
|
|
1019
1020
|
/* TEXT */
|
|
1020
|
-
)) :
|
|
1021
|
+
)) : I("v-if", !0)
|
|
1021
1022
|
])
|
|
1022
1023
|
], !0)
|
|
1023
1024
|
]),
|
|
@@ -1072,7 +1073,7 @@ function nr(t, i, a, e, n, P) {
|
|
|
1072
1073
|
/* CLASS */
|
|
1073
1074
|
);
|
|
1074
1075
|
}
|
|
1075
|
-
const Ze = /* @__PURE__ */ ye(
|
|
1076
|
+
const Ze = /* @__PURE__ */ ye(ll, [["render", sl], ["__scopeId", "data-v-e2afec40"], ["__file", "D:/xushenz/qy-components/packages/ui/lib/qy-search-input/index.vue"]]), ul = /* @__PURE__ */ he({
|
|
1076
1077
|
name: "QyRecordQuoteSearch",
|
|
1077
1078
|
inheritAttrs: !1,
|
|
1078
1079
|
__name: "index",
|
|
@@ -1101,11 +1102,11 @@ const Ze = /* @__PURE__ */ ye(ar, [["render", nr], ["__scopeId", "data-v-e2afec4
|
|
|
1101
1102
|
},
|
|
1102
1103
|
emits: ["update:modelValue", "search", "clear", "normalize", "enter", "select", "error", "success"],
|
|
1103
1104
|
setup(t, { expose: i, emit: a }) {
|
|
1104
|
-
const e = t, n = a,
|
|
1105
|
+
const e = t, n = a, B = pe(), y = x(null), u = x(!1), m = C(() => e.statusText || ""), D = C(() => e.loading || u.value);
|
|
1105
1106
|
function Q(o) {
|
|
1106
1107
|
return o == null ? "" : String(o);
|
|
1107
1108
|
}
|
|
1108
|
-
function
|
|
1109
|
+
function R(o) {
|
|
1109
1110
|
const d = Q(o).trim(), E = w(d), H = E.match(/BJ\d{8}[A-Z0-9]{4}/i);
|
|
1110
1111
|
return H ? H[0] : E;
|
|
1111
1112
|
}
|
|
@@ -1113,12 +1114,12 @@ const Ze = /* @__PURE__ */ ye(ar, [["render", nr], ["__scopeId", "data-v-e2afec4
|
|
|
1113
1114
|
return Q(o).replace(/\s+/g, "").trim().toUpperCase();
|
|
1114
1115
|
}
|
|
1115
1116
|
function A(o) {
|
|
1116
|
-
return e.extractMethod ? e.extractMethod(o) :
|
|
1117
|
+
return e.extractMethod ? e.extractMethod(o) : R(o);
|
|
1117
1118
|
}
|
|
1118
1119
|
function Z(o) {
|
|
1119
1120
|
return e.normalizeMethod ? e.normalizeMethod(o) : w(o);
|
|
1120
1121
|
}
|
|
1121
|
-
function
|
|
1122
|
+
function U(o, d) {
|
|
1122
1123
|
const E = Q(o), H = A(E), s = e.autoNormalize ? Z(H) : H;
|
|
1123
1124
|
return n("normalize", { rawValue: E, code: s }), {
|
|
1124
1125
|
rawValue: E,
|
|
@@ -1143,7 +1144,7 @@ const Ze = /* @__PURE__ */ ye(ar, [["render", nr], ["__scopeId", "data-v-e2afec4
|
|
|
1143
1144
|
}
|
|
1144
1145
|
}
|
|
1145
1146
|
function X(o) {
|
|
1146
|
-
const d =
|
|
1147
|
+
const d = U(o);
|
|
1147
1148
|
d.code !== Q(e.modelValue) && n("update:modelValue", d.code), V(d);
|
|
1148
1149
|
}
|
|
1149
1150
|
function ee() {
|
|
@@ -1154,7 +1155,7 @@ const Ze = /* @__PURE__ */ ye(ar, [["render", nr], ["__scopeId", "data-v-e2afec4
|
|
|
1154
1155
|
}
|
|
1155
1156
|
function W(o) {
|
|
1156
1157
|
if (n("select", o), !e.searchOnSelect) return;
|
|
1157
|
-
const d =
|
|
1158
|
+
const d = U(o.value, o);
|
|
1158
1159
|
d.code !== Q(e.modelValue) && n("update:modelValue", d.code), V(d);
|
|
1159
1160
|
}
|
|
1160
1161
|
function M(o) {
|
|
@@ -1184,38 +1185,38 @@ const Ze = /* @__PURE__ */ ye(ar, [["render", nr], ["__scopeId", "data-v-e2afec4
|
|
|
1184
1185
|
extractQuoteOrderCode: A,
|
|
1185
1186
|
normalizeQuoteOrderCode: Z
|
|
1186
1187
|
});
|
|
1187
|
-
const S = { props: e, emit: n, attrs:
|
|
1188
|
+
const S = { props: e, emit: n, attrs: B, searchRef: y, internalLoading: u, currentStatusText: m, mergedLoading: D, stringifyValue: Q, defaultExtractQuoteOrderCode: R, defaultNormalizeQuoteOrderCode: w, extractQuoteOrderCode: A, normalizeQuoteOrderCode: Z, buildSearchPayload: U, handleUpdateModelValue: K, dispatchSearch: V, handleSearch: X, handleClear: ee, handleEnter: N, handleSelect: W, handleError: M, focus: G, blur: j, select: te, clear: p, QySearchInput: Ze };
|
|
1188
1189
|
return Object.defineProperty(S, "__isScriptSetup", { enumerable: !1, value: !0 }), S;
|
|
1189
1190
|
}
|
|
1190
|
-
}),
|
|
1191
|
+
}), dl = { class: "qy-record-quote-search" }, cl = {
|
|
1191
1192
|
key: 0,
|
|
1192
1193
|
class: "qy-record-quote-search__header"
|
|
1193
|
-
},
|
|
1194
|
+
}, fl = {
|
|
1194
1195
|
key: 0,
|
|
1195
1196
|
class: "qy-record-quote-search__label"
|
|
1196
|
-
},
|
|
1197
|
+
}, yl = {
|
|
1197
1198
|
key: 1,
|
|
1198
1199
|
class: "qy-record-quote-search__description"
|
|
1199
1200
|
};
|
|
1200
|
-
function
|
|
1201
|
-
return b(),
|
|
1201
|
+
function ml(t, i, a, e, n, B) {
|
|
1202
|
+
return b(), F("div", dl, [
|
|
1202
1203
|
_(t.$slots, "label", {}, () => [
|
|
1203
|
-
a.label || a.description ? (b(),
|
|
1204
|
-
a.label ? (b(),
|
|
1204
|
+
a.label || a.description ? (b(), F("div", cl, [
|
|
1205
|
+
a.label ? (b(), F(
|
|
1205
1206
|
"div",
|
|
1206
|
-
|
|
1207
|
+
fl,
|
|
1207
1208
|
ce(a.label),
|
|
1208
1209
|
1
|
|
1209
1210
|
/* TEXT */
|
|
1210
|
-
)) :
|
|
1211
|
-
a.description ? (b(),
|
|
1211
|
+
)) : I("v-if", !0),
|
|
1212
|
+
a.description ? (b(), F(
|
|
1212
1213
|
"div",
|
|
1213
|
-
|
|
1214
|
+
yl,
|
|
1214
1215
|
ce(a.description),
|
|
1215
1216
|
1
|
|
1216
1217
|
/* TEXT */
|
|
1217
|
-
)) :
|
|
1218
|
-
])) :
|
|
1218
|
+
)) : I("v-if", !0)
|
|
1219
|
+
])) : I("v-if", !0)
|
|
1219
1220
|
], !0),
|
|
1220
1221
|
O(e.QySearchInput, fe({ ref: "searchRef" }, e.attrs, {
|
|
1221
1222
|
"model-value": a.modelValue,
|
|
@@ -1237,7 +1238,7 @@ function fr(t, i, a, e, n, P) {
|
|
|
1237
1238
|
onEnter: e.handleEnter,
|
|
1238
1239
|
onSelect: e.handleSelect,
|
|
1239
1240
|
onError: e.handleError
|
|
1240
|
-
}),
|
|
1241
|
+
}), Pe({
|
|
1241
1242
|
_: 2
|
|
1242
1243
|
/* DYNAMIC */
|
|
1243
1244
|
}, [
|
|
@@ -1290,10 +1291,10 @@ function fr(t, i, a, e, n, P) {
|
|
|
1290
1291
|
3
|
|
1291
1292
|
/* TEXT, CLASS */
|
|
1292
1293
|
)
|
|
1293
|
-
], !0, 0) :
|
|
1294
|
+
], !0, 0) : I("v-if", !0)
|
|
1294
1295
|
]);
|
|
1295
1296
|
}
|
|
1296
|
-
const
|
|
1297
|
+
const gl = /* @__PURE__ */ ye(ul, [["render", ml], ["__scopeId", "data-v-b95ce153"], ["__file", "D:/xushenz/qy-components/packages/ui/lib/qy-record-quote-search/index.vue"]]), pl = /* @__PURE__ */ he({
|
|
1297
1298
|
name: "QySelectionDialog",
|
|
1298
1299
|
inheritAttrs: !1,
|
|
1299
1300
|
__name: "index",
|
|
@@ -1333,7 +1334,7 @@ const yr = /* @__PURE__ */ ye(ir, [["render", fr], ["__scopeId", "data-v-b95ce15
|
|
|
1333
1334
|
},
|
|
1334
1335
|
emits: ["update:modelValue", "selection-change", "confirm", "submit", "cancel", "close", "append", "loaded"],
|
|
1335
1336
|
setup(t, { expose: i, emit: a }) {
|
|
1336
|
-
const e = t, n = a,
|
|
1337
|
+
const e = t, n = a, B = pe(), y = wa(), u = Ca(), m = x(null), D = x([]), Q = x([]), R = x([]), w = x(!1), A = x(0), Z = x(!1), U = x(""), K = Ce({
|
|
1337
1338
|
category: [],
|
|
1338
1339
|
type: "",
|
|
1339
1340
|
page: 1,
|
|
@@ -1344,48 +1345,48 @@ const yr = /* @__PURE__ */ ye(ir, [["render", fr], ["__scopeId", "data-v-b95ce15
|
|
|
1344
1345
|
...e.typeSelectionProps,
|
|
1345
1346
|
...e.typeSelectProps
|
|
1346
1347
|
})), M = C(() => e.tableProps || {}), G = C(
|
|
1347
|
-
() => e.showSearch || !!
|
|
1348
|
+
() => e.showSearch || !!B["search-visible"]
|
|
1348
1349
|
), j = C(() => e.showAppend || e.append), te = C(
|
|
1349
1350
|
() => j.value || !!y.toolbar || !!y.bar
|
|
1350
1351
|
), p = C(() => e.fetchMethod || e.query), S = C(() => o() ? e.modelValue : e.selected);
|
|
1351
1352
|
function o() {
|
|
1352
|
-
const
|
|
1353
|
-
return Object.prototype.hasOwnProperty.call(
|
|
1353
|
+
const r = (u == null ? void 0 : u.vnode.props) || {};
|
|
1354
|
+
return Object.prototype.hasOwnProperty.call(r, "modelValue") || Object.prototype.hasOwnProperty.call(r, "model-value") || Object.prototype.hasOwnProperty.call(r, "onUpdate:modelValue");
|
|
1354
1355
|
}
|
|
1355
|
-
|
|
1356
|
+
le(
|
|
1356
1357
|
[() => e.modelValue, () => e.selected, () => e.open],
|
|
1357
1358
|
() => {
|
|
1358
1359
|
e.open && (Q.value = ve(S.value), g());
|
|
1359
1360
|
},
|
|
1360
1361
|
{ immediate: !0, deep: !0 }
|
|
1361
|
-
),
|
|
1362
|
+
), le(
|
|
1362
1363
|
[() => e.categoryOptions, () => e.category],
|
|
1363
|
-
(
|
|
1364
|
+
(r) => {
|
|
1364
1365
|
if (Array.isArray(e.category) && e.category.length) {
|
|
1365
|
-
|
|
1366
|
+
R.value = e.category;
|
|
1366
1367
|
return;
|
|
1367
1368
|
}
|
|
1368
|
-
|
|
1369
|
+
R.value = e.categoryOptions || [];
|
|
1369
1370
|
},
|
|
1370
1371
|
{ immediate: !0 }
|
|
1371
|
-
),
|
|
1372
|
-
|
|
1372
|
+
), le(Z, (r) => {
|
|
1373
|
+
r || (U.value = "");
|
|
1373
1374
|
});
|
|
1374
1375
|
async function d() {
|
|
1375
1376
|
Q.value = ve(S.value), await E(), await H(), g();
|
|
1376
1377
|
}
|
|
1377
1378
|
async function E() {
|
|
1378
|
-
const
|
|
1379
|
-
if (!
|
|
1380
|
-
const h = await
|
|
1381
|
-
|
|
1379
|
+
const r = e.categoryFetchMethod || (typeof e.category == "function" ? e.category : null);
|
|
1380
|
+
if (!r) return;
|
|
1381
|
+
const h = await r();
|
|
1382
|
+
R.value = se(h);
|
|
1382
1383
|
}
|
|
1383
1384
|
async function H() {
|
|
1384
1385
|
if (p.value) {
|
|
1385
1386
|
w.value = !0;
|
|
1386
1387
|
try {
|
|
1387
|
-
const
|
|
1388
|
-
return
|
|
1388
|
+
const r = await p.value(ue()), h = e.responseFormatter ? await e.responseFormatter(r) : r, { rows: T, total: z } = ae(h);
|
|
1389
|
+
return D.value = T, A.value = z, n("loaded", T), g(), h;
|
|
1389
1390
|
} finally {
|
|
1390
1391
|
w.value = !1;
|
|
1391
1392
|
}
|
|
@@ -1407,20 +1408,20 @@ const yr = /* @__PURE__ */ ye(ir, [["render", fr], ["__scopeId", "data-v-b95ce15
|
|
|
1407
1408
|
...e.queryParams
|
|
1408
1409
|
}), H();
|
|
1409
1410
|
}
|
|
1410
|
-
function
|
|
1411
|
+
function P() {
|
|
1411
1412
|
n("append");
|
|
1412
1413
|
}
|
|
1413
|
-
function ae(
|
|
1414
|
-
if (Array.isArray(
|
|
1415
|
-
return { rows:
|
|
1416
|
-
const h =
|
|
1414
|
+
function ae(r) {
|
|
1415
|
+
if (Array.isArray(r))
|
|
1416
|
+
return { rows: r, total: r.length };
|
|
1417
|
+
const h = r == null ? void 0 : r.data;
|
|
1417
1418
|
if (Array.isArray(h))
|
|
1418
|
-
return { rows: h, total: (
|
|
1419
|
-
const T = (
|
|
1419
|
+
return { rows: h, total: (r == null ? void 0 : r.total) ?? h.length };
|
|
1420
|
+
const T = (r == null ? void 0 : r.records) || (r == null ? void 0 : r.rows) || (h == null ? void 0 : h.records) || [], z = (r == null ? void 0 : r.total) ?? (h == null ? void 0 : h.total) ?? T.length;
|
|
1420
1421
|
return { rows: T, total: z };
|
|
1421
1422
|
}
|
|
1422
|
-
function se(
|
|
1423
|
-
const h = (
|
|
1423
|
+
function se(r) {
|
|
1424
|
+
const h = (r == null ? void 0 : r.data) ?? r;
|
|
1424
1425
|
if (!Array.isArray(h)) return [];
|
|
1425
1426
|
if (typeof e.categoryFormatter == "function")
|
|
1426
1427
|
return e.categoryFormatter(h);
|
|
@@ -1435,8 +1436,8 @@ const yr = /* @__PURE__ */ ye(ir, [["render", fr], ["__scopeId", "data-v-b95ce15
|
|
|
1435
1436
|
}
|
|
1436
1437
|
return h;
|
|
1437
1438
|
}
|
|
1438
|
-
function ne(
|
|
1439
|
-
return
|
|
1439
|
+
function ne(r, h, T) {
|
|
1440
|
+
return r.map((z) => ({
|
|
1440
1441
|
...z,
|
|
1441
1442
|
label: z[h],
|
|
1442
1443
|
value: z[T],
|
|
@@ -1444,110 +1445,110 @@ const yr = /* @__PURE__ */ ye(ir, [["render", fr], ["__scopeId", "data-v-b95ce15
|
|
|
1444
1445
|
}));
|
|
1445
1446
|
}
|
|
1446
1447
|
function ue() {
|
|
1447
|
-
const
|
|
1448
|
-
return e.searchKey && (
|
|
1448
|
+
const r = { ...e.queryParams, ...K };
|
|
1449
|
+
return e.searchKey && (r[e.searchKey] = String(r[e.searchKey] || "").trim()), r.category = me(), r;
|
|
1449
1450
|
}
|
|
1450
1451
|
function me() {
|
|
1451
1452
|
if (Object.prototype.hasOwnProperty.call(e.queryParams, "category"))
|
|
1452
1453
|
return e.queryParams.category;
|
|
1453
|
-
const
|
|
1454
|
-
return Array.isArray(
|
|
1454
|
+
const r = K.category;
|
|
1455
|
+
return Array.isArray(r) ? r : r ? [r] : [];
|
|
1455
1456
|
}
|
|
1456
|
-
function
|
|
1457
|
+
function f(r) {
|
|
1457
1458
|
var h, T;
|
|
1458
1459
|
if (V.value !== "none") {
|
|
1459
1460
|
if (V.value === "single") {
|
|
1460
|
-
Q.value = [
|
|
1461
|
+
Q.value = [r], (h = m.value) == null || h.setCurrentRow(r), qe();
|
|
1461
1462
|
return;
|
|
1462
1463
|
}
|
|
1463
|
-
J(
|
|
1464
|
+
J(r) && ((T = m.value) == null || T.toggleRowSelection(r, !re(r)));
|
|
1464
1465
|
}
|
|
1465
1466
|
}
|
|
1466
|
-
function
|
|
1467
|
+
function L(r) {
|
|
1467
1468
|
if (V.value !== "multiple") return;
|
|
1468
|
-
const h = new Set(
|
|
1469
|
+
const h = new Set(D.value.map(Y)), T = new Set(r.map(Y));
|
|
1469
1470
|
Q.value = Q.value.filter(
|
|
1470
1471
|
(z) => !h.has(Y(z)) || T.has(Y(z))
|
|
1471
|
-
),
|
|
1472
|
-
|
|
1472
|
+
), r.forEach((z) => {
|
|
1473
|
+
re(z) || Q.value.push(z);
|
|
1473
1474
|
}), qe();
|
|
1474
1475
|
}
|
|
1475
|
-
function r
|
|
1476
|
+
function l(r) {
|
|
1476
1477
|
var T, z;
|
|
1477
1478
|
Q.value = Q.value.filter(
|
|
1478
|
-
(de) => Y(de) !== Y(
|
|
1479
|
+
(de) => Y(de) !== Y(r)
|
|
1479
1480
|
);
|
|
1480
|
-
const h =
|
|
1481
|
+
const h = D.value.find((de) => Y(de) === Y(r));
|
|
1481
1482
|
h && (V.value === "multiple" ? (T = m.value) == null || T.toggleRowSelection(h, !1) : (z = m.value) == null || z.setCurrentRow()), qe();
|
|
1482
1483
|
}
|
|
1483
1484
|
function g() {
|
|
1484
1485
|
ke(() => {
|
|
1485
|
-
var
|
|
1486
|
+
var r;
|
|
1486
1487
|
if (m.value) {
|
|
1487
1488
|
if (V.value === "single") {
|
|
1488
|
-
const [h] = Q.value, T =
|
|
1489
|
+
const [h] = Q.value, T = D.value.find(
|
|
1489
1490
|
(z) => h && Y(z) === Y(h)
|
|
1490
1491
|
);
|
|
1491
|
-
(
|
|
1492
|
+
(r = m.value) == null || r.setCurrentRow(T);
|
|
1492
1493
|
return;
|
|
1493
1494
|
}
|
|
1494
|
-
V.value === "multiple" &&
|
|
1495
|
+
V.value === "multiple" && D.value.forEach((h) => {
|
|
1495
1496
|
var T;
|
|
1496
|
-
(T = m.value) == null || T.toggleRowSelection(h,
|
|
1497
|
+
(T = m.value) == null || T.toggleRowSelection(h, re(h));
|
|
1497
1498
|
});
|
|
1498
1499
|
}
|
|
1499
1500
|
});
|
|
1500
1501
|
}
|
|
1501
|
-
function J(
|
|
1502
|
+
function J(r) {
|
|
1502
1503
|
var T;
|
|
1503
1504
|
const h = (T = M.value) == null ? void 0 : T.selectable;
|
|
1504
|
-
return typeof h == "function" ? h(
|
|
1505
|
+
return typeof h == "function" ? h(r) !== !1 : !0;
|
|
1505
1506
|
}
|
|
1506
|
-
function
|
|
1507
|
-
return Q.value.some((h) => Y(h) === Y(
|
|
1507
|
+
function re(r) {
|
|
1508
|
+
return Q.value.some((h) => Y(h) === Y(r));
|
|
1508
1509
|
}
|
|
1509
|
-
function Y(
|
|
1510
|
-
return Se(
|
|
1510
|
+
function Y(r) {
|
|
1511
|
+
return Se(r, X.value);
|
|
1511
1512
|
}
|
|
1512
|
-
function _e(
|
|
1513
|
-
return Se(
|
|
1513
|
+
function _e(r) {
|
|
1514
|
+
return Se(r, ee.value) ?? Y(r);
|
|
1514
1515
|
}
|
|
1515
|
-
function Se(
|
|
1516
|
-
if (!(!
|
|
1517
|
-
return h.split(".").reduce((T, z) => T == null ? void 0 : T[z],
|
|
1516
|
+
function Se(r, h) {
|
|
1517
|
+
if (!(!r || !h))
|
|
1518
|
+
return h.split(".").reduce((T, z) => T == null ? void 0 : T[z], r);
|
|
1518
1519
|
}
|
|
1519
1520
|
function qe() {
|
|
1520
|
-
const
|
|
1521
|
-
n("selection-change",
|
|
1522
|
-
}
|
|
1523
|
-
function ya() {
|
|
1524
|
-
const l = ve(Q.value);
|
|
1525
|
-
n("update:modelValue", l), n("confirm", l), n("submit", { selection: l, rows: l, query: { ...K } });
|
|
1521
|
+
const r = ve(Q.value);
|
|
1522
|
+
n("selection-change", r);
|
|
1526
1523
|
}
|
|
1527
1524
|
function ma() {
|
|
1525
|
+
const r = ve(Q.value);
|
|
1526
|
+
n("update:modelValue", r), n("confirm", r), n("submit", { selection: r, rows: r, query: { ...K } });
|
|
1527
|
+
}
|
|
1528
|
+
function ga() {
|
|
1528
1529
|
Q.value = ve(S.value), n("cancel"), n("close");
|
|
1529
1530
|
}
|
|
1530
|
-
async function
|
|
1531
|
+
async function pa() {
|
|
1531
1532
|
var h;
|
|
1532
|
-
const
|
|
1533
|
-
await ((h = navigator.clipboard) == null ? void 0 : h.writeText(
|
|
1533
|
+
const r = JSON.stringify(Q.value);
|
|
1534
|
+
await ((h = navigator.clipboard) == null ? void 0 : h.writeText(r)), be.success("复制成功");
|
|
1534
1535
|
}
|
|
1535
|
-
function
|
|
1536
|
+
function ha() {
|
|
1536
1537
|
try {
|
|
1537
|
-
const
|
|
1538
|
-
if (!Array.isArray(
|
|
1538
|
+
const r = JSON.parse(U.value);
|
|
1539
|
+
if (!Array.isArray(r)) {
|
|
1539
1540
|
be.error("粘贴内容需要是数组");
|
|
1540
1541
|
return;
|
|
1541
1542
|
}
|
|
1542
|
-
|
|
1543
|
-
|
|
1543
|
+
r.forEach((h) => {
|
|
1544
|
+
re(h) || Q.value.push(h);
|
|
1544
1545
|
}), Z.value = !1, qe(), g();
|
|
1545
|
-
} catch (
|
|
1546
|
-
be.error(`粘贴错误: ${(
|
|
1546
|
+
} catch (r) {
|
|
1547
|
+
be.error(`粘贴错误: ${(r == null ? void 0 : r.message) || "内容格式错误"}`);
|
|
1547
1548
|
}
|
|
1548
1549
|
}
|
|
1549
|
-
function ve(
|
|
1550
|
-
return
|
|
1550
|
+
function ve(r = []) {
|
|
1551
|
+
return r.map((h) => ({ ...h }));
|
|
1551
1552
|
}
|
|
1552
1553
|
i({
|
|
1553
1554
|
search: s,
|
|
@@ -1555,19 +1556,19 @@ const yr = /* @__PURE__ */ ye(ir, [["render", fr], ["__scopeId", "data-v-b95ce15
|
|
|
1555
1556
|
handleQuerySearch: s,
|
|
1556
1557
|
resetSearch: k,
|
|
1557
1558
|
getTableRef: () => m.value,
|
|
1558
|
-
getTableData: () =>
|
|
1559
|
+
getTableData: () => D.value,
|
|
1559
1560
|
getSelection: () => ve(Q.value)
|
|
1560
1561
|
});
|
|
1561
|
-
const Ve = { props: e, emit: n, attrs:
|
|
1562
|
+
const Ve = { props: e, emit: n, attrs: B, slots: y, instance: u, tableRef: m, tableData: D, innerSelectedRows: Q, categoryOptions: R, loading: w, total: A, pasteDialogOpen: Z, pasteText: U, queryForm: K, selectionMode: V, resolvedRowKey: X, resolvedLabelKey: ee, resolvedTypeOptions: N, resolvedTypeSelectProps: W, resolvedTableProps: M, showSearchBar: G, showAppendButton: j, showToolbar: te, fetcher: p, sourceSelectedRows: S, hasModelValueBinding: o, handleOpened: d, loadCategoryOptions: E, handleSearch: H, handleQuerySearch: s, handlePageSizeChange: q, resetSearch: k, handleAppend: P, normalizeResponse: ae, normalizeCategoryOptions: se, normalizeCategoryChildren: ne, getRequestQuery: ue, getCategoryQueryParam: me, handleRowClick: f, handleSelectionChange: L, removeSelectedRow: l, syncTableSelection: g, isRowSelectable: J, hasSelected: re, getRowKey: Y, getRowLabel: _e, getValueByPath: Se, emitDraftSelection: qe, handleConfirm: ma, handleCancel: ga, copySelection: pa, applyPastedSelection: ha, cloneRows: ve, get ElButton() {
|
|
1562
1563
|
return we;
|
|
1563
1564
|
}, get ElForm() {
|
|
1564
1565
|
return Ne;
|
|
1565
1566
|
}, get ElFormItem() {
|
|
1566
1567
|
return je;
|
|
1567
1568
|
}, get ElInput() {
|
|
1568
|
-
return
|
|
1569
|
+
return Be;
|
|
1569
1570
|
}, get ElPagination() {
|
|
1570
|
-
return
|
|
1571
|
+
return Aa;
|
|
1571
1572
|
}, get ElTable() {
|
|
1572
1573
|
return Ba;
|
|
1573
1574
|
}, get ElTableColumn() {
|
|
@@ -1575,24 +1576,24 @@ const yr = /* @__PURE__ */ ye(ir, [["render", fr], ["__scopeId", "data-v-b95ce15
|
|
|
1575
1576
|
}, QyDialog: xe, QySelect: Ae, QyTag: Ge, QyTreeSelect: We };
|
|
1576
1577
|
return Object.defineProperty(Ve, "__isScriptSetup", { enumerable: !1, value: !0 }), Ve;
|
|
1577
1578
|
}
|
|
1578
|
-
}),
|
|
1579
|
+
}), hl = { class: "qy-selection-dialog" }, vl = { class: "qy-selection-dialog__main" }, bl = {
|
|
1579
1580
|
key: 0,
|
|
1580
1581
|
class: "qy-selection-dialog__selected"
|
|
1581
|
-
},
|
|
1582
|
+
}, Sl = { class: "qy-selection-dialog__selected-tags" }, ql = {
|
|
1582
1583
|
key: 0,
|
|
1583
1584
|
class: "qy-selection-dialog__selected-actions"
|
|
1584
|
-
},
|
|
1585
|
+
}, Ql = {
|
|
1585
1586
|
key: 1,
|
|
1586
1587
|
class: "qy-selection-dialog__search-row"
|
|
1587
|
-
},
|
|
1588
|
+
}, _l = {
|
|
1588
1589
|
key: 0,
|
|
1589
1590
|
class: "qy-selection-dialog__toolbar"
|
|
1590
|
-
},
|
|
1591
|
+
}, wl = {
|
|
1591
1592
|
key: 2,
|
|
1592
1593
|
class: "qy-selection-dialog__pagination"
|
|
1593
|
-
},
|
|
1594
|
-
function
|
|
1595
|
-
const y =
|
|
1594
|
+
}, Cl = { class: "qy-selection-dialog__paste-actions" };
|
|
1595
|
+
function kl(t, i, a, e, n, B) {
|
|
1596
|
+
const y = Ha;
|
|
1596
1597
|
return b(), oe(e.QyDialog, {
|
|
1597
1598
|
open: a.open,
|
|
1598
1599
|
title: a.title,
|
|
@@ -1602,10 +1603,10 @@ function wr(t, i, a, e, n, P) {
|
|
|
1602
1603
|
onCancel: e.handleCancel
|
|
1603
1604
|
}, {
|
|
1604
1605
|
default: v(() => [
|
|
1605
|
-
$("div",
|
|
1606
|
+
$("div", hl, [
|
|
1606
1607
|
_(t.$slots, "side", {}, void 0, !0),
|
|
1607
|
-
$("div",
|
|
1608
|
-
a.showSelected ? (b(),
|
|
1608
|
+
$("div", vl, [
|
|
1609
|
+
a.showSelected ? (b(), F("div", bl, [
|
|
1609
1610
|
i[12] || (i[12] = $(
|
|
1610
1611
|
"span",
|
|
1611
1612
|
{ class: "qy-selection-dialog__selected-label" },
|
|
@@ -1613,8 +1614,8 @@ function wr(t, i, a, e, n, P) {
|
|
|
1613
1614
|
-1
|
|
1614
1615
|
/* CACHED */
|
|
1615
1616
|
)),
|
|
1616
|
-
$("div",
|
|
1617
|
-
(b(!0),
|
|
1617
|
+
$("div", Sl, [
|
|
1618
|
+
(b(!0), F(
|
|
1618
1619
|
Qe,
|
|
1619
1620
|
null,
|
|
1620
1621
|
Te(e.innerSelectedRows, (u) => (b(), oe(e.QyTag, {
|
|
@@ -1636,7 +1637,7 @@ function wr(t, i, a, e, n, P) {
|
|
|
1636
1637
|
128
|
|
1637
1638
|
/* KEYED_FRAGMENT */
|
|
1638
1639
|
)),
|
|
1639
|
-
e.innerSelectedRows.length ?
|
|
1640
|
+
e.innerSelectedRows.length ? I("v-if", !0) : (b(), oe(e.QyTag, {
|
|
1640
1641
|
key: 0,
|
|
1641
1642
|
tone: "info"
|
|
1642
1643
|
}, {
|
|
@@ -1651,7 +1652,7 @@ function wr(t, i, a, e, n, P) {
|
|
|
1651
1652
|
/* STABLE */
|
|
1652
1653
|
}))
|
|
1653
1654
|
]),
|
|
1654
|
-
a.showCopyPaste ? (b(),
|
|
1655
|
+
a.showCopyPaste ? (b(), F("div", ql, [
|
|
1655
1656
|
O(e.ElButton, {
|
|
1656
1657
|
size: "small",
|
|
1657
1658
|
onClick: e.copySelection
|
|
@@ -1680,9 +1681,9 @@ function wr(t, i, a, e, n, P) {
|
|
|
1680
1681
|
_: 1
|
|
1681
1682
|
/* STABLE */
|
|
1682
1683
|
})
|
|
1683
|
-
])) :
|
|
1684
|
-
])) :
|
|
1685
|
-
e.showSearchBar ? (b(),
|
|
1684
|
+
])) : I("v-if", !0)
|
|
1685
|
+
])) : I("v-if", !0),
|
|
1686
|
+
e.showSearchBar ? (b(), F("div", Ql, [
|
|
1686
1687
|
O(e.ElForm, {
|
|
1687
1688
|
class: "qy-selection-dialog__search",
|
|
1688
1689
|
inline: "",
|
|
@@ -1713,7 +1714,7 @@ function wr(t, i, a, e, n, P) {
|
|
|
1713
1714
|
]),
|
|
1714
1715
|
_: 1
|
|
1715
1716
|
/* STABLE */
|
|
1716
|
-
})) :
|
|
1717
|
+
})) : I("v-if", !0),
|
|
1717
1718
|
e.resolvedTypeOptions.length ? (b(), oe(e.ElFormItem, {
|
|
1718
1719
|
key: 1,
|
|
1719
1720
|
label: "类型"
|
|
@@ -1730,7 +1731,7 @@ function wr(t, i, a, e, n, P) {
|
|
|
1730
1731
|
]),
|
|
1731
1732
|
_: 1
|
|
1732
1733
|
/* STABLE */
|
|
1733
|
-
})) :
|
|
1734
|
+
})) : I("v-if", !0),
|
|
1734
1735
|
a.searchKey ? (b(), oe(e.ElFormItem, {
|
|
1735
1736
|
key: 2,
|
|
1736
1737
|
label: "搜索"
|
|
@@ -1742,12 +1743,12 @@ function wr(t, i, a, e, n, P) {
|
|
|
1742
1743
|
clearable: "",
|
|
1743
1744
|
placeholder: "请输入",
|
|
1744
1745
|
class: "qy-selection-dialog__search-input",
|
|
1745
|
-
onKeydown: Fe(
|
|
1746
|
+
onKeydown: Ie(Fe(e.handleQuerySearch, ["prevent"]), ["enter"])
|
|
1746
1747
|
}, null, 8, ["modelValue", "onKeydown"])
|
|
1747
1748
|
]),
|
|
1748
1749
|
_: 1
|
|
1749
1750
|
/* STABLE */
|
|
1750
|
-
})) :
|
|
1751
|
+
})) : I("v-if", !0),
|
|
1751
1752
|
O(e.ElFormItem, null, {
|
|
1752
1753
|
default: v(() => [
|
|
1753
1754
|
O(e.ElButton, {
|
|
@@ -1784,7 +1785,7 @@ function wr(t, i, a, e, n, P) {
|
|
|
1784
1785
|
_: 3
|
|
1785
1786
|
/* FORWARDED */
|
|
1786
1787
|
}, 8, ["model"]),
|
|
1787
|
-
e.showToolbar ? (b(),
|
|
1788
|
+
e.showToolbar ? (b(), F("div", _l, [
|
|
1788
1789
|
e.showAppendButton ? (b(), oe(e.ElButton, {
|
|
1789
1790
|
key: 0,
|
|
1790
1791
|
type: "primary",
|
|
@@ -1799,7 +1800,7 @@ function wr(t, i, a, e, n, P) {
|
|
|
1799
1800
|
])]),
|
|
1800
1801
|
_: 1
|
|
1801
1802
|
/* STABLE */
|
|
1802
|
-
})) :
|
|
1803
|
+
})) : I("v-if", !0),
|
|
1803
1804
|
_(t.$slots, "toolbar", {
|
|
1804
1805
|
query: e.queryForm,
|
|
1805
1806
|
search: e.handleQuerySearch
|
|
@@ -1808,8 +1809,8 @@ function wr(t, i, a, e, n, P) {
|
|
|
1808
1809
|
query: e.queryForm,
|
|
1809
1810
|
search: e.handleQuerySearch
|
|
1810
1811
|
}, void 0, !0)
|
|
1811
|
-
])) :
|
|
1812
|
-
])) :
|
|
1812
|
+
])) : I("v-if", !0)
|
|
1813
|
+
])) : I("v-if", !0),
|
|
1813
1814
|
Me((b(), oe(e.ElTable, fe({
|
|
1814
1815
|
ref: "tableRef",
|
|
1815
1816
|
data: e.tableData,
|
|
@@ -1830,7 +1831,7 @@ function wr(t, i, a, e, n, P) {
|
|
|
1830
1831
|
"reserve-selection": "",
|
|
1831
1832
|
width: "42",
|
|
1832
1833
|
selectable: (u = e.resolvedTableProps) == null ? void 0 : u.selectable
|
|
1833
|
-
}, null, 8, ["selectable"])) :
|
|
1834
|
+
}, null, 8, ["selectable"])) : I("v-if", !0),
|
|
1834
1835
|
_(t.$slots, "columns", {}, void 0, !0),
|
|
1835
1836
|
_(t.$slots, "cols", {}, void 0, !0)
|
|
1836
1837
|
];
|
|
@@ -1840,7 +1841,7 @@ function wr(t, i, a, e, n, P) {
|
|
|
1840
1841
|
}, 16, ["data", "row-key"])), [
|
|
1841
1842
|
[y, e.loading]
|
|
1842
1843
|
]),
|
|
1843
|
-
a.showPagination && e.total > 0 ? (b(),
|
|
1844
|
+
a.showPagination && e.total > 0 ? (b(), F("div", wl, [
|
|
1844
1845
|
O(e.ElPagination, {
|
|
1845
1846
|
"current-page": e.queryForm.page,
|
|
1846
1847
|
"onUpdate:currentPage": i[4] || (i[4] = (u) => e.queryForm.page = u),
|
|
@@ -1852,7 +1853,7 @@ function wr(t, i, a, e, n, P) {
|
|
|
1852
1853
|
onSizeChange: e.handlePageSizeChange,
|
|
1853
1854
|
onCurrentChange: e.handleSearch
|
|
1854
1855
|
}, null, 8, ["current-page", "page-size", "total", "page-sizes"])
|
|
1855
|
-
])) :
|
|
1856
|
+
])) : I("v-if", !0)
|
|
1856
1857
|
])
|
|
1857
1858
|
]),
|
|
1858
1859
|
O(e.QyDialog, {
|
|
@@ -1869,7 +1870,7 @@ function wr(t, i, a, e, n, P) {
|
|
|
1869
1870
|
type: "textarea",
|
|
1870
1871
|
rows: 8
|
|
1871
1872
|
}, null, 8, ["modelValue"]),
|
|
1872
|
-
$("div",
|
|
1873
|
+
$("div", Cl, [
|
|
1873
1874
|
O(e.ElButton, {
|
|
1874
1875
|
onClick: i[7] || (i[7] = (u) => e.pasteDialogOpen = !1)
|
|
1875
1876
|
}, {
|
|
@@ -1907,7 +1908,7 @@ function wr(t, i, a, e, n, P) {
|
|
|
1907
1908
|
/* FORWARDED */
|
|
1908
1909
|
}, 8, ["open", "title", "width"]);
|
|
1909
1910
|
}
|
|
1910
|
-
const Xe = /* @__PURE__ */ ye(
|
|
1911
|
+
const Xe = /* @__PURE__ */ ye(pl, [["render", kl], ["__scopeId", "data-v-58940077"], ["__file", "D:/xushenz/qy-components/packages/ui/lib/qy-selection-dialog/index.vue"]]), Tl = /* @__PURE__ */ he({
|
|
1911
1912
|
name: "QyLegacySelectionDialog",
|
|
1912
1913
|
inheritAttrs: !1,
|
|
1913
1914
|
__name: "index",
|
|
@@ -1934,7 +1935,7 @@ const Xe = /* @__PURE__ */ ye(mr, [["render", wr], ["__scopeId", "data-v-5894007
|
|
|
1934
1935
|
},
|
|
1935
1936
|
emits: ["close", "submit", "openDialog", "changeIndexShow"],
|
|
1936
1937
|
setup(t, { expose: i, emit: a }) {
|
|
1937
|
-
const e = t, n = a,
|
|
1938
|
+
const e = t, n = a, B = pe(), y = x(null), u = Ce({
|
|
1938
1939
|
category: [],
|
|
1939
1940
|
code: "",
|
|
1940
1941
|
...e.searchKey ? { [e.searchKey]: "" } : {},
|
|
@@ -1954,47 +1955,47 @@ const Xe = /* @__PURE__ */ ye(mr, [["render", wr], ["__scopeId", "data-v-5894007
|
|
|
1954
1955
|
dialogOpen: !1,
|
|
1955
1956
|
pasteData: "",
|
|
1956
1957
|
pasteDataDialog: !1
|
|
1957
|
-
}),
|
|
1958
|
+
}), D = C(() => e.type || []), Q = C(() => m.categories), R = async (s) => {
|
|
1958
1959
|
if (!e.query) return { data: { records: [], total: 0 } };
|
|
1959
1960
|
const q = await e.query(W(s)), k = e.responseFormatter ? await e.responseFormatter(q) : q;
|
|
1960
1961
|
return m.total = d(k), k;
|
|
1961
1962
|
};
|
|
1962
|
-
|
|
1963
|
+
le(
|
|
1963
1964
|
() => e.open,
|
|
1964
1965
|
(s) => {
|
|
1965
1966
|
m.open = s;
|
|
1966
1967
|
},
|
|
1967
1968
|
{ immediate: !0 }
|
|
1968
|
-
),
|
|
1969
|
-
|
|
1969
|
+
), le(
|
|
1970
|
+
D,
|
|
1970
1971
|
(s) => {
|
|
1971
1972
|
m.types = [...s];
|
|
1972
1973
|
},
|
|
1973
1974
|
{ immediate: !0, deep: !0 }
|
|
1974
|
-
),
|
|
1975
|
+
), le(
|
|
1975
1976
|
[() => e.selected, () => e.open],
|
|
1976
1977
|
() => {
|
|
1977
1978
|
e.open && (m.selection = E(e.selected));
|
|
1978
1979
|
},
|
|
1979
1980
|
{ immediate: !0, deep: !0 }
|
|
1980
|
-
),
|
|
1981
|
+
), le(
|
|
1981
1982
|
() => e.queryParams,
|
|
1982
1983
|
() => {
|
|
1983
1984
|
Object.assign(u, e.queryParams);
|
|
1984
1985
|
},
|
|
1985
1986
|
{ deep: !0 }
|
|
1986
|
-
),
|
|
1987
|
+
), le(
|
|
1987
1988
|
() => m.pasteDataDialog,
|
|
1988
1989
|
(s) => {
|
|
1989
1990
|
s || (m.pasteData = "");
|
|
1990
1991
|
}
|
|
1991
|
-
),
|
|
1992
|
+
), le(
|
|
1992
1993
|
() => e.select,
|
|
1993
1994
|
async () => {
|
|
1994
1995
|
e.select && await N(e.select);
|
|
1995
1996
|
},
|
|
1996
1997
|
{ deep: !0 }
|
|
1997
|
-
),
|
|
1998
|
+
), le(
|
|
1998
1999
|
() => e.open,
|
|
1999
2000
|
async (s) => {
|
|
2000
2001
|
s && (m.dialogOpen = !1, await w());
|
|
@@ -2016,7 +2017,7 @@ const Xe = /* @__PURE__ */ ye(mr, [["render", wr], ["__scopeId", "data-v-5894007
|
|
|
2016
2017
|
function Z(s) {
|
|
2017
2018
|
m.selection = E(s);
|
|
2018
2019
|
}
|
|
2019
|
-
function
|
|
2020
|
+
function U(s) {
|
|
2020
2021
|
var q;
|
|
2021
2022
|
m.tableData = s, m.tableRef = (q = y.value) == null ? void 0 : q.getTableRef();
|
|
2022
2023
|
}
|
|
@@ -2038,10 +2039,10 @@ const Xe = /* @__PURE__ */ ye(mr, [["render", wr], ["__scopeId", "data-v-5894007
|
|
|
2038
2039
|
...u,
|
|
2039
2040
|
[e.searchKey]: s[e.mainKey],
|
|
2040
2041
|
category: []
|
|
2041
|
-
}), k = e.responseFormatter ? await e.responseFormatter(q) : q, [
|
|
2042
|
-
|
|
2043
|
-
(ae) => ae[e.mainKey] !==
|
|
2044
|
-
), m.selection.push(
|
|
2042
|
+
}), k = e.responseFormatter ? await e.responseFormatter(q) : q, [P] = o(k);
|
|
2043
|
+
P && (e.selection === "multi" ? (m.selection = m.selection.filter(
|
|
2044
|
+
(ae) => ae[e.mainKey] !== P[e.mainKey]
|
|
2045
|
+
), m.selection.push(P)) : m.selection = [P]);
|
|
2045
2046
|
}
|
|
2046
2047
|
function W(s = {}) {
|
|
2047
2048
|
u.page = s.page ?? u.page, u.pageSize = s.pageSize ?? u.pageSize;
|
|
@@ -2063,8 +2064,8 @@ const Xe = /* @__PURE__ */ ye(mr, [["render", wr], ["__scopeId", "data-v-5894007
|
|
|
2063
2064
|
function G(s, q) {
|
|
2064
2065
|
for (const k of s || []) {
|
|
2065
2066
|
if (k.value === q) return k;
|
|
2066
|
-
const
|
|
2067
|
-
if (
|
|
2067
|
+
const P = G(k.children || [], q);
|
|
2068
|
+
if (P) return P;
|
|
2068
2069
|
}
|
|
2069
2070
|
}
|
|
2070
2071
|
function j(s) {
|
|
@@ -2076,29 +2077,29 @@ const Xe = /* @__PURE__ */ ye(mr, [["render", wr], ["__scopeId", "data-v-5894007
|
|
|
2076
2077
|
if (typeof e.categoryFormatter == "function")
|
|
2077
2078
|
return e.categoryFormatter(q);
|
|
2078
2079
|
if (Array.isArray(e.categoryFormatter)) {
|
|
2079
|
-
const [k,
|
|
2080
|
-
return S(p(q,
|
|
2080
|
+
const [k, P] = e.categoryFormatter;
|
|
2081
|
+
return S(p(q, P), k, P);
|
|
2081
2082
|
}
|
|
2082
2083
|
return q;
|
|
2083
2084
|
}
|
|
2084
2085
|
function p(s, q) {
|
|
2085
|
-
const k = s.map((ae) => ({ ...ae })),
|
|
2086
|
+
const k = s.map((ae) => ({ ...ae })), P = [];
|
|
2086
2087
|
return k.forEach((ae) => {
|
|
2087
2088
|
const se = ae.parentCateCode;
|
|
2088
2089
|
if (!se) {
|
|
2089
|
-
|
|
2090
|
+
P.push(ae);
|
|
2090
2091
|
return;
|
|
2091
2092
|
}
|
|
2092
2093
|
const ne = k.find((ue) => ue[q] === se);
|
|
2093
|
-
ne ? (ne.children || (ne.children = [])).push(ae) :
|
|
2094
|
-
}),
|
|
2094
|
+
ne ? (ne.children || (ne.children = [])).push(ae) : P.push(ae);
|
|
2095
|
+
}), P;
|
|
2095
2096
|
}
|
|
2096
2097
|
function S(s, q, k) {
|
|
2097
|
-
return s.map((
|
|
2098
|
-
...
|
|
2099
|
-
label:
|
|
2100
|
-
value:
|
|
2101
|
-
children: Array.isArray(
|
|
2098
|
+
return s.map((P) => ({
|
|
2099
|
+
...P,
|
|
2100
|
+
label: P[q],
|
|
2101
|
+
value: P[k],
|
|
2102
|
+
children: Array.isArray(P.children) ? S(P.children, q, k) : P.children
|
|
2102
2103
|
}));
|
|
2103
2104
|
}
|
|
2104
2105
|
function o(s) {
|
|
@@ -2122,26 +2123,26 @@ const Xe = /* @__PURE__ */ ye(mr, [["render", wr], ["__scopeId", "data-v-5894007
|
|
|
2122
2123
|
getTableData: () => m.tableData,
|
|
2123
2124
|
getSelection: () => E(m.selection)
|
|
2124
2125
|
});
|
|
2125
|
-
const H = { props: e, emit: n, attrs:
|
|
2126
|
+
const H = { props: e, emit: n, attrs: B, selectionDialogRef: y, queryForm: u, state: m, resolvedTypeOptions: D, categoryOptions: Q, legacyQuery: R, loadCategoryOptions: w, handleConditionChange: A, handleSelectionChange: Z, handleLoaded: U, handleConfirm: K, handleCancel: V, openDialog: X, handleChangeIndexShow: ee, selectByLegacyValue: N, buildRequestQuery: W, getCategoryQueryParam: M, findCategory: G, collectCategoryValues: j, normalizeCategoryOptions: te, arrayToTree: p, addTreeSelectFields: S, normalizeRows: o, normalizeTotal: d, cloneRows: E, get ElButton() {
|
|
2126
2127
|
return we;
|
|
2127
2128
|
}, get ElForm() {
|
|
2128
2129
|
return Ne;
|
|
2129
2130
|
}, get ElFormItem() {
|
|
2130
2131
|
return je;
|
|
2131
2132
|
}, get ElInput() {
|
|
2132
|
-
return
|
|
2133
|
+
return Be;
|
|
2133
2134
|
}, get ElOption() {
|
|
2134
|
-
return Le;
|
|
2135
|
-
}, get ElSelect() {
|
|
2136
2135
|
return Ue;
|
|
2136
|
+
}, get ElSelect() {
|
|
2137
|
+
return Le;
|
|
2137
2138
|
}, get ElTreeSelect() {
|
|
2138
|
-
return
|
|
2139
|
+
return Va;
|
|
2139
2140
|
}, QySelectionDialog: Xe };
|
|
2140
2141
|
return Object.defineProperty(H, "__isScriptSetup", { enumerable: !1, value: !0 }), H;
|
|
2141
2142
|
}
|
|
2142
2143
|
});
|
|
2143
|
-
function
|
|
2144
|
-
return b(),
|
|
2144
|
+
function Pl(t, i, a, e, n, B) {
|
|
2145
|
+
return b(), F(
|
|
2145
2146
|
Qe,
|
|
2146
2147
|
null,
|
|
2147
2148
|
[
|
|
@@ -2206,7 +2207,7 @@ function kr(t, i, a, e, n, P) {
|
|
|
2206
2207
|
]),
|
|
2207
2208
|
_: 1
|
|
2208
2209
|
/* STABLE */
|
|
2209
|
-
})) :
|
|
2210
|
+
})) : I("v-if", !0),
|
|
2210
2211
|
e.resolvedTypeOptions.length ? (b(), oe(e.ElFormItem, {
|
|
2211
2212
|
key: 1,
|
|
2212
2213
|
label: "类型"
|
|
@@ -2218,7 +2219,7 @@ function kr(t, i, a, e, n, P) {
|
|
|
2218
2219
|
clearable: ""
|
|
2219
2220
|
}, a.typeSelectionProps, { onChange: e.handleConditionChange }), {
|
|
2220
2221
|
default: v(() => [
|
|
2221
|
-
(b(!0),
|
|
2222
|
+
(b(!0), F(
|
|
2222
2223
|
Qe,
|
|
2223
2224
|
null,
|
|
2224
2225
|
Te(e.resolvedTypeOptions, (y) => (b(), oe(e.ElOption, {
|
|
@@ -2236,7 +2237,7 @@ function kr(t, i, a, e, n, P) {
|
|
|
2236
2237
|
]),
|
|
2237
2238
|
_: 1
|
|
2238
2239
|
/* STABLE */
|
|
2239
|
-
})) :
|
|
2240
|
+
})) : I("v-if", !0),
|
|
2240
2241
|
a.searchKey ? (b(), oe(e.ElFormItem, {
|
|
2241
2242
|
key: 2,
|
|
2242
2243
|
label: "搜索"
|
|
@@ -2247,12 +2248,12 @@ function kr(t, i, a, e, n, P) {
|
|
|
2247
2248
|
"onUpdate:modelValue": i[2] || (i[2] = (y) => e.queryForm[a.searchKey] = y),
|
|
2248
2249
|
clearable: "",
|
|
2249
2250
|
class: "qy-legacy-selection-dialog__search-input",
|
|
2250
|
-
onKeydown: Fe(
|
|
2251
|
+
onKeydown: Ie(Fe(e.handleConditionChange, ["prevent"]), ["enter"])
|
|
2251
2252
|
}, null, 8, ["modelValue", "onKeydown"])
|
|
2252
2253
|
]),
|
|
2253
2254
|
_: 1
|
|
2254
2255
|
/* STABLE */
|
|
2255
|
-
})) :
|
|
2256
|
+
})) : I("v-if", !0),
|
|
2256
2257
|
O(e.ElFormItem, null, {
|
|
2257
2258
|
default: v(() => [
|
|
2258
2259
|
O(e.ElButton, {
|
|
@@ -2301,7 +2302,7 @@ function kr(t, i, a, e, n, P) {
|
|
|
2301
2302
|
/* STABLE_FRAGMENT */
|
|
2302
2303
|
);
|
|
2303
2304
|
}
|
|
2304
|
-
const
|
|
2305
|
+
const Il = /* @__PURE__ */ ye(Tl, [["render", Pl], ["__scopeId", "data-v-e4bb0886"], ["__file", "D:/xushenz/qy-components/packages/ui/lib/qy-legacy-selection-dialog/index.vue"]]), Fl = /* @__PURE__ */ he({
|
|
2305
2306
|
name: "QyFormSection",
|
|
2306
2307
|
__name: "index",
|
|
2307
2308
|
props: {
|
|
@@ -2319,31 +2320,31 @@ const Tr = /* @__PURE__ */ ye(Cr, [["render", kr], ["__scopeId", "data-v-e4bb088
|
|
|
2319
2320
|
emits: ["toggle"],
|
|
2320
2321
|
setup(t, { expose: i, emit: a }) {
|
|
2321
2322
|
i();
|
|
2322
|
-
const e = t, n = a,
|
|
2323
|
-
|
|
2323
|
+
const e = t, n = a, B = x(e.defaultExpanded);
|
|
2324
|
+
le(
|
|
2324
2325
|
() => e.defaultExpanded,
|
|
2325
|
-
(
|
|
2326
|
-
|
|
2326
|
+
(D) => {
|
|
2327
|
+
B.value = D;
|
|
2327
2328
|
}
|
|
2328
2329
|
);
|
|
2329
2330
|
function y() {
|
|
2330
|
-
e.collapsible && (
|
|
2331
|
+
e.collapsible && (B.value = !B.value, n("toggle", B.value));
|
|
2331
2332
|
}
|
|
2332
2333
|
function u() {
|
|
2333
2334
|
e.collapsible && y();
|
|
2334
2335
|
}
|
|
2335
|
-
const m = { props: e, emit: n, expanded:
|
|
2336
|
+
const m = { props: e, emit: n, expanded: B, toggleExpanded: y, handleHeaderClick: u };
|
|
2336
2337
|
return Object.defineProperty(m, "__isScriptSetup", { enumerable: !1, value: !0 }), m;
|
|
2337
2338
|
}
|
|
2338
|
-
}),
|
|
2339
|
+
}), Bl = { class: "qy-form-section__heading" }, Al = {
|
|
2339
2340
|
key: 0,
|
|
2340
2341
|
class: "qy-form-section__title"
|
|
2341
|
-
},
|
|
2342
|
+
}, Vl = {
|
|
2342
2343
|
key: 0,
|
|
2343
2344
|
class: "qy-form-section__description"
|
|
2344
|
-
},
|
|
2345
|
-
function
|
|
2346
|
-
return b(),
|
|
2345
|
+
}, El = { class: "qy-form-section__actions" };
|
|
2346
|
+
function Ol(t, i, a, e, n, B) {
|
|
2347
|
+
return b(), F(
|
|
2347
2348
|
"section",
|
|
2348
2349
|
{
|
|
2349
2350
|
class: ge(["qy-form-section", [
|
|
@@ -2362,40 +2363,40 @@ function Vr(t, i, a, e, n, P) {
|
|
|
2362
2363
|
onClick: e.handleHeaderClick
|
|
2363
2364
|
},
|
|
2364
2365
|
[
|
|
2365
|
-
$("div",
|
|
2366
|
+
$("div", Bl, [
|
|
2366
2367
|
_(t.$slots, "title", {}, () => [
|
|
2367
|
-
a.title ? (b(),
|
|
2368
|
+
a.title ? (b(), F(
|
|
2368
2369
|
"div",
|
|
2369
|
-
|
|
2370
|
+
Al,
|
|
2370
2371
|
ce(a.title),
|
|
2371
2372
|
1
|
|
2372
2373
|
/* TEXT */
|
|
2373
|
-
)) :
|
|
2374
|
+
)) : I("v-if", !0)
|
|
2374
2375
|
], !0),
|
|
2375
2376
|
_(t.$slots, "description", {}, () => [
|
|
2376
|
-
a.description ? (b(),
|
|
2377
|
+
a.description ? (b(), F(
|
|
2377
2378
|
"div",
|
|
2378
|
-
|
|
2379
|
+
Vl,
|
|
2379
2380
|
ce(a.description),
|
|
2380
2381
|
1
|
|
2381
2382
|
/* TEXT */
|
|
2382
|
-
)) :
|
|
2383
|
+
)) : I("v-if", !0)
|
|
2383
2384
|
], !0)
|
|
2384
2385
|
]),
|
|
2385
|
-
$("div",
|
|
2386
|
+
$("div", El, [
|
|
2386
2387
|
_(t.$slots, "actions", {}, void 0, !0),
|
|
2387
|
-
a.collapsible ? (b(),
|
|
2388
|
+
a.collapsible ? (b(), F(
|
|
2388
2389
|
"button",
|
|
2389
2390
|
{
|
|
2390
2391
|
key: 0,
|
|
2391
2392
|
type: "button",
|
|
2392
2393
|
class: "qy-form-section__toggle",
|
|
2393
|
-
onClick:
|
|
2394
|
+
onClick: Fe(e.toggleExpanded, ["stop"])
|
|
2394
2395
|
},
|
|
2395
2396
|
ce(e.expanded ? "收起" : "展开"),
|
|
2396
2397
|
1
|
|
2397
2398
|
/* TEXT */
|
|
2398
|
-
)) :
|
|
2399
|
+
)) : I("v-if", !0)
|
|
2399
2400
|
])
|
|
2400
2401
|
],
|
|
2401
2402
|
2
|
|
@@ -2408,7 +2409,7 @@ function Vr(t, i, a, e, n, P) {
|
|
|
2408
2409
|
},
|
|
2409
2410
|
[
|
|
2410
2411
|
_(t.$slots, "tip", {}, () => [
|
|
2411
|
-
a.tip ? (b(),
|
|
2412
|
+
a.tip ? (b(), F(
|
|
2412
2413
|
"div",
|
|
2413
2414
|
{
|
|
2414
2415
|
key: 0,
|
|
@@ -2417,21 +2418,21 @@ function Vr(t, i, a, e, n, P) {
|
|
|
2417
2418
|
ce(a.tip),
|
|
2418
2419
|
3
|
|
2419
2420
|
/* TEXT, CLASS */
|
|
2420
|
-
)) :
|
|
2421
|
+
)) : I("v-if", !0)
|
|
2421
2422
|
], !0),
|
|
2422
2423
|
_(t.$slots, "default", {}, void 0, !0)
|
|
2423
2424
|
],
|
|
2424
2425
|
2
|
|
2425
2426
|
/* CLASS */
|
|
2426
2427
|
), [
|
|
2427
|
-
[
|
|
2428
|
+
[ka, e.expanded]
|
|
2428
2429
|
])
|
|
2429
2430
|
],
|
|
2430
2431
|
2
|
|
2431
2432
|
/* CLASS */
|
|
2432
2433
|
);
|
|
2433
2434
|
}
|
|
2434
|
-
const
|
|
2435
|
+
const xl = /* @__PURE__ */ ye(Fl, [["render", Ol], ["__scopeId", "data-v-b1a327a2"], ["__file", "D:/xushenz/qy-components/packages/ui/lib/qy-form-section/index.vue"]]), Dl = /* @__PURE__ */ he({
|
|
2435
2436
|
name: "QyActionBar",
|
|
2436
2437
|
__name: "index",
|
|
2437
2438
|
props: {
|
|
@@ -2452,18 +2453,18 @@ const Er = /* @__PURE__ */ ye(Ir, [["render", Vr], ["__scopeId", "data-v-b1a327a
|
|
|
2452
2453
|
})), n = { props: a, barStyle: e };
|
|
2453
2454
|
return Object.defineProperty(n, "__isScriptSetup", { enumerable: !1, value: !0 }), n;
|
|
2454
2455
|
}
|
|
2455
|
-
}),
|
|
2456
|
+
}), Rl = {
|
|
2456
2457
|
key: 0,
|
|
2457
2458
|
class: "qy-action-bar__left"
|
|
2458
|
-
},
|
|
2459
|
+
}, zl = {
|
|
2459
2460
|
key: 1,
|
|
2460
2461
|
class: "qy-action-bar__center"
|
|
2461
|
-
},
|
|
2462
|
+
}, Kl = {
|
|
2462
2463
|
key: 2,
|
|
2463
2464
|
class: "qy-action-bar__right"
|
|
2464
2465
|
};
|
|
2465
|
-
function
|
|
2466
|
-
return b(),
|
|
2466
|
+
function Ml(t, i, a, e, n, B) {
|
|
2467
|
+
return b(), F(
|
|
2467
2468
|
"div",
|
|
2468
2469
|
{
|
|
2469
2470
|
class: ge(["qy-action-bar", [
|
|
@@ -2475,44 +2476,44 @@ function zr(t, i, a, e, n, P) {
|
|
|
2475
2476
|
"is-wrap": a.wrap
|
|
2476
2477
|
}
|
|
2477
2478
|
]]),
|
|
2478
|
-
style:
|
|
2479
|
+
style: Re(e.barStyle)
|
|
2479
2480
|
},
|
|
2480
2481
|
[
|
|
2481
|
-
t.$slots.left ? (b(),
|
|
2482
|
+
t.$slots.left ? (b(), F("div", Rl, [
|
|
2482
2483
|
_(t.$slots, "left", {}, void 0, !0)
|
|
2483
|
-
])) :
|
|
2484
|
-
t.$slots.default ? (b(),
|
|
2484
|
+
])) : I("v-if", !0),
|
|
2485
|
+
t.$slots.default ? (b(), F("div", zl, [
|
|
2485
2486
|
_(t.$slots, "default", {}, void 0, !0)
|
|
2486
|
-
])) :
|
|
2487
|
-
t.$slots.right ? (b(),
|
|
2487
|
+
])) : I("v-if", !0),
|
|
2488
|
+
t.$slots.right ? (b(), F("div", Kl, [
|
|
2488
2489
|
_(t.$slots, "right", {}, void 0, !0)
|
|
2489
|
-
])) :
|
|
2490
|
+
])) : I("v-if", !0)
|
|
2490
2491
|
],
|
|
2491
2492
|
6
|
|
2492
2493
|
/* CLASS, STYLE */
|
|
2493
2494
|
);
|
|
2494
2495
|
}
|
|
2495
|
-
const
|
|
2496
|
-
|
|
2496
|
+
const Ll = /* @__PURE__ */ ye(Dl, [["render", Ml], ["__scopeId", "data-v-1efb467b"], ["__file", "D:/xushenz/qy-components/packages/ui/lib/qy-action-bar/index.vue"]]), Ye = c(De, "QyUpload"), $e = c(ba, "QyImage"), et = c(Sa, "QyImagePreview"), tt = c(Mo, "QyImageUpload"), at = c(xe, "QyDialog"), ot = c(el, "QyRemarkImage"), lt = c(Ea, "QyButton"), rt = c(Oa, "QyDropdown"), nt = c(xa, "QyInput"), it = c(Da, "QyInputTag"), st = c(Ra, "QyInputNumber"), ut = c(za, "QyMoneyInput"), dt = c(Ka, "QyDatePicker"), ct = c(Ma, "QyCheckbox"), ft = c(La, "QyCheckboxGroup"), yt = c(Ua, "QyRadio"), mt = c(ja, "QyAutocomplete"), gt = c(Na, "QyMenuActions"), pt = c(
|
|
2497
|
+
Wa,
|
|
2497
2498
|
"QyTableColumnSettings"
|
|
2498
|
-
), ht =
|
|
2499
|
-
|
|
2499
|
+
), ht = c(Ga, "QyRadioGroup"), vt = c(ol, "QyRemoteSelect"), bt = c(Ze, "QySearchInput"), St = c(
|
|
2500
|
+
gl,
|
|
2500
2501
|
"QyRecordQuoteSearch"
|
|
2501
|
-
), qt =
|
|
2502
|
-
|
|
2502
|
+
), qt = c(Ae, "QySelect"), Qt = c(We, "QyTreeSelect"), _t = c(Xe, "QySelectionDialog"), wt = c(
|
|
2503
|
+
Il,
|
|
2503
2504
|
"QyLegacySelectionDialog"
|
|
2504
|
-
), Ct =
|
|
2505
|
-
Je.install(t), t.component("QyDialog", at), t.component("QyDrawer",
|
|
2506
|
-
},
|
|
2507
|
-
install:
|
|
2505
|
+
), Ct = c(xl, "QyFormSection"), kt = c(Ll, "QyActionBar"), Tt = c(Ja, "QyFilePicker"), Pt = c(Za, "QySwitch"), It = c(Ge, "QyTag"), Ft = c(Xa, "QyBadge"), Bt = c(Ya, "QyCascader"), At = c($a, "QyTooltip"), Vt = c(eo, "QyPopover"), Et = c(to, "QyPopconfirm"), Ot = c(ao, "QySkeleton"), xt = c(oo, "QySkeletonItem"), Dt = c(lo, "QyTabs"), Rt = c(ro, "QyTabPane"), zt = c(no, "QySteps"), Kt = c(io, "QyStep"), Mt = c(so, "QyFullscreen"), Lt = c(fo, "QyRow"), Ut = c(yo, "QyCol"), jt = c(mo, "QyContainer"), Nt = c(go, "QyAside"), Wt = c(po, "QyMain"), Gt = c(ho, "QyDescriptions"), Ht = c(vo, "QyDescriptionsItem"), Jt = c(bo, "QyCollapse"), Zt = c(So, "QyCollapseItem"), Xt = c(qo, "QyLink"), Yt = c(Qo, "QyIframe"), $t = c(_o, "QyDivider"), ea = c(wo, "QyEmpty"), ta = c(Co, "QyAlert"), aa = c(ko, "QyCard"), oa = c(To, "QyResult"), la = c(Po, "QyWatermark"), ra = c(Io, "QyScrollbar"), na = c(Fo, "QyProgress"), ia = c(Bo, "QyStatistic"), sa = c(Ao, "QyAvatar"), ua = c(Vo, "QyTree"), da = c(Eo, "QyPagination"), ca = c(uo, "QyIconPicker"), fa = c(co, "QyColorPicker"), ya = c(xo, "QyDrawer"), Ul = (t) => {
|
|
2506
|
+
Je.install(t), t.component("QyDialog", at), t.component("QyDrawer", ya), t.component("QyUpload", Ye), t.component("QyImage", $e), t.component("QyImagePreview", et), t.component("QyImageUpload", tt), t.component("QyRemarkImage", ot), t.component("QyButton", lt), t.component("QyDropdown", rt), t.component("QyInput", nt), t.component("QyInputTag", it), t.component("QyInputNumber", st), t.component("QyMoneyInput", ut), t.component("QyDatePicker", dt), t.component("QyCheckbox", ct), t.component("QyCheckboxGroup", ft), t.component("QyRadio", yt), t.component("QyAutocomplete", mt), t.component("QyMenuActions", gt), t.component("QyTableColumnSettings", pt), t.component("QyRadioGroup", ht), t.component("QyRemoteSelect", vt), t.component("QySearchInput", bt), t.component("QyRecordQuoteSearch", St), t.component("QySelect", qt), t.component("QyTreeSelect", Qt), t.component("QySelectionDialog", _t), t.component("QyLegacySelectionDialog", wt), t.component("QyFormSection", Ct), t.component("QyActionBar", kt), t.component("QyFilePicker", Tt), t.component("QySwitch", Pt), t.component("QyTag", It), t.component("QyBadge", Ft), t.component("QyCascader", Bt), t.component("QyTooltip", At), t.component("QyPopover", Vt), t.component("QyPopconfirm", Et), t.component("QySkeleton", Ot), t.component("QySkeletonItem", xt), t.component("QyTabs", Dt), t.component("QyTabPane", Rt), t.component("QySteps", zt), t.component("QyStep", Kt), t.component("QyFullscreen", Mt), t.component("QyIcon", He), t.component("QyIconPicker", ca), t.component("QyColorPicker", fa), t.component("QyRow", Lt), t.component("QyCol", Ut), t.component("QyContainer", jt), t.component("QyAside", Nt), t.component("QyMain", Wt), t.component("QyDescriptions", Gt), t.component("QyDescriptionsItem", Ht), t.component("QyCollapse", Jt), t.component("QyCollapseItem", Zt), t.component("QyLink", Xt), t.component("QyIframe", Yt), t.component("QyDivider", $t), t.component("QyEmpty", ea), t.component("QyAlert", ta), t.component("QyCard", aa), t.component("QyResult", oa), t.component("QyWatermark", la), t.component("QyScrollbar", ra), t.component("QyProgress", na), t.component("QyStatistic", ia), t.component("QyAvatar", sa), t.component("QyTree", ua), t.component("QyPagination", da);
|
|
2507
|
+
}, nn = {
|
|
2508
|
+
install: Ul,
|
|
2508
2509
|
QyUpload: Ye,
|
|
2509
2510
|
QyImage: $e,
|
|
2510
2511
|
QyImagePreview: et,
|
|
2511
|
-
openQyImagePreview:
|
|
2512
|
+
openQyImagePreview: Do,
|
|
2512
2513
|
QyImageUpload: tt,
|
|
2513
2514
|
QyDialog: at,
|
|
2514
|
-
QyButton:
|
|
2515
|
-
QyDropdown:
|
|
2515
|
+
QyButton: lt,
|
|
2516
|
+
QyDropdown: rt,
|
|
2516
2517
|
QyInput: nt,
|
|
2517
2518
|
QyInputTag: it,
|
|
2518
2519
|
QyInputNumber: st,
|
|
@@ -2535,26 +2536,26 @@ const Kr = /* @__PURE__ */ ye(Or, [["render", zr], ["__scopeId", "data-v-1efb467
|
|
|
2535
2536
|
QyFormSection: Ct,
|
|
2536
2537
|
QyActionBar: kt,
|
|
2537
2538
|
QyFilePicker: Tt,
|
|
2538
|
-
QySwitch:
|
|
2539
|
-
QyTag:
|
|
2540
|
-
QyBadge:
|
|
2541
|
-
QyCascader:
|
|
2539
|
+
QySwitch: Pt,
|
|
2540
|
+
QyTag: It,
|
|
2541
|
+
QyBadge: Ft,
|
|
2542
|
+
QyCascader: Bt,
|
|
2542
2543
|
QyTooltip: At,
|
|
2543
2544
|
QyPopover: Vt,
|
|
2544
2545
|
QyPopconfirm: Et,
|
|
2545
2546
|
QySkeleton: Ot,
|
|
2546
2547
|
QySkeletonItem: xt,
|
|
2547
|
-
QyTabs:
|
|
2548
|
-
QyTabPane:
|
|
2548
|
+
QyTabs: Dt,
|
|
2549
|
+
QyTabPane: Rt,
|
|
2549
2550
|
QySteps: zt,
|
|
2550
2551
|
QyStep: Kt,
|
|
2551
2552
|
QyFullscreen: Mt,
|
|
2552
|
-
QyDrawer:
|
|
2553
|
+
QyDrawer: ya,
|
|
2553
2554
|
QyIcon: He,
|
|
2554
|
-
QyIconPicker:
|
|
2555
|
-
QyColorPicker:
|
|
2556
|
-
QyRow:
|
|
2557
|
-
QyCol:
|
|
2555
|
+
QyIconPicker: ca,
|
|
2556
|
+
QyColorPicker: fa,
|
|
2557
|
+
QyRow: Lt,
|
|
2558
|
+
QyCol: Ut,
|
|
2558
2559
|
QyContainer: jt,
|
|
2559
2560
|
QyAside: Nt,
|
|
2560
2561
|
QyMain: Wt,
|
|
@@ -2569,20 +2570,21 @@ const Kr = /* @__PURE__ */ ye(Or, [["render", zr], ["__scopeId", "data-v-1efb467
|
|
|
2569
2570
|
QyAlert: ta,
|
|
2570
2571
|
QyCard: aa,
|
|
2571
2572
|
QyResult: oa,
|
|
2572
|
-
QyWatermark:
|
|
2573
|
-
QyScrollbar:
|
|
2573
|
+
QyWatermark: la,
|
|
2574
|
+
QyScrollbar: ra,
|
|
2574
2575
|
QyProgress: na,
|
|
2575
2576
|
QyStatistic: ia,
|
|
2576
2577
|
QyAvatar: sa,
|
|
2577
2578
|
QyTree: ua,
|
|
2579
|
+
QyPagination: da,
|
|
2578
2580
|
QyRemarkImage: ot,
|
|
2579
2581
|
QyLoading: Je,
|
|
2580
|
-
vQyLoading:
|
|
2581
|
-
openQyLoading:
|
|
2582
|
+
vQyLoading: Oo,
|
|
2583
|
+
openQyLoading: Ro
|
|
2582
2584
|
};
|
|
2583
2585
|
export {
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
+
qt as $,
|
|
2587
|
+
ca as A,
|
|
2586
2588
|
Yt as B,
|
|
2587
2589
|
$e as C,
|
|
2588
2590
|
et as D,
|
|
@@ -2595,61 +2597,62 @@ export {
|
|
|
2595
2597
|
Wt as K,
|
|
2596
2598
|
gt as L,
|
|
2597
2599
|
ut as M,
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2600
|
+
da as N,
|
|
2601
|
+
Et as O,
|
|
2602
|
+
Vt as P,
|
|
2601
2603
|
kt as Q,
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2604
|
+
na as R,
|
|
2605
|
+
yt as S,
|
|
2606
|
+
ht as T,
|
|
2607
|
+
St as U,
|
|
2608
|
+
ot as V,
|
|
2609
|
+
vt as W,
|
|
2610
|
+
oa as X,
|
|
2611
|
+
Lt as Y,
|
|
2612
|
+
ra as Z,
|
|
2613
|
+
bt as _,
|
|
2612
2614
|
ta as a,
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2615
|
+
_t as a0,
|
|
2616
|
+
Ot as a1,
|
|
2617
|
+
xt as a2,
|
|
2618
|
+
ia as a3,
|
|
2619
|
+
Kt as a4,
|
|
2620
|
+
zt as a5,
|
|
2621
|
+
Pt as a6,
|
|
2622
|
+
Rt as a7,
|
|
2623
|
+
pt as a8,
|
|
2624
|
+
Dt as a9,
|
|
2625
|
+
It as aa,
|
|
2626
|
+
At as ab,
|
|
2627
|
+
ua as ac,
|
|
2628
|
+
Qt as ad,
|
|
2629
|
+
Ye as ae,
|
|
2630
|
+
la as af,
|
|
2631
|
+
nn as ag,
|
|
2632
|
+
Lo as ah,
|
|
2633
|
+
Ee as ai,
|
|
2634
|
+
Oe as aj,
|
|
2632
2635
|
Nt as b,
|
|
2633
2636
|
mt as c,
|
|
2634
2637
|
sa as d,
|
|
2635
|
-
|
|
2636
|
-
|
|
2638
|
+
Ft as e,
|
|
2639
|
+
lt as f,
|
|
2637
2640
|
aa as g,
|
|
2638
|
-
|
|
2641
|
+
Bt as h,
|
|
2639
2642
|
ct as i,
|
|
2640
2643
|
ft as j,
|
|
2641
|
-
|
|
2644
|
+
Ut as k,
|
|
2642
2645
|
Jt as l,
|
|
2643
2646
|
Zt as m,
|
|
2644
|
-
|
|
2647
|
+
fa as n,
|
|
2645
2648
|
jt as o,
|
|
2646
2649
|
dt as p,
|
|
2647
2650
|
Gt as q,
|
|
2648
2651
|
Ht as r,
|
|
2649
2652
|
at as s,
|
|
2650
2653
|
$t as t,
|
|
2651
|
-
|
|
2652
|
-
|
|
2654
|
+
ya as u,
|
|
2655
|
+
rt as v,
|
|
2653
2656
|
ea as w,
|
|
2654
2657
|
Tt as x,
|
|
2655
2658
|
Ct as y,
|