react-luminus-components 1.3.33 → 1.3.35

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.
Files changed (171) hide show
  1. package/dist/components/BnfTableValueFormats/UserAvatarValueFormat/UserAvatarValueFormat.d.ts +2 -1
  2. package/dist/components/Buttons/ContextButton/ContextButton.d.ts +1 -0
  3. package/dist/components/Buttons/ContextButton/FileUploadContextButton.d.ts +1 -0
  4. package/dist/components/Buttons/FloatingSubmit/FloatingFormSubmit.d.ts +1 -0
  5. package/dist/components/Buttons/IconButton/IconButton.d.ts +1 -0
  6. package/dist/components/Buttons/PrimaryButton/PrimaryButton.d.ts +1 -0
  7. package/dist/components/Dropdown/Dropdown.d.ts +1 -0
  8. package/dist/components/Dropdown/comps/DropdownDivider/DropdownDivider.d.ts +2 -1
  9. package/dist/components/Dropdown/comps/DropdownItem/DropdownItem.d.ts +1 -0
  10. package/dist/components/Dropdown/comps/DropdownItem/FileUploadDropdownItem.d.ts +1 -0
  11. package/dist/components/Dropdown/comps/DropdownToggle/DropdownToggle.d.ts +1 -0
  12. package/dist/components/Dropdown/comps/SimpleToggle/SimpleToggle.d.ts +5 -4
  13. package/dist/components/Dropdown/comps/UserAvatarToggle/UserAvatarToggle.d.ts +2 -1
  14. package/dist/components/Form/CheckInput/CheckInput.d.ts +2 -1
  15. package/dist/components/Form/DropdownPicker/DropdownPicker.d.ts +2 -1
  16. package/dist/components/Form/NumericStepperInput/NumericStepperInput.d.ts +2 -1
  17. package/dist/components/Form/SelectInput/SelectInput.d.ts +2 -1
  18. package/dist/components/Form/TextAreaInput/TextAreaInput.d.ts +2 -1
  19. package/dist/components/Form/TextInput/TextInput.d.ts +2 -1
  20. package/dist/components/HookForm/CheckInput/HookFormCheckInput.d.ts +2 -1
  21. package/dist/components/HookForm/CustomSelectInput/CustomSelectInput.d.ts +2 -1
  22. package/dist/components/HookForm/DropdownPicker/HookFormDropdownPicker.d.ts +3 -2
  23. package/dist/components/HookForm/FileInput/HookFormFileInput.d.ts +2 -1
  24. package/dist/components/HookForm/FloatingSubmit/HookFormFloatingSubmit.d.ts +1 -0
  25. package/dist/components/HookForm/NumericStepperInput/HookFormNumericStepperInput.d.ts +2 -1
  26. package/dist/components/HookForm/RadioInput/HookFormRadioInput.d.ts +2 -1
  27. package/dist/components/HookForm/SelectInput/HookFormSelectInput.d.ts +2 -1
  28. package/dist/components/HookForm/TextAreaInput/HookFormTextAreaInput.d.ts +2 -1
  29. package/dist/components/HookForm/TextInput/HookFormTextInput.d.ts +2 -1
  30. package/dist/components/InputContainers/FloatingLabelInput/FloatingLabelInput.d.ts +23 -22
  31. package/dist/components/InputContainers/InputAnchorContainer/InputAnchorContainer.d.ts +2 -1
  32. package/dist/components/InputContainers/NoInputContainer/NoInputContainer.d.ts +23 -22
  33. package/dist/components/InputContainers/RowLabelInput/RowLabelInput.d.ts +23 -22
  34. package/dist/components/Layout/MessageBoard/MessageBoard.d.ts +2 -1
  35. package/dist/components/Layout/MessageBoard/components/MessageList/MessageList.d.ts +2 -1
  36. package/dist/components/Layout/MessageBoard/components/MessageList/comps/MessageFilters/MessageFilters.d.ts +1 -0
  37. package/dist/components/Layout/MessageBoard/components/MessageList/comps/MessageItem/MessageItem.d.ts +2 -1
  38. package/dist/components/NewTabs/Tab/Tab.d.ts +1 -0
  39. package/dist/components/NewTabs/TabPanel/TabPanel.d.ts +1 -0
  40. package/dist/components/NewTabs/Tabs/Tabs.d.ts +2 -1
  41. package/dist/components/Tabs/Tabs.d.ts +1 -0
  42. package/dist/components/Tabs/comps/Tab/Tab.d.ts +1 -0
  43. package/dist/components/Tooltip/HtmlTooltip/HtmlTooltip.d.ts +5 -3
  44. package/dist/components/Tooltip/SimpleTooltip/SimpleTooltip.d.ts +1 -0
  45. package/dist/components/UserAvatar/AvatarIcon/AvatarIcon.d.ts +1 -0
  46. package/dist/components/common/Alert/Alert.d.ts +1 -0
  47. package/dist/components/common/AlertItem/AlertItem.d.ts +1 -0
  48. package/dist/components/common/ApiFileDownloadButton/ApiFileDownloadButton.d.ts +2 -1
  49. package/dist/components/common/AppSearch/AppSearch.d.ts +2 -1
  50. package/dist/components/common/AppSearch/comps/AutocompleteWindow/AutocompleteWindow.d.ts +2 -1
  51. package/dist/components/common/AppSearch/comps/TypeSelector/TypeSelector.d.ts +3 -2
  52. package/dist/components/common/AppSearch/hooks/useSearchItems.d.ts +2 -1
  53. package/dist/components/common/AuthTemplate/AuthTemplate.d.ts +2 -1
  54. package/dist/components/common/Backdrop/Backdrop.d.ts +1 -0
  55. package/dist/components/common/Badge/Badge.d.ts +1 -0
  56. package/dist/components/common/Card/Card.d.ts +1 -0
  57. package/dist/components/common/Collapse/Collapse.d.ts +1 -0
  58. package/dist/components/common/ConfirmDialog/ConfirmDialog.d.ts +1 -0
  59. package/dist/components/common/ErrorBoundary/ErrorBoundary.d.ts +2 -1
  60. package/dist/components/common/FloatingActionContainer/FloatingActionContainer.d.ts +1 -0
  61. package/dist/components/common/FromToDatePicker/FromToDatePicker.d.ts +3 -2
  62. package/dist/components/common/FromToDatePicker/components/FromToDatePickerDropdownToggle/FromToDatePickerDropdownToggle.d.ts +2 -1
  63. package/dist/components/common/FromToDatePicker/hooks/useFromToDatePicker.d.ts +2 -1
  64. package/dist/components/common/FromToDatePicker/utils/utilsFromToDatePicker.d.ts +1 -0
  65. package/dist/components/common/HomeDashboard/HomeDashboard.d.ts +3 -2
  66. package/dist/components/common/HomeDashboard/comps/FreeSpaceWidget/FreeSpaceWidget.d.ts +2 -1
  67. package/dist/components/common/HomeDashboard/comps/WidgetPicker/WidgetPicker.d.ts +2 -1
  68. package/dist/components/common/HomeDashboard/hooks/useUserDashboard.d.ts +2 -1
  69. package/dist/components/common/ImgApi/ImgApi.d.ts +2 -1
  70. package/dist/components/common/ImgApi/hooks/useGetImgData.d.ts +2 -1
  71. package/dist/components/common/ImgDirect/ImgDirect.d.ts +2 -1
  72. package/dist/components/common/InvalidFeedback/InvalidFeedback.d.ts +1 -0
  73. package/dist/components/common/Loading/Loading.d.ts +1 -0
  74. package/dist/components/common/Loading/LoadingBlock.d.ts +1 -0
  75. package/dist/components/common/MonthPicker/MonthPicker.d.ts +1 -0
  76. package/dist/components/common/PhotoLibrary/PhotoLibrary.d.ts +2 -1
  77. package/dist/components/common/PhotoLightbox/PhotoLightbox.d.ts +2 -1
  78. package/dist/components/common/PromptDialog/PromptDialog.d.ts +1 -0
  79. package/dist/components/common/SimplePicker/SimplePicker.d.ts +2 -1
  80. package/dist/components/common/Timeline/Timeline.d.ts +2 -1
  81. package/dist/components/common/Typography/Typography.d.ts +1 -0
  82. package/dist/components/common/VersionInfo/VersionInfo.d.ts +1 -0
  83. package/dist/components/common/Widget/WidgetCard.d.ts +1 -0
  84. package/dist/components/common/Widget/WidgetWrapper.d.ts +1 -0
  85. package/dist/components/common/YearPicker/YearPicker.d.ts +1 -0
  86. package/dist/contexts/auth/AuthContext.d.ts +3 -2
  87. package/dist/contexts/auth/AuthProvider.d.ts +2 -1
  88. package/dist/contexts/confirm/ConfirmContext.d.ts +2 -1
  89. package/dist/contexts/confirm/ConfirmProvider.d.ts +1 -0
  90. package/dist/contexts/delegation/DelegationContext.d.ts +3 -2
  91. package/dist/contexts/delegation/DelegationProvider.d.ts +1 -0
  92. package/dist/contexts/loading/LoadingContext.d.ts +2 -1
  93. package/dist/contexts/loading/LoadingProvider.d.ts +1 -0
  94. package/dist/contexts/luminus-components/LuminusComponentsContext.d.ts +3 -2
  95. package/dist/contexts/luminus-components/LuminusComponentsProvider.d.ts +3 -2
  96. package/dist/contexts/prompt/PromptContext.d.ts +3 -2
  97. package/dist/contexts/prompt/PromptProvider.d.ts +1 -0
  98. package/dist/contexts/user/UserContext.d.ts +4 -3
  99. package/dist/contexts/user/UserProvider.d.ts +1 -0
  100. package/dist/contexts.d.ts +1 -240
  101. package/dist/hooks/useAxios/useAxios.d.ts +2 -1
  102. package/dist/hooks/useClickOutside/useClickOutside.d.ts +1 -0
  103. package/dist/hooks/useFormControlType/useFormControlType.d.ts +1 -1
  104. package/dist/hooks/useGetApiData/useGetApiData.d.ts +3 -2
  105. package/dist/hooks/useLocalStorageState/useLocalStorageState.d.ts +2 -1
  106. package/dist/hooks/useNotifications/useNotifications.d.ts +1 -1
  107. package/dist/hooks/usePrompt/usePrompt.d.ts +2 -1
  108. package/dist/hooks/useZodSchemaTypes/useZodSchemaTypes.d.ts +2 -1
  109. package/dist/hooks.d.ts +1 -160
  110. package/dist/layout/FullScreenContainer/FullScreenContainer.d.ts +2 -1
  111. package/dist/layout/MainContainer/MainContainer.d.ts +2 -1
  112. package/dist/layout/PageTitle/PageTitle.d.ts +1 -0
  113. package/dist/layout/SideContentBar/SideContentBar.d.ts +1 -0
  114. package/dist/layout/SideMenu/MenuItem/MenuItem.d.ts +2 -1
  115. package/dist/layout/SideMenu/SideMenu.d.ts +2 -1
  116. package/dist/layout/TopBar/TopBar.d.ts +1 -0
  117. package/dist/layout.d.ts +1 -54
  118. package/dist/main.cjs.js +1 -1
  119. package/dist/main.d.ts +1 -1
  120. package/dist/main.es.js +3 -3
  121. package/dist/models/luminus-context-types/ILocalizationContext.d.ts +1 -0
  122. package/dist/models/prop-types/ContainerProps.d.ts +1 -0
  123. package/dist/models/prop-types/DashboardWidgetCommonProps.d.ts +1 -0
  124. package/dist/models/prop-types/FormInputProps/FormCheckInputProps.d.ts +2 -1
  125. package/dist/models/prop-types/FormInputProps/FormFileInputProps.d.ts +2 -1
  126. package/dist/models/prop-types/FormInputProps/FormNumericStepperInputProps.d.ts +2 -1
  127. package/dist/models/prop-types/FormInputProps/FormRadioInputProps.d.ts +2 -1
  128. package/dist/models/prop-types/FormInputProps/FormSelectInputProps.d.ts +2 -1
  129. package/dist/models/prop-types/FormInputProps/FormTextAreaInputProps.d.ts +2 -1
  130. package/dist/models/prop-types/FormInputProps/FormTextInputProps.d.ts +2 -1
  131. package/dist/models/prop-types/HookFormInputProps/HookFormCheckInputProps.d.ts +3 -2
  132. package/dist/models/prop-types/HookFormInputProps/HookFormDropdownPickerProps.d.ts +3 -2
  133. package/dist/models/prop-types/HookFormInputProps/HookFormFileInputProps.d.ts +3 -2
  134. package/dist/models/prop-types/HookFormInputProps/HookFormInputBaseProps.d.ts +2 -1
  135. package/dist/models/prop-types/HookFormInputProps/HookFormInputProps.d.ts +2 -1
  136. package/dist/models/prop-types/HookFormInputProps/HookFormNumericStepperInputProps.d.ts +3 -2
  137. package/dist/models/prop-types/HookFormInputProps/HookFormRadioInputProps.d.ts +3 -2
  138. package/dist/models/prop-types/HookFormInputProps/HookFormSelectInputProps.d.ts +3 -2
  139. package/dist/models/prop-types/HookFormInputProps/HookFormTextAreaInputProps.d.ts +3 -2
  140. package/dist/models/prop-types/HookFormInputProps/HookFormTextInputProps.d.ts +3 -2
  141. package/dist/models/prop-types/ImgProps.d.ts +1 -0
  142. package/dist/models/prop-types/InputContainerProps.d.ts +1 -0
  143. package/dist/models/prop-types/InputProps/CheckInputProps.d.ts +2 -1
  144. package/dist/models/prop-types/InputProps/DropdownPickerProps.d.ts +5 -4
  145. package/dist/models/prop-types/InputProps/FileInputProps.d.ts +2 -1
  146. package/dist/models/prop-types/InputProps/InputBaseProps.d.ts +2 -1
  147. package/dist/models/prop-types/InputProps/NumericInputProps.d.ts +2 -1
  148. package/dist/models/prop-types/InputProps/RadioInputProps.d.ts +3 -2
  149. package/dist/models/prop-types/InputProps/SelectInputProps.d.ts +3 -2
  150. package/dist/models/prop-types/InputProps/TextAreaInputProps.d.ts +2 -1
  151. package/dist/models/prop-types/InputProps/TextInputProps.d.ts +2 -1
  152. package/dist/models/texts/ComponentsContextTexts.d.ts +12 -11
  153. package/dist/models/texts/ErrorBoundaryTexts.d.ts +1 -0
  154. package/dist/models/types/ApiErrorResult.d.ts +2 -1
  155. package/dist/models/types/DashboardConfig.d.ts +2 -1
  156. package/dist/models/types/DashboardWidget.d.ts +2 -1
  157. package/dist/models/types/DropdownPickerOption.d.ts +2 -1
  158. package/dist/models/types/HookFormInputProps.d.ts +2 -1
  159. package/dist/models/types/MenuItemType.d.ts +1 -0
  160. package/dist/models/types/MenuItemTypeExtended.d.ts +2 -1
  161. package/dist/models/types/PhotoAction.d.ts +1 -0
  162. package/dist/models/types/SearchResultGroupModel.d.ts +3 -2
  163. package/dist/models/types/SearchResultModel.d.ts +2 -1
  164. package/dist/models/types/TimelineStep.d.ts +2 -1
  165. package/dist/models/types/UserLoginState.d.ts +3 -2
  166. package/dist/models/types/UserModel.d.ts +2 -1
  167. package/dist/utils/apiErrorFields/apiErrorFieldsUtils.d.ts +2 -1
  168. package/dist/utils/bnfValueFormat/bnfValueFormat.d.ts +1 -0
  169. package/dist/utils/hookForm/hookFormUtils.d.ts +2 -1
  170. package/dist/utils.d.ts +1 -151
  171. package/package.json +1 -1
@@ -1,3 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  declare const UserAvatarValueFormat: ({ cell: { value } }: any) => React.JSX.Element;
3
4
  export default UserAvatarValueFormat;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type BaseProps = {
2
3
  color?: 'primary' | 'success' | 'danger' | 'warning';
3
4
  icon?: React.ReactNode;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type Props = React.ButtonHTMLAttributes<HTMLLabelElement> & {
2
3
  color?: 'primary' | 'success' | 'danger' | 'warning';
3
4
  icon?: React.ReactNode;
@@ -1,4 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
+
2
3
  type Props = {
3
4
  children: ReactNode;
4
5
  onStorno?: () => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type BaseProps = {
2
3
  color?: 'primary' | 'success' | 'danger' | 'warning' | 'secondary';
3
4
  size?: 'sm' | 'md' | 'lg';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type BaseProps = {
2
3
  variant?: 'filled' | 'outlined';
3
4
  color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning';
@@ -1,4 +1,5 @@
1
1
  import { DropdownProps as BootstrapDropdownProps } from 'react-bootstrap';
2
+
2
3
  interface Props extends BootstrapDropdownProps {
3
4
  toggle: React.ReactNode;
4
5
  children: React.ReactNode;
@@ -1,4 +1,5 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  type Props = {
3
4
  className?: string;
4
5
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type Props = React.ButtonHTMLAttributes<HTMLButtonElement> & {
2
3
  color?: 'primary' | 'success' | 'danger' | 'warning';
3
4
  icon?: React.ReactNode;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type Props = React.ButtonHTMLAttributes<HTMLLabelElement> & {
2
3
  color?: 'primary' | 'success' | 'danger' | 'warning';
3
4
  icon?: React.ReactNode;
@@ -1,4 +1,5 @@
1
1
  import { DropdownToggleProps } from 'react-bootstrap';
2
+
2
3
  type Props = DropdownToggleProps & {
3
4
  as: (('button' | (React.ComponentClass<any, any> & 'button') | (React.FunctionComponent<any> & 'button')) & React.ElementType<any, keyof React.JSX.IntrinsicElements>) | (React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement>> & any) | undefined;
4
5
  } & any;
@@ -1,10 +1,11 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  declare const SimpleDropdownToggle: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
3
4
  onClick: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
4
- color?: "primary" | "success" | "danger" | "warning";
5
+ color?: "primary" | "success" | "danger" | "warning" | undefined;
5
6
  icon?: React.ReactNode;
6
- text?: string;
7
- className?: string;
7
+ text?: string | undefined;
8
+ className?: string | undefined;
8
9
  children: React.ReactNode;
9
10
  } & React.RefAttributes<HTMLButtonElement>>;
10
11
  export default SimpleDropdownToggle;
@@ -1,4 +1,5 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  type Props = {
3
4
  userName: string;
4
5
  onClick: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
@@ -1,3 +1,4 @@
1
- import { FormCheckInputProps } from '@models/index';
1
+ import { FormCheckInputProps } from '../../../models/index';
2
+
2
3
  declare const CheckInput: ({ InputContainer, label, value, onChange, hidden, disabled, className, type, withoutLabel, }: FormCheckInputProps) => import("react").JSX.Element;
3
4
  export default CheckInput;
@@ -1,3 +1,4 @@
1
- import { DropdownPickerProps } from '@models/index';
1
+ import { DropdownPickerProps } from '../../../models/index';
2
+
2
3
  declare const DropdownPicker: ({ InputContainer, items, defaultSelection, selectedItemNavigateTo, onSearchQueryChange, texts, isLoading, isNumber, onSelect, label, withoutLabel, size, dropdownItemsNameWidth, additionalColumns, hidden, disabled, displayIdAsName, CustomOnChangeComponent, className, }: DropdownPickerProps) => import("react").JSX.Element;
3
4
  export default DropdownPicker;
@@ -1,3 +1,4 @@
1
- import { FormNumericStepperInputProps } from '@models/index';
1
+ import { FormNumericStepperInputProps } from '../../../models/index';
2
+
2
3
  declare const NumericStepperInput: ({ InputContainer, value, onChange, debounceMs, label, withoutLabel, placeholder, size, hidden, disabled, showClearIcon, clearValue, className, step, stepperStep, }: FormNumericStepperInputProps) => import("react").JSX.Element;
3
4
  export default NumericStepperInput;
@@ -1,3 +1,4 @@
1
- import { FormSelectInputProps } from '@models/index';
1
+ import { FormSelectInputProps } from '../../../models/index';
2
+
2
3
  declare const SelectInput: ({ InputContainer, value, options, onChange, label, withoutLabel, isNumber, size, hidden, disabled, showClearIcon, clearValue, noSortOptions, className, noEmptyOption, }: FormSelectInputProps) => import("react").JSX.Element;
3
4
  export default SelectInput;
@@ -1,3 +1,4 @@
1
- import { FormTextAreaInputProps } from '@models/index';
1
+ import { FormTextAreaInputProps } from '../../../models/index';
2
+
2
3
  declare const HookFormTextAreaInput: ({ InputContainer, value, onChange, label, size, showClearIcon, clearValue, hidden, disabled, rows, withoutLabel, debounceMs, className, }: FormTextAreaInputProps) => import("react").JSX.Element;
3
4
  export default HookFormTextAreaInput;
@@ -1,3 +1,4 @@
1
- import { FormTextInputProps } from '@models/index';
1
+ import { FormTextInputProps } from '../../../models/index';
2
+
2
3
  declare const TextInput: ({ InputContainer, type, value, onChange, debounceMs, label, withoutLabel, placeholder, size, hidden, disabled, showClearIcon, clearValue, list, className, step, noSelectOnFocus, }: FormTextInputProps) => import("react").JSX.Element;
3
4
  export default TextInput;
@@ -1,3 +1,4 @@
1
- import HookFormCheckInputProps from '@models/prop-types/HookFormInputProps/HookFormCheckInputProps';
1
+ import { default as HookFormCheckInputProps } from '../../../models/prop-types/HookFormInputProps/HookFormCheckInputProps';
2
+
2
3
  declare const HookFormCheckInput: ({ InputContainer, formField, label, resetsFields, type, required, hidden, disabled, withoutLabel, className, }: HookFormCheckInputProps) => import("react").JSX.Element;
3
4
  export default HookFormCheckInput;
@@ -1,3 +1,4 @@
1
- import { HookFormSelectInputProps } from '@models/index';
1
+ import { HookFormSelectInputProps } from '../../../models/index';
2
+
2
3
  declare const CustomSelectInput: ({ InputContainer, options, formField, label, size, resetsFields, isNumber, required, hidden, disabled, withoutLabel, noSortOptions, suffixIdToName, className, }: HookFormSelectInputProps) => import("react").JSX.Element;
3
4
  export default CustomSelectInput;
@@ -1,4 +1,5 @@
1
- import React from 'react';
2
- import HookFormDropdownPickerProps from '@models/prop-types/HookFormInputProps/HookFormDropdownPickerProps';
1
+ import { default as React } from 'react';
2
+ import { default as HookFormDropdownPickerProps } from '../../../models/prop-types/HookFormInputProps/HookFormDropdownPickerProps';
3
+
3
4
  declare const HookFormDropdownPicker: ({ InputContainer, formField, label, size, defaultSelection, resetsFields, isNumber, required, hidden, disabled, items, onSearchQueryChange, selectedItemNavigateTo, texts, dropdownItemsNameWidth, isLoading, withoutLabel, additionalColumns, CustomOnChangeComponent, displayIdAsName, onSelect, className, }: HookFormDropdownPickerProps) => React.JSX.Element;
4
5
  export default HookFormDropdownPicker;
@@ -1,3 +1,4 @@
1
- import { HookFormFileInputProps } from '@models/index';
1
+ import { HookFormFileInputProps } from '../../../models/index';
2
+
2
3
  declare const HookFormFileInput: ({ InputContainer, label, formField, hidden, required, placeholder, disabled, showClearIcon, resetsFields, multiple, accept, withoutLabel, className, }: HookFormFileInputProps) => import("react").JSX.Element;
3
4
  export default HookFormFileInput;
@@ -1,4 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
+
2
3
  type Props = {
3
4
  children: ReactNode;
4
5
  onStorno?: () => void;
@@ -1,3 +1,4 @@
1
- import { HookFormNumericStepperInputProps } from '@models/index';
1
+ import { HookFormNumericStepperInputProps } from '../../../models/index';
2
+
2
3
  declare const HookFormNumericStepperInput: ({ InputContainer, formField, label, placeholder, size, resetsFields, showClearIcon, clearValue, required, hidden, disabled, withoutLabel, step, stepperStep, className, }: HookFormNumericStepperInputProps) => import("react").JSX.Element;
3
4
  export default HookFormNumericStepperInput;
@@ -1,3 +1,4 @@
1
- import HookFormRadioInputProps from '@models/prop-types/HookFormInputProps/HookFormRadioInputProps';
1
+ import { default as HookFormRadioInputProps } from '../../../models/prop-types/HookFormInputProps/HookFormRadioInputProps';
2
+
2
3
  declare const HookFormRadioInput: ({ InputContainer, label, formField, options, resetsFields, required, disabled, hidden, className, }: HookFormRadioInputProps) => import("react").JSX.Element;
3
4
  export default HookFormRadioInput;
@@ -1,3 +1,4 @@
1
- import HookFormSelectInputProps from '@models/prop-types/HookFormInputProps/HookFormSelectInputProps';
1
+ import { default as HookFormSelectInputProps } from '../../../models/prop-types/HookFormInputProps/HookFormSelectInputProps';
2
+
2
3
  declare const HookFormSelectInput: ({ InputContainer, formField, label, resetsFields, options, isNumber, size, showClearIcon, clearValue, noSortOptions, required, hidden, disabled, withoutLabel, className, }: HookFormSelectInputProps) => import("react").JSX.Element;
3
4
  export default HookFormSelectInput;
@@ -1,3 +1,4 @@
1
- import HookFormTextAreaInputProps from '@models/prop-types/HookFormInputProps/HookFormTextAreaInputProps';
1
+ import { default as HookFormTextAreaInputProps } from '../../../models/prop-types/HookFormInputProps/HookFormTextAreaInputProps';
2
+
2
3
  declare const HookFormTextAreaInput: ({ InputContainer, formField, label, resetsFields, size, showClearIcon, clearValue, required, hidden, disabled, rows, withoutLabel, customFormControlProps, className, }: HookFormTextAreaInputProps) => import("react").JSX.Element;
3
4
  export default HookFormTextAreaInput;
@@ -1,3 +1,4 @@
1
- import HookFormTextInputProps from '@models/prop-types/HookFormInputProps/HookFormTextInputProps';
1
+ import { default as HookFormTextInputProps } from '../../../models/prop-types/HookFormInputProps/HookFormTextInputProps';
2
+
2
3
  declare const HookFormTextInput: ({ InputContainer, type, formField, label, placeholder, size, resetsFields, showClearIcon, clearValue, required, hidden, disabled, withoutLabel, list, step, CustomOnChangeComponent, noSelectOnFocus, className, }: HookFormTextInputProps) => import("react").JSX.Element;
3
4
  export default HookFormTextInput;
@@ -1,33 +1,34 @@
1
- declare const FloatingLabelInput: import("react").ForwardRefExoticComponent<(Omit<{
2
- hidden?: boolean;
3
- children: React.ReactNode;
4
- isInvalid?: boolean;
5
- isForCheckInput?: boolean;
6
- isForRadioInput?: boolean;
7
- isForTextAreaInput?: boolean;
8
- inputContainerClassName?: string;
9
- className?: string;
1
+ /// <reference types="react" />
2
+ declare const FloatingLabelInput: import('react').ForwardRefExoticComponent<(Omit<{
3
+ hidden?: boolean | undefined;
4
+ children: import('react').ReactNode;
5
+ isInvalid?: boolean | undefined;
6
+ isForCheckInput?: boolean | undefined;
7
+ isForRadioInput?: boolean | undefined;
8
+ isForTextAreaInput?: boolean | undefined;
9
+ inputContainerClassName?: string | undefined;
10
+ className?: string | undefined;
10
11
  } & {
11
- ref?: React.LegacyRef<HTMLDivElement>;
12
+ ref?: import('react').LegacyRef<HTMLDivElement> | undefined;
12
13
  } & {
13
- withoutLabel?: false;
14
+ withoutLabel?: false | undefined;
14
15
  label: string;
15
16
  } & {
16
- withoutLabel?: false;
17
+ withoutLabel?: false | undefined;
17
18
  }, "ref"> | Omit<{
18
- hidden?: boolean;
19
- children: React.ReactNode;
20
- isInvalid?: boolean;
21
- isForCheckInput?: boolean;
22
- isForRadioInput?: boolean;
23
- isForTextAreaInput?: boolean;
24
- inputContainerClassName?: string;
25
- className?: string;
19
+ hidden?: boolean | undefined;
20
+ children: import('react').ReactNode;
21
+ isInvalid?: boolean | undefined;
22
+ isForCheckInput?: boolean | undefined;
23
+ isForRadioInput?: boolean | undefined;
24
+ isForTextAreaInput?: boolean | undefined;
25
+ inputContainerClassName?: string | undefined;
26
+ className?: string | undefined;
26
27
  } & {
27
- ref?: React.LegacyRef<HTMLDivElement>;
28
+ ref?: import('react').LegacyRef<HTMLDivElement> | undefined;
28
29
  } & {
29
30
  withoutLabel: true;
30
31
  } & {
31
32
  withoutLabel: true;
32
- }, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
33
+ }, "ref">) & import('react').RefAttributes<HTMLDivElement>>;
33
34
  export default FloatingLabelInput;
@@ -1,4 +1,5 @@
1
- import { FormSelectOption } from '@models/index';
1
+ import { FormSelectOption } from '../../../models/index';
2
+
2
3
  type InputAnchorContainerProps = {
3
4
  currentSelection: FormSelectOption | null;
4
5
  selectedItemNavigateTo?: (item: FormSelectOption) => string;
@@ -1,33 +1,34 @@
1
- declare const NoInputContainer: import("react").ForwardRefExoticComponent<(Omit<{
2
- hidden?: boolean;
3
- children: React.ReactNode;
4
- isInvalid?: boolean;
5
- isForCheckInput?: boolean;
6
- isForRadioInput?: boolean;
7
- isForTextAreaInput?: boolean;
8
- inputContainerClassName?: string;
9
- className?: string;
1
+ /// <reference types="react" />
2
+ declare const NoInputContainer: import('react').ForwardRefExoticComponent<(Omit<{
3
+ hidden?: boolean | undefined;
4
+ children: import('react').ReactNode;
5
+ isInvalid?: boolean | undefined;
6
+ isForCheckInput?: boolean | undefined;
7
+ isForRadioInput?: boolean | undefined;
8
+ isForTextAreaInput?: boolean | undefined;
9
+ inputContainerClassName?: string | undefined;
10
+ className?: string | undefined;
10
11
  } & {
11
- ref?: React.LegacyRef<HTMLDivElement>;
12
+ ref?: import('react').LegacyRef<HTMLDivElement> | undefined;
12
13
  } & {
13
- withoutLabel?: false;
14
+ withoutLabel?: false | undefined;
14
15
  label: string;
15
16
  } & {
16
- withoutLabel?: false;
17
+ withoutLabel?: false | undefined;
17
18
  }, "ref"> | Omit<{
18
- hidden?: boolean;
19
- children: React.ReactNode;
20
- isInvalid?: boolean;
21
- isForCheckInput?: boolean;
22
- isForRadioInput?: boolean;
23
- isForTextAreaInput?: boolean;
24
- inputContainerClassName?: string;
25
- className?: string;
19
+ hidden?: boolean | undefined;
20
+ children: import('react').ReactNode;
21
+ isInvalid?: boolean | undefined;
22
+ isForCheckInput?: boolean | undefined;
23
+ isForRadioInput?: boolean | undefined;
24
+ isForTextAreaInput?: boolean | undefined;
25
+ inputContainerClassName?: string | undefined;
26
+ className?: string | undefined;
26
27
  } & {
27
- ref?: React.LegacyRef<HTMLDivElement>;
28
+ ref?: import('react').LegacyRef<HTMLDivElement> | undefined;
28
29
  } & {
29
30
  withoutLabel: true;
30
31
  } & {
31
32
  withoutLabel: true;
32
- }, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
33
+ }, "ref">) & import('react').RefAttributes<HTMLDivElement>>;
33
34
  export default NoInputContainer;
@@ -1,33 +1,34 @@
1
- declare const RowLabelInput: import("react").ForwardRefExoticComponent<(Omit<{
2
- hidden?: boolean;
3
- children: React.ReactNode;
4
- isInvalid?: boolean;
5
- isForCheckInput?: boolean;
6
- isForRadioInput?: boolean;
7
- isForTextAreaInput?: boolean;
8
- inputContainerClassName?: string;
9
- className?: string;
1
+ /// <reference types="react" />
2
+ declare const RowLabelInput: import('react').ForwardRefExoticComponent<(Omit<{
3
+ hidden?: boolean | undefined;
4
+ children: import('react').ReactNode;
5
+ isInvalid?: boolean | undefined;
6
+ isForCheckInput?: boolean | undefined;
7
+ isForRadioInput?: boolean | undefined;
8
+ isForTextAreaInput?: boolean | undefined;
9
+ inputContainerClassName?: string | undefined;
10
+ className?: string | undefined;
10
11
  } & {
11
- ref?: React.LegacyRef<HTMLDivElement>;
12
+ ref?: import('react').LegacyRef<HTMLDivElement> | undefined;
12
13
  } & {
13
- withoutLabel?: false;
14
+ withoutLabel?: false | undefined;
14
15
  label: string;
15
16
  } & {
16
- withoutLabel?: false;
17
+ withoutLabel?: false | undefined;
17
18
  }, "ref"> | Omit<{
18
- hidden?: boolean;
19
- children: React.ReactNode;
20
- isInvalid?: boolean;
21
- isForCheckInput?: boolean;
22
- isForRadioInput?: boolean;
23
- isForTextAreaInput?: boolean;
24
- inputContainerClassName?: string;
25
- className?: string;
19
+ hidden?: boolean | undefined;
20
+ children: import('react').ReactNode;
21
+ isInvalid?: boolean | undefined;
22
+ isForCheckInput?: boolean | undefined;
23
+ isForRadioInput?: boolean | undefined;
24
+ isForTextAreaInput?: boolean | undefined;
25
+ inputContainerClassName?: string | undefined;
26
+ className?: string | undefined;
26
27
  } & {
27
- ref?: React.LegacyRef<HTMLDivElement>;
28
+ ref?: import('react').LegacyRef<HTMLDivElement> | undefined;
28
29
  } & {
29
30
  withoutLabel: true;
30
31
  } & {
31
32
  withoutLabel: true;
32
- }, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
33
+ }, "ref">) & import('react').RefAttributes<HTMLDivElement>>;
33
34
  export default RowLabelInput;
@@ -1,5 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
- import BaseMessageBoardModel from '../../../models/types/BaseMessageBoardModel';
2
+ import { default as BaseMessageBoardModel } from '../../../models/types/BaseMessageBoardModel';
3
+
3
4
  type Props<MessageType extends BaseMessageBoardModel> = {
4
5
  renderAsNotifPanel?: boolean;
5
6
  notifIcon?: ReactNode;
@@ -1,4 +1,5 @@
1
- import { BaseMessageBoardModel } from '@models/index';
1
+ import { BaseMessageBoardModel } from '../../../../../models/index';
2
+
2
3
  type Props<MessageType extends BaseMessageBoardModel> = {
3
4
  messages: MessageType[];
4
5
  isLoading: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type Props = {
2
3
  typeFilter: string | null;
3
4
  onChangeTypeFilter: (type: string | null) => void;
@@ -1,4 +1,5 @@
1
- import { BaseMessageBoardModel } from '@models/index';
1
+ import { BaseMessageBoardModel } from '../../../../../../../models/index';
2
+
2
3
  type Props<MessageType extends BaseMessageBoardModel> = {
3
4
  message: MessageType;
4
5
  onDeleteMessage: (id: number) => void;
@@ -1,4 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
+
2
3
  export type TabProps<T = string | number> = {
3
4
  eventKey: T;
4
5
  className?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type Props = {
2
3
  eventKey: string | number;
3
4
  activeTab: string | number | null;
@@ -1,4 +1,5 @@
1
- import Tab, { TabProps } from '../Tab/Tab';
1
+ import { default as Tab, TabProps } from '../Tab/Tab';
2
+
2
3
  type ChildrenType<T> = React.ReactElement<TabProps<T>, typeof Tab<T>>;
3
4
  type Props<T> = {
4
5
  activeTab: T;
@@ -1,4 +1,5 @@
1
1
  import { TabsProps } from 'react-bootstrap';
2
+
2
3
  type Props = TabsProps & {
3
4
  children: React.ReactNode;
4
5
  noContent?: boolean;
@@ -1,4 +1,5 @@
1
1
  import { TabProps } from 'react-bootstrap';
2
+
2
3
  type Props = TabProps & {
3
4
  children?: React.ReactNode;
4
5
  };
@@ -1,11 +1,13 @@
1
1
  import { ReactElement, ReactNode } from 'react';
2
2
  import { OverlayTriggerType } from 'react-bootstrap/esm/OverlayTrigger';
3
+
3
4
  type TooltipProps = {
4
- heading: string | ReactNode;
5
+ heading?: string | ReactNode;
5
6
  content: ReactElement;
6
7
  placement: 'top' | 'bottom' | 'left' | 'right';
7
8
  children: ReactElement;
8
- trigger?: 'click' | 'hover' | 'focus';
9
+ trigger?: OverlayTriggerType | OverlayTriggerType[];
10
+ popoverClassName?: string;
9
11
  };
10
12
  type UncontrolledProps = {
11
13
  trigger?: OverlayTriggerType | OverlayTriggerType[];
@@ -19,5 +21,5 @@ type Props = TooltipProps & ((UncontrolledProps & {
19
21
  }) | (ControlledProps & {
20
22
  controlled: true;
21
23
  }));
22
- declare const HtmlTooltip: ({ heading, content, placement, children, trigger, ...rest }: Props) => import("react").JSX.Element;
24
+ declare const HtmlTooltip: ({ heading, content, placement, children, trigger, popoverClassName, ...rest }: Props) => import("react").JSX.Element;
23
25
  export default HtmlTooltip;
@@ -1,4 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
+
2
3
  type Props = {
3
4
  text: string;
4
5
  placement: 'top' | 'bottom' | 'left' | 'right';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type Props = {
2
3
  name: string;
3
4
  fontSize?: number;
@@ -1,4 +1,5 @@
1
1
  import { AlertProps } from 'react-bootstrap';
2
+
2
3
  type Props = {
3
4
  size?: 'sm' | 'md' | 'lg';
4
5
  typographyVariant?: 'h6' | 'subtitle' | 'body' | 'body2' | 'caption';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type Props = {
2
3
  level: 'info' | 'warning' | 'danger' | 'success';
3
4
  children: string | React.ReactNode;
@@ -1,4 +1,5 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  type Props = {
3
4
  fileLoader: () => Promise<Blob | null>;
4
5
  fileName: string;
@@ -1,4 +1,5 @@
1
- import SearchType from '@models/types/SearchType';
1
+ import { default as SearchType } from '../../../models/types/SearchType';
2
+
2
3
  type Props = {
3
4
  searchTypes: SearchType[];
4
5
  navigateFunction: (url: string) => void;
@@ -1,4 +1,5 @@
1
- import { SearchResultGroupModel, SearchType } from '@models/index';
1
+ import { SearchResultGroupModel, SearchType } from '../../../../../models/index';
2
+
2
3
  type Props = {
3
4
  query: string;
4
5
  show: boolean;
@@ -1,5 +1,6 @@
1
- import React, { Dispatch, SetStateAction } from 'react';
2
- import SearchType from '@models/types/SearchType';
1
+ import { default as React, Dispatch, SetStateAction } from 'react';
2
+ import { default as SearchType } from '../../../../../models/types/SearchType';
3
+
3
4
  type Props = {
4
5
  searchTypes: SearchType[];
5
6
  selectedType: SearchType | null;
@@ -1,4 +1,5 @@
1
- import { SearchResultGroupModel, SearchType } from '@models/index';
1
+ import { SearchResultGroupModel, SearchType } from '../../../../models/index';
2
+
2
3
  declare const useSearchItems: (type: SearchType | null, query: string) => {
3
4
  isLoading: boolean;
4
5
  searchItems: SearchResultGroupModel[];
@@ -1,4 +1,5 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  type Props = {
3
4
  appAccessPermissions?: string[];
4
5
  children: React.ReactNode;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type Props = {
2
3
  show: boolean;
3
4
  onClick?: () => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type Props = {
2
3
  children: React.ReactNode;
3
4
  color?: 'primary' | 'danger' | 'success' | 'warning' | 'dark';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type BaseProps = {
2
3
  title: React.ReactNode;
3
4
  headerContent?: React.ReactNode;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type BaseProps = {
2
3
  title: string;
3
4
  children: React.ReactNode;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const ConfirmDialog: () => import("react").JSX.Element;
2
3
  export default ConfirmDialog;
@@ -1,4 +1,5 @@
1
- import React, { ReactNode } from 'react';
1
+ import { default as React, ReactNode } from 'react';
2
+
2
3
  type ErrorBoundaryProps = {
3
4
  children: ReactNode;
4
5
  fallback: ReactNode;