@salesql/sql_components_vue3 3.2.0 → 3.4.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/useViewportClamp.d.ts +2 -2
- package/dist/constants/contact-data.d.ts +100 -0
- package/dist/constants/events.d.ts +8 -0
- package/dist/constants/pickers.d.ts +36 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +25 -0
- package/dist/index.es.js +2516 -1342
- package/dist/index.es.js.map +1 -1
- package/dist/sql_components_vue3.css +1 -1
- package/dist/stories/StoryStage.vue.d.ts +12 -0
- package/dist/ui/DsAddToSequence/DsAddToSequence.types.d.ts +35 -0
- package/dist/ui/DsAddToSequence/DsAddToSequence.vue.d.ts +146 -0
- package/dist/ui/DsAddToSequence/index.d.ts +2 -0
- package/dist/ui/DsButton/DsButton.types.d.ts +1 -0
- package/dist/ui/DsButton/DsButton.vue.d.ts +3 -0
- package/dist/ui/DsCompanyCard/DsCompanyCard.types.d.ts +26 -0
- package/dist/ui/DsCompanyCard/DsCompanyCard.vue.d.ts +69 -0
- package/dist/ui/DsCompanyCard/index.d.ts +2 -0
- package/dist/ui/DsCompanyLogo/DsCompanyLogo.types.d.ts +8 -0
- package/dist/ui/DsCompanyLogo/DsCompanyLogo.vue.d.ts +32 -0
- package/dist/ui/DsCompanyLogo/index.d.ts +2 -0
- package/dist/ui/DsContactCell/DsContactCell.types.d.ts +45 -0
- package/dist/ui/DsContactCell/DsContactCell.vue.d.ts +203 -0
- package/dist/ui/DsContactCell/index.d.ts +2 -0
- package/dist/ui/DsContactList/DsContactList.types.d.ts +26 -0
- package/dist/ui/DsContactList/DsContactList.vue.d.ts +139 -0
- package/dist/ui/DsContactList/index.d.ts +2 -0
- package/dist/ui/DsDeliverabilityBadge/DsDeliverabilityBadge.types.d.ts +13 -0
- package/dist/ui/DsDeliverabilityBadge/DsDeliverabilityBadge.vue.d.ts +41 -0
- package/dist/ui/DsDeliverabilityBadge/index.d.ts +2 -0
- package/dist/ui/DsMaskedValue/DsMaskedValue.types.d.ts +9 -0
- package/dist/ui/DsMaskedValue/DsMaskedValue.vue.d.ts +32 -0
- package/dist/ui/DsMaskedValue/index.d.ts +2 -0
- package/dist/ui/DsMoreCountChip/DsMoreCountChip.types.d.ts +8 -0
- package/dist/ui/DsMoreCountChip/DsMoreCountChip.vue.d.ts +31 -0
- package/dist/ui/DsMoreCountChip/index.d.ts +2 -0
- package/dist/ui/DsPopover/DsPopover.types.d.ts +21 -0
- package/dist/ui/DsPopover/DsPopover.vue.d.ts +31 -2
- package/dist/ui/DsSavedButton/DsSavedButton.types.d.ts +23 -0
- package/dist/ui/DsSavedButton/DsSavedButton.vue.d.ts +135 -0
- package/dist/ui/DsSavedButton/index.d.ts +2 -0
- package/dist/ui/DsTagPicker/DsTagPicker.types.d.ts +25 -0
- package/dist/ui/DsTagPicker/DsTagPicker.vue.d.ts +130 -0
- package/dist/ui/DsTagPicker/index.d.ts +2 -0
- package/llms-full.txt +610 -20
- package/llms.txt +10 -0
- package/package.json +1 -1
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
2
|
import { type DsPopoverPlacement } from './DsPopover.types';
|
|
3
|
-
declare var __VLS_1: {},
|
|
3
|
+
declare var __VLS_1: {}, __VLS_11: {}, __VLS_17: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
5
|
trigger?: (props: typeof __VLS_1) => any;
|
|
6
6
|
} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_11) => any;
|
|
8
|
+
} & {
|
|
9
|
+
default?: (props: typeof __VLS_17) => any;
|
|
8
10
|
};
|
|
9
11
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
12
|
open: BooleanConstructor;
|
|
@@ -28,6 +30,18 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
28
30
|
type: BooleanConstructor;
|
|
29
31
|
default: boolean;
|
|
30
32
|
};
|
|
33
|
+
offset: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
flush: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
teleported: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
31
45
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
46
|
"update:open": (...args: any[]) => void;
|
|
33
47
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -52,6 +66,18 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
52
66
|
type: BooleanConstructor;
|
|
53
67
|
default: boolean;
|
|
54
68
|
};
|
|
69
|
+
offset: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
flush: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
teleported: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
55
81
|
}>> & Readonly<{
|
|
56
82
|
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
57
83
|
}>, {
|
|
@@ -61,6 +87,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
61
87
|
placement: DsPopoverPlacement;
|
|
62
88
|
closeOnOutside: boolean;
|
|
63
89
|
triggerOnClick: boolean;
|
|
90
|
+
offset: string;
|
|
91
|
+
flush: boolean;
|
|
92
|
+
teleported: boolean;
|
|
64
93
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
65
94
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
66
95
|
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { DsPickerAlign, DsPickerOption, DsPickerSize } from '@shared/constants/pickers';
|
|
2
|
+
export interface DsSavedButtonProps {
|
|
3
|
+
/** The neutral label ("Saved", or "Save" before the first save). App copy. */
|
|
4
|
+
label: string;
|
|
5
|
+
/** "Saved in {folder} · change folder" — where the folder name goes. Empty = no tooltip. */
|
|
6
|
+
tooltip?: string;
|
|
7
|
+
/** The folder the contact lives in; tints the glyph. `null` = not saved yet (no glyph). */
|
|
8
|
+
folder?: DsPickerOption | null;
|
|
9
|
+
/** Every folder the user can pick. */
|
|
10
|
+
folders: DsPickerOption[];
|
|
11
|
+
searchPlaceholder?: string;
|
|
12
|
+
/** Shown when the search matches nothing. Empty = nothing. */
|
|
13
|
+
emptyLabel?: string;
|
|
14
|
+
/** Footer action ("New Folder"). Empty and no `footer` slot = no footer. */
|
|
15
|
+
createLabel?: string;
|
|
16
|
+
/** Material Symbols ligature for the folder glyph. */
|
|
17
|
+
icon?: string;
|
|
18
|
+
size?: DsPickerSize;
|
|
19
|
+
/** Fully round trigger (`DsButton pill`) for the bulk bar beside `DsItemSelectorButton`. Off = the design's table / profile trigger. */
|
|
20
|
+
pill?: boolean;
|
|
21
|
+
align?: DsPickerAlign;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import { type DsPickerAlign, type DsPickerOption, type DsPickerSize } from '@shared/constants/pickers';
|
|
3
|
+
declare var __VLS_33: {
|
|
4
|
+
query: string;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
footer?: (props: typeof __VLS_33) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
|
+
label: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
tooltip: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
folder: {
|
|
19
|
+
type: PropType<DsPickerOption | null>;
|
|
20
|
+
default: null;
|
|
21
|
+
};
|
|
22
|
+
folders: {
|
|
23
|
+
type: PropType<DsPickerOption[]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
searchPlaceholder: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
emptyLabel: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
createLabel: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
icon: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
size: {
|
|
43
|
+
type: PropType<DsPickerSize>;
|
|
44
|
+
default: "medium";
|
|
45
|
+
};
|
|
46
|
+
pill: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
align: {
|
|
51
|
+
type: PropType<DsPickerAlign>;
|
|
52
|
+
default: "end";
|
|
53
|
+
};
|
|
54
|
+
disabled: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
59
|
+
search: (...args: any[]) => void;
|
|
60
|
+
"update:open": (...args: any[]) => void;
|
|
61
|
+
pick: (...args: any[]) => void;
|
|
62
|
+
create: (...args: any[]) => void;
|
|
63
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
64
|
+
label: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
required: true;
|
|
67
|
+
};
|
|
68
|
+
tooltip: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
folder: {
|
|
73
|
+
type: PropType<DsPickerOption | null>;
|
|
74
|
+
default: null;
|
|
75
|
+
};
|
|
76
|
+
folders: {
|
|
77
|
+
type: PropType<DsPickerOption[]>;
|
|
78
|
+
required: true;
|
|
79
|
+
};
|
|
80
|
+
searchPlaceholder: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
emptyLabel: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
createLabel: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
icon: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
size: {
|
|
97
|
+
type: PropType<DsPickerSize>;
|
|
98
|
+
default: "medium";
|
|
99
|
+
};
|
|
100
|
+
pill: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
align: {
|
|
105
|
+
type: PropType<DsPickerAlign>;
|
|
106
|
+
default: "end";
|
|
107
|
+
};
|
|
108
|
+
disabled: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
}>> & Readonly<{
|
|
113
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
114
|
+
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
115
|
+
onPick?: ((...args: any[]) => any) | undefined;
|
|
116
|
+
onCreate?: ((...args: any[]) => any) | undefined;
|
|
117
|
+
}>, {
|
|
118
|
+
size: DsPickerSize;
|
|
119
|
+
disabled: boolean;
|
|
120
|
+
pill: boolean;
|
|
121
|
+
icon: string;
|
|
122
|
+
tooltip: string;
|
|
123
|
+
emptyLabel: string;
|
|
124
|
+
searchPlaceholder: string;
|
|
125
|
+
folder: DsPickerOption | null;
|
|
126
|
+
createLabel: string;
|
|
127
|
+
align: DsPickerAlign;
|
|
128
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
129
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
130
|
+
export default _default;
|
|
131
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
132
|
+
new (): {
|
|
133
|
+
$slots: S;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { DsPickerAlign, DsPickerOption, DsPickerSize } from '@shared/constants/pickers';
|
|
2
|
+
export interface DsTagPickerProps {
|
|
3
|
+
/** Trigger label while no tag is applied ("Tag"). App copy. */
|
|
4
|
+
label: string;
|
|
5
|
+
/** Prefix once tags exist ("Tagged as"); the first tag's name follows it. */
|
|
6
|
+
taggedAsLabel: string;
|
|
7
|
+
/** The tags currently applied to the contact. */
|
|
8
|
+
tags?: DsPickerOption[];
|
|
9
|
+
/** Every tag the user can pick from. */
|
|
10
|
+
options: DsPickerOption[];
|
|
11
|
+
/** The footer confirm ("Apply"). */
|
|
12
|
+
applyLabel: string;
|
|
13
|
+
searchPlaceholder?: string;
|
|
14
|
+
/** Shown when nothing matches and there is nothing to create. */
|
|
15
|
+
emptyLabel?: string;
|
|
16
|
+
/** Prefix of the create row («Create “{query}”»). Empty = no create affordance. */
|
|
17
|
+
createLabel?: string;
|
|
18
|
+
/** Accessible name for the `+N` chip ("2 more tags"). */
|
|
19
|
+
moreLabel?: string;
|
|
20
|
+
size?: DsPickerSize;
|
|
21
|
+
/** Fully round trigger (`DsButton pill`) for the bulk bar beside `DsItemSelectorButton`. Off = the design's row / profile trigger. */
|
|
22
|
+
pill?: boolean;
|
|
23
|
+
align?: DsPickerAlign;
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import { type DsPickerAlign, type DsPickerOption, type DsPickerSize } from '@shared/constants/pickers';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
label: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
taggedAsLabel: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
tags: {
|
|
13
|
+
type: PropType<DsPickerOption[]>;
|
|
14
|
+
default: () => never[];
|
|
15
|
+
};
|
|
16
|
+
options: {
|
|
17
|
+
type: PropType<DsPickerOption[]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
applyLabel: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
searchPlaceholder: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
emptyLabel: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
createLabel: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
moreLabel: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
size: {
|
|
41
|
+
type: PropType<DsPickerSize>;
|
|
42
|
+
default: "medium";
|
|
43
|
+
};
|
|
44
|
+
pill: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
align: {
|
|
49
|
+
type: PropType<DsPickerAlign>;
|
|
50
|
+
default: "start";
|
|
51
|
+
};
|
|
52
|
+
disabled: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
57
|
+
search: (...args: any[]) => void;
|
|
58
|
+
"update:open": (...args: any[]) => void;
|
|
59
|
+
apply: (...args: any[]) => void;
|
|
60
|
+
create: (...args: any[]) => void;
|
|
61
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
62
|
+
label: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
required: true;
|
|
65
|
+
};
|
|
66
|
+
taggedAsLabel: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
required: true;
|
|
69
|
+
};
|
|
70
|
+
tags: {
|
|
71
|
+
type: PropType<DsPickerOption[]>;
|
|
72
|
+
default: () => never[];
|
|
73
|
+
};
|
|
74
|
+
options: {
|
|
75
|
+
type: PropType<DsPickerOption[]>;
|
|
76
|
+
required: true;
|
|
77
|
+
};
|
|
78
|
+
applyLabel: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
required: true;
|
|
81
|
+
};
|
|
82
|
+
searchPlaceholder: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
emptyLabel: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
createLabel: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
moreLabel: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
size: {
|
|
99
|
+
type: PropType<DsPickerSize>;
|
|
100
|
+
default: "medium";
|
|
101
|
+
};
|
|
102
|
+
pill: {
|
|
103
|
+
type: BooleanConstructor;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
106
|
+
align: {
|
|
107
|
+
type: PropType<DsPickerAlign>;
|
|
108
|
+
default: "start";
|
|
109
|
+
};
|
|
110
|
+
disabled: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
}>> & Readonly<{
|
|
115
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
116
|
+
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
117
|
+
onApply?: ((...args: any[]) => any) | undefined;
|
|
118
|
+
onCreate?: ((...args: any[]) => any) | undefined;
|
|
119
|
+
}>, {
|
|
120
|
+
size: DsPickerSize;
|
|
121
|
+
disabled: boolean;
|
|
122
|
+
pill: boolean;
|
|
123
|
+
emptyLabel: string;
|
|
124
|
+
moreLabel: string;
|
|
125
|
+
searchPlaceholder: string;
|
|
126
|
+
createLabel: string;
|
|
127
|
+
align: DsPickerAlign;
|
|
128
|
+
tags: DsPickerOption[];
|
|
129
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
130
|
+
export default _default;
|