straw-ui-vue 0.1.47 → 0.1.48

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 (63) hide show
  1. package/dist/components/st-cascade/desktop/st-cascade-desktop.d.ts +1 -1
  2. package/dist/components/st-cascade/index.d.ts +24 -24
  3. package/dist/components/st-cascade/phone/st-cascade-phone.d.ts +1 -1
  4. package/dist/components/st-cascade/st-cascade-group-column.d.ts +4 -4
  5. package/dist/components/st-cascade/st-cascade-group-item.d.ts +1 -1
  6. package/dist/components/st-cascade/st-cascade-group.d.ts +2 -2
  7. package/dist/components/st-checkbox/index.d.ts +6 -6
  8. package/dist/components/st-checkbox/st-checkbox.d.ts +2 -2
  9. package/dist/components/st-color-picker/index.d.ts +6 -6
  10. package/dist/components/st-color-picker/st-color-picker-panel.d.ts +1 -1
  11. package/dist/components/st-confirm/index.d.ts +3 -3
  12. package/dist/components/st-confirm/st-confirm.d.ts +1 -1
  13. package/dist/components/st-date-picker/desktop/st-date-picker-desktop.d.ts +2 -3
  14. package/dist/components/st-date-picker/desktop/st-date-picker-panel.d.ts +3 -4
  15. package/dist/components/st-date-picker/desktop/st-datetime-picker-panel.d.ts +8 -7
  16. package/dist/components/st-date-picker/desktop/st-time-picker-desktop.d.ts +3 -5
  17. package/dist/components/st-date-picker/desktop/st-time-picker-panel.d.ts +9 -6
  18. package/dist/components/st-date-picker/desktop/types/st-date-picker-desktop.d.ts +0 -2
  19. package/dist/components/st-date-picker/desktop/types/st-date-picker-panel.d.ts +82 -70
  20. package/dist/components/st-date-picker/desktop/types/st-datetime-picker-panel.d.ts +104 -113
  21. package/dist/components/st-date-picker/desktop/types/st-time-picker-desktop.d.ts +3 -5
  22. package/dist/components/st-date-picker/desktop/types/st-time-picker-panel.d.ts +6 -4
  23. package/dist/components/st-date-picker/index.d.ts +181 -235
  24. package/dist/components/st-date-picker/phone/st-time-picker-phone.d.ts +3 -3
  25. package/dist/components/st-date-picker/phone/types/st-time-picker-phone.d.ts +1 -4
  26. package/dist/components/st-date-picker/st-date-picker.d.ts +1 -1
  27. package/dist/components/st-date-picker/st-datetime-picker.d.ts +1 -1
  28. package/dist/components/st-date-picker/st-picker-footer.d.ts +0 -9
  29. package/dist/components/st-date-picker/st-picker-grid.d.ts +1 -1
  30. package/dist/components/st-date-picker/st-picker-header.d.ts +1 -1
  31. package/dist/components/st-date-picker/st-time-picker.d.ts +1 -1
  32. package/dist/components/st-date-picker/types/st-picker-atoms.d.ts +0 -14
  33. package/dist/components/st-date-picker/types/st-picker-shared.d.ts +0 -2
  34. package/dist/components/st-drawer/st-drawer-group-footer.d.ts +2 -2
  35. package/dist/components/st-drawer/st-drawer-group-header.d.ts +2 -2
  36. package/dist/components/st-drawer/st-drawer-group-overlay.d.ts +2 -2
  37. package/dist/components/st-drawer/st-drawer-group-title.d.ts +2 -2
  38. package/dist/components/st-menu/st-menu.d.ts +2 -2
  39. package/dist/components/st-message/index.d.ts +6 -6
  40. package/dist/components/st-message/st-message-group.d.ts +1 -1
  41. package/dist/components/st-pagination/st-pagination.d.ts +2 -2
  42. package/dist/components/st-prompt/index.d.ts +3 -3
  43. package/dist/components/st-prompt/st-prompt.d.ts +1 -1
  44. package/dist/components/st-radio/index.d.ts +12 -12
  45. package/dist/components/st-radio/st-radio-group.d.ts +1 -1
  46. package/dist/components/st-radio/st-radio.d.ts +2 -2
  47. package/dist/components/st-scrollbar/st-scrollbar-group-back-top.d.ts +2 -2
  48. package/dist/components/st-scrollbar/st-scrollbar-group.d.ts +3 -3
  49. package/dist/components/st-select/st-select-trigger.d.ts +2 -2
  50. package/dist/components/st-switch/index.d.ts +6 -6
  51. package/dist/components/st-switch/st-switch.d.ts +2 -2
  52. package/dist/components/st-table/index.d.ts +18 -18
  53. package/dist/components/st-table/st-table-group.d.ts +2 -2
  54. package/dist/components/st-table/st-table.d.ts +2 -2
  55. package/dist/components/st-tooltip/index.d.ts +6 -6
  56. package/dist/components/st-tooltip/st-tooltip.d.ts +2 -2
  57. package/dist/components/st-upload/st-upload-group-list.d.ts +2 -2
  58. package/dist/directive.js +5 -13
  59. package/dist/{forward-props-DLHaqlfq.js → forward-props-D1GjXwQJ.js} +5 -33
  60. package/dist/straw-ui.js +3069 -3188
  61. package/dist/utils.js +1 -2
  62. package/dist/{v-mutation-Bu2kAOd6.js → v-mutation-Cfdy2hnj.js} +5 -19
  63. package/package.json +94 -94
@@ -24,7 +24,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StCas
24
24
  }>, {
25
25
  size: import('../../../types.ts').StSize;
26
26
  disabled: boolean;
27
- list: import('../index.ts').StCascadeOption[];
27
+ list: import('../../st-tree/index.ts').StTreeNodeItem[];
28
28
  labelKey: string;
29
29
  valueKey: string;
30
30
  childrenKey: string;
@@ -88,7 +88,7 @@ export declare const StCascade: {
88
88
  "update:activePath": (value: import('./index.ts').StCascadePath) => any;
89
89
  }, import('vue').PublicProps, {
90
90
  disabled: boolean;
91
- list: import('./index.ts').StCascadeOption[];
91
+ list: import('../st-tree/index.ts').StTreeNodeItem[];
92
92
  labelKey: string;
93
93
  valueKey: string;
94
94
  childrenKey: string;
@@ -112,7 +112,7 @@ export declare const StCascade: {
112
112
  "onUpdate:activePath"?: (value: import('./index.ts').StCascadePath) => any;
113
113
  }>, {}, {}, {}, {}, {
114
114
  disabled: boolean;
115
- list: import('./index.ts').StCascadeOption[];
115
+ list: import('../st-tree/index.ts').StTreeNodeItem[];
116
116
  labelKey: string;
117
117
  valueKey: string;
118
118
  childrenKey: string;
@@ -138,7 +138,7 @@ export declare const StCascade: {
138
138
  "update:activePath": (value: import('./index.ts').StCascadePath) => any;
139
139
  }, string, {
140
140
  disabled: boolean;
141
- list: import('./index.ts').StCascadeOption[];
141
+ list: import('../st-tree/index.ts').StTreeNodeItem[];
142
142
  labelKey: string;
143
143
  valueKey: string;
144
144
  childrenKey: string;
@@ -181,7 +181,7 @@ export declare const StCascade: {
181
181
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
182
182
  click: (option: import('../st-tree/index.ts').StTreeNodeItem) => any;
183
183
  }, import('vue').PublicProps, {
184
- option: import('./index.ts').StCascadeOption;
184
+ option: import('../st-tree/index.ts').StTreeNodeItem;
185
185
  level: number;
186
186
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
187
187
  P: {};
@@ -193,7 +193,7 @@ export declare const StCascade: {
193
193
  }, Readonly<import('./index.ts').StCascadeGroupItemProps> & Readonly<{
194
194
  onClick?: (option: import('../st-tree/index.ts').StTreeNodeItem) => any;
195
195
  }>, {}, {}, {}, {}, {
196
- option: import('./index.ts').StCascadeOption;
196
+ option: import('../st-tree/index.ts').StTreeNodeItem;
197
197
  level: number;
198
198
  }>;
199
199
  __isFragment?: never;
@@ -204,7 +204,7 @@ export declare const StCascade: {
204
204
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
205
205
  click: (option: import('../st-tree/index.ts').StTreeNodeItem) => any;
206
206
  }, string, {
207
- option: import('./index.ts').StCascadeOption;
207
+ option: import('../st-tree/index.ts').StTreeNodeItem;
208
208
  level: number;
209
209
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
210
210
  $slots: import('./index.ts').StCascadeGroupItemSlots;
@@ -228,7 +228,7 @@ export declare const StCascade: {
228
228
  }, import('vue').PublicProps, {
229
229
  size: import('../../types.ts').StSize;
230
230
  disabled: boolean;
231
- list: import('./index.ts').StCascadeOption[];
231
+ list: import('../st-tree/index.ts').StTreeNodeItem[];
232
232
  labelKey: string;
233
233
  valueKey: string;
234
234
  childrenKey: string;
@@ -257,7 +257,7 @@ export declare const StCascade: {
257
257
  }>, import('./index.ts').StCascadeDesktopExpose, {}, {}, {}, {
258
258
  size: import('../../types.ts').StSize;
259
259
  disabled: boolean;
260
- list: import('./index.ts').StCascadeOption[];
260
+ list: import('../st-tree/index.ts').StTreeNodeItem[];
261
261
  labelKey: string;
262
262
  valueKey: string;
263
263
  childrenKey: string;
@@ -289,7 +289,7 @@ export declare const StCascade: {
289
289
  }, string, {
290
290
  size: import('../../types.ts').StSize;
291
291
  disabled: boolean;
292
- list: import('./index.ts').StCascadeOption[];
292
+ list: import('../st-tree/index.ts').StTreeNodeItem[];
293
293
  labelKey: string;
294
294
  valueKey: string;
295
295
  childrenKey: string;
@@ -326,7 +326,7 @@ export declare const StCascade: {
326
326
  size: import('../../types.ts').StSize;
327
327
  disabled: boolean;
328
328
  title: string;
329
- list: import('./index.ts').StCascadeOption[];
329
+ list: import('../st-tree/index.ts').StTreeNodeItem[];
330
330
  labelKey: string;
331
331
  valueKey: string;
332
332
  childrenKey: string;
@@ -361,7 +361,7 @@ export declare const StCascade: {
361
361
  size: import('../../types.ts').StSize;
362
362
  disabled: boolean;
363
363
  title: string;
364
- list: import('./index.ts').StCascadeOption[];
364
+ list: import('../st-tree/index.ts').StTreeNodeItem[];
365
365
  labelKey: string;
366
366
  valueKey: string;
367
367
  childrenKey: string;
@@ -401,7 +401,7 @@ export declare const StCascade: {
401
401
  size: import('../../types.ts').StSize;
402
402
  disabled: boolean;
403
403
  title: string;
404
- list: import('./index.ts').StCascadeOption[];
404
+ list: import('../st-tree/index.ts').StTreeNodeItem[];
405
405
  labelKey: string;
406
406
  valueKey: string;
407
407
  childrenKey: string;
@@ -436,7 +436,7 @@ export declare const StCascadeGroup: {
436
436
  "update:activePath": (value: import('./index.ts').StCascadePath) => any;
437
437
  }, import('vue').PublicProps, {
438
438
  disabled: boolean;
439
- list: import('./index.ts').StCascadeOption[];
439
+ list: import('../st-tree/index.ts').StTreeNodeItem[];
440
440
  labelKey: string;
441
441
  valueKey: string;
442
442
  childrenKey: string;
@@ -460,7 +460,7 @@ export declare const StCascadeGroup: {
460
460
  "onUpdate:activePath"?: (value: import('./index.ts').StCascadePath) => any;
461
461
  }>, {}, {}, {}, {}, {
462
462
  disabled: boolean;
463
- list: import('./index.ts').StCascadeOption[];
463
+ list: import('../st-tree/index.ts').StTreeNodeItem[];
464
464
  labelKey: string;
465
465
  valueKey: string;
466
466
  childrenKey: string;
@@ -486,7 +486,7 @@ export declare const StCascadeGroup: {
486
486
  "update:activePath": (value: import('./index.ts').StCascadePath) => any;
487
487
  }, string, {
488
488
  disabled: boolean;
489
- list: import('./index.ts').StCascadeOption[];
489
+ list: import('../st-tree/index.ts').StTreeNodeItem[];
490
490
  labelKey: string;
491
491
  valueKey: string;
492
492
  childrenKey: string;
@@ -531,7 +531,7 @@ export declare const StCascadeGroupItem: {
531
531
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
532
532
  click: (option: import('../st-tree/index.ts').StTreeNodeItem) => any;
533
533
  }, import('vue').PublicProps, {
534
- option: import('./index.ts').StCascadeOption;
534
+ option: import('../st-tree/index.ts').StTreeNodeItem;
535
535
  level: number;
536
536
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
537
537
  P: {};
@@ -543,7 +543,7 @@ export declare const StCascadeGroupItem: {
543
543
  }, Readonly<import('./index.ts').StCascadeGroupItemProps> & Readonly<{
544
544
  onClick?: (option: import('../st-tree/index.ts').StTreeNodeItem) => any;
545
545
  }>, {}, {}, {}, {}, {
546
- option: import('./index.ts').StCascadeOption;
546
+ option: import('../st-tree/index.ts').StTreeNodeItem;
547
547
  level: number;
548
548
  }>;
549
549
  __isFragment?: never;
@@ -554,7 +554,7 @@ export declare const StCascadeGroupItem: {
554
554
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
555
555
  click: (option: import('../st-tree/index.ts').StTreeNodeItem) => any;
556
556
  }, string, {
557
- option: import('./index.ts').StCascadeOption;
557
+ option: import('../st-tree/index.ts').StTreeNodeItem;
558
558
  level: number;
559
559
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
560
560
  $slots: import('./index.ts').StCascadeGroupItemSlots;
@@ -579,7 +579,7 @@ export declare const StCascadeDesktop: {
579
579
  }, import('vue').PublicProps, {
580
580
  size: import('../../types.ts').StSize;
581
581
  disabled: boolean;
582
- list: import('./index.ts').StCascadeOption[];
582
+ list: import('../st-tree/index.ts').StTreeNodeItem[];
583
583
  labelKey: string;
584
584
  valueKey: string;
585
585
  childrenKey: string;
@@ -608,7 +608,7 @@ export declare const StCascadeDesktop: {
608
608
  }>, import('./index.ts').StCascadeDesktopExpose, {}, {}, {}, {
609
609
  size: import('../../types.ts').StSize;
610
610
  disabled: boolean;
611
- list: import('./index.ts').StCascadeOption[];
611
+ list: import('../st-tree/index.ts').StTreeNodeItem[];
612
612
  labelKey: string;
613
613
  valueKey: string;
614
614
  childrenKey: string;
@@ -640,7 +640,7 @@ export declare const StCascadeDesktop: {
640
640
  }, string, {
641
641
  size: import('../../types.ts').StSize;
642
642
  disabled: boolean;
643
- list: import('./index.ts').StCascadeOption[];
643
+ list: import('../st-tree/index.ts').StTreeNodeItem[];
644
644
  labelKey: string;
645
645
  valueKey: string;
646
646
  childrenKey: string;
@@ -678,7 +678,7 @@ export declare const StCascadePhone: {
678
678
  size: import('../../types.ts').StSize;
679
679
  disabled: boolean;
680
680
  title: string;
681
- list: import('./index.ts').StCascadeOption[];
681
+ list: import('../st-tree/index.ts').StTreeNodeItem[];
682
682
  labelKey: string;
683
683
  valueKey: string;
684
684
  childrenKey: string;
@@ -713,7 +713,7 @@ export declare const StCascadePhone: {
713
713
  size: import('../../types.ts').StSize;
714
714
  disabled: boolean;
715
715
  title: string;
716
- list: import('./index.ts').StCascadeOption[];
716
+ list: import('../st-tree/index.ts').StTreeNodeItem[];
717
717
  labelKey: string;
718
718
  valueKey: string;
719
719
  childrenKey: string;
@@ -753,7 +753,7 @@ export declare const StCascadePhone: {
753
753
  size: import('../../types.ts').StSize;
754
754
  disabled: boolean;
755
755
  title: string;
756
- list: import('./index.ts').StCascadeOption[];
756
+ list: import('../st-tree/index.ts').StTreeNodeItem[];
757
757
  labelKey: string;
758
758
  valueKey: string;
759
759
  childrenKey: string;
@@ -29,7 +29,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StCas
29
29
  size: import('../../../types.ts').StSize;
30
30
  disabled: boolean;
31
31
  title: string;
32
- list: import('../index.ts').StCascadeOption[];
32
+ list: import('../../st-tree/index.ts').StTreeNodeItem[];
33
33
  labelKey: string;
34
34
  valueKey: string;
35
35
  childrenKey: string;
@@ -1,12 +1,12 @@
1
1
  import { StCascadeGroupColumnProps } from './types/st-cascade-group-column.d.ts';
2
- declare var __VLS_13: {
2
+ declare var __VLS_14: {
3
3
  level: number;
4
4
  option: import('../st-tree/index.ts').StTreeNodeItem;
5
- }, __VLS_15: {};
5
+ }, __VLS_16: {};
6
6
  type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_13) => any;
7
+ default?: (props: typeof __VLS_14) => any;
8
8
  } & {
9
- empty?: (props: typeof __VLS_15) => any;
9
+ empty?: (props: typeof __VLS_16) => any;
10
10
  };
11
11
  declare const __VLS_base: import('vue').DefineComponent<StCascadeGroupColumnProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StCascadeGroupColumnProps> & Readonly<{}>, {
12
12
  level: number;
@@ -5,7 +5,7 @@ declare const __VLS_base: import('vue').DefineComponent<StCascadeGroupItemProps,
5
5
  }, string, import('vue').PublicProps, Readonly<StCascadeGroupItemProps> & Readonly<{
6
6
  onClick?: (option: import('../st-tree/index.ts').StTreeNodeItem) => any;
7
7
  }>, {
8
- option: import('./index.ts').StCascadeOption;
8
+ option: import('../st-tree/index.ts').StTreeNodeItem;
9
9
  level: number;
10
10
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
11
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,5 +1,5 @@
1
1
  import { StCascadeGroupProps, StCascadeGroupSlots } from './types/st-cascade-group.d.ts';
2
- import { StCascadeOption, StCascadePath } from './types/st-cascade-context.d.ts';
2
+ import { StCascadePath } from './types/st-cascade-context.d.ts';
3
3
  type __VLS_Slots = StCascadeGroupSlots;
4
4
  type __VLS_Props = StCascadeGroupProps;
5
5
  type __VLS_ModelProps = {
@@ -23,7 +23,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {
23
23
  "onUpdate:activePath"?: (value: StCascadePath) => any;
24
24
  }>, {
25
25
  disabled: boolean;
26
- list: StCascadeOption[];
26
+ list: import('../st-tree/index.ts').StTreeNodeItem[];
27
27
  labelKey: string;
28
28
  valueKey: string;
29
29
  childrenKey: string;
@@ -10,8 +10,8 @@ export declare const StCheckbox: {
10
10
  }, import('vue').PublicProps, {
11
11
  size: import('../../types.ts').StSize;
12
12
  disabled: boolean;
13
- trueValue: boolean | string | number;
14
- falseValue: boolean | string | number;
13
+ trueValue: string | number | boolean;
14
+ falseValue: string | number | boolean;
15
15
  indeterminate: boolean;
16
16
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
17
17
  P: {};
@@ -28,8 +28,8 @@ export declare const StCheckbox: {
28
28
  }>, {}, {}, {}, {}, {
29
29
  size: import('../../types.ts').StSize;
30
30
  disabled: boolean;
31
- trueValue: boolean | string | number;
32
- falseValue: boolean | string | number;
31
+ trueValue: string | number | boolean;
32
+ falseValue: string | number | boolean;
33
33
  indeterminate: boolean;
34
34
  }>;
35
35
  __isFragment?: never;
@@ -46,8 +46,8 @@ export declare const StCheckbox: {
46
46
  }, string, {
47
47
  size: import('../../types.ts').StSize;
48
48
  disabled: boolean;
49
- trueValue: boolean | string | number;
50
- falseValue: boolean | string | number;
49
+ trueValue: string | number | boolean;
50
+ falseValue: string | number | boolean;
51
51
  indeterminate: boolean;
52
52
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
53
53
  $slots: import('./index.ts').StCheckboxSlots;
@@ -15,8 +15,8 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {
15
15
  }>, {
16
16
  size: StSize;
17
17
  disabled: boolean;
18
- trueValue: boolean | string | number;
19
- falseValue: boolean | string | number;
18
+ trueValue: string | number | boolean;
19
+ falseValue: string | number | boolean;
20
20
  indeterminate: boolean;
21
21
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
22
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -106,7 +106,7 @@ export declare const StColorPicker: {
106
106
  activeChange: (value: import('./index.ts').StColorObject) => any;
107
107
  }, import('vue').PublicProps, {
108
108
  format: import('./index.ts').StColorFormat;
109
- presetColors: (import('./index.ts').StPresetColor | string)[];
109
+ presetColors: (string | import('./index.ts').StPresetColor)[];
110
110
  showAlpha: boolean;
111
111
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
112
112
  P: {};
@@ -125,7 +125,7 @@ export declare const StColorPicker: {
125
125
  color: import('./index.ts').StColorObject;
126
126
  }, {}, {}, {}, {
127
127
  format: import('./index.ts').StColorFormat;
128
- presetColors: (import('./index.ts').StPresetColor | string)[];
128
+ presetColors: (string | import('./index.ts').StPresetColor)[];
129
129
  showAlpha: boolean;
130
130
  }>;
131
131
  __isFragment?: never;
@@ -145,7 +145,7 @@ export declare const StColorPicker: {
145
145
  activeChange: (value: import('./index.ts').StColorObject) => any;
146
146
  }, string, {
147
147
  format: import('./index.ts').StColorFormat;
148
- presetColors: (import('./index.ts').StPresetColor | string)[];
148
+ presetColors: (string | import('./index.ts').StPresetColor)[];
149
149
  showAlpha: boolean;
150
150
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
151
151
  $slots: import('./index.ts').StColorPickerPanelSlots;
@@ -166,7 +166,7 @@ export declare const StColorPickerPanel: {
166
166
  activeChange: (value: import('./index.ts').StColorObject) => any;
167
167
  }, import('vue').PublicProps, {
168
168
  format: import('./index.ts').StColorFormat;
169
- presetColors: (import('./index.ts').StPresetColor | string)[];
169
+ presetColors: (string | import('./index.ts').StPresetColor)[];
170
170
  showAlpha: boolean;
171
171
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
172
172
  P: {};
@@ -185,7 +185,7 @@ export declare const StColorPickerPanel: {
185
185
  color: import('./index.ts').StColorObject;
186
186
  }, {}, {}, {}, {
187
187
  format: import('./index.ts').StColorFormat;
188
- presetColors: (import('./index.ts').StPresetColor | string)[];
188
+ presetColors: (string | import('./index.ts').StPresetColor)[];
189
189
  showAlpha: boolean;
190
190
  }>;
191
191
  __isFragment?: never;
@@ -205,7 +205,7 @@ export declare const StColorPickerPanel: {
205
205
  activeChange: (value: import('./index.ts').StColorObject) => any;
206
206
  }, string, {
207
207
  format: import('./index.ts').StColorFormat;
208
- presetColors: (import('./index.ts').StPresetColor | string)[];
208
+ presetColors: (string | import('./index.ts').StPresetColor)[];
209
209
  showAlpha: boolean;
210
210
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
211
211
  $slots: import('./index.ts').StColorPickerPanelSlots;
@@ -17,7 +17,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {
17
17
  onActiveChange?: (value: StColorObject) => any;
18
18
  }>, {
19
19
  format: import('./index.ts').StColorFormat;
20
- presetColors: (StPresetColor | string)[];
20
+ presetColors: (string | StPresetColor)[];
21
21
  showAlpha: boolean;
22
22
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
23
23
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -19,7 +19,7 @@ export declare const StConfirm: {
19
19
  opened: () => any;
20
20
  }, import('vue').PublicProps, {
21
21
  deviceType: import('../../types.ts').DeviceType | "auto";
22
- message: string | import('vue').VNodeChild;
22
+ message: import('vue').VNodeChild;
23
23
  title: string;
24
24
  confirmText: string;
25
25
  cancelText: string;
@@ -50,7 +50,7 @@ export declare const StConfirm: {
50
50
  onOpened?: () => any;
51
51
  }>, {}, {}, {}, {}, {
52
52
  deviceType: import('../../types.ts').DeviceType | "auto";
53
- message: string | import('vue').VNodeChild;
53
+ message: import('vue').VNodeChild;
54
54
  title: string;
55
55
  confirmText: string;
56
56
  cancelText: string;
@@ -86,7 +86,7 @@ export declare const StConfirm: {
86
86
  opened: () => any;
87
87
  }, string, {
88
88
  deviceType: import('../../types.ts').DeviceType | "auto";
89
- message: string | import('vue').VNodeChild;
89
+ message: import('vue').VNodeChild;
90
90
  title: string;
91
91
  confirmText: string;
92
92
  cancelText: string;
@@ -23,7 +23,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {
23
23
  onOpened?: () => any;
24
24
  }>, {
25
25
  deviceType: import('../../types.ts').DeviceType | "auto";
26
- message: string | import('vue').VNodeChild;
26
+ message: import('vue').VNodeChild;
27
27
  title: string;
28
28
  confirmText: string;
29
29
  cancelText: string;
@@ -33,9 +33,8 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StDat
33
33
  shortcuts: import('../index.ts').StPickerShortcut[];
34
34
  showFooter: boolean;
35
35
  showClear: boolean;
36
- showTodayLink: boolean;
37
- minDate: Date | string | null;
38
- maxDate: Date | string | null;
36
+ minDate: string | Date;
37
+ maxDate: string | Date;
39
38
  disabledDate: (date: Date) => boolean;
40
39
  maxSpan: number;
41
40
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -12,16 +12,15 @@ declare const __VLS_base: import('vue').DefineComponent<StDatePickerPanelProps,
12
12
  onRangePreview?: (range: [Date, Date]) => any;
13
13
  onSelectRange?: (range: [Date, Date]) => any;
14
14
  }>, {
15
- value: Date | null;
15
+ value: Date;
16
16
  range: boolean;
17
- marks: ((date: Date) => boolean) | Date[];
17
+ marks: Date[] | ((date: Date) => boolean);
18
18
  shortcuts: StPickerShortcut[];
19
19
  showFooter: boolean;
20
20
  showClear: boolean;
21
- showTodayLink: boolean;
22
21
  clearText: string;
23
22
  keyboard: boolean;
24
- rangeValue: [Date | null, Date | null];
23
+ rangeValue: [Date, Date];
25
24
  cellSize: import('../index.ts').StPickerCellSize;
26
25
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
27
26
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -10,15 +10,16 @@ declare const __VLS_base: import('vue').DefineComponent<StDateTimePickerPanelPro
10
10
  onClear?: () => any;
11
11
  onConfirmRange?: (range: [Date, Date]) => any;
12
12
  }>, {
13
- value: Date | null;
13
+ value: Date;
14
14
  disabled: boolean;
15
15
  confirmText: string;
16
16
  format: string;
17
17
  range: boolean;
18
- marks: ((date: Date) => boolean) | Date[];
18
+ marks: Date[] | ((date: Date) => boolean);
19
19
  shortcuts: StPickerShortcut[];
20
20
  showFooter: boolean;
21
21
  showClear: boolean;
22
+ maxSpan: number;
22
23
  dateText: string;
23
24
  timeText: string;
24
25
  showHour: boolean;
@@ -27,14 +28,14 @@ declare const __VLS_base: import('vue').DefineComponent<StDateTimePickerPanelPro
27
28
  hourStep: number;
28
29
  minuteStep: number;
29
30
  secondStep: number;
30
- minTime: string | null;
31
- maxTime: string | null;
32
- rangeValue: [Date | null, Date | null];
33
- cellSize: "pc" | "compact";
31
+ minTime: string;
32
+ maxTime: string;
33
+ rangeValue: [Date, Date];
34
+ cellSize: "compact" | "pc";
34
35
  startText: string;
35
36
  endText: string;
36
37
  timeFormat: string;
37
- timeSize: "pc" | "compact";
38
+ timeSize: "compact" | "pc";
38
39
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
39
40
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
40
41
  declare const _default: typeof __VLS_export;
@@ -25,23 +25,21 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StTim
25
25
  floatingLabel: boolean;
26
26
  format: string;
27
27
  icon: string;
28
- closeOnSelect: boolean;
29
28
  range: boolean;
30
29
  valueFormat: string;
31
30
  startPlaceholder: string;
32
31
  endPlaceholder: string;
33
32
  shortcuts: import('../index.ts').StPickerShortcut[];
34
33
  showClear: boolean;
35
- footer: boolean;
36
34
  showHour: boolean;
37
35
  showMinute: boolean;
38
36
  showSecond: boolean;
39
37
  hourStep: number;
40
38
  minuteStep: number;
41
39
  secondStep: number;
42
- minTime: string | null;
43
- maxTime: string | null;
44
- date: Date | null;
40
+ minTime: string;
41
+ maxTime: string;
42
+ date: Date;
45
43
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
46
44
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
47
45
  declare const _default: typeof __VLS_export;
@@ -5,32 +5,35 @@ declare const __VLS_base: import('vue').DefineComponent<StTimePickerPanelProps,
5
5
  confirm: () => any;
6
6
  select: (parts: StPickerTimeParts) => any;
7
7
  clear: () => any;
8
+ shortcut: (parts: StPickerTimeParts) => any;
8
9
  selectRange: (range: [StPickerTimeParts, StPickerTimeParts]) => any;
10
+ shortcutRange: (range: [StPickerTimeParts, StPickerTimeParts]) => any;
9
11
  }, string, import('vue').PublicProps, Readonly<StTimePickerPanelProps> & Readonly<{
10
12
  onConfirm?: () => any;
11
13
  onSelect?: (parts: StPickerTimeParts) => any;
12
14
  onClear?: () => any;
15
+ onShortcut?: (parts: StPickerTimeParts) => any;
13
16
  onSelectRange?: (range: [StPickerTimeParts, StPickerTimeParts]) => any;
17
+ onShortcutRange?: (range: [StPickerTimeParts, StPickerTimeParts]) => any;
14
18
  }>, {
15
19
  size: import('../index.ts').StPickerTimeSize;
16
- value: StPickerTimeParts | null;
20
+ value: StPickerTimeParts;
17
21
  disabled: boolean;
18
22
  confirmText: string;
19
23
  range: boolean;
20
24
  shortcuts: StPickerShortcut[];
21
25
  showClear: boolean;
22
26
  clearText: string;
23
- footer: boolean;
24
27
  showHour: boolean;
25
28
  showMinute: boolean;
26
29
  showSecond: boolean;
27
30
  hourStep: number;
28
31
  minuteStep: number;
29
32
  secondStep: number;
30
- minTime: string | null;
31
- maxTime: string | null;
32
- date: Date | null;
33
- rangeValue: [StPickerTimeParts | null, StPickerTimeParts | null];
33
+ minTime: string;
34
+ maxTime: string;
35
+ date: Date;
36
+ rangeValue: [StPickerTimeParts, StPickerTimeParts];
34
37
  startText: string;
35
38
  endText: string;
36
39
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -42,8 +42,6 @@ export interface StDatePickerDesktopProps extends StPickerDateConstraintProps, S
42
42
  showFooter?: boolean;
43
43
  /** 面板底部是否显示清除 */
44
44
  showClear?: boolean;
45
- /** 面板底部是否显示今天直达 */
46
- showTodayLink?: boolean;
47
45
  /** 浮层容器类名 */
48
46
  popoverClass?: ClassValue;
49
47
  /** 浮层容器样式 */