@salesql/sql_components_vue3 3.33.0 → 3.34.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.
@@ -4,6 +4,13 @@ export declare const DS_MAILBOX_PROVIDERS: {
4
4
  readonly MICROSOFT: "microsoft";
5
5
  };
6
6
  export type DsMailboxProvider = (typeof DS_MAILBOX_PROVIDERS)[keyof typeof DS_MAILBOX_PROVIDERS];
7
+ /** Whether the mailboxes read worked: `error` / `retrying` show «Retry» instead of the list. */
8
+ export declare const DS_ACCOUNT_MENU_MAILBOXES_STATES: {
9
+ readonly READY: "ready";
10
+ readonly ERROR: "error";
11
+ readonly RETRYING: "retrying";
12
+ };
13
+ export type DsAccountMenuMailboxesState = (typeof DS_ACCOUNT_MENU_MAILBOXES_STATES)[keyof typeof DS_ACCOUNT_MENU_MAILBOXES_STATES];
7
14
  export interface DsAccountMenuUser {
8
15
  name: string;
9
16
  email: string;
@@ -27,7 +34,7 @@ export interface DsAccountMenuProgress {
27
34
  done: number;
28
35
  total: number;
29
36
  }
30
- /** Every string of the menu. Pass a partial: it overrides only its keys. */
37
+ /** Every string of the menu. Pass a partial: it overrides only its keys. Newer keys are optional. */
31
38
  export interface DsAccountMenuCopy {
32
39
  /** The trigger's and the menu's accessible name. */
33
40
  menu: string;
@@ -50,6 +57,11 @@ export interface DsAccountMenuCopy {
50
57
  /** The «Reconnect» pill's accessible name. */
51
58
  reconnectLabel: (email: string) => string;
52
59
  reconnectTooltip: string;
60
+ /** The Mailboxes group's message when the list could not be read. */
61
+ mailboxesError?: string;
62
+ retry?: string;
63
+ /** Announced to screen readers when a retry fails again. */
64
+ mailboxesRetryFailed?: string;
53
65
  getStarted: string;
54
66
  getStartedProgress: (done: number, total: number) => string;
55
67
  bulkSave: string;
@@ -61,7 +73,7 @@ export interface DsAccountMenuCopy {
61
73
  whatsNewUnread: (unread: number) => string;
62
74
  logout: string;
63
75
  }
64
- export declare const DS_ACCOUNT_MENU_COPY: DsAccountMenuCopy;
76
+ export declare const DS_ACCOUNT_MENU_COPY: Required<DsAccountMenuCopy>;
65
77
  export interface DsAccountMenuProps {
66
78
  /** Visibility. Omit it and the menu manages itself; bind `v-model:open` to control it. */
67
79
  open?: boolean;
@@ -73,6 +85,11 @@ export interface DsAccountMenuProps {
73
85
  * `[]` = «Mailboxes» + «Connect a mailbox».
74
86
  */
75
87
  mailboxes?: DsAccountMenuMailbox[] | null;
88
+ /**
89
+ * `error` / `retrying`: the list could not be read. The group shows the message and «Retry»
90
+ * (busy while `retrying`) and ignores `mailboxes`. Default `ready`.
91
+ */
92
+ mailboxesState?: DsAccountMenuMailboxesState;
76
93
  /** «Get started · n of total», while the onboarding checklist is hidden. `null` = no row. */
77
94
  getStarted?: DsAccountMenuProgress | null;
78
95
  showBulkSave?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { type PropType } from 'vue';
2
- import { type DsAccountMenuCopy, type DsAccountMenuCredits, type DsAccountMenuMailbox, type DsAccountMenuProgress, type DsAccountMenuUser } from './DsAccountMenu.types';
2
+ import { type DsAccountMenuCopy, type DsAccountMenuCredits, type DsAccountMenuMailbox, type DsAccountMenuMailboxesState, type DsAccountMenuProgress, type DsAccountMenuUser } from './DsAccountMenu.types';
3
3
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  open: {
5
5
  type: BooleanConstructor;
@@ -17,6 +17,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
17
17
  type: PropType<DsAccountMenuMailbox[] | null>;
18
18
  default: null;
19
19
  };
20
+ mailboxesState: {
21
+ type: PropType<DsAccountMenuMailboxesState>;
22
+ default: "ready";
23
+ validator: (value: string) => boolean;
24
+ };
20
25
  getStarted: {
21
26
  type: PropType<DsAccountMenuProgress | null>;
22
27
  default: null;
@@ -53,6 +58,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
53
58
  "update:open": (...args: any[]) => void;
54
59
  connect: (...args: any[]) => void;
55
60
  reconnect: (...args: any[]) => void;
61
+ "retry-mailboxes": (...args: any[]) => void;
56
62
  "get-started": (...args: any[]) => void;
57
63
  "bulk-save": (...args: any[]) => void;
58
64
  "linkedin-accounts": (...args: any[]) => void;
@@ -77,6 +83,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
77
83
  type: PropType<DsAccountMenuMailbox[] | null>;
78
84
  default: null;
79
85
  };
86
+ mailboxesState: {
87
+ type: PropType<DsAccountMenuMailboxesState>;
88
+ default: "ready";
89
+ validator: (value: string) => boolean;
90
+ };
80
91
  getStarted: {
81
92
  type: PropType<DsAccountMenuProgress | null>;
82
93
  default: null;
@@ -113,6 +124,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
113
124
  "onUpdate:open"?: ((...args: any[]) => any) | undefined;
114
125
  onConnect?: ((...args: any[]) => any) | undefined;
115
126
  onReconnect?: ((...args: any[]) => any) | undefined;
127
+ "onRetry-mailboxes"?: ((...args: any[]) => any) | undefined;
116
128
  "onGet-started"?: ((...args: any[]) => any) | undefined;
117
129
  "onBulk-save"?: ((...args: any[]) => any) | undefined;
118
130
  "onLinkedin-accounts"?: ((...args: any[]) => any) | undefined;
@@ -127,10 +139,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
127
139
  credits: import("../../ui/DsCreditsSummary").DsCredits | null;
128
140
  mailboxes: DsAccountMenuMailbox[] | null;
129
141
  getStarted: DsAccountMenuProgress | null;
142
+ whatsNewUnread: number;
143
+ mailboxesState: DsAccountMenuMailboxesState;
130
144
  showBulkSave: boolean;
131
145
  showLinkedinAccounts: boolean;
132
146
  showHelp: boolean;
133
147
  showWhatsNew: boolean;
134
- whatsNewUnread: number;
135
148
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
136
149
  export default _default;
@@ -0,0 +1,24 @@
1
+ export declare const DS_CONFIRM_DIALOG_CANCEL_REASONS: {
2
+ /** The secondary button. */
3
+ readonly ACTION: "action";
4
+ /** Esc, the X or the backdrop. */
5
+ readonly DISMISS: "dismiss";
6
+ };
7
+ export type DsConfirmDialogCancelReason = (typeof DS_CONFIRM_DIALOG_CANCEL_REASONS)[keyof typeof DS_CONFIRM_DIALOG_CANCEL_REASONS];
8
+ export interface DsConfirmDialogProps {
9
+ open?: boolean;
10
+ /** The header («Confirm contact move»). */
11
+ title: string;
12
+ /** The question. The default slot replaces it for richer content. */
13
+ text?: string;
14
+ /** A secondary line under the text (stale data, a side effect). Empty = none. */
15
+ notice?: string;
16
+ /** The primary action («Move to new folder»); emits `confirm`. */
17
+ confirmLabel: string;
18
+ /** The safe action («Keep in current folder»); emits `cancel` with `action`. Gets the focus on open. */
19
+ cancelLabel: string;
20
+ /** Accessible name of the dialog's X. */
21
+ closeLabel?: string;
22
+ /** The app is acting on the answer: the primary shows its spinner and every path is blocked. */
23
+ loading?: boolean;
24
+ }
@@ -0,0 +1,91 @@
1
+ import { type DsConfirmDialogCancelReason } from './DsConfirmDialog.types';
2
+ declare var __VLS_10: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_10) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
7
+ open: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ title: {
12
+ type: StringConstructor;
13
+ required: true;
14
+ };
15
+ text: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ notice: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ confirmLabel: {
24
+ type: StringConstructor;
25
+ required: true;
26
+ };
27
+ cancelLabel: {
28
+ type: StringConstructor;
29
+ required: true;
30
+ };
31
+ closeLabel: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ loading: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
40
+ cancel: (reason: DsConfirmDialogCancelReason) => void;
41
+ confirm: () => void;
42
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
43
+ open: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ };
47
+ title: {
48
+ type: StringConstructor;
49
+ required: true;
50
+ };
51
+ text: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ notice: {
56
+ type: StringConstructor;
57
+ default: string;
58
+ };
59
+ confirmLabel: {
60
+ type: StringConstructor;
61
+ required: true;
62
+ };
63
+ cancelLabel: {
64
+ type: StringConstructor;
65
+ required: true;
66
+ };
67
+ closeLabel: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ };
71
+ loading: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ }>> & Readonly<{
76
+ onCancel?: ((reason: DsConfirmDialogCancelReason) => any) | undefined;
77
+ onConfirm?: (() => any) | undefined;
78
+ }>, {
79
+ text: string;
80
+ open: boolean;
81
+ loading: boolean;
82
+ closeLabel: string;
83
+ notice: string;
84
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
85
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
86
+ export default _default;
87
+ type __VLS_WithSlots<T, S> = T & {
88
+ new (): {
89
+ $slots: S;
90
+ };
91
+ };
@@ -0,0 +1,2 @@
1
+ export { default as DsConfirmDialog } from './DsConfirmDialog.vue';
2
+ export * from './DsConfirmDialog.types';
@@ -19,4 +19,10 @@ export interface DsItemSelectorButtonProps {
19
19
  disabled?: boolean;
20
20
  /** Max width of the label before it truncates (default 200px). A number is px. */
21
21
  labelMaxWidth?: number | string | null;
22
+ /**
23
+ * Shows only the icon (no gap, symmetric padding: a 42px chip). The label stays
24
+ * visually hidden, so `item.name` (or `ariaLabel`) still names the button. Without `icon`
25
+ * it has no effect: the label stays visible.
26
+ */
27
+ iconOnly?: boolean;
22
28
  }
@@ -22,6 +22,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
22
22
  type: (NumberConstructor | StringConstructor)[];
23
23
  default: null;
24
24
  };
25
+ iconOnly: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
25
29
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
30
  click: (...args: any[]) => void;
27
31
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -46,6 +50,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
46
50
  type: (NumberConstructor | StringConstructor)[];
47
51
  default: null;
48
52
  };
53
+ iconOnly: {
54
+ type: BooleanConstructor;
55
+ default: boolean;
56
+ };
49
57
  }>> & Readonly<{
50
58
  onClick?: ((...args: any[]) => any) | undefined;
51
59
  }>, {
@@ -55,5 +63,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
55
63
  item: DsSelectorItem | null;
56
64
  emptyTitle: string;
57
65
  labelMaxWidth: string | number;
66
+ iconOnly: boolean;
58
67
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
59
68
  export default _default;
@@ -1,3 +1,5 @@
1
+ /** `alertdialog` for a question that interrupts the flow (DsConfirmDialog). */
2
+ export type DsModalRole = 'dialog' | 'alertdialog';
1
3
  export interface DsModalProps {
2
4
  open?: boolean;
3
5
  title?: string;
@@ -18,4 +20,10 @@ export interface DsModalProps {
18
20
  /** Whether pressing Escape emits close (portal mode). Default true. */
19
21
  closeOnEscape?: boolean;
20
22
  closeLabel?: string;
23
+ /** Work in flight: the × is disabled and the dialog is `aria-busy`. Default false. */
24
+ busy?: boolean;
25
+ /** Id of the element that describes the dialog (`aria-describedby`). Empty (default) = none. */
26
+ describedby?: string;
27
+ /** Default `dialog`. */
28
+ role?: DsModalRole;
21
29
  }
@@ -1,3 +1,5 @@
1
+ import { type PropType } from 'vue';
2
+ import type { DsModalRole } from './DsModal.types';
1
3
  declare var __VLS_17: {}, __VLS_19: {};
2
4
  type __VLS_Slots = {} & {
3
5
  default?: (props: typeof __VLS_17) => any;
@@ -43,6 +45,16 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
43
45
  type: StringConstructor;
44
46
  default: string;
45
47
  };
48
+ busy: BooleanConstructor;
49
+ describedby: {
50
+ type: StringConstructor;
51
+ default: string;
52
+ };
53
+ role: {
54
+ type: PropType<DsModalRole>;
55
+ default: string;
56
+ validator: (v: string) => v is "dialog" | "alertdialog";
57
+ };
46
58
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
47
59
  close: (...args: any[]) => void;
48
60
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -84,20 +96,33 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
84
96
  type: StringConstructor;
85
97
  default: string;
86
98
  };
99
+ busy: BooleanConstructor;
100
+ describedby: {
101
+ type: StringConstructor;
102
+ default: string;
103
+ };
104
+ role: {
105
+ type: PropType<DsModalRole>;
106
+ default: string;
107
+ validator: (v: string) => v is "dialog" | "alertdialog";
108
+ };
87
109
  }>> & Readonly<{
88
110
  onClose?: ((...args: any[]) => any) | undefined;
89
111
  }>, {
90
112
  title: string;
91
113
  width: string;
92
114
  height: string;
115
+ role: DsModalRole;
93
116
  open: boolean;
94
117
  closeLabel: string;
95
118
  center: boolean;
96
119
  top: string;
97
120
  fixed: boolean;
121
+ describedby: string;
98
122
  showClose: boolean;
99
123
  closeOnBackdrop: boolean;
100
124
  closeOnEscape: boolean;
125
+ busy: boolean;
101
126
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
102
127
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
103
128
  export default _default;
@@ -0,0 +1,9 @@
1
+ export declare function pushModal(token: symbol, returnFocus: HTMLElement | null): void;
2
+ /**
3
+ * Takes the layer out and returns where the focus goes back. A layer below the top returns
4
+ * nothing: the one above it inherits its target, so the focus stays in the top dialog.
5
+ */
6
+ export declare function removeModal(token: symbol): HTMLElement | null;
7
+ export declare const isTopModal: (token: symbol) => boolean;
8
+ export declare function lockPageScroll(): void;
9
+ export declare function unlockPageScroll(): void;
@@ -39,8 +39,12 @@ export interface DsSavedButtonProps {
39
39
  colors?: readonly string[];
40
40
  /** Swatch the create form (and Edit of a folder without colour) starts at. Empty (default) = the first of `colors`. */
41
41
  defaultColor?: string;
42
- /** The app is saving the form: its submit button shows the spinner and is blocked. */
42
+ /** The app is saving the form: its submit button shows the spinner and is blocked. On success it calls `closeForm(created, session)` on the instance (`session` from `submitSession()` in the submit handler): with `selectOnCreate` and the folder it just created, the picker emits `pick` with it, closes and returns `'taken'`; `'not-taken'` = it did not (no `selectOnCreate`, or the panel closed, the form was left or another form opened during the save), so the app selects it itself; `'stale'` = a newer submit or pick superseded that save, so the app only lists it. `closeForm()` only goes back to the list. */
43
43
  formLoading?: boolean;
44
+ /** `closeForm(created)` also picks the new folder and closes («Create & select»). Default `false`. */
45
+ selectOnCreate?: boolean;
46
+ /** Clicking the checked folder (mouse, Space or Enter) also emits `pick` with it and closes, e.g. to move a selection into the current destination. Default `false`: the checked folder emits nothing. */
47
+ repick?: boolean;
44
48
  /** A failed save, shown under the name field. */
45
49
  formError?: string;
46
50
  copy?: Partial<DsSavedButtonCopy>;
@@ -1,21 +1,22 @@
1
1
  import { type PropType } from 'vue';
2
2
  import { type DsTooltipPlacement } from '../../ui/DsTooltip';
3
- import { type DsPickerAlign, type DsPickerCreateMode, type DsPickerOption, type DsPickerRowActionsMode, type DsPickerSize } from '../../constants/pickers';
3
+ import { type DsPickerAlign, type DsPickerCreateMode, type DsPickerOption, type DsPickerRowActionsMode, type DsPickerSaveResult, type DsPickerSize } from '../../constants/pickers';
4
4
  import { type DsSavedButtonCopy } from './DsSavedButton.types';
5
5
  declare function toggle(): void;
6
6
  declare function openCreateForm(name?: string): void;
7
+ declare function closeForm(created?: DsPickerOption, session?: number): DsPickerSaveResult;
7
8
  declare var __VLS_9: {
8
9
  open: boolean;
9
10
  toggle: typeof toggle;
10
11
  disabled: boolean;
11
- }, __VLS_58: {
12
+ }, __VLS_61: {
12
13
  query: string;
13
14
  openCreateForm: typeof openCreateForm;
14
15
  };
15
16
  type __VLS_Slots = {} & {
16
17
  trigger?: (props: typeof __VLS_9) => any;
17
18
  } & {
18
- footer?: (props: typeof __VLS_58) => any;
19
+ footer?: (props: typeof __VLS_61) => any;
19
20
  };
20
21
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
21
22
  label: {
@@ -88,6 +89,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
88
89
  type: BooleanConstructor;
89
90
  default: boolean;
90
91
  };
92
+ selectOnCreate: {
93
+ type: BooleanConstructor;
94
+ default: boolean;
95
+ };
96
+ repick: {
97
+ type: BooleanConstructor;
98
+ default: boolean;
99
+ };
91
100
  formError: {
92
101
  type: StringConstructor;
93
102
  default: string;
@@ -157,7 +166,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
157
166
  default: undefined;
158
167
  };
159
168
  }>, {
160
- closeForm: () => void;
169
+ closeForm: typeof closeForm;
170
+ submitSession: () => number | undefined;
161
171
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
162
172
  search: (...args: any[]) => void;
163
173
  edit: (...args: any[]) => void;
@@ -240,6 +250,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
240
250
  type: BooleanConstructor;
241
251
  default: boolean;
242
252
  };
253
+ selectOnCreate: {
254
+ type: BooleanConstructor;
255
+ default: boolean;
256
+ };
257
+ repick: {
258
+ type: BooleanConstructor;
259
+ default: boolean;
260
+ };
243
261
  formError: {
244
262
  type: StringConstructor;
245
263
  default: string;
@@ -348,6 +366,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
348
366
  rowActions: boolean | DsPickerRowActionsMode;
349
367
  defaultColor: string;
350
368
  formLoading: boolean;
369
+ selectOnCreate: boolean;
370
+ repick: boolean;
351
371
  formError: string;
352
372
  createSubmitLabel: string;
353
373
  editSubmitLabel: string;
@@ -16,10 +16,13 @@ export interface DsTagPickerCopy extends DsPickerOrganizerCopy {
16
16
  newButton: string;
17
17
  /** `selection: 'single'`: the row that clears the applied tag. Optional, so a complete copy written before it still compiles. */
18
18
  removeTag?: string;
19
+ /** `selection: 'single'` with `selectOnCreate`: the create form's submit, which also picks the new tag («Create & select»). Unset, an explicit `createSubmit` wins over the English default. Optional, like `removeTag`. */
20
+ createSelectSubmit?: string;
19
21
  }
20
22
  /** The copy the picker renders: every key it shows resolved. */
21
23
  export type DsTagPickerResolvedCopy = DsTagPickerCopy & {
22
24
  removeTag: string;
25
+ createSelectSubmit: string;
23
26
  };
24
27
  export declare const DS_TAG_PICKER_COPY: DsTagPickerResolvedCopy;
25
28
  export declare const DS_TAG_PICKER_SELECTIONS: {
@@ -49,8 +52,10 @@ export interface DsTagPickerProps {
49
52
  colors?: readonly string[];
50
53
  /** Swatch the create form (and Edit of a tag without colour) starts at. Empty (default) = the first of `colors`. */
51
54
  defaultColor?: string;
52
- /** The app is saving the form: its submit button shows the spinner and is blocked. On success it calls `closeForm(created)` on the picker's instance: with the tag it just created (multiple selection), that tag enters the working copy checked and Apply keeps it even if `options` does not carry it yet. */
55
+ /** The app is saving the form: its submit button shows the spinner and is blocked. On success it calls `closeForm(created)` on the picker's instance: with the tag it just created, multiple selection checks it in the working copy (Apply keeps it even if `options` does not carry it yet) and stays open, also when the user left that form during the save (a form open meanwhile is left alone); single selection with `selectOnCreate` emits `apply [created]` and closes. Returns `'taken'` when it took it, `'not-taken'` when it did not (an edit, the panel closed, or single without `selectOnCreate` or whose form was left or replaced during the save): the app applies it itself, and `'stale'` when a newer submit or selection superseded that save: the app only lists it. Pass `submitSession()`, read in the submit handler, as `closeForm`'s second argument. */
53
56
  formLoading?: boolean;
57
+ /** `selection: 'single'`: `closeForm(created)` also applies the new tag and closes («Create & select»). Default `false`: it only goes back to the list. */
58
+ selectOnCreate?: boolean;
54
59
  /** A failed save, shown under the name field. */
55
60
  formError?: string;
56
61
  copy?: Partial<DsTagPickerCopy>;
@@ -1,8 +1,8 @@
1
1
  import { type PropType } from 'vue';
2
- import { type DsPickerAlign, type DsPickerCreateMode, type DsPickerOption, type DsPickerRowActionsMode, type DsPickerSize } from '../../constants/pickers';
2
+ import { type DsPickerAlign, type DsPickerCreateMode, type DsPickerOption, type DsPickerRowActionsMode, type DsPickerSaveResult, type DsPickerSize } from '../../constants/pickers';
3
3
  import { type DsTagPickerCopy, type DsTagPickerSelection } from './DsTagPicker.types';
4
4
  declare function toggle(): void;
5
- declare function closeForm(created?: DsPickerOption): void;
5
+ declare function closeForm(created?: DsPickerOption, session?: number): DsPickerSaveResult;
6
6
  declare var __VLS_9: {
7
7
  open: boolean;
8
8
  toggle: typeof toggle;
@@ -70,6 +70,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
70
70
  type: BooleanConstructor;
71
71
  default: boolean;
72
72
  };
73
+ selectOnCreate: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
73
77
  formError: {
74
78
  type: StringConstructor;
75
79
  default: string;
@@ -152,6 +156,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
152
156
  };
153
157
  }>, {
154
158
  closeForm: typeof closeForm;
159
+ submitSession: () => number | undefined;
155
160
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
156
161
  search: (...args: any[]) => void;
157
162
  edit: (...args: any[]) => void;
@@ -222,6 +227,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
222
227
  type: BooleanConstructor;
223
228
  default: boolean;
224
229
  };
230
+ selectOnCreate: {
231
+ type: BooleanConstructor;
232
+ default: boolean;
233
+ };
225
234
  formError: {
226
235
  type: StringConstructor;
227
236
  default: string;
@@ -338,6 +347,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
338
347
  rowActions: boolean | DsPickerRowActionsMode;
339
348
  defaultColor: string;
340
349
  formLoading: boolean;
350
+ selectOnCreate: boolean;
341
351
  formError: string;
342
352
  createSubmitLabel: string;
343
353
  editSubmitLabel: string;