@salesql/sql_components_vue3 3.17.0 → 3.19.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 (38) hide show
  1. package/dist/composables/useViewportClamp.d.ts +9 -4
  2. package/dist/constants/contact-data.d.ts +31 -1
  3. package/dist/constants/events.d.ts +6 -0
  4. package/dist/icons/icons.types.d.ts +38 -0
  5. package/dist/icons/registry.d.ts +30 -0
  6. package/dist/icons/registry.generated.d.ts +4 -0
  7. package/dist/index.cjs +1 -1
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.ts +13 -6
  10. package/dist/index.es.js +4005 -2668
  11. package/dist/index.es.js.map +1 -1
  12. package/dist/sql_components_vue3.css +1 -1
  13. package/dist/ui/DsActionMenu/DsActionMenu.vue.d.ts +1 -1
  14. package/dist/ui/DsCheckbox/DsCheckbox.vue.d.ts +1 -1
  15. package/dist/ui/DsContactCell/DsContactCell.types.d.ts +43 -1
  16. package/dist/ui/DsContactCell/DsContactCell.vue.d.ts +81 -4
  17. package/dist/ui/DsContactList/DsContactList.types.d.ts +11 -1
  18. package/dist/ui/DsContactList/DsContactList.vue.d.ts +36 -0
  19. package/dist/ui/DsDeliverabilityBadge/DsDeliverabilityBadge.types.d.ts +10 -2
  20. package/dist/ui/DsDeliverabilityBadge/DsDeliverabilityBadge.vue.d.ts +11 -1
  21. package/dist/ui/DsEmailEditor/DsEmailEditor.types.d.ts +42 -0
  22. package/dist/ui/DsEmailEditor/DsEmailEditor.vue.d.ts +40 -0
  23. package/dist/ui/DsEmailEditor/index.d.ts +2 -0
  24. package/dist/ui/DsIcon/DsIcon.story-weights.d.ts +2 -0
  25. package/dist/ui/DsIcon/DsIcon.types.d.ts +31 -0
  26. package/dist/ui/DsIcon/DsIcon.vue.d.ts +66 -0
  27. package/dist/ui/DsIcon/index.d.ts +2 -0
  28. package/dist/ui/DsInput/DsInput.types.d.ts +1 -0
  29. package/dist/ui/DsPopover/DsPopover.types.d.ts +12 -1
  30. package/dist/ui/DsPopover/DsPopover.vue.d.ts +10 -1
  31. package/dist/ui/DsSavedButton/DsSavedButton.vue.d.ts +1 -1
  32. package/llms-full.txt +367 -83
  33. package/llms.txt +3 -1
  34. package/package.json +10 -2
  35. package/scripts/generate-icons.mjs +107 -0
  36. package/scripts/icons-svg.mjs +185 -0
  37. package/src/icons/NOTICE +8 -0
  38. package/src/icons/manifest.json +138 -0
@@ -1,9 +1,10 @@
1
1
  import { type PropType } from 'vue';
2
- import { type DsPopoverPlacement } from '../../ui/DsPopover';
2
+ import { type DsPopoverBoundary, type DsPopoverPlacement } from '../../ui/DsPopover';
3
3
  import { type DsContactItem, type DsContactKind, type DsContactSection, type DsContactType } from '../../constants/contact-data';
4
- declare var __VLS_45: {};
5
- type __VLS_Slots = {} & {
6
- actions?: (props: typeof __VLS_45) => any;
4
+ import type { DsContactCellEditorSlotProps } from './DsContactCell.types';
5
+ type __VLS_Slots = {
6
+ actions?(): unknown;
7
+ editor?(props: DsContactCellEditorSlotProps): unknown;
7
8
  };
8
9
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
9
10
  items: {
@@ -38,6 +39,22 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
38
39
  type: StringConstructor;
39
40
  required: true;
40
41
  };
42
+ verifyingLabel: {
43
+ type: StringConstructor;
44
+ default: string;
45
+ };
46
+ verifyingTooltip: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ };
50
+ invalidLabel: {
51
+ type: StringConstructor;
52
+ default: string;
53
+ };
54
+ invalidTooltip: {
55
+ type: StringConstructor;
56
+ default: string;
57
+ };
41
58
  moreLabel: {
42
59
  type: StringConstructor;
43
60
  default: string;
@@ -62,6 +79,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
62
79
  type: BooleanConstructor;
63
80
  default: boolean;
64
81
  };
82
+ boundary: {
83
+ type: PropType<DsPopoverBoundary>;
84
+ default: null;
85
+ };
65
86
  revealLabel: {
66
87
  type: StringConstructor;
67
88
  default: string;
@@ -74,6 +95,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
74
95
  type: BooleanConstructor;
75
96
  default: boolean;
76
97
  };
98
+ editLabel: {
99
+ type: StringConstructor;
100
+ default: string;
101
+ };
102
+ editing: {
103
+ type: BooleanConstructor;
104
+ default: boolean;
105
+ };
77
106
  offset: {
78
107
  type: StringConstructor;
79
108
  default: string;
@@ -82,6 +111,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
82
111
  type: StringConstructor;
83
112
  default: string;
84
113
  };
114
+ enterDelay: {
115
+ type: NumberConstructor;
116
+ default: number;
117
+ };
85
118
  leaveDelay: {
86
119
  type: NumberConstructor;
87
120
  default: number;
@@ -111,6 +144,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
111
144
  reveal: (...args: any[]) => void;
112
145
  correct: (...args: any[]) => void;
113
146
  incorrect: (...args: any[]) => void;
147
+ edit: (...args: any[]) => void;
148
+ "update:editing": (...args: any[]) => void;
114
149
  "update:open": (...args: any[]) => void;
115
150
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
116
151
  items: {
@@ -145,6 +180,22 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
145
180
  type: StringConstructor;
146
181
  required: true;
147
182
  };
183
+ verifyingLabel: {
184
+ type: StringConstructor;
185
+ default: string;
186
+ };
187
+ verifyingTooltip: {
188
+ type: StringConstructor;
189
+ default: string;
190
+ };
191
+ invalidLabel: {
192
+ type: StringConstructor;
193
+ default: string;
194
+ };
195
+ invalidTooltip: {
196
+ type: StringConstructor;
197
+ default: string;
198
+ };
148
199
  moreLabel: {
149
200
  type: StringConstructor;
150
201
  default: string;
@@ -169,6 +220,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
169
220
  type: BooleanConstructor;
170
221
  default: boolean;
171
222
  };
223
+ boundary: {
224
+ type: PropType<DsPopoverBoundary>;
225
+ default: null;
226
+ };
172
227
  revealLabel: {
173
228
  type: StringConstructor;
174
229
  default: string;
@@ -181,6 +236,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
181
236
  type: BooleanConstructor;
182
237
  default: boolean;
183
238
  };
239
+ editLabel: {
240
+ type: StringConstructor;
241
+ default: string;
242
+ };
243
+ editing: {
244
+ type: BooleanConstructor;
245
+ default: boolean;
246
+ };
184
247
  offset: {
185
248
  type: StringConstructor;
186
249
  default: string;
@@ -189,6 +252,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
189
252
  type: StringConstructor;
190
253
  default: string;
191
254
  };
255
+ enterDelay: {
256
+ type: NumberConstructor;
257
+ default: number;
258
+ };
192
259
  leaveDelay: {
193
260
  type: NumberConstructor;
194
261
  default: number;
@@ -218,6 +285,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
218
285
  onReveal?: ((...args: any[]) => any) | undefined;
219
286
  onCorrect?: ((...args: any[]) => any) | undefined;
220
287
  onIncorrect?: ((...args: any[]) => any) | undefined;
288
+ onEdit?: ((...args: any[]) => any) | undefined;
289
+ "onUpdate:editing"?: ((...args: any[]) => any) | undefined;
221
290
  "onUpdate:open"?: ((...args: any[]) => any) | undefined;
222
291
  }>, {
223
292
  type: "" | DsContactType;
@@ -230,15 +299,23 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
230
299
  copiedLabel: string;
231
300
  correctLabel: string;
232
301
  incorrectLabel: string;
302
+ editLabel: string;
233
303
  emptyLabel: string;
234
304
  moreLabel: string;
305
+ boundary: DsPopoverBoundary;
235
306
  maskedLabel: string;
236
307
  sections: DsContactSection[];
308
+ verifyingLabel: string;
309
+ verifyingTooltip: string;
310
+ invalidLabel: string;
311
+ invalidTooltip: string;
237
312
  count: number | null;
238
313
  revealLabel: string;
239
314
  revealTooltip: string;
240
315
  revealing: boolean;
316
+ editing: boolean;
241
317
  popoverWidth: string;
318
+ enterDelay: number;
242
319
  leaveDelay: number;
243
320
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
244
321
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -14,7 +14,17 @@ export interface DsContactListProps {
14
14
  badgeLabel: string;
15
15
  /** The badge meaning (`A_PLUS_TOOLTIP`). */
16
16
  badgeTooltip: string;
17
- /** Adds the thumbs up / down actions to unmasked rows. */
17
+ /**
18
+ * Copy of the «Verifying» pill (an email whose `status` is `verifying`). The pill renders
19
+ * only when this is non-empty — the app opts in. `verifyingTooltip` is its meaning and
20
+ * accessible name.
21
+ */
22
+ verifyingLabel?: string;
23
+ verifyingTooltip?: string;
24
+ /** Same for the «Invalid» pill (`status: 'invalid'`). */
25
+ invalidLabel?: string;
26
+ invalidTooltip?: string;
27
+ /** Adds the thumbs up / down actions to unmasked rows, except those with `rateable: false`. */
18
28
  showRate?: boolean;
19
29
  /** Shown instead of rows when there are none. Omit to render nothing. */
20
30
  emptyLabel?: string;
@@ -33,6 +33,22 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
33
33
  type: StringConstructor;
34
34
  required: true;
35
35
  };
36
+ verifyingLabel: {
37
+ type: StringConstructor;
38
+ default: string;
39
+ };
40
+ verifyingTooltip: {
41
+ type: StringConstructor;
42
+ default: string;
43
+ };
44
+ invalidLabel: {
45
+ type: StringConstructor;
46
+ default: string;
47
+ };
48
+ invalidTooltip: {
49
+ type: StringConstructor;
50
+ default: string;
51
+ };
36
52
  showRate: {
37
53
  type: BooleanConstructor;
38
54
  default: boolean;
@@ -94,6 +110,22 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
94
110
  type: StringConstructor;
95
111
  required: true;
96
112
  };
113
+ verifyingLabel: {
114
+ type: StringConstructor;
115
+ default: string;
116
+ };
117
+ verifyingTooltip: {
118
+ type: StringConstructor;
119
+ default: string;
120
+ };
121
+ invalidLabel: {
122
+ type: StringConstructor;
123
+ default: string;
124
+ };
125
+ invalidTooltip: {
126
+ type: StringConstructor;
127
+ default: string;
128
+ };
97
129
  showRate: {
98
130
  type: BooleanConstructor;
99
131
  default: boolean;
@@ -138,6 +170,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
138
170
  items: DsContactItem[];
139
171
  maskedLabel: string;
140
172
  sections: DsContactSection[];
173
+ verifyingLabel: string;
174
+ verifyingTooltip: string;
175
+ invalidLabel: string;
176
+ invalidTooltip: string;
141
177
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
142
178
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
143
179
  export default _default;
@@ -1,8 +1,16 @@
1
1
  import type { DsTooltipPlacement } from '../../ui/DsTooltip';
2
+ export declare const DS_DELIVERABILITY_BADGE_STATUSES: {
3
+ readonly A_PLUS: "a-plus";
4
+ readonly VERIFYING: "verifying";
5
+ readonly INVALID: "invalid";
6
+ };
7
+ export type DsDeliverabilityBadgeStatus = (typeof DS_DELIVERABILITY_BADGE_STATUSES)[keyof typeof DS_DELIVERABILITY_BADGE_STATUSES];
2
8
  export interface DsDeliverabilityBadgeProps {
3
- /** The glyph text. The app passes the contract's constant (`A_PLUS_BADGE`). */
9
+ /** Which badge to draw. `a-plus` (default) is the bare glyph; the others are pills. */
10
+ status?: DsDeliverabilityBadgeStatus;
11
+ /** The visible text: the glyph (`A_PLUS_BADGE`) or the pill's word. The app owns the copy. */
4
12
  label: string;
5
- /** The meaning, shown on hover/focus and used as the accessible name (`A_PLUS_TOOLTIP`). */
13
+ /** The meaning, shown on hover/focus and used as the accessible name. */
6
14
  tooltip: string;
7
15
  placement?: DsTooltipPlacement;
8
16
  /**
@@ -1,6 +1,11 @@
1
1
  import { type PropType } from 'vue';
2
2
  import { type DsTooltipPlacement } from '../../ui/DsTooltip';
3
+ import { type DsDeliverabilityBadgeStatus } from './DsDeliverabilityBadge.types';
3
4
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
+ status: {
6
+ type: PropType<DsDeliverabilityBadgeStatus>;
7
+ default: "a-plus";
8
+ };
4
9
  label: {
5
10
  type: StringConstructor;
6
11
  required: true;
@@ -18,6 +23,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
18
23
  default: boolean;
19
24
  };
20
25
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
26
+ status: {
27
+ type: PropType<DsDeliverabilityBadgeStatus>;
28
+ default: "a-plus";
29
+ };
21
30
  label: {
22
31
  type: StringConstructor;
23
32
  required: true;
@@ -35,7 +44,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
35
44
  default: boolean;
36
45
  };
37
46
  }>> & Readonly<{}>, {
38
- placement: DsTooltipPlacement;
47
+ status: DsDeliverabilityBadgeStatus;
39
48
  focusable: boolean;
49
+ placement: DsTooltipPlacement;
40
50
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
41
51
  export default _default;
@@ -0,0 +1,42 @@
1
+ export interface DsEmailEditorItem {
2
+ value: string;
3
+ }
4
+ /** Every string the editor shows or announces. The app owns it (and its i18n). */
5
+ export interface DsEmailEditorCopy {
6
+ /** Heading of the form ("Edit emails"). */
7
+ title: string;
8
+ /** Accessible name of the header's back button. The button only renders when this is set. */
9
+ back?: string;
10
+ /** Accessible name of the header's close button. The button only renders when this is set. */
11
+ close?: string;
12
+ /** The link-style button that appends a row ("Add email"). */
13
+ addEmail: string;
14
+ /** Accessible name of every email input ("Email address"). */
15
+ emailLabel: string;
16
+ placeholder: string;
17
+ /** Info note under the rows (the verification credit warning). */
18
+ note: string;
19
+ cancel: string;
20
+ save: string;
21
+ /** Under a row whose text is not an email ("Please enter a valid email."). */
22
+ invalidEmail: string;
23
+ /** Under the later occurrence of a repeated email ("This email is duplicated."). */
24
+ duplicateEmail: string;
25
+ /** Accessible name of every row's remove button ("Remove email"). */
26
+ removeEmail: string;
27
+ }
28
+ export interface DsEmailEditorProps {
29
+ /**
30
+ * The current emails. Read when the editor mounts and as the baseline of «what changed»:
31
+ * a later change of the array does not reset what the user is typing.
32
+ */
33
+ items: DsEmailEditorItem[];
34
+ copy: DsEmailEditorCopy;
35
+ /**
36
+ * The consumer's save is in flight. Save shows its spinner and ignores clicks, and the inputs,
37
+ * «Add email», the remove buttons, Cancel, back and close are disabled; `save` is not emitted
38
+ * again. The form region carries `aria-busy`. Back to `false` it is usable again, with what
39
+ * the user typed intact (the consumer keeps it open on error, closes it on success).
40
+ */
41
+ saving?: boolean;
42
+ }
@@ -0,0 +1,40 @@
1
+ import { type PropType } from 'vue';
2
+ import type { DsEmailEditorCopy, DsEmailEditorItem } from './DsEmailEditor.types';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ items: {
5
+ type: PropType<DsEmailEditorItem[]>;
6
+ required: true;
7
+ };
8
+ copy: {
9
+ type: PropType<DsEmailEditorCopy>;
10
+ required: true;
11
+ };
12
+ saving: {
13
+ type: BooleanConstructor;
14
+ default: boolean;
15
+ };
16
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ close: (...args: any[]) => void;
18
+ cancel: (...args: any[]) => void;
19
+ save: (...args: any[]) => void;
20
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
+ items: {
22
+ type: PropType<DsEmailEditorItem[]>;
23
+ required: true;
24
+ };
25
+ copy: {
26
+ type: PropType<DsEmailEditorCopy>;
27
+ required: true;
28
+ };
29
+ saving: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ }>> & Readonly<{
34
+ onClose?: ((...args: any[]) => any) | undefined;
35
+ onCancel?: ((...args: any[]) => any) | undefined;
36
+ onSave?: ((...args: any[]) => any) | undefined;
37
+ }>, {
38
+ saving: boolean;
39
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
40
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as DsEmailEditor } from './DsEmailEditor.vue';
2
+ export * from './DsEmailEditor.types';
@@ -0,0 +1,2 @@
1
+ import type { DsIconMap } from '../../icons/icons.types';
2
+ export declare const STORY_WEIGHT_600: DsIconMap;
@@ -0,0 +1,31 @@
1
+ export declare const DS_ICON_SIZES: {
2
+ readonly SMALL: 16;
3
+ readonly MEDIUM: 20;
4
+ readonly LARGE: 24;
5
+ };
6
+ export type DsIconSize = (typeof DS_ICON_SIZES)[keyof typeof DS_ICON_SIZES];
7
+ export declare const DS_ICON_WEIGHTS: {
8
+ readonly THIN: 100;
9
+ readonly EXTRA_LIGHT: 200;
10
+ readonly LIGHT: 300;
11
+ readonly REGULAR: 400;
12
+ readonly MEDIUM: 500;
13
+ readonly SEMI_BOLD: 600;
14
+ readonly BOLD: 700;
15
+ };
16
+ export type DsIconWeight = (typeof DS_ICON_WEIGHTS)[keyof typeof DS_ICON_WEIGHTS];
17
+ export declare const DEFAULT_ICON_WEIGHT: DsIconWeight;
18
+ export declare const DS_ICON_VARIANTS: {
19
+ readonly OUTLINED: "outlined";
20
+ readonly ROUNDED: "rounded";
21
+ };
22
+ export type DsIconVariant = (typeof DS_ICON_VARIANTS)[keyof typeof DS_ICON_VARIANTS];
23
+ export declare const DS_ICON_COLORS: {
24
+ readonly DEFAULT: "default";
25
+ readonly MUTED: "muted";
26
+ readonly SUCCESS: "success";
27
+ readonly WARNING: "warning";
28
+ readonly DANGER: "danger";
29
+ readonly DISABLED: "disabled";
30
+ };
31
+ export type DsIconColor = (typeof DS_ICON_COLORS)[keyof typeof DS_ICON_COLORS];
@@ -0,0 +1,66 @@
1
+ import { type PropType } from 'vue';
2
+ import { type DsIconColor, type DsIconSize, type DsIconVariant, type DsIconWeight } from './DsIcon.types';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ name: {
5
+ type: StringConstructor;
6
+ required: true;
7
+ };
8
+ size: {
9
+ type: PropType<DsIconSize>;
10
+ default: 20;
11
+ validator: (value: number) => boolean;
12
+ };
13
+ variant: {
14
+ type: PropType<DsIconVariant>;
15
+ default: "outlined";
16
+ };
17
+ weight: {
18
+ type: PropType<DsIconWeight>;
19
+ default: DsIconWeight;
20
+ validator: (value: number) => boolean;
21
+ };
22
+ fill: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ color: {
27
+ type: PropType<DsIconColor | undefined>;
28
+ default: undefined;
29
+ validator: (value: string) => boolean;
30
+ };
31
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
32
+ name: {
33
+ type: StringConstructor;
34
+ required: true;
35
+ };
36
+ size: {
37
+ type: PropType<DsIconSize>;
38
+ default: 20;
39
+ validator: (value: number) => boolean;
40
+ };
41
+ variant: {
42
+ type: PropType<DsIconVariant>;
43
+ default: "outlined";
44
+ };
45
+ weight: {
46
+ type: PropType<DsIconWeight>;
47
+ default: DsIconWeight;
48
+ validator: (value: number) => boolean;
49
+ };
50
+ fill: {
51
+ type: BooleanConstructor;
52
+ default: boolean;
53
+ };
54
+ color: {
55
+ type: PropType<DsIconColor | undefined>;
56
+ default: undefined;
57
+ validator: (value: string) => boolean;
58
+ };
59
+ }>> & Readonly<{}>, {
60
+ size: DsIconSize;
61
+ fill: boolean;
62
+ variant: DsIconVariant;
63
+ color: DsIconColor | undefined;
64
+ weight: DsIconWeight;
65
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
66
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as DsIcon } from './DsIcon.vue';
2
+ export * from './DsIcon.types';
@@ -9,6 +9,7 @@ export declare const DS_INPUT_TYPES: {
9
9
  };
10
10
  export type DsInputType = (typeof DS_INPUT_TYPES)[keyof typeof DS_INPUT_TYPES];
11
11
  export declare const DS_INPUT_SIZES: {
12
+ readonly XS: "xs";
12
13
  readonly SM: "sm";
13
14
  readonly MD: "md";
14
15
  };
@@ -40,6 +40,11 @@ export declare const DS_POPOVER_PLACEMENTS: {
40
40
  readonly OVER_END: "over-end";
41
41
  };
42
42
  export type DsPopoverPlacement = (typeof DS_POPOVER_PLACEMENTS)[keyof typeof DS_POPOVER_PLACEMENTS];
43
+ /**
44
+ * A box the panel must stay inside, on top of the viewport: an element, or a getter for its
45
+ * rect (`null` = no boundary right now). Re-read on every measurement.
46
+ */
47
+ export type DsPopoverBoundary = HTMLElement | (() => DOMRect | null) | null;
43
48
  export interface DsPopoverProps {
44
49
  /** Visibility. Controlled — pair with `v-model:open`. */
45
50
  open?: boolean;
@@ -72,5 +77,11 @@ export interface DsPopoverProps {
72
77
  * Root and trigger fill their container instead of hugging the trigger's content: the
73
78
  * whole surface opens the panel (a table cell painted as clickable end to end). SALESQL-4056.
74
79
  */
75
- block?: boolean;
80
+ block?: boolean; /**
81
+ * Keeps the panel inside this box as well as the viewport — an element, or a getter for its
82
+ * rect. The panel's edges stop at the boundary's (flush, no margin) and it is capped to the
83
+ * width left, so it never covers what is beyond it: the prospector table's sticky «Actions»
84
+ * column. `null` (default) = viewport only. Additive (SALESQL-4428).
85
+ */
86
+ boundary?: DsPopoverBoundary;
76
87
  }
@@ -1,5 +1,5 @@
1
1
  import { type PropType } from 'vue';
2
- import { type DsPopoverPlacement } from './DsPopover.types';
2
+ import { type DsPopoverBoundary, type DsPopoverPlacement } from './DsPopover.types';
3
3
  declare var __VLS_1: {}, __VLS_11: {}, __VLS_17: {};
4
4
  type __VLS_Slots = {} & {
5
5
  trigger?: (props: typeof __VLS_1) => any;
@@ -50,6 +50,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
50
50
  type: BooleanConstructor;
51
51
  default: boolean;
52
52
  };
53
+ boundary: {
54
+ type: PropType<DsPopoverBoundary>;
55
+ default: null;
56
+ };
53
57
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
54
58
  "update:open": (...args: any[]) => void;
55
59
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -94,6 +98,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
94
98
  type: BooleanConstructor;
95
99
  default: boolean;
96
100
  };
101
+ boundary: {
102
+ type: PropType<DsPopoverBoundary>;
103
+ default: null;
104
+ };
97
105
  }>> & Readonly<{
98
106
  "onUpdate:open"?: ((...args: any[]) => any) | undefined;
99
107
  }>, {
@@ -108,6 +116,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
108
116
  growTo: string;
109
117
  closeOnOutside: boolean;
110
118
  triggerOnClick: boolean;
119
+ boundary: DsPopoverBoundary;
111
120
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
112
121
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
113
122
  export default _default;
@@ -300,6 +300,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
300
300
  create: DsPickerCreateMode;
301
301
  disabled: boolean;
302
302
  pill: boolean;
303
+ folder: DsPickerOption | null;
303
304
  icon: string;
304
305
  tooltip: string;
305
306
  teleported: boolean;
@@ -317,7 +318,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
317
318
  createFormTitle: string;
318
319
  editFormTitle: string;
319
320
  tooltipPlacement: DsTooltipPlacement;
320
- folder: DsPickerOption | null;
321
321
  align: DsPickerAlign;
322
322
  rowActions: boolean | DsPickerRowActionsMode;
323
323
  formLoading: boolean;