@polyv/vue-components 1.10.1 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -1
- package/vue2/index.es.js +11567 -10343
- package/vue2/src/components/basic-countdown/basic-countdown.vue.d.ts +17 -28
- package/vue2/src/components/basic-countdown/use-basic-countdown.d.ts +25 -2
- package/vue2/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +26 -0
- package/vue2/src/components/business/external-links/use-external-links.d.ts +2 -0
- package/vue2/src/components/business/normal-pendant/normal-pendant.vue.d.ts +16 -1
- package/vue2/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +2 -0
- package/vue2/src/components/exports.d.ts +1 -0
- package/vue2/src/components/form/date-picker/index.d.ts +16 -0
- package/vue2/src/components/form/date-picker/src/components/mobile-picker/mobile-picker-column.vue.d.ts +28 -0
- package/vue2/src/components/form/date-picker/src/components/mobile-picker/mobile-picker-popup.vue.d.ts +2 -0
- package/vue2/src/components/form/date-picker/src/components/picker-popper/vertical-pick-popper.vue.d.ts +2 -0
- package/vue2/src/components/form/date-picker/src/components/time-select/time-input-select.vue.d.ts +2 -0
- package/vue2/src/components/form/date-picker/src/date-picker.vue.d.ts +16 -0
- package/vue2/src/components/form/date-picker/src/hooks/props-define.d.ts +18 -0
- package/vue2/src/components/form/date-picker/src/hooks/use-date-picker-utils.d.ts +6 -1
- package/vue2/src/components/form/date-picker/src/types/index.d.ts +5 -1
- package/vue2/src/components/form/file-upload/index.d.ts +38 -0
- package/vue2/src/components/form/file-upload/src/file-upload.vue.d.ts +13 -0
- package/vue2/src/components/form/file-upload/src/hooks/props-define.d.ts +6 -0
- package/vue2/src/components/form/file-upload/src/hooks/use-file-upload.d.ts +1 -0
- package/vue2/src/components/form/form-submit-button/index.d.ts +1 -1
- package/vue2/src/components/form/form-submit-button/src/form-submit-button.vue.d.ts +1 -1
- package/vue2/src/components/form/image-upload/index.d.ts +12 -0
- package/vue2/src/components/form/image-upload/src/hooks/props-define.d.ts +6 -0
- package/vue2/src/components/form/image-upload/src/image-upload.vue.d.ts +12 -0
- package/vue2/src/components/form/select/index.d.ts +32 -0
- package/vue2/src/components/form/select/src/props-define.d.ts +15 -0
- package/vue2/src/components/form/select/src/select-mobile-picker-column.vue.d.ts +17 -0
- package/vue2/src/components/form/select/src/select.vue.d.ts +27 -15
- package/vue2/src/components/form/timezone-picker/index.d.ts +42 -0
- package/vue2/src/components/form/timezone-picker/src/hooks/props-define.d.ts +22 -0
- package/vue2/src/components/form/timezone-picker/src/timezone-picker.vue.d.ts +42 -0
- package/vue2/src/components/form/types/index.d.ts +0 -1
- package/vue2/src/components/icons/icons/crop-two/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/email/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/location/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/logout/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/number/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/option/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/phone/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/qa/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/qa-one/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/return/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/text/index.d.ts +6 -0
- package/vue2/src/components/icons/map.d.ts +11 -0
- package/vue2/src/components/image-cropper/index.d.ts +27 -1
- package/vue2/src/components/image-cropper/src/hooks/props-define.d.ts +34 -0
- package/vue2/src/components/image-cropper/src/hooks/use-image-cropper.d.ts +7 -14
- package/vue2/src/components/image-cropper/src/image-cropper-preview.vue.d.ts +16 -0
- package/vue2/src/components/image-cropper/src/image-cropper.vue.d.ts +13 -3
- package/vue2/src/components/image-preview/components/image-zoom-wrap.vue.d.ts +2 -0
- package/vue2/src/components/image-preview/components/preview-controller.vue.d.ts +2 -0
- package/vue2/src/components/image-preview/hooks/props-define.d.ts +54 -3
- package/vue2/src/components/image-preview/hooks/use-image-preview-component.d.ts +0 -2
- package/vue2/src/components/image-preview/hooks/use-image-preview-intercept.d.ts +14 -0
- package/vue2/src/components/image-preview/hooks/use-image-preview.d.ts +14 -1
- package/vue2/src/components/image-preview/image-preview-container.vue.d.ts +33 -0
- package/vue2/src/components/image-preview/image-preview.vue.d.ts +17 -6
- package/vue2/src/components/image-preview/index.d.ts +2 -0
- package/vue2/src/components/popup/index.d.ts +40 -0
- package/vue2/src/components/popup/src/hooks/popup-props.d.ts +16 -2
- package/vue2/src/components/popup/src/popup.vue.d.ts +14 -0
- package/vue2/src/components/sensitive-text/index.d.ts +5 -5
- package/vue2/src/components/sensitive-text/src/props-define.d.ts +2 -2
- package/vue2/src/components/sensitive-text/src/sensitive-text.vue.d.ts +5 -5
- package/vue2/src/components/space/index.d.ts +76 -0
- package/vue2/src/components/space/src/props-define.d.ts +36 -0
- package/vue2/src/components/space/src/space.vue.d.ts +41 -0
- package/vue2/src/components/swiper/hooks/use-swiper-wrapper.d.ts +2 -0
- package/vue2/src/components/table/index.d.ts +48 -26
- package/vue2/src/components/table/src/components/table-body-row/use-table-body-row.d.ts +6 -1
- package/vue2/src/components/table/src/hooks/props-define.d.ts +39 -3
- package/vue2/src/components/table/src/hooks/use-table/use-table-render-data.d.ts +1 -0
- package/vue2/src/components/table/src/hooks/use-table/use-table-request.d.ts +1 -1
- package/vue2/src/components/table/src/hooks/use-table/use-table.d.ts +2 -1
- package/vue2/src/components/table/src/table-column.vue.d.ts +7 -7
- package/vue2/src/components/table/src/table.vue.d.ts +14 -7
- package/vue2/src/components/tabs/index.d.ts +14 -14
- package/vue2/src/components/tabs/src/props-define.d.ts +2 -2
- package/vue2/src/components/tabs/src/tabs.vue.d.ts +5 -5
- package/vue2/src/components/zoom-container/hooks/use-zoom-size.d.ts +1 -1
- package/vue2/src/components/zoom-container/use-zoom-container.d.ts +4 -0
- package/vue2/src/components/zoom-container/zoom-container.vue.d.ts +2 -0
- package/vue2/src/index.d.ts +5 -0
- package/vue2/src/lang/internal/en.json.d.ts +3 -1
- package/vue2/src/lang/internal/index.d.ts +2 -0
- package/vue2/src/lang/internal/ja.json.d.ts +3 -1
- package/vue2/src/lang/internal/ko.json.d.ts +3 -1
- package/vue2/src/lang/internal/ru.json.d.ts +3 -1
- package/vue2/src/lang/internal/zh-CN.json.d.ts +3 -1
- package/vue2/src/lang/internal/zh-TW.json.d.ts +3 -1
- package/vue3/index.es.js +14175 -12951
- package/vue3/src/components/basic-countdown/basic-countdown.vue.d.ts +17 -28
- package/vue3/src/components/basic-countdown/use-basic-countdown.d.ts +25 -2
- package/vue3/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +26 -0
- package/vue3/src/components/business/external-links/use-external-links.d.ts +2 -0
- package/vue3/src/components/business/normal-pendant/normal-pendant.vue.d.ts +16 -1
- package/vue3/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +2 -0
- package/vue3/src/components/exports.d.ts +1 -0
- package/vue3/src/components/form/date-picker/index.d.ts +16 -0
- package/vue3/src/components/form/date-picker/src/components/mobile-picker/mobile-picker-column.vue.d.ts +28 -0
- package/vue3/src/components/form/date-picker/src/components/mobile-picker/mobile-picker-popup.vue.d.ts +2 -0
- package/vue3/src/components/form/date-picker/src/components/picker-popper/vertical-pick-popper.vue.d.ts +2 -0
- package/vue3/src/components/form/date-picker/src/components/time-select/time-input-select.vue.d.ts +2 -0
- package/vue3/src/components/form/date-picker/src/date-picker.vue.d.ts +16 -0
- package/vue3/src/components/form/date-picker/src/hooks/props-define.d.ts +18 -0
- package/vue3/src/components/form/date-picker/src/hooks/use-date-picker-utils.d.ts +6 -1
- package/vue3/src/components/form/date-picker/src/types/index.d.ts +5 -1
- package/vue3/src/components/form/file-upload/index.d.ts +38 -0
- package/vue3/src/components/form/file-upload/src/file-upload.vue.d.ts +13 -0
- package/vue3/src/components/form/file-upload/src/hooks/props-define.d.ts +6 -0
- package/vue3/src/components/form/file-upload/src/hooks/use-file-upload.d.ts +1 -0
- package/vue3/src/components/form/form-submit-button/index.d.ts +1 -1
- package/vue3/src/components/form/form-submit-button/src/form-submit-button.vue.d.ts +1 -1
- package/vue3/src/components/form/image-upload/index.d.ts +12 -0
- package/vue3/src/components/form/image-upload/src/hooks/props-define.d.ts +6 -0
- package/vue3/src/components/form/image-upload/src/image-upload.vue.d.ts +12 -0
- package/vue3/src/components/form/select/index.d.ts +32 -0
- package/vue3/src/components/form/select/src/props-define.d.ts +15 -0
- package/vue3/src/components/form/select/src/select-mobile-picker-column.vue.d.ts +17 -0
- package/vue3/src/components/form/select/src/select.vue.d.ts +27 -15
- package/vue3/src/components/form/timezone-picker/index.d.ts +42 -0
- package/vue3/src/components/form/timezone-picker/src/hooks/props-define.d.ts +22 -0
- package/vue3/src/components/form/timezone-picker/src/timezone-picker.vue.d.ts +42 -0
- package/vue3/src/components/form/types/index.d.ts +0 -1
- package/vue3/src/components/icons/icons/crop-two/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/email/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/location/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/logout/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/number/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/option/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/phone/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/qa/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/qa-one/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/return/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/text/index.d.ts +6 -0
- package/vue3/src/components/icons/map.d.ts +11 -0
- package/vue3/src/components/image-cropper/index.d.ts +27 -1
- package/vue3/src/components/image-cropper/src/hooks/props-define.d.ts +34 -0
- package/vue3/src/components/image-cropper/src/hooks/use-image-cropper.d.ts +7 -14
- package/vue3/src/components/image-cropper/src/image-cropper-preview.vue.d.ts +16 -0
- package/vue3/src/components/image-cropper/src/image-cropper.vue.d.ts +13 -3
- package/vue3/src/components/image-preview/components/image-zoom-wrap.vue.d.ts +2 -0
- package/vue3/src/components/image-preview/components/preview-controller.vue.d.ts +2 -0
- package/vue3/src/components/image-preview/hooks/props-define.d.ts +54 -3
- package/vue3/src/components/image-preview/hooks/use-image-preview-component.d.ts +0 -2
- package/vue3/src/components/image-preview/hooks/use-image-preview-intercept.d.ts +14 -0
- package/vue3/src/components/image-preview/hooks/use-image-preview.d.ts +14 -1
- package/vue3/src/components/image-preview/image-preview-container.vue.d.ts +33 -0
- package/vue3/src/components/image-preview/image-preview.vue.d.ts +17 -6
- package/vue3/src/components/image-preview/index.d.ts +2 -0
- package/vue3/src/components/popup/index.d.ts +40 -0
- package/vue3/src/components/popup/src/hooks/popup-props.d.ts +16 -2
- package/vue3/src/components/popup/src/popup.vue.d.ts +14 -0
- package/vue3/src/components/sensitive-text/index.d.ts +5 -5
- package/vue3/src/components/sensitive-text/src/props-define.d.ts +2 -2
- package/vue3/src/components/sensitive-text/src/sensitive-text.vue.d.ts +5 -5
- package/vue3/src/components/space/index.d.ts +76 -0
- package/vue3/src/components/space/src/props-define.d.ts +36 -0
- package/vue3/src/components/space/src/space.vue.d.ts +41 -0
- package/vue3/src/components/swiper/hooks/use-swiper-wrapper.d.ts +2 -0
- package/vue3/src/components/table/index.d.ts +48 -26
- package/vue3/src/components/table/src/components/table-body-row/use-table-body-row.d.ts +6 -1
- package/vue3/src/components/table/src/hooks/props-define.d.ts +39 -3
- package/vue3/src/components/table/src/hooks/use-table/use-table-render-data.d.ts +1 -0
- package/vue3/src/components/table/src/hooks/use-table/use-table-request.d.ts +1 -1
- package/vue3/src/components/table/src/hooks/use-table/use-table.d.ts +2 -1
- package/vue3/src/components/table/src/table-column.vue.d.ts +7 -7
- package/vue3/src/components/table/src/table.vue.d.ts +14 -7
- package/vue3/src/components/tabs/index.d.ts +14 -14
- package/vue3/src/components/tabs/src/props-define.d.ts +2 -2
- package/vue3/src/components/tabs/src/tabs.vue.d.ts +5 -5
- package/vue3/src/components/zoom-container/hooks/use-zoom-size.d.ts +1 -1
- package/vue3/src/components/zoom-container/use-zoom-container.d.ts +4 -0
- package/vue3/src/components/zoom-container/zoom-container.vue.d.ts +2 -0
- package/vue3/src/index.d.ts +5 -0
- package/vue3/src/lang/internal/en.json.d.ts +3 -1
- package/vue3/src/lang/internal/index.d.ts +2 -0
- package/vue3/src/lang/internal/ja.json.d.ts +3 -1
- package/vue3/src/lang/internal/ko.json.d.ts +3 -1
- package/vue3/src/lang/internal/ru.json.d.ts +3 -1
- package/vue3/src/lang/internal/zh-CN.json.d.ts +3 -1
- package/vue3/src/lang/internal/zh-TW.json.d.ts +3 -1
|
@@ -82,6 +82,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
82
82
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
83
83
|
default: boolean;
|
|
84
84
|
};
|
|
85
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
85
88
|
}>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
|
|
86
89
|
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
87
90
|
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
@@ -92,12 +95,16 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
92
95
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
93
96
|
default: boolean;
|
|
94
97
|
};
|
|
98
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
95
101
|
}>>>>;
|
|
96
102
|
onlyChoiceFile: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
97
103
|
default: boolean;
|
|
98
104
|
};
|
|
99
105
|
}, {
|
|
100
106
|
triggerUpload: () => Promise<void>;
|
|
107
|
+
clearItemList: () => void;
|
|
101
108
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
102
109
|
replace: (arg: {
|
|
103
110
|
url: string;
|
|
@@ -168,6 +175,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
168
175
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
169
176
|
default: boolean;
|
|
170
177
|
};
|
|
178
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
179
|
+
default: boolean;
|
|
180
|
+
};
|
|
171
181
|
}>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
|
|
172
182
|
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
173
183
|
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
@@ -178,6 +188,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
178
188
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
179
189
|
default: boolean;
|
|
180
190
|
};
|
|
191
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
192
|
+
default: boolean;
|
|
193
|
+
};
|
|
181
194
|
}>>>>;
|
|
182
195
|
onlyChoiceFile: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
183
196
|
default: boolean;
|
|
@@ -235,6 +235,9 @@ export declare const fileUploadProps: () => {
|
|
|
235
235
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
236
236
|
default: boolean;
|
|
237
237
|
};
|
|
238
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
239
|
+
default: boolean;
|
|
240
|
+
};
|
|
238
241
|
}>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
|
|
239
242
|
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
240
243
|
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
@@ -245,6 +248,9 @@ export declare const fileUploadProps: () => {
|
|
|
245
248
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
246
249
|
default: boolean;
|
|
247
250
|
};
|
|
251
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
252
|
+
default: boolean;
|
|
253
|
+
};
|
|
248
254
|
}>>>>;
|
|
249
255
|
/**
|
|
250
256
|
* 仅选择文件,设置后只会触发文件选择,不会执行上传,并回调 choice-file-callback 事件
|
|
@@ -83,8 +83,8 @@ export declare const PwcFormSubmitButton: import('../../../vue-utils/install-uti
|
|
|
83
83
|
}>>, {
|
|
84
84
|
link: boolean;
|
|
85
85
|
loading: boolean;
|
|
86
|
-
type: "success" | "warning" | "primary" | "danger" | "ordinary";
|
|
87
86
|
text: string;
|
|
87
|
+
type: "success" | "warning" | "primary" | "danger" | "ordinary";
|
|
88
88
|
disabled: boolean;
|
|
89
89
|
size: "default" | "small" | "large" | "mini";
|
|
90
90
|
outline: boolean;
|
|
@@ -83,8 +83,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
83
83
|
}>>, {
|
|
84
84
|
link: boolean;
|
|
85
85
|
loading: boolean;
|
|
86
|
-
type: "success" | "warning" | "primary" | "danger" | "ordinary";
|
|
87
86
|
text: string;
|
|
87
|
+
type: "success" | "warning" | "primary" | "danger" | "ordinary";
|
|
88
88
|
disabled: boolean;
|
|
89
89
|
size: "default" | "small" | "large" | "mini";
|
|
90
90
|
outline: boolean;
|
|
@@ -57,6 +57,9 @@ export declare const PwcImageUpload: import('../../../vue-utils/install-utils').
|
|
|
57
57
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
58
58
|
default: boolean;
|
|
59
59
|
};
|
|
60
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
60
63
|
}>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
|
|
61
64
|
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
62
65
|
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
@@ -67,6 +70,9 @@ export declare const PwcImageUpload: import('../../../vue-utils/install-utils').
|
|
|
67
70
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
68
71
|
default: boolean;
|
|
69
72
|
};
|
|
73
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
70
76
|
}>>>>;
|
|
71
77
|
customUpload: import('vue-types').VueTypeValidableDef<(options: {
|
|
72
78
|
multiple: boolean;
|
|
@@ -132,6 +138,9 @@ export declare const PwcImageUpload: import('../../../vue-utils/install-utils').
|
|
|
132
138
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
133
139
|
default: boolean;
|
|
134
140
|
};
|
|
141
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
142
|
+
default: boolean;
|
|
143
|
+
};
|
|
135
144
|
}>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
|
|
136
145
|
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
137
146
|
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
@@ -142,6 +151,9 @@ export declare const PwcImageUpload: import('../../../vue-utils/install-utils').
|
|
|
142
151
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
143
152
|
default: boolean;
|
|
144
153
|
};
|
|
154
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
155
|
+
default: boolean;
|
|
156
|
+
};
|
|
145
157
|
}>>>>;
|
|
146
158
|
customUpload: import('vue-types').VueTypeValidableDef<(options: {
|
|
147
159
|
multiple: boolean;
|
|
@@ -165,6 +165,9 @@ export declare const imageUploadProps: () => {
|
|
|
165
165
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
166
166
|
default: boolean;
|
|
167
167
|
};
|
|
168
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
169
|
+
default: boolean;
|
|
170
|
+
};
|
|
168
171
|
}>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
|
|
169
172
|
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
170
173
|
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
@@ -175,6 +178,9 @@ export declare const imageUploadProps: () => {
|
|
|
175
178
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
176
179
|
default: boolean;
|
|
177
180
|
};
|
|
181
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
182
|
+
default: boolean;
|
|
183
|
+
};
|
|
178
184
|
}>>>>;
|
|
179
185
|
/**
|
|
180
186
|
* 自定义上传
|
|
@@ -51,6 +51,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
51
51
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
52
52
|
default: boolean;
|
|
53
53
|
};
|
|
54
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
54
57
|
}>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
|
|
55
58
|
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
56
59
|
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
@@ -61,6 +64,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
61
64
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
62
65
|
default: boolean;
|
|
63
66
|
};
|
|
67
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
64
70
|
}>>>>;
|
|
65
71
|
customUpload: import('vue-types').VueTypeValidableDef<(options: {
|
|
66
72
|
multiple: boolean;
|
|
@@ -126,6 +132,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
126
132
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
127
133
|
default: boolean;
|
|
128
134
|
};
|
|
135
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
136
|
+
default: boolean;
|
|
137
|
+
};
|
|
129
138
|
}>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
|
|
130
139
|
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
131
140
|
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
@@ -136,6 +145,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
136
145
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
137
146
|
default: boolean;
|
|
138
147
|
};
|
|
148
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
149
|
+
default: boolean;
|
|
150
|
+
};
|
|
139
151
|
}>>>>;
|
|
140
152
|
customUpload: import('vue-types').VueTypeValidableDef<(options: {
|
|
141
153
|
multiple: boolean;
|
|
@@ -14,6 +14,7 @@ export declare const PwcSelect: import('../../../vue-utils/install-utils').SFCIn
|
|
|
14
14
|
search: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
15
15
|
default: boolean;
|
|
16
16
|
};
|
|
17
|
+
searchPlaceholder: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
17
18
|
searchInputProps: import('vue-types').VueTypeValidableDef<Partial<import('vue').ExtractPropTypes<{
|
|
18
19
|
type: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
19
20
|
default: string;
|
|
@@ -193,7 +194,11 @@ export declare const PwcSelect: import('../../../vue-utils/install-utils').SFCIn
|
|
|
193
194
|
};
|
|
194
195
|
customSearch: import('vue-types').VueTypeValidableDef<(keyword: string) => unknown, import('vue-types/dist/types').ValidatorFunction<(keyword: string) => unknown>>;
|
|
195
196
|
optionWidth: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
197
|
+
optionPlacement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
198
|
+
default: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
199
|
+
};
|
|
196
200
|
getOptionInfo: import('vue-types').VueTypeValidableDef<(value: import('./src/type').SelectValue) => import('./src/type').SelectOptionItem | undefined, import('vue-types/dist/types').ValidatorFunction<(value: import('./src/type').SelectValue) => import('./src/type').SelectOptionItem | undefined>>;
|
|
201
|
+
formatLabel: import('vue-types').VueTypeValidableDef<(option: import('./src/type').SelectOptionItem) => string, import('vue-types/dist/types').ValidatorFunction<(option: import('./src/type').SelectOptionItem) => string>>;
|
|
197
202
|
clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
198
203
|
default: boolean;
|
|
199
204
|
};
|
|
@@ -226,6 +231,7 @@ export declare const PwcSelect: import('../../../vue-utils/install-utils').SFCIn
|
|
|
226
231
|
search: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
227
232
|
default: boolean;
|
|
228
233
|
};
|
|
234
|
+
searchPlaceholder: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
229
235
|
searchInputProps: import('vue-types').VueTypeValidableDef<Partial<import('vue').ExtractPropTypes<{
|
|
230
236
|
type: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
231
237
|
default: string;
|
|
@@ -405,7 +411,11 @@ export declare const PwcSelect: import('../../../vue-utils/install-utils').SFCIn
|
|
|
405
411
|
};
|
|
406
412
|
customSearch: import('vue-types').VueTypeValidableDef<(keyword: string) => unknown, import('vue-types/dist/types').ValidatorFunction<(keyword: string) => unknown>>;
|
|
407
413
|
optionWidth: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
414
|
+
optionPlacement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
415
|
+
default: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
416
|
+
};
|
|
408
417
|
getOptionInfo: import('vue-types').VueTypeValidableDef<(value: import('./src/type').SelectValue) => import('./src/type').SelectOptionItem | undefined, import('vue-types/dist/types').ValidatorFunction<(value: import('./src/type').SelectValue) => import('./src/type').SelectOptionItem | undefined>>;
|
|
418
|
+
formatLabel: import('vue-types').VueTypeValidableDef<(option: import('./src/type').SelectOptionItem) => string, import('vue-types/dist/types').ValidatorFunction<(option: import('./src/type').SelectOptionItem) => string>>;
|
|
409
419
|
clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
410
420
|
default: boolean;
|
|
411
421
|
};
|
|
@@ -493,6 +503,7 @@ export declare const PwcSelect: import('../../../vue-utils/install-utils').SFCIn
|
|
|
493
503
|
default: import('../input').InputValueType;
|
|
494
504
|
};
|
|
495
505
|
}>>;
|
|
506
|
+
optionPlacement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
496
507
|
}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
|
|
497
508
|
options: import('vue-types').VueTypeValidableDef<(import('./src/type').SelectOptionItem<import('./src/type').SelectValue> | import('./src/type').SelectGroupItem<import('./src/type').SelectValue>)[], import('vue-types/dist/types').ValidatorFunction<(import('./src/type').SelectOptionItem<import('./src/type').SelectValue> | import('./src/type').SelectGroupItem<import('./src/type').SelectValue>)[]>> & {
|
|
498
509
|
default: () => (import('./src/type').SelectOptionItem<import('./src/type').SelectValue> | import('./src/type').SelectGroupItem<import('./src/type').SelectValue>)[];
|
|
@@ -509,6 +520,7 @@ export declare const PwcSelect: import('../../../vue-utils/install-utils').SFCIn
|
|
|
509
520
|
search: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
510
521
|
default: boolean;
|
|
511
522
|
};
|
|
523
|
+
searchPlaceholder: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
512
524
|
searchInputProps: import('vue-types').VueTypeValidableDef<Partial<import('vue').ExtractPropTypes<{
|
|
513
525
|
type: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
514
526
|
default: string;
|
|
@@ -688,7 +700,11 @@ export declare const PwcSelect: import('../../../vue-utils/install-utils').SFCIn
|
|
|
688
700
|
};
|
|
689
701
|
customSearch: import('vue-types').VueTypeValidableDef<(keyword: string) => unknown, import('vue-types/dist/types').ValidatorFunction<(keyword: string) => unknown>>;
|
|
690
702
|
optionWidth: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
703
|
+
optionPlacement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
704
|
+
default: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
705
|
+
};
|
|
691
706
|
getOptionInfo: import('vue-types').VueTypeValidableDef<(value: import('./src/type').SelectValue) => import('./src/type').SelectOptionItem | undefined, import('vue-types/dist/types').ValidatorFunction<(value: import('./src/type').SelectValue) => import('./src/type').SelectOptionItem | undefined>>;
|
|
707
|
+
formatLabel: import('vue-types').VueTypeValidableDef<(option: import('./src/type').SelectOptionItem) => string, import('vue-types/dist/types').ValidatorFunction<(option: import('./src/type').SelectOptionItem) => string>>;
|
|
692
708
|
clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
693
709
|
default: boolean;
|
|
694
710
|
};
|
|
@@ -723,6 +739,7 @@ export declare const PwcSelect: import('../../../vue-utils/install-utils').SFCIn
|
|
|
723
739
|
search: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
724
740
|
default: boolean;
|
|
725
741
|
};
|
|
742
|
+
searchPlaceholder: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
726
743
|
searchInputProps: import('vue-types').VueTypeValidableDef<Partial<import('vue').ExtractPropTypes<{
|
|
727
744
|
type: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
728
745
|
default: string;
|
|
@@ -902,7 +919,11 @@ export declare const PwcSelect: import('../../../vue-utils/install-utils').SFCIn
|
|
|
902
919
|
};
|
|
903
920
|
customSearch: import('vue-types').VueTypeValidableDef<(keyword: string) => unknown, import('vue-types/dist/types').ValidatorFunction<(keyword: string) => unknown>>;
|
|
904
921
|
optionWidth: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
922
|
+
optionPlacement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
923
|
+
default: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
924
|
+
};
|
|
905
925
|
getOptionInfo: import('vue-types').VueTypeValidableDef<(value: import('./src/type').SelectValue) => import('./src/type').SelectOptionItem | undefined, import('vue-types/dist/types').ValidatorFunction<(value: import('./src/type').SelectValue) => import('./src/type').SelectOptionItem | undefined>>;
|
|
926
|
+
formatLabel: import('vue-types').VueTypeValidableDef<(option: import('./src/type').SelectOptionItem) => string, import('vue-types/dist/types').ValidatorFunction<(option: import('./src/type').SelectOptionItem) => string>>;
|
|
906
927
|
clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
907
928
|
default: boolean;
|
|
908
929
|
};
|
|
@@ -935,6 +956,7 @@ export declare const PwcSelect: import('../../../vue-utils/install-utils').SFCIn
|
|
|
935
956
|
search: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
936
957
|
default: boolean;
|
|
937
958
|
};
|
|
959
|
+
searchPlaceholder: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
938
960
|
searchInputProps: import('vue-types').VueTypeValidableDef<Partial<import('vue').ExtractPropTypes<{
|
|
939
961
|
type: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
940
962
|
default: string;
|
|
@@ -1114,7 +1136,11 @@ export declare const PwcSelect: import('../../../vue-utils/install-utils').SFCIn
|
|
|
1114
1136
|
};
|
|
1115
1137
|
customSearch: import('vue-types').VueTypeValidableDef<(keyword: string) => unknown, import('vue-types/dist/types').ValidatorFunction<(keyword: string) => unknown>>;
|
|
1116
1138
|
optionWidth: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
1139
|
+
optionPlacement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
1140
|
+
default: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
1141
|
+
};
|
|
1117
1142
|
getOptionInfo: import('vue-types').VueTypeValidableDef<(value: import('./src/type').SelectValue) => import('./src/type').SelectOptionItem | undefined, import('vue-types/dist/types').ValidatorFunction<(value: import('./src/type').SelectValue) => import('./src/type').SelectOptionItem | undefined>>;
|
|
1143
|
+
formatLabel: import('vue-types').VueTypeValidableDef<(option: import('./src/type').SelectOptionItem) => string, import('vue-types/dist/types').ValidatorFunction<(option: import('./src/type').SelectOptionItem) => string>>;
|
|
1118
1144
|
clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
1119
1145
|
default: boolean;
|
|
1120
1146
|
};
|
|
@@ -1204,6 +1230,7 @@ export declare const PwcSelect: import('../../../vue-utils/install-utils').SFCIn
|
|
|
1204
1230
|
default: import('../input').InputValueType;
|
|
1205
1231
|
};
|
|
1206
1232
|
}>>;
|
|
1233
|
+
optionPlacement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
1207
1234
|
}> & {
|
|
1208
1235
|
props: {
|
|
1209
1236
|
options: import('vue-types').VueTypeValidableDef<(import('./src/type').SelectOptionItem<import('./src/type').SelectValue> | import('./src/type').SelectGroupItem<import('./src/type').SelectValue>)[], import('vue-types/dist/types').ValidatorFunction<(import('./src/type').SelectOptionItem<import('./src/type').SelectValue> | import('./src/type').SelectGroupItem<import('./src/type').SelectValue>)[]>> & {
|
|
@@ -1221,6 +1248,7 @@ export declare const PwcSelect: import('../../../vue-utils/install-utils').SFCIn
|
|
|
1221
1248
|
search: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
1222
1249
|
default: boolean;
|
|
1223
1250
|
};
|
|
1251
|
+
searchPlaceholder: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
1224
1252
|
searchInputProps: import('vue-types').VueTypeValidableDef<Partial<import('vue').ExtractPropTypes<{
|
|
1225
1253
|
type: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
1226
1254
|
default: string;
|
|
@@ -1400,7 +1428,11 @@ export declare const PwcSelect: import('../../../vue-utils/install-utils').SFCIn
|
|
|
1400
1428
|
};
|
|
1401
1429
|
customSearch: import('vue-types').VueTypeValidableDef<(keyword: string) => unknown, import('vue-types/dist/types').ValidatorFunction<(keyword: string) => unknown>>;
|
|
1402
1430
|
optionWidth: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
1431
|
+
optionPlacement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
1432
|
+
default: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
1433
|
+
};
|
|
1403
1434
|
getOptionInfo: import('vue-types').VueTypeValidableDef<(value: import('./src/type').SelectValue) => import('./src/type').SelectOptionItem | undefined, import('vue-types/dist/types').ValidatorFunction<(value: import('./src/type').SelectValue) => import('./src/type').SelectOptionItem | undefined>>;
|
|
1435
|
+
formatLabel: import('vue-types').VueTypeValidableDef<(option: import('./src/type').SelectOptionItem) => string, import('vue-types/dist/types').ValidatorFunction<(option: import('./src/type').SelectOptionItem) => string>>;
|
|
1404
1436
|
clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
1405
1437
|
default: boolean;
|
|
1406
1438
|
};
|
|
@@ -36,6 +36,10 @@ export declare const selectProps: () => {
|
|
|
36
36
|
search: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
37
37
|
default: boolean;
|
|
38
38
|
};
|
|
39
|
+
/**
|
|
40
|
+
* 搜索输入框占位
|
|
41
|
+
*/
|
|
42
|
+
searchPlaceholder: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
39
43
|
/**
|
|
40
44
|
* 搜索输入框参数
|
|
41
45
|
* @propType InputProps
|
|
@@ -225,10 +229,21 @@ export declare const selectProps: () => {
|
|
|
225
229
|
* 选项宽度
|
|
226
230
|
*/
|
|
227
231
|
optionWidth: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
232
|
+
/**
|
|
233
|
+
* 选项位置
|
|
234
|
+
* @default 'bottom'
|
|
235
|
+
*/
|
|
236
|
+
optionPlacement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
237
|
+
default: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
238
|
+
};
|
|
228
239
|
/**
|
|
229
240
|
* 获取选项信息
|
|
230
241
|
*/
|
|
231
242
|
getOptionInfo: import('vue-types').VueTypeValidableDef<(value: SelectValue) => SelectOptionItem | undefined, import('vue-types/dist/types').ValidatorFunction<(value: SelectValue) => SelectOptionItem | undefined>>;
|
|
243
|
+
/**
|
|
244
|
+
* 格式化选中项展示:单选为输入框文案,多选为各标签文案(下拉选项仍用原始 label)
|
|
245
|
+
*/
|
|
246
|
+
formatLabel: import('vue-types').VueTypeValidableDef<(option: SelectOptionItem) => string, import('vue-types/dist/types').ValidatorFunction<(option: SelectOptionItem) => string>>;
|
|
232
247
|
clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
233
248
|
default: boolean;
|
|
234
249
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SelectOptionItem, SelectValue } from './type';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
|
+
options: import('vue-types').VueTypeValidableDef<SelectOptionItem<SelectValue>[], import('vue-types/dist/types').ValidatorFunction<SelectOptionItem<SelectValue>[]>> & {
|
|
4
|
+
default: () => SelectOptionItem<SelectValue>[];
|
|
5
|
+
};
|
|
6
|
+
active: import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>>;
|
|
7
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
select: (arg: SelectValue) => void;
|
|
9
|
+
}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
10
|
+
options: import('vue-types').VueTypeValidableDef<SelectOptionItem<SelectValue>[], import('vue-types/dist/types').ValidatorFunction<SelectOptionItem<SelectValue>[]>> & {
|
|
11
|
+
default: () => SelectOptionItem<SelectValue>[];
|
|
12
|
+
};
|
|
13
|
+
active: import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>>;
|
|
14
|
+
}>>, {
|
|
15
|
+
options: SelectOptionItem<SelectValue>[];
|
|
16
|
+
}>;
|
|
17
|
+
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BusinessType } from '../../../../hooks/business/use-business-type';
|
|
2
|
+
import { SelectGroupItem, SelectOptionItem, SelectValue } from './type';
|
|
2
3
|
declare function closeOptions(): void;
|
|
3
4
|
declare function __VLS_template(): {
|
|
4
5
|
attrs: Partial<{}>;
|
|
@@ -39,8 +40,8 @@ declare function __VLS_template(): {
|
|
|
39
40
|
};
|
|
40
41
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
41
42
|
declare const __VLS_component: import('vue').DefineComponent<{
|
|
42
|
-
options: import('vue-types').VueTypeValidableDef<(SelectOptionItem<SelectValue> |
|
|
43
|
-
default: () => (SelectOptionItem<SelectValue> |
|
|
43
|
+
options: import('vue-types').VueTypeValidableDef<(SelectOptionItem<SelectValue> | SelectGroupItem<SelectValue>)[], import('vue-types/dist/types').ValidatorFunction<(SelectOptionItem<SelectValue> | SelectGroupItem<SelectValue>)[]>> & {
|
|
44
|
+
default: () => (SelectOptionItem<SelectValue> | SelectGroupItem<SelectValue>)[];
|
|
44
45
|
};
|
|
45
46
|
placeholder: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
46
47
|
default: string;
|
|
@@ -54,6 +55,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
54
55
|
search: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
55
56
|
default: boolean;
|
|
56
57
|
};
|
|
58
|
+
searchPlaceholder: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
57
59
|
searchInputProps: import('vue-types').VueTypeValidableDef<Partial<import('vue').ExtractPropTypes<{
|
|
58
60
|
type: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
59
61
|
default: string;
|
|
@@ -97,7 +99,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
97
99
|
clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
98
100
|
default: boolean;
|
|
99
101
|
};
|
|
100
|
-
business: import('vue-types').VueTypeValidableDef<
|
|
102
|
+
business: import('vue-types').VueTypeValidableDef<BusinessType, import('vue-types/dist/types').ValidatorFunction<BusinessType>>;
|
|
101
103
|
size: import('vue-types').VueTypeDef<"small" | "large" | "medium">;
|
|
102
104
|
disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
103
105
|
readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
@@ -155,7 +157,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
155
157
|
clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
156
158
|
default: boolean;
|
|
157
159
|
};
|
|
158
|
-
business: import('vue-types').VueTypeValidableDef<
|
|
160
|
+
business: import('vue-types').VueTypeValidableDef<BusinessType, import('vue-types/dist/types').ValidatorFunction<BusinessType>>;
|
|
159
161
|
size: import('vue-types').VueTypeDef<"small" | "large" | "medium">;
|
|
160
162
|
disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
161
163
|
readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
@@ -214,7 +216,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
214
216
|
clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
215
217
|
default: boolean;
|
|
216
218
|
};
|
|
217
|
-
business: import('vue-types').VueTypeValidableDef<
|
|
219
|
+
business: import('vue-types').VueTypeValidableDef<BusinessType, import('vue-types/dist/types').ValidatorFunction<BusinessType>>;
|
|
218
220
|
size: import('vue-types').VueTypeDef<"small" | "large" | "medium">;
|
|
219
221
|
disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
220
222
|
readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
@@ -233,11 +235,15 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
233
235
|
};
|
|
234
236
|
customSearch: import('vue-types').VueTypeValidableDef<(keyword: string) => unknown, import('vue-types/dist/types').ValidatorFunction<(keyword: string) => unknown>>;
|
|
235
237
|
optionWidth: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
238
|
+
optionPlacement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
239
|
+
default: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
240
|
+
};
|
|
236
241
|
getOptionInfo: import('vue-types').VueTypeValidableDef<(value: SelectValue) => SelectOptionItem | undefined, import('vue-types/dist/types').ValidatorFunction<(value: SelectValue) => SelectOptionItem | undefined>>;
|
|
242
|
+
formatLabel: import('vue-types').VueTypeValidableDef<(option: SelectOptionItem) => string, import('vue-types/dist/types').ValidatorFunction<(option: SelectOptionItem) => string>>;
|
|
237
243
|
clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
238
244
|
default: boolean;
|
|
239
245
|
};
|
|
240
|
-
business: import('vue-types').VueTypeValidableDef<
|
|
246
|
+
business: import('vue-types').VueTypeValidableDef<BusinessType, import('vue-types/dist/types').ValidatorFunction<BusinessType>>;
|
|
241
247
|
size: import('vue-types').VueTypeDef<"small" | "large" | "medium">;
|
|
242
248
|
disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
243
249
|
readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
@@ -257,8 +263,8 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
257
263
|
clear: (arg?: void | undefined) => void;
|
|
258
264
|
"options-end-reached": (arg?: void | undefined) => void;
|
|
259
265
|
}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
260
|
-
options: import('vue-types').VueTypeValidableDef<(SelectOptionItem<SelectValue> |
|
|
261
|
-
default: () => (SelectOptionItem<SelectValue> |
|
|
266
|
+
options: import('vue-types').VueTypeValidableDef<(SelectOptionItem<SelectValue> | SelectGroupItem<SelectValue>)[], import('vue-types/dist/types').ValidatorFunction<(SelectOptionItem<SelectValue> | SelectGroupItem<SelectValue>)[]>> & {
|
|
267
|
+
default: () => (SelectOptionItem<SelectValue> | SelectGroupItem<SelectValue>)[];
|
|
262
268
|
};
|
|
263
269
|
placeholder: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
264
270
|
default: string;
|
|
@@ -272,6 +278,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
272
278
|
search: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
273
279
|
default: boolean;
|
|
274
280
|
};
|
|
281
|
+
searchPlaceholder: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
275
282
|
searchInputProps: import('vue-types').VueTypeValidableDef<Partial<import('vue').ExtractPropTypes<{
|
|
276
283
|
type: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
277
284
|
default: string;
|
|
@@ -315,7 +322,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
315
322
|
clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
316
323
|
default: boolean;
|
|
317
324
|
};
|
|
318
|
-
business: import('vue-types').VueTypeValidableDef<
|
|
325
|
+
business: import('vue-types').VueTypeValidableDef<BusinessType, import('vue-types/dist/types').ValidatorFunction<BusinessType>>;
|
|
319
326
|
size: import('vue-types').VueTypeDef<"small" | "large" | "medium">;
|
|
320
327
|
disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
321
328
|
readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
@@ -373,7 +380,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
373
380
|
clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
374
381
|
default: boolean;
|
|
375
382
|
};
|
|
376
|
-
business: import('vue-types').VueTypeValidableDef<
|
|
383
|
+
business: import('vue-types').VueTypeValidableDef<BusinessType, import('vue-types/dist/types').ValidatorFunction<BusinessType>>;
|
|
377
384
|
size: import('vue-types').VueTypeDef<"small" | "large" | "medium">;
|
|
378
385
|
disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
379
386
|
readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
@@ -432,7 +439,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
432
439
|
clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
433
440
|
default: boolean;
|
|
434
441
|
};
|
|
435
|
-
business: import('vue-types').VueTypeValidableDef<
|
|
442
|
+
business: import('vue-types').VueTypeValidableDef<BusinessType, import('vue-types/dist/types').ValidatorFunction<BusinessType>>;
|
|
436
443
|
size: import('vue-types').VueTypeDef<"small" | "large" | "medium">;
|
|
437
444
|
disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
438
445
|
readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
@@ -451,11 +458,15 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
451
458
|
};
|
|
452
459
|
customSearch: import('vue-types').VueTypeValidableDef<(keyword: string) => unknown, import('vue-types/dist/types').ValidatorFunction<(keyword: string) => unknown>>;
|
|
453
460
|
optionWidth: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
461
|
+
optionPlacement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
462
|
+
default: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
463
|
+
};
|
|
454
464
|
getOptionInfo: import('vue-types').VueTypeValidableDef<(value: SelectValue) => SelectOptionItem | undefined, import('vue-types/dist/types').ValidatorFunction<(value: SelectValue) => SelectOptionItem | undefined>>;
|
|
465
|
+
formatLabel: import('vue-types').VueTypeValidableDef<(option: SelectOptionItem) => string, import('vue-types/dist/types').ValidatorFunction<(option: SelectOptionItem) => string>>;
|
|
455
466
|
clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
456
467
|
default: boolean;
|
|
457
468
|
};
|
|
458
|
-
business: import('vue-types').VueTypeValidableDef<
|
|
469
|
+
business: import('vue-types').VueTypeValidableDef<BusinessType, import('vue-types/dist/types').ValidatorFunction<BusinessType>>;
|
|
459
470
|
size: import('vue-types').VueTypeDef<"small" | "large" | "medium">;
|
|
460
471
|
disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
461
472
|
readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
@@ -470,7 +481,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
470
481
|
"v-model-key": import('vue-types').VueTypeDef<SelectValue | SelectValue[]>;
|
|
471
482
|
}>>, {
|
|
472
483
|
search: boolean;
|
|
473
|
-
options: (SelectOptionItem<SelectValue> |
|
|
484
|
+
options: (SelectOptionItem<SelectValue> | SelectGroupItem<SelectValue>)[];
|
|
474
485
|
placeholder: string;
|
|
475
486
|
multiple: boolean;
|
|
476
487
|
validateForm: boolean;
|
|
@@ -519,7 +530,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
519
530
|
clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
520
531
|
default: boolean;
|
|
521
532
|
};
|
|
522
|
-
business: import('vue-types').VueTypeValidableDef<
|
|
533
|
+
business: import('vue-types').VueTypeValidableDef<BusinessType, import('vue-types/dist/types').ValidatorFunction<BusinessType>>;
|
|
523
534
|
size: import('vue-types').VueTypeDef<"small" | "large" | "medium">;
|
|
524
535
|
disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
525
536
|
readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
@@ -535,6 +546,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
535
546
|
default: import('../../input').InputValueType;
|
|
536
547
|
};
|
|
537
548
|
}>>;
|
|
549
|
+
optionPlacement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
538
550
|
}>;
|
|
539
551
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
540
552
|
export default _default;
|