@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
|
@@ -1,23 +1,4 @@
|
|
|
1
|
-
declare
|
|
2
|
-
attrs: Partial<{}>;
|
|
3
|
-
slots: {
|
|
4
|
-
default?(_: {
|
|
5
|
-
timeText: {
|
|
6
|
-
hours: number;
|
|
7
|
-
hoursText: string;
|
|
8
|
-
minutes: number;
|
|
9
|
-
minutesText: string;
|
|
10
|
-
seconds: number;
|
|
11
|
-
secondsText: string;
|
|
12
|
-
};
|
|
13
|
-
surplusSecond: number;
|
|
14
|
-
}): any;
|
|
15
|
-
};
|
|
16
|
-
refs: {};
|
|
17
|
-
rootEl: HTMLDivElement;
|
|
18
|
-
};
|
|
19
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
21
2
|
second: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
22
3
|
timestamp: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
23
4
|
hideZeroHour: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
@@ -26,6 +7,12 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
26
7
|
useClock: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
27
8
|
default: boolean;
|
|
28
9
|
};
|
|
10
|
+
showMillisecond: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
wrapItem: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
29
16
|
itemClass: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
30
17
|
default: string;
|
|
31
18
|
};
|
|
@@ -38,8 +25,8 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
38
25
|
fontDinPro: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
39
26
|
default: boolean;
|
|
40
27
|
};
|
|
41
|
-
},
|
|
42
|
-
finish: (
|
|
28
|
+
}, () => import('vue').VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
|
+
finish: import('../..').EmitFuncType<void>;
|
|
43
30
|
}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
44
31
|
second: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
45
32
|
timestamp: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
@@ -49,6 +36,12 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
49
36
|
useClock: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
50
37
|
default: boolean;
|
|
51
38
|
};
|
|
39
|
+
showMillisecond: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
wrapItem: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
52
45
|
itemClass: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
53
46
|
default: string;
|
|
54
47
|
};
|
|
@@ -64,15 +57,11 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
64
57
|
}>>, {
|
|
65
58
|
hideZeroHour: boolean;
|
|
66
59
|
useClock: boolean;
|
|
60
|
+
showMillisecond: boolean;
|
|
61
|
+
wrapItem: boolean;
|
|
67
62
|
itemClass: string;
|
|
68
63
|
colonClass: string;
|
|
69
64
|
finishSecond: number;
|
|
70
65
|
fontDinPro: boolean;
|
|
71
66
|
}>;
|
|
72
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
73
67
|
export default _default;
|
|
74
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
75
|
-
new (): {
|
|
76
|
-
$scopedSlots: S;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
@@ -23,13 +23,27 @@ export declare const basicCountdownProps: () => {
|
|
|
23
23
|
default: boolean;
|
|
24
24
|
};
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* 是否显示毫秒
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
showMillisecond: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* 是否给每个数字和符号包裹 DOM
|
|
34
|
+
* @default false
|
|
35
|
+
*/
|
|
36
|
+
wrapItem: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* 数字样式类
|
|
27
41
|
*/
|
|
28
42
|
itemClass: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
29
43
|
default: string;
|
|
30
44
|
};
|
|
31
45
|
/**
|
|
32
|
-
*
|
|
46
|
+
* 冒号和点号样式类
|
|
33
47
|
*/
|
|
34
48
|
colonClass: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
35
49
|
default: string;
|
|
@@ -55,10 +69,17 @@ export declare const basicCountdownEmit: () => {
|
|
|
55
69
|
*/
|
|
56
70
|
finish: import('../../vue-utils').EmitFuncType<void>;
|
|
57
71
|
};
|
|
72
|
+
export type BasicCountdownItem = {
|
|
73
|
+
key: string;
|
|
74
|
+
text: string;
|
|
75
|
+
isNumber: boolean;
|
|
76
|
+
className: string[];
|
|
77
|
+
};
|
|
58
78
|
export declare const useBasicCountdown: (options: {
|
|
59
79
|
props: VueProps<typeof basicCountdownProps>;
|
|
60
80
|
emit: VueEmit<typeof basicCountdownEmit>;
|
|
61
81
|
}) => {
|
|
82
|
+
countdownItems: import('vue').ComputedRef<BasicCountdownItem[]>;
|
|
62
83
|
surplusSecond: import('vue').Ref<number>;
|
|
63
84
|
timeText: import('vue').ComputedRef<{
|
|
64
85
|
hours: number;
|
|
@@ -67,5 +88,7 @@ export declare const useBasicCountdown: (options: {
|
|
|
67
88
|
minutesText: string;
|
|
68
89
|
seconds: number;
|
|
69
90
|
secondsText: string;
|
|
91
|
+
milliseconds: number;
|
|
92
|
+
millisecondsText: string;
|
|
70
93
|
}>;
|
|
71
94
|
};
|
package/vue2/src/components/business/data-export/data-export-record/use-data-export-record.d.ts
CHANGED
|
@@ -88,6 +88,9 @@ export declare const useDataExportRecord: (options: {
|
|
|
88
88
|
fillBody: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
89
89
|
default: boolean;
|
|
90
90
|
};
|
|
91
|
+
forceFullpage: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
91
94
|
bodyStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
92
95
|
default: () => import('vue').CSSProperties;
|
|
93
96
|
};
|
|
@@ -95,6 +98,9 @@ export declare const useDataExportRecord: (options: {
|
|
|
95
98
|
default: (() => HTMLElement) | undefined;
|
|
96
99
|
};
|
|
97
100
|
showModal: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
101
|
+
hideShadow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
98
104
|
closeOnMask: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
99
105
|
default: boolean;
|
|
100
106
|
};
|
|
@@ -190,6 +196,9 @@ export declare const useDataExportRecord: (options: {
|
|
|
190
196
|
fillBody: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
191
197
|
default: boolean;
|
|
192
198
|
};
|
|
199
|
+
forceFullpage: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
200
|
+
default: boolean;
|
|
201
|
+
};
|
|
193
202
|
bodyStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
194
203
|
default: () => import('vue').CSSProperties;
|
|
195
204
|
};
|
|
@@ -197,6 +206,9 @@ export declare const useDataExportRecord: (options: {
|
|
|
197
206
|
default: (() => HTMLElement) | undefined;
|
|
198
207
|
};
|
|
199
208
|
showModal: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
209
|
+
hideShadow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
210
|
+
default: boolean;
|
|
211
|
+
};
|
|
200
212
|
closeOnMask: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
201
213
|
default: boolean;
|
|
202
214
|
};
|
|
@@ -252,7 +264,9 @@ export declare const useDataExportRecord: (options: {
|
|
|
252
264
|
bodyMaxHeight: string | number;
|
|
253
265
|
dynamicHeight: boolean;
|
|
254
266
|
fillBody: boolean;
|
|
267
|
+
forceFullpage: boolean;
|
|
255
268
|
bodyStyle: import('vue').CSSProperties;
|
|
269
|
+
hideShadow: boolean;
|
|
256
270
|
closeOnMask: boolean;
|
|
257
271
|
showScrollbar: boolean;
|
|
258
272
|
draggable: boolean;
|
|
@@ -328,6 +342,9 @@ export declare const useDataExportRecord: (options: {
|
|
|
328
342
|
fillBody: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
329
343
|
default: boolean;
|
|
330
344
|
};
|
|
345
|
+
forceFullpage: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
346
|
+
default: boolean;
|
|
347
|
+
};
|
|
331
348
|
bodyStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
332
349
|
default: () => import('vue').CSSProperties;
|
|
333
350
|
};
|
|
@@ -335,6 +352,9 @@ export declare const useDataExportRecord: (options: {
|
|
|
335
352
|
default: (() => HTMLElement) | undefined;
|
|
336
353
|
};
|
|
337
354
|
showModal: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
355
|
+
hideShadow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
356
|
+
default: boolean;
|
|
357
|
+
};
|
|
338
358
|
closeOnMask: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
339
359
|
default: boolean;
|
|
340
360
|
};
|
|
@@ -434,6 +454,9 @@ export declare const useDataExportRecord: (options: {
|
|
|
434
454
|
fillBody: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
435
455
|
default: boolean;
|
|
436
456
|
};
|
|
457
|
+
forceFullpage: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
458
|
+
default: boolean;
|
|
459
|
+
};
|
|
437
460
|
bodyStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
438
461
|
default: () => import('vue').CSSProperties;
|
|
439
462
|
};
|
|
@@ -441,6 +464,9 @@ export declare const useDataExportRecord: (options: {
|
|
|
441
464
|
default: (() => HTMLElement) | undefined;
|
|
442
465
|
};
|
|
443
466
|
showModal: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
467
|
+
hideShadow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
468
|
+
default: boolean;
|
|
469
|
+
};
|
|
444
470
|
closeOnMask: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
445
471
|
default: boolean;
|
|
446
472
|
};
|
|
@@ -215,8 +215,10 @@ export declare const useExternalLinks: ({ props, emit }: UseExternalLinksOptions
|
|
|
215
215
|
};
|
|
216
216
|
timezonePicker: {
|
|
217
217
|
placeholder: string;
|
|
218
|
+
searchPlaceholder: string;
|
|
218
219
|
};
|
|
219
220
|
select: {
|
|
221
|
+
placeholder: string;
|
|
220
222
|
searchPlaceholder: string;
|
|
221
223
|
empty: string;
|
|
222
224
|
};
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
declare
|
|
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<{
|
|
2
11
|
iconUrl: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
3
12
|
default: string;
|
|
4
13
|
};
|
|
@@ -34,4 +43,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
34
43
|
countdownSecond: number;
|
|
35
44
|
countdownTimestamp: number;
|
|
36
45
|
}>;
|
|
46
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
37
47
|
export default _default;
|
|
48
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
49
|
+
new (): {
|
|
50
|
+
$scopedSlots: S;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
@@ -16,10 +16,17 @@ export declare const PwcDatePicker: import('../../../vue-utils/install-utils').S
|
|
|
16
16
|
showTime: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
17
17
|
default: boolean;
|
|
18
18
|
};
|
|
19
|
+
timePrecision: import('vue-types').VueTypeDef<"second" | "hour" | "minute"> & {
|
|
20
|
+
default: "second" | "hour" | "minute";
|
|
21
|
+
};
|
|
19
22
|
presets: import('vue-types').VueTypeValidableDef<import('./src/types').DatePickerPresetType[], import('vue-types/dist/types').ValidatorFunction<import('./src/types').DatePickerPresetType[]>> & {
|
|
20
23
|
default: () => import('./src/types').DatePickerPresetType[];
|
|
21
24
|
};
|
|
22
25
|
timezone: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
26
|
+
popperDirection: import('vue-types').VueTypeDef<"vertical" | "horizontal"> & {
|
|
27
|
+
default: "vertical" | "horizontal";
|
|
28
|
+
};
|
|
29
|
+
popperTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
23
30
|
allowDate: import('vue-types').VueTypeDef<import('./src/types').DatePickerLimitType>;
|
|
24
31
|
allowRangePickCount: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
25
32
|
disabledDate: import('vue-types').VueTypeDef<import('./src/types').DatePickerLimitType>;
|
|
@@ -68,10 +75,17 @@ export declare const PwcDatePicker: import('../../../vue-utils/install-utils').S
|
|
|
68
75
|
showTime: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
69
76
|
default: boolean;
|
|
70
77
|
};
|
|
78
|
+
timePrecision: import('vue-types').VueTypeDef<"second" | "hour" | "minute"> & {
|
|
79
|
+
default: "second" | "hour" | "minute";
|
|
80
|
+
};
|
|
71
81
|
presets: import('vue-types').VueTypeValidableDef<import('./src/types').DatePickerPresetType[], import('vue-types/dist/types').ValidatorFunction<import('./src/types').DatePickerPresetType[]>> & {
|
|
72
82
|
default: () => import('./src/types').DatePickerPresetType[];
|
|
73
83
|
};
|
|
74
84
|
timezone: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
85
|
+
popperDirection: import('vue-types').VueTypeDef<"vertical" | "horizontal"> & {
|
|
86
|
+
default: "vertical" | "horizontal";
|
|
87
|
+
};
|
|
88
|
+
popperTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
75
89
|
allowDate: import('vue-types').VueTypeDef<import('./src/types').DatePickerLimitType>;
|
|
76
90
|
allowRangePickCount: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
77
91
|
disabledDate: import('vue-types').VueTypeDef<import('./src/types').DatePickerLimitType>;
|
|
@@ -106,7 +120,9 @@ export declare const PwcDatePicker: import('../../../vue-utils/install-utils').S
|
|
|
106
120
|
valueFormat: string;
|
|
107
121
|
showDate: boolean;
|
|
108
122
|
showTime: boolean;
|
|
123
|
+
timePrecision: "second" | "hour" | "minute";
|
|
109
124
|
presets: import('./src/types').DatePickerPresetType[];
|
|
125
|
+
popperDirection: "vertical" | "horizontal";
|
|
110
126
|
disabledAfterToday: boolean;
|
|
111
127
|
disabledBeforeToday: boolean;
|
|
112
128
|
disabledCrossMonth: boolean;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
interface MobilePickerColumnOption {
|
|
2
|
+
label: string;
|
|
3
|
+
value: number;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<{
|
|
7
|
+
options: import('vue-types').VueTypeValidableDef<MobilePickerColumnOption[], import('vue-types/dist/types').ValidatorFunction<MobilePickerColumnOption[]>> & {
|
|
8
|
+
default: () => MobilePickerColumnOption[];
|
|
9
|
+
};
|
|
10
|
+
active: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
11
|
+
visible: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
select: (arg: number) => void;
|
|
16
|
+
}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
17
|
+
options: import('vue-types').VueTypeValidableDef<MobilePickerColumnOption[], import('vue-types/dist/types').ValidatorFunction<MobilePickerColumnOption[]>> & {
|
|
18
|
+
default: () => MobilePickerColumnOption[];
|
|
19
|
+
};
|
|
20
|
+
active: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
21
|
+
visible: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
}>>, {
|
|
25
|
+
visible: boolean;
|
|
26
|
+
options: MobilePickerColumnOption[];
|
|
27
|
+
}>;
|
|
28
|
+
export default _default;
|
|
@@ -16,10 +16,17 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
16
16
|
showTime: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
17
17
|
default: boolean;
|
|
18
18
|
};
|
|
19
|
+
timePrecision: import('vue-types').VueTypeDef<"second" | "hour" | "minute"> & {
|
|
20
|
+
default: "second" | "hour" | "minute";
|
|
21
|
+
};
|
|
19
22
|
presets: import('vue-types').VueTypeValidableDef<import('./types').DatePickerPresetType[], import('vue-types/dist/types').ValidatorFunction<import('./types').DatePickerPresetType[]>> & {
|
|
20
23
|
default: () => import('./types').DatePickerPresetType[];
|
|
21
24
|
};
|
|
22
25
|
timezone: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
26
|
+
popperDirection: import('vue-types').VueTypeDef<"vertical" | "horizontal"> & {
|
|
27
|
+
default: "vertical" | "horizontal";
|
|
28
|
+
};
|
|
29
|
+
popperTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
23
30
|
allowDate: import('vue-types').VueTypeDef<import('./types').DatePickerLimitType>;
|
|
24
31
|
allowRangePickCount: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
25
32
|
disabledDate: import('vue-types').VueTypeDef<import('./types').DatePickerLimitType>;
|
|
@@ -68,10 +75,17 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
68
75
|
showTime: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
69
76
|
default: boolean;
|
|
70
77
|
};
|
|
78
|
+
timePrecision: import('vue-types').VueTypeDef<"second" | "hour" | "minute"> & {
|
|
79
|
+
default: "second" | "hour" | "minute";
|
|
80
|
+
};
|
|
71
81
|
presets: import('vue-types').VueTypeValidableDef<import('./types').DatePickerPresetType[], import('vue-types/dist/types').ValidatorFunction<import('./types').DatePickerPresetType[]>> & {
|
|
72
82
|
default: () => import('./types').DatePickerPresetType[];
|
|
73
83
|
};
|
|
74
84
|
timezone: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
85
|
+
popperDirection: import('vue-types').VueTypeDef<"vertical" | "horizontal"> & {
|
|
86
|
+
default: "vertical" | "horizontal";
|
|
87
|
+
};
|
|
88
|
+
popperTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
75
89
|
allowDate: import('vue-types').VueTypeDef<import('./types').DatePickerLimitType>;
|
|
76
90
|
allowRangePickCount: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
77
91
|
disabledDate: import('vue-types').VueTypeDef<import('./types').DatePickerLimitType>;
|
|
@@ -106,7 +120,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
106
120
|
valueFormat: string;
|
|
107
121
|
showDate: boolean;
|
|
108
122
|
showTime: boolean;
|
|
123
|
+
timePrecision: "second" | "hour" | "minute";
|
|
109
124
|
presets: import('./types').DatePickerPresetType[];
|
|
125
|
+
popperDirection: "vertical" | "horizontal";
|
|
110
126
|
disabledAfterToday: boolean;
|
|
111
127
|
disabledBeforeToday: boolean;
|
|
112
128
|
disabledCrossMonth: boolean;
|
|
@@ -48,6 +48,13 @@ export declare const datePickerProps: () => {
|
|
|
48
48
|
showTime: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
49
49
|
default: boolean;
|
|
50
50
|
};
|
|
51
|
+
/**
|
|
52
|
+
* 时间选择精度,仅在显示时间时生效
|
|
53
|
+
* @default 'second'
|
|
54
|
+
*/
|
|
55
|
+
timePrecision: import('vue-types').VueTypeDef<"second" | "hour" | "minute"> & {
|
|
56
|
+
default: "second" | "hour" | "minute";
|
|
57
|
+
};
|
|
51
58
|
/**
|
|
52
59
|
* 预设范围
|
|
53
60
|
* @default []
|
|
@@ -59,6 +66,17 @@ export declare const datePickerProps: () => {
|
|
|
59
66
|
* 时区
|
|
60
67
|
*/
|
|
61
68
|
timezone: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
69
|
+
/**
|
|
70
|
+
* 弹层布局方向
|
|
71
|
+
* @default 'horizontal'
|
|
72
|
+
*/
|
|
73
|
+
popperDirection: import('vue-types').VueTypeDef<"vertical" | "horizontal"> & {
|
|
74
|
+
default: "vertical" | "horizontal";
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* 弹层标题,仅在纵向弹层布局中显示
|
|
78
|
+
*/
|
|
79
|
+
popperTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
62
80
|
/**
|
|
63
81
|
* 允许选择的日期,传入空数组表示不限制,传入函数返回 true 时表示允许选择
|
|
64
82
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as dayjs } from 'dayjs';
|
|
2
2
|
import { VueProps } from '../../../../../vue-utils';
|
|
3
3
|
import { datePickerProps } from './props-define';
|
|
4
|
-
import { DatePickerPresetItem, DatePickerPresetValue, DateArr, TimeArr } from '../types';
|
|
4
|
+
import { DatePickerPresetItem, DatePickerPresetValue, DatePickerTimePrecision, DateArr, TimeArr } from '../types';
|
|
5
5
|
export declare const useDatePickerUtils: (props: VueProps<typeof datePickerProps>) => {
|
|
6
6
|
genDayjs: (date: dayjs.ConfigType, format?: dayjs.OptionType) => dayjs.Dayjs;
|
|
7
7
|
getNow: () => dayjs.Dayjs;
|
|
@@ -11,4 +11,9 @@ export declare const useDatePickerUtils: (props: VueProps<typeof datePickerProps
|
|
|
11
11
|
time?: TimeArr;
|
|
12
12
|
}) => number;
|
|
13
13
|
getPresetValue: (preset: DatePickerPresetItem | undefined) => DatePickerPresetValue | undefined;
|
|
14
|
+
isTimePrecisionVisible: (precision: DatePickerTimePrecision) => boolean;
|
|
15
|
+
normalizeTimeByPrecision: (time: TimeArr) => TimeArr;
|
|
16
|
+
normalizeTimestampByTimePrecision: (timestamp: number) => number;
|
|
17
|
+
getDefaultTimeFormat: () => "HH" | "HH:mm" | "HH:mm:ss";
|
|
18
|
+
getDefaultFormat: () => string;
|
|
14
19
|
};
|
|
@@ -2,13 +2,17 @@ import { Dayjs } from 'dayjs';
|
|
|
2
2
|
export type DatePickerValue = number | string | Date;
|
|
3
3
|
export declare const datePickerTypes: readonly ["date", "daterange"];
|
|
4
4
|
export type DatePickerType = typeof datePickerTypes[number];
|
|
5
|
+
export declare const datePickerPopperDirections: readonly ["horizontal", "vertical"];
|
|
6
|
+
export type DatePickerPopperDirection = typeof datePickerPopperDirections[number];
|
|
7
|
+
export declare const datePickerTimePrecisions: readonly ["hour", "minute", "second"];
|
|
8
|
+
export type DatePickerTimePrecision = typeof datePickerTimePrecisions[number];
|
|
5
9
|
export type DatePickerFormatBase = string;
|
|
6
10
|
export type DatePickerFormatFn = (value: number) => string;
|
|
7
11
|
export type DatePickerFormatType = DatePickerFormatBase | DatePickerFormatFn | Array<DatePickerFormatBase | DatePickerFormatFn>;
|
|
8
12
|
export type DatePickerLimitFn = (date: Date) => boolean;
|
|
9
13
|
export type DatePickerLimitType = Date | Date[] | DatePickerLimitFn;
|
|
10
14
|
/** 内部预设类型 */
|
|
11
|
-
export type DatePickerPresetInternal = 'today' | 'yesterday' | 'tomorrow' | '30-minutes-later' | '1-hour-later' | 'last-7-days' | 'last-30-days' | 'last-90-days' | 'last-100-days' | 'last-180-days' | 'last-360-days';
|
|
15
|
+
export type DatePickerPresetInternal = 'current' | 'today' | 'yesterday' | 'tomorrow' | '30-minutes-later' | '1-hour-later' | 'last-7-days' | 'last-30-days' | 'last-90-days' | 'last-100-days' | 'last-180-days' | 'last-360-days';
|
|
12
16
|
export type DatePickerPresetValue = number | number[];
|
|
13
17
|
export type DatePickerPresetValueFn = () => DatePickerPresetValue;
|
|
14
18
|
export interface DatePickerPresetItem {
|
|
@@ -66,6 +66,9 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
66
66
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
67
67
|
default: boolean;
|
|
68
68
|
};
|
|
69
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
69
72
|
}>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
|
|
70
73
|
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
71
74
|
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
@@ -76,6 +79,9 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
76
79
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
77
80
|
default: boolean;
|
|
78
81
|
};
|
|
82
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
79
85
|
}>>>>;
|
|
80
86
|
onlyChoiceFile: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
81
87
|
default: boolean;
|
|
@@ -142,6 +148,9 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
142
148
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
143
149
|
default: boolean;
|
|
144
150
|
};
|
|
151
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
152
|
+
default: boolean;
|
|
153
|
+
};
|
|
145
154
|
}>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
|
|
146
155
|
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
147
156
|
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
@@ -152,6 +161,9 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
152
161
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
153
162
|
default: boolean;
|
|
154
163
|
};
|
|
164
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
165
|
+
default: boolean;
|
|
166
|
+
};
|
|
155
167
|
}>>>>;
|
|
156
168
|
onlyChoiceFile: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
157
169
|
default: boolean;
|
|
@@ -242,6 +254,9 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
242
254
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
243
255
|
default: boolean;
|
|
244
256
|
};
|
|
257
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
258
|
+
default: boolean;
|
|
259
|
+
};
|
|
245
260
|
}>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
|
|
246
261
|
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
247
262
|
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
@@ -252,12 +267,16 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
252
267
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
253
268
|
default: boolean;
|
|
254
269
|
};
|
|
270
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
271
|
+
default: boolean;
|
|
272
|
+
};
|
|
255
273
|
}>>>>;
|
|
256
274
|
onlyChoiceFile: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
257
275
|
default: boolean;
|
|
258
276
|
};
|
|
259
277
|
}>>> & import('vue').ShallowUnwrapRef<{
|
|
260
278
|
triggerUpload: () => Promise<void>;
|
|
279
|
+
clearItemList: () => void;
|
|
261
280
|
}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
|
|
262
281
|
"v-model-key": import('vue-types').VueTypeDef<string | string[]> & {
|
|
263
282
|
default: string | (() => string[]);
|
|
@@ -320,6 +339,9 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
320
339
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
321
340
|
default: boolean;
|
|
322
341
|
};
|
|
342
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
343
|
+
default: boolean;
|
|
344
|
+
};
|
|
323
345
|
}>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
|
|
324
346
|
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
325
347
|
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
@@ -330,6 +352,9 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
330
352
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
331
353
|
default: boolean;
|
|
332
354
|
};
|
|
355
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
356
|
+
default: boolean;
|
|
357
|
+
};
|
|
333
358
|
}>>>>;
|
|
334
359
|
onlyChoiceFile: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
335
360
|
default: boolean;
|
|
@@ -396,6 +421,9 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
396
421
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
397
422
|
default: boolean;
|
|
398
423
|
};
|
|
424
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
425
|
+
default: boolean;
|
|
426
|
+
};
|
|
399
427
|
}>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
|
|
400
428
|
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
401
429
|
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
@@ -406,12 +434,16 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
406
434
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
407
435
|
default: boolean;
|
|
408
436
|
};
|
|
437
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
438
|
+
default: boolean;
|
|
439
|
+
};
|
|
409
440
|
}>>>>;
|
|
410
441
|
onlyChoiceFile: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
411
442
|
default: boolean;
|
|
412
443
|
};
|
|
413
444
|
}>>, {
|
|
414
445
|
triggerUpload: () => Promise<void>;
|
|
446
|
+
clearItemList: () => void;
|
|
415
447
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
416
448
|
replace: (arg: {
|
|
417
449
|
url: string;
|
|
@@ -499,6 +531,9 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
499
531
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
500
532
|
default: boolean;
|
|
501
533
|
};
|
|
534
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
535
|
+
default: boolean;
|
|
536
|
+
};
|
|
502
537
|
}>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
|
|
503
538
|
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
504
539
|
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
@@ -509,6 +544,9 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
509
544
|
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
510
545
|
default: boolean;
|
|
511
546
|
};
|
|
547
|
+
chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
548
|
+
default: boolean;
|
|
549
|
+
};
|
|
512
550
|
}>>>>;
|
|
513
551
|
onlyChoiceFile: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
514
552
|
default: boolean;
|