@sdata/web-vue 2.6.0 → 2.8.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 (39) hide show
  1. package/dist/sd.css +20 -0
  2. package/dist/sd.min.css +1 -1
  3. package/es/_components/transition/expand-transition.vue.d.ts +2 -2
  4. package/es/calendar/components/cell.vue.d.ts +26 -26
  5. package/es/cascader/cascader.vue.d.ts +8 -8
  6. package/es/date-picker/panels/date/index.vue.d.ts +2 -2
  7. package/es/date-picker/panels/month/index.vue.d.ts +2 -2
  8. package/es/date-picker/panels/quarter/index.vue.d.ts +2 -2
  9. package/es/date-picker/panels/week/index.vue.d.ts +2 -2
  10. package/es/date-picker/panels/year/index.vue.d.ts +2 -2
  11. package/es/date-picker/picker-panel.vue.d.ts +12 -12
  12. package/es/date-picker/picker.vue.d.ts +12 -12
  13. package/es/date-picker/range-picker.vue.d.ts +13 -13
  14. package/es/drawer/drawer.vue.d.ts +5 -5
  15. package/es/drawer/index.d.ts +1 -0
  16. package/es/dropdown/dropdown-button.vue.d.ts +4 -4
  17. package/es/ellipsis/ellipsis.vue.d.ts +7 -7
  18. package/es/ellipsis/performant-ellipsis.vue.d.ts +5 -5
  19. package/es/image/preview.vue.d.ts +2 -2
  20. package/es/index.css +20 -0
  21. package/es/index.d.ts +1 -1
  22. package/es/input/input-password.vue.d.ts +3 -3
  23. package/es/layout/index.d.ts +39 -1
  24. package/es/layout/interface.d.ts +4 -0
  25. package/es/layout/sider.vue.d.ts +33 -7
  26. package/es/layout/sider.vue_vue_type_script_setup_true_lang.js +69 -10
  27. package/es/layout/style/index.css +20 -0
  28. package/es/layout/style/index.scss +24 -0
  29. package/es/modal/modal.vue.d.ts +4 -4
  30. package/es/resize-box/resize-box.vue.d.ts +4 -4
  31. package/es/split/split.vue.d.ts +4 -4
  32. package/es/tag/tag.vue.d.ts +2 -2
  33. package/es/time-picker/time-picker.vue.d.ts +2 -2
  34. package/es/tree/expand-transition.vue.d.ts +2 -2
  35. package/es/tree-select/tree-select.vue.d.ts +9 -9
  36. package/json/vetur-attributes.json +7 -0
  37. package/json/vetur-tags.json +3 -1
  38. package/json/web-types.json +17 -1
  39. package/package.json +7 -7
@@ -1,6 +1,6 @@
1
- declare var __VLS_9: {};
1
+ declare var __VLS_14: {};
2
2
  type __VLS_Slots = {} & {
3
- default?: (props: typeof __VLS_9) => any;
3
+ default?: (props: typeof __VLS_14) => any;
4
4
  };
5
5
  declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
6
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -70,15 +70,15 @@ declare var __VLS_1: {
70
70
  view: Record<string, any>;
71
71
  schedule: any;
72
72
  events: any;
73
- }, __VLS_30: {
73
+ }, __VLS_31: {
74
74
  event: Record<string, any>;
75
- }, __VLS_34: `event.${any}`, __VLS_35: {
75
+ }, __VLS_35: `event.${any}`, __VLS_36: {
76
76
  event: Record<string, any>;
77
- }, __VLS_38: {
77
+ }, __VLS_39: {
78
78
  event: Record<string, any>;
79
- }, __VLS_41: {
79
+ }, __VLS_42: {
80
80
  event: Record<string, any>;
81
- }, __VLS_43: {
81
+ }, __VLS_44: {
82
82
  cell: {
83
83
  goNarrower: () => any;
84
84
  goBroader: () => any;
@@ -92,7 +92,7 @@ declare var __VLS_1: {
92
92
  content: any;
93
93
  };
94
94
  view: Record<string, any>;
95
- }, __VLS_45: {
95
+ }, __VLS_46: {
96
96
  cell: {
97
97
  goNarrower: () => any;
98
98
  goBroader: () => any;
@@ -106,7 +106,7 @@ declare var __VLS_1: {
106
106
  content: any;
107
107
  };
108
108
  view: Record<string, any>;
109
- }, __VLS_47: {
109
+ }, __VLS_48: {
110
110
  cell: {
111
111
  goNarrower: () => any;
112
112
  goBroader: () => any;
@@ -120,24 +120,24 @@ declare var __VLS_1: {
120
120
  content: any;
121
121
  };
122
122
  view: Record<string, any>;
123
- }, __VLS_66: {
123
+ }, __VLS_68: {
124
124
  event: Record<string, any>;
125
- }, __VLS_70: `event.${any}`, __VLS_71: {
125
+ }, __VLS_72: `event.${any}`, __VLS_73: {
126
126
  event: Record<string, any>;
127
- }, __VLS_74: {
128
- event: Record<string, any>;
129
- }, __VLS_77: {
127
+ }, __VLS_76: {
130
128
  event: Record<string, any>;
131
129
  }, __VLS_79: {
132
- events: any;
130
+ event: Record<string, any>;
133
131
  }, __VLS_81: {
132
+ events: any;
133
+ }, __VLS_83: {
134
134
  now: any;
135
135
  timeFormatted: any;
136
136
  };
137
137
  type __VLS_Slots = {} & {
138
- [K in NonNullable<typeof __VLS_34>]?: (props: typeof __VLS_35) => any;
138
+ [K in NonNullable<typeof __VLS_35>]?: (props: typeof __VLS_36) => any;
139
139
  } & {
140
- [K in NonNullable<typeof __VLS_70>]?: (props: typeof __VLS_71) => any;
140
+ [K in NonNullable<typeof __VLS_72>]?: (props: typeof __VLS_73) => any;
141
141
  } & {
142
142
  cell?: (props: typeof __VLS_1) => any;
143
143
  } & {
@@ -151,27 +151,27 @@ type __VLS_Slots = {} & {
151
151
  } & {
152
152
  'cell-events'?: (props: typeof __VLS_11) => any;
153
153
  } & {
154
- 'event.all-day'?: (props: typeof __VLS_30) => any;
154
+ 'event.all-day'?: (props: typeof __VLS_31) => any;
155
155
  } & {
156
- event?: (props: typeof __VLS_38) => any;
156
+ event?: (props: typeof __VLS_39) => any;
157
157
  } & {
158
- 'event-content'?: (props: typeof __VLS_41) => any;
158
+ 'event-content'?: (props: typeof __VLS_42) => any;
159
159
  } & {
160
- 'cell-date'?: (props: typeof __VLS_43) => any;
160
+ 'cell-date'?: (props: typeof __VLS_44) => any;
161
161
  } & {
162
- 'cell-content'?: (props: typeof __VLS_45) => any;
162
+ 'cell-content'?: (props: typeof __VLS_46) => any;
163
163
  } & {
164
- 'cell-events'?: (props: typeof __VLS_47) => any;
164
+ 'cell-events'?: (props: typeof __VLS_48) => any;
165
165
  } & {
166
- 'event.all-day'?: (props: typeof __VLS_66) => any;
166
+ 'event.all-day'?: (props: typeof __VLS_68) => any;
167
167
  } & {
168
- event?: (props: typeof __VLS_74) => any;
168
+ event?: (props: typeof __VLS_76) => any;
169
169
  } & {
170
- 'event-content'?: (props: typeof __VLS_77) => any;
170
+ 'event-content'?: (props: typeof __VLS_79) => any;
171
171
  } & {
172
- 'event-count'?: (props: typeof __VLS_79) => any;
172
+ 'event-count'?: (props: typeof __VLS_81) => any;
173
173
  } & {
174
- 'now-line'?: (props: typeof __VLS_81) => any;
174
+ 'now-line'?: (props: typeof __VLS_83) => any;
175
175
  };
176
176
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
177
177
  start: {
@@ -1,20 +1,20 @@
1
1
  import type { CascaderModelValue, CascaderOption } from './interface';
2
2
  import type { CascaderProps } from './types';
3
- declare var __VLS_19: any, __VLS_22: {}, __VLS_25: {}, __VLS_28: {}, __VLS_31: {}, __VLS_41: {}, __VLS_50: {};
3
+ declare var __VLS_24: any, __VLS_27: {}, __VLS_30: {}, __VLS_33: {}, __VLS_36: {}, __VLS_46: {}, __VLS_55: {};
4
4
  type __VLS_Slots = {} & {
5
- label?: (props: typeof __VLS_19) => any;
5
+ label?: (props: typeof __VLS_24) => any;
6
6
  } & {
7
- prefix?: (props: typeof __VLS_22) => any;
7
+ prefix?: (props: typeof __VLS_27) => any;
8
8
  } & {
9
- 'arrow-icon'?: (props: typeof __VLS_25) => any;
9
+ 'arrow-icon'?: (props: typeof __VLS_30) => any;
10
10
  } & {
11
- 'loading-icon'?: (props: typeof __VLS_28) => any;
11
+ 'loading-icon'?: (props: typeof __VLS_33) => any;
12
12
  } & {
13
- 'search-icon'?: (props: typeof __VLS_31) => any;
13
+ 'search-icon'?: (props: typeof __VLS_36) => any;
14
14
  } & {
15
- empty?: (props: typeof __VLS_41) => any;
15
+ empty?: (props: typeof __VLS_46) => any;
16
16
  } & {
17
- empty?: (props: typeof __VLS_50) => any;
17
+ empty?: (props: typeof __VLS_55) => any;
18
18
  };
19
19
  declare const __VLS_base: import("vue").DefineComponent<CascaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
20
  search: (value: string) => any;
@@ -3,11 +3,11 @@ import { Dayjs } from 'dayjs';
3
3
  import type { TimePickerProps } from '../../../time-picker/interface';
4
4
  import type { DisabledDate, DisabledTime, HeaderIcons, HeaderOperations, IsSameTime, Mode, WeekStart } from '../../interface';
5
5
  import { HeaderLabelClickFunc } from '../header.vue';
6
- declare var __VLS_20: {
6
+ declare var __VLS_21: {
7
7
  date: Date;
8
8
  };
9
9
  type __VLS_Slots = {} & {
10
- cell?: (props: typeof __VLS_20) => any;
10
+ cell?: (props: typeof __VLS_21) => any;
11
11
  };
12
12
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
13
  isRange: {
@@ -2,11 +2,11 @@ import { PropType } from 'vue';
2
2
  import { Dayjs } from 'dayjs';
3
3
  import type { DisabledDate, HeaderIcons, HeaderOperations } from '../../interface';
4
4
  import { HeaderLabelClickFunc } from '../header.vue';
5
- declare var __VLS_15: {
5
+ declare var __VLS_16: {
6
6
  date: Date;
7
7
  };
8
8
  type __VLS_Slots = {} & {
9
- cell?: (props: typeof __VLS_15) => any;
9
+ cell?: (props: typeof __VLS_16) => any;
10
10
  };
11
11
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
12
12
  headerValue: {
@@ -2,11 +2,11 @@ import { PropType } from 'vue';
2
2
  import { Dayjs } from 'dayjs';
3
3
  import type { DisabledDate, HeaderIcons, HeaderOperations } from '../../interface';
4
4
  import { HeaderLabelClickFunc } from '../header.vue';
5
- declare var __VLS_15: {
5
+ declare var __VLS_16: {
6
6
  date: Date;
7
7
  };
8
8
  type __VLS_Slots = {} & {
9
- cell?: (props: typeof __VLS_15) => any;
9
+ cell?: (props: typeof __VLS_16) => any;
10
10
  };
11
11
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
12
12
  headerValue: {
@@ -1,11 +1,11 @@
1
1
  import { PropType } from 'vue';
2
2
  import { Dayjs } from 'dayjs';
3
3
  import { HeaderIcons, HeaderOperations, WeekStart } from '../../interface';
4
- declare var __VLS_11: {
4
+ declare var __VLS_12: {
5
5
  date: Date;
6
6
  };
7
7
  type __VLS_Slots = {} & {
8
- cell?: (props: typeof __VLS_11) => any;
8
+ cell?: (props: typeof __VLS_12) => any;
9
9
  };
10
10
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
11
11
  dayStartOfWeek: {
@@ -1,11 +1,11 @@
1
1
  import { PropType } from 'vue';
2
2
  import { Dayjs } from 'dayjs';
3
3
  import type { DisabledDate, HeaderIcons, HeaderOperations } from '../../interface';
4
- declare var __VLS_15: {
4
+ declare var __VLS_16: {
5
5
  date: Date;
6
6
  };
7
7
  type __VLS_Slots = {} & {
8
- cell?: (props: typeof __VLS_15) => any;
8
+ cell?: (props: typeof __VLS_16) => any;
9
9
  };
10
10
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
11
11
  headerValue: {
@@ -2,29 +2,29 @@ import { PropType } from 'vue';
2
2
  import { Dayjs } from 'dayjs';
3
3
  import { TimePickerProps } from '../time-picker/interface';
4
4
  import { DisabledDate, DisabledTime, HeaderIcons, HeaderOperations, ShortcutType, WeekStart } from './interface';
5
- declare var __VLS_27: {
5
+ declare var __VLS_28: {
6
6
  date: Date;
7
- }, __VLS_36: {
7
+ }, __VLS_37: {
8
8
  date: Date;
9
- }, __VLS_45: {
9
+ }, __VLS_46: {
10
10
  date: Date;
11
- }, __VLS_54: {
11
+ }, __VLS_55: {
12
12
  date: Date;
13
- }, __VLS_65: {
13
+ }, __VLS_66: {
14
14
  date: Date;
15
- }, __VLS_76: {};
15
+ }, __VLS_78: {};
16
16
  type __VLS_Slots = {} & {
17
- cell?: (props: typeof __VLS_27) => any;
17
+ cell?: (props: typeof __VLS_28) => any;
18
18
  } & {
19
- cell?: (props: typeof __VLS_36) => any;
19
+ cell?: (props: typeof __VLS_37) => any;
20
20
  } & {
21
- cell?: (props: typeof __VLS_45) => any;
21
+ cell?: (props: typeof __VLS_46) => any;
22
22
  } & {
23
- cell?: (props: typeof __VLS_54) => any;
23
+ cell?: (props: typeof __VLS_55) => any;
24
24
  } & {
25
- cell?: (props: typeof __VLS_65) => any;
25
+ cell?: (props: typeof __VLS_66) => any;
26
26
  } & {
27
- extra?: (props: typeof __VLS_76) => any;
27
+ extra?: (props: typeof __VLS_78) => any;
28
28
  };
29
29
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
30
30
  mode: {
@@ -14,7 +14,7 @@ declare function onPanelShortcutClick(value: Dayjs, shortcut: ShortcutType): voi
14
14
  declare function onPanelHeaderLabelClick(type: 'year' | 'month'): void;
15
15
  declare function onMonthHeaderClick(): void;
16
16
  declare function onPanelHeaderSelect(date: Dayjs): void;
17
- declare var __VLS_10: {}, __VLS_23: {}, __VLS_26: {}, __VLS_34: {
17
+ declare var __VLS_10: {}, __VLS_26: {}, __VLS_29: {}, __VLS_37: {
18
18
  component: {
19
19
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
20
20
  mode: {
@@ -462,9 +462,9 @@ declare var __VLS_10: {}, __VLS_23: {}, __VLS_26: {}, __VLS_34: {
462
462
  shortcutsPosition: "bottom" | "left" | "right";
463
463
  hideTrigger: boolean;
464
464
  };
465
- }, __VLS_43: {}, __VLS_46: {
465
+ }, __VLS_46: {}, __VLS_49: {
466
466
  date: Date;
467
- }, __VLS_48: {
467
+ }, __VLS_51: {
468
468
  component: {
469
469
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
470
470
  mode: {
@@ -912,27 +912,27 @@ declare var __VLS_10: {}, __VLS_23: {}, __VLS_26: {}, __VLS_34: {
912
912
  shortcutsPosition: "bottom" | "left" | "right";
913
913
  hideTrigger: boolean;
914
914
  };
915
- }, __VLS_57: {}, __VLS_60: {
915
+ }, __VLS_60: {}, __VLS_63: {
916
916
  date: Date;
917
917
  };
918
918
  type __VLS_Slots = {} & {
919
919
  default?: (props: typeof __VLS_10) => any;
920
920
  } & {
921
- prefix?: (props: typeof __VLS_23) => any;
921
+ prefix?: (props: typeof __VLS_26) => any;
922
922
  } & {
923
- 'suffix-icon'?: (props: typeof __VLS_26) => any;
923
+ 'suffix-icon'?: (props: typeof __VLS_29) => any;
924
924
  } & {
925
- panelRender?: (props: typeof __VLS_34) => any;
925
+ panelRender?: (props: typeof __VLS_37) => any;
926
926
  } & {
927
- extra?: (props: typeof __VLS_43) => any;
927
+ extra?: (props: typeof __VLS_46) => any;
928
928
  } & {
929
- cell?: (props: typeof __VLS_46) => any;
929
+ cell?: (props: typeof __VLS_49) => any;
930
930
  } & {
931
- panelRender?: (props: typeof __VLS_48) => any;
931
+ panelRender?: (props: typeof __VLS_51) => any;
932
932
  } & {
933
- extra?: (props: typeof __VLS_57) => any;
933
+ extra?: (props: typeof __VLS_60) => any;
934
934
  } & {
935
- cell?: (props: typeof __VLS_60) => any;
935
+ cell?: (props: typeof __VLS_63) => any;
936
936
  };
937
937
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
938
938
  locale: {
@@ -15,7 +15,7 @@ declare function onPanelShortcutMouseEnter(value: Array<Dayjs | undefined>): voi
15
15
  declare function onPanelShortcutMouseLeave(): void;
16
16
  declare function onPanelShortcutClick(value: Array<Dayjs | undefined>, shortcut: ShortcutType): void;
17
17
  declare function onPanelConfirm(): void;
18
- declare var __VLS_10: {}, __VLS_23: {}, __VLS_26: {}, __VLS_34: {}, __VLS_37: {
18
+ declare var __VLS_10: {}, __VLS_25: {}, __VLS_28: {}, __VLS_36: {}, __VLS_39: {
19
19
  component: {
20
20
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
21
21
  mode: {
@@ -649,10 +649,10 @@ declare var __VLS_10: {}, __VLS_23: {}, __VLS_26: {}, __VLS_34: {}, __VLS_37: {
649
649
  shortcutsPosition: "bottom" | "left" | "right";
650
650
  hideTrigger: boolean;
651
651
  };
652
- }, __VLS_46: {}, __VLS_49: {
652
+ }, __VLS_48: {}, __VLS_51: {
653
653
  type: string;
654
654
  date: Date;
655
- }, __VLS_51: {
655
+ }, __VLS_53: {
656
656
  component: {
657
657
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
658
658
  mode: {
@@ -1286,30 +1286,30 @@ declare var __VLS_10: {}, __VLS_23: {}, __VLS_26: {}, __VLS_34: {}, __VLS_37: {
1286
1286
  shortcutsPosition: "bottom" | "left" | "right";
1287
1287
  hideTrigger: boolean;
1288
1288
  };
1289
- }, __VLS_60: {}, __VLS_63: {
1289
+ }, __VLS_62: {}, __VLS_65: {
1290
1290
  type: string;
1291
1291
  date: Date;
1292
1292
  };
1293
1293
  type __VLS_Slots = {} & {
1294
1294
  default?: (props: typeof __VLS_10) => any;
1295
1295
  } & {
1296
- prefix?: (props: typeof __VLS_23) => any;
1296
+ prefix?: (props: typeof __VLS_25) => any;
1297
1297
  } & {
1298
- 'suffix-icon'?: (props: typeof __VLS_26) => any;
1298
+ 'suffix-icon'?: (props: typeof __VLS_28) => any;
1299
1299
  } & {
1300
- separator?: (props: typeof __VLS_34) => any;
1300
+ separator?: (props: typeof __VLS_36) => any;
1301
1301
  } & {
1302
- panelRender?: (props: typeof __VLS_37) => any;
1302
+ panelRender?: (props: typeof __VLS_39) => any;
1303
1303
  } & {
1304
- extra?: (props: typeof __VLS_46) => any;
1304
+ extra?: (props: typeof __VLS_48) => any;
1305
1305
  } & {
1306
- cell?: (props: typeof __VLS_49) => any;
1306
+ cell?: (props: typeof __VLS_51) => any;
1307
1307
  } & {
1308
- panelRender?: (props: typeof __VLS_51) => any;
1308
+ panelRender?: (props: typeof __VLS_53) => any;
1309
1309
  } & {
1310
- extra?: (props: typeof __VLS_60) => any;
1310
+ extra?: (props: typeof __VLS_62) => any;
1311
1311
  } & {
1312
- cell?: (props: typeof __VLS_63) => any;
1312
+ cell?: (props: typeof __VLS_65) => any;
1313
1313
  };
1314
1314
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1315
1315
  mode: {
@@ -2,15 +2,15 @@ import type { CSSProperties, PropType, StyleValue } from 'vue';
2
2
  import type { EllipsisTooltipProps } from '../ellipsis';
3
3
  import { ButtonProps } from '../button';
4
4
  import { type DrawerPlacements } from './utils';
5
- declare var __VLS_28: {}, __VLS_36: {}, __VLS_49: {}, __VLS_51: {};
5
+ declare var __VLS_29: {}, __VLS_37: {}, __VLS_50: {}, __VLS_52: {};
6
6
  type __VLS_Slots = {} & {
7
- header?: (props: typeof __VLS_28) => any;
7
+ header?: (props: typeof __VLS_29) => any;
8
8
  } & {
9
- title?: (props: typeof __VLS_36) => any;
9
+ title?: (props: typeof __VLS_37) => any;
10
10
  } & {
11
- default?: (props: typeof __VLS_49) => any;
11
+ default?: (props: typeof __VLS_50) => any;
12
12
  } & {
13
- footer?: (props: typeof __VLS_51) => any;
13
+ footer?: (props: typeof __VLS_52) => any;
14
14
  };
15
15
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
16
16
  visible: {
@@ -401,4 +401,5 @@ declare const Drawer: {
401
401
  };
402
402
  export type { DrawerMethod, DrawerConfig, DrawerReturn } from './interface';
403
403
  export type DrawerInstance = InstanceType<typeof _Drawer>;
404
+ export type DrawerProps = InstanceType<typeof _Drawer>['$props'];
404
405
  export default Drawer;
@@ -2,15 +2,15 @@ import { PropType } from 'vue';
2
2
  import { TriggerEvent } from '../_utils/constant';
3
3
  import { ButtonProps } from '../button';
4
4
  type DropdownPosition = 'top' | 'tl' | 'tr' | 'bottom' | 'bl' | 'br';
5
- declare var __VLS_16: {}, __VLS_33: {
5
+ declare var __VLS_16: {}, __VLS_34: {
6
6
  popupVisible: boolean;
7
- }, __VLS_41: {};
7
+ }, __VLS_42: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_16) => any;
10
10
  } & {
11
- icon?: (props: typeof __VLS_33) => any;
11
+ icon?: (props: typeof __VLS_34) => any;
12
12
  } & {
13
- content?: (props: typeof __VLS_41) => any;
13
+ content?: (props: typeof __VLS_42) => any;
14
14
  };
15
15
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
16
16
  popupVisible: {
@@ -1,18 +1,18 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { EllipsisTooltipProps } from './interface';
3
- declare var __VLS_26: {}, __VLS_28: {}, __VLS_31: {}, __VLS_33: {}, __VLS_45: {}, __VLS_47: {};
3
+ declare var __VLS_27: {}, __VLS_29: {}, __VLS_32: {}, __VLS_34: {}, __VLS_47: {}, __VLS_49: {};
4
4
  type __VLS_Slots = {} & {
5
- default?: (props: typeof __VLS_26) => any;
5
+ default?: (props: typeof __VLS_27) => any;
6
6
  } & {
7
- default?: (props: typeof __VLS_28) => any;
7
+ default?: (props: typeof __VLS_29) => any;
8
8
  } & {
9
- tooltip?: (props: typeof __VLS_31) => any;
9
+ tooltip?: (props: typeof __VLS_32) => any;
10
10
  } & {
11
- default?: (props: typeof __VLS_33) => any;
12
- } & {
13
- default?: (props: typeof __VLS_45) => any;
11
+ default?: (props: typeof __VLS_34) => any;
14
12
  } & {
15
13
  default?: (props: typeof __VLS_47) => any;
14
+ } & {
15
+ default?: (props: typeof __VLS_49) => any;
16
16
  };
17
17
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
18
18
  lineClamp: {
@@ -1,14 +1,14 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { EllipsisTooltipProps } from './interface';
3
- declare var __VLS_10: {}, __VLS_12: {}, __VLS_22: {}, __VLS_25: {};
3
+ declare var __VLS_12: {}, __VLS_14: {}, __VLS_24: {}, __VLS_27: {};
4
4
  type __VLS_Slots = {} & {
5
- default?: (props: typeof __VLS_10) => any;
6
- } & {
7
5
  default?: (props: typeof __VLS_12) => any;
8
6
  } & {
9
- default?: (props: typeof __VLS_22) => any;
7
+ default?: (props: typeof __VLS_14) => any;
8
+ } & {
9
+ default?: (props: typeof __VLS_24) => any;
10
10
  } & {
11
- tooltip?: (props: typeof __VLS_25) => any;
11
+ tooltip?: (props: typeof __VLS_27) => any;
12
12
  };
13
13
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
14
14
  lineClamp: {
@@ -1,7 +1,7 @@
1
1
  import { PropType } from 'vue';
2
- declare var __VLS_32: {};
2
+ declare var __VLS_33: {};
3
3
  type __VLS_Slots = {} & {
4
- actions?: (props: typeof __VLS_32) => any;
4
+ actions?: (props: typeof __VLS_33) => any;
5
5
  };
6
6
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
7
7
  renderToBody: {
package/es/index.css CHANGED
@@ -10548,6 +10548,26 @@ body.sd-tour-active .sd-tour-popover * {
10548
10548
  border: 1px solid var(--sd-color-fill-1);
10549
10549
  border-inline-start: 0;
10550
10550
  }
10551
+ .sd-layout-sider-temporary {
10552
+ flex: 0 0 auto;
10553
+ width: auto;
10554
+ background: transparent;
10555
+ }
10556
+ .sd-layout-sider-temporary-trigger {
10557
+ display: inline-flex;
10558
+ align-items: center;
10559
+ justify-content: center;
10560
+ width: 40px;
10561
+ height: 40px;
10562
+ color: var(--sd-color-text-1);
10563
+ font-size: 18px;
10564
+ border-radius: 8px;
10565
+ cursor: pointer;
10566
+ transition: background-color 0.2s ease;
10567
+ }
10568
+ .sd-layout-sider-temporary-trigger:hover {
10569
+ background: var(--sd-color-fill-2);
10570
+ }
10551
10571
 
10552
10572
  .sd-input-tag {
10553
10573
  display: inline-flex;
package/es/index.d.ts CHANGED
@@ -52,7 +52,7 @@ export { default as Descriptions, DescriptionsItem } from './descriptions';
52
52
  export type { DescData, DescLayout, DescriptionsInstance, DescriptionsItemInstance, } from './descriptions';
53
53
  export { default as Divider } from './divider';
54
54
  export { default as Drawer } from './drawer';
55
- export type { DrawerConfig, DrawerInstance, DrawerMethod, DrawerReturn } from './drawer';
55
+ export type { DrawerConfig, DrawerInstance, DrawerMethod, DrawerProps, DrawerReturn, } from './drawer';
56
56
  export { default as Dropdown, Dgroup, Doption, DropdownButton, Dsubmenu } from './dropdown';
57
57
  export type { DGroup, DOption, DropdownButtonInstance, DropdownGroupInstance, DropdownInstance, DropdownOption, DropdownOptionInstance, DropDownProps, DropdownSubmenuInstance, DSubmenu, } from './dropdown';
58
58
  export { default as Ellipsis, PerformantEllipsis } from './ellipsis';
@@ -1,12 +1,12 @@
1
- declare var __VLS_10: {}, __VLS_13: {}, __VLS_34: {}, __VLS_37: {};
1
+ declare var __VLS_10: {}, __VLS_13: {}, __VLS_36: {}, __VLS_39: {};
2
2
  type __VLS_Slots = {} & {
3
3
  prepend?: (props: typeof __VLS_10) => any;
4
4
  } & {
5
5
  prefix?: (props: typeof __VLS_13) => any;
6
6
  } & {
7
- suffix?: (props: typeof __VLS_34) => any;
7
+ suffix?: (props: typeof __VLS_36) => any;
8
8
  } & {
9
- append?: (props: typeof __VLS_37) => any;
9
+ append?: (props: typeof __VLS_39) => any;
10
10
  };
11
11
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
12
12
  visibility: {
@@ -140,6 +140,14 @@ declare const Layout: {
140
140
  type: import("vue").PropType<boolean | import("../index.ts").ScrollbarProps>;
141
141
  default: undefined;
142
142
  };
143
+ temporary: {
144
+ type: BooleanConstructor;
145
+ default: boolean;
146
+ };
147
+ drawerProps: {
148
+ type: import("vue").PropType<import("./interface").SiderTemporaryDrawerProps>;
149
+ default: undefined;
150
+ };
143
151
  }>> & Readonly<{
144
152
  onCollapse?: ((collapsed: boolean, type: import("./interface").CollapseType) => any) | undefined;
145
153
  onBreakpoint?: ((broken: boolean) => any) | undefined;
@@ -158,6 +166,8 @@ declare const Layout: {
158
166
  zeroWidthTriggerStyle: Record<string, any>;
159
167
  collapsedWidth: string | number;
160
168
  breakpoint: import("../_utils/responsive-observe.ts").SiderBreakpoint;
169
+ temporary: boolean;
170
+ drawerProps: import("./interface").SiderTemporaryDrawerProps;
161
171
  }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
162
172
  P: {};
163
173
  B: {};
@@ -210,6 +220,14 @@ declare const Layout: {
210
220
  type: import("vue").PropType<boolean | import("../index.ts").ScrollbarProps>;
211
221
  default: undefined;
212
222
  };
223
+ temporary: {
224
+ type: BooleanConstructor;
225
+ default: boolean;
226
+ };
227
+ drawerProps: {
228
+ type: import("vue").PropType<import("./interface").SiderTemporaryDrawerProps>;
229
+ default: undefined;
230
+ };
213
231
  }>> & Readonly<{
214
232
  onCollapse?: ((collapsed: boolean, type: import("./interface").CollapseType) => any) | undefined;
215
233
  onBreakpoint?: ((broken: boolean) => any) | undefined;
@@ -225,6 +243,8 @@ declare const Layout: {
225
243
  zeroWidthTriggerStyle: Record<string, any>;
226
244
  collapsedWidth: string | number;
227
245
  breakpoint: import("../_utils/responsive-observe.ts").SiderBreakpoint;
246
+ temporary: boolean;
247
+ drawerProps: import("./interface").SiderTemporaryDrawerProps;
228
248
  }>;
229
249
  __isFragment?: never;
230
250
  __isTeleport?: never;
@@ -274,6 +294,14 @@ declare const Layout: {
274
294
  type: import("vue").PropType<boolean | import("../index.ts").ScrollbarProps>;
275
295
  default: undefined;
276
296
  };
297
+ temporary: {
298
+ type: BooleanConstructor;
299
+ default: boolean;
300
+ };
301
+ drawerProps: {
302
+ type: import("vue").PropType<import("./interface").SiderTemporaryDrawerProps>;
303
+ default: undefined;
304
+ };
277
305
  }>> & Readonly<{
278
306
  onCollapse?: ((collapsed: boolean, type: import("./interface").CollapseType) => any) | undefined;
279
307
  onBreakpoint?: ((broken: boolean) => any) | undefined;
@@ -292,6 +320,8 @@ declare const Layout: {
292
320
  zeroWidthTriggerStyle: Record<string, any>;
293
321
  collapsedWidth: string | number;
294
322
  breakpoint: import("../_utils/responsive-observe.ts").SiderBreakpoint;
323
+ temporary: boolean;
324
+ drawerProps: import("./interface").SiderTemporaryDrawerProps;
295
325
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
296
326
  $slots: {
297
327
  header?: (props: {}) => any;
@@ -301,6 +331,14 @@ declare const Layout: {
301
331
  default?: (props: {}) => any;
302
332
  } & {
303
333
  trigger?: (props: {}) => any;
334
+ } & {
335
+ header?: (props: {}) => any;
336
+ } & {
337
+ default?: (props: {}) => any;
338
+ } & {
339
+ default?: (props: {}) => any;
340
+ } & {
341
+ trigger?: (props: {}) => any;
304
342
  } & {
305
343
  trigger?: (props: {}) => any;
306
344
  };
@@ -312,6 +350,6 @@ export type LayoutHeaderInstance = InstanceType<typeof _Header>;
312
350
  export type LayoutFooterInstance = InstanceType<typeof _Footer>;
313
351
  export type LayoutContentInstance = InstanceType<typeof _Content>;
314
352
  export type LayoutSiderInstance = InstanceType<typeof _Sider>;
315
- export type { CollapseType, LayoutProps, SiderProps, SiderTheme } from './interface';
353
+ export type { CollapseType, LayoutProps, SiderProps, SiderTemporaryDrawerProps, SiderTheme, } from './interface';
316
354
  export { _Content as LayoutContent, _Footer as LayoutFooter, _Header as LayoutHeader, _Sider as LayoutSider, };
317
355
  export default Layout;