react-luminus-components 1.1.27 → 1.2.0

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 (78) hide show
  1. package/dist/.vite/manifest.json +41 -41
  2. package/dist/{DataKey-BW7pVEN-.cjs → DataKey-CCnWsp5R.cjs} +1 -1
  3. package/dist/{DataKey-DLEAAtqJ.js → DataKey-DEvxfpG4.js} +1 -1
  4. package/dist/{SimpleTooltip-Bclp93h0.js → SimpleTooltip-Bgsx47Y0.js} +1 -1
  5. package/dist/{SimpleTooltip-SKI6LrMC.cjs → SimpleTooltip-D3yt_5sa.cjs} +1 -1
  6. package/dist/{Typography-yDv-w5KK.cjs → Typography-CwxdFDrh.cjs} +1 -1
  7. package/dist/{Typography-CmC4x8yQ.js → Typography-dPh0BYIU.js} +9 -9
  8. package/dist/{UserAvatarToggle-B7PDqhFk.cjs → UserAvatarToggle-D8sQZp-d.cjs} +41 -41
  9. package/dist/{UserAvatarToggle-CsMWlplC.js → UserAvatarToggle-DgGJIRzY.js} +67 -63
  10. package/dist/components/Buttons/ContextButton/ContextButton.d.ts +1 -1
  11. package/dist/components/Dropdown/comps/SimpleToggle/SimpleToggle.d.ts +1 -1
  12. package/dist/components/Form/CheckInput/CheckInput.d.ts +2 -10
  13. package/dist/components/Form/DropdownPicker/DropdownPicker.d.ts +2 -17
  14. package/dist/components/Form/SelectInput/SelectInput.d.ts +2 -17
  15. package/dist/components/Form/TextInput/TextInput.d.ts +2 -16
  16. package/dist/components/HookForm/CheckInput/HookFormCheckInput.d.ts +2 -2
  17. package/dist/components/HookForm/DropdownPicker/HookFormDropdownPicker.d.ts +2 -10
  18. package/dist/components/HookForm/FileInput/HookFormFileInput.d.ts +2 -13
  19. package/dist/components/HookForm/RadioInput/HookFormRadioInput.d.ts +2 -2
  20. package/dist/components/HookForm/SelectInput/HookFormSelectInput.d.ts +2 -2
  21. package/dist/components/HookForm/TextAreaInput/HookFormTextAreaInput.d.ts +2 -2
  22. package/dist/components/HookForm/TextInput/HookFormTextInput.d.ts +2 -2
  23. package/dist/components/InputContainers/FloatingLabelInput/FloatingLabelInput.d.ts +4 -0
  24. package/dist/components/InputContainers/RowLabelInput/RowLabelInput.d.ts +4 -0
  25. package/dist/components/InputContainers/index.d.ts +2 -0
  26. package/dist/components/common/Card/Card.d.ts +28 -0
  27. package/dist/components/common/InvalidFeedback/InvalidFeedback.d.ts +1 -2
  28. package/dist/components/common/PhotoLibrary/PhotoLibrary.d.ts +10 -0
  29. package/dist/components/common/PhotoLightbox/PhotoLightbox.d.ts +13 -0
  30. package/dist/components/common/index.d.ts +3 -1
  31. package/dist/contexts.cjs.js +1 -1
  32. package/dist/contexts.es.js +4 -4
  33. package/dist/hooks/useZodSchemaTypes/useZodSchemaTypes.d.ts +6 -2
  34. package/dist/hooks.cjs.js +1 -1
  35. package/dist/hooks.es.js +652 -652
  36. package/dist/layout.cjs.js +1 -1
  37. package/dist/layout.es.js +3 -3
  38. package/dist/main.cjs.js +1 -1
  39. package/dist/main.d.ts +5 -2
  40. package/dist/main.es.js +2109 -1952
  41. package/dist/models/index.d.ts +26 -7
  42. package/dist/models/prop-types/FormInputProps/FormCheckInputProps.d.ts +6 -0
  43. package/dist/models/prop-types/FormInputProps/FormFileInputProps.d.ts +11 -0
  44. package/dist/models/prop-types/FormInputProps/FormRadioInputProps.d.ts +6 -0
  45. package/dist/models/prop-types/FormInputProps/FormSelectInputProps.d.ts +6 -0
  46. package/dist/models/prop-types/FormInputProps/FormTextAreaInputProps.d.ts +6 -0
  47. package/dist/models/prop-types/FormInputProps/FormTextInputProps.d.ts +6 -0
  48. package/dist/models/prop-types/HookFormInputProps/HookFormCheckInputProps.d.ts +4 -0
  49. package/dist/models/prop-types/HookFormInputProps/HookFormDropdownPickerProps.d.ts +4 -0
  50. package/dist/models/prop-types/HookFormInputProps/HookFormFileInputProps.d.ts +4 -0
  51. package/dist/models/prop-types/HookFormInputProps/HookFormInputBaseProps.d.ts +7 -0
  52. package/dist/models/prop-types/HookFormInputProps/HookFormRadioInputProps.d.ts +4 -0
  53. package/dist/models/prop-types/HookFormInputProps/HookFormSelectInputProps.d.ts +4 -0
  54. package/dist/models/prop-types/HookFormInputProps/HookFormTextAreaInputProps.d.ts +4 -0
  55. package/dist/models/prop-types/HookFormInputProps/HookFormTextInputProps.d.ts +4 -0
  56. package/dist/models/prop-types/InputContainerProps.d.ts +23 -0
  57. package/dist/models/prop-types/InputProps/CheckInputProps.d.ts +5 -0
  58. package/dist/models/prop-types/InputProps/DropdownPickerProps.d.ts +14 -0
  59. package/dist/models/prop-types/InputProps/FileInputProps.d.ts +6 -0
  60. package/dist/models/prop-types/InputProps/InputBaseProps.d.ts +15 -0
  61. package/dist/models/prop-types/InputProps/RadioInputProps.d.ts +6 -0
  62. package/dist/models/prop-types/InputProps/SelectInputProps.d.ts +8 -0
  63. package/dist/models/prop-types/InputProps/TextAreaInputProps.d.ts +6 -0
  64. package/dist/models/prop-types/InputProps/TextInputProps.d.ts +6 -0
  65. package/dist/models/types/PhotoAction.d.ts +9 -0
  66. package/dist/models/types/PhotoLibraryItemModel.d.ts +7 -0
  67. package/dist/style.css +1 -1
  68. package/dist/{useConfirm-DtEg0CeZ.cjs → useConfirm-Bm2_Ub3h.cjs} +1 -1
  69. package/dist/{useConfirm-CXFo5fIW.js → useConfirm-ClKBi_ok.js} +1 -1
  70. package/package.json +1 -1
  71. package/dist/components/common/InputContainer/InputContainer.d.ts +0 -10
  72. package/dist/models/prop-types/HookFormCheckInputProps.d.ts +0 -10
  73. package/dist/models/prop-types/HookFormDropdownPickerProps.d.ts +0 -13
  74. package/dist/models/prop-types/HookFormRadioInputProps.d.ts +0 -10
  75. package/dist/models/prop-types/HookFormSelectInputProps.d.ts +0 -16
  76. package/dist/models/prop-types/HookFormTextAreaInputProps.d.ts +0 -13
  77. package/dist/models/prop-types/HookFormTextInputProps.d.ts +0 -14
  78. /package/dist/models/prop-types/{HookFormInputProps.d.ts → HookFormInputProps/HookFormInputProps.d.ts} +0 -0
@@ -1,13 +1,32 @@
1
- export type { default as HookFormCheckInputProps } from './prop-types/HookFormCheckInputProps';
2
- export type { default as HookFormDropdownPickerProps } from './prop-types/HookFormDropdownPickerProps';
3
- export type { default as HookFormRadioInputProps } from './prop-types/HookFormRadioInputProps';
4
- export type { default as HookFormSelectInputProps } from './prop-types/HookFormSelectInputProps';
5
- export type { default as HookFormTextAreaInputProps } from './prop-types/HookFormTextAreaInputProps';
6
- export type { default as HookFormTextInputProps } from './prop-types/HookFormTextInputProps';
7
- export type { default as HookFormInputProps } from './prop-types/HookFormInputProps';
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 HookFormInputProps } from './prop-types/HookFormInputProps/HookFormInputProps';
8
25
  export type { default as ContainerProps } from './prop-types/ContainerProps';
9
26
  export type { default as NameIdStringModel } from './types/NameIdStringModel';
10
27
  export type { default as NameIdIntModel } from './types/NameIdIntModel';
28
+ export type { default as PhotoLibraryItemModel } from './types/PhotoLibraryItemModel';
29
+ export type { default as PhotoAction } from './types/PhotoAction';
11
30
  export type { default as EmployeeIndexModel } from './types/EmployeeIndexModel';
12
31
  export type { default as DashboardConfig } from './types/DashboardConfig';
13
32
  export type { default as DashboardWidget } from './types/DashboardWidget';
@@ -0,0 +1,6 @@
1
+ import CheckInputProps from '../InputProps/CheckInputProps';
2
+ type FormCheckInputProps = CheckInputProps & {
3
+ value: boolean;
4
+ onChange?: (value: boolean) => void;
5
+ };
6
+ export default FormCheckInputProps;
@@ -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,6 @@
1
+ import RadioInputProps from '../InputProps/RadioInputProps';
2
+ type FormRadioInputProps = RadioInputProps & {
3
+ value: string | null;
4
+ onChange?: (value: string | null) => void;
5
+ };
6
+ export default FormRadioInputProps;
@@ -0,0 +1,6 @@
1
+ import SelectInputProps from '../InputProps/SelectInputProps';
2
+ type FormSelectInputProps = SelectInputProps & {
3
+ value: string | number | null;
4
+ onChange?: (value: string | number | null) => void;
5
+ };
6
+ export default FormSelectInputProps;
@@ -0,0 +1,6 @@
1
+ import TextAreaInputProps from '../InputProps/TextAreaInputProps';
2
+ type FormTextAreaInputProps = TextAreaInputProps & {
3
+ value: string | null;
4
+ onChange?: (value: string | null) => void;
5
+ };
6
+ export default FormTextAreaInputProps;
@@ -0,0 +1,6 @@
1
+ import TextInputProps from '../InputProps/TextInputProps';
2
+ type FormTextInputProps = TextInputProps & {
3
+ value: string | number | null;
4
+ onChange?: (value: string | number | null) => void;
5
+ };
6
+ export default FormTextInputProps;
@@ -0,0 +1,4 @@
1
+ import CheckInputProps from '../InputProps/CheckInputProps';
2
+ import HookFormInputBaseProps from './HookFormInputBaseProps';
3
+ type HookFormCheckInputProps = HookFormInputBaseProps & CheckInputProps;
4
+ export default HookFormCheckInputProps;
@@ -0,0 +1,4 @@
1
+ import DropdownPickerProps from '../InputProps/DropdownPickerProps';
2
+ import HookFormInputBaseProps from './HookFormInputBaseProps';
3
+ type HookFormDropdownPickerProps = HookFormInputBaseProps & DropdownPickerProps;
4
+ export default HookFormDropdownPickerProps;
@@ -0,0 +1,4 @@
1
+ import FileInputProps from '../InputProps/FileInputProps';
2
+ import HookFormInputBaseProps from './HookFormInputBaseProps';
3
+ type HookFormFileInputProps = HookFormInputBaseProps & FileInputProps;
4
+ export default HookFormFileInputProps;
@@ -0,0 +1,7 @@
1
+ import InputBaseProps from '../InputProps/InputBaseProps';
2
+ type HookFormInputBaseProps = InputBaseProps & {
3
+ formField: string;
4
+ resetsFields?: string[];
5
+ required?: boolean;
6
+ };
7
+ export default HookFormInputBaseProps;
@@ -0,0 +1,4 @@
1
+ import HookFormInputBaseProps from './HookFormInputBaseProps';
2
+ import RadioInputProps from '../InputProps/RadioInputProps';
3
+ type HookFormRadioInputProps = HookFormInputBaseProps & RadioInputProps;
4
+ export default HookFormRadioInputProps;
@@ -0,0 +1,4 @@
1
+ import HookFormInputBaseProps from './HookFormInputBaseProps';
2
+ import SelectInputProps from '../InputProps/SelectInputProps';
3
+ type HookFormSelectInputProps = HookFormInputBaseProps & SelectInputProps;
4
+ export default HookFormSelectInputProps;
@@ -0,0 +1,4 @@
1
+ import HookFormInputBaseProps from './HookFormInputBaseProps';
2
+ import TextAreaInputProps from '../InputProps/TextAreaInputProps';
3
+ type HookFormTextAreaInputProps = HookFormInputBaseProps & TextAreaInputProps;
4
+ export default HookFormTextAreaInputProps;
@@ -0,0 +1,4 @@
1
+ import HookFormInputBaseProps from './HookFormInputBaseProps';
2
+ import TextInputProps from '../InputProps/TextInputProps';
3
+ type HookFormTextInputProps = HookFormInputBaseProps & TextInputProps;
4
+ export default HookFormTextInputProps;
@@ -0,0 +1,23 @@
1
+ /// <reference types="react" />
2
+ type InputContainerBaseProps = {
3
+ hidden?: boolean;
4
+ children: React.ReactNode;
5
+ isInvalid?: boolean;
6
+ isForCheckInput?: boolean;
7
+ isForRadioInput?: boolean;
8
+ inputContainerClassName?: string;
9
+ className?: string;
10
+ };
11
+ type InputContainerWithLabelProps = {
12
+ withoutLabel?: false;
13
+ label: string;
14
+ };
15
+ type InputContainerWithoutLabelProps = {
16
+ withoutLabel: true;
17
+ };
18
+ type InputContainerProps = InputContainerBaseProps & ((InputContainerWithLabelProps & {
19
+ withoutLabel?: false;
20
+ }) | (InputContainerWithoutLabelProps & {
21
+ withoutLabel: true;
22
+ }));
23
+ export default InputContainerProps;
@@ -0,0 +1,5 @@
1
+ import InputBaseProps from './InputBaseProps';
2
+ type CheckInputProps = InputBaseProps & {
3
+ type?: 'switch' | 'checkbox';
4
+ };
5
+ export default CheckInputProps;
@@ -0,0 +1,14 @@
1
+ import FormSelectOption from '@models/types/FormSelectOption';
2
+ import DropdownPickerTexts from '@models/texts/DropdownPickerTexts';
3
+ import InputBaseProps from './InputBaseProps';
4
+ type DropdownPickerProps = InputBaseProps & {
5
+ items: FormSelectOption[];
6
+ defaultSelection: FormSelectOption | null;
7
+ onClickSelectedItem: (item: FormSelectOption) => void;
8
+ onSearchQueryChange: (query: string) => void;
9
+ texts: DropdownPickerTexts;
10
+ isLoading?: boolean;
11
+ isNumber?: boolean;
12
+ onSelect?: (item: FormSelectOption | null) => void;
13
+ };
14
+ export default DropdownPickerProps;
@@ -0,0 +1,6 @@
1
+ import InputBaseProps from './InputBaseProps';
2
+ type FileInputProps = InputBaseProps & {
3
+ accept: string[];
4
+ multiple?: boolean;
5
+ };
6
+ export default FileInputProps;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import InputContainerProps from '../InputContainerProps';
3
+ type InputBaseProps = {
4
+ InputContainer?: React.FC<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,6 @@
1
+ import NameIdStringModel from '@models/types/NameIdStringModel';
2
+ import InputBaseProps from './InputBaseProps';
3
+ type RadioInputProps = InputBaseProps & {
4
+ options: NameIdStringModel[];
5
+ };
6
+ export default RadioInputProps;
@@ -0,0 +1,8 @@
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
+ };
8
+ export default SelectInputProps;
@@ -0,0 +1,6 @@
1
+ import InputBaseProps from './InputBaseProps';
2
+ type TextAreaInputProps = InputBaseProps & {
3
+ height?: number;
4
+ rows?: number;
5
+ };
6
+ export default TextAreaInputProps;
@@ -0,0 +1,6 @@
1
+ import InputBaseProps from './InputBaseProps';
2
+ type TextInputProps = InputBaseProps & {
3
+ type: 'text' | 'number' | 'password' | 'date' | 'datetime-local';
4
+ debounceMs?: number;
5
+ };
6
+ export default TextInputProps;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ type PhotoAction = {
3
+ label: string;
4
+ onClick: (photoId: string) => void;
5
+ icon?: React.ReactNode;
6
+ color?: 'primary' | 'success' | 'danger' | 'warning';
7
+ className?: string;
8
+ };
9
+ export default PhotoAction;
@@ -0,0 +1,7 @@
1
+ export default interface PhotoLibraryItemModel {
2
+ id: string;
3
+ smSrc: string;
4
+ lgSrc: string;
5
+ alt: string;
6
+ isDefault: boolean;
7
+ }
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- ._toast_1s57i_1{color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;border:none!important;font-size:14px!important;padding:4px 24px 4px 8px!important;gap:4px!important}._toast_1s57i_1.luminus-toast-prompt{color:#000!important}._button_1mv5p_1{display:flex;align-items:center;justify-content:center;border:none;font-size:12px;padding:5px 10px;gap:6px}._button_1mv5p_1:after{content:none!important}._button_1mv5p_1:before{content:none!important}._avatar-icon_1axl6_1{height:36px;width:36px;display:flex;align-items:center;justify-content:center;border-radius:100%;color:#fff;font-size:16px}._h1_1p97i_1{font-size:22px;font-weight:400;margin:0;padding:0}._h3_1p97i_8{font-size:20px;font-weight:400;margin:0;padding:0}._h6_1p97i_15,._subtitle_1p97i_22{font-size:16px;font-weight:400;margin:0;padding:0}._body_1p97i_29{font-size:14px;font-weight:400;margin:0;padding:0}._body2_1p97i_36{font-size:13px;font-weight:400;margin:0;padding:0}._caption_1p97i_43{font-size:11px;font-weight:400;margin:0;padding:0}._form-label_1p97i_50{font-size:12px;margin:0;padding:0}._loading_14qfh_1{position:fixed;display:flex;align-items:center;justify-content:center;height:100vh;width:100vw;gap:8px}._loading_14qfh_1 ._spinner-grow_14qfh_10{width:40px;height:40px}._loading_14qfh_1 ._spinner-grow_14qfh_10._second_14qfh_14{animation-delay:.1s}._loading_14qfh_1 ._spinner-grow_14qfh_10._third_14qfh_17{animation-delay:.2s}._side-menu-item_ra7qw_1{width:100%;position:relative}._side-menu-item_ra7qw_1 ._nav-button_ra7qw_5{position:relative;width:100%;display:flex;align-items:center;justify-content:center;padding:8px 16px}._side-menu-item_ra7qw_1 ._nav-button_ra7qw_5._child_ra7qw_13{width:auto;padding:4px 8px}._side-menu-item_ra7qw_1 ._nav-button_ra7qw_5._child_ra7qw_13 ._text_ra7qw_17{margin-left:0}._side-menu-item_ra7qw_1 ._nav-button_ra7qw_5 ._icon_ra7qw_20{display:flex;justify-content:center;align-items:center;font-size:24px}._side-menu-item_ra7qw_1 ._nav-button_ra7qw_5 ._collapse-icon_ra7qw_26{width:100%;display:flex;justify-content:end;align-items:center;font-size:20px}._side-menu-item_ra7qw_1 ._nav-button_ra7qw_5 ._collapse-icon_ra7qw_26 svg{transition:.2s ease}._side-menu-item_ra7qw_1 ._nav-button_ra7qw_5 ._collapse-icon_ra7qw_26._collapsed_ra7qw_36 svg{rotate:180deg}._side-menu-item_ra7qw_1 ._nav-button_ra7qw_5 ._text_ra7qw_17{font-size:16px;margin-left:24px}._side-menu-item_ra7qw_1._expanded_ra7qw_43 ._nav-button_ra7qw_5,._side-menu-item_ra7qw_1._expanded_ra7qw_43 ._nav-button_ra7qw_5 ._icon_ra7qw_20{justify-content:flex-start}._side-menu-item_ra7qw_1 ._children-container_ra7qw_49{position:absolute;display:none;width:100vw;left:100%;top:0;pointer-events:none}._side-menu-item_ra7qw_1 ._children-container_ra7qw_49._visible_ra7qw_57{display:flex}._side-menu-item_ra7qw_1 ._children-container_ra7qw_49 ._children_ra7qw_49{pointer-events:all;max-height:50vh;display:flex;flex-direction:column;flex-wrap:wrap;gap:4px;padding:16px}._side-menu_n1hvm_1{position:fixed;top:0;left:0;height:100%;background-color:#fff;transition:.3s ease;scrollbar-width:none}._side-menu_n1hvm_1::state(webkit-scrollbar){display:none}._side-menu_n1hvm_1 ._sidebar-header_n1hvm_13{display:flex;justify-content:center;align-items:center}._side-menu_n1hvm_1 ._side-menu-content_n1hvm_18{margin-top:64px;padding:0}._side-menu_n1hvm_1._expand_n1hvm_22 ._sidebar-header_n1hvm_13{padding:0 24px;justify-content:flex-start}._side-menu_n1hvm_1 ._divider_n1hvm_26{opacity:1}._top-bar_1lk80_1{padding:0 12px;border-left:16px solid transparent;display:flex;align-items:center;justify-content:space-between;grid-gap:24px;position:fixed;top:0;left:0;width:100%;transition:.3s ease}._top-bar_1lk80_1 ._top-bar-brand_1lk80_14{text-decoration:none;font-size:20px;margin-left:12px}._side-content-bar_17kwd_1{position:fixed;top:0;right:0;height:100%;background-color:#fff;overflow-x:hidden;scrollbar-width:none}._side-content-bar_17kwd_1::state(webkit-scrollbar){display:none}._full-screen-container_1rm4r_1{display:flex;flex-direction:column}.luminus-input-remove-icon{position:absolute;top:0;right:16px;height:100%;display:flex;align-items:center;justify-content:center}.luminus-input-remove-icon.inset{right:40px}.luminus-input-remove-icon .icon-button{padding:0;margin:0;font-size:16px;height:20px;width:20px;display:flex;align-items:center}.form-control,.form-control-plaintext,.form-select{box-shadow:none!important}.luminus-dropdown-picker-disabled{background-color:#e9ecef;color:#68707a}._button_1wjon_1{display:inline-flex;align-items:center;justify-content:center;border-width:2px}._button_1wjon_1._filled_1wjon_7,._button_1wjon_1._filled_1wjon_7 *{color:#fff}._button_1wjon_1._sm_1wjon_13{font-size:14px;padding:4px 8px;gap:6px}._button_1wjon_1._md_1wjon_18{font-size:16px;padding:6px 12px;gap:8px}._button_1wjon_1._lg_1wjon_23{font-size:18px;padding:10px 16px;gap:12px;min-width:120px}._button_1wjon_1:hover,._button_1wjon_1:hover *{color:#fff}._submit-container_w6qi9_1{position:fixed;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:12px;padding:24px;background-color:#ffffffe6}._spacer_w6qi9_14{height:75px}._button_6qbjz_1{display:flex;align-items:center;justify-content:center;border:none;font-size:12px;padding:5px 10px;gap:6px}._widget_1sdw8_1{height:320px;display:flex;justify-content:center;align-items:center}._dashboard_1ikl9_1 ._widgets-grid_1ikl9_1{display:grid;grid-template-columns:repeat(2,1fr);column-gap:16px;row-gap:16px}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7{position:relative;height:320px;width:100%}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7._full-width_1ikl9_12{grid-column:span 2}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7._widget-edit_1ikl9_15{border:2px dashed gray}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7 ._remove-icon_1ikl9_18{z-index:2;position:absolute;right:-16px;top:-16px;background-color:#fff}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7 ._full-width-icon_1ikl9_25{z-index:2;position:absolute;right:-16px;top:calc(50% - 15px);background-color:#fff}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7 ._full-width-icon_1ikl9_25 svg{rotate:90deg}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7 ._widget-edit-overlay_1ikl9_35{position:absolute;left:0;top:0;height:100%;width:100%;background-color:#80808080;opacity:.6}._badge_nhser_1._sm_nhser_1{padding:4px}._badge_nhser_1._md_nhser_4{padding:8px}._badge_nhser_1._lg_nhser_7{padding:10px}._collapse-icon_1ahhn_1{font-size:22px;rotate:90deg;transition:.2s ease}._collapse-icon_1ahhn_1._collapsed_1ahhn_6{rotate:-90deg}._floating-label_1stxq_1{margin-top:4px}._floating-label_1stxq_1 input{padding:0rem .75rem!important}._floating-label_1stxq_1>.form-control,._floating-label_1stxq_1>.form-control-plaintext,._floating-label_1stxq_1>.form-select{height:calc(3rem + 2px);min-height:calc(3rem + 2px);max-height:calc(3rem + 2px);line-height:1;font-size:14px}._floating-label_1stxq_1>.form-control,._floating-label_1stxq_1>.form-control-plaintext{padding:0rem .75rem}._floating-label_1stxq_1>.form-select{padding:0rem 2rem 0rem .75rem}._floating-label_1stxq_1>label{font-size:14px;padding:0rem .25rem;height:1.5rem;position:absolute;left:.5rem;top:calc(50% - .75rem);transition:all .2s ease}._floating-label_1stxq_1>.form-control:focus~label,._floating-label_1stxq_1>.form-control:not(:placeholder-shown)~label,._floating-label_1stxq_1>.form-select~label{transform:none;height:1.25rem;padding:0rem .25rem;font-size:12px;opacity:1;top:-9px;background-color:#fff}._floating-label_1stxq_1>.form-control:focus~label:after,._floating-label_1stxq_1>.form-control:not(:placeholder-shown)~label:after,._floating-label_1stxq_1>.form-select~label:after{content:none!important}._feedback_12jrk_1{padding:0 4px;font-size:12px;display:block}._feedback_12jrk_1._for-floating_12jrk_6{position:absolute;background-color:#fff;top:calc(3rem - 8px);right:12px;width:auto;max-width:70%;margin:0}._feedback-spacer_12jrk_16{padding:0 12px;color:transparent;font-size:12px;width:auto;max-width:70%}._dropdown_gxnf9_1{overflow:hidden;position:absolute;display:none;width:100%;background-color:#fff;border-top-left-radius:0!important;border-top-right-radius:0!important}._dropdown_gxnf9_1._open_gxnf9_10{display:block}._dropdown_gxnf9_1 ._selected-button_gxnf9_13{width:100%;background-color:#d3d3d3;border:none;padding:.75rem;text-decoration:none}._dropdown_gxnf9_1 ._clear-button_gxnf9_20{width:100%;padding:.25rem .75rem;background-color:#fff;border:none}._dropdown_gxnf9_1 ._search-input-container_gxnf9_26{padding:.75rem}._dropdown_gxnf9_1 ._search-input-container_gxnf9_26 ._form-control_gxnf9_29{width:100%}._dropdown_gxnf9_1 ._loading-container_gxnf9_32{display:flex;align-items:center;justify-content:center;width:100%;padding:.75rem}._dropdown_gxnf9_1 ._items-container_gxnf9_39{max-height:20vh;overflow-y:auto}._dropdown_gxnf9_1 ._items-container_gxnf9_39 ._item_gxnf9_39{width:100%;padding:.75rem;background-color:#fff;border:none}._item_qkqdk_1{display:flex;align-items:center;justify-content:flex-start;border:none;font-size:12px;padding:8px 14px;gap:8px}._item_qkqdk_1:after{content:none!important}._divider_1e6rk_1{margin:0}._dropdown_1lk66_1{padding:0;border:none;min-width:auto}._dropdown_1ddrg_1{overflow:hidden;position:absolute;top:calc(100% - 2px);left:1px;right:0;display:none;background-color:#fff;border-top-left-radius:0!important;border-top-right-radius:0!important}._dropdown_1ddrg_1._open_1ddrg_12{display:block}._dropdown_1ddrg_1 ._loading-container_1ddrg_15{display:flex;align-items:center;justify-content:center;width:100%;padding:.75rem}._dropdown_1ddrg_1 ._groups-container_1ddrg_22{max-height:50vh;overflow-y:auto}._dropdown_1ddrg_1 ._groups-container_1ddrg_22 ._group_1ddrg_22 ._header_1ddrg_26{padding:.25rem .75rem;display:flex;justify-content:space-between;align-items:center;text-decoration:none}._dropdown_1ddrg_1 ._groups-container_1ddrg_22 ._group_1ddrg_22 ._item_1ddrg_33{width:100%;padding:.75rem;border:none;text-decoration:none}._input-group_1lkfy_1{border:none;width:min(400px,35vw)}._input-group_1lkfy_1 ._input-group-text_1lkfy_5{border:none;background-color:#fff}._input-group_1lkfy_1 ._input-group-text_1lkfy_5._left_1lkfy_9{border-top-right-radius:0!important;border-bottom-right-radius:0!important}._input-group_1lkfy_1 ._input-group-text_1lkfy_5._right_1lkfy_13{border-top-left-radius:0!important;border-bottom-left-radius:0!important}._input-group_1lkfy_1 ._input_1lkfy_1{border:none}._input-group_1lkfy_1 ._submit-button_1lkfy_20{border:none;background-color:transparent;margin:0;padding:0 8px;height:100%;display:flex;align-items:center;justify-content:center;vertical-align:middle}._tabs_unlm3_1{gap:4px;border:none!important}._tabs_unlm3_1 .nav-link{font-size:16px;padding:12px}._tabs_unlm3_1 .nav-link.active{background-color:#fff!important}._tabs_unlm3_1 .nav-link:not(.active){border:none!important}._tabs_unlm3_1~.tab-content{background-color:#fff;padding:1rem}._tabs_unlm3_1._no-content_unlm3_19~.tab-content{display:none}._tabs_unlm3_1._for-table_unlm3_22~.tab-content{padding:0!important;border:none!important;overflow:hidden}._tabs_unlm3_1._for-table_unlm3_22~.tab-content .tab-pane{height:100%}
1
+ ._toast_1s57i_1{color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;border:none!important;font-size:14px!important;padding:4px 24px 4px 8px!important;gap:4px!important}._toast_1s57i_1.luminus-toast-prompt{color:#000!important}._button_1mv5p_1{display:flex;align-items:center;justify-content:center;border:none;font-size:12px;padding:5px 10px;gap:6px}._button_1mv5p_1:after{content:none!important}._button_1mv5p_1:before{content:none!important}._avatar-icon_1axl6_1{height:36px;width:36px;display:flex;align-items:center;justify-content:center;border-radius:100%;color:#fff;font-size:16px}._h1_14r4v_1{font-size:22px;font-weight:400;margin:0;padding:0}._h3_14r4v_8{font-size:20px;font-weight:400;margin:0;padding:0}._h6_14r4v_15,._subtitle_14r4v_22{font-size:16px;font-weight:400;margin:0;padding:0}._body_14r4v_29{font-size:14px;font-weight:400;margin:0;padding:0}._body2_14r4v_36{font-size:13px;font-weight:400;margin:0;padding:0}._caption_14r4v_43{font-size:11px;font-weight:400;margin:0;padding:0}._form-label_14r4v_50{font-size:14px;margin:0;padding:0}._loading_14qfh_1{position:fixed;display:flex;align-items:center;justify-content:center;height:100vh;width:100vw;gap:8px}._loading_14qfh_1 ._spinner-grow_14qfh_10{width:40px;height:40px}._loading_14qfh_1 ._spinner-grow_14qfh_10._second_14qfh_14{animation-delay:.1s}._loading_14qfh_1 ._spinner-grow_14qfh_10._third_14qfh_17{animation-delay:.2s}._side-menu-item_ra7qw_1{width:100%;position:relative}._side-menu-item_ra7qw_1 ._nav-button_ra7qw_5{position:relative;width:100%;display:flex;align-items:center;justify-content:center;padding:8px 16px}._side-menu-item_ra7qw_1 ._nav-button_ra7qw_5._child_ra7qw_13{width:auto;padding:4px 8px}._side-menu-item_ra7qw_1 ._nav-button_ra7qw_5._child_ra7qw_13 ._text_ra7qw_17{margin-left:0}._side-menu-item_ra7qw_1 ._nav-button_ra7qw_5 ._icon_ra7qw_20{display:flex;justify-content:center;align-items:center;font-size:24px}._side-menu-item_ra7qw_1 ._nav-button_ra7qw_5 ._collapse-icon_ra7qw_26{width:100%;display:flex;justify-content:end;align-items:center;font-size:20px}._side-menu-item_ra7qw_1 ._nav-button_ra7qw_5 ._collapse-icon_ra7qw_26 svg{transition:.2s ease}._side-menu-item_ra7qw_1 ._nav-button_ra7qw_5 ._collapse-icon_ra7qw_26._collapsed_ra7qw_36 svg{rotate:180deg}._side-menu-item_ra7qw_1 ._nav-button_ra7qw_5 ._text_ra7qw_17{font-size:16px;margin-left:24px}._side-menu-item_ra7qw_1._expanded_ra7qw_43 ._nav-button_ra7qw_5,._side-menu-item_ra7qw_1._expanded_ra7qw_43 ._nav-button_ra7qw_5 ._icon_ra7qw_20{justify-content:flex-start}._side-menu-item_ra7qw_1 ._children-container_ra7qw_49{position:absolute;display:none;width:100vw;left:100%;top:0;pointer-events:none}._side-menu-item_ra7qw_1 ._children-container_ra7qw_49._visible_ra7qw_57{display:flex}._side-menu-item_ra7qw_1 ._children-container_ra7qw_49 ._children_ra7qw_49{pointer-events:all;max-height:50vh;display:flex;flex-direction:column;flex-wrap:wrap;gap:4px;padding:16px}._side-menu_n1hvm_1{position:fixed;top:0;left:0;height:100%;background-color:#fff;transition:.3s ease;scrollbar-width:none}._side-menu_n1hvm_1::state(webkit-scrollbar){display:none}._side-menu_n1hvm_1 ._sidebar-header_n1hvm_13{display:flex;justify-content:center;align-items:center}._side-menu_n1hvm_1 ._side-menu-content_n1hvm_18{margin-top:64px;padding:0}._side-menu_n1hvm_1._expand_n1hvm_22 ._sidebar-header_n1hvm_13{padding:0 24px;justify-content:flex-start}._side-menu_n1hvm_1 ._divider_n1hvm_26{opacity:1}._top-bar_1lk80_1{padding:0 12px;border-left:16px solid transparent;display:flex;align-items:center;justify-content:space-between;grid-gap:24px;position:fixed;top:0;left:0;width:100%;transition:.3s ease}._top-bar_1lk80_1 ._top-bar-brand_1lk80_14{text-decoration:none;font-size:20px;margin-left:12px}._side-content-bar_17kwd_1{position:fixed;top:0;right:0;height:100%;background-color:#fff;overflow-x:hidden;scrollbar-width:none}._side-content-bar_17kwd_1::state(webkit-scrollbar){display:none}._full-screen-container_1rm4r_1{display:flex;flex-direction:column}.luminus-input-remove-icon{position:absolute;top:0;right:16px;height:100%;display:flex;align-items:center;justify-content:center}.luminus-input-remove-icon.inset{right:40px}.luminus-input-remove-icon .icon-button{padding:0;margin:0;font-size:16px;height:20px;width:20px;display:flex;align-items:center}.form-control,.form-control-plaintext,.form-select{box-shadow:none!important}.luminus-dropdown-picker-disabled{background-color:#e9ecef;color:#68707a}._button_1wjon_1{display:inline-flex;align-items:center;justify-content:center;border-width:2px}._button_1wjon_1._filled_1wjon_7,._button_1wjon_1._filled_1wjon_7 *{color:#fff}._button_1wjon_1._sm_1wjon_13{font-size:14px;padding:4px 8px;gap:6px}._button_1wjon_1._md_1wjon_18{font-size:16px;padding:6px 12px;gap:8px}._button_1wjon_1._lg_1wjon_23{font-size:18px;padding:10px 16px;gap:12px;min-width:120px}._button_1wjon_1:hover,._button_1wjon_1:hover *{color:#fff}._submit-container_w6qi9_1{position:fixed;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:12px;padding:24px;background-color:#ffffffe6}._spacer_w6qi9_14{height:75px}._button_6qbjz_1{display:flex;align-items:center;justify-content:center;border:none;font-size:12px;padding:5px 10px;gap:6px}._widget_1sdw8_1{height:320px;display:flex;justify-content:center;align-items:center}._dashboard_1ikl9_1 ._widgets-grid_1ikl9_1{display:grid;grid-template-columns:repeat(2,1fr);column-gap:16px;row-gap:16px}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7{position:relative;height:320px;width:100%}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7._full-width_1ikl9_12{grid-column:span 2}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7._widget-edit_1ikl9_15{border:2px dashed gray}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7 ._remove-icon_1ikl9_18{z-index:2;position:absolute;right:-16px;top:-16px;background-color:#fff}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7 ._full-width-icon_1ikl9_25{z-index:2;position:absolute;right:-16px;top:calc(50% - 15px);background-color:#fff}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7 ._full-width-icon_1ikl9_25 svg{rotate:90deg}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7 ._widget-edit-overlay_1ikl9_35{position:absolute;left:0;top:0;height:100%;width:100%;background-color:#80808080;opacity:.6}._badge_nhser_1._sm_nhser_1{padding:4px}._badge_nhser_1._md_nhser_4{padding:8px}._badge_nhser_1._lg_nhser_7{padding:10px}._collapse-icon_1ahhn_1{font-size:22px;rotate:90deg;transition:.2s ease}._collapse-icon_1ahhn_1._collapsed_1ahhn_6{rotate:-90deg}._feedback_esh1j_1{padding:0;margin:0;font-size:12px;display:block}._feedback-spacer_esh1j_8{display:none;padding:0 12px;color:transparent;font-size:12px;width:auto;max-width:70%}._dropdown_gxnf9_1{overflow:hidden;position:absolute;display:none;width:100%;background-color:#fff;border-top-left-radius:0!important;border-top-right-radius:0!important}._dropdown_gxnf9_1._open_gxnf9_10{display:block}._dropdown_gxnf9_1 ._selected-button_gxnf9_13{width:100%;background-color:#d3d3d3;border:none;padding:.75rem;text-decoration:none}._dropdown_gxnf9_1 ._clear-button_gxnf9_20{width:100%;padding:.25rem .75rem;background-color:#fff;border:none}._dropdown_gxnf9_1 ._search-input-container_gxnf9_26{padding:.75rem}._dropdown_gxnf9_1 ._search-input-container_gxnf9_26 ._form-control_gxnf9_29{width:100%}._dropdown_gxnf9_1 ._loading-container_gxnf9_32{display:flex;align-items:center;justify-content:center;width:100%;padding:.75rem}._dropdown_gxnf9_1 ._items-container_gxnf9_39{max-height:20vh;overflow-y:auto}._dropdown_gxnf9_1 ._items-container_gxnf9_39 ._item_gxnf9_39{width:100%;padding:.75rem;background-color:#fff;border:none}._item_qkqdk_1{display:flex;align-items:center;justify-content:flex-start;border:none;font-size:12px;padding:8px 14px;gap:8px}._item_qkqdk_1:after{content:none!important}._divider_1e6rk_1{margin:0}._dropdown_1lk66_1{padding:0;border:none;min-width:auto}._dropdown_1ddrg_1{overflow:hidden;position:absolute;top:calc(100% - 2px);left:1px;right:0;display:none;background-color:#fff;border-top-left-radius:0!important;border-top-right-radius:0!important}._dropdown_1ddrg_1._open_1ddrg_12{display:block}._dropdown_1ddrg_1 ._loading-container_1ddrg_15{display:flex;align-items:center;justify-content:center;width:100%;padding:.75rem}._dropdown_1ddrg_1 ._groups-container_1ddrg_22{max-height:50vh;overflow-y:auto}._dropdown_1ddrg_1 ._groups-container_1ddrg_22 ._group_1ddrg_22 ._header_1ddrg_26{padding:.25rem .75rem;display:flex;justify-content:space-between;align-items:center;text-decoration:none}._dropdown_1ddrg_1 ._groups-container_1ddrg_22 ._group_1ddrg_22 ._item_1ddrg_33{width:100%;padding:.75rem;border:none;text-decoration:none}._input-group_1lkfy_1{border:none;width:min(400px,35vw)}._input-group_1lkfy_1 ._input-group-text_1lkfy_5{border:none;background-color:#fff}._input-group_1lkfy_1 ._input-group-text_1lkfy_5._left_1lkfy_9{border-top-right-radius:0!important;border-bottom-right-radius:0!important}._input-group_1lkfy_1 ._input-group-text_1lkfy_5._right_1lkfy_13{border-top-left-radius:0!important;border-bottom-left-radius:0!important}._input-group_1lkfy_1 ._input_1lkfy_1{border:none}._input-group_1lkfy_1 ._submit-button_1lkfy_20{border:none;background-color:transparent;margin:0;padding:0 8px;height:100%;display:flex;align-items:center;justify-content:center;vertical-align:middle}._card_1459b_1{height:auto;width:auto;background-color:#fff}._card_1459b_1 ._header_1459b_6{padding:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}._card_1459b_1 ._header_1459b_6 ._header-content_1459b_13{display:flex;align-items:center;justify-content:space-between;width:100%}._card_1459b_1 ._header_1459b_6 ._collapse-icon_1459b_19{font-size:22px;rotate:90deg;transition:.2s ease}._card_1459b_1 ._header_1459b_6 ._collapse-icon_1459b_19._collapsed_1459b_24{rotate:-90deg}._card_1459b_1 ._content_1459b_27{padding-bottom:8px}._lightbox_1vcpg_1{display:flex;background-color:#ffffffb3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);position:fixed;top:-100vh;left:0;bottom:0;right:0;width:100vw;height:100vh;opacity:0;flex-direction:column;transition:.3s ease-in-out}._lightbox_1vcpg_1._show_1vcpg_16{top:0;opacity:1}._lightbox_1vcpg_1 ._header_1vcpg_20{background-color:#ffffff1a;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;justify-content:space-between;align-items:center;padding:16px}._lightbox_1vcpg_1 ._header_1vcpg_20 ._photo-actions_1vcpg_28{display:flex;align-items:center;gap:8px}._lightbox_1vcpg_1 ._photo-container_1vcpg_33{display:flex;justify-content:space-between;align-items:center;height:100vh}._lightbox_1vcpg_1 ._photo-container_1vcpg_33 ._photo_1vcpg_28{width:80vw;max-height:70vh}._lightbox_1vcpg_1 ._photo-container_1vcpg_33 ._nav-button_1vcpg_43{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;padding:24px}._lightbox_1vcpg_1 ._photos-preview_1vcpg_51{padding:16px;overflow-x:auto;display:flex;justify-content:center;align-items:center;gap:8px}._lightbox_1vcpg_1 ._photos-preview_1vcpg_51 ._photo_1vcpg_28{height:60px;transition:.3s ease-in-out}._lightbox_1vcpg_1 ._photos-preview_1vcpg_51 ._photo_1vcpg_28._selected_1vcpg_63{transform:scale(.7)}._floating-label_w74st_1{margin-top:4px}._floating-label_w74st_1 input{padding:0rem .75rem!important}._floating-label_w74st_1 .luminus-invalid-feedback{padding:0 4px;margin-top:.25rem;position:absolute;background-color:#fff;top:calc(3rem - 8px);right:12px;width:auto;max-width:70%;margin:0}._floating-label_w74st_1 .invalid-feedback-spacer{display:block}._floating-label_w74st_1>.form-control,._floating-label_w74st_1>.form-control-plaintext,._floating-label_w74st_1>.form-select{height:calc(3rem + 2px);min-height:calc(3rem + 2px);max-height:calc(3rem + 2px);line-height:1;font-size:14px}._floating-label_w74st_1>.form-control,._floating-label_w74st_1>.form-control-plaintext{padding:0rem .75rem}._floating-label_w74st_1>.form-select{padding:0rem 2rem 0rem .75rem}._floating-label_w74st_1>label{font-size:14px;padding:0rem .25rem;height:1.5rem;position:absolute;left:.5rem;top:calc(50% - .75rem);transition:all .2s ease}._floating-label_w74st_1>.form-control:focus~label,._floating-label_w74st_1>.form-control:not(:placeholder-shown)~label,._floating-label_w74st_1>.form-select~label{transform:none;height:1.25rem;padding:0rem .25rem;font-size:12px;opacity:1;top:-9px;background-color:#fff}._floating-label_w74st_1>.form-control:focus~label:after,._floating-label_w74st_1>.form-control:not(:placeholder-shown)~label:after,._floating-label_w74st_1>.form-select~label:after{content:none!important}._row-label-input_1t2xx_1{padding:0 12px}._row-label-input_1t2xx_1 ._label_1t2xx_4{padding-right:8px;display:flex;align-items:center}._row-label-input_1t2xx_1 ._input-container_1t2xx_9{position:relative}._row-label-input_1t2xx_1 ._input-container_1t2xx_9>.form-control,._row-label-input_1t2xx_1 .form-control-plaintext,._row-label-input_1t2xx_1 .form-select{border-radius:0;border:none;border-bottom:1px solid lightgray;font-size:14px;text-align:end;min-height:40px!important;height:40px;padding:0}._row-label-input_1t2xx_1 ._input-container_1t2xx_9>.form-control::-webkit-outer-spin-button,._row-label-input_1t2xx_1 ._input-container_1t2xx_9>.form-control::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}._row-label-input_1t2xx_1 ._input-container_1t2xx_9>.form-control[type=number]{-moz-appearance:textfield}._row-label-input_1t2xx_1 ._input-container_1t2xx_9>.form-select{padding:0 20px 0 0;background-position-x:100%}._row-label-input_1t2xx_1 ._input-container_1t2xx_9>textarea{line-height:19px;margin-top:8px}._row-label-input_1t2xx_1 ._input-container_1t2xx_9>.form-check{height:40px;padding:0;display:flex;flex-direction:row-reverse;align-items:center;border-bottom:1px solid lightgray}._row-label-input_1t2xx_1 ._input-container_1t2xx_9>.form-check .form-check-label{font-size:14px;opacity:0;width:100%}._row-label-input_1t2xx_1 ._input-container_1t2xx_9>.form-check .form-check-input{margin:0;padding:0;height:28px;width:28px}._row-label-input_1t2xx_1 ._input-container_1t2xx_9._keep-check-label_1t2xx_56>.form-check .form-check-label{opacity:1}._row-label-input_1t2xx_1._is-invalid_1t2xx_59{margin:8px 0}._row-label-input_1t2xx_1:has(.form-control:disabled,.form-control-plaintext:disabled,.form-select:disabled,.luminus-dropdown-picker-disabled,.form-check-input:disabled) ._label_1t2xx_4{font-style:italic}._row-label-input_1t2xx_1:has(.form-control:disabled,.form-control-plaintext:disabled,.form-select:disabled,.luminus-dropdown-picker-disabled,.form-check-input:disabled) ._input-container_1t2xx_9>.form-control,._row-label-input_1t2xx_1:has(.form-control:disabled,.form-control-plaintext:disabled,.form-select:disabled,.luminus-dropdown-picker-disabled,.form-check-input:disabled) .form-control-plaintext,._row-label-input_1t2xx_1:has(.form-control:disabled,.form-control-plaintext:disabled,.form-select:disabled,.luminus-dropdown-picker-disabled,.form-check-input:disabled) .form-select,._row-label-input_1t2xx_1:has(.form-control:disabled,.form-control-plaintext:disabled,.form-select:disabled,.luminus-dropdown-picker-disabled,.form-check-input:disabled) .form-check{font-style:italic}._row-label-input_1t2xx_1:has(.form-control:disabled,.form-control-plaintext:disabled,.form-select:disabled,.luminus-dropdown-picker-disabled,.form-check-input:disabled) ._input-container_1t2xx_9>.form-control::placeholder,._row-label-input_1t2xx_1:has(.form-control:disabled,.form-control-plaintext:disabled,.form-select:disabled,.luminus-dropdown-picker-disabled,.form-check-input:disabled) .form-control-plaintext::placeholder,._row-label-input_1t2xx_1:has(.form-control:disabled,.form-control-plaintext:disabled,.form-select:disabled,.luminus-dropdown-picker-disabled,.form-check-input:disabled) .form-select::placeholder,._row-label-input_1t2xx_1:has(.form-control:disabled,.form-control-plaintext:disabled,.form-select:disabled,.luminus-dropdown-picker-disabled,.form-check-input:disabled) .form-check::placeholder{content-visibility:hidden}._row-label-input_1t2xx_1:has(.form-control:disabled,.form-control-plaintext:disabled,.form-select:disabled,.luminus-dropdown-picker-disabled,.form-check-input:disabled) ._input-container_1t2xx_9>.form-select{background-image:none;padding:0}._tabs_owmo3_1{gap:4px;border:none!important;margin-bottom:8px}._tabs_owmo3_1 .nav-link{font-size:16px;padding:8px 16px}._tabs_owmo3_1 .nav-link.active{background-color:#fff}._tabs_owmo3_1 .nav-link:not(.active){background-color:transparent;border:none!important}._tabs_owmo3_1~.tab-content{background-color:transparent;border:none}._tabs_owmo3_1._no-content_owmo3_21~.tab-content{display:none}._tabs_owmo3_1._for-table_owmo3_24~.tab-content{padding:0!important;border:none!important;overflow:hidden}._tabs_owmo3_1._for-table_owmo3_24~.tab-content .tab-pane{height:100%}
@@ -1 +1 @@
1
- "use strict";const r=require("react"),C=require("./UserAvatarToggle-B7PDqhFk.cjs"),f=()=>{const{isShown:s,text:c,showPrompt:n,hidePrompt:t,resolveRef:o}=r.useContext(C.PromptContext),m=r.useCallback(e=>{t(),o.current(e)},[t,o]),u=r.useCallback(async e=>(console.log(e),n(e),console.log("t"),new Promise(i=>{o.current=i})),[o,n]);return{isShown:s,text:c,prompt:u,onFinish:m}};let l;const h=()=>{const{show:s,text:c,showConfirm:n,hideConfirm:t}=r.useContext(C.ConfirmContext),o=()=>{t()};return{confirm:async i=>(n(i),new Promise(a=>{l=a})),onConfirm:()=>{o(),l(!0)},onCancel:()=>{o(),l(!1)},show:s,text:c}};exports.useConfirm=h;exports.usePrompt=f;
1
+ "use strict";const r=require("react"),C=require("./UserAvatarToggle-D8sQZp-d.cjs"),f=()=>{const{isShown:s,text:c,showPrompt:n,hidePrompt:t,resolveRef:o}=r.useContext(C.PromptContext),m=r.useCallback(e=>{t(),o.current(e)},[t,o]),u=r.useCallback(async e=>(console.log(e),n(e),console.log("t"),new Promise(i=>{o.current=i})),[o,n]);return{isShown:s,text:c,prompt:u,onFinish:m}};let l;const h=()=>{const{show:s,text:c,showConfirm:n,hideConfirm:t}=r.useContext(C.ConfirmContext),o=()=>{t()};return{confirm:async i=>(n(i),new Promise(a=>{l=a})),onConfirm:()=>{o(),l(!0)},onCancel:()=>{o(),l(!1)},show:s,text:c}};exports.useConfirm=h;exports.usePrompt=f;
@@ -1,5 +1,5 @@
1
1
  import { useContext as a, useCallback as C } from "react";
2
- import { P as u, C as p } from "./UserAvatarToggle-CsMWlplC.js";
2
+ import { P as u, C as p } from "./UserAvatarToggle-DgGJIRzY.js";
3
3
  const w = () => {
4
4
  const { isShown: e, text: s, showPrompt: r, hidePrompt: t, resolveRef: o } = a(u), i = C((n) => {
5
5
  t(), o.current(n);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-luminus-components",
3
- "version": "1.1.27",
3
+ "version": "1.2.0",
4
4
  "description": "Library of React Components reusable in Luminus projects (Fleetman, CAFM)",
5
5
  "type": "module",
6
6
  "repository": {
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- type InputContainerProps = {
3
- withoutLabel: boolean;
4
- label: string;
5
- hidden?: boolean;
6
- children: React.ReactNode;
7
- className?: string;
8
- };
9
- declare const InputContainer: ({ withoutLabel, label, hidden, children, className, }: InputContainerProps) => import("react").JSX.Element;
10
- export default InputContainer;
@@ -1,10 +0,0 @@
1
- type HookFormCheckInputProps = {
2
- formField: string;
3
- label: string;
4
- resetsFields?: string[];
5
- type?: 'switch' | 'checkbox';
6
- hidden?: boolean;
7
- disabled?: boolean;
8
- required?: boolean;
9
- };
10
- export default HookFormCheckInputProps;
@@ -1,13 +0,0 @@
1
- import NameIdIntModel from '../types/NameIdIntModel';
2
- type HookFormDropdownPickerProps = {
3
- formField: string;
4
- label: string;
5
- defaultSelection: NameIdIntModel | null;
6
- isNumber?: boolean;
7
- size?: 'sm' | 'lg';
8
- resetsFields?: string[];
9
- hidden?: boolean;
10
- disabled?: boolean;
11
- required?: boolean;
12
- };
13
- export default HookFormDropdownPickerProps;
@@ -1,10 +0,0 @@
1
- import NameIdStringModel from '../types/NameIdStringModel';
2
- type HookFormRadioInputProps = {
3
- formField: string;
4
- options: NameIdStringModel[];
5
- resetsFields?: string[];
6
- hidden?: boolean;
7
- disabled?: boolean;
8
- required?: boolean;
9
- };
10
- export default HookFormRadioInputProps;
@@ -1,16 +0,0 @@
1
- import FormSelectOption from '../types/FormSelectOption';
2
- type HookFormSelectInputProps = {
3
- formField: string;
4
- label: string;
5
- options: FormSelectOption[];
6
- isNumber?: boolean;
7
- size?: 'sm' | 'lg';
8
- resetsFields?: string[];
9
- showClearIcon?: boolean;
10
- clearValue?: string | number;
11
- hidden?: boolean;
12
- disabled?: boolean;
13
- noSortOptions?: boolean;
14
- required?: boolean;
15
- };
16
- export default HookFormSelectInputProps;
@@ -1,13 +0,0 @@
1
- type HookFormTextAreaInputProps = {
2
- formField: string;
3
- label: string;
4
- size?: 'sm' | 'lg';
5
- resetsFields?: string[];
6
- showClearIcon?: boolean;
7
- clearValue?: string | number;
8
- hidden?: boolean;
9
- disabled?: boolean;
10
- required?: boolean;
11
- height?: number;
12
- };
13
- export default HookFormTextAreaInputProps;
@@ -1,14 +0,0 @@
1
- type HookFormTextInputProps = {
2
- formField: string;
3
- type: 'text' | 'number' | 'password' | 'date' | 'datetime-local';
4
- label: string;
5
- placeholder?: string;
6
- size?: 'sm' | 'lg';
7
- resetsFields?: string[];
8
- showClearIcon?: boolean;
9
- clearValue?: string | number;
10
- hidden?: boolean;
11
- disabled?: boolean;
12
- required?: boolean;
13
- };
14
- export default HookFormTextInputProps;