@qynpm/ui 1.0.47 → 1.2.0
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/CHANGELOG.md +20 -1
- package/README.md +3 -1
- package/dist/index.cjs +26 -26
- package/dist/index.mjs +241 -241
- package/dist/qy-action-bar/index.cjs +2 -2
- package/dist/qy-action-bar/index.mjs +2 -2
- package/dist/qy-alert/index.cjs +1 -1
- package/dist/qy-alert/index.mjs +4 -4
- package/dist/qy-aside/index.cjs +1 -1
- package/dist/qy-aside/index.mjs +4 -4
- package/dist/qy-autocomplete/index.cjs +1 -1
- package/dist/qy-autocomplete/index.mjs +3 -3
- 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 +4 -4
- package/dist/qy-button/index.cjs +2 -2
- package/dist/qy-button/index.mjs +2 -2
- 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 +3 -3
- 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 +4 -4
- package/dist/qy-col/index.cjs +1 -1
- package/dist/qy-col/index.mjs +4 -4
- package/dist/qy-collapse/index.cjs +1 -1
- package/dist/qy-collapse/index.mjs +2 -2
- package/dist/qy-collapse-item/index.cjs +1 -1
- package/dist/qy-collapse-item/index.mjs +5 -5
- package/dist/qy-color-picker/index.cjs +1 -1
- package/dist/qy-color-picker/index.mjs +4 -4
- package/dist/qy-container/index.cjs +1 -1
- package/dist/qy-container/index.mjs +3 -3
- 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 +4 -4
- package/dist/qy-dialog/index.cjs +2 -2
- package/dist/qy-dialog/index.mjs +4 -4
- package/dist/qy-divider/index.cjs +1 -1
- package/dist/qy-divider/index.mjs +4 -4
- package/dist/qy-drawer/index.cjs +1 -1
- package/dist/qy-drawer/index.mjs +2 -2
- package/dist/qy-dropdown/index.cjs +2 -2
- package/dist/qy-dropdown/index.mjs +2 -2
- package/dist/qy-empty/index.cjs +1 -1
- package/dist/qy-empty/index.mjs +4 -4
- 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 +2 -2
- package/dist/qy-form-section/index.mjs +2 -2
- 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 +2 -2
- package/dist/qy-icon-picker/index.mjs +5 -5
- 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 +2 -2
- package/dist/qy-image-upload/index.mjs +4 -4
- 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 +2 -2
- package/dist/qy-input-tag/index.cjs +1 -1
- package/dist/qy-input-tag/index.mjs +134 -123
- package/dist/qy-legacy-selection-dialog/index.cjs +7 -7
- package/dist/qy-legacy-selection-dialog/index.mjs +7 -7
- package/dist/qy-link/index.cjs +1 -1
- package/dist/qy-link/index.mjs +5 -5
- package/dist/qy-main/index.cjs +1 -1
- package/dist/qy-main/index.mjs +4 -4
- 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 +4 -4
- package/dist/qy-pagination/index.cjs +1 -1
- package/dist/qy-pagination/index.mjs +1 -1
- package/dist/qy-popconfirm/index.cjs +1 -1
- package/dist/qy-popconfirm/index.mjs +5 -5
- package/dist/qy-popover/index.cjs +1 -1
- package/dist/qy-popover/index.mjs +4 -4
- package/dist/qy-progress/index.cjs +1 -1
- package/dist/qy-progress/index.mjs +3 -3
- 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 +3 -3
- package/dist/qy-record-quote-search/index.mjs +3 -3
- package/dist/qy-remark-image/index.cjs +2 -2
- package/dist/qy-remark-image/index.mjs +3 -3
- package/dist/qy-remote-select/index.cjs +2 -2
- package/dist/qy-remote-select/index.mjs +4 -4
- package/dist/qy-result/index.cjs +1 -1
- package/dist/qy-result/index.mjs +4 -4
- package/dist/qy-row/index.cjs +1 -1
- package/dist/qy-row/index.mjs +4 -4
- package/dist/qy-scrollbar/index.cjs +1 -1
- package/dist/qy-scrollbar/index.mjs +3 -3
- package/dist/qy-search-input/index.cjs +2 -2
- package/dist/qy-search-input/index.mjs +2 -2
- package/dist/qy-select/index.cjs +1 -1
- package/dist/qy-select/index.mjs +1 -1
- package/dist/qy-selection-dialog/index.cjs +6 -6
- package/dist/qy-selection-dialog/index.mjs +6 -6
- package/dist/qy-skeleton/index.cjs +1 -1
- package/dist/qy-skeleton/index.mjs +4 -4
- package/dist/qy-skeleton-item/index.cjs +1 -1
- package/dist/qy-skeleton-item/index.mjs +4 -4
- package/dist/qy-statistic/index.cjs +1 -1
- package/dist/qy-statistic/index.mjs +3 -3
- package/dist/qy-step/index.cjs +1 -1
- package/dist/qy-step/index.mjs +5 -5
- package/dist/qy-steps/index.cjs +1 -1
- package/dist/qy-steps/index.mjs +4 -4
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- package/dist/qy-tree/index.cjs +1 -1
- package/dist/qy-tree/index.mjs +5 -5
- 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-0PQfX5FF.cjs +1 -0
- package/dist/shared/index-0rmLB9X5.mjs +153 -0
- package/dist/shared/index-2Mjm9QSY.cjs +1 -0
- package/dist/shared/index-4Yl91Bw1.cjs +1 -0
- package/dist/shared/{index-DNMRIYkm.mjs → index-4f74z6ej.mjs} +1 -1
- package/dist/shared/index-5gzkbh5i.mjs +155 -0
- package/dist/shared/index-8hd7J6aU.mjs +387 -0
- package/dist/shared/index-8yOtcFvL.cjs +1 -0
- package/dist/shared/{index.vue_vue_type_script_lang-DOOT2grg.mjs → index-9ONwSw5w.mjs} +13 -12
- package/dist/shared/index-9uvmS4AG.mjs +269 -0
- package/dist/shared/index-AanbrbHj.mjs +341 -0
- package/dist/shared/index-AlGD5i9H.mjs +69 -0
- package/dist/shared/index-B5QHWuu6.mjs +77 -0
- package/dist/shared/index-BD_xspQz.mjs +48 -0
- package/dist/shared/index-BE5027ro.mjs +93 -0
- package/dist/shared/index-BEBpuiBd.mjs +88 -0
- package/dist/shared/index-BEkygL14.mjs +53 -0
- package/dist/shared/index-BEtTFM5x.cjs +1 -0
- package/dist/shared/index-BHwo-QWj.cjs +1 -0
- package/dist/shared/index-BNFOINBq.cjs +1 -0
- package/dist/shared/index-BO98Eu6o.mjs +177 -0
- package/dist/shared/index-BQhmieVL.cjs +1 -0
- package/dist/shared/{index.vue_vue_type_script_lang-BnmY1ndj.mjs → index-BQsEFX28.mjs} +24 -23
- package/dist/shared/index-BSHA0cGJ.mjs +160 -0
- package/dist/shared/{index.vue_vue_type_style_index_0_lang-BvBAR8A1.mjs → index-BToXN_2w.mjs} +18 -17
- package/dist/shared/{index.vue_vue_type_script_lang-BGAdXWIL.mjs → index-BVb2RMjG.mjs} +12 -11
- package/dist/shared/index-BZWCuG8R.cjs +1 -0
- package/dist/shared/index-BZ_NcHA_.mjs +53 -0
- package/dist/shared/{index.vue_vue_type_script_lang-DIKHRo0o.mjs → index-BZqyVU0P.mjs} +22 -21
- package/dist/shared/index-B_SR7dGJ.cjs +1 -0
- package/dist/shared/index-BerXbfTu.mjs +253 -0
- package/dist/shared/index-BflaWNs2.cjs +1 -0
- package/dist/shared/index-BhgJxAHO.cjs +1 -0
- package/dist/shared/index-BiKe-5ke.cjs +1 -0
- package/dist/shared/index-BikJ___N.cjs +1 -0
- package/dist/shared/index-Bk0SVo_S.cjs +1 -0
- package/dist/shared/index-BlC4k76M.cjs +1 -0
- package/dist/shared/index-BlRFiIMi.cjs +1 -0
- package/dist/shared/index-BlkrT9Gw.cjs +1 -0
- package/dist/shared/index-BmK0RFXS.cjs +1 -0
- package/dist/shared/index-BoyiE_59.cjs +1 -0
- package/dist/shared/index-BwHeigcB.cjs +1 -0
- package/dist/shared/index-BzVbwomQ.mjs +365 -0
- package/dist/shared/index-C0vnuFhn.cjs +1 -0
- package/dist/shared/index-C1__R9-C.mjs +371 -0
- package/dist/shared/index-C1fkmo0S.cjs +1 -0
- package/dist/shared/index-C9Lf2bX3.mjs +295 -0
- package/dist/shared/{index.vue_vue_type_script_lang-Dfq7D3mJ.mjs → index-C9n9zVss.mjs} +4 -3
- package/dist/shared/{index.vue_vue_type_script_lang-BaIOvoQn.mjs → index-CBbKlfPG.mjs} +10 -9
- package/dist/shared/index-CC5n_6uk.mjs +205 -0
- package/dist/shared/index-CDczgvbL.cjs +1 -0
- package/dist/shared/index-CESgJwIg.mjs +328 -0
- package/dist/shared/index-CFBWO7n0.mjs +78 -0
- package/dist/shared/index-CFJz6vrN.mjs +47 -0
- package/dist/shared/{index-CXnL-0Kp.cjs → index-CGFTY4Fp.cjs} +1 -1
- package/dist/shared/index-CHkcP5-q.cjs +1 -0
- package/dist/shared/index-CIUWz2Hp.cjs +1 -0
- package/dist/shared/index-COAR6xjP.mjs +402 -0
- package/dist/shared/index-CP3-7cLC.mjs +105 -0
- package/dist/shared/index-CP7N-9VV.cjs +1 -0
- package/dist/shared/{index.vue_vue_type_script_lang-D7b9ABei.mjs → index-CQRVbO-K.mjs} +20 -19
- package/dist/shared/{index.vue_vue_type_script_lang-D7nzeBUR.mjs → index-CTGLKLFg.mjs} +6 -5
- package/dist/shared/index-CWkXHOq7.cjs +1 -0
- package/dist/shared/index-CX-7EN8r.mjs +79 -0
- package/dist/shared/index-CXOF1C3t.mjs +84 -0
- package/dist/shared/index-CXeVLEcE.cjs +1 -0
- package/dist/shared/index-CXzBoO6N.cjs +1 -0
- package/dist/shared/index-C_vMHW_7.cjs +1 -0
- package/dist/shared/index-CcGYgKVf.mjs +446 -0
- package/dist/shared/index-CdqAvLtW.cjs +1 -0
- package/dist/shared/index-CfKXtmed.cjs +1 -0
- package/dist/shared/index-CfxDI3TR.mjs +284 -0
- package/dist/shared/index-Cgt_jiO8.cjs +1 -0
- package/dist/shared/index-CialZcU3.mjs +74 -0
- package/dist/shared/index-CjoH6lLx.cjs +1 -0
- package/dist/shared/index-CkXEXmTX.cjs +1 -0
- package/dist/shared/index-Cq0QWpNp.cjs +1 -0
- package/dist/shared/index-CtQ7TLzl.mjs +138 -0
- package/dist/shared/index-Ctcu-6T-.mjs +104 -0
- package/dist/shared/index-CvFL8RVZ.cjs +1 -0
- package/dist/shared/index-D-KJitUI.mjs +234 -0
- package/dist/shared/index-D-Se1DH6.cjs +1 -0
- package/dist/shared/index-D1SCfWlF.cjs +1 -0
- package/dist/shared/index-D2djzg5O.mjs +170 -0
- package/dist/shared/index-D6lq2cXm.cjs +1 -0
- package/dist/shared/index-DF3BUyOu.cjs +1 -0
- package/dist/shared/index-DGGBR9IQ.cjs +1 -0
- package/dist/shared/index-DI5Xx4zU.mjs +740 -0
- package/dist/shared/index-DMfiLqWm.cjs +1 -0
- package/dist/shared/index-DN3FSxUk.cjs +1 -0
- package/dist/shared/index-DN5Y8eHV.mjs +197 -0
- package/dist/shared/index-DNkrf-d7.cjs +1 -0
- package/dist/shared/index-DREOpf4w.cjs +1 -0
- package/dist/shared/index-DSc98P0J.mjs +957 -0
- package/dist/shared/index-DWxTBo0t.cjs +1 -0
- package/dist/shared/index-DYRxgeIB.mjs +311 -0
- package/dist/shared/index-DYhS_2hH.cjs +1 -0
- package/dist/shared/index-DZ9ixuhw.cjs +1 -0
- package/dist/shared/index-DZfZB8LS.mjs +146 -0
- package/dist/shared/index-DalbvZMR.mjs +132 -0
- package/dist/shared/index-DbpA63pp.mjs +51 -0
- package/dist/shared/index-Dd3rOEzY.mjs +136 -0
- package/dist/shared/index-DdOHKkWW.mjs +52 -0
- package/dist/shared/index-DhN2XKVc.cjs +1 -0
- package/dist/shared/index-DiZtu6-f.mjs +239 -0
- package/dist/shared/index-DkObuzo1.cjs +1 -0
- package/dist/shared/index-DkXIyXp3.mjs +27 -0
- package/dist/shared/index-DlyaXZXS.mjs +129 -0
- package/dist/shared/index-DmlIk2mW.cjs +1 -0
- package/dist/shared/index-DvLP2-p4.mjs +53 -0
- package/dist/shared/{index.vue_vue_type_script_lang-Bk0kLg5l.mjs → index-DxJnYlq4.mjs} +12 -11
- package/dist/shared/index-FSg27SoE.cjs +1 -0
- package/dist/shared/index-H0zceO6D.cjs +1 -0
- package/dist/shared/index-KFGhsuz_.mjs +63 -0
- package/dist/shared/index-KRMhlM-i.mjs +73 -0
- package/dist/shared/index-KvPH1usv.cjs +1 -0
- package/dist/shared/index-MaJdwWFj.cjs +1 -0
- package/dist/shared/index-NVs2UMip.cjs +1 -0
- package/dist/shared/index-OtL-aoXO.cjs +1 -0
- package/dist/shared/index-QHgVgpQU.mjs +67 -0
- package/dist/shared/index-R_lpFv9P.cjs +1 -0
- package/dist/shared/index-UyFdOJwl.mjs +157 -0
- package/dist/shared/{index.vue_vue_type_script_lang-C9X0V5AK.mjs → index-ZaBOgUd8.mjs} +17 -16
- package/dist/shared/index-_aPlj867.cjs +1 -0
- package/dist/shared/{index.vue_vue_type_script_lang-chBiq2cG.mjs → index-_llXjfm8.mjs} +4 -3
- package/dist/shared/index-aIBPfUAm.mjs +213 -0
- package/dist/shared/index-bR6Q3uaD.mjs +407 -0
- package/dist/shared/index-dM8FfZ_X.cjs +1 -0
- package/dist/shared/index-eIplwAX7.cjs +1 -0
- package/dist/shared/index-fEmIlZsO.cjs +1 -0
- package/dist/shared/index-frOfvcCH.mjs +307 -0
- package/dist/shared/index-iDsQyjN1.mjs +548 -0
- package/dist/shared/index-iGKTM26-.mjs +63 -0
- package/dist/shared/{index.vue_vue_type_style_index_0_lang-CN3dJjUV.mjs → index-iqem06ey.mjs} +12 -11
- package/dist/shared/index-mO9UiIQW.cjs +1 -0
- package/dist/shared/index-nYilZJM6.cjs +1 -0
- package/dist/shared/index-oZEfxmBH.cjs +1 -0
- package/dist/shared/index-oeKD9ezb.mjs +208 -0
- package/dist/shared/index-rP44D5Dd.cjs +1 -0
- package/dist/shared/index-rPOiDeUU.cjs +1 -0
- package/dist/shared/{index.vue_vue_type_script_lang-C4JHCuXz.mjs → index-tQgB7Kvd.mjs} +16 -15
- package/dist/shared/index-xCLpvAQ0.cjs +1 -0
- package/index.d.ts +1 -0
- package/package.json +2 -2
- package/qy-dialog/index.d.ts +6 -3
- package/qy-upload/index.d.ts +2 -1
- package/dist/shared/index-5UAiwqdT.cjs +0 -1
- package/dist/shared/index-AvNvmJe5.cjs +0 -1
- package/dist/shared/index-B0CTzdRW.mjs +0 -149
- package/dist/shared/index-B1J7PQMl.mjs +0 -79
- package/dist/shared/index-B1gnVI8Y.mjs +0 -161
- package/dist/shared/index-B7j9BtSm.mjs +0 -233
- package/dist/shared/index-BAOV5iYx.mjs +0 -385
- package/dist/shared/index-BJZjXeoT.cjs +0 -1
- package/dist/shared/index-BKdw4jD_.mjs +0 -142
- package/dist/shared/index-BN4A-O6P.mjs +0 -727
- package/dist/shared/index-BR7tIt2k.mjs +0 -211
- package/dist/shared/index-BVaIvVMi.mjs +0 -71
- package/dist/shared/index-BaRw7pWi.mjs +0 -156
- package/dist/shared/index-Bdlzmh8A.cjs +0 -1
- package/dist/shared/index-BgAP_K2E.cjs +0 -1
- package/dist/shared/index-Blgz8PJc.cjs +0 -1
- package/dist/shared/index-BqzKToOL.cjs +0 -1
- package/dist/shared/index-BsNtvE6i.cjs +0 -1
- package/dist/shared/index-BuVrLl5B.mjs +0 -90
- package/dist/shared/index-Bv1DrJ32.mjs +0 -71
- package/dist/shared/index-BxGP8OkE.cjs +0 -1
- package/dist/shared/index-Bz9WjKdL.cjs +0 -1
- package/dist/shared/index-Bzr2RHi5.mjs +0 -293
- package/dist/shared/index-C50jpQ11.mjs +0 -295
- package/dist/shared/index-C6G9eVku.cjs +0 -1
- package/dist/shared/index-CB0v25oB.cjs +0 -1
- package/dist/shared/index-CGH2ROZV.mjs +0 -54
- package/dist/shared/index-CIXJwYI-.cjs +0 -1
- package/dist/shared/index-CKkanVur.cjs +0 -1
- package/dist/shared/index-CLvL8LAM.cjs +0 -1
- package/dist/shared/index-CN2mgT5V.cjs +0 -1
- package/dist/shared/index-CW4s627w.mjs +0 -107
- package/dist/shared/index-CXOCZlps.mjs +0 -222
- package/dist/shared/index-CbSGTE1S.mjs +0 -578
- package/dist/shared/index-Cqr-L0yd.mjs +0 -285
- package/dist/shared/index-Cu6yAwdj.mjs +0 -124
- package/dist/shared/index-CxTyKMEH.cjs +0 -1
- package/dist/shared/index-D5HS8M1P.cjs +0 -1
- package/dist/shared/index-D6QwZtYV.mjs +0 -56
- package/dist/shared/index-DAU1WtID.mjs +0 -361
- package/dist/shared/index-DCsun70c.cjs +0 -1
- package/dist/shared/index-DEzFHeJL.cjs +0 -1
- package/dist/shared/index-DY2IXvwl.cjs +0 -1
- package/dist/shared/index-DdGlwebp.mjs +0 -347
- package/dist/shared/index-DiN5vXXD.cjs +0 -1
- package/dist/shared/index-Duq5XZ5w.cjs +0 -1
- package/dist/shared/index-DvXzDAmi.mjs +0 -285
- package/dist/shared/index-FZ5gl2au.cjs +0 -1
- package/dist/shared/index-O6K0DO_k.cjs +0 -1
- package/dist/shared/index-QN7-6GpS.mjs +0 -127
- package/dist/shared/index-_Bagw0Pj.cjs +0 -1
- package/dist/shared/index-ykI9hKtc.mjs +0 -88
- package/dist/shared/index.vue_vue_type_script_lang-69zSOotQ.mjs +0 -47
- package/dist/shared/index.vue_vue_type_script_lang-8AT3-xU-.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_lang-BO9Ju_i0.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_lang-Bc3tktk9.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_lang-BgapsQjI.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_lang-BkoqbceR.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_lang-By3jd4gw.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_lang-CCL57H5c.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_lang-CIOi2ahp.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_lang-CKZUcaZ5.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_lang-CWnNQBPN.mjs +0 -31
- package/dist/shared/index.vue_vue_type_script_lang-CZK0hDYa.mjs +0 -77
- package/dist/shared/index.vue_vue_type_script_lang-CfjfZCT3.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_lang-ChS-3_vl.mjs +0 -43
- package/dist/shared/index.vue_vue_type_script_lang-Cv4Pf58E.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_lang-CwrbII5c.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_lang-D42aRlO2.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_lang-DLmUPDR5.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_lang-DMrpLmWN.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_lang-DRvk4-_O.mjs +0 -43
- package/dist/shared/index.vue_vue_type_script_lang-DpSaB5eg.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_lang-WJ63_A7F.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-2ZOn9XPM.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-4CNzVpgF.mjs +0 -40
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-4KZSABSM.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-B38X3tvf.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-B4JrNUDc.mjs +0 -43
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-BJe7Uo6S.mjs +0 -42
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-BWi3g3mb.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-BXnZt9UT.mjs +0 -63
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-Bdz9oDDW.mjs +0 -62
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-BtMkNw_I.mjs +0 -199
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-C96ZaggL.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-COAUEujY.mjs +0 -48
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-CeVvm5Ph.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-Cn0JqB5r.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-Cr9PdvyR.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-D3MxDFk1.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-D7BlbHN5.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-DECgTYqI.mjs +0 -108
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-DM0MGPZh.mjs +0 -331
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-DMHhx9lY.mjs +0 -133
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-DUEhuwGQ.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-DW2JKXjA.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-Dd_nKJvH.mjs +0 -19
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-DeFEEJk8.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-GUuWAB0o.mjs +0 -238
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-mWNAIcqc.mjs +0 -63
- package/dist/shared/index.vue_vue_type_style_index_0_lang-90f2jQr7.mjs +0 -98
- package/dist/shared/index.vue_vue_type_style_index_0_lang-B4fDeQox.cjs +0 -1
- package/dist/shared/index.vue_vue_type_style_index_0_lang-BLRxKB-e.mjs +0 -413
- package/dist/shared/index.vue_vue_type_style_index_0_lang-BNL5vyrU.cjs +0 -1
- package/dist/shared/index.vue_vue_type_style_index_0_lang-Ba6d5zw4.mjs +0 -142
- package/dist/shared/index.vue_vue_type_style_index_0_lang-BzJsAWKD.cjs +0 -1
- package/dist/shared/index.vue_vue_type_style_index_0_lang-C4yXFBV_.cjs +0 -1
- package/dist/shared/index.vue_vue_type_style_index_0_lang-C7L66EnO.mjs +0 -67
- package/dist/shared/index.vue_vue_type_style_index_0_lang-CFp5MK6j.cjs +0 -1
- package/dist/shared/index.vue_vue_type_style_index_0_lang-CNdV3Mnk.mjs +0 -286
- package/dist/shared/index.vue_vue_type_style_index_0_lang-CVAm3ApY.cjs +0 -1
- package/dist/shared/index.vue_vue_type_style_index_0_lang-CgScSrRJ.mjs +0 -148
- package/dist/shared/index.vue_vue_type_style_index_0_lang-Clt7QDAK.cjs +0 -1
- package/dist/shared/index.vue_vue_type_style_index_0_lang-CuTyK1Ey.mjs +0 -317
- package/dist/shared/index.vue_vue_type_style_index_0_lang-CvVl_Y56.mjs +0 -219
- package/dist/shared/index.vue_vue_type_style_index_0_lang-CvlRVqcl.cjs +0 -1
- package/dist/shared/index.vue_vue_type_style_index_0_lang-D-p1u8y8.cjs +0 -1
- package/dist/shared/index.vue_vue_type_style_index_0_lang-D9T_xdbu.mjs +0 -176
- package/dist/shared/index.vue_vue_type_style_index_0_lang-DGV7FQlw.cjs +0 -1
- package/dist/shared/index.vue_vue_type_style_index_0_lang-DGt78p3G.mjs +0 -298
- package/dist/shared/index.vue_vue_type_style_index_0_lang-DZOPXZov.mjs +0 -168
- package/dist/shared/index.vue_vue_type_style_index_0_lang-J7wvS2CR.cjs +0 -1
- package/dist/shared/index.vue_vue_type_style_index_0_lang-KXiTSh4t.mjs +0 -74
- package/dist/shared/index.vue_vue_type_style_index_0_lang-YEjVWWsy.cjs +0 -1
- package/dist/shared/index.vue_vue_type_style_index_0_lang-nS-EDK4t.cjs +0 -1
- package/dist/shared/index.vue_vue_type_style_index_0_lang-yci929so.cjs +0 -1
|
@@ -1,347 +0,0 @@
|
|
|
1
|
-
import { defineComponent as S, computed as o, ref as x, onMounted as k, onUpdated as N, openBlock as C, createElementBlock as T, createVNode as _, unref as z, withCtx as E, createElementVNode as f, toDisplayString as P, createCommentVNode as I } from "vue";
|
|
2
|
-
import { ElConfigProvider as B, ElPagination as q } from "element-plus";
|
|
3
|
-
import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
4
|
-
var M = {
|
|
5
|
-
name: "zh-cn",
|
|
6
|
-
el: {
|
|
7
|
-
breadcrumb: { label: "面包屑" },
|
|
8
|
-
colorpicker: {
|
|
9
|
-
confirm: "确定",
|
|
10
|
-
clear: "清空",
|
|
11
|
-
defaultLabel: "颜色选择器",
|
|
12
|
-
description: "当前颜色 {color},按 Enter 键选择新颜色",
|
|
13
|
-
alphaLabel: "选择透明度的值",
|
|
14
|
-
alphaDescription: "透明度 {alpha}, 当前颜色 {color}",
|
|
15
|
-
hueLabel: "选择色相值",
|
|
16
|
-
hueDescription: "色相 {hue}, 当前颜色 {color}",
|
|
17
|
-
svLabel: "选择饱和度与明度的值",
|
|
18
|
-
svDescription: "饱和度 {saturation}, 明度 {brightness}, 当前颜色 {color}",
|
|
19
|
-
predefineDescription: "选择 {value} 作为颜色"
|
|
20
|
-
},
|
|
21
|
-
datepicker: {
|
|
22
|
-
now: "此刻",
|
|
23
|
-
today: "今天",
|
|
24
|
-
cancel: "取消",
|
|
25
|
-
clear: "清空",
|
|
26
|
-
confirm: "确定",
|
|
27
|
-
dateTablePrompt: "使用方向键与 Enter 键可选择日期",
|
|
28
|
-
monthTablePrompt: "使用方向键与 Enter 键可选择月份",
|
|
29
|
-
quarterTablePrompt: "使用方向键与 Enter 键可选择季度",
|
|
30
|
-
yearTablePrompt: "使用方向键与 Enter 键可选择年份",
|
|
31
|
-
selectedDate: "已选日期",
|
|
32
|
-
selectDate: "选择日期",
|
|
33
|
-
selectTime: "选择时间",
|
|
34
|
-
startDate: "开始日期",
|
|
35
|
-
startTime: "开始时间",
|
|
36
|
-
endDate: "结束日期",
|
|
37
|
-
endTime: "结束时间",
|
|
38
|
-
prevYear: "前一年",
|
|
39
|
-
nextYear: "后一年",
|
|
40
|
-
prevMonth: "上个月",
|
|
41
|
-
nextMonth: "下个月",
|
|
42
|
-
year: "年",
|
|
43
|
-
month1: "1 月",
|
|
44
|
-
month2: "2 月",
|
|
45
|
-
month3: "3 月",
|
|
46
|
-
month4: "4 月",
|
|
47
|
-
month5: "5 月",
|
|
48
|
-
month6: "6 月",
|
|
49
|
-
month7: "7 月",
|
|
50
|
-
month8: "8 月",
|
|
51
|
-
month9: "9 月",
|
|
52
|
-
month10: "10 月",
|
|
53
|
-
month11: "11 月",
|
|
54
|
-
month12: "12 月",
|
|
55
|
-
weeks: {
|
|
56
|
-
sun: "日",
|
|
57
|
-
mon: "一",
|
|
58
|
-
tue: "二",
|
|
59
|
-
wed: "三",
|
|
60
|
-
thu: "四",
|
|
61
|
-
fri: "五",
|
|
62
|
-
sat: "六"
|
|
63
|
-
},
|
|
64
|
-
weeksFull: {
|
|
65
|
-
sun: "星期日",
|
|
66
|
-
mon: "星期一",
|
|
67
|
-
tue: "星期二",
|
|
68
|
-
wed: "星期三",
|
|
69
|
-
thu: "星期四",
|
|
70
|
-
fri: "星期五",
|
|
71
|
-
sat: "星期六"
|
|
72
|
-
},
|
|
73
|
-
months: {
|
|
74
|
-
jan: "一月",
|
|
75
|
-
feb: "二月",
|
|
76
|
-
mar: "三月",
|
|
77
|
-
apr: "四月",
|
|
78
|
-
may: "五月",
|
|
79
|
-
jun: "六月",
|
|
80
|
-
jul: "七月",
|
|
81
|
-
aug: "八月",
|
|
82
|
-
sep: "九月",
|
|
83
|
-
oct: "十月",
|
|
84
|
-
nov: "十一月",
|
|
85
|
-
dec: "十二月"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
input: { characters: "{count} / {max} 个字符" },
|
|
89
|
-
inputNumber: {
|
|
90
|
-
decrease: "减少数值",
|
|
91
|
-
increase: "增加数值"
|
|
92
|
-
},
|
|
93
|
-
select: {
|
|
94
|
-
loading: "加载中",
|
|
95
|
-
noMatch: "无匹配数据",
|
|
96
|
-
noData: "无数据",
|
|
97
|
-
placeholder: "请选择"
|
|
98
|
-
},
|
|
99
|
-
mention: { loading: "加载中" },
|
|
100
|
-
dropdown: { toggleDropdown: "切换下拉选项" },
|
|
101
|
-
cascader: {
|
|
102
|
-
noMatch: "无匹配数据",
|
|
103
|
-
loading: "加载中",
|
|
104
|
-
placeholder: "请选择",
|
|
105
|
-
noData: "暂无数据"
|
|
106
|
-
},
|
|
107
|
-
pagination: {
|
|
108
|
-
goto: "前往",
|
|
109
|
-
pagesize: "条/页",
|
|
110
|
-
total: "共 {total} 条",
|
|
111
|
-
pageClassifier: "页",
|
|
112
|
-
page: "页",
|
|
113
|
-
prev: "上一页",
|
|
114
|
-
next: "下一页",
|
|
115
|
-
currentPage: "第 {pager} 页",
|
|
116
|
-
prevPages: "向前 {pager} 页",
|
|
117
|
-
nextPages: "向后 {pager} 页",
|
|
118
|
-
deprecationWarning: "你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"
|
|
119
|
-
},
|
|
120
|
-
dialog: { close: "关闭此对话框" },
|
|
121
|
-
drawer: { close: "关闭此对话框" },
|
|
122
|
-
messagebox: {
|
|
123
|
-
title: "提示",
|
|
124
|
-
confirm: "确定",
|
|
125
|
-
cancel: "取消",
|
|
126
|
-
error: "输入的数据不合法!",
|
|
127
|
-
close: "关闭此对话框"
|
|
128
|
-
},
|
|
129
|
-
upload: {
|
|
130
|
-
deleteTip: "按 Delete 键可删除",
|
|
131
|
-
delete: "删除",
|
|
132
|
-
preview: "查看图片",
|
|
133
|
-
continue: "继续上传"
|
|
134
|
-
},
|
|
135
|
-
slider: {
|
|
136
|
-
defaultLabel: "滑块介于 {min} 至 {max}",
|
|
137
|
-
defaultRangeStartLabel: "选择起始值",
|
|
138
|
-
defaultRangeEndLabel: "选择结束值"
|
|
139
|
-
},
|
|
140
|
-
table: {
|
|
141
|
-
emptyText: "暂无数据",
|
|
142
|
-
confirmFilter: "筛选",
|
|
143
|
-
resetFilter: "重置",
|
|
144
|
-
clearFilter: "全部",
|
|
145
|
-
sumText: "合计",
|
|
146
|
-
selectAllLabel: "选择所有行",
|
|
147
|
-
selectRowLabel: "选择当前行",
|
|
148
|
-
expandRowLabel: "展开当前行",
|
|
149
|
-
collapseRowLabel: "收起当前行",
|
|
150
|
-
sortLabel: "按 {column} 排序",
|
|
151
|
-
filterLabel: "按 {column} 过滤"
|
|
152
|
-
},
|
|
153
|
-
tag: { close: "关闭此标签" },
|
|
154
|
-
tour: {
|
|
155
|
-
next: "下一步",
|
|
156
|
-
previous: "上一步",
|
|
157
|
-
finish: "结束导览",
|
|
158
|
-
close: "关闭此对话框"
|
|
159
|
-
},
|
|
160
|
-
tree: { emptyText: "暂无数据" },
|
|
161
|
-
transfer: {
|
|
162
|
-
noMatch: "无匹配数据",
|
|
163
|
-
noData: "无数据",
|
|
164
|
-
titles: ["列表 1", "列表 2"],
|
|
165
|
-
filterPlaceholder: "请输入搜索内容",
|
|
166
|
-
noCheckedFormat: "共 {total} 项",
|
|
167
|
-
hasCheckedFormat: "已选 {checked}/{total} 项"
|
|
168
|
-
},
|
|
169
|
-
image: { error: "加载失败" },
|
|
170
|
-
pageHeader: { title: "返回" },
|
|
171
|
-
popconfirm: {
|
|
172
|
-
confirmButtonText: "确定",
|
|
173
|
-
cancelButtonText: "取消"
|
|
174
|
-
},
|
|
175
|
-
carousel: {
|
|
176
|
-
leftArrow: "上一张幻灯片",
|
|
177
|
-
rightArrow: "下一张幻灯片",
|
|
178
|
-
indicator: "幻灯片切换至索引 {index}"
|
|
179
|
-
},
|
|
180
|
-
inputOTP: {
|
|
181
|
-
groupLabel: "一次性密码输入框",
|
|
182
|
-
defaultLabel: "请输入第 {index} 位 OTP 字符"
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
};
|
|
186
|
-
const R = /* @__PURE__ */ S({
|
|
187
|
-
__name: "ElementPaginationRenderer",
|
|
188
|
-
props: {
|
|
189
|
-
total: {},
|
|
190
|
-
currentPage: {},
|
|
191
|
-
pageSize: {},
|
|
192
|
-
pageSizes: {},
|
|
193
|
-
disabled: { type: Boolean, default: !1 },
|
|
194
|
-
loading: { type: Boolean, default: !1 },
|
|
195
|
-
layout: {},
|
|
196
|
-
pagerCount: {}
|
|
197
|
-
},
|
|
198
|
-
emits: ["page-change", "page-size-change"],
|
|
199
|
-
setup(i, { emit: y }) {
|
|
200
|
-
const a = i, m = y, c = o(() => a.disabled || a.loading), u = o(
|
|
201
|
-
() => a.layout !== void 0 ? a.layout.join(", ") : a.pageSizes.length > 1 ? "sizes, prev, pager, next" : "prev, pager, next"
|
|
202
|
-
), d = o(() => {
|
|
203
|
-
const t = a.pagerCount ?? 7;
|
|
204
|
-
return Number.isInteger(t) && t >= 5 && t <= 21 && t % 2 === 1 ? t : 7;
|
|
205
|
-
}), g = x(null), r = x(null);
|
|
206
|
-
let p = 0;
|
|
207
|
-
function h() {
|
|
208
|
-
var t, s;
|
|
209
|
-
(s = (t = r.value) == null ? void 0 : t.querySelector('.el-pagination__sizes [role="combobox"]')) == null || s.setAttribute("aria-label", "每页条数");
|
|
210
|
-
}
|
|
211
|
-
k(h), N(h);
|
|
212
|
-
function b(t) {
|
|
213
|
-
if (!c.value) {
|
|
214
|
-
if (g.value !== null) {
|
|
215
|
-
g.value = null;
|
|
216
|
-
return;
|
|
217
|
-
}
|
|
218
|
-
t !== a.currentPage && m("page-change", t);
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
function v(t) {
|
|
222
|
-
if (c.value)
|
|
223
|
-
return;
|
|
224
|
-
g.value = t;
|
|
225
|
-
const s = ++p;
|
|
226
|
-
Promise.resolve().then(() => {
|
|
227
|
-
p === s && (g.value = null);
|
|
228
|
-
}), m("page-size-change", t);
|
|
229
|
-
}
|
|
230
|
-
return (t, s) => (C(), T("div", {
|
|
231
|
-
ref_key: "rendererRef",
|
|
232
|
-
ref: r,
|
|
233
|
-
class: "qy-pagination-element-renderer",
|
|
234
|
-
"data-testid": "qy-pagination-element-renderer"
|
|
235
|
-
}, [
|
|
236
|
-
_(z(B), { locale: z(M) }, {
|
|
237
|
-
default: E(() => [
|
|
238
|
-
_(z(q), {
|
|
239
|
-
layout: u.value,
|
|
240
|
-
total: i.total,
|
|
241
|
-
"current-page": i.currentPage,
|
|
242
|
-
"page-size": i.pageSize,
|
|
243
|
-
"page-sizes": [...i.pageSizes],
|
|
244
|
-
"pager-count": d.value,
|
|
245
|
-
disabled: c.value,
|
|
246
|
-
teleported: !1,
|
|
247
|
-
"onUpdate:currentPage": b,
|
|
248
|
-
"onUpdate:pageSize": v
|
|
249
|
-
}, null, 8, ["layout", "total", "current-page", "page-size", "page-sizes", "pager-count", "disabled"])
|
|
250
|
-
]),
|
|
251
|
-
_: 1
|
|
252
|
-
}, 8, ["locale"])
|
|
253
|
-
], 512));
|
|
254
|
-
}
|
|
255
|
-
}), O = /* @__PURE__ */ w(R, [["__scopeId", "data-v-4815a52b"]]), F = ["aria-busy"], A = { class: "qy-pagination__info" }, U = { class: "qy-pagination__total" }, j = { class: "qy-pagination__summary" }, V = { class: "qy-pagination__controls" }, Y = /* @__PURE__ */ S({
|
|
256
|
-
__name: "index",
|
|
257
|
-
props: {
|
|
258
|
-
layout: {},
|
|
259
|
-
pagerCount: {},
|
|
260
|
-
total: {},
|
|
261
|
-
page: {},
|
|
262
|
-
pageSize: {},
|
|
263
|
-
pageSizeOptions: { default: () => [10, 20, 50] },
|
|
264
|
-
hideOnSinglePage: { type: Boolean, default: !1 },
|
|
265
|
-
disabled: { type: Boolean },
|
|
266
|
-
loading: { type: Boolean },
|
|
267
|
-
binding: {}
|
|
268
|
-
},
|
|
269
|
-
emits: ["page-change", "page-size-change"],
|
|
270
|
-
setup(i, { emit: y }) {
|
|
271
|
-
const a = i, m = y;
|
|
272
|
-
function c(e, n) {
|
|
273
|
-
const l = Number(e);
|
|
274
|
-
return Number.isInteger(l) && l > 0 ? l : n;
|
|
275
|
-
}
|
|
276
|
-
const u = o(() => {
|
|
277
|
-
var n;
|
|
278
|
-
const e = Number(a.total ?? ((n = a.binding) == null ? void 0 : n.total) ?? 0);
|
|
279
|
-
return Number.isFinite(e) && e >= 0 ? e : 0;
|
|
280
|
-
}), d = o(
|
|
281
|
-
() => {
|
|
282
|
-
var e;
|
|
283
|
-
return c(a.pageSize ?? ((e = a.binding) == null ? void 0 : e.pageSize), 10);
|
|
284
|
-
}
|
|
285
|
-
), g = o(() => {
|
|
286
|
-
const n = (Array.isArray(a.pageSizeOptions) ? a.pageSizeOptions : []).map((l) => Number(l)).filter((l) => Number.isInteger(l) && l > 0);
|
|
287
|
-
return [.../* @__PURE__ */ new Set([...n, d.value])].sort(
|
|
288
|
-
(l, D) => l - D
|
|
289
|
-
);
|
|
290
|
-
}), r = o(
|
|
291
|
-
() => Math.max(1, Math.ceil(u.value / d.value))
|
|
292
|
-
), p = o(
|
|
293
|
-
() => {
|
|
294
|
-
var e;
|
|
295
|
-
return Math.min(
|
|
296
|
-
Math.max(1, c(a.page ?? ((e = a.binding) == null ? void 0 : e.page), 1)),
|
|
297
|
-
r.value
|
|
298
|
-
);
|
|
299
|
-
}
|
|
300
|
-
), h = o(() => {
|
|
301
|
-
var e;
|
|
302
|
-
return !!(a.disabled ?? ((e = a.binding) == null ? void 0 : e.disabled));
|
|
303
|
-
}), b = o(() => {
|
|
304
|
-
var e;
|
|
305
|
-
return !!(a.loading ?? ((e = a.binding) == null ? void 0 : e.loading));
|
|
306
|
-
}), v = o(() => h.value || b.value), t = o(
|
|
307
|
-
() => u.value > 0 && (!a.hideOnSinglePage || r.value > 1)
|
|
308
|
-
);
|
|
309
|
-
function s(e) {
|
|
310
|
-
var n;
|
|
311
|
-
v.value || !Number.isInteger(e) || e < 1 || e > r.value || e === p.value || ((n = a.binding) == null || n.setPage(e), m("page-change", e));
|
|
312
|
-
}
|
|
313
|
-
function L(e) {
|
|
314
|
-
var n;
|
|
315
|
-
v.value || !Number.isInteger(e) || e <= 0 || e === d.value || ((n = a.binding) == null || n.setPageSize(e), m("page-size-change", e));
|
|
316
|
-
}
|
|
317
|
-
return (e, n) => t.value ? (C(), T("nav", {
|
|
318
|
-
key: 0,
|
|
319
|
-
class: "qy-pagination",
|
|
320
|
-
"data-testid": "qy-pagination",
|
|
321
|
-
"aria-label": "分页",
|
|
322
|
-
"aria-busy": b.value ? "true" : void 0
|
|
323
|
-
}, [
|
|
324
|
-
f("div", A, [
|
|
325
|
-
f("span", U, "共 " + P(u.value) + " 条", 1),
|
|
326
|
-
f("span", j, " 第 " + P(p.value) + " / " + P(r.value) + " 页 ", 1)
|
|
327
|
-
]),
|
|
328
|
-
f("div", V, [
|
|
329
|
-
_(O, {
|
|
330
|
-
total: u.value,
|
|
331
|
-
"current-page": p.value,
|
|
332
|
-
"page-size": d.value,
|
|
333
|
-
"page-sizes": g.value,
|
|
334
|
-
disabled: h.value,
|
|
335
|
-
loading: b.value,
|
|
336
|
-
layout: a.layout,
|
|
337
|
-
"pager-count": a.pagerCount,
|
|
338
|
-
onPageChange: s,
|
|
339
|
-
onPageSizeChange: L
|
|
340
|
-
}, null, 8, ["total", "current-page", "page-size", "page-sizes", "disabled", "loading", "layout", "pager-count"])
|
|
341
|
-
])
|
|
342
|
-
], 8, F)) : I("", !0);
|
|
343
|
-
}
|
|
344
|
-
}), G = /* @__PURE__ */ w(Y, [["__scopeId", "data-v-0a5f9304"]]);
|
|
345
|
-
export {
|
|
346
|
-
G as P
|
|
347
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("vue"),T=require("./index-CKkanVur.cjs"),F=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),L={class:"qy-record-quote-search"},P={key:0,class:"qy-record-quote-search__header"},R={key:0,class:"qy-record-quote-search__label"},U={key:1,class:"qy-record-quote-search__description"},A=t.defineComponent({name:"QyRecordQuoteSearch",inheritAttrs:!1,__name:"index",props:{modelValue:{default:""},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:void 0},placeholder:{default:"请输入报价单号"},buttonText:{default:"查询报价单"},autoNormalize:{type:Boolean,default:!0},showStatus:{type:Boolean,default:!0},status:{default:"default"},statusText:{default:""},suggestions:{default:()=>[]},fetchSuggestions:{type:[Function,null],default:null},fetchSuggestionsMethod:{type:[Function,null],default:null},debounce:{default:300},minLength:{default:1},searchOnSelect:{type:Boolean,default:!0},searchMethod:{type:[Function,null],default:null},extractMethod:{type:[Function,null],default:null},normalizeMethod:{type:[Function,null],default:null},label:{default:"报价单号"},description:{default:""},trimMode:{default:"blur"}},emits:["update:modelValue","search","clear","normalize","enter","select","error","success"],setup(n,{expose:b,emit:C}){const l=n,r=C,V=t.useAttrs(),s=t.ref(null),i=t.ref(!1);let u=0;function m(){u++,i.value=!1}t.onBeforeUnmount(m);const f=t.computed(()=>l.statusText||""),x=t.computed(()=>l.loading||i.value);function d(e){return e==null?"":String(e)}function k(e){const o=d(e).trim(),a=h(o),c=a.match(/BJ\d{8}[A-Z0-9]{4}/i);return c?c[0]:a}function h(e){return d(e).replace(/\s+/g,"").trim().toUpperCase()}function g(e){return l.extractMethod?l.extractMethod(e):k(e)}function y(e){return l.normalizeMethod?l.normalizeMethod(e):h(e)}function v(e,o){const a=d(e),c=g(a),p=l.autoNormalize?y(c):c;return r("normalize",{rawValue:a,code:p}),{rawValue:a,code:p,item:o}}function B(e){r("update:modelValue",e)}async function S(e){const o=++u;if(r("search",e),!(!l.searchMethod||o!==u)){i.value=!0;try{const a=await l.searchMethod(e);o===u&&r("success",a)}catch(a){o===u&&r("error",a)}finally{o===u&&(i.value=!1)}}}function M(e){const o=v(e);o.code!==d(l.modelValue)&&r("update:modelValue",o.code),S(o)}function q(){m(),r("clear")}function $(e){r("enter",e)}function z(e){if(r("select",e),!l.searchOnSelect)return;const o=v(e.value,e);o.code!==d(l.modelValue)&&r("update:modelValue",o.code),S(o)}function E(e){r("error",e)}function w(){var e,o;(o=(e=s.value)==null?void 0:e.focus)==null||o.call(e)}function N(){var e,o;(o=(e=s.value)==null?void 0:e.blur)==null||o.call(e)}function O(){var e,o;(o=(e=s.value)==null?void 0:e.select)==null||o.call(e)}function Q(){var e,o;(o=(e=s.value)==null?void 0:e.clear)==null||o.call(e)}return b({focus:w,blur:N,select:O,clear:Q,extractQuoteOrderCode:g,normalizeQuoteOrderCode:y}),(e,o)=>(t.openBlock(),t.createElementBlock("div",L,[t.renderSlot(e.$slots,"label",{},()=>[n.label||n.description?(t.openBlock(),t.createElementBlock("div",P,[n.label?(t.openBlock(),t.createElementBlock("div",R,t.toDisplayString(n.label),1)):t.createCommentVNode("",!0),n.description?(t.openBlock(),t.createElementBlock("div",U,t.toDisplayString(n.description),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],!0),t.createVNode(T.Component,t.mergeProps({ref_key:"searchRef",ref:s},t.unref(V),{"model-value":n.modelValue,loading:x.value,disabled:n.disabled,placeholder:n.placeholder,"remove-space":!0,"trim-mode":n.trimMode,"button-text":n.buttonText,suggestions:n.suggestions,"fetch-suggestions":n.fetchSuggestions,"fetch-suggestions-method":n.fetchSuggestionsMethod,debounce:n.debounce,"min-length":n.minLength,"search-on-select":!1,"onUpdate:modelValue":B,onSearch:M,onClear:q,onEnter:$,onSelect:z,onError:E}),t.createSlots({_:2},[e.$slots.prefix?{name:"prefix",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"prefix",{},void 0,!0)]),key:"0"}:void 0,e.$slots.suffix?{name:"suffix",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"suffix",{},void 0,!0)]),key:"1"}:void 0,e.$slots.item?{name:"item",fn:t.withCtx(a=>[t.renderSlot(e.$slots,"item",t.normalizeProps(t.guardReactiveProps(a)),void 0,!0)]),key:"2"}:void 0,e.$slots.empty?{name:"empty",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"empty",{},void 0,!0)]),key:"3"}:void 0,e.$slots.loading?{name:"loading",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"loading",{},void 0,!0)]),key:"4"}:void 0]),1040,["model-value","loading","disabled","placeholder","trim-mode","button-text","suggestions","fetch-suggestions","fetch-suggestions-method","debounce","min-length"]),n.showStatus&&f.value?t.renderSlot(e.$slots,"status",{status:n.status,statusText:f.value},()=>[t.createElementVNode("div",{class:t.normalizeClass(["qy-record-quote-search__status",`is-${n.status}`])},t.toDisplayString(f.value),3)],!0,0):t.createCommentVNode("",!0)]))}}),D=F._export_sfc(A,[["__scopeId","data-v-9a711e68"]]);exports.Component=D;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),z=require("./index-BsNtvE6i.cjs"),T=require("./index-_Bagw0Pj.cjs"),j=require("@vueuse/core"),O=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),N=["fullscreenchange","webkitfullscreenchange"],Q=["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"],U=["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"];function V(t,l,i){const s=C(),a=e.ref(null),c=e.ref(!1),p=e.ref(!1);let u=null,f=!1;const b=e.computed(()=>E(t.value)),g=e.computed(()=>(a.value||b.value)??void 0),x=j.useFullscreen(g),w=e.ref(!1);function F(){w.value=_(a.value||b.value)}function v(){if(f)return;const n=S(s),r=a.value||b.value,d=!!(n&&n===r);d?a.value=n:(!n||n!==a.value)&&(a.value=null),F(),d!==c.value&&(c.value=d,i.onChange(d))}j.useEventListener(s,N,v),e.watch(t,v,{flush:"post"}),v();function y(){if(l.value||c.value)return Promise.resolve(!1);if(u)return u;const n=E(t.value);return n?_(n)?(a.value=n,F(),m(async()=>{try{return await I(n),v(),c.value&&S(s)===n}catch{return a.value=null,v(),o("enter","request-rejected","The browser rejected the fullscreen request.")}})):Promise.resolve(o("enter","unsupported","Fullscreen is not supported by this browser.")):Promise.resolve(o("enter","target-unavailable","Fullscreen target is unavailable."))}function h(){if(l.value||!c.value)return Promise.resolve(!1);if(u)return u;const n=a.value||E(t.value);return n?_(n)?m(async()=>{try{return await R(n),v(),!c.value&&S(s)!==n}catch{return o("exit","request-rejected","The browser rejected the fullscreen request.")}}):Promise.resolve(o("exit","unsupported","Fullscreen is not supported by this browser.")):Promise.resolve(o("exit","target-unavailable","Fullscreen target is unavailable."))}function q(){return u||(c.value?h():y())}function m(n){p.value=!0;const r=n().finally(()=>{p.value=!1,u=null});return u=r,r}function o(n,r,d){const k=Object.freeze({action:n,code:r,message:d});return i.onError(k),!1}async function I(n){const r=P(n);if(r==="requestFullscreen"){await n.requestFullscreen();return}if(x.isSupported.value){await x.enter();return}if(r){await L(n,r);return}throw new Error("Fullscreen request is unavailable.")}async function R(n){var k;const r=s,d=M(r,n);if(d==="exitFullscreen"){await((k=r==null?void 0:r.exitFullscreen)==null?void 0:k.call(r));return}if(d){await L(r,d);return}await x.exit()}return e.onBeforeUnmount(()=>{f=!0}),{isFullscreen:c,isSupported:w,pending:p,enter:y,exit:h,toggle:q}}function C(){return typeof document>"u"?void 0:document}function E(t){var l;return t===null?null:t!==void 0?t:((l=C())==null?void 0:l.documentElement)||null}function S(t){return(t==null?void 0:t.fullscreenElement)||(t==null?void 0:t.webkitFullscreenElement)||null}function _(t){if(!t||t===null)return!1;const l=C();return(l==null?void 0:l.fullscreenEnabled)!==!0?!1:!!(P(t)&&M(l,t))}function P(t){return Q.find(l=>B(t,l))}function M(t,l){return U.find(i=>B(t,i)||B(l,i))}async function L(t,l){const i=t&&t[l];if(typeof i!="function")throw new Error("Fullscreen method is unavailable.");await i.call(t)}function B(t,l){return typeof(t==null?void 0:t[l])=="function"}const Y=e.defineComponent({name:"QyFullscreen",inheritAttrs:!1,__name:"index",props:{target:{},disabled:{type:Boolean,default:!1},size:{default:"default"},enterLabel:{default:"进入全屏"},exitLabel:{default:"退出全屏"},enterIcon:{default:"fullscreen"},exitIcon:{default:"exit-fullscreen"}},emits:["change","error"],setup(t,{expose:l,emit:i}){const s=t,a=i,c=e.useSlots(),p=e.inject(T.QY_ICON_REGISTRY_KEY,null),u=V(e.toRef(s,"target"),e.toRef(s,"disabled"),{onChange:o=>a("change",o),onError:o=>a("error",o)}),f=u.isFullscreen,b=u.pending,g=e.computed(()=>f.value?s.exitLabel:s.enterLabel),x=e.computed(()=>f.value?s.exitIcon:s.enterIcon),w=e.computed(()=>f.value?"exit-icon":"enter-icon"),F=e.computed(()=>!!c[w.value]),v=e.computed(()=>p==null?void 0:p.resolve(x.value)),y=e.computed(()=>F.value||!!v.value),h=e.computed(()=>({small:"sm",default:"md",large:"lg"})[s.size]),q=e.computed(()=>s.disabled||!u.isSupported.value||b.value);function m(){u.toggle()}return l({enter:u.enter,exit:u.exit,toggle:u.toggle}),(o,I)=>y.value?(e.openBlock(),e.createBlock(z.Button,{key:0,class:"qy-fullscreen",size:h.value,disabled:q.value,loading:e.unref(b),active:e.unref(f),"icon-only":!0,"aria-label":g.value,"aria-pressed":e.unref(f)?"true":"false",title:g.value,onClick:m},{prefix:e.withCtx(()=>[F.value?e.renderSlot(o.$slots,w.value,{},void 0,!0,0):(e.openBlock(),e.createBlock(T.Icon,{key:1,name:x.value},null,8,["name"]))]),_:3},8,["size","disabled","loading","active","aria-label","aria-pressed","title"])):(e.openBlock(),e.createBlock(z.Button,{key:1,class:"qy-fullscreen",size:h.value,disabled:q.value,loading:e.unref(b),active:e.unref(f),"icon-only":!1,"aria-label":g.value,"aria-pressed":e.unref(f)?"true":"false",title:g.value,onClick:m},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(g.value),1)]),_:1},8,["size","disabled","loading","active","aria-label","aria-pressed","title"]))}}),$=O._export_sfc(Y,[["__scopeId","data-v-228b4148"]]);exports.Fullscreen=$;
|
|
@@ -1,285 +0,0 @@
|
|
|
1
|
-
import { defineComponent as D, useAttrs as q, useSlots as B, inject as V, computed as y, markRaw as M, toRaw as F, ref as W, watchEffect as O, openBlock as I, createElementBlock as _, mergeProps as Y, unref as Q, createBlock as A, resolveDynamicComponent as N, createElementVNode as Z, normalizeClass as G, renderSlot as H, normalizeProps as J, guardReactiveProps as U, createCommentVNode as X } from "vue";
|
|
2
|
-
import { _ as ee } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
3
|
-
const R = Symbol("QyIconRegistry"), E = /* @__PURE__ */ new WeakMap();
|
|
4
|
-
function C(e) {
|
|
5
|
-
const r = [], o = /* @__PURE__ */ new Map();
|
|
6
|
-
for (const s of (e == null ? void 0 : e.icons) ?? []) {
|
|
7
|
-
const n = w(s == null ? void 0 : s.name);
|
|
8
|
-
if (!n)
|
|
9
|
-
throw new Error("QyIcon definition name must not be empty.");
|
|
10
|
-
const a = b(n);
|
|
11
|
-
if (o.has(a))
|
|
12
|
-
throw new Error(`Duplicate icon name "${n}".`);
|
|
13
|
-
const i = re(s, n);
|
|
14
|
-
r.push(i), o.set(a, i);
|
|
15
|
-
}
|
|
16
|
-
const c = [], f = /* @__PURE__ */ new Map();
|
|
17
|
-
for (const s of x(e == null ? void 0 : e.aliases)) {
|
|
18
|
-
const n = w(s.name), a = w(s.target), i = b(n), v = b(a);
|
|
19
|
-
if (!n)
|
|
20
|
-
throw new Error("QyIcon alias name must not be empty.");
|
|
21
|
-
if (!a)
|
|
22
|
-
throw new Error(`QyIcon alias "${n}" target must not be empty.`);
|
|
23
|
-
if (o.has(i))
|
|
24
|
-
throw new Error(`Icon alias "${n}" conflicts with a canonical icon name.`);
|
|
25
|
-
if (f.has(i))
|
|
26
|
-
throw new Error(`Duplicate icon alias "${n}".`);
|
|
27
|
-
const p = o.get(v);
|
|
28
|
-
if (!p)
|
|
29
|
-
throw new Error(`Icon alias "${n}" target "${a}" not found.`);
|
|
30
|
-
f.set(i, b(p.name)), c.push(Object.freeze({ name: n, target: p.name }));
|
|
31
|
-
}
|
|
32
|
-
let l = Object.freeze({
|
|
33
|
-
definitions: Object.freeze(r),
|
|
34
|
-
aliases: Object.freeze(c),
|
|
35
|
-
byName: o,
|
|
36
|
-
aliasTargets: f
|
|
37
|
-
}), m, u = !1;
|
|
38
|
-
const d = () => {
|
|
39
|
-
if (!e.loader) return m ?? (m = Promise.resolve());
|
|
40
|
-
u = !1;
|
|
41
|
-
let s;
|
|
42
|
-
try {
|
|
43
|
-
s = e.loader();
|
|
44
|
-
} catch (n) {
|
|
45
|
-
s = Promise.reject(n);
|
|
46
|
-
}
|
|
47
|
-
return m = Promise.resolve(s).then((n) => {
|
|
48
|
-
let a;
|
|
49
|
-
try {
|
|
50
|
-
a = C({
|
|
51
|
-
icons: [...l.definitions, ...n.icons],
|
|
52
|
-
aliases: [...l.aliases, ...x(n.aliases)]
|
|
53
|
-
});
|
|
54
|
-
} catch (i) {
|
|
55
|
-
const v = i instanceof Error ? i.message : String(i);
|
|
56
|
-
throw new Error(`Icon registry load conflict: ${v}`);
|
|
57
|
-
}
|
|
58
|
-
l = E.get(a), E.set(h, l);
|
|
59
|
-
}).catch((n) => {
|
|
60
|
-
throw u = !0, n;
|
|
61
|
-
}), m;
|
|
62
|
-
}, h = Object.freeze({
|
|
63
|
-
resolve(s) {
|
|
64
|
-
const n = b(w(s)), a = l.aliasTargets.get(n) ?? n, i = l.byName.get(a);
|
|
65
|
-
return i ? P(i) : void 0;
|
|
66
|
-
},
|
|
67
|
-
has(s) {
|
|
68
|
-
const n = b(w(s));
|
|
69
|
-
return l.byName.has(l.aliasTargets.get(n) ?? n);
|
|
70
|
-
},
|
|
71
|
-
list() {
|
|
72
|
-
return Object.freeze(l.definitions.map(P));
|
|
73
|
-
},
|
|
74
|
-
load() {
|
|
75
|
-
return m ?? d();
|
|
76
|
-
},
|
|
77
|
-
retry() {
|
|
78
|
-
return u ? d() : Promise.reject(new Error("QyIcon registry retry is only available after a failed load."));
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
return E.set(h, l), h;
|
|
82
|
-
}
|
|
83
|
-
function ue(...e) {
|
|
84
|
-
const r = [], o = [];
|
|
85
|
-
for (const c of e) {
|
|
86
|
-
const f = E.get(c);
|
|
87
|
-
if (!f)
|
|
88
|
-
throw new TypeError("mergeQyIconRegistries accepts only QyIcon registries created by this package.");
|
|
89
|
-
r.push(...f.definitions), o.push(...f.aliases);
|
|
90
|
-
}
|
|
91
|
-
try {
|
|
92
|
-
return C({ icons: r, aliases: o });
|
|
93
|
-
} catch (c) {
|
|
94
|
-
const f = c instanceof Error ? c.message : String(c);
|
|
95
|
-
throw new Error(`Icon registry merge conflict: ${f}`);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
function fe(e) {
|
|
99
|
-
if (!E.has(e))
|
|
100
|
-
throw new TypeError("createQyIconPlugin accepts only a QyIcon registry created by this package.");
|
|
101
|
-
return Object.freeze({
|
|
102
|
-
install(r) {
|
|
103
|
-
r.provide(R, e);
|
|
104
|
-
}
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
function w(e) {
|
|
108
|
-
const r = typeof e == "string" || typeof e == "number" ? String(e).trim() : "";
|
|
109
|
-
if (!r) return "";
|
|
110
|
-
const o = /^#icon-(.+)$/i.exec(r);
|
|
111
|
-
if (o) return o[1].trim();
|
|
112
|
-
const c = /^icon-\[([^\[\]]+?)--([^\[\]]+?)\]$/i.exec(r);
|
|
113
|
-
return c ? `iconify:${c[1]}:${c[2]}` : r;
|
|
114
|
-
}
|
|
115
|
-
function b(e) {
|
|
116
|
-
return e.toLocaleLowerCase();
|
|
117
|
-
}
|
|
118
|
-
function x(e) {
|
|
119
|
-
return e ? Array.isArray(e) ? [...e] : Object.entries(e).map(([r, o]) => ({ name: r, target: o })) : [];
|
|
120
|
-
}
|
|
121
|
-
function re(e, r) {
|
|
122
|
-
const o = {
|
|
123
|
-
...e.label === void 0 ? {} : { label: te(e.label, r) },
|
|
124
|
-
...e.keywords === void 0 ? {} : { keywords: oe(e.keywords, r) }
|
|
125
|
-
};
|
|
126
|
-
switch (e.source) {
|
|
127
|
-
case "symbol":
|
|
128
|
-
return z({
|
|
129
|
-
name: r,
|
|
130
|
-
source: "symbol",
|
|
131
|
-
value: k("symbol", e.value, r),
|
|
132
|
-
...o
|
|
133
|
-
});
|
|
134
|
-
case "component":
|
|
135
|
-
return z({
|
|
136
|
-
name: r,
|
|
137
|
-
source: "component",
|
|
138
|
-
value: k("component", e.value, r),
|
|
139
|
-
...o
|
|
140
|
-
});
|
|
141
|
-
case "class":
|
|
142
|
-
return z({
|
|
143
|
-
name: r,
|
|
144
|
-
source: "class",
|
|
145
|
-
value: k("class", e.value, r),
|
|
146
|
-
...o
|
|
147
|
-
});
|
|
148
|
-
default:
|
|
149
|
-
throw new Error(`QyIcon definition "${r}" has unsupported source "${String(e.source)}".`);
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
function k(e, r, o) {
|
|
153
|
-
if (e === "symbol") {
|
|
154
|
-
if (typeof r != "string" || !/^#[^\s#]+$/.test(r))
|
|
155
|
-
throw new Error(`QyIcon symbol "${o}" must be a same-document #fragment.`);
|
|
156
|
-
return r;
|
|
157
|
-
}
|
|
158
|
-
if (e === "component") {
|
|
159
|
-
if (typeof r != "object" && typeof r != "function" || r === null)
|
|
160
|
-
throw new Error(`QyIcon component "${o}" must be a Vue component.`);
|
|
161
|
-
return r;
|
|
162
|
-
}
|
|
163
|
-
if (e !== "class")
|
|
164
|
-
throw new Error(`QyIcon definition "${o}" has unsupported source "${String(e)}".`);
|
|
165
|
-
if (typeof r != "string" || !r.trim() || !/^[A-Za-z0-9_:.\/\[\]%-]+(?:\s+[A-Za-z0-9_:.\/\[\]%-]+)*$/.test(r.trim()))
|
|
166
|
-
throw new Error(`QyIcon class "${o}" must be a trusted static class string.`);
|
|
167
|
-
return r.trim();
|
|
168
|
-
}
|
|
169
|
-
function te(e, r) {
|
|
170
|
-
if (typeof e != "string")
|
|
171
|
-
throw new Error(`QyIcon label "${r}" must be a string.`);
|
|
172
|
-
return e;
|
|
173
|
-
}
|
|
174
|
-
function oe(e, r) {
|
|
175
|
-
if (!Array.isArray(e) || e.some((o) => typeof o != "string"))
|
|
176
|
-
throw new Error(`QyIcon keywords "${r}" must be strings.`);
|
|
177
|
-
return Object.freeze([...e]);
|
|
178
|
-
}
|
|
179
|
-
function z(e) {
|
|
180
|
-
return e.keywords && !Object.isFrozen(e.keywords) && (e = { ...e, keywords: Object.freeze([...e.keywords]) }), Object.freeze(e);
|
|
181
|
-
}
|
|
182
|
-
function P(e) {
|
|
183
|
-
return z({
|
|
184
|
-
...e,
|
|
185
|
-
...e.keywords ? { keywords: [...e.keywords] } : {}
|
|
186
|
-
});
|
|
187
|
-
}
|
|
188
|
-
const ne = ["role", "aria-label", "aria-hidden", "data-qy-icon-missing"], se = {
|
|
189
|
-
key: 1,
|
|
190
|
-
"aria-hidden": "true",
|
|
191
|
-
focusable: "false"
|
|
192
|
-
}, ae = ["href", "xlink:href"], ie = /* @__PURE__ */ D({
|
|
193
|
-
name: "QyIcon",
|
|
194
|
-
inheritAttrs: !1,
|
|
195
|
-
__name: "index",
|
|
196
|
-
props: {
|
|
197
|
-
name: {},
|
|
198
|
-
icon: {},
|
|
199
|
-
size: { default: "1em" },
|
|
200
|
-
color: { default: "currentColor" },
|
|
201
|
-
spin: { type: Boolean, default: !1 },
|
|
202
|
-
label: {}
|
|
203
|
-
},
|
|
204
|
-
setup(e) {
|
|
205
|
-
const r = e, o = q(), c = B(), f = V(R, null), l = y(
|
|
206
|
-
() => r.icon ? M(F(r.icon)) : void 0
|
|
207
|
-
), m = y(
|
|
208
|
-
() => r.name === void 0 || r.name === null ? "" : w(r.name)
|
|
209
|
-
), u = y(() => {
|
|
210
|
-
if (!(r.icon || !f || !m.value))
|
|
211
|
-
return f.resolve(m.value);
|
|
212
|
-
}), d = W(null), h = y(() => !!(!r.icon && m.value && !u.value)), s = y(() => {
|
|
213
|
-
const t = typeof r.label == "string" ? r.label.trim() : "";
|
|
214
|
-
if (t) return t;
|
|
215
|
-
const g = o["aria-label"];
|
|
216
|
-
return L(g) ? String(g) : "";
|
|
217
|
-
}), n = y(() => s.value ? "img" : o.role), a = y(() => K(r.size)), i = y(() => ({
|
|
218
|
-
width: a.value,
|
|
219
|
-
height: a.value,
|
|
220
|
-
fontSize: a.value,
|
|
221
|
-
color: r.color || "currentColor"
|
|
222
|
-
})), v = y(() => {
|
|
223
|
-
const t = {};
|
|
224
|
-
for (const [g, $] of Object.entries(o))
|
|
225
|
-
T(g) && (t[g] = $);
|
|
226
|
-
return t;
|
|
227
|
-
}), p = y(() => Object.freeze({ name: m.value }));
|
|
228
|
-
O(() => {
|
|
229
|
-
const t = u.value;
|
|
230
|
-
d.value && (t == null ? void 0 : t.source) === "symbol" && (d.value.setAttributeNS(
|
|
231
|
-
"http://www.w3.org/1999/xlink",
|
|
232
|
-
"xlink:href",
|
|
233
|
-
t.value
|
|
234
|
-
), d.value.setAttribute("xlink:href", t.value));
|
|
235
|
-
}), O(() => {
|
|
236
|
-
});
|
|
237
|
-
function K(t) {
|
|
238
|
-
return typeof t == "number" ? Number.isFinite(t) && t > 0 ? `${t}px` : "1em" : t.trim() || "1em";
|
|
239
|
-
}
|
|
240
|
-
function L(t) {
|
|
241
|
-
return typeof t == "string" ? t.trim().length > 0 : t != null && t !== !1;
|
|
242
|
-
}
|
|
243
|
-
function T(t) {
|
|
244
|
-
return t !== "class" && t !== "style" && t !== "role" && t !== "aria-label" && t !== "aria-hidden" && t !== "data-qy-icon-missing" && (t === "id" || t === "title" || t.startsWith("data-") || t.startsWith("aria-"));
|
|
245
|
-
}
|
|
246
|
-
return (t, g) => {
|
|
247
|
-
var $, S, j;
|
|
248
|
-
return I(), _("span", Y(v.value, {
|
|
249
|
-
class: ["qy-icon", [Q(o).class, { "is-spin": r.spin }]],
|
|
250
|
-
style: [Q(o).style, i.value],
|
|
251
|
-
role: n.value,
|
|
252
|
-
"aria-label": s.value || void 0,
|
|
253
|
-
"aria-hidden": s.value ? void 0 : "true",
|
|
254
|
-
"data-qy-icon-missing": h.value ? m.value : void 0
|
|
255
|
-
}), [
|
|
256
|
-
l.value ? (I(), A(N(l.value), {
|
|
257
|
-
key: 0,
|
|
258
|
-
"aria-hidden": "true"
|
|
259
|
-
})) : (($ = u.value) == null ? void 0 : $.source) === "symbol" ? (I(), _("svg", se, [
|
|
260
|
-
Z("use", {
|
|
261
|
-
ref_key: "symbolElement",
|
|
262
|
-
ref: d,
|
|
263
|
-
href: u.value.value,
|
|
264
|
-
"xlink:href": u.value.value
|
|
265
|
-
}, null, 8, ae)
|
|
266
|
-
])) : ((S = u.value) == null ? void 0 : S.source) === "component" ? (I(), A(N(u.value.value), {
|
|
267
|
-
key: 2,
|
|
268
|
-
"aria-hidden": "true"
|
|
269
|
-
})) : ((j = u.value) == null ? void 0 : j.source) === "class" ? (I(), _("span", {
|
|
270
|
-
key: 3,
|
|
271
|
-
class: G(["qy-icon__class", u.value.value]),
|
|
272
|
-
"aria-hidden": "true"
|
|
273
|
-
}, null, 2)) : h.value && Q(c).fallback ? H(t.$slots, "fallback", J(U(p.value)), void 0, !0, 4) : X("", !0)
|
|
274
|
-
], 16, ne);
|
|
275
|
-
};
|
|
276
|
-
}
|
|
277
|
-
}), me = /* @__PURE__ */ ee(ie, [["__scopeId", "data-v-d780dc6b"]]);
|
|
278
|
-
export {
|
|
279
|
-
me as I,
|
|
280
|
-
R as Q,
|
|
281
|
-
C as a,
|
|
282
|
-
fe as c,
|
|
283
|
-
ue as m,
|
|
284
|
-
w as n
|
|
285
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const v=require("element-plus"),e=require("vue"),z=require("./index-BgAP_K2E.cjs"),F=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),H={class:"qy-table-column-settings"},K={class:"qy-table-column-settings__table-wrap"},L=["data-testid","onClick"],Q={class:"qy-table-column-settings__side","data-testid":"settings-side-actions"},R={class:"qy-table-column-settings__side-main"},W={key:0,class:"qy-table-column-settings__selected is-empty"},j={key:1,class:"qy-table-column-settings__selected"},A={class:"qy-table-column-settings__side-footer"},G=e.defineComponent({name:"QyTableColumnSettings",__name:"index",props:{modelValue:{type:Boolean},settings:{default:()=>[]},defaultSettings:{default:void 0},title:{default:"列设置"},width:{default:"700px"},showDeleteCache:{type:Boolean,default:!0},unconfigurableTypes:{default:()=>["index","selection","expand","setup"]}},emits:["update:modelValue","confirm","reset","cancel","delete-cache","change"],setup(m,{emit:w}){const c=m,u=w,s=e.ref([]),r=e.ref(""),p=l=>l.map(t=>({...t})),h=()=>{var l;s.value=p(c.settings),r.value=((l=s.value[0])==null?void 0:l.key)||""};e.watch(()=>c.modelValue,l=>{l&&h()},{immediate:!0});const b=()=>{u("change",p(s.value))},f=l=>s.value.find(t=>t.key===l),o=e.computed(()=>f(r.value)),d=e.computed(()=>s.value.findIndex(l=>l.key===r.value)),N=l=>!!(l.type&&c.unconfigurableTypes.includes(l.type)),E=l=>l==="left"?"left":l==="right"?"right":"none",x=l=>l.type==="index"?"序号":l.type==="selection"?"多选":l.type==="expand"?"展开":l.type==="setup"?"设置":l.label||l.prop||l.key,V=l=>{l&&(r.value=l.key)},C=l=>{o.value&&q(o.value.key,l)},q=(l,t)=>{const n=f(l);n&&(n.fixed=t,b())},S=(l,t)=>{const n=f(l);!n||N(n)||(n.visible=t,b())},B=(l,t)=>{const n=f(l);n&&(n.width=t,b())},g=(l,t)=>{if(l===t||l<0||l>=s.value.length||t<0||t>=s.value.length)return;const n=[...s.value],[y]=n.splice(l,1);n.splice(t,0,y),s.value=n,r.value=y.key,b()},$=()=>{var t,n;const l=(t=c.defaultSettings)!=null&&t.length?c.defaultSettings:c.settings;s.value=p(l),r.value=((n=s.value[0])==null?void 0:n.key)||"",u("reset",p(s.value)),b()},k=()=>{u("cancel"),u("update:modelValue",!1)},T=()=>{u("confirm",p(s.value)),u("update:modelValue",!1)};return(l,t)=>{const n=v.ElTableColumn,y=v.ElInput,D=v.ElTable,i=v.ElButton,U=v.ElDialog;return e.openBlock(),e.createBlock(U,{"model-value":m.modelValue,title:m.title,width:m.width,"append-to-body":"","before-close":k},{footer:e.withCtx(()=>[e.createVNode(i,{"data-action":"cancel",onClick:k},{default:e.withCtx(()=>[...t[17]||(t[17]=[e.createTextVNode(" 取消 ",-1)])]),_:1}),e.createVNode(i,{type:"primary","data-action":"confirm",onClick:T},{default:e.withCtx(()=>[...t[18]||(t[18]=[e.createTextVNode(" 确定 ",-1)])]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("div",H,[e.createElementVNode("div",K,[e.createVNode(D,{data:s.value,"row-key":"key",height:"400px",border:"","highlight-current-row":"","data-testid":"settings-table",onCurrentChange:V,onRowClick:V},{default:e.withCtx(()=>[e.createVNode(n,{label:"列名",prop:"label","show-overflow-tooltip":""},{default:e.withCtx(({row:a})=>[e.createElementVNode("div",{class:"qy-table-column-settings__name","data-testid":`table-row-${a.key}`,onClick:_=>V(a)},[e.createElementVNode("span",{class:e.normalizeClass(["qy-table-column-settings__fixed-mark",`is-${E(a.fixed)}`]),"aria-hidden":"true"},null,2),e.createElementVNode("span",null,e.toDisplayString(x(a)),1)],8,L)]),_:1}),e.createVNode(n,{label:"列宽(px)",prop:"width",width:"150"},{default:e.withCtx(({row:a})=>[e.createVNode(y,{"model-value":a.width,size:"small",placeholder:"留空自动设置宽度","data-testid":"width","onUpdate:modelValue":_=>B(a.key,_)},null,8,["model-value","onUpdate:modelValue"])]),_:1}),e.createVNode(n,{label:"列显示",prop:"visible",width:"100"},{default:e.withCtx(({row:a})=>[e.createVNode(z.Switch,{"model-value":a.visible,disabled:N(a),"data-testid":"visible-switch","onUpdate:modelValue":_=>S(a.key,!!_)},null,8,["model-value","disabled","onUpdate:modelValue"])]),_:1})]),_:1},8,["data"])]),e.createElementVNode("div",Q,[e.createElementVNode("div",R,[o.value?(e.openBlock(),e.createElementBlock("div",j,e.toDisplayString(x(o.value)),1)):(e.openBlock(),e.createElementBlock("div",W," 请选择列 ")),e.createVNode(i,{class:"qy-table-column-settings__side-button",disabled:!o.value||d.value===0,"data-action":"top",onClick:t[0]||(t[0]=a=>g(d.value,0))},{default:e.withCtx(()=>[...t[8]||(t[8]=[e.createElementVNode("span",{class:"qy-table-column-settings__action-icon is-top"},null,-1),e.createElementVNode("span",null,"置顶",-1)])]),_:1},8,["disabled"]),e.createVNode(i,{class:"qy-table-column-settings__side-button",disabled:!o.value||d.value===0,"data-action":"up",onClick:t[1]||(t[1]=a=>g(d.value,d.value-1))},{default:e.withCtx(()=>[...t[9]||(t[9]=[e.createElementVNode("span",{class:"qy-table-column-settings__action-icon is-up"},null,-1),e.createElementVNode("span",null,"上移",-1)])]),_:1},8,["disabled"]),e.createVNode(i,{class:"qy-table-column-settings__side-button",disabled:!o.value||d.value===s.value.length-1,"data-action":"down",onClick:t[2]||(t[2]=a=>g(d.value,d.value+1))},{default:e.withCtx(()=>[...t[10]||(t[10]=[e.createElementVNode("span",{class:"qy-table-column-settings__action-icon is-down"},null,-1),e.createElementVNode("span",null,"下移",-1)])]),_:1},8,["disabled"]),e.createVNode(i,{class:"qy-table-column-settings__side-button",disabled:!o.value||d.value===s.value.length-1,"data-action":"bottom",onClick:t[3]||(t[3]=a=>g(d.value,s.value.length-1))},{default:e.withCtx(()=>[...t[11]||(t[11]=[e.createElementVNode("span",{class:"qy-table-column-settings__action-icon is-bottom"},null,-1),e.createElementVNode("span",null,"置底",-1)])]),_:1},8,["disabled"]),e.createVNode(i,{class:"qy-table-column-settings__side-button",disabled:!o.value,"data-action":"fixed-left",onClick:t[4]||(t[4]=a=>C("left"))},{default:e.withCtx(()=>[...t[12]||(t[12]=[e.createElementVNode("span",{class:"qy-table-column-settings__action-icon is-fixed-left"},null,-1),e.createElementVNode("span",null,"固定左边",-1)])]),_:1},8,["disabled"]),e.createVNode(i,{class:"qy-table-column-settings__side-button",disabled:!o.value,"data-action":"fixed-right",onClick:t[5]||(t[5]=a=>C("right"))},{default:e.withCtx(()=>[...t[13]||(t[13]=[e.createElementVNode("span",{class:"qy-table-column-settings__action-icon is-fixed-right"},null,-1),e.createElementVNode("span",null,"固定右边",-1)])]),_:1},8,["disabled"]),e.createVNode(i,{class:"qy-table-column-settings__side-button",disabled:!o.value,"data-action":"clear-fixed",onClick:t[6]||(t[6]=a=>C(!1))},{default:e.withCtx(()=>[...t[14]||(t[14]=[e.createElementVNode("span",{class:"qy-table-column-settings__action-icon is-clear-fixed"},null,-1),e.createElementVNode("span",null,"取消固定",-1)])]),_:1},8,["disabled"])]),e.createElementVNode("div",A,[e.createVNode(i,{"data-action":"reset",onClick:$},{default:e.withCtx(()=>[...t[15]||(t[15]=[e.createElementVNode("span",{class:"qy-table-column-settings__action-icon is-reset"},null,-1),e.createElementVNode("span",null,"恢复默认",-1)])]),_:1}),m.showDeleteCache?(e.openBlock(),e.createBlock(i,{key:0,type:"danger",plain:"","data-action":"delete-cache",onClick:t[7]||(t[7]=a=>u("delete-cache"))},{default:e.withCtx(()=>[...t[16]||(t[16]=[e.createElementVNode("span",{class:"qy-table-column-settings__action-icon is-reset"},null,-1),e.createElementVNode("span",null,"删除缓存",-1)])]),_:1})):e.createCommentVNode("",!0)])])])]),_:1},8,["model-value","title","width"])}}}),J=F._export_sfc(G,[["__scopeId","data-v-63a56a9a"]]);exports.TableColumnSettings=J;
|