@ansible/ansible-ui-framework 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (215) hide show
  1. package/LICENSE.md +168 -0
  2. package/README.md +5 -0
  3. package/assets/editor.worker-CKha-MBL.js +11 -0
  4. package/assets/json.worker-BXgpME0S.js +42 -0
  5. package/assets/yaml.worker-DhJ2nZ1S.js +466 -0
  6. package/framework/PageActions/PageAction.d.ts +100 -0
  7. package/framework/PageActions/PageActionButton.d.ts +10 -0
  8. package/framework/PageActions/PageActionDropdown.d.ts +20 -0
  9. package/framework/PageActions/PageActionLink.d.ts +9 -0
  10. package/framework/PageActions/PageActionSwitch.d.ts +8 -0
  11. package/framework/PageActions/PageActionUtils.d.ts +3 -0
  12. package/framework/PageActions/PageActions.d.ts +16 -0
  13. package/framework/PageActions/PageActionsPinned.d.ts +21 -0
  14. package/framework/PageAlertToaster.d.ts +14 -0
  15. package/framework/PageBody.d.ts +6 -0
  16. package/framework/PageCarousel/PageCarousel.d.ts +10 -0
  17. package/framework/PageCarousel/PageCarouselCardPage.d.ts +9 -0
  18. package/framework/PageCarousel/PageCarouselNav.d.ts +5 -0
  19. package/framework/PageCells/BytesCell.d.ts +4 -0
  20. package/framework/PageCells/CopyCell.d.ts +4 -0
  21. package/framework/PageCells/DateTimeCell.d.ts +8 -0
  22. package/framework/PageCells/ElapsedTimeCell.d.ts +4 -0
  23. package/framework/PageCells/LabelsCell.d.ts +18 -0
  24. package/framework/PageCells/TextCell.d.ts +15 -0
  25. package/framework/PageDashboard/PageChartContainer.d.ts +10 -0
  26. package/framework/PageDashboard/PageChartLegend.d.ts +12 -0
  27. package/framework/PageDashboard/PageDashboard.d.ts +7 -0
  28. package/framework/PageDashboard/PageDashboardCard.d.ts +28 -0
  29. package/framework/PageDashboard/PageDashboardCarousel.d.ts +14 -0
  30. package/framework/PageDashboard/PageDashboardChart.d.ts +30 -0
  31. package/framework/PageDashboard/PageDashboardCount.d.ts +7 -0
  32. package/framework/PageDashboard/PageDashboardCountBar.cy.d.ts +1 -0
  33. package/framework/PageDashboard/PageDashboardCountBar.d.ts +14 -0
  34. package/framework/PageDashboard/PageDashboardGettingStarted.d.ts +11 -0
  35. package/framework/PageDashboard/PageDonutChart.d.ts +15 -0
  36. package/framework/PageDashboard/PageScatterChart.d.ts +10 -0
  37. package/framework/PageDashboard/usePageChartColors.d.ts +16 -0
  38. package/framework/PageDetails/PageDetail.d.ts +8 -0
  39. package/framework/PageDetails/PageDetailCodeEditor.d.ts +8 -0
  40. package/framework/PageDetails/PageDetails.d.ts +9 -0
  41. package/framework/PageDetails/PageDetailsFromColumns.d.ts +7 -0
  42. package/framework/PageDialogs/BulkActionDialog.cy.d.ts +1 -0
  43. package/framework/PageDialogs/BulkActionDialog.d.ts +17 -0
  44. package/framework/PageDialogs/BulkConfirmationDialog.d.ts +21 -0
  45. package/framework/PageDialogs/MultiSelectDialog.d.ts +24 -0
  46. package/framework/PageDialogs/PageDialog.cy.d.ts +1 -0
  47. package/framework/PageDialogs/PageDialog.d.ts +14 -0
  48. package/framework/PageDialogs/SingleSelectDialog.d.ts +20 -0
  49. package/framework/PageDialogs/useSelectDialog.d.ts +33 -0
  50. package/framework/PageEmptyStates/PageNotFound.d.ts +3 -0
  51. package/framework/PageEmptyStates/PageNotImplemented.d.ts +1 -0
  52. package/framework/PageForm/ErrorAlert.cy.d.ts +1 -0
  53. package/framework/PageForm/ErrorAlert.d.ts +9 -0
  54. package/framework/PageForm/GenericForm.d.ts +14 -0
  55. package/framework/PageForm/Inputs/FormGroupDateTimePicker.d.ts +12 -0
  56. package/framework/PageForm/Inputs/FormGroupTypeAheadMultiSelect.d.ts +29 -0
  57. package/framework/PageForm/Inputs/PageFormAsyncMultiSelect.cy.d.ts +1 -0
  58. package/framework/PageForm/Inputs/PageFormAsyncMultiSelect.d.ts +9 -0
  59. package/framework/PageForm/Inputs/PageFormAsyncSelect.d.ts +49 -0
  60. package/framework/PageForm/Inputs/PageFormAsyncSingleSelect.cy.d.ts +1 -0
  61. package/framework/PageForm/Inputs/PageFormAsyncSingleSelect.d.ts +9 -0
  62. package/framework/PageForm/Inputs/PageFormCheckbox.d.ts +11 -0
  63. package/framework/PageForm/Inputs/PageFormCreatableSelect.d.ts +20 -0
  64. package/framework/PageForm/Inputs/PageFormDataEditor.cy.d.ts +1 -0
  65. package/framework/PageForm/Inputs/PageFormDataEditor.d.ts +36 -0
  66. package/framework/PageForm/Inputs/PageFormDateTimePicker.d.ts +12 -0
  67. package/framework/PageForm/Inputs/PageFormFileUpload.d.ts +7 -0
  68. package/framework/PageForm/Inputs/PageFormGroup.d.ts +14 -0
  69. package/framework/PageForm/Inputs/PageFormMarkdown.d.ts +19 -0
  70. package/framework/PageForm/Inputs/PageFormMarkdownEditor.cy.d.ts +1 -0
  71. package/framework/PageForm/Inputs/PageFormMultiInput.d.ts +23 -0
  72. package/framework/PageForm/Inputs/PageFormMultiSelect.d.ts +9 -0
  73. package/framework/PageForm/Inputs/PageFormSecret.cy.d.ts +1 -0
  74. package/framework/PageForm/Inputs/PageFormSecret.d.ts +14 -0
  75. package/framework/PageForm/Inputs/PageFormSelect.d.ts +21 -0
  76. package/framework/PageForm/Inputs/PageFormSingleSelect.d.ts +9 -0
  77. package/framework/PageForm/Inputs/PageFormSlider.d.ts +9 -0
  78. package/framework/PageForm/Inputs/PageFormSwitch.d.ts +18 -0
  79. package/framework/PageForm/Inputs/PageFormTextArea.d.ts +3 -0
  80. package/framework/PageForm/Inputs/PageFormTextInput.d.ts +29 -0
  81. package/framework/PageForm/Inputs/validation-hooks.d.ts +4 -0
  82. package/framework/PageForm/PageForm.d.ts +37 -0
  83. package/framework/PageForm/PageFormButtons.d.ts +9 -0
  84. package/framework/PageForm/PageFormExpandableSection.cy.d.ts +1 -0
  85. package/framework/PageForm/PageFormExpandableSection.d.ts +7 -0
  86. package/framework/PageForm/Utils/PageFormHidden.d.ts +6 -0
  87. package/framework/PageForm/Utils/PageFormSection.d.ts +7 -0
  88. package/framework/PageForm/Utils/PageFormSetError.d.ts +5 -0
  89. package/framework/PageForm/Utils/PageFormSetValue.d.ts +5 -0
  90. package/framework/PageForm/Utils/PageFormWatch.d.ts +6 -0
  91. package/framework/PageForm/genericErrorAdapter.cy.d.ts +1 -0
  92. package/framework/PageForm/genericErrorAdapter.d.ts +2 -0
  93. package/framework/PageForm/typesErrorAdapter.d.ts +12 -0
  94. package/framework/PageFramework.d.ts +5 -0
  95. package/framework/PageHeader.d.ts +23 -0
  96. package/framework/PageInputs/PageAsyncMultiSelect.cy.d.ts +1 -0
  97. package/framework/PageInputs/PageAsyncMultiSelect.d.ts +13 -0
  98. package/framework/PageInputs/PageAsyncSingleSelect.cy.d.ts +1 -0
  99. package/framework/PageInputs/PageAsyncSingleSelect.d.ts +14 -0
  100. package/framework/PageInputs/PageMultiSelect.cy.d.ts +1 -0
  101. package/framework/PageInputs/PageMultiSelect.d.ts +17 -0
  102. package/framework/PageInputs/PageSelectOption.d.ts +9 -0
  103. package/framework/PageInputs/PageSingleSelect.cy.d.ts +1 -0
  104. package/framework/PageInputs/PageSingleSelect.d.ts +29 -0
  105. package/framework/PageLayout.d.ts +4 -0
  106. package/framework/PageMasonry.d.ts +6 -0
  107. package/framework/PageMasthead/PageMasthead.d.ts +6 -0
  108. package/framework/PageMasthead/PageMastheadDropdown.d.ts +7 -0
  109. package/framework/PageMasthead/PageNotificationsIcon.d.ts +1 -0
  110. package/framework/PageMasthead/PageSettingsIcon.d.ts +1 -0
  111. package/framework/PageMasthead/PageThemeSwitcher.d.ts +1 -0
  112. package/framework/PageNavigation/PageApp.d.ts +9 -0
  113. package/framework/PageNavigation/PageNavSidebar.d.ts +12 -0
  114. package/framework/PageNavigation/PageNavigation.d.ts +5 -0
  115. package/framework/PageNavigation/PageNavigationItem.d.ts +25 -0
  116. package/framework/PageNavigation/PageNavigationRoutesProvider.d.ts +9 -0
  117. package/framework/PageNavigation/useGetPageUrl.d.ts +4 -0
  118. package/framework/PageNavigation/usePageNavigate.d.ts +4 -0
  119. package/framework/PageNotifications/PageNotificationsProvider.cy.d.ts +1 -0
  120. package/framework/PageNotifications/PageNotificationsProvider.d.ts +27 -0
  121. package/framework/PageTable/PageLoadingTable.d.ts +1 -0
  122. package/framework/PageTable/PagePagination.d.ts +13 -0
  123. package/framework/PageTable/PageTable.d.ts +65 -0
  124. package/framework/PageTable/PageTableCard.d.ts +39 -0
  125. package/framework/PageTable/PageTableCards.d.ts +3 -0
  126. package/framework/PageTable/PageTableColumn.d.ts +310 -0
  127. package/framework/PageTable/PageTableList.d.ts +7 -0
  128. package/framework/PageTable/useTableItems.d.ts +74 -0
  129. package/framework/PageTabs/PageBreadcrumbs.d.ts +11 -0
  130. package/framework/PageTabs/PageRoutedTabs.d.ts +20 -0
  131. package/framework/PageTabs/PageTabs.d.ts +11 -0
  132. package/framework/PageToolbar/PageTableViewType.d.ts +6 -0
  133. package/framework/PageToolbar/PageToolbar.d.ts +47 -0
  134. package/framework/PageToolbar/PageToolbarFilter.d.ts +25 -0
  135. package/framework/PageToolbar/PageToolbarFilters/ToolbarAsyncMultiSelectFilter.d.ts +20 -0
  136. package/framework/PageToolbar/PageToolbarFilters/ToolbarAsyncSelectFilterBuilder.d.ts +23 -0
  137. package/framework/PageToolbar/PageToolbarFilters/ToolbarAsyncSingleSelectFilter.d.ts +15 -0
  138. package/framework/PageToolbar/PageToolbarFilters/ToolbarDateRangeFilter.d.ts +33 -0
  139. package/framework/PageToolbar/PageToolbarFilters/ToolbarFilterCommon.d.ts +7 -0
  140. package/framework/PageToolbar/PageToolbarFilters/ToolbarFilters.cy.d.ts +1 -0
  141. package/framework/PageToolbar/PageToolbarFilters/ToolbarMultiSelectFilter.d.ts +8 -0
  142. package/framework/PageToolbar/PageToolbarFilters/ToolbarSingleSelectFilter.d.ts +9 -0
  143. package/framework/PageToolbar/PageToolbarFilters/ToolbarTextFilter.d.ts +24 -0
  144. package/framework/PageToolbar/PageToolbarSort.d.ts +16 -0
  145. package/framework/PageToolbar/PageToolbarToggleGroup.d.ts +10 -0
  146. package/framework/PageToolbar/PageToolbarView.d.ts +10 -0
  147. package/framework/PageWizard/PageWizard.cy.d.ts +1 -0
  148. package/framework/PageWizard/PageWizard.d.ts +12 -0
  149. package/framework/PageWizard/PageWizardBody.cy.d.ts +1 -0
  150. package/framework/PageWizard/PageWizardBody.d.ts +2 -0
  151. package/framework/PageWizard/PageWizardFooter.cy.d.ts +1 -0
  152. package/framework/PageWizard/PageWizardFooter.d.ts +5 -0
  153. package/framework/PageWizard/PageWizardHeader.d.ts +5 -0
  154. package/framework/PageWizard/PageWizardNavigation.d.ts +1 -0
  155. package/framework/PageWizard/PageWizardProvider.d.ts +10 -0
  156. package/framework/PageWizard/PageWizardToggle.d.ts +1 -0
  157. package/framework/PageWizard/index.d.ts +3 -0
  158. package/framework/PageWizard/types.d.ts +32 -0
  159. package/framework/Settings.d.ts +20 -0
  160. package/framework/components/BulkSelector.d.ts +11 -0
  161. package/framework/components/Collapse.d.ts +6 -0
  162. package/framework/components/DataEditor.d.ts +12 -0
  163. package/framework/components/DetailInfo.d.ts +4 -0
  164. package/framework/components/Dotted.d.ts +4 -0
  165. package/framework/components/DropZone.d.ts +7 -0
  166. package/framework/components/DropdownControlled.d.ts +4 -0
  167. package/framework/components/EmptyStateCustom.d.ts +11 -0
  168. package/framework/components/EmptyStateError.d.ts +4 -0
  169. package/framework/components/EmptyStateFilter.d.ts +6 -0
  170. package/framework/components/EmptyStateNoData.d.ts +7 -0
  171. package/framework/components/EmptyStateUnauthorized.d.ts +6 -0
  172. package/framework/components/ErrorBoundary.d.ts +15 -0
  173. package/framework/components/Help.d.ts +6 -0
  174. package/framework/components/IconButton.d.ts +2 -0
  175. package/framework/components/IconWrapper.d.ts +9 -0
  176. package/framework/components/LoadingPage.d.ts +4 -0
  177. package/framework/components/LoadingState.d.ts +1 -0
  178. package/framework/components/Masonry.d.ts +6 -0
  179. package/framework/components/PageGrid.d.ts +6 -0
  180. package/framework/components/ReorderItems.d.ts +20 -0
  181. package/framework/components/Scrollable.d.ts +9 -0
  182. package/framework/components/StandardPopover.d.ts +9 -0
  183. package/framework/components/icons/ExpandIcon.d.ts +4 -0
  184. package/framework/components/icons/RunningIcon.d.ts +2 -0
  185. package/framework/components/pfcolors.d.ts +32 -0
  186. package/framework/components/useBreakPoint.d.ts +4 -0
  187. package/framework/components/useIsMounted.d.ts +5 -0
  188. package/framework/components/useManageColumns.d.ts +5 -0
  189. package/framework/components/useManagedItems.d.ts +28 -0
  190. package/framework/components/useOpen.d.ts +4 -0
  191. package/framework/components/useSearchParams.d.ts +1 -0
  192. package/framework/components/useWindowLocation.d.ts +5 -0
  193. package/framework/hooks/useClipboard.d.ts +8 -0
  194. package/framework/hooks/useID.d.ts +11 -0
  195. package/framework/index.d.ts +70 -0
  196. package/framework/publish/assets/editor.worker-CKha-MBL.d.ts +0 -0
  197. package/framework/publish/assets/json.worker-BXgpME0S.d.ts +3 -0
  198. package/framework/publish/assets/yaml.worker-DhJ2nZ1S.d.ts +3 -0
  199. package/framework/publish/index.d.ts +318 -0
  200. package/framework/publish/index.umd.d.cts +1 -0
  201. package/framework/useFrameworkTranslations.d.ts +42 -0
  202. package/framework/useInMemoryView.d.ts +17 -0
  203. package/framework/useView.d.ts +36 -0
  204. package/framework/utils/codeEditorUtils.d.ts +1 -0
  205. package/framework/utils/compare.d.ts +3 -0
  206. package/framework/utils/dateTimeHelpers.d.ts +2 -0
  207. package/framework/utils/download-file.d.ts +2 -0
  208. package/framework/utils/formatDateString.d.ts +1 -0
  209. package/framework/utils/random-string.d.ts +3 -0
  210. package/framework/utils/strings.d.ts +2 -0
  211. package/framework/vite.config.d.ts +2 -0
  212. package/index.js +50018 -0
  213. package/index.umd.cjs +600 -0
  214. package/package.json +40 -0
  215. package/style.css +1 -0
@@ -0,0 +1,318 @@
1
+ declare function QSe(e: any): any;
2
+ declare function lSe(e: any): any;
3
+ declare function Zke(e: any): any;
4
+ declare function Qh(e: any): any;
5
+ declare var w2e: any;
6
+ declare var O2e: any;
7
+ declare var _2e: any;
8
+ declare var S2e: any;
9
+ declare var My: any;
10
+ declare var co: any;
11
+ declare function Xke(e: any): any;
12
+ declare function QAe(e: any): any;
13
+ declare function JAe(e: any): any;
14
+ declare function Jke(e: any): any;
15
+ declare function GF(e: any): any;
16
+ declare function Qke(e: any): any;
17
+ declare function w4(e: any): any;
18
+ declare function h6e(e: any): any;
19
+ declare function Nb(e: any): any;
20
+ declare var XF: any;
21
+ declare function YF(e: any): any;
22
+ declare function j6e(e: any): any;
23
+ declare function u6e(e: any): any;
24
+ declare var KF: any;
25
+ declare var kt: any;
26
+ declare var an: any;
27
+ declare function Cu(e: any): any;
28
+ declare const _A: C.Context<{
29
+ addAlert: () => null;
30
+ removeAlert: () => null;
31
+ replaceAlert: () => null;
32
+ removeAlerts: () => null;
33
+ }>;
34
+ declare function M4(e: any): any;
35
+ declare function T6e(e: any): any;
36
+ declare function Kke(e: any): any;
37
+ declare function J0(e: any): any;
38
+ declare function t6e(e: any): any;
39
+ declare function Fb(e: any): any;
40
+ declare function n6e(e: any): any;
41
+ declare const Fk: C.Context<{
42
+ columns: number;
43
+ }>;
44
+ declare function r6e(e: any): any;
45
+ declare function a6e(e: any): any;
46
+ declare function i6e(e: any): any;
47
+ declare function kc(e: any): any;
48
+ declare function b2e(e: any): any;
49
+ declare function j2e(e: any): any;
50
+ declare function RF(e: any): any;
51
+ declare function g2e(e: any): any;
52
+ declare function AOe(e: any): any;
53
+ declare function COe(e: any): any;
54
+ declare function p6e(e: any): any;
55
+ declare function g6e(e: any): any;
56
+ declare function kOe(e: any): any;
57
+ declare function v6e(e: any): any;
58
+ declare function eD(e: any): any;
59
+ declare function y6e(e: any): any;
60
+ declare function b6e(e: any): any;
61
+ declare function x6e(e: any): any;
62
+ declare function cke(e: any): any;
63
+ declare function fke(e: any): any;
64
+ declare function _6e(e: any): any;
65
+ declare function w6e(e: any): any;
66
+ declare function dke(): any;
67
+ declare const u7: C.Context<{
68
+ isOpen: boolean;
69
+ setState: () => {};
70
+ }>;
71
+ declare function eke(e: any): any;
72
+ declare function hke(e: any): any;
73
+ declare function lOe(e: any): any;
74
+ declare function d6e(): any;
75
+ declare function S6e(): any;
76
+ declare function O6e(): any;
77
+ declare function zT(e: any): any;
78
+ declare function Ym(e: any): any;
79
+ declare function VC(e: any): any;
80
+ declare function k6e(e: any): any;
81
+ declare function C6e(): any;
82
+ declare function SSe(e: any): any;
83
+ declare function vSe(e: any): any;
84
+ declare function P6e(e: any): any;
85
+ declare const $ke: any;
86
+ declare function yi(e: any): any;
87
+ declare function sOe(e: any): any;
88
+ declare const Go: C.Context<{}[]>;
89
+ declare function VF(e: any): any;
90
+ declare function WF(e: any): any;
91
+ declare function fn(e: any): any;
92
+ declare function JF(e: any): any;
93
+ declare var gSe: any;
94
+ declare function bke(e: any, t: any, n: any): void;
95
+ declare function xke(e: any, t: any, n: any): void;
96
+ declare function _ke(e: any, t: any, n: any): void;
97
+ declare function nOe(e: any, t: any): 1 | -1 | 0;
98
+ declare function md(e: any, t: any): 1 | -1 | 0;
99
+ declare function tOe(e: any, t: any): 1 | -1 | 0;
100
+ declare function Yke(e: any): {
101
+ title: string;
102
+ variant: string;
103
+ timeout: number;
104
+ };
105
+ declare function vke(e: any, t: any): any;
106
+ declare function X0(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
+ declare const Lk: "var(--pf-v5-global--danger-color--100)";
108
+ declare const Nk: "var(--pf-v5-global--disabled-color--100)";
109
+ declare const Rk: "var(--pf-v5-global--info-color--100)";
110
+ declare const e6e: "var(--pf-v5-global--link--Color)";
111
+ declare const Mk: "var(--pf-v5-global--success-color--100)";
112
+ declare const ZF: "var(--pf-v5-global--warning-color--100)";
113
+ declare function E6e(e: any): any;
114
+ declare function yke(e: any, t: any): any;
115
+ declare function Mn(e: any): boolean | undefined;
116
+ declare function eOe(e?: (e: any) => {
117
+ genericErrors: {
118
+ message: string;
119
+ }[];
120
+ fieldErrors: {
121
+ name: string;
122
+ message: string;
123
+ }[];
124
+ }): C.Dispatch<C.SetStateAction<undefined>>;
125
+ declare function c6e(e?: (e: any) => {
126
+ genericErrors: {
127
+ message: string;
128
+ }[];
129
+ fieldErrors: {
130
+ name: string;
131
+ message: string;
132
+ }[];
133
+ }): (r: any) => void;
134
+ declare function P2e(e: any): any;
135
+ declare function k2e(e: any): any;
136
+ declare function o6e(e: any): any;
137
+ declare function E2e(e: any): any;
138
+ declare function A2e(e: any): any;
139
+ declare function M$(e: any, t: any): {
140
+ filtered: never[];
141
+ setFilterFn: (c: any) => void;
142
+ };
143
+ declare function tD(e: any, t: any): {
144
+ form: undefined;
145
+ handleSubmit: any;
146
+ error: null;
147
+ setError: C.Dispatch<C.SetStateAction<null>>;
148
+ handleSubmitError: (l: any) => void;
149
+ setFieldError: any;
150
+ };
151
+ declare function Gt(): ({
152
+ by: string;
153
+ cancelText: string;
154
+ canceledText: string;
155
+ cardView: string;
156
+ clearAllFilters: string;
157
+ clickToRefresh: string;
158
+ closeText: string;
159
+ confirmText: string;
160
+ countMore: string;
161
+ documentation: string;
162
+ errorText: string;
163
+ filter: string;
164
+ listView: string;
165
+ manageColumns: string;
166
+ moreInformation: string;
167
+ noItemsFound: string;
168
+ noResultsFound: string;
169
+ noResultsMatchCriteria: string;
170
+ noSelection: string;
171
+ noSelections: string;
172
+ noneSelectedText: string;
173
+ ofText: string;
174
+ pendingText: string;
175
+ pleaseFixValidationErrors: string;
176
+ processingText: string;
177
+ selectNone: string;
178
+ selectedText: string;
179
+ showLess: string;
180
+ sort: string;
181
+ submitText: string;
182
+ submittingText: string;
183
+ successText: string;
184
+ tableView: string;
185
+ unknownError: string;
186
+ validating: string;
187
+ } | (() => void))[];
188
+ declare function wke(): (t: any, n: any) => any;
189
+ declare function $6e(e: any): {
190
+ selectedItems: any[];
191
+ selectItem: (h: any) => void;
192
+ unselectItem: (h: any) => void;
193
+ isSelected: (h: any) => boolean;
194
+ selectItems: (h: any) => void;
195
+ selectAll: () => void;
196
+ unselectAll: () => void;
197
+ allSelected: boolean;
198
+ keyFn: any;
199
+ unselectItems: (h: any) => void;
200
+ page: number;
201
+ setPage: C.Dispatch<C.SetStateAction<number>>;
202
+ perPage: number;
203
+ setPerPage: C.Dispatch<C.SetStateAction<number>>;
204
+ sort: any;
205
+ setSort: C.Dispatch<any>;
206
+ sortDirection: any;
207
+ setSortDirection: C.Dispatch<any>;
208
+ filterState: any;
209
+ setFilterState: C.Dispatch<any>;
210
+ clearAllFilters: () => void;
211
+ itemCount: number | undefined;
212
+ pageItems: never[] | undefined;
213
+ error: any;
214
+ };
215
+ declare function qke(): string;
216
+ declare function Eb(): {
217
+ addAlert: () => null;
218
+ removeAlert: () => null;
219
+ replaceAlert: () => null;
220
+ removeAlerts: () => null;
221
+ };
222
+ declare function ya(): (((a: any) => void) | undefined)[];
223
+ declare function NF(): {
224
+ dialogs: never[];
225
+ clearDialogs: () => void;
226
+ pushDialog: (e: any) => void;
227
+ popDialog: () => void;
228
+ };
229
+ declare function tke(): (i: any) => void;
230
+ declare function d5(): {
231
+ isOpen: boolean;
232
+ setState: () => {};
233
+ };
234
+ declare function A6e(): (n: any, r: any) => void;
235
+ declare function Gm(e: any): {
236
+ paged: never[];
237
+ page: number;
238
+ setPage: C.Dispatch<C.SetStateAction<number>>;
239
+ perPage: number;
240
+ setPerPage: C.Dispatch<C.SetStateAction<number>>;
241
+ };
242
+ declare function f6e(e: any): (g: any, y: any) => void;
243
+ declare function D$(e: any, t: any, n: any): {
244
+ selectedItems: any[];
245
+ selectItem: (p: any) => void;
246
+ unselectItem: (p: any) => void;
247
+ isSelected: (p: any) => boolean;
248
+ selectItems: (p: any) => void;
249
+ selectAll: () => void;
250
+ unselectAll: () => void;
251
+ allSelected: boolean;
252
+ keyFn: any;
253
+ unselectItems: (p: any) => void;
254
+ };
255
+ declare function ESe(e: any, t: any): {
256
+ selectedItems: any[];
257
+ selectItem: (h: any) => void;
258
+ unselectItem: (h: any) => void;
259
+ isSelected: (h: any) => boolean;
260
+ selectItems: (h: any) => void;
261
+ selectAll: () => void;
262
+ unselectAll: () => void;
263
+ allSelected: boolean;
264
+ keyFn: any;
265
+ unselectItems: (h: any) => void;
266
+ };
267
+ declare function Pu(): {};
268
+ declare function BF(e: any): () => void;
269
+ declare function I$(e: any): {
270
+ sorted: any;
271
+ sort: undefined;
272
+ setSort: C.Dispatch<C.SetStateAction<undefined>>;
273
+ };
274
+ declare function l6e(e: any, t: any, n: any): {
275
+ allSelected: boolean;
276
+ filtered: never[];
277
+ isSelected: (p: any) => boolean;
278
+ page: number;
279
+ paged: never[];
280
+ perPage: number;
281
+ search: any;
282
+ searched: never[];
283
+ selectAll: () => void;
284
+ selectItem: (p: any) => void;
285
+ selectPage: () => void;
286
+ selectedItems: any[];
287
+ setFilterFn: (c: any) => void;
288
+ setPage: C.Dispatch<C.SetStateAction<number>>;
289
+ setPerPage: C.Dispatch<C.SetStateAction<number>>;
290
+ setSearch: any;
291
+ setSearchFn: (h: any) => void;
292
+ setSort: C.Dispatch<C.SetStateAction<undefined>>;
293
+ sort: undefined;
294
+ sorted: any;
295
+ unselectAll: () => void;
296
+ unselectItem: (p: any) => void;
297
+ };
298
+ declare function Fke(e: any): {
299
+ page: number;
300
+ setPage: C.Dispatch<C.SetStateAction<number>>;
301
+ perPage: number;
302
+ setPerPage: C.Dispatch<C.SetStateAction<number>>;
303
+ sort: any;
304
+ setSort: C.Dispatch<any>;
305
+ sortDirection: any;
306
+ setSortDirection: C.Dispatch<any>;
307
+ filterState: any;
308
+ setFilterState: C.Dispatch<any>;
309
+ clearAllFilters: () => void;
310
+ };
311
+ declare function T2e(e: any): any;
312
+ declare function s6e(e: any, t: any): any;
313
+ declare function C2e(e: any): any;
314
+ declare function Fx(e: any): any;
315
+ declare function x$(e: any): any;
316
+ declare function dM(): string;
317
+ import * as C from "react";
318
+ export { QSe as BulkActionDialog, lSe as BulkSelector, Zke as BytesCell, Qh as Collapse, w2e as ColumnCardOption, O2e as ColumnDashboardOption, _2e as ColumnListOption, S2e as ColumnModalOption, My as ColumnPriority, co as ColumnTableOption, Xke as CopyCell, QAe as DataEditorActions, JAe as DataEditorButtons, Jke as DateCell, GF as DateTimeCell, Qke as ElapsedTimeCell, w4 as FrameworkTranslationsProvider, h6e as GenericForm, Nb as Help, XF as LabelColorE, YF as LabelsCell, j6e as LoadingPage, u6e as MultiSelectDialog, KF as PFColorE, kt as PageActionSelection, an as PageActionType, Cu as PageActions, _A as PageAlertToasterContext, M4 as PageAlertToasterProvider, T6e as PageApp, Kke as PageBody, J0 as PageChartContainer, t6e as PageDashboard, Fb as PageDashboardCard, n6e as PageDashboardChart, Fk as PageDashboardContext, r6e as PageDashboardCount, a6e as PageDashboardDonutCard, i6e as PageDashboardGettingStarted, kc as PageDetail, b2e as PageDetails, j2e as PageDetailsFromColumns, RF as PageDialogProvider, g2e as PageDonutChart, AOe as PageForm, COe as PageFormCancelButton, p6e as PageFormCheckbox, g6e as PageFormDataEditor, kOe as PageFormGrid, v6e as PageFormSelect, eD as PageFormSubmitButton, y6e as PageFormSwitch, b6e as PageFormTextArea, x6e as PageFormTextInput, cke as PageFramework, fke as PageHeader, _6e as PageLayout, w6e as PageMasthead, dke as PageMastheadToggle, u7 as PageNavSideBarContext, eke as PageNavSideBarProvider, hke as PageNavigation, lOe as PageNotFound, d6e as PageNotImplemented, S6e as PageNotificationsIcon, O6e as PageSettingsIcon, zT as PageTab, Ym as PageTable, VC as PageTableCards, k6e as PageTabs, C6e as PageThemeSwitcher, SSe as PageToolbar, vSe as PageToolbarFilters, P6e as PageWizard, $ke as RunningIcon, yi as Scrollable, sOe as SelectDialog, Go as SettingsContext, VF as SettingsDialog, WF as SettingsProvider, fn as TableColumnCell, JF as TextCell, gSe as ToolbarFilterType, bke as addNavigationItem, xke as addNavigationItemAfter, _ke as addNavigationItemBefore, nOe as compareNumbers, md as compareStrings, tOe as compareUnknowns, Yke as errorToAlertProps, vke as findNavigationItemById, X0 as getPatternflyColor, Lk as pfDanger, Nk as pfDisabled, Rk as pfInfo, e6e as pfLink, Mk as pfSuccess, ZF as pfWarning, E6e as removeLeadingSlash, yke as removeNavigationItemById, Mn as useBreakpoint, eOe as useBulkActionDialog, c6e as useBulkConfirmation, P2e as useColumnsWithoutExpandedRow, k2e as useColumnsWithoutSort, o6e as useDashboardColumns, E2e as useDescriptionColumns, A2e as useExpandedColumns, M$ as useFiltered, tD as useFormErrors, Gt as useFrameworkTranslations, wke as useGetPageUrl, $6e as useInMemoryView, qke as useOrientation, Eb as usePageAlertToaster, ya as usePageDialog, NF as usePageDialogs, tke as usePageNavBarClick, d5 as usePageNavSideBar, A6e as usePageNavigate, Gm as usePaged, f6e as useSelectDialog, D$ as useSelected, ESe as useSelectedInMemory, Pu as useSettings, BF as useSettingsDialog, I$ as useSorted, l6e as useTableItems, Fke as useView, T2e as useVisibleCardColumns, s6e as useVisibleColumns, C2e as useVisibleListColumns, Fx as useVisibleModalColumns, x$ as useVisibleTableColumns, dM as useWindowSize };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,42 @@
1
+ import { Dispatch, ReactNode, SetStateAction } from 'react';
2
+ export interface IFrameworkTranslations {
3
+ by: string;
4
+ cancelText: string;
5
+ canceledText: string;
6
+ cardView: string;
7
+ clearAllFilters: string;
8
+ clickToRefresh: string;
9
+ closeText: string;
10
+ confirmText: string;
11
+ countMore: string;
12
+ documentation: string;
13
+ errorText: string;
14
+ filter: string;
15
+ listView: string;
16
+ manageColumns: string;
17
+ moreInformation: string;
18
+ noItemsFound: string;
19
+ noResultsFound: string;
20
+ noResultsMatchCriteria: string;
21
+ noSelection: string;
22
+ noSelections: string;
23
+ noneSelectedText: string;
24
+ ofText: string;
25
+ pendingText: string;
26
+ pleaseFixValidationErrors: string;
27
+ processingText: string;
28
+ selectNone: string;
29
+ selectedText: string;
30
+ showLess: string;
31
+ sort: string;
32
+ submitText: string;
33
+ submittingText: string;
34
+ successText: string;
35
+ tableView: string;
36
+ unknownError: string;
37
+ validating: string;
38
+ }
39
+ export declare function FrameworkTranslationsProvider(props: {
40
+ children: ReactNode;
41
+ }): import("react/jsx-runtime").JSX.Element;
42
+ export declare function useFrameworkTranslations(): [translations: IFrameworkTranslations, setTranslations: Dispatch<SetStateAction<IFrameworkTranslations>>];
@@ -0,0 +1,17 @@
1
+ import { ITableColumn } from './PageTable/PageTableColumn';
2
+ import { ISelected } from './PageTable/useTableItems';
3
+ import { IToolbarFilter } from './PageToolbar/PageToolbarFilter';
4
+ import { IView } from './useView';
5
+ export type IInMemoryView<T extends object> = IView & ISelected<T> & {
6
+ itemCount: number | undefined;
7
+ pageItems: T[] | undefined;
8
+ error: Error | undefined;
9
+ };
10
+ export declare function useInMemoryView<T extends object>(options: {
11
+ items: T[] | undefined;
12
+ tableColumns?: ITableColumn<T>[];
13
+ toolbarFilters?: IToolbarFilter[];
14
+ disableQueryString?: boolean;
15
+ keyFn: (item: T) => string | number;
16
+ error?: Error;
17
+ }): IInMemoryView<T>;
@@ -0,0 +1,36 @@
1
+ import { Dispatch, SetStateAction } from 'react';
2
+ import { IFilterState } from './PageToolbar/PageToolbarFilter';
3
+ import { ITableColumn, IToolbarFilter } from '../framework';
4
+ export interface IView {
5
+ page: number;
6
+ setPage: (page: number) => void;
7
+ perPage: number;
8
+ setPerPage: (perPage: number) => void;
9
+ sort: string;
10
+ setSort: (sort: string) => void;
11
+ sortDirection: 'asc' | 'desc';
12
+ setSortDirection: (sortDirection: 'asc' | 'desc') => void;
13
+ filterState: IFilterState;
14
+ setFilterState: Dispatch<SetStateAction<IFilterState>>;
15
+ clearAllFilters: () => void;
16
+ }
17
+ export interface ViewOptions {
18
+ defaultValues?: Partial<Pick<IView, 'filterState' | 'sort' | 'sortDirection'>> | undefined;
19
+ disableQueryString?: boolean;
20
+ ignoreQueryStringKeys?: string[];
21
+ filterQueryStringKeys?: string[];
22
+ }
23
+ export type QueryParams = {
24
+ [key: string]: string;
25
+ };
26
+ export interface ViewExtendedOptions<T extends object> extends ViewOptions {
27
+ url: string;
28
+ keyFn: (item: T) => string | number;
29
+ toolbarFilters?: IToolbarFilter[];
30
+ tableColumns?: ITableColumn<T>[];
31
+ disableQueryString?: boolean;
32
+ queryParams?: QueryParams;
33
+ sortKey?: string;
34
+ defaultFilters?: Record<string, string[]>;
35
+ }
36
+ export declare function useView(options: ViewOptions): IView;
@@ -0,0 +1 @@
1
+ export declare function jsonToYaml(jsonString: string): string;
@@ -0,0 +1,3 @@
1
+ export declare function compareUnknowns(a: unknown, b: unknown): 1 | -1 | 0;
2
+ export declare function compareStrings(a: string | undefined | null, b: string | undefined | null): 1 | -1 | 0;
3
+ export declare function compareNumbers(a: number | undefined | null, b: number | undefined | null): 1 | -1 | 0;
@@ -0,0 +1,2 @@
1
+ export declare function formatDateString(dateObj: string, tz?: string): string;
2
+ export declare function dateToInputDateTime(dt: string, tz?: string | null): string[];
@@ -0,0 +1,2 @@
1
+ export declare function downloadTextFile(name: string, content: string, extension?: string): void;
2
+ export declare function downloadCvsFile(name: string, content: string[]): void;
@@ -0,0 +1 @@
1
+ export declare function formatDateString(dateObj: string | Date | undefined): string;
@@ -0,0 +1,3 @@
1
+ export declare function randomString(length: number, base?: number, options?: {
2
+ isLowercase: boolean;
3
+ }): string;
@@ -0,0 +1,2 @@
1
+ export declare function capitalizeFirstLetter(text: string): string;
2
+ export declare const toTitleCase: (string: string) => string;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vite").UserConfig;
2
+ export default _default;