@salesql/sql_components_vue3 3.35.0 → 3.37.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 (40) 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 -5
  6. package/dist/index.es.js +4540 -3967
  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/DsConfirmDialog/DsConfirmDialog.types.d.ts +13 -2
  11. package/dist/ui/DsConfirmDialog/DsConfirmDialog.vue.d.ts +16 -3
  12. package/dist/ui/DsContactList/DsContactList.types.d.ts +2 -0
  13. package/dist/ui/DsContactList/DsContactList.vue.d.ts +9 -0
  14. package/dist/ui/DsInput/DsInput.vue.d.ts +1 -1
  15. package/dist/ui/DsListSkeleton/DsListSkeleton.types.d.ts +10 -0
  16. package/dist/ui/DsListSkeleton/DsListSkeleton.vue.d.ts +23 -0
  17. package/dist/ui/DsListSkeleton/index.d.ts +2 -0
  18. package/dist/ui/DsOrganizerForm/DsOrganizerForm.vue.d.ts +1 -1
  19. package/dist/ui/DsProfileActionBar/DsProfileActionBar.defaults.d.ts +2 -0
  20. package/dist/ui/DsProfileActionBar/DsProfileActionBar.types.d.ts +35 -4
  21. package/dist/ui/DsProfileActionBar/DsProfileActionBar.vue.d.ts +63 -3
  22. package/dist/ui/DsProfileContactDataCard/DsProfileContactDataCard.types.d.ts +23 -1
  23. package/dist/ui/DsProfileContactDataCard/DsProfileContactDataCard.vue.d.ts +19 -8
  24. package/dist/ui/DsProfileGroupBar/DsProfileGroupBar.types.d.ts +12 -0
  25. package/dist/ui/DsProfileGroupBar/DsProfileGroupBar.vue.d.ts +61 -2
  26. package/dist/ui/DsProfileHero/DsProfileHero.vue.d.ts +1 -1
  27. package/dist/ui/DsProfileLockedCard/DsProfileLockedCard.types.d.ts +5 -0
  28. package/dist/ui/DsProfileLockedCard/DsProfileLockedCard.vue.d.ts +20 -0
  29. package/dist/ui/DsProfileRichSections/DsProfileRichSections.types.d.ts +11 -0
  30. package/dist/ui/DsProfileRichSections/DsProfileRichSections.vue.d.ts +46 -0
  31. package/dist/ui/DsProfileSkeleton/DsProfileSkeleton.types.d.ts +6 -0
  32. package/dist/ui/DsProfileSkeleton/DsProfileSkeleton.vue.d.ts +24 -0
  33. package/dist/ui/DsProfileSkeleton/index.d.ts +2 -0
  34. package/dist/ui/DsSavedButton/DsSavedButton.vue.d.ts +1 -1
  35. package/dist/ui/DsTable/DsTable.vue.d.ts +2 -2
  36. package/dist/ui/DsTagPicker/DsTagPicker.vue.d.ts +1 -1
  37. package/dist/ui/DsTextarea/DsTextarea.vue.d.ts +2 -2
  38. package/llms-full.txt +281 -77
  39. package/llms.txt +2 -0
  40. 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;
@@ -1,3 +1,9 @@
1
+ /** The primary action's look: the regular CTA, or `danger` for a destructive one. */
2
+ export declare const DS_CONFIRM_DIALOG_CONFIRM_VARIANTS: {
3
+ readonly PRIMARY: "primary";
4
+ readonly DANGER: "danger";
5
+ };
6
+ export type DsConfirmDialogConfirmVariant = (typeof DS_CONFIRM_DIALOG_CONFIRM_VARIANTS)[keyof typeof DS_CONFIRM_DIALOG_CONFIRM_VARIANTS];
1
7
  export declare const DS_CONFIRM_DIALOG_CANCEL_REASONS: {
2
8
  /** The secondary button. */
3
9
  readonly ACTION: "action";
@@ -15,8 +21,13 @@ export interface DsConfirmDialogProps {
15
21
  notice?: string;
16
22
  /** The primary action («Move to new folder»); emits `confirm`. */
17
23
  confirmLabel: string;
18
- /** The safe action («Keep in current folder»); emits `cancel` with `action`. Gets the focus on open. */
19
- cancelLabel: string;
24
+ /** The primary action's look (`DS_CONFIRM_DIALOG_CONFIRM_VARIANTS`). Default `primary`. */
25
+ confirmVariant?: DsConfirmDialogConfirmVariant;
26
+ /**
27
+ * The safe action («Keep in current folder»); emits `cancel` with `action`. Gets the focus on
28
+ * open. Empty = no cancel action (a notice): the primary gets the focus instead.
29
+ */
30
+ cancelLabel?: string;
20
31
  /** Accessible name of the dialog's X. */
21
32
  closeLabel?: string;
22
33
  /** The app is acting on the answer: the primary shows its spinner and every path is blocked. */
@@ -1,4 +1,5 @@
1
- import { type DsConfirmDialogCancelReason } from './DsConfirmDialog.types';
1
+ import { type PropType } from 'vue';
2
+ import { type DsConfirmDialogCancelReason, type DsConfirmDialogConfirmVariant } from './DsConfirmDialog.types';
2
3
  declare var __VLS_10: {};
3
4
  type __VLS_Slots = {} & {
4
5
  default?: (props: typeof __VLS_10) => any;
@@ -24,9 +25,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
24
25
  type: StringConstructor;
25
26
  required: true;
26
27
  };
28
+ confirmVariant: {
29
+ type: PropType<DsConfirmDialogConfirmVariant>;
30
+ default: "primary";
31
+ validator: (value: string) => boolean;
32
+ };
27
33
  cancelLabel: {
28
34
  type: StringConstructor;
29
- required: true;
35
+ default: string;
30
36
  };
31
37
  closeLabel: {
32
38
  type: StringConstructor;
@@ -60,9 +66,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
60
66
  type: StringConstructor;
61
67
  required: true;
62
68
  };
69
+ confirmVariant: {
70
+ type: PropType<DsConfirmDialogConfirmVariant>;
71
+ default: "primary";
72
+ validator: (value: string) => boolean;
73
+ };
63
74
  cancelLabel: {
64
75
  type: StringConstructor;
65
- required: true;
76
+ default: string;
66
77
  };
67
78
  closeLabel: {
68
79
  type: StringConstructor;
@@ -80,7 +91,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
80
91
  open: boolean;
81
92
  loading: boolean;
82
93
  closeLabel: string;
94
+ cancelLabel: string;
83
95
  notice: string;
96
+ confirmVariant: DsConfirmDialogConfirmVariant;
84
97
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
85
98
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
86
99
  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;
@@ -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 & {
@@ -81,10 +81,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
81
81
  firstName: string;
82
82
  lastName: string;
83
83
  alt: string;
84
+ company: string;
84
85
  linkedinUrl: string;
85
86
  linkedinLabel: string;
86
87
  headline: string;
87
- company: string;
88
88
  jobTitle: string;
89
89
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
90
90
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -1,3 +1,4 @@
1
+ import type { DsTooltipPlacement } from '../DsTooltip/DsTooltip.types';
1
2
  export interface DsProfileLockedCardProps {
2
3
  /** Material Symbols glyph (filled family) before the title, e.g. `work`. */
3
4
  icon: string;
@@ -5,4 +6,8 @@ export interface DsProfileLockedCardProps {
5
6
  title: string;
6
7
  /** Tooltip explaining how to unlock. Empty → no tooltip, and the card isn't focusable. */
7
8
  hint?: string;
9
+ /** Side of the card the hint opens on. Default `left`; a narrow panel at the screen's right edge passes `bottom`. */
10
+ hintPlacement?: DsTooltipPlacement;
11
+ /** Render the hint in the app's teleport target so no ancestor's `overflow` clips it (a narrow panel). */
12
+ teleported?: boolean;
8
13
  }
@@ -1,3 +1,5 @@
1
+ import { type PropType } from 'vue';
2
+ import { type DsTooltipPlacement } from '../DsTooltip/DsTooltip.types';
1
3
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
4
  icon: {
3
5
  type: StringConstructor;
@@ -11,6 +13,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
11
13
  type: StringConstructor;
12
14
  default: string;
13
15
  };
16
+ hintPlacement: {
17
+ type: PropType<DsTooltipPlacement>;
18
+ default: "left";
19
+ };
20
+ teleported: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
14
24
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
25
  icon: {
16
26
  type: StringConstructor;
@@ -24,7 +34,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
24
34
  type: StringConstructor;
25
35
  default: string;
26
36
  };
37
+ hintPlacement: {
38
+ type: PropType<DsTooltipPlacement>;
39
+ default: "left";
40
+ };
41
+ teleported: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
27
45
  }>> & Readonly<{}>, {
28
46
  hint: string;
47
+ teleported: boolean;
48
+ hintPlacement: DsTooltipPlacement;
29
49
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
30
50
  export default _default;
@@ -1,4 +1,5 @@
1
1
  import type { DsProfileField } from '../../ui/DsProfileCompanyCard';
2
+ import type { DsTooltipPlacement } from '../../ui/DsTooltip';
2
3
  /** One entry of Experience or Education. */
3
4
  export interface DsProfileTimelineItem {
4
5
  /** Stable key for the row. */
@@ -41,4 +42,14 @@ export interface DsProfileRichSectionsProps {
41
42
  experience?: DsProfileTimelineItem[];
42
43
  education?: DsProfileTimelineItem[];
43
44
  copy?: Partial<DsProfileRichSectionsCopy>;
45
+ /** Locked: draw the About, Experience and Education stubs even with no content (the unrevealed profile). */
46
+ showAllLocked?: boolean;
47
+ /** Locked: the Experience count read from the page. null / omitted → `experience.length`; 0 → no number. */
48
+ experienceCount?: number | null;
49
+ /** Locked: the Education count read from the page. null / omitted → `education.length`; 0 → no number. */
50
+ educationCount?: number | null;
51
+ /** Locked: side each stub's hint opens on (`DsProfileLockedCard`). Default `left`; a narrow panel passes `bottom`. */
52
+ hintPlacement?: DsTooltipPlacement;
53
+ /** Locked: render the stubs' hints in the app's teleport target (a narrow panel). */
54
+ teleported?: boolean;
44
55
  }