@polyv/vue-components 1.11.0 → 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.
Files changed (83) hide show
  1. package/package.json +2 -1
  2. package/vue2/index.es.js +13776 -13039
  3. package/vue2/src/components/basic-countdown/basic-countdown.vue.d.ts +17 -28
  4. package/vue2/src/components/basic-countdown/use-basic-countdown.d.ts +25 -2
  5. package/vue2/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +26 -0
  6. package/vue2/src/components/business/external-links/use-external-links.d.ts +1 -0
  7. package/vue2/src/components/business/normal-pendant/normal-pendant.vue.d.ts +16 -1
  8. package/vue2/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +1 -0
  9. package/vue2/src/components/form/date-picker/index.d.ts +7 -0
  10. package/vue2/src/components/form/date-picker/src/components/mobile-picker/mobile-picker-column.vue.d.ts +28 -0
  11. package/vue2/src/components/form/date-picker/src/components/mobile-picker/mobile-picker-popup.vue.d.ts +2 -0
  12. package/vue2/src/components/form/date-picker/src/date-picker.vue.d.ts +7 -0
  13. package/vue2/src/components/form/date-picker/src/hooks/props-define.d.ts +7 -0
  14. package/vue2/src/components/form/date-picker/src/hooks/use-date-picker-utils.d.ts +6 -1
  15. package/vue2/src/components/form/date-picker/src/types/index.d.ts +2 -0
  16. package/vue2/src/components/form/select/src/select-mobile-picker-column.vue.d.ts +17 -0
  17. package/vue2/src/components/form/select/src/select.vue.d.ts +16 -15
  18. package/vue2/src/components/icons/icons/logout/index.d.ts +6 -0
  19. package/vue2/src/components/icons/icons/return/index.d.ts +6 -0
  20. package/vue2/src/components/icons/map.d.ts +2 -0
  21. package/vue2/src/components/image-preview/components/image-zoom-wrap.vue.d.ts +2 -0
  22. package/vue2/src/components/image-preview/components/preview-controller.vue.d.ts +2 -0
  23. package/vue2/src/components/image-preview/hooks/props-define.d.ts +47 -3
  24. package/vue2/src/components/image-preview/hooks/use-image-preview-component.d.ts +0 -2
  25. package/vue2/src/components/image-preview/hooks/use-image-preview-intercept.d.ts +14 -0
  26. package/vue2/src/components/image-preview/hooks/use-image-preview.d.ts +9 -1
  27. package/vue2/src/components/image-preview/image-preview-container.vue.d.ts +33 -0
  28. package/vue2/src/components/image-preview/image-preview.vue.d.ts +10 -6
  29. package/vue2/src/components/image-preview/index.d.ts +2 -0
  30. package/vue2/src/components/popup/index.d.ts +40 -0
  31. package/vue2/src/components/popup/src/hooks/popup-props.d.ts +16 -2
  32. package/vue2/src/components/popup/src/popup.vue.d.ts +14 -0
  33. package/vue2/src/components/zoom-container/hooks/use-zoom-size.d.ts +1 -1
  34. package/vue2/src/components/zoom-container/use-zoom-container.d.ts +4 -0
  35. package/vue2/src/components/zoom-container/zoom-container.vue.d.ts +2 -0
  36. package/vue2/src/lang/internal/en.json.d.ts +1 -0
  37. package/vue2/src/lang/internal/index.d.ts +1 -0
  38. package/vue2/src/lang/internal/ja.json.d.ts +1 -0
  39. package/vue2/src/lang/internal/ko.json.d.ts +1 -0
  40. package/vue2/src/lang/internal/ru.json.d.ts +1 -0
  41. package/vue2/src/lang/internal/zh-CN.json.d.ts +1 -0
  42. package/vue2/src/lang/internal/zh-TW.json.d.ts +1 -0
  43. package/vue3/index.es.js +13827 -13090
  44. package/vue3/src/components/basic-countdown/basic-countdown.vue.d.ts +17 -28
  45. package/vue3/src/components/basic-countdown/use-basic-countdown.d.ts +25 -2
  46. package/vue3/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +26 -0
  47. package/vue3/src/components/business/external-links/use-external-links.d.ts +1 -0
  48. package/vue3/src/components/business/normal-pendant/normal-pendant.vue.d.ts +16 -1
  49. package/vue3/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +1 -0
  50. package/vue3/src/components/form/date-picker/index.d.ts +7 -0
  51. package/vue3/src/components/form/date-picker/src/components/mobile-picker/mobile-picker-column.vue.d.ts +28 -0
  52. package/vue3/src/components/form/date-picker/src/components/mobile-picker/mobile-picker-popup.vue.d.ts +2 -0
  53. package/vue3/src/components/form/date-picker/src/date-picker.vue.d.ts +7 -0
  54. package/vue3/src/components/form/date-picker/src/hooks/props-define.d.ts +7 -0
  55. package/vue3/src/components/form/date-picker/src/hooks/use-date-picker-utils.d.ts +6 -1
  56. package/vue3/src/components/form/date-picker/src/types/index.d.ts +2 -0
  57. package/vue3/src/components/form/select/src/select-mobile-picker-column.vue.d.ts +17 -0
  58. package/vue3/src/components/form/select/src/select.vue.d.ts +16 -15
  59. package/vue3/src/components/icons/icons/logout/index.d.ts +6 -0
  60. package/vue3/src/components/icons/icons/return/index.d.ts +6 -0
  61. package/vue3/src/components/icons/map.d.ts +2 -0
  62. package/vue3/src/components/image-preview/components/image-zoom-wrap.vue.d.ts +2 -0
  63. package/vue3/src/components/image-preview/components/preview-controller.vue.d.ts +2 -0
  64. package/vue3/src/components/image-preview/hooks/props-define.d.ts +47 -3
  65. package/vue3/src/components/image-preview/hooks/use-image-preview-component.d.ts +0 -2
  66. package/vue3/src/components/image-preview/hooks/use-image-preview-intercept.d.ts +14 -0
  67. package/vue3/src/components/image-preview/hooks/use-image-preview.d.ts +9 -1
  68. package/vue3/src/components/image-preview/image-preview-container.vue.d.ts +33 -0
  69. package/vue3/src/components/image-preview/image-preview.vue.d.ts +10 -6
  70. package/vue3/src/components/image-preview/index.d.ts +2 -0
  71. package/vue3/src/components/popup/index.d.ts +40 -0
  72. package/vue3/src/components/popup/src/hooks/popup-props.d.ts +16 -2
  73. package/vue3/src/components/popup/src/popup.vue.d.ts +14 -0
  74. package/vue3/src/components/zoom-container/hooks/use-zoom-size.d.ts +1 -1
  75. package/vue3/src/components/zoom-container/use-zoom-container.d.ts +4 -0
  76. package/vue3/src/components/zoom-container/zoom-container.vue.d.ts +2 -0
  77. package/vue3/src/lang/internal/en.json.d.ts +1 -0
  78. package/vue3/src/lang/internal/index.d.ts +1 -0
  79. package/vue3/src/lang/internal/ja.json.d.ts +1 -0
  80. package/vue3/src/lang/internal/ko.json.d.ts +1 -0
  81. package/vue3/src/lang/internal/ru.json.d.ts +1 -0
  82. package/vue3/src/lang/internal/zh-CN.json.d.ts +1 -0
  83. package/vue3/src/lang/internal/zh-TW.json.d.ts +1 -0
@@ -1,23 +1,4 @@
1
- declare function __VLS_template(): {
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
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
42
- finish: (arg?: void | undefined) => void;
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
  };
@@ -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
  };
@@ -218,6 +218,7 @@ export declare const useExternalLinks: ({ props, emit }: UseExternalLinksOptions
218
218
  searchPlaceholder: string;
219
219
  };
220
220
  select: {
221
+ placeholder: string;
221
222
  searchPlaceholder: string;
222
223
  empty: string;
223
224
  };
@@ -1,4 +1,13 @@
1
- declare const _default: import('vue').DefineComponent<{
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
+ };
@@ -190,6 +190,7 @@ export declare const useRewardReceive: (options: {
190
190
  searchPlaceholder: string;
191
191
  };
192
192
  select: {
193
+ placeholder: string;
193
194
  searchPlaceholder: string;
194
195
  empty: string;
195
196
  };
@@ -16,6 +16,9 @@ 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
  };
@@ -72,6 +75,9 @@ export declare const PwcDatePicker: import('../../../vue-utils/install-utils').S
72
75
  showTime: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
73
76
  default: boolean;
74
77
  };
78
+ timePrecision: import('vue-types').VueTypeDef<"second" | "hour" | "minute"> & {
79
+ default: "second" | "hour" | "minute";
80
+ };
75
81
  presets: import('vue-types').VueTypeValidableDef<import('./src/types').DatePickerPresetType[], import('vue-types/dist/types').ValidatorFunction<import('./src/types').DatePickerPresetType[]>> & {
76
82
  default: () => import('./src/types').DatePickerPresetType[];
77
83
  };
@@ -114,6 +120,7 @@ export declare const PwcDatePicker: import('../../../vue-utils/install-utils').S
114
120
  valueFormat: string;
115
121
  showDate: boolean;
116
122
  showTime: boolean;
123
+ timePrecision: "second" | "hour" | "minute";
117
124
  presets: import('./src/types').DatePickerPresetType[];
118
125
  popperDirection: "vertical" | "horizontal";
119
126
  disabledAfterToday: 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;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{}>>, {}>;
2
+ export default _default;
@@ -16,6 +16,9 @@ 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
  };
@@ -72,6 +75,9 @@ declare const _default: import('vue').DefineComponent<{
72
75
  showTime: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
73
76
  default: boolean;
74
77
  };
78
+ timePrecision: import('vue-types').VueTypeDef<"second" | "hour" | "minute"> & {
79
+ default: "second" | "hour" | "minute";
80
+ };
75
81
  presets: import('vue-types').VueTypeValidableDef<import('./types').DatePickerPresetType[], import('vue-types/dist/types').ValidatorFunction<import('./types').DatePickerPresetType[]>> & {
76
82
  default: () => import('./types').DatePickerPresetType[];
77
83
  };
@@ -114,6 +120,7 @@ declare const _default: import('vue').DefineComponent<{
114
120
  valueFormat: string;
115
121
  showDate: boolean;
116
122
  showTime: boolean;
123
+ timePrecision: "second" | "hour" | "minute";
117
124
  presets: import('./types').DatePickerPresetType[];
118
125
  popperDirection: "vertical" | "horizontal";
119
126
  disabledAfterToday: 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 []
@@ -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
  };
@@ -4,6 +4,8 @@ export declare const datePickerTypes: readonly ["date", "daterange"];
4
4
  export type DatePickerType = typeof datePickerTypes[number];
5
5
  export declare const datePickerPopperDirections: readonly ["horizontal", "vertical"];
6
6
  export type DatePickerPopperDirection = typeof datePickerPopperDirections[number];
7
+ export declare const datePickerTimePrecisions: readonly ["hour", "minute", "second"];
8
+ export type DatePickerTimePrecision = typeof datePickerTimePrecisions[number];
7
9
  export type DatePickerFormatBase = string;
8
10
  export type DatePickerFormatFn = (value: number) => string;
9
11
  export type DatePickerFormatType = DatePickerFormatBase | DatePickerFormatFn | Array<DatePickerFormatBase | DatePickerFormatFn>;
@@ -0,0 +1,17 @@
1
+ import { SelectOptionItem, SelectValue } from './type';
2
+ declare const _default: import('vue').DefineComponent<{
3
+ options: import('vue-types').VueTypeValidableDef<SelectOptionItem<SelectValue>[], import('vue-types/dist/types').ValidatorFunction<SelectOptionItem<SelectValue>[]>> & {
4
+ default: () => SelectOptionItem<SelectValue>[];
5
+ };
6
+ active: import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>>;
7
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ select: (arg: SelectValue) => void;
9
+ }, string, Readonly<import('vue').ExtractPropTypes<{
10
+ options: import('vue-types').VueTypeValidableDef<SelectOptionItem<SelectValue>[], import('vue-types/dist/types').ValidatorFunction<SelectOptionItem<SelectValue>[]>> & {
11
+ default: () => SelectOptionItem<SelectValue>[];
12
+ };
13
+ active: import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>>;
14
+ }>>, {
15
+ options: SelectOptionItem<SelectValue>[];
16
+ }>;
17
+ export default _default;
@@ -1,4 +1,5 @@
1
- import { SelectOptionItem, SelectValue } from './type';
1
+ import { BusinessType } from '../../../../hooks/business/use-business-type';
2
+ import { SelectGroupItem, SelectOptionItem, SelectValue } from './type';
2
3
  declare function closeOptions(): void;
3
4
  declare function __VLS_template(): {
4
5
  attrs: Partial<{}>;
@@ -39,8 +40,8 @@ declare function __VLS_template(): {
39
40
  };
40
41
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
41
42
  declare const __VLS_component: import('vue').DefineComponent<{
42
- options: import('vue-types').VueTypeValidableDef<(SelectOptionItem<SelectValue> | import('./type').SelectGroupItem<SelectValue>)[], import('vue-types/dist/types').ValidatorFunction<(SelectOptionItem<SelectValue> | import('./type').SelectGroupItem<SelectValue>)[]>> & {
43
- default: () => (SelectOptionItem<SelectValue> | import('./type').SelectGroupItem<SelectValue>)[];
43
+ options: import('vue-types').VueTypeValidableDef<(SelectOptionItem<SelectValue> | SelectGroupItem<SelectValue>)[], import('vue-types/dist/types').ValidatorFunction<(SelectOptionItem<SelectValue> | SelectGroupItem<SelectValue>)[]>> & {
44
+ default: () => (SelectOptionItem<SelectValue> | SelectGroupItem<SelectValue>)[];
44
45
  };
45
46
  placeholder: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
46
47
  default: string;
@@ -98,7 +99,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
98
99
  clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
99
100
  default: boolean;
100
101
  };
101
- business: import('vue-types').VueTypeValidableDef<import('../../../..').BusinessType, import('vue-types/dist/types').ValidatorFunction<import('../../../..').BusinessType>>;
102
+ business: import('vue-types').VueTypeValidableDef<BusinessType, import('vue-types/dist/types').ValidatorFunction<BusinessType>>;
102
103
  size: import('vue-types').VueTypeDef<"small" | "large" | "medium">;
103
104
  disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
104
105
  readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
@@ -156,7 +157,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
156
157
  clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
157
158
  default: boolean;
158
159
  };
159
- business: import('vue-types').VueTypeValidableDef<import('../../../..').BusinessType, import('vue-types/dist/types').ValidatorFunction<import('../../../..').BusinessType>>;
160
+ business: import('vue-types').VueTypeValidableDef<BusinessType, import('vue-types/dist/types').ValidatorFunction<BusinessType>>;
160
161
  size: import('vue-types').VueTypeDef<"small" | "large" | "medium">;
161
162
  disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
162
163
  readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
@@ -215,7 +216,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
215
216
  clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
216
217
  default: boolean;
217
218
  };
218
- business: import('vue-types').VueTypeValidableDef<import('../../../..').BusinessType, import('vue-types/dist/types').ValidatorFunction<import('../../../..').BusinessType>>;
219
+ business: import('vue-types').VueTypeValidableDef<BusinessType, import('vue-types/dist/types').ValidatorFunction<BusinessType>>;
219
220
  size: import('vue-types').VueTypeDef<"small" | "large" | "medium">;
220
221
  disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
221
222
  readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
@@ -242,7 +243,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
242
243
  clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
243
244
  default: boolean;
244
245
  };
245
- business: import('vue-types').VueTypeValidableDef<import('../../../..').BusinessType, import('vue-types/dist/types').ValidatorFunction<import('../../../..').BusinessType>>;
246
+ business: import('vue-types').VueTypeValidableDef<BusinessType, import('vue-types/dist/types').ValidatorFunction<BusinessType>>;
246
247
  size: import('vue-types').VueTypeDef<"small" | "large" | "medium">;
247
248
  disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
248
249
  readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
@@ -262,8 +263,8 @@ declare const __VLS_component: import('vue').DefineComponent<{
262
263
  clear: (arg?: void | undefined) => void;
263
264
  "options-end-reached": (arg?: void | undefined) => void;
264
265
  }, string, Readonly<import('vue').ExtractPropTypes<{
265
- options: import('vue-types').VueTypeValidableDef<(SelectOptionItem<SelectValue> | import('./type').SelectGroupItem<SelectValue>)[], import('vue-types/dist/types').ValidatorFunction<(SelectOptionItem<SelectValue> | import('./type').SelectGroupItem<SelectValue>)[]>> & {
266
- default: () => (SelectOptionItem<SelectValue> | import('./type').SelectGroupItem<SelectValue>)[];
266
+ options: import('vue-types').VueTypeValidableDef<(SelectOptionItem<SelectValue> | SelectGroupItem<SelectValue>)[], import('vue-types/dist/types').ValidatorFunction<(SelectOptionItem<SelectValue> | SelectGroupItem<SelectValue>)[]>> & {
267
+ default: () => (SelectOptionItem<SelectValue> | SelectGroupItem<SelectValue>)[];
267
268
  };
268
269
  placeholder: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
269
270
  default: string;
@@ -321,7 +322,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
321
322
  clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
322
323
  default: boolean;
323
324
  };
324
- business: import('vue-types').VueTypeValidableDef<import('../../../..').BusinessType, import('vue-types/dist/types').ValidatorFunction<import('../../../..').BusinessType>>;
325
+ business: import('vue-types').VueTypeValidableDef<BusinessType, import('vue-types/dist/types').ValidatorFunction<BusinessType>>;
325
326
  size: import('vue-types').VueTypeDef<"small" | "large" | "medium">;
326
327
  disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
327
328
  readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
@@ -379,7 +380,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
379
380
  clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
380
381
  default: boolean;
381
382
  };
382
- business: import('vue-types').VueTypeValidableDef<import('../../../..').BusinessType, import('vue-types/dist/types').ValidatorFunction<import('../../../..').BusinessType>>;
383
+ business: import('vue-types').VueTypeValidableDef<BusinessType, import('vue-types/dist/types').ValidatorFunction<BusinessType>>;
383
384
  size: import('vue-types').VueTypeDef<"small" | "large" | "medium">;
384
385
  disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
385
386
  readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
@@ -438,7 +439,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
438
439
  clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
439
440
  default: boolean;
440
441
  };
441
- business: import('vue-types').VueTypeValidableDef<import('../../../..').BusinessType, import('vue-types/dist/types').ValidatorFunction<import('../../../..').BusinessType>>;
442
+ business: import('vue-types').VueTypeValidableDef<BusinessType, import('vue-types/dist/types').ValidatorFunction<BusinessType>>;
442
443
  size: import('vue-types').VueTypeDef<"small" | "large" | "medium">;
443
444
  disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
444
445
  readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
@@ -465,7 +466,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
465
466
  clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
466
467
  default: boolean;
467
468
  };
468
- business: import('vue-types').VueTypeValidableDef<import('../../../..').BusinessType, import('vue-types/dist/types').ValidatorFunction<import('../../../..').BusinessType>>;
469
+ business: import('vue-types').VueTypeValidableDef<BusinessType, import('vue-types/dist/types').ValidatorFunction<BusinessType>>;
469
470
  size: import('vue-types').VueTypeDef<"small" | "large" | "medium">;
470
471
  disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
471
472
  readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
@@ -480,7 +481,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
480
481
  "v-model-key": import('vue-types').VueTypeDef<SelectValue | SelectValue[]>;
481
482
  }>>, {
482
483
  search: boolean;
483
- options: (SelectOptionItem<SelectValue> | import('./type').SelectGroupItem<SelectValue>)[];
484
+ options: (SelectOptionItem<SelectValue> | SelectGroupItem<SelectValue>)[];
484
485
  placeholder: string;
485
486
  multiple: boolean;
486
487
  validateForm: boolean;
@@ -529,7 +530,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
529
530
  clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
530
531
  default: boolean;
531
532
  };
532
- business: import('vue-types').VueTypeValidableDef<import('../../../..').BusinessType, import('vue-types/dist/types').ValidatorFunction<import('../../../..').BusinessType>>;
533
+ business: import('vue-types').VueTypeValidableDef<BusinessType, import('vue-types/dist/types').ValidatorFunction<BusinessType>>;
533
534
  size: import('vue-types').VueTypeDef<"small" | "large" | "medium">;
534
535
  disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
535
536
  readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file Logout Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: import('@polyv/icons-vue-middle/icon-builder').IconComponentOption;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file Return Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: import('@polyv/icons-vue-middle/icon-builder').IconComponentOption;
6
+ export default _default;
@@ -68,6 +68,7 @@ export { default as PwcIconLink } from './icons/link';
68
68
  export { default as PwcIconList } from './icons/list';
69
69
  export { default as PwcIconLoading } from './icons/loading';
70
70
  export { default as PwcIconLocation } from './icons/location';
71
+ export { default as PwcIconLogout } from './icons/logout';
71
72
  export { default as PwcIconMenuExpand } from './icons/menu-expand';
72
73
  export { default as PwcIconMenuFoldUp } from './icons/menu-fold-up';
73
74
  export { default as PwcIconMinus } from './icons/minus';
@@ -98,6 +99,7 @@ export { default as PwcIconQuestionCircleOutline } from './icons/question-circle
98
99
  export { default as PwcIconRefresh } from './icons/refresh';
99
100
  export { default as PwcIconRemindOff } from './icons/remind-off';
100
101
  export { default as PwcIconRemindOn } from './icons/remind-on';
102
+ export { default as PwcIconReturn } from './icons/return';
101
103
  export { default as PwcIconRight } from './icons/right';
102
104
  export { default as PwcIconRocket } from './icons/rocket';
103
105
  export { default as PwcIconSearch } from './icons/search';
@@ -12,6 +12,7 @@ declare const _default: import('vue').DefineComponent<{
12
12
  item: import('vue-types').VueTypeValidableDef<ImagePreviewObject, import('vue-types/dist/types').ValidatorFunction<ImagePreviewObject>> & {
13
13
  required: true;
14
14
  };
15
+ edgeBetween: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
15
16
  }, {
16
17
  zoomLarge: typeof zoomLarge;
17
18
  zoomSmall: typeof zoomSmall;
@@ -29,6 +30,7 @@ declare const _default: import('vue').DefineComponent<{
29
30
  item: import('vue-types').VueTypeValidableDef<ImagePreviewObject, import('vue-types/dist/types').ValidatorFunction<ImagePreviewObject>> & {
30
31
  required: true;
31
32
  };
33
+ edgeBetween: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
32
34
  }>>, {
33
35
  index: number;
34
36
  }>;
@@ -5,6 +5,7 @@ declare const _default: import('vue').DefineComponent<{
5
5
  show: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
6
6
  default: boolean;
7
7
  };
8
+ controllerBottom: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
8
9
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
10
  download: (arg?: void | undefined) => void;
10
11
  "zoom-in": (arg?: void | undefined) => void;
@@ -17,6 +18,7 @@ declare const _default: import('vue').DefineComponent<{
17
18
  show: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
18
19
  default: boolean;
19
20
  };
21
+ controllerBottom: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
20
22
  }>>, {
21
23
  show: boolean;
22
24
  currentScale: number;