@salesql/sql_components_vue3 3.22.1 → 3.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/composables/shadowDom.d.ts +4 -0
- package/dist/composables/useTeleportTarget.d.ts +11 -0
- package/dist/constants/events.d.ts +6 -0
- package/dist/constants/pickers.d.ts +5 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +32 -4
- package/dist/index.es.js +4244 -3074
- package/dist/index.es.js.map +1 -1
- package/dist/sql_components_vue3.css +1 -1
- package/dist/stories/ShadowRootStage.vue.d.ts +12 -0
- package/dist/ui/DsActionMenu/DsActionMenu.vue.d.ts +1 -1
- package/dist/ui/DsAddToBar/DsAddToBar.types.d.ts +4 -0
- package/dist/ui/DsAddToBar/DsAddToBar.vue.d.ts +22 -0
- package/dist/ui/DsAddToBar/index.d.ts +2 -0
- package/dist/ui/DsAddToSequence/DsAddToSequence.vue.d.ts +10 -1
- package/dist/ui/DsBrandLogo/DsBrandLogo.types.d.ts +13 -0
- package/dist/ui/DsBrandLogo/DsBrandLogo.vue.d.ts +34 -0
- package/dist/ui/DsBrandLogo/index.d.ts +2 -0
- package/dist/ui/DsBulkBar/DsBulkBar.types.d.ts +21 -0
- package/dist/ui/DsBulkBar/DsBulkBar.vue.d.ts +65 -0
- package/dist/ui/DsBulkBar/index.d.ts +2 -0
- package/dist/ui/DsButton/DsButton.vue.d.ts +3 -0
- package/dist/ui/DsContactGroups/DsContactGroups.types.d.ts +31 -0
- package/dist/ui/DsContactGroups/DsContactGroups.vue.d.ts +138 -0
- package/dist/ui/DsContactGroups/index.d.ts +2 -0
- package/dist/ui/DsContactRow/DsContactRow.types.d.ts +20 -0
- package/dist/ui/DsContactRow/DsContactRow.vue.d.ts +94 -0
- package/dist/ui/DsContactRow/index.d.ts +2 -0
- package/dist/ui/DsDrawer/DsDrawer.vue.d.ts +1 -1
- package/dist/ui/DsEmailEditor/DsEmailEditor.types.d.ts +22 -2
- package/dist/ui/DsFullProfile/DsFullProfile.types.d.ts +11 -0
- package/dist/ui/DsFullProfile/DsFullProfile.vue.d.ts +56 -0
- package/dist/ui/DsFullProfile/index.d.ts +2 -0
- package/dist/ui/DsInput/DsInput.vue.d.ts +1 -1
- package/dist/ui/DsItemSelectorButton/DsItemSelectorButton.types.d.ts +2 -0
- package/dist/ui/DsItemSelectorButton/DsItemSelectorButton.vue.d.ts +9 -0
- package/dist/ui/DsModal/DsModal.vue.d.ts +1 -1
- package/dist/ui/DsNotification/DsNotification.vue.d.ts +27 -1
- package/dist/ui/DsNotification/notificationStack.d.ts +2 -1
- package/dist/ui/DsOrganizerForm/DsOrganizerForm.types.d.ts +1 -1
- package/dist/ui/DsOrganizerForm/DsOrganizerForm.vue.d.ts +2 -2
- package/dist/ui/DsPanelFrame/DsPanelFrame.types.d.ts +8 -0
- package/dist/ui/DsPanelFrame/DsPanelFrame.vue.d.ts +38 -0
- package/dist/ui/DsPanelFrame/index.d.ts +2 -0
- package/dist/ui/DsPanelHeader/DsPanelHeader.types.d.ts +8 -0
- package/dist/ui/DsPanelHeader/DsPanelHeader.vue.d.ts +36 -0
- package/dist/ui/DsPanelHeader/index.d.ts +2 -0
- package/dist/ui/DsPanelLauncher/DsPanelLauncher.types.d.ts +7 -0
- package/dist/ui/DsPanelLauncher/DsPanelLauncher.vue.d.ts +28 -0
- package/dist/ui/DsPanelLauncher/index.d.ts +2 -0
- package/dist/ui/DsPopover/DsPopover.vue.d.ts +2 -2
- package/dist/ui/DsProfileActionBar/DsProfileActionBar.types.d.ts +17 -0
- package/dist/ui/DsProfileActionBar/DsProfileActionBar.vue.d.ts +48 -0
- package/dist/ui/DsProfileActionBar/index.d.ts +2 -0
- package/dist/ui/DsProfileContactDataCard/DsProfileContactDataCard.types.d.ts +28 -0
- package/dist/ui/DsProfileContactDataCard/DsProfileContactDataCard.vue.d.ts +158 -0
- package/dist/ui/DsProfileContactDataCard/index.d.ts +2 -0
- package/dist/ui/DsProfileRichSections/DsProfileRichSections.types.d.ts +44 -0
- package/dist/ui/DsProfileRichSections/DsProfileRichSections.vue.d.ts +62 -0
- package/dist/ui/DsProfileRichSections/index.d.ts +2 -0
- package/dist/ui/DsSavedButton/DsSavedButton.types.d.ts +1 -1
- package/dist/ui/DsSavedButton/DsSavedButton.vue.d.ts +12 -5
- package/dist/ui/DsTagPicker/DsTagPicker.types.d.ts +15 -2
- package/dist/ui/DsTagPicker/DsTagPicker.vue.d.ts +38 -5
- package/dist/ui/DsTooltip/DsTooltip.vue.d.ts +1 -1
- package/dist/ui/DsUpgradeNotice/DsUpgradeNotice.types.d.ts +13 -0
- package/dist/ui/DsUpgradeNotice/DsUpgradeNotice.vue.d.ts +43 -0
- package/dist/ui/DsUpgradeNotice/index.d.ts +2 -0
- package/llms-full.txt +845 -50
- package/llms.txt +13 -0
- package/package.json +1 -1
- package/src/icons/manifest.json +27 -0
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
2
|
import { type DsNotificationType, type DsNotificationRole, type DsNotificationPosition, type DsNotificationLinkTarget } from './DsNotification.types';
|
|
3
|
-
declare
|
|
3
|
+
declare function hold(): void;
|
|
4
|
+
declare function release(): void;
|
|
5
|
+
declare function onClose(): void;
|
|
6
|
+
declare var __VLS_9: {
|
|
7
|
+
pause: typeof hold;
|
|
8
|
+
resume: typeof release;
|
|
9
|
+
close: typeof onClose;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
action?: (props: typeof __VLS_9) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
15
|
type: {
|
|
5
16
|
type: PropType<DsNotificationType>;
|
|
6
17
|
default: "info";
|
|
@@ -45,6 +56,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
45
56
|
type: NumberConstructor;
|
|
46
57
|
default: number;
|
|
47
58
|
};
|
|
59
|
+
icon: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
48
63
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
49
64
|
close: (...args: any[]) => void;
|
|
50
65
|
navigate: (...args: any[]) => void;
|
|
@@ -93,6 +108,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
93
108
|
type: NumberConstructor;
|
|
94
109
|
default: number;
|
|
95
110
|
};
|
|
111
|
+
icon: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
96
115
|
}>> & Readonly<{
|
|
97
116
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
98
117
|
onNavigate?: ((...args: any[]) => any) | undefined;
|
|
@@ -104,9 +123,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
104
123
|
closeLabel: string;
|
|
105
124
|
position: DsNotificationPosition;
|
|
106
125
|
description: string;
|
|
126
|
+
icon: string;
|
|
107
127
|
duration: number;
|
|
108
128
|
linkTitle: string;
|
|
109
129
|
linkTarget: DsNotificationLinkTarget;
|
|
110
130
|
showClose: boolean;
|
|
111
131
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
132
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
112
133
|
export default _default;
|
|
134
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
135
|
+
new (): {
|
|
136
|
+
$slots: S;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import { type DsTeleportTarget } from '../../composables/useTeleportTarget';
|
|
1
2
|
import { type DsNotificationPosition } from './DsNotification.types';
|
|
2
|
-
export declare function notificationTeleportTarget(position: DsNotificationPosition):
|
|
3
|
+
export declare function notificationTeleportTarget(position: DsNotificationPosition, target?: DsTeleportTarget): DsTeleportTarget;
|
|
@@ -10,7 +10,7 @@ export interface DsOrganizerFormProps {
|
|
|
10
10
|
/** The selected swatch (one of `colors`). Empty = none selected. */
|
|
11
11
|
color?: string;
|
|
12
12
|
/** Swatches to pick from (hex strings). The consumer owns the palette. */
|
|
13
|
-
colors: string[];
|
|
13
|
+
colors: readonly string[];
|
|
14
14
|
/** Submit button label ("Create & Select", "Save"). */
|
|
15
15
|
submitLabel: string;
|
|
16
16
|
/** Submitting: the button shows its spinner and every submit path is blocked. */
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
15
|
colors: {
|
|
16
|
-
type: PropType<string[]>;
|
|
16
|
+
type: PropType<readonly string[]>;
|
|
17
17
|
required: true;
|
|
18
18
|
};
|
|
19
19
|
submitLabel: {
|
|
@@ -81,7 +81,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
81
81
|
default: string;
|
|
82
82
|
};
|
|
83
83
|
colors: {
|
|
84
|
-
type: PropType<string[]>;
|
|
84
|
+
type: PropType<readonly string[]>;
|
|
85
85
|
required: true;
|
|
86
86
|
};
|
|
87
87
|
submitLabel: {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Panel width in px, unified with the full-profile drawers. */
|
|
2
|
+
export declare const DS_PANEL_FRAME_DEFAULT_WIDTH = 440;
|
|
3
|
+
export interface DsPanelFrameProps {
|
|
4
|
+
/** Name of the landmark (e.g. «SalesQL panel»). App copy. */
|
|
5
|
+
label: string;
|
|
6
|
+
/** Card width. A number is px; a string is any CSS length. Default 440px. */
|
|
7
|
+
width?: number | string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
header?: (props: typeof __VLS_1) => any;
|
|
4
|
+
} & {
|
|
5
|
+
toolbar?: (props: typeof __VLS_3) => any;
|
|
6
|
+
} & {
|
|
7
|
+
default?: (props: typeof __VLS_5) => any;
|
|
8
|
+
} & {
|
|
9
|
+
footer?: (props: typeof __VLS_7) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
|
+
label: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
width: {
|
|
17
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
label: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
width: {
|
|
26
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
27
|
+
default: number;
|
|
28
|
+
};
|
|
29
|
+
}>> & Readonly<{}>, {
|
|
30
|
+
width: string | number;
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface DsPanelHeaderProps {
|
|
2
|
+
/** Accessible name of the logo (e.g. «SalesQL»). Empty = decorative. App copy. */
|
|
3
|
+
logoLabel?: string;
|
|
4
|
+
/** «Open dashboard»: the button's tooltip and its aria-label. App copy. */
|
|
5
|
+
openLabel: string;
|
|
6
|
+
/** «Minimize»: the button's tooltip and its aria-label. App copy. */
|
|
7
|
+
minimizeLabel: string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
logoLabel: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
openLabel: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
minimizeLabel: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
open: (...args: any[]) => void;
|
|
16
|
+
minimize: (...args: any[]) => void;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
logoLabel: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
openLabel: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
minimizeLabel: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
}>> & Readonly<{
|
|
31
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
onMinimize?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
logoLabel: string;
|
|
35
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
36
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { DsTooltipPlacement } from '../../ui/DsTooltip';
|
|
2
|
+
export interface DsPanelLauncherProps {
|
|
3
|
+
/** «Open SalesQL»: the tooltip and the button's aria-label. App copy. */
|
|
4
|
+
label: string;
|
|
5
|
+
/** Side of the tooltip (default `left`, toward the page the launcher floats over). */
|
|
6
|
+
tooltipPlacement?: DsTooltipPlacement;
|
|
7
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import { type DsTooltipPlacement } from '../../ui/DsTooltip';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
label: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
tooltipPlacement: {
|
|
9
|
+
type: PropType<DsTooltipPlacement>;
|
|
10
|
+
default: "left";
|
|
11
|
+
};
|
|
12
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
click: (...args: any[]) => void;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
label: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
tooltipPlacement: {
|
|
20
|
+
type: PropType<DsTooltipPlacement>;
|
|
21
|
+
default: "left";
|
|
22
|
+
};
|
|
23
|
+
}>> & Readonly<{
|
|
24
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
tooltipPlacement: DsTooltipPlacement;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
28
|
+
export default _default;
|
|
@@ -116,10 +116,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
116
116
|
"onBackdrop-click"?: ((...args: any[]) => any) | undefined;
|
|
117
117
|
}>, {
|
|
118
118
|
width: string;
|
|
119
|
-
flush: boolean;
|
|
120
119
|
open: boolean;
|
|
121
|
-
closeOnEscape: boolean;
|
|
122
120
|
block: boolean;
|
|
121
|
+
flush: boolean;
|
|
122
|
+
closeOnEscape: boolean;
|
|
123
123
|
offset: string;
|
|
124
124
|
placement: DsPopoverPlacement;
|
|
125
125
|
teleported: boolean;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/** Every string of the bar. Pass a partial: it overrides only its keys. */
|
|
2
|
+
export interface DsProfileActionBarCopy {
|
|
3
|
+
/** The button's text. */
|
|
4
|
+
reveal: string;
|
|
5
|
+
/** What revealing costs («Show details · 1 credit / contact»). Empty → no tooltip. */
|
|
6
|
+
revealTooltip: string;
|
|
7
|
+
/** The button's accessible name while revealing, when its text is hidden behind the spinner. */
|
|
8
|
+
revealing: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const DS_PROFILE_ACTION_BAR_COPY: DsProfileActionBarCopy;
|
|
11
|
+
export interface DsProfileActionBarProps {
|
|
12
|
+
/** The contact is revealed: the button gives way to the row of actions in the default slot. */
|
|
13
|
+
revealed?: boolean;
|
|
14
|
+
/** The app is revealing: the button shows the spinner, the tooltip sleeps and a click is ignored. */
|
|
15
|
+
revealing?: boolean;
|
|
16
|
+
copy?: Partial<DsProfileActionBarCopy>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import { type DsProfileActionBarCopy } from './DsProfileActionBar.types';
|
|
3
|
+
declare var __VLS_1: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_1) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
revealed: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
revealing: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
copy: {
|
|
17
|
+
type: PropType<Partial<DsProfileActionBarCopy>>;
|
|
18
|
+
default: undefined;
|
|
19
|
+
};
|
|
20
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
reveal: (...args: any[]) => void;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
revealed: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
revealing: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
copy: {
|
|
32
|
+
type: PropType<Partial<DsProfileActionBarCopy>>;
|
|
33
|
+
default: undefined;
|
|
34
|
+
};
|
|
35
|
+
}>> & Readonly<{
|
|
36
|
+
onReveal?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
}>, {
|
|
38
|
+
copy: Partial<DsProfileActionBarCopy>;
|
|
39
|
+
revealing: boolean;
|
|
40
|
+
revealed: boolean;
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
42
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
43
|
+
export default _default;
|
|
44
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { DsContactGroup } from '../../ui/DsContactGroups';
|
|
2
|
+
export interface DsProfileContactDataCardProps {
|
|
3
|
+
/** The card's name («Contact data»), already translated. */
|
|
4
|
+
title: string;
|
|
5
|
+
/** One group per kind (emails, phones), as DsContactGroups takes them. */
|
|
6
|
+
groups: DsContactGroup[];
|
|
7
|
+
/** Total of data found, next to the title. `null` → no counter. */
|
|
8
|
+
count?: number | null;
|
|
9
|
+
/** The text of the A+ badge on a valid email. */
|
|
10
|
+
badgeLabel: string;
|
|
11
|
+
/** What the A+ badge means. */
|
|
12
|
+
badgeTooltip: string;
|
|
13
|
+
/** The «Verifying» pill's text and meaning; the pill renders only with its label. */
|
|
14
|
+
verifyingLabel?: string;
|
|
15
|
+
verifyingTooltip?: string;
|
|
16
|
+
/** Same for the «Invalid» pill. */
|
|
17
|
+
invalidLabel?: string;
|
|
18
|
+
invalidTooltip?: string;
|
|
19
|
+
/** Thumbs up / down on every row that can be rated. */
|
|
20
|
+
showRate?: boolean;
|
|
21
|
+
/** Spoken once per masked value instead of its circles. */
|
|
22
|
+
maskedLabel?: string;
|
|
23
|
+
/** Accessible names of the row actions. Unset → DsContactList's English defaults. */
|
|
24
|
+
copyLabel?: string;
|
|
25
|
+
copiedLabel?: string;
|
|
26
|
+
correctLabel?: string;
|
|
27
|
+
incorrectLabel?: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import { type DsContactGroup } from '../../ui/DsContactGroups';
|
|
3
|
+
declare var __VLS_6: {}, __VLS_12: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
actions?: (props: typeof __VLS_6) => any;
|
|
6
|
+
} & {
|
|
7
|
+
notice?: (props: typeof __VLS_12) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
|
+
title: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
groups: {
|
|
15
|
+
type: PropType<DsContactGroup[]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
count: {
|
|
19
|
+
type: PropType<number | null>;
|
|
20
|
+
default: null;
|
|
21
|
+
};
|
|
22
|
+
badgeLabel: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
badgeTooltip: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
verifyingLabel: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
verifyingTooltip: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: undefined;
|
|
37
|
+
};
|
|
38
|
+
invalidLabel: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
invalidTooltip: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: undefined;
|
|
45
|
+
};
|
|
46
|
+
showRate: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
maskedLabel: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: undefined;
|
|
53
|
+
};
|
|
54
|
+
copyLabel: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: undefined;
|
|
57
|
+
};
|
|
58
|
+
copiedLabel: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: undefined;
|
|
61
|
+
};
|
|
62
|
+
correctLabel: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: undefined;
|
|
65
|
+
};
|
|
66
|
+
incorrectLabel: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: undefined;
|
|
69
|
+
};
|
|
70
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
71
|
+
copy: (...args: any[]) => void;
|
|
72
|
+
correct: (...args: any[]) => void;
|
|
73
|
+
incorrect: (...args: any[]) => void;
|
|
74
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
75
|
+
title: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
required: true;
|
|
78
|
+
};
|
|
79
|
+
groups: {
|
|
80
|
+
type: PropType<DsContactGroup[]>;
|
|
81
|
+
required: true;
|
|
82
|
+
};
|
|
83
|
+
count: {
|
|
84
|
+
type: PropType<number | null>;
|
|
85
|
+
default: null;
|
|
86
|
+
};
|
|
87
|
+
badgeLabel: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
required: true;
|
|
90
|
+
};
|
|
91
|
+
badgeTooltip: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
required: true;
|
|
94
|
+
};
|
|
95
|
+
verifyingLabel: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: undefined;
|
|
98
|
+
};
|
|
99
|
+
verifyingTooltip: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
default: undefined;
|
|
102
|
+
};
|
|
103
|
+
invalidLabel: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: undefined;
|
|
106
|
+
};
|
|
107
|
+
invalidTooltip: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: undefined;
|
|
110
|
+
};
|
|
111
|
+
showRate: {
|
|
112
|
+
type: BooleanConstructor;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
115
|
+
maskedLabel: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
default: undefined;
|
|
118
|
+
};
|
|
119
|
+
copyLabel: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
default: undefined;
|
|
122
|
+
};
|
|
123
|
+
copiedLabel: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
default: undefined;
|
|
126
|
+
};
|
|
127
|
+
correctLabel: {
|
|
128
|
+
type: StringConstructor;
|
|
129
|
+
default: undefined;
|
|
130
|
+
};
|
|
131
|
+
incorrectLabel: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
default: undefined;
|
|
134
|
+
};
|
|
135
|
+
}>> & Readonly<{
|
|
136
|
+
onCopy?: ((...args: any[]) => any) | undefined;
|
|
137
|
+
onCorrect?: ((...args: any[]) => any) | undefined;
|
|
138
|
+
onIncorrect?: ((...args: any[]) => any) | undefined;
|
|
139
|
+
}>, {
|
|
140
|
+
showRate: boolean;
|
|
141
|
+
copyLabel: string;
|
|
142
|
+
copiedLabel: string;
|
|
143
|
+
correctLabel: string;
|
|
144
|
+
incorrectLabel: string;
|
|
145
|
+
maskedLabel: string;
|
|
146
|
+
verifyingLabel: string;
|
|
147
|
+
verifyingTooltip: string;
|
|
148
|
+
invalidLabel: string;
|
|
149
|
+
invalidTooltip: string;
|
|
150
|
+
count: number | null;
|
|
151
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
152
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
153
|
+
export default _default;
|
|
154
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
155
|
+
new (): {
|
|
156
|
+
$slots: S;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { DsProfileField } from '../../ui/DsProfileCompanyCard';
|
|
2
|
+
/** One entry of Experience or Education. */
|
|
3
|
+
export interface DsProfileTimelineItem {
|
|
4
|
+
/** Stable key for the row. */
|
|
5
|
+
id: string | number;
|
|
6
|
+
/** Job title / school. */
|
|
7
|
+
title: string;
|
|
8
|
+
/** Company / degree. Empty → not rendered. */
|
|
9
|
+
subtitle?: string;
|
|
10
|
+
/** Date range, already formatted by the app. Empty → not rendered. */
|
|
11
|
+
dates?: string;
|
|
12
|
+
/** Logo URL. Empty, or failing to load, falls back to a placeholder box. */
|
|
13
|
+
logo?: string;
|
|
14
|
+
}
|
|
15
|
+
/** Every string of the sections. Pass a partial: it overrides only its keys. */
|
|
16
|
+
export interface DsProfileRichSectionsCopy {
|
|
17
|
+
/** Name of the Details card («Metadata»). */
|
|
18
|
+
details: string;
|
|
19
|
+
about: string;
|
|
20
|
+
experience: string;
|
|
21
|
+
education: string;
|
|
22
|
+
/** Tooltip of every locked stub: how to unlock. */
|
|
23
|
+
lockHint: string;
|
|
24
|
+
/** The toggle that un-clamps the About. */
|
|
25
|
+
showMore: string;
|
|
26
|
+
/** The toggle that clamps it again. */
|
|
27
|
+
showLess: string;
|
|
28
|
+
/** Title of the locked Experience stub, with the number of entries («Experience · 3»). */
|
|
29
|
+
experienceLocked: (count: number) => string;
|
|
30
|
+
/** Title of the locked Education stub, with the number of entries. */
|
|
31
|
+
educationLocked: (count: number) => string;
|
|
32
|
+
}
|
|
33
|
+
export declare const DS_PROFILE_RICH_SECTIONS_COPY: DsProfileRichSectionsCopy;
|
|
34
|
+
export interface DsProfileRichSectionsProps {
|
|
35
|
+
/** The contact is revealed: the sections show their content. Off → locked stubs. */
|
|
36
|
+
unlocked?: boolean;
|
|
37
|
+
/** Label / value rows of the Details card. A row with an empty value is dropped. */
|
|
38
|
+
details?: DsProfileField[];
|
|
39
|
+
/** The person's bio. Its line breaks are kept. Empty → no About. */
|
|
40
|
+
about?: string;
|
|
41
|
+
experience?: DsProfileTimelineItem[];
|
|
42
|
+
education?: DsProfileTimelineItem[];
|
|
43
|
+
copy?: Partial<DsProfileRichSectionsCopy>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { DsProfileField } from '../../ui/DsProfileCompanyCard';
|
|
3
|
+
import { type DsProfileRichSectionsCopy, type DsProfileTimelineItem } from './DsProfileRichSections.types';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
+
unlocked: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
details: {
|
|
10
|
+
type: PropType<DsProfileField[]>;
|
|
11
|
+
default: () => never[];
|
|
12
|
+
};
|
|
13
|
+
about: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
experience: {
|
|
18
|
+
type: PropType<DsProfileTimelineItem[]>;
|
|
19
|
+
default: () => never[];
|
|
20
|
+
};
|
|
21
|
+
education: {
|
|
22
|
+
type: PropType<DsProfileTimelineItem[]>;
|
|
23
|
+
default: () => never[];
|
|
24
|
+
};
|
|
25
|
+
copy: {
|
|
26
|
+
type: PropType<Partial<DsProfileRichSectionsCopy>>;
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
29
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
unlocked: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
details: {
|
|
35
|
+
type: PropType<DsProfileField[]>;
|
|
36
|
+
default: () => never[];
|
|
37
|
+
};
|
|
38
|
+
about: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
experience: {
|
|
43
|
+
type: PropType<DsProfileTimelineItem[]>;
|
|
44
|
+
default: () => never[];
|
|
45
|
+
};
|
|
46
|
+
education: {
|
|
47
|
+
type: PropType<DsProfileTimelineItem[]>;
|
|
48
|
+
default: () => never[];
|
|
49
|
+
};
|
|
50
|
+
copy: {
|
|
51
|
+
type: PropType<Partial<DsProfileRichSectionsCopy>>;
|
|
52
|
+
default: undefined;
|
|
53
|
+
};
|
|
54
|
+
}>> & Readonly<{}>, {
|
|
55
|
+
details: DsProfileField[];
|
|
56
|
+
copy: Partial<DsProfileRichSectionsCopy>;
|
|
57
|
+
about: string;
|
|
58
|
+
unlocked: boolean;
|
|
59
|
+
experience: DsProfileTimelineItem[];
|
|
60
|
+
education: DsProfileTimelineItem[];
|
|
61
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
62
|
+
export default _default;
|
|
@@ -34,7 +34,7 @@ export interface DsSavedButtonProps {
|
|
|
34
34
|
/** The ⋮ menu on each row: absent (default), `edit` / `delete` events, or Edit also opens the form (needs `colors`). Accepts the deprecated boolean. */
|
|
35
35
|
rowActions?: DsPickerRowActionsMode | boolean;
|
|
36
36
|
/** Swatches (hex) of the in-panel form. Only the palette: it gates nothing by itself. */
|
|
37
|
-
colors?: string[];
|
|
37
|
+
colors?: readonly string[];
|
|
38
38
|
/** The app is saving the form: its submit button shows the spinner and is blocked. */
|
|
39
39
|
formLoading?: boolean;
|
|
40
40
|
/** A failed save, shown under the name field. */
|