@polyv/vue-components 1.10.1 → 1.11.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 +1 -1
- package/vue2/index.es.js +11205 -10718
- package/vue2/src/components/business/external-links/use-external-links.d.ts +1 -0
- package/vue2/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +1 -0
- package/vue2/src/components/exports.d.ts +1 -0
- package/vue2/src/components/form/date-picker/index.d.ts +9 -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 +9 -0
- package/vue2/src/components/form/date-picker/src/hooks/props-define.d.ts +11 -0
- package/vue2/src/components/form/date-picker/src/types/index.d.ts +3 -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.vue.d.ts +11 -0
- 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/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/text/index.d.ts +6 -0
- package/vue2/src/components/icons/map.d.ts +9 -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/hooks/props-define.d.ts +7 -0
- package/vue2/src/components/image-preview/hooks/use-image-preview.d.ts +5 -0
- package/vue2/src/components/image-preview/image-preview.vue.d.ts +7 -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/index.d.ts +5 -0
- package/vue2/src/lang/internal/en.json.d.ts +2 -1
- package/vue2/src/lang/internal/index.d.ts +1 -0
- package/vue2/src/lang/internal/ja.json.d.ts +2 -1
- package/vue2/src/lang/internal/ko.json.d.ts +2 -1
- package/vue2/src/lang/internal/ru.json.d.ts +2 -1
- package/vue2/src/lang/internal/zh-CN.json.d.ts +2 -1
- package/vue2/src/lang/internal/zh-TW.json.d.ts +2 -1
- package/vue3/index.es.js +7105 -6618
- package/vue3/src/components/business/external-links/use-external-links.d.ts +1 -0
- package/vue3/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +1 -0
- package/vue3/src/components/exports.d.ts +1 -0
- package/vue3/src/components/form/date-picker/index.d.ts +9 -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 +9 -0
- package/vue3/src/components/form/date-picker/src/hooks/props-define.d.ts +11 -0
- package/vue3/src/components/form/date-picker/src/types/index.d.ts +3 -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.vue.d.ts +11 -0
- 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/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/text/index.d.ts +6 -0
- package/vue3/src/components/icons/map.d.ts +9 -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/hooks/props-define.d.ts +7 -0
- package/vue3/src/components/image-preview/hooks/use-image-preview.d.ts +5 -0
- package/vue3/src/components/image-preview/image-preview.vue.d.ts +7 -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/index.d.ts +5 -0
- package/vue3/src/lang/internal/en.json.d.ts +2 -1
- package/vue3/src/lang/internal/index.d.ts +1 -0
- package/vue3/src/lang/internal/ja.json.d.ts +2 -1
- package/vue3/src/lang/internal/ko.json.d.ts +2 -1
- package/vue3/src/lang/internal/ru.json.d.ts +2 -1
- package/vue3/src/lang/internal/zh-CN.json.d.ts +2 -1
- package/vue3/src/lang/internal/zh-TW.json.d.ts +2 -1
|
@@ -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: () => {
|
|
@@ -41,6 +41,7 @@ export declare const useTable: (options: {
|
|
|
41
41
|
openCustomColumn: () => Promise<void>;
|
|
42
42
|
tablePaginationVisible: ComputedRef<boolean>;
|
|
43
43
|
renderData: ComputedRef<any[]>;
|
|
44
|
+
getRenderData: <T = any>() => T[];
|
|
44
45
|
requestResult: import('vue').Ref<any[] | import('../../../../..').PageContent<any> | undefined>;
|
|
45
46
|
changeRequestPage: (content: {
|
|
46
47
|
pageNumber: number;
|
|
@@ -49,7 +50,7 @@ export declare const useTable: (options: {
|
|
|
49
50
|
getRequestSort: () => import('../../types').TableSortData | undefined;
|
|
50
51
|
isRequesting: import('vue').Ref<boolean>;
|
|
51
52
|
requestTableData: (needLoading?: boolean) => Promise<void>;
|
|
52
|
-
initRequestData: () => void
|
|
53
|
+
initRequestData: () => Promise<void>;
|
|
53
54
|
changeRequestSort: (sort: import('../../types').TableSortData | undefined) => void;
|
|
54
55
|
hasHorizontalScroll: ComputedRef<boolean>;
|
|
55
56
|
hasVerticalScroll: ComputedRef<boolean>;
|
|
@@ -19,7 +19,7 @@ declare function __VLS_template(): {
|
|
|
19
19
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
20
|
declare const __VLS_component: import('vue').DefineComponent<{
|
|
21
21
|
"v-model-key": import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>>;
|
|
22
|
-
type: import('vue-types').VueTypeDef<"operation" | "tags" | "index" | "single" | "expand" | "multiple"
|
|
22
|
+
type: import('vue-types').VueTypeDef<"phone" | "operation" | "tags" | "index" | "single" | "expand" | "multiple">;
|
|
23
23
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
24
24
|
prop: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
25
25
|
width: import('vue-types').VueTypeDef<string | number>;
|
|
@@ -49,8 +49,8 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
49
49
|
sensitiveText: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
50
50
|
default: boolean;
|
|
51
51
|
};
|
|
52
|
-
sensitiveTextType: import('vue-types').VueTypeDef<"
|
|
53
|
-
default: "
|
|
52
|
+
sensitiveTextType: import('vue-types').VueTypeDef<"phone" | "password"> & {
|
|
53
|
+
default: "phone" | "password";
|
|
54
54
|
};
|
|
55
55
|
category: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
56
56
|
defaultShow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
@@ -62,7 +62,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
62
62
|
"click-edit-icon": (arg: import('./types').TableCellParams<any, any>) => void;
|
|
63
63
|
}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
64
64
|
"v-model-key": import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>>;
|
|
65
|
-
type: import('vue-types').VueTypeDef<"operation" | "tags" | "index" | "single" | "expand" | "multiple"
|
|
65
|
+
type: import('vue-types').VueTypeDef<"phone" | "operation" | "tags" | "index" | "single" | "expand" | "multiple">;
|
|
66
66
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
67
67
|
prop: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
68
68
|
width: import('vue-types').VueTypeDef<string | number>;
|
|
@@ -92,8 +92,8 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
92
92
|
sensitiveText: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
93
93
|
default: boolean;
|
|
94
94
|
};
|
|
95
|
-
sensitiveTextType: import('vue-types').VueTypeDef<"
|
|
96
|
-
default: "
|
|
95
|
+
sensitiveTextType: import('vue-types').VueTypeDef<"phone" | "password"> & {
|
|
96
|
+
default: "phone" | "password";
|
|
97
97
|
};
|
|
98
98
|
category: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
99
99
|
defaultShow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
@@ -109,7 +109,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
109
109
|
headerTips: string;
|
|
110
110
|
sortable: boolean;
|
|
111
111
|
sensitiveText: boolean;
|
|
112
|
-
sensitiveTextType: "
|
|
112
|
+
sensitiveTextType: "phone" | "password";
|
|
113
113
|
}>;
|
|
114
114
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
115
115
|
export default _default;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
declare function getRenderColumnData(): {
|
|
2
|
-
title: string;
|
|
3
|
-
prop: string;
|
|
4
|
-
}[];
|
|
5
1
|
declare function __VLS_template(): {
|
|
6
2
|
attrs: Partial<{}>;
|
|
7
3
|
slots: {
|
|
@@ -111,12 +107,19 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
111
107
|
footerSelection: import('vue-types').VueTypeDef<"none" | "count" | "selection"> & {
|
|
112
108
|
default: "none" | "count" | "selection";
|
|
113
109
|
};
|
|
110
|
+
rowClickTriggerSelection: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
111
|
+
default: boolean;
|
|
112
|
+
};
|
|
114
113
|
}, {
|
|
115
114
|
requestTableData: (needLoading?: boolean) => Promise<void>;
|
|
116
|
-
initRequestData: () => void
|
|
117
|
-
openCustomColumn: () => Promise<void>;
|
|
118
|
-
getRenderColumnData: typeof getRenderColumnData;
|
|
115
|
+
initRequestData: () => Promise<void>;
|
|
119
116
|
changeRequestSort: (sort: import('./types').TableSortData | undefined) => void;
|
|
117
|
+
openCustomColumn: () => void;
|
|
118
|
+
getRenderColumnData: () => {
|
|
119
|
+
title: string;
|
|
120
|
+
prop: string;
|
|
121
|
+
}[];
|
|
122
|
+
getRenderData: <T = any>() => T[];
|
|
120
123
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
121
124
|
"page-change": (arg: import('../../..').PageContent<unknown>) => void;
|
|
122
125
|
"sort-change": (arg: import('./types').TableSortData | undefined) => void;
|
|
@@ -210,6 +213,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
210
213
|
footerSelection: import('vue-types').VueTypeDef<"none" | "count" | "selection"> & {
|
|
211
214
|
default: "none" | "count" | "selection";
|
|
212
215
|
};
|
|
216
|
+
rowClickTriggerSelection: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
217
|
+
default: boolean;
|
|
218
|
+
};
|
|
213
219
|
}>>, {
|
|
214
220
|
data: any[] | import('../../..').PageContent<any>;
|
|
215
221
|
pagination: boolean | Partial<import('vue').ExtractPropTypes<{
|
|
@@ -243,6 +249,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
243
249
|
highlightSorted: boolean;
|
|
244
250
|
autoRequestData: boolean;
|
|
245
251
|
footerSelection: "none" | "count" | "selection";
|
|
252
|
+
rowClickTriggerSelection: boolean;
|
|
246
253
|
}>;
|
|
247
254
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
248
255
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const PwcTabs: 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
2
|
"v-model-key": import('vue-types').VueTypeDef<import('./src/props-define').TabsNameType>;
|
|
3
|
-
type: import('vue-types').VueTypeDef<"
|
|
4
|
-
default: "
|
|
3
|
+
type: import('vue-types').VueTypeDef<"text" | "line" | "rounded"> & {
|
|
4
|
+
default: "text" | "line" | "rounded";
|
|
5
5
|
};
|
|
6
6
|
expand: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
7
7
|
default: boolean;
|
|
@@ -11,8 +11,8 @@ export declare const PwcTabs: import('../../vue-utils/install-utils').SFCInstall
|
|
|
11
11
|
};
|
|
12
12
|
}>>, Readonly<import('vue').ExtractPropTypes<{
|
|
13
13
|
"v-model-key": import('vue-types').VueTypeDef<import('./src/props-define').TabsNameType>;
|
|
14
|
-
type: import('vue-types').VueTypeDef<"
|
|
15
|
-
default: "
|
|
14
|
+
type: import('vue-types').VueTypeDef<"text" | "line" | "rounded"> & {
|
|
15
|
+
default: "text" | "line" | "rounded";
|
|
16
16
|
};
|
|
17
17
|
expand: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
18
18
|
default: boolean;
|
|
@@ -23,13 +23,13 @@ export declare const PwcTabs: import('../../vue-utils/install-utils').SFCInstall
|
|
|
23
23
|
}>>, {
|
|
24
24
|
change: (arg: import('./src/props-define').TabsNameType) => void;
|
|
25
25
|
}, {
|
|
26
|
-
type: "
|
|
26
|
+
type: "text" | "line" | "rounded";
|
|
27
27
|
expand: boolean;
|
|
28
28
|
lazyLoad: boolean;
|
|
29
29
|
}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
|
|
30
30
|
"v-model-key": import('vue-types').VueTypeDef<import('./src/props-define').TabsNameType>;
|
|
31
|
-
type: import('vue-types').VueTypeDef<"
|
|
32
|
-
default: "
|
|
31
|
+
type: import('vue-types').VueTypeDef<"text" | "line" | "rounded"> & {
|
|
32
|
+
default: "text" | "line" | "rounded";
|
|
33
33
|
};
|
|
34
34
|
expand: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
35
35
|
default: boolean;
|
|
@@ -39,8 +39,8 @@ export declare const PwcTabs: import('../../vue-utils/install-utils').SFCInstall
|
|
|
39
39
|
};
|
|
40
40
|
}>>> & import('vue').ShallowUnwrapRef<{}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
|
|
41
41
|
"v-model-key": import('vue-types').VueTypeDef<import('./src/props-define').TabsNameType>;
|
|
42
|
-
type: import('vue-types').VueTypeDef<"
|
|
43
|
-
default: "
|
|
42
|
+
type: import('vue-types').VueTypeDef<"text" | "line" | "rounded"> & {
|
|
43
|
+
default: "text" | "line" | "rounded";
|
|
44
44
|
};
|
|
45
45
|
expand: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
46
46
|
default: boolean;
|
|
@@ -50,8 +50,8 @@ export declare const PwcTabs: import('../../vue-utils/install-utils').SFCInstall
|
|
|
50
50
|
};
|
|
51
51
|
}>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
52
52
|
"v-model-key": import('vue-types').VueTypeDef<import('./src/props-define').TabsNameType>;
|
|
53
|
-
type: import('vue-types').VueTypeDef<"
|
|
54
|
-
default: "
|
|
53
|
+
type: import('vue-types').VueTypeDef<"text" | "line" | "rounded"> & {
|
|
54
|
+
default: "text" | "line" | "rounded";
|
|
55
55
|
};
|
|
56
56
|
expand: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
57
57
|
default: boolean;
|
|
@@ -62,14 +62,14 @@ export declare const PwcTabs: import('../../vue-utils/install-utils').SFCInstall
|
|
|
62
62
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
63
63
|
change: (arg: import('./src/props-define').TabsNameType) => void;
|
|
64
64
|
}, string, {
|
|
65
|
-
type: "
|
|
65
|
+
type: "text" | "line" | "rounded";
|
|
66
66
|
expand: boolean;
|
|
67
67
|
lazyLoad: boolean;
|
|
68
68
|
}> & {
|
|
69
69
|
props: {
|
|
70
70
|
"v-model-key": import('vue-types').VueTypeDef<import('./src/props-define').TabsNameType>;
|
|
71
|
-
type: import('vue-types').VueTypeDef<"
|
|
72
|
-
default: "
|
|
71
|
+
type: import('vue-types').VueTypeDef<"text" | "line" | "rounded"> & {
|
|
72
|
+
default: "text" | "line" | "rounded";
|
|
73
73
|
};
|
|
74
74
|
expand: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
75
75
|
default: boolean;
|
|
@@ -12,8 +12,8 @@ export declare const tabsProps: () => {
|
|
|
12
12
|
* @propType TabsType
|
|
13
13
|
* @default 'line'
|
|
14
14
|
*/
|
|
15
|
-
type: import('vue-types').VueTypeDef<"
|
|
16
|
-
default: "
|
|
15
|
+
type: import('vue-types').VueTypeDef<"text" | "line" | "rounded"> & {
|
|
16
|
+
default: "text" | "line" | "rounded";
|
|
17
17
|
};
|
|
18
18
|
/**
|
|
19
19
|
* 过多时是否显示展开
|
|
@@ -12,8 +12,8 @@ declare function __VLS_template(): {
|
|
|
12
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
13
|
declare const __VLS_component: import('vue').DefineComponent<{
|
|
14
14
|
"v-model-key": import('vue-types').VueTypeDef<TabsNameType>;
|
|
15
|
-
type: import('vue-types').VueTypeDef<"
|
|
16
|
-
default: "
|
|
15
|
+
type: import('vue-types').VueTypeDef<"text" | "line" | "rounded"> & {
|
|
16
|
+
default: "text" | "line" | "rounded";
|
|
17
17
|
};
|
|
18
18
|
expand: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
19
19
|
default: boolean;
|
|
@@ -25,8 +25,8 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
25
25
|
change: (arg: TabsNameType) => void;
|
|
26
26
|
}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
27
27
|
"v-model-key": import('vue-types').VueTypeDef<TabsNameType>;
|
|
28
|
-
type: import('vue-types').VueTypeDef<"
|
|
29
|
-
default: "
|
|
28
|
+
type: import('vue-types').VueTypeDef<"text" | "line" | "rounded"> & {
|
|
29
|
+
default: "text" | "line" | "rounded";
|
|
30
30
|
};
|
|
31
31
|
expand: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
32
32
|
default: boolean;
|
|
@@ -35,7 +35,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
35
35
|
default: boolean;
|
|
36
36
|
};
|
|
37
37
|
}>>, {
|
|
38
|
-
type: "
|
|
38
|
+
type: "text" | "line" | "rounded";
|
|
39
39
|
expand: boolean;
|
|
40
40
|
lazyLoad: boolean;
|
|
41
41
|
}>;
|
package/vue2/src/index.d.ts
CHANGED
|
@@ -132,7 +132,8 @@ declare const _default: {
|
|
|
132
132
|
"placeholderRange": "Select time range"
|
|
133
133
|
},
|
|
134
134
|
"timezonePicker": {
|
|
135
|
-
"placeholder": "Select timezone"
|
|
135
|
+
"placeholder": "Select timezone",
|
|
136
|
+
"searchPlaceholder": "Enter region to search"
|
|
136
137
|
},
|
|
137
138
|
"select": {
|
|
138
139
|
"searchPlaceholder": "Search keywords",
|