@inceptionbg/iui 1.0.178 → 1.0.180

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.
package/dist/index.d.ts CHANGED
@@ -6,10 +6,10 @@ export { DragDropContext, Draggable, Droppable } from 'react-beautiful-dnd';
6
6
  import * as react_toastify from 'react-toastify';
7
7
  export { ToastContainer } from 'react-toastify';
8
8
  export { TFunction, changeLanguage, default as i18n } from 'i18next';
9
+ export { I18nextProvider, Trans, useTranslation } from 'react-i18next';
9
10
  import * as react from 'react';
10
11
  import { MouseEventHandler, ButtonHTMLAttributes, FormEvent, ReactNode, FC, FunctionComponent, RefObject, ReactElement, Dispatch, SetStateAction, InputHTMLAttributes } from 'react';
11
12
  import { IconDefinition, RotateProp } from '@fortawesome/fontawesome-svg-core';
12
- export { I18nextProvider, Trans, useTranslation } from 'react-i18next';
13
13
 
14
14
  type IButtonColor = 'primary' | 'secondary' | 'error';
15
15
  interface Props$w {
@@ -855,7 +855,7 @@ declare const deleteProps: (obj: IAnyObject, props: string[]) => {
855
855
  declare const deletePropsThatEndsWith: (obj: IAnyObject, endsWith: string) => {
856
856
  [x: string]: any;
857
857
  };
858
- declare const deleteEmptyProps: (obj: IAnyObject) => IAnyObject;
858
+ declare const deleteEmptyProps: (obj?: IAnyObject) => IAnyObject | undefined;
859
859
  declare const deleteEmptyPropsIncludingArray: (obj: IAnyObject) => IAnyObject;
860
860
  declare const convertBooleanObjectToArray: (obj: IBooleanObject) => string[];
861
861
  declare const convertArrayToBooleanObject: (arr?: string[]) => {
@@ -864,6 +864,7 @@ declare const convertArrayToBooleanObject: (arr?: string[]) => {
864
864
  declare const deepCopy: (el: any[] | object) => any;
865
865
  declare const areStringArraysEqual: (arr1: string[], arr2: string[]) => boolean;
866
866
  declare const compareArrayItemsIndex: (array: any[] | readonly any[], item1: any, comparison: 'greaterThen' | 'greaterThenOrEqualTo' | 'lessThen' | 'lessThenOrEqualTo', item2: any) => boolean;
867
+ declare const intersectArrays: (arr1: any[], arr2: any[]) => any[];
867
868
 
868
869
  declare const getActiveFilterNumber: (obj: IAnyObject) => number;
869
870
  declare const getVisibleColumnsIds: (tableCols: ITableColumn[], isPrint?: boolean) => string[];
@@ -1105,6 +1106,9 @@ declare const i18nCommonLatin: {
1105
1106
  VoteNumber: string;
1106
1107
  AddIndexField: string;
1107
1108
  Attachments: string;
1109
+ ElSignature: string;
1110
+ ZoomIn: string;
1111
+ ZoomOut: string;
1108
1112
  CreationTime: string;
1109
1113
  DeleteFileDesc: string;
1110
1114
  DeleteFileTitle: string;
@@ -1116,27 +1120,18 @@ declare const i18nCommonLatin: {
1116
1120
  DownloadOriginalDocument: string;
1117
1121
  DownloadSignedDocument: string;
1118
1122
  DownloadValidationReport: string;
1119
- ElSignature: string;
1120
- ErrorUnsupportedFile: string;
1121
- FailedToLoadPDF: string;
1122
1123
  FileName: string;
1123
1124
  Files: string;
1124
1125
  FileSendNotificationInfo: string;
1125
1126
  FileType: string;
1126
1127
  FileTypes: string;
1127
- LoadingPDF: string;
1128
1128
  NotificationChannel: string;
1129
- OrJustDragAndDropFile: string;
1130
1129
  UMCNDescription: string;
1131
1130
  UMCNLong: string;
1132
- ScanQR: string;
1133
- ScanQRInfo: string;
1134
1131
  SendForSigning: string;
1135
1132
  Sign: string;
1136
1133
  Signature: string;
1137
- SignatureLook: string;
1138
1134
  Signed: string;
1139
- SignOnThisDevice: string;
1140
1135
  Size: string;
1141
1136
  Type: string;
1142
1137
  AddSignatory: string;
@@ -1444,6 +1439,9 @@ declare const i18nCommonCyrilic: {
1444
1439
  VoteNumber: string;
1445
1440
  AddIndexField: string;
1446
1441
  Attachments: string;
1442
+ ElSignature: string;
1443
+ ZoomIn: string;
1444
+ ZoomOut: string;
1447
1445
  CreationTime: string;
1448
1446
  DeleteFileDesc: string;
1449
1447
  DeleteFileTitle: string;
@@ -1455,27 +1453,19 @@ declare const i18nCommonCyrilic: {
1455
1453
  DownloadOriginalDocument: string;
1456
1454
  DownloadSignedDocument: string;
1457
1455
  DownloadValidationReport: string;
1458
- ElSignature: string;
1459
1456
  ErrorUnsupportedFile: string;
1460
- FailedToLoadPDF: string;
1461
1457
  FileName: string;
1462
1458
  Files: string;
1463
1459
  FileSendNotificationInfo: string;
1464
1460
  FileType: string;
1465
1461
  FileTypes: string;
1466
- LoadingPDF: string;
1467
1462
  NotificationChannel: string;
1468
- OrJustDragAndDropFile: string;
1469
1463
  UMCNDescription: string;
1470
1464
  UMCNLong: string;
1471
- ScanQR: string;
1472
- ScanQRInfo: string;
1473
1465
  SendForSigning: string;
1474
1466
  Sign: string;
1475
1467
  Signature: string;
1476
- SignatureLook: string;
1477
1468
  Signed: string;
1478
- SignOnThisDevice: string;
1479
1469
  Size: string;
1480
1470
  Type: string;
1481
1471
  AddSignatory: string;
@@ -1578,11 +1568,13 @@ declare const i18nCommonCyrilic: {
1578
1568
  EmailVerificationCompletedDesc: string;
1579
1569
  };
1580
1570
 
1581
- declare const useHideZendesk: () => void;
1582
-
1583
1571
  declare const useDefaultTemplate: (identifier?: string) => {
1584
1572
  defaultTemplate: IReportTemplate | null;
1585
1573
  isLoadingDefaultTemplate: boolean;
1586
1574
  };
1587
1575
 
1588
- export { Accordions, Alert, Button, Checkbox, Collapse, ConditionalWrapper, CurrencyInput, Dashboard, DashboardWidget, DateInput, DeleteItemDialog, Dialog, DotBadge, FilterItem, FormWrapper, FullScreenLoader, IAnyObject, IBooleanObject, IError, IFormWrapper, IPagination, ISelectData, IServerSidePagination, ISimpleObject, ISimpleObjectWithCode, IStringObject, ITab, ITable, ITableColumn, ITableDataItem, ITableEditRow, ITableFilter, ITableFilterData, ITableFilterItem, ITableSort, ITreeItem, IValueLabel, IconButton, ItemActionsMenu, ItemEditOptionsButtons, LargeTextInput, LazyLoader, Loader, Menu, MenuItem, NotificationBadge, NumberInput, PageWrapper, PasswordInput, PillBadge, Radio, RadioLarge, SearchInput, Select, SelectAsyncPaginate, SelectCreatable, SetTableFilter, Table, TableEditRow, TableFooter, Tabs, TextInput, Tooltip, Tree, areStringArraysEqual, calculateFilesSize, checkIfExpired, compareArrayItemsIndex, convertArrayToBooleanObject, convertBooleanObjectToArray, dataURLtoFile, dateAddDays, deepCopy, deleteEmptyProps, deleteEmptyPropsIncludingArray, deleteProps, deletePropsThatEndsWith, downloadDocumentFile, formatCurrency, formatCurrencyNoDecimals, formatDate, formatDateAndTime, formatDateYMD, formatDecimalNumber, formatTime, formatYearMonth, getActiveFilterNumber, getActiveOrgUuid, getBase64FromFile, getBase64FromUrl, getCurrentDateFormatted, getCurrentDateFormattedYMD, getDaysLeft, getDefaultOrgUuid, getExtensionFromFilename, getFileFromUrl, getInputHelperText, getInputMinMaxPattern, getPrintColumns, getVisibleColumnsIds, i18nCommonCyrilic, i18nCommonLatin, inputPattern, lsGet, lsRemove, lsSet, maxChar, parseUrlSearch, rootDir, rotateBase64Image, setActiveOrgUuid, setDefaultOrgUuid, setTemplateData, sizeInBytesPretty, splitBase64File, toastError, toastSuccess, useDefaultTemplate, useHideZendesk };
1576
+ declare const useHideZendesk: () => void;
1577
+
1578
+ declare const useOnEsc: (onEsc: () => void, disabled?: boolean) => void;
1579
+
1580
+ export { Accordions, Alert, Button, Checkbox, Collapse, ConditionalWrapper, CurrencyInput, Dashboard, DashboardWidget, DateInput, DeleteItemDialog, Dialog, DotBadge, FilterItem, FormWrapper, FullScreenLoader, IAnyObject, IBooleanObject, IError, IFormWrapper, IPagination, ISelectData, IServerSidePagination, ISimpleObject, ISimpleObjectWithCode, IStringObject, ITab, ITable, ITableColumn, ITableDataItem, ITableEditRow, ITableFilter, ITableFilterData, ITableFilterItem, ITableSort, ITreeItem, IValueLabel, IconButton, ItemActionsMenu, ItemEditOptionsButtons, LargeTextInput, LazyLoader, Loader, Menu, MenuItem, NotificationBadge, NumberInput, PageWrapper, PasswordInput, PillBadge, Radio, RadioLarge, SearchInput, Select, SelectAsyncPaginate, SelectCreatable, SetTableFilter, Table, TableEditRow, TableFooter, Tabs, TextInput, Tooltip, Tree, areStringArraysEqual, calculateFilesSize, checkIfExpired, compareArrayItemsIndex, convertArrayToBooleanObject, convertBooleanObjectToArray, dataURLtoFile, dateAddDays, deepCopy, deleteEmptyProps, deleteEmptyPropsIncludingArray, deleteProps, deletePropsThatEndsWith, downloadDocumentFile, formatCurrency, formatCurrencyNoDecimals, formatDate, formatDateAndTime, formatDateYMD, formatDecimalNumber, formatTime, formatYearMonth, getActiveFilterNumber, getActiveOrgUuid, getBase64FromFile, getBase64FromUrl, getCurrentDateFormatted, getCurrentDateFormattedYMD, getDaysLeft, getDefaultOrgUuid, getExtensionFromFilename, getFileFromUrl, getInputHelperText, getInputMinMaxPattern, getPrintColumns, getVisibleColumnsIds, i18nCommonCyrilic, i18nCommonLatin, inputPattern, intersectArrays, lsGet, lsRemove, lsSet, maxChar, parseUrlSearch, rootDir, rotateBase64Image, setActiveOrgUuid, setDefaultOrgUuid, setTemplateData, sizeInBytesPretty, splitBase64File, toastError, toastSuccess, useDefaultTemplate, useHideZendesk, useOnEsc };