@ansible/ansible-ui-framework 2.4.412 → 2.4.414
Sign up to get free protection for your applications and to get access to all the features.
- package/framework/PageFramework.d.ts +0 -1
- package/framework/PageNavigation/PageApp.d.ts +1 -1
- package/framework/PageNavigation/PageNavigation.d.ts +2 -22
- package/framework/PageNavigation/PageNavigationItem.d.ts +14 -0
- package/framework/PageNavigation/PageNavigationRoutesProvider.d.ts +9 -0
- package/framework/PageNavigation/useGetPageUrl.d.ts +1 -0
- package/framework/PageNavigation/usePageNavigate.d.ts +1 -0
- package/framework/index.d.ts +6 -2
- package/framework/publish/index.d.ts +113 -111
- package/index.js +15046 -14960
- package/index.umd.cjs +275 -275
- package/package.json +1 -1
- package/framework/components/usePageNavigate.d.ts +0 -6
- /package/framework/{PageNav → PageNavigation}/PageNavSidebar.d.ts +0 -0
@@ -1,24 +1,4 @@
|
|
1
|
-
|
1
|
+
import { PageNavigationItem } from './PageNavigationItem';
|
2
2
|
export declare function PageNavigation(props: {
|
3
|
-
|
3
|
+
navigation: PageNavigationItem[];
|
4
4
|
}): import("react/jsx-runtime").JSX.Element;
|
5
|
-
interface PageNavigationGroup {
|
6
|
-
label?: string;
|
7
|
-
path: string;
|
8
|
-
children: PageNavigationItem[];
|
9
|
-
}
|
10
|
-
interface PageNavigationComponent {
|
11
|
-
id: string;
|
12
|
-
label?: string;
|
13
|
-
path: string;
|
14
|
-
element: JSX.Element;
|
15
|
-
}
|
16
|
-
export type PageNavigationItem = PageNavigationGroup | PageNavigationComponent;
|
17
|
-
export declare function PageNavigationItems(props: {
|
18
|
-
items: PageNavigationItem[];
|
19
|
-
baseRoute: string;
|
20
|
-
}): import("react/jsx-runtime").JSX.Element;
|
21
|
-
export declare function useNavigationRoutes(navigationItems: PageNavigationItem[]): {
|
22
|
-
[key: string]: string;
|
23
|
-
};
|
24
|
-
export {};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
interface PageNavigationGroup {
|
3
|
+
label?: string;
|
4
|
+
path: string;
|
5
|
+
children: PageNavigationItem[];
|
6
|
+
}
|
7
|
+
interface PageNavigationComponent {
|
8
|
+
id: string;
|
9
|
+
label?: string;
|
10
|
+
path: string;
|
11
|
+
element: JSX.Element;
|
12
|
+
}
|
13
|
+
export type PageNavigationItem = PageNavigationGroup | PageNavigationComponent;
|
14
|
+
export {};
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { ReactNode } from 'react';
|
2
|
+
import { PageNavigationItem } from './PageNavigationItem';
|
3
|
+
export declare function usePageNavigationRoutes(): {
|
4
|
+
[key: string]: string;
|
5
|
+
};
|
6
|
+
export declare function PageNavigationRoutesProvider(props: {
|
7
|
+
children: ReactNode;
|
8
|
+
navigation: PageNavigationItem[];
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function useGetPageUrl(): (id: string, params?: Record<string, string>) => string;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function usePageNavigate(): (pageId: string, params?: Record<string, string>) => void;
|
package/framework/index.d.ts
CHANGED
@@ -39,7 +39,12 @@ export * from './PageFramework';
|
|
39
39
|
export * from './PageHeader';
|
40
40
|
export * from './PageLayout';
|
41
41
|
export * from './PageMasthead';
|
42
|
-
export * from './
|
42
|
+
export * from './PageNavigation/PageApp';
|
43
|
+
export * from './PageNavigation/PageNavSidebar';
|
44
|
+
export * from './PageNavigation/PageNavigation';
|
45
|
+
export * from './PageNavigation/PageNavigationItem';
|
46
|
+
export * from './PageNavigation/useGetPageUrl';
|
47
|
+
export * from './PageNavigation/usePageNavigate';
|
43
48
|
export * from './PageTable/PageTable';
|
44
49
|
export * from './PageTable/PageTableCards';
|
45
50
|
export * from './PageTable/PageTableColumn';
|
@@ -55,7 +60,6 @@ export * from './components/Scrollable';
|
|
55
60
|
export * from './components/icons/RunningIcon';
|
56
61
|
export * from './components/pfcolors';
|
57
62
|
export * from './components/useBreakPoint';
|
58
|
-
export * from './components/usePageNavigate';
|
59
63
|
export * from './useFrameworkTranslations';
|
60
64
|
export * from './useInMemoryView';
|
61
65
|
export * from './useView';
|
@@ -1,113 +1,114 @@
|
|
1
|
-
declare function
|
2
|
-
declare function
|
3
|
-
declare function
|
4
|
-
declare function
|
5
|
-
declare var
|
6
|
-
declare var
|
7
|
-
declare var
|
1
|
+
declare function Wqe(n: any): any;
|
2
|
+
declare function swt(n: any): any;
|
3
|
+
declare function uwt(n: any): any;
|
4
|
+
declare function Qx(n: any): any;
|
5
|
+
declare var Tqe: any;
|
6
|
+
declare var Eqe: any;
|
7
|
+
declare var Iqe: any;
|
8
8
|
declare var Uh: any;
|
9
|
-
declare function
|
10
|
-
declare function Yyt(n: any): any;
|
11
|
-
declare function xhe(n: any): any;
|
12
|
-
declare const Hyt: ie.Context<undefined>;
|
13
|
-
declare function Zyt(n: any): any;
|
14
|
-
declare function Wv(n: any): any;
|
15
|
-
declare function hwt(n: any): any;
|
16
|
-
declare function mYe(n: any): any;
|
9
|
+
declare function dwt(n: any): any;
|
17
10
|
declare function fwt(n: any): any;
|
18
|
-
declare function
|
19
|
-
declare
|
20
|
-
declare
|
21
|
-
declare function
|
22
|
-
declare function
|
23
|
-
declare
|
11
|
+
declare function Phe(n: any): any;
|
12
|
+
declare const awt: ie.Context<undefined>;
|
13
|
+
declare function gwt(n: any): any;
|
14
|
+
declare function Vv(n: any): any;
|
15
|
+
declare function Iwt(n: any): any;
|
16
|
+
declare function xYe(n: any): any;
|
17
|
+
declare function Awt(n: any): any;
|
18
|
+
declare function Zce(n: any): any;
|
19
|
+
declare function R1(n: any): any;
|
20
|
+
declare var Whe: any;
|
21
|
+
declare function Rhe(n: any): any;
|
22
|
+
declare function Ewt(n: any): any;
|
23
|
+
declare var Fhe: any;
|
24
24
|
declare var gi: any;
|
25
25
|
declare var Cr: any;
|
26
|
-
declare function
|
27
|
-
declare const
|
26
|
+
declare function P1(n: any): any;
|
27
|
+
declare const OG: ie.Context<{
|
28
28
|
addAlert: () => null;
|
29
29
|
removeAlert: () => null;
|
30
30
|
replaceAlert: () => null;
|
31
31
|
removeAlerts: () => null;
|
32
32
|
}>;
|
33
|
-
declare function
|
34
|
-
declare function
|
35
|
-
declare function
|
36
|
-
declare function
|
37
|
-
declare function
|
38
|
-
declare function
|
39
|
-
declare
|
33
|
+
declare function cue(n: any): any;
|
34
|
+
declare function fSt(n: any): any;
|
35
|
+
declare function uue(n: any): any;
|
36
|
+
declare function fI(n: any): any;
|
37
|
+
declare function pwt(n: any): any;
|
38
|
+
declare function Q4(n: any): any;
|
39
|
+
declare function vwt(n: any): any;
|
40
|
+
declare const GY: ie.Context<{
|
40
41
|
columns: number;
|
41
42
|
}>;
|
42
|
-
declare function
|
43
|
-
declare function
|
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
|
55
|
-
declare function
|
56
|
-
declare function
|
57
|
-
declare function
|
58
|
-
declare function
|
59
|
-
declare function
|
60
|
-
declare function
|
61
|
-
declare function
|
62
|
-
declare function
|
63
|
-
declare function
|
64
|
-
declare function
|
65
|
-
declare const
|
43
|
+
declare function _wt(n: any): any;
|
44
|
+
declare function ywt(n: any): any;
|
45
|
+
declare function bwt(n: any): any;
|
46
|
+
declare function FC(n: any): any;
|
47
|
+
declare function Dqe(n: any): any;
|
48
|
+
declare function Pqe(n: any): any;
|
49
|
+
declare function due(n: any): any;
|
50
|
+
declare function Sqe(n: any): any;
|
51
|
+
declare function uSt(n: any): any;
|
52
|
+
declare function Dyt(n: any): any;
|
53
|
+
declare function Owt(n: any): any;
|
54
|
+
declare function oSt(n: any): any;
|
55
|
+
declare function OK(n: any): any;
|
56
|
+
declare function sSt(n: any): any;
|
57
|
+
declare function NK(n: any): any;
|
58
|
+
declare function aSt(n: any): any;
|
59
|
+
declare function lSt(n: any): any;
|
60
|
+
declare function cSt(n: any): any;
|
61
|
+
declare function Iyt(n: any): any;
|
62
|
+
declare function dSt(n: any): any;
|
63
|
+
declare function Oyt(n: any): any;
|
64
|
+
declare function hSt(n: any): any;
|
65
|
+
declare function Pyt(): any;
|
66
|
+
declare const dae: ie.Context<{
|
66
67
|
isOpen: boolean;
|
67
68
|
setState: () => {};
|
68
69
|
}>;
|
69
|
-
declare function
|
70
|
-
declare function
|
71
|
-
declare function
|
72
|
-
declare function
|
73
|
-
declare function
|
74
|
-
declare function
|
75
|
-
declare function
|
76
|
-
declare function
|
77
|
-
declare function
|
78
|
-
declare const
|
70
|
+
declare function Eyt(n: any): any;
|
71
|
+
declare function Fyt(n: any): any;
|
72
|
+
declare function MK(n: any): any;
|
73
|
+
declare function Kk(n: any): any;
|
74
|
+
declare function XV(n: any): any;
|
75
|
+
declare function jyt(n: any): any;
|
76
|
+
declare function mSt(n: any): any;
|
77
|
+
declare function RGe(n: any): any;
|
78
|
+
declare function IGe(n: any): any;
|
79
|
+
declare const zyt: any;
|
79
80
|
declare function mm(n: any): any;
|
80
|
-
declare function
|
81
|
-
declare const
|
82
|
-
declare const
|
83
|
-
declare function
|
84
|
-
declare function
|
81
|
+
declare function SYe(n: any): any;
|
82
|
+
declare const lwt: ie.Context<() => null>;
|
83
|
+
declare const F1: ie.Context<{}[]>;
|
84
|
+
declare function gue(n: any): any;
|
85
|
+
declare function fue(n: any): any;
|
85
86
|
declare function Zr(n: any): any;
|
86
|
-
declare function
|
87
|
-
declare var
|
88
|
-
declare function
|
89
|
-
declare function
|
90
|
-
declare function
|
91
|
-
declare function
|
87
|
+
declare function F8(n: any): any;
|
88
|
+
declare var TGe: any;
|
89
|
+
declare function _Ye(n: any, e: any): 1 | -1 | 0;
|
90
|
+
declare function VC(n: any, e: any): 1 | -1 | 0;
|
91
|
+
declare function vYe(n: any, e: any): 1 | -1 | 0;
|
92
|
+
declare function owt(n: any): {
|
92
93
|
title: string;
|
93
94
|
variant: string;
|
94
95
|
timeout: number;
|
95
96
|
};
|
96
|
-
declare function
|
97
|
-
declare const
|
98
|
-
declare const
|
99
|
-
declare const
|
100
|
-
declare const
|
101
|
-
declare const
|
102
|
-
declare const
|
97
|
+
declare function dI(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;
|
98
|
+
declare const WY: "var(--pf-global--danger-color--100)";
|
99
|
+
declare const $Y: "var(--pf-global--disabled-color--100)";
|
100
|
+
declare const VY: "var(--pf-global--info-color--100)";
|
101
|
+
declare const mwt: "var(--pf-global--link--Color)";
|
102
|
+
declare const BY: "var(--pf-global--success-color--100)";
|
103
|
+
declare const Bhe: "var(--pf-global--warning-color--100)";
|
103
104
|
declare function ca(n: any): boolean | undefined;
|
104
|
-
declare function
|
105
|
-
declare function
|
106
|
-
declare function
|
107
|
-
declare function
|
108
|
-
declare function
|
109
|
-
declare function
|
110
|
-
declare function
|
105
|
+
declare function pYe(): ie.Dispatch<ie.SetStateAction<undefined>>;
|
106
|
+
declare function Dwt(): (t: any) => void;
|
107
|
+
declare function Swt(n: any): any;
|
108
|
+
declare function Cwt(n: any): any;
|
109
|
+
declare function Nqe(n: any): any;
|
110
|
+
declare function Mqe(n: any): any;
|
111
|
+
declare function Gee(n: any, e: any): {
|
111
112
|
filtered: never[];
|
112
113
|
setFilterFn: (c: any) => void;
|
113
114
|
};
|
@@ -148,7 +149,8 @@ declare function tr(): ({
|
|
148
149
|
unknownError: string;
|
149
150
|
validating: string;
|
150
151
|
} | (() => void))[];
|
151
|
-
declare function
|
152
|
+
declare function $yt(): (e: any, t: any) => any;
|
153
|
+
declare function pSt(n: any): {
|
152
154
|
selectedItems: any[];
|
153
155
|
selectItem: (f: any) => void;
|
154
156
|
unselectItem: (f: any) => void;
|
@@ -174,29 +176,29 @@ declare function JCt(n: any): {
|
|
174
176
|
pageItems: never[] | undefined;
|
175
177
|
error: any;
|
176
178
|
};
|
177
|
-
declare function
|
178
|
-
declare function
|
179
|
+
declare function rwt(): string;
|
180
|
+
declare function NG(): {
|
179
181
|
addAlert: () => null;
|
180
182
|
removeAlert: () => null;
|
181
183
|
replaceAlert: () => null;
|
182
184
|
removeAlerts: () => null;
|
183
185
|
};
|
184
186
|
declare function Nu(): ((() => void) | undefined)[];
|
185
|
-
declare function
|
186
|
-
declare function
|
187
|
+
declare function Tyt(): (r: any) => void;
|
188
|
+
declare function s5(): {
|
187
189
|
isOpen: boolean;
|
188
190
|
setState: () => {};
|
189
191
|
};
|
190
|
-
declare function
|
191
|
-
declare function
|
192
|
+
declare function gSt(): (t: any, i: any) => void;
|
193
|
+
declare function qk(n: any): {
|
192
194
|
paged: never[];
|
193
195
|
page: number;
|
194
196
|
setPage: ie.Dispatch<ie.SetStateAction<number>>;
|
195
197
|
perPage: number;
|
196
198
|
setPerPage: ie.Dispatch<ie.SetStateAction<number>>;
|
197
199
|
};
|
198
|
-
declare function
|
199
|
-
declare function
|
200
|
+
declare function Twt(n: any): (m: any, p: any) => void;
|
201
|
+
declare function qee(n: any, e: any, t: any): {
|
200
202
|
selectedItems: any[];
|
201
203
|
selectItem: (g: any) => void;
|
202
204
|
unselectItem: (g: any) => void;
|
@@ -208,7 +210,7 @@ declare function Hee(n: any, e: any, t: any): {
|
|
208
210
|
keyFn: any;
|
209
211
|
unselectItems: (g: any) => void;
|
210
212
|
};
|
211
|
-
declare function
|
213
|
+
declare function jGe(n: any, e: any): {
|
212
214
|
selectedItems: any[];
|
213
215
|
selectItem: (f: any) => void;
|
214
216
|
unselectItem: (f: any) => void;
|
@@ -220,14 +222,14 @@ declare function NGe(n: any, e: any): {
|
|
220
222
|
keyFn: any;
|
221
223
|
unselectItems: (f: any) => void;
|
222
224
|
};
|
223
|
-
declare function
|
224
|
-
declare function
|
225
|
-
declare function
|
225
|
+
declare function B1(): {};
|
226
|
+
declare function cwt(n: any): () => void;
|
227
|
+
declare function Kee(n: any): {
|
226
228
|
sorted: any;
|
227
229
|
sort: undefined;
|
228
230
|
setSort: ie.Dispatch<ie.SetStateAction<undefined>>;
|
229
231
|
};
|
230
|
-
declare function
|
232
|
+
declare function kwt(n: any, e: any, t: any): {
|
231
233
|
allSelected: boolean;
|
232
234
|
filtered: never[];
|
233
235
|
isSelected: (g: any) => boolean;
|
@@ -251,7 +253,7 @@ declare function lwt(n: any, e: any, t: any): {
|
|
251
253
|
unselectAll: () => void;
|
252
254
|
unselectItem: (g: any) => void;
|
253
255
|
};
|
254
|
-
declare function
|
256
|
+
declare function Xyt(n: any): {
|
255
257
|
page: number;
|
256
258
|
setPage: ie.Dispatch<ie.SetStateAction<number>>;
|
257
259
|
perPage: number;
|
@@ -264,11 +266,11 @@ declare function Nyt(n: any): {
|
|
264
266
|
setFilterState: ie.Dispatch<any>;
|
265
267
|
clearAllFilters: () => void;
|
266
268
|
};
|
267
|
-
declare function
|
268
|
-
declare function
|
269
|
-
declare function
|
270
|
-
declare function
|
271
|
-
declare function
|
272
|
-
declare function
|
269
|
+
declare function Oqe(n: any): any;
|
270
|
+
declare function wwt(n: any, e: any): any;
|
271
|
+
declare function Aqe(n: any): any;
|
272
|
+
declare function Tee(n: any): any;
|
273
|
+
declare function Eee(n: any): any;
|
274
|
+
declare function Jle(): string;
|
273
275
|
import * as ie from "react";
|
274
|
-
export {
|
276
|
+
export { Wqe as BulkSelector, swt as BytesCell, uwt as CapacityCell, Qx as Collapse, Tqe as ColumnCardOption, Eqe as ColumnListOption, Iqe as ColumnModalOption, Uh as ColumnTableOption, dwt as CopyCell, fwt as DateCell, Phe as DateTimeCell, awt as DialogContext, gwt as ElapsedTimeCell, Vv as FormGroupSelect, Iwt as FormGroupSelectOption, xYe as FormGroupTextArea, Awt as FormGroupTextInput, Zce as FrameworkTranslationsProvider, R1 as Help, Whe as LabelColorE, Rhe as LabelsCell, Ewt as MultiSelectDialog, Fhe as PFColorE, gi as PageActionSelection, Cr as PageActionType, P1 as PageActions, OG as PageAlertToasterContext, cue as PageAlertToasterProvider, fSt as PageApp, uue as PageBody, fI as PageChartContainer, pwt as PageDashboard, Q4 as PageDashboardCard, vwt as PageDashboardChart, GY as PageDashboardContext, _wt as PageDashboardCount, ywt as PageDashboardDonutCard, bwt as PageDashboardGettingStarted, FC as PageDetail, Dqe as PageDetails, Pqe as PageDetailsFromColumns, due as PageDialogProvider, Sqe as PageDonutChart, uSt as PageForm, Dyt as PageFormCancelButton, Owt as PageFormCheckbox, oSt as PageFormDataEditor, OK as PageFormGrid, sSt as PageFormSelect, NK as PageFormSubmitButton, aSt as PageFormSwitch, lSt as PageFormTextArea, cSt as PageFormTextInput, Iyt as PageFramework, dSt as PageHeader, Oyt as PageLayout, hSt as PageMasthead, Pyt as PageMastheadToggle, dae as PageNavSideBarContext, Eyt as PageNavSideBarProvider, Fyt as PageNavigation, MK as PageTab, Kk as PageTable, XV as PageTableCards, jyt as PageTabs, mSt as PageTabsOld, RGe as PageToolbar, IGe as PageToolbarFilters, zyt as RunningIcon, mm as Scrollable, SYe as SelectDialog, lwt as SetDialogContext, F1 as SettingsContext, gue as SettingsDialog, fue as SettingsProvider, Zr as TableColumnCell, F8 as TextCell, TGe as ToolbarFilterType, _Ye as compareNumbers, VC as compareStrings, vYe as compareUnknowns, owt as errorToAlertProps, dI as getPatternflyColor, WY as pfDanger, $Y as pfDisabled, VY as pfInfo, mwt as pfLink, BY as pfSuccess, Bhe as pfWarning, ca as useBreakpoint, pYe as useBulkActionDialog, Dwt as useBulkConfirmation, Swt as useColumnsWithoutExpandedRow, Cwt as useColumnsWithoutSort, Nqe as useDescriptionColumns, Mqe as useExpandedColumns, Gee as useFiltered, tr as useFrameworkTranslations, $yt as useGetPageUrl, pSt as useInMemoryView, rwt as useOrientation, NG as usePageAlertToaster, Nu as usePageDialog, Tyt as usePageNavBarClick, s5 as usePageNavSideBar, gSt as usePageNavigate, qk as usePaged, Twt as useSelectDialog, qee as useSelected, jGe as useSelectedInMemory, B1 as useSettings, cwt as useSettingsDialog, Kee as useSorted, kwt as useTableItems, Xyt as useView, Oqe as useVisibleCardColumns, wwt as useVisibleColumns, Aqe as useVisibleListColumns, Tee as useVisibleModalColumns, Eee as useVisibleTableColumns, Jle as useWindowSize };
|