@salesql/sql_components_vue3 3.36.0 → 4.0.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 (43) hide show
  1. package/dist/composables/useFocusHandoff.d.ts +11 -0
  2. package/dist/constants/events.d.ts +4 -0
  3. package/dist/index.cjs +1 -1
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.ts +9 -3
  6. package/dist/index.es.js +5289 -4691
  7. package/dist/index.es.js.map +1 -1
  8. package/dist/sql_components_vue3.css +1 -1
  9. package/dist/ui/DsButton/DsButton.vue.d.ts +3 -0
  10. package/dist/ui/DsContactList/DsContactList.types.d.ts +2 -0
  11. package/dist/ui/DsContactList/DsContactList.vue.d.ts +9 -0
  12. package/dist/ui/DsHighlightText/DsHighlightText.types.d.ts +10 -0
  13. package/dist/ui/DsHighlightText/DsHighlightText.vue.d.ts +23 -0
  14. package/dist/ui/DsHighlightText/index.d.ts +3 -0
  15. package/dist/ui/DsHighlightText/splitHighlights.d.ts +6 -0
  16. package/dist/ui/DsInput/DsInput.vue.d.ts +1 -1
  17. package/dist/ui/DsListSkeleton/DsListSkeleton.types.d.ts +10 -0
  18. package/dist/ui/DsListSkeleton/DsListSkeleton.vue.d.ts +23 -0
  19. package/dist/ui/DsListSkeleton/index.d.ts +2 -0
  20. package/dist/ui/DsOrganizerForm/DsOrganizerForm.vue.d.ts +1 -1
  21. package/dist/ui/DsProfileActionBar/DsProfileActionBar.defaults.d.ts +2 -0
  22. package/dist/ui/DsProfileActionBar/DsProfileActionBar.types.d.ts +35 -4
  23. package/dist/ui/DsProfileActionBar/DsProfileActionBar.vue.d.ts +63 -3
  24. package/dist/ui/DsProfileContactDataCard/DsProfileContactDataCard.types.d.ts +23 -1
  25. package/dist/ui/DsProfileContactDataCard/DsProfileContactDataCard.vue.d.ts +19 -8
  26. package/dist/ui/DsProfileGroupBar/DsProfileGroupBar.types.d.ts +12 -0
  27. package/dist/ui/DsProfileGroupBar/DsProfileGroupBar.vue.d.ts +61 -2
  28. package/dist/ui/DsProfileHero/DsProfileHero.types.d.ts +14 -8
  29. package/dist/ui/DsProfileHero/DsProfileHero.vue.d.ts +49 -3
  30. package/dist/ui/DsProfileLockedCard/DsProfileLockedCard.types.d.ts +5 -0
  31. package/dist/ui/DsProfileLockedCard/DsProfileLockedCard.vue.d.ts +20 -0
  32. package/dist/ui/DsProfileRichSections/DsProfileRichSections.types.d.ts +11 -0
  33. package/dist/ui/DsProfileRichSections/DsProfileRichSections.vue.d.ts +46 -0
  34. package/dist/ui/DsProfileSkeleton/DsProfileSkeleton.types.d.ts +6 -0
  35. package/dist/ui/DsProfileSkeleton/DsProfileSkeleton.vue.d.ts +24 -0
  36. package/dist/ui/DsProfileSkeleton/index.d.ts +2 -0
  37. package/dist/ui/DsSavedButton/DsSavedButton.vue.d.ts +1 -1
  38. package/dist/ui/DsTable/DsTable.vue.d.ts +2 -2
  39. package/dist/ui/DsTagPicker/DsTagPicker.vue.d.ts +1 -1
  40. package/dist/ui/DsTextarea/DsTextarea.vue.d.ts +2 -2
  41. package/llms-full.txt +328 -107
  42. package/llms.txt +3 -0
  43. package/package.json +1 -1
@@ -42,6 +42,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
42
42
  block: BooleanConstructor;
43
43
  selected: BooleanConstructor;
44
44
  autofocus: BooleanConstructor;
45
+ focusableWhenDisabled: BooleanConstructor;
45
46
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
46
47
  click: (...args: any[]) => void;
47
48
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -78,6 +79,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
78
79
  block: BooleanConstructor;
79
80
  selected: BooleanConstructor;
80
81
  autofocus: BooleanConstructor;
82
+ focusableWhenDisabled: BooleanConstructor;
81
83
  }>> & Readonly<{
82
84
  onClick?: ((...args: any[]) => any) | undefined;
83
85
  }>, {
@@ -96,6 +98,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
96
98
  block: boolean;
97
99
  selected: boolean;
98
100
  autofocus: boolean;
101
+ focusableWhenDisabled: boolean;
99
102
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
100
103
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
101
104
  export default _default;
@@ -28,6 +28,8 @@ export interface DsContactListProps {
28
28
  showRate?: boolean;
29
29
  /** Shown instead of rows when there are none. Omit to render nothing. */
30
30
  emptyLabel?: string;
31
+ /** `id` of a label outside the list (a band) that names the `items` list. Sections name their own. */
32
+ listLabelledby?: string;
31
33
  /** Spoken once per masked value instead of its circles (forwarded to `DsMaskedValue`). */
32
34
  maskedLabel?: string;
33
35
  /** Accessible labels for the icon-only actions (English DS defaults; the app owns i18n). */
@@ -57,6 +57,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
57
57
  type: StringConstructor;
58
58
  default: string;
59
59
  };
60
+ listLabelledby: {
61
+ type: StringConstructor;
62
+ default: string;
63
+ };
60
64
  maskedLabel: {
61
65
  type: StringConstructor;
62
66
  default: string;
@@ -134,6 +138,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
134
138
  type: StringConstructor;
135
139
  default: string;
136
140
  };
141
+ listLabelledby: {
142
+ type: StringConstructor;
143
+ default: string;
144
+ };
137
145
  maskedLabel: {
138
146
  type: StringConstructor;
139
147
  default: string;
@@ -174,6 +182,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
174
182
  verifyingTooltip: string;
175
183
  invalidLabel: string;
176
184
  invalidTooltip: string;
185
+ listLabelledby: string;
177
186
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
178
187
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
179
188
  export default _default;
@@ -0,0 +1,10 @@
1
+ export interface DsHighlightSegment {
2
+ text: string;
3
+ /** True for a run that matched one of the terms. */
4
+ match: boolean;
5
+ }
6
+ export interface DsHighlightTextProps {
7
+ text: string;
8
+ /** Case- and accent-insensitive plain text; blank ones ignored. Empty → nothing marked. */
9
+ terms?: string[];
10
+ }
@@ -0,0 +1,23 @@
1
+ import { type PropType } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ text: {
4
+ type: StringConstructor;
5
+ required: true;
6
+ };
7
+ terms: {
8
+ type: PropType<string[]>;
9
+ default: () => never[];
10
+ };
11
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
12
+ text: {
13
+ type: StringConstructor;
14
+ required: true;
15
+ };
16
+ terms: {
17
+ type: PropType<string[]>;
18
+ default: () => never[];
19
+ };
20
+ }>> & Readonly<{}>, {
21
+ terms: string[];
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
23
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export { default as DsHighlightText } from './DsHighlightText.vue';
2
+ export * from './DsHighlightText.types';
3
+ export { splitHighlights } from './splitHighlights';
@@ -0,0 +1,6 @@
1
+ import type { DsHighlightSegment } from './DsHighlightText.types';
2
+ /**
3
+ * Splits `text` into marked and unmarked runs, ignoring case and accents; overlapping or
4
+ * touching matches merge into one run. Terms are plain text, never patterns.
5
+ */
6
+ export declare function splitHighlights(text: string, terms: readonly string[]): DsHighlightSegment[];
@@ -167,9 +167,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
167
167
  step: string | number;
168
168
  disabled: boolean;
169
169
  error: boolean;
170
+ placeholder: string;
170
171
  name: string;
171
172
  id: string;
172
- placeholder: string;
173
173
  errorMessage: string;
174
174
  showErrorIcon: boolean;
175
175
  autocomplete: string;
@@ -0,0 +1,10 @@
1
+ export interface DsListSkeletonProps {
2
+ /** What is loading («Loading contacts»), already translated. Read to screen readers only. */
3
+ label?: string;
4
+ /** How many rows to draw: a whole number from 0 to `DS_LIST_SKELETON_MAX_ROWS`. Default 6. */
5
+ rows?: number;
6
+ }
7
+ /** Rows drawn by default, and for a `rows` of NaN or ±Infinity. */
8
+ export declare const DS_LIST_SKELETON_DEFAULT_ROWS = 6;
9
+ /** Most rows the skeleton draws; a larger `rows` is capped here. */
10
+ export declare const DS_LIST_SKELETON_MAX_ROWS = 50;
@@ -0,0 +1,23 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ label: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ rows: {
7
+ type: NumberConstructor;
8
+ default: number;
9
+ };
10
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
+ label: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ rows: {
16
+ type: NumberConstructor;
17
+ default: number;
18
+ };
19
+ }>> & Readonly<{}>, {
20
+ label: string;
21
+ rows: number;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
23
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as DsListSkeleton } from './DsListSkeleton.vue';
2
+ export * from './DsListSkeleton.types';
@@ -136,11 +136,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
136
136
  }>, {
137
137
  loading: boolean;
138
138
  color: string;
139
+ backLabel: string;
139
140
  name: string;
140
141
  errorMessage: string;
141
142
  setColorLabel: string;
142
143
  namePlaceholder: string;
143
- backLabel: string;
144
144
  errorMissingName: string;
145
145
  errorTooLongName: string;
146
146
  maxNameLength: number;
@@ -0,0 +1,2 @@
1
+ import type { DsProfileActionBarCopy } from './DsProfileActionBar.types';
2
+ export declare const DS_PROFILE_ACTION_BAR_DEFAULT_COPY: Required<DsProfileActionBarCopy>;
@@ -1,17 +1,48 @@
1
+ /** Which reveal model the bar draws. Phase 0: all or nothing. Phase 1: per kind, and saving is free. */
2
+ export declare const DS_PROFILE_ACTION_BAR_PHASES: {
3
+ readonly PHASE_0: "phase-0";
4
+ readonly PHASE_1: "phase-1";
5
+ };
6
+ export type DsProfileActionBarPhase = (typeof DS_PROFILE_ACTION_BAR_PHASES)[keyof typeof DS_PROFILE_ACTION_BAR_PHASES];
1
7
  /** Every string of the bar. Pass a partial: it overrides only its keys. */
2
8
  export interface DsProfileActionBarCopy {
3
9
  /** The button's text. */
4
10
  reveal: string;
5
- /** What revealing costs («Show details · 1 credit / contact»). Empty → no tooltip. */
11
+ /** What revealing costs («1 credit»). Empty → no tooltip. */
6
12
  revealTooltip: string;
7
- /** The button's accessible name while revealing, when its text is hidden behind the spinner. */
13
+ /** A button's accessible name while revealing, when its content is hidden behind the spinner. */
8
14
  revealing: string;
15
+ /** Phase 1: the accessible name of the square emails button. */
16
+ emails?: string;
17
+ /** Phase 1: what revealing the emails costs («Show emails · 1 credit»). Empty → no tooltip. */
18
+ emailsTooltip?: string;
19
+ /** Phase 1: the accessible name of the square phones button. */
20
+ phones?: string;
21
+ /** Phase 1: what revealing the phones costs. Empty → no tooltip. */
22
+ phonesTooltip?: string;
23
+ /** Phase 1: the save button's text. */
24
+ save?: string;
25
+ /** Phase 1: what saving costs («Save without revealing · free»). Empty → no tooltip. */
26
+ saveTooltip?: string;
9
27
  }
28
+ /** The bar's defaults. Typed as the public copy, so phase-0 objects stay assignable to it. */
10
29
  export declare const DS_PROFILE_ACTION_BAR_COPY: DsProfileActionBarCopy;
11
30
  export interface DsProfileActionBarProps {
12
- /** The contact is revealed: the button gives way to the row of actions in the default slot. */
31
+ /** Phase 0 (default) or phase 1. */
32
+ phase?: DsProfileActionBarPhase;
33
+ /** Everything is revealed: the reveal buttons go. Phase 0: the default slot's row shows; phase 1: that follows `saved`. */
13
34
  revealed?: boolean;
14
- /** The app is revealing: the button shows the spinner, the tooltip sleeps and a click is ignored. */
35
+ /** The app is revealing everything: «Show details» shows the spinner and a click is ignored. */
15
36
  revealing?: boolean;
37
+ /** Phase 1: the emails are revealed, so their square button goes. */
38
+ emailsRevealed?: boolean;
39
+ /** Phase 1: the phones are revealed, so their square button goes. */
40
+ phonesRevealed?: boolean;
41
+ /** Phase 1: the app is revealing the emails: their button shows the spinner and «Show details» is disabled. */
42
+ revealingEmails?: boolean;
43
+ /** Phase 1: the app is revealing the phones: same as `revealingEmails`. */
44
+ revealingPhones?: boolean;
45
+ /** Phase 1: the contact is saved, so the second row is the default slot instead of «Save». */
46
+ saved?: boolean;
16
47
  copy?: Partial<DsProfileActionBarCopy>;
17
48
  }
@@ -1,10 +1,14 @@
1
1
  import { type PropType } from 'vue';
2
- import { type DsProfileActionBarCopy } from './DsProfileActionBar.types';
3
- declare var __VLS_1: {};
2
+ import { type DsProfileActionBarCopy, type DsProfileActionBarPhase } from './DsProfileActionBar.types';
3
+ declare var __VLS_29: {};
4
4
  type __VLS_Slots = {} & {
5
- default?: (props: typeof __VLS_1) => any;
5
+ default?: (props: typeof __VLS_29) => any;
6
6
  };
7
7
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
+ phase: {
9
+ type: PropType<DsProfileActionBarPhase>;
10
+ default: "phase-0";
11
+ };
8
12
  revealed: {
9
13
  type: BooleanConstructor;
10
14
  default: boolean;
@@ -13,13 +17,40 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
13
17
  type: BooleanConstructor;
14
18
  default: boolean;
15
19
  };
20
+ emailsRevealed: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
24
+ phonesRevealed: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
28
+ revealingEmails: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ revealingPhones: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ saved: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
16
40
  copy: {
17
41
  type: PropType<Partial<DsProfileActionBarCopy>>;
18
42
  default: undefined;
19
43
  };
20
44
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
45
  reveal: (...args: any[]) => void;
46
+ "reveal-emails": (...args: any[]) => void;
47
+ "reveal-phones": (...args: any[]) => void;
48
+ save: (...args: any[]) => void;
22
49
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
50
+ phase: {
51
+ type: PropType<DsProfileActionBarPhase>;
52
+ default: "phase-0";
53
+ };
23
54
  revealed: {
24
55
  type: BooleanConstructor;
25
56
  default: boolean;
@@ -28,16 +59,45 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
28
59
  type: BooleanConstructor;
29
60
  default: boolean;
30
61
  };
62
+ emailsRevealed: {
63
+ type: BooleanConstructor;
64
+ default: boolean;
65
+ };
66
+ phonesRevealed: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ };
70
+ revealingEmails: {
71
+ type: BooleanConstructor;
72
+ default: boolean;
73
+ };
74
+ revealingPhones: {
75
+ type: BooleanConstructor;
76
+ default: boolean;
77
+ };
78
+ saved: {
79
+ type: BooleanConstructor;
80
+ default: boolean;
81
+ };
31
82
  copy: {
32
83
  type: PropType<Partial<DsProfileActionBarCopy>>;
33
84
  default: undefined;
34
85
  };
35
86
  }>> & Readonly<{
36
87
  onReveal?: ((...args: any[]) => any) | undefined;
88
+ "onReveal-emails"?: ((...args: any[]) => any) | undefined;
89
+ "onReveal-phones"?: ((...args: any[]) => any) | undefined;
90
+ onSave?: ((...args: any[]) => any) | undefined;
37
91
  }>, {
38
92
  copy: Partial<DsProfileActionBarCopy>;
39
93
  revealing: boolean;
94
+ phase: DsProfileActionBarPhase;
40
95
  revealed: boolean;
96
+ emailsRevealed: boolean;
97
+ phonesRevealed: boolean;
98
+ revealingEmails: boolean;
99
+ revealingPhones: boolean;
100
+ saved: boolean;
41
101
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
42
102
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
43
103
  export default _default;
@@ -1,9 +1,31 @@
1
1
  import type { DsContactGroup } from '../../ui/DsContactGroups';
2
+ /** A band's button (phase 1: «Show emails»). Drawn on the group's first band only. */
3
+ export interface DsProfileContactDataAction {
4
+ label: string;
5
+ /** Its cost. Empty → no tooltip. */
6
+ tooltip?: string;
7
+ /** Material Symbols glyph. Default `visibility`. */
8
+ icon?: string;
9
+ /** The app is running it: the button keeps focus with a spinner and ignores clicks. */
10
+ busy?: boolean;
11
+ }
12
+ /** A DsContactGroup plus what only the banded card draws. */
13
+ export interface DsProfileContactDataGroup extends DsContactGroup {
14
+ /** `banded`: the band above the placeholder («Mobile» over «No phones found»). Omit for none. */
15
+ band?: string;
16
+ /** `banded`: the button on the group's first band. */
17
+ action?: DsProfileContactDataAction;
18
+ }
2
19
  export interface DsProfileContactDataCardProps {
3
20
  /** The card's name («Contact data»), already translated. */
4
21
  title: string;
5
22
  /** One group per kind (emails, phones), as DsContactGroups takes them. */
6
- groups: DsContactGroup[];
23
+ groups: DsProfileContactDataGroup[];
24
+ /**
25
+ * The design's profile bands: each type with data under a `DsProfileGroupBar` («Work email»,
26
+ * no counter), with the group's `action` on its first band. Off → DsContactGroups' «WORK (1)».
27
+ */
28
+ banded?: boolean;
7
29
  /** Total of data found, next to the title. `null` → no counter. */
8
30
  count?: number | null;
9
31
  /** The text of the A+ badge on a valid email. */
@@ -1,12 +1,12 @@
1
- import type { PropType } from 'vue';
2
- import { type DsContactGroup } from '../../ui/DsContactGroups';
3
- declare var __VLS_6: {}, __VLS_8: {}, __VLS_14: {};
1
+ import { type PropType } from 'vue';
2
+ import type { DsProfileContactDataGroup } from './DsProfileContactDataCard.types';
3
+ declare var __VLS_7: {}, __VLS_9: {}, __VLS_37: {};
4
4
  type __VLS_Slots = {} & {
5
- actions?: (props: typeof __VLS_6) => any;
5
+ actions?: (props: typeof __VLS_7) => any;
6
6
  } & {
7
- editor?: (props: typeof __VLS_8) => any;
7
+ editor?: (props: typeof __VLS_9) => any;
8
8
  } & {
9
- notice?: (props: typeof __VLS_14) => any;
9
+ notice?: (props: typeof __VLS_37) => any;
10
10
  };
11
11
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
12
12
  title: {
@@ -14,9 +14,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
14
14
  required: true;
15
15
  };
16
16
  groups: {
17
- type: PropType<DsContactGroup[]>;
17
+ type: PropType<DsProfileContactDataGroup[]>;
18
18
  required: true;
19
19
  };
20
+ banded: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
20
24
  count: {
21
25
  type: PropType<number | null>;
22
26
  default: null;
@@ -73,15 +77,20 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
73
77
  copy: (...args: any[]) => void;
74
78
  correct: (...args: any[]) => void;
75
79
  incorrect: (...args: any[]) => void;
80
+ action: (...args: any[]) => void;
76
81
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
77
82
  title: {
78
83
  type: StringConstructor;
79
84
  required: true;
80
85
  };
81
86
  groups: {
82
- type: PropType<DsContactGroup[]>;
87
+ type: PropType<DsProfileContactDataGroup[]>;
83
88
  required: true;
84
89
  };
90
+ banded: {
91
+ type: BooleanConstructor;
92
+ default: boolean;
93
+ };
85
94
  count: {
86
95
  type: PropType<number | null>;
87
96
  default: null;
@@ -138,6 +147,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
138
147
  onCopy?: ((...args: any[]) => any) | undefined;
139
148
  onCorrect?: ((...args: any[]) => any) | undefined;
140
149
  onIncorrect?: ((...args: any[]) => any) | undefined;
150
+ onAction?: ((...args: any[]) => any) | undefined;
141
151
  }>, {
142
152
  showRate: boolean;
143
153
  copyLabel: string;
@@ -150,6 +160,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
150
160
  invalidLabel: string;
151
161
  invalidTooltip: string;
152
162
  count: number | null;
163
+ banded: boolean;
153
164
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
154
165
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
155
166
  export default _default;
@@ -1,4 +1,16 @@
1
1
  export interface DsProfileGroupBarProps {
2
2
  /** The type's name, already translated by the app. Rendered uppercase. */
3
3
  label: string;
4
+ /** `id` for the label, so a list under the band can name itself with `aria-labelledby`. */
5
+ labelId?: string;
6
+ /** Text of the band's button («Show emails»). Empty → no button. */
7
+ actionLabel?: string;
8
+ /** What the action costs («Show emails · 1 credit»). Empty → no tooltip. */
9
+ actionTooltip?: string;
10
+ /** Material Symbols glyph before the action's text. Default `visibility`. */
11
+ actionIcon?: string;
12
+ /** The app is running the action: spinner, `aria-busy` / `aria-disabled`, still focusable, clicks ignored. */
13
+ actionBusy?: boolean;
14
+ /** The unrevealed profile's 24px band (DsProfileContactDataCard `banded`). Default 36px. */
15
+ compact?: boolean;
4
16
  }
@@ -7,12 +7,71 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
7
7
  type: StringConstructor;
8
8
  required: true;
9
9
  };
10
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
10
+ labelId: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ actionLabel: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ actionTooltip: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ actionIcon: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ actionBusy: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ compact: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
35
+ action: (...args: any[]) => void;
36
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
37
  label: {
12
38
  type: StringConstructor;
13
39
  required: true;
14
40
  };
15
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
41
+ labelId: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ actionLabel: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ actionTooltip: {
50
+ type: StringConstructor;
51
+ default: string;
52
+ };
53
+ actionIcon: {
54
+ type: StringConstructor;
55
+ default: string;
56
+ };
57
+ actionBusy: {
58
+ type: BooleanConstructor;
59
+ default: boolean;
60
+ };
61
+ compact: {
62
+ type: BooleanConstructor;
63
+ default: boolean;
64
+ };
65
+ }>> & Readonly<{
66
+ onAction?: ((...args: any[]) => any) | undefined;
67
+ }>, {
68
+ compact: boolean;
69
+ labelId: string;
70
+ actionLabel: string;
71
+ actionTooltip: string;
72
+ actionIcon: string;
73
+ actionBusy: boolean;
74
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
75
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
17
76
  export default _default;
18
77
  type __VLS_WithSlots<T, S> = T & {
@@ -3,16 +3,22 @@ export interface DsProfileHeroProps {
3
3
  image?: string;
4
4
  firstName?: string;
5
5
  lastName?: string;
6
- /** Job title / one-line summary. Empty → the headline row is not rendered at all. */
6
+ /** The LinkedIn headline, grey, clamped to 2 lines. Empty → not rendered. */
7
7
  headline?: string;
8
- /**
9
- * Current company, first line of the second column (name's text style). With `company`
10
- * or `jobTitle` the body splits 60/40 and every text ellipsizes, each with a tooltip
11
- * only when actually truncated. Neither → no second column, the hero looks as before.
12
- */
13
- company?: string;
14
- /** Job title at that company, second line of the second column (headline's text style). */
8
+ /** Job title of the primary position, in bold. Empty → no title line, only the headline. */
15
9
  jobTitle?: string;
10
+ /** Company of the primary position, after `atLabel` on the title line. */
11
+ company?: string;
12
+ /** The connector between title and company («at»), translated. Empty → no company. */
13
+ atLabel?: string;
14
+ /** Terms marked in the job title and the headline (case-insensitive). */
15
+ highlightTerms?: string[];
16
+ /** The job title matched only through the headline: shows `headlineMatchedLabel`. */
17
+ headlineMatched?: boolean;
18
+ /** The badge's text («Matched in headline»), translated. Empty → no badge. */
19
+ headlineMatchedLabel?: string;
20
+ /** Small line under the headline, joined with « · »; empty items are dropped. */
21
+ details?: string[];
16
22
  /** Header LinkedIn badge target. Empty → no badge, no links row. */
17
23
  linkedinUrl?: string;
18
24
  /** Accessible name and tooltip content of the LinkedIn badge. */
@@ -1,3 +1,4 @@
1
+ import { type PropType } from 'vue';
1
2
  declare var __VLS_19: {};
2
3
  type __VLS_Slots = {} & {
3
4
  actions?: (props: typeof __VLS_19) => any;
@@ -19,14 +20,34 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
19
20
  type: StringConstructor;
20
21
  default: string;
21
22
  };
23
+ jobTitle: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
22
27
  company: {
23
28
  type: StringConstructor;
24
29
  default: string;
25
30
  };
26
- jobTitle: {
31
+ atLabel: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ highlightTerms: {
36
+ type: PropType<string[]>;
37
+ default: () => never[];
38
+ };
39
+ headlineMatched: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ headlineMatchedLabel: {
27
44
  type: StringConstructor;
28
45
  default: string;
29
46
  };
47
+ details: {
48
+ type: PropType<string[]>;
49
+ default: () => never[];
50
+ };
30
51
  linkedinUrl: {
31
52
  type: StringConstructor;
32
53
  default: string;
@@ -56,14 +77,34 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
56
77
  type: StringConstructor;
57
78
  default: string;
58
79
  };
80
+ jobTitle: {
81
+ type: StringConstructor;
82
+ default: string;
83
+ };
59
84
  company: {
60
85
  type: StringConstructor;
61
86
  default: string;
62
87
  };
63
- jobTitle: {
88
+ atLabel: {
89
+ type: StringConstructor;
90
+ default: string;
91
+ };
92
+ highlightTerms: {
93
+ type: PropType<string[]>;
94
+ default: () => never[];
95
+ };
96
+ headlineMatched: {
97
+ type: BooleanConstructor;
98
+ default: boolean;
99
+ };
100
+ headlineMatchedLabel: {
64
101
  type: StringConstructor;
65
102
  default: string;
66
103
  };
104
+ details: {
105
+ type: PropType<string[]>;
106
+ default: () => never[];
107
+ };
67
108
  linkedinUrl: {
68
109
  type: StringConstructor;
69
110
  default: string;
@@ -77,15 +118,20 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
77
118
  default: undefined;
78
119
  };
79
120
  }>> & Readonly<{}>, {
121
+ details: string[];
80
122
  image: string;
81
123
  firstName: string;
82
124
  lastName: string;
83
125
  alt: string;
126
+ company: string;
84
127
  linkedinUrl: string;
85
128
  linkedinLabel: string;
86
129
  headline: string;
87
- company: string;
88
130
  jobTitle: string;
131
+ atLabel: string;
132
+ highlightTerms: string[];
133
+ headlineMatched: boolean;
134
+ headlineMatchedLabel: string;
89
135
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
90
136
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
91
137
  export default _default;