@das-fed/ui 6.4.0-test.3.1 → 6.4.0-test.5.1
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 +9 -1
- package/package.json +5 -5
- package/packages/business-components/app-container/index.d.ts +1 -0
- package/packages/business-components/app-container/index.js +152 -120
- package/packages/business-components/app-container/index.js.gz +0 -0
- package/packages/business-components/app-container/src/index.vue.d.ts +1 -0
- package/packages/business-components/app-container/src/style-theme.d.ts +18 -0
- package/packages/business-components/app-container/src/type.d.ts +1 -0
- package/packages/business-components/app-container/style.css +1 -1
- package/packages/business-components/app-container/style.css.gz +0 -0
- package/packages/business-components/app-container/theme/index.d.ts +1 -0
- package/packages/business-components/change-enterprises/i18n/index.d.ts +18 -0
- package/packages/business-components/change-enterprises/index.js +65 -59
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/change-pwd/i18n/index.d.ts +86 -0
- package/packages/business-components/change-pwd/index.js +138 -113
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/currency-page/i18n/index.d.ts +23 -0
- package/packages/business-components/currency-page/index.js +42 -27
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/i18n/index.d.ts +1178 -0
- package/packages/business-components/device-panel/index.js +17132 -16862
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/operatingData/index.vue.d.ts +1 -7
- package/packages/business-components/device-panel/src/hooks/use-operating-data.d.ts +22 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/export-button/i18n/index.d.ts +58 -0
- package/packages/business-components/export-button/index.js +119 -97
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/i18n/index.d.ts +133 -0
- package/packages/business-components/import-button/index.js +335 -294
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/layout-breadcrumb/index.js +63 -61
- package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/i18n/index.d.ts +33 -0
- package/packages/business-components/model-table-dialog/index.js +561 -559
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +1 -1
- package/packages/business-components/model-table-dialog/style.css +1 -1
- package/packages/business-components/model-table-dialog/style.css.gz +0 -0
- package/packages/business-components/process-configuration/i18n/index.d.ts +152 -0
- package/packages/business-components/process-configuration/index.js +242 -200
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/api-service/formPreView.d.ts +7 -0
- package/packages/business-components/process-form/apis.d.ts +1 -0
- package/packages/business-components/process-form/i18n/index.d.ts +413 -0
- package/packages/business-components/process-form/index.js +1330 -1159
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/src/widgets/store.d.ts +1 -0
- package/packages/business-components/process-form/style.css +1 -1
- package/packages/business-components/process-log/i18n/index.d.ts +47 -1
- package/packages/business-components/process-log/index.js +301 -286
- 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/i18n/index.d.ts +48 -0
- package/packages/business-components/process-search-form/index.d.ts +2 -2
- package/packages/business-components/process-search-form/index.js +569 -535
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-search-form/src/App.vue.d.ts +2 -2
- package/packages/business-components/process-search-form/src/type.d.ts +1 -1
- package/packages/business-components/process-table/i18n/index.d.ts +43 -0
- package/packages/business-components/process-table/index.d.ts +11 -2
- package/packages/business-components/process-table/index.js +604 -587
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/process-table/src/App.vue.d.ts +31 -3
- package/packages/business-components/process-table/src/type.d.ts +2 -0
- package/packages/business-components/process-table/style.css +1 -1
- package/packages/business-components/upload-file/i18n/index.d.ts +8 -0
- package/packages/business-components/upload-file/index.js +55 -46
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/upload-file/src/type.d.ts +3 -0
- package/packages/business-components/urgent-panel/i18n/index.d.ts +523 -0
- package/packages/business-components/urgent-panel/index.d.ts +2 -2
- package/packages/business-components/urgent-panel/index.js +1494 -1353
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/style.css +1 -1
- package/packages/business-components/urgent-panel/style.css.gz +0 -0
- package/packages/business-components/user-org-dialog/i18n/index.d.ts +72 -1
- package/packages/business-components/user-org-dialog/index.js +246 -231
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/i18n/index.d.ts +103 -0
- package/packages/business-components/video-dialog/index.js +282 -259
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/autocomplete/src/index.vue.d.ts +5 -1
- package/packages/components/breadcrumb/index.d.ts +9 -3
- package/packages/components/breadcrumb/index.js +48 -45
- package/packages/components/breadcrumb/index.js.gz +0 -0
- package/packages/components/breadcrumb/src/BreadCrumb.vue.d.ts +3 -1
- package/packages/components/breadcrumb/src/type.d.ts +1 -0
- package/packages/components/breadcrumb/style.css +1 -1
- package/packages/components/breadcrumb/style.css.gz +0 -0
- package/packages/components/button/index.js +64 -71
- package/packages/components/button/index.js.gz +0 -0
- package/packages/components/calendar/i18n/index.d.ts +80 -26
- package/packages/components/calendar/index.js +277 -275
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/{search → cascader}/i18n/index.d.ts +2 -1
- package/packages/components/cascader/index.d.ts +225 -7
- package/packages/components/cascader/index.js +60 -58
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/cascader/src/Index.vue.d.ts +2 -2
- package/packages/components/cascader/style.css +1 -1
- package/packages/components/cascader/style.css.gz +0 -0
- package/packages/components/color-picker/i18n/index.d.ts +8 -0
- package/packages/components/color-picker/index.js +89 -85
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/color-picker/style.css +1 -1
- package/packages/components/color-picker/style.css.gz +0 -0
- package/packages/components/custom-search-item/i18n/index.d.ts +8 -0
- package/packages/components/custom-search-item/index.js +20 -19
- package/packages/components/custom-search-item/index.js.gz +0 -0
- package/packages/components/date-picker/i18n/index.d.ts +33 -0
- package/packages/components/date-picker/index.d.ts +3 -3
- package/packages/components/date-picker/index.js +536 -521
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/src/DatePicker.vue.d.ts +2 -1
- package/packages/components/date-picker/src/DateRangePicker.vue.d.ts +1 -1
- package/packages/components/date-picker/src/RangePicker.vue.d.ts +1 -0
- package/packages/components/date-picker/src/TimePicker.vue.d.ts +1 -0
- package/packages/components/date-picker/src/TimeRangePicker.vue.d.ts +1 -0
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/dialog/i18n/index.d.ts +6 -0
- package/packages/components/dialog/index.js +92 -92
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dimple-layout/i18n/index.d.ts +53 -0
- package/packages/components/dimple-layout/index.js +1298 -1285
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dimple-layout/style.css +1 -1
- package/packages/components/dimple-layout/style.css.gz +0 -0
- package/packages/components/dropdown/i18n/index.d.ts +8 -0
- package/packages/components/dropdown/index.js +26 -25
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/edit-table/src/index.vue.d.ts +30 -3
- package/packages/components/empty/i18n/index.d.ts +1 -0
- package/packages/components/empty/index.js +18 -20
- package/packages/components/empty/index.js.gz +0 -0
- package/packages/components/form-item/index.js +830 -827
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/form-item/src/type.d.ts +2 -0
- package/packages/components/form-item/style.css +1 -1
- package/packages/components/form-item/style.css.gz +0 -0
- package/packages/components/form-item/theme/index.d.ts +3 -0
- package/packages/components/image-upload/i18n/index.d.ts +18 -0
- package/packages/components/image-upload/index.js +99 -84
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-viewer/i18n/index.d.ts +2 -0
- package/packages/components/image-viewer/index.js +150 -147
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/input/i18n/index.d.ts +18 -0
- package/packages/components/input/index.d.ts +5 -0
- package/packages/components/input/index.js +102 -93
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input/src/index.vue.d.ts +2 -0
- package/packages/components/input/src/type.d.ts +1 -0
- package/packages/components/input/style.css +1 -1
- package/packages/components/input/style.css.gz +0 -0
- package/packages/components/input-dialog-select/i18n/index.d.ts +7 -1
- package/packages/components/input-dialog-select/index.d.ts +1 -0
- package/packages/components/input-dialog-select/index.js +111 -109
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/input-dialog-select/src/Index.vue.d.ts +1 -0
- package/packages/components/input-dialog-select/style.css +1 -1
- package/packages/components/input-dialog-select/style.css.gz +0 -0
- package/packages/components/live-player/i18n/index.d.ts +13 -0
- package/packages/components/live-player/index.js +20 -11
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/live-player/style.css +1 -1
- package/packages/components/{time-line → loading}/i18n/index.d.ts +2 -1
- package/packages/components/loading/index.js +71 -70
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/map/i18n/index.d.ts +33 -0
- package/packages/components/map/index.js +1115 -838
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/map/src/get-sdk-config.d.ts +1 -1
- package/packages/components/map/src/hooks/use-baidu.d.ts +1 -11
- package/packages/components/map/src/hooks/use-gaode.d.ts +1 -11
- package/packages/components/map/src/hooks/use-google.d.ts +16 -0
- package/packages/components/map/src/hooks/use-map.d.ts +2 -0
- package/packages/components/map/src/type.d.ts +1 -1
- package/packages/components/map/style.css +1 -1
- package/packages/components/menu-aside/i18n/index.d.ts +8 -0
- package/packages/components/menu-aside/index.js +244 -226
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/menu-aside/src/style-theme.d.ts +15 -0
- package/packages/components/menu-aside/style.css +1 -1
- package/packages/components/menu-aside/style.css.gz +0 -0
- package/packages/components/menu-aside/theme/base.d.ts +3 -1
- package/packages/components/menu-header/index.js +32 -26
- package/packages/components/menu-header/index.js.gz +0 -0
- package/packages/components/menu-header/src/style-theme.d.ts +5 -0
- package/packages/components/menu-header/style.css +1 -1
- package/packages/components/menu-header/style.css.gz +0 -0
- package/packages/components/menu-header/theme/base.d.ts +1 -0
- package/packages/components/message/i18n/index.d.ts +8 -0
- package/packages/components/message/index.js +16 -15
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/{button → notification}/i18n/index.d.ts +2 -1
- package/packages/components/notification/index.js +9 -8
- package/packages/components/notification/index.js.gz +0 -0
- package/packages/components/pagination/i18n/index.d.ts +23 -0
- package/packages/components/pagination/index.js +141 -134
- 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/i18n/index.d.ts +2 -0
- package/packages/components/popover/index.d.ts +3 -0
- package/packages/components/popover/index.js +28 -27
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/preview/i18n/index.d.ts +1 -0
- package/packages/components/preview/index.js +9 -10
- package/packages/components/preview/index.js.gz +0 -0
- package/packages/components/preview/style.css +1 -1
- package/packages/components/rich-editor/i18n/index.d.ts +11 -0
- package/packages/components/rich-editor/index.js +3640 -3621
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/rich-editor/src/type.d.ts +3 -0
- package/packages/components/scrollbar/index.js +2 -2
- package/packages/components/scrollbar/index.js.gz +0 -0
- package/packages/components/scrollbar/style.css +1 -1
- package/packages/components/scrollbar/style.css.gz +0 -0
- package/packages/components/search/index.d.ts +9 -0
- package/packages/components/search/index.js +56 -47
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/search/src/Index.vue.d.ts +15 -0
- package/packages/components/search/src/type.d.ts +2 -0
- package/packages/components/search/style.css +1 -1
- package/packages/components/search/style.css.gz +0 -0
- package/packages/components/search-form/i18n/index.d.ts +33 -0
- package/packages/components/search-form/index.js +798 -744
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/src/Index.vue.d.ts +2 -0
- package/packages/components/search-form/src/type.d.ts +3 -0
- package/packages/components/search-form/style.css +1 -1
- package/packages/components/search-form/style.css.gz +0 -0
- package/packages/components/select/i18n/index.d.ts +23 -0
- package/packages/components/select/index.js +361 -372
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/src/Select.vue.d.ts +1 -0
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/select-input/index.d.ts +1 -0
- package/packages/components/select-input/index.js +68 -61
- package/packages/components/select-input/index.js.gz +0 -0
- package/packages/components/select-input/src/Index.vue.d.ts +1 -0
- package/packages/components/select-input/src/hooks/use-select-input.d.ts +5 -0
- package/packages/components/select-input/src/type.d.ts +3 -0
- package/packages/components/select-input/style.css +1 -1
- package/packages/components/select-input/style.css.gz +0 -0
- package/packages/components/select-list/i18n/index.d.ts +4 -0
- package/packages/components/select-list/index.js +73 -73
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/i18n/index.d.ts +4 -0
- package/packages/components/special-range-picker-month/index.js +69 -69
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/i18n/index.d.ts +3 -0
- package/packages/components/special-range-picker-year/index.js +67 -67
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/spin/i18n/index.d.ts +8 -0
- package/packages/components/spin/index.js +31 -30
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/table/i18n/index.d.ts +114 -0
- package/packages/components/table/index.d.ts +90 -9
- package/packages/components/table/index.js +4143 -3994
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/src/Table.vue.d.ts +10 -1
- package/packages/components/table/src/hooks/use-operation.d.ts +55 -5
- package/packages/components/table/src/type.d.ts +16 -3
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/style.css.gz +0 -0
- package/packages/components/tabs/i18n/index.d.ts +18 -0
- package/packages/components/tabs/index.js +95 -90
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/text-tooltip/index.js +1 -1
- package/packages/components/text-tooltip/index.js.gz +0 -0
- package/packages/components/time-line/index.js +36 -43
- package/packages/components/time-line/index.js.gz +0 -0
- package/packages/components/tooltip/i18n/index.d.ts +8 -0
- package/packages/components/tooltip/index.js +45 -44
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tooltip/style.css +1 -1
- package/packages/components/tooltip/style.css.gz +0 -0
- package/packages/components/tree/i18n/index.d.ts +43 -0
- package/packages/components/tree/index.js +1340 -1326
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree/src/App.vue.d.ts +7 -11
- package/packages/components/tree-table/index.js +69 -68
- package/packages/components/tree-table/index.js.gz +0 -0
- package/packages/components/tree-table/style.css +1 -1
- package/packages/components/tree-table/style.css.gz +0 -0
- package/packages/components/upload/i18n/index.d.ts +5 -0
- package/packages/components/upload/index.js +95 -95
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/i18n/index.d.ts +8 -0
- package/packages/components/virtual-tree/index.js +33 -31
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/packages/icons/edit-3/index.d.ts +1 -0
- package/packages/icons/edit-3/index.js +17 -0
- package/packages/icons/edit-3/index.js.gz +0 -0
- package/packages/icons/edit-3/index.vue.d.ts +16 -0
- package/packages/icons/exit/index.d.ts +1 -0
- package/packages/icons/exit/index.js +17 -0
- package/packages/icons/exit/index.js.gz +0 -0
- package/packages/icons/exit/index.vue.d.ts +16 -0
- package/packages/icons/global/index.d.ts +1 -0
- package/packages/icons/global/index.js +17 -0
- package/packages/icons/global/index.js.gz +0 -0
- package/packages/icons/global/index.vue.d.ts +16 -0
- package/packages/icons/index.d.ts +6 -0
- package/packages/icons/index.js +6 -0
- package/packages/icons/password-lock2/index.d.ts +1 -0
- package/packages/icons/password-lock2/index.js +17 -0
- package/packages/icons/password-lock2/index.js.gz +0 -0
- package/packages/icons/password-lock2/index.vue.d.ts +16 -0
- package/packages/icons/right-3/index.d.ts +1 -0
- package/packages/icons/right-3/index.js +17 -0
- package/packages/icons/right-3/index.js.gz +0 -0
- package/packages/icons/right-3/index.vue.d.ts +16 -0
- package/packages/icons/system/index.d.ts +1 -0
- package/packages/icons/system/index.js +17 -0
- package/packages/icons/system/index.js.gz +0 -0
- package/packages/icons/system/index.vue.d.ts +16 -0
- package/i18n-collection/en.js +0 -536
- package/i18n-collection/zh-CN.js +0 -537
|
Binary file
|
|
@@ -3219,6 +3219,7 @@ declare function __VLS_template(): {
|
|
|
3219
3219
|
readonly maxLength?: (number | string) | undefined;
|
|
3220
3220
|
readonly filterSpace?: boolean | undefined;
|
|
3221
3221
|
readonly "onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
3222
|
+
readonly onChange?: ((val: string | number) => any) | undefined;
|
|
3222
3223
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
3223
3224
|
$attrs: {
|
|
3224
3225
|
[x: string]: unknown;
|
|
@@ -3232,14 +3233,16 @@ declare function __VLS_template(): {
|
|
|
3232
3233
|
$root: import("vue").ComponentPublicInstance | null;
|
|
3233
3234
|
$parent: import("vue").ComponentPublicInstance | null;
|
|
3234
3235
|
$host: Element | null;
|
|
3235
|
-
$emit: (event: "update:modelValue", val: any) => void;
|
|
3236
|
+
$emit: ((event: "update:modelValue", val: any) => void) & ((event: "change", val: string | number) => void);
|
|
3236
3237
|
$el: any;
|
|
3237
3238
|
$options: import("vue").ComponentOptionsBase<Readonly<import("../../input/src/type").Props> & Readonly<{
|
|
3238
3239
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
3240
|
+
onChange?: ((val: string | number) => any) | undefined;
|
|
3239
3241
|
}>, {
|
|
3240
3242
|
$refInput: import("vue").Ref<any, any>;
|
|
3241
3243
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3242
3244
|
"update:modelValue": (val: any) => any;
|
|
3245
|
+
change: (val: string | number) => any;
|
|
3243
3246
|
}, string, {
|
|
3244
3247
|
type: string;
|
|
3245
3248
|
size: "default" | "table";
|
|
@@ -3318,6 +3321,7 @@ declare function __VLS_template(): {
|
|
|
3318
3321
|
filterSpace: boolean;
|
|
3319
3322
|
}> & Omit<Readonly<import("../../input/src/type").Props> & Readonly<{
|
|
3320
3323
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
3324
|
+
onChange?: ((val: string | number) => any) | undefined;
|
|
3321
3325
|
}>, "$refInput" | ("type" | "size" | "disabled" | "modelValue" | "teleported" | "success" | "width" | "borderType" | "placeholder" | "isView" | "successLabel" | "error" | "errorLabel" | "isErrorTitle" | "isTitle" | "errorMode" | "errorModelZIndex" | "noSetDefaultVal" | "autosize" | "showWordLimit" | "showTextWordLimit" | "maxlength" | "maxLength" | "filterSpace")> & import("vue").ShallowUnwrapRef<{
|
|
3322
3326
|
$refInput: import("vue").Ref<any, any>;
|
|
3323
3327
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
@@ -3,7 +3,9 @@ declare const DasBreadCrumb: import("@das-fed/utils").SFCWithInstall<{
|
|
|
3
3
|
"onClick-item"?: ((item: any, index: number) => any) | undefined;
|
|
4
4
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
5
5
|
"click-item": (item: any, index: number) => any;
|
|
6
|
-
}, import("vue").PublicProps, {
|
|
6
|
+
}, import("vue").PublicProps, {
|
|
7
|
+
data: Array<import("./src/type.js").itemProp>;
|
|
8
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
7
9
|
P: {};
|
|
8
10
|
B: {};
|
|
9
11
|
D: {};
|
|
@@ -12,7 +14,9 @@ declare const DasBreadCrumb: import("@das-fed/utils").SFCWithInstall<{
|
|
|
12
14
|
Defaults: {};
|
|
13
15
|
}, Readonly<import("./src/type.js").Props> & Readonly<{
|
|
14
16
|
"onClick-item"?: ((item: any, index: number) => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, {
|
|
17
|
+
}>, {}, {}, {}, {}, {
|
|
18
|
+
data: Array<import("./src/type.js").itemProp>;
|
|
19
|
+
}>;
|
|
16
20
|
__isFragment?: never;
|
|
17
21
|
__isTeleport?: never;
|
|
18
22
|
__isSuspense?: never;
|
|
@@ -20,7 +24,9 @@ declare const DasBreadCrumb: import("@das-fed/utils").SFCWithInstall<{
|
|
|
20
24
|
"onClick-item"?: ((item: any, index: number) => any) | undefined;
|
|
21
25
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
22
26
|
"click-item": (item: any, index: number) => any;
|
|
23
|
-
}, string, {
|
|
27
|
+
}, string, {
|
|
28
|
+
data: Array<import("./src/type.js").itemProp>;
|
|
29
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
24
30
|
$slots: Partial<Record<string, (_: {}) => any>> & {
|
|
25
31
|
left?(_: {}): any;
|
|
26
32
|
right?(_: {}): any;
|
|
@@ -1,41 +1,42 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/components/breadcrumb/style.css';
|
|
2
|
-
import { withInstall as
|
|
3
|
-
import { defineComponent as _, openBlock as o, createElementBlock as n, createElementVNode as
|
|
4
|
-
import {
|
|
2
|
+
import { withInstall as v } from "@das-fed/utils/with-install/index";
|
|
3
|
+
import { defineComponent as _, openBlock as o, createElementBlock as n, createElementVNode as h, createBlock as k, unref as l, mergeProps as C, withCtx as m, renderSlot as u, createVNode as w, Fragment as b, renderList as I, normalizeClass as $, createCommentVNode as f, withDirectives as y, createTextVNode as D, toDisplayString as E } from "vue";
|
|
4
|
+
import { vDasTooltip as L } from "@das-fed/ui/packages/components/text-tooltip/index";
|
|
5
|
+
import { ElBreadcrumbItem as N, ElBreadcrumb as S } from "element-plus";
|
|
5
6
|
import "element-plus/es/components/breadcrumb/style/css";
|
|
6
|
-
import { setThemeRule as
|
|
7
|
+
import { setThemeRule as V } from "@das-fed/web/packages/theme/index";
|
|
7
8
|
/*! Element Plus Icons Vue v2.3.1 */
|
|
8
|
-
var
|
|
9
|
+
var T = /* @__PURE__ */ _({
|
|
9
10
|
name: "ArrowRight",
|
|
10
11
|
__name: "arrow-right",
|
|
11
12
|
setup(s) {
|
|
12
|
-
return (c,
|
|
13
|
+
return (c, t) => (o(), n("svg", {
|
|
13
14
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14
15
|
viewBox: "0 0 1024 1024"
|
|
15
16
|
}, [
|
|
16
|
-
|
|
17
|
+
h("path", {
|
|
17
18
|
fill: "currentColor",
|
|
18
19
|
d: "M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"
|
|
19
20
|
})
|
|
20
21
|
]));
|
|
21
22
|
}
|
|
22
|
-
}),
|
|
23
|
-
const
|
|
23
|
+
}), z = T;
|
|
24
|
+
const F = /* @__PURE__ */ _({
|
|
24
25
|
__name: "BreadCrumbItem",
|
|
25
26
|
emits: ["click"],
|
|
26
27
|
setup(s, { emit: c }) {
|
|
27
|
-
const
|
|
28
|
-
|
|
28
|
+
const t = c, d = (a) => {
|
|
29
|
+
t("click", a);
|
|
29
30
|
};
|
|
30
|
-
return (
|
|
31
|
-
|
|
32
|
-
C(
|
|
31
|
+
return (a, r) => (o(), k(
|
|
32
|
+
l(N),
|
|
33
|
+
C(a.$attrs, {
|
|
33
34
|
onClick: d,
|
|
34
35
|
class: "das-breadcrumb-item"
|
|
35
36
|
}),
|
|
36
37
|
{
|
|
37
|
-
default:
|
|
38
|
-
|
|
38
|
+
default: m(() => [
|
|
39
|
+
u(a.$slots, "default", {}, void 0, !0)
|
|
39
40
|
]),
|
|
40
41
|
_: 3
|
|
41
42
|
/* FORWARDED */
|
|
@@ -45,27 +46,27 @@ const V = /* @__PURE__ */ _({
|
|
|
45
46
|
));
|
|
46
47
|
}
|
|
47
48
|
}), B = (s, c) => {
|
|
48
|
-
const
|
|
49
|
-
for (const [d,
|
|
50
|
-
|
|
51
|
-
return
|
|
52
|
-
}, g = /* @__PURE__ */ B(
|
|
49
|
+
const t = s.__vccOpts || s;
|
|
50
|
+
for (const [d, a] of c)
|
|
51
|
+
t[d] = a;
|
|
52
|
+
return t;
|
|
53
|
+
}, g = /* @__PURE__ */ B(F, [["__scopeId", "data-v-36708bdf"]]), R = { class: "das-breadcrumb" }, A = { class: "das-breadcrumb-item-overflow" }, M = { key: 1 }, O = /* @__PURE__ */ _({
|
|
53
54
|
__name: "BreadCrumb",
|
|
54
55
|
props: {
|
|
55
56
|
separatorIcon: {},
|
|
56
|
-
data: {}
|
|
57
|
+
data: { default: () => [] }
|
|
57
58
|
},
|
|
58
59
|
emits: ["click-item"],
|
|
59
60
|
setup(s, { emit: c }) {
|
|
60
|
-
const
|
|
61
|
-
r.disabled || d("click-item", r,
|
|
61
|
+
const t = s, d = c, a = (r, i) => {
|
|
62
|
+
r.disabled || i === t.data.length - 1 || d("click-item", r, i);
|
|
62
63
|
};
|
|
63
|
-
return (r,
|
|
64
|
-
|
|
65
|
-
w(
|
|
66
|
-
"separator-icon":
|
|
64
|
+
return (r, i) => (o(), n("div", R, [
|
|
65
|
+
u(r.$slots, "left", {}, void 0, !0),
|
|
66
|
+
w(l(S), C(r.$attrs, {
|
|
67
|
+
"separator-icon": t.separatorIcon || l(z)
|
|
67
68
|
}), {
|
|
68
|
-
default:
|
|
69
|
+
default: m(() => [
|
|
69
70
|
(o(!0), n(
|
|
70
71
|
b,
|
|
71
72
|
null,
|
|
@@ -78,18 +79,20 @@ const V = /* @__PURE__ */ _({
|
|
|
78
79
|
class: $([e != null && e.disabled ? "das-breadcrumb-item-disabled" : ""]),
|
|
79
80
|
to: e == null ? void 0 : e.to,
|
|
80
81
|
replace: e == null ? void 0 : e.replace,
|
|
81
|
-
onClick: (
|
|
82
|
+
onClick: (q) => a(e, p)
|
|
82
83
|
}, {
|
|
83
|
-
default:
|
|
84
|
-
|
|
84
|
+
default: m(() => [
|
|
85
|
+
h("div", A, [
|
|
85
86
|
f(" @slot 自定义显示内容"),
|
|
86
|
-
e.contentSlot ?
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
))
|
|
87
|
+
e.contentSlot ? u(r.$slots, e.contentSlot, { key: 0 }, void 0, !0) : y((o(), n("div", M, [
|
|
88
|
+
D(
|
|
89
|
+
E(e.name),
|
|
90
|
+
1
|
|
91
|
+
/* TEXT */
|
|
92
|
+
)
|
|
93
|
+
])), [
|
|
94
|
+
[l(L)]
|
|
95
|
+
])
|
|
93
96
|
])
|
|
94
97
|
]),
|
|
95
98
|
_: 2
|
|
@@ -106,18 +109,18 @@ const V = /* @__PURE__ */ _({
|
|
|
106
109
|
_: 3
|
|
107
110
|
/* FORWARDED */
|
|
108
111
|
}, 16, ["separator-icon"]),
|
|
109
|
-
|
|
112
|
+
u(r.$slots, "right", {}, void 0, !0)
|
|
110
113
|
]));
|
|
111
114
|
}
|
|
112
|
-
}),
|
|
115
|
+
}), P = /* @__PURE__ */ B(O, [["__scopeId", "data-v-69af6d27"]]), j = {
|
|
113
116
|
"--das-ui-breadcrumb-normal": "#666666",
|
|
114
117
|
"--das-ui-breadcrumb-hover": "#5582F3",
|
|
115
118
|
"--das-ui-breadcrumb-selected": "#212121 ",
|
|
116
119
|
"--das-ui-breadcrumb-disabled": "#B2B2B2"
|
|
117
120
|
};
|
|
118
|
-
|
|
119
|
-
const
|
|
121
|
+
V(j);
|
|
122
|
+
const U = v(P), W = v(g);
|
|
120
123
|
export {
|
|
121
|
-
|
|
122
|
-
|
|
124
|
+
U as DasBreadCrumb,
|
|
125
|
+
W as DasBreadCrumbItem
|
|
123
126
|
};
|
|
Binary file
|
|
@@ -13,7 +13,9 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
13
13
|
"click-item": (item: any, index: number) => any;
|
|
14
14
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
15
15
|
"onClick-item"?: ((item: any, index: number) => any) | undefined;
|
|
16
|
-
}>, {
|
|
16
|
+
}>, {
|
|
17
|
+
data: Array<import("./type").itemProp>;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
19
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
20
|
export default _default;
|
|
19
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-breadcrumb-item[data-v-
|
|
1
|
+
.das-breadcrumb-item[data-v-36708bdf]:last-child .el-breadcrumb__inner{cursor:pointer!important}[data-v-36708bdf] .el-breadcrumb__inner{font-weight:400;cursor:pointer;color:var(--das-ui-breadcrumb-normal)}[data-v-36708bdf] .el-breadcrumb__inner:hover{color:var(--das-ui-breadcrumb-hover)}.el-breadcrumb__item[data-v-36708bdf]:last-child .el-breadcrumb__inner{color:var(--das-ui-breadcrumb-selected)}.el-breadcrumb__item[data-v-36708bdf]:last-child .el-breadcrumb__inner:hover{color:var(--das-ui-breadcrumb-selected)}[data-v-36708bdf] .el-breadcrumb__inner.is-link{font-weight:400;color:var(--das-ui-breadcrumb-normal)}[data-v-36708bdf] .el-breadcrumb__inner.is-link:hover{color:var(--das-ui-breadcrumb-hover)}[data-v-36708bdf] .el-breadcrumb__separator.el-icon svg{color:var(--das-ui-breadcrumb-normal)}.das-breadcrumb[data-v-69af6d27]{display:flex;align-items:center}.das-breadcrumb[data-v-69af6d27] .el-breadcrumb{line-height:21px}.das-breadcrumb .das-breadcrumb-item-content[data-v-69af6d27]{display:inline-block}.das-breadcrumb .das-breadcrumb-item-overflow[data-v-69af6d27]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:140px}.das-breadcrumb .das-breadcrumb-item-disabled[data-v-69af6d27] .el-breadcrumb__inner{cursor:not-allowed!important;color:var(--das-ui-breadcrumb-disabled)!important}.das-breadcrumb .das-breadcrumb-item-disabled[data-v-69af6d27] .el-breadcrumb__inner:hover{color:var(--das-ui-breadcrumb-disabled)!important}
|
|
Binary file
|
|
@@ -1,36 +1,35 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/components/button/style.css';
|
|
2
2
|
import { withInstall as oe } from "@das-fed/utils/with-install/index";
|
|
3
|
-
import { defineComponent as le, ref as W, computed as se, watchEffect as ue, openBlock as s, createElementBlock as h, createCommentVNode as p, createBlock as y, unref as l, mergeProps as B, createSlots as K, withCtx as f, renderSlot as w, createElementVNode as U, createVNode as I, Fragment as j, renderList as N, createTextVNode as A, toDisplayString as
|
|
3
|
+
import { defineComponent as le, ref as W, computed as se, watchEffect as ue, openBlock as s, createElementBlock as h, createCommentVNode as p, createBlock as y, unref as l, mergeProps as B, createSlots as K, withCtx as f, renderSlot as w, createElementVNode as U, createVNode as I, Fragment as j, renderList as N, createTextVNode as A, toDisplayString as L, isRef as de } from "vue";
|
|
4
4
|
import { DasAutoRegisterIcon as fe, DasIcon as P } from "@das-fed/ui/packages/components/icon/index";
|
|
5
5
|
import { DropdownButton as be, Menu as H, MenuItem as X, Dropdown as ce, Button as q, RadioGroup as me, RadioButton as pe } from "ant-design-vue";
|
|
6
6
|
import "ant-design-vue/es/button/style/css";
|
|
7
7
|
import "ant-design-vue/es/dropdown/style/css";
|
|
8
8
|
import "ant-design-vue/es/radio/style/css";
|
|
9
|
-
import {
|
|
10
|
-
import { setThemeRule as ge } from "@das-fed/web/packages/theme/index";
|
|
9
|
+
import { setThemeRule as ye } from "@das-fed/web/packages/theme/index";
|
|
11
10
|
var E = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
12
|
-
function
|
|
11
|
+
function ge(t) {
|
|
13
12
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
14
13
|
}
|
|
15
|
-
function
|
|
14
|
+
function ve(t) {
|
|
16
15
|
var a = typeof t;
|
|
17
16
|
return t != null && (a == "object" || a == "function");
|
|
18
17
|
}
|
|
19
|
-
var ee =
|
|
20
|
-
return
|
|
21
|
-
},
|
|
22
|
-
function
|
|
23
|
-
for (var a = t.length; a-- &&
|
|
18
|
+
var ee = ve, ke = typeof E == "object" && E && E.Object === Object && E, Te = ke, he = Te, $e = typeof self == "object" && self && self.Object === Object && self, Ce = he || $e || Function("return this")(), te = Ce, je = te, Se = function() {
|
|
19
|
+
return je.Date.now();
|
|
20
|
+
}, Ie = Se, Oe = /\s/;
|
|
21
|
+
function De(t) {
|
|
22
|
+
for (var a = t.length; a-- && Oe.test(t.charAt(a)); )
|
|
24
23
|
;
|
|
25
24
|
return a;
|
|
26
25
|
}
|
|
27
|
-
var
|
|
28
|
-
function
|
|
29
|
-
return t && t.slice(0,
|
|
26
|
+
var ze = De, Be = ze, we = /^\s+/;
|
|
27
|
+
function Pe(t) {
|
|
28
|
+
return t && t.slice(0, Be(t) + 1).replace(we, "");
|
|
30
29
|
}
|
|
31
|
-
var
|
|
32
|
-
function
|
|
33
|
-
var a =
|
|
30
|
+
var Ee = Pe, Me = te, Ne = Me.Symbol, ne = Ne, J = ne, ae = Object.prototype, Ae = ae.hasOwnProperty, Le = ae.toString, O = J ? J.toStringTag : void 0;
|
|
31
|
+
function Re(t) {
|
|
32
|
+
var a = Ae.call(t, O), n = t[O];
|
|
34
33
|
try {
|
|
35
34
|
t[O] = void 0;
|
|
36
35
|
var o = !0;
|
|
@@ -39,27 +38,27 @@ function Fe(t) {
|
|
|
39
38
|
var u = Le.call(t);
|
|
40
39
|
return o && (a ? t[O] = n : delete t[O]), u;
|
|
41
40
|
}
|
|
42
|
-
var
|
|
43
|
-
function
|
|
44
|
-
return
|
|
41
|
+
var Fe = Re, Ge = Object.prototype, Ve = Ge.toString;
|
|
42
|
+
function We(t) {
|
|
43
|
+
return Ve.call(t);
|
|
45
44
|
}
|
|
46
|
-
var
|
|
47
|
-
function
|
|
48
|
-
return t == null ? t === void 0 ?
|
|
45
|
+
var Ke = We, Q = ne, Ue = Fe, He = Ke, Xe = "[object Null]", qe = "[object Undefined]", Y = Q ? Q.toStringTag : void 0;
|
|
46
|
+
function Je(t) {
|
|
47
|
+
return t == null ? t === void 0 ? qe : Xe : Y && Y in Object(t) ? Ue(t) : He(t);
|
|
49
48
|
}
|
|
50
|
-
var
|
|
51
|
-
function
|
|
49
|
+
var Qe = Je;
|
|
50
|
+
function Ye(t) {
|
|
52
51
|
return t != null && typeof t == "object";
|
|
53
52
|
}
|
|
54
|
-
var
|
|
55
|
-
function
|
|
56
|
-
return typeof t == "symbol" ||
|
|
53
|
+
var Ze = Ye, _e = Qe, xe = Ze, et = "[object Symbol]";
|
|
54
|
+
function tt(t) {
|
|
55
|
+
return typeof t == "symbol" || xe(t) && _e(t) == et;
|
|
57
56
|
}
|
|
58
|
-
var
|
|
59
|
-
function
|
|
57
|
+
var nt = tt, at = Ee, Z = ee, it = nt, _ = NaN, rt = /^[-+]0x[0-9a-f]+$/i, ot = /^0b[01]+$/i, lt = /^0o[0-7]+$/i, st = parseInt;
|
|
58
|
+
function ut(t) {
|
|
60
59
|
if (typeof t == "number")
|
|
61
60
|
return t;
|
|
62
|
-
if (
|
|
61
|
+
if (it(t))
|
|
63
62
|
return _;
|
|
64
63
|
if (Z(t)) {
|
|
65
64
|
var a = typeof t.valueOf == "function" ? t.valueOf() : t;
|
|
@@ -67,64 +66,64 @@ function dt(t) {
|
|
|
67
66
|
}
|
|
68
67
|
if (typeof t != "string")
|
|
69
68
|
return t === 0 ? t : +t;
|
|
70
|
-
t =
|
|
71
|
-
var n =
|
|
72
|
-
return n ||
|
|
69
|
+
t = at(t);
|
|
70
|
+
var n = ot.test(t);
|
|
71
|
+
return n || lt.test(t) ? st(t.slice(2), n ? 2 : 8) : rt.test(t) ? _ : +t;
|
|
73
72
|
}
|
|
74
|
-
var
|
|
75
|
-
function
|
|
76
|
-
var o, u, b, c, d, m, k = 0, D = !1, T = !1,
|
|
73
|
+
var dt = ut, ft = ee, R = Ie, x = dt, bt = "Expected a function", ct = Math.max, mt = Math.min;
|
|
74
|
+
function pt(t, a, n) {
|
|
75
|
+
var o, u, b, c, d, m, k = 0, D = !1, T = !1, $ = !0;
|
|
77
76
|
if (typeof t != "function")
|
|
78
|
-
throw new TypeError(
|
|
79
|
-
a = x(a) || 0,
|
|
80
|
-
function
|
|
77
|
+
throw new TypeError(bt);
|
|
78
|
+
a = x(a) || 0, ft(n) && (D = !!n.leading, T = "maxWait" in n, b = T ? ct(x(n.maxWait) || 0, a) : b, $ = "trailing" in n ? !!n.trailing : $);
|
|
79
|
+
function C(r) {
|
|
81
80
|
var v = o, S = u;
|
|
82
81
|
return o = u = void 0, k = r, c = t.apply(S, v), c;
|
|
83
82
|
}
|
|
84
83
|
function e(r) {
|
|
85
|
-
return k = r, d = setTimeout(z, a), D ?
|
|
84
|
+
return k = r, d = setTimeout(z, a), D ? C(r) : c;
|
|
86
85
|
}
|
|
87
86
|
function g(r) {
|
|
88
87
|
var v = r - m, S = r - k, V = a - v;
|
|
89
|
-
return T ?
|
|
88
|
+
return T ? mt(V, b - S) : V;
|
|
90
89
|
}
|
|
91
90
|
function i(r) {
|
|
92
91
|
var v = r - m, S = r - k;
|
|
93
92
|
return m === void 0 || v >= a || v < 0 || T && S >= b;
|
|
94
93
|
}
|
|
95
94
|
function z() {
|
|
96
|
-
var r =
|
|
95
|
+
var r = R();
|
|
97
96
|
if (i(r))
|
|
98
97
|
return G(r);
|
|
99
98
|
d = setTimeout(z, g(r));
|
|
100
99
|
}
|
|
101
100
|
function G(r) {
|
|
102
|
-
return d = void 0,
|
|
101
|
+
return d = void 0, $ && o ? C(r) : (o = u = void 0, c);
|
|
103
102
|
}
|
|
104
103
|
function ie() {
|
|
105
104
|
d !== void 0 && clearTimeout(d), k = 0, o = m = u = d = void 0;
|
|
106
105
|
}
|
|
107
106
|
function re() {
|
|
108
|
-
return d === void 0 ? c : G(
|
|
107
|
+
return d === void 0 ? c : G(R());
|
|
109
108
|
}
|
|
110
109
|
function M() {
|
|
111
|
-
var r =
|
|
110
|
+
var r = R(), v = i(r);
|
|
112
111
|
if (o = arguments, u = this, m = r, v) {
|
|
113
112
|
if (d === void 0)
|
|
114
113
|
return e(m);
|
|
115
114
|
if (T)
|
|
116
|
-
return clearTimeout(d), d = setTimeout(z, a),
|
|
115
|
+
return clearTimeout(d), d = setTimeout(z, a), C(m);
|
|
117
116
|
}
|
|
118
117
|
return d === void 0 && (d = setTimeout(z, a)), c;
|
|
119
118
|
}
|
|
120
119
|
return M.cancel = ie, M.flush = re, M;
|
|
121
120
|
}
|
|
122
|
-
var
|
|
123
|
-
const F = /* @__PURE__ */
|
|
121
|
+
var yt = pt;
|
|
122
|
+
const F = /* @__PURE__ */ ge(yt), gt = { class: "das-ui-button" }, vt = {
|
|
124
123
|
inheritAttrs: !1
|
|
125
124
|
// 不希望组件的根元素继承特性
|
|
126
|
-
},
|
|
127
|
-
...
|
|
125
|
+
}, kt = /* @__PURE__ */ le({
|
|
126
|
+
...vt,
|
|
128
127
|
__name: "Index",
|
|
129
128
|
props: {
|
|
130
129
|
btnType: {},
|
|
@@ -186,19 +185,19 @@ const F = /* @__PURE__ */ ve(gt), vt = { class: "das-ui-button" }, kt = {
|
|
|
186
185
|
n.isClickDebounce ? k(e) : o("click", e, "self");
|
|
187
186
|
}, T = (e) => {
|
|
188
187
|
n.isClickDebounce ? m(e) : o("click", e, "button-click");
|
|
189
|
-
}, C = (e) => {
|
|
190
|
-
n.isClickDebounce ? d(e) : (b.value = n.icon, o("click", e, "menu-click"));
|
|
191
188
|
}, $ = (e) => {
|
|
189
|
+
n.isClickDebounce ? d(e) : (b.value = n.icon, o("click", e, "menu-click"));
|
|
190
|
+
}, C = (e) => {
|
|
192
191
|
e ? b.value = n.activeIcon ? n.activeIcon : n.icon : b.value = n.icon;
|
|
193
192
|
};
|
|
194
|
-
return (e, g) => (s(), h("div",
|
|
193
|
+
return (e, g) => (s(), h("div", gt, [
|
|
195
194
|
p(" 同类集合按钮 "),
|
|
196
195
|
e.btnType === "default-sameset" || e.btnType === "primary-sameset" ? (s(), y(l(be), B({ key: 0 }, e.$attrs, {
|
|
197
196
|
tabindex: "-1",
|
|
198
197
|
trigger: e.trigger,
|
|
199
198
|
disabled: e.disabled,
|
|
200
199
|
getPopupContainer: e.getPopupContainer,
|
|
201
|
-
onVisibleChange:
|
|
200
|
+
onVisibleChange: C,
|
|
202
201
|
overlayClassName: "sameset-dropdown-wrap",
|
|
203
202
|
onClick: T,
|
|
204
203
|
type: e.btnType === "primary-sameset" ? "primary" : "default",
|
|
@@ -227,7 +226,7 @@ const F = /* @__PURE__ */ ve(gt), vt = { class: "das-ui-button" }, kt = {
|
|
|
227
226
|
e.menuData && e.menuData.length > 0 ? {
|
|
228
227
|
name: "overlay",
|
|
229
228
|
fn: f(() => [
|
|
230
|
-
I(l(H), { onClick:
|
|
229
|
+
I(l(H), { onClick: $ }, {
|
|
231
230
|
default: f(() => [
|
|
232
231
|
(s(!0), h(
|
|
233
232
|
j,
|
|
@@ -238,7 +237,7 @@ const F = /* @__PURE__ */ ve(gt), vt = { class: "das-ui-button" }, kt = {
|
|
|
238
237
|
}, {
|
|
239
238
|
default: f(() => [
|
|
240
239
|
A(
|
|
241
|
-
|
|
240
|
+
L(i[e.defaultMenuProps.label]),
|
|
242
241
|
1
|
|
243
242
|
/* TEXT */
|
|
244
243
|
)
|
|
@@ -268,7 +267,7 @@ const F = /* @__PURE__ */ ve(gt), vt = { class: "das-ui-button" }, kt = {
|
|
|
268
267
|
disabled: e.disabled,
|
|
269
268
|
ref: "basicsetDropdownRef",
|
|
270
269
|
class: `${e.block ? "block" : ""} ${e.btnType === "primary-basicset" ? "primary" : "default"} ${e.size}`,
|
|
271
|
-
onVisibleChange:
|
|
270
|
+
onVisibleChange: C,
|
|
272
271
|
overlayClassName: "basicset-dropdown-wrap"
|
|
273
272
|
}), K({
|
|
274
273
|
default: f(() => [
|
|
@@ -291,7 +290,7 @@ const F = /* @__PURE__ */ ve(gt), vt = { class: "das-ui-button" }, kt = {
|
|
|
291
290
|
e.menuData && e.menuData.length > 0 ? {
|
|
292
291
|
name: "overlay",
|
|
293
292
|
fn: f(() => [
|
|
294
|
-
I(l(H), { onClick:
|
|
293
|
+
I(l(H), { onClick: $ }, {
|
|
295
294
|
default: f(() => [
|
|
296
295
|
(s(!0), h(
|
|
297
296
|
j,
|
|
@@ -303,7 +302,7 @@ const F = /* @__PURE__ */ ve(gt), vt = { class: "das-ui-button" }, kt = {
|
|
|
303
302
|
default: f(() => [
|
|
304
303
|
w(e.$slots, "menu-item", { item: i }, () => [
|
|
305
304
|
A(
|
|
306
|
-
|
|
305
|
+
L(i[e.defaultMenuProps.label]),
|
|
307
306
|
1
|
|
308
307
|
/* TEXT */
|
|
309
308
|
)
|
|
@@ -348,7 +347,7 @@ const F = /* @__PURE__ */ ve(gt), vt = { class: "das-ui-button" }, kt = {
|
|
|
348
347
|
}, {
|
|
349
348
|
default: f(() => [
|
|
350
349
|
A(
|
|
351
|
-
|
|
350
|
+
L(i[e.defaultMenuProps.label]),
|
|
352
351
|
1
|
|
353
352
|
/* TEXT */
|
|
354
353
|
)
|
|
@@ -418,17 +417,12 @@ const F = /* @__PURE__ */ ve(gt), vt = { class: "das-ui-button" }, kt = {
|
|
|
418
417
|
))
|
|
419
418
|
]));
|
|
420
419
|
}
|
|
421
|
-
}),
|
|
420
|
+
}), Tt = (t, a) => {
|
|
422
421
|
const n = t.__vccOpts || t;
|
|
423
422
|
for (const [o, u] of a)
|
|
424
423
|
n[o] = u;
|
|
425
424
|
return n;
|
|
426
|
-
},
|
|
427
|
-
"demo-msg": {
|
|
428
|
-
"zh-CN": "这是第一个示例路由页面",
|
|
429
|
-
en: "This is Demo Page"
|
|
430
|
-
}
|
|
431
|
-
}, jt = {
|
|
425
|
+
}, ht = /* @__PURE__ */ Tt(kt, [["__scopeId", "data-v-a28d222f"]]), $t = {
|
|
432
426
|
"--demo-alert-bg": {
|
|
433
427
|
light: "#fff",
|
|
434
428
|
dark: "rgba(255,255,255,.2)"
|
|
@@ -449,9 +443,8 @@ const F = /* @__PURE__ */ ve(gt), vt = { class: "das-ui-button" }, kt = {
|
|
|
449
443
|
"--das-ui-button-set-disabled": "#95A4C8"
|
|
450
444
|
};
|
|
451
445
|
ye($t);
|
|
452
|
-
|
|
453
|
-
const Mt = oe(Ct);
|
|
446
|
+
const wt = oe(ht);
|
|
454
447
|
export {
|
|
455
|
-
|
|
456
|
-
|
|
448
|
+
wt as DasButton,
|
|
449
|
+
wt as default
|
|
457
450
|
};
|
|
Binary file
|