@aplus-frontend/ui 0.4.18 → 0.4.19
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/es/src/ap-action/item/index.vue.d.ts +1 -2
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +1 -2
- package/es/src/ap-action/item-modal/index.vue.d.ts +1 -2
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +1 -2
- package/es/src/ap-button/ap-action-button.vue.d.ts +1 -2
- package/es/src/ap-button/ap-button.vue.d.ts +1 -2
- package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +2 -3
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +5 -3
- package/es/src/ap-download/ap-download.vue.d.ts +3 -5
- package/es/src/ap-field/date/index.vue.d.ts +1 -2
- package/es/src/ap-field/date-range/index.vue.d.ts +1 -2
- package/es/src/ap-field/number/index.vue.d.ts +2 -324
- package/es/src/ap-field/radio/index.vue.d.ts +2 -98
- package/es/src/ap-field/rate/index.vue.d.ts +2 -84
- package/es/src/ap-field/segmented/index.vue.d.ts +1 -2
- package/es/src/ap-field/select/index.vue.d.ts +2 -409
- package/es/src/ap-field/select/index.vue.mjs +6 -7
- package/es/src/ap-field/slider/index.vue.d.ts +2 -259
- package/es/src/ap-field/switch/index.vue.d.ts +1 -2
- package/es/src/ap-field/text/index.vue.d.ts +1 -2
- package/es/src/ap-field/text/password.vue.d.ts +1 -2
- package/es/src/ap-field/text-area/index.vue.d.ts +2 -267
- package/es/src/ap-form/ap-form.vue.d.ts +4 -639
- package/es/src/ap-form/dependency/index.vue.d.ts +1 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +6 -1457
- package/es/src/ap-form/item/index.vue.d.ts +2 -779
- package/es/src/ap-form/item-group/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/date/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/date-range/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/number/index.vue.d.ts +3 -785
- package/es/src/ap-form/items/radio/index.vue.d.ts +4 -223
- package/es/src/ap-form/items/select/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/switch/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/text/group.vue.d.ts +1 -2
- package/es/src/ap-form/items/text/index.vue.d.ts +3 -141
- package/es/src/ap-form/items/text/password.vue.d.ts +2 -150
- package/es/src/ap-form/items/text-area/index.vue.d.ts +4 -568
- package/es/src/ap-form/list/index.vue.d.ts +1 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +7 -1457
- package/es/src/ap-form/provider/index.vue.d.ts +1 -2
- package/es/src/ap-form/render/control.vue.d.ts +1 -2
- package/es/src/ap-form/render/item.vue.d.ts +1 -2
- package/es/src/ap-form/search-form/index.vue.d.ts +5 -1457
- package/es/src/ap-form/set/index.vue.d.ts +1 -2
- package/es/src/ap-info-layout/ApInfoLayout.vue.d.ts +2 -3
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +2 -6
- package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +2 -3
- package/es/src/ap-list/index.vue.d.ts +5 -3
- package/es/src/ap-table/ap-table.vue.d.ts +10 -3
- package/es/src/ap-table/ap-table.vue2.mjs +72 -68
- package/es/src/ap-table/components/index/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/modal/index.vue.d.ts +1 -2
- package/es/src/ap-table/components/setting/select-group/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sortable/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
- package/es/src/ap-table/constants.d.ts +14 -2264
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/es/src/ap-table/interface.d.ts +9 -0
- package/es/src/ap-table/utils.d.ts +8 -1180
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +2 -5
- package/es/src/ap-tag/ap-tag.vue.d.ts +1 -1
- package/es/src/ap-upload/apUpload.vue.d.ts +2 -5
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +2 -453
- package/es/src/ap-upload/components/Picture.vue.d.ts +9 -7
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +1 -3
- package/es/src/business/ap-appendix/ap-appendix.vue.d.ts +3 -5
- package/es/src/business/ap-appendix/icons/file-icon.vue.d.ts +1 -1
- package/es/src/business/ap-appendix/index.d.ts +1 -1
- package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +2 -5
- package/es/src/business/ap-batch-action/index.d.ts +1 -3
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +1 -2
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +4 -3
- package/es/src/business/ap-batch-action-group/index.d.ts +5 -887
- package/es/src/business/ap-card/ApCard.vue.d.ts +2 -3
- package/es/src/business/ap-card/index.d.ts +1 -1
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +5 -3
- package/es/src/business/ap-expand-alert/index.d.ts +6 -4
- package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +2 -5
- package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +8 -9
- package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +346 -10
- package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +7 -8
- package/es/src/business/ap-group-search/images/icon-down.vue.d.ts +1 -1
- package/es/src/business/ap-group-search/images/icon-line-select.vue.d.ts +1 -1
- package/es/src/business/ap-group-search/index.d.ts +4 -418
- package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +340 -412
- package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +14 -15
- package/es/src/business/ap-image/ApImage.vue.d.ts +1 -2
- package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +1 -1
- package/es/src/business/ap-input-radio/index.d.ts +1 -1
- package/es/src/business/ap-ladder/ApLadder.vue.d.ts +2 -6
- package/es/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +1 -1
- package/es/src/business/ap-ladder/index.d.ts +1 -4
- package/es/src/business/ap-select-layout/index.d.ts +4 -2
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +5 -3
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +14 -0
- package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +14 -0
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +14 -0
- package/es/src/business/ap-table-modal/index.d.ts +44 -22
- package/es/src/business/ap-table-modal/modal-title.vue.d.ts +2 -3
- package/es/src/business/ap-table-modal/table-layout/index.vue.d.ts +8 -8
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +18 -25
- package/es/src/business/ap-title/ApTitle.vue.d.ts +2 -3
- package/es/src/business/ap-title/index.d.ts +1 -1
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +3 -5
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +1 -1
- package/es/src/business/ap-upload-file/icon/file-icon.vue.d.ts +1 -1
- package/es/src/business/batch-input-group/index.vue.d.ts +3 -146
- package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +2 -267
- package/es/src/business/hooks/usePageListApTable.d.ts +14 -0
- package/es/src/business/hooks/useTableRefresh.d.ts +4 -1
- package/es/src/business/hooks/useTableRefresh.mjs +33 -12
- package/es/src/check-card/group.vue.d.ts +1 -2
- package/es/src/check-card/index.vue.d.ts +2 -3
- package/es/src/config-provider/config-provider-props.d.ts +3 -0
- package/es/src/config-provider/config-provider-props.mjs +3 -0
- package/es/src/config-provider/config-provider.d.ts +6 -0
- package/es/src/config-provider/config-provider.mjs +24 -23
- package/es/src/config-provider/hooks/use-global-config.d.ts +3 -0
- package/es/src/config-provider/index.d.ts +9 -0
- package/es/src/editable-table/form-item.vue.d.ts +5 -3
- package/es/src/editable-table/index.vue.d.ts +5 -3
- package/es/src/full-screen/index.vue.d.ts +2 -6
- package/es/src/portal/index.vue.d.ts +1 -2
- package/es/src/resize-observer/index.vue.d.ts +1 -2
- package/es/src/scroll-bar/index.vue.d.ts +4 -43
- package/es/src/scroll-bar/index.vue.mjs +51 -49
- package/es/src/scroll-bar/internal.vue.d.ts +1 -5
- package/es/src/scroll-view/index.vue.d.ts +9 -97
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/utils/index.d.ts +8 -0
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +2 -827
- package/lib/src/ap-action/item/index.vue.d.ts +1 -2
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +1 -2
- package/lib/src/ap-action/item-modal/index.vue.d.ts +1 -2
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +1 -2
- package/lib/src/ap-button/ap-action-button.vue.d.ts +1 -2
- package/lib/src/ap-button/ap-button.vue.d.ts +1 -2
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +2 -3
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +5 -3
- package/lib/src/ap-download/ap-download.vue.d.ts +3 -5
- package/lib/src/ap-field/date/index.vue.d.ts +1 -2
- package/lib/src/ap-field/date-range/index.vue.d.ts +1 -2
- package/lib/src/ap-field/number/index.vue.d.ts +2 -324
- package/lib/src/ap-field/radio/index.vue.d.ts +2 -98
- package/lib/src/ap-field/rate/index.vue.d.ts +2 -84
- package/lib/src/ap-field/segmented/index.vue.d.ts +1 -2
- package/lib/src/ap-field/select/index.vue.d.ts +2 -409
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +2 -259
- package/lib/src/ap-field/switch/index.vue.d.ts +1 -2
- package/lib/src/ap-field/text/index.vue.d.ts +1 -2
- package/lib/src/ap-field/text/password.vue.d.ts +1 -2
- package/lib/src/ap-field/text-area/index.vue.d.ts +2 -267
- package/lib/src/ap-form/ap-form.vue.d.ts +4 -639
- package/lib/src/ap-form/dependency/index.vue.d.ts +1 -2
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +6 -1457
- package/lib/src/ap-form/item/index.vue.d.ts +2 -779
- package/lib/src/ap-form/item-group/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/date/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/number/index.vue.d.ts +3 -785
- package/lib/src/ap-form/items/radio/index.vue.d.ts +4 -223
- package/lib/src/ap-form/items/select/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/switch/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/text/group.vue.d.ts +1 -2
- package/lib/src/ap-form/items/text/index.vue.d.ts +3 -141
- package/lib/src/ap-form/items/text/password.vue.d.ts +2 -150
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +4 -568
- package/lib/src/ap-form/list/index.vue.d.ts +1 -2
- package/lib/src/ap-form/modal-form/index.vue.d.ts +7 -1457
- package/lib/src/ap-form/provider/index.vue.d.ts +1 -2
- package/lib/src/ap-form/render/control.vue.d.ts +1 -2
- package/lib/src/ap-form/render/item.vue.d.ts +1 -2
- package/lib/src/ap-form/search-form/index.vue.d.ts +5 -1457
- package/lib/src/ap-form/set/index.vue.d.ts +1 -2
- package/lib/src/ap-info-layout/ApInfoLayout.vue.d.ts +2 -3
- package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +2 -6
- package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +2 -3
- package/lib/src/ap-list/index.vue.d.ts +5 -3
- package/lib/src/ap-table/ap-table.vue.d.ts +10 -3
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/index/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue.d.ts +1 -2
- package/lib/src/ap-table/components/setting/select-group/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sortable/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
- package/lib/src/ap-table/constants.d.ts +14 -2264
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/lib/src/ap-table/interface.d.ts +9 -0
- package/lib/src/ap-table/utils.d.ts +8 -1180
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +2 -5
- package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -1
- package/lib/src/ap-upload/apUpload.vue.d.ts +2 -5
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +2 -453
- package/lib/src/ap-upload/components/Picture.vue.d.ts +9 -7
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +1 -3
- package/lib/src/business/ap-appendix/ap-appendix.vue.d.ts +3 -5
- package/lib/src/business/ap-appendix/icons/file-icon.vue.d.ts +1 -1
- package/lib/src/business/ap-appendix/index.d.ts +1 -1
- package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +2 -5
- package/lib/src/business/ap-batch-action/index.d.ts +1 -3
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +1 -2
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +4 -3
- package/lib/src/business/ap-batch-action-group/index.d.ts +5 -887
- package/lib/src/business/ap-card/ApCard.vue.d.ts +2 -3
- package/lib/src/business/ap-card/index.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +5 -3
- package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
- package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +2 -5
- package/lib/src/business/ap-group-search/ap-group-search.vue2.js +1 -1
- package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +346 -10
- package/lib/src/business/ap-group-search/extension-select/index.vue2.js +1 -1
- package/lib/src/business/ap-group-search/images/icon-down.vue.d.ts +1 -1
- package/lib/src/business/ap-group-search/images/icon-line-select.vue.d.ts +1 -1
- package/lib/src/business/ap-group-search/index.d.ts +4 -418
- package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +340 -412
- package/lib/src/business/ap-group-search/popover-select/index.vue2.js +2 -2
- package/lib/src/business/ap-image/ApImage.vue.d.ts +1 -2
- package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +1 -1
- package/lib/src/business/ap-input-radio/index.d.ts +1 -1
- package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +2 -6
- package/lib/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +1 -1
- package/lib/src/business/ap-ladder/index.d.ts +1 -4
- package/lib/src/business/ap-select-layout/index.d.ts +4 -2
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +5 -3
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +14 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +14 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +14 -0
- package/lib/src/business/ap-table-modal/index.d.ts +44 -22
- package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +2 -3
- package/lib/src/business/ap-table-modal/table-layout/index.vue.d.ts +8 -8
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +18 -25
- package/lib/src/business/ap-title/ApTitle.vue.d.ts +2 -3
- package/lib/src/business/ap-title/index.d.ts +1 -1
- package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +3 -5
- package/lib/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +1 -1
- package/lib/src/business/ap-upload-file/icon/file-icon.vue.d.ts +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +3 -146
- package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +2 -267
- package/lib/src/business/hooks/usePageListApTable.d.ts +14 -0
- package/lib/src/business/hooks/useTableRefresh.d.ts +4 -1
- package/lib/src/business/hooks/useTableRefresh.js +1 -1
- package/lib/src/check-card/group.vue.d.ts +1 -2
- package/lib/src/check-card/index.vue.d.ts +2 -3
- package/lib/src/config-provider/config-provider-props.d.ts +3 -0
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +6 -0
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +3 -0
- package/lib/src/config-provider/index.d.ts +9 -0
- package/lib/src/editable-table/form-item.vue.d.ts +5 -3
- package/lib/src/editable-table/index.vue.d.ts +5 -3
- package/lib/src/full-screen/index.vue.d.ts +2 -6
- package/lib/src/portal/index.vue.d.ts +1 -2
- package/lib/src/resize-observer/index.vue.d.ts +1 -2
- package/lib/src/scroll-bar/index.vue.d.ts +4 -43
- package/lib/src/scroll-bar/index.vue.js +1 -1
- package/lib/src/scroll-bar/internal.vue.d.ts +1 -5
- package/lib/src/scroll-view/index.vue.d.ts +9 -97
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/utils/index.d.ts +8 -0
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +2 -827
- package/package.json +2 -2
- package/theme/ap-scroll-bar/index.css +0 -31
- package/theme/ap-scroll-bar/index.less +0 -39
|
@@ -8,7 +8,6 @@ import { FieldMode } from '..';
|
|
|
8
8
|
declare function focus(): void;
|
|
9
9
|
declare function blur(): void;
|
|
10
10
|
declare function __VLS_template(): {
|
|
11
|
-
attrs: Partial<{}>;
|
|
12
11
|
slots: Readonly<{
|
|
13
12
|
character: any;
|
|
14
13
|
}> & {
|
|
@@ -96,7 +95,7 @@ declare function __VLS_template(): {
|
|
|
96
95
|
allowHalf: boolean;
|
|
97
96
|
}> | null;
|
|
98
97
|
};
|
|
99
|
-
|
|
98
|
+
attrs: Partial<{}>;
|
|
100
99
|
};
|
|
101
100
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
102
101
|
declare const __VLS_component: DefineComponent<ApFieldRateProps, {
|
|
@@ -114,88 +113,7 @@ declare const __VLS_component: DefineComponent<ApFieldRateProps, {
|
|
|
114
113
|
allowClear: boolean;
|
|
115
114
|
allowHalf: boolean;
|
|
116
115
|
character: any;
|
|
117
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
118
|
-
rateRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
119
|
-
prefixCls: StringConstructor;
|
|
120
|
-
count: NumberConstructor;
|
|
121
|
-
value: NumberConstructor;
|
|
122
|
-
allowHalf: {
|
|
123
|
-
type: BooleanConstructor;
|
|
124
|
-
default: any;
|
|
125
|
-
};
|
|
126
|
-
allowClear: {
|
|
127
|
-
type: BooleanConstructor;
|
|
128
|
-
default: any;
|
|
129
|
-
};
|
|
130
|
-
tooltips: PropType<string[]>;
|
|
131
|
-
disabled: {
|
|
132
|
-
type: BooleanConstructor;
|
|
133
|
-
default: any;
|
|
134
|
-
};
|
|
135
|
-
character: VueTypeValidableDef<any>;
|
|
136
|
-
autofocus: {
|
|
137
|
-
type: BooleanConstructor;
|
|
138
|
-
default: any;
|
|
139
|
-
};
|
|
140
|
-
tabindex: VueTypeDef<string | number>;
|
|
141
|
-
direction: PropType<Direction>;
|
|
142
|
-
id: StringConstructor;
|
|
143
|
-
onChange: PropType<(value: number) => void>;
|
|
144
|
-
onHoverChange: PropType<(value: number) => void>;
|
|
145
|
-
'onUpdate:value': PropType<(value: number) => void>;
|
|
146
|
-
onFocus: PropType<FocusEventHandler>;
|
|
147
|
-
onBlur: PropType<FocusEventHandler>;
|
|
148
|
-
onKeydown: PropType<KeyboardEventHandler>;
|
|
149
|
-
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
150
|
-
disabled: boolean;
|
|
151
|
-
autofocus: boolean;
|
|
152
|
-
allowClear: boolean;
|
|
153
|
-
allowHalf: boolean;
|
|
154
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
155
|
-
P: {};
|
|
156
|
-
B: {};
|
|
157
|
-
D: {};
|
|
158
|
-
C: {};
|
|
159
|
-
M: {};
|
|
160
|
-
Defaults: {};
|
|
161
|
-
}, Readonly< ExtractPropTypes<{
|
|
162
|
-
prefixCls: StringConstructor;
|
|
163
|
-
count: NumberConstructor;
|
|
164
|
-
value: NumberConstructor;
|
|
165
|
-
allowHalf: {
|
|
166
|
-
type: BooleanConstructor;
|
|
167
|
-
default: any;
|
|
168
|
-
};
|
|
169
|
-
allowClear: {
|
|
170
|
-
type: BooleanConstructor;
|
|
171
|
-
default: any;
|
|
172
|
-
};
|
|
173
|
-
tooltips: PropType<string[]>;
|
|
174
|
-
disabled: {
|
|
175
|
-
type: BooleanConstructor;
|
|
176
|
-
default: any;
|
|
177
|
-
};
|
|
178
|
-
character: VueTypeValidableDef<any>;
|
|
179
|
-
autofocus: {
|
|
180
|
-
type: BooleanConstructor;
|
|
181
|
-
default: any;
|
|
182
|
-
};
|
|
183
|
-
tabindex: VueTypeDef<string | number>;
|
|
184
|
-
direction: PropType<Direction>;
|
|
185
|
-
id: StringConstructor;
|
|
186
|
-
onChange: PropType<(value: number) => void>;
|
|
187
|
-
onHoverChange: PropType<(value: number) => void>;
|
|
188
|
-
'onUpdate:value': PropType<(value: number) => void>;
|
|
189
|
-
onFocus: PropType<FocusEventHandler>;
|
|
190
|
-
onBlur: PropType<FocusEventHandler>;
|
|
191
|
-
onKeydown: PropType<KeyboardEventHandler>;
|
|
192
|
-
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
193
|
-
disabled: boolean;
|
|
194
|
-
autofocus: boolean;
|
|
195
|
-
allowClear: boolean;
|
|
196
|
-
allowHalf: boolean;
|
|
197
|
-
}> | null;
|
|
198
|
-
}, any>;
|
|
116
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
199
117
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
200
118
|
export default _default;
|
|
201
119
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -2,7 +2,6 @@ import { ApFieldSegmentedProps } from '../interface';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { FieldMode } from '..';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
-
attrs: Partial<{}>;
|
|
6
5
|
slots: {
|
|
7
6
|
label?(_: {
|
|
8
7
|
value: string | number;
|
|
@@ -13,7 +12,7 @@ declare function __VLS_template(): {
|
|
|
13
12
|
}): any;
|
|
14
13
|
};
|
|
15
14
|
refs: {};
|
|
16
|
-
|
|
15
|
+
attrs: Partial<{}>;
|
|
17
16
|
};
|
|
18
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
18
|
declare const __VLS_component: DefineComponent<ApFieldSegmentedProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -26,7 +26,6 @@ declare function requestIfNeeded(clear?: boolean): Promise<void>;
|
|
|
26
26
|
declare function focus(): void;
|
|
27
27
|
declare function blur(): void;
|
|
28
28
|
declare function __VLS_template(): {
|
|
29
|
-
attrs: Partial<{}>;
|
|
30
29
|
slots: Readonly<ApFieldSelectSlots> & ApFieldSelectSlots;
|
|
31
30
|
refs: {
|
|
32
31
|
selectRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
@@ -191,7 +190,6 @@ declare function __VLS_template(): {
|
|
|
191
190
|
type: BooleanConstructor;
|
|
192
191
|
default: any;
|
|
193
192
|
};
|
|
194
|
-
onClickOption: PropType<(e: MouseEvent, value: SelectValue, selected: boolean) => boolean | Promise<boolean>>;
|
|
195
193
|
labelInValue: {
|
|
196
194
|
type: BooleanConstructor;
|
|
197
195
|
default: any;
|
|
@@ -402,7 +400,6 @@ declare function __VLS_template(): {
|
|
|
402
400
|
type: BooleanConstructor;
|
|
403
401
|
default: any;
|
|
404
402
|
};
|
|
405
|
-
onClickOption: PropType<(e: MouseEvent, value: SelectValue, selected: boolean) => boolean | Promise<boolean>>;
|
|
406
403
|
labelInValue: {
|
|
407
404
|
type: BooleanConstructor;
|
|
408
405
|
default: any;
|
|
@@ -433,7 +430,7 @@ declare function __VLS_template(): {
|
|
|
433
430
|
labelInValue: boolean;
|
|
434
431
|
}> | null;
|
|
435
432
|
};
|
|
436
|
-
|
|
433
|
+
attrs: Partial<{}>;
|
|
437
434
|
};
|
|
438
435
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
439
436
|
declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
@@ -464,411 +461,7 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
464
461
|
emptyText: string;
|
|
465
462
|
searchMode: "filter" | "request";
|
|
466
463
|
refetchOnFocus: boolean;
|
|
467
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
468
|
-
selectRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
469
|
-
value: {
|
|
470
|
-
type: PropType<SelectValue>;
|
|
471
|
-
default: SelectValue;
|
|
472
|
-
};
|
|
473
|
-
defaultValue: {
|
|
474
|
-
type: PropType<SelectValue>;
|
|
475
|
-
default: SelectValue;
|
|
476
|
-
};
|
|
477
|
-
notFoundContent: VueTypeValidableDef<any>;
|
|
478
|
-
suffixIcon: VueTypeValidableDef<any>;
|
|
479
|
-
itemIcon: VueTypeValidableDef<any>;
|
|
480
|
-
size: {
|
|
481
|
-
type: PropType<ButtonSize>;
|
|
482
|
-
default: ButtonSize;
|
|
483
|
-
};
|
|
484
|
-
mode: {
|
|
485
|
-
type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
486
|
-
default: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
487
|
-
};
|
|
488
|
-
bordered: {
|
|
489
|
-
type: BooleanConstructor;
|
|
490
|
-
default: boolean;
|
|
491
|
-
};
|
|
492
|
-
transitionName: StringConstructor;
|
|
493
|
-
choiceTransitionName: {
|
|
494
|
-
type: PropType<"">;
|
|
495
|
-
default: "";
|
|
496
|
-
};
|
|
497
|
-
popupClassName: StringConstructor;
|
|
498
|
-
dropdownClassName: StringConstructor;
|
|
499
|
-
placement: {
|
|
500
|
-
type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
|
|
501
|
-
default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
502
|
-
};
|
|
503
|
-
status: {
|
|
504
|
-
type: PropType<"" | "error" | "warning">;
|
|
505
|
-
default: "" | "error" | "warning";
|
|
506
|
-
};
|
|
507
|
-
'onUpdate:value': {
|
|
508
|
-
type: PropType<(val: SelectValue) => void>;
|
|
509
|
-
default: (val: SelectValue) => void;
|
|
510
|
-
};
|
|
511
|
-
children: PropType< VueNode[]>;
|
|
512
|
-
listHeight: NumberConstructor;
|
|
513
|
-
onMouseenter: PropType<(e: MouseEvent) => void>;
|
|
514
|
-
onMouseleave: PropType<(e: MouseEvent) => void>;
|
|
515
|
-
tabindex: NumberConstructor;
|
|
516
|
-
onClick: PropType<(e: MouseEvent) => void>;
|
|
517
|
-
onFocus: {
|
|
518
|
-
type: PropType<(e: FocusEvent) => void>;
|
|
519
|
-
};
|
|
520
|
-
onBlur: {
|
|
521
|
-
type: PropType<(e: FocusEvent) => void>;
|
|
522
|
-
};
|
|
523
|
-
onChange: PropType<(value: SelectValue, option: DefaultOptionType | DefaultOptionType[]) => void>;
|
|
524
|
-
onKeydown: PropType<(e: KeyboardEvent) => void>;
|
|
525
|
-
onKeyup: PropType<(e: KeyboardEvent) => void>;
|
|
526
|
-
onMousedown: PropType<(e: MouseEvent) => void>;
|
|
527
|
-
onSelect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
528
|
-
open: {
|
|
529
|
-
type: BooleanConstructor;
|
|
530
|
-
default: any;
|
|
531
|
-
};
|
|
532
|
-
animation: StringConstructor;
|
|
533
|
-
direction: {
|
|
534
|
-
type: PropType<"rtl" | "ltr">;
|
|
535
|
-
};
|
|
536
|
-
disabled: {
|
|
537
|
-
type: BooleanConstructor;
|
|
538
|
-
default: any;
|
|
539
|
-
};
|
|
540
|
-
prefixCls: StringConstructor;
|
|
541
|
-
id: StringConstructor;
|
|
542
|
-
autofocus: BooleanConstructor;
|
|
543
|
-
getPopupContainer: {
|
|
544
|
-
type: PropType<RenderDOMFunc>;
|
|
545
|
-
};
|
|
546
|
-
virtual: {
|
|
547
|
-
type: BooleanConstructor;
|
|
548
|
-
default: any;
|
|
549
|
-
};
|
|
550
|
-
dropdownMatchSelectWidth: {
|
|
551
|
-
type: PropType<number | boolean>;
|
|
552
|
-
default: any;
|
|
553
|
-
};
|
|
554
|
-
options: PropType<DefaultOptionType[]>;
|
|
555
|
-
showAction: {
|
|
556
|
-
type: PropType<("click" | "focus")[]>;
|
|
557
|
-
};
|
|
558
|
-
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
559
|
-
loading: {
|
|
560
|
-
type: BooleanConstructor;
|
|
561
|
-
default: any;
|
|
562
|
-
};
|
|
563
|
-
placeholder: VueTypeValidableDef<any>;
|
|
564
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
565
|
-
allowClear: {
|
|
566
|
-
type: BooleanConstructor;
|
|
567
|
-
default: any;
|
|
568
|
-
};
|
|
569
|
-
onSearch: PropType<(value: string) => void>;
|
|
570
|
-
fieldNames: PropType<FieldNames>;
|
|
571
|
-
dropdownStyle: {
|
|
572
|
-
type: PropType<CSSProperties>;
|
|
573
|
-
};
|
|
574
|
-
dropdownRender: {
|
|
575
|
-
type: PropType<DropdownRender>;
|
|
576
|
-
};
|
|
577
|
-
dropdownAlign: PropType<AlignType>;
|
|
578
|
-
showSearch: {
|
|
579
|
-
type: BooleanConstructor;
|
|
580
|
-
default: any;
|
|
581
|
-
};
|
|
582
|
-
searchValue: StringConstructor;
|
|
583
|
-
onInputKeyDown: PropType<(e: KeyboardEvent) => void>;
|
|
584
|
-
removeIcon: VueTypeValidableDef<any>;
|
|
585
|
-
maxTagCount: {
|
|
586
|
-
type: PropType<number | "responsive">;
|
|
587
|
-
};
|
|
588
|
-
maxTagTextLength: NumberConstructor;
|
|
589
|
-
maxTagPlaceholder: VueTypeValidableDef<any>;
|
|
590
|
-
tokenSeparators: {
|
|
591
|
-
type: PropType<string[]>;
|
|
592
|
-
};
|
|
593
|
-
tagRender: {
|
|
594
|
-
type: PropType<(props: CustomTagProps) => any>;
|
|
595
|
-
};
|
|
596
|
-
optionLabelRender: {
|
|
597
|
-
type: PropType<(option: Record<string, any>) => any>;
|
|
598
|
-
};
|
|
599
|
-
onClear: PropType<() => void>;
|
|
600
|
-
defaultOpen: {
|
|
601
|
-
type: BooleanConstructor;
|
|
602
|
-
default: any;
|
|
603
|
-
};
|
|
604
|
-
onDropdownVisibleChange: {
|
|
605
|
-
type: PropType<(open: boolean) => void>;
|
|
606
|
-
};
|
|
607
|
-
showArrow: {
|
|
608
|
-
type: BooleanConstructor;
|
|
609
|
-
default: any;
|
|
610
|
-
};
|
|
611
|
-
onPopupScroll: PropType<(e: UIEvent) => void>;
|
|
612
|
-
menuItemSelectedIcon: VueTypeValidableDef<any>;
|
|
613
|
-
listItemHeight: NumberConstructor;
|
|
614
|
-
inputValue: StringConstructor;
|
|
615
|
-
autoClearSearchValue: {
|
|
616
|
-
type: BooleanConstructor;
|
|
617
|
-
default: any;
|
|
618
|
-
};
|
|
619
|
-
filterOption: {
|
|
620
|
-
type: PropType<boolean | FilterFunc<DefaultOptionType>>;
|
|
621
|
-
default: any;
|
|
622
|
-
};
|
|
623
|
-
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
|
|
624
|
-
optionFilterProp: StringConstructor;
|
|
625
|
-
optionLabelProp: StringConstructor;
|
|
626
|
-
defaultActiveFirstOption: {
|
|
627
|
-
type: BooleanConstructor;
|
|
628
|
-
default: any;
|
|
629
|
-
};
|
|
630
|
-
onClickOption: PropType<(e: MouseEvent, value: SelectValue, selected: boolean) => boolean | Promise<boolean>>;
|
|
631
|
-
labelInValue: {
|
|
632
|
-
type: BooleanConstructor;
|
|
633
|
-
default: any;
|
|
634
|
-
};
|
|
635
|
-
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
636
|
-
size: ButtonSize;
|
|
637
|
-
value: SelectValue;
|
|
638
|
-
mode: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
639
|
-
open: boolean;
|
|
640
|
-
disabled: boolean;
|
|
641
|
-
autofocus: boolean;
|
|
642
|
-
virtual: boolean;
|
|
643
|
-
dropdownMatchSelectWidth: number | boolean;
|
|
644
|
-
status: "" | "error" | "warning";
|
|
645
|
-
defaultValue: SelectValue;
|
|
646
|
-
'onUpdate:value': (val: SelectValue) => void;
|
|
647
|
-
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
648
|
-
loading: boolean;
|
|
649
|
-
bordered: boolean;
|
|
650
|
-
allowClear: boolean;
|
|
651
|
-
showSearch: boolean;
|
|
652
|
-
choiceTransitionName: "";
|
|
653
|
-
defaultOpen: boolean;
|
|
654
|
-
showArrow: boolean;
|
|
655
|
-
autoClearSearchValue: boolean;
|
|
656
|
-
filterOption: boolean | FilterFunc<DefaultOptionType>;
|
|
657
|
-
defaultActiveFirstOption: boolean;
|
|
658
|
-
labelInValue: boolean;
|
|
659
|
-
}, true, {}, CustomSlotsType<{
|
|
660
|
-
notFoundContent: any;
|
|
661
|
-
suffixIcon: any;
|
|
662
|
-
itemIcon: any;
|
|
663
|
-
removeIcon: any;
|
|
664
|
-
clearIcon: any;
|
|
665
|
-
dropdownRender: any;
|
|
666
|
-
option: any;
|
|
667
|
-
placeholder: any;
|
|
668
|
-
tagRender: any;
|
|
669
|
-
maxTagPlaceholder: any;
|
|
670
|
-
optionLabel: any;
|
|
671
|
-
default: any;
|
|
672
|
-
}>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
673
|
-
P: {};
|
|
674
|
-
B: {};
|
|
675
|
-
D: {};
|
|
676
|
-
C: {};
|
|
677
|
-
M: {};
|
|
678
|
-
Defaults: {};
|
|
679
|
-
}, Readonly< ExtractPropTypes<{
|
|
680
|
-
value: {
|
|
681
|
-
type: PropType<SelectValue>;
|
|
682
|
-
default: SelectValue;
|
|
683
|
-
};
|
|
684
|
-
defaultValue: {
|
|
685
|
-
type: PropType<SelectValue>;
|
|
686
|
-
default: SelectValue;
|
|
687
|
-
};
|
|
688
|
-
notFoundContent: VueTypeValidableDef<any>;
|
|
689
|
-
suffixIcon: VueTypeValidableDef<any>;
|
|
690
|
-
itemIcon: VueTypeValidableDef<any>;
|
|
691
|
-
size: {
|
|
692
|
-
type: PropType<ButtonSize>;
|
|
693
|
-
default: ButtonSize;
|
|
694
|
-
};
|
|
695
|
-
mode: {
|
|
696
|
-
type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
697
|
-
default: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
698
|
-
};
|
|
699
|
-
bordered: {
|
|
700
|
-
type: BooleanConstructor;
|
|
701
|
-
default: boolean;
|
|
702
|
-
};
|
|
703
|
-
transitionName: StringConstructor;
|
|
704
|
-
choiceTransitionName: {
|
|
705
|
-
type: PropType<"">;
|
|
706
|
-
default: "";
|
|
707
|
-
};
|
|
708
|
-
popupClassName: StringConstructor;
|
|
709
|
-
dropdownClassName: StringConstructor;
|
|
710
|
-
placement: {
|
|
711
|
-
type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
|
|
712
|
-
default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
713
|
-
};
|
|
714
|
-
status: {
|
|
715
|
-
type: PropType<"" | "error" | "warning">;
|
|
716
|
-
default: "" | "error" | "warning";
|
|
717
|
-
};
|
|
718
|
-
'onUpdate:value': {
|
|
719
|
-
type: PropType<(val: SelectValue) => void>;
|
|
720
|
-
default: (val: SelectValue) => void;
|
|
721
|
-
};
|
|
722
|
-
children: PropType< VueNode[]>;
|
|
723
|
-
listHeight: NumberConstructor;
|
|
724
|
-
onMouseenter: PropType<(e: MouseEvent) => void>;
|
|
725
|
-
onMouseleave: PropType<(e: MouseEvent) => void>;
|
|
726
|
-
tabindex: NumberConstructor;
|
|
727
|
-
onClick: PropType<(e: MouseEvent) => void>;
|
|
728
|
-
onFocus: {
|
|
729
|
-
type: PropType<(e: FocusEvent) => void>;
|
|
730
|
-
};
|
|
731
|
-
onBlur: {
|
|
732
|
-
type: PropType<(e: FocusEvent) => void>;
|
|
733
|
-
};
|
|
734
|
-
onChange: PropType<(value: SelectValue, option: DefaultOptionType | DefaultOptionType[]) => void>;
|
|
735
|
-
onKeydown: PropType<(e: KeyboardEvent) => void>;
|
|
736
|
-
onKeyup: PropType<(e: KeyboardEvent) => void>;
|
|
737
|
-
onMousedown: PropType<(e: MouseEvent) => void>;
|
|
738
|
-
onSelect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
739
|
-
open: {
|
|
740
|
-
type: BooleanConstructor;
|
|
741
|
-
default: any;
|
|
742
|
-
};
|
|
743
|
-
animation: StringConstructor;
|
|
744
|
-
direction: {
|
|
745
|
-
type: PropType<"rtl" | "ltr">;
|
|
746
|
-
};
|
|
747
|
-
disabled: {
|
|
748
|
-
type: BooleanConstructor;
|
|
749
|
-
default: any;
|
|
750
|
-
};
|
|
751
|
-
prefixCls: StringConstructor;
|
|
752
|
-
id: StringConstructor;
|
|
753
|
-
autofocus: BooleanConstructor;
|
|
754
|
-
getPopupContainer: {
|
|
755
|
-
type: PropType<RenderDOMFunc>;
|
|
756
|
-
};
|
|
757
|
-
virtual: {
|
|
758
|
-
type: BooleanConstructor;
|
|
759
|
-
default: any;
|
|
760
|
-
};
|
|
761
|
-
dropdownMatchSelectWidth: {
|
|
762
|
-
type: PropType<number | boolean>;
|
|
763
|
-
default: any;
|
|
764
|
-
};
|
|
765
|
-
options: PropType<DefaultOptionType[]>;
|
|
766
|
-
showAction: {
|
|
767
|
-
type: PropType<("click" | "focus")[]>;
|
|
768
|
-
};
|
|
769
|
-
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
770
|
-
loading: {
|
|
771
|
-
type: BooleanConstructor;
|
|
772
|
-
default: any;
|
|
773
|
-
};
|
|
774
|
-
placeholder: VueTypeValidableDef<any>;
|
|
775
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
776
|
-
allowClear: {
|
|
777
|
-
type: BooleanConstructor;
|
|
778
|
-
default: any;
|
|
779
|
-
};
|
|
780
|
-
onSearch: PropType<(value: string) => void>;
|
|
781
|
-
fieldNames: PropType<FieldNames>;
|
|
782
|
-
dropdownStyle: {
|
|
783
|
-
type: PropType<CSSProperties>;
|
|
784
|
-
};
|
|
785
|
-
dropdownRender: {
|
|
786
|
-
type: PropType<DropdownRender>;
|
|
787
|
-
};
|
|
788
|
-
dropdownAlign: PropType<AlignType>;
|
|
789
|
-
showSearch: {
|
|
790
|
-
type: BooleanConstructor;
|
|
791
|
-
default: any;
|
|
792
|
-
};
|
|
793
|
-
searchValue: StringConstructor;
|
|
794
|
-
onInputKeyDown: PropType<(e: KeyboardEvent) => void>;
|
|
795
|
-
removeIcon: VueTypeValidableDef<any>;
|
|
796
|
-
maxTagCount: {
|
|
797
|
-
type: PropType<number | "responsive">;
|
|
798
|
-
};
|
|
799
|
-
maxTagTextLength: NumberConstructor;
|
|
800
|
-
maxTagPlaceholder: VueTypeValidableDef<any>;
|
|
801
|
-
tokenSeparators: {
|
|
802
|
-
type: PropType<string[]>;
|
|
803
|
-
};
|
|
804
|
-
tagRender: {
|
|
805
|
-
type: PropType<(props: CustomTagProps) => any>;
|
|
806
|
-
};
|
|
807
|
-
optionLabelRender: {
|
|
808
|
-
type: PropType<(option: Record<string, any>) => any>;
|
|
809
|
-
};
|
|
810
|
-
onClear: PropType<() => void>;
|
|
811
|
-
defaultOpen: {
|
|
812
|
-
type: BooleanConstructor;
|
|
813
|
-
default: any;
|
|
814
|
-
};
|
|
815
|
-
onDropdownVisibleChange: {
|
|
816
|
-
type: PropType<(open: boolean) => void>;
|
|
817
|
-
};
|
|
818
|
-
showArrow: {
|
|
819
|
-
type: BooleanConstructor;
|
|
820
|
-
default: any;
|
|
821
|
-
};
|
|
822
|
-
onPopupScroll: PropType<(e: UIEvent) => void>;
|
|
823
|
-
menuItemSelectedIcon: VueTypeValidableDef<any>;
|
|
824
|
-
listItemHeight: NumberConstructor;
|
|
825
|
-
inputValue: StringConstructor;
|
|
826
|
-
autoClearSearchValue: {
|
|
827
|
-
type: BooleanConstructor;
|
|
828
|
-
default: any;
|
|
829
|
-
};
|
|
830
|
-
filterOption: {
|
|
831
|
-
type: PropType<boolean | FilterFunc<DefaultOptionType>>;
|
|
832
|
-
default: any;
|
|
833
|
-
};
|
|
834
|
-
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
|
|
835
|
-
optionFilterProp: StringConstructor;
|
|
836
|
-
optionLabelProp: StringConstructor;
|
|
837
|
-
defaultActiveFirstOption: {
|
|
838
|
-
type: BooleanConstructor;
|
|
839
|
-
default: any;
|
|
840
|
-
};
|
|
841
|
-
onClickOption: PropType<(e: MouseEvent, value: SelectValue, selected: boolean) => boolean | Promise<boolean>>;
|
|
842
|
-
labelInValue: {
|
|
843
|
-
type: BooleanConstructor;
|
|
844
|
-
default: any;
|
|
845
|
-
};
|
|
846
|
-
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
847
|
-
size: ButtonSize;
|
|
848
|
-
value: SelectValue;
|
|
849
|
-
mode: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
850
|
-
open: boolean;
|
|
851
|
-
disabled: boolean;
|
|
852
|
-
autofocus: boolean;
|
|
853
|
-
virtual: boolean;
|
|
854
|
-
dropdownMatchSelectWidth: number | boolean;
|
|
855
|
-
status: "" | "error" | "warning";
|
|
856
|
-
defaultValue: SelectValue;
|
|
857
|
-
'onUpdate:value': (val: SelectValue) => void;
|
|
858
|
-
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
859
|
-
loading: boolean;
|
|
860
|
-
bordered: boolean;
|
|
861
|
-
allowClear: boolean;
|
|
862
|
-
showSearch: boolean;
|
|
863
|
-
choiceTransitionName: "";
|
|
864
|
-
defaultOpen: boolean;
|
|
865
|
-
showArrow: boolean;
|
|
866
|
-
autoClearSearchValue: boolean;
|
|
867
|
-
filterOption: boolean | FilterFunc<DefaultOptionType>;
|
|
868
|
-
defaultActiveFirstOption: boolean;
|
|
869
|
-
labelInValue: boolean;
|
|
870
|
-
}> | null;
|
|
871
|
-
}, any>;
|
|
464
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
872
465
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
873
466
|
export default _default;
|
|
874
467
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -83,7 +83,6 @@ const ne = { key: 0 }, pe = /* @__PURE__ */ _({
|
|
|
83
83
|
optionFilterProp: {},
|
|
84
84
|
optionLabelProp: {},
|
|
85
85
|
defaultActiveFirstOption: { type: Boolean, default: void 0 },
|
|
86
|
-
onClickOption: {},
|
|
87
86
|
labelInValue: { type: Boolean, default: void 0 },
|
|
88
87
|
emptyText: { default: "--" },
|
|
89
88
|
request: {},
|
|
@@ -107,11 +106,11 @@ const ne = { key: 0 }, pe = /* @__PURE__ */ _({
|
|
|
107
106
|
}).finally(() => {
|
|
108
107
|
u.value = !1;
|
|
109
108
|
});
|
|
110
|
-
}, 300), e = C,
|
|
109
|
+
}, 300), e = C, x = (o, t) => {
|
|
111
110
|
var n;
|
|
112
111
|
const l = ((n = e.fieldNames) == null ? void 0 : n.label) || "label";
|
|
113
112
|
return typeof (t == null ? void 0 : t[l]) == "string" && t[l].toLowerCase().indexOf(o.toLowerCase()) > -1;
|
|
114
|
-
}, { options: s, updateOptions: i } = te(e), c = y(), u = y((e == null ? void 0 : e.loading) || !1),
|
|
113
|
+
}, { options: s, updateOptions: i } = te(e), c = y(), u = y((e == null ? void 0 : e.loading) || !1), I = b;
|
|
115
114
|
async function f(o = !0) {
|
|
116
115
|
if (!g(e.request))
|
|
117
116
|
return;
|
|
@@ -127,7 +126,7 @@ const ne = { key: 0 }, pe = /* @__PURE__ */ _({
|
|
|
127
126
|
u.value = !1;
|
|
128
127
|
}
|
|
129
128
|
}
|
|
130
|
-
function
|
|
129
|
+
function O(o) {
|
|
131
130
|
var t;
|
|
132
131
|
(t = e.onFocus) == null || t.call(e, o), e.refetchOnFocus && r > 0 && !u.value && f(!0);
|
|
133
132
|
}
|
|
@@ -138,7 +137,7 @@ const ne = { key: 0 }, pe = /* @__PURE__ */ _({
|
|
|
138
137
|
}
|
|
139
138
|
f();
|
|
140
139
|
});
|
|
141
|
-
const { value: m, updateValue: P } = le(e,
|
|
140
|
+
const { value: m, updateValue: P } = le(e, I), V = oe("Select", e), k = w(() => {
|
|
142
141
|
var d, v;
|
|
143
142
|
const o = a(m);
|
|
144
143
|
if (!o)
|
|
@@ -165,7 +164,7 @@ const ne = { key: 0 }, pe = /* @__PURE__ */ _({
|
|
|
165
164
|
notFoundContent: u.value ? void 0 : null
|
|
166
165
|
} : {
|
|
167
166
|
showArrow: !0,
|
|
168
|
-
filterOption: Q(e == null ? void 0 : e.filterOption) ?
|
|
167
|
+
filterOption: Q(e == null ? void 0 : e.filterOption) ? x : e == null ? void 0 : e.filterOption
|
|
169
168
|
}), {
|
|
170
169
|
...ee(
|
|
171
170
|
X(e, [
|
|
@@ -206,7 +205,7 @@ const ne = { key: 0 }, pe = /* @__PURE__ */ _({
|
|
|
206
205
|
options: a(s),
|
|
207
206
|
loading: u.value,
|
|
208
207
|
"onUpdate:value": a(P),
|
|
209
|
-
onFocus:
|
|
208
|
+
onFocus: O
|
|
210
209
|
}), K({ _: 2 }, [
|
|
211
210
|
H(o.$slots, (l, n) => ({
|
|
212
211
|
name: n,
|