@salesql/sql_components_vue3 3.36.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.
- package/dist/composables/useFocusHandoff.d.ts +11 -0
- package/dist/constants/events.d.ts +4 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +7 -3
- package/dist/index.es.js +4801 -4243
- package/dist/index.es.js.map +1 -1
- package/dist/sql_components_vue3.css +1 -1
- package/dist/ui/DsButton/DsButton.vue.d.ts +3 -0
- package/dist/ui/DsContactList/DsContactList.types.d.ts +2 -0
- package/dist/ui/DsContactList/DsContactList.vue.d.ts +9 -0
- package/dist/ui/DsInput/DsInput.vue.d.ts +1 -1
- package/dist/ui/DsListSkeleton/DsListSkeleton.types.d.ts +10 -0
- package/dist/ui/DsListSkeleton/DsListSkeleton.vue.d.ts +23 -0
- package/dist/ui/DsListSkeleton/index.d.ts +2 -0
- package/dist/ui/DsOrganizerForm/DsOrganizerForm.vue.d.ts +1 -1
- package/dist/ui/DsProfileActionBar/DsProfileActionBar.defaults.d.ts +2 -0
- package/dist/ui/DsProfileActionBar/DsProfileActionBar.types.d.ts +35 -4
- package/dist/ui/DsProfileActionBar/DsProfileActionBar.vue.d.ts +63 -3
- package/dist/ui/DsProfileContactDataCard/DsProfileContactDataCard.types.d.ts +23 -1
- package/dist/ui/DsProfileContactDataCard/DsProfileContactDataCard.vue.d.ts +19 -8
- package/dist/ui/DsProfileGroupBar/DsProfileGroupBar.types.d.ts +12 -0
- package/dist/ui/DsProfileGroupBar/DsProfileGroupBar.vue.d.ts +61 -2
- package/dist/ui/DsProfileHero/DsProfileHero.vue.d.ts +1 -1
- package/dist/ui/DsProfileLockedCard/DsProfileLockedCard.types.d.ts +5 -0
- package/dist/ui/DsProfileLockedCard/DsProfileLockedCard.vue.d.ts +20 -0
- package/dist/ui/DsProfileRichSections/DsProfileRichSections.types.d.ts +11 -0
- package/dist/ui/DsProfileRichSections/DsProfileRichSections.vue.d.ts +46 -0
- package/dist/ui/DsProfileSkeleton/DsProfileSkeleton.types.d.ts +6 -0
- package/dist/ui/DsProfileSkeleton/DsProfileSkeleton.vue.d.ts +24 -0
- package/dist/ui/DsProfileSkeleton/index.d.ts +2 -0
- package/dist/ui/DsSavedButton/DsSavedButton.vue.d.ts +1 -1
- package/dist/ui/DsTable/DsTable.vue.d.ts +2 -2
- package/dist/ui/DsTagPicker/DsTagPicker.vue.d.ts +1 -1
- package/dist/ui/DsTextarea/DsTextarea.vue.d.ts +2 -2
- package/llms-full.txt +264 -66
- package/llms.txt +2 -0
- 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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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 («
|
|
11
|
+
/** What revealing costs («1 credit»). Empty → no tooltip. */
|
|
6
12
|
revealTooltip: string;
|
|
7
|
-
/**
|
|
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
|
-
/**
|
|
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:
|
|
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
|
|
2
|
+
import { type DsProfileActionBarCopy, type DsProfileActionBarPhase } from './DsProfileActionBar.types';
|
|
3
|
+
declare var __VLS_29: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
|
-
default?: (props: typeof
|
|
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:
|
|
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
|
|
2
|
-
import {
|
|
3
|
-
declare var
|
|
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
|
|
5
|
+
actions?: (props: typeof __VLS_7) => any;
|
|
6
6
|
} & {
|
|
7
|
-
editor?: (props: typeof
|
|
7
|
+
editor?: (props: typeof __VLS_9) => any;
|
|
8
8
|
} & {
|
|
9
|
-
notice?: (props: typeof
|
|
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<
|
|
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<
|
|
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
|
-
|
|
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
|
-
|
|
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
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
2
|
import type { DsProfileField } from '../../ui/DsProfileCompanyCard';
|
|
3
|
+
import { type DsTooltipPlacement } from '../../ui/DsTooltip';
|
|
3
4
|
import { type DsProfileRichSectionsCopy, type DsProfileTimelineItem } from './DsProfileRichSections.types';
|
|
4
5
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
6
|
unlocked: {
|
|
@@ -26,6 +27,26 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
26
27
|
type: PropType<Partial<DsProfileRichSectionsCopy>>;
|
|
27
28
|
default: undefined;
|
|
28
29
|
};
|
|
30
|
+
showAllLocked: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
experienceCount: {
|
|
35
|
+
type: PropType<number | null>;
|
|
36
|
+
default: null;
|
|
37
|
+
};
|
|
38
|
+
educationCount: {
|
|
39
|
+
type: PropType<number | null>;
|
|
40
|
+
default: null;
|
|
41
|
+
};
|
|
42
|
+
hintPlacement: {
|
|
43
|
+
type: PropType<DsTooltipPlacement>;
|
|
44
|
+
default: "left";
|
|
45
|
+
};
|
|
46
|
+
teleported: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
29
50
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
51
|
unlocked: {
|
|
31
52
|
type: BooleanConstructor;
|
|
@@ -51,12 +72,37 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
51
72
|
type: PropType<Partial<DsProfileRichSectionsCopy>>;
|
|
52
73
|
default: undefined;
|
|
53
74
|
};
|
|
75
|
+
showAllLocked: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
experienceCount: {
|
|
80
|
+
type: PropType<number | null>;
|
|
81
|
+
default: null;
|
|
82
|
+
};
|
|
83
|
+
educationCount: {
|
|
84
|
+
type: PropType<number | null>;
|
|
85
|
+
default: null;
|
|
86
|
+
};
|
|
87
|
+
hintPlacement: {
|
|
88
|
+
type: PropType<DsTooltipPlacement>;
|
|
89
|
+
default: "left";
|
|
90
|
+
};
|
|
91
|
+
teleported: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
54
95
|
}>> & Readonly<{}>, {
|
|
55
96
|
details: DsProfileField[];
|
|
56
97
|
copy: Partial<DsProfileRichSectionsCopy>;
|
|
98
|
+
teleported: boolean;
|
|
57
99
|
about: string;
|
|
100
|
+
hintPlacement: DsTooltipPlacement;
|
|
58
101
|
unlocked: boolean;
|
|
59
102
|
experience: DsProfileTimelineItem[];
|
|
60
103
|
education: DsProfileTimelineItem[];
|
|
104
|
+
showAllLocked: boolean;
|
|
105
|
+
experienceCount: number | null;
|
|
106
|
+
educationCount: number | null;
|
|
61
107
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
62
108
|
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface DsProfileSkeletonProps {
|
|
2
|
+
/** What is loading («Loading profile»), already translated. Read to screen readers only. */
|
|
3
|
+
label?: string;
|
|
4
|
+
/** Action rows under the hero: 1 (phase 0) or 2 (phase 1, «Save» under the reveal row). Any other value renders 1. */
|
|
5
|
+
actionRows?: 1 | 2;
|
|
6
|
+
}
|