@salesql/sql_components_vue3 4.0.0 → 4.2.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,15 @@
1
+ export interface DsBulkNoticeProps {
2
+ /** Already translated, counts included («All 25 on this page are selected.»). */
3
+ text: string;
4
+ /**
5
+ * The link-button's text and accessible name («Show details for all 1,234 results»).
6
+ * Empty = text only, no link.
7
+ */
8
+ actionLabel?: string;
9
+ /** Hover / focus bubble of the link («1 credit per contact · runs in the background»). Empty = none. */
10
+ tooltip?: string;
11
+ /** Glyph in the round badge; a built-in or registered icon. */
12
+ icon?: string;
13
+ /** The link opens a dialog (the bulk sheet): sets `aria-haspopup="dialog"`. */
14
+ opensDialog?: boolean;
15
+ }
@@ -0,0 +1,53 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ text: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ actionLabel: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ tooltip: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ icon: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ opensDialog: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
+ click: (...args: any[]) => void;
24
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
25
+ text: {
26
+ type: StringConstructor;
27
+ required: true;
28
+ };
29
+ actionLabel: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ };
33
+ tooltip: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ };
37
+ icon: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ opensDialog: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ }>> & Readonly<{
46
+ onClick?: ((...args: any[]) => any) | undefined;
47
+ }>, {
48
+ icon: string;
49
+ tooltip: string;
50
+ actionLabel: string;
51
+ opensDialog: boolean;
52
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
53
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as DsBulkNotice } from './DsBulkNotice.vue';
2
+ export * from './DsBulkNotice.types';
@@ -17,6 +17,8 @@ export interface DsContactCardProps {
17
17
  selectable?: boolean;
18
18
  /** v-model:selected — the checkbox, and the accent background of the card. */
19
19
  selected?: boolean;
20
+ /** Disables the checkbox while the app cannot take a selection change, e.g. during a bulk action. The open button stays enabled. */
21
+ selectDisabled?: boolean;
20
22
  /** Accessible name of the checkbox (it has no visible label), e.g. «Select Ada Lovelace». App copy. */
21
23
  selectLabel?: string;
22
24
  /** Accessible name of the open button. Optional: the visible name already names it; when set it must contain it (WCAG 2.5.3). App copy. */
@@ -29,6 +29,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
29
29
  };
30
30
  selectable: BooleanConstructor;
31
31
  selected: BooleanConstructor;
32
+ selectDisabled: BooleanConstructor;
32
33
  selectLabel: {
33
34
  type: StringConstructor;
34
35
  default: string;
@@ -67,6 +68,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
67
68
  };
68
69
  selectable: BooleanConstructor;
69
70
  selected: BooleanConstructor;
71
+ selectDisabled: BooleanConstructor;
70
72
  selectLabel: {
71
73
  type: StringConstructor;
72
74
  default: string;
@@ -93,6 +95,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
93
95
  jobTitle: string;
94
96
  openLabel: string;
95
97
  selectLabel: string;
98
+ selectDisabled: boolean;
96
99
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
97
100
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
98
101
  export default _default;
@@ -28,4 +28,15 @@ export interface DsContactGroupsProps {
28
28
  copiedLabel?: string;
29
29
  correctLabel?: string;
30
30
  incorrectLabel?: string;
31
+ /** Rows shown per band before a «+N more» toggle opens that band. 0 (default) shows all. */
32
+ collapseAfter?: number;
33
+ /** The toggle's closed copy; `{count}` becomes the hidden rows. Default «+{count} more». */
34
+ moreLabel?: string;
35
+ /** The toggle's open copy. Default «Show less». */
36
+ lessLabel?: string;
37
+ /**
38
+ * `v-model:expanded`: the whole row's «+N more» state. Any toggle opens or closes every
39
+ * band, as on the board. Without v-model the component keeps it locally (closed).
40
+ */
41
+ expanded?: boolean;
31
42
  }
@@ -57,10 +57,26 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
57
57
  type: StringConstructor;
58
58
  default: undefined;
59
59
  };
60
+ collapseAfter: {
61
+ type: NumberConstructor;
62
+ default: number;
63
+ };
64
+ moreLabel: {
65
+ type: StringConstructor;
66
+ default: undefined;
67
+ };
68
+ lessLabel: {
69
+ type: StringConstructor;
70
+ default: undefined;
71
+ };
72
+ expanded: {
73
+ type: PropType<boolean>;
74
+ };
60
75
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
61
76
  copy: (...args: any[]) => void;
62
77
  correct: (...args: any[]) => void;
63
78
  incorrect: (...args: any[]) => void;
79
+ "update:expanded": (value: boolean) => void;
64
80
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
65
81
  groups: {
66
82
  type: PropType<DsContactGroup[]>;
@@ -118,21 +134,40 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
118
134
  type: StringConstructor;
119
135
  default: undefined;
120
136
  };
137
+ collapseAfter: {
138
+ type: NumberConstructor;
139
+ default: number;
140
+ };
141
+ moreLabel: {
142
+ type: StringConstructor;
143
+ default: undefined;
144
+ };
145
+ lessLabel: {
146
+ type: StringConstructor;
147
+ default: undefined;
148
+ };
149
+ expanded: {
150
+ type: PropType<boolean>;
151
+ };
121
152
  }>> & Readonly<{
122
153
  onCopy?: ((...args: any[]) => any) | undefined;
123
154
  onCorrect?: ((...args: any[]) => any) | undefined;
124
155
  onIncorrect?: ((...args: any[]) => any) | undefined;
156
+ "onUpdate:expanded"?: ((value: boolean) => any) | undefined;
125
157
  }>, {
126
158
  showRate: boolean;
127
159
  copyLabel: string;
128
160
  copiedLabel: string;
129
161
  correctLabel: string;
130
162
  incorrectLabel: string;
163
+ moreLabel: string;
131
164
  maskedLabel: string;
132
165
  verifyingLabel: string;
133
166
  verifyingTooltip: string;
134
167
  invalidLabel: string;
135
168
  invalidTooltip: string;
169
+ collapseAfter: number;
170
+ lessLabel: string;
136
171
  bordered: boolean;
137
172
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
138
173
  export default _default;
@@ -37,4 +37,15 @@ export interface DsContactListProps {
37
37
  copiedLabel?: string;
38
38
  correctLabel?: string;
39
39
  incorrectLabel?: string;
40
+ /** Rows shown per band before a «+N more» toggle opens that band. 0 (default) shows all. */
41
+ collapseAfter?: number;
42
+ /** The toggle's closed copy; `{count}` becomes the hidden rows. Default «+{count} more». */
43
+ moreLabel?: string;
44
+ /** The toggle's open copy. Default «Show less». */
45
+ lessLabel?: string;
46
+ /**
47
+ * `v-model:expanded`: when set, every band follows it and a toggle emits
48
+ * `update:expanded` instead of opening its band alone. Unset (default) = per band.
49
+ */
50
+ expanded?: boolean;
40
51
  }
@@ -81,10 +81,27 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
81
81
  type: StringConstructor;
82
82
  default: string;
83
83
  };
84
+ collapseAfter: {
85
+ type: NumberConstructor;
86
+ default: number;
87
+ };
88
+ moreLabel: {
89
+ type: StringConstructor;
90
+ default: string;
91
+ };
92
+ lessLabel: {
93
+ type: StringConstructor;
94
+ default: string;
95
+ };
96
+ expanded: {
97
+ type: BooleanConstructor;
98
+ default: undefined;
99
+ };
84
100
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
85
101
  copy: (...args: any[]) => void;
86
102
  correct: (...args: any[]) => void;
87
103
  incorrect: (...args: any[]) => void;
104
+ "update:expanded": (...args: any[]) => void;
88
105
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
89
106
  items: {
90
107
  type: PropType<DsContactItem[]>;
@@ -162,19 +179,38 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
162
179
  type: StringConstructor;
163
180
  default: string;
164
181
  };
182
+ collapseAfter: {
183
+ type: NumberConstructor;
184
+ default: number;
185
+ };
186
+ moreLabel: {
187
+ type: StringConstructor;
188
+ default: string;
189
+ };
190
+ lessLabel: {
191
+ type: StringConstructor;
192
+ default: string;
193
+ };
194
+ expanded: {
195
+ type: BooleanConstructor;
196
+ default: undefined;
197
+ };
165
198
  }>> & Readonly<{
166
199
  onCopy?: ((...args: any[]) => any) | undefined;
167
200
  onCorrect?: ((...args: any[]) => any) | undefined;
168
201
  onIncorrect?: ((...args: any[]) => any) | undefined;
202
+ "onUpdate:expanded"?: ((...args: any[]) => any) | undefined;
169
203
  }>, {
170
204
  type: "" | DsContactType;
171
205
  title: string;
206
+ expanded: boolean;
172
207
  showRate: boolean;
173
208
  copyLabel: string;
174
209
  copiedLabel: string;
175
210
  correctLabel: string;
176
211
  incorrectLabel: string;
177
212
  emptyLabel: string;
213
+ moreLabel: string;
178
214
  items: DsContactItem[];
179
215
  maskedLabel: string;
180
216
  sections: DsContactSection[];
@@ -183,6 +219,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
183
219
  invalidLabel: string;
184
220
  invalidTooltip: string;
185
221
  listLabelledby: string;
222
+ collapseAfter: number;
223
+ lessLabel: string;
186
224
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
187
225
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
188
226
  export default _default;
@@ -0,0 +1,8 @@
1
+ export interface DsListNoteProps {
2
+ /** Already translated, counts included. */
3
+ text: string;
4
+ /** Decorative glyph before the text; a built-in or registered icon. Empty = none. */
5
+ icon?: string;
6
+ /** Announce the note and its changes through a polite live region. Off by default. */
7
+ live?: boolean;
8
+ }
@@ -0,0 +1,31 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ text: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ icon: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ live: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
+ text: {
16
+ type: StringConstructor;
17
+ required: true;
18
+ };
19
+ icon: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ live: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ }>> & Readonly<{}>, {
28
+ icon: string;
29
+ live: boolean;
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
31
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as DsListNote } from './DsListNote.vue';
2
+ export * from './DsListNote.types';
@@ -0,0 +1,16 @@
1
+ export declare const DS_ROW_STATUS_STATES: {
2
+ readonly QUEUED: "queued";
3
+ readonly BUSY: "busy";
4
+ readonly PAUSED: "paused";
5
+ };
6
+ export type DsRowStatusState = (typeof DS_ROW_STATUS_STATES)[keyof typeof DS_ROW_STATUS_STATES];
7
+ export declare const DS_ROW_STATUS_ICONS: Record<DsRowStatusState, string>;
8
+ export interface DsRowStatusProps {
9
+ state: DsRowStatusState;
10
+ /** Already translated by the app («Queued», «Revealing…», «Paused»). */
11
+ label: string;
12
+ /** Bubble on hover and keyboard focus (a tab stop in every state). Empty = none, no tab stop. */
13
+ tooltip?: string;
14
+ /** Live-region text naming the row («Revealing… Jane Doe»). Empty = the label. Queued stays silent. */
15
+ announcement?: string;
16
+ }
@@ -0,0 +1,41 @@
1
+ import { type PropType } from 'vue';
2
+ import { type DsRowStatusState } from './DsRowStatus.types';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ state: {
5
+ type: PropType<DsRowStatusState>;
6
+ required: true;
7
+ };
8
+ label: {
9
+ type: StringConstructor;
10
+ required: true;
11
+ };
12
+ tooltip: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ announcement: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
+ state: {
22
+ type: PropType<DsRowStatusState>;
23
+ required: true;
24
+ };
25
+ label: {
26
+ type: StringConstructor;
27
+ required: true;
28
+ };
29
+ tooltip: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ };
33
+ announcement: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ };
37
+ }>> & Readonly<{}>, {
38
+ tooltip: string;
39
+ announcement: string;
40
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
41
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as DsRowStatus } from './DsRowStatus.vue';
2
+ export * from './DsRowStatus.types';