@inceptionbg/iui 2.0.71 → 3.0.2

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
@@ -61,8 +61,8 @@ interface ISidebarItem {
61
61
  content?: ISidebarSubItem[];
62
62
  menu?: {
63
63
  content: ISidebarSubItem[];
64
- openedMenu: string;
65
- setOpenedMenu: (label: string) => void;
64
+ isOpen: boolean;
65
+ toggle: () => void;
66
66
  };
67
67
  hidden?: boolean;
68
68
  badge?: number;
@@ -596,7 +596,7 @@ interface ITreeItem {
596
596
  children?: ITreeItem[];
597
597
  }
598
598
 
599
- interface Props$s {
599
+ interface Props$r {
600
600
  tabs: ITab[];
601
601
  initialValue?: string;
602
602
  compact?: boolean;
@@ -608,30 +608,30 @@ interface Props$s {
608
608
  className?: string;
609
609
  classNameContent?: string;
610
610
  }
611
- declare const Accordions: FC<Props$s>;
611
+ declare const Accordions: FC<Props$r>;
612
612
 
613
- interface Props$r {
613
+ interface Props$q {
614
614
  label: string;
615
615
  color: IInfoType | 'gray';
616
616
  className?: string;
617
617
  }
618
- declare const DotBadge: FC<Props$r>;
618
+ declare const DotBadge: FC<Props$q>;
619
619
 
620
- interface Props$q {
620
+ interface Props$p {
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$q>;
627
+ declare const NotificationBadge: FC<Props$p>;
628
628
 
629
- interface Props$p {
629
+ interface Props$o {
630
630
  label: string;
631
631
  color: IInfoType | 'gray';
632
632
  className?: string;
633
633
  }
634
- declare const PillBadge: FC<Props$p>;
634
+ declare const PillBadge: FC<Props$o>;
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$o {
675
+ interface Props$n {
676
676
  title: string;
677
677
  icon?: IconDefinition;
678
678
  type?: 'warning' | 'info';
@@ -680,16 +680,16 @@ interface Props$o {
680
680
  isLoading?: boolean;
681
681
  children: ReactNode;
682
682
  }
683
- declare const DashboardWidget: FC<Props$o>;
683
+ declare const DashboardWidget: FC<Props$n>;
684
684
 
685
- interface Props$n {
685
+ interface Props$m {
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$n>;
692
+ declare const FastLinksWidget: FC<Props$m>;
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$m = BaseProps & (ImperativeDialogProps | DeclarativeDialogProps);
753
- declare const Dialog: FC<Props$m>;
752
+ type Props$l = BaseProps & (ImperativeDialogProps | DeclarativeDialogProps);
753
+ declare const Dialog: FC<Props$l>;
754
754
 
755
- interface Props$l {
755
+ interface Props$k {
756
756
  isOpen: boolean;
757
757
  children: ReactNode;
758
758
  keepContentInDom?: boolean;
759
759
  className?: string;
760
760
  }
761
- declare const Collapse: FC<Props$l>;
761
+ declare const Collapse: FC<Props$k>;
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$k {
855
+ interface Props$j {
856
856
  label?: string;
857
857
  value?: string;
858
858
  setValue: (value: string) => void;
@@ -864,7 +864,7 @@ interface Props$k {
864
864
  className?: string;
865
865
  ref?: Ref<HTMLInputElement>;
866
866
  }
867
- declare const PhoneInput: FC<Props$k>;
867
+ declare const PhoneInput: FC<Props$j>;
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$j {
901
+ interface Props$i {
902
902
  title?: string | ReactElement;
903
903
  desc?: string | ReactElement;
904
904
  value: string;
@@ -908,7 +908,7 @@ interface Props$j {
908
908
  className?: string;
909
909
  children?: ReactNode;
910
910
  }
911
- declare const RadioLarge: FC<Props$j>;
911
+ declare const RadioLarge: FC<Props$i>;
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$i {
1003
+ interface Props$h {
1004
1004
  items?: IListItem[];
1005
1005
  noItemsMessage?: string;
1006
1006
  }
1007
- declare const List: FC<Props$i>;
1007
+ declare const List: FC<Props$h>;
1008
1008
 
1009
- interface Props$h {
1009
+ interface Props$g {
1010
1010
  isLoading: boolean;
1011
1011
  isFullPage?: boolean;
1012
1012
  classNameLoader?: string;
@@ -1015,7 +1015,7 @@ interface Props$h {
1015
1015
  children: ReactElement | ReactNode;
1016
1016
  }>;
1017
1017
  }
1018
- declare const Loader: FC<Props$h>;
1018
+ declare const Loader: FC<Props$g>;
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$g {
1027
+ interface Props$f {
1028
1028
  progress?: number;
1029
1029
  label?: string;
1030
1030
  }
1031
- declare const ProgressBar: FC<Props$g>;
1031
+ declare const ProgressBar: FC<Props$f>;
1032
1032
 
1033
- interface Props$f {
1033
+ interface Props$e {
1034
1034
  id?: string;
1035
1035
  isOpen: boolean;
1036
1036
  onClose: () => void;
@@ -1041,17 +1041,17 @@ interface Props$f {
1041
1041
  className?: string;
1042
1042
  children?: ReactNode;
1043
1043
  }
1044
- declare const Menu: FC<Props$f>;
1044
+ declare const Menu: FC<Props$e>;
1045
1045
 
1046
1046
  declare const MenuItem: FC<IMenuItem>;
1047
1047
 
1048
- interface Props$e {
1048
+ interface Props$d {
1049
1049
  className?: string;
1050
1050
  children: ReactNode;
1051
1051
  }
1052
- declare const ScrollableContent: FC<Props$e>;
1052
+ declare const ScrollableContent: FC<Props$d>;
1053
1053
 
1054
- interface Props$d {
1054
+ interface Props$c {
1055
1055
  id?: string;
1056
1056
  control: ILocalPopupControl;
1057
1057
  header?: {
@@ -1074,9 +1074,9 @@ interface Props$d {
1074
1074
  portalTarget?: HTMLElement;
1075
1075
  children: ReactNode;
1076
1076
  }
1077
- declare const Pullover: FC<Props$d>;
1077
+ declare const Pullover: FC<Props$c>;
1078
1078
 
1079
- interface Props$c {
1079
+ interface Props$b {
1080
1080
  modules: {
1081
1081
  name: string;
1082
1082
  icon: IconDefinition;
@@ -1089,9 +1089,9 @@ interface Props$c {
1089
1089
  } | null;
1090
1090
  businessYear?: string;
1091
1091
  }
1092
- declare const ModuleSelect: FC<Props$c>;
1092
+ declare const ModuleSelect: FC<Props$b>;
1093
1093
 
1094
- interface Props$b {
1094
+ interface Props$a {
1095
1095
  customAppProps?: {
1096
1096
  title?: string;
1097
1097
  logo?: ReactElement;
@@ -1101,7 +1101,7 @@ interface Props$b {
1101
1101
  notificationsProps?: INotificationsProps;
1102
1102
  children?: ReactNode;
1103
1103
  }
1104
- declare const Header: FC<Props$b>;
1104
+ declare const Header: FC<Props$a>;
1105
1105
 
1106
1106
  type IOrgLogo = 'MTS' | 'PPL' | 'INC';
1107
1107
 
@@ -1110,45 +1110,46 @@ interface ISidebarProps {
1110
1110
  logo?: IOrgLogo;
1111
1111
  customLogo?: string;
1112
1112
  appVersion?: string;
1113
+ header?: {
1114
+ monogram?: string;
1115
+ title: string;
1116
+ subtitle?: string;
1117
+ };
1118
+ topContent?: ReactNode;
1113
1119
  }
1114
1120
  declare const Sidebar: FC<ISidebarProps>;
1115
1121
 
1116
- interface Props$a {
1122
+ interface Props$9 {
1117
1123
  fullScreenRoutes: IRoute[];
1118
1124
  appRoutes: IRoute[];
1119
1125
  header: ComponentProps<typeof Header>;
1120
1126
  sidebar?: ComponentProps<typeof Sidebar>;
1121
1127
  }
1122
- declare const Router: FC<Props$a>;
1128
+ declare const Router: FC<Props$9>;
1123
1129
 
1124
- interface Props$9 {
1130
+ interface Props$8 {
1125
1131
  isOpen: boolean;
1126
1132
  onClose: () => void;
1127
1133
  onSubmit: (email: string) => void;
1128
1134
  totalRows: number;
1129
1135
  }
1130
- declare const LargePrintEmailDialog: FC<Props$9>;
1136
+ declare const LargePrintEmailDialog: FC<Props$8>;
1131
1137
 
1132
- interface Props$8 {
1138
+ interface Props$7 {
1133
1139
  control: ILocalPopupControl;
1134
1140
  createItem: ITableTemplateData['createItem'];
1135
1141
  title?: string;
1136
1142
  }
1137
- declare const CreateTemplateDialog: FC<Props$8>;
1143
+ declare const CreateTemplateDialog: FC<Props$7>;
1138
1144
 
1139
- interface Props$7 {
1145
+ interface Props$6 {
1140
1146
  templateData: ITableTemplateData;
1141
1147
  onItemClick: (item: IReportTemplate) => void;
1142
1148
  onResetTemplate?: () => void;
1143
1149
  createDialogTitle?: string;
1144
1150
  hideDefaultTemplateOption?: boolean;
1145
1151
  }
1146
- declare const TemplatesPullover: FC<Props$7>;
1147
-
1148
- interface Props$6 {
1149
- item: ITableFilterItem;
1150
- }
1151
- declare const FilterItem: FC<Props$6>;
1152
+ declare const TemplatesPullover: FC<Props$6>;
1152
1153
 
1153
1154
  interface ITableColumnsProps {
1154
1155
  defaultColumns: ITableColumn[];
@@ -1745,5 +1746,5 @@ declare const parseUrlSearch: (search: string) => {
1745
1746
  [k: string]: string;
1746
1747
  };
1747
1748
 
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 };
1749
+ 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 };
1749
1750
  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 };