@salesql/sql_components_vue3 3.29.0 → 3.30.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.
@@ -0,0 +1,19 @@
1
+ export interface DsListRowProps {
2
+ /** The row's text. Also the content of its tooltip, which opens only when the name is truncated. */
3
+ label: string;
4
+ /** Material Symbols name of the leading glyph. Empty = no icon. */
5
+ icon?: string;
6
+ /** Colour of the icon (any CSS colour, e.g. the folder's). Default: the DS slate. It does not change on hover or when selected. */
7
+ iconColor?: string;
8
+ /** The current item: lavender fill and 1px accent border. Wins over hover. */
9
+ selected?: boolean;
10
+ /** Keep the `actions` slot visible regardless of hover/focus, e.g. while the menu it opens is open. */
11
+ actionsVisible?: boolean;
12
+ /** Side of the row where the name tooltip opens. */
13
+ tooltipPlacement?: 'top' | 'bottom' | 'left' | 'right';
14
+ }
15
+ /** Scope of the `trailing` slot. */
16
+ export interface DsListRowTrailingSlotProps {
17
+ /** The `actions` slot is on screen: yield the place to it (e.g. a favorite badge the toggle replaces). */
18
+ actionsShown: boolean;
19
+ }
@@ -0,0 +1,78 @@
1
+ import { type PropType } from 'vue';
2
+ import { type DsTooltipPlacement } from '../../ui/DsTooltip';
3
+ declare var __VLS_5: {
4
+ actionsShown: boolean;
5
+ }, __VLS_7: {};
6
+ type __VLS_Slots = {} & {
7
+ trailing?: (props: typeof __VLS_5) => any;
8
+ } & {
9
+ actions?: (props: typeof __VLS_7) => any;
10
+ };
11
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
12
+ label: {
13
+ type: StringConstructor;
14
+ required: true;
15
+ };
16
+ icon: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ iconColor: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ selected: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
28
+ actionsVisible: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ tooltipPlacement: {
33
+ type: PropType<DsTooltipPlacement>;
34
+ default: "bottom";
35
+ };
36
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
37
+ select: (...args: any[]) => void;
38
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
39
+ label: {
40
+ type: StringConstructor;
41
+ required: true;
42
+ };
43
+ icon: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ iconColor: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ selected: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ actionsVisible: {
56
+ type: BooleanConstructor;
57
+ default: boolean;
58
+ };
59
+ tooltipPlacement: {
60
+ type: PropType<DsTooltipPlacement>;
61
+ default: "bottom";
62
+ };
63
+ }>> & Readonly<{
64
+ onSelect?: ((...args: any[]) => any) | undefined;
65
+ }>, {
66
+ selected: boolean;
67
+ icon: string;
68
+ iconColor: string;
69
+ actionsVisible: boolean;
70
+ tooltipPlacement: DsTooltipPlacement;
71
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
72
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
73
+ export default _default;
74
+ type __VLS_WithSlots<T, S> = T & {
75
+ new (): {
76
+ $slots: S;
77
+ };
78
+ };
@@ -0,0 +1,2 @@
1
+ export { default as DsListRow } from './DsListRow.vue';
2
+ export * from './DsListRow.types';
@@ -0,0 +1,25 @@
1
+ /** Which fill the hover takes: `mid` on a list row, `tint` on a page header. */
2
+ export declare const DS_LIST_ROW_ACTION_SURFACES: {
3
+ readonly MID: "mid";
4
+ readonly TINT: "tint";
5
+ };
6
+ export type DsListRowActionSurface = (typeof DS_LIST_ROW_ACTION_SURFACES)[keyof typeof DS_LIST_ROW_ACTION_SURFACES];
7
+ /** Glyph size in px: 18 on a row, 20 on a page header. */
8
+ export declare const DS_LIST_ROW_ACTION_ICON_SIZES: {
9
+ readonly ROW: 18;
10
+ readonly HEADER: 20;
11
+ };
12
+ export type DsListRowActionIconSize = (typeof DS_LIST_ROW_ACTION_ICON_SIZES)[keyof typeof DS_LIST_ROW_ACTION_ICON_SIZES];
13
+ export interface DsListRowActionProps {
14
+ /** Material Symbols name of the glyph. */
15
+ icon: string;
16
+ /** Accessible name (required: the button has no text). */
17
+ label: string;
18
+ /** Filled glyph (default) or the outline, e.g. an unfavorited star. */
19
+ filled?: boolean;
20
+ /** Held in its hover look, e.g. while the menu it opens is open. */
21
+ active?: boolean;
22
+ iconSize?: DsListRowActionIconSize;
23
+ surface?: DsListRowActionSurface;
24
+ disabled?: boolean;
25
+ }
@@ -0,0 +1,68 @@
1
+ import type { PropType } from 'vue';
2
+ import { type DsListRowActionIconSize, type DsListRowActionSurface } from './DsListRowAction.types';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ icon: {
5
+ type: StringConstructor;
6
+ required: true;
7
+ };
8
+ label: {
9
+ type: StringConstructor;
10
+ required: true;
11
+ };
12
+ filled: {
13
+ type: BooleanConstructor;
14
+ default: boolean;
15
+ };
16
+ active: {
17
+ type: BooleanConstructor;
18
+ default: boolean;
19
+ };
20
+ iconSize: {
21
+ type: PropType<DsListRowActionIconSize>;
22
+ default: 18;
23
+ };
24
+ surface: {
25
+ type: PropType<DsListRowActionSurface>;
26
+ default: "mid";
27
+ };
28
+ disabled: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
33
+ icon: {
34
+ type: StringConstructor;
35
+ required: true;
36
+ };
37
+ label: {
38
+ type: StringConstructor;
39
+ required: true;
40
+ };
41
+ filled: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ active: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ iconSize: {
50
+ type: PropType<DsListRowActionIconSize>;
51
+ default: 18;
52
+ };
53
+ surface: {
54
+ type: PropType<DsListRowActionSurface>;
55
+ default: "mid";
56
+ };
57
+ disabled: {
58
+ type: BooleanConstructor;
59
+ default: boolean;
60
+ };
61
+ }>> & Readonly<{}>, {
62
+ disabled: boolean;
63
+ iconSize: DsListRowActionIconSize;
64
+ filled: boolean;
65
+ active: boolean;
66
+ surface: DsListRowActionSurface;
67
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
68
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as DsListRowAction } from './DsListRowAction.vue';
2
+ export * from './DsListRowAction.types';
@@ -0,0 +1,41 @@
1
+ export interface DsOrganizerDialogSubmitPayload {
2
+ /** The name, trimmed. */
3
+ name: string;
4
+ color: string;
5
+ }
6
+ export interface DsOrganizerDialogProps {
7
+ open?: boolean;
8
+ /** «New folder» / «Edit folder». */
9
+ title: string;
10
+ name?: string;
11
+ /** The selected swatch (one of `colors`). Empty = none selected. */
12
+ color?: string;
13
+ /** Swatches to pick from (hex strings), laid out 8 per row. The consumer owns the palette. */
14
+ colors: readonly string[];
15
+ /** Label of the name field («Folder name»). */
16
+ nameLabel: string;
17
+ /** Label of the palette («Color»). */
18
+ colorLabel: string;
19
+ namePlaceholder?: string;
20
+ /** Submit button label («Create folder» / «Save changes»). */
21
+ submitLabel: string;
22
+ cancelLabel: string;
23
+ /** Accessible name of the dialog's X. */
24
+ closeLabel: string;
25
+ /** Submitting: the button shows its spinner and every submit path is blocked. */
26
+ loading?: boolean;
27
+ /** Shown under the field after a submit attempt with an empty name. */
28
+ errorMissingName?: string;
29
+ /** Shown after a submit attempt when the trimmed name is longer than `maxNameLength`. */
30
+ errorTooLongName?: string;
31
+ /** Also the native `maxlength` of the field. */
32
+ maxNameLength?: number;
33
+ /** An error from outside (the back's «already exists»); shown under the field when the dialog has none of its own. */
34
+ errorMessage?: string;
35
+ /** Edit mode: the name the dialog opened with. Set = submit stays disabled until the name or colour changes. */
36
+ originalName?: string;
37
+ /** Edit mode: the colour the dialog opened with, compared case-insensitively. Needs `originalName`. */
38
+ originalColor?: string;
39
+ /** The `{n}/{max}` counter shows from `maxNameLength - counterThreshold` characters on. Default 19 (from 109/128). */
40
+ counterThreshold?: number;
41
+ }
@@ -0,0 +1,182 @@
1
+ import { type PropType } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ open: {
4
+ type: BooleanConstructor;
5
+ default: boolean;
6
+ };
7
+ title: {
8
+ type: StringConstructor;
9
+ required: true;
10
+ };
11
+ name: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ color: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ colors: {
20
+ type: PropType<readonly string[]>;
21
+ required: true;
22
+ };
23
+ nameLabel: {
24
+ type: StringConstructor;
25
+ required: true;
26
+ };
27
+ colorLabel: {
28
+ type: StringConstructor;
29
+ required: true;
30
+ };
31
+ namePlaceholder: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ submitLabel: {
36
+ type: StringConstructor;
37
+ required: true;
38
+ };
39
+ cancelLabel: {
40
+ type: StringConstructor;
41
+ required: true;
42
+ };
43
+ closeLabel: {
44
+ type: StringConstructor;
45
+ required: true;
46
+ };
47
+ loading: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ errorMissingName: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ errorTooLongName: {
56
+ type: StringConstructor;
57
+ default: string;
58
+ };
59
+ maxNameLength: {
60
+ type: NumberConstructor;
61
+ default: number;
62
+ };
63
+ errorMessage: {
64
+ type: StringConstructor;
65
+ default: string;
66
+ };
67
+ originalName: {
68
+ type: StringConstructor;
69
+ default: undefined;
70
+ };
71
+ originalColor: {
72
+ type: StringConstructor;
73
+ default: undefined;
74
+ };
75
+ counterThreshold: {
76
+ type: NumberConstructor;
77
+ default: number;
78
+ };
79
+ }>, {
80
+ focus: () => Promise<void> | undefined;
81
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
82
+ close: (...args: any[]) => void;
83
+ submit: (...args: any[]) => void;
84
+ "update:name": (...args: any[]) => void;
85
+ "update:color": (...args: any[]) => void;
86
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
87
+ open: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
91
+ title: {
92
+ type: StringConstructor;
93
+ required: true;
94
+ };
95
+ name: {
96
+ type: StringConstructor;
97
+ default: string;
98
+ };
99
+ color: {
100
+ type: StringConstructor;
101
+ default: string;
102
+ };
103
+ colors: {
104
+ type: PropType<readonly string[]>;
105
+ required: true;
106
+ };
107
+ nameLabel: {
108
+ type: StringConstructor;
109
+ required: true;
110
+ };
111
+ colorLabel: {
112
+ type: StringConstructor;
113
+ required: true;
114
+ };
115
+ namePlaceholder: {
116
+ type: StringConstructor;
117
+ default: string;
118
+ };
119
+ submitLabel: {
120
+ type: StringConstructor;
121
+ required: true;
122
+ };
123
+ cancelLabel: {
124
+ type: StringConstructor;
125
+ required: true;
126
+ };
127
+ closeLabel: {
128
+ type: StringConstructor;
129
+ required: true;
130
+ };
131
+ loading: {
132
+ type: BooleanConstructor;
133
+ default: boolean;
134
+ };
135
+ errorMissingName: {
136
+ type: StringConstructor;
137
+ default: string;
138
+ };
139
+ errorTooLongName: {
140
+ type: StringConstructor;
141
+ default: string;
142
+ };
143
+ maxNameLength: {
144
+ type: NumberConstructor;
145
+ default: number;
146
+ };
147
+ errorMessage: {
148
+ type: StringConstructor;
149
+ default: string;
150
+ };
151
+ originalName: {
152
+ type: StringConstructor;
153
+ default: undefined;
154
+ };
155
+ originalColor: {
156
+ type: StringConstructor;
157
+ default: undefined;
158
+ };
159
+ counterThreshold: {
160
+ type: NumberConstructor;
161
+ default: number;
162
+ };
163
+ }>> & Readonly<{
164
+ onClose?: ((...args: any[]) => any) | undefined;
165
+ onSubmit?: ((...args: any[]) => any) | undefined;
166
+ "onUpdate:name"?: ((...args: any[]) => any) | undefined;
167
+ "onUpdate:color"?: ((...args: any[]) => any) | undefined;
168
+ }>, {
169
+ open: boolean;
170
+ loading: boolean;
171
+ color: string;
172
+ name: string;
173
+ errorMessage: string;
174
+ namePlaceholder: string;
175
+ errorMissingName: string;
176
+ errorTooLongName: string;
177
+ maxNameLength: number;
178
+ originalName: string;
179
+ originalColor: string;
180
+ counterThreshold: number;
181
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
182
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as DsOrganizerDialog } from './DsOrganizerDialog.vue';
2
+ export * from './DsOrganizerDialog.types';
@@ -1,6 +1,11 @@
1
1
  import type { DsPickerOption } from '../../constants/pickers';
2
2
  export interface DsPickerRowActionsProps {
3
- /** The row's option; it travels back as the payload of `edit` / `delete` / `open`. Its `deleteDisabled` blocks Delete and shows why; `deleting` keeps the menu open in loading. */
3
+ /**
4
+ * The row's option; it travels back as the payload of `edit` / `favorite` / `copy-link` /
5
+ * `delete` / `open`. Its `deleteDisabled` blocks Delete and shows why (an empty `hint` with no
6
+ * `tooltip` blocks it without a word, for the moment the app is still checking); `deleting`
7
+ * keeps the menu open in loading.
8
+ */
4
9
  option: DsPickerOption;
5
10
  /** Accessible name of the ⋮ button. */
6
11
  actionsLabel?: string;
@@ -12,4 +17,28 @@ export interface DsPickerRowActionsProps {
12
17
  deleteConfirmActionLabel?: string;
13
18
  /** Show the Edit item. Off = Delete only. */
14
19
  showEdit?: boolean;
20
+ /** Show the Favorite item, between Edit and Copy link. The app decides the toggle: the item only emits `favorite`. */
21
+ showFavorite?: boolean;
22
+ /** The row is a favorite: the item reads `unfavoriteLabel` and its star is filled. */
23
+ favorited?: boolean;
24
+ favoriteLabel?: string;
25
+ unfavoriteLabel?: string;
26
+ /** Show the Copy link item, after Favorite. */
27
+ showCopyLink?: boolean;
28
+ copyLinkLabel?: string;
29
+ /** Width of the menu panel (any CSS length). Default `150px`. */
30
+ menuWidth?: string;
31
+ }
32
+ /** Scope of the `trigger` slot: replaces the ⋮ button (a list row, a page header). */
33
+ export interface DsPickerRowActionsTriggerSlotProps {
34
+ /** The menu is open. */
35
+ open: boolean;
36
+ /** `actionsLabel`, for the trigger's accessible name. */
37
+ label: string;
38
+ /** `aria-haspopup`, `aria-expanded` and `aria-label` of a menu button: `v-bind` them on the custom trigger. */
39
+ triggerAttrs: {
40
+ 'aria-haspopup': 'menu';
41
+ 'aria-expanded': boolean;
42
+ 'aria-label': string;
43
+ };
15
44
  }
@@ -1,6 +1,6 @@
1
1
  import { type PropType } from 'vue';
2
2
  import type { DsPickerOption } from '../../constants/pickers';
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  option: {
5
5
  type: PropType<DsPickerOption>;
6
6
  required: true;
@@ -29,10 +29,43 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
29
29
  type: BooleanConstructor;
30
30
  default: boolean;
31
31
  };
32
+ showFavorite: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ /** The row is a favorite: the Favorite item reads `unfavoriteLabel` with a filled star. */
37
+ favorited: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ };
41
+ favoriteLabel: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ unfavoriteLabel: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ showCopyLink: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ copyLinkLabel: {
54
+ type: StringConstructor;
55
+ default: string;
56
+ };
57
+ /** Width of the menu panel (any CSS length). */
58
+ menuWidth: {
59
+ type: StringConstructor;
60
+ default: string;
61
+ };
32
62
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
63
+ close: (...args: any[]) => void;
33
64
  edit: (...args: any[]) => void;
34
65
  delete: (...args: any[]) => void;
35
66
  open: (...args: any[]) => void;
67
+ favorite: (...args: any[]) => void;
68
+ "copy-link": (...args: any[]) => void;
36
69
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
37
70
  option: {
38
71
  type: PropType<DsPickerOption>;
@@ -62,10 +95,43 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
62
95
  type: BooleanConstructor;
63
96
  default: boolean;
64
97
  };
98
+ showFavorite: {
99
+ type: BooleanConstructor;
100
+ default: boolean;
101
+ };
102
+ /** The row is a favorite: the Favorite item reads `unfavoriteLabel` with a filled star. */
103
+ favorited: {
104
+ type: BooleanConstructor;
105
+ default: boolean;
106
+ };
107
+ favoriteLabel: {
108
+ type: StringConstructor;
109
+ default: string;
110
+ };
111
+ unfavoriteLabel: {
112
+ type: StringConstructor;
113
+ default: string;
114
+ };
115
+ showCopyLink: {
116
+ type: BooleanConstructor;
117
+ default: boolean;
118
+ };
119
+ copyLinkLabel: {
120
+ type: StringConstructor;
121
+ default: string;
122
+ };
123
+ /** Width of the menu panel (any CSS length). */
124
+ menuWidth: {
125
+ type: StringConstructor;
126
+ default: string;
127
+ };
65
128
  }>> & Readonly<{
129
+ onClose?: ((...args: any[]) => any) | undefined;
66
130
  onEdit?: ((...args: any[]) => any) | undefined;
67
131
  onDelete?: ((...args: any[]) => any) | undefined;
68
132
  onOpen?: ((...args: any[]) => any) | undefined;
133
+ onFavorite?: ((...args: any[]) => any) | undefined;
134
+ "onCopy-link"?: ((...args: any[]) => any) | undefined;
69
135
  }>, {
70
136
  showEdit: boolean;
71
137
  editLabel: string;
@@ -73,5 +139,27 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
73
139
  deleteLabel: string;
74
140
  deleteConfirmLabel: string;
75
141
  deleteConfirmActionLabel: string;
76
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
142
+ showFavorite: boolean;
143
+ favorited: boolean;
144
+ favoriteLabel: string;
145
+ unfavoriteLabel: string;
146
+ showCopyLink: boolean;
147
+ copyLinkLabel: string;
148
+ menuWidth: string;
149
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
150
+ trigger?: (props: {
151
+ open: boolean;
152
+ label: string;
153
+ triggerAttrs: {
154
+ 'aria-haspopup': "menu";
155
+ 'aria-expanded': boolean;
156
+ 'aria-label': string;
157
+ };
158
+ }) => any;
159
+ }>;
77
160
  export default _default;
161
+ type __VLS_WithSlots<T, S> = T & {
162
+ new (): {
163
+ $slots: S;
164
+ };
165
+ };
@@ -324,6 +324,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
324
324
  editLabel: string;
325
325
  emptyLabel: string;
326
326
  searchPlaceholder: string;
327
+ tooltipPlacement: DsTooltipPlacement;
327
328
  colors: readonly string[];
328
329
  createLabel: string;
329
330
  setColorLabel: string;
@@ -334,7 +335,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
334
335
  deleteLabel: string;
335
336
  createFormTitle: string;
336
337
  editFormTitle: string;
337
- tooltipPlacement: DsTooltipPlacement;
338
338
  align: DsPickerAlign;
339
339
  rowActions: boolean | DsPickerRowActionsMode;
340
340
  defaultColor: string;
@@ -107,6 +107,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
107
107
  disabled: boolean;
108
108
  loading: boolean;
109
109
  placeholder: string;
110
+ clearLabel: string;
110
111
  multiple: boolean;
111
112
  selectType: DsSelectType;
112
113
  showCheckbox: boolean;
@@ -114,7 +115,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
114
115
  remote: boolean;
115
116
  searchLabel: string;
116
117
  searchPlaceholder: string;
117
- clearLabel: string;
118
118
  emptyText: string;
119
119
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
120
120
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -0,0 +1,24 @@
1
+ export declare const DS_SIDE_PANEL_DEFAULT_WIDTH = 248;
2
+ export declare const DS_SIDE_PANEL_DEFAULT_RAIL_WIDTH = 52;
3
+ export interface DsSidePanelProps {
4
+ /** Landmark name of the `<aside>` (required). */
5
+ label: string;
6
+ /** Header title, e.g. «Lists» (required). */
7
+ title: string;
8
+ /** Pinned open (`v-model:pinned`). */
9
+ pinned?: boolean;
10
+ /** Width of the pinned panel and of the peek. A number is px; a string is any CSS length. Default 248. */
11
+ width?: number | string;
12
+ /** Width of the rail, which is also the footprint while unpinned. Default 52. */
13
+ railWidth?: number | string;
14
+ /** Accessible name of the pin button while pinned («Collapse»). */
15
+ collapseLabel: string;
16
+ /** Accessible name of the rail's expand button, and of the pin button while peeking («Keep open»). */
17
+ expandLabel: string;
18
+ /** Vertical text of the rail. Empty = none. */
19
+ railLabel?: string;
20
+ /** Material Symbols name of the icon below the rail label. Empty = none. */
21
+ railIcon?: string;
22
+ /** Keeps the peek open after the pointer leaves, e.g. while a teleported menu opened from inside is up. */
23
+ held?: boolean;
24
+ }