@ansible/ansible-ui-framework 2.4.1211 → 2.4.1213
Sign up to get free protection for your applications and to get access to all the features.
- package/framework/PageForm/PageForm.d.ts +2 -1
- package/framework/publish/index.d.ts +8 -8
- package/index.js +1122 -1116
- package/index.umd.cjs +103 -103
- package/package.json +1 -1
@@ -18,8 +18,9 @@ export interface PageFormProps<T extends object> {
|
|
18
18
|
footer?: ReactNode;
|
19
19
|
errorAdapter?: ErrorAdapter;
|
20
20
|
disableSubmitOnEnter?: boolean;
|
21
|
+
isWizard?: boolean;
|
21
22
|
}
|
22
|
-
export declare function useFormErrors<T extends object>(defaultValue: DefaultValues<T> | undefined, errorAdapter: ErrorAdapter): {
|
23
|
+
export declare function useFormErrors<T extends object>(defaultValue: DefaultValues<T> | undefined, errorAdapter: ErrorAdapter, isWizard?: boolean): {
|
23
24
|
form: UseFormReturn<T, any, undefined>;
|
24
25
|
handleSubmit: import("react-hook-form").UseFormHandleSubmit<T, undefined>;
|
25
26
|
error: string | ReactNode[] | null;
|
@@ -6,7 +6,7 @@ declare var p_e: any;
|
|
6
6
|
declare var m_e: any;
|
7
7
|
declare var h_e: any;
|
8
8
|
declare var g_e: any;
|
9
|
-
declare var
|
9
|
+
declare var dy: any;
|
10
10
|
declare var Xa: any;
|
11
11
|
declare function sAe(e: any): any;
|
12
12
|
declare function cTe(e: any): any;
|
@@ -34,7 +34,7 @@ declare const qT: O.Context<{
|
|
34
34
|
declare function XR(e: any): any;
|
35
35
|
declare function LAe(e: any): any;
|
36
36
|
declare function aAe(e: any): any;
|
37
|
-
declare function
|
37
|
+
declare function j0(e: any): any;
|
38
38
|
declare function dAe(e: any): any;
|
39
39
|
declare function bb(e: any): any;
|
40
40
|
declare function hAe(e: any): any;
|
@@ -76,7 +76,7 @@ declare function IAe(): any;
|
|
76
76
|
declare const ll: O.Context<{}[]>;
|
77
77
|
declare function O8(e: any): any;
|
78
78
|
declare function hE(e: any): any;
|
79
|
-
declare function
|
79
|
+
declare function Pg(e: any): any;
|
80
80
|
declare function uC(e: any): any;
|
81
81
|
declare function FAe(e: any): any;
|
82
82
|
declare function MAe(): any;
|
@@ -101,7 +101,7 @@ declare function iAe(e: any): {
|
|
101
101
|
timeout: number;
|
102
102
|
};
|
103
103
|
declare function TTe(e: any, t: any): any;
|
104
|
-
declare function
|
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
105
|
declare const ek: "var(--pf-v5-global--danger-color--100)";
|
106
106
|
declare const nk: "var(--pf-v5-global--disabled-color--100)";
|
107
107
|
declare const tk: "var(--pf-v5-global--info-color--100)";
|
@@ -139,12 +139,12 @@ declare function Y3(e: any, t: any): {
|
|
139
139
|
filtered: never[];
|
140
140
|
setFilterFn: (c: any) => void;
|
141
141
|
};
|
142
|
-
declare function p$(e: any, t: any): {
|
142
|
+
declare function p$(e: any, t: any, n?: boolean): {
|
143
143
|
form: undefined;
|
144
144
|
handleSubmit: any;
|
145
145
|
error: null;
|
146
146
|
setError: O.Dispatch<O.SetStateAction<null>>;
|
147
|
-
handleSubmitError: (
|
147
|
+
handleSubmitError: (c: any) => void;
|
148
148
|
setFieldError: any;
|
149
149
|
};
|
150
150
|
declare function Ht(): ({
|
@@ -232,7 +232,7 @@ declare function Lx(): {
|
|
232
232
|
};
|
233
233
|
declare function NAe(): (n: any, r: any) => void;
|
234
234
|
declare function cl(): {};
|
235
|
-
declare function
|
235
|
+
declare function kg(e: any): {
|
236
236
|
paged: never[];
|
237
237
|
page: number;
|
238
238
|
setPage: O.Dispatch<O.SetStateAction<number>>;
|
@@ -313,4 +313,4 @@ declare function sx(e: any): any;
|
|
313
313
|
declare function $3(e: any): any;
|
314
314
|
declare function TI(): string;
|
315
315
|
import * as O from "react";
|
316
|
-
export { Kwe as BulkActionDialog, ewe as BulkSelector, oAe as BytesCell, Lh as Collapse, p_e as ColumnCardOption, m_e as ColumnDashboardOption, h_e as ColumnListOption, g_e as ColumnModalOption,
|
316
|
+
export { Kwe as BulkActionDialog, ewe as BulkSelector, oAe as BytesCell, Lh as Collapse, p_e as ColumnCardOption, m_e as ColumnDashboardOption, h_e as ColumnListOption, g_e as ColumnModalOption, dy as ColumnPriority, Xa as ColumnTableOption, sAe as CopyCell, cTe as DataEditorActions, lTe as DataEditorButtons, lAe as DateCell, T8 as DateTimeCell, cAe as ElapsedTimeCell, WR as FrameworkTranslationsProvider, OAe as GenericForm, yb as Help, j8 as LabelColorE, A8 as LabelsCell, zAe as LoadingPage, _Ae as MultiSelectDialog, k8 as PFColorE, Ct as PageActionSelection, Dt as PageActionType, du as PageActions, qT as PageAlertToasterContext, XR as PageAlertToasterProvider, LAe as PageApp, aAe as PageBody, j0 as PageChartContainer, dAe as PageDashboard, bb as PageDashboardCard, hAe as PageDashboardChart, ck as PageDashboardContext, pAe as PageDashboardCount, mAe as PageDashboardDonutCard, gAe as PageDashboardGettingStarted, gc as PageDetail, f_e as PageDetails, S_e as PageDetailsFromColumns, _we as PageDialogProvider, l_e as PageDonutChart, E2e as PageForm, S2e as PageFormCancelButton, CAe as PageFormCheckbox, TAe as PageFormDataEditor, T2e as PageFormGrid, AAe as PageFormSelect, h$ as PageFormSubmitButton, kAe as PageFormSwitch, PAe as PageFormTextArea, jAe as PageFormTextInput, bTe as PageFramework, _Te as PageHeader, $Ae as PageLayout, DAe as PageMasthead, wTe as PageMastheadToggle, OD as PageNavSideBarContext, uTe as PageNavSideBarProvider, STe as PageNavigation, a2e as PageNotFound, SAe as PageNotImplemented, IAe as PageNotificationsIcon, ll as PageSettingsContext, O8 as PageSettingsProvider, hE as PageTab, Pg as PageTable, uC as PageTableCards, FAe as PageTabs, MAe as PageThemeSwitcher, vwe as PageToolbar, fwe as PageToolbarFilters, WAe as PageWizard, BTe as RunningIcon, si as Scrollable, i2e as SelectDialog, an as TableColumnCell, $8 as TextCell, uwe as ToolbarFilterType, kTe as addNavigationItem, PTe as addNavigationItemAfter, jTe as addNavigationItemBefore, Jwe as compareNumbers, nd as compareStrings, Zwe as compareUnknowns, iAe as errorToAlertProps, TTe as findNavigationItemById, k0 as getPatternflyColor, ek as pfDanger, nk as pfDisabled, tk as pfInfo, uAe as pfLink, QA as pfSuccess, fAe as pfUnreachable, P8 as pfWarning, RAe as removeLeadingSlash, ATe as removeNavigationItemById, Tn as useBreakpoint, Xwe as useBulkActionDialog, xAe as useBulkConfirmation, w_e as useColumnsWithoutExpandedRow, __e as useColumnsWithoutSort, vAe as useDashboardColumns, b_e as useDescriptionColumns, x_e as useExpandedColumns, Y3 as useFiltered, p$ as useFormErrors, Ht as useFrameworkTranslations, $Te as useGetPageUrl, BAe as useInMemoryView, nAe as useOrientation, ab as usePageAlertToaster, Va as usePageDialog, wwe as usePageDialogs, fTe as usePageNavBarClick, Lx as usePageNavSideBar, NAe as usePageNavigate, cl as usePageSettings, kg as usePaged, wAe as useSelectDialog, G3 as useSelected, Swe as useSelectedInMemory, q3 as useSorted, bAe as useTableItems, KTe as useView, y_e as useVisibleCardColumns, yAe as useVisibleColumns, v_e as useVisibleListColumns, sx as useVisibleModalColumns, $3 as useVisibleTableColumns, TI as useWindowSize };
|