@inceptionbg/iui 2.0.8 → 2.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/dist/icons/index.d.ts +2 -2
  2. package/dist/icons/index.js +1 -1
  3. package/dist/index.d.ts +305 -265
  4. package/dist/index.js +1 -1
  5. package/dist/index.js.map +1 -1
  6. package/dist/iui.css +1 -1
  7. package/idea/GridTable/GridTable.tsx +119 -0
  8. package/idea/GridTable/gridTable.scss +42 -0
  9. package/{src/components → idea}/Table/Components/Print/CustomTablePrint.tsx +2 -2
  10. package/{src/components → idea}/Table/Components/Print/TablePrint.tsx +2 -2
  11. package/{src/components → idea}/Table/Components/SetTableFilter.tsx +1 -1
  12. package/{src/components → idea}/Table/Components/TableOptions.tsx +4 -4
  13. package/idea/{Table2 → Table}/Table.tsx +151 -281
  14. package/idea/Table/hooks/useDefaultTemplate.ts +20 -0
  15. package/{src/components → idea}/Table/hooks/useTableKeyboard.ts +1 -2
  16. package/idea/Table/hooks/useTableSelect.ts +11 -0
  17. package/package.json +1 -1
  18. package/src/assets/icons/index.ts +1 -1
  19. package/src/assets/icons/light/faClipboardCheck.ts +15 -0
  20. package/src/assets/icons/light/faHouse.ts +15 -15
  21. package/src/assets/icons/light/faIdBadge.ts +15 -15
  22. package/src/assets/icons/light/faPen.ts +15 -0
  23. package/src/components/Button/IconButton.tsx +3 -1
  24. package/src/components/Dialog/Dialog.tsx +57 -123
  25. package/src/components/Dialog/components/DialogFooter.tsx +92 -0
  26. package/src/components/Dialog/hooks/useDialogKeyboard.ts +6 -5
  27. package/src/components/Header/Components/UserMenu.tsx +2 -4
  28. package/src/components/Header/Header.tsx +1 -1
  29. package/src/components/Inputs/DateInput/DateInput.tsx +107 -102
  30. package/src/components/Inputs/DateInput/components/DatePartInput.tsx +7 -3
  31. package/src/components/Inputs/InputWrapper.tsx +6 -1
  32. package/src/components/Inputs/PasswordInput.tsx +2 -1
  33. package/src/components/Inputs/SearchInput.tsx +9 -4
  34. package/src/components/Inputs/Select2/Select.tsx +64 -30
  35. package/src/components/Inputs/Select2/select.scss +13 -14
  36. package/src/components/Inputs/Selects/components/SelectWrapper.tsx +4 -2
  37. package/src/components/Inputs/Selects/utils/selectStyles.ts +9 -12
  38. package/src/components/Menu/Menu.tsx +10 -2
  39. package/src/components/Menu/MenuItem.tsx +11 -10
  40. package/src/components/Menu/hooks/useMenuPosition.tsx +49 -14
  41. package/src/components/Pullover/Pullover.tsx +138 -59
  42. package/src/components/Table/Table.tsx +78 -342
  43. package/src/components/Table/components/edit/TableEditRow.tsx +69 -0
  44. package/src/components/Table/components/filters/FilterItem.tsx +15 -0
  45. package/src/components/Table/components/filters/TableFilters.tsx +125 -0
  46. package/src/components/Table/components/footer/TableFooter.tsx +128 -0
  47. package/src/components/Table/components/header/TableHeader.tsx +42 -0
  48. package/src/components/Table/components/header/TableHeaderRow.tsx +47 -0
  49. package/src/components/Table/components/items/TableItemActions.tsx +66 -0
  50. package/src/components/Table/components/select/TableSelect.tsx +49 -0
  51. package/src/components/Table/components/sort/TableSort.tsx +52 -0
  52. package/src/components/Table/contexts/TableContext.tsx +123 -0
  53. package/src/components/Table/hooks/localHooks/useLocalTableColumns.tsx +73 -0
  54. package/src/components/Table/hooks/localHooks/useLocalTableData.tsx +78 -0
  55. package/src/components/Table/hooks/localHooks/useLocalTableKeyboard.ts +173 -0
  56. package/src/components/Table/hooks/localHooks/useLocalTablePagination.ts +12 -0
  57. package/src/components/Table/hooks/useTableEdit.tsx +111 -0
  58. package/src/components/Table/hooks/useTableFilterFields.tsx +150 -0
  59. package/src/components/Table/hooks/useTablePagination.ts +16 -0
  60. package/src/components/Table/hooks/useTableSearch.ts +29 -0
  61. package/src/components/Table/hooks/useTableSort.ts +8 -0
  62. package/src/components/Tooltip/Tooltip.tsx +1 -1
  63. package/src/components/Wrappers/PageLayout.tsx +9 -12
  64. package/src/hooks/useGetFocusableElements.ts +42 -0
  65. package/src/hooks/useLocalPopoverControl.ts +32 -0
  66. package/src/hooks/usePopupControl.ts +17 -0
  67. package/src/index.ts +56 -39
  68. package/src/styles/common/_typography.scss +1 -1
  69. package/src/styles/components/_accordions.scss +1 -1
  70. package/src/styles/components/_badge.scss +4 -3
  71. package/src/styles/components/_card.scss +1 -1
  72. package/src/styles/components/_dialog.scss +8 -8
  73. package/src/styles/components/_input.scss +1 -1
  74. package/src/styles/components/_inputCheckbox.scss +1 -1
  75. package/src/styles/components/_inputDateTime.scss +2 -2
  76. package/src/styles/components/_inputRadio.scss +1 -1
  77. package/src/styles/components/_inputSelect.scss +6 -4
  78. package/src/styles/components/_menu-v2.scss +1 -1
  79. package/src/styles/components/_menu.scss +23 -15
  80. package/src/styles/components/_pullover.scss +74 -18
  81. package/src/styles/components/_table.scss +151 -142
  82. package/src/styles/components/_widget.scss +1 -1
  83. package/src/styles/variables/_bp.scss +1 -0
  84. package/src/styles/variables/_variables.scss +4 -2
  85. package/src/types/IHeader.ts +13 -7
  86. package/src/types/IKeyboard.ts +2 -1
  87. package/src/types/IMenu.ts +1 -0
  88. package/src/types/IPopup.ts +17 -0
  89. package/src/types/ISelect.ts +1 -0
  90. package/src/types/ITable.ts +87 -80
  91. package/src/utils/fileUtils.ts +3 -3
  92. package/src/utils/i18n/i18nIUICyrilic.ts +4 -0
  93. package/src/utils/i18n/i18nIUILatin.ts +3 -1
  94. package/src/utils/i18n/i18nIUIMe.ts +4 -0
  95. package/src/utils/{ObjectUtils.ts → objectUtils.ts} +8 -8
  96. package/src/utils/popupUtils.ts +82 -0
  97. package/src/utils/{TableUtils.ts → tableUtils.ts} +5 -5
  98. package/src/utils/{Toasts.ts → toasts.ts} +6 -6
  99. package/src/utils/{UrlUtils.ts → urlUtils.ts} +4 -4
  100. package/idea/Table2/Components/Columns/ColumnsList.tsx +0 -56
  101. package/idea/Table2/Components/Columns/SetColumnsList.tsx +0 -107
  102. package/idea/Table2/Components/Edit/ItemActionsMenu.tsx +0 -87
  103. package/idea/Table2/Components/Edit/ItemEditOptionsButtons.tsx +0 -32
  104. package/idea/Table2/Components/Edit/TableEditRow.tsx +0 -56
  105. package/idea/Table2/Components/FilterItem.tsx +0 -20
  106. package/idea/Table2/Components/Header/TableHeader.tsx +0 -35
  107. package/idea/Table2/Components/Header/TableHeaderRow.tsx +0 -37
  108. package/idea/Table2/Components/Print/CustomTablePrint.tsx +0 -119
  109. package/idea/Table2/Components/Print/TablePrint.tsx +0 -208
  110. package/idea/Table2/Components/SetSortList.tsx +0 -33
  111. package/idea/Table2/Components/SetTableFilter.tsx +0 -90
  112. package/idea/Table2/Components/TableFooter.tsx +0 -107
  113. package/idea/Table2/Components/TableOptions.tsx +0 -211
  114. package/idea/Table2/Components/Templates/TemplateCreate.tsx +0 -75
  115. package/idea/Table2/Components/Templates/TemplateCreateDefault.tsx +0 -45
  116. package/idea/Table2/Components/Templates/TemplateList.tsx +0 -167
  117. package/idea/Table2/Components/Templates/repo/TemplateRepo.ts +0 -51
  118. package/idea/Table2/_table.scss +0 -300
  119. package/idea/Table2/hooks/useDefaultTemplate.ts +0 -22
  120. package/idea/Table2/hooks/useTableKeyboard.ts +0 -115
  121. package/src/assets/icons/light/faPenField.ts +0 -15
  122. package/src/assets/icons/solid/faMagnifyingGlass.ts +0 -15
  123. package/src/components/Dialog/DeleteItemDialog.tsx +0 -52
  124. package/src/components/Dialog/hooks/useDialogObserver.ts +0 -21
  125. /package/{src/components → idea}/Table/Components/Columns/ColumnsList.tsx +0 -0
  126. /package/{src/components → idea}/Table/Components/Columns/SetColumnsList.tsx +0 -0
  127. /package/{src/components → idea}/Table/Components/Edit/ItemActionsMenu.tsx +0 -0
  128. /package/{src/components → idea}/Table/Components/Edit/ItemEditOptionsButtons.tsx +0 -0
  129. /package/{src/components → idea}/Table/Components/Edit/TableEditRow.tsx +0 -0
  130. /package/{src/components → idea}/Table/Components/FilterItem.tsx +0 -0
  131. /package/{src/components → idea}/Table/Components/Header/TableHeader.tsx +0 -0
  132. /package/{src/components → idea}/Table/Components/Header/TableHeaderRow.tsx +0 -0
  133. /package/{src/components → idea}/Table/Components/SetSortList.tsx +0 -0
  134. /package/{src/components → idea}/Table/Components/TableFooter.tsx +0 -0
  135. /package/{src/components → idea}/Table/Components/Templates/TemplateCreate.tsx +0 -0
  136. /package/{src/components → idea}/Table/Components/Templates/TemplateCreateDefault.tsx +0 -0
  137. /package/{src/components → idea}/Table/Components/Templates/TemplateList.tsx +0 -0
  138. /package/{src/components → idea}/Table/Components/Templates/repo/TemplateRepo.ts +0 -0
  139. /package/src/utils/{DateUtils.ts → dateUtils.ts} +0 -0
  140. /package/src/utils/{LocalStorageHelper.ts → localStorageHelper.ts} +0 -0
  141. /package/src/utils/{NumberUtils.ts → numberUtils.ts} +0 -0
  142. /package/src/utils/{RootDir.ts → rootDir.ts} +0 -0
  143. /package/src/utils/{StringUtils.ts → stringUtils.ts} +0 -0
package/dist/index.d.ts CHANGED
@@ -8,7 +8,8 @@ export { DragDropContext, Draggable, Droppable } from 'react-beautiful-dnd';
8
8
  import * as react_toastify from 'react-toastify';
9
9
  export { ToastContainer } from 'react-toastify';
10
10
  import * as react from 'react';
11
- import { FC, MouseEventHandler, ButtonHTMLAttributes, Ref, FormEvent, ReactNode, ReactElement, MouseEvent, Dispatch, SetStateAction, FunctionComponent, RefObject, ComponentProps, InputHTMLAttributes, FocusEventHandler } from 'react';
11
+ import { FC, MouseEventHandler, ButtonHTMLAttributes, Ref, FormEvent, ReactNode, ReactElement, MouseEvent, Dispatch, SetStateAction, RefObject, ComponentProps, InputHTMLAttributes, FocusEventHandler } from 'react';
12
+ import * as react_jsx_runtime from 'react/jsx-runtime';
12
13
 
13
14
  type IButtonColor = 'primary' | 'neutral' | 'danger';
14
15
  type IButtonVariant = 'solid' | 'outlined' | 'simple';
@@ -80,61 +81,53 @@ interface IValueLabel {
80
81
 
81
82
  interface ITable {
82
83
  columns: ITableColumn[];
83
- setColumns?: (data: ITableColumn[]) => void;
84
- withColumnsSearch?: boolean;
85
84
  customHeader?: ITableColumn[][];
86
85
  data: ITableDataItem[];
86
+ dataActions?: {
87
+ edit?: {
88
+ hasAccess: boolean;
89
+ };
90
+ delete?: {
91
+ onClick: (itemUuid: string) => void;
92
+ hasAccess: boolean;
93
+ };
94
+ actions?: {
95
+ label: string;
96
+ onClick: (item: ITableDataItem) => void;
97
+ hasAccess: boolean;
98
+ }[];
99
+ };
87
100
  sumRows?: ITableDataItem[];
88
101
  isLoading?: boolean;
89
- serverSidePagination?: IServerSidePagination;
90
- customPagination?: {
91
- defaultLimit?: number;
92
- customLimit?: number[];
93
- };
94
- selectedRowUuid?: string;
95
- footerAction?: {
96
- icon?: IconDefinition;
97
- onClick: () => void;
98
- };
99
102
  headerWrap?: boolean;
100
- hideFooter?: boolean;
101
- noTotalRows?: boolean;
102
- showLastBorder?: boolean;
103
- filterData?: ITableFilterData;
104
- sortData?: ITableSortData;
105
- printData?: IPrintData;
106
- customPrintData?: ICustomPrintData;
107
- additionsalOptions?: ReactNode;
103
+ selectedRowUuid?: string;
108
104
  rowSelect?: {
109
105
  selectedRows: Set<string>;
110
106
  setSelectedRows: Dispatch<SetStateAction<Set<string>>>;
111
107
  actions: ITableSelectedActions[];
112
108
  };
113
- className?: string;
114
- rowHeight?: 'xs' | 's' | 'm';
115
- maxHeight?: string;
116
- editable?: {
117
- selectedItem?: any;
118
- setSelectedItem?: (item: any) => void;
119
- defaultDataValue?: any;
120
- EditableRow?: FunctionComponent<ITableEditRow>;
121
- onSubmit: (data: any, onSubmitCallback: () => void) => void;
122
- addDisabled?: boolean;
123
- addLabel?: string;
124
- inputFocusRef?: RefObject<any>;
125
- keepEditOnSubmit?: boolean;
126
- };
109
+ filterData?: ITableFilterData;
110
+ sortData?: ITableSortData;
111
+ editable?: ITableEdit;
127
112
  keyboard?: {
128
113
  enabled: boolean;
129
114
  actions: ITableKeyboardActionsBase;
130
115
  };
131
- templates?: {
132
- identifier: string;
133
- data: IReportTemplateData;
134
- setTemplateName?: (templateName: string) => void;
135
- onClearFilters: () => void;
136
- allowPublicCreate?: boolean;
116
+ footer?: {
117
+ paginationControl?: IPaginationControl;
118
+ customPagination?: {
119
+ defaultLimit?: number;
120
+ customLimit?: number[];
121
+ };
122
+ totalRows?: number;
123
+ footerAction?: {
124
+ icon?: IconDefinition;
125
+ onClick: () => void;
126
+ };
137
127
  };
128
+ className?: string;
129
+ rowHeight?: 'xs' | 's' | 'm';
130
+ maxHeight?: string;
138
131
  }
139
132
  interface ITableColumn {
140
133
  id: string;
@@ -154,7 +147,7 @@ interface ITableColumn {
154
147
  desc: string;
155
148
  label: string;
156
149
  };
157
- code?: string;
150
+ className?: string;
158
151
  }
159
152
  interface ITableDataItem {
160
153
  uuid: string;
@@ -162,40 +155,40 @@ interface ITableDataItem {
162
155
  className?: string;
163
156
  item?: Record<string, any>;
164
157
  disableSelect?: boolean;
165
- cells: {
166
- [id: string]: {
167
- value: any;
168
- align?: ITableColumn['align'];
169
- className?: string;
170
- onClick?: (event?: MouseEvent<HTMLTableCellElement>) => void;
171
- link?: boolean;
172
- tooltip?: string;
173
- span?: number;
174
- unclickable?: boolean;
175
- printValue?: string;
176
- };
177
- };
158
+ cells: ITableDataItemCells;
178
159
  extendable?: {
179
160
  element: ReactElement;
180
161
  isLoading?: boolean;
181
162
  };
182
163
  }
164
+ interface ITableDataItemCells {
165
+ [id: string]: {
166
+ value: any;
167
+ align?: ITableColumn['align'];
168
+ className?: string;
169
+ onClick?: (event?: MouseEvent<HTMLTableCellElement>) => void;
170
+ link?: boolean;
171
+ tooltip?: string;
172
+ span?: number;
173
+ unclickable?: boolean;
174
+ printValue?: string;
175
+ };
176
+ }
183
177
  interface ITableFilterData {
184
- columns: string[];
185
178
  filters: ITableFilter;
179
+ customFilterIdList?: string[];
186
180
  activeFilterNo?: number;
187
181
  additionalFilters?: ReactElement;
182
+ defaultSearch?: IAnyObject;
188
183
  search: IAnyObject;
189
184
  searchData: IAnyObject;
190
185
  setSearchData: (search: IAnyObject) => void;
191
- onSubmit: (search: IAnyObject) => void;
192
- resetData?: IAnyObject;
186
+ onSearch: (search: IAnyObject) => void;
193
187
  excludeFromSearch?: string[];
194
188
  }
195
189
  interface ITableFilterItem {
196
190
  label: string;
197
191
  field: ReactElement;
198
- resetField: () => void;
199
192
  }
200
193
  interface ITableFilter {
201
194
  [id: string]: ITableFilterItem;
@@ -208,8 +201,7 @@ interface ITableSortData {
208
201
  }
209
202
  interface ITableSort {
210
203
  label: string;
211
- asc: string;
212
- desc: string;
204
+ value: string;
213
205
  }
214
206
  interface ITableColumnsData {
215
207
  columns: ITableColumn[];
@@ -223,64 +215,27 @@ interface ITableSelectedActions {
223
215
  disabled?: boolean;
224
216
  clearSelected?: boolean;
225
217
  }
226
- interface IBasePrintData {
227
- label: string;
228
- organization?: {
229
- name?: string;
230
- taxId?: string;
231
- registrationNumber?: string;
232
- jbkjs?: string;
233
- email?: string;
234
- };
235
- filters?: {
236
- basic?: {
237
- label: string;
238
- value?: string;
239
- }[];
240
- date?: {
241
- label: string;
242
- from?: string;
243
- to?: string;
244
- }[];
245
- };
246
- saveXlsx?: () => void;
247
- }
248
- interface ICustomPrintData extends IBasePrintData {
249
- content: ReactNode;
250
- }
251
- interface IPrintData extends IBasePrintData {
252
- optionalNode?: {
253
- aboveTable?: ReactNode;
254
- bellowTable?: ReactNode;
255
- };
256
- customHeader?: ITableColumn[][];
257
- excludeColumns?: string[];
258
- getPrintData: (pagination: IPagination) => Promise<{
259
- data: any[];
260
- totalRows?: number;
261
- }>;
262
- formatPrintData: (data: any) => ITableDataItem[];
263
- totals?: ITableDataItem;
218
+ interface ITableEdit<T = any> {
219
+ selectedItem: T | null;
220
+ setSelectedItem: (item: T | null) => void;
221
+ editData: Partial<T>;
222
+ setEditData: Dispatch<SetStateAction<Partial<T>>>;
223
+ onSubmit: (data: T, onSubmitCallback: () => void) => void;
224
+ cells: ITableDataItemCells;
225
+ defaultDataValue?: T;
226
+ addDisabled?: boolean;
227
+ addLabel?: string;
228
+ keepEditOnSubmit?: boolean;
264
229
  }
265
230
  interface IPagination {
266
231
  limit: number;
267
232
  offset: number;
268
233
  }
269
- interface IServerSidePagination {
234
+ interface IPaginationControl {
270
235
  limit: number;
271
236
  offset: number;
272
237
  setLimit: Dispatch<SetStateAction<number>>;
273
238
  setOffset: Dispatch<SetStateAction<number>>;
274
- totalRows: number;
275
- }
276
- interface ITableEditRow {
277
- columns: ITableColumn[];
278
- data: any;
279
- setData: (data: any) => void;
280
- item?: any;
281
- clearItem: () => void;
282
- defaultDataValue?: any;
283
- inputFocusRef?: RefObject<any>;
284
239
  }
285
240
  interface IReportTemplate {
286
241
  uuid: string;
@@ -303,17 +258,13 @@ interface IReportTemplateFilterValue {
303
258
  name?: string;
304
259
  type: 'STRING' | 'ARRAY' | 'OBJECT' | 'BOOLEAN';
305
260
  }
306
- interface IReportTemplateData {
307
- searchData: IAnyObject;
308
- visibleColumns?: string[];
309
- sorts?: string[];
310
- }
311
261
  declare const tableCustomLimit1000: number[];
312
262
 
313
263
  interface IKeyboardAction {
314
- key: string;
264
+ code: string;
315
265
  onAction: () => void;
316
266
  ctrl?: boolean;
267
+ shift?: boolean;
317
268
  normalizedKey?: boolean;
318
269
  onBulkAction?: (itemUuids: string[]) => void;
319
270
  disabled?: boolean;
@@ -341,6 +292,7 @@ interface IMenuItem {
341
292
  onClick?: MouseEventHandler<HTMLDivElement>;
342
293
  to?: string;
343
294
  badge?: number;
295
+ active?: boolean;
344
296
  disabled?: boolean;
345
297
  hidden?: boolean;
346
298
  withDevider?: boolean;
@@ -348,6 +300,21 @@ interface IMenuItem {
348
300
  className?: string;
349
301
  }
350
302
 
303
+ interface PopupControlRef {
304
+ onOpen: () => void;
305
+ onClose: () => void;
306
+ }
307
+ interface ILocalPopupControl {
308
+ controlRef: RefObject<PopupControlRef | null>;
309
+ isOpen: boolean;
310
+ setIsOpen: (isOpen: boolean) => void;
311
+ }
312
+ interface IPopupControl {
313
+ control: ILocalPopupControl;
314
+ onOpen: () => void;
315
+ onClose: () => void;
316
+ }
317
+
351
318
  interface IError {
352
319
  errorMessage: string;
353
320
  errorCode?: string;
@@ -370,6 +337,7 @@ interface BaseSelectProps {
370
337
  helperText?: string;
371
338
  errorText?: string;
372
339
  error?: boolean;
340
+ size?: 's' | 'm';
373
341
  className?: string;
374
342
  minWidth?: number;
375
343
  menuWidth?: 'fit-content' | 'max-content' | number;
@@ -432,16 +400,22 @@ type IHeaderUserMenuProps = {
432
400
  setIsOpen: (isOpen: boolean) => void;
433
401
  userName?: string;
434
402
  organizationName?: string;
403
+ menuItems: IMenuItem[];
435
404
  showBadge?: boolean;
436
- menuItems?: IMenuItem[];
405
+ controls: {
406
+ myAccountControl: IPopupControl;
407
+ changeOrgControl: IPopupControl;
408
+ orgInvitesControl: IPopupControl;
409
+ };
410
+ refetchOrganizationInvites?: () => void;
437
411
  HeaderUserMenuDialogs: FC<{
438
- openedDialog: string | null;
439
- setOpenedDialog: (dialog: string | null) => void;
412
+ controls: {
413
+ myAccountControl: IPopupControl;
414
+ changeOrgControl: IPopupControl;
415
+ orgInvitesControl: IPopupControl;
416
+ };
440
417
  refetchOrganizationInvites?: () => void;
441
418
  }>;
442
- openedDialog: string | null;
443
- setOpenedDialog: (dialog: string | null) => void;
444
- refetchOrganizationInvites?: () => void;
445
419
  };
446
420
 
447
421
  interface IRoute {
@@ -449,28 +423,6 @@ interface IRoute {
449
423
  element: ReactElement;
450
424
  }
451
425
 
452
- interface Props$o {
453
- modules: {
454
- name: string;
455
- icon: IconDefinition;
456
- disabled?: boolean;
457
- url: string;
458
- }[];
459
- activeModule: {
460
- name: string;
461
- icon: IconDefinition;
462
- } | null;
463
- }
464
- declare const ModuleSelect: FC<Props$o>;
465
-
466
- interface Props$n {
467
- customTitle?: string;
468
- modulesProps?: ComponentProps<typeof ModuleSelect>;
469
- userMenuProps: IHeaderUserMenuProps;
470
- children?: ReactNode;
471
- }
472
- declare const Header: FC<Props$n>;
473
-
474
426
  interface ISidebarItem {
475
427
  label: string;
476
428
  icon?: IconDefinition;
@@ -497,6 +449,28 @@ interface ISidebarSubItem {
497
449
  collapsed?: boolean;
498
450
  }
499
451
 
452
+ interface Props$j {
453
+ modules: {
454
+ name: string;
455
+ icon: IconDefinition;
456
+ disabled?: boolean;
457
+ url: string;
458
+ }[];
459
+ activeModule: {
460
+ name: string;
461
+ icon: IconDefinition;
462
+ } | null;
463
+ }
464
+ declare const ModuleSelect: FC<Props$j>;
465
+
466
+ interface Props$i {
467
+ customTitle?: string;
468
+ modulesProps?: ComponentProps<typeof ModuleSelect>;
469
+ userMenuProps: IHeaderUserMenuProps;
470
+ children?: ReactNode;
471
+ }
472
+ declare const Header: FC<Props$i>;
473
+
500
474
  interface ISidebarProps {
501
475
  items: ISidebarItem[][];
502
476
  logo?: string;
@@ -504,22 +478,22 @@ interface ISidebarProps {
504
478
  }
505
479
  declare const Sidebar: FC<ISidebarProps>;
506
480
 
507
- interface Props$m {
481
+ interface Props$h {
508
482
  fullScreenRoutes: IRoute[];
509
483
  appRoutes: IRoute[];
510
484
  header: ComponentProps<typeof Header>;
511
485
  sidebar: ComponentProps<typeof Sidebar>;
512
486
  }
513
- declare const Router: FC<Props$m>;
487
+ declare const Router: FC<Props$h>;
514
488
 
515
- interface Props$l {
489
+ interface Props$g {
516
490
  tabs: ITab[];
517
491
  initialValue?: string;
518
492
  compact?: boolean;
519
493
  keepContentInDom?: boolean;
520
494
  className?: string;
521
495
  }
522
- declare const Accordions: FC<Props$l>;
496
+ declare const Accordions: FC<Props$g>;
523
497
 
524
498
  type IInfoType = 'success' | 'info' | 'warning' | 'danger';
525
499
 
@@ -532,28 +506,28 @@ interface IAlertProps {
532
506
  }
533
507
  declare const Alert: FC<IAlertProps>;
534
508
 
535
- interface Props$k {
509
+ interface Props$f {
536
510
  label: string;
537
511
  color: IInfoType | 'gray';
538
512
  className?: string;
539
513
  }
540
- declare const DotBadge: FC<Props$k>;
514
+ declare const DotBadge: FC<Props$f>;
541
515
 
542
- interface Props$j {
516
+ interface Props$e {
543
517
  number?: number;
544
518
  className?: string;
545
519
  size?: 's' | 'm';
546
520
  children?: ReactNode;
547
521
  color?: IInfoType | 'primary';
548
522
  }
549
- declare const NotificationBadge: FC<Props$j>;
523
+ declare const NotificationBadge: FC<Props$e>;
550
524
 
551
- interface Props$i {
525
+ interface Props$d {
552
526
  label: string;
553
527
  color: IInfoType | 'gray';
554
528
  className?: string;
555
529
  }
556
- declare const PillBadge: FC<Props$i>;
530
+ declare const PillBadge: FC<Props$d>;
557
531
 
558
532
  interface IIconButtonProps {
559
533
  icon: IconDefinition;
@@ -564,6 +538,7 @@ interface IIconButtonProps {
564
538
  disabled?: boolean;
565
539
  active?: boolean;
566
540
  tooltip?: string;
541
+ type?: ButtonHTMLAttributes<HTMLButtonElement>['type'];
567
542
  className?: string;
568
543
  buttonProps?: ButtonHTMLAttributes<HTMLButtonElement>;
569
544
  ref?: Ref<HTMLButtonElement>;
@@ -574,7 +549,7 @@ declare const Dashboard: FC<{
574
549
  children: ReactNode;
575
550
  }>;
576
551
 
577
- interface Props$h {
552
+ interface Props$c {
578
553
  title: string;
579
554
  icon?: any;
580
555
  type?: 'warning' | 'info';
@@ -582,58 +557,54 @@ interface Props$h {
582
557
  isLoading?: boolean;
583
558
  children: ReactNode;
584
559
  }
585
- declare const DashboardWidget: FC<Props$h>;
560
+ declare const DashboardWidget: FC<Props$c>;
586
561
 
587
- interface Props$g {
562
+ interface Props$b {
588
563
  links: {
589
564
  icon?: IconDefinition;
590
565
  label: string;
591
566
  onClick: () => void;
592
567
  }[];
593
568
  }
594
- declare const FastLinksWidget: FC<Props$g>;
595
-
596
- interface Props$f {
597
- textId: string;
598
- itemUuid: string;
599
- setItemUuid: Dispatch<SetStateAction<string>>;
600
- reloadItems: () => void;
601
- deleteItemFunction: (itemUuid: string) => Promise<any>;
602
- }
603
- declare const DeleteItemDialog: FC<Props$f>;
569
+ declare const FastLinksWidget: FC<Props$b>;
604
570
 
605
- interface Props$e {
606
- title?: string;
607
- titleEl?: ReactNode;
608
- desc?: string;
609
- descEl?: ReactNode;
610
- isOpen: boolean;
611
- onClose: () => void;
612
- isLoading?: boolean;
613
- confirmButton?: {
571
+ interface IDialogFooterActions {
572
+ confirmButton: {
614
573
  label?: string;
615
574
  icon?: IconDefinition;
616
575
  onClick?: () => void;
617
- onFormSubmit?: () => void;
618
576
  disabled?: boolean;
619
577
  keepOpen?: boolean;
578
+ color?: IButtonColor;
620
579
  isKeyboardDisabled?: boolean;
580
+ type?: ButtonHTMLAttributes<HTMLButtonElement>['type'];
621
581
  };
622
582
  cancelButton?: {
623
583
  label?: string;
624
584
  icon?: IconDefinition;
625
585
  onClick?: () => void;
586
+ hidden?: boolean;
626
587
  };
627
588
  additionalButton?: {
628
589
  label: string;
629
590
  icon?: IconDefinition;
630
- onClick?: () => void;
591
+ onClick: () => void;
631
592
  disabled?: boolean;
632
593
  keepOpen?: boolean;
633
594
  color?: IButtonColor;
634
- variant?: IButtonVariant;
635
595
  };
636
- hideActionButtons?: boolean;
596
+ }
597
+
598
+ interface Props$a {
599
+ control: ILocalPopupControl;
600
+ title?: string;
601
+ titleEl?: ReactNode;
602
+ desc?: string;
603
+ descEl?: ReactNode;
604
+ onFormSubmit?: () => void;
605
+ onCloseCallback?: () => void;
606
+ isLoading?: boolean;
607
+ footer?: IDialogFooterActions;
637
608
  isKeyboardDisabled?: boolean;
638
609
  noBackgroundClick?: boolean;
639
610
  noOverflow?: boolean;
@@ -642,15 +613,15 @@ interface Props$e {
642
613
  className?: string;
643
614
  children?: ReactNode;
644
615
  }
645
- declare const Dialog: FC<Props$e>;
616
+ declare const Dialog: FC<Props$a>;
646
617
 
647
- interface Props$d {
618
+ interface Props$9 {
648
619
  isOpen: boolean;
649
620
  children: ReactNode;
650
621
  keepContentInDom?: boolean;
651
622
  className?: string;
652
623
  }
653
- declare const Collapse: FC<Props$d>;
624
+ declare const Collapse: FC<Props$9>;
654
625
 
655
626
  interface ICheckboxProps {
656
627
  label?: string;
@@ -698,6 +669,7 @@ interface IDateInputProps {
698
669
  helperText?: string;
699
670
  errorText?: string;
700
671
  isClearable?: boolean;
672
+ onClear?: () => void;
701
673
  className?: string;
702
674
  calendarPlacement?: IMenuPlacement;
703
675
  }
@@ -768,6 +740,7 @@ interface IPasswordInputProps {
768
740
  error?: boolean;
769
741
  inputProps?: InputHTMLAttributes<HTMLInputElement>;
770
742
  newPassword?: boolean;
743
+ ref?: Ref<HTMLInputElement>;
771
744
  }
772
745
  declare const PasswordInput: FC<IPasswordInputProps>;
773
746
 
@@ -786,7 +759,7 @@ interface IRadioProps {
786
759
  }
787
760
  declare const Radio: FC<IRadioProps>;
788
761
 
789
- interface Props$c {
762
+ interface Props$8 {
790
763
  title?: string | ReactElement;
791
764
  desc?: string | ReactElement;
792
765
  value: string;
@@ -796,13 +769,13 @@ interface Props$c {
796
769
  className?: string;
797
770
  children?: ReactNode;
798
771
  }
799
- declare const RadioLarge: FC<Props$c>;
772
+ declare const RadioLarge: FC<Props$8>;
800
773
 
801
774
  interface IProps {
802
775
  label?: string;
803
776
  onSearch: (searchText: string) => void;
804
- onClear?: () => void;
805
777
  className?: string;
778
+ ref?: Ref<HTMLInputElement>;
806
779
  }
807
780
  declare const SearchInput: FC<IProps>;
808
781
 
@@ -839,7 +812,7 @@ interface ITextInputProps {
839
812
  }
840
813
  declare const TextInput: FC<ITextInputProps>;
841
814
 
842
- interface Props$b {
815
+ interface Props$7 {
843
816
  isLoading: boolean;
844
817
  isFullPage?: boolean;
845
818
  classNameLoader?: string;
@@ -848,13 +821,13 @@ interface Props$b {
848
821
  children: ReactElement | ReactNode;
849
822
  }>;
850
823
  }
851
- declare const Loader: FC<Props$b>;
824
+ declare const Loader: FC<Props$7>;
852
825
  declare const FullScreenLoader: FC<{
853
826
  isLoading: boolean;
854
827
  }>;
855
828
  declare const LazyLoader: FC;
856
829
 
857
- interface Props$a {
830
+ interface Props$6 {
858
831
  isOpen: boolean;
859
832
  onClose: () => void;
860
833
  renderButton: (ref: RefObject<any>) => ReactNode;
@@ -865,67 +838,11 @@ interface Props$a {
865
838
  classNameItem?: string;
866
839
  children?: ReactNode;
867
840
  }
868
- declare const Menu: FC<Props$a>;
841
+ declare const Menu: FC<Props$6>;
869
842
 
870
843
  declare const MenuItem: FC<IMenuItem>;
871
844
 
872
- interface Props$9 {
873
- item: any;
874
- setSelectedItem?: (item: any) => void;
875
- setItemToDeleteUuid?: (uuid: string) => void;
876
- actions?: {
877
- label: string;
878
- onClick: (uuid: string) => void;
879
- hidden?: boolean;
880
- disabled?: boolean;
881
- }[];
882
- }
883
- declare const ItemActionsMenu: FC<Props$9>;
884
-
885
- interface Props$8 {
886
- setData: (item: any) => void;
887
- clearItem: () => void;
888
- inputFocusRef?: RefObject<any>;
889
- defaultDataValue?: any;
890
- }
891
- declare const ItemEditOptionsButtons: FC<Props$8>;
892
-
893
- declare const TableEditRow: FC<ITableEditRow>;
894
-
895
- interface Props$7 {
896
- item: ITableFilterItem;
897
- }
898
- declare const FilterItem: FC<Props$7>;
899
-
900
- interface Props$6 extends ITableFilterData {
901
- isOpen: boolean;
902
- onClose: () => void;
903
- }
904
- declare const SetTableFilter: FC<Props$6>;
905
-
906
845
  interface Props$5 {
907
- pagination: IServerSidePagination;
908
- noTotalRows?: boolean;
909
- dataLength: number;
910
- footerAction?: {
911
- icon?: IconDefinition;
912
- onClick: MouseEventHandler<HTMLButtonElement>;
913
- };
914
- customLimit?: number[];
915
- }
916
- declare const TableFooter: FC<Props$5>;
917
-
918
- declare const Table: FC<ITable>;
919
-
920
- interface Props$4 extends IPrintData {
921
- isOpen: boolean;
922
- onClose: () => void;
923
- columns: ITableColumn[];
924
- excludeColumnIds?: string[];
925
- }
926
- declare const TablePrint: FC<Props$4>;
927
-
928
- interface Props$3 {
929
846
  tabs: ITab[];
930
847
  initialValue?: string;
931
848
  control?: {
@@ -937,10 +854,10 @@ interface Props$3 {
937
854
  className?: string;
938
855
  classNameContent?: string;
939
856
  }
940
- declare const Tabs: FC<Props$3>;
857
+ declare const Tabs: FC<Props$5>;
941
858
 
942
859
  type TooltipPosition = 'left' | 'right' | 'top' | 'bottom';
943
- interface Props$2 {
860
+ interface Props$4 {
944
861
  label?: string;
945
862
  position?: TooltipPosition;
946
863
  disabled?: boolean;
@@ -949,21 +866,21 @@ interface Props$2 {
949
866
  children: ReactElement;
950
867
  ref?: Ref<HTMLElement> | null;
951
868
  }
952
- declare const Tooltip: FC<Props$2>;
869
+ declare const Tooltip: FC<Props$4>;
953
870
 
954
- interface Props$1 {
871
+ interface Props$3 {
955
872
  data: ITreeItem[];
956
873
  selectedItemUuid?: string;
957
874
  onClick: (itemUuid: string) => void;
958
875
  }
959
- declare const Tree: FC<Props$1>;
876
+ declare const Tree: FC<Props$3>;
960
877
 
961
- interface Props {
878
+ interface Props$2 {
962
879
  condition: boolean;
963
880
  wrapper: (children: ReactNode) => ReactNode;
964
881
  children: ReactNode;
965
882
  }
966
- declare const ConditionalWrapper: FC<Props>;
883
+ declare const ConditionalWrapper: FC<Props$2>;
967
884
 
968
885
  interface IPageLayoutProps {
969
886
  breadcrumbs?: (string | undefined)[];
@@ -984,6 +901,129 @@ interface IPageLayoutProps {
984
901
  }
985
902
  declare const PageLayout: FC<IPageLayoutProps>;
986
903
 
904
+ interface Props$1 {
905
+ id?: string;
906
+ control: ILocalPopupControl;
907
+ header?: {
908
+ title: string;
909
+ onSearch?: (search: string) => void;
910
+ };
911
+ isLoading?: boolean;
912
+ onFormSubmit?: () => void;
913
+ onCloseCallback?: () => void;
914
+ footer?: IDialogFooterActions;
915
+ size?: 'vw25' | 'vw50' | 'vw75' | 'vw100' | 'w500' | 'w600';
916
+ className?: string;
917
+ contentClassName?: string;
918
+ children: ReactNode;
919
+ }
920
+ declare const Pullover: FC<Props$1>;
921
+
922
+ declare const Table: FC<ITable>;
923
+
924
+ declare const useDefaultTemplate: (identifier?: string) => void;
925
+
926
+ interface BaseItemProps$1<T> {
927
+ id: keyof T;
928
+ placeholder?: string;
929
+ required?: boolean;
930
+ additionalClearIds?: (keyof T)[];
931
+ }
932
+ interface SelectProps$1<T> extends BaseItemProps$1<T> {
933
+ options: readonly (string | boolean)[] | (string | boolean)[];
934
+ formatOption: (value: string | boolean) => {
935
+ value: string | boolean;
936
+ label: string;
937
+ };
938
+ }
939
+ declare const useTableEdit: <T extends Record<string, any>>() => {
940
+ editable: Pick<ITableEdit<T>, "selectedItem" | "setSelectedItem" | "editData" | "setEditData">;
941
+ textEditCell: ({ placeholder, required, id, additionalClearIds, }: BaseItemProps$1<T>) => {
942
+ value: react_jsx_runtime.JSX.Element;
943
+ };
944
+ dateEditCell: ({ id, required, additionalClearIds, }: Omit<BaseItemProps$1<T>, "placeholder">) => {
945
+ value: react_jsx_runtime.JSX.Element;
946
+ };
947
+ selectEditCell: ({ id, placeholder, required, options, formatOption, additionalClearIds, }: SelectProps$1<T>) => {
948
+ value: react_jsx_runtime.JSX.Element;
949
+ };
950
+ };
951
+
952
+ interface Props<T> {
953
+ searchData: T;
954
+ setSearchData: Dispatch<SetStateAction<Partial<T>>>;
955
+ }
956
+ interface BaseItemField<T> {
957
+ id: keyof T;
958
+ additionalClearIds?: (keyof T)[];
959
+ }
960
+ interface BaseItemProps<T> extends BaseItemField<T> {
961
+ label: string;
962
+ }
963
+ interface DateFilterProps<T> {
964
+ label: string;
965
+ from: BaseItemField<T>;
966
+ to: BaseItemField<T>;
967
+ }
968
+ interface SelectProps<T> extends BaseItemProps<T> {
969
+ options: readonly string[] | string[];
970
+ formatOption: (value: string) => {
971
+ value: string;
972
+ label: string;
973
+ };
974
+ }
975
+ interface BooleanSelectProps<T> extends BaseItemProps<T> {
976
+ labelTrue?: string;
977
+ labelFalse?: string;
978
+ }
979
+ declare const useTableFilterFields: <T extends Record<string, any>>({ searchData, setSearchData, }: Props<T>) => {
980
+ textFilter: ({ label, id, additionalClearIds }: BaseItemProps<T>) => {
981
+ label: string;
982
+ field: react_jsx_runtime.JSX.Element;
983
+ };
984
+ dateFilter: ({ label, from, to }: DateFilterProps<T>) => {
985
+ label: string;
986
+ field: react_jsx_runtime.JSX.Element;
987
+ };
988
+ selectFilter: ({ label, id, options, formatOption }: SelectProps<T>) => {
989
+ label: string;
990
+ field: react_jsx_runtime.JSX.Element;
991
+ };
992
+ booleanSelectFilter: ({ label, id, labelFalse, labelTrue, }: BooleanSelectProps<T>) => {
993
+ label: string;
994
+ field: react_jsx_runtime.JSX.Element;
995
+ };
996
+ };
997
+
998
+ declare const useTablePagination: (defaultLimit?: number) => {
999
+ pagination: IPagination;
1000
+ paginationControl: IPaginationControl;
1001
+ };
1002
+
1003
+ interface ITableSearchProps<T> {
1004
+ setOffset: Dispatch<SetStateAction<number>>;
1005
+ resetSelectedRows?: () => void;
1006
+ defaultSearch?: T;
1007
+ }
1008
+ declare const useTableSearch: <T>({ setOffset, resetSelectedRows, defaultSearch, }: ITableSearchProps<T>) => {
1009
+ search: T;
1010
+ searchData: T;
1011
+ setSearchData: Dispatch<SetStateAction<T>>;
1012
+ onSearch: (filters: T) => void;
1013
+ };
1014
+
1015
+ declare const useTableSelect: () => {
1016
+ selectedRows: Set<string>;
1017
+ setSelectedRows: react.Dispatch<react.SetStateAction<Set<string>>>;
1018
+ resetSelectedRows: () => void;
1019
+ };
1020
+
1021
+ declare const useTableSort: (sortOptions: ITableSort[]) => {
1022
+ sort: string;
1023
+ setSort: react.Dispatch<react.SetStateAction<string>>;
1024
+ sortOptions: ITableSort[];
1025
+ };
1026
+
987
1027
  type inputDate = string | Date | dayjs.Dayjs;
988
1028
  declare const formatDate: (date?: inputDate) => string;
989
1029
  declare const formatDateYMD: (date: inputDate) => string;
@@ -1114,7 +1154,9 @@ declare const i18nIUILatin: {
1114
1154
  allResults: string;
1115
1155
  Columns: string;
1116
1156
  DragDropListsInfo: string;
1157
+ TableSelect: string;
1117
1158
  Filter: string;
1159
+ ApplyFilters: string;
1118
1160
  HiddenColumns: string;
1119
1161
  NoResults: string;
1120
1162
  of: string;
@@ -1156,6 +1198,7 @@ declare const i18nIUILatin: {
1156
1198
  };
1157
1199
 
1158
1200
  declare const i18nIUICyrilic: {
1201
+ HomePage: string;
1159
1202
  Actions: string;
1160
1203
  Active: string;
1161
1204
  AddInput: string;
@@ -1189,7 +1232,9 @@ declare const i18nIUICyrilic: {
1189
1232
  allResults: string;
1190
1233
  Columns: string;
1191
1234
  DragDropListsInfo: string;
1235
+ TableSelect: string;
1192
1236
  Filter: string;
1237
+ ApplyFilters: string;
1193
1238
  HiddenColumns: string;
1194
1239
  NoResults: string;
1195
1240
  of: string;
@@ -1233,6 +1278,7 @@ declare const i18nIUICyrilic: {
1233
1278
  };
1234
1279
 
1235
1280
  declare const i18nIUIMe: {
1281
+ HomePage: string;
1236
1282
  Actions: string;
1237
1283
  Active: string;
1238
1284
  AddInput: string;
@@ -1266,7 +1312,9 @@ declare const i18nIUIMe: {
1266
1312
  allResults: string;
1267
1313
  Columns: string;
1268
1314
  DragDropListsInfo: string;
1315
+ TableSelect: string;
1269
1316
  Filter: string;
1317
+ ApplyFilters: string;
1270
1318
  HiddenColumns: string;
1271
1319
  NoResults: string;
1272
1320
  of: string;
@@ -1309,8 +1357,6 @@ declare const i18nIUIMe: {
1309
1357
  NoAccessPageInfo: string;
1310
1358
  };
1311
1359
 
1312
- declare const useDefaultTemplate: (identifier?: string) => void;
1313
-
1314
1360
  declare global {
1315
1361
  var zE: {
1316
1362
  show: () => void;
@@ -1323,19 +1369,13 @@ declare const useHideZendesk: () => void;
1323
1369
 
1324
1370
  declare const useOnEsc: (onEsc: () => void, disabled?: boolean) => void;
1325
1371
 
1326
- declare const useDialogObserver: () => boolean;
1327
-
1328
- declare const useTableSelect: () => {
1329
- selectedRows: Set<string>;
1330
- setSelectedRows: react.Dispatch<react.SetStateAction<Set<string>>>;
1331
- resetSelectedRows: () => void;
1332
- };
1333
-
1334
1372
  declare const useIsMenuOpen: () => {
1335
1373
  isMenuOpen: boolean;
1336
1374
  onMenuOpen: () => void;
1337
1375
  onMenuClose: () => number;
1338
1376
  };
1339
1377
 
1340
- export { Accordions, Alert, Button, Checkbox, Collapse, ConditionalWrapper, CurrencyInput, Dashboard, DashboardWidget, DateInput, DeleteItemDialog, Dialog, DotBadge, FastLinksWidget, FilterItem, FormWrapper, FullScreenLoader, IconButton, ItemActionsMenu, ItemEditOptionsButtons, LazyLoader, Loader, Menu, MenuItem, NotificationBadge, NumberInput, PageLayout, PasswordInput, PillBadge, Radio, RadioLarge, Router, SearchInput, Select, SelectAsyncPaginate, SelectCreatable, SetTableFilter, Table, TableEditRow, TableFooter, TablePrint, Tabs, TextAreaInput, TextInput, TimeInput, Tooltip, Tree, areStringArraysEqual, calculateFilesSize, checkIfExpired, compareArrayItemsIndex, convertArrayToBooleanObject, convertBooleanObjectToArray, convertReportTemplateFilterToSearch, convertSearchToReportTemplateFilter, dataURLtoFile, dateAddDays, deepCopy, deleteEmptyProps, deleteEmptyPropsIncludingArray, deleteProps, deletePropsThatEndsWith, downloadDocumentFile, downloadFile, formatCurrency, formatCurrencyNoDecimals, formatDate, formatDateAndTime, formatDateYMD, formatDecimalNumber, formatTime, formatYearMonth, getActiveFilterNumber, getActiveOrgUuid, getBase64FromFile, getBase64FromUrl, getCurrentDateFormatted, getCurrentDateFormattedYMD, getDaysLeft, getDefaultOrgUuid, getExtensionFromFilename, getFileFromUrl, getInputHelperText, getInputMinMaxPattern, getPrintColumns, getVisibleColumnsIds, i18nIUICyrilic, i18nIUILatin, i18nIUIMe, inputPattern, intersectArrays, lsGet, lsRemove, lsSet, maxChar, parseUrlSearch, rootDir, rotateBase64Image, setActiveOrgUuid, setDefaultOrgUuid, setTemplateData, sizeInBytesPretty, splitBase64File, tableCustomLimit1000, toastError, toastSuccess, useDefaultTemplate, useDialogObserver, useHideZendesk, useIsMenuOpen, useOnEsc, useTableSelect };
1341
- export type { DeepPartial, IAlertProps, IAnyObject, IBooleanObject, IError, IFormWrapper, IHeaderAction, IHeaderUserMenuProps, IKeyboardAction, IMenuItem, IMenuPlacement, IPagination, IRoute, ISelectData, IServerSidePagination, ISimpleObject, ISimpleObjectWithCode, IStringObject, ITab, ITable, ITableColumn, ITableDataItem, ITableEditRow, ITableFilter, ITableFilterData, ITableFilterItem, ITableSort, ITreeItem, IValueLabel };
1378
+ declare const usePopupControl: () => IPopupControl;
1379
+
1380
+ export { Accordions, Alert, Button, Checkbox, Collapse, ConditionalWrapper, CurrencyInput, Dashboard, DashboardWidget, DateInput, Dialog, DotBadge, FastLinksWidget, FormWrapper, FullScreenLoader, IconButton, LazyLoader, Loader, Menu, MenuItem, NotificationBadge, NumberInput, PageLayout, PasswordInput, PillBadge, Pullover, Radio, RadioLarge, Router, SearchInput, Select, SelectAsyncPaginate, SelectCreatable, Table, Tabs, TextAreaInput, TextInput, TimeInput, Tooltip, Tree, areStringArraysEqual, calculateFilesSize, checkIfExpired, compareArrayItemsIndex, convertArrayToBooleanObject, convertBooleanObjectToArray, convertReportTemplateFilterToSearch, convertSearchToReportTemplateFilter, dataURLtoFile, dateAddDays, deepCopy, deleteEmptyProps, deleteEmptyPropsIncludingArray, deleteProps, deletePropsThatEndsWith, downloadDocumentFile, downloadFile, formatCurrency, formatCurrencyNoDecimals, formatDate, formatDateAndTime, formatDateYMD, formatDecimalNumber, formatTime, formatYearMonth, getActiveFilterNumber, getActiveOrgUuid, getBase64FromFile, getBase64FromUrl, getCurrentDateFormatted, getCurrentDateFormattedYMD, getDaysLeft, getDefaultOrgUuid, getExtensionFromFilename, getFileFromUrl, getInputHelperText, getInputMinMaxPattern, getPrintColumns, getVisibleColumnsIds, i18nIUICyrilic, i18nIUILatin, i18nIUIMe, inputPattern, intersectArrays, lsGet, lsRemove, lsSet, maxChar, parseUrlSearch, rootDir, rotateBase64Image, setActiveOrgUuid, setDefaultOrgUuid, setTemplateData, sizeInBytesPretty, splitBase64File, tableCustomLimit1000, toastError, toastSuccess, useDefaultTemplate, useHideZendesk, useIsMenuOpen, useOnEsc, usePopupControl, useTableEdit, useTableFilterFields, useTablePagination, useTableSearch, useTableSelect, useTableSort };
1381
+ export type { DeepPartial, IAlertProps, IAnyObject, IBooleanObject, IError, IFormWrapper, IHeaderAction, IHeaderUserMenuProps, IKeyboardAction, IMenuItem, IMenuPlacement, IPagination, IPaginationControl, IPopupControl, IRoute, ISelectData, ISidebarItem, ISimpleObject, ISimpleObjectWithCode, IStringObject, ITab, ITable, ITableColumn, ITableDataItem, ITableDataItemCells, ITableEdit, ITableFilter, ITableFilterData, ITableFilterItem, ITableSort, ITreeItem, IValueLabel, PopupControlRef };