ep-craft 0.1.38 → 0.1.39
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/README.md +4 -4
- package/dist/components/affix/affix.d.ts +18 -18
- package/dist/components/alert/alert.d.ts +22 -22
- package/dist/components/anchor/anchor.d.ts +17 -17
- package/dist/components/anchor/constants.d.ts +1 -1
- package/dist/components/autocomplete/EpAutocomplete.d.ts +90 -90
- package/dist/components/autocomplete/autocomplete.d.ts +40 -40
- package/dist/components/avatar/avatar.d.ts +7 -7
- package/dist/components/badge/badge.d.ts +6 -6
- package/dist/components/breadcrumb/breadcrumb.d.ts +3 -3
- package/dist/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/dist/components/card/card.d.ts +4 -4
- package/dist/components/carousel/carousel.d.ts +12 -12
- package/dist/components/carousel/use-carousel.d.ts +1 -1
- package/dist/components/carousel-item/carousel-item.d.ts +2 -2
- package/dist/components/cascader/EpCascader.vue.d.ts +31 -31
- package/dist/components/cascader/cascader.d.ts +35 -35
- package/dist/components/cascader-panel/EpCascaderMenu.vue.d.ts +1 -1
- package/dist/components/cascader-panel/config.d.ts +11 -11
- package/dist/components/cascader-panel/store.d.ts +1 -1
- package/dist/components/cascader-panel/types.d.ts +1 -1
- package/dist/components/checkbox/src/checkbox.d.ts +3 -3
- package/dist/components/checkbox/src/composables/use-checkbox-event.d.ts +1 -1
- package/dist/components/checkbox-group/EpCheckboxGroup.vue.d.ts +16 -16
- package/dist/components/checkbox-group/src/checkbox-group.d.ts +9 -9
- package/dist/components/col/col.d.ts +10 -10
- package/dist/components/collapse/collapse.d.ts +3 -3
- package/dist/components/collapse-item/collapse-item.d.ts +4 -4
- package/dist/components/collapse-transition/index.d.ts +1 -1
- package/dist/components/color-picker/EpColorPicker.vue.d.ts +1 -1
- package/dist/components/color-picker/color-picker.d.ts +16 -16
- package/dist/components/color-picker-panel/EpColorPickerPanel.vue.d.ts +34 -34
- package/dist/components/color-picker-panel/color-picker-panel.d.ts +6 -6
- package/dist/components/color-picker-panel/props/predefine.d.ts +1 -1
- package/dist/components/config-provider/index.d.ts +25 -25
- package/dist/components/config-provider/src/config-provider-props.d.ts +6 -6
- package/dist/components/config-provider/src/constants.d.ts +3 -3
- package/dist/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
- package/dist/components/countdown/countdown.d.ts +3 -3
- package/dist/components/date-picker/src/date-picker.d.ts +22 -22
- package/dist/components/date-picker/src/props.d.ts +33 -33
- package/dist/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
- package/dist/components/date-picker-panel/src/composables/use-range-picker.d.ts +1 -1
- package/dist/components/date-picker-panel/src/composables/use-shortcut.d.ts +1 -1
- package/dist/components/date-picker-panel/src/constants.d.ts +1 -1
- package/dist/components/date-picker-panel/src/date-picker-com/basic-month-table.vue.d.ts +10 -10
- package/dist/components/date-picker-panel/src/date-picker-com/basic-year-table.vue.d.ts +10 -10
- package/dist/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +18 -18
- package/dist/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +2 -2
- package/dist/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +2 -2
- package/dist/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +2 -2
- package/dist/components/date-picker-panel/src/date-picker-panel.d.ts +33 -33
- package/dist/components/date-picker-panel/src/props/basic-date-table.d.ts +5 -5
- package/dist/components/date-picker-panel/src/props/basic-month-table.d.ts +5 -5
- package/dist/components/date-picker-panel/src/props/basic-year-table.d.ts +5 -5
- package/dist/components/date-picker-panel/src/props/date-picker-panel.d.ts +14 -14
- package/dist/components/date-picker-panel/src/props/panel-date-pick.d.ts +8 -8
- package/dist/components/date-picker-panel/src/props/panel-date-range.d.ts +6 -6
- package/dist/components/date-picker-panel/src/props/panel-month-range.d.ts +3 -3
- package/dist/components/date-picker-panel/src/props/panel-year-range.d.ts +3 -3
- package/dist/components/date-picker-panel/src/props/shared.d.ts +12 -12
- package/dist/components/descriptions/description.d.ts +7 -7
- package/dist/components/descriptions/descriptions-row.d.ts +1 -1
- package/dist/components/descriptions/descriptions.type.d.ts +1 -1
- package/dist/components/descriptions-item/description-item.d.ts +33 -33
- package/dist/components/dialog/constants.d.ts +1 -1
- package/dist/components/dialog/dialog-content.d.ts +8 -8
- package/dist/components/dialog/dialog.d.ts +17 -17
- package/dist/components/divider/src/divider.d.ts +3 -3
- package/dist/components/drawer/drawer.d.ts +22 -22
- package/dist/components/dropdown/index.d.ts +24 -24
- package/dist/components/dropdown/src/dropdown-item-impl.vue.d.ts +9 -9
- package/dist/components/dropdown/src/dropdown-item.vue.d.ts +13 -13
- package/dist/components/dropdown/src/dropdown.d.ts +25 -25
- package/dist/components/dropdown/src/dropdown.vue.d.ts +138 -138
- package/dist/components/dropdown/src/tokens.d.ts +1 -1
- package/dist/components/empty/empty.d.ts +2 -2
- package/dist/components/form/EpForm.vue.d.ts +1 -1
- package/dist/components/form/src/form-item.d.ts +11 -11
- package/dist/components/form/src/form.d.ts +11 -11
- package/dist/components/form/src/hooks/use-form-common-props.d.ts +1 -1
- package/dist/components/form/src/types.d.ts +2 -2
- package/dist/components/form/src/utils.d.ts +1 -1
- package/dist/components/icon/index.d.ts +1 -1
- package/dist/components/icon/src/icon.d.ts +1 -1
- package/dist/components/image/image.d.ts +13 -13
- package/dist/components/image-viewer/image-viewer.d.ts +9 -9
- package/dist/components/infinite-scroll/index.d.ts +2 -2
- package/dist/components/input/EpInput.vue.d.ts +1 -1
- package/dist/components/input/input.d.ts +24 -24
- package/dist/components/input-number/input-number.d.ts +16 -16
- package/dist/components/link/link.d.ts +6 -6
- package/dist/components/mention/EpMention.vue.d.ts +35 -35
- package/dist/components/mention/mention-dropdown.d.ts +1 -1
- package/dist/components/mention/mention.d.ts +36 -36
- package/dist/components/menu/menu.d.ts +46 -46
- package/dist/components/message/index.d.ts +1 -1
- package/dist/components/message/src/instance.d.ts +1 -1
- package/dist/components/message/src/message.d.ts +16 -16
- package/dist/components/message/src/message.vue.d.ts +1 -1
- package/dist/components/message-box/index.d.ts +1 -1
- package/dist/components/message-box/src/index.vue.d.ts +61 -61
- package/dist/components/message-box/src/message-box.type.d.ts +4 -4
- package/dist/components/notification/index.d.ts +1 -1
- package/dist/components/notification/src/notification.d.ts +13 -13
- package/dist/components/notification/src/notification.vue.d.ts +1 -1
- package/dist/components/overlay/overlay.d.ts +10 -10
- package/dist/components/page-header/page-header.d.ts +3 -3
- package/dist/components/pagination/src/components/jumper.d.ts +1 -1
- package/dist/components/pagination/src/components/next.d.ts +3 -3
- package/dist/components/pagination/src/components/pager.d.ts +2 -2
- package/dist/components/pagination/src/components/prev.d.ts +2 -2
- package/dist/components/pagination/src/components/sizes.d.ts +3 -3
- package/dist/components/pagination/src/components/sizes.vue.d.ts +6 -6
- package/dist/components/pagination/src/components/total.d.ts +1 -1
- package/dist/components/pagination/src/pagination.d.ts +36 -36
- package/dist/components/popconfirm/EpPopconfirm.vue.d.ts +3 -3
- package/dist/components/popconfirm/popconfirm.d.ts +11 -11
- package/dist/components/popover/index.d.ts +6 -6
- package/dist/components/popover/src/popover.d.ts +22 -22
- package/dist/components/popover/src/popover.vue.d.ts +3 -3
- package/dist/components/popper/index.d.ts +1 -1
- package/dist/components/popper/src/arrow.d.ts +2 -2
- package/dist/components/popper/src/composables/use-content-dom.d.ts +1 -1
- package/dist/components/popper/src/composables/use-content.d.ts +1 -1
- package/dist/components/popper/src/content.d.ts +44 -44
- package/dist/components/popper/src/content.vue.d.ts +2 -2
- package/dist/components/popper/src/popper.d.ts +2 -2
- package/dist/components/popper/src/utils.d.ts +2 -2
- package/dist/components/progress/src/progress.d.ts +10 -10
- package/dist/components/radio/constants.d.ts +1 -1
- package/dist/components/radio/radio.d.ts +29 -29
- package/dist/components/radio-button/radio-button.d.ts +22 -22
- package/dist/components/radio-group/radio-group.d.ts +35 -35
- package/dist/components/rate/EpRate.vue.d.ts +3 -3
- package/dist/components/rate/rate.d.ts +18 -18
- package/dist/components/result/result.d.ts +3 -3
- package/dist/components/roving-focus-group/src/roving-focus-group-impl.vue.d.ts +8 -8
- package/dist/components/roving-focus-group/src/roving-focus-group.d.ts +5 -5
- package/dist/components/row/row.d.ts +4 -4
- package/dist/components/scrollbar/index.d.ts +46 -46
- package/dist/components/scrollbar/src/bar.d.ts +1 -1
- package/dist/components/scrollbar/src/scrollbar.d.ts +10 -10
- package/dist/components/scrollbar/src/scrollbar.vue.d.ts +25 -25
- package/dist/components/segmented/segmented.d.ts +8 -8
- package/dist/components/select/index.d.ts +30 -30
- package/dist/components/select/select.d.ts +34 -34
- package/dist/components/select/select.vue.d.ts +170 -170
- package/dist/components/select/src/option.d.ts +2 -2
- package/dist/components/select/src/option.vue.d.ts +5 -5
- package/dist/components/select/src/useOption.d.ts +2 -2
- package/dist/components/select/src/useSelect.d.ts +7 -7
- package/dist/components/select-v2/src/defaults.d.ts +37 -37
- package/dist/components/select-v2/src/select-dropdown.d.ts +2 -2
- package/dist/components/select-v2/src/select.vue.d.ts +115 -115
- package/dist/components/select-v2/src/token.d.ts +1 -1
- package/dist/components/select-v2/src/useSelect.d.ts +3 -3
- package/dist/components/skeleton/skeleton.d.ts +5 -5
- package/dist/components/skeleton-item/skeleton-item.d.ts +1 -1
- package/dist/components/slider/EpSlider.vue.d.ts +52 -52
- package/dist/components/slider/EpSliderButton.vue.d.ts +3 -3
- package/dist/components/slider/button.d.ts +2 -2
- package/dist/components/slider/composables/use-slide.d.ts +1 -1
- package/dist/components/slider/composables/use-slider-button.d.ts +3 -3
- package/dist/components/slider/composables/use-watch.d.ts +1 -1
- package/dist/components/slider/marker.d.ts +4 -4
- package/dist/components/slider/slider.d.ts +19 -19
- package/dist/components/space/space.d.ts +26 -26
- package/dist/components/space/use-space.d.ts +1 -1
- package/dist/components/statistic/statistic.d.ts +5 -5
- package/dist/components/step/EpStep.vue.d.ts +1 -1
- package/dist/components/step/step.d.ts +5 -5
- package/dist/components/steps/steps.d.ts +7 -7
- package/dist/components/sub-menu/sub-menu.d.ts +19 -19
- package/dist/components/switch/switch.d.ts +17 -17
- package/dist/components/tab-pane/tab-pane.d.ts +10 -10
- package/dist/components/table/src/filter-panel.vue.d.ts +140 -140
- package/dist/components/table/src/store/index.d.ts +2 -2
- package/dist/components/table/src/table/defaults.d.ts +3 -3
- package/dist/components/table/src/table-header/event-helper.d.ts +1 -1
- package/dist/components/table/src/table-header/index.d.ts +11 -11
- package/dist/components/table/src/table.vue.d.ts +2 -2
- package/dist/components/table/src/util.d.ts +1 -1
- package/dist/components/tabs/tab-bar.d.ts +3 -3
- package/dist/components/tabs/tab-nav.d.ts +15 -15
- package/dist/components/tabs/tabs.d.ts +22 -22
- package/dist/components/text/src/text.d.ts +5 -5
- package/dist/components/time-picker/src/common/picker.vue.d.ts +76 -76
- package/dist/components/time-picker/src/common/props.d.ts +33 -33
- package/dist/components/time-picker/src/props/basic-time-spinner.d.ts +2 -2
- package/dist/components/time-picker/src/props/panel-time-picker.d.ts +2 -2
- package/dist/components/time-picker/src/props/panel-time-range.d.ts +2 -2
- package/dist/components/time-picker/src/props/shared.d.ts +2 -2
- package/dist/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +6 -6
- package/dist/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +5 -5
- package/dist/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +5 -5
- package/dist/components/time-picker/src/time-picker.d.ts +9 -9
- package/dist/components/time-select/EpTimeSelect.vue.d.ts +2 -2
- package/dist/components/time-select/time-select.d.ts +21 -21
- package/dist/components/timeline/timeline.d.ts +4 -4
- package/dist/components/timeline-item/timeline-item.d.ts +7 -7
- package/dist/components/tooltip/index.d.ts +10 -10
- package/dist/components/tooltip/src/constants.d.ts +1 -1
- package/dist/components/tooltip/src/content.d.ts +24 -24
- package/dist/components/tooltip/src/content.vue.d.ts +4 -4
- package/dist/components/tooltip/src/tooltip.d.ts +29 -29
- package/dist/components/tooltip/src/tooltip.vue.d.ts +6 -6
- package/dist/components/tooltip/src/trigger.d.ts +5 -5
- package/dist/components/tooltip/src/trigger.vue.d.ts +2 -2
- package/dist/components/tooltip/src/utils.d.ts +1 -1
- package/dist/components/tour/content.d.ts +5 -5
- package/dist/components/tour/helper.d.ts +1 -1
- package/dist/components/tour/mask.d.ts +4 -4
- package/dist/components/tour/tour.d.ts +12 -12
- package/dist/components/tour-step/step.d.ts +9 -9
- package/dist/components/transfer/composables/use-check.d.ts +80 -80
- package/dist/components/transfer/transfer-panel.d.ts +5 -5
- package/dist/components/transfer/transfer.d.ts +11 -11
- package/dist/components/tree/src/model/node.d.ts +1 -1
- package/dist/components/tree/src/tree-node.vue.d.ts +8 -8
- package/dist/components/tree/src/tree.d.ts +10 -10
- package/dist/components/tree/src/tree.vue.d.ts +28 -28
- package/dist/components/tree-select/src/select.d.ts +2 -2
- package/dist/components/tree-select/src/tree-select-option.d.ts +6 -6
- package/dist/components/tree-select/src/tree-select.vue.d.ts +32 -32
- package/dist/components/tree-select/src/tree.d.ts +2 -2
- package/dist/components/tree-select/src/utils.d.ts +1 -1
- package/dist/components/upload/src/upload-content.d.ts +23 -23
- package/dist/components/upload/src/upload-content.vue.d.ts +1 -1
- package/dist/components/upload/src/upload-dragger.d.ts +1 -1
- package/dist/components/upload/src/upload-list.d.ts +5 -5
- package/dist/components/upload/src/upload.d.ts +34 -34
- package/dist/components/virtual-list/src/builders/build-list.d.ts +35 -35
- package/dist/components/virtual-list/src/components/dynamic-size-list.d.ts +35 -35
- package/dist/components/virtual-list/src/components/fixed-size-list.d.ts +35 -35
- package/dist/components/virtual-list/src/components/scrollbar.d.ts +9 -9
- package/dist/components/virtual-list/src/props.d.ts +52 -52
- package/dist/components/watermark/watermark.d.ts +4 -4
- package/dist/ep-craft.js +388 -389
- package/dist/hooks/use-delayed-toggle/index.d.ts +3 -3
- package/dist/hooks/use-empty-values/index.d.ts +1 -1
- package/dist/hooks/use-locale/index.d.ts +3 -3
- package/dist/hooks/use-model-toggle/index.d.ts +2 -2
- package/dist/hooks/use-popper/index.d.ts +1 -1
- package/dist/hooks/use-size/index.d.ts +3 -3
- package/dist/index.d.ts +30 -80
- package/dist/public-components.d.ts +10 -0
- package/dist/public-components.js +113 -0
- package/dist/resolver.d.ts +1 -1
- package/dist/resolver.js +12 -17
- package/dist/utils/vue/size.d.ts +1 -1
- package/dist/utils/vue/validator.d.ts +1 -1
- package/package.json +7 -6
- package/dist/vendored-components.js +0 -214
|
@@ -2,8 +2,8 @@ import type { ExtractPropTypes, ExtractPublicPropTypes } from 'vue';
|
|
|
2
2
|
import type Next from './next.vue';
|
|
3
3
|
export declare const paginationNextProps: {
|
|
4
4
|
readonly disabled: BooleanConstructor;
|
|
5
|
-
readonly currentPage: import("
|
|
6
|
-
readonly pageCount: import("
|
|
5
|
+
readonly currentPage: import("../../../../utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
|
|
6
|
+
readonly pageCount: import("../../../../utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 50, boolean>;
|
|
7
7
|
readonly nextText: {
|
|
8
8
|
readonly type: import("vue").PropType<string>;
|
|
9
9
|
readonly required: false;
|
|
@@ -11,7 +11,7 @@ export declare const paginationNextProps: {
|
|
|
11
11
|
__epPropKey: true;
|
|
12
12
|
};
|
|
13
13
|
readonly nextIcon: {
|
|
14
|
-
readonly type: import("vue").PropType<import("
|
|
14
|
+
readonly type: import("vue").PropType<import("../../../../utils/index").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown>>;
|
|
15
15
|
readonly required: false;
|
|
16
16
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
17
17
|
__epPropKey: true;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { ExtractPropTypes, ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
import type Pager from './pager.vue';
|
|
3
3
|
export declare const paginationPagerProps: {
|
|
4
|
-
readonly currentPage: import("
|
|
4
|
+
readonly currentPage: import("../../../../utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
|
|
5
5
|
readonly pageCount: {
|
|
6
6
|
readonly type: import("vue").PropType<number>;
|
|
7
7
|
readonly required: true;
|
|
8
8
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9
9
|
__epPropKey: true;
|
|
10
10
|
};
|
|
11
|
-
readonly pagerCount: import("
|
|
11
|
+
readonly pagerCount: import("../../../../utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
|
|
12
12
|
readonly disabled: BooleanConstructor;
|
|
13
13
|
};
|
|
14
14
|
export type PaginationPagerProps = ExtractPropTypes<typeof paginationPagerProps>;
|
|
@@ -2,7 +2,7 @@ import type { ExtractPropTypes, ExtractPublicPropTypes } from 'vue';
|
|
|
2
2
|
import type Prev from './prev.vue';
|
|
3
3
|
export declare const paginationPrevProps: {
|
|
4
4
|
readonly disabled: BooleanConstructor;
|
|
5
|
-
readonly currentPage: import("
|
|
5
|
+
readonly currentPage: import("../../../../utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
|
|
6
6
|
readonly prevText: {
|
|
7
7
|
readonly type: import("vue").PropType<string>;
|
|
8
8
|
readonly required: false;
|
|
@@ -10,7 +10,7 @@ export declare const paginationPrevProps: {
|
|
|
10
10
|
__epPropKey: true;
|
|
11
11
|
};
|
|
12
12
|
readonly prevIcon: {
|
|
13
|
-
readonly type: import("vue").PropType<import("
|
|
13
|
+
readonly type: import("vue").PropType<import("../../../../utils/index").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown>>;
|
|
14
14
|
readonly required: false;
|
|
15
15
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
16
16
|
__epPropKey: true;
|
|
@@ -7,7 +7,7 @@ export declare const paginationSizesProps: {
|
|
|
7
7
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
8
8
|
__epPropKey: true;
|
|
9
9
|
};
|
|
10
|
-
readonly pageSizes: import("
|
|
10
|
+
readonly pageSizes: import("../../../../utils/index").EpPropFinalized<(new (...args: any[]) => number[]) | (() => number[]) | (((new (...args: any[]) => number[]) | (() => number[])) | null)[], unknown, unknown, () => [10, 20, 30, 40, 50, 100], boolean>;
|
|
11
11
|
readonly popperClass: {
|
|
12
12
|
readonly type: import("vue").PropType<string>;
|
|
13
13
|
readonly required: false;
|
|
@@ -15,7 +15,7 @@ export declare const paginationSizesProps: {
|
|
|
15
15
|
__epPropKey: true;
|
|
16
16
|
};
|
|
17
17
|
readonly popperStyle: {
|
|
18
|
-
readonly type: import("vue").PropType<import("
|
|
18
|
+
readonly type: import("vue").PropType<import("../../../../utils/index").EpPropMergeType<(new (...args: any[]) => string | CSSProperties) | (() => string | CSSProperties) | (((new (...args: any[]) => string | CSSProperties) | (() => string | CSSProperties)) | null)[], unknown, unknown>>;
|
|
19
19
|
readonly required: false;
|
|
20
20
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
21
21
|
__epPropKey: true;
|
|
@@ -23,7 +23,7 @@ export declare const paginationSizesProps: {
|
|
|
23
23
|
readonly disabled: BooleanConstructor;
|
|
24
24
|
readonly teleported: BooleanConstructor;
|
|
25
25
|
readonly size: {
|
|
26
|
-
readonly type: import("vue").PropType<import("
|
|
26
|
+
readonly type: import("vue").PropType<import("../../../../utils/index").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
27
27
|
readonly required: false;
|
|
28
28
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
29
29
|
__epPropKey: true;
|
|
@@ -5,7 +5,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5
5
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6
6
|
__epPropKey: true;
|
|
7
7
|
};
|
|
8
|
-
readonly pageSizes: import("
|
|
8
|
+
readonly pageSizes: import("../../../../utils/index").EpPropFinalized<(new (...args: any[]) => number[]) | (() => number[]) | (((new (...args: any[]) => number[]) | (() => number[])) | null)[], unknown, unknown, () => [10, 20, 30, 40, 50, 100], boolean>;
|
|
9
9
|
readonly popperClass: {
|
|
10
10
|
readonly type: import("vue").PropType<string>;
|
|
11
11
|
readonly required: false;
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
13
13
|
__epPropKey: true;
|
|
14
14
|
};
|
|
15
15
|
readonly popperStyle: {
|
|
16
|
-
readonly type: import("vue").PropType<import("
|
|
16
|
+
readonly type: import("vue").PropType<import("../../../../utils/index").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | (((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties)) | null)[], unknown, unknown>>;
|
|
17
17
|
readonly required: false;
|
|
18
18
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
19
19
|
__epPropKey: true;
|
|
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
21
21
|
readonly disabled: BooleanConstructor;
|
|
22
22
|
readonly teleported: BooleanConstructor;
|
|
23
23
|
readonly size: {
|
|
24
|
-
readonly type: import("vue").PropType<import("
|
|
24
|
+
readonly type: import("vue").PropType<import("../../../../utils/index").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
25
25
|
readonly required: false;
|
|
26
26
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
27
27
|
__epPropKey: true;
|
|
@@ -36,7 +36,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
36
36
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
37
37
|
__epPropKey: true;
|
|
38
38
|
};
|
|
39
|
-
readonly pageSizes: import("
|
|
39
|
+
readonly pageSizes: import("../../../../utils/index").EpPropFinalized<(new (...args: any[]) => number[]) | (() => number[]) | (((new (...args: any[]) => number[]) | (() => number[])) | null)[], unknown, unknown, () => [10, 20, 30, 40, 50, 100], boolean>;
|
|
40
40
|
readonly popperClass: {
|
|
41
41
|
readonly type: import("vue").PropType<string>;
|
|
42
42
|
readonly required: false;
|
|
@@ -44,7 +44,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
44
44
|
__epPropKey: true;
|
|
45
45
|
};
|
|
46
46
|
readonly popperStyle: {
|
|
47
|
-
readonly type: import("vue").PropType<import("
|
|
47
|
+
readonly type: import("vue").PropType<import("../../../../utils/index").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | (((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties)) | null)[], unknown, unknown>>;
|
|
48
48
|
readonly required: false;
|
|
49
49
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
50
50
|
__epPropKey: true;
|
|
@@ -52,7 +52,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
52
52
|
readonly disabled: BooleanConstructor;
|
|
53
53
|
readonly teleported: BooleanConstructor;
|
|
54
54
|
readonly size: {
|
|
55
|
-
readonly type: import("vue").PropType<import("
|
|
55
|
+
readonly type: import("vue").PropType<import("../../../../utils/index").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
56
56
|
readonly required: false;
|
|
57
57
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
58
58
|
__epPropKey: true;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type Total from './total.vue';
|
|
2
2
|
import type { ExtractPropTypes, ExtractPublicPropTypes } from 'vue';
|
|
3
3
|
export declare const paginationTotalProps: {
|
|
4
|
-
readonly total: import("
|
|
4
|
+
readonly total: import("../../../../utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 1000, boolean>;
|
|
5
5
|
};
|
|
6
6
|
export type PaginationTotalProps = ExtractPropTypes<typeof paginationTotalProps>;
|
|
7
7
|
export type PaginationTotalPropsPublic = ExtractPublicPropTypes<typeof paginationTotalProps>;
|
|
@@ -4,26 +4,26 @@ export declare const paginationProps: {
|
|
|
4
4
|
readonly defaultPageSize: NumberConstructor;
|
|
5
5
|
readonly total: NumberConstructor;
|
|
6
6
|
readonly pageCount: NumberConstructor;
|
|
7
|
-
readonly pagerCount: import("
|
|
7
|
+
readonly pagerCount: import("../../../utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
|
|
8
8
|
readonly currentPage: NumberConstructor;
|
|
9
9
|
readonly defaultCurrentPage: NumberConstructor;
|
|
10
|
-
readonly layout: import("
|
|
11
|
-
readonly pageSizes: import("
|
|
12
|
-
readonly popperClass: import("
|
|
10
|
+
readonly layout: import("../../../utils/index").EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
11
|
+
readonly pageSizes: import("../../../utils/index").EpPropFinalized<(new (...args: any[]) => number[]) | (() => number[]) | (((new (...args: any[]) => number[]) | (() => number[])) | null)[], unknown, unknown, () => [10, 20, 30, 40, 50, 100], boolean>;
|
|
12
|
+
readonly popperClass: import("../../../utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
13
13
|
readonly popperStyle: {
|
|
14
|
-
readonly type: import("vue").PropType<import("
|
|
14
|
+
readonly type: import("vue").PropType<import("../../../utils/index").EpPropMergeType<(new (...args: any[]) => string | CSSProperties) | (() => string | CSSProperties) | (((new (...args: any[]) => string | CSSProperties) | (() => string | CSSProperties)) | null)[], unknown, unknown>>;
|
|
15
15
|
readonly required: false;
|
|
16
16
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
17
17
|
__epPropKey: true;
|
|
18
18
|
};
|
|
19
|
-
readonly prevText: import("
|
|
20
|
-
readonly prevIcon: import("
|
|
21
|
-
readonly nextText: import("
|
|
22
|
-
readonly nextIcon: import("
|
|
23
|
-
readonly teleported: import("
|
|
19
|
+
readonly prevText: import("../../../utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
20
|
+
readonly prevIcon: import("../../../utils/index").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, () => import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, boolean>;
|
|
21
|
+
readonly nextText: import("../../../utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
22
|
+
readonly nextIcon: import("../../../utils/index").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, () => import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, boolean>;
|
|
23
|
+
readonly teleported: import("../../../utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
24
24
|
readonly small: BooleanConstructor;
|
|
25
25
|
readonly size: {
|
|
26
|
-
readonly type: import("vue").PropType<import("
|
|
26
|
+
readonly type: import("vue").PropType<import("../../../utils/index").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
27
27
|
readonly required: false;
|
|
28
28
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
29
29
|
__epPropKey: true;
|
|
@@ -50,26 +50,26 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
50
50
|
readonly defaultPageSize: NumberConstructor;
|
|
51
51
|
readonly total: NumberConstructor;
|
|
52
52
|
readonly pageCount: NumberConstructor;
|
|
53
|
-
readonly pagerCount: import("
|
|
53
|
+
readonly pagerCount: import("../../../utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
|
|
54
54
|
readonly currentPage: NumberConstructor;
|
|
55
55
|
readonly defaultCurrentPage: NumberConstructor;
|
|
56
|
-
readonly layout: import("
|
|
57
|
-
readonly pageSizes: import("
|
|
58
|
-
readonly popperClass: import("
|
|
56
|
+
readonly layout: import("../../../utils/index").EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
57
|
+
readonly pageSizes: import("../../../utils/index").EpPropFinalized<(new (...args: any[]) => number[]) | (() => number[]) | (((new (...args: any[]) => number[]) | (() => number[])) | null)[], unknown, unknown, () => [10, 20, 30, 40, 50, 100], boolean>;
|
|
58
|
+
readonly popperClass: import("../../../utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
59
59
|
readonly popperStyle: {
|
|
60
|
-
readonly type: import("vue").PropType<import("
|
|
60
|
+
readonly type: import("vue").PropType<import("../../../utils/index").EpPropMergeType<(new (...args: any[]) => string | CSSProperties) | (() => string | CSSProperties) | (((new (...args: any[]) => string | CSSProperties) | (() => string | CSSProperties)) | null)[], unknown, unknown>>;
|
|
61
61
|
readonly required: false;
|
|
62
62
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
63
63
|
__epPropKey: true;
|
|
64
64
|
};
|
|
65
|
-
readonly prevText: import("
|
|
66
|
-
readonly prevIcon: import("
|
|
67
|
-
readonly nextText: import("
|
|
68
|
-
readonly nextIcon: import("
|
|
69
|
-
readonly teleported: import("
|
|
65
|
+
readonly prevText: import("../../../utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
66
|
+
readonly prevIcon: import("../../../utils/index").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, () => import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, boolean>;
|
|
67
|
+
readonly nextText: import("../../../utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
68
|
+
readonly nextIcon: import("../../../utils/index").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, () => import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, boolean>;
|
|
69
|
+
readonly teleported: import("../../../utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
70
70
|
readonly small: BooleanConstructor;
|
|
71
71
|
readonly size: {
|
|
72
|
-
readonly type: import("vue").PropType<import("
|
|
72
|
+
readonly type: import("vue").PropType<import("../../../utils/index").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
73
73
|
readonly required: false;
|
|
74
74
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
75
75
|
__epPropKey: true;
|
|
@@ -93,26 +93,26 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
93
93
|
readonly defaultPageSize: NumberConstructor;
|
|
94
94
|
readonly total: NumberConstructor;
|
|
95
95
|
readonly pageCount: NumberConstructor;
|
|
96
|
-
readonly pagerCount: import("
|
|
96
|
+
readonly pagerCount: import("../../../utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
|
|
97
97
|
readonly currentPage: NumberConstructor;
|
|
98
98
|
readonly defaultCurrentPage: NumberConstructor;
|
|
99
|
-
readonly layout: import("
|
|
100
|
-
readonly pageSizes: import("
|
|
101
|
-
readonly popperClass: import("
|
|
99
|
+
readonly layout: import("../../../utils/index").EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
100
|
+
readonly pageSizes: import("../../../utils/index").EpPropFinalized<(new (...args: any[]) => number[]) | (() => number[]) | (((new (...args: any[]) => number[]) | (() => number[])) | null)[], unknown, unknown, () => [10, 20, 30, 40, 50, 100], boolean>;
|
|
101
|
+
readonly popperClass: import("../../../utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
102
102
|
readonly popperStyle: {
|
|
103
|
-
readonly type: import("vue").PropType<import("
|
|
103
|
+
readonly type: import("vue").PropType<import("../../../utils/index").EpPropMergeType<(new (...args: any[]) => string | CSSProperties) | (() => string | CSSProperties) | (((new (...args: any[]) => string | CSSProperties) | (() => string | CSSProperties)) | null)[], unknown, unknown>>;
|
|
104
104
|
readonly required: false;
|
|
105
105
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
106
106
|
__epPropKey: true;
|
|
107
107
|
};
|
|
108
|
-
readonly prevText: import("
|
|
109
|
-
readonly prevIcon: import("
|
|
110
|
-
readonly nextText: import("
|
|
111
|
-
readonly nextIcon: import("
|
|
112
|
-
readonly teleported: import("
|
|
108
|
+
readonly prevText: import("../../../utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
109
|
+
readonly prevIcon: import("../../../utils/index").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, () => import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, boolean>;
|
|
110
|
+
readonly nextText: import("../../../utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
111
|
+
readonly nextIcon: import("../../../utils/index").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, () => import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, boolean>;
|
|
112
|
+
readonly teleported: import("../../../utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
113
113
|
readonly small: BooleanConstructor;
|
|
114
114
|
readonly size: {
|
|
115
|
-
readonly type: import("vue").PropType<import("
|
|
115
|
+
readonly type: import("vue").PropType<import("../../../utils/index").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
116
116
|
readonly required: false;
|
|
117
117
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
118
118
|
__epPropKey: true;
|
|
@@ -134,12 +134,12 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
134
134
|
readonly layout: string;
|
|
135
135
|
readonly background: boolean;
|
|
136
136
|
readonly disabled: boolean;
|
|
137
|
-
readonly teleported: import("
|
|
137
|
+
readonly teleported: import("../../../utils/index").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
138
138
|
readonly popperClass: string;
|
|
139
139
|
readonly prevText: string;
|
|
140
|
-
readonly prevIcon: import("
|
|
140
|
+
readonly prevIcon: import("../../../utils/index").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown>;
|
|
141
141
|
readonly nextText: string;
|
|
142
|
-
readonly nextIcon: import("
|
|
142
|
+
readonly nextIcon: import("../../../utils/index").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown>;
|
|
143
143
|
readonly pageSizes: number[];
|
|
144
144
|
readonly pagerCount: number;
|
|
145
145
|
readonly hideOnSinglePage: boolean;
|
|
@@ -18,13 +18,13 @@ declare const __VLS_component: import("vue").DefineComponent<PopconfirmProps, {
|
|
|
18
18
|
onCancel?: ((e: MouseEvent) => any) | undefined;
|
|
19
19
|
onConfirm?: ((e: MouseEvent) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
|
-
icon: import("
|
|
21
|
+
icon: import("../../utils/index").IconPropType;
|
|
22
22
|
width: string | number;
|
|
23
23
|
teleported: boolean;
|
|
24
24
|
effect: import("../popper").PopperEffect;
|
|
25
25
|
hideAfter: number;
|
|
26
|
-
confirmButtonType: import("
|
|
27
|
-
cancelButtonType: import("
|
|
26
|
+
confirmButtonType: import("../button/index").ButtonType;
|
|
27
|
+
cancelButtonType: import("../button/index").ButtonType;
|
|
28
28
|
iconColor: string;
|
|
29
29
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
30
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ExtractPublicPropTypes } from 'vue';
|
|
2
|
-
import type { ButtonType } from '
|
|
3
|
-
import type { ElTooltipContentProps, ElTooltipTriggerProps } from '
|
|
4
|
-
import type { IconPropType } from '
|
|
2
|
+
import type { ButtonType } from '../button/index';
|
|
3
|
+
import type { ElTooltipContentProps, ElTooltipTriggerProps } from '../tooltip/index';
|
|
4
|
+
import type { IconPropType } from '../../utils/index';
|
|
5
5
|
export interface PopconfirmProps {
|
|
6
6
|
/**
|
|
7
7
|
* @description Title
|
|
@@ -68,22 +68,22 @@ export declare const popconfirmProps: {
|
|
|
68
68
|
readonly title: StringConstructor;
|
|
69
69
|
readonly confirmButtonText: StringConstructor;
|
|
70
70
|
readonly cancelButtonText: StringConstructor;
|
|
71
|
-
readonly confirmButtonType: import("
|
|
72
|
-
readonly cancelButtonType: import("
|
|
73
|
-
readonly icon: import("
|
|
74
|
-
readonly iconColor: import("
|
|
71
|
+
readonly confirmButtonType: import("../../utils/index").EpPropFinalized<StringConstructor, "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger", unknown, "primary", boolean>;
|
|
72
|
+
readonly cancelButtonType: import("../../utils/index").EpPropFinalized<StringConstructor, "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger", unknown, "text", boolean>;
|
|
73
|
+
readonly icon: import("../../utils/index").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, () => import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, boolean>;
|
|
74
|
+
readonly iconColor: import("../../utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "#f90", boolean>;
|
|
75
75
|
readonly hideIcon: BooleanConstructor;
|
|
76
|
-
readonly hideAfter: import("
|
|
76
|
+
readonly hideAfter: import("../../utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
77
77
|
readonly effect: {
|
|
78
78
|
readonly default: "light";
|
|
79
|
-
readonly type: import("vue").PropType<import("
|
|
79
|
+
readonly type: import("vue").PropType<import("../../utils/index").EpPropMergeType<(new (...args: any[]) => string) | (() => import("../popper").PopperEffect) | (((new (...args: any[]) => string) | (() => import("../popper").PopperEffect)) | null)[], unknown, unknown>>;
|
|
80
80
|
readonly required: false;
|
|
81
81
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
82
82
|
readonly __epPropKey: true;
|
|
83
83
|
};
|
|
84
|
-
readonly teleported: import("
|
|
84
|
+
readonly teleported: import("../../utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
85
85
|
readonly persistent: BooleanConstructor;
|
|
86
|
-
readonly width: import("
|
|
86
|
+
readonly width: import("../../utils/index").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 150, boolean>;
|
|
87
87
|
readonly virtualTriggering: BooleanConstructor;
|
|
88
88
|
readonly virtualRef: {
|
|
89
89
|
readonly type: import("vue").PropType<import("../popper").Measurable>;
|
|
@@ -22,13 +22,13 @@ export declare const EpPopover: ({
|
|
|
22
22
|
offset: number;
|
|
23
23
|
tabindex: string | number;
|
|
24
24
|
teleported: boolean;
|
|
25
|
-
placement: import("
|
|
25
|
+
placement: import("@popperjs/core").Placement;
|
|
26
26
|
effect: import("../popper").PopperEffect;
|
|
27
27
|
showAfter: number;
|
|
28
28
|
hideAfter: number;
|
|
29
29
|
autoClose: number;
|
|
30
30
|
trigger: import("../../utils").Arrayable<import("../tooltip").TooltipTriggerType>;
|
|
31
|
-
popperOptions: Partial<import("
|
|
31
|
+
popperOptions: Partial<import("@popperjs/core").Options>;
|
|
32
32
|
enterable: boolean;
|
|
33
33
|
popperStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
34
34
|
triggerKeys: string[];
|
|
@@ -57,13 +57,13 @@ export declare const EpPopover: ({
|
|
|
57
57
|
offset: number;
|
|
58
58
|
tabindex: string | number;
|
|
59
59
|
teleported: boolean;
|
|
60
|
-
placement: import("
|
|
60
|
+
placement: import("@popperjs/core").Placement;
|
|
61
61
|
effect: import("../popper").PopperEffect;
|
|
62
62
|
showAfter: number;
|
|
63
63
|
hideAfter: number;
|
|
64
64
|
autoClose: number;
|
|
65
65
|
trigger: import("../../utils").Arrayable<import("../tooltip").TooltipTriggerType>;
|
|
66
|
-
popperOptions: Partial<import("
|
|
66
|
+
popperOptions: Partial<import("@popperjs/core").Options>;
|
|
67
67
|
enterable: boolean;
|
|
68
68
|
popperStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
69
69
|
triggerKeys: string[];
|
|
@@ -95,13 +95,13 @@ export declare const EpPopover: ({
|
|
|
95
95
|
offset: number;
|
|
96
96
|
tabindex: string | number;
|
|
97
97
|
teleported: boolean;
|
|
98
|
-
placement: import("
|
|
98
|
+
placement: import("@popperjs/core").Placement;
|
|
99
99
|
effect: import("../popper").PopperEffect;
|
|
100
100
|
showAfter: number;
|
|
101
101
|
hideAfter: number;
|
|
102
102
|
autoClose: number;
|
|
103
103
|
trigger: import("../../utils").Arrayable<import("../tooltip").TooltipTriggerType>;
|
|
104
|
-
popperOptions: Partial<import("
|
|
104
|
+
popperOptions: Partial<import("@popperjs/core").Options>;
|
|
105
105
|
enterable: boolean;
|
|
106
106
|
popperStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
107
107
|
triggerKeys: string[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ExtractPublicPropTypes, PropType } from 'vue';
|
|
2
2
|
import type Popover from './popover.vue';
|
|
3
|
-
import type { Placement } from '
|
|
3
|
+
import type { Placement } from '../../popper/index';
|
|
4
4
|
import type { Options } from '@popperjs/core';
|
|
5
|
-
import type { ElTooltipContentProps, UseTooltipTriggerProps } from '
|
|
5
|
+
import type { ElTooltipContentProps, UseTooltipTriggerProps } from '../../tooltip/index';
|
|
6
6
|
export interface PopoverProps {
|
|
7
7
|
/**
|
|
8
8
|
* @description how the popover is triggered, not valid in controlled mode
|
|
@@ -105,18 +105,18 @@ export interface PopoverProps {
|
|
|
105
105
|
* @deprecated Removed after 3.0.0, Use `PopoverProps` instead.
|
|
106
106
|
*/
|
|
107
107
|
export declare const popoverProps: {
|
|
108
|
-
readonly trigger: import("
|
|
109
|
-
readonly triggerKeys: import("
|
|
110
|
-
readonly placement: import("
|
|
108
|
+
readonly trigger: import("../../../utils/index").EpPropFinalized<(new (...args: any[]) => "click" | "focus" | "contextmenu" | "hover" | import("../../tooltip/index").TooltipTriggerType[]) | (() => import("../../../utils/index").Arrayable<import("../../tooltip/index").TooltipTriggerType>) | (((new (...args: any[]) => "click" | "focus" | "contextmenu" | "hover" | import("../../tooltip/index").TooltipTriggerType[]) | (() => import("../../../utils/index").Arrayable<import("../../tooltip/index").TooltipTriggerType>)) | null)[], unknown, unknown, "hover", boolean>;
|
|
109
|
+
readonly triggerKeys: import("../../../utils/index").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => string[], boolean>;
|
|
110
|
+
readonly placement: import("../../../utils/index").EpPropFinalized<(new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], unknown, unknown, "bottom", boolean>;
|
|
111
111
|
readonly disabled: BooleanConstructor;
|
|
112
|
-
readonly visible: import("
|
|
112
|
+
readonly visible: import("../../../utils/index").EpPropFinalized<(new (...args: any[]) => boolean) | (() => boolean | null) | (((new (...args: any[]) => boolean) | (() => boolean | null)) | null)[], unknown, unknown, null, boolean>;
|
|
113
113
|
readonly transition: StringConstructor;
|
|
114
|
-
readonly popperOptions: import("
|
|
115
|
-
readonly tabindex: import("
|
|
116
|
-
readonly content: import("
|
|
117
|
-
readonly popperStyle: import("
|
|
114
|
+
readonly popperOptions: import("../../../utils/index").EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | (((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>)) | null)[], unknown, unknown, () => {}, boolean>;
|
|
115
|
+
readonly tabindex: import("../../../utils/index").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown, 0, boolean>;
|
|
116
|
+
readonly content: import("../../../utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
117
|
+
readonly popperStyle: import("../../../utils/index").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | (((new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
118
118
|
readonly popperClass: {
|
|
119
|
-
readonly type: PropType<import("
|
|
119
|
+
readonly type: PropType<import("../../../utils/index").EpPropMergeType<(new (...args: any[]) => string | {
|
|
120
120
|
[x: string]: boolean;
|
|
121
121
|
} | (string | {
|
|
122
122
|
[x: string]: boolean;
|
|
@@ -219,33 +219,33 @@ export declare const popoverProps: {
|
|
|
219
219
|
};
|
|
220
220
|
readonly enterable: {
|
|
221
221
|
readonly default: true;
|
|
222
|
-
readonly type: PropType<import("
|
|
222
|
+
readonly type: PropType<import("../../../utils/index").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
223
223
|
readonly required: false;
|
|
224
224
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
225
225
|
readonly __epPropKey: true;
|
|
226
226
|
};
|
|
227
227
|
readonly effect: {
|
|
228
228
|
readonly default: "light";
|
|
229
|
-
readonly type: PropType<import("
|
|
229
|
+
readonly type: PropType<import("../../../utils/index").EpPropMergeType<(new (...args: any[]) => string) | (() => import("../../popper/index").PopperEffect) | (((new (...args: any[]) => string) | (() => import("../../popper/index").PopperEffect)) | null)[], unknown, unknown>>;
|
|
230
230
|
readonly required: false;
|
|
231
231
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
232
232
|
readonly __epPropKey: true;
|
|
233
233
|
};
|
|
234
|
-
readonly teleported: import("
|
|
234
|
+
readonly teleported: import("../../../utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
235
235
|
readonly appendTo: {
|
|
236
|
-
readonly type: PropType<import("
|
|
236
|
+
readonly type: PropType<import("../../../utils/index").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>>;
|
|
237
237
|
readonly required: false;
|
|
238
238
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
239
239
|
__epPropKey: true;
|
|
240
240
|
};
|
|
241
241
|
readonly title: StringConstructor;
|
|
242
|
-
readonly width: import("
|
|
243
|
-
readonly offset: import("
|
|
244
|
-
readonly showAfter: import("
|
|
245
|
-
readonly hideAfter: import("
|
|
246
|
-
readonly autoClose: import("
|
|
247
|
-
readonly showArrow: import("
|
|
248
|
-
readonly persistent: import("
|
|
242
|
+
readonly width: import("../../../utils/index").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 150, boolean>;
|
|
243
|
+
readonly offset: import("../../../utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, undefined, boolean>;
|
|
244
|
+
readonly showAfter: import("../../../utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
245
|
+
readonly hideAfter: import("../../../utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
246
|
+
readonly autoClose: import("../../../utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
247
|
+
readonly showArrow: import("../../../utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
248
|
+
readonly persistent: import("../../../utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
249
249
|
readonly 'onUpdate:visible': {
|
|
250
250
|
readonly type: PropType<(visible: boolean) => void>;
|
|
251
251
|
readonly required: false;
|
|
@@ -31,13 +31,13 @@ declare const __VLS_component: import("vue").DefineComponent<PopoverProps, {
|
|
|
31
31
|
offset: number;
|
|
32
32
|
tabindex: string | number;
|
|
33
33
|
teleported: boolean;
|
|
34
|
-
placement: import("
|
|
34
|
+
placement: import("@popperjs/core").Placement;
|
|
35
35
|
effect: import("../../popper").PopperEffect;
|
|
36
36
|
showAfter: number;
|
|
37
37
|
hideAfter: number;
|
|
38
38
|
autoClose: number;
|
|
39
|
-
trigger: import("
|
|
40
|
-
popperOptions: Partial<import("
|
|
39
|
+
trigger: import("../../../utils/index").Arrayable<import("../../tooltip/index").TooltipTriggerType>;
|
|
40
|
+
popperOptions: Partial<import("@popperjs/core").Options>;
|
|
41
41
|
enterable: boolean;
|
|
42
42
|
popperStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
43
43
|
triggerKeys: string[];
|
|
@@ -2,7 +2,7 @@ import Popper from './src/popper.vue';
|
|
|
2
2
|
import ElPopperArrow from './src/arrow.vue';
|
|
3
3
|
import ElPopperTrigger from './src/trigger.vue';
|
|
4
4
|
import ElPopperContent from './src/content.vue';
|
|
5
|
-
import type { SFCWithInstall } from '
|
|
5
|
+
import type { SFCWithInstall } from '../../utils/index';
|
|
6
6
|
export { ElPopperArrow, ElPopperTrigger, ElPopperContent };
|
|
7
7
|
export declare const ElPopper: SFCWithInstall<typeof Popper>;
|
|
8
8
|
export declare const EpPopper: {
|
|
@@ -10,7 +10,7 @@ export interface PopperArrowProps {
|
|
|
10
10
|
* @deprecated Removed after 3.0.0, Use `PopperArrowProps` instead.
|
|
11
11
|
*/
|
|
12
12
|
export declare const popperArrowProps: {
|
|
13
|
-
readonly arrowOffset: import("
|
|
13
|
+
readonly arrowOffset: import("../../../utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 5, boolean>;
|
|
14
14
|
};
|
|
15
15
|
/**
|
|
16
16
|
* @deprecated Removed after 3.0.0, Use `PopperArrowProps` instead.
|
|
@@ -22,7 +22,7 @@ export declare const popperArrowPropsDefaults: {
|
|
|
22
22
|
export type PopperArrowInstance = InstanceType<typeof Arrow> & unknown;
|
|
23
23
|
/** @deprecated use `popperArrowProps` instead, and it will be deprecated in the next major version */
|
|
24
24
|
export declare const usePopperArrowProps: {
|
|
25
|
-
readonly arrowOffset: import("
|
|
25
|
+
readonly arrowOffset: import("../../../utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 5, boolean>;
|
|
26
26
|
};
|
|
27
27
|
/** @deprecated use `PopperArrowProps` instead, and it will be deprecated in the next major version */
|
|
28
28
|
export type UsePopperArrowProps = PopperArrowProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CSSProperties, StyleValue } from 'vue';
|
|
2
|
-
import type { UsePopperReturn } from '
|
|
2
|
+
import type { UsePopperReturn } from '../../../../hooks/index';
|
|
3
3
|
import type { UsePopperContentReturn } from './use-content';
|
|
4
4
|
import type { PopperContentProps } from '../content';
|
|
5
5
|
export declare const usePopperContentDOM: (props: PopperContentProps, { attributes, styles, role, }: Pick<UsePopperReturn, "attributes" | "styles"> & Pick<UsePopperContentReturn, "role">) => {
|
|
@@ -16,7 +16,7 @@ export declare const usePopperContent: (props: PopperContentProps) => {
|
|
|
16
16
|
arrow?: HTMLElement;
|
|
17
17
|
} | undefined;
|
|
18
18
|
options?: import("@popperjs/core").OptionsGeneric<any> | undefined;
|
|
19
|
-
placement?: import("
|
|
19
|
+
placement?: import("@popperjs/core").Placement | undefined;
|
|
20
20
|
strategy?: import("@popperjs/core").PositioningStrategy | undefined;
|
|
21
21
|
orderedModifiers?: Modifier<any, any>[] | undefined;
|
|
22
22
|
rects?: import("@popperjs/core").StateRects | undefined;
|