@inceptionbg/iui 2.0.69 → 2.0.71
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 +50 -45
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -596,7 +596,7 @@ interface ITreeItem {
|
|
|
596
596
|
children?: ITreeItem[];
|
|
597
597
|
}
|
|
598
598
|
|
|
599
|
-
interface Props$
|
|
599
|
+
interface Props$s {
|
|
600
600
|
tabs: ITab[];
|
|
601
601
|
initialValue?: string;
|
|
602
602
|
compact?: boolean;
|
|
@@ -608,30 +608,30 @@ interface Props$r {
|
|
|
608
608
|
className?: string;
|
|
609
609
|
classNameContent?: string;
|
|
610
610
|
}
|
|
611
|
-
declare const Accordions: FC<Props$
|
|
611
|
+
declare const Accordions: FC<Props$s>;
|
|
612
612
|
|
|
613
|
-
interface Props$
|
|
613
|
+
interface Props$r {
|
|
614
614
|
label: string;
|
|
615
615
|
color: IInfoType | 'gray';
|
|
616
616
|
className?: string;
|
|
617
617
|
}
|
|
618
|
-
declare const DotBadge: FC<Props$
|
|
618
|
+
declare const DotBadge: FC<Props$r>;
|
|
619
619
|
|
|
620
|
-
interface Props$
|
|
620
|
+
interface Props$q {
|
|
621
621
|
number?: number;
|
|
622
622
|
className?: string;
|
|
623
623
|
size?: 's' | 'm';
|
|
624
624
|
children?: ReactNode;
|
|
625
625
|
color?: IInfoType | 'primary';
|
|
626
626
|
}
|
|
627
|
-
declare const NotificationBadge: FC<Props$
|
|
627
|
+
declare const NotificationBadge: FC<Props$q>;
|
|
628
628
|
|
|
629
|
-
interface Props$
|
|
629
|
+
interface Props$p {
|
|
630
630
|
label: string;
|
|
631
631
|
color: IInfoType | 'gray';
|
|
632
632
|
className?: string;
|
|
633
633
|
}
|
|
634
|
-
declare const PillBadge: FC<Props$
|
|
634
|
+
declare const PillBadge: FC<Props$p>;
|
|
635
635
|
|
|
636
636
|
interface IIconButtonProps {
|
|
637
637
|
id?: string;
|
|
@@ -672,7 +672,7 @@ declare const Dashboard: FC<{
|
|
|
672
672
|
children: ReactNode;
|
|
673
673
|
}>;
|
|
674
674
|
|
|
675
|
-
interface Props$
|
|
675
|
+
interface Props$o {
|
|
676
676
|
title: string;
|
|
677
677
|
icon?: IconDefinition;
|
|
678
678
|
type?: 'warning' | 'info';
|
|
@@ -680,16 +680,16 @@ interface Props$n {
|
|
|
680
680
|
isLoading?: boolean;
|
|
681
681
|
children: ReactNode;
|
|
682
682
|
}
|
|
683
|
-
declare const DashboardWidget: FC<Props$
|
|
683
|
+
declare const DashboardWidget: FC<Props$o>;
|
|
684
684
|
|
|
685
|
-
interface Props$
|
|
685
|
+
interface Props$n {
|
|
686
686
|
links: {
|
|
687
687
|
icon?: IconDefinition;
|
|
688
688
|
label: string;
|
|
689
689
|
onClick: () => void;
|
|
690
690
|
}[];
|
|
691
691
|
}
|
|
692
|
-
declare const FastLinksWidget: FC<Props$
|
|
692
|
+
declare const FastLinksWidget: FC<Props$n>;
|
|
693
693
|
|
|
694
694
|
interface IDialogFooterActions {
|
|
695
695
|
confirmButton?: {
|
|
@@ -749,16 +749,16 @@ type DeclarativeDialogProps = {
|
|
|
749
749
|
onClose: () => void;
|
|
750
750
|
control?: never;
|
|
751
751
|
};
|
|
752
|
-
type Props$
|
|
753
|
-
declare const Dialog: FC<Props$
|
|
752
|
+
type Props$m = BaseProps & (ImperativeDialogProps | DeclarativeDialogProps);
|
|
753
|
+
declare const Dialog: FC<Props$m>;
|
|
754
754
|
|
|
755
|
-
interface Props$
|
|
755
|
+
interface Props$l {
|
|
756
756
|
isOpen: boolean;
|
|
757
757
|
children: ReactNode;
|
|
758
758
|
keepContentInDom?: boolean;
|
|
759
759
|
className?: string;
|
|
760
760
|
}
|
|
761
|
-
declare const Collapse: FC<Props$
|
|
761
|
+
declare const Collapse: FC<Props$l>;
|
|
762
762
|
|
|
763
763
|
interface ICheckboxProps {
|
|
764
764
|
label?: string;
|
|
@@ -852,7 +852,7 @@ interface IPasswordInputProps {
|
|
|
852
852
|
}
|
|
853
853
|
declare const PasswordInput: FC<IPasswordInputProps>;
|
|
854
854
|
|
|
855
|
-
interface Props$
|
|
855
|
+
interface Props$k {
|
|
856
856
|
label?: string;
|
|
857
857
|
value?: string;
|
|
858
858
|
setValue: (value: string) => void;
|
|
@@ -864,7 +864,7 @@ interface Props$j {
|
|
|
864
864
|
className?: string;
|
|
865
865
|
ref?: Ref<HTMLInputElement>;
|
|
866
866
|
}
|
|
867
|
-
declare const PhoneInput: FC<Props$
|
|
867
|
+
declare const PhoneInput: FC<Props$k>;
|
|
868
868
|
|
|
869
869
|
interface IRadioProps {
|
|
870
870
|
label?: string;
|
|
@@ -898,7 +898,7 @@ interface IRadioGroupProps {
|
|
|
898
898
|
}
|
|
899
899
|
declare const RadioGroup: FC<IRadioGroupProps>;
|
|
900
900
|
|
|
901
|
-
interface Props$
|
|
901
|
+
interface Props$j {
|
|
902
902
|
title?: string | ReactElement;
|
|
903
903
|
desc?: string | ReactElement;
|
|
904
904
|
value: string;
|
|
@@ -908,7 +908,7 @@ interface Props$i {
|
|
|
908
908
|
className?: string;
|
|
909
909
|
children?: ReactNode;
|
|
910
910
|
}
|
|
911
|
-
declare const RadioLarge: FC<Props$
|
|
911
|
+
declare const RadioLarge: FC<Props$j>;
|
|
912
912
|
|
|
913
913
|
interface IProps {
|
|
914
914
|
label?: string;
|
|
@@ -1000,13 +1000,13 @@ interface IListItem {
|
|
|
1000
1000
|
disabled?: boolean;
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
1003
|
-
interface Props$
|
|
1003
|
+
interface Props$i {
|
|
1004
1004
|
items?: IListItem[];
|
|
1005
1005
|
noItemsMessage?: string;
|
|
1006
1006
|
}
|
|
1007
|
-
declare const List: FC<Props$
|
|
1007
|
+
declare const List: FC<Props$i>;
|
|
1008
1008
|
|
|
1009
|
-
interface Props$
|
|
1009
|
+
interface Props$h {
|
|
1010
1010
|
isLoading: boolean;
|
|
1011
1011
|
isFullPage?: boolean;
|
|
1012
1012
|
classNameLoader?: string;
|
|
@@ -1015,7 +1015,7 @@ interface Props$g {
|
|
|
1015
1015
|
children: ReactElement | ReactNode;
|
|
1016
1016
|
}>;
|
|
1017
1017
|
}
|
|
1018
|
-
declare const Loader: FC<Props$
|
|
1018
|
+
declare const Loader: FC<Props$h>;
|
|
1019
1019
|
declare const SimpleLoader: FC<{
|
|
1020
1020
|
isLoading?: boolean;
|
|
1021
1021
|
}>;
|
|
@@ -1024,13 +1024,13 @@ declare const FullScreenLoader: FC<{
|
|
|
1024
1024
|
}>;
|
|
1025
1025
|
declare const LazyLoader: FC;
|
|
1026
1026
|
|
|
1027
|
-
interface Props$
|
|
1027
|
+
interface Props$g {
|
|
1028
1028
|
progress?: number;
|
|
1029
1029
|
label?: string;
|
|
1030
1030
|
}
|
|
1031
|
-
declare const ProgressBar: FC<Props$
|
|
1031
|
+
declare const ProgressBar: FC<Props$g>;
|
|
1032
1032
|
|
|
1033
|
-
interface Props$
|
|
1033
|
+
interface Props$f {
|
|
1034
1034
|
id?: string;
|
|
1035
1035
|
isOpen: boolean;
|
|
1036
1036
|
onClose: () => void;
|
|
@@ -1041,17 +1041,17 @@ interface Props$e {
|
|
|
1041
1041
|
className?: string;
|
|
1042
1042
|
children?: ReactNode;
|
|
1043
1043
|
}
|
|
1044
|
-
declare const Menu: FC<Props$
|
|
1044
|
+
declare const Menu: FC<Props$f>;
|
|
1045
1045
|
|
|
1046
1046
|
declare const MenuItem: FC<IMenuItem>;
|
|
1047
1047
|
|
|
1048
|
-
interface Props$
|
|
1048
|
+
interface Props$e {
|
|
1049
1049
|
className?: string;
|
|
1050
1050
|
children: ReactNode;
|
|
1051
1051
|
}
|
|
1052
|
-
declare const ScrollableContent: FC<Props$
|
|
1052
|
+
declare const ScrollableContent: FC<Props$e>;
|
|
1053
1053
|
|
|
1054
|
-
interface Props$
|
|
1054
|
+
interface Props$d {
|
|
1055
1055
|
id?: string;
|
|
1056
1056
|
control: ILocalPopupControl;
|
|
1057
1057
|
header?: {
|
|
@@ -1074,9 +1074,9 @@ interface Props$c {
|
|
|
1074
1074
|
portalTarget?: HTMLElement;
|
|
1075
1075
|
children: ReactNode;
|
|
1076
1076
|
}
|
|
1077
|
-
declare const Pullover: FC<Props$
|
|
1077
|
+
declare const Pullover: FC<Props$d>;
|
|
1078
1078
|
|
|
1079
|
-
interface Props$
|
|
1079
|
+
interface Props$c {
|
|
1080
1080
|
modules: {
|
|
1081
1081
|
name: string;
|
|
1082
1082
|
icon: IconDefinition;
|
|
@@ -1089,9 +1089,9 @@ interface Props$b {
|
|
|
1089
1089
|
} | null;
|
|
1090
1090
|
businessYear?: string;
|
|
1091
1091
|
}
|
|
1092
|
-
declare const ModuleSelect: FC<Props$
|
|
1092
|
+
declare const ModuleSelect: FC<Props$c>;
|
|
1093
1093
|
|
|
1094
|
-
interface Props$
|
|
1094
|
+
interface Props$b {
|
|
1095
1095
|
customAppProps?: {
|
|
1096
1096
|
title?: string;
|
|
1097
1097
|
logo?: ReactElement;
|
|
@@ -1101,7 +1101,7 @@ interface Props$a {
|
|
|
1101
1101
|
notificationsProps?: INotificationsProps;
|
|
1102
1102
|
children?: ReactNode;
|
|
1103
1103
|
}
|
|
1104
|
-
declare const Header: FC<Props$
|
|
1104
|
+
declare const Header: FC<Props$b>;
|
|
1105
1105
|
|
|
1106
1106
|
type IOrgLogo = 'MTS' | 'PPL' | 'INC';
|
|
1107
1107
|
|
|
@@ -1113,37 +1113,42 @@ interface ISidebarProps {
|
|
|
1113
1113
|
}
|
|
1114
1114
|
declare const Sidebar: FC<ISidebarProps>;
|
|
1115
1115
|
|
|
1116
|
-
interface Props$
|
|
1116
|
+
interface Props$a {
|
|
1117
1117
|
fullScreenRoutes: IRoute[];
|
|
1118
1118
|
appRoutes: IRoute[];
|
|
1119
1119
|
header: ComponentProps<typeof Header>;
|
|
1120
1120
|
sidebar?: ComponentProps<typeof Sidebar>;
|
|
1121
1121
|
}
|
|
1122
|
-
declare const Router: FC<Props$
|
|
1122
|
+
declare const Router: FC<Props$a>;
|
|
1123
1123
|
|
|
1124
|
-
interface Props$
|
|
1124
|
+
interface Props$9 {
|
|
1125
1125
|
isOpen: boolean;
|
|
1126
1126
|
onClose: () => void;
|
|
1127
1127
|
onSubmit: (email: string) => void;
|
|
1128
1128
|
totalRows: number;
|
|
1129
1129
|
}
|
|
1130
|
-
declare const LargePrintEmailDialog: FC<Props$
|
|
1130
|
+
declare const LargePrintEmailDialog: FC<Props$9>;
|
|
1131
1131
|
|
|
1132
|
-
interface Props$
|
|
1132
|
+
interface Props$8 {
|
|
1133
1133
|
control: ILocalPopupControl;
|
|
1134
1134
|
createItem: ITableTemplateData['createItem'];
|
|
1135
1135
|
title?: string;
|
|
1136
1136
|
}
|
|
1137
|
-
declare const CreateTemplateDialog: FC<Props$
|
|
1137
|
+
declare const CreateTemplateDialog: FC<Props$8>;
|
|
1138
1138
|
|
|
1139
|
-
interface Props$
|
|
1139
|
+
interface Props$7 {
|
|
1140
1140
|
templateData: ITableTemplateData;
|
|
1141
1141
|
onItemClick: (item: IReportTemplate) => void;
|
|
1142
1142
|
onResetTemplate?: () => void;
|
|
1143
1143
|
createDialogTitle?: string;
|
|
1144
1144
|
hideDefaultTemplateOption?: boolean;
|
|
1145
1145
|
}
|
|
1146
|
-
declare const TemplatesPullover: FC<Props$
|
|
1146
|
+
declare const TemplatesPullover: FC<Props$7>;
|
|
1147
|
+
|
|
1148
|
+
interface Props$6 {
|
|
1149
|
+
item: ITableFilterItem;
|
|
1150
|
+
}
|
|
1151
|
+
declare const FilterItem: FC<Props$6>;
|
|
1147
1152
|
|
|
1148
1153
|
interface ITableColumnsProps {
|
|
1149
1154
|
defaultColumns: ITableColumn[];
|
|
@@ -1740,5 +1745,5 @@ declare const parseUrlSearch: (search: string) => {
|
|
|
1740
1745
|
[k: string]: string;
|
|
1741
1746
|
};
|
|
1742
1747
|
|
|
1743
|
-
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, RadioGroup, 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, downloadFile, flattenTreeForSelect, formatBooleanToStringValue, formatCurrency, formatCurrencyNoDecimals, formatDate, formatDateAndTime, formatDateYMD, formatDecimalNumber, formatTime, formatYearMonth, getActiveFilterNumber, getBase64FromFile, getBase64FromUrl, getCurrentDateFormatted, getCurrentDateFormattedYMD, getDaysLeft, getExtensionFromFilename, getFileFromUrl, getInputHelperText, getInputMinMaxPattern, getPrintColumns, getVisibleColumnsIds, i18nIUICyrilic, i18nIUILatin, i18nIUIMe, inputPattern, intersectArrays, maxChar, parseUrlSearch, rootDir, rotateBase64Image, setTemplateData, sizeInBytesPretty, splitBase64File, tableCustomLimit1000, toastError, toastSuccess, useHideZendesk, useIsMenuOpen, useOnEsc, usePopupControl, useTableColumns, useTableEdit, useTableFilterFields, useTablePagination, useTablePrint, useTableSearch, useTableSelect, useTableSort };
|
|
1748
|
+
export { Accordions, Alert, Button, Checkbox, Collapse, ConditionalWrapper, CreateTemplateDialog, CurrencyInput, Dashboard, DashboardWidget, DateInput, Dialog, DotBadge, FastLinksWidget, FilterItem, FormWrapper, FullScreenLoader, IconButton, LargePrintEmailDialog, LazyLoader, List, Loader, Menu, MenuItem, NotificationBadge, NumberInput, PageLayout, PasswordInput, PhoneInput, PillBadge, ProgressBar, Pullover, Radio, RadioGroup, 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, downloadFile, flattenTreeForSelect, formatBooleanToStringValue, formatCurrency, formatCurrencyNoDecimals, formatDate, formatDateAndTime, formatDateYMD, formatDecimalNumber, formatTime, formatYearMonth, getActiveFilterNumber, getBase64FromFile, getBase64FromUrl, getCurrentDateFormatted, getCurrentDateFormattedYMD, getDaysLeft, getExtensionFromFilename, getFileFromUrl, getInputHelperText, getInputMinMaxPattern, getPrintColumns, getVisibleColumnsIds, i18nIUICyrilic, i18nIUILatin, i18nIUIMe, inputPattern, intersectArrays, maxChar, parseUrlSearch, rootDir, rotateBase64Image, setTemplateData, sizeInBytesPretty, splitBase64File, tableCustomLimit1000, toastError, toastSuccess, useHideZendesk, useIsMenuOpen, useOnEsc, usePopupControl, useTableColumns, useTableEdit, useTableFilterFields, useTablePagination, useTablePrint, useTableSearch, useTableSelect, useTableSort };
|
|
1744
1749
|
export type { DeepPartial, IAlertProps, IAnyObject, IBooleanObject, IError, IFormWrapper, IGetPrintData, IHeaderAction, IHeaderUserMenuDialogsProps, 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 };
|