@ansible/ansible-ui-framework 2.4.397 → 2.4.399

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,6 +9,11 @@ export declare function PageDashboardCard(props: {
9
9
  linkText?: string;
10
10
  to?: string;
11
11
  children?: ReactNode;
12
+ footerActionButton?: {
13
+ icon?: ReactNode;
14
+ title: string;
15
+ onClick: () => void;
16
+ };
12
17
  width?: PageDashboardCardWidth;
13
18
  height?: PageDashboardCardHeight;
14
19
  maxHeight?: PageDashboardCardHeight;
@@ -6,4 +6,9 @@ export declare function PageDashboardCarousel(props: {
6
6
  to?: string;
7
7
  width?: PageDashboardCardWidth;
8
8
  children: ReactNode;
9
+ footerActionButton?: {
10
+ icon?: ReactNode;
11
+ title: string;
12
+ onClick: () => void;
13
+ };
9
14
  }): import("react/jsx-runtime").JSX.Element;
@@ -4,6 +4,7 @@ import { IToolbarFilter } from '../PageToolbar/PageToolbarFilter';
4
4
  import { IView } from '../useView';
5
5
  export type MultiSelectDialogProps<T extends object> = {
6
6
  title: string;
7
+ description?: string;
7
8
  view: IView & ISelected<T> & {
8
9
  itemCount?: number;
9
10
  pageItems: T[] | undefined;
@@ -15,5 +16,8 @@ export type MultiSelectDialogProps<T extends object> = {
15
16
  cancelText?: string;
16
17
  emptyStateTitle?: string;
17
18
  errorStateTitle?: string;
19
+ defaultSort?: string;
20
+ maxSelections?: number;
21
+ allowZeroSelections?: boolean;
18
22
  };
19
23
  export declare function MultiSelectDialog<T extends object>(props: MultiSelectDialogProps<T>): import("react/jsx-runtime").JSX.Element;
@@ -54,6 +54,7 @@ export type PageTableProps<T extends object> = {
54
54
  defaultSubtitle?: ReactNode;
55
55
  expandedRow?: (item: T) => ReactNode;
56
56
  disableLastRowBorder?: boolean;
57
+ maxSelections?: number;
57
58
  topContent?: React.ReactNode;
58
59
  scrollTopContent?: boolean;
59
60
  };
@@ -38,5 +38,6 @@ export type PageToolbarProps<T extends object> = {
38
38
  disablePagination?: boolean;
39
39
  bottomBorder?: boolean;
40
40
  sortOptions?: PageTableSortOption[];
41
+ maxSelections?: number;
41
42
  };
42
43
  export declare function PageToolbar<T extends object>(props: PageToolbarProps<T>): import("react/jsx-runtime").JSX.Element;
@@ -6,5 +6,6 @@ export interface BulkSelectorProps<T> {
6
6
  unselectAll?: () => void;
7
7
  keyFn: (item: T) => string | number;
8
8
  selectNoneText?: string;
9
+ maxSelections?: number;
9
10
  }
10
11
  export declare function BulkSelector<T extends object>(props: BulkSelectorProps<T>): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,7 @@
1
1
  declare function Tqe(n: any): any;
2
2
  declare function $yt(n: any): any;
3
3
  declare function Uyt(n: any): any;
4
- declare function YV(n: any): any;
4
+ declare function Zx(n: any): any;
5
5
  declare var bqe: any;
6
6
  declare var _qe: any;
7
7
  declare var yqe: any;
@@ -11,20 +11,20 @@ declare function Gyt(n: any): any;
11
11
  declare function xhe(n: any): any;
12
12
  declare const jyt: ie.Context<undefined>;
13
13
  declare function Yyt(n: any): any;
14
- declare function Bv(n: any): any;
14
+ declare function Wv(n: any): any;
15
15
  declare function dwt(n: any): any;
16
16
  declare function gYe(n: any): any;
17
17
  declare function hwt(n: any): any;
18
18
  declare function Wce(n: any): any;
19
- declare function M1(n: any): any;
19
+ declare function P1(n: any): any;
20
20
  declare var Ehe: any;
21
21
  declare function Lhe(n: any): any;
22
22
  declare function cwt(n: any): any;
23
23
  declare var khe: any;
24
24
  declare var gi: any;
25
25
  declare var Cr: any;
26
- declare function N1(n: any): any;
27
- declare const DG: ie.Context<{
26
+ declare function M1(n: any): any;
27
+ declare const EG: ie.Context<{
28
28
  addAlert: () => null;
29
29
  removeAlert: () => null;
30
30
  replaceAlert: () => null;
@@ -32,11 +32,11 @@ declare const DG: ie.Context<{
32
32
  }>;
33
33
  declare function Qce(n: any): any;
34
34
  declare function Jce(n: any): any;
35
- declare function sI(n: any): any;
35
+ declare function aI(n: any): any;
36
36
  declare function Xyt(n: any): any;
37
- declare function K4(n: any): any;
37
+ declare function Y4(n: any): any;
38
38
  declare function Qyt(n: any): any;
39
- declare const zY: ie.Context<{
39
+ declare const UY: ie.Context<{
40
40
  columns: number;
41
41
  }>;
42
42
  declare function Jyt(n: any): any;
@@ -51,9 +51,9 @@ declare function UCt(n: any): any;
51
51
  declare function vyt(n: any): any;
52
52
  declare function fwt(n: any): any;
53
53
  declare function VCt(n: any): any;
54
- declare function EK(n: any): any;
55
- declare function $Ct(n: any): any;
56
54
  declare function TK(n: any): any;
55
+ declare function $Ct(n: any): any;
56
+ declare function IK(n: any): any;
57
57
  declare function jCt(n: any): any;
58
58
  declare function HCt(n: any): any;
59
59
  declare function zCt(n: any): any;
@@ -62,15 +62,15 @@ declare function GCt(n: any): any;
62
62
  declare function YCt(n: any): any;
63
63
  declare function ZCt(n: any): any;
64
64
  declare function Cyt(): any;
65
- declare const aae: ie.Context<{
65
+ declare const lae: ie.Context<{
66
66
  isOpen: boolean;
67
67
  setState: () => {};
68
68
  }>;
69
69
  declare function _yt(n: any): any;
70
70
  declare function Ihe(n: any): any;
71
- declare function IK(n: any): any;
72
- declare function $k(n: any): any;
73
- declare function qV(n: any): any;
71
+ declare function AK(n: any): any;
72
+ declare function jk(n: any): any;
73
+ declare function GV(n: any): any;
74
74
  declare function Syt(n: any): any;
75
75
  declare function XCt(n: any): any;
76
76
  declare function kGe(n: any): any;
@@ -79,11 +79,11 @@ declare const Lyt: any;
79
79
  declare function mm(n: any): any;
80
80
  declare function fYe(n: any): any;
81
81
  declare const Hyt: ie.Context<() => null>;
82
- declare const P1: ie.Context<{}[]>;
82
+ declare const R1: ie.Context<{}[]>;
83
83
  declare function iue(n: any): any;
84
84
  declare function nue(n: any): any;
85
- declare function fo(n: any): any;
86
- declare function O8(n: any): any;
85
+ declare function Zr(n: any): any;
86
+ declare function M8(n: any): any;
87
87
  declare var bGe: any;
88
88
  declare function lYe(n: any, e: any): 0 | 1 | -1;
89
89
  declare function WC(n: any, e: any): 0 | 1 | -1;
@@ -93,21 +93,21 @@ declare function Vyt(n: any): {
93
93
  variant: string;
94
94
  timeout: number;
95
95
  };
96
- declare function rI(n: any): "var(--pf-global--danger-color--100)" | "var(--pf-global--success-color--100)" | "var(--pf-global--warning-color--100)" | "var(--pf-global--info-color--100)" | "var(--pf-global--disabled-color--100)" | undefined;
97
- declare const MY: "var(--pf-global--danger-color--100)";
98
- declare const RY: "var(--pf-global--disabled-color--100)";
99
- declare const PY: "var(--pf-global--info-color--100)";
96
+ declare function oI(n: any): "var(--pf-global--danger-color--100)" | "var(--pf-global--success-color--100)" | "var(--pf-global--warning-color--100)" | "var(--pf-global--info-color--100)" | "var(--pf-global--disabled-color--100)" | undefined;
97
+ declare const PY: "var(--pf-global--danger-color--100)";
98
+ declare const FY: "var(--pf-global--disabled-color--100)";
99
+ declare const RY: "var(--pf-global--info-color--100)";
100
100
  declare const Zyt: "var(--pf-global--link--Color)";
101
- declare const NY: "var(--pf-global--success-color--100)";
101
+ declare const MY: "var(--pf-global--success-color--100)";
102
102
  declare const Dhe: "var(--pf-global--warning-color--100)";
103
- declare function aa(n: any): boolean | undefined;
103
+ declare function la(n: any): boolean | undefined;
104
104
  declare function sYe(): ie.Dispatch<ie.SetStateAction<undefined>>;
105
105
  declare function lwt(): (t: any) => void;
106
106
  declare function rwt(n: any): any;
107
107
  declare function iwt(n: any): any;
108
108
  declare function Sqe(n: any): any;
109
109
  declare function xqe(n: any): any;
110
- declare function zee(n: any, e: any): {
110
+ declare function Uee(n: any, e: any): {
111
111
  filtered: never[];
112
112
  setFilterFn: (c: any) => void;
113
113
  };
@@ -132,6 +132,7 @@ declare function tr(): ({
132
132
  noResultsMatchCriteria: string;
133
133
  noSelection: string;
134
134
  noSelections: string;
135
+ noneSelectedText: string;
135
136
  ofText: string;
136
137
  pendingText: string;
137
138
  pleaseFixValidationErrors: string;
@@ -174,20 +175,20 @@ declare function QCt(n: any): {
174
175
  error: any;
175
176
  };
176
177
  declare function Wyt(): string;
177
- declare function EG(): {
178
+ declare function TG(): {
178
179
  addAlert: () => null;
179
180
  removeAlert: () => null;
180
181
  replaceAlert: () => null;
181
182
  removeAlerts: () => null;
182
183
  };
183
- declare function Ou(): ((() => void) | undefined)[];
184
+ declare function Nu(): ((() => void) | undefined)[];
184
185
  declare function qCt(): (r: any) => void;
185
- declare function I7(): {
186
+ declare function O7(): {
186
187
  isOpen: boolean;
187
188
  setState: () => {};
188
189
  };
189
- declare function U4(): (t: any) => void;
190
- declare function Vk(n: any): {
190
+ declare function K4(): (t: any) => void;
191
+ declare function $k(n: any): {
191
192
  paged: never[];
192
193
  page: number;
193
194
  setPage: ie.Dispatch<ie.SetStateAction<number>>;
@@ -195,7 +196,7 @@ declare function Vk(n: any): {
195
196
  setPerPage: ie.Dispatch<ie.SetStateAction<number>>;
196
197
  };
197
198
  declare function uwt(n: any): (m: any, p: any) => void;
198
- declare function jee(n: any, e: any, t: any): {
199
+ declare function Hee(n: any, e: any, t: any): {
199
200
  selectedItems: any[];
200
201
  selectItem: (g: any) => void;
201
202
  unselectItem: (g: any) => void;
@@ -219,9 +220,9 @@ declare function OGe(n: any, e: any): {
219
220
  keyFn: any;
220
221
  unselectItems: (f: any) => void;
221
222
  };
222
- declare function R1(): {};
223
+ declare function F1(): {};
223
224
  declare function zyt(n: any): () => void;
224
- declare function Hee(n: any): {
225
+ declare function zee(n: any): {
225
226
  sorted: any;
226
227
  sort: undefined;
227
228
  setSort: ie.Dispatch<ie.SetStateAction<undefined>>;
@@ -266,8 +267,8 @@ declare function Oyt(n: any): {
266
267
  declare function Cqe(n: any): any;
267
268
  declare function nwt(n: any, e: any): any;
268
269
  declare function wqe(n: any): any;
270
+ declare function kee(n: any): any;
269
271
  declare function Lee(n: any): any;
270
- declare function xee(n: any): any;
271
272
  declare function jle(): string;
272
273
  import * as ie from "react";
273
- export { Tqe as BulkSelector, $yt as BytesCell, Uyt as CapacityCell, YV as Collapse, bqe as ColumnCardOption, _qe as ColumnListOption, yqe as ColumnModalOption, Uh as ColumnTableOption, qyt as CopyCell, Gyt as DateCell, xhe as DateTimeCell, jyt as DialogContext, Yyt as ElapsedTimeCell, Bv as FormGroupSelect, dwt as FormGroupSelectOption, gYe as FormGroupTextArea, hwt as FormGroupTextInput, Wce as FrameworkTranslationsProvider, M1 as Help, Ehe as LabelColorE, Lhe as LabelsCell, cwt as MultiSelectDialog, khe as PFColorE, gi as PageActionSelection, Cr as PageActionType, N1 as PageActions, DG as PageAlertToasterContext, Qce as PageAlertToasterProvider, Jce as PageBody, sI as PageChartContainer, Xyt as PageDashboard, K4 as PageDashboardCard, Qyt as PageDashboardChart, zY as PageDashboardContext, Jyt as PageDashboardCount, twt as PageDashboardDonutCard, ewt as PageDashboardGettingStarted, RC as PageDetail, vqe as PageDetails, Lqe as PageDetailsFromColumns, eue as PageDialogProvider, gqe as PageDonutChart, UCt as PageForm, vyt as PageFormCancelButton, fwt as PageFormCheckbox, VCt as PageFormDataEditor, EK as PageFormGrid, $Ct as PageFormSelect, TK as PageFormSubmitButton, jCt as PageFormSwitch, HCt as PageFormTextArea, zCt as PageFormTextInput, KCt as PageFramework, GCt as PageHeader, YCt as PageLayout, ZCt as PageMasthead, Cyt as PageMastheadToggle, aae as PageNavSideBarContext, _yt as PageNavSideBarProvider, Ihe as PageNavigateCallbackContextProvider, IK as PageTab, $k as PageTable, qV as PageTableCards, Syt as PageTabs, XCt as PageTabsOld, kGe as PageToolbar, yGe as PageToolbarFilters, Lyt as RunningIcon, mm as Scrollable, fYe as SelectDialog, Hyt as SetDialogContext, P1 as SettingsContext, iue as SettingsDialog, nue as SettingsProvider, fo as TableColumnCell, O8 as TextCell, bGe as ToolbarFilterType, lYe as compareNumbers, WC as compareStrings, aYe as compareUnknowns, Vyt as errorToAlertProps, rI as getPatternflyColor, MY as pfDanger, RY as pfDisabled, PY as pfInfo, Zyt as pfLink, NY as pfSuccess, Dhe as pfWarning, aa as useBreakpoint, sYe as useBulkActionDialog, lwt as useBulkConfirmation, rwt as useColumnsWithoutExpandedRow, iwt as useColumnsWithoutSort, Sqe as useDescriptionColumns, xqe as useExpandedColumns, zee as useFiltered, tr as useFrameworkTranslations, QCt as useInMemoryView, Wyt as useOrientation, EG as usePageAlertToaster, Ou as usePageDialog, qCt as usePageNavBarClick, I7 as usePageNavSideBar, U4 as usePageNavigate, Vk as usePaged, uwt as useSelectDialog, jee as useSelected, OGe as useSelectedInMemory, R1 as useSettings, zyt as useSettingsDialog, Hee as useSorted, awt as useTableItems, Oyt as useView, Cqe as useVisibleCardColumns, nwt as useVisibleColumns, wqe as useVisibleListColumns, Lee as useVisibleModalColumns, xee as useVisibleTableColumns, jle as useWindowSize };
274
+ export { Tqe as BulkSelector, $yt as BytesCell, Uyt as CapacityCell, Zx as Collapse, bqe as ColumnCardOption, _qe as ColumnListOption, yqe as ColumnModalOption, Uh as ColumnTableOption, qyt as CopyCell, Gyt as DateCell, xhe as DateTimeCell, jyt as DialogContext, Yyt as ElapsedTimeCell, Wv as FormGroupSelect, dwt as FormGroupSelectOption, gYe as FormGroupTextArea, hwt as FormGroupTextInput, Wce as FrameworkTranslationsProvider, P1 as Help, Ehe as LabelColorE, Lhe as LabelsCell, cwt as MultiSelectDialog, khe as PFColorE, gi as PageActionSelection, Cr as PageActionType, M1 as PageActions, EG as PageAlertToasterContext, Qce as PageAlertToasterProvider, Jce as PageBody, aI as PageChartContainer, Xyt as PageDashboard, Y4 as PageDashboardCard, Qyt as PageDashboardChart, UY as PageDashboardContext, Jyt as PageDashboardCount, twt as PageDashboardDonutCard, ewt as PageDashboardGettingStarted, RC as PageDetail, vqe as PageDetails, Lqe as PageDetailsFromColumns, eue as PageDialogProvider, gqe as PageDonutChart, UCt as PageForm, vyt as PageFormCancelButton, fwt as PageFormCheckbox, VCt as PageFormDataEditor, TK as PageFormGrid, $Ct as PageFormSelect, IK as PageFormSubmitButton, jCt as PageFormSwitch, HCt as PageFormTextArea, zCt as PageFormTextInput, KCt as PageFramework, GCt as PageHeader, YCt as PageLayout, ZCt as PageMasthead, Cyt as PageMastheadToggle, lae as PageNavSideBarContext, _yt as PageNavSideBarProvider, Ihe as PageNavigateCallbackContextProvider, AK as PageTab, jk as PageTable, GV as PageTableCards, Syt as PageTabs, XCt as PageTabsOld, kGe as PageToolbar, yGe as PageToolbarFilters, Lyt as RunningIcon, mm as Scrollable, fYe as SelectDialog, Hyt as SetDialogContext, R1 as SettingsContext, iue as SettingsDialog, nue as SettingsProvider, Zr as TableColumnCell, M8 as TextCell, bGe as ToolbarFilterType, lYe as compareNumbers, WC as compareStrings, aYe as compareUnknowns, Vyt as errorToAlertProps, oI as getPatternflyColor, PY as pfDanger, FY as pfDisabled, RY as pfInfo, Zyt as pfLink, MY as pfSuccess, Dhe as pfWarning, la as useBreakpoint, sYe as useBulkActionDialog, lwt as useBulkConfirmation, rwt as useColumnsWithoutExpandedRow, iwt as useColumnsWithoutSort, Sqe as useDescriptionColumns, xqe as useExpandedColumns, Uee as useFiltered, tr as useFrameworkTranslations, QCt as useInMemoryView, Wyt as useOrientation, TG as usePageAlertToaster, Nu as usePageDialog, qCt as usePageNavBarClick, O7 as usePageNavSideBar, K4 as usePageNavigate, $k as usePaged, uwt as useSelectDialog, Hee as useSelected, OGe as useSelectedInMemory, F1 as useSettings, zyt as useSettingsDialog, zee as useSorted, awt as useTableItems, Oyt as useView, Cqe as useVisibleCardColumns, nwt as useVisibleColumns, wqe as useVisibleListColumns, kee as useVisibleModalColumns, Lee as useVisibleTableColumns, jle as useWindowSize };
@@ -20,6 +20,7 @@ export interface IFrameworkTranslations {
20
20
  noResultsMatchCriteria: string;
21
21
  noSelection: string;
22
22
  noSelections: string;
23
+ noneSelectedText: string;
23
24
  ofText: string;
24
25
  pendingText: string;
25
26
  pleaseFixValidationErrors: string;