@ansible/ansible-ui-framework 2.4.2699 → 2.4.2701

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.
@@ -1,4 +1,4 @@
1
- import { u as He, j as M } from "./index-Cca7Tl23.js";
1
+ import { u as He, j as M } from "./index-DlgoNBSk.js";
2
2
  import { useContext as je, createContext as Oe, useState as Se, useEffect as Be, useRef as Ze } from "react";
3
3
  import Ye from "react-dom";
4
4
  import { A as Te } from "./ansible-chatbot-jXPBfTRi.js";
@@ -1,4 +1,4 @@
1
- import { u as a, j as e, d as i } from "./index-Cca7Tl23.js";
1
+ import { u as a, j as e, d as i } from "./index-DlgoNBSk.js";
2
2
  import { t as r, a as s, X as o } from "./ansible-chatbot-jXPBfTRi.js";
3
3
  import "@patternfly/react-core";
4
4
  import "react";
@@ -3,7 +3,7 @@ import { ITableColumn } from '../PageTable/PageTableColumn';
3
3
  import { BulkActionDialogProps, StatusWithMessageAndUrl } from './BulkActionDialog';
4
4
  export interface BulkConfirmationDialog<T extends object> {
5
5
  title: string;
6
- prompt?: string;
6
+ prompt?: React.ReactNode;
7
7
  alertPrompts?: string[];
8
8
  items: T[];
9
9
  isItemNonActionable?: (item: T) => string | undefined;
@@ -16,6 +16,7 @@ export type FormGroupSingleSelectTypeAheadProps = {
16
16
  options: {
17
17
  value: string;
18
18
  label: string;
19
+ group?: string;
19
20
  }[];
20
21
  onHandleSelection: (value: {
21
22
  name: string;
@@ -27,5 +28,6 @@ export type FormGroupSingleSelectTypeAheadProps = {
27
28
  onHandleClear: () => void;
28
29
  isRequired?: boolean;
29
30
  toggleButtonId?: string;
31
+ allowCreate?: boolean;
30
32
  };
31
33
  export declare function FormGroupSingleSelectTypeAhead(props: FormGroupSingleSelectTypeAheadProps): import("react/jsx-runtime").JSX.Element;
@@ -14,5 +14,5 @@ export type PageFormMultiInputProps<T, TFieldValues extends FieldValues = FieldV
14
14
  getChipLabel: (item: T) => string;
15
15
  } & Omit<PageFormGroupProps, 'onChange' | 'value'> & LabelGroupProps;
16
16
  export declare function PageFormMultiInput<T extends {
17
- id: number | string;
17
+ id?: number | string;
18
18
  }, TFieldValues extends FieldValues = FieldValues, TFieldName extends FieldPathByValue<TFieldValues, T[]> = FieldPathByValue<TFieldValues, T[]>>(props: PageFormMultiInputProps<T, TFieldValues, TFieldName>): import("react/jsx-runtime").JSX.Element;
@@ -35,6 +35,7 @@ interface ITableColumnCommon<T extends object> {
35
35
  minWidth?: number;
36
36
  maxWidth?: number;
37
37
  fullWidth?: boolean;
38
+ detailsFullWidth?: boolean;
38
39
  sort?: string;
39
40
  defaultSortDirection?: 'asc' | 'desc';
40
41
  defaultSort?: boolean;
@@ -97,6 +98,7 @@ export declare function useColumnsWithoutSort<T extends object>(columns: ITableC
97
98
  minWidth?: number;
98
99
  maxWidth?: number;
99
100
  fullWidth?: boolean;
101
+ detailsFullWidth?: boolean;
100
102
  defaultSortDirection?: "asc" | "desc";
101
103
  defaultSort?: boolean;
102
104
  icon?: ((item: T) => ReactNode) | undefined;
@@ -117,6 +119,7 @@ export declare function useColumnsWithoutSort<T extends object>(columns: ITableC
117
119
  minWidth?: number;
118
120
  maxWidth?: number;
119
121
  fullWidth?: boolean;
122
+ detailsFullWidth?: boolean;
120
123
  defaultSortDirection?: "asc" | "desc";
121
124
  defaultSort?: boolean;
122
125
  icon?: ((item: T) => ReactNode) | undefined;
@@ -136,6 +139,7 @@ export declare function useColumnsWithoutSort<T extends object>(columns: ITableC
136
139
  minWidth?: number;
137
140
  maxWidth?: number;
138
141
  fullWidth?: boolean;
142
+ detailsFullWidth?: boolean;
139
143
  defaultSortDirection?: "asc" | "desc";
140
144
  defaultSort?: boolean;
141
145
  icon?: ((item: T) => ReactNode) | undefined;
@@ -155,6 +159,7 @@ export declare function useColumnsWithoutSort<T extends object>(columns: ITableC
155
159
  minWidth?: number;
156
160
  maxWidth?: number;
157
161
  fullWidth?: boolean;
162
+ detailsFullWidth?: boolean;
158
163
  defaultSortDirection?: "asc" | "desc";
159
164
  defaultSort?: boolean;
160
165
  icon?: ((item: T) => ReactNode) | undefined;
@@ -174,6 +179,7 @@ export declare function useColumnsWithoutSort<T extends object>(columns: ITableC
174
179
  minWidth?: number;
175
180
  maxWidth?: number;
176
181
  fullWidth?: boolean;
182
+ detailsFullWidth?: boolean;
177
183
  defaultSortDirection?: "asc" | "desc";
178
184
  defaultSort?: boolean;
179
185
  icon?: ((item: T) => ReactNode) | undefined;
@@ -193,6 +199,7 @@ export declare function useColumnsWithoutSort<T extends object>(columns: ITableC
193
199
  minWidth?: number;
194
200
  maxWidth?: number;
195
201
  fullWidth?: boolean;
202
+ detailsFullWidth?: boolean;
196
203
  defaultSortDirection?: "asc" | "desc";
197
204
  defaultSort?: boolean;
198
205
  icon?: ((item: T) => ReactNode) | undefined;
@@ -214,6 +221,7 @@ export declare function useColumnsWithoutExpandedRow<T extends object>(columns:
214
221
  minWidth?: number;
215
222
  maxWidth?: number;
216
223
  fullWidth?: boolean;
224
+ detailsFullWidth?: boolean;
217
225
  sort?: string;
218
226
  defaultSortDirection?: "asc" | "desc";
219
227
  defaultSort?: boolean;
@@ -234,6 +242,7 @@ export declare function useColumnsWithoutExpandedRow<T extends object>(columns:
234
242
  minWidth?: number;
235
243
  maxWidth?: number;
236
244
  fullWidth?: boolean;
245
+ detailsFullWidth?: boolean;
237
246
  sort?: string;
238
247
  defaultSortDirection?: "asc" | "desc";
239
248
  defaultSort?: boolean;
@@ -253,6 +262,7 @@ export declare function useColumnsWithoutExpandedRow<T extends object>(columns:
253
262
  minWidth?: number;
254
263
  maxWidth?: number;
255
264
  fullWidth?: boolean;
265
+ detailsFullWidth?: boolean;
256
266
  sort?: string;
257
267
  defaultSortDirection?: "asc" | "desc";
258
268
  defaultSort?: boolean;
@@ -272,6 +282,7 @@ export declare function useColumnsWithoutExpandedRow<T extends object>(columns:
272
282
  minWidth?: number;
273
283
  maxWidth?: number;
274
284
  fullWidth?: boolean;
285
+ detailsFullWidth?: boolean;
275
286
  sort?: string;
276
287
  defaultSortDirection?: "asc" | "desc";
277
288
  defaultSort?: boolean;
@@ -291,6 +302,7 @@ export declare function useColumnsWithoutExpandedRow<T extends object>(columns:
291
302
  minWidth?: number;
292
303
  maxWidth?: number;
293
304
  fullWidth?: boolean;
305
+ detailsFullWidth?: boolean;
294
306
  sort?: string;
295
307
  defaultSortDirection?: "asc" | "desc";
296
308
  defaultSort?: boolean;
@@ -310,6 +322,7 @@ export declare function useColumnsWithoutExpandedRow<T extends object>(columns:
310
322
  minWidth?: number;
311
323
  maxWidth?: number;
312
324
  fullWidth?: boolean;
325
+ detailsFullWidth?: boolean;
313
326
  sort?: string;
314
327
  defaultSortDirection?: "asc" | "desc";
315
328
  defaultSort?: boolean;