@das-fed/upf-ui 6.4.0-dev.222 → 6.4.0-dev.224
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 +2 -2
- package/front-end/i18n/front-end-page/dasui_zh-CN.js +2 -2
- package/front-end/i18n/front-end-page/dasui_zh-MO.js +2 -2
- package/package.json +3 -3
- package/packages/business-components/ai-panel/{index-BtiuhwME.js → index-BybM3Q9u.js} +1580 -2050
- package/packages/business-components/ai-panel/index-BybM3Q9u.js.gz +0 -0
- package/packages/business-components/ai-panel/index-CgWRv2Ge.js +142 -0
- package/packages/business-components/ai-panel/index-CgWRv2Ge.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-DCyDBdoc.js → index-CwdJKHy0.js} +8 -22
- package/packages/business-components/ai-panel/index-CwdJKHy0.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 +105 -160
- 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 +12679 -17397
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/src/components/drag-resize/index.vue.d.ts +1 -1
- 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.d.ts +5 -5
- package/packages/business-components/echarts/index.js +2089 -2102
- package/packages/business-components/echarts/index.js.gz +0 -0
- package/packages/business-components/echarts/src/Index.vue.d.ts +1 -1
- package/packages/business-components/export-button/index.js +112 -119
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/index.js +215 -249
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/layout-breadcrumb/index.js +48 -48
- 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 +166 -256
- package/packages/business-components/payment/index.js.gz +0 -0
- package/packages/business-components/process-configuration/index.js +224 -310
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +1180 -1349
- 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 +383 -566
- 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/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 +1252 -1722
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/src/components/drag-resize/index.vue.d.ts +1 -1
- 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 +308 -376
- 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 +52 -59
- 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 +58 -84
- package/packages/components/breadcrumb/index.js.gz +0 -0
- package/packages/components/breadcrumb/src/type.d.ts +2 -0
- package/packages/components/button/index.js +275 -348
- package/packages/components/button/index.js.gz +0 -0
- package/packages/components/calendar/index.js +257 -343
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/index.d.ts +17 -17
- package/packages/components/cascader/index.js +150 -185
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/cascader/src/Index.vue.d.ts +1 -1
- 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 +236 -349
- 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 +26 -33
- 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.d.ts +5 -5
- package/packages/components/color-picker/index.js +54 -76
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/color-picker/src/Index.vue.d.ts +1 -1
- 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.d.ts +15 -15
- package/packages/components/date-picker/index.js +751 -981
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/src/DatePicker.vue.d.ts +1 -1
- package/packages/components/date-picker/src/DateRangePicker.vue.d.ts +1 -1
- package/packages/components/date-picker/src/RangePicker.vue.d.ts +1 -1
- package/packages/components/date-picker/src/TimePicker.vue.d.ts +1 -1
- package/packages/components/date-picker/src/TimeRangePicker.vue.d.ts +1 -1
- 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 +185 -235
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dimple-layout/index.js +89 -191
- 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 +43 -58
- 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 +953 -1185
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/empty/index.js +36 -64
- package/packages/components/empty/index.js.gz +0 -0
- package/packages/components/error-overlay-model/index.js +30 -42
- 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 +12 -18
- package/packages/components/form/index.js.gz +0 -0
- package/packages/components/form-item/index.js +888 -1047
- 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 +101 -135
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-viewer/index.js +610 -703
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/input/index.d.ts +3 -3
- package/packages/components/input/index.js +202 -225
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input/src/index.vue.d.ts +2 -1
- package/packages/components/input-dialog-select/index.js +128 -165
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/input-number/index.js +129 -149
- 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 +48 -54
- 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 +668 -893
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/menu-header/index.js +42 -66
- package/packages/components/menu-header/index.js.gz +0 -0
- package/packages/components/pagination/index.js +121 -159
- 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 +49 -62
- 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 +127 -214
- 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 +8 -8
- package/packages/components/radio/index.js +237 -356
- 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.d.ts +1 -1
- package/packages/components/search/index.js +108 -117
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/search/src/Index.vue.d.ts +1 -1
- package/packages/components/search-form/index.js +957 -1126
- 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.d.ts +3 -3
- package/packages/components/select/index.js +377 -469
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/src/Select.vue.d.ts +1 -1
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/select-input/index.js +79 -80
- package/packages/components/select-input/index.js.gz +0 -0
- package/packages/components/select-list/index.js +548 -605
- 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 +201 -296
- 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 +267 -400
- 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 +38 -51
- 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 +129 -187
- 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 +112 -112
- package/packages/components/table/index.js +2981 -3506
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/src/Table.vue.d.ts +9 -9
- package/packages/components/table/src/table-column/index.vue.d.ts +1 -1
- package/packages/components/tabs/index.js +188 -254
- 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 +48 -67
- 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 +78 -129
- 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 +945 -1112
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree-select/index.js +374 -401
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/tree-select/src/App.vue.d.ts +39 -39
- package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +38 -38
- package/packages/components/tree-table/index.d.ts +2 -2
- package/packages/components/tree-table/index.js +320 -425
- package/packages/components/tree-table/index.js.gz +0 -0
- package/packages/components/tree-v2/index.d.ts +20 -20
- package/packages/components/tree-v2/index.js +1214 -1378
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/upload/index.js +130 -203
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/index.js +113 -150
- 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/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/packages/business-components/ai-panel/index-BtiuhwME.js.gz +0 -0
- package/packages/business-components/ai-panel/index-CDBVlFmp.js +0 -180
- package/packages/business-components/ai-panel/index-CDBVlFmp.js.gz +0 -0
- package/packages/business-components/ai-panel/index-DCyDBdoc.js.gz +0 -0
- package/packages/components/loading/src/loading.d.ts +0 -26
- package/packages/components/steps/index.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,31 +1,34 @@
|
|
|
1
1
|
import '@das-fed/upf-ui/packages/components/select/style.css';
|
|
2
2
|
import { withInstall as De } from "@das-fed/upf-utils/with-install/index";
|
|
3
|
-
import { defineComponent as Ee, useCssVars as hl, useAttrs as bl, computed as
|
|
4
|
-
import { Select as kl, Tag as
|
|
5
|
-
import { DasCheckbox as
|
|
3
|
+
import { defineComponent as Ee, useCssVars as hl, useAttrs as bl, computed as i, ref as s, watch as X, useSlots as yl, onMounted as pe, onUnmounted as Ne, watchEffect as me, nextTick as k, resolveComponent as gl, openBlock as v, createElementBlock as y, normalizeClass as wl, normalizeStyle as Z, withModifiers as J, createBlock as R, unref as r, createCommentVNode as K, withDirectives as he, mergeProps as ge, isRef as Cl, createSlots as xl, withCtx as p, renderSlot as g, normalizeProps as Q, guardReactiveProps as Y, Fragment as Be, createTextVNode as be, toDisplayString as W, createVNode as x, createElementVNode as h, withKeys as Tl } from "vue";
|
|
4
|
+
import { Select as kl, Tag as ye } from "ant-design-vue";
|
|
5
|
+
import { DasCheckbox as Fe } from "@das-fed/upf-ui/packages/components/checkbox/index";
|
|
6
6
|
import { vScrollbar as Sl } from "@das-fed/upf-ui/packages/components/scrollbar/index";
|
|
7
7
|
import { DasTooltip as Il } from "@das-fed/upf-ui/packages/components/tooltip/index";
|
|
8
|
-
import { vDasTooltip as
|
|
8
|
+
import { vDasTooltip as $e } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
|
|
9
9
|
import { DasInput as Al } from "@das-fed/upf-ui/packages/components/input/index";
|
|
10
10
|
import { DasIconXiala as Ll } from "@das-fed/upf-ui/packages/icons/xiala/index";
|
|
11
|
-
import { DasIconEmpty as
|
|
12
|
-
import { DasErrorOverlayModel as
|
|
13
|
-
import { vHoverInside as
|
|
14
|
-
import { getVarValue as
|
|
15
|
-
import { t as
|
|
16
|
-
import { useZIndex as
|
|
17
|
-
import { useModelValue as
|
|
11
|
+
import { DasIconEmpty as Ml } from "@das-fed/upf-ui/packages/icons/empty/index";
|
|
12
|
+
import { DasErrorOverlayModel as Vl } from "@das-fed/upf-ui/packages/components/error-overlay-model/index";
|
|
13
|
+
import { vHoverInside as _l } from "@das-fed/upf-utils/directive";
|
|
14
|
+
import { getVarValue as zl, getVar as Oe, setThemeRule as Nl } from "@das-fed/upf-web/packages/theme/index";
|
|
15
|
+
import { t as P, currentLang as Bl, setI18nRule as Fl } from "@das-fed/upf-web/packages/i18n/index";
|
|
16
|
+
import { useZIndex as $l } from "@das-fed/upf-utils/hooks/popup-manager/use-zindex";
|
|
17
|
+
import { useModelValue as Ol } from "@das-fed/upf-utils/vue";
|
|
18
18
|
import { calcTextWidth as Dl } from "@das-fed/upf-utils/common-tools";
|
|
19
19
|
import "ant-design-vue/es/select/style/css";
|
|
20
20
|
import "ant-design-vue/es/tag/style/css";
|
|
21
21
|
import { SelectOption as El } from "ant-design-vue/es";
|
|
22
|
-
const Wl = { key: 0 }, Pl = {
|
|
22
|
+
const Wl = { key: 0 }, Pl = {
|
|
23
|
+
key: 1,
|
|
24
|
+
class: "das-multiple-option-item"
|
|
25
|
+
}, Rl = { style: { display: "inline-block" } }, ql = { key: 0 }, Hl = { key: 2 }, Zl = { style: { display: "inline-block" } }, Kl = ["innerHTML"], Ul = ["innerHTML"], jl = {
|
|
23
26
|
key: 0,
|
|
24
27
|
class: "das-select-error-label-content das-select-label-content"
|
|
25
28
|
}, Gl = { class: "ant-select ant-select-multiple ant-select-selection-overflow-item ant-select-selection-overflow-item-rest" }, Xl = { class: "ant-select-selection-item" }, Jl = { class: "ant-select-selection-item-content" }, Ql = ["innerHTML"], Yl = Ee({
|
|
26
29
|
inheritAttrs: !1,
|
|
27
30
|
components: {
|
|
28
|
-
VNodes: (
|
|
31
|
+
VNodes: (S, { attrs: z }) => z.vnodes
|
|
29
32
|
}
|
|
30
33
|
}), et = /* @__PURE__ */ Ee({
|
|
31
34
|
...Yl,
|
|
@@ -67,72 +70,72 @@ const Wl = { key: 0 }, Pl = { class: "das-multiple-option-item" }, Rl = { style:
|
|
|
67
70
|
showSelectAll: { type: Boolean, default: !0 }
|
|
68
71
|
},
|
|
69
72
|
emits: ["update:model-value", "change", "focus", "blur", "dropdownVisibleChange", "addCustomItem"],
|
|
70
|
-
setup(
|
|
73
|
+
setup(S, { expose: z, emit: N }) {
|
|
71
74
|
hl((e) => ({
|
|
72
|
-
|
|
73
|
-
|
|
75
|
+
"2d187413": Xe.value,
|
|
76
|
+
"5c27147a": Je.value
|
|
74
77
|
}));
|
|
75
|
-
const l =
|
|
78
|
+
const l = S, w = N, we = bl(), Pe = i(() => {
|
|
76
79
|
const e = {};
|
|
77
|
-
for (const t in
|
|
78
|
-
t === "onClick" || t.startsWith("onClick") || (e[t] =
|
|
80
|
+
for (const t in we)
|
|
81
|
+
t === "onClick" || t.startsWith("onClick") || (e[t] = we[t]);
|
|
79
82
|
return e;
|
|
80
|
-
}), n =
|
|
83
|
+
}), n = Ol(l, "modelValue"), ee = i(() => {
|
|
81
84
|
var e;
|
|
82
85
|
return `<span class='key'>${((e = n.value) == null ? void 0 : e.length) ?? 0}</span>`;
|
|
83
|
-
}),
|
|
86
|
+
}), B = s(null), Ce = s(null), b = s(!1), U = i(() => l.isView ? l.noSetDefaultVal ? "" : "-" : l.placeholder || P("请选择")), le = i(() => B.value ? B.value.querySelector(".ant-select-selector") : null), F = s(0), $ = s(0), Re = i(() => le.value ? l.isTooltip && I.value ? !1 : !l.isTooltip || M.value || !_e.value || !ue.value : !0), qe = i(() => (Array.isArray(n.value) ? n.value.length : n.value) ? _e.value : U.value), xe = () => {
|
|
84
87
|
const e = l.size === "table" ? 12 : 14;
|
|
85
88
|
return Dl(U.value, e);
|
|
86
|
-
},
|
|
87
|
-
var
|
|
88
|
-
const e = (
|
|
89
|
+
}, Te = () => {
|
|
90
|
+
var _, H, f;
|
|
91
|
+
const e = (_ = B.value) == null ? void 0 : _.querySelector(".ant-select-selection-placeholder"), t = (f = (H = C.value) == null ? void 0 : H.$el) == null ? void 0 : f.querySelectorAll(".ant-select-selection-item");
|
|
89
92
|
t && t.length && t.forEach((ve) => ve.removeAttribute("title"));
|
|
90
93
|
let a = (e == null ? void 0 : e.offsetWidth) ?? 0;
|
|
91
94
|
if (a === 0) return a;
|
|
92
|
-
const o = window.getComputedStyle(e, null),
|
|
93
|
-
return a -
|
|
94
|
-
},
|
|
95
|
+
const o = window.getComputedStyle(e, null), m = parseFloat(o.paddingRight), c = parseFloat(o.paddingLeft);
|
|
96
|
+
return a - m - c;
|
|
97
|
+
}, I = s(!1);
|
|
95
98
|
X(() => [U.value, n.value], () => {
|
|
96
|
-
|
|
97
|
-
|
|
99
|
+
k(() => {
|
|
100
|
+
$.value = Te(), F.value = xe(), ((Array.isArray(n.value) ? n.value.length : n.value) || $.value === F.value || F.value - $.value < 1) && (I.value = !1);
|
|
98
101
|
});
|
|
99
102
|
}), X(
|
|
100
103
|
() => {
|
|
101
104
|
var e;
|
|
102
|
-
return (e =
|
|
105
|
+
return (e = Ce.value) == null ? void 0 : e.$tooltipRef.popperRef.contentRef;
|
|
103
106
|
},
|
|
104
107
|
(e) => {
|
|
105
108
|
e && (e.addEventListener("mouseenter", function() {
|
|
106
|
-
|
|
109
|
+
I.value = !0, E.value && clearTimeout(E.value);
|
|
107
110
|
}), e.addEventListener("mouseleave", function() {
|
|
108
|
-
|
|
109
|
-
|
|
111
|
+
E.value = setTimeout(() => {
|
|
112
|
+
I.value = !1;
|
|
110
113
|
}, 200);
|
|
111
114
|
}));
|
|
112
115
|
}
|
|
113
116
|
);
|
|
114
|
-
const
|
|
115
|
-
|
|
117
|
+
const ke = s(null), Se = i(() => l.dropdownMode ?? l.mode ?? ""), O = s(null), He = s(null), D = s(""), Ze = () => {
|
|
118
|
+
O.value = !0;
|
|
116
119
|
}, Ke = () => {
|
|
117
|
-
|
|
118
|
-
},
|
|
119
|
-
|
|
120
|
-
|
|
120
|
+
O.value = null;
|
|
121
|
+
}, Ie = () => {
|
|
122
|
+
D.value && (w("addCustomItem", D.value), k(() => {
|
|
123
|
+
C.value.focus(), D.value = "";
|
|
121
124
|
}));
|
|
122
|
-
},
|
|
123
|
-
l.dropdownMode === "custom" && !
|
|
124
|
-
|
|
125
|
+
}, Ae = yl(), te = () => {
|
|
126
|
+
l.dropdownMode === "custom" && !Ae.dropdownRender && (O.value = !1, k(() => {
|
|
127
|
+
O.value = null;
|
|
125
128
|
}));
|
|
126
129
|
};
|
|
127
130
|
pe(() => {
|
|
128
131
|
document.addEventListener("click", te);
|
|
129
|
-
}),
|
|
132
|
+
}), Ne(() => {
|
|
130
133
|
document.removeEventListener("click", te);
|
|
131
134
|
});
|
|
132
|
-
const
|
|
135
|
+
const C = s(), Le = s(), A = i(() => {
|
|
133
136
|
var e;
|
|
134
137
|
return l.fieldNames && l.fieldNames.label ? (e = l.fieldNames) == null ? void 0 : e.label : "label";
|
|
135
|
-
}),
|
|
138
|
+
}), T = i(() => {
|
|
136
139
|
var e;
|
|
137
140
|
return l.fieldNames && l.fieldNames.value ? (e = l.fieldNames) == null ? void 0 : e.value : "value";
|
|
138
141
|
}), oe = s(/* @__PURE__ */ new Map()), Me = (e, t) => {
|
|
@@ -142,7 +145,7 @@ const Wl = { key: 0 }, Pl = { class: "das-multiple-option-item" }, Rl = { style:
|
|
|
142
145
|
}, ae = (e, t) => {
|
|
143
146
|
if (Array.isArray(e))
|
|
144
147
|
for (const a of e) {
|
|
145
|
-
if ((a == null ? void 0 : a[
|
|
148
|
+
if ((a == null ? void 0 : a[T.value]) == t) return a;
|
|
146
149
|
if (Array.isArray(a == null ? void 0 : a.children)) {
|
|
147
150
|
const o = ae(a.children, t);
|
|
148
151
|
if (o) return o;
|
|
@@ -150,35 +153,35 @@ const Wl = { key: 0 }, Pl = { class: "das-multiple-option-item" }, Rl = { style:
|
|
|
150
153
|
}
|
|
151
154
|
}, Ue = (e) => {
|
|
152
155
|
Me(e, (t) => {
|
|
153
|
-
t && t[
|
|
156
|
+
t && t[T.value] != null && t[A.value] != null && oe.value.set(t[T.value], t[A.value]);
|
|
154
157
|
});
|
|
155
158
|
}, ne = (e) => {
|
|
156
159
|
if (e == null || e === "") return;
|
|
157
160
|
const t = ae(l.options, e);
|
|
158
|
-
if (t && t[
|
|
161
|
+
if (t && t[A.value] != null) return t[A.value];
|
|
159
162
|
if (l.preserveLabelWhenMissing)
|
|
160
163
|
return oe.value.get(e);
|
|
161
164
|
}, je = (e) => {
|
|
162
165
|
const t = Array.isArray(e) ? e.slice() : [];
|
|
163
166
|
return l.preserveLabelWhenMissing ? ((l.mode !== "combobox" && Array.isArray(n.value) ? n.value : n.value != null && n.value !== "" ? [n.value] : []).forEach((o) => {
|
|
164
167
|
if (ae(t, o)) return;
|
|
165
|
-
const
|
|
166
|
-
|
|
167
|
-
[
|
|
168
|
-
[
|
|
168
|
+
const c = oe.value.get(o);
|
|
169
|
+
c != null && t.unshift({
|
|
170
|
+
[T.value]: o,
|
|
171
|
+
[A.value]: c,
|
|
169
172
|
disabled: !0,
|
|
170
173
|
title: "",
|
|
171
174
|
__dasGhostOption: !0
|
|
172
175
|
});
|
|
173
176
|
}), t.map((o) => (o.title = o.title ? o.title : "", o))) : t.map((o) => (o.title = o.title ? o.title : "", o));
|
|
174
|
-
}, se = s(!1), re =
|
|
175
|
-
if (
|
|
177
|
+
}, se = s(!1), re = i(() => {
|
|
178
|
+
if (O.value !== null) return O.value;
|
|
176
179
|
if (l.open !== void 0) return l.open;
|
|
177
|
-
}),
|
|
180
|
+
}), L = 1e6, u = s(100), d = s(100), M = s(!1), ue = s(!0), ie = s(!1);
|
|
178
181
|
me(() => {
|
|
179
182
|
n.value && l.mode == "combobox" && (ue.value = !0, setTimeout(() => {
|
|
180
183
|
var t;
|
|
181
|
-
let e = (t =
|
|
184
|
+
let e = (t = C.value) == null ? void 0 : t.$el.querySelectorAll(".ant-select-selection-item");
|
|
182
185
|
if (e && e.length > 0)
|
|
183
186
|
for (let a = 0; a < e.length; a++) {
|
|
184
187
|
let o = e[a];
|
|
@@ -186,21 +189,21 @@ const Wl = { key: 0 }, Pl = { class: "das-multiple-option-item" }, Rl = { style:
|
|
|
186
189
|
}
|
|
187
190
|
}, 300));
|
|
188
191
|
}), me(() => {
|
|
189
|
-
l.options && (Ue(l.options),
|
|
192
|
+
l.options && (Ue(l.options), Le.value = je(l.options));
|
|
190
193
|
});
|
|
191
194
|
const Ge = () => {
|
|
192
195
|
setTimeout(async () => {
|
|
193
|
-
u.value = 100, await
|
|
196
|
+
u.value = 100, await V(), u.value = d.value, b.value = !0;
|
|
194
197
|
}, 100);
|
|
195
198
|
};
|
|
196
199
|
me(() => {
|
|
197
200
|
ie.value === !0 && l.mode != "combobox" && n.value && n.value.length > 0 && l.options.length > 0 && (ie.value = !1, Ge());
|
|
198
201
|
}), pe(() => {
|
|
199
|
-
ie.value = !0, l.focusOpen || (
|
|
202
|
+
ie.value = !0, l.focusOpen || (d.value = 1, u.value = d.value, b.value = !0);
|
|
200
203
|
});
|
|
201
|
-
const Xe =
|
|
202
|
-
"z-index":
|
|
203
|
-
})),
|
|
204
|
+
const Xe = i(() => l.width ? l.width : "230px"), Je = i(() => l.height ? l.height : "auto"), Ve = s(3e3), Qe = i(() => ({
|
|
205
|
+
"z-index": Ve.value
|
|
206
|
+
})), _e = i(() => {
|
|
204
207
|
let e = [];
|
|
205
208
|
if (l.mode != "combobox" && Array.isArray(n.value))
|
|
206
209
|
n.value.map((t) => {
|
|
@@ -211,56 +214,56 @@ const Wl = { key: 0 }, Pl = { class: "das-multiple-option-item" }, Rl = { style:
|
|
|
211
214
|
const t = ne(n.value);
|
|
212
215
|
t != null ? e.push(t) : n.value !== null && n.value !== void 0 && n.value !== "" && e.push(String(n.value));
|
|
213
216
|
}
|
|
214
|
-
return
|
|
215
|
-
}), Ye =
|
|
217
|
+
return Bl.value === "zh-CN" ? e.join("、") : e.join(", ");
|
|
218
|
+
}), Ye = i(() => {
|
|
216
219
|
var t;
|
|
217
220
|
if (l.mode === "combobox") return !1;
|
|
218
221
|
let e = l.options.filter((a) => !a.disabled);
|
|
219
222
|
return !!(Array.isArray(n.value) && ((t = n.value) == null ? void 0 : t.length) == e.length);
|
|
220
|
-
}), el =
|
|
223
|
+
}), el = i(() => {
|
|
221
224
|
var t, a;
|
|
222
225
|
if (l.mode === "combobox") return !1;
|
|
223
226
|
let e = l.options.filter((o) => !o.disabled);
|
|
224
227
|
return !!(Array.isArray(n.value) && ((t = n.value) == null ? void 0 : t.length) > 0 && ((a = n.value) == null ? void 0 : a.length) < e.length);
|
|
225
|
-
}), ll =
|
|
228
|
+
}), ll = i(() => {
|
|
226
229
|
var e, t;
|
|
227
230
|
return l.optionFilterProp ? l.optionFilterProp : (e = l.fieldNames) != null && e.label ? (t = l.fieldNames) == null ? void 0 : t.label : "label";
|
|
228
|
-
}), tl =
|
|
231
|
+
}), tl = i(() => ({
|
|
229
232
|
width: typeof l.width == "number" ? l.width + "px" : l.width
|
|
230
233
|
})), de = s(!1), ol = s({
|
|
231
234
|
display: "block",
|
|
232
|
-
color:
|
|
235
|
+
color: zl("--das-ui-select-overlay-error-color").value,
|
|
233
236
|
"white-space": "break-spaces"
|
|
234
|
-
}),
|
|
237
|
+
}), E = s(), al = () => {
|
|
235
238
|
var a;
|
|
236
|
-
|
|
237
|
-
let e = (a =
|
|
238
|
-
!!(Array.isArray(n.value) ? n.value.length : e != null && e.length) ||
|
|
239
|
+
$.value = Te(), F.value = xe();
|
|
240
|
+
let e = (a = C.value) == null ? void 0 : a.$el.querySelectorAll(".ant-select-selection-item");
|
|
241
|
+
!!(Array.isArray(n.value) ? n.value.length : e != null && e.length) || $.value === F.value || F.value - $.value < 1 ? I.value = !1 : (I.value = !0, E.value && clearTimeout(E.value)), de.value = !0;
|
|
239
242
|
}, nl = () => {
|
|
240
|
-
|
|
241
|
-
|
|
243
|
+
E.value = setTimeout(() => {
|
|
244
|
+
I.value = !1;
|
|
242
245
|
}, 200), de.value = !1;
|
|
243
246
|
}, sl = (e, t) => {
|
|
244
247
|
e ? al() : nl();
|
|
245
248
|
}, rl = (e) => {
|
|
246
|
-
e && (
|
|
249
|
+
e && (Ve.value = $l().nextZIndex(), D.value = ""), j.value = e, l.mode == "combobox" && (e || setTimeout(() => {
|
|
247
250
|
var t, a;
|
|
248
|
-
(a = (t =
|
|
249
|
-
})),
|
|
251
|
+
(a = (t = C.value) == null ? void 0 : t.blur) == null || a.call(t);
|
|
252
|
+
})), w("dropdownVisibleChange", e);
|
|
250
253
|
}, ul = (e) => {
|
|
251
254
|
let t = e.toString();
|
|
252
255
|
return t.length > l.maxTagTextLength && (t = t.substr(0, l.maxTagTextLength) + "..."), t;
|
|
253
|
-
}, il = (e) => l.isRenderNode ?
|
|
256
|
+
}, il = (e) => l.isRenderNode ? B.value : l.getPopupContainer === void 0 ? document.body : l.getPopupContainer(e), dl = (e) => {
|
|
254
257
|
if (e) {
|
|
255
258
|
Array.isArray(n.value) || (n.value = []);
|
|
256
259
|
let t = n.value, a = [];
|
|
257
260
|
l.options.forEach((o) => {
|
|
258
|
-
!n.value.includes(o[
|
|
261
|
+
!n.value.includes(o[T.value]) && !o.disabled && (t.push(o[T.value]), a.push(o));
|
|
259
262
|
}), n.value = t, fe(n.value, a);
|
|
260
263
|
} else {
|
|
261
264
|
let t = n.value;
|
|
262
265
|
n.value = t.filter((a) => {
|
|
263
|
-
const o = l.options.find((
|
|
266
|
+
const o = l.options.find((m) => m[T.value] === a);
|
|
264
267
|
return o ? !!o.disabled : !1;
|
|
265
268
|
}), fe(n.value, []);
|
|
266
269
|
}
|
|
@@ -269,26 +272,26 @@ const Wl = { key: 0 }, Pl = { class: "das-multiple-option-item" }, Rl = { style:
|
|
|
269
272
|
return e.children[0];
|
|
270
273
|
}, fl = (e) => {
|
|
271
274
|
if (l.mode == "combobox") {
|
|
272
|
-
|
|
275
|
+
w("focus", e);
|
|
273
276
|
return;
|
|
274
277
|
}
|
|
275
|
-
se.value = !0, l.focusOpen && !l.isExterControlCount && (u.value =
|
|
278
|
+
se.value = !0, l.focusOpen && !l.isExterControlCount && (u.value = L, b.value = !1), w("focus", e);
|
|
276
279
|
}, j = s(!1), vl = () => {
|
|
277
280
|
j.value || setTimeout(() => {
|
|
278
281
|
var e, t;
|
|
279
|
-
(t = (e =
|
|
282
|
+
(t = (e = C.value) == null ? void 0 : e.blur) == null || t.call(e);
|
|
280
283
|
}), l.mode != "combobox";
|
|
281
|
-
},
|
|
282
|
-
if (
|
|
284
|
+
}, ze = (e) => {
|
|
285
|
+
if (k(() => {
|
|
283
286
|
j.value = !1;
|
|
284
287
|
}), l.mode == "combobox") {
|
|
285
|
-
|
|
288
|
+
w("blur", e);
|
|
286
289
|
return;
|
|
287
290
|
}
|
|
288
|
-
se.value = !1, l.focusOpen && !l.isExterControlCount && (
|
|
291
|
+
se.value = !1, l.focusOpen && !l.isExterControlCount && (V(), u.value = d.value, b.value = !0), w("blur", e);
|
|
289
292
|
}, pl = (e) => {
|
|
290
|
-
e.onClose(), u.value = 100,
|
|
291
|
-
l.mode !== "combobox" && re.value || l.focusOpen && (
|
|
293
|
+
e.onClose(), u.value = 100, k(() => {
|
|
294
|
+
l.mode !== "combobox" && re.value || l.focusOpen && (V(), u.value = d.value, b.value = !0);
|
|
292
295
|
});
|
|
293
296
|
};
|
|
294
297
|
X(
|
|
@@ -297,49 +300,49 @@ const Wl = { key: 0 }, Pl = { class: "das-multiple-option-item" }, Rl = { style:
|
|
|
297
300
|
if (e && l.mode !== "combobox") {
|
|
298
301
|
se.value = !1;
|
|
299
302
|
let t = new Event("blur");
|
|
300
|
-
|
|
303
|
+
ze(t);
|
|
301
304
|
}
|
|
302
305
|
}
|
|
303
306
|
);
|
|
304
|
-
let
|
|
307
|
+
let q = s(!1);
|
|
305
308
|
const ml = (e) => {
|
|
306
|
-
|
|
307
|
-
M.value = !1, l.focusOpen && (
|
|
309
|
+
q.value = e, M.value = !0, k(() => {
|
|
310
|
+
M.value = !1, l.focusOpen && (V(), u.value = e ? L : d.value, b.value = !e);
|
|
308
311
|
});
|
|
309
312
|
};
|
|
310
313
|
let G = null;
|
|
311
314
|
pe(() => {
|
|
312
315
|
G = new IntersectionObserver((e) => {
|
|
313
|
-
e && e[0] && e[0].intersectionRatio > 0 && l.focusOpen && u.value === 0 && (u.value = 100,
|
|
314
|
-
|
|
316
|
+
e && e[0] && e[0].intersectionRatio > 0 && l.focusOpen && u.value === 0 && (u.value = 100, k(() => {
|
|
317
|
+
V(), u.value = d.value, b.value = !0;
|
|
315
318
|
}));
|
|
316
|
-
}), G.observe(
|
|
317
|
-
}),
|
|
319
|
+
}), G.observe(B.value);
|
|
320
|
+
}), Ne(() => {
|
|
318
321
|
G && G.disconnect();
|
|
319
322
|
});
|
|
320
|
-
const
|
|
321
|
-
var
|
|
322
|
-
let e = (
|
|
323
|
+
const V = () => {
|
|
324
|
+
var H;
|
|
325
|
+
let e = (H = C.value) == null ? void 0 : H.$el;
|
|
323
326
|
if (!e) return;
|
|
324
327
|
let t = e == null ? void 0 : e.querySelector(".ant-select-selection-overflow");
|
|
325
328
|
if (!t) return;
|
|
326
329
|
let a = t.offsetWidth - 5;
|
|
327
330
|
l.borderType === "underline" && (a -= 10);
|
|
328
|
-
const
|
|
329
|
-
let
|
|
330
|
-
if (
|
|
331
|
-
u.value =
|
|
332
|
-
let
|
|
333
|
-
for (let
|
|
334
|
-
if (
|
|
335
|
-
|
|
331
|
+
const m = Math.ceil(ke.value.querySelector(".ant-tag").offsetWidth) + 4;
|
|
332
|
+
let c = e.querySelectorAll(".ant-select-selection-overflow-item");
|
|
333
|
+
if (c.length < 1) return;
|
|
334
|
+
u.value = L;
|
|
335
|
+
let _ = 0;
|
|
336
|
+
for (let f = 0; f < c.length - 1 && (c[f].classList.remove("ellipsis"), !c[f].classList.contains("ant-select-selection-overflow-item-rest")); f++)
|
|
337
|
+
if (_ += Math.ceil(c[f].offsetWidth), _ <= a - m)
|
|
338
|
+
f >= n.value.length - 1 && _ < a ? d.value = n.value.length : d.value = f + 1;
|
|
336
339
|
else {
|
|
337
|
-
|
|
340
|
+
f >= n.value.length - 1 && _ < a ? d.value = n.value.length : d.value = f;
|
|
338
341
|
break;
|
|
339
342
|
}
|
|
340
|
-
if (
|
|
341
|
-
let
|
|
342
|
-
|
|
343
|
+
if (d.value === 0) {
|
|
344
|
+
let f = c[0], ve = f.querySelector(".anticon-close") ? 86 : 69;
|
|
345
|
+
f && !f.classList.contains("ant-select-selection-overflow-item-rest") && ve <= a - m && !Ae.tagRender && (d.value = 1, f.classList.add("ellipsis"));
|
|
343
346
|
}
|
|
344
347
|
}, ce = s(!1);
|
|
345
348
|
X(
|
|
@@ -349,388 +352,293 @@ const Wl = { key: 0 }, Pl = { class: "das-multiple-option-item" }, Rl = { style:
|
|
|
349
352
|
ce.value = !1;
|
|
350
353
|
return;
|
|
351
354
|
}
|
|
352
|
-
l.mode !== "combobox" && re.value || (M.value = !0, u.value =
|
|
355
|
+
l.mode !== "combobox" && re.value || (M.value = !0, u.value = L, await k(), await V(), M.value = !1, l.isExterControlCount && l.focusOpen ? (u.value = q.value ? L : d.value, b.value = !q.value) : (u.value = d.value, b.value = !0));
|
|
353
356
|
}
|
|
354
357
|
);
|
|
355
358
|
const fe = async (e, t) => {
|
|
356
359
|
ce.value = !0, j.value = !1, l.mode === "combobox" && te();
|
|
357
360
|
const a = e;
|
|
358
|
-
l.noDropdown && l.maxTagsLength < a.length && a.pop(), M.value = !0,
|
|
361
|
+
l.noDropdown && l.maxTagsLength < a.length && a.pop(), M.value = !0, w("update:model-value", a), w("change", a, t), u.value = L, await k(), await V(), M.value = !1, l.isExterControlCount && l.focusOpen && (u.value = q.value ? L : d.value, b.value = !q.value), l.focusOpen || (u.value = d.value);
|
|
359
362
|
};
|
|
360
|
-
return
|
|
361
|
-
$select:
|
|
363
|
+
return z({
|
|
364
|
+
$select: C,
|
|
362
365
|
toChangeMaxCount: ml
|
|
363
366
|
}), (e, t) => {
|
|
364
367
|
const a = gl("v-nodes");
|
|
365
|
-
return
|
|
366
|
-
"
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
368
|
+
return v(), y("div", {
|
|
369
|
+
class: wl(["das-ui-select", [
|
|
370
|
+
l.borderType,
|
|
371
|
+
l.isView ? "readonly" : "",
|
|
372
|
+
l.error ? "is-error" : "",
|
|
373
|
+
b.value ? "show-ellipsis" : ""
|
|
374
|
+
]]),
|
|
375
|
+
ref_key: "$selectBox",
|
|
376
|
+
ref: B,
|
|
377
|
+
style: Z(tl.value),
|
|
378
|
+
onClick: J(vl, ["stop"])
|
|
379
|
+
}, [
|
|
380
|
+
le.value ? (v(), R(r(Il), {
|
|
381
|
+
key: 0,
|
|
382
|
+
ref_key: "inputTooltipRef",
|
|
383
|
+
ref: Ce,
|
|
384
|
+
placement: "top",
|
|
385
|
+
"virtual-triggering": "",
|
|
386
|
+
"virtual-ref": le.value,
|
|
387
|
+
disabled: Re.value,
|
|
388
|
+
content: qe.value
|
|
389
|
+
}, null, 8, ["virtual-ref", "disabled", "content"])) : K("", !0),
|
|
390
|
+
he((v(), R(r(kl), ge({ mode: e.mode }, Pe.value, {
|
|
391
|
+
value: r(n),
|
|
392
|
+
"onUpdate:value": t[4] || (t[4] = (o) => Cl(n) ? n.value = o : null),
|
|
393
|
+
ref_key: "$select",
|
|
394
|
+
ref: C,
|
|
395
|
+
options: Le.value,
|
|
396
|
+
fieldNames: e.fieldNames,
|
|
397
|
+
bordered: l.borderType === "bordered",
|
|
398
|
+
disabled: l.disabled || l.isView,
|
|
399
|
+
showArrow: !0,
|
|
400
|
+
open: l.noDropdown ? !1 : re.value,
|
|
401
|
+
placeholder: U.value,
|
|
402
|
+
optionFilterProp: ll.value,
|
|
403
|
+
size: l.size == "middle" ? "defalut" : l.size == "mini" ? "small" : l.size,
|
|
404
|
+
style: l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {},
|
|
405
|
+
dropdownClassName: "das-ui-select-dorpdown " + e.dropdownClassName,
|
|
406
|
+
maxTagCount: u.value,
|
|
407
|
+
getPopupContainer: il,
|
|
408
|
+
dropdownStyle: Qe.value,
|
|
409
|
+
onDropdownVisibleChange: rl,
|
|
410
|
+
onChange: fe,
|
|
411
|
+
onFocus: fl,
|
|
412
|
+
onBlur: ze
|
|
413
|
+
}), xl({
|
|
414
|
+
option: p((o) => [
|
|
415
|
+
g(e.$slots, "option", Q(Y(o)), () => {
|
|
416
|
+
var m;
|
|
417
|
+
return [
|
|
418
|
+
o.children && typeof o.children == "function" ? (v(), R(a, {
|
|
419
|
+
key: 0,
|
|
420
|
+
vnodes: o.children()
|
|
421
|
+
}, null, 8, ["vnodes"])) : (v(), y(Be, { key: 1 }, [
|
|
422
|
+
e.mode === "combobox" ? he((v(), y("div", Wl, [
|
|
423
|
+
be(W(o[A.value]), 1)
|
|
424
|
+
])), [
|
|
425
|
+
[r($e)]
|
|
426
|
+
]) : (v(), y("div", Pl, [
|
|
427
|
+
(v(), R(r(Fe), {
|
|
428
|
+
class: "das-select-checkbox",
|
|
429
|
+
modelValue: (m = r(n)) == null ? void 0 : m.includes(o[T.value]),
|
|
430
|
+
key: o[T.value],
|
|
431
|
+
disabled: o.disabled
|
|
432
|
+
}, null, 8, ["modelValue", "disabled"])),
|
|
433
|
+
he((v(), y("div", Rl, [
|
|
434
|
+
be(W(o[A.value]), 1)
|
|
435
|
+
])), [
|
|
436
|
+
[r($e)]
|
|
437
|
+
])
|
|
438
|
+
]))
|
|
439
|
+
], 64))
|
|
440
|
+
];
|
|
441
|
+
}, !0)
|
|
442
|
+
]),
|
|
443
|
+
tagRender: p((o) => [
|
|
444
|
+
g(e.$slots, "tagRender", Q(Y(o)), () => [
|
|
445
|
+
x(r(ye), {
|
|
446
|
+
closable: o.closable,
|
|
447
|
+
style: { "margin-right": "3px", "background-color": "transparent" },
|
|
448
|
+
onClose: (m) => pl(o)
|
|
449
|
+
}, {
|
|
450
|
+
default: p(() => [
|
|
451
|
+
h("span", {
|
|
452
|
+
class: "tag-span",
|
|
453
|
+
style: Z(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
|
|
454
|
+
}, W(ul(ne(o.value) ?? o.label ?? String(o.value))), 5)
|
|
455
|
+
]),
|
|
456
|
+
_: 2
|
|
457
|
+
}, 1032, ["closable", "onClose"])
|
|
458
|
+
], !0)
|
|
459
|
+
]),
|
|
460
|
+
dropdownRender: p(({ menuNode: o }) => [
|
|
461
|
+
g(e.$slots, "dropdownRender", Q(Y({ menuNode: o })), () => {
|
|
462
|
+
var m;
|
|
463
|
+
return [
|
|
464
|
+
Se.value === "combobox" ? (v(), y("div", ql, [
|
|
465
|
+
x(a, { vnodes: o }, null, 8, ["vnodes"])
|
|
466
|
+
])) : Se.value === "custom" ? (v(), y("div", {
|
|
467
|
+
key: 1,
|
|
468
|
+
onClick: t[2] || (t[2] = J(() => {
|
|
469
|
+
}, ["stop"]))
|
|
470
|
+
}, [
|
|
471
|
+
x(a, { vnodes: o }, null, 8, ["vnodes"]),
|
|
472
|
+
h("div", {
|
|
473
|
+
class: "customDropdown",
|
|
474
|
+
onMousedown: t[1] || (t[1] = (c) => c.preventDefault())
|
|
475
|
+
}, [
|
|
476
|
+
x(r(Al), ge({
|
|
477
|
+
ref_key: "testInput",
|
|
478
|
+
ref: He,
|
|
479
|
+
modelValue: D.value,
|
|
480
|
+
"onUpdate:modelValue": t[0] || (t[0] = (c) => D.value = c),
|
|
481
|
+
onKeyup: Tl(Ie, ["enter"]),
|
|
482
|
+
onFocus: J(Ze, ["stop"]),
|
|
483
|
+
onBlur: J(Ke, ["stop"]),
|
|
484
|
+
width: "100%",
|
|
485
|
+
borderType: "bordered"
|
|
486
|
+
}, l.inputAttrs), null, 16, ["modelValue"]),
|
|
487
|
+
h("div", {
|
|
488
|
+
class: "addBtn",
|
|
489
|
+
onClick: Ie
|
|
490
|
+
}, W(r(P)("添加")), 1)
|
|
491
|
+
], 32)
|
|
492
|
+
])) : (v(), y("div", Hl, [
|
|
493
|
+
x(a, { vnodes: o }, null, 8, ["vnodes"]),
|
|
494
|
+
(m = l.options) != null && m.length && l.showSelectAll ? (v(), y("div", {
|
|
419
495
|
key: 0,
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
be,
|
|
423
|
-
{ key: 1 },
|
|
424
|
-
[
|
|
425
|
-
I(' :option="{value, label, [disabled, key, title]}" '),
|
|
426
|
-
i.mode === "combobox" ? he((p(), g("div", Wl, [
|
|
427
|
-
ye(
|
|
428
|
-
P(o[L.value]),
|
|
429
|
-
1
|
|
430
|
-
/* TEXT */
|
|
431
|
-
)
|
|
432
|
-
])), [
|
|
433
|
-
[r(Oe)]
|
|
434
|
-
]) : (p(), g(
|
|
435
|
-
be,
|
|
436
|
-
{ key: 1 },
|
|
437
|
-
[
|
|
438
|
-
I(` <das-tooltip v-if="mode === 'combobox'" placement="right-start" :text="option[labelKeyName]"></das-tooltip> `),
|
|
439
|
-
b("div", Pl, [
|
|
440
|
-
(p(), q(r($e), {
|
|
441
|
-
class: "das-select-checkbox",
|
|
442
|
-
modelValue: (h = r(n)) == null ? void 0 : h.includes(o[k.value]),
|
|
443
|
-
key: o[k.value],
|
|
444
|
-
disabled: o.disabled
|
|
445
|
-
}, null, 8, ["modelValue", "disabled"])),
|
|
446
|
-
he((p(), g("div", Rl, [
|
|
447
|
-
ye(
|
|
448
|
-
P(o[L.value]),
|
|
449
|
-
1
|
|
450
|
-
/* TEXT */
|
|
451
|
-
)
|
|
452
|
-
])), [
|
|
453
|
-
[r(Oe)]
|
|
454
|
-
])
|
|
455
|
-
])
|
|
456
|
-
],
|
|
457
|
-
2112
|
|
458
|
-
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
459
|
-
))
|
|
460
|
-
],
|
|
461
|
-
64
|
|
462
|
-
/* STABLE_FRAGMENT */
|
|
463
|
-
))
|
|
464
|
-
];
|
|
465
|
-
}, !0)
|
|
466
|
-
]),
|
|
467
|
-
tagRender: m((o) => [
|
|
468
|
-
x(e.$slots, "tagRender", Q(Y(o)), () => [
|
|
469
|
-
T(r(ge), {
|
|
470
|
-
closable: o.closable,
|
|
471
|
-
style: { "margin-right": "3px", "background-color": "transparent" },
|
|
472
|
-
onClose: (h) => pl(o)
|
|
473
|
-
}, {
|
|
474
|
-
default: m(() => [
|
|
475
|
-
b(
|
|
476
|
-
"span",
|
|
477
|
-
{
|
|
478
|
-
class: "tag-span",
|
|
479
|
-
style: K(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
|
|
480
|
-
},
|
|
481
|
-
P(ul(ne(o.value) ?? o.label ?? String(o.value))),
|
|
482
|
-
5
|
|
483
|
-
/* TEXT, STYLE */
|
|
484
|
-
)
|
|
485
|
-
]),
|
|
486
|
-
_: 2
|
|
487
|
-
/* DYNAMIC */
|
|
488
|
-
}, 1032, ["closable", "onClose"])
|
|
489
|
-
], !0)
|
|
490
|
-
]),
|
|
491
|
-
dropdownRender: m(({ menuNode: o }) => [
|
|
492
|
-
x(e.$slots, "dropdownRender", Q(Y({ menuNode: o })), () => {
|
|
493
|
-
var h;
|
|
494
|
-
return [
|
|
495
|
-
Ie.value === "combobox" ? (p(), g("div", ql, [
|
|
496
|
-
T(a, { vnodes: o }, null, 8, ["vnodes"])
|
|
497
|
-
])) : Ie.value === "custom" ? (p(), g("div", {
|
|
498
|
-
key: 1,
|
|
499
|
-
onClick: t[2] || (t[2] = J(() => {
|
|
500
|
-
}, ["stop"]))
|
|
496
|
+
class: "das-ui-select-dropdown-checkall",
|
|
497
|
+
onMousedown: t[3] || (t[3] = (c) => c.preventDefault())
|
|
501
498
|
}, [
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
},
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
ref_key: "testInput",
|
|
512
|
-
ref: He,
|
|
513
|
-
modelValue: E.value,
|
|
514
|
-
"onUpdate:modelValue": t[0] || (t[0] = (f) => E.value = f),
|
|
515
|
-
onKeyup: Tl(Ae, ["enter"]),
|
|
516
|
-
onFocus: J(Ze, ["stop"]),
|
|
517
|
-
onBlur: J(Ke, ["stop"]),
|
|
518
|
-
width: "100%",
|
|
519
|
-
borderType: "bordered"
|
|
520
|
-
}, l.inputAttrs), null, 16, ["modelValue"]),
|
|
521
|
-
b(
|
|
522
|
-
"div",
|
|
523
|
-
{
|
|
524
|
-
class: "addBtn",
|
|
525
|
-
onClick: Ae
|
|
526
|
-
},
|
|
527
|
-
P(r(R)("添加")),
|
|
528
|
-
1
|
|
529
|
-
/* TEXT */
|
|
530
|
-
)
|
|
531
|
-
],
|
|
532
|
-
32
|
|
533
|
-
/* NEED_HYDRATION */
|
|
534
|
-
)
|
|
535
|
-
])) : (p(), g("div", Hl, [
|
|
536
|
-
T(a, { vnodes: o }, null, 8, ["vnodes"]),
|
|
537
|
-
(h = l.options) != null && h.length && l.showSelectAll ? (p(), g(
|
|
538
|
-
"div",
|
|
539
|
-
{
|
|
540
|
-
key: 0,
|
|
541
|
-
class: "das-ui-select-dropdown-checkall",
|
|
542
|
-
onMousedown: t[3] || (t[3] = (f) => f.preventDefault())
|
|
543
|
-
},
|
|
544
|
-
[
|
|
545
|
-
b("div", Zl, [
|
|
546
|
-
T(r($e), {
|
|
547
|
-
modelValue: Ye.value,
|
|
548
|
-
indeterminate: el.value,
|
|
549
|
-
onChange: dl,
|
|
550
|
-
style: { display: "flex" }
|
|
551
|
-
}, {
|
|
552
|
-
default: m(() => [
|
|
553
|
-
ye(
|
|
554
|
-
P(r(R)("全选")),
|
|
555
|
-
1
|
|
556
|
-
/* TEXT */
|
|
557
|
-
)
|
|
558
|
-
]),
|
|
559
|
-
_: 1
|
|
560
|
-
/* STABLE */
|
|
561
|
-
}, 8, ["modelValue", "indeterminate"])
|
|
499
|
+
h("div", Zl, [
|
|
500
|
+
x(r(Fe), {
|
|
501
|
+
modelValue: Ye.value,
|
|
502
|
+
indeterminate: el.value,
|
|
503
|
+
onChange: dl,
|
|
504
|
+
style: { display: "flex" }
|
|
505
|
+
}, {
|
|
506
|
+
default: p(() => [
|
|
507
|
+
be(W(r(P)("全选")), 1)
|
|
562
508
|
]),
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
509
|
+
_: 1
|
|
510
|
+
}, 8, ["modelValue", "indeterminate"])
|
|
511
|
+
]),
|
|
512
|
+
h("span", {
|
|
513
|
+
class: "das-ui-dropdown-has-checked",
|
|
514
|
+
innerHTML: r(P)("das-ui-select-selectedItemsCountWithPlaceholder", ee.value)
|
|
515
|
+
}, null, 8, Kl)
|
|
516
|
+
], 32)) : K("", !0)
|
|
517
|
+
]))
|
|
518
|
+
];
|
|
519
|
+
}, !0)
|
|
520
|
+
]),
|
|
521
|
+
clearIcon: p(() => [
|
|
522
|
+
g(e.$slots, "clearIcon", {}, () => [
|
|
523
|
+
x(r(Ml), { size: "medium" })
|
|
524
|
+
], !0)
|
|
525
|
+
]),
|
|
526
|
+
maxTagPlaceholder: p((o) => [
|
|
527
|
+
g(e.$slots, "maxTagPlaceholder", Q(Y(o)), () => [
|
|
528
|
+
x(r(ye), {
|
|
529
|
+
style: Z(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
|
|
530
|
+
}, {
|
|
531
|
+
default: p(() => [
|
|
532
|
+
h("span", {
|
|
533
|
+
innerHTML: r(P)("das-ui-select-selectedItemsCountWithPlaceholder", ee.value)
|
|
534
|
+
}, null, 8, Ul)
|
|
535
|
+
]),
|
|
536
|
+
_: 1
|
|
537
|
+
}, 8, ["style"])
|
|
538
|
+
], !0)
|
|
539
|
+
]),
|
|
540
|
+
notFoundContent: p(() => [
|
|
541
|
+
g(e.$slots, "notFoundContent", {}, () => [
|
|
542
|
+
t[5] || (t[5] = h("div", { class: "hasNoData" }, "暂无数据", -1))
|
|
543
|
+
], !0)
|
|
544
|
+
]),
|
|
545
|
+
suffixIcon: p(() => [
|
|
546
|
+
g(e.$slots, "suffixIcon", {}, () => [
|
|
547
|
+
x(r(Ll), {
|
|
548
|
+
class: "das-suffix-icon",
|
|
549
|
+
size: "medium"
|
|
550
|
+
})
|
|
551
|
+
], !0)
|
|
552
|
+
]),
|
|
553
|
+
default: p(() => [
|
|
554
|
+
g(e.$slots, "default", {}, void 0, !0)
|
|
555
|
+
]),
|
|
556
|
+
_: 2
|
|
557
|
+
}, [
|
|
558
|
+
e.$slots.menuItemSelectedIcon ? {
|
|
559
|
+
name: "menuItemSelectedIcon",
|
|
560
|
+
fn: p(() => [
|
|
561
|
+
g(e.$slots, "menuItemSelectedIcon", {}, void 0, !0)
|
|
562
|
+
]),
|
|
563
|
+
key: "0"
|
|
564
|
+
} : void 0,
|
|
565
|
+
e.$slots.placeholder ? {
|
|
566
|
+
name: "placeholder",
|
|
567
|
+
fn: p(() => [
|
|
568
|
+
g(e.$slots, "placeholder", {}, void 0, !0)
|
|
574
569
|
]),
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
570
|
+
key: "1"
|
|
571
|
+
} : void 0,
|
|
572
|
+
e.$slots.removeIcon ? {
|
|
573
|
+
name: "removeIcon",
|
|
574
|
+
fn: p(() => [
|
|
575
|
+
g(e.$slots, "removeIcon", {}, void 0, !0)
|
|
579
576
|
]),
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
577
|
+
key: "2"
|
|
578
|
+
} : void 0
|
|
579
|
+
]), 1040, ["mode", "value", "options", "fieldNames", "bordered", "disabled", "open", "placeholder", "optionFilterProp", "size", "style", "dropdownClassName", "maxTagCount", "dropdownStyle"])), [
|
|
580
|
+
[r(Sl), { target: cl, x: !1 }],
|
|
581
|
+
[r(_l), sl]
|
|
582
|
+
]),
|
|
583
|
+
e.error && e.errorLabel ? (v(), y(Be, { key: 1 }, [
|
|
584
|
+
e.errorMode === "default" ? (v(), y("div", jl, [
|
|
585
|
+
h("span", {
|
|
586
|
+
style: Z(ol.value)
|
|
587
|
+
}, W(e.errorLabel), 5)
|
|
588
|
+
])) : K("", !0),
|
|
589
|
+
e.errorMode === "overlay" && de.value ? (v(), R(r(Vl), {
|
|
590
|
+
key: 1,
|
|
591
|
+
errorLabel: e.errorLabel,
|
|
592
|
+
getEl: () => C.value.$el,
|
|
593
|
+
errorModelZIndex: e.errorModelZIndex
|
|
594
|
+
}, null, 8, ["errorLabel", "getEl", "errorModelZIndex"])) : K("", !0)
|
|
595
|
+
], 64)) : K("", !0),
|
|
596
|
+
h("div", {
|
|
597
|
+
class: "ant-select-selection-overflow",
|
|
598
|
+
ref_key: "virtualTotalCount",
|
|
599
|
+
ref: ke,
|
|
600
|
+
style: { position: "absolute", left: "-50%", top: "-50%", opacity: "0", "pointer-events": "none" }
|
|
601
|
+
}, [
|
|
602
|
+
h("div", Gl, [
|
|
603
|
+
h("div", Xl, [
|
|
604
|
+
h("span", Jl, [
|
|
605
|
+
x(r(ye), {
|
|
606
|
+
style: Z(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
|
|
585
607
|
}, {
|
|
586
|
-
default:
|
|
587
|
-
|
|
588
|
-
innerHTML: r(
|
|
589
|
-
}, null, 8,
|
|
608
|
+
default: p(() => [
|
|
609
|
+
h("span", {
|
|
610
|
+
innerHTML: r(P)("das-ui-select-selectedItemsCountWithPlaceholder", ee.value)
|
|
611
|
+
}, null, 8, Ql)
|
|
590
612
|
]),
|
|
591
613
|
_: 1
|
|
592
|
-
|
|
593
|
-
}, 8, ["style"]),
|
|
594
|
-
I(" <a-tag>+{{ currValue?.length - maxTagCountCell }}</a-tag> ")
|
|
595
|
-
], !0)
|
|
596
|
-
]),
|
|
597
|
-
notFoundContent: m(() => [
|
|
598
|
-
x(e.$slots, "notFoundContent", {}, () => [
|
|
599
|
-
t[5] || (t[5] = b(
|
|
600
|
-
"div",
|
|
601
|
-
{ class: "hasNoData" },
|
|
602
|
-
"暂无数据",
|
|
603
|
-
-1
|
|
604
|
-
/* CACHED */
|
|
605
|
-
))
|
|
606
|
-
], !0)
|
|
607
|
-
]),
|
|
608
|
-
suffixIcon: m(() => [
|
|
609
|
-
x(e.$slots, "suffixIcon", {}, () => [
|
|
610
|
-
T(r(Ll), {
|
|
611
|
-
class: "das-suffix-icon",
|
|
612
|
-
size: "medium"
|
|
613
|
-
})
|
|
614
|
-
], !0)
|
|
615
|
-
]),
|
|
616
|
-
default: m(() => [
|
|
617
|
-
x(e.$slots, "default", {}, void 0, !0)
|
|
618
|
-
]),
|
|
619
|
-
_: 2
|
|
620
|
-
/* DYNAMIC */
|
|
621
|
-
}, [
|
|
622
|
-
e.$slots.menuItemSelectedIcon ? {
|
|
623
|
-
name: "menuItemSelectedIcon",
|
|
624
|
-
fn: m(() => [
|
|
625
|
-
x(e.$slots, "menuItemSelectedIcon", {}, void 0, !0)
|
|
626
|
-
]),
|
|
627
|
-
key: "0"
|
|
628
|
-
} : void 0,
|
|
629
|
-
e.$slots.placeholder ? {
|
|
630
|
-
name: "placeholder",
|
|
631
|
-
fn: m(() => [
|
|
632
|
-
x(e.$slots, "placeholder", {}, void 0, !0)
|
|
633
|
-
]),
|
|
634
|
-
key: "1"
|
|
635
|
-
} : void 0,
|
|
636
|
-
e.$slots.removeIcon ? {
|
|
637
|
-
name: "removeIcon",
|
|
638
|
-
fn: m(() => [
|
|
639
|
-
x(e.$slots, "removeIcon", {}, void 0, !0)
|
|
640
|
-
]),
|
|
641
|
-
key: "2"
|
|
642
|
-
} : void 0
|
|
643
|
-
]), 1040, ["mode", "value", "options", "fieldNames", "bordered", "disabled", "open", "placeholder", "optionFilterProp", "size", "style", "dropdownClassName", "maxTagCount", "dropdownStyle"])), [
|
|
644
|
-
[r(Sl), { target: cl, x: !1 }],
|
|
645
|
-
[r(zl), sl]
|
|
646
|
-
]),
|
|
647
|
-
i.error && i.errorLabel ? (p(), g(
|
|
648
|
-
be,
|
|
649
|
-
{ key: 1 },
|
|
650
|
-
[
|
|
651
|
-
i.errorMode === "default" ? (p(), g("div", jl, [
|
|
652
|
-
b(
|
|
653
|
-
"span",
|
|
654
|
-
{
|
|
655
|
-
style: K(ol.value)
|
|
656
|
-
},
|
|
657
|
-
P(i.errorLabel),
|
|
658
|
-
5
|
|
659
|
-
/* TEXT, STYLE */
|
|
660
|
-
)
|
|
661
|
-
])) : I("v-if", !0),
|
|
662
|
-
i.errorMode === "overlay" && de.value ? (p(), q(r(Ml), {
|
|
663
|
-
key: 1,
|
|
664
|
-
errorLabel: i.errorLabel,
|
|
665
|
-
getEl: () => w.value.$el,
|
|
666
|
-
errorModelZIndex: i.errorModelZIndex
|
|
667
|
-
}, null, 8, ["errorLabel", "getEl", "errorModelZIndex"])) : I("v-if", !0)
|
|
668
|
-
],
|
|
669
|
-
64
|
|
670
|
-
/* STABLE_FRAGMENT */
|
|
671
|
-
)) : I("v-if", !0),
|
|
672
|
-
b(
|
|
673
|
-
"div",
|
|
674
|
-
{
|
|
675
|
-
class: "ant-select-selection-overflow",
|
|
676
|
-
ref_key: "virtualTotalCount",
|
|
677
|
-
ref: Se,
|
|
678
|
-
style: { position: "absolute", left: "-50%", top: "-50%", opacity: "0", "pointer-events": "none" }
|
|
679
|
-
},
|
|
680
|
-
[
|
|
681
|
-
b("div", Gl, [
|
|
682
|
-
b("div", Xl, [
|
|
683
|
-
b("span", Jl, [
|
|
684
|
-
T(r(ge), {
|
|
685
|
-
style: K(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
|
|
686
|
-
}, {
|
|
687
|
-
default: m(() => [
|
|
688
|
-
b("span", {
|
|
689
|
-
innerHTML: r(R)("das-ui-select-selectedItemsCountWithPlaceholder", ee.value)
|
|
690
|
-
}, null, 8, Ql)
|
|
691
|
-
]),
|
|
692
|
-
_: 1
|
|
693
|
-
/* STABLE */
|
|
694
|
-
}, 8, ["style"])
|
|
695
|
-
])
|
|
696
|
-
])
|
|
614
|
+
}, 8, ["style"])
|
|
697
615
|
])
|
|
698
|
-
]
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
],
|
|
703
|
-
6
|
|
704
|
-
/* CLASS, STYLE */
|
|
705
|
-
);
|
|
616
|
+
])
|
|
617
|
+
])
|
|
618
|
+
], 512)
|
|
619
|
+
], 6);
|
|
706
620
|
};
|
|
707
621
|
}
|
|
708
|
-
}), We = (
|
|
709
|
-
const
|
|
710
|
-
for (const [l,
|
|
711
|
-
|
|
712
|
-
return
|
|
622
|
+
}), We = (S, z) => {
|
|
623
|
+
const N = S.__vccOpts || S;
|
|
624
|
+
for (const [l, w] of z)
|
|
625
|
+
N[l] = w;
|
|
626
|
+
return N;
|
|
713
627
|
}, lt = /* @__PURE__ */ We(et, [["__scopeId", "data-v-2f230833"]]), tt = {};
|
|
714
|
-
function ot(
|
|
715
|
-
const
|
|
716
|
-
return
|
|
717
|
-
F,
|
|
718
|
-
xe({ class: "das-ui-select-option" }, i.$attrs),
|
|
719
|
-
null,
|
|
720
|
-
16
|
|
721
|
-
/* FULL_PROPS */
|
|
722
|
-
);
|
|
628
|
+
function ot(S, z) {
|
|
629
|
+
const N = El;
|
|
630
|
+
return v(), R(N, ge({ class: "das-ui-select-option" }, S.$attrs), null, 16);
|
|
723
631
|
}
|
|
724
632
|
const at = /* @__PURE__ */ We(tt, [["render", ot]]), nt = {
|
|
725
633
|
"--das-ui-select-color-bg": "#FFFFFF",
|
|
726
634
|
// 默认背景色
|
|
727
|
-
"--das-ui-select-color-primary":
|
|
635
|
+
"--das-ui-select-color-primary": Oe("--das-ui-color-primary"),
|
|
728
636
|
// 主题色
|
|
729
637
|
"--das-ui-select-color-text": "#212121",
|
|
730
638
|
// 主文本色
|
|
731
639
|
"--das-ui-select-color-border": "#d9d9d9",
|
|
732
640
|
// 边框基础色
|
|
733
|
-
"--das-ui-select-color-underline":
|
|
641
|
+
"--das-ui-select-color-underline": Oe("--das-ui-color-help"),
|
|
734
642
|
// 下划线基础色
|
|
735
643
|
"--das-ui-select-color-error": "#FB2323",
|
|
736
644
|
// 错误边框色
|
|
@@ -779,11 +687,11 @@ const at = /* @__PURE__ */ We(tt, [["render", ot]]), nt = {
|
|
|
779
687
|
_appCode: "framework"
|
|
780
688
|
}
|
|
781
689
|
};
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
const Lt = De(lt),
|
|
690
|
+
Fl(st);
|
|
691
|
+
Nl(nt);
|
|
692
|
+
const Lt = De(lt), Mt = De(at), Vt = { name: "select 选择器" };
|
|
785
693
|
export {
|
|
786
694
|
Lt as DasSelect,
|
|
787
|
-
|
|
788
|
-
|
|
695
|
+
Mt as DasSelectOption,
|
|
696
|
+
Vt as default
|
|
789
697
|
};
|