react-luminus-components 1.3.21 → 1.3.22
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/.vite/manifest.json +187 -0
- package/dist/PrimaryButton-HS1hw75-.js +712 -0
- package/dist/PrimaryButton-jVLOMUwB.cjs +1 -0
- package/dist/SimpleTooltip-BAHgCnPu.js +5 -0
- package/dist/SimpleTooltip-fEWyThZE.cjs +1 -0
- package/dist/UserAvatarToggle-BMXaJ189.js +7012 -0
- package/dist/UserAvatarToggle-DzrnGPrL.cjs +253 -0
- package/dist/components/BnfTableValueFormats/UserAvatarValueFormat/UserAvatarValueFormat.d.ts +3 -0
- package/dist/components/BnfTableValueFormats/index.d.ts +1 -0
- package/dist/components/Buttons/ContextButton/ContextButton.d.ts +14 -0
- package/dist/components/Buttons/ContextButton/FileUploadContextButton.d.ts +12 -0
- package/dist/components/Buttons/FloatingSubmit/FloatingFormSubmit.d.ts +8 -0
- package/dist/components/Buttons/IconButton/IconButton.d.ts +13 -0
- package/dist/components/Buttons/PrimaryButton/PrimaryButton.d.ts +14 -0
- package/dist/components/Buttons/index.d.ts +5 -0
- package/dist/components/Dropdown/Dropdown.d.ts +8 -0
- package/dist/components/Dropdown/comps/DropdownDivider/DropdownDivider.d.ts +6 -0
- package/dist/components/Dropdown/comps/DropdownItem/DropdownItem.d.ts +9 -0
- package/dist/components/Dropdown/comps/DropdownItem/FileUploadDropdownItem.d.ts +12 -0
- package/dist/components/Dropdown/comps/DropdownToggle/DropdownToggle.d.ts +7 -0
- package/dist/components/Dropdown/comps/SimpleToggle/SimpleToggle.d.ts +10 -0
- package/dist/components/Dropdown/comps/UserAvatarToggle/UserAvatarToggle.d.ts +8 -0
- package/dist/components/Dropdown/comps/index.d.ts +6 -0
- package/dist/components/Dropdown/index.d.ts +2 -0
- package/dist/components/Form/CheckInput/CheckInput.d.ts +4 -0
- package/dist/components/Form/DropdownPicker/DropdownPicker.d.ts +4 -0
- package/dist/components/Form/NumericStepperInput/NumericStepperInput.d.ts +4 -0
- package/dist/components/Form/SelectInput/SelectInput.d.ts +4 -0
- package/dist/components/Form/TextAreaInput/TextAreaInput.d.ts +4 -0
- package/dist/components/Form/TextInput/TextInput.d.ts +4 -0
- package/dist/components/Form/index.d.ts +6 -0
- package/dist/components/HookForm/CheckInput/HookFormCheckInput.d.ts +4 -0
- package/dist/components/HookForm/CustomSelectInput/CustomSelectInput.d.ts +4 -0
- package/dist/components/HookForm/DropdownPicker/HookFormDropdownPicker.d.ts +4 -0
- package/dist/components/HookForm/FileInput/HookFormFileInput.d.ts +4 -0
- package/dist/components/HookForm/FloatingSubmit/HookFormFloatingSubmit.d.ts +8 -0
- package/dist/components/HookForm/NumericStepperInput/HookFormNumericStepperInput.d.ts +4 -0
- package/dist/components/HookForm/RadioInput/HookFormRadioInput.d.ts +4 -0
- package/dist/components/HookForm/SelectInput/HookFormSelectInput.d.ts +4 -0
- package/dist/components/HookForm/TextAreaInput/HookFormTextAreaInput.d.ts +4 -0
- package/dist/components/HookForm/TextInput/HookFormTextInput.d.ts +4 -0
- package/dist/components/HookForm/index.d.ts +10 -0
- package/dist/components/InputContainers/FloatingLabelInput/FloatingLabelInput.d.ts +34 -0
- package/dist/components/InputContainers/InputAnchorContainer/InputAnchorContainer.d.ts +9 -0
- package/dist/components/InputContainers/NoInputContainer/NoInputContainer.d.ts +34 -0
- package/dist/components/InputContainers/RowLabelInput/RowLabelInput.d.ts +34 -0
- package/dist/components/InputContainers/index.d.ts +4 -0
- package/dist/components/NewTabs/Tab/Tab.d.ts +10 -0
- package/dist/components/NewTabs/TabPanel/TabPanel.d.ts +11 -0
- package/dist/components/NewTabs/Tabs/Tabs.d.ts +9 -0
- package/dist/components/NewTabs/index.d.ts +3 -0
- package/dist/components/Tabs/Tabs.d.ts +9 -0
- package/dist/components/Tabs/comps/Tab/Tab.d.ts +7 -0
- package/dist/components/Tabs/comps/index.d.ts +1 -0
- package/dist/components/Tabs/index.d.ts +2 -0
- package/dist/components/Tooltip/HtmlTooltip/HtmlTooltip.d.ts +23 -0
- package/dist/components/Tooltip/SimpleTooltip/SimpleTooltip.d.ts +8 -0
- package/dist/components/Tooltip/index.d.ts +2 -0
- package/dist/components/UserAvatar/AvatarIcon/AvatarIcon.d.ts +8 -0
- package/dist/components/UserAvatar/index.d.ts +1 -0
- package/dist/components/common/Alert/Alert.d.ts +8 -0
- package/dist/components/common/ApiFileDownloadButton/ApiFileDownloadButton.d.ts +8 -0
- package/dist/components/common/AppSearch/AppSearch.d.ts +9 -0
- package/dist/components/common/AppSearch/comps/AutocompleteWindow/AutocompleteWindow.d.ts +12 -0
- package/dist/components/common/AppSearch/comps/TypeSelector/TypeSelector.d.ts +9 -0
- package/dist/components/common/AppSearch/comps/index.d.ts +2 -0
- package/dist/components/common/AppSearch/hooks/useSearchItems.d.ts +6 -0
- package/dist/components/common/AuthTemplate/AuthTemplate.d.ts +7 -0
- package/dist/components/common/Backdrop/Backdrop.d.ts +7 -0
- package/dist/components/common/Badge/Badge.d.ts +9 -0
- package/dist/components/common/Card/Card.d.ts +28 -0
- package/dist/components/common/Collapse/Collapse.d.ts +20 -0
- package/dist/components/common/ConfirmDialog/ConfirmDialog.d.ts +3 -0
- package/dist/components/common/ErrorBoundary/ErrorBoundary.d.ts +9 -0
- package/dist/components/common/FloatingActionContainer/FloatingActionContainer.d.ts +7 -0
- package/dist/components/common/HomeDashboard/HomeDashboard.d.ts +10 -0
- package/dist/components/common/HomeDashboard/comps/FreeSpaceWidget/FreeSpaceWidget.d.ts +9 -0
- package/dist/components/common/HomeDashboard/comps/WidgetPicker/WidgetPicker.d.ts +11 -0
- package/dist/components/common/HomeDashboard/comps/index.d.ts +1 -0
- package/dist/components/common/HomeDashboard/hooks/useUserDashboard.d.ts +6 -0
- package/dist/components/common/ImgApi/ImgApi.d.ts +4 -0
- package/dist/components/common/ImgApi/hooks/useGetImgData.d.ts +9 -0
- package/dist/components/common/ImgDirect/ImgDirect.d.ts +4 -0
- package/dist/components/common/InvalidFeedback/InvalidFeedback.d.ts +6 -0
- package/dist/components/common/Loading/Loading.d.ts +3 -0
- package/dist/components/common/Loading/LoadingBlock.d.ts +4 -0
- package/dist/components/common/MonthPicker/MonthPicker.d.ts +11 -0
- package/dist/components/common/PhotoLibrary/PhotoLibrary.d.ts +14 -0
- package/dist/components/common/PhotoLightbox/PhotoLightbox.d.ts +18 -0
- package/dist/components/common/PromptDialog/PromptDialog.d.ts +3 -0
- package/dist/components/common/SimplePicker/SimplePicker.d.ts +25 -0
- package/dist/components/common/Timeline/Timeline.d.ts +7 -0
- package/dist/components/common/Typography/Typography.d.ts +9 -0
- package/dist/components/common/VersionInfo/VersionInfo.d.ts +6 -0
- package/dist/components/common/Widget/WidgetCard.d.ts +8 -0
- package/dist/components/common/Widget/WidgetWrapper.d.ts +7 -0
- package/dist/components/common/YearPicker/YearPicker.d.ts +10 -0
- package/dist/components/common/index.d.ts +27 -0
- package/dist/contexts/auth/AuthContext.d.ts +9 -0
- package/dist/contexts/auth/AuthProvider.d.ts +16 -0
- package/dist/contexts/confirm/ConfirmContext.d.ts +9 -0
- package/dist/contexts/confirm/ConfirmProvider.d.ts +6 -0
- package/dist/contexts/delegation/DelegationContext.d.ts +9 -0
- package/dist/contexts/delegation/DelegationProvider.d.ts +6 -0
- package/dist/contexts/index.d.ts +11 -0
- package/dist/contexts/loading/LoadingContext.d.ts +8 -0
- package/dist/contexts/loading/LoadingProvider.d.ts +6 -0
- package/dist/contexts/luminus-components/LuminusComponentsContext.d.ts +24 -0
- package/dist/contexts/luminus-components/LuminusComponentsProvider.d.ts +25 -0
- package/dist/contexts/prompt/PromptContext.d.ts +13 -0
- package/dist/contexts/prompt/PromptProvider.d.ts +6 -0
- package/dist/contexts/user/UserContext.d.ts +11 -0
- package/dist/contexts/user/UserProvider.d.ts +6 -0
- package/dist/contexts.cjs.js +1 -0
- package/dist/contexts.d.ts +1 -0
- package/dist/contexts.es.js +371 -0
- package/dist/dateUtils-7nL2BXlo.js +131 -0
- package/dist/dateUtils-DUA3CKds.cjs +1 -0
- package/dist/hooks/index.d.ts +13 -0
- package/dist/hooks/useAuth/hooks/useDevAuth.d.ts +7 -0
- package/dist/hooks/useAuth/hooks/useMsalAuth.d.ts +8 -0
- package/dist/hooks/useAuth/useAuth.d.ts +8 -0
- package/dist/hooks/useAxios/useAxios.d.ts +10 -0
- package/dist/hooks/useClickOutside/useClickOutside.d.ts +3 -0
- package/dist/hooks/useConfirm/useConfirm.d.ts +8 -0
- package/dist/hooks/useFormControlType/useFormControlType.d.ts +2 -0
- package/dist/hooks/useGetApiData/useGetApiData.d.ts +9 -0
- package/dist/hooks/useGetDataBound/useGetDataBound.d.ts +2 -0
- package/dist/hooks/useKeyPress/useKeyPress.d.ts +2 -0
- package/dist/hooks/useLocalStorageState/useLocalStorageState.d.ts +3 -0
- package/dist/hooks/useNotifications/useNotifications.d.ts +4 -0
- package/dist/hooks/usePermissions/usePermissions.d.ts +4 -0
- package/dist/hooks/usePrompt/usePrompt.d.ts +8 -0
- package/dist/hooks/useZodSchemaTypes/useZodSchemaTypes.d.ts +74 -0
- package/dist/hooks.cjs.js +1 -0
- package/dist/hooks.d.ts +1 -0
- package/dist/hooks.es.js +2989 -0
- package/dist/latinize-BQrinury.js +950 -0
- package/dist/latinize-DaqzUOla.cjs +1 -0
- package/dist/layout/FullScreenContainer/FullScreenContainer.d.ts +4 -0
- package/dist/layout/MainContainer/MainContainer.d.ts +4 -0
- package/dist/layout/PageTitle/PageTitle.d.ts +6 -0
- package/dist/layout/SideContentBar/SideContentBar.d.ts +7 -0
- package/dist/layout/SideMenu/MenuItem/MenuItem.d.ts +11 -0
- package/dist/layout/SideMenu/SideMenu.d.ts +12 -0
- package/dist/layout/TopBar/TopBar.d.ts +9 -0
- package/dist/layout/index.d.ts +5 -0
- package/dist/layout.cjs.js +1 -0
- package/dist/layout.d.ts +1 -0
- package/dist/layout.es.js +132 -0
- package/dist/main.cjs.js +1 -0
- package/dist/main.d.ts +32 -0
- package/dist/main.es.js +4269 -0
- package/dist/models/index.d.ts +65 -0
- package/dist/models/prop-types/ContainerProps.d.ts +10 -0
- package/dist/models/prop-types/DashboardWidgetCommonProps.d.ts +5 -0
- package/dist/models/prop-types/FormInputProps/FormCheckInputProps.d.ts +6 -0
- package/dist/models/prop-types/FormInputProps/FormFileInputProps.d.ts +11 -0
- package/dist/models/prop-types/FormInputProps/FormNumericStepperInputProps.d.ts +8 -0
- package/dist/models/prop-types/FormInputProps/FormRadioInputProps.d.ts +6 -0
- package/dist/models/prop-types/FormInputProps/FormSelectInputProps.d.ts +7 -0
- package/dist/models/prop-types/FormInputProps/FormTextAreaInputProps.d.ts +7 -0
- package/dist/models/prop-types/FormInputProps/FormTextInputProps.d.ts +7 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormCheckInputProps.d.ts +4 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormDropdownPickerProps.d.ts +4 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormFileInputProps.d.ts +4 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormInputBaseProps.d.ts +7 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormInputProps.d.ts +9 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormNumericStepperInputProps.d.ts +4 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormRadioInputProps.d.ts +4 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormSelectInputProps.d.ts +4 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormTextAreaInputProps.d.ts +7 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormTextInputProps.d.ts +4 -0
- package/dist/models/prop-types/ImgProps.d.ts +7 -0
- package/dist/models/prop-types/InputContainerProps.d.ts +26 -0
- package/dist/models/prop-types/InputProps/CheckInputProps.d.ts +5 -0
- package/dist/models/prop-types/InputProps/DropdownPickerProps.d.ts +24 -0
- package/dist/models/prop-types/InputProps/FileInputProps.d.ts +6 -0
- package/dist/models/prop-types/InputProps/InputBaseProps.d.ts +15 -0
- package/dist/models/prop-types/InputProps/NumericInputProps.d.ts +6 -0
- package/dist/models/prop-types/InputProps/RadioInputProps.d.ts +6 -0
- package/dist/models/prop-types/InputProps/SelectInputProps.d.ts +9 -0
- package/dist/models/prop-types/InputProps/TextAreaInputProps.d.ts +5 -0
- package/dist/models/prop-types/InputProps/TextInputProps.d.ts +10 -0
- package/dist/models/texts/AppSearchTexts.d.ts +5 -0
- package/dist/models/texts/AxiosTexts.d.ts +8 -0
- package/dist/models/texts/ConfirmTexts.d.ts +7 -0
- package/dist/models/texts/CustomSelectTexts.d.ts +5 -0
- package/dist/models/texts/DropdownPickerTexts.d.ts +5 -0
- package/dist/models/texts/ErrorBoundaryTexts.d.ts +5 -0
- package/dist/models/texts/FormSubmitTexts.d.ts +4 -0
- package/dist/models/texts/FormValidationTexts.d.ts +5 -0
- package/dist/models/texts/HomeDashboardTexts.d.ts +6 -0
- package/dist/models/texts/WidgetTexts.d.ts +4 -0
- package/dist/models/types/ApiErrorResult.d.ts +8 -0
- package/dist/models/types/DashboardConfig.d.ts +5 -0
- package/dist/models/types/DashboardWidget.d.ts +9 -0
- package/dist/models/types/DashboardWidgetConfig.d.ts +5 -0
- package/dist/models/types/DropdownPickerOption.d.ts +7 -0
- package/dist/models/types/EmployeeIndexModel.d.ts +14 -0
- package/dist/models/types/ErrorField.d.ts +5 -0
- package/dist/models/types/FormSelectOption.d.ts +5 -0
- package/dist/models/types/HookFormInputProps.d.ts +9 -0
- package/dist/models/types/LoginState.d.ts +7 -0
- package/dist/models/types/MenuItemType.d.ts +11 -0
- package/dist/models/types/MenuItemTypeExtended.d.ts +6 -0
- package/dist/models/types/NameIdIntModel.d.ts +5 -0
- package/dist/models/types/NameIdIntOptionalModel.d.ts +5 -0
- package/dist/models/types/NameIdStringModel.d.ts +5 -0
- package/dist/models/types/NameIdStringOptionalModel.d.ts +5 -0
- package/dist/models/types/PhotoAction.d.ts +9 -0
- package/dist/models/types/PhotoLibraryItemModel.d.ts +7 -0
- package/dist/models/types/PromptOptions.d.ts +7 -0
- package/dist/models/types/SearchResultGroupKeyModel.d.ts +6 -0
- package/dist/models/types/SearchResultGroupModel.d.ts +7 -0
- package/dist/models/types/SearchResultModel.d.ts +8 -0
- package/dist/models/types/SearchType.d.ts +6 -0
- package/dist/models/types/TimelineStep.d.ts +11 -0
- package/dist/models/types/TimelineStepState.d.ts +5 -0
- package/dist/models/types/UseGetApiDataOptions.d.ts +9 -0
- package/dist/models/types/UserLoginState.d.ts +7 -0
- package/dist/models/types/UserModel.d.ts +11 -0
- package/dist/searchUtils-Do20vjZW.cjs +1 -0
- package/dist/searchUtils-Du4JnXdQ.js +7 -0
- package/dist/style.css +1 -0
- package/dist/useFormControlType-Dqz8sV4J.cjs +1 -0
- package/dist/useFormControlType-oJGqgThz.js +20 -0
- package/dist/useLocalStorageState-BwHNTgBx.js +40 -0
- package/dist/useLocalStorageState-Dt9N-bpT.cjs +1 -0
- package/dist/usePermissions-DS3yICnk.js +14 -0
- package/dist/usePermissions-nPVpMzwc.cjs +1 -0
- package/dist/utils/apiErrorFields/apiErrorFieldsUtils.d.ts +4 -0
- package/dist/utils/date/dateUtils.d.ts +1 -0
- package/dist/utils/hookForm/hookFormUtils.d.ts +3 -0
- package/dist/utils/index.d.ts +6 -0
- package/dist/utils/object/objectUtils.d.ts +2 -0
- package/dist/utils/search/searchUtils.d.ts +3 -0
- package/dist/utils/text/textUtils.d.ts +3 -0
- package/dist/utils.cjs.js +1 -0
- package/dist/utils.d.ts +1 -0
- package/dist/utils.es.js +27 -0
- package/package.json +1 -1
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export type { default as InputContainerProps } from './prop-types/InputContainerProps';
|
|
2
|
+
export type { default as InputBaseProps } from './prop-types/InputProps/InputBaseProps';
|
|
3
|
+
export type { default as HookFormInputBaseProps } from './prop-types/HookFormInputProps/HookFormInputBaseProps';
|
|
4
|
+
export type { default as TextInputProps } from './prop-types/InputProps/TextInputProps';
|
|
5
|
+
export type { default as FormTextInputProps } from './prop-types/FormInputProps/FormTextInputProps';
|
|
6
|
+
export type { default as HookFormTextInputProps } from './prop-types/HookFormInputProps/HookFormTextInputProps';
|
|
7
|
+
export type { default as SelectInputProps } from './prop-types/InputProps/SelectInputProps';
|
|
8
|
+
export type { default as FormSelectInputProps } from './prop-types/FormInputProps/FormSelectInputProps';
|
|
9
|
+
export type { default as HookFormSelectInputProps } from './prop-types/HookFormInputProps/HookFormSelectInputProps';
|
|
10
|
+
export type { default as DropdownPickerProps } from './prop-types/InputProps/DropdownPickerProps';
|
|
11
|
+
export type { default as HookFormDropdownPickerProps } from './prop-types/HookFormInputProps/HookFormDropdownPickerProps';
|
|
12
|
+
export type { default as CheckInputProps } from './prop-types/InputProps/CheckInputProps';
|
|
13
|
+
export type { default as FormCheckInputProps } from './prop-types/FormInputProps/FormCheckInputProps';
|
|
14
|
+
export type { default as HookFormCheckInputProps } from './prop-types/HookFormInputProps/HookFormCheckInputProps';
|
|
15
|
+
export type { default as TextAreaInputProps } from './prop-types/InputProps/TextAreaInputProps';
|
|
16
|
+
export type { default as FormTextAreaInputProps } from './prop-types/FormInputProps/FormTextAreaInputProps';
|
|
17
|
+
export type { default as HookFormTextAreaInputProps } from './prop-types/HookFormInputProps/HookFormTextAreaInputProps';
|
|
18
|
+
export type { default as RadioInputProps } from './prop-types/InputProps/RadioInputProps';
|
|
19
|
+
export type { default as FormRadioInputProps } from './prop-types/FormInputProps/FormRadioInputProps';
|
|
20
|
+
export type { default as HookFormRadioInputProps } from './prop-types/HookFormInputProps/HookFormRadioInputProps';
|
|
21
|
+
export type { default as FileInputProps } from './prop-types/InputProps/FileInputProps';
|
|
22
|
+
export type { default as FormFileInputProps } from './prop-types/FormInputProps/FormFileInputProps';
|
|
23
|
+
export type { default as HookFormFileInputProps } from './prop-types/HookFormInputProps/HookFormFileInputProps';
|
|
24
|
+
export type { default as NumericInputProps } from './prop-types/InputProps/NumericInputProps';
|
|
25
|
+
export type { default as FormNumericStepperInputProps } from './prop-types/FormInputProps/FormNumericStepperInputProps';
|
|
26
|
+
export type { default as HookFormNumericStepperInputProps } from './prop-types/HookFormInputProps/HookFormNumericStepperInputProps';
|
|
27
|
+
export type { default as HookFormInputProps } from './prop-types/HookFormInputProps/HookFormInputProps';
|
|
28
|
+
export type { default as ContainerProps } from './prop-types/ContainerProps';
|
|
29
|
+
export type { default as ImgProps } from './prop-types/ImgProps';
|
|
30
|
+
export type { default as DashboardWidgetCommonProps } from './prop-types/DashboardWidgetCommonProps';
|
|
31
|
+
export type { default as NameIdStringModel } from './types/NameIdStringModel';
|
|
32
|
+
export type { default as NameIdIntModel } from './types/NameIdIntModel';
|
|
33
|
+
export type { default as NameIdStringOptionalModel } from './types/NameIdStringOptionalModel';
|
|
34
|
+
export type { default as NameIdIntOptionalModel } from './types/NameIdIntOptionalModel';
|
|
35
|
+
export type { default as PhotoLibraryItemModel } from './types/PhotoLibraryItemModel';
|
|
36
|
+
export type { default as PhotoAction } from './types/PhotoAction';
|
|
37
|
+
export type { default as EmployeeIndexModel } from './types/EmployeeIndexModel';
|
|
38
|
+
export type { default as DashboardConfig } from './types/DashboardConfig';
|
|
39
|
+
export type { default as DashboardWidget } from './types/DashboardWidget';
|
|
40
|
+
export type { default as DashboardWidgetConfig } from './types/DashboardWidgetConfig';
|
|
41
|
+
export type { default as FormSelectOption } from './types/FormSelectOption';
|
|
42
|
+
export type { default as MenuItemType } from './types/MenuItemType';
|
|
43
|
+
export type { default as MenuItemTypeExtended } from './types/MenuItemTypeExtended';
|
|
44
|
+
export type { default as ErrorField } from './types/ErrorField';
|
|
45
|
+
export type { default as ApiErrorResult } from './types/ApiErrorResult';
|
|
46
|
+
export type { default as SearchType } from './types/SearchType';
|
|
47
|
+
export type { default as SearchResultModel } from './types/SearchResultModel';
|
|
48
|
+
export type { default as SearchResultGroupModel } from './types/SearchResultGroupModel';
|
|
49
|
+
export type { default as SearchResultGroupKeyModel } from './types/SearchResultGroupKeyModel';
|
|
50
|
+
export type { default as AxiosTexts } from './texts/AxiosTexts';
|
|
51
|
+
export type { default as HomeDashboardTexts } from './texts/HomeDashboardTexts';
|
|
52
|
+
export type { default as DropdownPickerTexts } from './texts/DropdownPickerTexts';
|
|
53
|
+
export type { default as ConfirmTexts } from './texts/ConfirmTexts';
|
|
54
|
+
export type { default as FormValidationTexts } from './texts/FormValidationTexts';
|
|
55
|
+
export type { default as FormSubmitTexts } from './texts/FormSubmitTexts';
|
|
56
|
+
export type { default as AppSearchTexts } from './texts/AppSearchTexts';
|
|
57
|
+
export type { default as CustomSelectTexts } from './texts/CustomSelectTexts';
|
|
58
|
+
export type { default as WidgetTexts } from './texts/WidgetTexts';
|
|
59
|
+
export type { default as ErrorBoundaryTexts } from './texts/ErrorBoundaryTexts';
|
|
60
|
+
export type { default as PromptOptions } from './types/PromptOptions';
|
|
61
|
+
export type { default as UseGetApiDataOptions } from './types/UseGetApiDataOptions';
|
|
62
|
+
export type { default as DropdownPickerOption } from './types/DropdownPickerOption';
|
|
63
|
+
export type { default as UserModel } from './types/UserModel';
|
|
64
|
+
export { default as LoginState } from './types/LoginState';
|
|
65
|
+
export type { default as UserLoginState } from './types/UserLoginState';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import FileInputProps from '../InputProps/FileInputProps';
|
|
2
|
+
type FormFileInputProps = FileInputProps & ({
|
|
3
|
+
multiple?: false;
|
|
4
|
+
value: File | null;
|
|
5
|
+
onChange?: (value: File | null) => void;
|
|
6
|
+
} | {
|
|
7
|
+
multiple: true;
|
|
8
|
+
value: Array<File>;
|
|
9
|
+
onChange?: (value: Array<File>) => void;
|
|
10
|
+
});
|
|
11
|
+
export default FormFileInputProps;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import NumericInputProps from '../InputProps/NumericInputProps';
|
|
2
|
+
type FormNumericStepperInputProps = NumericInputProps & {
|
|
3
|
+
value: number | null;
|
|
4
|
+
onChange?: (value: number | null) => void;
|
|
5
|
+
debounceMs?: number;
|
|
6
|
+
stepperStep?: number;
|
|
7
|
+
};
|
|
8
|
+
export default FormNumericStepperInputProps;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import SelectInputProps from '../InputProps/SelectInputProps';
|
|
2
|
+
type FormSelectInputProps = SelectInputProps & {
|
|
3
|
+
value: string | number | null;
|
|
4
|
+
onChange?: (value: string | number | null) => void;
|
|
5
|
+
noEmptyOption?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export default FormSelectInputProps;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FieldValues, FormState, UseFormGetValues, UseFormRegister, UseFormSetValue, UseFormWatch } from 'react-hook-form';
|
|
2
|
+
type HookFormInputProps = {
|
|
3
|
+
register: UseFormRegister<FieldValues>;
|
|
4
|
+
formState: FormState<FieldValues>;
|
|
5
|
+
getValues: UseFormGetValues<FieldValues>;
|
|
6
|
+
setValue: UseFormSetValue<FieldValues>;
|
|
7
|
+
watch: UseFormWatch<FieldValues>;
|
|
8
|
+
};
|
|
9
|
+
export default HookFormInputProps;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FormControlProps } from 'react-bootstrap';
|
|
2
|
+
import TextAreaInputProps from '../InputProps/TextAreaInputProps';
|
|
3
|
+
import HookFormInputBaseProps from './HookFormInputBaseProps';
|
|
4
|
+
type HookFormTextAreaInputProps = HookFormInputBaseProps & TextAreaInputProps & {
|
|
5
|
+
customFormControlProps?: Partial<FormControlProps>;
|
|
6
|
+
};
|
|
7
|
+
export default HookFormTextAreaInputProps;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type InputContainerBaseProps = {
|
|
3
|
+
hidden?: boolean;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
isInvalid?: boolean;
|
|
6
|
+
isForCheckInput?: boolean;
|
|
7
|
+
isForRadioInput?: boolean;
|
|
8
|
+
isForTextAreaInput?: boolean;
|
|
9
|
+
inputContainerClassName?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
} & {
|
|
12
|
+
ref?: React.LegacyRef<HTMLDivElement>;
|
|
13
|
+
};
|
|
14
|
+
type InputContainerWithLabelProps = {
|
|
15
|
+
withoutLabel?: false;
|
|
16
|
+
label: string;
|
|
17
|
+
};
|
|
18
|
+
type InputContainerWithoutLabelProps = {
|
|
19
|
+
withoutLabel: true;
|
|
20
|
+
};
|
|
21
|
+
type InputContainerProps = InputContainerBaseProps & ((InputContainerWithLabelProps & {
|
|
22
|
+
withoutLabel?: false;
|
|
23
|
+
}) | (InputContainerWithoutLabelProps & {
|
|
24
|
+
withoutLabel: true;
|
|
25
|
+
}));
|
|
26
|
+
export default InputContainerProps;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import DropdownPickerTexts from '@models/texts/DropdownPickerTexts';
|
|
3
|
+
import DropdownPickerOption from '@models/types/DropdownPickerOption';
|
|
4
|
+
import FormSelectOption from '@models/types/FormSelectOption';
|
|
5
|
+
import InputBaseProps from './InputBaseProps';
|
|
6
|
+
type DropdownPickerProps = InputBaseProps & {
|
|
7
|
+
items: DropdownPickerOption[];
|
|
8
|
+
defaultSelection: FormSelectOption | null;
|
|
9
|
+
selectedItemNavigateTo: (item: FormSelectOption) => string;
|
|
10
|
+
onSearchQueryChange: (query: string) => void;
|
|
11
|
+
texts: DropdownPickerTexts;
|
|
12
|
+
dropdownItemsNameWidth?: number;
|
|
13
|
+
additionalColumns?: {
|
|
14
|
+
key: string;
|
|
15
|
+
name: string;
|
|
16
|
+
width: number | null;
|
|
17
|
+
}[];
|
|
18
|
+
isLoading?: boolean;
|
|
19
|
+
isNumber?: boolean;
|
|
20
|
+
onSelect?: (item: DropdownPickerOption | null) => void;
|
|
21
|
+
CustomOnChangeComponent?: React.ReactElement;
|
|
22
|
+
displayIdAsName?: boolean;
|
|
23
|
+
};
|
|
24
|
+
export default DropdownPickerProps;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
2
|
+
import InputContainerProps from '../InputContainerProps';
|
|
3
|
+
type InputBaseProps = {
|
|
4
|
+
InputContainer?: ForwardRefExoticComponent<InputContainerProps>;
|
|
5
|
+
label?: string;
|
|
6
|
+
withoutLabel?: boolean;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
size?: 'sm' | 'lg';
|
|
9
|
+
hidden?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
showClearIcon?: boolean;
|
|
12
|
+
clearValue?: string | number;
|
|
13
|
+
className?: string;
|
|
14
|
+
};
|
|
15
|
+
export default InputBaseProps;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import FormSelectOption from '../../types/FormSelectOption';
|
|
2
|
+
import InputBaseProps from './InputBaseProps';
|
|
3
|
+
type SelectInputProps = InputBaseProps & {
|
|
4
|
+
options: FormSelectOption[];
|
|
5
|
+
isNumber?: boolean;
|
|
6
|
+
noSortOptions?: boolean;
|
|
7
|
+
suffixIdToName?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export default SelectInputProps;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import InputBaseProps from './InputBaseProps';
|
|
3
|
+
type TextInputProps = InputBaseProps & {
|
|
4
|
+
type: 'text' | 'number' | 'password' | 'date' | 'datetime-local';
|
|
5
|
+
list?: string;
|
|
6
|
+
step?: number | string;
|
|
7
|
+
CustomOnChangeComponent?: React.ReactElement;
|
|
8
|
+
noSelectOnFocus?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export default TextInputProps;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import DashboardWidgetCommonProps from '@models/prop-types/DashboardWidgetCommonProps';
|
|
2
|
+
import { ElementType, ReactNode } from 'react';
|
|
3
|
+
type DashboardWidget = {
|
|
4
|
+
id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
title: ReactNode;
|
|
7
|
+
WidgetElement: ElementType<DashboardWidgetCommonProps>;
|
|
8
|
+
};
|
|
9
|
+
export default DashboardWidget;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type EmployeeIndexModel = {
|
|
2
|
+
id: number;
|
|
3
|
+
firstName: string | null;
|
|
4
|
+
lastName: string | null;
|
|
5
|
+
fullName: string | null;
|
|
6
|
+
kid: string | null;
|
|
7
|
+
email: string | null;
|
|
8
|
+
phoneNumber: string | null;
|
|
9
|
+
profession: string | null;
|
|
10
|
+
department: string | null;
|
|
11
|
+
orgUnitId: string | null;
|
|
12
|
+
orgUnitName: string | null;
|
|
13
|
+
};
|
|
14
|
+
export default EmployeeIndexModel;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FieldValues, FormState, UseFormGetValues, UseFormRegister, UseFormSetValue, UseFormWatch } from 'react-hook-form';
|
|
2
|
+
type HookFormInputProps = {
|
|
3
|
+
register: UseFormRegister<FieldValues>;
|
|
4
|
+
formState: FormState<FieldValues>;
|
|
5
|
+
getValues: UseFormGetValues<FieldValues>;
|
|
6
|
+
setValue: UseFormSetValue<FieldValues>;
|
|
7
|
+
watch: UseFormWatch<FieldValues>;
|
|
8
|
+
};
|
|
9
|
+
export default HookFormInputProps;
|