@salesql/sql_components_vue3 3.29.1 → 3.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/composables/shadowDom.d.ts +2 -0
- package/dist/composables/useOrganizerFields.d.ts +34 -0
- package/dist/constants/events.d.ts +28 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +14 -0
- package/dist/index.es.js +5225 -3847
- package/dist/index.es.js.map +1 -1
- package/dist/sql_components_vue3.css +1 -1
- package/dist/ui/DsAccountMenu/DsAccountMenu.types.d.ts +94 -0
- package/dist/ui/DsAccountMenu/DsAccountMenu.vue.d.ts +136 -0
- package/dist/ui/DsAccountMenu/index.d.ts +2 -0
- package/dist/ui/DsAccountMenu/providerLogos.d.ts +10 -0
- package/dist/ui/DsInput/DsInput.vue.d.ts +32 -0
- package/dist/ui/DsListRow/DsListRow.types.d.ts +19 -0
- package/dist/ui/DsListRow/DsListRow.vue.d.ts +78 -0
- package/dist/ui/DsListRow/index.d.ts +2 -0
- package/dist/ui/DsListRowAction/DsListRowAction.types.d.ts +25 -0
- package/dist/ui/DsListRowAction/DsListRowAction.vue.d.ts +68 -0
- package/dist/ui/DsListRowAction/index.d.ts +2 -0
- package/dist/ui/DsOrganizerDialog/DsOrganizerDialog.types.d.ts +41 -0
- package/dist/ui/DsOrganizerDialog/DsOrganizerDialog.vue.d.ts +182 -0
- package/dist/ui/DsOrganizerDialog/index.d.ts +2 -0
- package/dist/ui/DsPanelHeader/DsPanelHeader.types.d.ts +3 -3
- package/dist/ui/DsPanelHeader/DsPanelHeader.vue.d.ts +18 -7
- package/dist/ui/DsPanelHeader/panelHeaderContext.d.ts +5 -0
- package/dist/ui/DsPickerRowActions/DsPickerRowActions.types.d.ts +30 -1
- package/dist/ui/DsPickerRowActions/DsPickerRowActions.vue.d.ts +90 -2
- package/dist/ui/DsSavedButton/DsSavedButton.vue.d.ts +1 -1
- package/dist/ui/DsSelect/DsSelect.vue.d.ts +1 -1
- package/dist/ui/DsSidePanel/DsSidePanel.types.d.ts +24 -0
- package/dist/ui/DsSidePanel/DsSidePanel.vue.d.ts +109 -0
- package/dist/ui/DsSidePanel/index.d.ts +2 -0
- package/llms-full.txt +414 -41
- package/llms.txt +7 -1
- package/package.json +1 -1
- package/src/icons/manifest.json +30 -0
|
@@ -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;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export interface DsPanelHeaderProps {
|
|
2
2
|
/** Accessible name of the logo (e.g. «SalesQL»). Empty = decorative. App copy. */
|
|
3
3
|
logoLabel?: string;
|
|
4
|
-
/** «Open dashboard»: the button's
|
|
4
|
+
/** «Open SalesQL dashboard»: the icon-only button's aria-label (and tooltip by default). */
|
|
5
5
|
openLabel: string;
|
|
6
|
-
/** «
|
|
7
|
-
|
|
6
|
+
/** «Open SalesQL»: a shorter tooltip than the aria-label. Empty = `openLabel`. */
|
|
7
|
+
openTooltip?: string;
|
|
8
8
|
}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare var __VLS_5: {}, __VLS_23: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
usage?: (props: typeof __VLS_5) => any;
|
|
4
|
+
} & {
|
|
5
|
+
account?: (props: typeof __VLS_23) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
8
|
logoLabel: {
|
|
3
9
|
type: StringConstructor;
|
|
4
10
|
default: string;
|
|
@@ -7,13 +13,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7
13
|
type: StringConstructor;
|
|
8
14
|
required: true;
|
|
9
15
|
};
|
|
10
|
-
|
|
16
|
+
openTooltip: {
|
|
11
17
|
type: StringConstructor;
|
|
12
|
-
|
|
18
|
+
default: string;
|
|
13
19
|
};
|
|
14
20
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
21
|
open: (...args: any[]) => void;
|
|
16
|
-
minimize: (...args: any[]) => void;
|
|
17
22
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
23
|
logoLabel: {
|
|
19
24
|
type: StringConstructor;
|
|
@@ -23,14 +28,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
23
28
|
type: StringConstructor;
|
|
24
29
|
required: true;
|
|
25
30
|
};
|
|
26
|
-
|
|
31
|
+
openTooltip: {
|
|
27
32
|
type: StringConstructor;
|
|
28
|
-
|
|
33
|
+
default: string;
|
|
29
34
|
};
|
|
30
35
|
}>> & Readonly<{
|
|
31
36
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
32
|
-
onMinimize?: ((...args: any[]) => any) | undefined;
|
|
33
37
|
}>, {
|
|
34
38
|
logoLabel: string;
|
|
39
|
+
openTooltip: string;
|
|
35
40
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
41
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
36
42
|
export default _default;
|
|
43
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import type { DsPickerOption } from '../../constants/pickers';
|
|
2
2
|
export interface DsPickerRowActionsProps {
|
|
3
|
-
/**
|
|
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
|
-
|
|
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
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
'header-actions'?: (props: typeof __VLS_1) => any;
|
|
4
|
+
} & {
|
|
5
|
+
default?: (props: typeof __VLS_3) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
label: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
title: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
pinned: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
width: {
|
|
21
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
22
|
+
default: number;
|
|
23
|
+
};
|
|
24
|
+
railWidth: {
|
|
25
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
26
|
+
default: number;
|
|
27
|
+
};
|
|
28
|
+
collapseLabel: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
expandLabel: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
railLabel: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
railIcon: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
held: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
49
|
+
"update:pinned": (...args: any[]) => void;
|
|
50
|
+
"peek-change": (...args: any[]) => void;
|
|
51
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
+
label: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
required: true;
|
|
55
|
+
};
|
|
56
|
+
title: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
required: true;
|
|
59
|
+
};
|
|
60
|
+
pinned: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
width: {
|
|
65
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
66
|
+
default: number;
|
|
67
|
+
};
|
|
68
|
+
railWidth: {
|
|
69
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
70
|
+
default: number;
|
|
71
|
+
};
|
|
72
|
+
collapseLabel: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
required: true;
|
|
75
|
+
};
|
|
76
|
+
expandLabel: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
required: true;
|
|
79
|
+
};
|
|
80
|
+
railLabel: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
railIcon: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
held: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
}>> & Readonly<{
|
|
93
|
+
"onUpdate:pinned"?: ((...args: any[]) => any) | undefined;
|
|
94
|
+
"onPeek-change"?: ((...args: any[]) => any) | undefined;
|
|
95
|
+
}>, {
|
|
96
|
+
width: string | number;
|
|
97
|
+
pinned: boolean;
|
|
98
|
+
railWidth: string | number;
|
|
99
|
+
railLabel: string;
|
|
100
|
+
railIcon: string;
|
|
101
|
+
held: boolean;
|
|
102
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
103
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
104
|
+
export default _default;
|
|
105
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
106
|
+
new (): {
|
|
107
|
+
$slots: S;
|
|
108
|
+
};
|
|
109
|
+
};
|