@salesql/sql_components_vue3 3.1.0 → 3.3.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 (46) hide show
  1. package/README.md +46 -0
  2. package/dist/composables/useViewportClamp.d.ts +9 -2
  3. package/dist/constants/contact-data.d.ts +100 -0
  4. package/dist/constants/events.d.ts +8 -0
  5. package/dist/constants/pickers.d.ts +36 -0
  6. package/dist/index.cjs +1 -1
  7. package/dist/index.cjs.map +1 -1
  8. package/dist/index.d.ts +21 -0
  9. package/dist/index.es.js +2372 -1354
  10. package/dist/index.es.js.map +1 -1
  11. package/dist/sql_components_vue3.css +1 -1
  12. package/dist/stories/StoryStage.vue.d.ts +12 -0
  13. package/dist/ui/DsAddToSequence/DsAddToSequence.types.d.ts +35 -0
  14. package/dist/ui/DsAddToSequence/DsAddToSequence.vue.d.ts +146 -0
  15. package/dist/ui/DsAddToSequence/index.d.ts +2 -0
  16. package/dist/ui/DsButton/DsButton.types.d.ts +1 -0
  17. package/dist/ui/DsButton/DsButton.vue.d.ts +3 -0
  18. package/dist/ui/DsContactCell/DsContactCell.types.d.ts +45 -0
  19. package/dist/ui/DsContactCell/DsContactCell.vue.d.ts +203 -0
  20. package/dist/ui/DsContactCell/index.d.ts +2 -0
  21. package/dist/ui/DsContactList/DsContactList.types.d.ts +26 -0
  22. package/dist/ui/DsContactList/DsContactList.vue.d.ts +139 -0
  23. package/dist/ui/DsContactList/index.d.ts +2 -0
  24. package/dist/ui/DsDeliverabilityBadge/DsDeliverabilityBadge.types.d.ts +13 -0
  25. package/dist/ui/DsDeliverabilityBadge/DsDeliverabilityBadge.vue.d.ts +41 -0
  26. package/dist/ui/DsDeliverabilityBadge/index.d.ts +2 -0
  27. package/dist/ui/DsItemSelectorButton/DsItemSelectorButton.types.d.ts +1 -1
  28. package/dist/ui/DsMaskedValue/DsMaskedValue.types.d.ts +9 -0
  29. package/dist/ui/DsMaskedValue/DsMaskedValue.vue.d.ts +32 -0
  30. package/dist/ui/DsMaskedValue/index.d.ts +2 -0
  31. package/dist/ui/DsMoreCountChip/DsMoreCountChip.types.d.ts +8 -0
  32. package/dist/ui/DsMoreCountChip/DsMoreCountChip.vue.d.ts +31 -0
  33. package/dist/ui/DsMoreCountChip/index.d.ts +2 -0
  34. package/dist/ui/DsPill/DsPill.types.d.ts +1 -1
  35. package/dist/ui/DsPopover/DsPopover.types.d.ts +35 -1
  36. package/dist/ui/DsPopover/DsPopover.vue.d.ts +18 -0
  37. package/dist/ui/DsSavedButton/DsSavedButton.types.d.ts +23 -0
  38. package/dist/ui/DsSavedButton/DsSavedButton.vue.d.ts +135 -0
  39. package/dist/ui/DsSavedButton/index.d.ts +2 -0
  40. package/dist/ui/DsSelect/DsSelect.types.d.ts +1 -1
  41. package/dist/ui/DsTagPicker/DsTagPicker.types.d.ts +25 -0
  42. package/dist/ui/DsTagPicker/DsTagPicker.vue.d.ts +130 -0
  43. package/dist/ui/DsTagPicker/index.d.ts +2 -0
  44. package/llms-full.txt +568 -15
  45. package/llms.txt +8 -0
  46. package/package.json +1 -1
@@ -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,2 @@
1
+ export { default as DsSavedButton } from './DsSavedButton.vue';
2
+ export * from './DsSavedButton.types';
@@ -2,7 +2,7 @@ export interface DsSelectOption {
2
2
  value: string | number;
3
3
  label: string;
4
4
  subLabel?: string;
5
- /** Material Icons ligature name. */
5
+ /** Material Symbols ligature name. */
6
6
  icon?: string;
7
7
  /** Icon color (any CSS color value) — mirrors the DS `option.color` pass-through. */
8
8
  color?: string;
@@ -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;
@@ -0,0 +1,2 @@
1
+ export { default as DsTagPicker } from './DsTagPicker.vue';
2
+ export * from './DsTagPicker.types';