@inceptionbg/iui 2.0.41 → 2.0.43
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 +60 -39
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/iui.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -331,6 +331,7 @@ interface ITableDataActions<T = unknown> {
|
|
|
331
331
|
interface ITableFilterData {
|
|
332
332
|
filters: ITableFilter;
|
|
333
333
|
customFilterIdList?: string[];
|
|
334
|
+
setCustomFilterIdList?: (columnsIds: string[]) => string[];
|
|
334
335
|
activeFilterNo?: number;
|
|
335
336
|
additionalFilters?: ReactElement;
|
|
336
337
|
defaultSearch?: IAnyObject;
|
|
@@ -425,6 +426,7 @@ interface IBasePrintData {
|
|
|
425
426
|
}[];
|
|
426
427
|
};
|
|
427
428
|
saveXlsx?: () => void;
|
|
429
|
+
onClick?: () => Promise<boolean>;
|
|
428
430
|
}
|
|
429
431
|
type IGetPrintData<T> = (props: {
|
|
430
432
|
pagination: IPagination;
|
|
@@ -522,6 +524,8 @@ interface ISelectData extends IValueLabel {
|
|
|
522
524
|
[id: string]: any;
|
|
523
525
|
}
|
|
524
526
|
interface BaseSelectProps {
|
|
527
|
+
id?: string;
|
|
528
|
+
name?: string;
|
|
525
529
|
variant: 'basic' | 'async' | 'async-creatable';
|
|
526
530
|
label?: string;
|
|
527
531
|
value?: any;
|
|
@@ -581,7 +585,7 @@ interface ITreeItem {
|
|
|
581
585
|
children?: ITreeItem[];
|
|
582
586
|
}
|
|
583
587
|
|
|
584
|
-
interface Props$
|
|
588
|
+
interface Props$r {
|
|
585
589
|
tabs: ITab[];
|
|
586
590
|
initialValue?: string;
|
|
587
591
|
compact?: boolean;
|
|
@@ -593,30 +597,30 @@ interface Props$q {
|
|
|
593
597
|
className?: string;
|
|
594
598
|
classNameContent?: string;
|
|
595
599
|
}
|
|
596
|
-
declare const Accordions: FC<Props$
|
|
600
|
+
declare const Accordions: FC<Props$r>;
|
|
597
601
|
|
|
598
|
-
interface Props$
|
|
602
|
+
interface Props$q {
|
|
599
603
|
label: string;
|
|
600
604
|
color: IInfoType | 'gray';
|
|
601
605
|
className?: string;
|
|
602
606
|
}
|
|
603
|
-
declare const DotBadge: FC<Props$
|
|
607
|
+
declare const DotBadge: FC<Props$q>;
|
|
604
608
|
|
|
605
|
-
interface Props$
|
|
609
|
+
interface Props$p {
|
|
606
610
|
number?: number;
|
|
607
611
|
className?: string;
|
|
608
612
|
size?: 's' | 'm';
|
|
609
613
|
children?: ReactNode;
|
|
610
614
|
color?: IInfoType | 'primary';
|
|
611
615
|
}
|
|
612
|
-
declare const NotificationBadge: FC<Props$
|
|
616
|
+
declare const NotificationBadge: FC<Props$p>;
|
|
613
617
|
|
|
614
|
-
interface Props$
|
|
618
|
+
interface Props$o {
|
|
615
619
|
label: string;
|
|
616
620
|
color: IInfoType | 'gray';
|
|
617
621
|
className?: string;
|
|
618
622
|
}
|
|
619
|
-
declare const PillBadge: FC<Props$
|
|
623
|
+
declare const PillBadge: FC<Props$o>;
|
|
620
624
|
|
|
621
625
|
interface IIconButtonProps {
|
|
622
626
|
icon: IconDefinition;
|
|
@@ -656,7 +660,7 @@ declare const Dashboard: FC<{
|
|
|
656
660
|
children: ReactNode;
|
|
657
661
|
}>;
|
|
658
662
|
|
|
659
|
-
interface Props$
|
|
663
|
+
interface Props$n {
|
|
660
664
|
title: string;
|
|
661
665
|
icon?: any;
|
|
662
666
|
type?: 'warning' | 'info';
|
|
@@ -664,16 +668,16 @@ interface Props$m {
|
|
|
664
668
|
isLoading?: boolean;
|
|
665
669
|
children: ReactNode;
|
|
666
670
|
}
|
|
667
|
-
declare const DashboardWidget: FC<Props$
|
|
671
|
+
declare const DashboardWidget: FC<Props$n>;
|
|
668
672
|
|
|
669
|
-
interface Props$
|
|
673
|
+
interface Props$m {
|
|
670
674
|
links: {
|
|
671
675
|
icon?: IconDefinition;
|
|
672
676
|
label: string;
|
|
673
677
|
onClick: () => void;
|
|
674
678
|
}[];
|
|
675
679
|
}
|
|
676
|
-
declare const FastLinksWidget: FC<Props$
|
|
680
|
+
declare const FastLinksWidget: FC<Props$m>;
|
|
677
681
|
|
|
678
682
|
interface IDialogFooterActions {
|
|
679
683
|
confirmButton?: {
|
|
@@ -731,16 +735,16 @@ type DeclarativeDialogProps = {
|
|
|
731
735
|
onClose: () => void;
|
|
732
736
|
control?: never;
|
|
733
737
|
};
|
|
734
|
-
type Props$
|
|
735
|
-
declare const Dialog: FC<Props$
|
|
738
|
+
type Props$l = BaseProps & (ImperativeDialogProps | DeclarativeDialogProps);
|
|
739
|
+
declare const Dialog: FC<Props$l>;
|
|
736
740
|
|
|
737
|
-
interface Props$
|
|
741
|
+
interface Props$k {
|
|
738
742
|
isOpen: boolean;
|
|
739
743
|
children: ReactNode;
|
|
740
744
|
keepContentInDom?: boolean;
|
|
741
745
|
className?: string;
|
|
742
746
|
}
|
|
743
|
-
declare const Collapse: FC<Props$
|
|
747
|
+
declare const Collapse: FC<Props$k>;
|
|
744
748
|
|
|
745
749
|
interface ICheckboxProps {
|
|
746
750
|
label?: string;
|
|
@@ -834,7 +838,7 @@ interface IPasswordInputProps {
|
|
|
834
838
|
}
|
|
835
839
|
declare const PasswordInput: FC<IPasswordInputProps>;
|
|
836
840
|
|
|
837
|
-
interface Props$
|
|
841
|
+
interface Props$j {
|
|
838
842
|
label?: string;
|
|
839
843
|
value?: string;
|
|
840
844
|
setValue: (value: string) => void;
|
|
@@ -845,7 +849,7 @@ interface Props$i {
|
|
|
845
849
|
className?: string;
|
|
846
850
|
ref?: Ref<HTMLInputElement>;
|
|
847
851
|
}
|
|
848
|
-
declare const PhoneInput: FC<Props$
|
|
852
|
+
declare const PhoneInput: FC<Props$j>;
|
|
849
853
|
|
|
850
854
|
interface IRadioProps {
|
|
851
855
|
label?: string;
|
|
@@ -862,7 +866,7 @@ interface IRadioProps {
|
|
|
862
866
|
}
|
|
863
867
|
declare const Radio: FC<IRadioProps>;
|
|
864
868
|
|
|
865
|
-
interface Props$
|
|
869
|
+
interface Props$i {
|
|
866
870
|
title?: string | ReactElement;
|
|
867
871
|
desc?: string | ReactElement;
|
|
868
872
|
value: string;
|
|
@@ -872,7 +876,7 @@ interface Props$h {
|
|
|
872
876
|
className?: string;
|
|
873
877
|
children?: ReactNode;
|
|
874
878
|
}
|
|
875
|
-
declare const RadioLarge: FC<Props$
|
|
879
|
+
declare const RadioLarge: FC<Props$i>;
|
|
876
880
|
|
|
877
881
|
interface IProps {
|
|
878
882
|
label?: string;
|
|
@@ -962,13 +966,13 @@ interface IListItem {
|
|
|
962
966
|
disabled?: boolean;
|
|
963
967
|
}
|
|
964
968
|
|
|
965
|
-
interface Props$
|
|
969
|
+
interface Props$h {
|
|
966
970
|
items?: IListItem[];
|
|
967
971
|
noItemsMessage?: string;
|
|
968
972
|
}
|
|
969
|
-
declare const List: FC<Props$
|
|
973
|
+
declare const List: FC<Props$h>;
|
|
970
974
|
|
|
971
|
-
interface Props$
|
|
975
|
+
interface Props$g {
|
|
972
976
|
isLoading: boolean;
|
|
973
977
|
isFullPage?: boolean;
|
|
974
978
|
classNameLoader?: string;
|
|
@@ -977,7 +981,7 @@ interface Props$f {
|
|
|
977
981
|
children: ReactElement | ReactNode;
|
|
978
982
|
}>;
|
|
979
983
|
}
|
|
980
|
-
declare const Loader: FC<Props$
|
|
984
|
+
declare const Loader: FC<Props$g>;
|
|
981
985
|
declare const SimpleLoader: FC<{
|
|
982
986
|
isLoading?: boolean;
|
|
983
987
|
}>;
|
|
@@ -986,13 +990,13 @@ declare const FullScreenLoader: FC<{
|
|
|
986
990
|
}>;
|
|
987
991
|
declare const LazyLoader: FC;
|
|
988
992
|
|
|
989
|
-
interface Props$
|
|
993
|
+
interface Props$f {
|
|
990
994
|
progress?: number;
|
|
991
995
|
label?: string;
|
|
992
996
|
}
|
|
993
|
-
declare const ProgressBar: FC<Props$
|
|
997
|
+
declare const ProgressBar: FC<Props$f>;
|
|
994
998
|
|
|
995
|
-
interface Props$
|
|
999
|
+
interface Props$e {
|
|
996
1000
|
id?: string;
|
|
997
1001
|
isOpen: boolean;
|
|
998
1002
|
onClose: () => void;
|
|
@@ -1003,17 +1007,17 @@ interface Props$d {
|
|
|
1003
1007
|
className?: string;
|
|
1004
1008
|
children?: ReactNode;
|
|
1005
1009
|
}
|
|
1006
|
-
declare const Menu: FC<Props$
|
|
1010
|
+
declare const Menu: FC<Props$e>;
|
|
1007
1011
|
|
|
1008
1012
|
declare const MenuItem: FC<IMenuItem>;
|
|
1009
1013
|
|
|
1010
|
-
interface Props$
|
|
1014
|
+
interface Props$d {
|
|
1011
1015
|
className?: string;
|
|
1012
1016
|
children: ReactNode;
|
|
1013
1017
|
}
|
|
1014
|
-
declare const ScrollableContent: FC<Props$
|
|
1018
|
+
declare const ScrollableContent: FC<Props$d>;
|
|
1015
1019
|
|
|
1016
|
-
interface Props$
|
|
1020
|
+
interface Props$c {
|
|
1017
1021
|
id?: string;
|
|
1018
1022
|
control: ILocalPopupControl;
|
|
1019
1023
|
header?: {
|
|
@@ -1032,9 +1036,9 @@ interface Props$b {
|
|
|
1032
1036
|
portalTarget?: HTMLElement;
|
|
1033
1037
|
children: ReactNode;
|
|
1034
1038
|
}
|
|
1035
|
-
declare const Pullover: FC<Props$
|
|
1039
|
+
declare const Pullover: FC<Props$c>;
|
|
1036
1040
|
|
|
1037
|
-
interface Props$
|
|
1041
|
+
interface Props$b {
|
|
1038
1042
|
modules: {
|
|
1039
1043
|
name: string;
|
|
1040
1044
|
icon: IconDefinition;
|
|
@@ -1046,9 +1050,9 @@ interface Props$a {
|
|
|
1046
1050
|
icon: IconDefinition;
|
|
1047
1051
|
} | null;
|
|
1048
1052
|
}
|
|
1049
|
-
declare const ModuleSelect: FC<Props$
|
|
1053
|
+
declare const ModuleSelect: FC<Props$b>;
|
|
1050
1054
|
|
|
1051
|
-
interface Props$
|
|
1055
|
+
interface Props$a {
|
|
1052
1056
|
customAppProps?: {
|
|
1053
1057
|
title?: string;
|
|
1054
1058
|
logo?: ReactElement;
|
|
@@ -1058,7 +1062,7 @@ interface Props$9 {
|
|
|
1058
1062
|
notificationsProps?: INotificationsProps;
|
|
1059
1063
|
children?: ReactNode;
|
|
1060
1064
|
}
|
|
1061
|
-
declare const Header: FC<Props$
|
|
1065
|
+
declare const Header: FC<Props$a>;
|
|
1062
1066
|
|
|
1063
1067
|
type IOrgLogo = 'MTS' | 'PPL' | 'INC';
|
|
1064
1068
|
|
|
@@ -1070,13 +1074,21 @@ interface ISidebarProps {
|
|
|
1070
1074
|
}
|
|
1071
1075
|
declare const Sidebar: FC<ISidebarProps>;
|
|
1072
1076
|
|
|
1073
|
-
interface Props$
|
|
1077
|
+
interface Props$9 {
|
|
1074
1078
|
fullScreenRoutes: IRoute[];
|
|
1075
1079
|
appRoutes: IRoute[];
|
|
1076
1080
|
header: ComponentProps<typeof Header>;
|
|
1077
1081
|
sidebar: ComponentProps<typeof Sidebar>;
|
|
1078
1082
|
}
|
|
1079
|
-
declare const Router: FC<Props$
|
|
1083
|
+
declare const Router: FC<Props$9>;
|
|
1084
|
+
|
|
1085
|
+
interface Props$8 {
|
|
1086
|
+
isOpen: boolean;
|
|
1087
|
+
onClose: () => void;
|
|
1088
|
+
onSubmit: (email: string) => void;
|
|
1089
|
+
totalRows: number;
|
|
1090
|
+
}
|
|
1091
|
+
declare const LargePrintEmailDialog: FC<Props$8>;
|
|
1080
1092
|
|
|
1081
1093
|
interface Props$7 {
|
|
1082
1094
|
control: ILocalPopupControl;
|
|
@@ -1386,6 +1398,9 @@ declare const i18nIUICyrilic: {
|
|
|
1386
1398
|
NoTemplatesAvailable: string;
|
|
1387
1399
|
PublicTemplate: string;
|
|
1388
1400
|
PrivateTemplate: string;
|
|
1401
|
+
ReportIsBeingGenerated: string;
|
|
1402
|
+
DueToLargeAmountOfDataReportIsBeingSentToEmail: string;
|
|
1403
|
+
TotalRows: string;
|
|
1389
1404
|
FastLinks: string;
|
|
1390
1405
|
CharMin: string;
|
|
1391
1406
|
CharRange: string;
|
|
@@ -1477,6 +1492,9 @@ declare const i18nIUILatin: {
|
|
|
1477
1492
|
NoTemplatesAvailable: string;
|
|
1478
1493
|
PublicTemplate: string;
|
|
1479
1494
|
PrivateTemplate: string;
|
|
1495
|
+
ReportIsBeingGenerated: string;
|
|
1496
|
+
DueToLargeAmountOfDataReportIsBeingSentToEmail: string;
|
|
1497
|
+
TotalRows: string;
|
|
1480
1498
|
FastLinks: string;
|
|
1481
1499
|
CharMin: string;
|
|
1482
1500
|
CharRange: string;
|
|
@@ -1568,6 +1586,9 @@ declare const i18nIUIMe: {
|
|
|
1568
1586
|
NoTemplatesAvailable: string;
|
|
1569
1587
|
PublicTemplate: string;
|
|
1570
1588
|
PrivateTemplate: string;
|
|
1589
|
+
ReportIsBeingGenerated: string;
|
|
1590
|
+
DueToLargeAmountOfDataReportIsBeingSentToEmail: string;
|
|
1591
|
+
TotalRows: string;
|
|
1571
1592
|
FastLinks: string;
|
|
1572
1593
|
CharMin: string;
|
|
1573
1594
|
CharRange: string;
|
|
@@ -1667,5 +1688,5 @@ declare const parseUrlSearch: (search: string) => {
|
|
|
1667
1688
|
[k: string]: string;
|
|
1668
1689
|
};
|
|
1669
1690
|
|
|
1670
|
-
export { Accordions, Alert, Button, Checkbox, Collapse, ConditionalWrapper, CreateTemplateDialog, CurrencyInput, Dashboard, DashboardWidget, DateInput, Dialog, DotBadge, FastLinksWidget, FormWrapper, FullScreenLoader, IconButton, LazyLoader, List, Loader, Menu, MenuItem, NotificationBadge, NumberInput, PageLayout, PasswordInput, PhoneInput, PillBadge, ProgressBar, Pullover, Radio, RadioLarge, Router, ScrollableContent, SearchInput, Select, SelectAsyncPaginate, SelectCreatable, SimpleLoader, SplitButton, Table, Tabs, TemplatesPullover, TextAreaInput, TextInput, TimeInput, Tooltip, Tree, areStringArraysEqual, buildFetchOptions, calculateFilesSize, checkIfExpired, compareArrayItemsIndex, convertArrayToBooleanObject, convertBooleanObjectToArray, convertReportTemplateFilterToSearch, convertSearchToReportTemplateFilter, dataURLtoFile, dateAddDays, deepCopy, deleteEmptyProps, deleteEmptyPropsIncludingArray, deleteProps, deletePropsThatEndsWith, downloadDocumentFile, downloadFile, flattenTreeForSelect, formatBooleanToStringValue, 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, useHideZendesk, useIsMenuOpen, useOnEsc, usePopupControl, useTableColumns, useTableEdit, useTableFilterFields, useTablePagination, useTablePrint, useTableSearch, useTableSelect, useTableSort };
|
|
1691
|
+
export { Accordions, Alert, Button, Checkbox, Collapse, ConditionalWrapper, CreateTemplateDialog, CurrencyInput, Dashboard, DashboardWidget, DateInput, Dialog, DotBadge, FastLinksWidget, FormWrapper, FullScreenLoader, IconButton, LargePrintEmailDialog, LazyLoader, List, Loader, Menu, MenuItem, NotificationBadge, NumberInput, PageLayout, PasswordInput, PhoneInput, PillBadge, ProgressBar, Pullover, Radio, RadioLarge, Router, ScrollableContent, SearchInput, Select, SelectAsyncPaginate, SelectCreatable, SimpleLoader, SplitButton, Table, Tabs, TemplatesPullover, TextAreaInput, TextInput, TimeInput, Tooltip, Tree, areStringArraysEqual, buildFetchOptions, calculateFilesSize, checkIfExpired, compareArrayItemsIndex, convertArrayToBooleanObject, convertBooleanObjectToArray, convertReportTemplateFilterToSearch, convertSearchToReportTemplateFilter, dataURLtoFile, dateAddDays, deepCopy, deleteEmptyProps, deleteEmptyPropsIncludingArray, deleteProps, deletePropsThatEndsWith, downloadDocumentFile, downloadFile, flattenTreeForSelect, formatBooleanToStringValue, 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, useHideZendesk, useIsMenuOpen, useOnEsc, usePopupControl, useTableColumns, useTableEdit, useTableFilterFields, useTablePagination, useTablePrint, useTableSearch, useTableSelect, useTableSort };
|
|
1671
1692
|
export type { DeepPartial, IAlertProps, IAnyObject, IBooleanObject, IError, IFormWrapper, IGetPrintData, IHeaderAction, IHeaderUserMenuProps, IKeyboardAction, ILocalPopupControl, IMenuItem, IMenuPlacement, INotification, INotificationsProps, IPagination, IPaginationControl, IPopupControl, IPrintData, IReportTemplate, IReportTemplateData, IReportTemplateFilterValue, IRoute, ISelectData, ISidebarItem, ISimpleObject, ISimpleObjectWithCode, IStringObject, ITab, ITable, ITableColumn, ITableDataActions, ITableDataItem, ITableDataItemCells, ITableEdit, ITableEditSubmit, ITableFilter, ITableFilterData, ITableFilterItem, ITableItemDeleteData, ITableSearchProps, ITableSort, ITableTemplateData, ITreeItem, IValueLabel, IPopupControlRef as PopupControlRef };
|