@salesql/sql_components_vue3 3.23.0 → 3.26.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 +31 -3
- package/dist/index.es.js +4205 -3040
- 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/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 +160 -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 +806 -41
- package/llms.txt +13 -0
- package/package.json +1 -1
- package/src/icons/manifest.json +27 -0
|
@@ -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,160 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import { type DsContactGroup } from '../../ui/DsContactGroups';
|
|
3
|
+
declare var __VLS_6: {}, __VLS_8: {}, __VLS_14: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
actions?: (props: typeof __VLS_6) => any;
|
|
6
|
+
} & {
|
|
7
|
+
editor?: (props: typeof __VLS_8) => any;
|
|
8
|
+
} & {
|
|
9
|
+
notice?: (props: typeof __VLS_14) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
|
+
title: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
groups: {
|
|
17
|
+
type: PropType<DsContactGroup[]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
count: {
|
|
21
|
+
type: PropType<number | null>;
|
|
22
|
+
default: null;
|
|
23
|
+
};
|
|
24
|
+
badgeLabel: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
badgeTooltip: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
verifyingLabel: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
verifyingTooltip: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
40
|
+
invalidLabel: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
invalidTooltip: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: undefined;
|
|
47
|
+
};
|
|
48
|
+
showRate: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
maskedLabel: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: undefined;
|
|
55
|
+
};
|
|
56
|
+
copyLabel: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: undefined;
|
|
59
|
+
};
|
|
60
|
+
copiedLabel: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: undefined;
|
|
63
|
+
};
|
|
64
|
+
correctLabel: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: undefined;
|
|
67
|
+
};
|
|
68
|
+
incorrectLabel: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: undefined;
|
|
71
|
+
};
|
|
72
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
73
|
+
copy: (...args: any[]) => void;
|
|
74
|
+
correct: (...args: any[]) => void;
|
|
75
|
+
incorrect: (...args: any[]) => void;
|
|
76
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
77
|
+
title: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
required: true;
|
|
80
|
+
};
|
|
81
|
+
groups: {
|
|
82
|
+
type: PropType<DsContactGroup[]>;
|
|
83
|
+
required: true;
|
|
84
|
+
};
|
|
85
|
+
count: {
|
|
86
|
+
type: PropType<number | null>;
|
|
87
|
+
default: null;
|
|
88
|
+
};
|
|
89
|
+
badgeLabel: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
required: true;
|
|
92
|
+
};
|
|
93
|
+
badgeTooltip: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
required: true;
|
|
96
|
+
};
|
|
97
|
+
verifyingLabel: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
default: undefined;
|
|
100
|
+
};
|
|
101
|
+
verifyingTooltip: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
default: undefined;
|
|
104
|
+
};
|
|
105
|
+
invalidLabel: {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
default: undefined;
|
|
108
|
+
};
|
|
109
|
+
invalidTooltip: {
|
|
110
|
+
type: StringConstructor;
|
|
111
|
+
default: undefined;
|
|
112
|
+
};
|
|
113
|
+
showRate: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
117
|
+
maskedLabel: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
default: undefined;
|
|
120
|
+
};
|
|
121
|
+
copyLabel: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
default: undefined;
|
|
124
|
+
};
|
|
125
|
+
copiedLabel: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
default: undefined;
|
|
128
|
+
};
|
|
129
|
+
correctLabel: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
default: undefined;
|
|
132
|
+
};
|
|
133
|
+
incorrectLabel: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
default: undefined;
|
|
136
|
+
};
|
|
137
|
+
}>> & Readonly<{
|
|
138
|
+
onCopy?: ((...args: any[]) => any) | undefined;
|
|
139
|
+
onCorrect?: ((...args: any[]) => any) | undefined;
|
|
140
|
+
onIncorrect?: ((...args: any[]) => any) | undefined;
|
|
141
|
+
}>, {
|
|
142
|
+
showRate: boolean;
|
|
143
|
+
copyLabel: string;
|
|
144
|
+
copiedLabel: string;
|
|
145
|
+
correctLabel: string;
|
|
146
|
+
incorrectLabel: string;
|
|
147
|
+
maskedLabel: string;
|
|
148
|
+
verifyingLabel: string;
|
|
149
|
+
verifyingTooltip: string;
|
|
150
|
+
invalidLabel: string;
|
|
151
|
+
invalidTooltip: string;
|
|
152
|
+
count: number | null;
|
|
153
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
154
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
155
|
+
export default _default;
|
|
156
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
157
|
+
new (): {
|
|
158
|
+
$slots: S;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
@@ -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. */
|
|
@@ -2,13 +2,20 @@ import { type PropType } from 'vue';
|
|
|
2
2
|
import { type DsTooltipPlacement } from '../../ui/DsTooltip';
|
|
3
3
|
import { type DsPickerAlign, type DsPickerCreateMode, type DsPickerOption, type DsPickerRowActionsMode, type DsPickerSize } from '../../constants/pickers';
|
|
4
4
|
import { type DsSavedButtonCopy } from './DsSavedButton.types';
|
|
5
|
+
declare function toggle(): void;
|
|
5
6
|
declare function openCreateForm(name?: string): void;
|
|
6
|
-
declare var
|
|
7
|
+
declare var __VLS_9: {
|
|
8
|
+
open: boolean;
|
|
9
|
+
toggle: typeof toggle;
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
}, __VLS_57: {
|
|
7
12
|
query: string;
|
|
8
13
|
openCreateForm: typeof openCreateForm;
|
|
9
14
|
};
|
|
10
15
|
type __VLS_Slots = {} & {
|
|
11
|
-
|
|
16
|
+
trigger?: (props: typeof __VLS_9) => any;
|
|
17
|
+
} & {
|
|
18
|
+
footer?: (props: typeof __VLS_57) => any;
|
|
12
19
|
};
|
|
13
20
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
14
21
|
label: {
|
|
@@ -66,7 +73,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
66
73
|
validator: (value: unknown, props: Record<string, unknown>) => boolean;
|
|
67
74
|
};
|
|
68
75
|
colors: {
|
|
69
|
-
type: PropType<string[]>;
|
|
76
|
+
type: PropType<readonly string[]>;
|
|
70
77
|
default: () => never[];
|
|
71
78
|
};
|
|
72
79
|
formLoading: {
|
|
@@ -209,7 +216,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
209
216
|
validator: (value: unknown, props: Record<string, unknown>) => boolean;
|
|
210
217
|
};
|
|
211
218
|
colors: {
|
|
212
|
-
type: PropType<string[]>;
|
|
219
|
+
type: PropType<readonly string[]>;
|
|
213
220
|
default: () => never[];
|
|
214
221
|
};
|
|
215
222
|
formLoading: {
|
|
@@ -307,7 +314,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
307
314
|
editLabel: string;
|
|
308
315
|
emptyLabel: string;
|
|
309
316
|
searchPlaceholder: string;
|
|
310
|
-
colors: string[];
|
|
317
|
+
colors: readonly string[];
|
|
311
318
|
createLabel: string;
|
|
312
319
|
setColorLabel: string;
|
|
313
320
|
backLabel: string;
|
|
@@ -14,8 +14,19 @@ export interface DsTagPickerCopy extends DsPickerOrganizerCopy {
|
|
|
14
14
|
createRow: string;
|
|
15
15
|
/** The footer «+ New» button, only with `create: 'form'`. */
|
|
16
16
|
newButton: string;
|
|
17
|
+
/** `selection: 'single'`: the row that clears the applied tag. Optional, so a complete copy written before it still compiles. */
|
|
18
|
+
removeTag?: string;
|
|
17
19
|
}
|
|
18
|
-
|
|
20
|
+
/** The copy the picker renders: every key it shows resolved. */
|
|
21
|
+
export type DsTagPickerResolvedCopy = DsTagPickerCopy & {
|
|
22
|
+
removeTag: string;
|
|
23
|
+
};
|
|
24
|
+
export declare const DS_TAG_PICKER_COPY: DsTagPickerResolvedCopy;
|
|
25
|
+
export declare const DS_TAG_PICKER_SELECTIONS: {
|
|
26
|
+
readonly MULTIPLE: "multiple";
|
|
27
|
+
readonly SINGLE: "single";
|
|
28
|
+
};
|
|
29
|
+
export type DsTagPickerSelection = (typeof DS_TAG_PICKER_SELECTIONS)[keyof typeof DS_TAG_PICKER_SELECTIONS];
|
|
19
30
|
export interface DsTagPickerProps {
|
|
20
31
|
/** Trigger label while no tag is applied ("Tag"). App copy. */
|
|
21
32
|
label: string;
|
|
@@ -28,12 +39,14 @@ export interface DsTagPickerProps {
|
|
|
28
39
|
pill?: boolean;
|
|
29
40
|
align?: DsPickerAlign;
|
|
30
41
|
disabled?: boolean;
|
|
42
|
+
/** `single`: at most one tag; picking applies at once and «Remove tag» clears it. Default `multiple` (checkboxes + Apply). */
|
|
43
|
+
selection?: DsTagPickerSelection;
|
|
31
44
|
/** What the create affordance does: nothing (default), emit `create`, or open the in-panel form and show «+ New» (needs `colors`). */
|
|
32
45
|
create?: DsPickerCreateMode;
|
|
33
46
|
/** The ⋮ menu on each row: absent (default), `edit` / `delete` events, or Edit also opens the form (needs `colors`). Accepts the deprecated boolean. */
|
|
34
47
|
rowActions?: DsPickerRowActionsMode | boolean;
|
|
35
48
|
/** Swatches (hex) of the in-panel form. Only the palette: it gates nothing by itself. */
|
|
36
|
-
colors?: string[];
|
|
49
|
+
colors?: readonly string[];
|
|
37
50
|
/** The app is saving the form: its submit button shows the spinner and is blocked. */
|
|
38
51
|
formLoading?: boolean;
|
|
39
52
|
/** A failed save, shown under the name field. */
|