@salesql/sql_components_vue3 3.36.0 → 4.0.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 (43) hide show
  1. package/dist/composables/useFocusHandoff.d.ts +11 -0
  2. package/dist/constants/events.d.ts +4 -0
  3. package/dist/index.cjs +1 -1
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.ts +9 -3
  6. package/dist/index.es.js +5289 -4691
  7. package/dist/index.es.js.map +1 -1
  8. package/dist/sql_components_vue3.css +1 -1
  9. package/dist/ui/DsButton/DsButton.vue.d.ts +3 -0
  10. package/dist/ui/DsContactList/DsContactList.types.d.ts +2 -0
  11. package/dist/ui/DsContactList/DsContactList.vue.d.ts +9 -0
  12. package/dist/ui/DsHighlightText/DsHighlightText.types.d.ts +10 -0
  13. package/dist/ui/DsHighlightText/DsHighlightText.vue.d.ts +23 -0
  14. package/dist/ui/DsHighlightText/index.d.ts +3 -0
  15. package/dist/ui/DsHighlightText/splitHighlights.d.ts +6 -0
  16. package/dist/ui/DsInput/DsInput.vue.d.ts +1 -1
  17. package/dist/ui/DsListSkeleton/DsListSkeleton.types.d.ts +10 -0
  18. package/dist/ui/DsListSkeleton/DsListSkeleton.vue.d.ts +23 -0
  19. package/dist/ui/DsListSkeleton/index.d.ts +2 -0
  20. package/dist/ui/DsOrganizerForm/DsOrganizerForm.vue.d.ts +1 -1
  21. package/dist/ui/DsProfileActionBar/DsProfileActionBar.defaults.d.ts +2 -0
  22. package/dist/ui/DsProfileActionBar/DsProfileActionBar.types.d.ts +35 -4
  23. package/dist/ui/DsProfileActionBar/DsProfileActionBar.vue.d.ts +63 -3
  24. package/dist/ui/DsProfileContactDataCard/DsProfileContactDataCard.types.d.ts +23 -1
  25. package/dist/ui/DsProfileContactDataCard/DsProfileContactDataCard.vue.d.ts +19 -8
  26. package/dist/ui/DsProfileGroupBar/DsProfileGroupBar.types.d.ts +12 -0
  27. package/dist/ui/DsProfileGroupBar/DsProfileGroupBar.vue.d.ts +61 -2
  28. package/dist/ui/DsProfileHero/DsProfileHero.types.d.ts +14 -8
  29. package/dist/ui/DsProfileHero/DsProfileHero.vue.d.ts +49 -3
  30. package/dist/ui/DsProfileLockedCard/DsProfileLockedCard.types.d.ts +5 -0
  31. package/dist/ui/DsProfileLockedCard/DsProfileLockedCard.vue.d.ts +20 -0
  32. package/dist/ui/DsProfileRichSections/DsProfileRichSections.types.d.ts +11 -0
  33. package/dist/ui/DsProfileRichSections/DsProfileRichSections.vue.d.ts +46 -0
  34. package/dist/ui/DsProfileSkeleton/DsProfileSkeleton.types.d.ts +6 -0
  35. package/dist/ui/DsProfileSkeleton/DsProfileSkeleton.vue.d.ts +24 -0
  36. package/dist/ui/DsProfileSkeleton/index.d.ts +2 -0
  37. package/dist/ui/DsSavedButton/DsSavedButton.vue.d.ts +1 -1
  38. package/dist/ui/DsTable/DsTable.vue.d.ts +2 -2
  39. package/dist/ui/DsTagPicker/DsTagPicker.vue.d.ts +1 -1
  40. package/dist/ui/DsTextarea/DsTextarea.vue.d.ts +2 -2
  41. package/llms-full.txt +328 -107
  42. package/llms.txt +3 -0
  43. package/package.json +1 -1
@@ -1,3 +1,4 @@
1
+ import type { DsTooltipPlacement } from '../DsTooltip/DsTooltip.types';
1
2
  export interface DsProfileLockedCardProps {
2
3
  /** Material Symbols glyph (filled family) before the title, e.g. `work`. */
3
4
  icon: string;
@@ -5,4 +6,8 @@ export interface DsProfileLockedCardProps {
5
6
  title: string;
6
7
  /** Tooltip explaining how to unlock. Empty → no tooltip, and the card isn't focusable. */
7
8
  hint?: string;
9
+ /** Side of the card the hint opens on. Default `left`; a narrow panel at the screen's right edge passes `bottom`. */
10
+ hintPlacement?: DsTooltipPlacement;
11
+ /** Render the hint in the app's teleport target so no ancestor's `overflow` clips it (a narrow panel). */
12
+ teleported?: boolean;
8
13
  }
@@ -1,3 +1,5 @@
1
+ import { type PropType } from 'vue';
2
+ import { type DsTooltipPlacement } from '../DsTooltip/DsTooltip.types';
1
3
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
4
  icon: {
3
5
  type: StringConstructor;
@@ -11,6 +13,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
11
13
  type: StringConstructor;
12
14
  default: string;
13
15
  };
16
+ hintPlacement: {
17
+ type: PropType<DsTooltipPlacement>;
18
+ default: "left";
19
+ };
20
+ teleported: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
14
24
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
25
  icon: {
16
26
  type: StringConstructor;
@@ -24,7 +34,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
24
34
  type: StringConstructor;
25
35
  default: string;
26
36
  };
37
+ hintPlacement: {
38
+ type: PropType<DsTooltipPlacement>;
39
+ default: "left";
40
+ };
41
+ teleported: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
27
45
  }>> & Readonly<{}>, {
28
46
  hint: string;
47
+ teleported: boolean;
48
+ hintPlacement: DsTooltipPlacement;
29
49
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
30
50
  export default _default;
@@ -1,4 +1,5 @@
1
1
  import type { DsProfileField } from '../../ui/DsProfileCompanyCard';
2
+ import type { DsTooltipPlacement } from '../../ui/DsTooltip';
2
3
  /** One entry of Experience or Education. */
3
4
  export interface DsProfileTimelineItem {
4
5
  /** Stable key for the row. */
@@ -41,4 +42,14 @@ export interface DsProfileRichSectionsProps {
41
42
  experience?: DsProfileTimelineItem[];
42
43
  education?: DsProfileTimelineItem[];
43
44
  copy?: Partial<DsProfileRichSectionsCopy>;
45
+ /** Locked: draw the About, Experience and Education stubs even with no content (the unrevealed profile). */
46
+ showAllLocked?: boolean;
47
+ /** Locked: the Experience count read from the page. null / omitted → `experience.length`; 0 → no number. */
48
+ experienceCount?: number | null;
49
+ /** Locked: the Education count read from the page. null / omitted → `education.length`; 0 → no number. */
50
+ educationCount?: number | null;
51
+ /** Locked: side each stub's hint opens on (`DsProfileLockedCard`). Default `left`; a narrow panel passes `bottom`. */
52
+ hintPlacement?: DsTooltipPlacement;
53
+ /** Locked: render the stubs' hints in the app's teleport target (a narrow panel). */
54
+ teleported?: boolean;
44
55
  }
@@ -1,5 +1,6 @@
1
1
  import { type PropType } from 'vue';
2
2
  import type { DsProfileField } from '../../ui/DsProfileCompanyCard';
3
+ import { type DsTooltipPlacement } from '../../ui/DsTooltip';
3
4
  import { type DsProfileRichSectionsCopy, type DsProfileTimelineItem } from './DsProfileRichSections.types';
4
5
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
6
  unlocked: {
@@ -26,6 +27,26 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
26
27
  type: PropType<Partial<DsProfileRichSectionsCopy>>;
27
28
  default: undefined;
28
29
  };
30
+ showAllLocked: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ experienceCount: {
35
+ type: PropType<number | null>;
36
+ default: null;
37
+ };
38
+ educationCount: {
39
+ type: PropType<number | null>;
40
+ default: null;
41
+ };
42
+ hintPlacement: {
43
+ type: PropType<DsTooltipPlacement>;
44
+ default: "left";
45
+ };
46
+ teleported: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
29
50
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
51
  unlocked: {
31
52
  type: BooleanConstructor;
@@ -51,12 +72,37 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
51
72
  type: PropType<Partial<DsProfileRichSectionsCopy>>;
52
73
  default: undefined;
53
74
  };
75
+ showAllLocked: {
76
+ type: BooleanConstructor;
77
+ default: boolean;
78
+ };
79
+ experienceCount: {
80
+ type: PropType<number | null>;
81
+ default: null;
82
+ };
83
+ educationCount: {
84
+ type: PropType<number | null>;
85
+ default: null;
86
+ };
87
+ hintPlacement: {
88
+ type: PropType<DsTooltipPlacement>;
89
+ default: "left";
90
+ };
91
+ teleported: {
92
+ type: BooleanConstructor;
93
+ default: boolean;
94
+ };
54
95
  }>> & Readonly<{}>, {
55
96
  details: DsProfileField[];
56
97
  copy: Partial<DsProfileRichSectionsCopy>;
98
+ teleported: boolean;
57
99
  about: string;
100
+ hintPlacement: DsTooltipPlacement;
58
101
  unlocked: boolean;
59
102
  experience: DsProfileTimelineItem[];
60
103
  education: DsProfileTimelineItem[];
104
+ showAllLocked: boolean;
105
+ experienceCount: number | null;
106
+ educationCount: number | null;
61
107
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
62
108
  export default _default;
@@ -0,0 +1,6 @@
1
+ export interface DsProfileSkeletonProps {
2
+ /** What is loading («Loading profile»), already translated. Read to screen readers only. */
3
+ label?: string;
4
+ /** Action rows under the hero: 1 (phase 0) or 2 (phase 1, «Save» under the reveal row). Any other value renders 1. */
5
+ actionRows?: 1 | 2;
6
+ }
@@ -0,0 +1,24 @@
1
+ import { type PropType } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ label: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ actionRows: {
8
+ type: PropType<1 | 2>;
9
+ default: number;
10
+ };
11
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
12
+ label: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ actionRows: {
17
+ type: PropType<1 | 2>;
18
+ default: number;
19
+ };
20
+ }>> & Readonly<{}>, {
21
+ label: string;
22
+ actionRows: 1 | 2;
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
24
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as DsProfileSkeleton } from './DsProfileSkeleton.vue';
2
+ export * from './DsProfileSkeleton.types';
@@ -343,6 +343,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
343
343
  create: DsPickerCreateMode;
344
344
  disabled: boolean;
345
345
  pill: boolean;
346
+ backLabel: string;
346
347
  folder: DsPickerOption | null;
347
348
  icon: string;
348
349
  tooltip: string;
@@ -354,7 +355,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
354
355
  colors: readonly string[];
355
356
  createLabel: string;
356
357
  setColorLabel: string;
357
- backLabel: string;
358
358
  errorMissingName: string;
359
359
  errorTooLongName: string;
360
360
  actionsLabel: string;
@@ -135,8 +135,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
135
135
  }>, {
136
136
  height: string | number | null;
137
137
  loading: boolean;
138
- columns: DsTableColumn[];
138
+ loadingLabel: string;
139
139
  rows: DsTableRow[];
140
+ columns: DsTableColumn[];
140
141
  emptyMessage: string;
141
142
  highlightRowId: string | number | null;
142
143
  rowHeight: string | number | null;
@@ -146,7 +147,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
146
147
  allSelected: boolean;
147
148
  someSelected: boolean;
148
149
  selectAllLabel: string;
149
- loadingLabel: string;
150
150
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
151
151
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
152
152
  export default _default;
@@ -336,6 +336,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
336
336
  create: DsPickerCreateMode;
337
337
  disabled: boolean;
338
338
  pill: boolean;
339
+ backLabel: string;
339
340
  teleported: boolean;
340
341
  editLabel: string;
341
342
  emptyLabel: string;
@@ -345,7 +346,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
345
346
  colors: readonly string[];
346
347
  createLabel: string;
347
348
  setColorLabel: string;
348
- backLabel: string;
349
349
  errorMissingName: string;
350
350
  errorTooLongName: string;
351
351
  actionsLabel: string;
@@ -105,10 +105,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
105
105
  variant: DsTextareaVariant;
106
106
  disabled: boolean;
107
107
  error: boolean;
108
+ placeholder: string;
109
+ rows: number;
108
110
  name: string;
109
111
  id: string;
110
- rows: number;
111
- placeholder: string;
112
112
  errorMessage: string;
113
113
  readonly: boolean;
114
114
  autoGrow: boolean;