@ansible/ansible-ui-framework 2.4.1163 → 2.4.1165

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,18 @@
1
+ import { IToolbarFilter } from '../PageToolbar/PageToolbarFilter';
2
+ import { IView } from '../useView';
3
+ import { ITableColumn } from './PageTableColumn';
4
+ import { ISelected } from './useTableItems';
5
+ export type PageMultiSelectListProps<T extends object> = {
6
+ labelForSelectedItems?: string;
7
+ view: IView & ISelected<T> & {
8
+ itemCount?: number;
9
+ pageItems: T[] | undefined;
10
+ };
11
+ tableColumns: ITableColumn<T>[];
12
+ toolbarFilters: IToolbarFilter[];
13
+ emptyStateTitle?: string;
14
+ errorStateTitle?: string;
15
+ defaultSort?: string;
16
+ maxSelections?: number;
17
+ };
18
+ export declare function PageMultiSelectList<T extends object>(props: PageMultiSelectListProps<T>): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  declare function FSe(e: any): any;
2
2
  declare function Y2e(e: any): any;
3
- declare function qke(e: any): any;
3
+ declare function Yke(e: any): any;
4
4
  declare function Bh(e: any): any;
5
5
  declare var l2e: any;
6
6
  declare var u2e: any;
@@ -8,19 +8,19 @@ declare var s2e: any;
8
8
  declare var c2e: any;
9
9
  declare var by: any;
10
10
  declare var to: any;
11
- declare function Yke(e: any): any;
12
- declare function XAe(e: any): any;
13
- declare function KAe(e: any): any;
14
11
  declare function Kke(e: any): any;
15
- declare function AF(e: any): any;
12
+ declare function ZAe(e: any): any;
13
+ declare function XAe(e: any): any;
16
14
  declare function Xke(e: any): any;
15
+ declare function AF(e: any): any;
16
+ declare function Zke(e: any): any;
17
17
  declare function i4(e: any): any;
18
- declare function u6e(e: any): any;
18
+ declare function f6e(e: any): any;
19
19
  declare function Cb(e: any): any;
20
20
  declare var $F: any;
21
21
  declare function kF(e: any): any;
22
- declare function A6e(e: any): any;
23
- declare function s6e(e: any): any;
22
+ declare function k6e(e: any): any;
23
+ declare function l6e(e: any): any;
24
24
  declare var PF: any;
25
25
  declare var Et: any;
26
26
  declare var en: any;
@@ -32,86 +32,86 @@ declare const iA: C.Context<{
32
32
  removeAlerts: () => null;
33
33
  }>;
34
34
  declare function v4(e: any): any;
35
- declare function S6e(e: any): any;
36
- declare function Gke(e: any): any;
35
+ declare function O6e(e: any): any;
36
+ declare function qke(e: any): any;
37
37
  declare function L0(e: any): any;
38
- declare function Jke(e: any): any;
39
- declare function Eb(e: any): any;
40
38
  declare function Qke(e: any): any;
39
+ declare function Eb(e: any): any;
40
+ declare function e6e(e: any): any;
41
41
  declare const Sk: C.Context<{
42
42
  columns: number;
43
43
  }>;
44
- declare function e6e(e: any): any;
45
- declare function n6e(e: any): any;
46
44
  declare function t6e(e: any): any;
45
+ declare function r6e(e: any): any;
46
+ declare function n6e(e: any): any;
47
47
  declare function wc(e: any): any;
48
48
  declare function a2e(e: any): any;
49
49
  declare function v2e(e: any): any;
50
50
  declare function yF(e: any): any;
51
51
  declare function n2e(e: any): any;
52
- declare function gOe(e: any): any;
53
- declare function dOe(e: any): any;
54
- declare function f6e(e: any): any;
55
- declare function h6e(e: any): any;
56
52
  declare function mOe(e: any): any;
53
+ declare function hOe(e: any): any;
54
+ declare function d6e(e: any): any;
57
55
  declare function p6e(e: any): any;
58
- declare function D$(e: any): any;
56
+ declare function vOe(e: any): any;
59
57
  declare function g6e(e: any): any;
58
+ declare function D$(e: any): any;
60
59
  declare function m6e(e: any): any;
61
60
  declare function v6e(e: any): any;
62
- declare function oke(e: any): any;
63
- declare function lke(e: any): any;
64
61
  declare function y6e(e: any): any;
62
+ declare function ske(e: any): any;
63
+ declare function cke(e: any): any;
65
64
  declare function b6e(e: any): any;
66
- declare function cke(): any;
65
+ declare function x6e(e: any): any;
66
+ declare function uke(): any;
67
67
  declare const UD: C.Context<{
68
68
  isOpen: boolean;
69
69
  setState: () => {};
70
70
  }>;
71
- declare function ZAe(e: any): any;
72
- declare function uke(e: any): any;
73
- declare function YSe(e: any): any;
74
- declare function c6e(): any;
75
- declare function x6e(): any;
71
+ declare function JAe(e: any): any;
72
+ declare function fke(e: any): any;
73
+ declare function KSe(e: any): any;
74
+ declare function u6e(): any;
76
75
  declare function _6e(): any;
76
+ declare function w6e(): any;
77
77
  declare function SE(e: any): any;
78
78
  declare function Ig(e: any): any;
79
79
  declare function xC(e: any): any;
80
- declare function E6e(e: any): any;
81
- declare function w6e(): any;
80
+ declare function T6e(e: any): any;
81
+ declare function S6e(): any;
82
82
  declare function cSe(e: any): any;
83
83
  declare function rSe(e: any): any;
84
- declare function T6e(e: any): any;
85
- declare const kke: any;
84
+ declare function A6e(e: any): any;
85
+ declare const Pke: any;
86
86
  declare function Fr(e: any): any;
87
- declare function qSe(e: any): any;
87
+ declare function YSe(e: any): any;
88
88
  declare const Wo: C.Context<{}[]>;
89
89
  declare function OF(e: any): any;
90
90
  declare function wF(e: any): any;
91
91
  declare function sn(e: any): any;
92
92
  declare function DF(e: any): any;
93
93
  declare var nSe: any;
94
- declare function mke(e: any, t: any, n: any): void;
95
94
  declare function vke(e: any, t: any, n: any): void;
96
95
  declare function yke(e: any, t: any, n: any): void;
96
+ declare function bke(e: any, t: any, n: any): void;
97
97
  declare function BSe(e: any, t: any): 1 | -1 | 0;
98
98
  declare function ud(e: any, t: any): 1 | -1 | 0;
99
99
  declare function zSe(e: any, t: any): 1 | -1 | 0;
100
- declare function Hke(e: any): {
100
+ declare function Gke(e: any): {
101
101
  title: string;
102
102
  variant: string;
103
103
  timeout: number;
104
104
  };
105
- declare function pke(e: any, t: any): any;
105
+ declare function gke(e: any, t: any): any;
106
106
  declare function M0(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;
107
107
  declare const xk: "var(--pf-v5-global--danger-color--100)";
108
108
  declare const wk: "var(--pf-v5-global--disabled-color--100)";
109
109
  declare const _k: "var(--pf-v5-global--info-color--100)";
110
- declare const Zke: "var(--pf-v5-global--link--Color)";
110
+ declare const Jke: "var(--pf-v5-global--link--Color)";
111
111
  declare const bk: "var(--pf-v5-global--success-color--100)";
112
112
  declare const jF: "var(--pf-v5-global--warning-color--100)";
113
- declare function O6e(e: any): any;
114
- declare function gke(e: any, t: any): any;
113
+ declare function C6e(e: any): any;
114
+ declare function mke(e: any, t: any): any;
115
115
  declare function Pn(e: any): boolean | undefined;
116
116
  declare function WSe(e?: (e: any) => {
117
117
  genericErrors: {
@@ -122,7 +122,7 @@ declare function WSe(e?: (e: any) => {
122
122
  message: string;
123
123
  }[];
124
124
  }): C.Dispatch<C.SetStateAction<undefined>>;
125
- declare function o6e(e?: (e: any) => {
125
+ declare function s6e(e?: (e: any) => {
126
126
  genericErrors: {
127
127
  message: string;
128
128
  }[];
@@ -133,7 +133,7 @@ declare function o6e(e?: (e: any) => {
133
133
  }): (r: any) => void;
134
134
  declare function m2e(e: any): any;
135
135
  declare function g2e(e: any): any;
136
- declare function r6e(e: any): any;
136
+ declare function i6e(e: any): any;
137
137
  declare function h2e(e: any): any;
138
138
  declare function p2e(e: any): any;
139
139
  declare function p$(e: any, t: any): {
@@ -148,7 +148,7 @@ declare function I$(e: any, t: any): {
148
148
  handleSubmitError: (l: any) => void;
149
149
  setFieldError: any;
150
150
  };
151
- declare function Ht(): ({
151
+ declare function It(): ({
152
152
  by: string;
153
153
  cancelText: string;
154
154
  canceledText: string;
@@ -185,8 +185,8 @@ declare function Ht(): ({
185
185
  unknownError: string;
186
186
  validating: string;
187
187
  } | (() => void))[];
188
- declare function bke(): (t: any, n: any) => any;
189
- declare function k6e(e: any): {
188
+ declare function xke(): (t: any, n: any) => any;
189
+ declare function P6e(e: any): {
190
190
  selectedItems: any[];
191
191
  selectItem: (h: any) => void;
192
192
  unselectItem: (h: any) => void;
@@ -212,7 +212,7 @@ declare function k6e(e: any): {
212
212
  pageItems: never[] | undefined;
213
213
  error: any;
214
214
  };
215
- declare function Vke(): string;
215
+ declare function Uke(): string;
216
216
  declare function pb(): {
217
217
  addAlert: () => null;
218
218
  removeAlert: () => null;
@@ -226,12 +226,12 @@ declare function bF(): {
226
226
  pushDialog: (e: any) => void;
227
227
  popDialog: () => void;
228
228
  };
229
- declare function JAe(): (i: any) => void;
229
+ declare function QAe(): (i: any) => void;
230
230
  declare function Vx(): {
231
231
  isOpen: boolean;
232
232
  setState: () => {};
233
233
  };
234
- declare function C6e(): (n: any, r: any) => void;
234
+ declare function E6e(): (n: any, r: any) => void;
235
235
  declare function Dg(e: any): {
236
236
  paged: never[];
237
237
  page: number;
@@ -239,7 +239,7 @@ declare function Dg(e: any): {
239
239
  perPage: number;
240
240
  setPerPage: C.Dispatch<C.SetStateAction<number>>;
241
241
  };
242
- declare function l6e(e: any): (g: any, v: any) => void;
242
+ declare function c6e(e: any): (g: any, v: any) => void;
243
243
  declare function d$(e: any, t: any, n: any): {
244
244
  selectedItems: any[];
245
245
  selectItem: (p: any) => void;
@@ -271,7 +271,7 @@ declare function h$(e: any): {
271
271
  sort: undefined;
272
272
  setSort: C.Dispatch<C.SetStateAction<undefined>>;
273
273
  };
274
- declare function a6e(e: any, t: any, n: any): {
274
+ declare function o6e(e: any, t: any, n: any): {
275
275
  allSelected: boolean;
276
276
  filtered: never[];
277
277
  isSelected: (p: any) => boolean;
@@ -295,7 +295,7 @@ declare function a6e(e: any, t: any, n: any): {
295
295
  unselectAll: () => void;
296
296
  unselectItem: (p: any) => void;
297
297
  };
298
- declare function Lke(e: any): {
298
+ declare function Rke(e: any): {
299
299
  page: number;
300
300
  setPage: C.Dispatch<C.SetStateAction<number>>;
301
301
  perPage: number;
@@ -309,10 +309,10 @@ declare function Lke(e: any): {
309
309
  clearAllFilters: () => void;
310
310
  };
311
311
  declare function d2e(e: any): any;
312
- declare function i6e(e: any, t: any): any;
312
+ declare function a6e(e: any, t: any): any;
313
313
  declare function f2e(e: any): any;
314
314
  declare function gx(e: any): any;
315
315
  declare function Q3(e: any): any;
316
316
  declare function HI(): string;
317
317
  import * as C from "react";
318
- export { FSe as BulkActionDialog, Y2e as BulkSelector, qke as BytesCell, Bh as Collapse, l2e as ColumnCardOption, u2e as ColumnDashboardOption, s2e as ColumnListOption, c2e as ColumnModalOption, by as ColumnPriority, to as ColumnTableOption, Yke as CopyCell, XAe as DataEditorActions, KAe as DataEditorButtons, Kke as DateCell, AF as DateTimeCell, Xke as ElapsedTimeCell, i4 as FrameworkTranslationsProvider, u6e as GenericForm, Cb as Help, $F as LabelColorE, kF as LabelsCell, A6e as LoadingPage, s6e as MultiSelectDialog, PF as PFColorE, Et as PageActionSelection, en as PageActionType, bu as PageActions, iA as PageAlertToasterContext, v4 as PageAlertToasterProvider, S6e as PageApp, Gke as PageBody, L0 as PageChartContainer, Jke as PageDashboard, Eb as PageDashboardCard, Qke as PageDashboardChart, Sk as PageDashboardContext, e6e as PageDashboardCount, n6e as PageDashboardDonutCard, t6e as PageDashboardGettingStarted, wc as PageDetail, a2e as PageDetails, v2e as PageDetailsFromColumns, yF as PageDialogProvider, n2e as PageDonutChart, gOe as PageForm, dOe as PageFormCancelButton, f6e as PageFormCheckbox, h6e as PageFormDataEditor, mOe as PageFormGrid, p6e as PageFormSelect, D$ as PageFormSubmitButton, g6e as PageFormSwitch, m6e as PageFormTextArea, v6e as PageFormTextInput, oke as PageFramework, lke as PageHeader, y6e as PageLayout, b6e as PageMasthead, cke as PageMastheadToggle, UD as PageNavSideBarContext, ZAe as PageNavSideBarProvider, uke as PageNavigation, YSe as PageNotFound, c6e as PageNotImplemented, x6e as PageNotificationsIcon, _6e as PageSettingsIcon, SE as PageTab, Ig as PageTable, xC as PageTableCards, E6e as PageTabs, w6e as PageThemeSwitcher, cSe as PageToolbar, rSe as PageToolbarFilters, T6e as PageWizard, kke as RunningIcon, Fr as Scrollable, qSe as SelectDialog, Wo as SettingsContext, OF as SettingsDialog, wF as SettingsProvider, sn as TableColumnCell, DF as TextCell, nSe as ToolbarFilterType, mke as addNavigationItem, vke as addNavigationItemAfter, yke as addNavigationItemBefore, BSe as compareNumbers, ud as compareStrings, zSe as compareUnknowns, Hke as errorToAlertProps, pke as findNavigationItemById, M0 as getPatternflyColor, xk as pfDanger, wk as pfDisabled, _k as pfInfo, Zke as pfLink, bk as pfSuccess, jF as pfWarning, O6e as removeLeadingSlash, gke as removeNavigationItemById, Pn as useBreakpoint, WSe as useBulkActionDialog, o6e as useBulkConfirmation, m2e as useColumnsWithoutExpandedRow, g2e as useColumnsWithoutSort, r6e as useDashboardColumns, h2e as useDescriptionColumns, p2e as useExpandedColumns, p$ as useFiltered, I$ as useFormErrors, Ht as useFrameworkTranslations, bke as useGetPageUrl, k6e as useInMemoryView, Vke as useOrientation, pb as usePageAlertToaster, ua as usePageDialog, bF as usePageDialogs, JAe as usePageNavBarClick, Vx as usePageNavSideBar, C6e as usePageNavigate, Dg as usePaged, l6e as useSelectDialog, d$ as useSelected, hSe as useSelectedInMemory, Ou as useSettings, SF as useSettingsDialog, h$ as useSorted, a6e as useTableItems, Lke as useView, d2e as useVisibleCardColumns, i6e as useVisibleColumns, f2e as useVisibleListColumns, gx as useVisibleModalColumns, Q3 as useVisibleTableColumns, HI as useWindowSize };
318
+ export { FSe as BulkActionDialog, Y2e as BulkSelector, Yke as BytesCell, Bh as Collapse, l2e as ColumnCardOption, u2e as ColumnDashboardOption, s2e as ColumnListOption, c2e as ColumnModalOption, by as ColumnPriority, to as ColumnTableOption, Kke as CopyCell, ZAe as DataEditorActions, XAe as DataEditorButtons, Xke as DateCell, AF as DateTimeCell, Zke as ElapsedTimeCell, i4 as FrameworkTranslationsProvider, f6e as GenericForm, Cb as Help, $F as LabelColorE, kF as LabelsCell, k6e as LoadingPage, l6e as MultiSelectDialog, PF as PFColorE, Et as PageActionSelection, en as PageActionType, bu as PageActions, iA as PageAlertToasterContext, v4 as PageAlertToasterProvider, O6e as PageApp, qke as PageBody, L0 as PageChartContainer, Qke as PageDashboard, Eb as PageDashboardCard, e6e as PageDashboardChart, Sk as PageDashboardContext, t6e as PageDashboardCount, r6e as PageDashboardDonutCard, n6e as PageDashboardGettingStarted, wc as PageDetail, a2e as PageDetails, v2e as PageDetailsFromColumns, yF as PageDialogProvider, n2e as PageDonutChart, mOe as PageForm, hOe as PageFormCancelButton, d6e as PageFormCheckbox, p6e as PageFormDataEditor, vOe as PageFormGrid, g6e as PageFormSelect, D$ as PageFormSubmitButton, m6e as PageFormSwitch, v6e as PageFormTextArea, y6e as PageFormTextInput, ske as PageFramework, cke as PageHeader, b6e as PageLayout, x6e as PageMasthead, uke as PageMastheadToggle, UD as PageNavSideBarContext, JAe as PageNavSideBarProvider, fke as PageNavigation, KSe as PageNotFound, u6e as PageNotImplemented, _6e as PageNotificationsIcon, w6e as PageSettingsIcon, SE as PageTab, Ig as PageTable, xC as PageTableCards, T6e as PageTabs, S6e as PageThemeSwitcher, cSe as PageToolbar, rSe as PageToolbarFilters, A6e as PageWizard, Pke as RunningIcon, Fr as Scrollable, YSe as SelectDialog, Wo as SettingsContext, OF as SettingsDialog, wF as SettingsProvider, sn as TableColumnCell, DF as TextCell, nSe as ToolbarFilterType, vke as addNavigationItem, yke as addNavigationItemAfter, bke as addNavigationItemBefore, BSe as compareNumbers, ud as compareStrings, zSe as compareUnknowns, Gke as errorToAlertProps, gke as findNavigationItemById, M0 as getPatternflyColor, xk as pfDanger, wk as pfDisabled, _k as pfInfo, Jke as pfLink, bk as pfSuccess, jF as pfWarning, C6e as removeLeadingSlash, mke as removeNavigationItemById, Pn as useBreakpoint, WSe as useBulkActionDialog, s6e as useBulkConfirmation, m2e as useColumnsWithoutExpandedRow, g2e as useColumnsWithoutSort, i6e as useDashboardColumns, h2e as useDescriptionColumns, p2e as useExpandedColumns, p$ as useFiltered, I$ as useFormErrors, It as useFrameworkTranslations, xke as useGetPageUrl, P6e as useInMemoryView, Uke as useOrientation, pb as usePageAlertToaster, ua as usePageDialog, bF as usePageDialogs, QAe as usePageNavBarClick, Vx as usePageNavSideBar, E6e as usePageNavigate, Dg as usePaged, c6e as useSelectDialog, d$ as useSelected, hSe as useSelectedInMemory, Ou as useSettings, SF as useSettingsDialog, h$ as useSorted, o6e as useTableItems, Rke as useView, d2e as useVisibleCardColumns, a6e as useVisibleColumns, f2e as useVisibleListColumns, gx as useVisibleModalColumns, Q3 as useVisibleTableColumns, HI as useWindowSize };