@das-fed/upf-ui 6.4.0-dev.295 → 6.4.0-dev.297
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/package.json +7 -7
- package/packages/business-components/ai-panel/{index-Cc1_Wpca.js → index-BaZABHG3.js} +1581 -2051
- package/packages/business-components/ai-panel/index-BaZABHG3.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-DIVPm-P9.js +144 -0
- package/packages/business-components/ai-panel/index-DIVPm-P9.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 +101 -150
- 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 +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 +5 -5
- 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 +28 -28
- 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 +12680 -17398
- 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 +2089 -2102
- 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 +110 -117
- 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 +203 -237
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/layout-breadcrumb/index.js +42 -42
- package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/index.d.ts +43 -43
- 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/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 +166 -256
- package/packages/business-components/payment/index.js.gz +0 -0
- package/packages/business-components/process-configuration/index.js +217 -302
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +1273 -1442
- 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 +388 -571
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-log/style.css +1 -1
- package/packages/business-components/process-log/style.css.gz +0 -0
- package/packages/business-components/process-search-form/hooks/useSearchOptions.d.ts +4 -4
- package/packages/business-components/process-search-form/index.js +1 -1
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/index.d.ts +14 -14
- package/packages/business-components/process-table/index.js +424 -485
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/upload-file/index.js +57 -63
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/upload-file/style.css +1 -1
- package/packages/business-components/urgent-panel/index.js +1243 -1713
- 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 +273 -341
- 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 +50 -57
- 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 +169 -196
- 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 +244 -269
- 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 +55 -81
- package/packages/components/breadcrumb/index.js.gz +0 -0
- package/packages/components/button/index.d.ts +3 -3
- package/packages/components/button/index.js +307 -380
- 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 +253 -339
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/index.d.ts +8 -8
- package/packages/components/cascader/index.js +139 -174
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/cascader/style.css +1 -1
- package/packages/components/cascader/style.css.gz +0 -0
- package/packages/components/checkbox/index.d.ts +12 -12
- package/packages/components/checkbox/index.js +241 -354
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/checkbox/style.css +1 -1
- package/packages/components/checkbox/style.css.gz +0 -0
- package/packages/components/collapse-panel/index.js +19 -26
- package/packages/components/collapse-panel/index.js.gz +0 -0
- package/packages/components/collapse-transition/index.js +6 -13
- package/packages/components/collapse-transition/index.js.gz +0 -0
- package/packages/components/collaspe/index.d.ts +4 -4
- package/packages/components/collaspe/index.js +22 -23
- package/packages/components/collaspe/index.js.gz +0 -0
- package/packages/components/color-picker/index.d.ts +5 -5
- package/packages/components/color-picker/index.js +66 -89
- 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 +885 -1115
- 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 +150 -200
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dialog/src/Index.vue.d.ts +1 -1
- package/packages/components/dialog/style.css +1 -1
- package/packages/components/dialog/style.css.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 +46 -61
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/edit-table/index.d.ts +4 -4
- package/packages/components/edit-table/index.js +1092 -1324
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/empty/index.d.ts +3 -3
- package/packages/components/empty/index.js +33 -61
- 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 +35 -47
- 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 +29 -35
- 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 +903 -1062
- 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 +108 -142
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-viewer/index.js +612 -705
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/input/index.js +912 -998
- package/packages/components/input/index.js.gz +0 -0
- 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 +120 -157
- 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 +133 -153
- 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 +12 -18
- 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 +642 -867
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/menu-header/index.js +21 -39
- package/packages/components/menu-header/index.js.gz +0 -0
- package/packages/components/pagination/index.js +116 -154
- 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 +48 -61
- package/packages/components/popup-mask/index.js.gz +0 -0
- package/packages/components/preview/index.js +1 -6
- package/packages/components/preview/index.js.gz +0 -0
- package/packages/components/progress/index.js +117 -204
- package/packages/components/progress/index.js.gz +0 -0
- package/packages/components/progress/style.css +1 -1
- package/packages/components/progress/style.css.gz +0 -0
- package/packages/components/radio/index.d.ts +10 -10
- package/packages/components/radio/index.js +239 -376
- package/packages/components/radio/index.js.gz +0 -0
- package/packages/components/radio-tabs/index.js +52 -86
- package/packages/components/radio-tabs/index.js.gz +0 -0
- package/packages/components/rich-editor/index.js +269 -275
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/scrollbar/index.js +2 -3
- package/packages/components/scrollbar/index.js.gz +0 -0
- package/packages/components/search/index.d.ts +1 -1
- package/packages/components/search/index.js +102 -111
- 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 +984 -1153
- 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 +402 -496
- 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 +77 -78
- 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 +541 -598
- 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 +194 -289
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/style.css +1 -1
- package/packages/components/special-range-picker-month/style.css.gz +0 -0
- package/packages/components/special-range-picker-year/index.js +256 -389
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/style.css +1 -1
- package/packages/components/special-range-picker-year/style.css.gz +0 -0
- package/packages/components/spin/index.js +48 -61
- 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 +140 -198
- 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 +2933 -3458
- 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 +164 -230
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/tag/index.d.ts +3 -3
- package/packages/components/tag/index.js +11 -25
- package/packages/components/tag/index.js.gz +0 -0
- package/packages/components/tag/src/Index.vue.d.ts +1 -1
- package/packages/components/time-line/index.js +50 -69
- 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 +75 -126
- 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 +996 -1163
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree-select/index.js +362 -389
- 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 +295 -400
- package/packages/components/tree-table/index.js.gz +0 -0
- package/packages/components/tree-v2/index.js +2337 -2593
- package/packages/components/tree-v2/index.js.gz +0 -0
- 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 +135 -208
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/index.js +141 -195
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/packages/components/watermark/index.js +6 -13
- package/packages/icons/1-grids/index.js +0 -1
- package/packages/icons/1-grids/index.js.gz +0 -0
- package/packages/icons/4-grids/index.js +0 -1
- package/packages/icons/4-grids/index.js.gz +0 -0
- package/packages/icons/9-grids/index.js +0 -1
- package/packages/icons/9-grids/index.js.gz +0 -0
- package/packages/icons/add/index.js +0 -1
- package/packages/icons/add/index.js.gz +0 -0
- package/packages/icons/add-2/index.js +0 -1
- package/packages/icons/add-item/index.js +0 -1
- package/packages/icons/add-item/index.js.gz +0 -0
- package/packages/icons/addto/index.js +0 -1
- package/packages/icons/addto/index.js.gz +0 -0
- package/packages/icons/alarm/index.js +0 -1
- package/packages/icons/alarm/index.js.gz +0 -0
- package/packages/icons/arrow-first/index.js +0 -1
- package/packages/icons/arrow-first/index.js.gz +0 -0
- package/packages/icons/arrow-last/index.js +0 -1
- package/packages/icons/arrow-last/index.js.gz +0 -0
- package/packages/icons/audioing/index.js +0 -1
- package/packages/icons/audioing/index.js.gz +0 -0
- package/packages/icons/back/index.js +0 -1
- package/packages/icons/back/index.js.gz +0 -0
- package/packages/icons/bianjigongzuotai/index.js +0 -1
- package/packages/icons/bianjigongzuotai/index.js.gz +0 -0
- package/packages/icons/biaochi/index.js +0 -1
- package/packages/icons/biaochi/index.js.gz +0 -0
- package/packages/icons/bim/index.js +0 -1
- package/packages/icons/bim/index.js.gz +0 -0
- package/packages/icons/bobaoguanbi/index.js +0 -1
- package/packages/icons/bobaoguanbi/index.js.gz +0 -0
- package/packages/icons/bobaokaiqi/index.js +0 -1
- package/packages/icons/bobaokaiqi/index.js.gz +0 -0
- package/packages/icons/bold/index.js +0 -1
- package/packages/icons/bold/index.js.gz +0 -0
- package/packages/icons/camera/index.js +0 -1
- package/packages/icons/camera/index.js.gz +0 -0
- package/packages/icons/camera-2/index.js +0 -1
- package/packages/icons/camera-2/index.js.gz +0 -0
- package/packages/icons/camera-3/index.js +0 -1
- package/packages/icons/camera-3/index.js.gz +0 -0
- package/packages/icons/cancel-full-screen/index.js +0 -1
- package/packages/icons/cancel-full-screen/index.js.gz +0 -0
- package/packages/icons/cankaoneirong/index.js +0 -1
- package/packages/icons/cankaoneirong/index.js.gz +0 -0
- package/packages/icons/card/index.js +0 -1
- package/packages/icons/card/index.js.gz +0 -0
- package/packages/icons/card-view/index.js +0 -1
- package/packages/icons/card-view/index.js.gz +0 -0
- package/packages/icons/caret-bottom/index.js +0 -1
- package/packages/icons/caret-bottom/index.js.gz +0 -0
- package/packages/icons/caret-right/index.js +0 -1
- package/packages/icons/chakancelve/index.js +0 -1
- package/packages/icons/chakancelve/index.js.gz +0 -0
- package/packages/icons/change/index.js +0 -1
- package/packages/icons/change/index.js.gz +0 -0
- package/packages/icons/change-2/index.js +0 -1
- package/packages/icons/change-2/index.js.gz +0 -0
- package/packages/icons/change-3/index.js +0 -1
- package/packages/icons/change-3/index.js.gz +0 -0
- package/packages/icons/changetenant/index.js +0 -1
- package/packages/icons/changetenant/index.js.gz +0 -0
- package/packages/icons/chart/index.js +0 -1
- package/packages/icons/chart/index.js.gz +0 -0
- package/packages/icons/chaxunxiangqing/index.js +0 -1
- package/packages/icons/chaxunxiangqing/index.js.gz +0 -0
- package/packages/icons/check/index.js +0 -1
- package/packages/icons/check/index.js.gz +0 -0
- package/packages/icons/chuanglianjiang/index.js +0 -1
- package/packages/icons/chuanglianjiang/index.js.gz +0 -0
- package/packages/icons/chuangliansheng/index.js +0 -1
- package/packages/icons/chuangliansheng/index.js.gz +0 -0
- package/packages/icons/chuanglianting/index.js +0 -1
- package/packages/icons/chuanglianting/index.js.gz +0 -0
- package/packages/icons/chuizhiduiqi/index.js +0 -1
- package/packages/icons/chuizhiduiqi/index.js.gz +0 -0
- package/packages/icons/chuizhijunfen/index.js +0 -1
- package/packages/icons/chuizhijunfen/index.js.gz +0 -0
- package/packages/icons/close/index.js +0 -1
- package/packages/icons/close/index.js.gz +0 -0
- package/packages/icons/close-2/index.js +0 -1
- package/packages/icons/close-2/index.js.gz +0 -0
- package/packages/icons/closeaudio/index.js +0 -1
- package/packages/icons/closeaudio/index.js.gz +0 -0
- package/packages/icons/color/index.js +0 -1
- package/packages/icons/color/index.js.gz +0 -0
- package/packages/icons/copy/index.js +0 -1
- package/packages/icons/copy/index.js.gz +0 -0
- package/packages/icons/custom/index.js +0 -1
- package/packages/icons/custom/index.js.gz +0 -0
- package/packages/icons/daochu/index.js +0 -1
- package/packages/icons/daochu/index.js.gz +0 -0
- package/packages/icons/date/index.js +0 -1
- package/packages/icons/date/index.js.gz +0 -0
- package/packages/icons/decline/index.js +0 -1
- package/packages/icons/decline/index.js.gz +0 -0
- package/packages/icons/default-btn/index.js +0 -1
- package/packages/icons/default-btn/index.js.gz +0 -0
- package/packages/icons/default-point/index.js +0 -1
- package/packages/icons/default-point/index.js.gz +0 -0
- package/packages/icons/delete/index.js +0 -1
- package/packages/icons/delete/index.js.gz +0 -0
- package/packages/icons/delete-2/index.js +0 -1
- package/packages/icons/delete-2/index.js.gz +0 -0
- package/packages/icons/dengbijiesuo/index.js +0 -1
- package/packages/icons/dengbisuoding/index.js +0 -1
- package/packages/icons/dengdai/index.js +0 -1
- package/packages/icons/dengdai/index.js.gz +0 -0
- package/packages/icons/dianzan/index.js +0 -1
- package/packages/icons/dianzan/index.js.gz +0 -0
- package/packages/icons/dianzan-2/index.js +0 -1
- package/packages/icons/dianzan-2/index.js.gz +0 -0
- package/packages/icons/direction-control/index.js +0 -1
- package/packages/icons/direction-control/index.js.gz +0 -0
- package/packages/icons/ditu/index.js +0 -1
- package/packages/icons/ditu/index.js.gz +0 -0
- package/packages/icons/dizhixuanze/index.js +0 -1
- package/packages/icons/dizhixuanze/index.js.gz +0 -0
- package/packages/icons/double-arrow-left/index.js +0 -1
- package/packages/icons/double-arrow-left/index.js.gz +0 -0
- package/packages/icons/double-arrow-right/index.js +0 -1
- package/packages/icons/double-arrow-right/index.js.gz +0 -0
- package/packages/icons/down/index.js +0 -1
- package/packages/icons/down/index.js.gz +0 -0
- package/packages/icons/down-2/index.js +0 -1
- package/packages/icons/down-3/index.js +0 -1
- package/packages/icons/download/index.js +0 -1
- package/packages/icons/download/index.js.gz +0 -0
- package/packages/icons/drag/index.js +0 -1
- package/packages/icons/drag/index.js.gz +0 -0
- package/packages/icons/drawing/index.js +0 -1
- package/packages/icons/drawing/index.js.gz +0 -0
- package/packages/icons/edit/index.js +0 -1
- package/packages/icons/edit/index.js.gz +0 -0
- package/packages/icons/edit-1/index.js +0 -1
- package/packages/icons/edit-1/index.js.gz +0 -0
- package/packages/icons/edit-3/index.js +0 -1
- package/packages/icons/edit-3/index.js.gz +0 -0
- package/packages/icons/empty/index.js +0 -1
- package/packages/icons/empty/index.js.gz +0 -0
- package/packages/icons/enlarge/index.js +0 -1
- package/packages/icons/enlarge/index.js.gz +0 -0
- package/packages/icons/entry/index.js +0 -1
- package/packages/icons/entry/index.js.gz +0 -0
- package/packages/icons/exit/index.js +0 -1
- package/packages/icons/exit/index.js.gz +0 -0
- package/packages/icons/fabu/index.js +0 -1
- package/packages/icons/fabu/index.js.gz +0 -0
- package/packages/icons/fanhui/index.js +0 -1
- package/packages/icons/fanhui/index.js.gz +0 -0
- package/packages/icons/fasong/index.js +0 -1
- package/packages/icons/fasong/index.js.gz +0 -0
- package/packages/icons/filter-3/index.js +0 -1
- package/packages/icons/filter-3/index.js.gz +0 -0
- package/packages/icons/finish/index.js +0 -1
- package/packages/icons/finish/index.js.gz +0 -0
- package/packages/icons/fold/index.js +0 -1
- package/packages/icons/fold/index.js.gz +0 -0
- package/packages/icons/folder-quest/index.js +0 -1
- package/packages/icons/folder-quest/index.js.gz +0 -0
- package/packages/icons/form-tips/index.js +0 -1
- package/packages/icons/form-tips/index.js.gz +0 -0
- package/packages/icons/fresh/index.js +0 -1
- package/packages/icons/fresh/index.js.gz +0 -0
- package/packages/icons/full/index.js +0 -1
- package/packages/icons/full/index.js.gz +0 -0
- package/packages/icons/full-screen/index.js +0 -1
- package/packages/icons/full-screen/index.js.gz +0 -0
- package/packages/icons/fullscreen-2/index.js +0 -1
- package/packages/icons/fullscreen-2/index.js.gz +0 -0
- package/packages/icons/fuzhi/index.js +0 -1
- package/packages/icons/fuzhi/index.js.gz +0 -0
- package/packages/icons/fuzhineirong/index.js +0 -1
- package/packages/icons/fuzhineirong/index.js.gz +0 -0
- package/packages/icons/gaojin/index.js +0 -1
- package/packages/icons/gaojin/index.js.gz +0 -0
- package/packages/icons/gengduocaozuo/index.js +0 -1
- package/packages/icons/global/index.js +0 -1
- package/packages/icons/global/index.js.gz +0 -0
- package/packages/icons/gongzuotaiguanli/index.js +0 -1
- package/packages/icons/gongzuotaiguanli/index.js.gz +0 -0
- package/packages/icons/header-seach/index.js +0 -1
- package/packages/icons/header-seach/index.js.gz +0 -0
- package/packages/icons/header-setting/index.js +0 -1
- package/packages/icons/header-setting/index.js.gz +0 -0
- package/packages/icons/headersettings/index.js +0 -1
- package/packages/icons/headersettings/index.js.gz +0 -0
- package/packages/icons/hide/index.js +0 -1
- package/packages/icons/hide/index.js.gz +0 -0
- package/packages/icons/huabufuwei/index.js +0 -1
- package/packages/icons/huabufuwei/index.js.gz +0 -0
- package/packages/icons/huaxian/index.js +0 -1
- package/packages/icons/huaxian/index.js.gz +0 -0
- package/packages/icons/huida/index.js +0 -1
- package/packages/icons/huida/index.js.gz +0 -0
- package/packages/icons/huidaodibu/index.js +0 -1
- package/packages/icons/huidaodibu/index.js.gz +0 -0
- package/packages/icons/huifuchuchangshezhi/index.js +0 -1
- package/packages/icons/huifuchuchangshezhi/index.js.gz +0 -0
- package/packages/icons/hyperlinks/index.js +0 -1
- package/packages/icons/hyperlinks/index.js.gz +0 -0
- package/packages/icons/img/index.js +0 -1
- package/packages/icons/img/index.js.gz +0 -0
- package/packages/icons/input-close/index.js +0 -1
- package/packages/icons/input-close/index.js.gz +0 -0
- package/packages/icons/input-select/index.js +0 -1
- package/packages/icons/input-select/index.js.gz +0 -0
- package/packages/icons/intnet/index.js +0 -1
- package/packages/icons/intnet/index.js.gz +0 -0
- package/packages/icons/italic/index.js +0 -1
- package/packages/icons/italic/index.js.gz +0 -0
- package/packages/icons/jia-1/index.js +0 -1
- package/packages/icons/jia-1/index.js.gz +0 -0
- package/packages/icons/jian-1/index.js +0 -1
- package/packages/icons/jianshao-1/index.js +0 -1
- package/packages/icons/jinggao/index.js +0 -1
- package/packages/icons/jinggao/index.js.gz +0 -0
- package/packages/icons/jushangduiqi/index.js +0 -1
- package/packages/icons/jushangduiqi/index.js.gz +0 -0
- package/packages/icons/juxiaduiqi/index.js +0 -1
- package/packages/icons/juxiaduiqi/index.js.gz +0 -0
- package/packages/icons/juxinghuizhi/index.js +0 -1
- package/packages/icons/juxinghuizhi/index.js.gz +0 -0
- package/packages/icons/juyouduiqi/index.js +0 -1
- package/packages/icons/juyouduiqi/index.js.gz +0 -0
- package/packages/icons/juzuoduiqi/index.js +0 -1
- package/packages/icons/juzuoduiqi/index.js.gz +0 -0
- package/packages/icons/kaiguan/index.js +0 -1
- package/packages/icons/kaiguan/index.js.gz +0 -0
- package/packages/icons/kaimen/index.js +0 -1
- package/packages/icons/kaimen/index.js.gz +0 -0
- package/packages/icons/know/index.js +0 -1
- package/packages/icons/know/index.js.gz +0 -0
- package/packages/icons/knowed/index.js +0 -1
- package/packages/icons/knowed/index.js.gz +0 -0
- package/packages/icons/knowopen/index.js +0 -1
- package/packages/icons/knowopen/index.js.gz +0 -0
- package/packages/icons/layout-refresh/index.js +0 -1
- package/packages/icons/layout-refresh/index.js.gz +0 -0
- package/packages/icons/left/index.js +0 -1
- package/packages/icons/lianjie/index.js +0 -1
- package/packages/icons/lianjie/index.js.gz +0 -0
- package/packages/icons/link/index.js +0 -1
- package/packages/icons/link/index.js.gz +0 -0
- package/packages/icons/lishihuihua/index.js +0 -1
- package/packages/icons/lishihuihua/index.js.gz +0 -0
- package/packages/icons/list/index.js +0 -1
- package/packages/icons/list/index.js.gz +0 -0
- package/packages/icons/list-view/index.js +0 -1
- package/packages/icons/list-view/index.js.gz +0 -0
- package/packages/icons/load/index.js +0 -1
- package/packages/icons/load/index.js.gz +0 -0
- package/packages/icons/lock/index.js +0 -1
- package/packages/icons/lock/index.js.gz +0 -0
- package/packages/icons/marsh/index.js +0 -1
- package/packages/icons/me/index.js +0 -1
- package/packages/icons/me/index.js.gz +0 -0
- package/packages/icons/more/index.js +0 -1
- package/packages/icons/more/index.js.gz +0 -0
- package/packages/icons/more-2/index.js +0 -1
- package/packages/icons/more-btn/index.js +0 -1
- package/packages/icons/more-btn/index.js.gz +0 -0
- package/packages/icons/muted/index.js +0 -1
- package/packages/icons/muted/index.js.gz +0 -0
- package/packages/icons/notification-face/index.js +0 -1
- package/packages/icons/notification-face/index.js.gz +0 -0
- package/packages/icons/paiban/index.js +0 -1
- package/packages/icons/paiban/index.js.gz +0 -0
- package/packages/icons/password-lock/index.js +0 -1
- package/packages/icons/password-lock/index.js.gz +0 -0
- package/packages/icons/password-lock2/index.js +0 -1
- package/packages/icons/password-lock2/index.js.gz +0 -0
- package/packages/icons/pause/index.js +0 -1
- package/packages/icons/pause/index.js.gz +0 -0
- package/packages/icons/phone/index.js +0 -1
- package/packages/icons/phone/index.js.gz +0 -0
- package/packages/icons/pinglun/index.js +0 -1
- package/packages/icons/pinglun/index.js.gz +0 -0
- package/packages/icons/plan/index.js +0 -1
- package/packages/icons/plan/index.js.gz +0 -0
- package/packages/icons/play/index.js +0 -1
- package/packages/icons/play/index.js.gz +0 -0
- package/packages/icons/preview/index.js +0 -1
- package/packages/icons/preview/index.js.gz +0 -0
- package/packages/icons/preview-eye/index.js +0 -1
- package/packages/icons/preview-eye/index.js.gz +0 -0
- package/packages/icons/project-list/index.js +0 -1
- package/packages/icons/project-list/index.js.gz +0 -0
- package/packages/icons/project-tree/index.js +0 -1
- package/packages/icons/project-tree/index.js.gz +0 -0
- package/packages/icons/promptinformation-l/index.js +0 -1
- package/packages/icons/promptinformation-l/index.js.gz +0 -0
- package/packages/icons/qiehuangongzuotai/index.js +0 -1
- package/packages/icons/qiehuangongzuotai/index.js.gz +0 -0
- package/packages/icons/qingkong/index.js +0 -1
- package/packages/icons/qingkong/index.js.gz +0 -0
- package/packages/icons/quanping/index.js +0 -1
- package/packages/icons/quanping/index.js.gz +0 -0
- package/packages/icons/rate-all/index.js +0 -1
- package/packages/icons/rate-all/index.js.gz +0 -0
- package/packages/icons/rate-half/index.js +0 -1
- package/packages/icons/rate-half/index.js.gz +0 -0
- package/packages/icons/rate-none/index.js +0 -1
- package/packages/icons/rate-none/index.js.gz +0 -0
- package/packages/icons/recover/index.js +0 -1
- package/packages/icons/recover/index.js.gz +0 -0
- package/packages/icons/refresh/index.js +0 -1
- package/packages/icons/refresh/index.js.gz +0 -0
- package/packages/icons/reload/index.js +0 -1
- package/packages/icons/reload/index.js.gz +0 -0
- package/packages/icons/reset/index.js +0 -1
- package/packages/icons/reset/index.js.gz +0 -0
- package/packages/icons/right/index.js +0 -1
- package/packages/icons/right-3/index.js +0 -1
- package/packages/icons/right-3/index.js.gz +0 -0
- package/packages/icons/riqixuanze/index.js +0 -1
- package/packages/icons/riqixuanze/index.js.gz +0 -0
- package/packages/icons/rise/index.js +0 -1
- package/packages/icons/rise/index.js.gz +0 -0
- package/packages/icons/save/index.js +0 -1
- package/packages/icons/save/index.js.gz +0 -0
- package/packages/icons/screenshot/index.js +0 -1
- package/packages/icons/screenshot/index.js.gz +0 -0
- package/packages/icons/search/index.js +0 -1
- package/packages/icons/search/index.js.gz +0 -0
- package/packages/icons/select/index.js +0 -1
- package/packages/icons/select-confirm/index.js +0 -1
- package/packages/icons/select-confirm/index.js.gz +0 -0
- package/packages/icons/select2/index.js +0 -1
- package/packages/icons/set-up/index.js +0 -1
- package/packages/icons/set-up/index.js.gz +0 -0
- package/packages/icons/setting/index.js +0 -1
- package/packages/icons/setting/index.js.gz +0 -0
- package/packages/icons/shangchuan/index.js +0 -1
- package/packages/icons/shangchuan/index.js.gz +0 -0
- package/packages/icons/shebei/index.js +0 -1
- package/packages/icons/shebei/index.js.gz +0 -0
- package/packages/icons/shebeiqunzu/index.js +0 -1
- package/packages/icons/shebeiqunzu/index.js.gz +0 -0
- package/packages/icons/shendusikao/index.js +0 -1
- package/packages/icons/shendusikao/index.js.gz +0 -0
- package/packages/icons/sheweimoren/index.js +0 -1
- package/packages/icons/sheweimoren/index.js.gz +0 -0
- package/packages/icons/shisuan/index.js +0 -1
- package/packages/icons/shisuan/index.js.gz +0 -0
- package/packages/icons/shitu-kapian/index.js +0 -1
- package/packages/icons/shitu-kapian/index.js.gz +0 -0
- package/packages/icons/shitu-liebiao/index.js +0 -1
- package/packages/icons/shitu-map/index.js +0 -1
- package/packages/icons/shitu-map/index.js.gz +0 -0
- package/packages/icons/shortcut-keys/index.js +0 -1
- package/packages/icons/shortcut-keys/index.js.gz +0 -0
- package/packages/icons/shoudongzhihang/index.js +0 -1
- package/packages/icons/shoudongzhihang/index.js.gz +0 -0
- package/packages/icons/shouqiliangcemianban/index.js +0 -1
- package/packages/icons/shouqiyoucemianban/index.js +0 -1
- package/packages/icons/shouqiyoucemianban-1/index.js +0 -1
- package/packages/icons/shouqiyoucemianban-1/index.js.gz +0 -0
- package/packages/icons/shouqizuocemianban/index.js +0 -1
- package/packages/icons/shouqizuocemianban-1/index.js +0 -1
- package/packages/icons/shouqizuocemianban-1/index.js.gz +0 -0
- package/packages/icons/shouquan/index.js +0 -1
- package/packages/icons/shouquan/index.js.gz +0 -0
- package/packages/icons/show/index.js +0 -1
- package/packages/icons/show/index.js.gz +0 -0
- package/packages/icons/shrink/index.js +0 -1
- package/packages/icons/shrink/index.js.gz +0 -0
- package/packages/icons/shuaxin/index.js +0 -1
- package/packages/icons/shuaxin/index.js.gz +0 -0
- package/packages/icons/shuipingduiqi/index.js +0 -1
- package/packages/icons/shuipingduiqi/index.js.gz +0 -0
- package/packages/icons/shuipingjunfen/index.js +0 -1
- package/packages/icons/shuipingjunfen/index.js.gz +0 -0
- package/packages/icons/shuyoufanye/index.js +0 -1
- package/packages/icons/shuyoufanye/index.js.gz +0 -0
- package/packages/icons/shuzuofanye/index.js +0 -1
- package/packages/icons/shuzuofanye/index.js.gz +0 -0
- package/packages/icons/solid-filter/index.js +0 -1
- package/packages/icons/solid-filter/index.js.gz +0 -0
- package/packages/icons/start/index.js +0 -1
- package/packages/icons/start/index.js.gz +0 -0
- package/packages/icons/stop/index.js +0 -1
- package/packages/icons/stop/index.js.gz +0 -0
- package/packages/icons/structural-diagram/index.js +0 -1
- package/packages/icons/structural-diagram/index.js.gz +0 -0
- package/packages/icons/success/index.js +0 -1
- package/packages/icons/system/index.js +0 -1
- package/packages/icons/system/index.js.gz +0 -0
- package/packages/icons/table-header-search/index.js +0 -1
- package/packages/icons/table-header-search/index.js.gz +0 -0
- package/packages/icons/text/index.js +0 -1
- package/packages/icons/text/index.js.gz +0 -0
- package/packages/icons/theme-set-icon/index.js +0 -1
- package/packages/icons/theme-set-icon/index.js.gz +0 -0
- package/packages/icons/tianjiaxinhuati/index.js +0 -1
- package/packages/icons/tianjiaxinhuati/index.js.gz +0 -0
- package/packages/icons/tick/index.js +0 -1
- package/packages/icons/tick/index.js.gz +0 -0
- package/packages/icons/tishixinxi/index.js +0 -1
- package/packages/icons/tishixinxi/index.js.gz +0 -0
- package/packages/icons/tongguo/index.js +0 -1
- package/packages/icons/tongguo/index.js.gz +0 -0
- package/packages/icons/tongzhi/index.js +0 -1
- package/packages/icons/tongzhi/index.js.gz +0 -0
- package/packages/icons/tubiaoku/index.js +0 -1
- package/packages/icons/tubiaoku/index.js.gz +0 -0
- package/packages/icons/tuichuquanping/index.js +0 -1
- package/packages/icons/tuichuquanping/index.js.gz +0 -0
- package/packages/icons/tuozhuai/index.js +0 -1
- package/packages/icons/tuozhuai/index.js.gz +0 -0
- package/packages/icons/underline/index.js +0 -1
- package/packages/icons/underline/index.js.gz +0 -0
- package/packages/icons/unflod/index.js +0 -1
- package/packages/icons/unflod/index.js.gz +0 -0
- package/packages/icons/unlock/index.js +0 -1
- package/packages/icons/unlock/index.js.gz +0 -0
- package/packages/icons/up/index.js +0 -1
- package/packages/icons/up/index.js.gz +0 -0
- package/packages/icons/up-2/index.js +0 -1
- package/packages/icons/up-2/index.js.gz +0 -0
- package/packages/icons/vauth/index.js +0 -1
- package/packages/icons/vauth/index.js.gz +0 -0
- package/packages/icons/view/index.js +0 -1
- package/packages/icons/view/index.js.gz +0 -0
- package/packages/icons/view-2/index.js +0 -1
- package/packages/icons/view-2/index.js.gz +0 -0
- package/packages/icons/volume/index.js +0 -1
- package/packages/icons/volume/index.js.gz +0 -0
- package/packages/icons/wangge/index.js +0 -1
- package/packages/icons/wangge/index.js.gz +0 -0
- package/packages/icons/wangge-1/index.js +0 -1
- package/packages/icons/wangge-1/index.js.gz +0 -0
- package/packages/icons/warning/index.js +0 -1
- package/packages/icons/warning/index.js.gz +0 -0
- package/packages/icons/warning-face/index.js +0 -1
- package/packages/icons/warning-face/index.js.gz +0 -0
- package/packages/icons/wendujiang/index.js +0 -1
- package/packages/icons/wendujiang/index.js.gz +0 -0
- package/packages/icons/wendusheng/index.js +0 -1
- package/packages/icons/wendusheng/index.js.gz +0 -0
- package/packages/icons/withdraw/index.js +0 -1
- package/packages/icons/withdraw/index.js.gz +0 -0
- package/packages/icons/xiala/index.js +0 -1
- package/packages/icons/xiazai/index.js +0 -1
- package/packages/icons/xiazai/index.js.gz +0 -0
- package/packages/icons/xinzengtongji/index.js +0 -1
- package/packages/icons/xinzengtongji/index.js.gz +0 -0
- package/packages/icons/xuanzhuanjiaodu/index.js +0 -1
- package/packages/icons/xuanzhuanjiaodu/index.js.gz +0 -0
- package/packages/icons/yidongduan/index.js +0 -1
- package/packages/icons/yidongduan/index.js.gz +0 -0
- package/packages/icons/yincang/index.js +0 -1
- package/packages/icons/yincang/index.js.gz +0 -0
- package/packages/icons/yingpian/index.js +0 -1
- package/packages/icons/yingpian/index.js.gz +0 -0
- package/packages/icons/yingyong/index.js +0 -1
- package/packages/icons/yingyong/index.js.gz +0 -0
- package/packages/icons/yitushoutu/index.js +0 -1
- package/packages/icons/yitushoutu/index.js.gz +0 -0
- package/packages/icons/yuanxinghuizhi/index.js +0 -1
- package/packages/icons/yuanxinghuizhi/index.js.gz +0 -0
- package/packages/icons/yulan-2/index.js +0 -1
- package/packages/icons/yulan-2/index.js.gz +0 -0
- package/packages/icons/yuyin/index.js +0 -1
- package/packages/icons/yuyin/index.js.gz +0 -0
- package/packages/icons/zhangaiwu/index.js +0 -1
- package/packages/icons/zhangaiwu/index.js.gz +0 -0
- package/packages/icons/zhizhen/index.js +0 -1
- package/packages/icons/zhizhen/index.js.gz +0 -0
- package/packages/icons/zhongxinshengcheng/index.js +0 -1
- package/packages/icons/zhongxinshengcheng/index.js.gz +0 -0
- package/packages/icons/zhuomianduan/index.js +0 -1
- package/packages/icons/zhuomianduan/index.js.gz +0 -0
- package/packages/icons/zidingyihuizhi/index.js +0 -1
- package/packages/icons/zidingyihuizhi/index.js.gz +0 -0
- package/packages/icons/zuobiao/index.js +0 -1
- package/packages/icons/zuobiao/index.js.gz +0 -0
- package/release-meta.json +4 -4
- package/packages/business-components/ai-panel/index-BdLFU3HT.js +0 -182
- package/packages/business-components/ai-panel/index-BdLFU3HT.js.gz +0 -0
- package/packages/business-components/ai-panel/index-Cc1_Wpca.js.gz +0 -0
- package/packages/business-components/ai-panel/index-DCyDBdoc.js.gz +0 -0
- package/packages/components/input/src/index.vue.d.ts +0 -1435
- package/packages/components/loading/src/loading.d.ts +0 -26
- package/packages/components/tree-v2/src/App.vue.d.ts +0 -4086
- package/packages/components/virtual-tree/src/App.vue.d.ts +0 -3977
- package/packages/components/virtual-tree/src/type.d.ts +0 -43
- 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,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 U, useSlots as ot, onMounted as Ae, onUnmounted as Je, watchEffect as Qe, nextTick as T, resolveComponent as nt, openBlock as f, createElementBlock as g, normalizeClass as at, normalizeStyle as j, withModifiers as ue, createBlock as Z, unref as d, createCommentVNode as X, withDirectives as Te, mergeProps as Ve, createSlots as rt, withCtx as h, renderSlot as C, normalizeProps as ie, guardReactiveProps as de, Fragment as Ye, createTextVNode as ke, toDisplayString as q, createVNode as k, createElementVNode as y, withKeys as st } from "vue";
|
|
3
|
+
import { Select as ut, Tag as Ie } 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 dt } 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 ct } 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 V, 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" } }, _t = ["innerHTML"], Lt = ["innerHTML"], Mt = {
|
|
23
23
|
key: 0,
|
|
24
24
|
class: "das-select-error-label-content das-select-label-content"
|
|
25
|
-
},
|
|
25
|
+
}, Ot = { class: "ant-select ant-select-multiple ant-select-selection-overflow-item ant-select-selection-overflow-item-rest" }, zt = { class: "ant-select-selection-item" }, Pt = { class: "ant-select-selection-item-content" }, Nt = ["innerHTML"], Et = ol({
|
|
26
26
|
inheritAttrs: !1,
|
|
27
27
|
components: {
|
|
28
|
-
VNodes: (
|
|
28
|
+
VNodes: (_, { attrs: N }) => N.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(_, { expose: N, emit: E }) {
|
|
76
76
|
lt((e) => ({
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
"1cfb2fe5": Il.value,
|
|
78
|
+
"689bd2e8": Vl.value
|
|
79
79
|
}));
|
|
80
|
-
const t =
|
|
80
|
+
const t = _, w = E, 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 V("das-ui-select-selectedItemsCountWithPlaceholder", e);
|
|
91
|
+
}), D = i(null), _e = i(null), b = i(!1), Y = s(() => t.isView ? t.noSetDefaultVal ? "" : "-" : t.placeholder || V("请选择")), ce = s(() => D.value ? D.value.querySelector(".ant-select-selector") : null), B = i(0), $ = i(0), sl = s(() => ce.value ? t.isTooltip && L.value ? !1 : !t.isTooltip || z.value || !Ue.value || !be.value : !0), ul = s(() => (Array.isArray(a.value) ? a.value.length : a.value) ? Ue.value : Y.value), Le = () => {
|
|
92
92
|
const e = t.size === "table" ? 12 : 14;
|
|
93
93
|
return St(Y.value, e);
|
|
94
|
-
},
|
|
95
|
-
var
|
|
96
|
-
const e = (
|
|
94
|
+
}, Me = () => {
|
|
95
|
+
var A, G, p;
|
|
96
|
+
const e = (A = D.value) == null ? void 0 : A.querySelector(".ant-select-selection-placeholder"), l = (p = (G = x.value) == null ? void 0 : G.$el) == null ? void 0 : p.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
|
+
}, L = i(!1);
|
|
103
|
+
U(() => [Y.value, a.value], () => {
|
|
104
|
+
T(() => {
|
|
105
|
+
$.value = Me(), B.value = Le(), ((Array.isArray(a.value) ? a.value.length : a.value) || $.value === B.value || B.value - $.value < 1) && (L.value = !1);
|
|
106
106
|
});
|
|
107
|
-
}),
|
|
107
|
+
}), U(
|
|
108
108
|
() => {
|
|
109
109
|
var e;
|
|
110
|
-
return (e =
|
|
110
|
+
return (e = _e.value) == null ? void 0 : e.$tooltipRef.popperRef.contentRef;
|
|
111
111
|
},
|
|
112
112
|
(e) => {
|
|
113
113
|
e && (e.addEventListener("mouseenter", function() {
|
|
114
|
-
|
|
114
|
+
L.value = !0, H.value && clearTimeout(H.value);
|
|
115
115
|
}), e.addEventListener("mouseleave", function() {
|
|
116
|
-
|
|
117
|
-
|
|
116
|
+
H.value = setTimeout(() => {
|
|
117
|
+
L.value = !1;
|
|
118
118
|
}, 200);
|
|
119
119
|
}));
|
|
120
120
|
}
|
|
121
121
|
);
|
|
122
|
-
const
|
|
123
|
-
|
|
124
|
-
},
|
|
125
|
-
|
|
126
|
-
},
|
|
127
|
-
|
|
128
|
-
|
|
122
|
+
const Oe = i(null), ze = s(() => t.dropdownMode ?? t.mode ?? ""), W = i(null), il = i(null), R = i(""), dl = () => {
|
|
123
|
+
W.value = !0;
|
|
124
|
+
}, cl = () => {
|
|
125
|
+
W.value = null;
|
|
126
|
+
}, Pe = () => {
|
|
127
|
+
R.value && (w("addCustomItem", R.value), T(() => {
|
|
128
|
+
x.value.focus(), R.value = "";
|
|
129
129
|
}));
|
|
130
|
-
},
|
|
131
|
-
t.dropdownMode === "custom" && !
|
|
132
|
-
|
|
130
|
+
}, Ne = ot(), fe = () => {
|
|
131
|
+
t.dropdownMode === "custom" && !Ne.dropdownRender && (W.value = !1, T(() => {
|
|
132
|
+
W.value = null;
|
|
133
133
|
}));
|
|
134
134
|
};
|
|
135
135
|
Ae(() => {
|
|
136
136
|
document.addEventListener("click", fe);
|
|
137
|
-
}),
|
|
137
|
+
}), Je(() => {
|
|
138
138
|
document.removeEventListener("click", fe);
|
|
139
139
|
});
|
|
140
|
-
const
|
|
140
|
+
const x = i(), F = i(""), ee = i(0), Ee = `__DAS_SELECT_COLLAPSED_${Math.random().toString(36).slice(2)}__`, I = s(() => {
|
|
141
141
|
var e;
|
|
142
142
|
return t.fieldNames && t.fieldNames.label ? (e = t.fieldNames) == null ? void 0 : e.label : "label";
|
|
143
|
-
}),
|
|
143
|
+
}), m = 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), De = {
|
|
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 De ? e : "middle", hl = s(() => pl(t.size)), Be = s(() => De[hl.value]), ml = s(() => t.height ?? vl[Be.value]), $e = s(() => {
|
|
158
158
|
const e = Number(t.optionPageSize);
|
|
159
159
|
return Number.isFinite(e) && e > 0 ? Math.floor(e) : 80;
|
|
160
|
-
}),
|
|
160
|
+
}), We = (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) && We(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[m.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
|
+
We(e, (l) => {
|
|
175
|
+
l && l[m.value] != null && l[I.value] != null && ve.value.set(l[m.value], l[I.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[I.value] != null) return l[I.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
|
+
[m.value]: o,
|
|
190
|
+
[I.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)), Re = (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
|
+
}, Fe = (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 = je.value, r = (l == null ? void 0 : l[u]) ?? (l == null ? void 0 : l[I.value]) ?? (l == null ? void 0 : l[m.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
|
+
}), He = s(() => {
|
|
215
215
|
const e = he.value ?? [];
|
|
216
|
-
return !te.value || !
|
|
217
|
-
}),
|
|
218
|
-
t.optionPagingDebug &&
|
|
216
|
+
return !te.value || !F.value ? e : e.filter((l) => Fe(F.value, l));
|
|
217
|
+
}), M = (e) => {
|
|
218
|
+
t.optionPagingDebug && T(() => {
|
|
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] : []), qe = 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
|
+
}), S = s(() => t.mode !== "combobox" && oe.value.length > Sl.value), Cl = s(() => S.value ? [Ee] : a.value), Ze = s(() => Array.isArray(t.options) ? t.options.filter((e) => !(e != null && e.disabled)) : []), ne = s(() => Ze.value.map((e) => e == null ? void 0 : e[m.value])), me = s(() => ne.value.reduce((e, l) => qe.value.has(l) ? e + 1 : e, 0)), wl = (e, l) => {
|
|
224
|
+
if (F.value || S.value || !oe.value.length) return e;
|
|
225
|
+
const n = new Set(e.map((u) => u == null ? void 0 : u[m.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 = He.value.slice(0, ee.value);
|
|
234
234
|
return wl(e, he.value ?? []);
|
|
235
|
-
}),
|
|
236
|
-
ee.value =
|
|
235
|
+
}), Ke = () => {
|
|
236
|
+
ee.value = $e.value, M();
|
|
237
237
|
}, Al = () => {
|
|
238
238
|
te.value && (ee.value = Math.min(
|
|
239
|
-
ee.value +
|
|
240
|
-
|
|
241
|
-
),
|
|
239
|
+
ee.value + $e.value,
|
|
240
|
+
He.value.length
|
|
241
|
+
), M());
|
|
242
242
|
};
|
|
243
|
-
|
|
244
|
-
() => [t.options, t.optionPaging, t.optionPageSize,
|
|
245
|
-
|
|
243
|
+
U(
|
|
244
|
+
() => [t.options, t.optionPaging, t.optionPageSize, F.value, I.value, m.value],
|
|
245
|
+
Ke,
|
|
246
246
|
{ immediate: !0 }
|
|
247
247
|
);
|
|
248
248
|
const ge = i(!1), ye = s(() => {
|
|
249
|
-
if (
|
|
249
|
+
if (W.value !== null) return W.value;
|
|
250
250
|
if (t.open !== void 0) return t.open;
|
|
251
|
-
}),
|
|
252
|
-
|
|
251
|
+
}), O = 1e6, c = i(100), v = i(100), Tl = s(() => S.value ? 0 : c.value), z = i(!1), be = i(!0), Se = i(!1);
|
|
252
|
+
Qe(() => {
|
|
253
253
|
a.value && t.mode == "combobox" && (be.value = !0, setTimeout(() => {
|
|
254
254
|
var l;
|
|
255
|
-
let e = (l =
|
|
255
|
+
let e = (l = x.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
|
+
c.value = 100, await P(), c.value = v.value, b.value = !0;
|
|
266
266
|
}, 100);
|
|
267
267
|
};
|
|
268
|
-
|
|
268
|
+
Qe(() => {
|
|
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, c.value = v.value, b.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"), Ge = i(3e3), _l = s(() => ({
|
|
274
|
+
"z-index": Ge.value
|
|
275
|
+
})), Ue = s(() => {
|
|
276
|
+
if (S.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
|
+
}), Ll = s(() => t.mode === "combobox" ? !1 : ne.value.length > 0 && me.value === ne.value.length), Ml = s(() => t.mode === "combobox" ? !1 : me.value > 0 && me.value < ne.value.length), je = 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
|
+
}), Ol = 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), zl = i({
|
|
296
296
|
display: "block",
|
|
297
297
|
color: "var(--upf-color-error)",
|
|
298
298
|
"white-space": "break-spaces"
|
|
299
|
-
}),
|
|
299
|
+
}), H = i(), Pl = () => {
|
|
300
300
|
var n;
|
|
301
|
-
|
|
302
|
-
let e = (n =
|
|
303
|
-
!!(Array.isArray(a.value) ? a.value.length : e != null && e.length) ||
|
|
301
|
+
$.value = Me(), B.value = Le();
|
|
302
|
+
let e = (n = x.value) == null ? void 0 : n.$el.querySelectorAll(".ant-select-selection-item");
|
|
303
|
+
!!(Array.isArray(a.value) ? a.value.length : e != null && e.length) || $.value === B.value || B.value - $.value < 1 ? L.value = !1 : (L.value = !0, H.value && clearTimeout(H.value)), Ce.value = !0;
|
|
304
304
|
}, Nl = () => {
|
|
305
|
-
|
|
306
|
-
|
|
305
|
+
H.value = setTimeout(() => {
|
|
306
|
+
L.value = !1;
|
|
307
307
|
}, 200), Ce.value = !1;
|
|
308
308
|
}, El = (e, l) => {
|
|
309
|
-
e ?
|
|
309
|
+
e ? Pl() : Nl();
|
|
310
310
|
}, Dl = (e) => {
|
|
311
|
-
e ? (
|
|
311
|
+
e ? (Ge.value = yt().nextZIndex(), R.value = "", Ke(), M()) : (F.value = "", M()), ae.value = e, t.mode == "combobox" && (e || setTimeout(() => {
|
|
312
312
|
var l, n;
|
|
313
|
-
(n = (l =
|
|
314
|
-
})),
|
|
313
|
+
(n = (l = x.value) == null ? void 0 : l.blur) == null || n.call(l);
|
|
314
|
+
})), w("dropdownVisibleChange", e);
|
|
315
315
|
}, Bl = (e) => {
|
|
316
|
-
|
|
316
|
+
F.value = e ?? "", M(), Re("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 (Re("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 ? D.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
|
+
Ze.value.forEach((u) => {
|
|
329
|
+
const r = u[m.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[m.value])), o = new Set(l.filter((r) => r == null ? void 0 : r.disabled).map((r) => r == null ? void 0 : r[m.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
|
+
S.value && (e.preventDefault(), e.stopPropagation());
|
|
341
341
|
}, Ul = (e, l) => {
|
|
342
|
-
if (!
|
|
342
|
+
if (!S.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[m.value];
|
|
345
345
|
if (n === void 0) return;
|
|
346
346
|
const o = Kl(n);
|
|
347
347
|
a.value = o, se(o, e, "inner");
|
|
@@ -350,484 +350,390 @@ 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
|
+
w("focus", e);
|
|
354
354
|
return;
|
|
355
355
|
}
|
|
356
|
-
ge.value = !0, t.focusOpen && !t.isExterControlCount && (
|
|
356
|
+
ge.value = !0, t.focusOpen && !t.isExterControlCount && (c.value = O, b.value = !1), w("focus", e);
|
|
357
357
|
}, ae = i(!1), Jl = () => {
|
|
358
358
|
ae.value || setTimeout(() => {
|
|
359
359
|
var e, l;
|
|
360
|
-
(l = (e =
|
|
360
|
+
(l = (e = x.value) == null ? void 0 : e.blur) == null || l.call(e);
|
|
361
361
|
}), t.mode != "combobox";
|
|
362
|
-
},
|
|
363
|
-
if (
|
|
362
|
+
}, Xe = (e) => {
|
|
363
|
+
if (T(() => {
|
|
364
364
|
ae.value = !1;
|
|
365
365
|
}), t.mode == "combobox") {
|
|
366
|
-
|
|
366
|
+
w("blur", e);
|
|
367
367
|
return;
|
|
368
368
|
}
|
|
369
|
-
ge.value = !1, t.focusOpen && !t.isExterControlCount && (
|
|
369
|
+
ge.value = !1, t.focusOpen && !t.isExterControlCount && (P(), c.value = v.value, b.value = !0), w("blur", e);
|
|
370
370
|
}, Ql = (e) => {
|
|
371
|
-
e.onClose(),
|
|
372
|
-
t.mode !== "combobox" && ye.value || t.focusOpen && (
|
|
371
|
+
e.onClose(), c.value = 100, T(() => {
|
|
372
|
+
t.mode !== "combobox" && ye.value || t.focusOpen && (P(), c.value = v.value, b.value = !0);
|
|
373
373
|
});
|
|
374
374
|
};
|
|
375
|
-
|
|
375
|
+
U(
|
|
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
|
+
Xe(l);
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
384
|
);
|
|
385
|
-
let
|
|
385
|
+
let K = i(!1);
|
|
386
386
|
const Yl = (e) => {
|
|
387
|
-
|
|
388
|
-
|
|
387
|
+
K.value = e, z.value = !0, T(() => {
|
|
388
|
+
z.value = !1, t.focusOpen && (P(), c.value = e ? O : v.value, b.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 && c.value === 0 && (c.value = 100, T(() => {
|
|
395
|
+
P(), c.value = v.value, b.value = !0;
|
|
396
396
|
}));
|
|
397
|
-
}), re.observe(
|
|
398
|
-
}),
|
|
397
|
+
}), re.observe(D.value);
|
|
398
|
+
}), Je(() => {
|
|
399
399
|
re && re.disconnect();
|
|
400
400
|
});
|
|
401
|
-
const
|
|
402
|
-
var
|
|
403
|
-
if (
|
|
401
|
+
const P = () => {
|
|
402
|
+
var G;
|
|
403
|
+
if (S.value) {
|
|
404
404
|
v.value = 0;
|
|
405
405
|
return;
|
|
406
406
|
}
|
|
407
|
-
let e = (
|
|
407
|
+
let e = (G = x.value) == null ? void 0 : G.$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(Oe.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
|
+
c.value = O;
|
|
417
|
+
let A = 0;
|
|
418
|
+
for (let p = 0; p < r.length - 1 && (r[p].classList.remove("ellipsis"), !r[p].classList.contains("ant-select-selection-overflow-item-rest")); p++)
|
|
419
|
+
if (A += Math.ceil(r[p].offsetWidth), A <= n - u)
|
|
420
|
+
p >= a.value.length - 1 && A < n ? v.value = a.value.length : v.value = p + 1;
|
|
421
421
|
else {
|
|
422
|
-
|
|
422
|
+
p >= a.value.length - 1 && A < n ? v.value = a.value.length : v.value = p;
|
|
423
423
|
break;
|
|
424
424
|
}
|
|
425
425
|
if (v.value === 0) {
|
|
426
|
-
let
|
|
427
|
-
|
|
426
|
+
let p = r[0], xe = p.querySelector(".anticon-close") ? 86 : 69;
|
|
427
|
+
p && !p.classList.contains("ant-select-selection-overflow-item-rest") && xe <= n - u && !Ne.tagRender && (v.value = 1, p.classList.add("ellipsis"));
|
|
428
428
|
}
|
|
429
429
|
}, we = i(!1);
|
|
430
|
-
|
|
430
|
+
U(
|
|
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 || (z.value = !0, c.value = O, await T(), await P(), z.value = !1, t.isExterControlCount && t.focusOpen ? (c.value = K.value ? O : v.value, b.value = !K.value) : (c.value = v.value, b.value = !0));
|
|
438
438
|
}
|
|
439
439
|
);
|
|
440
440
|
const et = (e) => {
|
|
441
|
-
if (!
|
|
441
|
+
if (!S.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 !== Ee)));
|
|
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((A) => A === 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
|
+
M();
|
|
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" && S.value && (a.value = o), z.value = !0, w("update:model-value", o), w("change", o, l), M(), c.value = O, await T(), await P(), z.value = !1, t.isExterControlCount && t.focusOpen && (c.value = K.value ? O : v.value, b.value = !K.value), t.focusOpen || (c.value = v.value);
|
|
459
459
|
};
|
|
460
|
-
return
|
|
461
|
-
$select:
|
|
460
|
+
return N({
|
|
461
|
+
$select: x,
|
|
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
|
-
|
|
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", {
|
|
465
|
+
return f(), g("div", {
|
|
466
|
+
class: at(["das-ui-select", [
|
|
467
|
+
t.borderType,
|
|
468
|
+
t.isView ? "readonly" : "",
|
|
469
|
+
t.error ? "is-error" : "",
|
|
470
|
+
b.value ? "show-ellipsis" : ""
|
|
471
|
+
]]),
|
|
472
|
+
ref_key: "$selectBox",
|
|
473
|
+
ref: D,
|
|
474
|
+
style: j(Ol.value),
|
|
475
|
+
onClick: ue(Jl, ["stop"])
|
|
476
|
+
}, [
|
|
477
|
+
ce.value ? (f(), Z(d(dt), {
|
|
478
|
+
key: 0,
|
|
479
|
+
ref_key: "inputTooltipRef",
|
|
480
|
+
ref: _e,
|
|
481
|
+
placement: "top",
|
|
482
|
+
"virtual-triggering": "",
|
|
483
|
+
"virtual-ref": ce.value,
|
|
484
|
+
disabled: sl.value,
|
|
485
|
+
content: ul.value
|
|
486
|
+
}, null, 8, ["virtual-ref", "disabled", "content"])) : X("", !0),
|
|
487
|
+
Te((f(), Z(d(ut), Ve({ mode: fl.value }, Rl.value, {
|
|
488
|
+
value: Cl.value,
|
|
489
|
+
ref_key: "$select",
|
|
490
|
+
ref: x,
|
|
491
|
+
options: xl.value,
|
|
492
|
+
fieldNames: e.fieldNames,
|
|
493
|
+
bordered: t.borderType === "bordered",
|
|
494
|
+
disabled: t.disabled || t.isView,
|
|
495
|
+
showArrow: !0,
|
|
496
|
+
open: t.noDropdown ? !1 : ye.value,
|
|
497
|
+
placeholder: Y.value,
|
|
498
|
+
showSearch: t.showSearch,
|
|
499
|
+
optionFilterProp: je.value,
|
|
500
|
+
filterOption: Fe,
|
|
501
|
+
size: Be.value,
|
|
502
|
+
style: t.size == "mini" || t.size == "table" ? { fontSize: "12px" } : {},
|
|
503
|
+
dropdownClassName: "das-ui-select-dorpdown " + e.dropdownClassName,
|
|
504
|
+
maxTagCount: Tl.value,
|
|
505
|
+
getPopupContainer: ql,
|
|
506
|
+
dropdownStyle: _l.value,
|
|
507
|
+
onDropdownVisibleChange: Dl,
|
|
508
|
+
onChange: l[4] || (l[4] = (o, u) => se(o, u, "antdv")),
|
|
509
|
+
onFocus: Xl,
|
|
510
|
+
onBlur: Xe,
|
|
511
|
+
onPopupScroll: Fl
|
|
512
|
+
}), rt({
|
|
513
|
+
option: h((o) => [
|
|
514
|
+
C(e.$slots, "option", ie(de(o)), () => [
|
|
515
|
+
o.children && typeof o.children == "function" ? (f(), Z(n, {
|
|
516
|
+
key: 0,
|
|
517
|
+
vnodes: o.children()
|
|
518
|
+
}, null, 8, ["vnodes"])) : (f(), g(Ye, { key: 1 }, [
|
|
519
|
+
e.mode === "combobox" ? Te((f(), g("div", wt, [
|
|
520
|
+
ke(q(o[I.value]), 1)
|
|
521
|
+
])), [
|
|
522
|
+
[d(ll)]
|
|
523
|
+
]) : (f(), g("div", {
|
|
524
|
+
key: 1,
|
|
525
|
+
class: "das-multiple-option-item",
|
|
526
|
+
onMousedown: Gl,
|
|
527
|
+
onClick: (u) => Ul(o, u)
|
|
528
|
+
}, [
|
|
529
|
+
(f(), Z(d(el), {
|
|
530
|
+
class: "das-select-checkbox",
|
|
531
|
+
modelValue: qe.value.has(o[m.value]),
|
|
532
|
+
key: o[m.value],
|
|
533
|
+
disabled: o.disabled
|
|
534
|
+
}, null, 8, ["modelValue", "disabled"])),
|
|
535
|
+
Te((f(), g("div", At, [
|
|
536
|
+
ke(q(o[I.value]), 1)
|
|
537
|
+
])), [
|
|
538
|
+
[d(ll)]
|
|
539
|
+
])
|
|
540
|
+
], 40, xt))
|
|
541
|
+
], 64))
|
|
542
|
+
], !0)
|
|
543
|
+
]),
|
|
544
|
+
tagRender: h((o) => [
|
|
545
|
+
C(e.$slots, "tagRender", ie(de(o)), () => [
|
|
546
|
+
k(d(Ie), {
|
|
547
|
+
closable: !S.value && o.closable,
|
|
548
|
+
style: { "margin-right": "3px", "background-color": "transparent" },
|
|
549
|
+
onClose: (u) => Ql(o)
|
|
550
|
+
}, {
|
|
551
|
+
default: h(() => [
|
|
552
|
+
S.value ? (f(), g("span", {
|
|
553
|
+
key: 0,
|
|
554
|
+
innerHTML: d(V)("das-ui-select-selectedItemsCountWithPlaceholder", Q.value)
|
|
555
|
+
}, null, 8, Tt)) : (f(), g("span", {
|
|
605
556
|
key: 1,
|
|
606
|
-
|
|
607
|
-
|
|
557
|
+
class: "tag-span",
|
|
558
|
+
style: j(t.size == "mini" || t.size == "table" ? { fontSize: "12px" } : {})
|
|
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())
|
|
608
603
|
}, [
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
},
|
|
616
|
-
|
|
617
|
-
|
|
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"])
|
|
604
|
+
y("div", Vt, [
|
|
605
|
+
k(d(el), {
|
|
606
|
+
modelValue: Ll.value,
|
|
607
|
+
indeterminate: Ml.value,
|
|
608
|
+
onChange: Zl,
|
|
609
|
+
style: { display: "flex" }
|
|
610
|
+
}, {
|
|
611
|
+
default: h(() => [
|
|
612
|
+
ke(q(d(V)("全选")), 1)
|
|
669
613
|
]),
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
614
|
+
_: 1
|
|
615
|
+
}, 8, ["modelValue", "indeterminate"])
|
|
616
|
+
]),
|
|
617
|
+
y("span", {
|
|
618
|
+
class: "das-ui-dropdown-has-checked",
|
|
619
|
+
innerHTML: d(V)("das-ui-select-selectedItemsCountWithPlaceholder", Q.value)
|
|
620
|
+
}, null, 8, _t)
|
|
621
|
+
], 32)) : X("", !0)
|
|
622
|
+
]))
|
|
623
|
+
];
|
|
624
|
+
}, !0)
|
|
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)
|
|
681
668
|
]),
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
669
|
+
key: "0"
|
|
670
|
+
} : void 0,
|
|
671
|
+
e.$slots.placeholder ? {
|
|
672
|
+
name: "placeholder",
|
|
673
|
+
fn: h(() => [
|
|
674
|
+
C(e.$slots, "placeholder", {}, void 0, !0)
|
|
686
675
|
]),
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
676
|
+
key: "1"
|
|
677
|
+
} : void 0,
|
|
678
|
+
e.$slots.removeIcon ? {
|
|
679
|
+
name: "removeIcon",
|
|
680
|
+
fn: h(() => [
|
|
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" } : {})
|
|
692
713
|
}, {
|
|
693
|
-
default:
|
|
694
|
-
|
|
695
|
-
innerHTML:
|
|
696
|
-
}, null, 8,
|
|
714
|
+
default: h(() => [
|
|
715
|
+
y("span", {
|
|
716
|
+
innerHTML: d(V)("das-ui-select-selectedItemsCountWithPlaceholder", Q.value)
|
|
717
|
+
}, null, 8, Nt)
|
|
697
718
|
]),
|
|
698
719
|
_: 1
|
|
699
|
-
|
|
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
|
-
])
|
|
720
|
+
}, 8, ["style"])
|
|
805
721
|
])
|
|
806
|
-
]
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
],
|
|
811
|
-
6
|
|
812
|
-
/* CLASS, STYLE */
|
|
813
|
-
);
|
|
722
|
+
])
|
|
723
|
+
])
|
|
724
|
+
], 512)
|
|
725
|
+
], 6);
|
|
814
726
|
};
|
|
815
727
|
}
|
|
816
|
-
}), nl = (
|
|
817
|
-
const
|
|
818
|
-
for (const [t,
|
|
819
|
-
|
|
820
|
-
return
|
|
728
|
+
}), nl = (_, N) => {
|
|
729
|
+
const E = _.__vccOpts || _;
|
|
730
|
+
for (const [t, w] of N)
|
|
731
|
+
E[t] = w;
|
|
732
|
+
return E;
|
|
821
733
|
}, Bt = /* @__PURE__ */ nl(Dt, [["__scopeId", "data-v-908229c6"]]), $t = {};
|
|
822
|
-
function Wt(
|
|
823
|
-
const
|
|
824
|
-
return f(),
|
|
825
|
-
D,
|
|
826
|
-
Le({ class: "das-ui-select-option" }, p.$attrs),
|
|
827
|
-
null,
|
|
828
|
-
16
|
|
829
|
-
/* FULL_PROPS */
|
|
830
|
-
);
|
|
734
|
+
function Wt(_, N) {
|
|
735
|
+
const E = Ct;
|
|
736
|
+
return f(), Z(E, Ve({ class: "das-ui-select-option" }, _.$attrs), null, 16);
|
|
831
737
|
}
|
|
832
738
|
const Rt = /* @__PURE__ */ nl($t, [["render", Wt]]), Ft = {
|
|
833
739
|
添加: { "zh-CN": "添加", en: "Add", "zh-MO": "添加", _appCode: "framework" },
|