@inceptionbg/iui 2.0.42 → 2.0.44
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 +58 -40
- 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
|
@@ -426,6 +426,7 @@ interface IBasePrintData {
|
|
|
426
426
|
}[];
|
|
427
427
|
};
|
|
428
428
|
saveXlsx?: () => void;
|
|
429
|
+
onClick?: () => Promise<boolean>;
|
|
429
430
|
}
|
|
430
431
|
type IGetPrintData<T> = (props: {
|
|
431
432
|
pagination: IPagination;
|
|
@@ -584,7 +585,7 @@ interface ITreeItem {
|
|
|
584
585
|
children?: ITreeItem[];
|
|
585
586
|
}
|
|
586
587
|
|
|
587
|
-
interface Props$
|
|
588
|
+
interface Props$r {
|
|
588
589
|
tabs: ITab[];
|
|
589
590
|
initialValue?: string;
|
|
590
591
|
compact?: boolean;
|
|
@@ -596,30 +597,30 @@ interface Props$q {
|
|
|
596
597
|
className?: string;
|
|
597
598
|
classNameContent?: string;
|
|
598
599
|
}
|
|
599
|
-
declare const Accordions: FC<Props$
|
|
600
|
+
declare const Accordions: FC<Props$r>;
|
|
600
601
|
|
|
601
|
-
interface Props$
|
|
602
|
+
interface Props$q {
|
|
602
603
|
label: string;
|
|
603
604
|
color: IInfoType | 'gray';
|
|
604
605
|
className?: string;
|
|
605
606
|
}
|
|
606
|
-
declare const DotBadge: FC<Props$
|
|
607
|
+
declare const DotBadge: FC<Props$q>;
|
|
607
608
|
|
|
608
|
-
interface Props$
|
|
609
|
+
interface Props$p {
|
|
609
610
|
number?: number;
|
|
610
611
|
className?: string;
|
|
611
612
|
size?: 's' | 'm';
|
|
612
613
|
children?: ReactNode;
|
|
613
614
|
color?: IInfoType | 'primary';
|
|
614
615
|
}
|
|
615
|
-
declare const NotificationBadge: FC<Props$
|
|
616
|
+
declare const NotificationBadge: FC<Props$p>;
|
|
616
617
|
|
|
617
|
-
interface Props$
|
|
618
|
+
interface Props$o {
|
|
618
619
|
label: string;
|
|
619
620
|
color: IInfoType | 'gray';
|
|
620
621
|
className?: string;
|
|
621
622
|
}
|
|
622
|
-
declare const PillBadge: FC<Props$
|
|
623
|
+
declare const PillBadge: FC<Props$o>;
|
|
623
624
|
|
|
624
625
|
interface IIconButtonProps {
|
|
625
626
|
icon: IconDefinition;
|
|
@@ -659,24 +660,24 @@ declare const Dashboard: FC<{
|
|
|
659
660
|
children: ReactNode;
|
|
660
661
|
}>;
|
|
661
662
|
|
|
662
|
-
interface Props$
|
|
663
|
+
interface Props$n {
|
|
663
664
|
title: string;
|
|
664
|
-
icon?:
|
|
665
|
+
icon?: IconDefinition;
|
|
665
666
|
type?: 'warning' | 'info';
|
|
666
667
|
span?: 2 | 3 | 4;
|
|
667
668
|
isLoading?: boolean;
|
|
668
669
|
children: ReactNode;
|
|
669
670
|
}
|
|
670
|
-
declare const DashboardWidget: FC<Props$
|
|
671
|
+
declare const DashboardWidget: FC<Props$n>;
|
|
671
672
|
|
|
672
|
-
interface Props$
|
|
673
|
+
interface Props$m {
|
|
673
674
|
links: {
|
|
674
675
|
icon?: IconDefinition;
|
|
675
676
|
label: string;
|
|
676
677
|
onClick: () => void;
|
|
677
678
|
}[];
|
|
678
679
|
}
|
|
679
|
-
declare const FastLinksWidget: FC<Props$
|
|
680
|
+
declare const FastLinksWidget: FC<Props$m>;
|
|
680
681
|
|
|
681
682
|
interface IDialogFooterActions {
|
|
682
683
|
confirmButton?: {
|
|
@@ -734,16 +735,16 @@ type DeclarativeDialogProps = {
|
|
|
734
735
|
onClose: () => void;
|
|
735
736
|
control?: never;
|
|
736
737
|
};
|
|
737
|
-
type Props$
|
|
738
|
-
declare const Dialog: FC<Props$
|
|
738
|
+
type Props$l = BaseProps & (ImperativeDialogProps | DeclarativeDialogProps);
|
|
739
|
+
declare const Dialog: FC<Props$l>;
|
|
739
740
|
|
|
740
|
-
interface Props$
|
|
741
|
+
interface Props$k {
|
|
741
742
|
isOpen: boolean;
|
|
742
743
|
children: ReactNode;
|
|
743
744
|
keepContentInDom?: boolean;
|
|
744
745
|
className?: string;
|
|
745
746
|
}
|
|
746
|
-
declare const Collapse: FC<Props$
|
|
747
|
+
declare const Collapse: FC<Props$k>;
|
|
747
748
|
|
|
748
749
|
interface ICheckboxProps {
|
|
749
750
|
label?: string;
|
|
@@ -837,7 +838,7 @@ interface IPasswordInputProps {
|
|
|
837
838
|
}
|
|
838
839
|
declare const PasswordInput: FC<IPasswordInputProps>;
|
|
839
840
|
|
|
840
|
-
interface Props$
|
|
841
|
+
interface Props$j {
|
|
841
842
|
label?: string;
|
|
842
843
|
value?: string;
|
|
843
844
|
setValue: (value: string) => void;
|
|
@@ -848,7 +849,7 @@ interface Props$i {
|
|
|
848
849
|
className?: string;
|
|
849
850
|
ref?: Ref<HTMLInputElement>;
|
|
850
851
|
}
|
|
851
|
-
declare const PhoneInput: FC<Props$
|
|
852
|
+
declare const PhoneInput: FC<Props$j>;
|
|
852
853
|
|
|
853
854
|
interface IRadioProps {
|
|
854
855
|
label?: string;
|
|
@@ -865,7 +866,7 @@ interface IRadioProps {
|
|
|
865
866
|
}
|
|
866
867
|
declare const Radio: FC<IRadioProps>;
|
|
867
868
|
|
|
868
|
-
interface Props$
|
|
869
|
+
interface Props$i {
|
|
869
870
|
title?: string | ReactElement;
|
|
870
871
|
desc?: string | ReactElement;
|
|
871
872
|
value: string;
|
|
@@ -875,7 +876,7 @@ interface Props$h {
|
|
|
875
876
|
className?: string;
|
|
876
877
|
children?: ReactNode;
|
|
877
878
|
}
|
|
878
|
-
declare const RadioLarge: FC<Props$
|
|
879
|
+
declare const RadioLarge: FC<Props$i>;
|
|
879
880
|
|
|
880
881
|
interface IProps {
|
|
881
882
|
label?: string;
|
|
@@ -965,13 +966,13 @@ interface IListItem {
|
|
|
965
966
|
disabled?: boolean;
|
|
966
967
|
}
|
|
967
968
|
|
|
968
|
-
interface Props$
|
|
969
|
+
interface Props$h {
|
|
969
970
|
items?: IListItem[];
|
|
970
971
|
noItemsMessage?: string;
|
|
971
972
|
}
|
|
972
|
-
declare const List: FC<Props$
|
|
973
|
+
declare const List: FC<Props$h>;
|
|
973
974
|
|
|
974
|
-
interface Props$
|
|
975
|
+
interface Props$g {
|
|
975
976
|
isLoading: boolean;
|
|
976
977
|
isFullPage?: boolean;
|
|
977
978
|
classNameLoader?: string;
|
|
@@ -980,7 +981,7 @@ interface Props$f {
|
|
|
980
981
|
children: ReactElement | ReactNode;
|
|
981
982
|
}>;
|
|
982
983
|
}
|
|
983
|
-
declare const Loader: FC<Props$
|
|
984
|
+
declare const Loader: FC<Props$g>;
|
|
984
985
|
declare const SimpleLoader: FC<{
|
|
985
986
|
isLoading?: boolean;
|
|
986
987
|
}>;
|
|
@@ -989,13 +990,13 @@ declare const FullScreenLoader: FC<{
|
|
|
989
990
|
}>;
|
|
990
991
|
declare const LazyLoader: FC;
|
|
991
992
|
|
|
992
|
-
interface Props$
|
|
993
|
+
interface Props$f {
|
|
993
994
|
progress?: number;
|
|
994
995
|
label?: string;
|
|
995
996
|
}
|
|
996
|
-
declare const ProgressBar: FC<Props$
|
|
997
|
+
declare const ProgressBar: FC<Props$f>;
|
|
997
998
|
|
|
998
|
-
interface Props$
|
|
999
|
+
interface Props$e {
|
|
999
1000
|
id?: string;
|
|
1000
1001
|
isOpen: boolean;
|
|
1001
1002
|
onClose: () => void;
|
|
@@ -1006,17 +1007,17 @@ interface Props$d {
|
|
|
1006
1007
|
className?: string;
|
|
1007
1008
|
children?: ReactNode;
|
|
1008
1009
|
}
|
|
1009
|
-
declare const Menu: FC<Props$
|
|
1010
|
+
declare const Menu: FC<Props$e>;
|
|
1010
1011
|
|
|
1011
1012
|
declare const MenuItem: FC<IMenuItem>;
|
|
1012
1013
|
|
|
1013
|
-
interface Props$
|
|
1014
|
+
interface Props$d {
|
|
1014
1015
|
className?: string;
|
|
1015
1016
|
children: ReactNode;
|
|
1016
1017
|
}
|
|
1017
|
-
declare const ScrollableContent: FC<Props$
|
|
1018
|
+
declare const ScrollableContent: FC<Props$d>;
|
|
1018
1019
|
|
|
1019
|
-
interface Props$
|
|
1020
|
+
interface Props$c {
|
|
1020
1021
|
id?: string;
|
|
1021
1022
|
control: ILocalPopupControl;
|
|
1022
1023
|
header?: {
|
|
@@ -1035,9 +1036,9 @@ interface Props$b {
|
|
|
1035
1036
|
portalTarget?: HTMLElement;
|
|
1036
1037
|
children: ReactNode;
|
|
1037
1038
|
}
|
|
1038
|
-
declare const Pullover: FC<Props$
|
|
1039
|
+
declare const Pullover: FC<Props$c>;
|
|
1039
1040
|
|
|
1040
|
-
interface Props$
|
|
1041
|
+
interface Props$b {
|
|
1041
1042
|
modules: {
|
|
1042
1043
|
name: string;
|
|
1043
1044
|
icon: IconDefinition;
|
|
@@ -1049,9 +1050,9 @@ interface Props$a {
|
|
|
1049
1050
|
icon: IconDefinition;
|
|
1050
1051
|
} | null;
|
|
1051
1052
|
}
|
|
1052
|
-
declare const ModuleSelect: FC<Props$
|
|
1053
|
+
declare const ModuleSelect: FC<Props$b>;
|
|
1053
1054
|
|
|
1054
|
-
interface Props$
|
|
1055
|
+
interface Props$a {
|
|
1055
1056
|
customAppProps?: {
|
|
1056
1057
|
title?: string;
|
|
1057
1058
|
logo?: ReactElement;
|
|
@@ -1061,7 +1062,7 @@ interface Props$9 {
|
|
|
1061
1062
|
notificationsProps?: INotificationsProps;
|
|
1062
1063
|
children?: ReactNode;
|
|
1063
1064
|
}
|
|
1064
|
-
declare const Header: FC<Props$
|
|
1065
|
+
declare const Header: FC<Props$a>;
|
|
1065
1066
|
|
|
1066
1067
|
type IOrgLogo = 'MTS' | 'PPL' | 'INC';
|
|
1067
1068
|
|
|
@@ -1073,13 +1074,21 @@ interface ISidebarProps {
|
|
|
1073
1074
|
}
|
|
1074
1075
|
declare const Sidebar: FC<ISidebarProps>;
|
|
1075
1076
|
|
|
1076
|
-
interface Props$
|
|
1077
|
+
interface Props$9 {
|
|
1077
1078
|
fullScreenRoutes: IRoute[];
|
|
1078
1079
|
appRoutes: IRoute[];
|
|
1079
1080
|
header: ComponentProps<typeof Header>;
|
|
1080
1081
|
sidebar: ComponentProps<typeof Sidebar>;
|
|
1081
1082
|
}
|
|
1082
|
-
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>;
|
|
1083
1092
|
|
|
1084
1093
|
interface Props$7 {
|
|
1085
1094
|
control: ILocalPopupControl;
|
|
@@ -1389,6 +1398,9 @@ declare const i18nIUICyrilic: {
|
|
|
1389
1398
|
NoTemplatesAvailable: string;
|
|
1390
1399
|
PublicTemplate: string;
|
|
1391
1400
|
PrivateTemplate: string;
|
|
1401
|
+
ReportIsBeingGenerated: string;
|
|
1402
|
+
DueToLargeAmountOfDataReportIsBeingSentToEmail: string;
|
|
1403
|
+
TotalRows: string;
|
|
1392
1404
|
FastLinks: string;
|
|
1393
1405
|
CharMin: string;
|
|
1394
1406
|
CharRange: string;
|
|
@@ -1480,6 +1492,9 @@ declare const i18nIUILatin: {
|
|
|
1480
1492
|
NoTemplatesAvailable: string;
|
|
1481
1493
|
PublicTemplate: string;
|
|
1482
1494
|
PrivateTemplate: string;
|
|
1495
|
+
ReportIsBeingGenerated: string;
|
|
1496
|
+
DueToLargeAmountOfDataReportIsBeingSentToEmail: string;
|
|
1497
|
+
TotalRows: string;
|
|
1483
1498
|
FastLinks: string;
|
|
1484
1499
|
CharMin: string;
|
|
1485
1500
|
CharRange: string;
|
|
@@ -1571,6 +1586,9 @@ declare const i18nIUIMe: {
|
|
|
1571
1586
|
NoTemplatesAvailable: string;
|
|
1572
1587
|
PublicTemplate: string;
|
|
1573
1588
|
PrivateTemplate: string;
|
|
1589
|
+
ReportIsBeingGenerated: string;
|
|
1590
|
+
DueToLargeAmountOfDataReportIsBeingSentToEmail: string;
|
|
1591
|
+
TotalRows: string;
|
|
1574
1592
|
FastLinks: string;
|
|
1575
1593
|
CharMin: string;
|
|
1576
1594
|
CharRange: string;
|
|
@@ -1670,5 +1688,5 @@ declare const parseUrlSearch: (search: string) => {
|
|
|
1670
1688
|
[k: string]: string;
|
|
1671
1689
|
};
|
|
1672
1690
|
|
|
1673
|
-
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 };
|
|
1674
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 };
|