@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
|
@@ -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. */
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
2
|
import { type DsPickerAlign, type DsPickerCreateMode, type DsPickerOption, type DsPickerRowActionsMode, type DsPickerSize } from '../../constants/pickers';
|
|
3
|
-
import { type DsTagPickerCopy } from './DsTagPicker.types';
|
|
4
|
-
declare
|
|
3
|
+
import { type DsTagPickerCopy, type DsTagPickerSelection } from './DsTagPicker.types';
|
|
4
|
+
declare function toggle(): void;
|
|
5
|
+
declare var __VLS_9: {
|
|
6
|
+
open: boolean;
|
|
7
|
+
toggle: typeof toggle;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
trigger?: (props: typeof __VLS_9) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
14
|
label: {
|
|
6
15
|
type: StringConstructor;
|
|
7
16
|
required: true;
|
|
@@ -30,6 +39,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
30
39
|
type: BooleanConstructor;
|
|
31
40
|
default: boolean;
|
|
32
41
|
};
|
|
42
|
+
selection: {
|
|
43
|
+
type: PropType<DsTagPickerSelection>;
|
|
44
|
+
default: "multiple";
|
|
45
|
+
};
|
|
46
|
+
teleported: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
33
50
|
create: {
|
|
34
51
|
type: PropType<DsPickerCreateMode>;
|
|
35
52
|
default: undefined;
|
|
@@ -41,7 +58,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
41
58
|
validator: (value: unknown, props: Record<string, unknown>) => boolean;
|
|
42
59
|
};
|
|
43
60
|
colors: {
|
|
44
|
-
type: PropType<string[]>;
|
|
61
|
+
type: PropType<readonly string[]>;
|
|
45
62
|
default: () => never[];
|
|
46
63
|
};
|
|
47
64
|
formLoading: {
|
|
@@ -169,6 +186,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
169
186
|
type: BooleanConstructor;
|
|
170
187
|
default: boolean;
|
|
171
188
|
};
|
|
189
|
+
selection: {
|
|
190
|
+
type: PropType<DsTagPickerSelection>;
|
|
191
|
+
default: "multiple";
|
|
192
|
+
};
|
|
193
|
+
teleported: {
|
|
194
|
+
type: BooleanConstructor;
|
|
195
|
+
default: boolean;
|
|
196
|
+
};
|
|
172
197
|
create: {
|
|
173
198
|
type: PropType<DsPickerCreateMode>;
|
|
174
199
|
default: undefined;
|
|
@@ -180,7 +205,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
180
205
|
validator: (value: unknown, props: Record<string, unknown>) => boolean;
|
|
181
206
|
};
|
|
182
207
|
colors: {
|
|
183
|
-
type: PropType<string[]>;
|
|
208
|
+
type: PropType<readonly string[]>;
|
|
184
209
|
default: () => never[];
|
|
185
210
|
};
|
|
186
211
|
formLoading: {
|
|
@@ -283,11 +308,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
283
308
|
create: DsPickerCreateMode;
|
|
284
309
|
disabled: boolean;
|
|
285
310
|
pill: boolean;
|
|
311
|
+
teleported: boolean;
|
|
286
312
|
editLabel: string;
|
|
287
313
|
emptyLabel: string;
|
|
288
314
|
moreLabel: string;
|
|
289
315
|
searchPlaceholder: string;
|
|
290
|
-
colors: string[];
|
|
316
|
+
colors: readonly string[];
|
|
291
317
|
createLabel: string;
|
|
292
318
|
setColorLabel: string;
|
|
293
319
|
backLabel: string;
|
|
@@ -305,7 +331,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
305
331
|
editSubmitLabel: string;
|
|
306
332
|
formNamePlaceholder: string;
|
|
307
333
|
tags: DsPickerOption[];
|
|
334
|
+
selection: DsTagPickerSelection;
|
|
308
335
|
taggedAsLabel: string;
|
|
309
336
|
applyLabel: string;
|
|
310
337
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
338
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
311
339
|
export default _default;
|
|
340
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
341
|
+
new (): {
|
|
342
|
+
$slots: S;
|
|
343
|
+
};
|
|
344
|
+
};
|
|
@@ -67,8 +67,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
67
67
|
default: boolean;
|
|
68
68
|
};
|
|
69
69
|
}>> & Readonly<{}>, {
|
|
70
|
-
disabled: boolean;
|
|
71
70
|
open: boolean;
|
|
71
|
+
disabled: boolean;
|
|
72
72
|
block: boolean;
|
|
73
73
|
content: string;
|
|
74
74
|
placement: DsTooltipPlacement;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface DsUpgradeNoticeProps {
|
|
2
|
+
/** What the plan does not allow, already translated by the app. */
|
|
3
|
+
text: string;
|
|
4
|
+
/** The link under the text («Upgrade plan»). */
|
|
5
|
+
linkLabel: string;
|
|
6
|
+
/**
|
|
7
|
+
* Where the link goes: a real link that opens in a new tab. Omitted, the link is a button
|
|
8
|
+
* that emits `click`, for an app that routes the upgrade itself.
|
|
9
|
+
*/
|
|
10
|
+
href?: string;
|
|
11
|
+
/** Material Symbols glyph (filled family) before the text, e.g. `phone`. Omitted → none. */
|
|
12
|
+
icon?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
text: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
linkLabel: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
href: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
icon: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
click: (...args: any[]) => void;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
text: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
linkLabel: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
href: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
icon: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
}>> & Readonly<{
|
|
38
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
39
|
+
}>, {
|
|
40
|
+
icon: string;
|
|
41
|
+
href: string;
|
|
42
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
43
|
+
export default _default;
|