@ansible/ansible-ui-framework 2.4.1367 → 2.4.1369
Sign up to get free protection for your applications and to get access to all the features.
- package/framework/PageWizard/PageWizardProvider.d.ts +2 -1
- package/framework/PageWizard/types.d.ts +7 -1
- package/framework/publish/index.d.ts +117 -117
- package/index.js +9892 -9824
- package/index.umd.cjs +174 -174
- package/package.json +1 -1
@@ -1,8 +1,9 @@
|
|
1
1
|
import { ReactNode } from 'react';
|
2
|
-
import type { PageWizardStep, PageWizardState } from './types';
|
2
|
+
import type { PageWizardStep, PageWizardState, PageWizardParentStep } from './types';
|
3
3
|
export declare const PageWizardContext: import("react").Context<PageWizardState>;
|
4
4
|
export declare function usePageWizard(): PageWizardState;
|
5
5
|
export declare function isStepVisible(step: PageWizardStep, values: object): PageWizardStep | null;
|
6
|
+
export declare function isPageWizardParentStep(step: PageWizardStep): step is PageWizardParentStep;
|
6
7
|
export declare function PageWizardProvider<T extends object>(props: {
|
7
8
|
children: ReactNode;
|
8
9
|
steps: PageWizardStep[];
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { SetStateAction } from 'react';
|
2
2
|
import { ErrorAdapter } from '../PageForm/typesErrorAdapter';
|
3
|
-
export interface
|
3
|
+
export interface PageWizardBasicStep {
|
4
4
|
id: string;
|
5
5
|
label: string;
|
6
6
|
inputs?: React.ReactNode;
|
@@ -8,6 +8,10 @@ export interface PageWizardStep {
|
|
8
8
|
hidden?: (wizardData: object) => boolean;
|
9
9
|
validate?: (formData: object, wizardData: object) => Promise<void> | void;
|
10
10
|
}
|
11
|
+
export interface PageWizardParentStep extends Omit<PageWizardBasicStep, 'inputs' | 'validate'> {
|
12
|
+
substeps: [PageWizardBasicStep, ...PageWizardBasicStep[]];
|
13
|
+
}
|
14
|
+
export type PageWizardStep = PageWizardBasicStep | PageWizardParentStep;
|
11
15
|
export interface PageWizardState {
|
12
16
|
activeStep: PageWizardStep | null;
|
13
17
|
isToggleExpanded: boolean;
|
@@ -21,6 +25,8 @@ export interface PageWizardState {
|
|
21
25
|
allSteps: PageWizardStep[];
|
22
26
|
visibleSteps: PageWizardStep[];
|
23
27
|
setVisibleSteps: (steps: PageWizardStep[]) => void;
|
28
|
+
visibleStepsFlattened: PageWizardStep[];
|
29
|
+
setVisibleStepsFlattened: (steps: PageWizardStep[]) => void;
|
24
30
|
wizardData: object;
|
25
31
|
}
|
26
32
|
export interface PageWizardBody<T> {
|
@@ -1,118 +1,118 @@
|
|
1
|
-
declare function
|
2
|
-
declare function
|
3
|
-
declare function
|
4
|
-
declare function
|
5
|
-
declare var m_e: any;
|
1
|
+
declare function Qwe(e: any): any;
|
2
|
+
declare function iwe(e: any): any;
|
3
|
+
declare function fAe(e: any): any;
|
4
|
+
declare function hC(e: any): any;
|
6
5
|
declare var y_e: any;
|
7
|
-
declare var
|
6
|
+
declare var x_e: any;
|
8
7
|
declare var v_e: any;
|
9
|
-
declare var
|
10
|
-
declare var
|
11
|
-
declare
|
12
|
-
declare function
|
13
|
-
declare function
|
14
|
-
declare function
|
15
|
-
declare function
|
16
|
-
declare function
|
17
|
-
declare function
|
8
|
+
declare var b_e: any;
|
9
|
+
declare var dy: any;
|
10
|
+
declare var Za: any;
|
11
|
+
declare function dAe(e: any): any;
|
12
|
+
declare function hTe(e: any): any;
|
13
|
+
declare function dTe(e: any): any;
|
14
|
+
declare function hAe(e: any): any;
|
15
|
+
declare function j8(e: any): any;
|
16
|
+
declare function pAe(e: any): any;
|
17
|
+
declare function UR(e: any): any;
|
18
|
+
declare function kAe(e: any): any;
|
19
|
+
declare function yb(e: any): any;
|
20
|
+
declare var M8: any;
|
21
|
+
declare function $8(e: any): any;
|
22
|
+
declare function qAe(e: any): any;
|
18
23
|
declare function EAe(e: any): any;
|
19
|
-
declare function vb(e: any): any;
|
20
24
|
declare var D8: any;
|
21
|
-
declare function P8(e: any): any;
|
22
|
-
declare function UAe(e: any): any;
|
23
|
-
declare function SAe(e: any): any;
|
24
|
-
declare var j8: any;
|
25
25
|
declare var Ct: any;
|
26
26
|
declare var Dt: any;
|
27
|
-
declare function
|
28
|
-
declare const
|
27
|
+
declare function gu(e: any): any;
|
28
|
+
declare const KT: O.Context<{
|
29
29
|
addAlert: () => null;
|
30
30
|
removeAlert: () => null;
|
31
31
|
replaceAlert: () => null;
|
32
32
|
removeAlerts: () => null;
|
33
33
|
}>;
|
34
|
-
declare function
|
35
|
-
declare function
|
36
|
-
declare function
|
37
|
-
declare function
|
38
|
-
declare function
|
39
|
-
declare function
|
40
|
-
declare function
|
41
|
-
declare const
|
34
|
+
declare function e4(e: any): any;
|
35
|
+
declare function BAe(e: any): any;
|
36
|
+
declare function uAe(e: any): any;
|
37
|
+
declare function j0(e: any): any;
|
38
|
+
declare function vAe(e: any): any;
|
39
|
+
declare function bb(e: any): any;
|
40
|
+
declare function yAe(e: any): any;
|
41
|
+
declare const fk: O.Context<{
|
42
42
|
columns: number;
|
43
43
|
}>;
|
44
|
-
declare function
|
45
|
-
declare function
|
46
|
-
declare function
|
47
|
-
declare function
|
48
|
-
declare function
|
49
|
-
declare function
|
50
|
-
declare function
|
51
|
-
declare function
|
52
|
-
declare function
|
53
|
-
declare function
|
54
|
-
declare function TAe(e: any): any;
|
55
|
-
declare function kAe(e: any): any;
|
56
|
-
declare function k2e(e: any): any;
|
44
|
+
declare function bAe(e: any): any;
|
45
|
+
declare function _Ae(e: any): any;
|
46
|
+
declare function xAe(e: any): any;
|
47
|
+
declare function vc(e: any): any;
|
48
|
+
declare function g_e(e: any): any;
|
49
|
+
declare function T_e(e: any): any;
|
50
|
+
declare function Cwe(e: any): any;
|
51
|
+
declare function d_e(e: any): any;
|
52
|
+
declare function P2e(e: any): any;
|
53
|
+
declare function T2e(e: any): any;
|
57
54
|
declare function PAe(e: any): any;
|
58
|
-
declare function h$(e: any): any;
|
59
|
-
declare function jAe(e: any): any;
|
60
55
|
declare function $Ae(e: any): any;
|
56
|
+
declare function j2e(e: any): any;
|
61
57
|
declare function DAe(e: any): any;
|
58
|
+
declare function g$(e: any): any;
|
62
59
|
declare function IAe(e: any): any;
|
63
|
-
declare function CTe(e: any): any;
|
64
60
|
declare function MAe(e: any): any;
|
65
61
|
declare function LAe(e: any): any;
|
66
|
-
declare function
|
67
|
-
declare
|
62
|
+
declare function RAe(e: any): any;
|
63
|
+
declare function TTe(e: any): any;
|
64
|
+
declare function NAe(e: any): any;
|
65
|
+
declare function FAe(e: any): any;
|
66
|
+
declare function ATe(): any;
|
67
|
+
declare const ED: O.Context<{
|
68
68
|
isOpen: boolean;
|
69
69
|
setState: () => {};
|
70
70
|
}>;
|
71
|
-
declare function
|
72
|
-
declare function
|
73
|
-
declare function
|
74
|
-
declare function
|
75
|
-
declare function
|
76
|
-
declare const
|
77
|
-
declare function
|
78
|
-
declare function
|
79
|
-
declare function
|
80
|
-
declare function
|
81
|
-
declare function
|
82
|
-
declare function
|
83
|
-
declare function
|
84
|
-
declare function
|
85
|
-
declare function
|
86
|
-
declare const
|
71
|
+
declare function pTe(e: any): any;
|
72
|
+
declare function kTe(e: any): any;
|
73
|
+
declare function c2e(e: any): any;
|
74
|
+
declare function AAe(): any;
|
75
|
+
declare function WAe(): any;
|
76
|
+
declare const ul: O.Context<{}[]>;
|
77
|
+
declare function A8(e: any): any;
|
78
|
+
declare function pE(e: any): any;
|
79
|
+
declare function Pg(e: any): any;
|
80
|
+
declare function uC(e: any): any;
|
81
|
+
declare function HAe(e: any): any;
|
82
|
+
declare function zAe(): any;
|
83
|
+
declare function _we(e: any): any;
|
84
|
+
declare function gwe(e: any): any;
|
85
|
+
declare function GAe(e: any): any;
|
86
|
+
declare const qTe: any;
|
87
87
|
declare function si(e: any): any;
|
88
|
-
declare function
|
88
|
+
declare function l2e(e: any): any;
|
89
89
|
declare function an(e: any): any;
|
90
|
-
declare function
|
91
|
-
declare var
|
92
|
-
declare function jTe(e: any, t: any, n: any): void;
|
93
|
-
declare function $Te(e: any, t: any, n: any): void;
|
90
|
+
declare function L8(e: any): any;
|
91
|
+
declare var pwe: any;
|
94
92
|
declare function DTe(e: any, t: any, n: any): void;
|
95
|
-
declare function
|
96
|
-
declare function
|
97
|
-
declare function
|
98
|
-
declare function
|
93
|
+
declare function ITe(e: any, t: any, n: any): void;
|
94
|
+
declare function MTe(e: any, t: any, n: any): void;
|
95
|
+
declare function n2e(e: any, t: any): 1 | -1 | 0;
|
96
|
+
declare function id(e: any, t: any): 1 | -1 | 0;
|
97
|
+
declare function t2e(e: any, t: any): 1 | -1 | 0;
|
98
|
+
declare function cAe(e: any): {
|
99
99
|
title: string;
|
100
100
|
variant: string;
|
101
101
|
timeout: number;
|
102
102
|
};
|
103
|
-
declare function
|
104
|
-
declare function
|
105
|
-
declare const
|
106
|
-
declare const
|
107
|
-
declare const
|
108
|
-
declare const
|
109
|
-
declare const
|
110
|
-
declare const
|
111
|
-
declare const
|
112
|
-
declare function
|
113
|
-
declare function
|
103
|
+
declare function jTe(e: any, t: any): any;
|
104
|
+
declare function k0(e: any): "var(--pf-v5-global--danger-color--100)" | "var(--pf-v5-global--success-color--100)" | "var(--pf-v5-global--warning-color--100)" | "var(--pf-v5-global--info-color--100)" | "var(--pf-v5-global--disabled-color--100)" | undefined;
|
105
|
+
declare const nk: "var(--pf-v5-global--danger-color--100)";
|
106
|
+
declare const ik: "var(--pf-v5-global--disabled-color--100)";
|
107
|
+
declare const rk: "var(--pf-v5-global--info-color--100)";
|
108
|
+
declare const gAe: "var(--pf-v5-global--link--Color)";
|
109
|
+
declare const tk: "var(--pf-v5-global--success-color--100)";
|
110
|
+
declare const mAe: "var(--pf-v5-global--danger-color--300)";
|
111
|
+
declare const I8: "var(--pf-v5-global--warning-color--100)";
|
112
|
+
declare function VAe(e: any): any;
|
113
|
+
declare function $Te(e: any, t: any): any;
|
114
114
|
declare function Tn(e: any): boolean | undefined;
|
115
|
-
declare function
|
115
|
+
declare function e2e(e?: (e: any) => {
|
116
116
|
genericErrors: {
|
117
117
|
message: string;
|
118
118
|
}[];
|
@@ -121,7 +121,7 @@ declare function Jwe(e?: (e: any) => {
|
|
121
121
|
message: string;
|
122
122
|
}[];
|
123
123
|
}): O.Dispatch<O.SetStateAction<undefined>>;
|
124
|
-
declare function
|
124
|
+
declare function CAe(e?: (e: any) => {
|
125
125
|
genericErrors: {
|
126
126
|
message: string;
|
127
127
|
}[];
|
@@ -130,16 +130,16 @@ declare function wAe(e?: (e: any) => {
|
|
130
130
|
message: string;
|
131
131
|
}[];
|
132
132
|
}): (r: any) => void;
|
133
|
-
declare function
|
133
|
+
declare function E_e(e: any): any;
|
134
|
+
declare function C_e(e: any): any;
|
135
|
+
declare function wAe(e: any): any;
|
134
136
|
declare function S_e(e: any): any;
|
135
|
-
declare function
|
136
|
-
declare function
|
137
|
-
declare function w_e(e: any): any;
|
138
|
-
declare function Y3(e: any, t: any): {
|
137
|
+
declare function O_e(e: any): any;
|
138
|
+
declare function X3(e: any, t: any): {
|
139
139
|
filtered: never[];
|
140
140
|
setFilterFn: (c: any) => void;
|
141
141
|
};
|
142
|
-
declare function
|
142
|
+
declare function m$(e: any, t: any, n?: boolean): {
|
143
143
|
form: undefined;
|
144
144
|
handleSubmit: any;
|
145
145
|
error: null;
|
@@ -184,8 +184,8 @@ declare function Ht(): ({
|
|
184
184
|
unknownError: string;
|
185
185
|
validating: string;
|
186
186
|
} | (() => void))[];
|
187
|
-
declare function
|
188
|
-
declare function
|
187
|
+
declare function LTe(): (t: any, n: any) => any;
|
188
|
+
declare function YAe(e: any): {
|
189
189
|
selectedItems: any[];
|
190
190
|
selectItem: (h: any) => void;
|
191
191
|
unselectItem: (h: any) => void;
|
@@ -211,36 +211,36 @@ declare function HAe(e: any): {
|
|
211
211
|
pageItems: never[] | undefined;
|
212
212
|
error: any;
|
213
213
|
};
|
214
|
-
declare function
|
215
|
-
declare function
|
214
|
+
declare function sAe(): string;
|
215
|
+
declare function ab(): {
|
216
216
|
addAlert: () => null;
|
217
217
|
removeAlert: () => null;
|
218
218
|
replaceAlert: () => null;
|
219
219
|
removeAlerts: () => null;
|
220
220
|
};
|
221
|
-
declare function
|
222
|
-
declare function
|
221
|
+
declare function Ua(): (((a: any) => void) | undefined)[];
|
222
|
+
declare function Ewe(): {
|
223
223
|
dialogs: never[];
|
224
224
|
clearDialogs: () => void;
|
225
225
|
pushDialog: (e: any) => void;
|
226
226
|
popDialog: () => void;
|
227
227
|
};
|
228
|
-
declare function
|
229
|
-
declare function
|
228
|
+
declare function gTe(): (i: any) => void;
|
229
|
+
declare function Lx(): {
|
230
230
|
isOpen: boolean;
|
231
231
|
setState: () => {};
|
232
232
|
};
|
233
|
-
declare function
|
234
|
-
declare function
|
235
|
-
declare function
|
233
|
+
declare function UAe(): (n: any, r: any) => void;
|
234
|
+
declare function fl(): {};
|
235
|
+
declare function kg(e: any): {
|
236
236
|
paged: never[];
|
237
237
|
page: number;
|
238
238
|
setPage: O.Dispatch<O.SetStateAction<number>>;
|
239
239
|
perPage: number;
|
240
240
|
setPerPage: O.Dispatch<O.SetStateAction<number>>;
|
241
241
|
};
|
242
|
-
declare function
|
243
|
-
declare function
|
242
|
+
declare function TAe(e: any): (g: any, v: any) => void;
|
243
|
+
declare function Y3(e: any, t: any, n: any): {
|
244
244
|
selectedItems: any[];
|
245
245
|
selectItem: (g: any) => void;
|
246
246
|
unselectItem: (g: any) => void;
|
@@ -252,7 +252,7 @@ declare function G3(e: any, t: any, n: any): {
|
|
252
252
|
keyFn: any;
|
253
253
|
unselectItems: (g: any) => void;
|
254
254
|
};
|
255
|
-
declare function
|
255
|
+
declare function Twe(e: any, t: any): {
|
256
256
|
selectedItems: any[];
|
257
257
|
selectItem: (h: any) => void;
|
258
258
|
unselectItem: (h: any) => void;
|
@@ -264,12 +264,12 @@ declare function Cwe(e: any, t: any): {
|
|
264
264
|
keyFn: any;
|
265
265
|
unselectItems: (h: any) => void;
|
266
266
|
};
|
267
|
-
declare function
|
267
|
+
declare function K3(e: any): {
|
268
268
|
sorted: any;
|
269
269
|
sort: undefined;
|
270
270
|
setSort: O.Dispatch<O.SetStateAction<undefined>>;
|
271
271
|
};
|
272
|
-
declare function
|
272
|
+
declare function OAe(e: any, t: any, n: any): {
|
273
273
|
allSelected: boolean;
|
274
274
|
filtered: never[];
|
275
275
|
isSelected: (g: any) => boolean;
|
@@ -293,7 +293,7 @@ declare function _Ae(e: any, t: any, n: any): {
|
|
293
293
|
unselectAll: () => void;
|
294
294
|
unselectItem: (g: any) => void;
|
295
295
|
};
|
296
|
-
declare function
|
296
|
+
declare function eAe(e: any): {
|
297
297
|
page: number;
|
298
298
|
setPage: O.Dispatch<O.SetStateAction<number>>;
|
299
299
|
perPage: number;
|
@@ -306,12 +306,12 @@ declare function ZTe(e: any): {
|
|
306
306
|
setFilterState: O.Dispatch<any>;
|
307
307
|
clearAllFilters: () => void;
|
308
308
|
};
|
309
|
-
declare function
|
310
|
-
declare function
|
311
|
-
declare function
|
312
|
-
declare function
|
313
|
-
declare function
|
314
|
-
declare function
|
315
|
-
declare function
|
309
|
+
declare function w_e(e: any): any;
|
310
|
+
declare function SAe(e: any, t: any): any;
|
311
|
+
declare function __e(e: any): any;
|
312
|
+
declare function sx(e: any): any;
|
313
|
+
declare function I3(e: any): any;
|
314
|
+
declare function jI(): string;
|
315
|
+
declare function cs(e: any, t: any): any;
|
316
316
|
import * as O from "react";
|
317
|
-
export {
|
317
|
+
export { Qwe as BulkActionDialog, iwe as BulkSelector, fAe as BytesCell, hC as Collapse, y_e as ColumnCardOption, x_e as ColumnDashboardOption, v_e as ColumnListOption, b_e as ColumnModalOption, dy as ColumnPriority, Za as ColumnTableOption, dAe as CopyCell, hTe as DataEditorActions, dTe as DataEditorButtons, hAe as DateCell, j8 as DateTimeCell, pAe as ElapsedTimeCell, UR as FrameworkTranslationsProvider, kAe as GenericForm, yb as Help, M8 as LabelColorE, $8 as LabelsCell, qAe as LoadingPage, EAe as MultiSelectDialog, D8 as PFColorE, Ct as PageActionSelection, Dt as PageActionType, gu as PageActions, KT as PageAlertToasterContext, e4 as PageAlertToasterProvider, BAe as PageApp, uAe as PageBody, j0 as PageChartContainer, vAe as PageDashboard, bb as PageDashboardCard, yAe as PageDashboardChart, fk as PageDashboardContext, bAe as PageDashboardCount, _Ae as PageDashboardDonutCard, xAe as PageDashboardGettingStarted, vc as PageDetail, g_e as PageDetails, T_e as PageDetailsFromColumns, Cwe as PageDialogProvider, d_e as PageDonutChart, P2e as PageForm, T2e as PageFormCancelButton, PAe as PageFormCheckbox, $Ae as PageFormDataEditor, j2e as PageFormGrid, DAe as PageFormSelect, g$ as PageFormSubmitButton, IAe as PageFormSwitch, MAe as PageFormTextArea, LAe as PageFormTextInput, RAe as PageFramework, TTe as PageHeader, NAe as PageLayout, FAe as PageMasthead, ATe as PageMastheadToggle, ED as PageNavSideBarContext, pTe as PageNavSideBarProvider, kTe as PageNavigation, c2e as PageNotFound, AAe as PageNotImplemented, WAe as PageNotificationsIcon, ul as PageSettingsContext, A8 as PageSettingsProvider, pE as PageTab, Pg as PageTable, uC as PageTableCards, HAe as PageTabs, zAe as PageThemeSwitcher, _we as PageToolbar, gwe as PageToolbarFilters, GAe as PageWizard, qTe as RunningIcon, si as Scrollable, l2e as SelectDialog, an as TableColumnCell, L8 as TextCell, pwe as ToolbarFilterType, DTe as addNavigationItem, ITe as addNavigationItemAfter, MTe as addNavigationItemBefore, n2e as compareNumbers, id as compareStrings, t2e as compareUnknowns, cAe as errorToAlertProps, jTe as findNavigationItemById, k0 as getPatternflyColor, nk as pfDanger, ik as pfDisabled, rk as pfInfo, gAe as pfLink, tk as pfSuccess, mAe as pfUnreachable, I8 as pfWarning, VAe as removeLeadingSlash, $Te as removeNavigationItemById, Tn as useBreakpoint, e2e as useBulkActionDialog, CAe as useBulkConfirmation, E_e as useColumnsWithoutExpandedRow, C_e as useColumnsWithoutSort, wAe as useDashboardColumns, S_e as useDescriptionColumns, O_e as useExpandedColumns, X3 as useFiltered, m$ as useFormErrors, Ht as useFrameworkTranslations, LTe as useGetPageUrl, YAe as useInMemoryView, sAe as useOrientation, ab as usePageAlertToaster, Ua as usePageDialog, Ewe as usePageDialogs, gTe as usePageNavBarClick, Lx as usePageNavSideBar, UAe as usePageNavigate, fl as usePageSettings, kg as usePaged, TAe as useSelectDialog, Y3 as useSelected, Twe as useSelectedInMemory, K3 as useSorted, OAe as useTableItems, eAe as useView, w_e as useVisibleCardColumns, SAe as useVisibleColumns, __e as useVisibleListColumns, sx as useVisibleModalColumns, I3 as useVisibleTableColumns, jI as useWindowSize, cs as valueToObject };
|