@zealicsolutions/web-ui 1.0.44-beta.0 → 1.0.44
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/cjs/containers/types/moleculeTypes.d.ts +10 -16
- package/dist/cjs/contexts/ApiContext/ApiContext.d.ts +12 -0
- package/dist/cjs/contexts/ApiContext/ApiProvider.d.ts +6 -0
- package/dist/cjs/contexts/ApiContext/queries/index.d.ts +1 -0
- package/dist/cjs/contexts/ApiContext/queries/queryKeys.d.ts +3 -0
- package/dist/cjs/contexts/ApiContext/queries/useDataModelFieldOptions.d.ts +5 -0
- package/dist/cjs/contexts/ApiContext/useApi.d.ts +2 -0
- package/dist/cjs/contexts/ButtonActionsContext/useButtonActionsContext.d.ts +1 -0
- package/dist/cjs/contexts/FormStepContext/useFormStepContext.d.ts +1 -0
- package/dist/cjs/contexts/MlrRichTextViewerContext/useMlrRichTextViewerContext.d.ts +1 -0
- package/dist/cjs/contexts/OrganismContext/useOrganismContext.d.ts +1 -0
- package/dist/cjs/contexts/StateContext/useStateContext.d.ts +1 -0
- package/dist/cjs/contexts/index.d.ts +12 -3
- package/dist/cjs/index.js +1588 -1588
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/molecules/Select/Select.d.ts +2 -3
- package/dist/cjs/molecules/Stepper/Stepper.stories.d.ts +5 -5
- package/dist/cjs/molecules/Tabs/Tabs.stories.d.ts +5 -5
- package/dist/cjs/typescript.d.ts +3 -0
- package/dist/esm/components/Avatar/Avatar.js +1 -1
- package/dist/esm/components/Avatar/Avatar.js.map +1 -1
- package/dist/esm/components/Buttons/IconButton.js +1 -1
- package/dist/esm/components/Buttons/IconButton.js.map +1 -1
- package/dist/esm/components/Circle/Circle.js +1 -1
- package/dist/esm/components/Circle/Circle.js.map +1 -1
- package/dist/esm/components/RichTextViewer/RichTextViewer.js +1 -1
- package/dist/esm/components/RichTextViewer/RichTextViewer.js.map +1 -1
- package/dist/esm/components/RichTextViewer/components/Leaf.js +1 -1
- package/dist/esm/components/RichTextViewer/components/Leaf.js.map +1 -1
- package/dist/esm/components/Toast/ToastContent.js +1 -1
- package/dist/esm/components/Toast/ToastContent.js.map +1 -1
- package/dist/esm/containers/Container.js +1 -1
- package/dist/esm/containers/Container.js.map +1 -1
- package/dist/esm/containers/ContainerStoriesComponent.js +1 -1
- package/dist/esm/containers/ContainerStoriesComponent.js.map +1 -1
- package/dist/esm/containers/FormContainer.js +1 -1
- package/dist/esm/containers/FormContainer.js.map +1 -1
- package/dist/esm/containers/FormStepContainer.js +1 -1
- package/dist/esm/containers/FormStepContainer.js.map +1 -1
- package/dist/esm/containers/OrganismItem.js +1 -1
- package/dist/esm/containers/OrganismItem.js.map +1 -1
- package/dist/esm/containers/hooks/useStateListenerValue.js +1 -1
- package/dist/esm/containers/hooks/useStateListenerValue.js.map +1 -1
- package/dist/esm/containers/hooks/useStateModifierHandler.js +1 -1
- package/dist/esm/containers/hooks/useStateModifierHandler.js.map +1 -1
- package/dist/esm/containers/types/moleculeTypes.d.ts +10 -16
- package/dist/esm/contexts/AccountButtonContext/useAccountButtonContext.js +2 -0
- package/dist/esm/contexts/AccountButtonContext/useAccountButtonContext.js.map +1 -0
- package/dist/esm/contexts/ApiContext/ApiContext.d.ts +12 -0
- package/dist/esm/contexts/ApiContext/ApiContext.js +2 -0
- package/dist/esm/contexts/ApiContext/ApiContext.js.map +1 -0
- package/dist/esm/contexts/ApiContext/ApiProvider.d.ts +6 -0
- package/dist/esm/contexts/ApiContext/ApiProvider.js +2 -0
- package/dist/esm/contexts/ApiContext/ApiProvider.js.map +1 -0
- package/dist/esm/contexts/ApiContext/queries/index.d.ts +1 -0
- package/dist/esm/contexts/ApiContext/queries/queryKeys.d.ts +3 -0
- package/dist/esm/contexts/ApiContext/queries/queryKeys.js +2 -0
- package/dist/esm/contexts/ApiContext/queries/queryKeys.js.map +1 -0
- package/dist/esm/contexts/ApiContext/queries/useDataModelFieldOptions.d.ts +5 -0
- package/dist/esm/contexts/ApiContext/queries/useDataModelFieldOptions.js +2 -0
- package/dist/esm/contexts/ApiContext/queries/useDataModelFieldOptions.js.map +1 -0
- package/dist/esm/contexts/ApiContext/useApi.d.ts +2 -0
- package/dist/esm/contexts/ApiContext/useApi.js +2 -0
- package/dist/esm/contexts/ApiContext/useApi.js.map +1 -0
- package/dist/esm/contexts/ButtonActionsContext/ButtonActionsContextProvider.js +1 -1
- package/dist/esm/contexts/ButtonActionsContext/ButtonActionsContextProvider.js.map +1 -1
- package/dist/esm/contexts/ButtonActionsContext/useButtonActionsContext.d.ts +1 -0
- package/dist/esm/contexts/ButtonActionsContext/useButtonActionsContext.js +2 -0
- package/dist/esm/contexts/ButtonActionsContext/useButtonActionsContext.js.map +1 -0
- package/dist/esm/contexts/FormStepContext/FormStepContextProvider.js +1 -1
- package/dist/esm/contexts/FormStepContext/FormStepContextProvider.js.map +1 -1
- package/dist/esm/contexts/FormStepContext/useFormStepContext.d.ts +1 -0
- package/dist/esm/contexts/FormStepContext/useFormStepContext.js +2 -0
- package/dist/esm/contexts/FormStepContext/useFormStepContext.js.map +1 -0
- package/dist/esm/contexts/MlrRichTextViewerContext/useMlrRichTextViewerContext.d.ts +1 -0
- package/dist/esm/contexts/MlrRichTextViewerContext/useMlrRichTextViewerContext.js +2 -0
- package/dist/esm/contexts/MlrRichTextViewerContext/useMlrRichTextViewerContext.js.map +1 -0
- package/dist/esm/contexts/OrganismContext/useOrganismContext.d.ts +1 -0
- package/dist/esm/contexts/OrganismContext/useOrganismContext.js +2 -0
- package/dist/esm/contexts/OrganismContext/useOrganismContext.js.map +1 -0
- package/dist/esm/contexts/StateContext/useStateContext.d.ts +1 -0
- package/dist/esm/contexts/StateContext/useStateContext.js +2 -0
- package/dist/esm/contexts/StateContext/useStateContext.js.map +1 -0
- package/dist/esm/contexts/index.d.ts +12 -3
- package/dist/esm/helpers/utils.js +1 -1
- package/dist/esm/helpers/utils.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/molecules/Accordion/Accordion.js +1 -1
- package/dist/esm/molecules/Accordion/Accordion.js.map +1 -1
- package/dist/esm/molecules/Avatar/Avatar.js +1 -1
- package/dist/esm/molecules/Avatar/Avatar.js.map +1 -1
- package/dist/esm/molecules/BaseMolecule.js +1 -1
- package/dist/esm/molecules/BaseMolecule.js.map +1 -1
- package/dist/esm/molecules/BasicTextField/BasicTextField.js +1 -1
- package/dist/esm/molecules/BasicTextField/BasicTextField.js.map +1 -1
- package/dist/esm/molecules/Checklist/Checklist.js +1 -1
- package/dist/esm/molecules/Checklist/Checklist.js.map +1 -1
- package/dist/esm/molecules/Consent/ConsentCapture.js +1 -1
- package/dist/esm/molecules/Consent/ConsentCapture.js.map +1 -1
- package/dist/esm/molecules/Consent/ConsentMolecule.js +1 -1
- package/dist/esm/molecules/Consent/ConsentMolecule.js.map +1 -1
- package/dist/esm/molecules/CurrencyInputtField/CurrencyInputField.js +1 -1
- package/dist/esm/molecules/CurrencyInputtField/CurrencyInputField.js.map +1 -1
- package/dist/esm/molecules/CustomValidation/CustomValidation.js +1 -1
- package/dist/esm/molecules/CustomValidation/CustomValidation.js.map +1 -1
- package/dist/esm/molecules/DatePicker/DatePicker.js +1 -1
- package/dist/esm/molecules/DatePicker/DatePicker.js.map +1 -1
- package/dist/esm/molecules/Drawer/styles.js +1 -1
- package/dist/esm/molecules/Drawer/styles.js.map +1 -1
- package/dist/esm/molecules/EmailInputField/EmailInputField.js +1 -1
- package/dist/esm/molecules/EmailInputField/EmailInputField.js.map +1 -1
- package/dist/esm/molecules/Menu/Menu.js +1 -1
- package/dist/esm/molecules/Menu/Menu.js.map +1 -1
- package/dist/esm/molecules/NumericInputField/NumericInputField.js +1 -1
- package/dist/esm/molecules/NumericInputField/NumericInputField.js.map +1 -1
- package/dist/esm/molecules/PasswordSetup/PasswordSetup.js +1 -1
- package/dist/esm/molecules/PasswordSetup/PasswordSetup.js.map +1 -1
- package/dist/esm/molecules/PdfDocument/PdfDocument.js +1 -1
- package/dist/esm/molecules/PdfDocument/PdfDocument.js.map +1 -1
- package/dist/esm/molecules/PhoneNumberInputField/PhoneNumberInputField.js +1 -1
- package/dist/esm/molecules/PhoneNumberInputField/PhoneNumberInputField.js.map +1 -1
- package/dist/esm/molecules/Select/Select.d.ts +2 -3
- package/dist/esm/molecules/Select/Select.js +1 -1
- package/dist/esm/molecules/Select/Select.js.map +1 -1
- package/dist/esm/molecules/Slider/Slider.js +1 -1
- package/dist/esm/molecules/Slider/Slider.js.map +1 -1
- package/dist/esm/molecules/Stepper/Stepper.js +1 -1
- package/dist/esm/molecules/Stepper/Stepper.js.map +1 -1
- package/dist/esm/molecules/Stepper/Stepper.stories.d.ts +5 -5
- package/dist/esm/molecules/Switch/Switch.js +1 -1
- package/dist/esm/molecules/Switch/Switch.js.map +1 -1
- package/dist/esm/molecules/Tabs/Tabs.js +1 -1
- package/dist/esm/molecules/Tabs/Tabs.js.map +1 -1
- package/dist/esm/molecules/Tabs/Tabs.stories.d.ts +5 -5
- package/dist/esm/molecules/ZealUIModal/ZealUIModal.js +1 -1
- package/dist/esm/molecules/ZealUIModal/ZealUIModal.js.map +1 -1
- package/dist/esm/node_modules/react-slick/lib/track.js +1 -1
- package/dist/esm/typescript.d.ts +3 -0
- package/dist/index.d.ts +91 -139
- package/package.json +3 -11
- package/dist/cjs/contexts/hooks/index.d.ts +0 -6
- package/dist/cjs/contexts/hooks/useButtonActionsContext.d.ts +0 -1
- package/dist/cjs/contexts/hooks/useFormStepContext.d.ts +0 -1
- package/dist/cjs/contexts/hooks/useMlrRichTextViewerContext.d.ts +0 -1
- package/dist/cjs/contexts/hooks/useOrganismContext.d.ts +0 -1
- package/dist/cjs/contexts/hooks/useStateContext.d.ts +0 -1
- package/dist/cjs/molecules/Calendar/CalendarMolecule.d.ts +0 -54
- package/dist/cjs/molecules/Calendar/CalendarMolecule.stories.d.ts +0 -3
- package/dist/cjs/molecules/Visit/VisitMolecule.d.ts +0 -41
- package/dist/esm/contexts/hooks/index.d.ts +0 -6
- package/dist/esm/contexts/hooks/useButtonActionsContext.d.ts +0 -1
- package/dist/esm/contexts/hooks/useButtonActionsContext.js +0 -2
- package/dist/esm/contexts/hooks/useButtonActionsContext.js.map +0 -1
- package/dist/esm/contexts/hooks/useFormStepContext.d.ts +0 -1
- package/dist/esm/contexts/hooks/useFormStepContext.js +0 -2
- package/dist/esm/contexts/hooks/useFormStepContext.js.map +0 -1
- package/dist/esm/contexts/hooks/useMlrRichTextViewerContext.d.ts +0 -1
- package/dist/esm/contexts/hooks/useMlrRichTextViewerContext.js +0 -2
- package/dist/esm/contexts/hooks/useMlrRichTextViewerContext.js.map +0 -1
- package/dist/esm/contexts/hooks/useOrganismContext.d.ts +0 -1
- package/dist/esm/contexts/hooks/useOrganismContext.js +0 -2
- package/dist/esm/contexts/hooks/useOrganismContext.js.map +0 -1
- package/dist/esm/contexts/hooks/useStateContext.d.ts +0 -1
- package/dist/esm/contexts/hooks/useStateContext.js +0 -2
- package/dist/esm/contexts/hooks/useStateContext.js.map +0 -1
- package/dist/esm/molecules/Calendar/CalendarMolecule.d.ts +0 -54
- package/dist/esm/molecules/Calendar/CalendarMolecule.js +0 -2
- package/dist/esm/molecules/Calendar/CalendarMolecule.js.map +0 -1
- package/dist/esm/molecules/Calendar/CalendarMolecule.stories.d.ts +0 -3
- package/dist/esm/molecules/Visit/VisitMolecule.d.ts +0 -41
- package/dist/esm/molecules/Visit/VisitMolecule.js +0 -2
- package/dist/esm/molecules/Visit/VisitMolecule.js.map +0 -1
- package/dist/esm/node_modules/@fullcalendar/core/index.js +0 -2
- package/dist/esm/node_modules/@fullcalendar/core/index.js.map +0 -1
- package/dist/esm/node_modules/@fullcalendar/core/internal-common.js +0 -2
- package/dist/esm/node_modules/@fullcalendar/core/internal-common.js.map +0 -1
- package/dist/esm/node_modules/@fullcalendar/daygrid/index.js +0 -2
- package/dist/esm/node_modules/@fullcalendar/daygrid/index.js.map +0 -1
- package/dist/esm/node_modules/@fullcalendar/daygrid/internal.js +0 -2
- package/dist/esm/node_modules/@fullcalendar/daygrid/internal.js.map +0 -1
- package/dist/esm/node_modules/@fullcalendar/interaction/index.js +0 -2
- package/dist/esm/node_modules/@fullcalendar/interaction/index.js.map +0 -1
- package/dist/esm/node_modules/@fullcalendar/list/index.js +0 -2
- package/dist/esm/node_modules/@fullcalendar/list/index.js.map +0 -1
- package/dist/esm/node_modules/@fullcalendar/list/internal.js +0 -2
- package/dist/esm/node_modules/@fullcalendar/list/internal.js.map +0 -1
- package/dist/esm/node_modules/@fullcalendar/premium-common/index.js +0 -2
- package/dist/esm/node_modules/@fullcalendar/premium-common/index.js.map +0 -1
- package/dist/esm/node_modules/@fullcalendar/react/dist/index.js +0 -2
- package/dist/esm/node_modules/@fullcalendar/react/dist/index.js.map +0 -1
- package/dist/esm/node_modules/@fullcalendar/resource/index.js +0 -2
- package/dist/esm/node_modules/@fullcalendar/resource/index.js.map +0 -1
- package/dist/esm/node_modules/@fullcalendar/resource/internal-common.js +0 -2
- package/dist/esm/node_modules/@fullcalendar/resource/internal-common.js.map +0 -1
- package/dist/esm/node_modules/@fullcalendar/resource-daygrid/internal.js +0 -2
- package/dist/esm/node_modules/@fullcalendar/resource-daygrid/internal.js.map +0 -1
- package/dist/esm/node_modules/@fullcalendar/resource-timegrid/index.js +0 -2
- package/dist/esm/node_modules/@fullcalendar/resource-timegrid/index.js.map +0 -1
- package/dist/esm/node_modules/@fullcalendar/resource-timegrid/internal.js +0 -2
- package/dist/esm/node_modules/@fullcalendar/resource-timegrid/internal.js.map +0 -1
- package/dist/esm/node_modules/@fullcalendar/resource-timeline/index.js +0 -2
- package/dist/esm/node_modules/@fullcalendar/resource-timeline/index.js.map +0 -1
- package/dist/esm/node_modules/@fullcalendar/resource-timeline/internal.js +0 -2
- package/dist/esm/node_modules/@fullcalendar/resource-timeline/internal.js.map +0 -1
- package/dist/esm/node_modules/@fullcalendar/scrollgrid/internal.js +0 -2
- package/dist/esm/node_modules/@fullcalendar/scrollgrid/internal.js.map +0 -1
- package/dist/esm/node_modules/@fullcalendar/timegrid/index.js +0 -2
- package/dist/esm/node_modules/@fullcalendar/timegrid/index.js.map +0 -1
- package/dist/esm/node_modules/@fullcalendar/timegrid/internal.js +0 -2
- package/dist/esm/node_modules/@fullcalendar/timegrid/internal.js.map +0 -1
- package/dist/esm/node_modules/@fullcalendar/timeline/index.js +0 -2
- package/dist/esm/node_modules/@fullcalendar/timeline/index.js.map +0 -1
- package/dist/esm/node_modules/@fullcalendar/timeline/internal.js +0 -2
- package/dist/esm/node_modules/@fullcalendar/timeline/internal.js.map +0 -1
- package/dist/esm/node_modules/preact/compat/dist/compat.mjs.js +0 -2
- package/dist/esm/node_modules/preact/compat/dist/compat.mjs.js.map +0 -1
- package/dist/esm/node_modules/preact/dist/preact.mjs.js +0 -2
- package/dist/esm/node_modules/preact/dist/preact.mjs.js.map +0 -1
- package/dist/esm/node_modules/preact/hooks/dist/hooks.mjs.js +0 -2
- package/dist/esm/node_modules/preact/hooks/dist/hooks.mjs.js.map +0 -1
- /package/dist/cjs/contexts/{hooks → AccountButtonContext}/useAccountButtonContext.d.ts +0 -0
- /package/dist/esm/contexts/{hooks → AccountButtonContext}/useAccountButtonContext.d.ts +0 -0
package/dist/index.d.ts
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import * as _emotion_styled from '@emotion/styled';
|
3
3
|
import * as react from 'react';
|
4
|
-
import react__default, { PropsWithChildren, FC, Dispatch, SetStateAction, CSSProperties, KeyboardEvent, InputHTMLAttributes, MouseEvent } from 'react';
|
4
|
+
import react__default, { PropsWithChildren, FC, Dispatch, SetStateAction, ReactNode, CSSProperties, KeyboardEvent, InputHTMLAttributes, MouseEvent } from 'react';
|
5
5
|
import * as _emotion_react from '@emotion/react';
|
6
6
|
import { CSSObject, Theme, Interpolation } from '@emotion/react';
|
7
7
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
8
8
|
import { ThemeColors as ThemeColors$1, SizesTypes as SizesTypes$1, FontSizesTypes as FontSizesTypes$2 } from 'theme';
|
9
|
-
import { StylesType, AnyObject as AnyObject$1, Callback, OverrideStyles, StyledTransientProps, Nullable, StrictUnion } from 'typescript';
|
9
|
+
import { StylesType, AnyObject as AnyObject$1, Callback as Callback$1, OverrideStyles, StyledTransientProps, ResponseDTO, Nullable, StrictUnion } from 'typescript';
|
10
10
|
import { RefCallBack } from 'react-hook-form/dist/types';
|
11
11
|
import { DataModelFieldFormatCodeTypes as DataModelFieldFormatCodeTypes$1, FormStateType as FormStateType$1, ConfigurationItemInfo as ConfigurationItemInfo$1, ContainerComponentProps as ContainerComponentProps$1, Molecule as Molecule$1, ContainerType as ContainerType$1, MoleculeTypes as MoleculeTypes$1, MoleculeItemTypes as MoleculeItemTypes$2, StateConfigType as StateConfigType$1, MetadataType as MetadataType$1, PasswordSetupMoleculeType as PasswordSetupMoleculeType$1, ContainerProps as ContainerProps$1, LinkProperties as LinkProperties$1, TextProperties as TextProperties$1, ObjectStateProperties as ObjectStateProperties$1, StateProperties as StateProperties$1 } from 'containers';
|
12
12
|
import { InputFieldTypes } from 'fieldsConfiguration/types';
|
@@ -19,8 +19,6 @@ import { DrawerProps as DrawerProps$1, ModalProps, SxProps, TypographyProps, But
|
|
19
19
|
import { IconNames as IconNames$1, TouchableOpacityProps as TouchableOpacityProps$1 } from 'components';
|
20
20
|
import { OrganismDTO } from 'organisms/types';
|
21
21
|
import { AnnotationsList as AnnotationsList$1 } from 'contexts/MlrRichTextViewerContext/types';
|
22
|
-
import * as contexts_MlrRichTextViewerContext_MlrRichTextViewerContext from 'contexts/MlrRichTextViewerContext/MlrRichTextViewerContext';
|
23
|
-
import * as contexts_ButtonActionsContext_ButtonActionsContext from 'contexts/ButtonActionsContext/ButtonActionsContext';
|
24
22
|
import { PasswordRuleValidation as PasswordRuleValidation$2 } from 'molecules/PasswordSetup/PasswordSetup';
|
25
23
|
export * from 'helpers/constants';
|
26
24
|
import { ConsentCaptureProps } from 'molecules/Consent/ConsentCapture';
|
@@ -29,7 +27,6 @@ import { RegisterOptions, FieldValues, UseFormReturn, ValidationMode } from 'rea
|
|
29
27
|
import { DatePickerProps } from '@mui/x-date-pickers';
|
30
28
|
import * as containers_types_types from 'containers/types/types';
|
31
29
|
import { ContainerProps as ContainerProps$2, ContainerProperties as ContainerProperties$1, ContainerComponentProps as ContainerComponentProps$2 } from 'containers/types/types';
|
32
|
-
import { EventInput, ThemeSystem } from '@fullcalendar/react';
|
33
30
|
|
34
31
|
declare type TouchableOpacityProps = PropsWithChildren<{
|
35
32
|
activeOpacity?: number;
|
@@ -89,7 +86,7 @@ declare type SelectInternalConfigurationOptions = {
|
|
89
86
|
};
|
90
87
|
declare type SelectProps = Partial<{
|
91
88
|
ref: RefCallBack;
|
92
|
-
onBlur: Callback;
|
89
|
+
onBlur: Callback$1;
|
93
90
|
value: string;
|
94
91
|
optionsPresentation: boolean;
|
95
92
|
onChange: (value: string) => void;
|
@@ -139,6 +136,7 @@ declare const availableIcons: {
|
|
139
136
|
declare type IconNames = keyof typeof availableIcons;
|
140
137
|
declare const Icon: ({ name, color, ...props }: IconProps) => _emotion_react_jsx_runtime.JSX.Element;
|
141
138
|
|
139
|
+
declare type Callback = () => void;
|
142
140
|
declare type AnyObject = Record<string, unknown>;
|
143
141
|
|
144
142
|
declare type MaskConfig = {
|
@@ -159,13 +157,13 @@ declare type InputFieldInternalConfigProps = Partial<{
|
|
159
157
|
}>;
|
160
158
|
declare type InputIconProps = {
|
161
159
|
name: IconNames;
|
162
|
-
onClick?: Callback;
|
160
|
+
onClick?: Callback$1;
|
163
161
|
};
|
164
162
|
declare type InputProps = Partial<{
|
165
163
|
value: string;
|
166
164
|
leftIcon: InputIconProps;
|
167
165
|
rightIcon: InputIconProps;
|
168
|
-
onBlur: Callback;
|
166
|
+
onBlur: Callback$1;
|
169
167
|
type: InputFieldTypes;
|
170
168
|
placeholder: string;
|
171
169
|
disabled: boolean;
|
@@ -231,7 +229,7 @@ declare type RegularImageProps = {
|
|
231
229
|
alt: string;
|
232
230
|
width: number | string;
|
233
231
|
height: number | string;
|
234
|
-
onClick: Callback;
|
232
|
+
onClick: Callback$1;
|
235
233
|
cornerRadius: SizesTypes$1 | number;
|
236
234
|
}> & ConfigurationItemInfo$1 & OverrideStyles;
|
237
235
|
declare const RegularImage: _emotion_styled.StyledComponent<{
|
@@ -243,7 +241,7 @@ declare const RegularImage: _emotion_styled.StyledComponent<{
|
|
243
241
|
alt: string;
|
244
242
|
width: number | string;
|
245
243
|
height: number | string;
|
246
|
-
onClick: Callback;
|
244
|
+
onClick: Callback$1;
|
247
245
|
cornerRadius: SizesTypes$1 | number;
|
248
246
|
}> & ConfigurationItemInfo$1 & OverrideStyles, react.DetailedHTMLProps<react.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
249
247
|
declare const BackgroundImage: _emotion_styled.StyledComponent<{
|
@@ -255,7 +253,7 @@ declare const BackgroundImage: _emotion_styled.StyledComponent<{
|
|
255
253
|
alt: string;
|
256
254
|
width: number | string;
|
257
255
|
height: number | string;
|
258
|
-
onClick: Callback;
|
256
|
+
onClick: Callback$1;
|
259
257
|
cornerRadius: SizesTypes$1 | number;
|
260
258
|
}> & ConfigurationItemInfo$1 & OverrideStyles & react.ClassAttributes<HTMLImageElement> & react.ImgHTMLAttributes<HTMLImageElement> & {
|
261
259
|
theme?: _emotion_react.Theme | undefined;
|
@@ -331,7 +329,7 @@ declare type AvatarProps = {
|
|
331
329
|
iconName?: IconNames;
|
332
330
|
imageUrl?: string;
|
333
331
|
};
|
334
|
-
onPress?: Callback;
|
332
|
+
onPress?: Callback$1;
|
335
333
|
};
|
336
334
|
declare const Avatar: ({ size, withShadow, label, backgroundColor, onPress, content: { initials, iconName, imageUrl }, textConfig: { color, font }, }: AvatarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
337
335
|
|
@@ -374,7 +372,7 @@ declare type RadioButtonsProps<T extends string> = Partial<{
|
|
374
372
|
name: string;
|
375
373
|
value: T;
|
376
374
|
options: SelectOption[];
|
377
|
-
onBlur: Callback;
|
375
|
+
onBlur: Callback$1;
|
378
376
|
onChange: (value: T) => void;
|
379
377
|
isRow: boolean;
|
380
378
|
isError: boolean;
|
@@ -388,7 +386,7 @@ declare const RadioButtons: <T extends string>({ ref, name, value, options, onBl
|
|
388
386
|
name: string;
|
389
387
|
value: T;
|
390
388
|
options: SelectOption[];
|
391
|
-
onBlur: Callback;
|
389
|
+
onBlur: Callback$1;
|
392
390
|
onChange: (value: T) => void;
|
393
391
|
isRow: boolean;
|
394
392
|
isError: boolean;
|
@@ -437,7 +435,7 @@ declare const CircularIndicatorStyledComponent: _emotion_styled.StyledComponent<
|
|
437
435
|
declare type IconButtonProps = {
|
438
436
|
name: IconNames$1;
|
439
437
|
size?: number;
|
440
|
-
onClick: Callback;
|
438
|
+
onClick: Callback$1;
|
441
439
|
color?: ThemeColors$1 | string;
|
442
440
|
fill?: ThemeColors$1 | string;
|
443
441
|
pointerEvents?: 'auto' | 'none';
|
@@ -479,6 +477,13 @@ declare const toastStyles: _emotion_react.SerializedStyles;
|
|
479
477
|
|
480
478
|
declare const useMediaQuery: (breakpointSize: BreakpointSizesTypes$1) => boolean;
|
481
479
|
|
480
|
+
declare type MlrRichTextViewerContextType = {
|
481
|
+
isMLRReview: boolean;
|
482
|
+
showAnnotations: boolean;
|
483
|
+
annotationsList: AnnotationsList$1;
|
484
|
+
};
|
485
|
+
declare const MlrRichTextViewerContext: react.Context<MlrRichTextViewerContextType>;
|
486
|
+
|
482
487
|
declare type MlrRichTextViewerProviderProps = PropsWithChildren<{
|
483
488
|
annotationsList: AnnotationsList$1;
|
484
489
|
isMLRReview: boolean;
|
@@ -486,12 +491,7 @@ declare type MlrRichTextViewerProviderProps = PropsWithChildren<{
|
|
486
491
|
}>;
|
487
492
|
declare const MlrRichTextViewerProvider: ({ children, isMLRReview, showAnnotations, annotationsList, }: MlrRichTextViewerProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
|
488
493
|
|
489
|
-
declare
|
490
|
-
isMLRReview: boolean;
|
491
|
-
showAnnotations: boolean;
|
492
|
-
annotationsList: AnnotationsList$1;
|
493
|
-
};
|
494
|
-
declare const MlrRichTextViewerContext: react.Context<MlrRichTextViewerContextType>;
|
494
|
+
declare const useMlrRichTextViewerContext: () => MlrRichTextViewerContextType;
|
495
495
|
|
496
496
|
declare type AnnotationsList = {
|
497
497
|
tags: {
|
@@ -509,10 +509,6 @@ declare type AnnotationsList = {
|
|
509
509
|
}[];
|
510
510
|
};
|
511
511
|
|
512
|
-
declare const useMlrRichTextViewerContext: () => contexts_MlrRichTextViewerContext_MlrRichTextViewerContext.MlrRichTextViewerContextType;
|
513
|
-
|
514
|
-
declare const useButtonActionsContext: () => contexts_ButtonActionsContext_ButtonActionsContext.ButtonActionsContextType;
|
515
|
-
|
516
512
|
declare type ButtonActionsContextType = {
|
517
513
|
actionContent?: ContainerComponentProps$1;
|
518
514
|
setActionContent: Dispatch<SetStateAction<ContainerComponentProps$1>>;
|
@@ -549,6 +545,8 @@ declare type ButtonActionsProviderProps = PropsWithChildren<Partial<{
|
|
549
545
|
}>>;
|
550
546
|
declare const ButtonActionsProvider: ({ children, popupProps }: ButtonActionsProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
|
551
547
|
|
548
|
+
declare const useButtonActionsContext: () => ButtonActionsContextType;
|
549
|
+
|
552
550
|
declare type StepItem = ContainerComponentProps$1 | Molecule$1;
|
553
551
|
declare type GroupedStepItemsByStepContainer = Map<string, StepItem[]>;
|
554
552
|
|
@@ -616,27 +614,36 @@ declare type OrganismContextType = {
|
|
616
614
|
};
|
617
615
|
declare const OrganismContext: react.Context<OrganismContextType>;
|
618
616
|
|
617
|
+
declare const useOrganismContext: () => OrganismContextType;
|
618
|
+
|
619
619
|
declare type AccountButtonContextType = Partial<{
|
620
620
|
userInitials: string;
|
621
|
-
logOutHandler: Callback;
|
622
|
-
goToAccountInfo: Callback;
|
621
|
+
logOutHandler: Callback$1;
|
622
|
+
goToAccountInfo: Callback$1;
|
623
623
|
username: string;
|
624
624
|
}>;
|
625
625
|
declare const AccountButtonContext: react.Context<Partial<{
|
626
626
|
userInitials: string;
|
627
|
-
logOutHandler: Callback;
|
628
|
-
goToAccountInfo: Callback;
|
627
|
+
logOutHandler: Callback$1;
|
628
|
+
goToAccountInfo: Callback$1;
|
629
629
|
username: string;
|
630
630
|
}>>;
|
631
631
|
|
632
632
|
declare type AccountButtonProviderProps = PropsWithChildren<Partial<{
|
633
633
|
userInitials: string;
|
634
|
-
logOutHandler: Callback;
|
635
|
-
goToAccountInfo: Callback;
|
634
|
+
logOutHandler: Callback$1;
|
635
|
+
goToAccountInfo: Callback$1;
|
636
636
|
username: string;
|
637
637
|
}>>;
|
638
638
|
declare const AccountButtonProvider: ({ children, goToAccountInfo, userInitials, logOutHandler, username, }: AccountButtonProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
|
639
639
|
|
640
|
+
declare const useAccountButtonContext: () => Partial<{
|
641
|
+
userInitials: string;
|
642
|
+
logOutHandler: Callback;
|
643
|
+
goToAccountInfo: Callback;
|
644
|
+
username: string;
|
645
|
+
}>;
|
646
|
+
|
640
647
|
declare type StateContextType = {
|
641
648
|
stateConfig: StateConfigType$1;
|
642
649
|
stateHandler?: (updatedStateConfig: StateConfigType$1) => void;
|
@@ -651,6 +658,46 @@ declare type StateContextProviderProps = PropsWithChildren<{
|
|
651
658
|
}>;
|
652
659
|
declare const StateContextProvider: ({ initStateConfig, children, stateHandler, authenticated, }: StateContextProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
|
653
660
|
|
661
|
+
declare const useStateContext: () => StateContextType;
|
662
|
+
|
663
|
+
declare type FormStepContextType = {
|
664
|
+
steps: number;
|
665
|
+
currentStep: number;
|
666
|
+
goToNextStep: () => void;
|
667
|
+
goToPrevStep: () => void;
|
668
|
+
reset: () => void;
|
669
|
+
canGoToNextStep: boolean;
|
670
|
+
canGoToPrevStep: boolean;
|
671
|
+
setStep: Dispatch<SetStateAction<number>>;
|
672
|
+
setInitSteps: Dispatch<SetStateAction<number>>;
|
673
|
+
};
|
674
|
+
declare const FormStepContext: react.Context<FormStepContextType>;
|
675
|
+
|
676
|
+
declare type FormStepContextProviderProps = PropsWithChildren<{
|
677
|
+
initialStepsCount?: number;
|
678
|
+
}>;
|
679
|
+
declare const FormStepContextProvider: ({ initialStepsCount, children, }: FormStepContextProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
|
680
|
+
|
681
|
+
declare const useFormStepContext: () => FormStepContextType;
|
682
|
+
|
683
|
+
interface Option {
|
684
|
+
id: string;
|
685
|
+
name: string;
|
686
|
+
}
|
687
|
+
interface ApiInterface {
|
688
|
+
pickList: {
|
689
|
+
get(dataModelFieldId?: string): Promise<ResponseDTO<Option[]>>;
|
690
|
+
};
|
691
|
+
}
|
692
|
+
declare const ApiContext: react.Context<ApiInterface>;
|
693
|
+
|
694
|
+
declare const ApiProvider: ({ api, children }: {
|
695
|
+
api: ApiInterface;
|
696
|
+
children: ReactNode;
|
697
|
+
}) => _emotion_react_jsx_runtime.JSX.Element;
|
698
|
+
|
699
|
+
declare const useApi: () => ApiInterface;
|
700
|
+
|
654
701
|
declare type CustomValidationRule<T = string> = {
|
655
702
|
text: string;
|
656
703
|
validate: (value?: T) => boolean;
|
@@ -1306,14 +1353,13 @@ declare const DatePickerMolecule: react__default.FC<DatePickerMoleculeProps>;
|
|
1306
1353
|
|
1307
1354
|
interface SelectMoleculeOption {
|
1308
1355
|
id: string;
|
1309
|
-
|
1356
|
+
label: string;
|
1357
|
+
value?: string;
|
1310
1358
|
}
|
1311
1359
|
interface SelectMoleculeProps {
|
1312
1360
|
open?: boolean;
|
1313
1361
|
/** Label text (visible above or inside the select) */
|
1314
1362
|
text: string;
|
1315
|
-
/** Dropdown options. Each has { id, value } or you can supply string[] */
|
1316
|
-
options: SelectMoleculeOption[] | string[];
|
1317
1363
|
/** For a placeholder, you might use the first item or do a custom approach */
|
1318
1364
|
placeholderText?: string;
|
1319
1365
|
/** If true, the field is required in form validation */
|
@@ -1805,96 +1851,6 @@ interface AvatarMoleculeProps {
|
|
1805
1851
|
configurationItemInfo?: ConfigurationItemInfo$1;
|
1806
1852
|
}
|
1807
1853
|
|
1808
|
-
interface VisitMoleculeProps {
|
1809
|
-
/** Unique visit identifier (used as event.id) */
|
1810
|
-
id: string;
|
1811
|
-
/** Title shown on the card and used as event.title */
|
1812
|
-
title: string;
|
1813
|
-
/** Length of the visit, in minutes (used to compute event.end) */
|
1814
|
-
duration: number;
|
1815
|
-
/** Optional description rendered under the title */
|
1816
|
-
description?: string;
|
1817
|
-
/** If you want to associate this visit with a resource */
|
1818
|
-
resourceId?: string;
|
1819
|
-
/** Background color of the card */
|
1820
|
-
backgroundColor?: string;
|
1821
|
-
/** Text color for title/description */
|
1822
|
-
textColor?: string;
|
1823
|
-
/** Border color around the card */
|
1824
|
-
borderColor?: string;
|
1825
|
-
/** Border radius (e.g. '4px') */
|
1826
|
-
borderRadius?: string;
|
1827
|
-
marginLeft?: string;
|
1828
|
-
marginTop?: string;
|
1829
|
-
marginRight?: string;
|
1830
|
-
marginBottom?: string;
|
1831
|
-
paddingLeft?: string;
|
1832
|
-
paddingTop?: string;
|
1833
|
-
paddingRight?: string;
|
1834
|
-
paddingBottom?: string;
|
1835
|
-
/** Font size for the title (e.g. '14px') */
|
1836
|
-
fontSize?: string | number;
|
1837
|
-
/** Font weight for the title (e.g. 400, 600) */
|
1838
|
-
fontWeight?: string | number;
|
1839
|
-
/** If false, disables dragging completely */
|
1840
|
-
draggable?: boolean;
|
1841
|
-
/** If false, dropping won’t actually create an event */
|
1842
|
-
createOnDrop?: boolean;
|
1843
|
-
/** Extra props your designer tool may pass */
|
1844
|
-
configurationItemInfo?: ConfigurationItemInfo$1;
|
1845
|
-
}
|
1846
|
-
|
1847
|
-
interface CalendarMoleculeProps {
|
1848
|
-
/** initial events (will be copied into internal state) */
|
1849
|
-
events?: EventInput[];
|
1850
|
-
resources?: any[];
|
1851
|
-
initialView?: string;
|
1852
|
-
enableDayGrid?: boolean;
|
1853
|
-
enableTimeGrid?: boolean;
|
1854
|
-
enableList?: boolean;
|
1855
|
-
enableTimeline?: boolean;
|
1856
|
-
enableResourceTimeline?: boolean;
|
1857
|
-
slotDuration?: string;
|
1858
|
-
snapDuration?: string;
|
1859
|
-
businessHours?: any;
|
1860
|
-
width?: string | number;
|
1861
|
-
height?: string | number;
|
1862
|
-
backgroundColor?: string;
|
1863
|
-
themeSystem?: ThemeSystem;
|
1864
|
-
marginLeft?: string;
|
1865
|
-
marginTop?: string;
|
1866
|
-
marginRight?: string;
|
1867
|
-
marginBottom?: string;
|
1868
|
-
paddingLeft?: string;
|
1869
|
-
paddingTop?: string;
|
1870
|
-
paddingRight?: string;
|
1871
|
-
paddingBottom?: string;
|
1872
|
-
primaryColor?: string;
|
1873
|
-
secondaryColor?: string;
|
1874
|
-
toolbarBg?: string;
|
1875
|
-
toolbarTextColor?: string;
|
1876
|
-
buttonBg?: string;
|
1877
|
-
buttonTextColor?: string;
|
1878
|
-
buttonHoverBg?: string;
|
1879
|
-
dayHeaderColor?: string;
|
1880
|
-
dayHeaderFontWeight?: number | string;
|
1881
|
-
slotLabelColor?: string;
|
1882
|
-
slotLabelFontSize?: string | number;
|
1883
|
-
eventBg?: string;
|
1884
|
-
eventBorderColor?: string;
|
1885
|
-
eventTextColor?: string;
|
1886
|
-
eventHoverBg?: string;
|
1887
|
-
nowIndicatorColor?: string;
|
1888
|
-
resourceAreaBg?: string;
|
1889
|
-
resourceTextColor?: string;
|
1890
|
-
resourceBorderColor?: string;
|
1891
|
-
bodyBg?: string;
|
1892
|
-
resourceAreaWidth?: string | number;
|
1893
|
-
/** callback whenever a drop creates a new event */
|
1894
|
-
onEventAdd?: (e: EventInput) => void;
|
1895
|
-
configurationItemInfo?: ConfigurationItemInfo$1;
|
1896
|
-
}
|
1897
|
-
|
1898
1854
|
declare type ActionTypes = 'link' | 'popup' | 'drawer' | 'download' | 'submit' | 'reset' | 'destroy';
|
1899
1855
|
declare type DataModelFieldFormatCodeTypes = 'date' | 'email' | 'string' | 'integer' | 'boolean' | 'numeric' | 'zip_code' | 'phone_number';
|
1900
1856
|
declare type DataModelFieldFormatValueTypes = 'any' | 'text' | 'email' | 'integer' | 'numerical' | 'us_zip_code' | 'phone_number' | 'month_year_date' | 'day_month_year_date' | 'month_day_year_date' | 'year_month_day_date';
|
@@ -2002,7 +1958,7 @@ declare type ObjectStateProperties = {
|
|
2002
1958
|
pmiObjectId: string | null;
|
2003
1959
|
};
|
2004
1960
|
declare type MoleculeItemTypes = 'stepper_item' | 'checklist_item' | 'accordion_item' | 'menu_item' | 'tabs_item';
|
2005
|
-
declare type MoleculeTypes = 'simple_text' | 'text' | 'header_tab_group' | 'consent' | 'signup_password_fields' | 'account_button' | 'stepper' | 'checklist' | 'accordion' | 'menu' | 'tabs' | 'divider' | 'link' | 'video' | 'image' | 'button' | 'alert' | 'badge' | 'chip' | 'basic_text_field' | 'rating' | 'switch' | 'slider' | 'select' | 'date_picker' | 'email_input_field' | 'phone_number_input_field' | 'numeric_input_field' | 'currency_input_field' | 'email_display_field' | 'phone_number_display_field' | 'numeric_display_field' | 'currency_display_field' | 'basic_text_display_field' | 'select_display_field' | 'rating_display_field' | 'switch_display_field' | 'slider_display_field' | 'date_display_field' | 'avatar' | '
|
1961
|
+
declare type MoleculeTypes = 'simple_text' | 'text' | 'header_tab_group' | 'consent' | 'signup_password_fields' | 'account_button' | 'stepper' | 'checklist' | 'accordion' | 'menu' | 'tabs' | 'divider' | 'link' | 'video' | 'image' | 'button' | 'alert' | 'badge' | 'chip' | 'basic_text_field' | 'rating' | 'switch' | 'slider' | 'select' | 'date_picker' | 'email_input_field' | 'phone_number_input_field' | 'numeric_input_field' | 'currency_input_field' | 'email_display_field' | 'phone_number_display_field' | 'numeric_display_field' | 'currency_display_field' | 'basic_text_display_field' | 'select_display_field' | 'rating_display_field' | 'switch_display_field' | 'slider_display_field' | 'date_display_field' | 'avatar' | 'calendar' | 'visit';
|
2006
1962
|
/**
|
2007
1963
|
* [ NEW MOLECULE: 3 ] Second Step is to add the new molecule name to this list, in snake case format
|
2008
1964
|
*
|
@@ -2345,25 +2301,21 @@ interface AvatarMoleculeType extends BaseMoleculeType {
|
|
2345
2301
|
dataCapture: DataCaptureProperties;
|
2346
2302
|
};
|
2347
2303
|
}
|
2348
|
-
interface VisitMoleculeType extends BaseMoleculeType {
|
2349
|
-
type: 'visit';
|
2350
|
-
config: {
|
2351
|
-
props: Omit<VisitMoleculeProps, 'configurationItemInfo'>;
|
2352
|
-
};
|
2353
|
-
properties: {
|
2354
|
-
dataCapture: DataCaptureProperties;
|
2355
|
-
};
|
2356
|
-
}
|
2357
2304
|
interface CalendarMoleculeType extends BaseMoleculeType {
|
2358
2305
|
type: 'calendar';
|
2359
2306
|
config: {
|
2360
|
-
props:
|
2307
|
+
props: AnyObject$1;
|
2361
2308
|
};
|
2362
|
-
properties:
|
2363
|
-
|
2309
|
+
properties: AnyObject$1;
|
2310
|
+
}
|
2311
|
+
interface VisitMoleculeType extends BaseMoleculeType {
|
2312
|
+
type: 'visit';
|
2313
|
+
config: {
|
2314
|
+
props: AnyObject$1;
|
2364
2315
|
};
|
2316
|
+
properties: AnyObject$1;
|
2365
2317
|
}
|
2366
|
-
declare type Molecule = StrictUnion<SimpleTextMoleculeType | TextMoleculeType | ConsentFieldMoleculeType | PasswordSetupMoleculeType | StepperMoleculeType | ChecklistsMoleculeType | AccordionMoleculeType | MenuMoleculeType | TabsMoleculeType | DividerMoleculeType | LinkMoleculeType | VideoMoleculeType | ImageMoleculeType | ButtonMoleculeType | ChipMoleculeType | BadgeMoleculeType | AlertMoleculeType | BasicTextFieldMoleculeType | RatingMoleculeType | SwitchMoleculeType | SliderMoleculeType | SelectMoleculeType | DatePickerMoleculeType | EmailInputFieldMoleculeType | PhoneNumberInputFieldMoleculeType | NumericInputFieldMoleculeType | CurrencyInputFieldMoleculeType | AvatarMoleculeType |
|
2318
|
+
declare type Molecule = StrictUnion<SimpleTextMoleculeType | TextMoleculeType | ConsentFieldMoleculeType | PasswordSetupMoleculeType | StepperMoleculeType | ChecklistsMoleculeType | AccordionMoleculeType | MenuMoleculeType | TabsMoleculeType | DividerMoleculeType | LinkMoleculeType | VideoMoleculeType | ImageMoleculeType | ButtonMoleculeType | ChipMoleculeType | BadgeMoleculeType | AlertMoleculeType | BasicTextFieldMoleculeType | RatingMoleculeType | SwitchMoleculeType | SliderMoleculeType | SelectMoleculeType | DatePickerMoleculeType | EmailInputFieldMoleculeType | PhoneNumberInputFieldMoleculeType | NumericInputFieldMoleculeType | CurrencyInputFieldMoleculeType | AvatarMoleculeType | CalendarMoleculeType | VisitMoleculeType> & Partial<{
|
2367
2319
|
form: UseFormReturn<any>;
|
2368
2320
|
formData: AnyObject$1;
|
2369
2321
|
setFormData: Dispatch<SetStateAction<AnyObject$1>>;
|
@@ -2563,4 +2515,4 @@ declare type FormOrganismItemProps = {
|
|
2563
2515
|
};
|
2564
2516
|
declare const FormOrganismItem: ({ formData, setFormData, isMobile, ...props }: FormOrganismItemProps) => _emotion_react_jsx_runtime.JSX.Element | null;
|
2565
2517
|
|
2566
|
-
export { AccordionMoleculeType, AccountButtonContext, AccountButtonContextType, AccountButtonProvider, AccountButtonProviderProps, ActionEventType, ActionProperties, ActionType, ActionTypes, AdditionalContainerProps, AlertMolecule, AlertMoleculeProps, AlertMoleculeType, AnnotationsList, Avatar, AvatarMoleculeType, AvatarProps, BackgroundImage, BadgeMolecule, BadgeMoleculeProps, BadgeMoleculeType, BaseMolecule, BaseMoleculeType, BaseStateValue, BaseTextButton, BasicTextField, BasicTextFieldMoleculeType, BasicTextFieldProps, BooleanProperties, BreakpointSizesTypes, Button, ButtonActionsContext, ButtonActionsContextType, ButtonActionsProvider, ButtonActionsProviderProps, ButtonMoleculeType, ButtonProps, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CalendarMoleculeType, Checkbox, CheckboxProps, Checklist, ChecklistItem, ChecklistProperties, ChecklistProps, ChecklistsMoleculeType, ChipMolecule, ChipMoleculeProps, ChipMoleculeType, Circle, CircleBoxProps, CirclesWrapper, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColorProperties, ConditionConfig, ConditionConfigProperties, ConditionCriteria, ConfigurationItem, ConfigurationItemInfo, Consent, ConsentCaptureMethod, ConsentFieldMoleculeType, ConsentProps, ConsentStatus, ConsentType, Container, ContainerAlignItemsType, ContainerComponentProps, ContainerConfig, ContainerPositionType, ContainerProperties, ContainerProps, ContainerPropsType, ContainerScrollBehaviourType, ContainerTemplateType, ContainerType, ContainerWrapper, CountValidationTypes, CriteriaType, CurrencyInputFieldMoleculeType, CustomStep, CustomValidation, CustomValidationProps, CustomValidationRule, DataCaptureProperties, DataConnectionValues, DataModelFieldFormat, DataModelFieldFormatCodeTypes, DataModelFieldFormatValueTypes, DatePickerMolecule, DatePickerMoleculeProps, DatePickerMoleculeType, DefaultSelectionType, Divider, DividerMoleculeType, DividerProps, DownloadFile, Drawer, EmailInputFieldMoleculeType, ErrorText, FontSizesTypes, FontWeight, FormContainerProps, FormDataStateConfig, FormOrganismItem, FormStateType, FormStepContainerProps, HorizontalButtons, HorizontalButtonsProps, HorizontalPadding, Icon, IconButton, IconButtonProps, IconNames, IconProps, IconRenderer, IconRendererProps, IconWrapper, Image, ImageMoleculeType, ImageProperties, ImageProps, Input, InputFieldInternalConfigProps, InputIconProps, InputProps, Link, LinkMoleculeType, LinkProperties, LinkProps, LinkTypes, LinkVariant, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MaxRuleValidation, MenuMoleculeType, MetadataStateConfig, MetadataType, MinRuleValidation, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, ModalWrapper, Molecule, MoleculeItemTypes, MoleculeTypes, NumericInputFieldMoleculeType, ObjectStateProperties, Organism, OrganismContext, OrganismContextProvider, OrganismContextProviderProps, OrganismContextType, OrganismItem, Padding, PaddingProps, PaddingVariants, PasswordFields, PasswordRuleValidation, PasswordSetup, PasswordSetupMoleculeType, PasswordSetupProps, PdfDocument, PdfDocumentProps, PhoneNumberInputFieldMoleculeType, PopupPropsType, RadioButtonInternalConfigProps, RadioButtons, RadioButtonsProps, RadioGroupWrapper, RatingMolecule, RatingMoleculeProps, RatingMoleculeType, RegularImage, RegularImageProps, RichTextEditorProps, RichTextViewer, SegmentationType, Select, SelectInternalConfigurationOptions, SelectMolecule, SelectMoleculeOption, SelectMoleculeProps, SelectMoleculeType, SelectOption, SelectProps, SeoTags, SetPasswordRuleValidation, SimpleTextMoleculeType, SizesTypes, SliderMolecule, SliderMoleculeProps, SliderMoleculeType, SliderProps, Spacer, SpacerProps, Spinner, StateActionType, StateConfigType, StateContext, StateContextProvider, StateContextProviderProps, StateContextType, StateEventType, StateListenerConfigType, StateModifierConfigType, StateProperties, Stepper, StepperMoleculeType, StepperOrientation, StepperProps, StyleWrapper, SwitchMolecule, SwitchMoleculeProps, SwitchMoleculeType, TabsMoleculeType, TextAlign, TextButton, TextButtonProps, TextElementProps, TextMolecule, TextMoleculeType, TextProperties, TextProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipProps, TouchableOpacity, TouchableOpacityProps, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoMoleculeType, VideoProperties, VideoProps, VisitMoleculeType, WrappedContainerType, ZealTheme, ZealThemeProvider, ZealUIModal, ZealUIModalProps, defaultTheme, defaultValue, passwordValidationMapper, toast, toastStyles, useButtonActionsContext, useMediaQuery, useMlrRichTextViewerContext };
|
2518
|
+
export { AccordionMoleculeType, AccountButtonContext, AccountButtonContextType, AccountButtonProvider, AccountButtonProviderProps, ActionEventType, ActionProperties, ActionType, ActionTypes, AdditionalContainerProps, AlertMolecule, AlertMoleculeProps, AlertMoleculeType, AnnotationsList, ApiContext, ApiInterface, ApiProvider, Avatar, AvatarMoleculeType, AvatarProps, BackgroundImage, BadgeMolecule, BadgeMoleculeProps, BadgeMoleculeType, BaseMolecule, BaseMoleculeType, BaseStateValue, BaseTextButton, BasicTextField, BasicTextFieldMoleculeType, BasicTextFieldProps, BooleanProperties, BreakpointSizesTypes, Button, ButtonActionsContext, ButtonActionsContextType, ButtonActionsProvider, ButtonActionsProviderProps, ButtonMoleculeType, ButtonProps, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CalendarMoleculeType, Checkbox, CheckboxProps, Checklist, ChecklistItem, ChecklistProperties, ChecklistProps, ChecklistsMoleculeType, ChipMolecule, ChipMoleculeProps, ChipMoleculeType, Circle, CircleBoxProps, CirclesWrapper, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColorProperties, ConditionConfig, ConditionConfigProperties, ConditionCriteria, ConfigurationItem, ConfigurationItemInfo, Consent, ConsentCaptureMethod, ConsentFieldMoleculeType, ConsentProps, ConsentStatus, ConsentType, Container, ContainerAlignItemsType, ContainerComponentProps, ContainerConfig, ContainerPositionType, ContainerProperties, ContainerProps, ContainerPropsType, ContainerScrollBehaviourType, ContainerTemplateType, ContainerType, ContainerWrapper, CountValidationTypes, CriteriaType, CurrencyInputFieldMoleculeType, CustomStep, CustomValidation, CustomValidationProps, CustomValidationRule, DataCaptureProperties, DataConnectionValues, DataModelFieldFormat, DataModelFieldFormatCodeTypes, DataModelFieldFormatValueTypes, DatePickerMolecule, DatePickerMoleculeProps, DatePickerMoleculeType, DefaultSelectionType, Divider, DividerMoleculeType, DividerProps, DownloadFile, Drawer, EmailInputFieldMoleculeType, ErrorText, FontSizesTypes, FontWeight, FormContainerProps, FormDataStateConfig, FormOrganismItem, FormStateType, FormStepContainerProps, FormStepContext, FormStepContextProvider, FormStepContextProviderProps, FormStepContextType, HorizontalButtons, HorizontalButtonsProps, HorizontalPadding, Icon, IconButton, IconButtonProps, IconNames, IconProps, IconRenderer, IconRendererProps, IconWrapper, Image, ImageMoleculeType, ImageProperties, ImageProps, Input, InputFieldInternalConfigProps, InputIconProps, InputProps, Link, LinkMoleculeType, LinkProperties, LinkProps, LinkTypes, LinkVariant, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MaxRuleValidation, MenuMoleculeType, MetadataStateConfig, MetadataType, MinRuleValidation, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, ModalWrapper, Molecule, MoleculeItemTypes, MoleculeTypes, NumericInputFieldMoleculeType, ObjectStateProperties, Option, Organism, OrganismContext, OrganismContextProvider, OrganismContextProviderProps, OrganismContextType, OrganismItem, Padding, PaddingProps, PaddingVariants, PasswordFields, PasswordRuleValidation, PasswordSetup, PasswordSetupMoleculeType, PasswordSetupProps, PdfDocument, PdfDocumentProps, PhoneNumberInputFieldMoleculeType, PopupPropsType, RadioButtonInternalConfigProps, RadioButtons, RadioButtonsProps, RadioGroupWrapper, RatingMolecule, RatingMoleculeProps, RatingMoleculeType, RegularImage, RegularImageProps, RichTextEditorProps, RichTextViewer, SegmentationType, Select, SelectInternalConfigurationOptions, SelectMolecule, SelectMoleculeOption, SelectMoleculeProps, SelectMoleculeType, SelectOption, SelectProps, SeoTags, SetPasswordRuleValidation, SimpleTextMoleculeType, SizesTypes, SliderMolecule, SliderMoleculeProps, SliderMoleculeType, SliderProps, Spacer, SpacerProps, Spinner, StateActionType, StateConfigType, StateContext, StateContextProvider, StateContextProviderProps, StateContextType, StateEventType, StateListenerConfigType, StateModifierConfigType, StateProperties, Stepper, StepperMoleculeType, StepperOrientation, StepperProps, StyleWrapper, SwitchMolecule, SwitchMoleculeProps, SwitchMoleculeType, TabsMoleculeType, TextAlign, TextButton, TextButtonProps, TextElementProps, TextMolecule, TextMoleculeType, TextProperties, TextProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipProps, TouchableOpacity, TouchableOpacityProps, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoMoleculeType, VideoProperties, VideoProps, VisitMoleculeType, WrappedContainerType, ZealTheme, ZealThemeProvider, ZealUIModal, ZealUIModalProps, defaultTheme, defaultValue, passwordValidationMapper, toast, toastStyles, useAccountButtonContext, useApi, useButtonActionsContext, useFormStepContext, useMediaQuery, useMlrRichTextViewerContext, useOrganismContext, useStateContext };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@zealicsolutions/web-ui",
|
3
|
-
"version": "1.0.44
|
3
|
+
"version": "1.0.44",
|
4
4
|
"repository": {
|
5
5
|
"type": "git",
|
6
6
|
"url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"
|
@@ -61,6 +61,7 @@
|
|
61
61
|
"@storybook/testing-library": "0.1.0",
|
62
62
|
"@swc/core": "1.2.248",
|
63
63
|
"@swc/jest": "0.2.22",
|
64
|
+
"@tanstack/react-query": "5.74.4",
|
64
65
|
"@testing-library/jest-dom": "5.16.5",
|
65
66
|
"@testing-library/react": "13.4.0",
|
66
67
|
"@testing-library/react-hooks": "8.0.1",
|
@@ -96,21 +97,12 @@
|
|
96
97
|
"typescript": "4.8.2"
|
97
98
|
},
|
98
99
|
"peerDependencies": {
|
100
|
+
"@tanstack/react-query": "5.74.4",
|
99
101
|
"react": "18.2.0",
|
100
102
|
"react-dom": "18.2.0",
|
101
103
|
"react-pdf": "6.2.2"
|
102
104
|
},
|
103
105
|
"dependencies": {
|
104
|
-
"@fullcalendar/core": "^6.1.17",
|
105
|
-
"@fullcalendar/daygrid": "^6.1.17",
|
106
|
-
"@fullcalendar/interaction": "^6.1.17",
|
107
|
-
"@fullcalendar/list": "^6.1.17",
|
108
|
-
"@fullcalendar/react": "^6.1.17",
|
109
|
-
"@fullcalendar/resource": "^6.1.17",
|
110
|
-
"@fullcalendar/resource-timegrid": "^6.1.17",
|
111
|
-
"@fullcalendar/resource-timeline": "^6.1.17",
|
112
|
-
"@fullcalendar/timegrid": "^6.1.17",
|
113
|
-
"@fullcalendar/timeline": "^6.1.17",
|
114
106
|
"@emotion/react": "^11.13.3",
|
115
107
|
"@emotion/styled": "^11.13.0",
|
116
108
|
"@mui/material": "6.1.5",
|
@@ -1,6 +0,0 @@
|
|
1
|
-
export { useFormStepContext } from './useFormStepContext';
|
2
|
-
export { useButtonActionsContext } from './useButtonActionsContext';
|
3
|
-
export { useMlrRichTextViewerContext } from './useMlrRichTextViewerContext';
|
4
|
-
export { useOrganismContext } from './useOrganismContext';
|
5
|
-
export { useStateContext } from './useStateContext';
|
6
|
-
export { useAccountButtonContext } from './useAccountButtonContext';
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const useButtonActionsContext: () => import("contexts/ButtonActionsContext/ButtonActionsContext").ButtonActionsContextType;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const useFormStepContext: () => import("contexts/FormStepContext/FormStepContext").FormStepContextType;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const useMlrRichTextViewerContext: () => import("contexts/MlrRichTextViewerContext/MlrRichTextViewerContext").MlrRichTextViewerContextType;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const useOrganismContext: () => import("contexts/OrganismContext/OrganismContext").OrganismContextType;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const useStateContext: () => import("contexts/StateContext/StateContext").StateContextType;
|
@@ -1,54 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { EventInput, ThemeSystem } from '@fullcalendar/react';
|
3
|
-
import { ConfigurationItemInfo } from 'containers';
|
4
|
-
export interface CalendarMoleculeProps {
|
5
|
-
/** initial events (will be copied into internal state) */
|
6
|
-
events?: EventInput[];
|
7
|
-
resources?: any[];
|
8
|
-
initialView?: string;
|
9
|
-
enableDayGrid?: boolean;
|
10
|
-
enableTimeGrid?: boolean;
|
11
|
-
enableList?: boolean;
|
12
|
-
enableTimeline?: boolean;
|
13
|
-
enableResourceTimeline?: boolean;
|
14
|
-
slotDuration?: string;
|
15
|
-
snapDuration?: string;
|
16
|
-
businessHours?: any;
|
17
|
-
width?: string | number;
|
18
|
-
height?: string | number;
|
19
|
-
backgroundColor?: string;
|
20
|
-
themeSystem?: ThemeSystem;
|
21
|
-
marginLeft?: string;
|
22
|
-
marginTop?: string;
|
23
|
-
marginRight?: string;
|
24
|
-
marginBottom?: string;
|
25
|
-
paddingLeft?: string;
|
26
|
-
paddingTop?: string;
|
27
|
-
paddingRight?: string;
|
28
|
-
paddingBottom?: string;
|
29
|
-
primaryColor?: string;
|
30
|
-
secondaryColor?: string;
|
31
|
-
toolbarBg?: string;
|
32
|
-
toolbarTextColor?: string;
|
33
|
-
buttonBg?: string;
|
34
|
-
buttonTextColor?: string;
|
35
|
-
buttonHoverBg?: string;
|
36
|
-
dayHeaderColor?: string;
|
37
|
-
dayHeaderFontWeight?: number | string;
|
38
|
-
slotLabelColor?: string;
|
39
|
-
slotLabelFontSize?: string | number;
|
40
|
-
eventBg?: string;
|
41
|
-
eventBorderColor?: string;
|
42
|
-
eventTextColor?: string;
|
43
|
-
eventHoverBg?: string;
|
44
|
-
nowIndicatorColor?: string;
|
45
|
-
resourceAreaBg?: string;
|
46
|
-
resourceTextColor?: string;
|
47
|
-
resourceBorderColor?: string;
|
48
|
-
bodyBg?: string;
|
49
|
-
resourceAreaWidth?: string | number;
|
50
|
-
/** callback whenever a drop creates a new event */
|
51
|
-
onEventAdd?: (e: EventInput) => void;
|
52
|
-
configurationItemInfo?: ConfigurationItemInfo;
|
53
|
-
}
|
54
|
-
export declare const CalendarMolecule: React.FC<CalendarMoleculeProps>;
|
@@ -1,3 +0,0 @@
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./CalendarMolecule").CalendarMoleculeProps>;
|
2
|
-
export default _default;
|
3
|
-
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("./CalendarMolecule").CalendarMoleculeProps>;
|
@@ -1,41 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { ConfigurationItemInfo } from 'containers';
|
3
|
-
export interface VisitMoleculeProps {
|
4
|
-
/** Unique visit identifier (used as event.id) */
|
5
|
-
id: string;
|
6
|
-
/** Title shown on the card and used as event.title */
|
7
|
-
title: string;
|
8
|
-
/** Length of the visit, in minutes (used to compute event.end) */
|
9
|
-
duration: number;
|
10
|
-
/** Optional description rendered under the title */
|
11
|
-
description?: string;
|
12
|
-
/** If you want to associate this visit with a resource */
|
13
|
-
resourceId?: string;
|
14
|
-
/** Background color of the card */
|
15
|
-
backgroundColor?: string;
|
16
|
-
/** Text color for title/description */
|
17
|
-
textColor?: string;
|
18
|
-
/** Border color around the card */
|
19
|
-
borderColor?: string;
|
20
|
-
/** Border radius (e.g. '4px') */
|
21
|
-
borderRadius?: string;
|
22
|
-
marginLeft?: string;
|
23
|
-
marginTop?: string;
|
24
|
-
marginRight?: string;
|
25
|
-
marginBottom?: string;
|
26
|
-
paddingLeft?: string;
|
27
|
-
paddingTop?: string;
|
28
|
-
paddingRight?: string;
|
29
|
-
paddingBottom?: string;
|
30
|
-
/** Font size for the title (e.g. '14px') */
|
31
|
-
fontSize?: string | number;
|
32
|
-
/** Font weight for the title (e.g. 400, 600) */
|
33
|
-
fontWeight?: string | number;
|
34
|
-
/** If false, disables dragging completely */
|
35
|
-
draggable?: boolean;
|
36
|
-
/** If false, dropping won’t actually create an event */
|
37
|
-
createOnDrop?: boolean;
|
38
|
-
/** Extra props your designer tool may pass */
|
39
|
-
configurationItemInfo?: ConfigurationItemInfo;
|
40
|
-
}
|
41
|
-
export declare const VisitMolecule: React.FC<VisitMoleculeProps>;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
export { useFormStepContext } from './useFormStepContext';
|
2
|
-
export { useButtonActionsContext } from './useButtonActionsContext';
|
3
|
-
export { useMlrRichTextViewerContext } from './useMlrRichTextViewerContext';
|
4
|
-
export { useOrganismContext } from './useOrganismContext';
|
5
|
-
export { useStateContext } from './useStateContext';
|
6
|
-
export { useAccountButtonContext } from './useAccountButtonContext';
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const useButtonActionsContext: () => import("contexts/ButtonActionsContext/ButtonActionsContext").ButtonActionsContextType;
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"useButtonActionsContext.js","sources":["../../../../../src/contexts/hooks/useButtonActionsContext.ts"],"sourcesContent":[null],"names":["useButtonActionsContext","useContext","ButtonActionsContext"],"mappings":"0HAGO,IAAMA,EAA0B,WAAM,OAAAC,EAAWC,EAAX"}
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const useFormStepContext: () => import("contexts/FormStepContext/FormStepContext").FormStepContextType;
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"useFormStepContext.js","sources":["../../../../../src/contexts/hooks/useFormStepContext.ts"],"sourcesContent":[null],"names":["useFormStepContext","useContext","FormStepContext"],"mappings":"2GAGO,IAAMA,EAAqB,WAAM,OAAAC,EAAWC,EAAX"}
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const useMlrRichTextViewerContext: () => import("contexts/MlrRichTextViewerContext/MlrRichTextViewerContext").MlrRichTextViewerContextType;
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"useMlrRichTextViewerContext.js","sources":["../../../../../src/contexts/hooks/useMlrRichTextViewerContext.ts"],"sourcesContent":[null],"names":["useMlrRichTextViewerContext","useContext","MlrRichTextViewerContext"],"mappings":"sIAGO,IAAMA,EAA8B,WAAM,OAAAC,EAAWC,EAAX"}
|