@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
|
@@ -219,6 +219,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
219
219
|
fillBody: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
220
220
|
default: boolean;
|
|
221
221
|
};
|
|
222
|
+
forceFullpage: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
223
|
+
default: boolean;
|
|
224
|
+
};
|
|
222
225
|
bodyStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
223
226
|
default: () => import('vue').CSSProperties;
|
|
224
227
|
};
|
|
@@ -226,6 +229,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
226
229
|
default: (() => HTMLElement) | undefined;
|
|
227
230
|
};
|
|
228
231
|
showModal: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
232
|
+
hideShadow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
233
|
+
default: boolean;
|
|
234
|
+
};
|
|
229
235
|
closeOnMask: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
230
236
|
default: boolean;
|
|
231
237
|
};
|
|
@@ -333,6 +339,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
333
339
|
fillBody: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
334
340
|
default: boolean;
|
|
335
341
|
};
|
|
342
|
+
forceFullpage: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
343
|
+
default: boolean;
|
|
344
|
+
};
|
|
336
345
|
bodyStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
337
346
|
default: () => import('vue').CSSProperties;
|
|
338
347
|
};
|
|
@@ -340,6 +349,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
340
349
|
default: (() => HTMLElement) | undefined;
|
|
341
350
|
};
|
|
342
351
|
showModal: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
352
|
+
hideShadow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
353
|
+
default: boolean;
|
|
354
|
+
};
|
|
343
355
|
closeOnMask: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
344
356
|
default: boolean;
|
|
345
357
|
};
|
|
@@ -387,7 +399,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
387
399
|
bodyMaxHeight: string | number;
|
|
388
400
|
dynamicHeight: boolean;
|
|
389
401
|
fillBody: boolean;
|
|
402
|
+
forceFullpage: boolean;
|
|
390
403
|
bodyStyle: import('vue').CSSProperties;
|
|
404
|
+
hideShadow: boolean;
|
|
391
405
|
closeOnMask: boolean;
|
|
392
406
|
showScrollbar: boolean;
|
|
393
407
|
draggable: boolean;
|
|
@@ -7,8 +7,8 @@ export declare const PwcSensitiveText: import('../../vue-utils/install-utils').S
|
|
|
7
7
|
defaultShow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
8
8
|
default: boolean;
|
|
9
9
|
};
|
|
10
|
-
type: import('vue-types').VueTypeDef<"
|
|
11
|
-
default: "
|
|
10
|
+
type: import('vue-types').VueTypeDef<"phone" | "password"> & {
|
|
11
|
+
default: "phone" | "password";
|
|
12
12
|
};
|
|
13
13
|
showIcon: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
14
14
|
default: boolean;
|
|
@@ -24,14 +24,14 @@ export declare const PwcSensitiveText: import('../../vue-utils/install-utils').S
|
|
|
24
24
|
defaultShow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
25
25
|
default: boolean;
|
|
26
26
|
};
|
|
27
|
-
type: import('vue-types').VueTypeDef<"
|
|
28
|
-
default: "
|
|
27
|
+
type: import('vue-types').VueTypeDef<"phone" | "password"> & {
|
|
28
|
+
default: "phone" | "password";
|
|
29
29
|
};
|
|
30
30
|
showIcon: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
31
31
|
default: boolean;
|
|
32
32
|
};
|
|
33
33
|
}>>, {
|
|
34
|
-
type: "
|
|
34
|
+
type: "phone" | "password";
|
|
35
35
|
content: string;
|
|
36
36
|
showIcon: boolean;
|
|
37
37
|
defaultShow: boolean;
|
|
@@ -23,8 +23,8 @@ export declare const sensitiveTextProps: () => {
|
|
|
23
23
|
* 掩码类型
|
|
24
24
|
* @default 'password'
|
|
25
25
|
*/
|
|
26
|
-
type: import('vue-types').VueTypeDef<"
|
|
27
|
-
default: "
|
|
26
|
+
type: import('vue-types').VueTypeDef<"phone" | "password"> & {
|
|
27
|
+
default: "phone" | "password";
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* 显示图标
|
|
@@ -7,8 +7,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
7
7
|
defaultShow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
8
8
|
default: boolean;
|
|
9
9
|
};
|
|
10
|
-
type: import('vue-types').VueTypeDef<"
|
|
11
|
-
default: "
|
|
10
|
+
type: import('vue-types').VueTypeDef<"phone" | "password"> & {
|
|
11
|
+
default: "phone" | "password";
|
|
12
12
|
};
|
|
13
13
|
showIcon: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
14
14
|
default: boolean;
|
|
@@ -24,14 +24,14 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
24
24
|
defaultShow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
25
25
|
default: boolean;
|
|
26
26
|
};
|
|
27
|
-
type: import('vue-types').VueTypeDef<"
|
|
28
|
-
default: "
|
|
27
|
+
type: import('vue-types').VueTypeDef<"phone" | "password"> & {
|
|
28
|
+
default: "phone" | "password";
|
|
29
29
|
};
|
|
30
30
|
showIcon: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
31
31
|
default: boolean;
|
|
32
32
|
};
|
|
33
33
|
}>>, {
|
|
34
|
-
type: "
|
|
34
|
+
type: "phone" | "password";
|
|
35
35
|
content: string;
|
|
36
36
|
showIcon: boolean;
|
|
37
37
|
defaultShow: boolean;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export declare const PwcSpace: import('../../vue-utils/install-utils').SFCInstall<import('vue/types/v3-component-public-instance').ComponentPublicInstanceConstructor<import('vue/types/v3-component-public-instance').Vue3Instance<{}, Readonly<import('vue').ExtractPropTypes<{
|
|
2
|
+
direction: import('vue-types').VueTypeDef<"vertical" | "horizontal"> & {
|
|
3
|
+
default: "vertical" | "horizontal";
|
|
4
|
+
};
|
|
5
|
+
size: import('vue-types').VueTypeDef<number | "small" | "large" | "mini" | "medium"> & {
|
|
6
|
+
default: number | "small" | "large" | "mini" | "medium";
|
|
7
|
+
};
|
|
8
|
+
wrap: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
}>>, Readonly<import('vue').ExtractPropTypes<{
|
|
12
|
+
direction: import('vue-types').VueTypeDef<"vertical" | "horizontal"> & {
|
|
13
|
+
default: "vertical" | "horizontal";
|
|
14
|
+
};
|
|
15
|
+
size: import('vue-types').VueTypeDef<number | "small" | "large" | "mini" | "medium"> & {
|
|
16
|
+
default: number | "small" | "large" | "mini" | "medium";
|
|
17
|
+
};
|
|
18
|
+
wrap: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
}>>, {}, {
|
|
22
|
+
size: number | "small" | "large" | "mini" | "medium";
|
|
23
|
+
direction: "vertical" | "horizontal";
|
|
24
|
+
wrap: boolean;
|
|
25
|
+
}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
|
|
26
|
+
direction: import('vue-types').VueTypeDef<"vertical" | "horizontal"> & {
|
|
27
|
+
default: "vertical" | "horizontal";
|
|
28
|
+
};
|
|
29
|
+
size: import('vue-types').VueTypeDef<number | "small" | "large" | "mini" | "medium"> & {
|
|
30
|
+
default: number | "small" | "large" | "mini" | "medium";
|
|
31
|
+
};
|
|
32
|
+
wrap: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
}>>> & import('vue').ShallowUnwrapRef<{}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
|
|
36
|
+
direction: import('vue-types').VueTypeDef<"vertical" | "horizontal"> & {
|
|
37
|
+
default: "vertical" | "horizontal";
|
|
38
|
+
};
|
|
39
|
+
size: import('vue-types').VueTypeDef<number | "small" | "large" | "mini" | "medium"> & {
|
|
40
|
+
default: number | "small" | "large" | "mini" | "medium";
|
|
41
|
+
};
|
|
42
|
+
wrap: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
}>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
46
|
+
direction: import('vue-types').VueTypeDef<"vertical" | "horizontal"> & {
|
|
47
|
+
default: "vertical" | "horizontal";
|
|
48
|
+
};
|
|
49
|
+
size: import('vue-types').VueTypeDef<number | "small" | "large" | "mini" | "medium"> & {
|
|
50
|
+
default: number | "small" | "large" | "mini" | "medium";
|
|
51
|
+
};
|
|
52
|
+
wrap: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
56
|
+
size: number | "small" | "large" | "mini" | "medium";
|
|
57
|
+
direction: "vertical" | "horizontal";
|
|
58
|
+
wrap: boolean;
|
|
59
|
+
}> & {
|
|
60
|
+
props: {
|
|
61
|
+
direction: import('vue-types').VueTypeDef<"vertical" | "horizontal"> & {
|
|
62
|
+
default: "vertical" | "horizontal";
|
|
63
|
+
};
|
|
64
|
+
size: import('vue-types').VueTypeDef<number | "small" | "large" | "mini" | "medium"> & {
|
|
65
|
+
default: number | "small" | "large" | "mini" | "medium";
|
|
66
|
+
};
|
|
67
|
+
wrap: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
} & (new () => {
|
|
72
|
+
$scopedSlots: {
|
|
73
|
+
default?(_: {}): any;
|
|
74
|
+
};
|
|
75
|
+
}), import('../../vue-utils/install-utils').InstallOptions>;
|
|
76
|
+
export * from './src/props-define';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare const spaceDirections: readonly ["horizontal", "vertical"];
|
|
2
|
+
export type SpaceDirection = (typeof spaceDirections)[number];
|
|
3
|
+
export declare const spaceSizes: readonly ["mini", "small", "medium", "large"];
|
|
4
|
+
export type SpaceSize = (typeof spaceSizes)[number];
|
|
5
|
+
export declare const spaceSizeMap: Record<SpaceSize, number>;
|
|
6
|
+
export declare const spaceProps: () => {
|
|
7
|
+
/**
|
|
8
|
+
* 间距方向
|
|
9
|
+
* @propType SpaceDirection
|
|
10
|
+
* @default 'horizontal'
|
|
11
|
+
*/
|
|
12
|
+
direction: import('vue-types').VueTypeDef<"vertical" | "horizontal"> & {
|
|
13
|
+
default: "vertical" | "horizontal";
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* 间距大小,传入 number 类型时单位为 px
|
|
17
|
+
* @propType SpaceSize | number
|
|
18
|
+
* @default 'small'
|
|
19
|
+
*/
|
|
20
|
+
size: import('vue-types').VueTypeDef<number | "small" | "large" | "mini" | "medium"> & {
|
|
21
|
+
default: number | "small" | "large" | "mini" | "medium";
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* 是否允许折行
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
wrap: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export interface SpaceSlots {
|
|
32
|
+
/**
|
|
33
|
+
* 间距内容插槽
|
|
34
|
+
*/
|
|
35
|
+
default: void;
|
|
36
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
11
|
+
direction: import('vue-types').VueTypeDef<"vertical" | "horizontal"> & {
|
|
12
|
+
default: "vertical" | "horizontal";
|
|
13
|
+
};
|
|
14
|
+
size: import('vue-types').VueTypeDef<number | "small" | "large" | "mini" | "medium"> & {
|
|
15
|
+
default: number | "small" | "large" | "mini" | "medium";
|
|
16
|
+
};
|
|
17
|
+
wrap: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
+
direction: import('vue-types').VueTypeDef<"vertical" | "horizontal"> & {
|
|
22
|
+
default: "vertical" | "horizontal";
|
|
23
|
+
};
|
|
24
|
+
size: import('vue-types').VueTypeDef<number | "small" | "large" | "mini" | "medium"> & {
|
|
25
|
+
default: number | "small" | "large" | "mini" | "medium";
|
|
26
|
+
};
|
|
27
|
+
wrap: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
}>>, {
|
|
31
|
+
size: number | "small" | "large" | "mini" | "medium";
|
|
32
|
+
direction: "vertical" | "horizontal";
|
|
33
|
+
wrap: boolean;
|
|
34
|
+
}>;
|
|
35
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$scopedSlots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -88,6 +88,9 @@ export declare const PwcTable: import('../../vue-utils/install-utils').SFCInstal
|
|
|
88
88
|
footerSelection: import('vue-types').VueTypeDef<"none" | "count" | "selection"> & {
|
|
89
89
|
default: "none" | "count" | "selection";
|
|
90
90
|
};
|
|
91
|
+
rowClickTriggerSelection: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
91
94
|
}>>, Readonly<import('vue').ExtractPropTypes<{
|
|
92
95
|
data: import('vue-types').VueTypeDef<any[] | import('../..').PageContent<any>> & {
|
|
93
96
|
default: (() => any[]) | (() => import('../..').PageContent<any>);
|
|
@@ -178,6 +181,9 @@ export declare const PwcTable: import('../../vue-utils/install-utils').SFCInstal
|
|
|
178
181
|
footerSelection: import('vue-types').VueTypeDef<"none" | "count" | "selection"> & {
|
|
179
182
|
default: "none" | "count" | "selection";
|
|
180
183
|
};
|
|
184
|
+
rowClickTriggerSelection: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
185
|
+
default: boolean;
|
|
186
|
+
};
|
|
181
187
|
}>>, {
|
|
182
188
|
"page-change": (arg: import('../..').PageContent<unknown>) => void;
|
|
183
189
|
"sort-change": (arg: import('./src/types').TableSortData | undefined) => void;
|
|
@@ -214,6 +220,7 @@ export declare const PwcTable: import('../../vue-utils/install-utils').SFCInstal
|
|
|
214
220
|
highlightSorted: boolean;
|
|
215
221
|
autoRequestData: boolean;
|
|
216
222
|
footerSelection: "none" | "count" | "selection";
|
|
223
|
+
rowClickTriggerSelection: boolean;
|
|
217
224
|
}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
|
|
218
225
|
data: import('vue-types').VueTypeDef<any[] | import('../..').PageContent<any>> & {
|
|
219
226
|
default: (() => any[]) | (() => import('../..').PageContent<any>);
|
|
@@ -304,15 +311,19 @@ export declare const PwcTable: import('../../vue-utils/install-utils').SFCInstal
|
|
|
304
311
|
footerSelection: import('vue-types').VueTypeDef<"none" | "count" | "selection"> & {
|
|
305
312
|
default: "none" | "count" | "selection";
|
|
306
313
|
};
|
|
314
|
+
rowClickTriggerSelection: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
315
|
+
default: boolean;
|
|
316
|
+
};
|
|
307
317
|
}>>> & import('vue').ShallowUnwrapRef<{
|
|
308
318
|
requestTableData: (needLoading?: boolean) => Promise<void>;
|
|
309
|
-
initRequestData: () => void
|
|
310
|
-
|
|
319
|
+
initRequestData: () => Promise<void>;
|
|
320
|
+
changeRequestSort: (sort: import('./src/types').TableSortData | undefined) => void;
|
|
321
|
+
openCustomColumn: () => void;
|
|
311
322
|
getRenderColumnData: () => {
|
|
312
323
|
title: string;
|
|
313
324
|
prop: string;
|
|
314
325
|
}[];
|
|
315
|
-
|
|
326
|
+
getRenderData: <T = any>() => T[];
|
|
316
327
|
}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
|
|
317
328
|
data: import('vue-types').VueTypeDef<any[] | import('../..').PageContent<any>> & {
|
|
318
329
|
default: (() => any[]) | (() => import('../..').PageContent<any>);
|
|
@@ -403,6 +414,9 @@ export declare const PwcTable: import('../../vue-utils/install-utils').SFCInstal
|
|
|
403
414
|
footerSelection: import('vue-types').VueTypeDef<"none" | "count" | "selection"> & {
|
|
404
415
|
default: "none" | "count" | "selection";
|
|
405
416
|
};
|
|
417
|
+
rowClickTriggerSelection: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
418
|
+
default: boolean;
|
|
419
|
+
};
|
|
406
420
|
}>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
407
421
|
data: import('vue-types').VueTypeDef<any[] | import('../..').PageContent<any>> & {
|
|
408
422
|
default: (() => any[]) | (() => import('../..').PageContent<any>);
|
|
@@ -493,15 +507,19 @@ export declare const PwcTable: import('../../vue-utils/install-utils').SFCInstal
|
|
|
493
507
|
footerSelection: import('vue-types').VueTypeDef<"none" | "count" | "selection"> & {
|
|
494
508
|
default: "none" | "count" | "selection";
|
|
495
509
|
};
|
|
510
|
+
rowClickTriggerSelection: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
511
|
+
default: boolean;
|
|
512
|
+
};
|
|
496
513
|
}>>, {
|
|
497
514
|
requestTableData: (needLoading?: boolean) => Promise<void>;
|
|
498
|
-
initRequestData: () => void
|
|
499
|
-
|
|
515
|
+
initRequestData: () => Promise<void>;
|
|
516
|
+
changeRequestSort: (sort: import('./src/types').TableSortData | undefined) => void;
|
|
517
|
+
openCustomColumn: () => void;
|
|
500
518
|
getRenderColumnData: () => {
|
|
501
519
|
title: string;
|
|
502
520
|
prop: string;
|
|
503
521
|
}[];
|
|
504
|
-
|
|
522
|
+
getRenderData: <T = any>() => T[];
|
|
505
523
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
506
524
|
"page-change": (arg: import('../..').PageContent<unknown>) => void;
|
|
507
525
|
"sort-change": (arg: import('./src/types').TableSortData | undefined) => void;
|
|
@@ -538,6 +556,7 @@ export declare const PwcTable: import('../../vue-utils/install-utils').SFCInstal
|
|
|
538
556
|
highlightSorted: boolean;
|
|
539
557
|
autoRequestData: boolean;
|
|
540
558
|
footerSelection: "none" | "count" | "selection";
|
|
559
|
+
rowClickTriggerSelection: boolean;
|
|
541
560
|
}> & {
|
|
542
561
|
props: {
|
|
543
562
|
data: import('vue-types').VueTypeDef<any[] | import('../..').PageContent<any>> & {
|
|
@@ -629,6 +648,9 @@ export declare const PwcTable: import('../../vue-utils/install-utils').SFCInstal
|
|
|
629
648
|
footerSelection: import('vue-types').VueTypeDef<"none" | "count" | "selection"> & {
|
|
630
649
|
default: "none" | "count" | "selection";
|
|
631
650
|
};
|
|
651
|
+
rowClickTriggerSelection: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
652
|
+
default: boolean;
|
|
653
|
+
};
|
|
632
654
|
};
|
|
633
655
|
} & (new () => {
|
|
634
656
|
$scopedSlots: {
|
|
@@ -642,7 +664,7 @@ export declare const PwcTable: import('../../vue-utils/install-utils').SFCInstal
|
|
|
642
664
|
}), import('../../vue-utils/install-utils').InstallOptions>;
|
|
643
665
|
export declare const PwcTableColumn: import('../../vue-utils/install-utils').SFCInstall<import('vue/types/v3-component-public-instance').ComponentPublicInstanceConstructor<import('vue/types/v3-component-public-instance').Vue3Instance<{}, Readonly<import('vue').ExtractPropTypes<{
|
|
644
666
|
"v-model-key": import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>>;
|
|
645
|
-
type: import('vue-types').VueTypeDef<"operation" | "tags" | "index" | "single" | "expand" | "multiple"
|
|
667
|
+
type: import('vue-types').VueTypeDef<"phone" | "operation" | "tags" | "index" | "single" | "expand" | "multiple">;
|
|
646
668
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
647
669
|
prop: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
648
670
|
width: import('vue-types').VueTypeDef<string | number>;
|
|
@@ -672,8 +694,8 @@ export declare const PwcTableColumn: import('../../vue-utils/install-utils').SFC
|
|
|
672
694
|
sensitiveText: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
673
695
|
default: boolean;
|
|
674
696
|
};
|
|
675
|
-
sensitiveTextType: import('vue-types').VueTypeDef<"
|
|
676
|
-
default: "
|
|
697
|
+
sensitiveTextType: import('vue-types').VueTypeDef<"phone" | "password"> & {
|
|
698
|
+
default: "phone" | "password";
|
|
677
699
|
};
|
|
678
700
|
category: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
679
701
|
defaultShow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
@@ -683,7 +705,7 @@ export declare const PwcTableColumn: import('../../vue-utils/install-utils').SFC
|
|
|
683
705
|
showEditIcon: import('vue-types').VueTypeDef<boolean | ((cellData: import('./src/types').TableCellParams) => string)>;
|
|
684
706
|
}>>, Readonly<import('vue').ExtractPropTypes<{
|
|
685
707
|
"v-model-key": import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>>;
|
|
686
|
-
type: import('vue-types').VueTypeDef<"operation" | "tags" | "index" | "single" | "expand" | "multiple"
|
|
708
|
+
type: import('vue-types').VueTypeDef<"phone" | "operation" | "tags" | "index" | "single" | "expand" | "multiple">;
|
|
687
709
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
688
710
|
prop: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
689
711
|
width: import('vue-types').VueTypeDef<string | number>;
|
|
@@ -713,8 +735,8 @@ export declare const PwcTableColumn: import('../../vue-utils/install-utils').SFC
|
|
|
713
735
|
sensitiveText: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
714
736
|
default: boolean;
|
|
715
737
|
};
|
|
716
|
-
sensitiveTextType: import('vue-types').VueTypeDef<"
|
|
717
|
-
default: "
|
|
738
|
+
sensitiveTextType: import('vue-types').VueTypeDef<"phone" | "password"> & {
|
|
739
|
+
default: "phone" | "password";
|
|
718
740
|
};
|
|
719
741
|
category: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
720
742
|
defaultShow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
@@ -732,10 +754,10 @@ export declare const PwcTableColumn: import('../../vue-utils/install-utils').SFC
|
|
|
732
754
|
headerTips: string;
|
|
733
755
|
sortable: boolean;
|
|
734
756
|
sensitiveText: boolean;
|
|
735
|
-
sensitiveTextType: "
|
|
757
|
+
sensitiveTextType: "phone" | "password";
|
|
736
758
|
}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
|
|
737
759
|
"v-model-key": import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>>;
|
|
738
|
-
type: import('vue-types').VueTypeDef<"operation" | "tags" | "index" | "single" | "expand" | "multiple"
|
|
760
|
+
type: import('vue-types').VueTypeDef<"phone" | "operation" | "tags" | "index" | "single" | "expand" | "multiple">;
|
|
739
761
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
740
762
|
prop: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
741
763
|
width: import('vue-types').VueTypeDef<string | number>;
|
|
@@ -765,8 +787,8 @@ export declare const PwcTableColumn: import('../../vue-utils/install-utils').SFC
|
|
|
765
787
|
sensitiveText: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
766
788
|
default: boolean;
|
|
767
789
|
};
|
|
768
|
-
sensitiveTextType: import('vue-types').VueTypeDef<"
|
|
769
|
-
default: "
|
|
790
|
+
sensitiveTextType: import('vue-types').VueTypeDef<"phone" | "password"> & {
|
|
791
|
+
default: "phone" | "password";
|
|
770
792
|
};
|
|
771
793
|
category: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
772
794
|
defaultShow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
@@ -776,7 +798,7 @@ export declare const PwcTableColumn: import('../../vue-utils/install-utils').SFC
|
|
|
776
798
|
showEditIcon: import('vue-types').VueTypeDef<boolean | ((cellData: import('./src/types').TableCellParams) => string)>;
|
|
777
799
|
}>>> & import('vue').ShallowUnwrapRef<{}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
|
|
778
800
|
"v-model-key": import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>>;
|
|
779
|
-
type: import('vue-types').VueTypeDef<"operation" | "tags" | "index" | "single" | "expand" | "multiple"
|
|
801
|
+
type: import('vue-types').VueTypeDef<"phone" | "operation" | "tags" | "index" | "single" | "expand" | "multiple">;
|
|
780
802
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
781
803
|
prop: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
782
804
|
width: import('vue-types').VueTypeDef<string | number>;
|
|
@@ -806,8 +828,8 @@ export declare const PwcTableColumn: import('../../vue-utils/install-utils').SFC
|
|
|
806
828
|
sensitiveText: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
807
829
|
default: boolean;
|
|
808
830
|
};
|
|
809
|
-
sensitiveTextType: import('vue-types').VueTypeDef<"
|
|
810
|
-
default: "
|
|
831
|
+
sensitiveTextType: import('vue-types').VueTypeDef<"phone" | "password"> & {
|
|
832
|
+
default: "phone" | "password";
|
|
811
833
|
};
|
|
812
834
|
category: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
813
835
|
defaultShow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
@@ -817,7 +839,7 @@ export declare const PwcTableColumn: import('../../vue-utils/install-utils').SFC
|
|
|
817
839
|
showEditIcon: import('vue-types').VueTypeDef<boolean | ((cellData: import('./src/types').TableCellParams) => string)>;
|
|
818
840
|
}>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
819
841
|
"v-model-key": import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>>;
|
|
820
|
-
type: import('vue-types').VueTypeDef<"operation" | "tags" | "index" | "single" | "expand" | "multiple"
|
|
842
|
+
type: import('vue-types').VueTypeDef<"phone" | "operation" | "tags" | "index" | "single" | "expand" | "multiple">;
|
|
821
843
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
822
844
|
prop: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
823
845
|
width: import('vue-types').VueTypeDef<string | number>;
|
|
@@ -847,8 +869,8 @@ export declare const PwcTableColumn: import('../../vue-utils/install-utils').SFC
|
|
|
847
869
|
sensitiveText: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
848
870
|
default: boolean;
|
|
849
871
|
};
|
|
850
|
-
sensitiveTextType: import('vue-types').VueTypeDef<"
|
|
851
|
-
default: "
|
|
872
|
+
sensitiveTextType: import('vue-types').VueTypeDef<"phone" | "password"> & {
|
|
873
|
+
default: "phone" | "password";
|
|
852
874
|
};
|
|
853
875
|
category: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
854
876
|
defaultShow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
@@ -866,11 +888,11 @@ export declare const PwcTableColumn: import('../../vue-utils/install-utils').SFC
|
|
|
866
888
|
headerTips: string;
|
|
867
889
|
sortable: boolean;
|
|
868
890
|
sensitiveText: boolean;
|
|
869
|
-
sensitiveTextType: "
|
|
891
|
+
sensitiveTextType: "phone" | "password";
|
|
870
892
|
}> & {
|
|
871
893
|
props: {
|
|
872
894
|
"v-model-key": import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>>;
|
|
873
|
-
type: import('vue-types').VueTypeDef<"operation" | "tags" | "index" | "single" | "expand" | "multiple"
|
|
895
|
+
type: import('vue-types').VueTypeDef<"phone" | "operation" | "tags" | "index" | "single" | "expand" | "multiple">;
|
|
874
896
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
875
897
|
prop: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
876
898
|
width: import('vue-types').VueTypeDef<string | number>;
|
|
@@ -900,8 +922,8 @@ export declare const PwcTableColumn: import('../../vue-utils/install-utils').SFC
|
|
|
900
922
|
sensitiveText: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
901
923
|
default: boolean;
|
|
902
924
|
};
|
|
903
|
-
sensitiveTextType: import('vue-types').VueTypeDef<"
|
|
904
|
-
default: "
|
|
925
|
+
sensitiveTextType: import('vue-types').VueTypeDef<"phone" | "password"> & {
|
|
926
|
+
default: "phone" | "password";
|
|
905
927
|
};
|
|
906
928
|
category: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
907
929
|
defaultShow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComputedRef } from 'vue';
|
|
1
|
+
import { ComputedRef, InjectionKey } from 'vue';
|
|
2
2
|
import { VueProps } from '../../../../../vue-utils';
|
|
3
3
|
export declare const tableBodyRowProps: () => {
|
|
4
4
|
renderRowKey: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
@@ -22,12 +22,17 @@ export interface TableBodyRowInjectData {
|
|
|
22
22
|
rowData: ComputedRef<any>;
|
|
23
23
|
/** 行索引 */
|
|
24
24
|
rowIndex: ComputedRef<number>;
|
|
25
|
+
/** 添加点击回调 */
|
|
26
|
+
addClickCallback: (cb: () => unknown) => void;
|
|
25
27
|
}
|
|
28
|
+
export declare const TABLE_BODY_ROW_INJECT_KEY: InjectionKey<TableBodyRowInjectData>;
|
|
26
29
|
export declare const useTableBodyRow: (options: {
|
|
27
30
|
props: VueProps<typeof tableBodyRowProps>;
|
|
28
31
|
}) => {
|
|
29
32
|
renderRowKey: ComputedRef<string>;
|
|
30
33
|
rowData: ComputedRef<any>;
|
|
31
34
|
rowIndex: ComputedRef<number>;
|
|
35
|
+
onClickRow: () => void;
|
|
36
|
+
addClickCallback: (cb: () => unknown) => void;
|
|
32
37
|
};
|
|
33
38
|
export declare const useTableBodyRowInject: () => TableBodyRowInjectData;
|
|
@@ -179,6 +179,13 @@ export declare const tableProps: () => {
|
|
|
179
179
|
footerSelection: import('vue-types').VueTypeDef<"none" | "count" | "selection"> & {
|
|
180
180
|
default: "none" | "count" | "selection";
|
|
181
181
|
};
|
|
182
|
+
/**
|
|
183
|
+
* 点击数据行时触发选择
|
|
184
|
+
* @default false
|
|
185
|
+
*/
|
|
186
|
+
rowClickTriggerSelection: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
187
|
+
default: boolean;
|
|
188
|
+
};
|
|
182
189
|
};
|
|
183
190
|
export declare const tableEmits: () => {
|
|
184
191
|
/**
|
|
@@ -225,6 +232,35 @@ export interface TableSlots {
|
|
|
225
232
|
*/
|
|
226
233
|
'empty-text': void;
|
|
227
234
|
}
|
|
235
|
+
export interface TableExpose {
|
|
236
|
+
/**
|
|
237
|
+
* 请求当前页数据
|
|
238
|
+
*/
|
|
239
|
+
requestTableData: (needLoading?: boolean) => Promise<void>;
|
|
240
|
+
/**
|
|
241
|
+
* 初始化请求数据
|
|
242
|
+
*/
|
|
243
|
+
initRequestData: () => Promise<void>;
|
|
244
|
+
/**
|
|
245
|
+
* 修改请求排序
|
|
246
|
+
*/
|
|
247
|
+
changeRequestSort: (sort: TableSortData | undefined) => void;
|
|
248
|
+
/**
|
|
249
|
+
* 打开自定义列表
|
|
250
|
+
*/
|
|
251
|
+
openCustomColumn: () => void;
|
|
252
|
+
/**
|
|
253
|
+
* 获取渲染列数据
|
|
254
|
+
*/
|
|
255
|
+
getRenderColumnData: () => {
|
|
256
|
+
title: string;
|
|
257
|
+
prop: string;
|
|
258
|
+
}[];
|
|
259
|
+
/**
|
|
260
|
+
* 获取渲染数据
|
|
261
|
+
*/
|
|
262
|
+
getRenderData: <T = any>() => T[];
|
|
263
|
+
}
|
|
228
264
|
export declare const tableColumnProps: () => {
|
|
229
265
|
/**
|
|
230
266
|
* 绑定值,支持 v-model
|
|
@@ -234,7 +270,7 @@ export declare const tableColumnProps: () => {
|
|
|
234
270
|
* 列类型
|
|
235
271
|
* @propType TableColumnType
|
|
236
272
|
*/
|
|
237
|
-
type: import('vue-types').VueTypeDef<"operation" | "tags" | "index" | "single" | "expand" | "multiple"
|
|
273
|
+
type: import('vue-types').VueTypeDef<"phone" | "operation" | "tags" | "index" | "single" | "expand" | "multiple">;
|
|
238
274
|
/**
|
|
239
275
|
* 列头文字
|
|
240
276
|
*/
|
|
@@ -322,8 +358,8 @@ export declare const tableColumnProps: () => {
|
|
|
322
358
|
* 脱敏类型
|
|
323
359
|
* @default 'phone'
|
|
324
360
|
*/
|
|
325
|
-
sensitiveTextType: import('vue-types').VueTypeDef<"
|
|
326
|
-
default: "
|
|
361
|
+
sensitiveTextType: import('vue-types').VueTypeDef<"phone" | "password"> & {
|
|
362
|
+
default: "phone" | "password";
|
|
327
363
|
};
|
|
328
364
|
/**
|
|
329
365
|
* 列的分类,用于自定义列表
|
|
@@ -13,5 +13,6 @@ export declare const useTableRenderData: (options: {
|
|
|
13
13
|
tableRequestResult: ReturnType<typeof useTableRequest>;
|
|
14
14
|
}) => {
|
|
15
15
|
renderData: ComputedRef<any[]>;
|
|
16
|
+
getRenderData: <T = any>() => T[];
|
|
16
17
|
};
|
|
17
18
|
export declare const useTableRenderDataInject: () => TableRenderDataInject;
|
|
@@ -24,7 +24,7 @@ export declare const useTableRequest: (options: {
|
|
|
24
24
|
getRequestSort: () => TableSortData | undefined;
|
|
25
25
|
isRequesting: import('vue').Ref<boolean>;
|
|
26
26
|
requestTableData: (needLoading?: boolean) => Promise<void>;
|
|
27
|
-
initRequestData: () => void
|
|
27
|
+
initRequestData: () => Promise<void>;
|
|
28
28
|
changeRequestSort: (sort: TableSortData | undefined) => void;
|
|
29
29
|
};
|
|
30
30
|
export declare const useTableRequestInject: () => {
|