@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.
Files changed (73) hide show
  1. package/dist/composables/shadowDom.d.ts +4 -0
  2. package/dist/composables/useTeleportTarget.d.ts +11 -0
  3. package/dist/constants/events.d.ts +6 -0
  4. package/dist/constants/pickers.d.ts +5 -0
  5. package/dist/index.cjs +1 -1
  6. package/dist/index.cjs.map +1 -1
  7. package/dist/index.d.ts +32 -4
  8. package/dist/index.es.js +4244 -3074
  9. package/dist/index.es.js.map +1 -1
  10. package/dist/sql_components_vue3.css +1 -1
  11. package/dist/stories/ShadowRootStage.vue.d.ts +12 -0
  12. package/dist/ui/DsActionMenu/DsActionMenu.vue.d.ts +1 -1
  13. package/dist/ui/DsAddToBar/DsAddToBar.types.d.ts +4 -0
  14. package/dist/ui/DsAddToBar/DsAddToBar.vue.d.ts +22 -0
  15. package/dist/ui/DsAddToBar/index.d.ts +2 -0
  16. package/dist/ui/DsAddToSequence/DsAddToSequence.vue.d.ts +10 -1
  17. package/dist/ui/DsBrandLogo/DsBrandLogo.types.d.ts +13 -0
  18. package/dist/ui/DsBrandLogo/DsBrandLogo.vue.d.ts +34 -0
  19. package/dist/ui/DsBrandLogo/index.d.ts +2 -0
  20. package/dist/ui/DsBulkBar/DsBulkBar.types.d.ts +21 -0
  21. package/dist/ui/DsBulkBar/DsBulkBar.vue.d.ts +65 -0
  22. package/dist/ui/DsBulkBar/index.d.ts +2 -0
  23. package/dist/ui/DsButton/DsButton.vue.d.ts +3 -0
  24. package/dist/ui/DsContactGroups/DsContactGroups.types.d.ts +31 -0
  25. package/dist/ui/DsContactGroups/DsContactGroups.vue.d.ts +138 -0
  26. package/dist/ui/DsContactGroups/index.d.ts +2 -0
  27. package/dist/ui/DsContactRow/DsContactRow.types.d.ts +20 -0
  28. package/dist/ui/DsContactRow/DsContactRow.vue.d.ts +94 -0
  29. package/dist/ui/DsContactRow/index.d.ts +2 -0
  30. package/dist/ui/DsDrawer/DsDrawer.vue.d.ts +1 -1
  31. package/dist/ui/DsEmailEditor/DsEmailEditor.types.d.ts +22 -2
  32. package/dist/ui/DsFullProfile/DsFullProfile.types.d.ts +11 -0
  33. package/dist/ui/DsFullProfile/DsFullProfile.vue.d.ts +56 -0
  34. package/dist/ui/DsFullProfile/index.d.ts +2 -0
  35. package/dist/ui/DsInput/DsInput.vue.d.ts +1 -1
  36. package/dist/ui/DsItemSelectorButton/DsItemSelectorButton.types.d.ts +2 -0
  37. package/dist/ui/DsItemSelectorButton/DsItemSelectorButton.vue.d.ts +9 -0
  38. package/dist/ui/DsModal/DsModal.vue.d.ts +1 -1
  39. package/dist/ui/DsNotification/DsNotification.vue.d.ts +27 -1
  40. package/dist/ui/DsNotification/notificationStack.d.ts +2 -1
  41. package/dist/ui/DsOrganizerForm/DsOrganizerForm.types.d.ts +1 -1
  42. package/dist/ui/DsOrganizerForm/DsOrganizerForm.vue.d.ts +2 -2
  43. package/dist/ui/DsPanelFrame/DsPanelFrame.types.d.ts +8 -0
  44. package/dist/ui/DsPanelFrame/DsPanelFrame.vue.d.ts +38 -0
  45. package/dist/ui/DsPanelFrame/index.d.ts +2 -0
  46. package/dist/ui/DsPanelHeader/DsPanelHeader.types.d.ts +8 -0
  47. package/dist/ui/DsPanelHeader/DsPanelHeader.vue.d.ts +36 -0
  48. package/dist/ui/DsPanelHeader/index.d.ts +2 -0
  49. package/dist/ui/DsPanelLauncher/DsPanelLauncher.types.d.ts +7 -0
  50. package/dist/ui/DsPanelLauncher/DsPanelLauncher.vue.d.ts +28 -0
  51. package/dist/ui/DsPanelLauncher/index.d.ts +2 -0
  52. package/dist/ui/DsPopover/DsPopover.vue.d.ts +2 -2
  53. package/dist/ui/DsProfileActionBar/DsProfileActionBar.types.d.ts +17 -0
  54. package/dist/ui/DsProfileActionBar/DsProfileActionBar.vue.d.ts +48 -0
  55. package/dist/ui/DsProfileActionBar/index.d.ts +2 -0
  56. package/dist/ui/DsProfileContactDataCard/DsProfileContactDataCard.types.d.ts +28 -0
  57. package/dist/ui/DsProfileContactDataCard/DsProfileContactDataCard.vue.d.ts +158 -0
  58. package/dist/ui/DsProfileContactDataCard/index.d.ts +2 -0
  59. package/dist/ui/DsProfileRichSections/DsProfileRichSections.types.d.ts +44 -0
  60. package/dist/ui/DsProfileRichSections/DsProfileRichSections.vue.d.ts +62 -0
  61. package/dist/ui/DsProfileRichSections/index.d.ts +2 -0
  62. package/dist/ui/DsSavedButton/DsSavedButton.types.d.ts +1 -1
  63. package/dist/ui/DsSavedButton/DsSavedButton.vue.d.ts +12 -5
  64. package/dist/ui/DsTagPicker/DsTagPicker.types.d.ts +15 -2
  65. package/dist/ui/DsTagPicker/DsTagPicker.vue.d.ts +38 -5
  66. package/dist/ui/DsTooltip/DsTooltip.vue.d.ts +1 -1
  67. package/dist/ui/DsUpgradeNotice/DsUpgradeNotice.types.d.ts +13 -0
  68. package/dist/ui/DsUpgradeNotice/DsUpgradeNotice.vue.d.ts +43 -0
  69. package/dist/ui/DsUpgradeNotice/index.d.ts +2 -0
  70. package/llms-full.txt +845 -50
  71. package/llms.txt +13 -0
  72. package/package.json +1 -1
  73. package/src/icons/manifest.json +27 -0
@@ -0,0 +1,34 @@
1
+ import { type PropType } from 'vue';
2
+ import { type DsBrandLogoVariant } from './DsBrandLogo.types';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ variant: {
5
+ type: PropType<DsBrandLogoVariant>;
6
+ default: "imagotype";
7
+ };
8
+ size: {
9
+ type: NumberConstructor;
10
+ default: number;
11
+ };
12
+ label: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
+ variant: {
18
+ type: PropType<DsBrandLogoVariant>;
19
+ default: "imagotype";
20
+ };
21
+ size: {
22
+ type: NumberConstructor;
23
+ default: number;
24
+ };
25
+ label: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ }>> & Readonly<{}>, {
30
+ size: number;
31
+ label: string;
32
+ variant: DsBrandLogoVariant;
33
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
34
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as DsBrandLogo } from './DsBrandLogo.vue';
2
+ export * from './DsBrandLogo.types';
@@ -0,0 +1,21 @@
1
+ export interface DsBulkBarProps {
2
+ /** How many rows are selected. Drives the checkbox state, the text and the actions. */
3
+ selectedCount?: number;
4
+ /** How many rows can be selected. 0 = nothing to select: the checkbox is inert. */
5
+ total?: number;
6
+ /** Text and accessible name of the checkbox while nothing is selected («Select all»). App copy. */
7
+ selectAllLabel: string;
8
+ /**
9
+ * Text and accessible name once something is selected, count included («Selected (3)»).
10
+ * The app formats the whole string, so a locale can order the number as it needs.
11
+ */
12
+ selectedLabel: string;
13
+ /** Blocks the select-all checkbox (e.g. while a bulk action runs). */
14
+ disabled?: boolean;
15
+ }
16
+ /** Slot scope of `actions`. */
17
+ export interface DsBulkBarActionsSlotProps {
18
+ /** Always >= 1: the actions only render while something is selected. */
19
+ selectedCount: number;
20
+ total: number;
21
+ }
@@ -0,0 +1,65 @@
1
+ declare var __VLS_9: {
2
+ selectedCount: number;
3
+ total: number;
4
+ };
5
+ type __VLS_Slots = {} & {
6
+ actions?: (props: typeof __VLS_9) => any;
7
+ };
8
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
9
+ selectedCount: {
10
+ type: NumberConstructor;
11
+ default: number;
12
+ };
13
+ total: {
14
+ type: NumberConstructor;
15
+ default: number;
16
+ };
17
+ selectAllLabel: {
18
+ type: StringConstructor;
19
+ required: true;
20
+ };
21
+ selectedLabel: {
22
+ type: StringConstructor;
23
+ required: true;
24
+ };
25
+ disabled: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
+ "select-all": (...args: any[]) => void;
31
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
32
+ selectedCount: {
33
+ type: NumberConstructor;
34
+ default: number;
35
+ };
36
+ total: {
37
+ type: NumberConstructor;
38
+ default: number;
39
+ };
40
+ selectAllLabel: {
41
+ type: StringConstructor;
42
+ required: true;
43
+ };
44
+ selectedLabel: {
45
+ type: StringConstructor;
46
+ required: true;
47
+ };
48
+ disabled: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ }>> & Readonly<{
53
+ "onSelect-all"?: ((...args: any[]) => any) | undefined;
54
+ }>, {
55
+ disabled: boolean;
56
+ total: number;
57
+ selectedCount: number;
58
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
59
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
60
+ export default _default;
61
+ type __VLS_WithSlots<T, S> = T & {
62
+ new (): {
63
+ $slots: S;
64
+ };
65
+ };
@@ -0,0 +1,2 @@
1
+ export { default as DsBulkBar } from './DsBulkBar.vue';
2
+ export * from './DsBulkBar.types';
@@ -39,6 +39,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
39
39
  square: BooleanConstructor;
40
40
  noPadding: BooleanConstructor;
41
41
  pill: BooleanConstructor;
42
+ block: BooleanConstructor;
42
43
  selected: BooleanConstructor;
43
44
  autofocus: BooleanConstructor;
44
45
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -74,6 +75,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
74
75
  square: BooleanConstructor;
75
76
  noPadding: BooleanConstructor;
76
77
  pill: BooleanConstructor;
78
+ block: BooleanConstructor;
77
79
  selected: BooleanConstructor;
78
80
  autofocus: BooleanConstructor;
79
81
  }>> & Readonly<{
@@ -91,6 +93,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
91
93
  square: boolean;
92
94
  noPadding: boolean;
93
95
  pill: boolean;
96
+ block: boolean;
94
97
  selected: boolean;
95
98
  autofocus: boolean;
96
99
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,31 @@
1
+ import type { DsContactKind, DsContactSection } from '../../constants/contact-data';
2
+ import type { DsContactPlaceholderState } from '../../ui/DsContactPlaceholder';
3
+ export interface DsContactGroup {
4
+ /** Stable key, e.g. `emails`. */
5
+ key: string;
6
+ kind: DsContactKind;
7
+ /** One band per type, in display order. Sections without items are left out. */
8
+ sections: DsContactSection[];
9
+ /** Shown instead of the rows when no section has items. Omit to render nothing. */
10
+ placeholder?: DsContactPlaceholderState;
11
+ /** The placeholder's text, already translated («No emails found», «Revealing…»). */
12
+ placeholderLabel?: string;
13
+ }
14
+ export interface DsContactGroupsProps {
15
+ groups: DsContactGroup[];
16
+ /** The list row's bordered box (default). Off inside a card that draws its own edges. */
17
+ bordered?: boolean;
18
+ /** Forwarded to every `DsContactList`; see its props. */
19
+ badgeLabel: string;
20
+ badgeTooltip: string;
21
+ verifyingLabel?: string;
22
+ verifyingTooltip?: string;
23
+ invalidLabel?: string;
24
+ invalidTooltip?: string;
25
+ showRate?: boolean;
26
+ maskedLabel?: string;
27
+ copyLabel?: string;
28
+ copiedLabel?: string;
29
+ correctLabel?: string;
30
+ incorrectLabel?: string;
31
+ }
@@ -0,0 +1,138 @@
1
+ import type { PropType } from 'vue';
2
+ import type { DsContactGroup } from './DsContactGroups.types';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ groups: {
5
+ type: PropType<DsContactGroup[]>;
6
+ required: true;
7
+ };
8
+ bordered: {
9
+ type: BooleanConstructor;
10
+ default: boolean;
11
+ };
12
+ badgeLabel: {
13
+ type: StringConstructor;
14
+ required: true;
15
+ };
16
+ badgeTooltip: {
17
+ type: StringConstructor;
18
+ required: true;
19
+ };
20
+ verifyingLabel: {
21
+ type: StringConstructor;
22
+ default: undefined;
23
+ };
24
+ verifyingTooltip: {
25
+ type: StringConstructor;
26
+ default: undefined;
27
+ };
28
+ invalidLabel: {
29
+ type: StringConstructor;
30
+ default: undefined;
31
+ };
32
+ invalidTooltip: {
33
+ type: StringConstructor;
34
+ default: undefined;
35
+ };
36
+ showRate: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
40
+ maskedLabel: {
41
+ type: StringConstructor;
42
+ default: undefined;
43
+ };
44
+ copyLabel: {
45
+ type: StringConstructor;
46
+ default: undefined;
47
+ };
48
+ copiedLabel: {
49
+ type: StringConstructor;
50
+ default: undefined;
51
+ };
52
+ correctLabel: {
53
+ type: StringConstructor;
54
+ default: undefined;
55
+ };
56
+ incorrectLabel: {
57
+ type: StringConstructor;
58
+ default: undefined;
59
+ };
60
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
61
+ copy: (...args: any[]) => void;
62
+ correct: (...args: any[]) => void;
63
+ incorrect: (...args: any[]) => void;
64
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
65
+ groups: {
66
+ type: PropType<DsContactGroup[]>;
67
+ required: true;
68
+ };
69
+ bordered: {
70
+ type: BooleanConstructor;
71
+ default: boolean;
72
+ };
73
+ badgeLabel: {
74
+ type: StringConstructor;
75
+ required: true;
76
+ };
77
+ badgeTooltip: {
78
+ type: StringConstructor;
79
+ required: true;
80
+ };
81
+ verifyingLabel: {
82
+ type: StringConstructor;
83
+ default: undefined;
84
+ };
85
+ verifyingTooltip: {
86
+ type: StringConstructor;
87
+ default: undefined;
88
+ };
89
+ invalidLabel: {
90
+ type: StringConstructor;
91
+ default: undefined;
92
+ };
93
+ invalidTooltip: {
94
+ type: StringConstructor;
95
+ default: undefined;
96
+ };
97
+ showRate: {
98
+ type: BooleanConstructor;
99
+ default: boolean;
100
+ };
101
+ maskedLabel: {
102
+ type: StringConstructor;
103
+ default: undefined;
104
+ };
105
+ copyLabel: {
106
+ type: StringConstructor;
107
+ default: undefined;
108
+ };
109
+ copiedLabel: {
110
+ type: StringConstructor;
111
+ default: undefined;
112
+ };
113
+ correctLabel: {
114
+ type: StringConstructor;
115
+ default: undefined;
116
+ };
117
+ incorrectLabel: {
118
+ type: StringConstructor;
119
+ default: undefined;
120
+ };
121
+ }>> & Readonly<{
122
+ onCopy?: ((...args: any[]) => any) | undefined;
123
+ onCorrect?: ((...args: any[]) => any) | undefined;
124
+ onIncorrect?: ((...args: any[]) => any) | undefined;
125
+ }>, {
126
+ showRate: boolean;
127
+ copyLabel: string;
128
+ copiedLabel: string;
129
+ correctLabel: string;
130
+ incorrectLabel: string;
131
+ maskedLabel: string;
132
+ verifyingLabel: string;
133
+ verifyingTooltip: string;
134
+ invalidLabel: string;
135
+ invalidTooltip: string;
136
+ bordered: boolean;
137
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
138
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as DsContactGroups } from './DsContactGroups.vue';
2
+ export * from './DsContactGroups.types';
@@ -0,0 +1,20 @@
1
+ export interface DsContactRowProps {
2
+ firstName?: string;
3
+ lastName?: string;
4
+ /** Job title, one line. Gets a tooltip with the full text only while it is truncated. Empty → not rendered. */
5
+ jobTitle?: string;
6
+ /** Photo URL. Empty, or failing to load, falls back to DsAvatar's initials. */
7
+ image?: string;
8
+ /** Seeds the color of the initials fallback (DsAvatar). */
9
+ uid?: string;
10
+ /** v-model:selected — the row's checkbox. */
11
+ selected?: boolean;
12
+ /** Accessible name of the checkbox (it has no visible label), e.g. «Select Ada Lovelace». App copy. */
13
+ selectLabel: string;
14
+ /**
15
+ * Accessible name of the name button. Optional: the visible name already names it. When
16
+ * set it replaces that name, so it must contain it (WCAG 2.5.3), e.g. «Open Ada Lovelace's
17
+ * profile». Pass it when names can come back empty.
18
+ */
19
+ openLabel?: string;
20
+ }
@@ -0,0 +1,94 @@
1
+ declare var __VLS_17: {}, __VLS_19: {};
2
+ type __VLS_Slots = {} & {
3
+ action?: (props: typeof __VLS_17) => any;
4
+ } & {
5
+ default?: (props: typeof __VLS_19) => any;
6
+ };
7
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
+ firstName: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ lastName: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ jobTitle: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ image: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ uid: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ selected: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ selectLabel: {
33
+ type: StringConstructor;
34
+ required: true;
35
+ };
36
+ openLabel: {
37
+ type: StringConstructor;
38
+ default: string;
39
+ };
40
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
41
+ open: (...args: any[]) => void;
42
+ "update:selected": (...args: any[]) => void;
43
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
44
+ firstName: {
45
+ type: StringConstructor;
46
+ default: string;
47
+ };
48
+ lastName: {
49
+ type: StringConstructor;
50
+ default: string;
51
+ };
52
+ jobTitle: {
53
+ type: StringConstructor;
54
+ default: string;
55
+ };
56
+ image: {
57
+ type: StringConstructor;
58
+ default: string;
59
+ };
60
+ uid: {
61
+ type: StringConstructor;
62
+ default: string;
63
+ };
64
+ selected: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ };
68
+ selectLabel: {
69
+ type: StringConstructor;
70
+ required: true;
71
+ };
72
+ openLabel: {
73
+ type: StringConstructor;
74
+ default: string;
75
+ };
76
+ }>> & Readonly<{
77
+ onOpen?: ((...args: any[]) => any) | undefined;
78
+ "onUpdate:selected"?: ((...args: any[]) => any) | undefined;
79
+ }>, {
80
+ image: string;
81
+ selected: boolean;
82
+ firstName: string;
83
+ lastName: string;
84
+ uid: string;
85
+ openLabel: string;
86
+ jobTitle: string;
87
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
88
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
89
+ export default _default;
90
+ type __VLS_WithSlots<T, S> = T & {
91
+ new (): {
92
+ $slots: S;
93
+ };
94
+ };
@@ -0,0 +1,2 @@
1
+ export { default as DsContactRow } from './DsContactRow.vue';
2
+ export * from './DsContactRow.types';
@@ -117,10 +117,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
117
117
  }>, {
118
118
  title: string;
119
119
  width: number;
120
+ open: boolean;
120
121
  closeLabel: string;
121
122
  fixed: boolean;
122
123
  showClose: boolean;
123
- open: boolean;
124
124
  closeOnEscape: boolean;
125
125
  direction: DsDrawerDirection;
126
126
  maxWidth: number;
@@ -10,6 +10,26 @@ export interface DsEmailEditorGroup {
10
10
  title: string;
11
11
  items: DsEmailEditorItem[];
12
12
  }
13
+ /**
14
+ * One row of the form as `save` reports it, in display order. Removed rows are absent: the
15
+ * consumer derives deletions as the originals that appear in no entry. Rows left blank are absent
16
+ * too (same as in `values`), so `rows.map((row) => row.value)` equals `values`.
17
+ */
18
+ export interface DsEmailEditorSavedRow {
19
+ /** What the row holds now, trimmed (case kept, like `values`). */
20
+ value: string;
21
+ /**
22
+ * The value the row was seeded with from `items` / `groups` (trimmed), or `null` for a row
23
+ * added with «Add email». `value === original` means untouched; otherwise it is an edit of
24
+ * THAT original, whatever else was removed or added around it.
25
+ */
26
+ original: string | null;
27
+ /**
28
+ * The index in `groups` of the group the row was seeded from; `null` for a row added with
29
+ * «Add email» and for every row when the flat `items` are used.
30
+ */
31
+ group: number | null;
32
+ }
13
33
  /** Every string the editor shows or announces. The app owns it (and its i18n). */
14
34
  export interface DsEmailEditorCopy {
15
35
  /** Heading of the form ("Edit emails"). */
@@ -48,8 +68,8 @@ export interface DsEmailEditorProps {
48
68
  * removed) renders nothing, not even its subtitle. Rows added with «Add email» go at the end,
49
69
  * in an untitled section after the groups: the app's back places them in their group when it
50
70
  * saves. `save` still emits ONE flat list in display order (every group in order, then the new
51
- * rows), so an app that diffs by value works with groups or without. Seeded on mount, like
52
- * `items`.
71
+ * rows) and, as its third argument, `rows` with each row's original value and group index, so
72
+ * the app never has to match edits to originals by position. Seeded on mount, like `items`.
53
73
  */
54
74
  groups?: DsEmailEditorGroup[];
55
75
  copy: DsEmailEditorCopy;
@@ -0,0 +1,11 @@
1
+ export declare const DS_FULL_PROFILE_COPY: {
2
+ loading: string;
3
+ };
4
+ export interface DsFullProfileProps {
5
+ /** The profile is loading: only a centered spinner is shown, none of the slots. */
6
+ loading?: boolean;
7
+ /** Accessible name of the spinner, already translated. */
8
+ loadingLabel?: string;
9
+ /** «Back to list», already translated: shows the back link first and emits `back`. Empty = none. */
10
+ backLabel?: string;
11
+ }
@@ -0,0 +1,56 @@
1
+ declare var __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {};
2
+ type __VLS_Slots = {} & {
3
+ before?: (props: typeof __VLS_5) => any;
4
+ } & {
5
+ hero?: (props: typeof __VLS_7) => any;
6
+ } & {
7
+ actions?: (props: typeof __VLS_9) => any;
8
+ } & {
9
+ 'contact-data'?: (props: typeof __VLS_11) => any;
10
+ } & {
11
+ company?: (props: typeof __VLS_13) => any;
12
+ } & {
13
+ sections?: (props: typeof __VLS_15) => any;
14
+ };
15
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
16
+ loading: {
17
+ type: BooleanConstructor;
18
+ default: boolean;
19
+ };
20
+ loadingLabel: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ backLabel: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
+ back: (...args: any[]) => void;
30
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
+ loading: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ loadingLabel: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ backLabel: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ }>> & Readonly<{
44
+ onBack?: ((...args: any[]) => any) | undefined;
45
+ }>, {
46
+ loading: boolean;
47
+ loadingLabel: string;
48
+ backLabel: string;
49
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
50
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
51
+ export default _default;
52
+ type __VLS_WithSlots<T, S> = T & {
53
+ new (): {
54
+ $slots: S;
55
+ };
56
+ };
@@ -0,0 +1,2 @@
1
+ export { default as DsFullProfile } from './DsFullProfile.vue';
2
+ export * from './DsFullProfile.types';
@@ -56,7 +56,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
56
56
  type: PropType<string>;
57
57
  };
58
58
  }>, {
59
- focus: () => void | undefined;
59
+ focus: (options?: Parameters<HTMLInputElement["focus"]>[0]) => void | undefined;
60
60
  focusAtEnd: () => Promise<void>;
61
61
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
62
62
  focus: (...args: any[]) => void;
@@ -17,4 +17,6 @@ export interface DsItemSelectorButtonProps {
17
17
  */
18
18
  ariaLabel?: string;
19
19
  disabled?: boolean;
20
+ /** Max width of the label before it truncates (default 200px). A number is px. */
21
+ labelMaxWidth?: number | string | null;
20
22
  }
@@ -18,6 +18,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
18
18
  default: string;
19
19
  };
20
20
  disabled: BooleanConstructor;
21
+ labelMaxWidth: {
22
+ type: (NumberConstructor | StringConstructor)[];
23
+ default: null;
24
+ };
21
25
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
26
  click: (...args: any[]) => void;
23
27
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -38,6 +42,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
38
42
  default: string;
39
43
  };
40
44
  disabled: BooleanConstructor;
45
+ labelMaxWidth: {
46
+ type: (NumberConstructor | StringConstructor)[];
47
+ default: null;
48
+ };
41
49
  }>> & Readonly<{
42
50
  onClick?: ((...args: any[]) => any) | undefined;
43
51
  }>, {
@@ -46,5 +54,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
46
54
  icon: string;
47
55
  item: DsSelectorItem | null;
48
56
  emptyTitle: string;
57
+ labelMaxWidth: string | number;
49
58
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
50
59
  export default _default;
@@ -90,12 +90,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
90
90
  title: string;
91
91
  width: string;
92
92
  height: string;
93
+ open: boolean;
93
94
  closeLabel: string;
94
95
  center: boolean;
95
96
  top: string;
96
97
  fixed: boolean;
97
98
  showClose: boolean;
98
- open: boolean;
99
99
  closeOnBackdrop: boolean;
100
100
  closeOnEscape: boolean;
101
101
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;