@das-fed/upf-ui 6.4.0-dev.313 → 6.4.0-dev.315
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/front-end/i18n/front-end-page/dasui_en-US.js +5 -5
- package/front-end/i18n/front-end-page/dasui_zh-CN.js +5 -5
- package/front-end/i18n/front-end-page/dasui_zh-MO.js +5 -5
- package/package.json +7 -7
- package/packages/business-components/ai-panel/{index-DCyDBdoc.js → index-BCG4Ay8z.js} +3 -18
- package/packages/business-components/ai-panel/index-BCG4Ay8z.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-_XzaXcle.js → index-C5KOKfah.js} +1058 -1492
- package/packages/business-components/ai-panel/index-C5KOKfah.js.gz +0 -0
- package/packages/business-components/ai-panel/index-CPc9GB7t.js +144 -0
- package/packages/business-components/ai-panel/index-CPc9GB7t.js.gz +0 -0
- package/packages/business-components/ai-panel/index.js +1 -1
- package/packages/business-components/ai-panel/src/dasAI/hooks/audio.d.ts +1 -1
- package/packages/business-components/app-container/index.js +98 -147
- package/packages/business-components/app-container/index.js.gz +0 -0
- package/packages/business-components/area-phone-select/index.d.ts +30 -30
- package/packages/business-components/area-phone-select/index.js +127 -176
- package/packages/business-components/area-phone-select/index.js.gz +0 -0
- package/packages/business-components/area-phone-select/src/area-popover/index.vue.d.ts +4 -4
- package/packages/business-components/change-enterprises/index.js +47 -73
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/change-pwd/index.js +15 -27
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/change-pwd/src/hooks/use-changePwd.d.ts +14 -14
- package/packages/business-components/currency-page/index.js +34 -51
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/index.js +12669 -17395
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/echarts/index.js +2089 -2102
- package/packages/business-components/echarts/index.js.gz +0 -0
- package/packages/business-components/export-button/index.js +110 -117
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/index.js +203 -237
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/layout-breadcrumb/index.js +42 -42
- package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/index.d.ts +4 -4
- package/packages/business-components/model-table-dialog/index.js +313 -361
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/payment/index.js +156 -246
- package/packages/business-components/payment/index.js.gz +0 -0
- package/packages/business-components/process-configuration/index.js +216 -302
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +1263 -1432
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/src/hooks/useForm.d.ts +14 -14
- package/packages/business-components/process-log/index.js +389 -572
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-log/style.css +1 -1
- package/packages/business-components/process-log/style.css.gz +0 -0
- package/packages/business-components/process-search-form/hooks/useSearchOptions.d.ts +4 -4
- package/packages/business-components/process-search-form/index.js +1 -1
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/index.d.ts +14 -14
- package/packages/business-components/process-table/index.js +424 -485
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/upload-file/index.js +57 -63
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/upload-file/style.css +1 -1
- package/packages/business-components/urgent-panel/index.js +1222 -1693
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/index.js +67 -128
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/index.js +263 -331
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/style.css +1 -1
- package/packages/business-components/video-dialog/style.css.gz +0 -0
- package/packages/components/alert/index.d.ts +4 -4
- package/packages/components/alert/index.js +50 -57
- package/packages/components/alert/index.js.gz +0 -0
- package/packages/components/audio-video/index.js +169 -196
- package/packages/components/audio-video/index.js.gz +0 -0
- package/packages/components/autocomplete/index.d.ts +6 -6
- package/packages/components/autocomplete/index.js +244 -269
- package/packages/components/autocomplete/index.js.gz +0 -0
- package/packages/components/autocomplete/style.css +1 -1
- package/packages/components/autocomplete/style.css.gz +0 -0
- package/packages/components/breadcrumb/index.js +55 -81
- package/packages/components/breadcrumb/index.js.gz +0 -0
- package/packages/components/button/index.js +308 -381
- package/packages/components/button/index.js.gz +0 -0
- package/packages/components/calendar/index.js +253 -339
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/index.d.ts +8 -8
- package/packages/components/cascader/index.js +139 -174
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/cascader/style.css +1 -1
- package/packages/components/cascader/style.css.gz +0 -0
- package/packages/components/checkbox/index.d.ts +12 -12
- package/packages/components/checkbox/index.js +241 -354
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/checkbox/style.css +1 -1
- package/packages/components/checkbox/style.css.gz +0 -0
- package/packages/components/collapse-panel/index.js +19 -26
- package/packages/components/collapse-panel/index.js.gz +0 -0
- package/packages/components/collapse-transition/index.js +6 -13
- package/packages/components/collapse-transition/index.js.gz +0 -0
- package/packages/components/collaspe/index.d.ts +4 -4
- package/packages/components/collaspe/index.js +22 -23
- package/packages/components/collaspe/index.js.gz +0 -0
- package/packages/components/color-picker/index.js +66 -89
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/custom-search-item/index.d.ts +4 -4
- package/packages/components/custom-search-item/index.js +37 -49
- package/packages/components/custom-search-item/index.js.gz +0 -0
- package/packages/components/date-picker/index.js +888 -1118
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/dialog/index.js +150 -200
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dimple-layout/index.js +131 -149
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/drawer/index.js +6 -13
- package/packages/components/drawer/index.js.gz +0 -0
- package/packages/components/dropdown/index.js +46 -61
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/edit-table/index.d.ts +4 -4
- package/packages/components/edit-table/index.js +1092 -1324
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/empty/index.js +33 -61
- package/packages/components/empty/index.js.gz +0 -0
- package/packages/components/error-overlay-model/index.js +35 -47
- package/packages/components/error-overlay-model/index.js.gz +0 -0
- package/packages/components/form/index.d.ts +14 -14
- package/packages/components/form/index.js +29 -35
- package/packages/components/form/index.js.gz +0 -0
- package/packages/components/form-item/index.js +924 -1089
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/form-item/style.css +1 -1
- package/packages/components/form-item/style.css.gz +0 -0
- package/packages/components/icon/index.js +7 -13
- package/packages/components/icon/index.js.gz +0 -0
- package/packages/components/image-upload/index.js +109 -143
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-viewer/index.js +571 -664
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/infinite-scroll/index.d.ts +3 -1
- package/packages/components/infinite-scroll/index.js +672 -858
- package/packages/components/infinite-scroll/index.js.gz +0 -0
- package/packages/components/infinite-scroll/src/index.vue.d.ts +3 -1
- package/packages/components/input/index.js +1044 -1128
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input/src/index.vue.d.ts +2 -1
- package/packages/components/input/src/type.d.ts +73 -71
- package/packages/components/input/style.css +2 -2
- package/packages/components/input/style.css.gz +0 -0
- package/packages/components/input-dialog-select/index.js +119 -156
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/input-number/index.js +125 -145
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/input-number/style.css +1 -1
- package/packages/components/input-number/style.css.gz +0 -0
- package/packages/components/live-player/index.d.ts +4 -4
- package/packages/components/live-player/index.js +9 -19
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/loading/index.js +4 -10
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/map/index.js +103 -156
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/menu-aside/index.js +654 -879
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/menu-header/index.js +21 -39
- package/packages/components/menu-header/index.js.gz +0 -0
- package/packages/components/pagination/index.js +117 -155
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/pagination/style.css +1 -1
- package/packages/components/pagination/style.css.gz +0 -0
- package/packages/components/popover/index.d.ts +4 -4
- package/packages/components/popover/index.js +28 -49
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/popup-mask/index.js +45 -58
- package/packages/components/popup-mask/index.js.gz +0 -0
- package/packages/components/preview/index.js +1 -6
- package/packages/components/preview/index.js.gz +0 -0
- package/packages/components/progress/index.js +117 -204
- package/packages/components/progress/index.js.gz +0 -0
- package/packages/components/progress/style.css +1 -1
- package/packages/components/progress/style.css.gz +0 -0
- package/packages/components/radio/index.d.ts +10 -10
- package/packages/components/radio/index.js +239 -376
- package/packages/components/radio/index.js.gz +0 -0
- package/packages/components/radio-tabs/index.js +52 -86
- package/packages/components/radio-tabs/index.js.gz +0 -0
- package/packages/components/rich-editor/index.js +269 -275
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/scrollbar/index.js +2 -3
- package/packages/components/scrollbar/index.js.gz +0 -0
- package/packages/components/search/index.js +98 -107
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/search-form/index.js +1314 -1556
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/style.css +1 -1
- package/packages/components/search-form/style.css.gz +0 -0
- package/packages/components/select/index.js +536 -605
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/select-input/index.js +78 -79
- package/packages/components/select-input/index.js.gz +0 -0
- package/packages/components/select-list/index.js +541 -598
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/select-list/style.css +1 -1
- package/packages/components/select-list/style.css.gz +0 -0
- package/packages/components/special-range-picker-month/index.js +194 -289
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/style.css +1 -1
- package/packages/components/special-range-picker-month/style.css.gz +0 -0
- package/packages/components/special-range-picker-year/index.js +256 -389
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/style.css +1 -1
- package/packages/components/special-range-picker-year/style.css.gz +0 -0
- package/packages/components/spin/index.js +45 -58
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/split-panel/index.d.ts +8 -8
- package/packages/components/split-panel/index.js +134 -192
- package/packages/components/split-panel/index.js.gz +0 -0
- package/packages/components/step/index.js +0 -1
- package/packages/components/step/index.js.gz +0 -0
- package/packages/components/steps/index.js +6 -13
- package/packages/components/switch/index.js +11 -17
- package/packages/components/switch/index.js.gz +0 -0
- package/packages/components/switch/style.css +1 -1
- package/packages/components/switch/style.css.gz +0 -0
- package/packages/components/table/index.d.ts +103 -103
- package/packages/components/table/index.js +2935 -3461
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/src/Table.vue.d.ts +9 -9
- package/packages/components/tabs/index.js +169 -235
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/tag/index.js +11 -25
- package/packages/components/tag/index.js.gz +0 -0
- package/packages/components/time-line/index.js +49 -69
- package/packages/components/time-line/index.js.gz +0 -0
- package/packages/components/tooltip/index.d.ts +6 -6
- package/packages/components/tooltip/index.js +74 -125
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tooltip/style.css +1 -1
- package/packages/components/tooltip/style.css.gz +0 -0
- package/packages/components/tree/index.js +846 -1013
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree-select/index.js +376 -404
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/tree-select/src/App.vue.d.ts +12 -12
- package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +12 -12
- package/packages/components/tree-table/index.d.ts +2 -2
- package/packages/components/tree-table/index.js +294 -400
- package/packages/components/tree-table/index.js.gz +0 -0
- package/packages/components/tree-v2/index.js +2409 -2663
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/tree-v2/src/App.vue.d.ts +143 -141
- package/packages/components/tree-v2/style.css +2 -2
- package/packages/components/tree-v2/style.css.gz +0 -0
- package/packages/components/upload/index.js +135 -208
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/index.js +136 -191
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/packages/components/virtual-tree/src/App.vue.d.ts +140 -140
- package/packages/components/watermark/index.js +6 -13
- package/packages/icons/1-grids/index.js +0 -1
- package/packages/icons/1-grids/index.js.gz +0 -0
- package/packages/icons/4-grids/index.js +0 -1
- package/packages/icons/4-grids/index.js.gz +0 -0
- package/packages/icons/9-grids/index.js +0 -1
- package/packages/icons/9-grids/index.js.gz +0 -0
- package/packages/icons/add/index.js +0 -1
- package/packages/icons/add/index.js.gz +0 -0
- package/packages/icons/add-2/index.js +0 -1
- package/packages/icons/add-item/index.js +0 -1
- package/packages/icons/add-item/index.js.gz +0 -0
- package/packages/icons/addto/index.js +0 -1
- package/packages/icons/addto/index.js.gz +0 -0
- package/packages/icons/alarm/index.js +0 -1
- package/packages/icons/alarm/index.js.gz +0 -0
- package/packages/icons/arrow-first/index.js +0 -1
- package/packages/icons/arrow-first/index.js.gz +0 -0
- package/packages/icons/arrow-last/index.js +0 -1
- package/packages/icons/arrow-last/index.js.gz +0 -0
- package/packages/icons/audioing/index.js +0 -1
- package/packages/icons/audioing/index.js.gz +0 -0
- package/packages/icons/back/index.js +0 -1
- package/packages/icons/back/index.js.gz +0 -0
- package/packages/icons/bianjigongzuotai/index.js +0 -1
- package/packages/icons/bianjigongzuotai/index.js.gz +0 -0
- package/packages/icons/biaochi/index.js +0 -1
- package/packages/icons/biaochi/index.js.gz +0 -0
- package/packages/icons/bim/index.js +0 -1
- package/packages/icons/bim/index.js.gz +0 -0
- package/packages/icons/bobaoguanbi/index.js +0 -1
- package/packages/icons/bobaoguanbi/index.js.gz +0 -0
- package/packages/icons/bobaokaiqi/index.js +0 -1
- package/packages/icons/bobaokaiqi/index.js.gz +0 -0
- package/packages/icons/bold/index.js +0 -1
- package/packages/icons/bold/index.js.gz +0 -0
- package/packages/icons/camera/index.js +0 -1
- package/packages/icons/camera/index.js.gz +0 -0
- package/packages/icons/camera-2/index.js +0 -1
- package/packages/icons/camera-2/index.js.gz +0 -0
- package/packages/icons/camera-3/index.js +0 -1
- package/packages/icons/camera-3/index.js.gz +0 -0
- package/packages/icons/cancel-full-screen/index.js +0 -1
- package/packages/icons/cancel-full-screen/index.js.gz +0 -0
- package/packages/icons/cankaoneirong/index.js +0 -1
- package/packages/icons/cankaoneirong/index.js.gz +0 -0
- package/packages/icons/card/index.js +0 -1
- package/packages/icons/card/index.js.gz +0 -0
- package/packages/icons/card-view/index.js +0 -1
- package/packages/icons/card-view/index.js.gz +0 -0
- package/packages/icons/caret-bottom/index.js +0 -1
- package/packages/icons/caret-bottom/index.js.gz +0 -0
- package/packages/icons/caret-right/index.js +0 -1
- package/packages/icons/chakancelve/index.js +0 -1
- package/packages/icons/chakancelve/index.js.gz +0 -0
- package/packages/icons/change/index.js +0 -1
- package/packages/icons/change/index.js.gz +0 -0
- package/packages/icons/change-2/index.js +0 -1
- package/packages/icons/change-2/index.js.gz +0 -0
- package/packages/icons/change-3/index.js +0 -1
- package/packages/icons/change-3/index.js.gz +0 -0
- package/packages/icons/changetenant/index.js +0 -1
- package/packages/icons/changetenant/index.js.gz +0 -0
- package/packages/icons/chart/index.js +0 -1
- package/packages/icons/chart/index.js.gz +0 -0
- package/packages/icons/chaxunxiangqing/index.js +0 -1
- package/packages/icons/chaxunxiangqing/index.js.gz +0 -0
- package/packages/icons/check/index.js +0 -1
- package/packages/icons/check/index.js.gz +0 -0
- package/packages/icons/chuanglianjiang/index.js +0 -1
- package/packages/icons/chuanglianjiang/index.js.gz +0 -0
- package/packages/icons/chuangliansheng/index.js +0 -1
- package/packages/icons/chuangliansheng/index.js.gz +0 -0
- package/packages/icons/chuanglianting/index.js +0 -1
- package/packages/icons/chuanglianting/index.js.gz +0 -0
- package/packages/icons/chuizhiduiqi/index.js +0 -1
- package/packages/icons/chuizhiduiqi/index.js.gz +0 -0
- package/packages/icons/chuizhijunfen/index.js +0 -1
- package/packages/icons/chuizhijunfen/index.js.gz +0 -0
- package/packages/icons/close/index.js +0 -1
- package/packages/icons/close/index.js.gz +0 -0
- package/packages/icons/close-2/index.js +0 -1
- package/packages/icons/close-2/index.js.gz +0 -0
- package/packages/icons/closeaudio/index.js +0 -1
- package/packages/icons/closeaudio/index.js.gz +0 -0
- package/packages/icons/color/index.js +0 -1
- package/packages/icons/color/index.js.gz +0 -0
- package/packages/icons/copy/index.js +0 -1
- package/packages/icons/copy/index.js.gz +0 -0
- package/packages/icons/custom/index.js +0 -1
- package/packages/icons/custom/index.js.gz +0 -0
- package/packages/icons/daochu/index.js +0 -1
- package/packages/icons/daochu/index.js.gz +0 -0
- package/packages/icons/date/index.js +0 -1
- package/packages/icons/date/index.js.gz +0 -0
- package/packages/icons/decline/index.js +0 -1
- package/packages/icons/decline/index.js.gz +0 -0
- package/packages/icons/default-btn/index.js +0 -1
- package/packages/icons/default-btn/index.js.gz +0 -0
- package/packages/icons/default-point/index.js +0 -1
- package/packages/icons/default-point/index.js.gz +0 -0
- package/packages/icons/delete/index.js +0 -1
- package/packages/icons/delete/index.js.gz +0 -0
- package/packages/icons/delete-2/index.js +0 -1
- package/packages/icons/delete-2/index.js.gz +0 -0
- package/packages/icons/dengbijiesuo/index.js +0 -1
- package/packages/icons/dengbisuoding/index.js +0 -1
- package/packages/icons/dengdai/index.js +0 -1
- package/packages/icons/dengdai/index.js.gz +0 -0
- package/packages/icons/dianzan/index.js +0 -1
- package/packages/icons/dianzan/index.js.gz +0 -0
- package/packages/icons/dianzan-2/index.js +0 -1
- package/packages/icons/dianzan-2/index.js.gz +0 -0
- package/packages/icons/direction-control/index.js +0 -1
- package/packages/icons/direction-control/index.js.gz +0 -0
- package/packages/icons/ditu/index.js +0 -1
- package/packages/icons/ditu/index.js.gz +0 -0
- package/packages/icons/dizhixuanze/index.js +0 -1
- package/packages/icons/dizhixuanze/index.js.gz +0 -0
- package/packages/icons/double-arrow-left/index.js +0 -1
- package/packages/icons/double-arrow-left/index.js.gz +0 -0
- package/packages/icons/double-arrow-right/index.js +0 -1
- package/packages/icons/double-arrow-right/index.js.gz +0 -0
- package/packages/icons/down/index.js +0 -1
- package/packages/icons/down/index.js.gz +0 -0
- package/packages/icons/down-2/index.js +0 -1
- package/packages/icons/down-3/index.js +0 -1
- package/packages/icons/download/index.js +0 -1
- package/packages/icons/download/index.js.gz +0 -0
- package/packages/icons/drag/index.js +0 -1
- package/packages/icons/drag/index.js.gz +0 -0
- package/packages/icons/drawing/index.js +0 -1
- package/packages/icons/drawing/index.js.gz +0 -0
- package/packages/icons/edit/index.js +0 -1
- package/packages/icons/edit/index.js.gz +0 -0
- package/packages/icons/edit-1/index.js +0 -1
- package/packages/icons/edit-1/index.js.gz +0 -0
- package/packages/icons/edit-3/index.js +0 -1
- package/packages/icons/edit-3/index.js.gz +0 -0
- package/packages/icons/empty/index.js +0 -1
- package/packages/icons/empty/index.js.gz +0 -0
- package/packages/icons/enlarge/index.js +0 -1
- package/packages/icons/enlarge/index.js.gz +0 -0
- package/packages/icons/entry/index.js +0 -1
- package/packages/icons/entry/index.js.gz +0 -0
- package/packages/icons/exit/index.js +0 -1
- package/packages/icons/exit/index.js.gz +0 -0
- package/packages/icons/fabu/index.js +0 -1
- package/packages/icons/fabu/index.js.gz +0 -0
- package/packages/icons/fanhui/index.js +0 -1
- package/packages/icons/fanhui/index.js.gz +0 -0
- package/packages/icons/fasong/index.js +0 -1
- package/packages/icons/fasong/index.js.gz +0 -0
- package/packages/icons/filter-3/index.js +0 -1
- package/packages/icons/filter-3/index.js.gz +0 -0
- package/packages/icons/finish/index.js +0 -1
- package/packages/icons/finish/index.js.gz +0 -0
- package/packages/icons/fold/index.js +0 -1
- package/packages/icons/fold/index.js.gz +0 -0
- package/packages/icons/folder-quest/index.js +0 -1
- package/packages/icons/folder-quest/index.js.gz +0 -0
- package/packages/icons/form-tips/index.js +0 -1
- package/packages/icons/form-tips/index.js.gz +0 -0
- package/packages/icons/fresh/index.js +0 -1
- package/packages/icons/fresh/index.js.gz +0 -0
- package/packages/icons/full/index.js +0 -1
- package/packages/icons/full/index.js.gz +0 -0
- package/packages/icons/full-screen/index.js +0 -1
- package/packages/icons/full-screen/index.js.gz +0 -0
- package/packages/icons/fullscreen-2/index.js +0 -1
- package/packages/icons/fullscreen-2/index.js.gz +0 -0
- package/packages/icons/fuzhi/index.js +0 -1
- package/packages/icons/fuzhi/index.js.gz +0 -0
- package/packages/icons/fuzhineirong/index.js +0 -1
- package/packages/icons/fuzhineirong/index.js.gz +0 -0
- package/packages/icons/gaojin/index.js +0 -1
- package/packages/icons/gaojin/index.js.gz +0 -0
- package/packages/icons/gengduocaozuo/index.js +0 -1
- package/packages/icons/global/index.js +0 -1
- package/packages/icons/global/index.js.gz +0 -0
- package/packages/icons/gongzuotaiguanli/index.js +0 -1
- package/packages/icons/gongzuotaiguanli/index.js.gz +0 -0
- package/packages/icons/header-seach/index.js +0 -1
- package/packages/icons/header-seach/index.js.gz +0 -0
- package/packages/icons/header-setting/index.js +0 -1
- package/packages/icons/header-setting/index.js.gz +0 -0
- package/packages/icons/headersettings/index.js +0 -1
- package/packages/icons/headersettings/index.js.gz +0 -0
- package/packages/icons/hide/index.js +0 -1
- package/packages/icons/hide/index.js.gz +0 -0
- package/packages/icons/huabufuwei/index.js +0 -1
- package/packages/icons/huabufuwei/index.js.gz +0 -0
- package/packages/icons/huaxian/index.js +0 -1
- package/packages/icons/huaxian/index.js.gz +0 -0
- package/packages/icons/huida/index.js +0 -1
- package/packages/icons/huida/index.js.gz +0 -0
- package/packages/icons/huidaodibu/index.js +0 -1
- package/packages/icons/huidaodibu/index.js.gz +0 -0
- package/packages/icons/huifuchuchangshezhi/index.js +0 -1
- package/packages/icons/huifuchuchangshezhi/index.js.gz +0 -0
- package/packages/icons/hyperlinks/index.js +0 -1
- package/packages/icons/hyperlinks/index.js.gz +0 -0
- package/packages/icons/img/index.js +0 -1
- package/packages/icons/img/index.js.gz +0 -0
- package/packages/icons/input-close/index.js +0 -1
- package/packages/icons/input-close/index.js.gz +0 -0
- package/packages/icons/input-select/index.js +0 -1
- package/packages/icons/input-select/index.js.gz +0 -0
- package/packages/icons/intnet/index.js +0 -1
- package/packages/icons/intnet/index.js.gz +0 -0
- package/packages/icons/italic/index.js +0 -1
- package/packages/icons/italic/index.js.gz +0 -0
- package/packages/icons/jia-1/index.js +0 -1
- package/packages/icons/jia-1/index.js.gz +0 -0
- package/packages/icons/jian-1/index.js +0 -1
- package/packages/icons/jianshao-1/index.js +0 -1
- package/packages/icons/jinggao/index.js +0 -1
- package/packages/icons/jinggao/index.js.gz +0 -0
- package/packages/icons/jushangduiqi/index.js +0 -1
- package/packages/icons/jushangduiqi/index.js.gz +0 -0
- package/packages/icons/juxiaduiqi/index.js +0 -1
- package/packages/icons/juxiaduiqi/index.js.gz +0 -0
- package/packages/icons/juxinghuizhi/index.js +0 -1
- package/packages/icons/juxinghuizhi/index.js.gz +0 -0
- package/packages/icons/juyouduiqi/index.js +0 -1
- package/packages/icons/juyouduiqi/index.js.gz +0 -0
- package/packages/icons/juzuoduiqi/index.js +0 -1
- package/packages/icons/juzuoduiqi/index.js.gz +0 -0
- package/packages/icons/kaiguan/index.js +0 -1
- package/packages/icons/kaiguan/index.js.gz +0 -0
- package/packages/icons/kaimen/index.js +0 -1
- package/packages/icons/kaimen/index.js.gz +0 -0
- package/packages/icons/know/index.js +0 -1
- package/packages/icons/know/index.js.gz +0 -0
- package/packages/icons/knowed/index.js +0 -1
- package/packages/icons/knowed/index.js.gz +0 -0
- package/packages/icons/knowopen/index.js +0 -1
- package/packages/icons/knowopen/index.js.gz +0 -0
- package/packages/icons/layout-refresh/index.js +0 -1
- package/packages/icons/layout-refresh/index.js.gz +0 -0
- package/packages/icons/left/index.js +0 -1
- package/packages/icons/lianjie/index.js +0 -1
- package/packages/icons/lianjie/index.js.gz +0 -0
- package/packages/icons/link/index.js +0 -1
- package/packages/icons/link/index.js.gz +0 -0
- package/packages/icons/lishihuihua/index.js +0 -1
- package/packages/icons/lishihuihua/index.js.gz +0 -0
- package/packages/icons/list/index.js +0 -1
- package/packages/icons/list/index.js.gz +0 -0
- package/packages/icons/list-view/index.js +0 -1
- package/packages/icons/list-view/index.js.gz +0 -0
- package/packages/icons/load/index.js +0 -1
- package/packages/icons/load/index.js.gz +0 -0
- package/packages/icons/lock/index.js +0 -1
- package/packages/icons/lock/index.js.gz +0 -0
- package/packages/icons/marsh/index.js +0 -1
- package/packages/icons/me/index.js +0 -1
- package/packages/icons/me/index.js.gz +0 -0
- package/packages/icons/more/index.js +0 -1
- package/packages/icons/more/index.js.gz +0 -0
- package/packages/icons/more-2/index.js +0 -1
- package/packages/icons/more-btn/index.js +0 -1
- package/packages/icons/more-btn/index.js.gz +0 -0
- package/packages/icons/muted/index.js +0 -1
- package/packages/icons/muted/index.js.gz +0 -0
- package/packages/icons/notification-face/index.js +0 -1
- package/packages/icons/notification-face/index.js.gz +0 -0
- package/packages/icons/paiban/index.js +0 -1
- package/packages/icons/paiban/index.js.gz +0 -0
- package/packages/icons/password-lock/index.js +0 -1
- package/packages/icons/password-lock/index.js.gz +0 -0
- package/packages/icons/password-lock2/index.js +0 -1
- package/packages/icons/password-lock2/index.js.gz +0 -0
- package/packages/icons/pause/index.js +0 -1
- package/packages/icons/pause/index.js.gz +0 -0
- package/packages/icons/phone/index.js +0 -1
- package/packages/icons/phone/index.js.gz +0 -0
- package/packages/icons/pinglun/index.js +0 -1
- package/packages/icons/pinglun/index.js.gz +0 -0
- package/packages/icons/plan/index.js +0 -1
- package/packages/icons/plan/index.js.gz +0 -0
- package/packages/icons/play/index.js +0 -1
- package/packages/icons/play/index.js.gz +0 -0
- package/packages/icons/preview/index.js +0 -1
- package/packages/icons/preview/index.js.gz +0 -0
- package/packages/icons/preview-eye/index.js +0 -1
- package/packages/icons/preview-eye/index.js.gz +0 -0
- package/packages/icons/project-list/index.js +0 -1
- package/packages/icons/project-list/index.js.gz +0 -0
- package/packages/icons/project-tree/index.js +0 -1
- package/packages/icons/project-tree/index.js.gz +0 -0
- package/packages/icons/promptinformation-l/index.js +0 -1
- package/packages/icons/promptinformation-l/index.js.gz +0 -0
- package/packages/icons/qiehuangongzuotai/index.js +0 -1
- package/packages/icons/qiehuangongzuotai/index.js.gz +0 -0
- package/packages/icons/qingkong/index.js +0 -1
- package/packages/icons/qingkong/index.js.gz +0 -0
- package/packages/icons/quanping/index.js +0 -1
- package/packages/icons/quanping/index.js.gz +0 -0
- package/packages/icons/rate-all/index.js +0 -1
- package/packages/icons/rate-all/index.js.gz +0 -0
- package/packages/icons/rate-half/index.js +0 -1
- package/packages/icons/rate-half/index.js.gz +0 -0
- package/packages/icons/rate-none/index.js +0 -1
- package/packages/icons/rate-none/index.js.gz +0 -0
- package/packages/icons/recover/index.js +0 -1
- package/packages/icons/recover/index.js.gz +0 -0
- package/packages/icons/refresh/index.js +0 -1
- package/packages/icons/refresh/index.js.gz +0 -0
- package/packages/icons/reload/index.js +0 -1
- package/packages/icons/reload/index.js.gz +0 -0
- package/packages/icons/reset/index.js +0 -1
- package/packages/icons/reset/index.js.gz +0 -0
- package/packages/icons/right/index.js +0 -1
- package/packages/icons/right-3/index.js +0 -1
- package/packages/icons/right-3/index.js.gz +0 -0
- package/packages/icons/riqixuanze/index.js +0 -1
- package/packages/icons/riqixuanze/index.js.gz +0 -0
- package/packages/icons/rise/index.js +0 -1
- package/packages/icons/rise/index.js.gz +0 -0
- package/packages/icons/save/index.js +0 -1
- package/packages/icons/save/index.js.gz +0 -0
- package/packages/icons/screenshot/index.js +0 -1
- package/packages/icons/screenshot/index.js.gz +0 -0
- package/packages/icons/search/index.js +0 -1
- package/packages/icons/search/index.js.gz +0 -0
- package/packages/icons/select/index.js +0 -1
- package/packages/icons/select-confirm/index.js +0 -1
- package/packages/icons/select-confirm/index.js.gz +0 -0
- package/packages/icons/select2/index.js +0 -1
- package/packages/icons/set-up/index.js +0 -1
- package/packages/icons/set-up/index.js.gz +0 -0
- package/packages/icons/setting/index.js +0 -1
- package/packages/icons/setting/index.js.gz +0 -0
- package/packages/icons/shangchuan/index.js +0 -1
- package/packages/icons/shangchuan/index.js.gz +0 -0
- package/packages/icons/shebei/index.js +0 -1
- package/packages/icons/shebei/index.js.gz +0 -0
- package/packages/icons/shebeiqunzu/index.js +0 -1
- package/packages/icons/shebeiqunzu/index.js.gz +0 -0
- package/packages/icons/shendusikao/index.js +0 -1
- package/packages/icons/shendusikao/index.js.gz +0 -0
- package/packages/icons/sheweimoren/index.js +0 -1
- package/packages/icons/sheweimoren/index.js.gz +0 -0
- package/packages/icons/shisuan/index.js +0 -1
- package/packages/icons/shisuan/index.js.gz +0 -0
- package/packages/icons/shitu-kapian/index.js +0 -1
- package/packages/icons/shitu-kapian/index.js.gz +0 -0
- package/packages/icons/shitu-liebiao/index.js +0 -1
- package/packages/icons/shitu-map/index.js +0 -1
- package/packages/icons/shitu-map/index.js.gz +0 -0
- package/packages/icons/shortcut-keys/index.js +0 -1
- package/packages/icons/shortcut-keys/index.js.gz +0 -0
- package/packages/icons/shoudongzhihang/index.js +0 -1
- package/packages/icons/shoudongzhihang/index.js.gz +0 -0
- package/packages/icons/shouqiliangcemianban/index.js +0 -1
- package/packages/icons/shouqiyoucemianban/index.js +0 -1
- package/packages/icons/shouqiyoucemianban-1/index.js +0 -1
- package/packages/icons/shouqiyoucemianban-1/index.js.gz +0 -0
- package/packages/icons/shouqizuocemianban/index.js +0 -1
- package/packages/icons/shouqizuocemianban-1/index.js +0 -1
- package/packages/icons/shouqizuocemianban-1/index.js.gz +0 -0
- package/packages/icons/shouquan/index.js +0 -1
- package/packages/icons/shouquan/index.js.gz +0 -0
- package/packages/icons/show/index.js +0 -1
- package/packages/icons/show/index.js.gz +0 -0
- package/packages/icons/shrink/index.js +0 -1
- package/packages/icons/shrink/index.js.gz +0 -0
- package/packages/icons/shuaxin/index.js +0 -1
- package/packages/icons/shuaxin/index.js.gz +0 -0
- package/packages/icons/shuipingduiqi/index.js +0 -1
- package/packages/icons/shuipingduiqi/index.js.gz +0 -0
- package/packages/icons/shuipingjunfen/index.js +0 -1
- package/packages/icons/shuipingjunfen/index.js.gz +0 -0
- package/packages/icons/shuyoufanye/index.js +0 -1
- package/packages/icons/shuyoufanye/index.js.gz +0 -0
- package/packages/icons/shuzuofanye/index.js +0 -1
- package/packages/icons/shuzuofanye/index.js.gz +0 -0
- package/packages/icons/solid-filter/index.js +0 -1
- package/packages/icons/solid-filter/index.js.gz +0 -0
- package/packages/icons/start/index.js +0 -1
- package/packages/icons/start/index.js.gz +0 -0
- package/packages/icons/stop/index.js +0 -1
- package/packages/icons/stop/index.js.gz +0 -0
- package/packages/icons/structural-diagram/index.js +0 -1
- package/packages/icons/structural-diagram/index.js.gz +0 -0
- package/packages/icons/success/index.js +0 -1
- package/packages/icons/system/index.js +0 -1
- package/packages/icons/system/index.js.gz +0 -0
- package/packages/icons/table-header-search/index.js +0 -1
- package/packages/icons/table-header-search/index.js.gz +0 -0
- package/packages/icons/text/index.js +0 -1
- package/packages/icons/text/index.js.gz +0 -0
- package/packages/icons/theme-set-icon/index.js +0 -1
- package/packages/icons/theme-set-icon/index.js.gz +0 -0
- package/packages/icons/tianjiaxinhuati/index.js +0 -1
- package/packages/icons/tianjiaxinhuati/index.js.gz +0 -0
- package/packages/icons/tick/index.js +0 -1
- package/packages/icons/tick/index.js.gz +0 -0
- package/packages/icons/tishixinxi/index.js +0 -1
- package/packages/icons/tishixinxi/index.js.gz +0 -0
- package/packages/icons/tongguo/index.js +0 -1
- package/packages/icons/tongguo/index.js.gz +0 -0
- package/packages/icons/tongzhi/index.js +0 -1
- package/packages/icons/tongzhi/index.js.gz +0 -0
- package/packages/icons/tubiaoku/index.js +0 -1
- package/packages/icons/tubiaoku/index.js.gz +0 -0
- package/packages/icons/tuichuquanping/index.js +0 -1
- package/packages/icons/tuichuquanping/index.js.gz +0 -0
- package/packages/icons/tuozhuai/index.js +0 -1
- package/packages/icons/tuozhuai/index.js.gz +0 -0
- package/packages/icons/underline/index.js +0 -1
- package/packages/icons/underline/index.js.gz +0 -0
- package/packages/icons/unflod/index.js +0 -1
- package/packages/icons/unflod/index.js.gz +0 -0
- package/packages/icons/unlock/index.js +0 -1
- package/packages/icons/unlock/index.js.gz +0 -0
- package/packages/icons/up/index.js +0 -1
- package/packages/icons/up/index.js.gz +0 -0
- package/packages/icons/up-2/index.js +0 -1
- package/packages/icons/up-2/index.js.gz +0 -0
- package/packages/icons/vauth/index.js +0 -1
- package/packages/icons/vauth/index.js.gz +0 -0
- package/packages/icons/view/index.js +0 -1
- package/packages/icons/view/index.js.gz +0 -0
- package/packages/icons/view-2/index.js +0 -1
- package/packages/icons/view-2/index.js.gz +0 -0
- package/packages/icons/volume/index.js +0 -1
- package/packages/icons/volume/index.js.gz +0 -0
- package/packages/icons/wangge/index.js +0 -1
- package/packages/icons/wangge/index.js.gz +0 -0
- package/packages/icons/wangge-1/index.js +0 -1
- package/packages/icons/wangge-1/index.js.gz +0 -0
- package/packages/icons/warning/index.js +0 -1
- package/packages/icons/warning/index.js.gz +0 -0
- package/packages/icons/warning-face/index.js +0 -1
- package/packages/icons/warning-face/index.js.gz +0 -0
- package/packages/icons/wendujiang/index.js +0 -1
- package/packages/icons/wendujiang/index.js.gz +0 -0
- package/packages/icons/wendusheng/index.js +0 -1
- package/packages/icons/wendusheng/index.js.gz +0 -0
- package/packages/icons/withdraw/index.js +0 -1
- package/packages/icons/withdraw/index.js.gz +0 -0
- package/packages/icons/xiala/index.js +0 -1
- package/packages/icons/xiazai/index.js +0 -1
- package/packages/icons/xiazai/index.js.gz +0 -0
- package/packages/icons/xinzengtongji/index.js +0 -1
- package/packages/icons/xinzengtongji/index.js.gz +0 -0
- package/packages/icons/xuanzhuanjiaodu/index.js +0 -1
- package/packages/icons/xuanzhuanjiaodu/index.js.gz +0 -0
- package/packages/icons/yidongduan/index.js +0 -1
- package/packages/icons/yidongduan/index.js.gz +0 -0
- package/packages/icons/yincang/index.js +0 -1
- package/packages/icons/yincang/index.js.gz +0 -0
- package/packages/icons/yingpian/index.js +0 -1
- package/packages/icons/yingpian/index.js.gz +0 -0
- package/packages/icons/yingyong/index.js +0 -1
- package/packages/icons/yingyong/index.js.gz +0 -0
- package/packages/icons/yitushoutu/index.js +0 -1
- package/packages/icons/yitushoutu/index.js.gz +0 -0
- package/packages/icons/yuanxinghuizhi/index.js +0 -1
- package/packages/icons/yuanxinghuizhi/index.js.gz +0 -0
- package/packages/icons/yulan-2/index.js +0 -1
- package/packages/icons/yulan-2/index.js.gz +0 -0
- package/packages/icons/yuyin/index.js +0 -1
- package/packages/icons/yuyin/index.js.gz +0 -0
- package/packages/icons/zhangaiwu/index.js +0 -1
- package/packages/icons/zhangaiwu/index.js.gz +0 -0
- package/packages/icons/zhizhen/index.js +0 -1
- package/packages/icons/zhizhen/index.js.gz +0 -0
- package/packages/icons/zhongxinshengcheng/index.js +0 -1
- package/packages/icons/zhongxinshengcheng/index.js.gz +0 -0
- package/packages/icons/zhuomianduan/index.js +0 -1
- package/packages/icons/zhuomianduan/index.js.gz +0 -0
- package/packages/icons/zidingyihuizhi/index.js +0 -1
- package/packages/icons/zidingyihuizhi/index.js.gz +0 -0
- package/packages/icons/zuobiao/index.js +0 -1
- package/packages/icons/zuobiao/index.js.gz +0 -0
- package/presets/theme-cjb.css +321 -321
- package/presets/theme-default.css +321 -321
- package/presets/theme-dkh.css +321 -321
- package/presets/theme-ssl.css +321 -321
- package/release-meta.json +4 -4
- package/theme-default.css +321 -321
- package/packages/business-components/ai-panel/index-C1XseEkL.js +0 -182
- package/packages/business-components/ai-panel/index-C1XseEkL.js.gz +0 -0
- package/packages/business-components/ai-panel/index-DCyDBdoc.js.gz +0 -0
- package/packages/business-components/ai-panel/index-_XzaXcle.js.gz +0 -0
- package/packages/icons/caret-right/index.js.gz +0 -0
- package/packages/icons/shouqiyoucemianban/index.js.gz +0 -0
- package/packages/icons/shouqizuocemianban/index.js.gz +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { withInstall as
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import { Select as
|
|
4
|
-
import { DasCheckbox as
|
|
5
|
-
import { vScrollbar as
|
|
6
|
-
import { DasTooltip as
|
|
7
|
-
import { vDasTooltip as
|
|
8
|
-
import { DasInput as
|
|
9
|
-
import { DasIconXiala as
|
|
10
|
-
import { DasIconEmpty as
|
|
11
|
-
import { DasErrorOverlayModel as
|
|
12
|
-
import { vHoverInside as
|
|
13
|
-
import { t as
|
|
14
|
-
import { useZIndex as
|
|
15
|
-
import { useModelValue as
|
|
16
|
-
import { calcTextWidth as
|
|
1
|
+
import { withInstall as il } from "@das-fed/upf-utils/with-install/index";
|
|
2
|
+
import { defineComponent as cl, useCssVars as ct, useAttrs as dt, computed as s, ref as i, watch as Y, useSlots as ft, onMounted as Pe, onUnmounted as nl, watchEffect as al, nextTick as x, resolveComponent as vt, openBlock as v, createElementBlock as b, normalizeClass as pt, normalizeStyle as J, withModifiers as fe, createBlock as U, unref as d, createCommentVNode as Q, withDirectives as Me, mergeProps as Ee, createSlots as ht, withCtx as m, renderSlot as A, normalizeProps as ve, guardReactiveProps as pe, Fragment as rl, createTextVNode as Oe, toDisplayString as G, createVNode as I, createElementVNode as S, withKeys as mt } from "vue";
|
|
3
|
+
import { Select as gt, Tag as ze } from "ant-design-vue";
|
|
4
|
+
import { DasCheckbox as sl } from "@das-fed/upf-ui/packages/components/checkbox/index";
|
|
5
|
+
import { vScrollbar as yt } from "@das-fed/upf-ui/packages/components/scrollbar/index";
|
|
6
|
+
import { DasTooltip as bt } from "@das-fed/upf-ui/packages/components/tooltip/index";
|
|
7
|
+
import { vDasTooltip as ul } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
|
|
8
|
+
import { DasInput as St } from "@das-fed/upf-ui/packages/components/input/index";
|
|
9
|
+
import { DasIconXiala as Ct } from "@das-fed/upf-ui/packages/icons/xiala/index";
|
|
10
|
+
import { DasIconEmpty as wt } from "@das-fed/upf-ui/packages/icons/empty/index";
|
|
11
|
+
import { DasErrorOverlayModel as xt } from "@das-fed/upf-ui/packages/components/error-overlay-model/index";
|
|
12
|
+
import { vHoverInside as At } from "@das-fed/upf-utils/directive";
|
|
13
|
+
import { t as M, currentLang as Tt, setI18nRule as kt } from "@das-fed/upf-web/packages/i18n/index";
|
|
14
|
+
import { useZIndex as It } from "@das-fed/upf-utils/hooks/popup-manager/use-zindex";
|
|
15
|
+
import { useModelValue as Lt } from "@das-fed/upf-utils/vue";
|
|
16
|
+
import { calcTextWidth as Vt } from "@das-fed/upf-utils/common-tools";
|
|
17
17
|
import "ant-design-vue/es/select/style/css";
|
|
18
18
|
import "ant-design-vue/es/tag/style/css";
|
|
19
|
-
import { SelectOption as
|
|
19
|
+
import { SelectOption as Pt } from "ant-design-vue/es"
|
|
20
20
|
import '@das-fed/upf-ui/packages/components/select/style.css';
|
|
21
21
|
;
|
|
22
|
-
const
|
|
22
|
+
const Mt = { key: 0 }, Ot = ["onClick"], zt = { style: { display: "inline-block" } }, Et = ["innerHTML"], _t = { key: 0 }, Nt = { key: 2 }, $t = { style: { display: "inline-block" } }, Bt = ["innerHTML"], Dt = ["innerHTML"], Wt = {
|
|
23
23
|
key: 0,
|
|
24
24
|
class: "das-select-error-label-content das-select-label-content"
|
|
25
|
-
},
|
|
25
|
+
}, Ft = { class: "ant-select ant-select-multiple ant-select-selection-overflow-item ant-select-selection-overflow-item-rest" }, Rt = { class: "ant-select-selection-item" }, Ht = { class: "ant-select-selection-item-content" }, qt = ["innerHTML"], Zt = cl({
|
|
26
26
|
inheritAttrs: !1,
|
|
27
27
|
components: {
|
|
28
|
-
VNodes: (
|
|
28
|
+
VNodes: (p, { attrs: N }) => N.vnodes
|
|
29
29
|
}
|
|
30
|
-
}),
|
|
31
|
-
...
|
|
30
|
+
}), Kt = /* @__PURE__ */ cl({
|
|
31
|
+
...Zt,
|
|
32
32
|
__name: "Select",
|
|
33
33
|
props: {
|
|
34
34
|
modelValue: { default: void 0 },
|
|
@@ -72,132 +72,156 @@ const wt = { key: 0 }, xt = ["onClick"], At = { style: { display: "inline-block"
|
|
|
72
72
|
largeSelectionCollapseThreshold: { default: 200 }
|
|
73
73
|
},
|
|
74
74
|
emits: ["update:model-value", "change", "focus", "blur", "dropdownVisibleChange", "addCustomItem"],
|
|
75
|
-
setup(
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
75
|
+
setup(p, { expose: N, emit: $ }) {
|
|
76
|
+
ct((e) => ({
|
|
77
|
+
v2d34f3ba: Nl.value,
|
|
78
|
+
v5f9a89b3: $l.value
|
|
79
79
|
}));
|
|
80
|
-
const t =
|
|
80
|
+
const t = p, T = $, ee = dt(), fl = s(() => {
|
|
81
81
|
const e = {};
|
|
82
|
-
for (const l in
|
|
83
|
-
l === "size" || l === "formSize" || l === "onClick" || l.startsWith("onClick") || l === "filterOption" || l === "onSearch" || l === "onPopupScroll" || (e[l] =
|
|
82
|
+
for (const l in ee)
|
|
83
|
+
l === "size" || l === "formSize" || l === "onClick" || l.startsWith("onClick") || l === "filterOption" || l === "onSearch" || l === "onPopupScroll" || (e[l] = ee[l]);
|
|
84
84
|
return e;
|
|
85
|
-
}), a =
|
|
85
|
+
}), a = Lt(t, "modelValue"), le = s(() => {
|
|
86
86
|
var e;
|
|
87
87
|
return `<span class='key'>${((e = a.value) == null ? void 0 : e.length) ?? 0}</span>`;
|
|
88
|
-
}),
|
|
88
|
+
}), vl = s(() => {
|
|
89
89
|
const e = Array.isArray(a.value) ? a.value.length : a.value ? 1 : 0;
|
|
90
|
-
return
|
|
91
|
-
}), B = i(null),
|
|
90
|
+
return M("das-ui-select-selectedItemsCountWithPlaceholder", e);
|
|
91
|
+
}), B = i(null), _e = i(null), L = i(null), D = i(null);
|
|
92
|
+
let X = null, W = null;
|
|
93
|
+
const pl = () => {
|
|
94
|
+
if (!L.value || !D.value || !X) return;
|
|
95
|
+
const e = D.value.getBoundingClientRect(), l = e.left - X.left, n = e.top - X.top;
|
|
96
|
+
L.value.style.transform = `translate3d(${l}px, ${n}px, 0)`;
|
|
97
|
+
}, te = () => {
|
|
98
|
+
W === null && (W = requestAnimationFrame(() => {
|
|
99
|
+
W = null, pl();
|
|
100
|
+
}));
|
|
101
|
+
}, hl = () => {
|
|
102
|
+
var n;
|
|
103
|
+
const e = D.value ?? ((n = C.value) == null ? void 0 : n.$el);
|
|
104
|
+
e && !L.value && $e(e);
|
|
105
|
+
const l = L.value;
|
|
106
|
+
!e || !l || (D.value = e, X = e.getBoundingClientRect(), l.style.transform = "", l.style.zIndex = String(Te.value), document.addEventListener("scroll", te, !0), window.addEventListener("scroll", te, !0));
|
|
107
|
+
}, Ne = () => {
|
|
108
|
+
document.removeEventListener("scroll", te, !0), window.removeEventListener("scroll", te, !0), W !== null && (cancelAnimationFrame(W), W = null), X = null;
|
|
109
|
+
}, $e = (e) => {
|
|
110
|
+
if (D.value = e, !L.value) {
|
|
111
|
+
const l = document.createElement("div");
|
|
112
|
+
l.className = "das-ui-select-popup-portal", document.body.appendChild(l), L.value = l;
|
|
113
|
+
}
|
|
114
|
+
return L.value;
|
|
115
|
+
}, y = i(!1), oe = s(() => t.isView ? t.noSetDefaultVal ? "" : "-" : t.placeholder || M("请选择")), he = s(() => B.value ? B.value.querySelector(".ant-select-selector") : null), F = i(0), R = i(0), ml = s(() => he.value ? t.isTooltip && O.value ? !1 : !t.isTooltip || _.value || !ll.value || !xe.value : !0), gl = s(() => (Array.isArray(a.value) ? a.value.length : a.value) ? ll.value : oe.value), Be = () => {
|
|
92
116
|
const e = t.size === "table" ? 12 : 14;
|
|
93
|
-
return
|
|
94
|
-
},
|
|
95
|
-
var
|
|
96
|
-
const e = (
|
|
97
|
-
l && l.length && l.forEach((
|
|
117
|
+
return Vt(oe.value, e);
|
|
118
|
+
}, De = () => {
|
|
119
|
+
var k, j, h;
|
|
120
|
+
const e = (k = B.value) == null ? void 0 : k.querySelector(".ant-select-selection-placeholder"), l = (h = (j = C.value) == null ? void 0 : j.$el) == null ? void 0 : h.querySelectorAll(".ant-select-selection-item");
|
|
121
|
+
l && l.length && l.forEach((Ve) => Ve.removeAttribute("title"));
|
|
98
122
|
let n = (e == null ? void 0 : e.offsetWidth) ?? 0;
|
|
99
123
|
if (n === 0) return n;
|
|
100
124
|
const o = window.getComputedStyle(e, null), u = parseFloat(o.paddingRight), r = parseFloat(o.paddingLeft);
|
|
101
125
|
return n - u - r;
|
|
102
126
|
}, O = i(!1);
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
127
|
+
Y(() => [oe.value, a.value], () => {
|
|
128
|
+
x(() => {
|
|
129
|
+
R.value = De(), F.value = Be(), ((Array.isArray(a.value) ? a.value.length : a.value) || R.value === F.value || F.value - R.value < 1) && (O.value = !1);
|
|
106
130
|
});
|
|
107
|
-
}),
|
|
131
|
+
}), Y(
|
|
108
132
|
() => {
|
|
109
133
|
var e;
|
|
110
|
-
return (e =
|
|
134
|
+
return (e = _e.value) == null ? void 0 : e.$tooltipRef.popperRef.contentRef;
|
|
111
135
|
},
|
|
112
136
|
(e) => {
|
|
113
137
|
e && (e.addEventListener("mouseenter", function() {
|
|
114
|
-
O.value = !0,
|
|
138
|
+
O.value = !0, K.value && clearTimeout(K.value);
|
|
115
139
|
}), e.addEventListener("mouseleave", function() {
|
|
116
|
-
|
|
140
|
+
K.value = setTimeout(() => {
|
|
117
141
|
O.value = !1;
|
|
118
142
|
}, 200);
|
|
119
143
|
}));
|
|
120
144
|
}
|
|
121
145
|
);
|
|
122
|
-
const
|
|
123
|
-
|
|
124
|
-
},
|
|
125
|
-
|
|
126
|
-
},
|
|
127
|
-
|
|
128
|
-
|
|
146
|
+
const We = i(null), Fe = s(() => t.dropdownMode ?? t.mode ?? ""), H = i(null), yl = i(null), q = i(""), bl = () => {
|
|
147
|
+
H.value = !0;
|
|
148
|
+
}, Sl = () => {
|
|
149
|
+
H.value = null;
|
|
150
|
+
}, Re = () => {
|
|
151
|
+
q.value && (T("addCustomItem", q.value), x(() => {
|
|
152
|
+
C.value.focus(), q.value = "";
|
|
129
153
|
}));
|
|
130
|
-
},
|
|
131
|
-
t.dropdownMode === "custom" && !
|
|
132
|
-
|
|
154
|
+
}, He = ft(), me = () => {
|
|
155
|
+
t.dropdownMode === "custom" && !He.dropdownRender && (H.value = !1, x(() => {
|
|
156
|
+
H.value = null;
|
|
133
157
|
}));
|
|
134
158
|
};
|
|
135
|
-
|
|
136
|
-
document.addEventListener("click",
|
|
137
|
-
}),
|
|
138
|
-
document.removeEventListener("click",
|
|
159
|
+
Pe(() => {
|
|
160
|
+
document.addEventListener("click", me);
|
|
161
|
+
}), nl(() => {
|
|
162
|
+
document.removeEventListener("click", me);
|
|
139
163
|
});
|
|
140
|
-
const
|
|
164
|
+
const C = i(), Z = i(""), ne = i(0), qe = `__DAS_SELECT_COLLAPSED_${Math.random().toString(36).slice(2)}__`, V = s(() => {
|
|
141
165
|
var e;
|
|
142
166
|
return t.fieldNames && t.fieldNames.label ? (e = t.fieldNames) == null ? void 0 : e.label : "label";
|
|
143
|
-
}),
|
|
167
|
+
}), g = s(() => {
|
|
144
168
|
var e;
|
|
145
169
|
return t.fieldNames && t.fieldNames.value ? (e = t.fieldNames) == null ? void 0 : e.value : "value";
|
|
146
|
-
}),
|
|
170
|
+
}), ge = i(/* @__PURE__ */ new Map()), Cl = s(() => t.mode === "combobox" ? void 0 : t.mode), Ze = {
|
|
147
171
|
large: "large",
|
|
148
172
|
middle: "middle",
|
|
149
173
|
default: "middle",
|
|
150
174
|
small: "small",
|
|
151
175
|
mini: "small",
|
|
152
176
|
table: "middle"
|
|
153
|
-
},
|
|
177
|
+
}, wl = {
|
|
154
178
|
large: "36px",
|
|
155
179
|
middle: "32px",
|
|
156
180
|
small: "24px"
|
|
157
|
-
},
|
|
181
|
+
}, xl = (e) => e && e in Ze ? e : "middle", Al = s(() => xl(t.size)), Ke = s(() => Ze[Al.value]), Tl = s(() => t.height ?? wl[Ke.value]), Ge = s(() => {
|
|
158
182
|
const e = Number(t.optionPageSize);
|
|
159
183
|
return Number.isFinite(e) && e > 0 ? Math.floor(e) : 80;
|
|
160
|
-
}),
|
|
184
|
+
}), Ue = (e, l) => {
|
|
161
185
|
Array.isArray(e) && e.forEach((n) => {
|
|
162
|
-
l(n), Array.isArray(n == null ? void 0 : n.children) &&
|
|
186
|
+
l(n), Array.isArray(n == null ? void 0 : n.children) && Ue(n.children, l);
|
|
163
187
|
});
|
|
164
|
-
},
|
|
188
|
+
}, ae = (e, l) => {
|
|
165
189
|
if (Array.isArray(e))
|
|
166
190
|
for (const n of e) {
|
|
167
|
-
if ((n == null ? void 0 : n[
|
|
191
|
+
if ((n == null ? void 0 : n[g.value]) == l) return n;
|
|
168
192
|
if (Array.isArray(n == null ? void 0 : n.children)) {
|
|
169
|
-
const o =
|
|
193
|
+
const o = ae(n.children, l);
|
|
170
194
|
if (o) return o;
|
|
171
195
|
}
|
|
172
196
|
}
|
|
173
|
-
},
|
|
174
|
-
|
|
175
|
-
l && l[
|
|
197
|
+
}, kl = (e) => {
|
|
198
|
+
Ue(e, (l) => {
|
|
199
|
+
l && l[g.value] != null && l[V.value] != null && ge.value.set(l[g.value], l[V.value]);
|
|
176
200
|
});
|
|
177
|
-
},
|
|
201
|
+
}, ye = (e) => {
|
|
178
202
|
if (e == null || e === "") return;
|
|
179
|
-
const l =
|
|
180
|
-
if (l && l[
|
|
203
|
+
const l = ae(t.options, e);
|
|
204
|
+
if (l && l[V.value] != null) return l[V.value];
|
|
181
205
|
if (t.preserveLabelWhenMissing)
|
|
182
|
-
return
|
|
183
|
-
},
|
|
206
|
+
return ge.value.get(e);
|
|
207
|
+
}, Il = (e) => {
|
|
184
208
|
const l = Array.isArray(e) ? e.slice() : [];
|
|
185
209
|
return t.preserveLabelWhenMissing ? ((t.mode !== "combobox" && Array.isArray(a.value) ? a.value : a.value != null && a.value !== "" ? [a.value] : []).forEach((o) => {
|
|
186
|
-
if (
|
|
187
|
-
const r =
|
|
210
|
+
if (ae(l, o)) return;
|
|
211
|
+
const r = ge.value.get(o);
|
|
188
212
|
r != null && l.unshift({
|
|
189
|
-
[
|
|
190
|
-
[
|
|
213
|
+
[g.value]: o,
|
|
214
|
+
[V.value]: r,
|
|
191
215
|
disabled: !0,
|
|
192
216
|
title: "",
|
|
193
217
|
__dasGhostOption: !0
|
|
194
218
|
});
|
|
195
219
|
}), l.map((o) => (o.title = o.title ? o.title : "", o))) : l.map((o) => (o.title = o.title ? o.title : "", o));
|
|
196
|
-
},
|
|
197
|
-
const n =
|
|
220
|
+
}, Ll = (e) => Array.isArray(e) ? e.some((l) => Array.isArray(l == null ? void 0 : l.children) && l.children.length > 0) : !1, re = s(() => !!t.optionPaging && Array.isArray(t.options) && !Ll(t.options)), Xe = (e, ...l) => {
|
|
221
|
+
const n = ee[e];
|
|
198
222
|
Array.isArray(n) ? n.forEach((o) => typeof o == "function" && o(...l)) : typeof n == "function" && n(...l);
|
|
199
|
-
},
|
|
200
|
-
const n = e == null ? "" : String(e), o =
|
|
223
|
+
}, je = (e, l) => {
|
|
224
|
+
const n = e == null ? "" : String(e), o = ee.filterOption;
|
|
201
225
|
if (typeof o == "function")
|
|
202
226
|
try {
|
|
203
227
|
return o(n, l) !== !1;
|
|
@@ -205,655 +229,562 @@ const wt = { key: 0 }, xt = ["onClick"], At = { style: { display: "inline-block"
|
|
|
205
229
|
return !1;
|
|
206
230
|
}
|
|
207
231
|
if (o === !1) return !0;
|
|
208
|
-
const u =
|
|
232
|
+
const u = tl.value, r = (l == null ? void 0 : l[u]) ?? (l == null ? void 0 : l[V.value]) ?? (l == null ? void 0 : l[g.value]);
|
|
209
233
|
return String(r ?? "").toLowerCase().indexOf(n.toLowerCase()) >= 0;
|
|
210
|
-
},
|
|
234
|
+
}, be = s(() => {
|
|
211
235
|
if (!Array.isArray(t.options)) return;
|
|
212
|
-
const e =
|
|
213
|
-
return Array.isArray(t.options) &&
|
|
214
|
-
}),
|
|
215
|
-
const e =
|
|
216
|
-
return !
|
|
236
|
+
const e = Il(t.options);
|
|
237
|
+
return Array.isArray(t.options) && kl(t.options), e;
|
|
238
|
+
}), Ye = s(() => {
|
|
239
|
+
const e = be.value ?? [];
|
|
240
|
+
return !re.value || !Z.value ? e : e.filter((l) => je(Z.value, l));
|
|
217
241
|
}), z = (e) => {
|
|
218
|
-
t.optionPagingDebug &&
|
|
242
|
+
t.optionPagingDebug && x(() => {
|
|
219
243
|
});
|
|
220
|
-
},
|
|
244
|
+
}, se = s(() => t.mode !== "combobox" && Array.isArray(a.value) ? a.value : a.value !== null && a.value !== void 0 && a.value !== "" ? [a.value] : []), Je = s(() => new Set(se.value)), Vl = s(() => {
|
|
221
245
|
const e = Number(t.largeSelectionCollapseThreshold);
|
|
222
246
|
return Number.isFinite(e) && e >= 0 ? Math.floor(e) : 200;
|
|
223
|
-
}),
|
|
224
|
-
if (
|
|
225
|
-
const n = new Set(e.map((u) => u == null ? void 0 : u[
|
|
226
|
-
return
|
|
247
|
+
}), w = s(() => t.mode !== "combobox" && se.value.length > Vl.value), Pl = s(() => w.value ? [qe] : a.value), Qe = s(() => Array.isArray(t.options) ? t.options.filter((e) => !(e != null && e.disabled)) : []), ue = s(() => Qe.value.map((e) => e == null ? void 0 : e[g.value])), Se = s(() => ue.value.reduce((e, l) => Je.value.has(l) ? e + 1 : e, 0)), Ml = (e, l) => {
|
|
248
|
+
if (Z.value || w.value || !se.value.length) return e;
|
|
249
|
+
const n = new Set(e.map((u) => u == null ? void 0 : u[g.value])), o = [];
|
|
250
|
+
return se.value.forEach((u) => {
|
|
227
251
|
if (n.has(u)) return;
|
|
228
|
-
const r =
|
|
252
|
+
const r = ae(l, u);
|
|
229
253
|
r && (o.push(r), n.add(u));
|
|
230
254
|
}), o.length ? o.concat(e) : e;
|
|
231
|
-
},
|
|
232
|
-
if (!
|
|
233
|
-
const e =
|
|
234
|
-
return
|
|
235
|
-
}),
|
|
236
|
-
|
|
237
|
-
},
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
255
|
+
}, Ol = s(() => {
|
|
256
|
+
if (!re.value) return be.value;
|
|
257
|
+
const e = Ye.value.slice(0, ne.value);
|
|
258
|
+
return Ml(e, be.value ?? []);
|
|
259
|
+
}), el = () => {
|
|
260
|
+
ne.value = Ge.value, z();
|
|
261
|
+
}, zl = () => {
|
|
262
|
+
re.value && (ne.value = Math.min(
|
|
263
|
+
ne.value + Ge.value,
|
|
264
|
+
Ye.value.length
|
|
241
265
|
), z());
|
|
242
266
|
};
|
|
243
|
-
|
|
267
|
+
Y(
|
|
244
268
|
() => [
|
|
245
269
|
t.options,
|
|
246
270
|
t.optionPaging,
|
|
247
271
|
t.optionPageSize,
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
272
|
+
Z.value,
|
|
273
|
+
V.value,
|
|
274
|
+
g.value
|
|
251
275
|
],
|
|
252
|
-
|
|
276
|
+
el,
|
|
253
277
|
{ immediate: !0 }
|
|
254
278
|
);
|
|
255
|
-
const
|
|
256
|
-
if (
|
|
279
|
+
const Ce = i(!1), we = s(() => {
|
|
280
|
+
if (H.value !== null) return H.value;
|
|
257
281
|
if (t.open !== void 0) return t.open;
|
|
258
|
-
}),
|
|
259
|
-
|
|
260
|
-
a.value && t.mode == "combobox" && (
|
|
282
|
+
}), E = 1e6, c = i(100), f = i(100), El = s(() => w.value ? 0 : c.value), _ = i(!1), xe = i(!0), Ae = i(!1);
|
|
283
|
+
al(() => {
|
|
284
|
+
a.value && t.mode == "combobox" && (xe.value = !0, setTimeout(() => {
|
|
261
285
|
var l;
|
|
262
|
-
let e = (l =
|
|
286
|
+
let e = (l = C.value) == null ? void 0 : l.$el.querySelectorAll(".ant-select-selection-item");
|
|
263
287
|
if (e && e.length > 0)
|
|
264
288
|
for (let n = 0; n < e.length; n++) {
|
|
265
289
|
let o = e[n];
|
|
266
|
-
o.scrollWidth <= o.offsetWidth && (
|
|
290
|
+
o.scrollWidth <= o.offsetWidth && (xe.value = !1), o.title = "";
|
|
267
291
|
}
|
|
268
292
|
}, 300));
|
|
269
293
|
});
|
|
270
|
-
const
|
|
294
|
+
const _l = () => {
|
|
271
295
|
setTimeout(async () => {
|
|
272
|
-
|
|
296
|
+
c.value = 100, await P(), c.value = f.value, y.value = !0;
|
|
273
297
|
}, 100);
|
|
274
298
|
};
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
}),
|
|
278
|
-
|
|
299
|
+
al(() => {
|
|
300
|
+
Ae.value === !0 && t.mode != "combobox" && a.value && a.value.length > 0 && t.options.length > 0 && (Ae.value = !1, _l());
|
|
301
|
+
}), Pe(() => {
|
|
302
|
+
Ae.value = !0, t.focusOpen || (f.value = 1, c.value = f.value, y.value = !0);
|
|
279
303
|
});
|
|
280
|
-
const
|
|
281
|
-
"z-index":
|
|
282
|
-
})),
|
|
283
|
-
if (
|
|
284
|
-
return
|
|
304
|
+
const Nl = s(() => t.width ? t.width : "230px"), $l = s(() => t.height ? t.height : "auto"), Te = i(3e3), Bl = s(() => ({
|
|
305
|
+
"z-index": Te.value
|
|
306
|
+
})), ll = s(() => {
|
|
307
|
+
if (w.value)
|
|
308
|
+
return vl.value;
|
|
285
309
|
let e = [];
|
|
286
310
|
if (t.mode != "combobox" && Array.isArray(a.value))
|
|
287
311
|
a.value.map((l) => {
|
|
288
|
-
const n =
|
|
312
|
+
const n = ye(l);
|
|
289
313
|
n != null ? e.push(n) : l != null && l !== "" && e.push(String(l));
|
|
290
314
|
});
|
|
291
315
|
else if (t.mode == "combobox" && a.value) {
|
|
292
|
-
const l =
|
|
316
|
+
const l = ye(a.value);
|
|
293
317
|
l != null ? e.push(l) : a.value !== null && a.value !== void 0 && a.value !== "" && e.push(String(a.value));
|
|
294
318
|
}
|
|
295
|
-
return
|
|
296
|
-
}),
|
|
319
|
+
return Tt.value === "zh-CN" ? e.join("、") : e.join(", ");
|
|
320
|
+
}), Dl = s(() => t.mode === "combobox" ? !1 : ue.value.length > 0 && Se.value === ue.value.length), Wl = s(() => t.mode === "combobox" ? !1 : Se.value > 0 && Se.value < ue.value.length), tl = s(() => {
|
|
297
321
|
var e, l;
|
|
298
322
|
return t.optionFilterProp ? t.optionFilterProp : (e = t.fieldNames) != null && e.label ? (l = t.fieldNames) == null ? void 0 : l.label : "label";
|
|
299
|
-
}),
|
|
323
|
+
}), Fl = s(() => ({
|
|
300
324
|
width: typeof t.width == "number" ? t.width + "px" : t.width,
|
|
301
|
-
"--das-select-resolved-height":
|
|
302
|
-
})),
|
|
325
|
+
"--das-select-resolved-height": Tl.value
|
|
326
|
+
})), ke = i(!1), Rl = i({
|
|
303
327
|
display: "block",
|
|
304
328
|
color: "var(--upf-color-error)",
|
|
305
329
|
"white-space": "break-spaces"
|
|
306
|
-
}),
|
|
330
|
+
}), K = i(), Hl = () => {
|
|
307
331
|
var n;
|
|
308
|
-
|
|
309
|
-
let e = (n =
|
|
310
|
-
!!(Array.isArray(a.value) ? a.value.length : e != null && e.length) ||
|
|
311
|
-
},
|
|
312
|
-
|
|
332
|
+
R.value = De(), F.value = Be();
|
|
333
|
+
let e = (n = C.value) == null ? void 0 : n.$el.querySelectorAll(".ant-select-selection-item");
|
|
334
|
+
!!(Array.isArray(a.value) ? a.value.length : e != null && e.length) || R.value === F.value || F.value - R.value < 1 ? O.value = !1 : (O.value = !0, K.value && clearTimeout(K.value)), ke.value = !0;
|
|
335
|
+
}, ql = () => {
|
|
336
|
+
K.value = setTimeout(() => {
|
|
313
337
|
O.value = !1;
|
|
314
|
-
}, 200),
|
|
315
|
-
},
|
|
316
|
-
e ?
|
|
317
|
-
},
|
|
318
|
-
e ? (
|
|
338
|
+
}, 200), ke.value = !1;
|
|
339
|
+
}, Zl = (e, l) => {
|
|
340
|
+
e ? Hl() : ql();
|
|
341
|
+
}, Kl = (e) => {
|
|
342
|
+
e ? (Te.value = It().nextZIndex(), hl(), q.value = "", el(), z()) : (Ne(), Z.value = "", z()), ie.value = e, t.mode == "combobox" && (e || setTimeout(() => {
|
|
319
343
|
var l, n;
|
|
320
|
-
(n = (l =
|
|
321
|
-
})),
|
|
322
|
-
},
|
|
323
|
-
|
|
324
|
-
},
|
|
325
|
-
if (
|
|
344
|
+
(n = (l = C.value) == null ? void 0 : l.blur) == null || n.call(l);
|
|
345
|
+
})), T("dropdownVisibleChange", e);
|
|
346
|
+
}, Gl = (e) => {
|
|
347
|
+
Z.value = e ?? "", z(), Xe("onSearch", e);
|
|
348
|
+
}, Ul = s(() => t.mode === "combobox" ? t.showSearch === !0 : t.mode === "tags" ? !0 : typeof t.showSearch == "boolean" ? t.showSearch : t.mode === "multiple"), Xl = s(() => Ul.value ? { onSearch: Gl } : {}), jl = s(() => ({ ...fl.value, ...Xl.value })), Yl = (e) => {
|
|
349
|
+
if (Xe("onPopupScroll", e), !re.value) return;
|
|
326
350
|
const l = e.target;
|
|
327
351
|
if (!l) return;
|
|
328
|
-
l.scrollHeight - l.scrollTop - l.clientHeight <= 24 &&
|
|
329
|
-
},
|
|
352
|
+
l.scrollHeight - l.scrollTop - l.clientHeight <= 24 && zl();
|
|
353
|
+
}, Jl = (e) => {
|
|
330
354
|
let l = e.toString();
|
|
331
355
|
return l.length > t.maxTagTextLength && (l = l.substr(0, t.maxTagTextLength) + "..."), l;
|
|
332
|
-
},
|
|
356
|
+
}, Ql = (e) => t.isRenderNode ? B.value : t.getPopupContainer !== void 0 ? t.getPopupContainer(e) : $e(e), et = (e) => {
|
|
333
357
|
if (e) {
|
|
334
358
|
const l = new Set(Array.isArray(a.value) ? a.value : []), n = Array.isArray(a.value) ? a.value.slice() : [], o = [];
|
|
335
|
-
|
|
336
|
-
const r = u[
|
|
359
|
+
Qe.value.forEach((u) => {
|
|
360
|
+
const r = u[g.value];
|
|
337
361
|
l.has(r) || (l.add(r), n.push(r), o.push(u));
|
|
338
|
-
}), a.value = n,
|
|
362
|
+
}), a.value = n, de(n, o, "inner");
|
|
339
363
|
} else {
|
|
340
|
-
const l = Array.isArray(t.options) ? t.options : [], n = new Set(l.map((r) => r == null ? void 0 : r[
|
|
341
|
-
l.filter((r) => r == null ? void 0 : r.disabled).map((r) => r == null ? void 0 : r[
|
|
364
|
+
const l = Array.isArray(t.options) ? t.options : [], n = new Set(l.map((r) => r == null ? void 0 : r[g.value])), o = new Set(
|
|
365
|
+
l.filter((r) => r == null ? void 0 : r.disabled).map((r) => r == null ? void 0 : r[g.value])
|
|
342
366
|
), u = (Array.isArray(a.value) ? a.value : []).filter((r) => n.has(r) && o.has(r));
|
|
343
|
-
a.value = u,
|
|
367
|
+
a.value = u, de(u, [], "inner");
|
|
344
368
|
}
|
|
345
|
-
},
|
|
369
|
+
}, lt = (e) => {
|
|
346
370
|
const l = Array.isArray(a.value) ? a.value.slice() : [], n = l.findIndex((o) => o === e);
|
|
347
371
|
return n > -1 ? l.splice(n, 1) : l.push(e), l;
|
|
348
|
-
},
|
|
349
|
-
|
|
350
|
-
},
|
|
351
|
-
if (!
|
|
372
|
+
}, tt = (e) => {
|
|
373
|
+
w.value && (e.preventDefault(), e.stopPropagation());
|
|
374
|
+
}, ot = (e, l) => {
|
|
375
|
+
if (!w.value || e != null && e.disabled) return;
|
|
352
376
|
l.preventDefault(), l.stopPropagation();
|
|
353
|
-
const n = e == null ? void 0 : e[
|
|
377
|
+
const n = e == null ? void 0 : e[g.value];
|
|
354
378
|
if (n === void 0) return;
|
|
355
|
-
const o =
|
|
356
|
-
a.value = o,
|
|
357
|
-
},
|
|
379
|
+
const o = lt(n);
|
|
380
|
+
a.value = o, de(o, e, "inner");
|
|
381
|
+
}, nt = (e) => {
|
|
358
382
|
if (e.className.indexOf("ant-select-multiple") > -1 && e.children[0])
|
|
359
383
|
return e.children[0];
|
|
360
|
-
},
|
|
384
|
+
}, at = (e) => {
|
|
361
385
|
if (t.mode == "combobox") {
|
|
362
|
-
|
|
386
|
+
T("focus", e);
|
|
363
387
|
return;
|
|
364
388
|
}
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
}) :
|
|
368
|
-
},
|
|
369
|
-
|
|
389
|
+
Ce.value = !0, t.focusOpen && !t.isExterControlCount && (c.value = E, t.mode === "multiple" ? x(() => {
|
|
390
|
+
P(), c.value = f.value, y.value = !0;
|
|
391
|
+
}) : y.value = !1), T("focus", e);
|
|
392
|
+
}, ie = i(!1), rt = () => {
|
|
393
|
+
ie.value || setTimeout(() => {
|
|
370
394
|
var e, l;
|
|
371
|
-
(l = (e =
|
|
395
|
+
(l = (e = C.value) == null ? void 0 : e.blur) == null || l.call(e);
|
|
372
396
|
}), t.mode != "combobox";
|
|
373
|
-
},
|
|
374
|
-
if (
|
|
375
|
-
|
|
397
|
+
}, ol = (e) => {
|
|
398
|
+
if (x(() => {
|
|
399
|
+
ie.value = !1;
|
|
376
400
|
}), t.mode == "combobox") {
|
|
377
|
-
|
|
401
|
+
T("blur", e);
|
|
378
402
|
return;
|
|
379
403
|
}
|
|
380
|
-
|
|
381
|
-
},
|
|
382
|
-
e.onClose(),
|
|
383
|
-
t.mode !== "combobox" &&
|
|
404
|
+
Ce.value = !1, t.focusOpen && !t.isExterControlCount && (P(), c.value = f.value, y.value = !0), T("blur", e);
|
|
405
|
+
}, st = (e) => {
|
|
406
|
+
e.onClose(), c.value = 100, x(() => {
|
|
407
|
+
t.mode !== "combobox" && we.value || t.focusOpen && (P(), c.value = f.value, y.value = !0);
|
|
384
408
|
});
|
|
385
409
|
};
|
|
386
|
-
|
|
410
|
+
Y(
|
|
387
411
|
() => t.disabled || t.isView,
|
|
388
412
|
(e) => {
|
|
389
413
|
if (e && t.mode !== "combobox") {
|
|
390
|
-
|
|
414
|
+
Ce.value = !1;
|
|
391
415
|
let l = new Event("blur");
|
|
392
|
-
|
|
416
|
+
ol(l);
|
|
393
417
|
}
|
|
394
418
|
}
|
|
395
419
|
);
|
|
396
|
-
let
|
|
397
|
-
const
|
|
398
|
-
|
|
399
|
-
if (
|
|
400
|
-
|
|
420
|
+
let Ie = i(!1);
|
|
421
|
+
const ut = (e) => {
|
|
422
|
+
Ie.value = e, _.value = !0, x(() => {
|
|
423
|
+
if (_.value = !1, t.focusOpen) {
|
|
424
|
+
P();
|
|
401
425
|
const l = e && t.mode !== "multiple";
|
|
402
|
-
|
|
426
|
+
c.value = l ? E : f.value, y.value = !l;
|
|
403
427
|
}
|
|
404
428
|
});
|
|
405
429
|
};
|
|
406
|
-
let
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
e && e[0] && e[0].intersectionRatio > 0 && t.focusOpen &&
|
|
410
|
-
|
|
430
|
+
let ce = null;
|
|
431
|
+
Pe(() => {
|
|
432
|
+
ce = new IntersectionObserver((e) => {
|
|
433
|
+
e && e[0] && e[0].intersectionRatio > 0 && t.focusOpen && c.value === 0 && (c.value = 100, x(() => {
|
|
434
|
+
P(), c.value = f.value, y.value = !0;
|
|
411
435
|
}));
|
|
412
|
-
}),
|
|
413
|
-
}),
|
|
414
|
-
|
|
436
|
+
}), ce.observe(B.value);
|
|
437
|
+
}), nl(() => {
|
|
438
|
+
var e;
|
|
439
|
+
ce && ce.disconnect(), Ne(), (e = L.value) == null || e.remove(), L.value = null, D.value = null;
|
|
415
440
|
});
|
|
416
|
-
const
|
|
417
|
-
var
|
|
418
|
-
if (
|
|
441
|
+
const P = () => {
|
|
442
|
+
var j;
|
|
443
|
+
if (w.value) {
|
|
419
444
|
f.value = 0;
|
|
420
445
|
return;
|
|
421
446
|
}
|
|
422
|
-
let e = (
|
|
447
|
+
let e = (j = C.value) == null ? void 0 : j.$el;
|
|
423
448
|
if (!e) return;
|
|
424
449
|
let l = e == null ? void 0 : e.querySelector(".ant-select-selection-overflow");
|
|
425
450
|
if (!l) return;
|
|
426
451
|
let n = l.offsetWidth - 5;
|
|
427
452
|
t.borderType === "underline" && (n -= 10);
|
|
428
|
-
const u = Math.ceil(
|
|
453
|
+
const u = Math.ceil(We.value.querySelector(".ant-tag").offsetWidth) + 4;
|
|
429
454
|
let r = e.querySelectorAll(".ant-select-selection-overflow-item");
|
|
430
455
|
if (r.length < 1) return;
|
|
431
|
-
|
|
432
|
-
let
|
|
433
|
-
for (let
|
|
434
|
-
if (
|
|
435
|
-
|
|
456
|
+
c.value = E;
|
|
457
|
+
let k = 0;
|
|
458
|
+
for (let h = 0; h < r.length - 1 && (r[h].classList.remove("ellipsis"), !r[h].classList.contains("ant-select-selection-overflow-item-rest")); h++)
|
|
459
|
+
if (k += Math.ceil(r[h].offsetWidth), k <= n - u)
|
|
460
|
+
h >= a.value.length - 1 && k < n ? f.value = a.value.length : f.value = h + 1;
|
|
436
461
|
else {
|
|
437
|
-
|
|
462
|
+
h >= a.value.length - 1 && k < n ? f.value = a.value.length : f.value = h;
|
|
438
463
|
break;
|
|
439
464
|
}
|
|
440
465
|
if (f.value === 0) {
|
|
441
|
-
let
|
|
442
|
-
|
|
466
|
+
let h = r[0], Ve = h.querySelector(".anticon-close") ? 86 : 69;
|
|
467
|
+
h && !h.classList.contains("ant-select-selection-overflow-item-rest") && Ve <= n - u && !He.tagRender && (f.value = 1, h.classList.add("ellipsis"));
|
|
443
468
|
}
|
|
444
|
-
},
|
|
445
|
-
|
|
469
|
+
}, Le = i(!1);
|
|
470
|
+
Y(
|
|
446
471
|
() => a.value,
|
|
447
472
|
async () => {
|
|
448
|
-
if (
|
|
449
|
-
|
|
473
|
+
if (Le.value) {
|
|
474
|
+
Le.value = !1;
|
|
450
475
|
return;
|
|
451
476
|
}
|
|
452
|
-
if (!(t.mode !== "combobox" &&
|
|
453
|
-
if (
|
|
454
|
-
const e =
|
|
455
|
-
|
|
477
|
+
if (!(t.mode !== "combobox" && we.value))
|
|
478
|
+
if (_.value = !0, c.value = E, await x(), await P(), _.value = !1, t.isExterControlCount && t.focusOpen) {
|
|
479
|
+
const e = Ie.value && t.mode !== "multiple";
|
|
480
|
+
c.value = e ? E : f.value, y.value = !e;
|
|
456
481
|
} else
|
|
457
|
-
|
|
482
|
+
c.value = f.value, y.value = !0;
|
|
458
483
|
}
|
|
459
484
|
);
|
|
460
|
-
const
|
|
461
|
-
if (!
|
|
485
|
+
const it = (e) => {
|
|
486
|
+
if (!w.value || t.mode === "combobox") return e;
|
|
462
487
|
const l = Array.isArray(e) ? e : e == null ? [] : [e];
|
|
463
488
|
if (!l.length) return [];
|
|
464
|
-
const n = Array.from(new Set(l.filter((u) => u !==
|
|
489
|
+
const n = Array.from(new Set(l.filter((u) => u !== qe)));
|
|
465
490
|
if (!n.length) return;
|
|
466
491
|
let o = Array.isArray(a.value) ? a.value.slice() : [];
|
|
467
492
|
return n.forEach((u) => {
|
|
468
|
-
const r = o.findIndex((
|
|
493
|
+
const r = o.findIndex((k) => k === u);
|
|
469
494
|
r > -1 ? o.splice(r, 1) : o.push(u);
|
|
470
495
|
}), o;
|
|
471
|
-
},
|
|
472
|
-
|
|
473
|
-
let o = n === "antdv" ?
|
|
496
|
+
}, de = async (e, l, n = "antdv") => {
|
|
497
|
+
ie.value = !1, t.mode === "combobox" && me();
|
|
498
|
+
let o = n === "antdv" ? it(e) : e;
|
|
474
499
|
if (o === void 0) {
|
|
475
500
|
z();
|
|
476
501
|
return;
|
|
477
502
|
}
|
|
478
|
-
if (
|
|
479
|
-
const u =
|
|
480
|
-
|
|
481
|
-
} else t.mode === "multiple" && t.focusOpen && (
|
|
482
|
-
t.focusOpen || (
|
|
503
|
+
if (Le.value = !0, t.noDropdown && Array.isArray(o) && t.maxTagsLength < o.length && (o = o.slice(), o.pop()), n === "antdv" && w.value && (a.value = o), _.value = !0, T("update:model-value", o), T("change", o, l), z(), c.value = E, await x(), await P(), _.value = !1, t.isExterControlCount && t.focusOpen) {
|
|
504
|
+
const u = Ie.value && t.mode !== "multiple";
|
|
505
|
+
c.value = u ? E : f.value, y.value = !u;
|
|
506
|
+
} else t.mode === "multiple" && t.focusOpen && (c.value = f.value, y.value = !0);
|
|
507
|
+
t.focusOpen || (c.value = f.value);
|
|
483
508
|
};
|
|
484
509
|
return N({
|
|
485
|
-
$select:
|
|
486
|
-
toChangeMaxCount:
|
|
510
|
+
$select: C,
|
|
511
|
+
toChangeMaxCount: ut
|
|
487
512
|
}), (e, l) => {
|
|
488
|
-
const n =
|
|
489
|
-
return v(),
|
|
490
|
-
"
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
]
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
])), [
|
|
581
|
-
[c(ll)]
|
|
582
|
-
])
|
|
583
|
-
], 40, xt)
|
|
584
|
-
],
|
|
585
|
-
2112
|
|
586
|
-
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
587
|
-
))
|
|
588
|
-
],
|
|
589
|
-
64
|
|
590
|
-
/* STABLE_FRAGMENT */
|
|
591
|
-
))
|
|
592
|
-
], !0)
|
|
593
|
-
]),
|
|
594
|
-
tagRender: h((o) => [
|
|
595
|
-
w(e.$slots, "tagRender", ue(ie(o)), () => [
|
|
596
|
-
k(c(Ve), {
|
|
597
|
-
closable: !S.value && o.closable,
|
|
598
|
-
style: { "margin-right": "3px", "background-color": "transparent" },
|
|
599
|
-
onClose: (u) => Ql(o)
|
|
600
|
-
}, {
|
|
601
|
-
default: h(() => [
|
|
602
|
-
S.value ? (v(), y("span", {
|
|
603
|
-
key: 0,
|
|
604
|
-
innerHTML: c(L)("das-ui-select-selectedItemsCountWithPlaceholder", J.value)
|
|
605
|
-
}, null, 8, Tt)) : (v(), y(
|
|
606
|
-
"span",
|
|
607
|
-
{
|
|
608
|
-
key: 1,
|
|
609
|
-
class: "tag-span",
|
|
610
|
-
style: j(t.size == "mini" || t.size == "table" ? { fontSize: "12px" } : {})
|
|
611
|
-
},
|
|
612
|
-
Z(Hl(ve(o.value) ?? o.label ?? String(o.value))),
|
|
613
|
-
5
|
|
614
|
-
/* TEXT, STYLE */
|
|
615
|
-
))
|
|
616
|
-
]),
|
|
617
|
-
_: 2
|
|
618
|
-
/* DYNAMIC */
|
|
619
|
-
}, 1032, ["closable", "onClose"])
|
|
620
|
-
], !0)
|
|
621
|
-
]),
|
|
622
|
-
dropdownRender: h(({ menuNode: o }) => [
|
|
623
|
-
w(e.$slots, "dropdownRender", ue(ie({ menuNode: o })), () => {
|
|
624
|
-
var u;
|
|
625
|
-
return [
|
|
626
|
-
Pe.value === "combobox" ? (v(), y("div", kt, [
|
|
627
|
-
k(n, { vnodes: o }, null, 8, ["vnodes"])
|
|
628
|
-
])) : Pe.value === "custom" ? (v(), y("div", {
|
|
513
|
+
const n = vt("v-nodes");
|
|
514
|
+
return v(), b("div", {
|
|
515
|
+
class: pt(["das-ui-select", [
|
|
516
|
+
t.borderType,
|
|
517
|
+
t.isView ? "readonly" : "",
|
|
518
|
+
t.error ? "is-error" : "",
|
|
519
|
+
y.value ? "show-ellipsis" : ""
|
|
520
|
+
]]),
|
|
521
|
+
ref_key: "$selectBox",
|
|
522
|
+
ref: B,
|
|
523
|
+
style: J(Fl.value),
|
|
524
|
+
onClick: fe(rt, ["stop"])
|
|
525
|
+
}, [
|
|
526
|
+
he.value ? (v(), U(d(bt), {
|
|
527
|
+
key: 0,
|
|
528
|
+
ref_key: "inputTooltipRef",
|
|
529
|
+
ref: _e,
|
|
530
|
+
placement: "top",
|
|
531
|
+
"virtual-triggering": "",
|
|
532
|
+
"virtual-ref": he.value,
|
|
533
|
+
disabled: ml.value,
|
|
534
|
+
content: gl.value
|
|
535
|
+
}, null, 8, ["virtual-ref", "disabled", "content"])) : Q("", !0),
|
|
536
|
+
Me((v(), U(d(gt), Ee({ mode: Cl.value }, jl.value, {
|
|
537
|
+
value: Pl.value,
|
|
538
|
+
ref_key: "$select",
|
|
539
|
+
ref: C,
|
|
540
|
+
options: Ol.value,
|
|
541
|
+
fieldNames: p.fieldNames,
|
|
542
|
+
bordered: t.borderType === "bordered",
|
|
543
|
+
disabled: t.disabled || t.isView,
|
|
544
|
+
showArrow: !0,
|
|
545
|
+
open: t.noDropdown ? !1 : we.value,
|
|
546
|
+
placeholder: oe.value,
|
|
547
|
+
showSearch: t.showSearch,
|
|
548
|
+
optionFilterProp: tl.value,
|
|
549
|
+
filterOption: je,
|
|
550
|
+
size: Ke.value,
|
|
551
|
+
style: t.size == "mini" || t.size == "table" ? { fontSize: "12px" } : {},
|
|
552
|
+
dropdownClassName: "das-ui-select-dorpdown " + p.dropdownClassName,
|
|
553
|
+
maxTagCount: El.value,
|
|
554
|
+
getPopupContainer: Ql,
|
|
555
|
+
dropdownStyle: Bl.value,
|
|
556
|
+
onDropdownVisibleChange: Kl,
|
|
557
|
+
onChange: l[4] || (l[4] = (o, u) => de(o, u, "antdv")),
|
|
558
|
+
onFocus: at,
|
|
559
|
+
onBlur: ol,
|
|
560
|
+
onPopupScroll: Yl
|
|
561
|
+
}), ht({
|
|
562
|
+
option: m((o) => [
|
|
563
|
+
A(e.$slots, "option", ve(pe(o)), () => [
|
|
564
|
+
o.children && typeof o.children == "function" ? (v(), U(n, {
|
|
565
|
+
key: 0,
|
|
566
|
+
vnodes: o.children()
|
|
567
|
+
}, null, 8, ["vnodes"])) : (v(), b(rl, { key: 1 }, [
|
|
568
|
+
p.mode === "combobox" ? Me((v(), b("div", Mt, [
|
|
569
|
+
Oe(G(o[V.value]), 1)
|
|
570
|
+
])), [
|
|
571
|
+
[d(ul)]
|
|
572
|
+
]) : (v(), b("div", {
|
|
573
|
+
key: 1,
|
|
574
|
+
class: "das-multiple-option-item",
|
|
575
|
+
onMousedown: tt,
|
|
576
|
+
onClick: (u) => ot(o, u)
|
|
577
|
+
}, [
|
|
578
|
+
(v(), U(d(sl), {
|
|
579
|
+
class: "das-select-checkbox",
|
|
580
|
+
modelValue: Je.value.has(o[g.value]),
|
|
581
|
+
key: o[g.value],
|
|
582
|
+
disabled: o.disabled
|
|
583
|
+
}, null, 8, ["modelValue", "disabled"])),
|
|
584
|
+
Me((v(), b("div", zt, [
|
|
585
|
+
Oe(G(o[V.value]), 1)
|
|
586
|
+
])), [
|
|
587
|
+
[d(ul)]
|
|
588
|
+
])
|
|
589
|
+
], 40, Ot))
|
|
590
|
+
], 64))
|
|
591
|
+
], !0)
|
|
592
|
+
]),
|
|
593
|
+
tagRender: m((o) => [
|
|
594
|
+
A(e.$slots, "tagRender", ve(pe(o)), () => [
|
|
595
|
+
I(d(ze), {
|
|
596
|
+
closable: !w.value && o.closable,
|
|
597
|
+
style: { "margin-right": "3px", "background-color": "transparent" },
|
|
598
|
+
onClose: (u) => st(o)
|
|
599
|
+
}, {
|
|
600
|
+
default: m(() => [
|
|
601
|
+
w.value ? (v(), b("span", {
|
|
602
|
+
key: 0,
|
|
603
|
+
innerHTML: d(M)("das-ui-select-selectedItemsCountWithPlaceholder", le.value)
|
|
604
|
+
}, null, 8, Et)) : (v(), b("span", {
|
|
629
605
|
key: 1,
|
|
630
|
-
|
|
631
|
-
|
|
606
|
+
class: "tag-span",
|
|
607
|
+
style: J(t.size == "mini" || t.size == "table" ? { fontSize: "12px" } : {})
|
|
608
|
+
}, G(Jl(ye(o.value) ?? o.label ?? String(o.value))), 5))
|
|
609
|
+
]),
|
|
610
|
+
_: 2
|
|
611
|
+
}, 1032, ["closable", "onClose"])
|
|
612
|
+
], !0)
|
|
613
|
+
]),
|
|
614
|
+
dropdownRender: m(({ menuNode: o }) => [
|
|
615
|
+
A(e.$slots, "dropdownRender", ve(pe({ menuNode: o })), () => {
|
|
616
|
+
var u;
|
|
617
|
+
return [
|
|
618
|
+
Fe.value === "combobox" ? (v(), b("div", _t, [
|
|
619
|
+
I(n, { vnodes: o }, null, 8, ["vnodes"])
|
|
620
|
+
])) : Fe.value === "custom" ? (v(), b("div", {
|
|
621
|
+
key: 1,
|
|
622
|
+
onClick: l[2] || (l[2] = fe(() => {
|
|
623
|
+
}, ["stop"]))
|
|
624
|
+
}, [
|
|
625
|
+
I(n, { vnodes: o }, null, 8, ["vnodes"]),
|
|
626
|
+
S("div", {
|
|
627
|
+
class: "customDropdown",
|
|
628
|
+
onMousedown: l[1] || (l[1] = (r) => r.preventDefault())
|
|
632
629
|
}, [
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
[
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
)
|
|
666
|
-
])) : (v(), y("div", It, [
|
|
667
|
-
k(n, { vnodes: o }, null, 8, ["vnodes"]),
|
|
668
|
-
(u = t.options) != null && u.length && t.showSelectAll ? (v(), y(
|
|
669
|
-
"div",
|
|
670
|
-
{
|
|
671
|
-
key: 0,
|
|
672
|
-
class: "das-ui-select-dropdown-checkall",
|
|
673
|
-
onMousedown: l[3] || (l[3] = (r) => r.preventDefault())
|
|
674
|
-
},
|
|
675
|
-
[
|
|
676
|
-
b("div", Vt, [
|
|
677
|
-
k(c(el), {
|
|
678
|
-
modelValue: Ll.value,
|
|
679
|
-
indeterminate: Ml.value,
|
|
680
|
-
onChange: Zl,
|
|
681
|
-
style: { display: "flex" }
|
|
682
|
-
}, {
|
|
683
|
-
default: h(() => [
|
|
684
|
-
Ie(
|
|
685
|
-
Z(c(L)("全选")),
|
|
686
|
-
1
|
|
687
|
-
/* TEXT */
|
|
688
|
-
)
|
|
689
|
-
]),
|
|
690
|
-
_: 1
|
|
691
|
-
/* STABLE */
|
|
692
|
-
}, 8, ["modelValue", "indeterminate"])
|
|
630
|
+
I(d(St), Ee({
|
|
631
|
+
ref_key: "testInput",
|
|
632
|
+
ref: yl,
|
|
633
|
+
modelValue: q.value,
|
|
634
|
+
"onUpdate:modelValue": l[0] || (l[0] = (r) => q.value = r),
|
|
635
|
+
onKeyup: mt(Re, ["enter"]),
|
|
636
|
+
onFocus: fe(bl, ["stop"]),
|
|
637
|
+
onBlur: fe(Sl, ["stop"]),
|
|
638
|
+
width: "100%",
|
|
639
|
+
borderType: "bordered"
|
|
640
|
+
}, t.inputAttrs), null, 16, ["modelValue"]),
|
|
641
|
+
S("div", {
|
|
642
|
+
class: "addBtn",
|
|
643
|
+
onClick: Re
|
|
644
|
+
}, G(d(M)("添加")), 1)
|
|
645
|
+
], 32)
|
|
646
|
+
])) : (v(), b("div", Nt, [
|
|
647
|
+
I(n, { vnodes: o }, null, 8, ["vnodes"]),
|
|
648
|
+
(u = t.options) != null && u.length && t.showSelectAll ? (v(), b("div", {
|
|
649
|
+
key: 0,
|
|
650
|
+
class: "das-ui-select-dropdown-checkall",
|
|
651
|
+
onMousedown: l[3] || (l[3] = (r) => r.preventDefault())
|
|
652
|
+
}, [
|
|
653
|
+
S("div", $t, [
|
|
654
|
+
I(d(sl), {
|
|
655
|
+
modelValue: Dl.value,
|
|
656
|
+
indeterminate: Wl.value,
|
|
657
|
+
onChange: et,
|
|
658
|
+
style: { display: "flex" }
|
|
659
|
+
}, {
|
|
660
|
+
default: m(() => [
|
|
661
|
+
Oe(G(d(M)("全选")), 1)
|
|
693
662
|
]),
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
663
|
+
_: 1
|
|
664
|
+
}, 8, ["modelValue", "indeterminate"])
|
|
665
|
+
]),
|
|
666
|
+
S("span", {
|
|
667
|
+
class: "das-ui-dropdown-has-checked",
|
|
668
|
+
innerHTML: d(M)("das-ui-select-selectedItemsCountWithPlaceholder", le.value)
|
|
669
|
+
}, null, 8, Bt)
|
|
670
|
+
], 32)) : Q("", !0)
|
|
671
|
+
]))
|
|
672
|
+
];
|
|
673
|
+
}, !0)
|
|
674
|
+
]),
|
|
675
|
+
clearIcon: m(() => [
|
|
676
|
+
A(e.$slots, "clearIcon", {}, () => [
|
|
677
|
+
I(d(wt), { size: "medium" })
|
|
678
|
+
], !0)
|
|
679
|
+
]),
|
|
680
|
+
maxTagPlaceholder: m((o) => [
|
|
681
|
+
A(e.$slots, "maxTagPlaceholder", ve(pe(o)), () => [
|
|
682
|
+
I(d(ze), {
|
|
683
|
+
style: J(t.size == "mini" || t.size == "table" ? { fontSize: "12px" } : {})
|
|
684
|
+
}, {
|
|
685
|
+
default: m(() => [
|
|
686
|
+
S("span", {
|
|
687
|
+
innerHTML: d(M)("das-ui-select-selectedItemsCountWithPlaceholder", le.value)
|
|
688
|
+
}, null, 8, Dt)
|
|
689
|
+
]),
|
|
690
|
+
_: 1
|
|
691
|
+
}, 8, ["style"])
|
|
692
|
+
], !0)
|
|
693
|
+
]),
|
|
694
|
+
notFoundContent: m(() => [
|
|
695
|
+
A(e.$slots, "notFoundContent", {}, () => [
|
|
696
|
+
l[5] || (l[5] = S("div", { class: "hasNoData" }, "暂无数据", -1))
|
|
697
|
+
], !0)
|
|
698
|
+
]),
|
|
699
|
+
suffixIcon: m(() => [
|
|
700
|
+
A(e.$slots, "suffixIcon", {}, () => [
|
|
701
|
+
I(d(Ct), {
|
|
702
|
+
class: "das-suffix-icon",
|
|
703
|
+
size: "medium",
|
|
704
|
+
iconColor: "#666666"
|
|
705
|
+
})
|
|
706
|
+
], !0)
|
|
707
|
+
]),
|
|
708
|
+
default: m(() => [
|
|
709
|
+
A(e.$slots, "default", {}, void 0, !0)
|
|
710
|
+
]),
|
|
711
|
+
_: 2
|
|
712
|
+
}, [
|
|
713
|
+
e.$slots.menuItemSelectedIcon ? {
|
|
714
|
+
name: "menuItemSelectedIcon",
|
|
715
|
+
fn: m(() => [
|
|
716
|
+
A(e.$slots, "menuItemSelectedIcon", {}, void 0, !0)
|
|
705
717
|
]),
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
718
|
+
key: "0"
|
|
719
|
+
} : void 0,
|
|
720
|
+
e.$slots.placeholder ? {
|
|
721
|
+
name: "placeholder",
|
|
722
|
+
fn: m(() => [
|
|
723
|
+
A(e.$slots, "placeholder", {}, void 0, !0)
|
|
710
724
|
]),
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
725
|
+
key: "1"
|
|
726
|
+
} : void 0,
|
|
727
|
+
e.$slots.removeIcon ? {
|
|
728
|
+
name: "removeIcon",
|
|
729
|
+
fn: m(() => [
|
|
730
|
+
A(e.$slots, "removeIcon", {}, void 0, !0)
|
|
731
|
+
]),
|
|
732
|
+
key: "2"
|
|
733
|
+
} : void 0
|
|
734
|
+
]), 1040, ["mode", "value", "options", "fieldNames", "bordered", "disabled", "open", "placeholder", "showSearch", "optionFilterProp", "size", "style", "dropdownClassName", "maxTagCount", "dropdownStyle"])), [
|
|
735
|
+
[d(yt), { target: nt, x: !1 }],
|
|
736
|
+
[d(At), Zl]
|
|
737
|
+
]),
|
|
738
|
+
p.error && p.errorLabel ? (v(), b(rl, { key: 1 }, [
|
|
739
|
+
p.errorMode === "default" ? (v(), b("div", Wt, [
|
|
740
|
+
S("span", {
|
|
741
|
+
style: J(Rl.value)
|
|
742
|
+
}, G(p.errorLabel), 5)
|
|
743
|
+
])) : Q("", !0),
|
|
744
|
+
p.errorMode === "overlay" && ke.value ? (v(), U(d(xt), {
|
|
745
|
+
key: 1,
|
|
746
|
+
errorLabel: p.errorLabel,
|
|
747
|
+
getEl: () => C.value.$el,
|
|
748
|
+
errorModelZIndex: p.errorModelZIndex
|
|
749
|
+
}, null, 8, ["errorLabel", "getEl", "errorModelZIndex"])) : Q("", !0)
|
|
750
|
+
], 64)) : Q("", !0),
|
|
751
|
+
S("div", {
|
|
752
|
+
class: "ant-select-selection-overflow",
|
|
753
|
+
ref_key: "virtualTotalCount",
|
|
754
|
+
ref: We,
|
|
755
|
+
style: { position: "absolute", left: "-50%", top: "-50%", opacity: "0", "pointer-events": "none" }
|
|
756
|
+
}, [
|
|
757
|
+
S("div", Ft, [
|
|
758
|
+
S("div", Rt, [
|
|
759
|
+
S("span", Ht, [
|
|
760
|
+
I(d(ze), {
|
|
761
|
+
style: J(t.size == "mini" || t.size == "table" ? { fontSize: "12px" } : {})
|
|
716
762
|
}, {
|
|
717
|
-
default:
|
|
718
|
-
|
|
719
|
-
innerHTML:
|
|
720
|
-
}, null, 8,
|
|
763
|
+
default: m(() => [
|
|
764
|
+
S("span", {
|
|
765
|
+
innerHTML: d(M)("das-ui-select-selectedItemsCountWithPlaceholder", le.value)
|
|
766
|
+
}, null, 8, qt)
|
|
721
767
|
]),
|
|
722
768
|
_: 1
|
|
723
|
-
|
|
724
|
-
}, 8, ["style"]),
|
|
725
|
-
V(" <a-tag>+{{ currValue?.length - maxTagCountCell }}</a-tag> ")
|
|
726
|
-
], !0)
|
|
727
|
-
]),
|
|
728
|
-
notFoundContent: h(() => [
|
|
729
|
-
w(e.$slots, "notFoundContent", {}, () => [
|
|
730
|
-
l[5] || (l[5] = b(
|
|
731
|
-
"div",
|
|
732
|
-
{ class: "hasNoData" },
|
|
733
|
-
"暂无数据",
|
|
734
|
-
-1
|
|
735
|
-
/* CACHED */
|
|
736
|
-
))
|
|
737
|
-
], !0)
|
|
738
|
-
]),
|
|
739
|
-
suffixIcon: h(() => [
|
|
740
|
-
w(e.$slots, "suffixIcon", {}, () => [
|
|
741
|
-
k(c(ft), {
|
|
742
|
-
class: "das-suffix-icon",
|
|
743
|
-
size: "medium",
|
|
744
|
-
iconColor: "#666666"
|
|
745
|
-
})
|
|
746
|
-
], !0)
|
|
747
|
-
]),
|
|
748
|
-
default: h(() => [
|
|
749
|
-
w(e.$slots, "default", {}, void 0, !0)
|
|
750
|
-
]),
|
|
751
|
-
_: 2
|
|
752
|
-
/* DYNAMIC */
|
|
753
|
-
}, [
|
|
754
|
-
e.$slots.menuItemSelectedIcon ? {
|
|
755
|
-
name: "menuItemSelectedIcon",
|
|
756
|
-
fn: h(() => [
|
|
757
|
-
w(e.$slots, "menuItemSelectedIcon", {}, void 0, !0)
|
|
758
|
-
]),
|
|
759
|
-
key: "0"
|
|
760
|
-
} : void 0,
|
|
761
|
-
e.$slots.placeholder ? {
|
|
762
|
-
name: "placeholder",
|
|
763
|
-
fn: h(() => [
|
|
764
|
-
w(e.$slots, "placeholder", {}, void 0, !0)
|
|
765
|
-
]),
|
|
766
|
-
key: "1"
|
|
767
|
-
} : void 0,
|
|
768
|
-
e.$slots.removeIcon ? {
|
|
769
|
-
name: "removeIcon",
|
|
770
|
-
fn: h(() => [
|
|
771
|
-
w(e.$slots, "removeIcon", {}, void 0, !0)
|
|
772
|
-
]),
|
|
773
|
-
key: "2"
|
|
774
|
-
} : void 0
|
|
775
|
-
]), 1040, ["mode", "value", "options", "fieldNames", "bordered", "disabled", "open", "placeholder", "showSearch", "optionFilterProp", "size", "style", "dropdownClassName", "maxTagCount", "dropdownStyle"])), [
|
|
776
|
-
[c(it), { target: jl, x: !1 }],
|
|
777
|
-
[c(ht), Nl]
|
|
778
|
-
]),
|
|
779
|
-
e.error && e.errorLabel ? (v(), y(
|
|
780
|
-
ke,
|
|
781
|
-
{ key: 1 },
|
|
782
|
-
[
|
|
783
|
-
e.errorMode === "default" ? (v(), y("div", Mt, [
|
|
784
|
-
b(
|
|
785
|
-
"span",
|
|
786
|
-
{
|
|
787
|
-
style: j(zl.value)
|
|
788
|
-
},
|
|
789
|
-
Z(e.errorLabel),
|
|
790
|
-
5
|
|
791
|
-
/* TEXT, STYLE */
|
|
792
|
-
)
|
|
793
|
-
])) : V("v-if", !0),
|
|
794
|
-
e.errorMode === "overlay" && Se.value ? (v(), K(c(pt), {
|
|
795
|
-
key: 1,
|
|
796
|
-
errorLabel: e.errorLabel,
|
|
797
|
-
getEl: () => A.value.$el,
|
|
798
|
-
errorModelZIndex: e.errorModelZIndex
|
|
799
|
-
}, null, 8, ["errorLabel", "getEl", "errorModelZIndex"])) : V("v-if", !0)
|
|
800
|
-
],
|
|
801
|
-
64
|
|
802
|
-
/* STABLE_FRAGMENT */
|
|
803
|
-
)) : V("v-if", !0),
|
|
804
|
-
b(
|
|
805
|
-
"div",
|
|
806
|
-
{
|
|
807
|
-
class: "ant-select-selection-overflow",
|
|
808
|
-
ref_key: "virtualTotalCount",
|
|
809
|
-
ref: ze,
|
|
810
|
-
style: { position: "absolute", left: "-50%", top: "-50%", opacity: "0", "pointer-events": "none" }
|
|
811
|
-
},
|
|
812
|
-
[
|
|
813
|
-
b("div", Ot, [
|
|
814
|
-
b("div", zt, [
|
|
815
|
-
b("span", Pt, [
|
|
816
|
-
k(c(Ve), {
|
|
817
|
-
style: j(t.size == "mini" || t.size == "table" ? { fontSize: "12px" } : {})
|
|
818
|
-
}, {
|
|
819
|
-
default: h(() => [
|
|
820
|
-
b("span", {
|
|
821
|
-
innerHTML: c(L)("das-ui-select-selectedItemsCountWithPlaceholder", J.value)
|
|
822
|
-
}, null, 8, Et)
|
|
823
|
-
]),
|
|
824
|
-
_: 1
|
|
825
|
-
/* STABLE */
|
|
826
|
-
}, 8, ["style"])
|
|
827
|
-
])
|
|
828
|
-
])
|
|
769
|
+
}, 8, ["style"])
|
|
829
770
|
])
|
|
830
|
-
]
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
],
|
|
835
|
-
6
|
|
836
|
-
/* CLASS, STYLE */
|
|
837
|
-
);
|
|
771
|
+
])
|
|
772
|
+
])
|
|
773
|
+
], 512)
|
|
774
|
+
], 6);
|
|
838
775
|
};
|
|
839
776
|
}
|
|
840
|
-
}),
|
|
841
|
-
const
|
|
842
|
-
for (const [t,
|
|
843
|
-
|
|
844
|
-
return
|
|
845
|
-
},
|
|
846
|
-
function
|
|
847
|
-
const
|
|
848
|
-
return v(),
|
|
849
|
-
D,
|
|
850
|
-
_e({ class: "das-ui-select-option" }, M.$attrs),
|
|
851
|
-
null,
|
|
852
|
-
16
|
|
853
|
-
/* FULL_PROPS */
|
|
854
|
-
);
|
|
777
|
+
}), dl = (p, N) => {
|
|
778
|
+
const $ = p.__vccOpts || p;
|
|
779
|
+
for (const [t, T] of N)
|
|
780
|
+
$[t] = T;
|
|
781
|
+
return $;
|
|
782
|
+
}, Gt = /* @__PURE__ */ dl(Kt, [["__scopeId", "data-v-d04dd707"]]), Ut = {};
|
|
783
|
+
function Xt(p, N) {
|
|
784
|
+
const $ = Pt;
|
|
785
|
+
return v(), U($, Ee({ class: "das-ui-select-option" }, p.$attrs), null, 16);
|
|
855
786
|
}
|
|
856
|
-
const
|
|
787
|
+
const jt = /* @__PURE__ */ dl(Ut, [["render", Xt]]), Yt = {
|
|
857
788
|
添加: { "zh-CN": "添加", en: "Add", "zh-MO": "添加", _appCode: "framework" },
|
|
858
789
|
全选: { "zh-CN": "全选", en: "Select All", "zh-MO": "全選", _appCode: "framework" },
|
|
859
790
|
已选: { "zh-CN": "已选", en: "Selected", "zh-MO": "已選", _appCode: "framework" },
|
|
@@ -864,10 +795,10 @@ const Ft = /* @__PURE__ */ nl($t, [["render", Wt]]), Rt = {
|
|
|
864
795
|
_appCode: "framework"
|
|
865
796
|
}
|
|
866
797
|
};
|
|
867
|
-
|
|
868
|
-
const
|
|
798
|
+
kt(Yt);
|
|
799
|
+
const bo = il(Gt), So = il(jt), Co = { name: "select 选择器" };
|
|
869
800
|
export {
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
801
|
+
bo as DasSelect,
|
|
802
|
+
So as DasSelectOption,
|
|
803
|
+
Co as default
|
|
873
804
|
};
|