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