@zealicsolutions/web-ui 1.0.44-beta-13 → 1.0.44-beta-14

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 (68) hide show
  1. package/dist/cjs/contexts/ApiContext/queries/useDataModelFieldOptions.d.ts +3 -3
  2. package/dist/cjs/index.js +1577 -1577
  3. package/dist/cjs/index.js.map +1 -1
  4. package/dist/esm/contexts/ApiContext/queries/useDataModelFieldOptions.d.ts +3 -3
  5. package/dist/esm/contexts/ApiContext/queries/useDataModelFieldOptions.js +1 -1
  6. package/dist/esm/contexts/ApiContext/queries/useDataModelFieldOptions.js.map +1 -1
  7. package/dist/esm/molecules/BaseMolecule.js +1 -1
  8. package/dist/esm/molecules/BaseMolecule.js.map +1 -1
  9. package/package.json +3 -15
  10. package/dist/cjs/molecules/Calendar/CalendarMolecule.d.ts +0 -54
  11. package/dist/cjs/molecules/Calendar/CalendarMolecule.stories.d.ts +0 -3
  12. package/dist/cjs/molecules/Visit/VisitMolecule.d.ts +0 -41
  13. package/dist/esm/molecules/Calendar/CalendarMolecule.d.ts +0 -54
  14. package/dist/esm/molecules/Calendar/CalendarMolecule.js +0 -2
  15. package/dist/esm/molecules/Calendar/CalendarMolecule.js.map +0 -1
  16. package/dist/esm/molecules/Calendar/CalendarMolecule.stories.d.ts +0 -3
  17. package/dist/esm/molecules/Visit/VisitMolecule.d.ts +0 -41
  18. package/dist/esm/molecules/Visit/VisitMolecule.js +0 -2
  19. package/dist/esm/molecules/Visit/VisitMolecule.js.map +0 -1
  20. package/dist/esm/node_modules/@fullcalendar/core/index.js +0 -2
  21. package/dist/esm/node_modules/@fullcalendar/core/index.js.map +0 -1
  22. package/dist/esm/node_modules/@fullcalendar/core/internal-common.js +0 -2
  23. package/dist/esm/node_modules/@fullcalendar/core/internal-common.js.map +0 -1
  24. package/dist/esm/node_modules/@fullcalendar/daygrid/index.js +0 -2
  25. package/dist/esm/node_modules/@fullcalendar/daygrid/index.js.map +0 -1
  26. package/dist/esm/node_modules/@fullcalendar/daygrid/internal.js +0 -2
  27. package/dist/esm/node_modules/@fullcalendar/daygrid/internal.js.map +0 -1
  28. package/dist/esm/node_modules/@fullcalendar/interaction/index.js +0 -2
  29. package/dist/esm/node_modules/@fullcalendar/interaction/index.js.map +0 -1
  30. package/dist/esm/node_modules/@fullcalendar/list/index.js +0 -2
  31. package/dist/esm/node_modules/@fullcalendar/list/index.js.map +0 -1
  32. package/dist/esm/node_modules/@fullcalendar/list/internal.js +0 -2
  33. package/dist/esm/node_modules/@fullcalendar/list/internal.js.map +0 -1
  34. package/dist/esm/node_modules/@fullcalendar/premium-common/index.js +0 -2
  35. package/dist/esm/node_modules/@fullcalendar/premium-common/index.js.map +0 -1
  36. package/dist/esm/node_modules/@fullcalendar/react/dist/index.js +0 -2
  37. package/dist/esm/node_modules/@fullcalendar/react/dist/index.js.map +0 -1
  38. package/dist/esm/node_modules/@fullcalendar/resource/index.js +0 -2
  39. package/dist/esm/node_modules/@fullcalendar/resource/index.js.map +0 -1
  40. package/dist/esm/node_modules/@fullcalendar/resource/internal-common.js +0 -2
  41. package/dist/esm/node_modules/@fullcalendar/resource/internal-common.js.map +0 -1
  42. package/dist/esm/node_modules/@fullcalendar/resource-daygrid/internal.js +0 -2
  43. package/dist/esm/node_modules/@fullcalendar/resource-daygrid/internal.js.map +0 -1
  44. package/dist/esm/node_modules/@fullcalendar/resource-timegrid/index.js +0 -2
  45. package/dist/esm/node_modules/@fullcalendar/resource-timegrid/index.js.map +0 -1
  46. package/dist/esm/node_modules/@fullcalendar/resource-timegrid/internal.js +0 -2
  47. package/dist/esm/node_modules/@fullcalendar/resource-timegrid/internal.js.map +0 -1
  48. package/dist/esm/node_modules/@fullcalendar/resource-timeline/index.js +0 -2
  49. package/dist/esm/node_modules/@fullcalendar/resource-timeline/index.js.map +0 -1
  50. package/dist/esm/node_modules/@fullcalendar/resource-timeline/internal.js +0 -2
  51. package/dist/esm/node_modules/@fullcalendar/resource-timeline/internal.js.map +0 -1
  52. package/dist/esm/node_modules/@fullcalendar/scrollgrid/internal.js +0 -2
  53. package/dist/esm/node_modules/@fullcalendar/scrollgrid/internal.js.map +0 -1
  54. package/dist/esm/node_modules/@fullcalendar/timegrid/index.js +0 -2
  55. package/dist/esm/node_modules/@fullcalendar/timegrid/index.js.map +0 -1
  56. package/dist/esm/node_modules/@fullcalendar/timegrid/internal.js +0 -2
  57. package/dist/esm/node_modules/@fullcalendar/timegrid/internal.js.map +0 -1
  58. package/dist/esm/node_modules/@fullcalendar/timeline/index.js +0 -2
  59. package/dist/esm/node_modules/@fullcalendar/timeline/index.js.map +0 -1
  60. package/dist/esm/node_modules/@fullcalendar/timeline/internal.js +0 -2
  61. package/dist/esm/node_modules/@fullcalendar/timeline/internal.js.map +0 -1
  62. package/dist/esm/node_modules/preact/compat/dist/compat.mjs.js +0 -2
  63. package/dist/esm/node_modules/preact/compat/dist/compat.mjs.js.map +0 -1
  64. package/dist/esm/node_modules/preact/dist/preact.mjs.js +0 -2
  65. package/dist/esm/node_modules/preact/dist/preact.mjs.js.map +0 -1
  66. package/dist/esm/node_modules/preact/hooks/dist/hooks.mjs.js +0 -2
  67. package/dist/esm/node_modules/preact/hooks/dist/hooks.mjs.js.map +0 -1
  68. package/dist/index.d.ts +0 -2609
package/dist/index.d.ts DELETED
@@ -1,2609 +0,0 @@
1
- /// <reference types="react" />
2
- import * as _emotion_styled from '@emotion/styled';
3
- import * as react from 'react';
4
- import react__default, { PropsWithChildren, FC, Dispatch, SetStateAction, ReactNode, CSSProperties, KeyboardEvent, InputHTMLAttributes, MouseEvent } from 'react';
5
- import * as _emotion_react from '@emotion/react';
6
- import { CSSObject, Theme, Interpolation } from '@emotion/react';
7
- import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
8
- import { ThemeColors as ThemeColors$1, SizesTypes as SizesTypes$1, FontSizesTypes as FontSizesTypes$2 } from 'theme';
9
- import { StylesType, AnyObject as AnyObject$1, Callback as Callback$1, OverrideStyles, StyledTransientProps, ResponseDTO, Nullable, StrictUnion } from 'typescript';
10
- import { RefCallBack } from 'react-hook-form/dist/types';
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
- import { InputFieldTypes } from 'fieldsConfiguration/types';
13
- import { ThemeColors as ThemeColors$2, FontSizesTypes as FontSizesTypes$1, SizesTypes as SizesTypes$2, BreakpointSizesTypes as BreakpointSizesTypes$1 } from 'theme/types';
14
- import { BaseButtonProps, PasswordRuleValidation as PasswordRuleValidation$1, BasicTextFieldProps as BasicTextFieldProps$1, CustomValidationRule as CustomValidationRule$1, CustomStep as CustomStep$1, ChecklistItem as ChecklistItem$1, TextProps as TextProps$1, ConsentType as ConsentType$1, StepperProps as StepperProps$1, ChecklistProps as ChecklistProps$1, DividerProps as DividerProps$1, LinkProps as LinkProps$1, VideoProps as VideoProps$1, ImageProps as ImageProps$1, ButtonProps as ButtonProps$2, ChipMoleculeProps as ChipMoleculeProps$1, BadgeMoleculeProps as BadgeMoleculeProps$1, AlertMoleculeProps as AlertMoleculeProps$1, RatingMoleculeProps as RatingMoleculeProps$1, SliderMoleculeProps as SliderMoleculeProps$1, SelectMoleculeProps as SelectMoleculeProps$1, DatePickerMoleculeProps as DatePickerMoleculeProps$1 } from 'molecules';
15
- import { TooltipProps as TooltipProps$1 } from 'rc-tooltip/lib/Tooltip';
16
- import { Descendant } from 'slate';
17
- import * as _mui_material from '@mui/material';
18
- import { DrawerProps as DrawerProps$1, ModalProps, SxProps, TypographyProps, ButtonProps as ButtonProps$1, SwitchProps, BadgeProps, TextFieldProps, RatingProps, SliderProps as SliderProps$1 } from '@mui/material';
19
- import { IconNames as IconNames$1, TouchableOpacityProps as TouchableOpacityProps$1 } from 'components';
20
- import { OrganismDTO } from 'organisms/types';
21
- import { AnnotationsList as AnnotationsList$1 } from 'contexts/MlrRichTextViewerContext/types';
22
- import { PasswordRuleValidation as PasswordRuleValidation$2 } from 'molecules/PasswordSetup/PasswordSetup';
23
- export * from 'helpers/constants';
24
- import { ConsentCaptureProps } from 'molecules/Consent/ConsentCapture';
25
- import { IconRendererProps as IconRendererProps$1 } from 'molecules/Icon';
26
- import { RegisterOptions, FieldValues, UseFormReturn, ValidationMode } from 'react-hook-form';
27
- import { DatePickerProps } from '@mui/x-date-pickers';
28
- import * as containers_types_types from 'containers/types/types';
29
- import { ContainerProps as ContainerProps$2, ContainerProperties as ContainerProperties$1, ContainerComponentProps as ContainerComponentProps$2 } from 'containers/types/types';
30
- import { EventInput, ThemeSystem } from '@fullcalendar/react';
31
-
32
- declare type TouchableOpacityProps = PropsWithChildren<{
33
- activeOpacity?: number;
34
- withoutOpacityEffect?: boolean;
35
- disabled?: boolean;
36
- }>;
37
- declare const TouchableOpacity: _emotion_styled.StyledComponent<{
38
- theme?: _emotion_react.Theme | undefined;
39
- as?: react.ElementType<any> | undefined;
40
- } & {
41
- activeOpacity?: number | undefined;
42
- withoutOpacityEffect?: boolean | undefined;
43
- disabled?: boolean | undefined;
44
- } & {
45
- children?: react.ReactNode;
46
- }, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
47
-
48
- declare type CheckboxInternalConfigProps = Partial<{
49
- selectedCheckboxBackgroundColor: ThemeColors$1 | string;
50
- selectedCheckboxIconColor: ThemeColors$1 | string;
51
- buttonPadding: number;
52
- textPadding: number;
53
- styles: StylesType;
54
- wrapperStyles: StylesType;
55
- buttonOptionSpacing?: SizesTypes$1;
56
- }>;
57
-
58
- declare type CheckboxProps = {
59
- id: string;
60
- onClick: (id: string) => void;
61
- label: string;
62
- isError?: boolean;
63
- disabled?: boolean;
64
- isEditMode?: boolean;
65
- isSelected?: boolean;
66
- isRichText?: boolean;
67
- notInteractable?: boolean;
68
- internalConfig?: CheckboxInternalConfigProps;
69
- };
70
- declare const Checkbox: ({ id, onClick, label, isError, disabled, isEditMode, isSelected, isRichText, notInteractable, internalConfig, }: CheckboxProps) => _emotion_react_jsx_runtime.JSX.Element;
71
-
72
- declare type SelectOption = {
73
- id: string;
74
- label: string;
75
- value?: string;
76
- config?: AnyObject$1;
77
- };
78
- declare type SelectInternalConfigurationOptions = {
79
- placeholderTextColor: ThemeColors$1 | string;
80
- placeholderTextFontSize: number;
81
- selectedTextColor: ThemeColors$1 | string;
82
- selectedTextFontSize: number;
83
- verticalPadding: number;
84
- horizontalPadding: number;
85
- wrapperStyles: StylesType;
86
- styles: StylesType;
87
- };
88
- declare type SelectProps = Partial<{
89
- ref: RefCallBack;
90
- onBlur: Callback$1;
91
- value: string;
92
- optionsPresentation: boolean;
93
- onChange: (value: string) => void;
94
- placeholder: string;
95
- disabled: boolean;
96
- options: SelectOption[];
97
- isError: boolean;
98
- isEditMode: boolean;
99
- selectInternalConfig: SelectInternalConfigurationOptions;
100
- isRichText: boolean;
101
- }>;
102
- declare const Select: ({ ref, onBlur, onChange, value, placeholder, options, disabled, optionsPresentation, isError, isEditMode, selectInternalConfig, isRichText, }: SelectProps) => _emotion_react_jsx_runtime.JSX.Element;
103
-
104
- declare type IconProps = {
105
- name: IconNames;
106
- size?: number;
107
- color?: ThemeColors$1 | string;
108
- fill?: ThemeColors$1 | string;
109
- pointerEvents?: 'auto' | 'none';
110
- style?: CSSObject;
111
- };
112
- declare const availableIcons: {
113
- ArrowRight: ({ color, ...props }: Omit<IconProps, "name">) => _emotion_react_jsx_runtime.JSX.Element;
114
- Bell: ({ size, color }: Omit<IconProps, "name">) => _emotion_react_jsx_runtime.JSX.Element;
115
- Bookmark: ({ fill, color, size, ...props }: Omit<IconProps, "name">) => _emotion_react_jsx_runtime.JSX.Element;
116
- CaretDown: ({ color, size, }: Omit<IconProps, "name">) => _emotion_react_jsx_runtime.JSX.Element;
117
- CaretLeft: ({ color, size, ...props }: Omit<IconProps, "name">) => _emotion_react_jsx_runtime.JSX.Element;
118
- CaretRight: ({ color, size, ...props }: Omit<IconProps, "name">) => _emotion_react_jsx_runtime.JSX.Element;
119
- CaretUp: ({ color, ...props }: Omit<IconProps, "name">) => _emotion_react_jsx_runtime.JSX.Element;
120
- Check: ({ size, color, }: Omit<IconProps, "name">) => _emotion_react_jsx_runtime.JSX.Element;
121
- Close: ({ size, color, }: Omit<IconProps, "name">) => _emotion_react_jsx_runtime.JSX.Element;
122
- Edit: ({ size, color }: Omit<IconProps, "name">) => _emotion_react_jsx_runtime.JSX.Element;
123
- Filter: ({ size, color, }: Omit<IconProps, "name">) => _emotion_react_jsx_runtime.JSX.Element;
124
- Hide: ({ color, size }: Omit<IconProps, "name">) => _emotion_react_jsx_runtime.JSX.Element;
125
- Info: ({ size, color }: Omit<IconProps, "name">) => _emotion_react_jsx_runtime.JSX.Element;
126
- InfoBoxIcon: ({ color, size }: Omit<IconProps, "name">) => _emotion_react_jsx_runtime.JSX.Element;
127
- Mail: ({ size, color }: Omit<IconProps, "name">) => _emotion_react_jsx_runtime.JSX.Element;
128
- Menu: ({ size, color }: Omit<IconProps, "name">) => _emotion_react_jsx_runtime.JSX.Element;
129
- Minus: ({ size, color, }: Omit<IconProps, "name">) => _emotion_react_jsx_runtime.JSX.Element;
130
- Mobile: ({ size, color, }: Omit<IconProps, "name">) => _emotion_react_jsx_runtime.JSX.Element;
131
- Play: ({ size, color }: Omit<IconProps, "name">) => _emotion_react_jsx_runtime.JSX.Element;
132
- Save: ({ size, color }: Omit<IconProps, "name">) => _emotion_react_jsx_runtime.JSX.Element;
133
- Search: ({ size, color, ...props }: Omit<IconProps, "name">) => _emotion_react_jsx_runtime.JSX.Element;
134
- View: ({ color, size, }: Omit<IconProps, "name">) => _emotion_react_jsx_runtime.JSX.Element;
135
- Warning: ({ size, color, }: Omit<IconProps, "name">) => _emotion_react_jsx_runtime.JSX.Element;
136
- };
137
- declare type IconNames = keyof typeof availableIcons;
138
- declare const Icon: ({ name, color, ...props }: IconProps) => _emotion_react_jsx_runtime.JSX.Element;
139
-
140
- declare type Callback = () => void;
141
- declare type AnyObject = Record<string, unknown>;
142
-
143
- declare type MaskConfig = {
144
- maskPlaceholder?: string;
145
- maskPattern?: Array<string | RegExp>;
146
- dataModelFieldType: DataModelFieldFormatCodeTypes$1;
147
- };
148
-
149
- declare type InputFieldInternalConfigProps = Partial<{
150
- textColor: ThemeColors$2 | string;
151
- textFontSize: number;
152
- placeholderTextColor: ThemeColors$2 | string;
153
- placeholderTextFontSize: number;
154
- verticalPadding: number;
155
- horizontalPadding: number;
156
- styles: StylesType;
157
- wrapperStyles: StylesType;
158
- }>;
159
- declare type InputIconProps = {
160
- name: IconNames;
161
- onClick?: Callback$1;
162
- };
163
- declare type InputProps = Partial<{
164
- value: string;
165
- leftIcon: InputIconProps;
166
- rightIcon: InputIconProps;
167
- onBlur: Callback$1;
168
- type: InputFieldTypes;
169
- placeholder: string;
170
- disabled: boolean;
171
- isEditMode: boolean;
172
- isError: boolean;
173
- maxLength: number;
174
- onChange: (value: string) => void;
175
- onKeyDown: (event: react__default.KeyboardEvent<HTMLInputElement>) => void;
176
- internalConfig: InputFieldInternalConfigProps;
177
- config?: MaskConfig;
178
- state: FormStateType$1;
179
- }>;
180
- declare const Input: ({ value, leftIcon, rightIcon, onChange, onBlur, disabled, isError, placeholder, isEditMode, type, internalConfig, config, ...rest }: InputProps) => _emotion_react_jsx_runtime.JSX.Element;
181
-
182
- declare type TextTypes = 'primary' | 'secondary' | 'error' | 'success';
183
- declare type TextAlign = 'center' | 'right' | 'left';
184
- declare type SeoTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
185
- declare type TextElementProps = {
186
- variant: FontSizesTypes$1;
187
- layout?: 'div' | 'span';
188
- type?: TextTypes;
189
- styles?: StylesType;
190
- color?: ThemeColors$2 | string;
191
- numberOfLines?: number;
192
- textAlign?: TextAlign;
193
- behaveAs?: 'text' | 'button';
194
- seoTag?: SeoTags;
195
- htmlElementId?: string;
196
- configurationItemInfo?: ConfigurationItemInfo$1;
197
- };
198
- declare type TextWrapperProps = PropsWithChildren<TextElementProps>;
199
- declare const TextWrapper: _emotion_styled.StyledComponent<{
200
- theme?: _emotion_react.Theme | undefined;
201
- as?: react.ElementType<any> | undefined;
202
- } & TextElementProps & {
203
- children?: react.ReactNode;
204
- }, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
205
- declare const ErrorText: ({ text }: {
206
- text: string;
207
- }) => _emotion_react_jsx_runtime.JSX.Element;
208
-
209
- declare type SpacerProps = {
210
- width?: SizesTypes$1 | number;
211
- height?: SizesTypes$1 | number;
212
- layout?: 'div' | 'span';
213
- };
214
- declare const Spacer: _emotion_styled.StyledComponent<{
215
- theme?: _emotion_react.Theme | undefined;
216
- as?: react.ElementType<any> | undefined;
217
- } & SpacerProps, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
218
-
219
- declare const Spinner: _emotion_styled.StyledComponent<{
220
- theme?: _emotion_react.Theme | undefined;
221
- as?: react.ElementType<any> | undefined;
222
- } & {
223
- color?: ThemeColors$2 | undefined;
224
- size?: SizesTypes$2 | undefined;
225
- }, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
226
-
227
- declare type RegularImageProps = {
228
- src: string;
229
- } & Partial<{
230
- alt: string;
231
- width: number | string;
232
- height: number | string;
233
- onClick: Callback$1;
234
- cornerRadius: SizesTypes$1 | number;
235
- }> & ConfigurationItemInfo$1 & OverrideStyles;
236
- declare const RegularImage: _emotion_styled.StyledComponent<{
237
- theme?: _emotion_react.Theme | undefined;
238
- as?: react.ElementType<any> | undefined;
239
- } & {
240
- src: string;
241
- } & Partial<{
242
- alt: string;
243
- width: number | string;
244
- height: number | string;
245
- onClick: Callback$1;
246
- cornerRadius: SizesTypes$1 | number;
247
- }> & ConfigurationItemInfo$1 & OverrideStyles, react.DetailedHTMLProps<react.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
248
- declare const BackgroundImage: _emotion_styled.StyledComponent<{
249
- theme?: _emotion_react.Theme | undefined;
250
- as?: react.ElementType<any> | undefined;
251
- } & {
252
- src: string;
253
- } & Partial<{
254
- alt: string;
255
- width: number | string;
256
- height: number | string;
257
- onClick: Callback$1;
258
- cornerRadius: SizesTypes$1 | number;
259
- }> & ConfigurationItemInfo$1 & OverrideStyles & react.ClassAttributes<HTMLImageElement> & react.ImgHTMLAttributes<HTMLImageElement> & {
260
- theme?: _emotion_react.Theme | undefined;
261
- }, {}, {}>;
262
-
263
- declare type LinkVariant = 'link' | 'custom';
264
- declare type TextButtonProps = Pick<BaseButtonProps, 'disabled' | 'onClick' | 'children' | 'colorTheme' | 'size'> & Partial<{
265
- buttonLink: string;
266
- elementId: string;
267
- $styles: StylesType;
268
- $variant: LinkVariant;
269
- textColor: string;
270
- }>;
271
- declare const BaseTextButton: react__default.FC<TextButtonProps & react__default.AnchorHTMLAttributes<HTMLAnchorElement>>;
272
- declare const TextButton: _emotion_styled.StyledComponent<Pick<BaseButtonProps, "children" | "onClick" | "disabled" | "size" | "colorTheme"> & Partial<{
273
- buttonLink: string;
274
- elementId: string;
275
- $styles: StylesType;
276
- $variant: LinkVariant;
277
- textColor: string;
278
- }> & react__default.AnchorHTMLAttributes<HTMLAnchorElement> & {
279
- theme?: _emotion_react.Theme | undefined;
280
- }, {}, {}>;
281
-
282
- declare type ValidationTagStatus = 'DEFAULT' | 'ERROR' | 'SUCCESS';
283
- declare type ValidationTagProps = {
284
- status: ValidationTagStatus;
285
- text: string;
286
- };
287
- declare const ValidationTag: ({ text, status }: ValidationTagProps) => _emotion_react_jsx_runtime.JSX.Element;
288
-
289
- declare type TooltipProps = Pick<TooltipProps$1, 'overlay' | 'placement' | 'trigger' | 'visible' | 'children'> & {
290
- styles?: StylesType;
291
- };
292
- declare const StyleWrapper: _emotion_styled.StyledComponent<{
293
- theme?: _emotion_react.Theme | undefined;
294
- as?: react.ElementType<any> | undefined;
295
- } & OverrideStyles, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
296
- declare const Tooltip: ({ trigger, placement, styles, ...props }: TooltipProps) => _emotion_react_jsx_runtime.JSX.Element;
297
-
298
- declare type ToastType = 'success' | 'infoTierOne' | 'infoTierTwo' | 'warning' | 'error';
299
- declare type ToastParams = {
300
- message: string;
301
- type?: ToastType;
302
- duration?: number;
303
- };
304
-
305
- declare const toast: ({ message, type, duration }: ToastParams) => void | undefined;
306
-
307
- declare type HorizontalButtonsProps = {
308
- selectedButtonId: string;
309
- buttonOptions: {
310
- value: string;
311
- id: string;
312
- }[];
313
- onClick: (value: string) => void;
314
- disabled?: boolean;
315
- error?: boolean;
316
- };
317
- declare const HorizontalButtons: ({ onClick, disabled, buttonOptions, selectedButtonId, error, }: HorizontalButtonsProps) => _emotion_react_jsx_runtime.JSX.Element;
318
-
319
- declare type AvatarProps = {
320
- size?: SizesTypes$1 | number;
321
- withShadow?: boolean;
322
- label?: string;
323
- backgroundColor?: ThemeColors$1;
324
- textConfig?: {
325
- color?: ThemeColors$1;
326
- font?: FontSizesTypes$2;
327
- };
328
- content: {
329
- initials?: string;
330
- iconName?: IconNames;
331
- imageUrl?: string;
332
- };
333
- onPress?: Callback$1;
334
- };
335
- declare const Avatar: ({ size, withShadow, label, backgroundColor, onPress, content: { initials, iconName, imageUrl }, textConfig: { color, font }, }: AvatarProps) => _emotion_react_jsx_runtime.JSX.Element;
336
-
337
- declare type PaddingProps = {
338
- padding: SizesTypes$1 | number;
339
- };
340
- declare const HorizontalPadding: _emotion_styled.StyledComponent<{
341
- theme?: _emotion_react.Theme | undefined;
342
- as?: react.ElementType<any> | undefined;
343
- } & PaddingProps, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
344
- declare const VerticalPadding: _emotion_styled.StyledComponent<{
345
- theme?: _emotion_react.Theme | undefined;
346
- as?: react.ElementType<any> | undefined;
347
- } & PaddingProps, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
348
-
349
- declare const MATRIX_MESSAGE_ELEMENT_ID = "matrix-message";
350
- declare const COMMUNICATION_LINK_ELEMENT_ID = "communication-link";
351
- declare const MATRIX_MESSAGE_DATA_ID = "matrix-message-id";
352
- declare const COMMUNICATION_LINK_DATA_URL = "communication-link-url";
353
- declare const COMMUNICATION_LINK_DATA_TEXT = "communication-link-text";
354
- declare const defaultValue: Descendant[];
355
- declare type RichTextEditorProps = {
356
- value: string;
357
- numberOfLines?: number;
358
- };
359
- declare const RichTextViewer: FC<RichTextEditorProps>;
360
-
361
- declare type RadioButtonInternalConfigProps = Partial<{
362
- selectedRadioOptionBackgroundColor: ThemeColors$1 | string;
363
- selectedRadioOptionIndicatorColor: ThemeColors$1 | string;
364
- buttonPadding: number;
365
- textPadding: number;
366
- styles: StylesType;
367
- wrapperStyles: StylesType;
368
- buttonOptionSpacing: SizesTypes$1;
369
- radioGroupWrapperStyles: StylesType;
370
- }>;
371
- declare type RadioButtonsProps<T extends string> = Partial<{
372
- ref: RefCallBack;
373
- name: string;
374
- value: T;
375
- options: SelectOption[];
376
- onBlur: Callback$1;
377
- onChange: (value: T) => void;
378
- isRow: boolean;
379
- isError: boolean;
380
- disabled: boolean;
381
- isEditMode: boolean;
382
- isRichText: boolean;
383
- internalConfig: RadioButtonInternalConfigProps;
384
- }>;
385
- declare const RadioButtons: <T extends string>({ ref, name, value, options, onBlur, onChange, isRow, isError, disabled, isEditMode, isRichText, internalConfig, }: Partial<{
386
- ref: RefCallBack;
387
- name: string;
388
- value: T;
389
- options: SelectOption[];
390
- onBlur: Callback$1;
391
- onChange: (value: T) => void;
392
- isRow: boolean;
393
- isError: boolean;
394
- disabled: boolean;
395
- isEditMode: boolean;
396
- isRichText: boolean;
397
- internalConfig: Partial<{
398
- selectedRadioOptionBackgroundColor: ThemeColors$1 | string;
399
- selectedRadioOptionIndicatorColor: ThemeColors$1 | string;
400
- buttonPadding: number;
401
- textPadding: number;
402
- styles: StylesType;
403
- wrapperStyles: StylesType;
404
- buttonOptionSpacing: SizesTypes$1;
405
- radioGroupWrapperStyles: StylesType;
406
- }>;
407
- }>) => _emotion_react_jsx_runtime.JSX.Element;
408
- declare const RadioGroupWrapper: _emotion_styled.StyledComponent<_mui_material.RadioGroupProps & {
409
- theme?: _emotion_react.Theme | undefined;
410
- } & StyledTransientProps<{
411
- isRow: boolean;
412
- }> & OverrideStyles, {}, {}>;
413
-
414
- declare type CircleType = 'link' | 'message';
415
- declare type CircleBoxProps = {
416
- index: number;
417
- type: CircleType;
418
- };
419
- declare const Circle: ({ index, type }: CircleBoxProps) => _emotion_react_jsx_runtime.JSX.Element;
420
- declare const CirclesWrapper: _emotion_styled.StyledComponent<{
421
- theme?: _emotion_react.Theme | undefined;
422
- as?: react__default.ElementType<any> | undefined;
423
- }, react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
424
-
425
- declare type CircularIndicatorProps = {
426
- active: boolean;
427
- activeColor?: ThemeColors$1 | string;
428
- inactiveColor?: ThemeColors$1 | string;
429
- };
430
- declare const CircularIndicator: ({ activeColor, inactiveColor, ...props }: CircularIndicatorProps) => _emotion_react_jsx_runtime.JSX.Element;
431
- declare const CircularIndicatorStyledComponent: _emotion_styled.StyledComponent<{
432
- theme?: _emotion_react.Theme | undefined;
433
- as?: react.ElementType<any> | undefined;
434
- } & CircularIndicatorProps, react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
435
-
436
- declare type IconButtonProps = {
437
- name: IconNames$1;
438
- size?: number;
439
- onClick: Callback$1;
440
- color?: ThemeColors$1 | string;
441
- fill?: ThemeColors$1 | string;
442
- pointerEvents?: 'auto' | 'none';
443
- };
444
- declare const IconButton: ({ name, color, onClick, disabled, activeOpacity, withoutOpacityEffect, ...props }: IconButtonProps & TouchableOpacityProps$1) => _emotion_react_jsx_runtime.JSX.Element;
445
-
446
- declare type OrganismProps = {
447
- organism: OrganismDTO;
448
- };
449
- declare const Organism: ({ organism }: OrganismProps) => _emotion_react_jsx_runtime.JSX.Element;
450
-
451
- declare const defaultTheme: Theme;
452
-
453
- declare const ZealThemeProvider: (props: PropsWithChildren<{
454
- theme?: Theme;
455
- }>) => _emotion_react_jsx_runtime.JSX.Element;
456
-
457
- declare type ThemeColors = 'primary' | 'primaryTint' | 'primaryShade' | 'secondary' | 'secondaryTint' | 'secondaryShade' | 'pink' | 'pinkTint' | 'pinkShade' | 'orange' | 'orangeTint' | 'orangeShade' | 'purple' | 'purpleTint' | 'purpleShade' | 'indigo' | 'indigoTint1' | 'indigoTint2' | 'gray1' | 'gray2' | 'gray3' | 'gray4' | 'gray5' | 'green' | 'greenTint' | 'greenShade' | 'yellow' | 'yellowTint' | 'yellowShade' | 'red' | 'redTint' | 'redShade' | 'black' | 'white' | 'blue' | 'blueTint' | 'blueShade' | 'deepBlue' | 'background';
458
- declare type SizesTypes = '5XL' | '4XL' | '3XL' | '2XL' | 'XL' | 'L' | 'M' | 'S' | 'XS';
459
- declare type FontSizesTypes = Exclude<SizesTypes, '5XL' | '4XL'>;
460
- declare type BreakpointSizesTypes = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
461
- declare type FontWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
462
- declare type ThemeColorsType = Record<ThemeColors, string>;
463
- declare type ThemeTextType = Record<FontSizesTypes, {
464
- 'font-weight': string;
465
- 'font-size': number;
466
- 'line-height': number;
467
- }>;
468
- declare type ThemeSizesType = Record<SizesTypes, number>;
469
- declare type ThemeDevicesType = Record<BreakpointSizesTypes, string>;
470
- declare type ZealTheme = {
471
- colors: ThemeColorsType;
472
- fonts: Record<FontSizesTypes, number>;
473
- sizes: ThemeSizesType;
474
- devices: ThemeDevicesType;
475
- };
476
-
477
- declare const toastStyles: _emotion_react.SerializedStyles;
478
-
479
- declare const useMediaQuery: (breakpointSize: BreakpointSizesTypes$1) => boolean;
480
-
481
- declare type MlrRichTextViewerContextType = {
482
- isMLRReview: boolean;
483
- showAnnotations: boolean;
484
- annotationsList: AnnotationsList$1;
485
- };
486
- declare const MlrRichTextViewerContext: react.Context<MlrRichTextViewerContextType>;
487
-
488
- declare type MlrRichTextViewerProviderProps = PropsWithChildren<{
489
- annotationsList: AnnotationsList$1;
490
- isMLRReview: boolean;
491
- showAnnotations: boolean;
492
- }>;
493
- declare const MlrRichTextViewerProvider: ({ children, isMLRReview, showAnnotations, annotationsList, }: MlrRichTextViewerProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
494
-
495
- declare const useMlrRichTextViewerContext: () => MlrRichTextViewerContextType;
496
-
497
- declare type AnnotationsList = {
498
- tags: {
499
- id: string;
500
- label: string;
501
- entityIds: string[];
502
- moleculeIds: string[];
503
- referencedByIds: string[];
504
- }[];
505
- links: {
506
- referencedById: string;
507
- moleculeId: string;
508
- text: string;
509
- url: string;
510
- }[];
511
- };
512
-
513
- declare type ButtonActionsContextType = {
514
- actionContent?: ContainerComponentProps$1;
515
- setActionContent: Dispatch<SetStateAction<ContainerComponentProps$1>>;
516
- isModalVisible: boolean;
517
- isDrawerVisible: boolean;
518
- setDrawerVisible: Dispatch<SetStateAction<boolean>>;
519
- setActivePopUpById: (id: string) => void;
520
- onCloseModal: (id?: string) => void;
521
- onCloseDrawer: () => void;
522
- };
523
- declare const ButtonActionsContext: react.Context<ButtonActionsContextType>;
524
-
525
- declare type PopupPropsType = {
526
- id: string;
527
- config: {
528
- styles?: AnyObject$1;
529
- size?: 'large' | 'medium';
530
- withCloseIcon?: boolean;
531
- };
532
- content: {
533
- embedded?: (ContainerComponentProps$1 | Molecule$1)[];
534
- isi?: ContainerComponentProps$1 | Molecule$1;
535
- };
536
- };
537
- declare type ButtonActionsProviderProps = PropsWithChildren<Partial<{
538
- actionContent: ContainerComponentProps$1;
539
- setActionContent: Dispatch<SetStateAction<ContainerComponentProps$1>>;
540
- isModalVisible: boolean;
541
- setDrawerVisible: Dispatch<SetStateAction<boolean>>;
542
- isDrawerVisible: boolean;
543
- setActivePopUpById: (id: string) => void;
544
- onCloseModal: (id: string) => void;
545
- popupProps?: PopupPropsType[];
546
- }>>;
547
- declare const ButtonActionsProvider: ({ children, popupProps }: ButtonActionsProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
548
-
549
- declare const useButtonActionsContext: () => ButtonActionsContextType;
550
-
551
- declare type StepItem = ContainerComponentProps$1 | Molecule$1;
552
- declare type GroupedStepItemsByStepContainer = Map<string, StepItem[]>;
553
-
554
- declare type ConfigurationItem = {
555
- entity: 'container' | 'molecule' | 'molecule_item';
556
- entityId: string;
557
- organismId: string;
558
- entityName?: string;
559
- entityType: ContainerType$1 | MoleculeTypes$1 | MoleculeItemTypes$2;
560
- organismLibraryMoleculeId?: string;
561
- };
562
- declare type OrganismContextProviderProps = PropsWithChildren<{
563
- organismId: string;
564
- } & Partial<{
565
- formId: string;
566
- editable: boolean;
567
- isPreview: boolean;
568
- initItems: (ContainerComponentProps$1 | Molecule$1)[];
569
- validations: PasswordRuleValidation$1[];
570
- submitHandler: (data: {
571
- formId: string;
572
- data: AnyObject$1;
573
- }) => Promise<void>;
574
- organismBodyId: string;
575
- isFormInEditMode: boolean;
576
- organismMetadata: AnyObject$1;
577
- isConfigurationMode: boolean;
578
- onConfigurationItemHandler: (itemInfo: ConfigurationItem, doubleClick: boolean) => void;
579
- selectedConfigurationItemId: string;
580
- currentStyleProperties: Record<string, string>;
581
- currentContentProperties: Record<string, string>;
582
- onInternalNavigation: (internalLink: string) => void;
583
- }>>;
584
- declare const OrganismContextProvider: ({ initItems, children, submitHandler, formId, organismId, validations, editable, isPreview, organismBodyId, isFormInEditMode, organismMetadata, localStateObject, isConfigurationMode, onConfigurationItemHandler, selectedConfigurationItemId, currentStyleProperties, currentContentProperties, onInternalNavigation, }: OrganismContextProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
585
-
586
- declare type OrganismContextType = {
587
- items: (ContainerComponentProps$1 | Molecule$1)[];
588
- groupStepItemsByStepContainer: () => GroupedStepItemsByStepContainer;
589
- dateFields: {
590
- id: string;
591
- dateType: string;
592
- }[];
593
- setDateFields: Dispatch<SetStateAction<{
594
- id: string;
595
- dateType: string;
596
- }[]>>;
597
- formId?: string;
598
- isPreview?: boolean;
599
- submitHandler?: (data: {
600
- formId: string;
601
- data: AnyObject$1;
602
- }) => Promise<void>;
603
- validations?: PasswordRuleValidation$2[];
604
- editable?: boolean;
605
- organismBodyId?: string;
606
- isFormInEditMode?: boolean;
607
- isConfigurationMode?: boolean;
608
- localStateObject?: StateConfigType$1 | null;
609
- organismMetadata?: MetadataType$1;
610
- onConfigurationItemClicked: (itemInfo: Omit<ConfigurationItem, 'organismId'>, doubleClick: boolean) => void;
611
- selectedConfigurationItemId?: string;
612
- currentStyleProperties: Record<string, string>;
613
- currentContentProperties: Record<string, string>;
614
- onInternalNavigation: (internalLink: string) => void;
615
- };
616
- declare const OrganismContext: react.Context<OrganismContextType>;
617
-
618
- declare const useOrganismContext: () => OrganismContextType;
619
-
620
- declare type AccountButtonContextType = Partial<{
621
- userInitials: string;
622
- logOutHandler: Callback$1;
623
- goToAccountInfo: Callback$1;
624
- username: string;
625
- }>;
626
- declare const AccountButtonContext: react.Context<Partial<{
627
- userInitials: string;
628
- logOutHandler: Callback$1;
629
- goToAccountInfo: Callback$1;
630
- username: string;
631
- }>>;
632
-
633
- declare type AccountButtonProviderProps = PropsWithChildren<Partial<{
634
- userInitials: string;
635
- logOutHandler: Callback$1;
636
- goToAccountInfo: Callback$1;
637
- username: string;
638
- }>>;
639
- declare const AccountButtonProvider: ({ children, goToAccountInfo, userInitials, logOutHandler, username, }: AccountButtonProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
640
-
641
- declare const useAccountButtonContext: () => Partial<{
642
- userInitials: string;
643
- logOutHandler: Callback;
644
- goToAccountInfo: Callback;
645
- username: string;
646
- }>;
647
-
648
- declare type StateContextType = {
649
- stateConfig: StateConfigType$1;
650
- stateHandler?: (updatedStateConfig: StateConfigType$1) => void;
651
- authenticated: boolean;
652
- };
653
- declare const StateContext: react.Context<StateContextType>;
654
-
655
- declare type StateContextProviderProps = PropsWithChildren<{
656
- initStateConfig: StateConfigType$1;
657
- stateHandler?: (updatedStateConfig: StateConfigType$1) => void;
658
- authenticated: boolean;
659
- }>;
660
- declare const StateContextProvider: ({ initStateConfig, children, stateHandler, authenticated, }: StateContextProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
661
-
662
- declare const useStateContext: () => StateContextType;
663
-
664
- declare type FormStepContextType = {
665
- steps: number;
666
- currentStep: number;
667
- goToNextStep: () => void;
668
- goToPrevStep: () => void;
669
- reset: () => void;
670
- canGoToNextStep: boolean;
671
- canGoToPrevStep: boolean;
672
- setStep: Dispatch<SetStateAction<number>>;
673
- setInitSteps: Dispatch<SetStateAction<number>>;
674
- };
675
- declare const FormStepContext: react.Context<FormStepContextType>;
676
-
677
- declare type FormStepContextProviderProps = PropsWithChildren<{
678
- initialStepsCount?: number;
679
- }>;
680
- declare const FormStepContextProvider: ({ initialStepsCount, children, }: FormStepContextProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
681
-
682
- declare const useFormStepContext: () => FormStepContextType;
683
-
684
- interface Option {
685
- id: string;
686
- name: string;
687
- }
688
- interface ApiInterface {
689
- pickList: {
690
- get(dataModelFieldId?: string): Promise<ResponseDTO<Option[]>>;
691
- };
692
- }
693
- declare const ApiContext: react.Context<ApiInterface>;
694
-
695
- declare const ApiProvider: ({ api, children }: {
696
- api: ApiInterface;
697
- children: ReactNode;
698
- }) => _emotion_react_jsx_runtime.JSX.Element;
699
-
700
- declare const useApi: () => ApiInterface;
701
-
702
- declare type CustomValidationRule<T = string> = {
703
- text: string;
704
- validate: (value?: T) => boolean;
705
- };
706
- declare type CustomValidationProps<T = string> = {
707
- label?: string;
708
- value: T;
709
- isSubmitted?: boolean;
710
- rules: CustomValidationRule<T>[];
711
- spacer?: number;
712
- validationState?: FormStateType$1;
713
- };
714
- declare const CustomValidation: <T extends string = string>({ rules, value, isSubmitted, label, spacer, validationState, }: CustomValidationProps<T>) => _emotion_react_jsx_runtime.JSX.Element;
715
-
716
- declare type Anchor = 'top' | 'left' | 'bottom' | 'right';
717
- declare type DrawerProps = DrawerProps$1 & {
718
- anchor: Anchor;
719
- padding?: SizesTypes$2 | number | string;
720
- height?: number | string;
721
- width?: number | string;
722
- withCloseIcon?: boolean;
723
- closeIconColor?: ThemeColors$2 | string;
724
- };
725
-
726
- declare const Drawer: ({ children, closeIconColor, withCloseIcon, ...props }: PropsWithChildren<DrawerProps>) => _emotion_react_jsx_runtime.JSX.Element;
727
-
728
- declare type PdfDocumentProps = {
729
- source: string;
730
- isMobile?: boolean;
731
- customDocumentStyles?: Partial<{
732
- wrapperBackgroundColor: ThemeColors$1 | string;
733
- pageNumberColor: ThemeColors$1 | string;
734
- pageWidth: number;
735
- pageHeight: number;
736
- paginationArrowColor: ThemeColors$1 | string;
737
- disabledPaginationArrowColor: ThemeColors$1 | string;
738
- }>;
739
- };
740
- declare const PdfDocument: ({ source, isMobile, customDocumentStyles, }: PdfDocumentProps) => _emotion_react_jsx_runtime.JSX.Element;
741
-
742
- declare type IconRendererProps = {
743
- iconName?: string;
744
- size?: number | string;
745
- color?: string;
746
- borderRadius?: number | string;
747
- backgroundColor?: string;
748
- };
749
- declare const IconRenderer: react__default.FC<IconRendererProps>;
750
-
751
- declare type TextProps = Partial<{
752
- text: string;
753
- isRichText: boolean;
754
- paddingTop: string;
755
- paddingRight: string;
756
- paddingBottom: string;
757
- paddingLeft: string;
758
- marginTop: string;
759
- marginRight: string;
760
- marginBottom: string;
761
- marginLeft: string;
762
- htmlElementId: string;
763
- configurationItemInfo: ConfigurationItemInfo$1;
764
- }>;
765
- declare const TextMolecule: FC<TextProps>;
766
-
767
- declare type ZealUIModalProps = PropsWithChildren<Pick<ModalProps, 'open'>> & {
768
- padding?: number | string;
769
- wrapperStyles?: CSSProperties;
770
- onKeyDown?: <T extends HTMLElement>(event: KeyboardEvent<T>) => void;
771
- modalStyles?: CSSProperties;
772
- size?: string;
773
- popupId: string;
774
- onClose: () => void;
775
- withCloseIcon?: boolean;
776
- };
777
- declare const ZealUIModal: ({ children, wrapperStyles, padding, onKeyDown, modalStyles, withCloseIcon, ...rest }: ZealUIModalProps) => _emotion_react_jsx_runtime.JSX.Element;
778
- declare const ModalWrapper: _emotion_styled.StyledComponent<{
779
- theme?: _emotion_react.Theme | undefined;
780
- as?: react__default.ElementType<any> | undefined;
781
- } & OverrideStyles, react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
782
- declare const IconWrapper: _emotion_styled.StyledComponent<{
783
- theme?: _emotion_react.Theme | undefined;
784
- as?: react__default.ElementType<any> | undefined;
785
- } & {
786
- activeOpacity?: number | undefined;
787
- withoutOpacityEffect?: boolean | undefined;
788
- disabled?: boolean | undefined;
789
- } & {
790
- children?: react__default.ReactNode;
791
- } & react__default.ClassAttributes<HTMLDivElement> & react__default.HTMLAttributes<HTMLDivElement> & {
792
- theme?: _emotion_react.Theme | undefined;
793
- }, {}, {}>;
794
-
795
- declare type Format = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'numbered-list' | 'bulleted-list' | 'communicationLink' | 'tag' | 'variable' | 'color' | 'bgColor' | 'fontSize' | 'fontFamily' | 'lineHeight' | 'letterSpacing' | 'textAlign';
796
- declare type LinkType = 'externalLink' | 'internalLink';
797
- declare type CommunicationLinkPayload = {
798
- type: LinkType;
799
- url: string;
800
- };
801
- declare type DataModelField = {
802
- defaultValue?: string | number | boolean | null;
803
- dataModelFieldId: string;
804
- entitySubtypeId?: string;
805
- dataType?: string;
806
- format?: {
807
- code: string;
808
- };
809
- };
810
- declare type VariablePayload = {
811
- id: string;
812
- text: string;
813
- dataModelField?: DataModelField;
814
- isStateConfigPresent?: boolean;
815
- };
816
- declare type TextFormat = {
817
- bold?: boolean;
818
- italic?: boolean;
819
- underline?: boolean;
820
- strikethrough?: boolean;
821
- communicationLink?: CommunicationLinkPayload;
822
- variable?: VariablePayload;
823
- tag?: {
824
- id: string;
825
- label: string;
826
- };
827
- listItem: boolean;
828
- numberedList?: boolean;
829
- bulletedList?: boolean;
830
- color?: string;
831
- bgColor?: string;
832
- fontSize?: string;
833
- fontFamily?: string;
834
- letterSpacing?: string;
835
- lineHeight?: string;
836
- textAlign?: 'left' | 'center' | 'right' | 'justify';
837
- };
838
- declare type CustomElementType = 'paragraph' | 'listItem' | 'orderedList' | 'unorderedList' | 'bulletedList' | 'numberedList' | 'headingOne' | 'headingTwo' | 'headingThree' | 'blockquote' | 'alignLeft' | 'alignCenter' | 'alignRight' | 'justify' | 'span';
839
- declare type CustomText = {
840
- text: string;
841
- type?: CustomElementType;
842
- } & TextFormat;
843
- declare type CustomElement = {
844
- type: CustomElementType;
845
- children: (CustomText | CustomElement)[];
846
- href?: string;
847
- format?: Format;
848
- };
849
- declare type CustomDescendant = CustomText | CustomElement;
850
-
851
- declare type ConsentCaptureMethod = 'button' | 'radioButton' | 'checkbox';
852
- declare type DefaultSelectionType = 'confirmation' | 'rejection';
853
- declare type ConsentStatus = 'in_use' | 'draft';
854
- declare type ConsentType = {
855
- id: string;
856
- name: string;
857
- acknowledgment: CustomDescendant[];
858
- methodOfCapture: ConsentCaptureMethod;
859
- description: string;
860
- language: CustomDescendant[];
861
- expiration: string;
862
- confirmationButtonText: string;
863
- rejectionButtonText: string;
864
- defaultSelection: DefaultSelectionType;
865
- value?: DefaultSelectionType | boolean;
866
- isRequired?: boolean;
867
- affirmation: boolean;
868
- status: ConsentStatus;
869
- expirationDays: string;
870
- expirationMonths: string;
871
- };
872
- declare type ConsentProps<T extends string = string> = {
873
- text: string;
874
- isRequired?: boolean;
875
- consentCaptureProps: ConsentCaptureProps<T>;
876
- containerStyles?: CSSProperties;
877
- clearStyles?: boolean;
878
- };
879
- declare const Consent: <T extends string>({ text, consentCaptureProps, containerStyles, clearStyles, }: ConsentProps<T>) => _emotion_react_jsx_runtime.JSX.Element;
880
-
881
- declare type ChecklistItem = {
882
- id: string;
883
- label: string;
884
- textColor: string;
885
- fontSize: string;
886
- fontFamily: string;
887
- fontWeight: string;
888
- textAlign: 'left' | 'center' | 'right' | 'justify';
889
- interacted: 'checked' | 'unchecked';
890
- disabled?: boolean;
891
- isSystemDriven?: boolean;
892
- iconName?: string;
893
- iconColor?: string;
894
- checkedIconName?: string;
895
- checkedIconColor?: string;
896
- };
897
- declare type ChecklistProps = {
898
- gap?: string;
899
- moleculeId?: string;
900
- items: ChecklistItem[];
901
- iconSize?: 'small' | 'medium' | 'large';
902
- labelPlacement?: 'start' | 'end' | 'top' | 'bottom';
903
- paddingTop?: string;
904
- paddingRight?: string;
905
- paddingBottom?: string;
906
- paddingLeft?: string;
907
- marginTop?: string;
908
- marginRight?: string;
909
- marginBottom?: string;
910
- marginLeft?: string;
911
- configurationItemInfo?: ConfigurationItemInfo$1;
912
- };
913
- declare const Checklist: FC<ChecklistProps>;
914
-
915
- interface DividerProps {
916
- text?: string;
917
- variant?: 'fullWidth' | 'inset' | 'middle';
918
- moleculeId?: string;
919
- lineWeight?: number;
920
- orientation?: 'horizontal' | 'vertical';
921
- borderColor?: string;
922
- borderRadius?: number;
923
- sx?: SxProps;
924
- marginTop?: string | number;
925
- marginRight?: string | number;
926
- marginBottom?: string | number;
927
- marginLeft?: string | number;
928
- configurationItemInfo?: ConfigurationItemInfo$1;
929
- }
930
- declare const Divider: ({ moleculeId, lineWeight, orientation, borderColor, borderRadius, sx, marginTop, marginRight, marginBottom, marginLeft, configurationItemInfo, }: DividerProps) => _emotion_react_jsx_runtime.JSX.Element;
931
-
932
- declare type LinkTypes = 'internalLink' | 'internal_link' | 'externalLink' | 'external_link';
933
- interface LinkProps {
934
- src: string | undefined;
935
- text: string;
936
- type?: LinkTypes;
937
- color?: string;
938
- disabled?: boolean;
939
- disabledColor?: string;
940
- underline?: 'none' | 'always' | 'hover';
941
- variant?: TypographyProps['variant'];
942
- margin?: string;
943
- padding?: string;
944
- moleculeId?: string;
945
- configurationItemInfo?: ConfigurationItemInfo$1;
946
- metadata?: MetadataType$1;
947
- marginTop?: string;
948
- marginRight?: string;
949
- marginBottom?: string;
950
- marginLeft?: string;
951
- paddingTop?: string;
952
- paddingRight?: string;
953
- paddingBottom?: string;
954
- paddingLeft?: string;
955
- fontFamily?: string;
956
- fontWeight?: string;
957
- fontSize?: string;
958
- align?: TypographyProps['align'];
959
- }
960
- declare const Link: FC<LinkProps>;
961
-
962
- interface VideoProps {
963
- src: string;
964
- poster?: string;
965
- controls?: boolean;
966
- loop?: boolean;
967
- autoplay?: boolean;
968
- raised?: boolean;
969
- alt?: string;
970
- height?: string | number;
971
- width?: string | number;
972
- borderRadius?: string | number;
973
- margin?: number | string;
974
- padding?: number | string;
975
- moleculeId?: string;
976
- enableCoverImage?: boolean;
977
- configurationItemInfo?: ConfigurationItemInfo$1;
978
- metadata?: MetadataType$1;
979
- marginTop: string;
980
- marginRight: string;
981
- marginBottom: string;
982
- marginLeft: string;
983
- paddingTop: string;
984
- paddingRight: string;
985
- paddingBottom: string;
986
- paddingLeft: string;
987
- }
988
- declare const Video: react__default.FC<VideoProps>;
989
-
990
- interface ImageProps {
991
- src: string;
992
- alt?: string;
993
- height?: number | string;
994
- width?: number | string;
995
- rounded?: boolean;
996
- raised?: boolean;
997
- margin?: string;
998
- padding?: string;
999
- moleculeId?: string;
1000
- configurationItemInfo?: ConfigurationItemInfo$1;
1001
- metadata?: MetadataType$1;
1002
- onClick?: () => void;
1003
- marginTop: string;
1004
- marginRight: string;
1005
- marginBottom: string;
1006
- marginLeft: string;
1007
- paddingTop: string;
1008
- paddingRight: string;
1009
- paddingBottom: string;
1010
- paddingLeft: string;
1011
- borderRadius: string | number;
1012
- }
1013
- declare const Image: FC<ImageProps>;
1014
-
1015
- interface ButtonProps extends ButtonProps$1 {
1016
- gap: number | string;
1017
- moleculeId?: string;
1018
- configurationItemInfo?: ConfigurationItemInfo$1;
1019
- borderRadius?: string | number;
1020
- endIcon?: IconRendererProps$1['iconName'];
1021
- startIcon?: IconRendererProps$1['iconName'];
1022
- text: string;
1023
- link?: string;
1024
- wrapText?: boolean;
1025
- marginTop: string;
1026
- marginRight: string;
1027
- marginBottom: string;
1028
- marginLeft: string;
1029
- paddingTop: string;
1030
- paddingRight: string;
1031
- paddingBottom: string;
1032
- paddingLeft: string;
1033
- elevated?: boolean;
1034
- fontSize?: number | string;
1035
- fontWeight?: 'normal' | 'bold';
1036
- fontFamily?: TypographyProps['fontFamily'];
1037
- textAlign?: TypographyProps['textAlign'];
1038
- textColor?: string;
1039
- disabledColor?: string;
1040
- height?: string;
1041
- width?: string;
1042
- }
1043
- /**
1044
- * We use `forwardRef` so that the ref passed from parent Component (Menu)
1045
- * will correctly point to the underlying <MuiButton> element.
1046
- */
1047
- declare const Button: react__default.ForwardRefExoticComponent<Pick<ButtonProps, "color" | "fontFamily" | "fontSize" | "fontWeight" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "textAlign" | "translate" | "width" | "borderRadius" | "gap" | "action" | "className" | "style" | "classes" | "children" | "sx" | "variant" | "form" | "link" | "slot" | "title" | "text" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "component" | "value" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "href" | "size" | "startIcon" | "textColor" | "configurationItemInfo" | "moleculeId" | "wrapText" | "elevated" | "disabledColor"> & react__default.RefAttributes<HTMLButtonElement>>;
1048
-
1049
- declare type StepperOrientation = 'horizontal' | 'vertical';
1050
- declare type CustomStep = {
1051
- id: string;
1052
- title: string;
1053
- subText?: string;
1054
- iconName?: string;
1055
- fontSize?: string;
1056
- fontWeight?: string | number;
1057
- fontFamily?: string;
1058
- color?: string;
1059
- subTextColor?: string;
1060
- subTextFontSize?: string;
1061
- subTextFontWeight?: string | number;
1062
- subTextFontFamily?: string;
1063
- borderRadius?: string;
1064
- iconColor?: string;
1065
- iconBorderRadius?: number;
1066
- iconBackgroundColor?: string;
1067
- };
1068
- declare type StepperProps = {
1069
- items: CustomStep[];
1070
- gap?: string;
1071
- stepGap?: string;
1072
- iconSize?: string;
1073
- isMobile?: boolean;
1074
- orientation?: StepperOrientation;
1075
- activeStep?: number;
1076
- lineColor?: string;
1077
- lineWidth?: string;
1078
- lineRadius?: string;
1079
- moleculeId?: string;
1080
- marginTop?: string;
1081
- marginRight?: string;
1082
- marginBottom?: string;
1083
- marginLeft?: string;
1084
- paddingTop?: string;
1085
- paddingRight?: string;
1086
- paddingBottom?: string;
1087
- paddingLeft?: string;
1088
- borderRadius?: string;
1089
- configurationItemInfo?: ConfigurationItemInfo$1;
1090
- backgroundColor?: string;
1091
- };
1092
- declare const Stepper: FC<StepperProps>;
1093
-
1094
- interface SwitchMoleculeProps extends Omit<SwitchProps, 'onChange'> {
1095
- /** If true, switch is shown but disabled, with a text next to it that indicates ON/OFF. */
1096
- isDisplayOnly?: boolean;
1097
- /** If true, we rely on MUI FormControl to show the required asterisk. */
1098
- required?: boolean;
1099
- requiredErrorText?: string;
1100
- validationErrorText?: string;
1101
- text?: string;
1102
- thumbColor?: string;
1103
- thumbCheckedColor?: string;
1104
- trackColor?: string;
1105
- disabledThumbColor?: string;
1106
- /** MUI FormControl label placement with a real label. We'll show the label above by default. */
1107
- labelPlacement?: 'top' | 'bottom';
1108
- /** Additional MUI styling props if needed */
1109
- marginLeft?: string;
1110
- marginTop?: string;
1111
- marginRight?: string;
1112
- marginBottom?: string;
1113
- paddingLeft?: string;
1114
- paddingTop?: string;
1115
- paddingRight?: string;
1116
- paddingBottom?: string;
1117
- /** For hooking up with react-hook-form */
1118
- name: string;
1119
- sourceDataModelField?: string;
1120
- configurationItemInfo?: ConfigurationItemInfo$1;
1121
- }
1122
- declare const SwitchMolecule: react__default.FC<SwitchMoleculeProps>;
1123
-
1124
- interface ChipMoleculeProps {
1125
- text: string;
1126
- variant?: 'outlined' | 'filled';
1127
- icon?: string;
1128
- backgroundColor?: string;
1129
- borderColor?: string;
1130
- borderWeight?: string;
1131
- size?: 'small' | 'medium';
1132
- textAlign?: 'inherit' | 'left' | 'center' | 'right' | 'justify';
1133
- textColor?: string;
1134
- wrap?: boolean;
1135
- fontSize?: number | string;
1136
- fontFamily?: TypographyProps['fontFamily'];
1137
- fontWeight?: 'normal' | 'bold';
1138
- marginLeft?: string;
1139
- marginTop?: string;
1140
- marginRight?: string;
1141
- marginBottom?: string;
1142
- paddingLeft?: string;
1143
- paddingTop?: string;
1144
- paddingRight?: string;
1145
- paddingBottom?: string;
1146
- configurationItemInfo?: Record<string, unknown>;
1147
- }
1148
- declare const ChipMolecule: react__default.FC<ChipMoleculeProps>;
1149
-
1150
- interface BadgeMoleculeProps extends Omit<BadgeProps, 'color'> {
1151
- iconColor?: string;
1152
- color?: string;
1153
- icon?: string;
1154
- badgeVariant?: BadgeProps['variant'];
1155
- marginLeft?: string;
1156
- marginTop?: string;
1157
- marginRight?: string;
1158
- marginBottom?: string;
1159
- paddingLeft?: string;
1160
- paddingTop?: string;
1161
- paddingRight?: string;
1162
- paddingBottom?: string;
1163
- configurationItemInfo?: Record<string, unknown>;
1164
- }
1165
- declare const BadgeMolecule: react__default.FC<BadgeMoleculeProps>;
1166
-
1167
- interface AlertMoleculeProps {
1168
- dismissible?: boolean;
1169
- width?: string;
1170
- height?: string;
1171
- backgroundColor?: string;
1172
- icon?: IconRendererProps$1['iconName'];
1173
- iconColor?: string;
1174
- text?: string;
1175
- subText?: string;
1176
- textAlign?: TypographyProps['textAlign'];
1177
- color?: string;
1178
- wrap?: boolean;
1179
- fontSize?: number | string;
1180
- fontFamily?: TypographyProps['fontFamily'];
1181
- fontWeight?: number | string;
1182
- subTextAlign?: TypographyProps['textAlign'];
1183
- subTextWrap?: boolean;
1184
- subTextColor?: string;
1185
- subTextFontSize?: number | string;
1186
- subTextFontFamily?: TypographyProps['fontFamily'];
1187
- subTextFontWeight?: number | string;
1188
- marginLeft?: string;
1189
- marginTop?: string;
1190
- marginRight?: string;
1191
- marginBottom?: string;
1192
- paddingLeft?: string;
1193
- paddingTop?: string;
1194
- paddingRight?: string;
1195
- paddingBottom?: string;
1196
- configurationItemInfo?: ConfigurationItemInfo$1;
1197
- }
1198
- declare const AlertMolecule: react__default.FC<AlertMoleculeProps>;
1199
-
1200
- interface BasicTextFieldProps extends TextFieldProps {
1201
- required?: boolean;
1202
- requiredErrorText?: string;
1203
- validationErrorText?: string;
1204
- backgroundColor?: string;
1205
- textAlign?: 'inherit' | 'left' | 'center' | 'right' | 'justify';
1206
- color?: string;
1207
- fontSize?: number | string;
1208
- fontFamily?: string;
1209
- fontWeight?: 'normal' | 'bold';
1210
- inputType?: InputHTMLAttributes<unknown>['type'];
1211
- borderColor?: string;
1212
- masked?: boolean;
1213
- multiLine?: boolean;
1214
- marginLeft?: string;
1215
- marginTop?: string;
1216
- marginRight?: string;
1217
- marginBottom?: string;
1218
- paddingLeft?: string;
1219
- paddingTop?: string;
1220
- paddingRight?: string;
1221
- paddingBottom?: string;
1222
- text?: string;
1223
- placeholderText?: string;
1224
- configurationItemInfo?: ConfigurationItemInfo$1;
1225
- name: string;
1226
- rules?: Omit<RegisterOptions<FieldValues, string>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs' | 'disabled'>;
1227
- sourceDataModelField?: string;
1228
- isDisplayOnly?: boolean;
1229
- }
1230
- declare const BasicTextField: react__default.FC<BasicTextFieldProps>;
1231
-
1232
- interface RatingMoleculeProps extends Omit<RatingProps, 'onChange'> {
1233
- /** Label text displayed above or beside the rating */
1234
- text: string;
1235
- /** Name used for react-hook-form registration */
1236
- name: string;
1237
- /** If true, the user can’t change the rating (renders read-only) */
1238
- isDisplayOnly?: boolean;
1239
- /** If true, we show an asterisk and require a non-null rating */
1240
- required?: boolean;
1241
- /** Custom error text if `required` is not satisfied */
1242
- requiredErrorText?: string;
1243
- /** If some other validation fails, show this text */
1244
- validationErrorText?: string;
1245
- placeholderText?: string;
1246
- /** If true, rating icons will show real-time integer value on hover or selection */
1247
- hoverFeedback?: boolean;
1248
- /** For hooking up with state config if you store an initial rating there */
1249
- sourceDataModelField?: string;
1250
- /** Some style props for customizing layout/appearance */
1251
- textAlign?: 'inherit' | 'left' | 'center' | 'right' | 'justify';
1252
- color?: string;
1253
- textColor?: string;
1254
- selectColor?: string;
1255
- fontSize?: number | string;
1256
- fontFamily?: string;
1257
- fontWeight?: 'normal' | 'bold' | number;
1258
- marginLeft?: string;
1259
- marginTop?: string;
1260
- marginRight?: string;
1261
- marginBottom?: string;
1262
- paddingLeft?: string;
1263
- paddingTop?: string;
1264
- paddingRight?: string;
1265
- paddingBottom?: string;
1266
- /** For left or right placement of the hover feedback text */
1267
- placement?: 'right' | 'left';
1268
- /** The config item for design-time or telemetry */
1269
- configurationItemInfo?: Record<string, unknown>;
1270
- /** Disables rating input in editable mode (MUI prop) */
1271
- disabled?: boolean;
1272
- /** If using react-hook-form, we can track field errors. */
1273
- maxValue?: number;
1274
- ratingPrecision?: number;
1275
- }
1276
- declare const RatingMolecule: react__default.FC<RatingMoleculeProps>;
1277
-
1278
- interface SliderMoleculeProps extends Omit<SliderProps$1, 'onChange'> {
1279
- /** If true, the slider is displayed disabled + text showing the value. */
1280
- isDisplayOnly?: boolean;
1281
- /** If true, rely on FormControl to show a required asterisk. */
1282
- required?: boolean;
1283
- requiredErrorText?: string;
1284
- validationErrorText?: string;
1285
- placeholderText?: string;
1286
- text?: string;
1287
- startIcon?: string;
1288
- endIcon?: string;
1289
- borderColor?: string;
1290
- selectLineColor?: string;
1291
- lineWeight?: number;
1292
- orientation?: 'horizontal' | 'vertical';
1293
- textColor?: string;
1294
- fontSize?: number | string;
1295
- fontFamily?: string;
1296
- fontWeight?: 'normal' | 'bold' | number;
1297
- valueFormat?: string;
1298
- valueDisplay?: 'on' | 'off' | 'auto';
1299
- iconSize?: string;
1300
- selectColor?: string;
1301
- iconColor?: string;
1302
- minValue?: number;
1303
- maxValue?: number;
1304
- step?: number;
1305
- /** label's placement relative to the slider+icons */
1306
- labelPlacement?: 'top' | 'bottom';
1307
- marginLeft?: string;
1308
- marginTop?: string;
1309
- marginRight?: string;
1310
- marginBottom?: string;
1311
- paddingLeft?: string;
1312
- paddingTop?: string;
1313
- paddingRight?: string;
1314
- paddingBottom?: string;
1315
- configurationItemInfo?: ConfigurationItemInfo$1;
1316
- /** For hooking up with react-hook-form */
1317
- name?: string;
1318
- sourceDataModelField?: string;
1319
- }
1320
- /**
1321
- * SliderMolecule
1322
- */
1323
- declare const SliderMolecule: react__default.FC<SliderMoleculeProps>;
1324
-
1325
- interface DatePickerMoleculeProps extends DatePickerProps {
1326
- required?: boolean;
1327
- placeholderText?: string;
1328
- moleculeId?: string;
1329
- configurationItemInfo?: any;
1330
- text: string;
1331
- borderColor?: string;
1332
- fontSize?: string | number;
1333
- fontFamily?: string;
1334
- fontWeight?: string | number;
1335
- textColor?: string;
1336
- iconColor?: IconRendererProps$1['color'];
1337
- minDate?: string;
1338
- maxDate?: string;
1339
- backgroundColor?: string;
1340
- marginLeft?: string;
1341
- marginTop?: string;
1342
- marginRight?: string;
1343
- marginBottom?: string;
1344
- paddingLeft?: string;
1345
- paddingTop?: string;
1346
- paddingRight?: string;
1347
- paddingBottom?: string;
1348
- name: string;
1349
- sourceDataModelField?: string;
1350
- isDisplayOnly?: boolean;
1351
- displayFormat?: string;
1352
- }
1353
- declare const DatePickerMolecule: react__default.FC<DatePickerMoleculeProps>;
1354
-
1355
- interface SelectMoleculeOption {
1356
- id: string;
1357
- label: string;
1358
- value?: string;
1359
- }
1360
- interface SelectMoleculeProps {
1361
- open?: boolean;
1362
- /** Label text (visible above or inside the select) */
1363
- text: string;
1364
- /** For a placeholder, you might use the first item or do a custom approach */
1365
- placeholderText?: string;
1366
- /** If true, the field is required in form validation */
1367
- required?: boolean;
1368
- /** Use this text if required == true and no value selected */
1369
- requiredErrorText?: string;
1370
- /** Use this text if user fails some extra validation pattern */
1371
- validationErrorText?: string;
1372
- /** If true, show a text label instead of an interactive dropdown */
1373
- isDisplayOnly?: boolean;
1374
- /** CSS style props */
1375
- fontSize?: number | string;
1376
- fontFamily?: TypographyProps['fontFamily'];
1377
- fontWeight?: 'normal' | 'bold' | number;
1378
- textColor?: string;
1379
- textAlign?: TypographyProps['textAlign'];
1380
- borderColor?: string;
1381
- color?: string;
1382
- backgroundColor?: string;
1383
- marginLeft?: string;
1384
- marginTop?: string;
1385
- marginRight?: string;
1386
- marginBottom?: string;
1387
- paddingLeft?: string;
1388
- paddingTop?: string;
1389
- paddingRight?: string;
1390
- paddingBottom?: string;
1391
- /** Additional config from system (e.g. for selection in config mode) */
1392
- configurationItemInfo?: ConfigurationItemInfo$1;
1393
- /** The name of the field in react-hook-form */
1394
- name: string;
1395
- /** The data field in stateObject to populate/initialize value */
1396
- sourceDataModelField?: string;
1397
- }
1398
- declare const SelectMolecule: react__default.FC<SelectMoleculeProps>;
1399
-
1400
- declare type SetPasswordRuleValidation = {
1401
- label: string;
1402
- rule: MaxRuleValidation | MinRuleValidation;
1403
- };
1404
- declare type CountValidationTypes = 'COUNT' | 'CAPITAL_COUNT' | 'NUMBER_COUNT' | 'SPECIAL_CHARACTERS_COUNT' | 'LOWER_CASE_COUNT';
1405
- declare type MaxRuleValidation = {
1406
- MAX: number;
1407
- type: CountValidationTypes;
1408
- };
1409
- declare type MinRuleValidation = {
1410
- MIN: number;
1411
- type: CountValidationTypes;
1412
- };
1413
- declare type PasswordRuleValidation = {
1414
- label: string;
1415
- rule: MaxRuleValidation | MinRuleValidation;
1416
- };
1417
- declare type PasswordFields = {
1418
- password: {
1419
- value: string;
1420
- };
1421
- reenteredPassword?: {
1422
- value?: string;
1423
- };
1424
- };
1425
-
1426
- declare type PasswordSetupProps = {
1427
- gap: string;
1428
- inputProps: Omit<BasicTextFieldProps$1, 'name'>;
1429
- validations: PasswordRuleValidation[];
1430
- htmlElementId: string;
1431
- validationState: FormStateType$1;
1432
- overridesProperties: PasswordSetupMoleculeType$1['properties'];
1433
- configurationItemInfo: ConfigurationItemInfo$1;
1434
- };
1435
- declare const PasswordSetup: ({ gap, inputProps, validations, htmlElementId, validationState, overridesProperties, configurationItemInfo, }: PasswordSetupProps) => _emotion_react_jsx_runtime.JSX.Element;
1436
-
1437
- declare const passwordValidationMapper: (validation: SetPasswordRuleValidation) => CustomValidationRule$1;
1438
-
1439
- declare const Container: FC<PropsWithChildren<ContainerProps$1> & {
1440
- id: string;
1441
- }>;
1442
-
1443
- declare type AccordionItem = {
1444
- id: string;
1445
- text?: string;
1446
- subText?: string;
1447
- bodyText?: string;
1448
- paddingTop?: string;
1449
- paddingRight?: string;
1450
- paddingBottom?: string;
1451
- paddingLeft?: string;
1452
- };
1453
- declare type AccordionProps = {
1454
- items: AccordionItem[];
1455
- rounded?: boolean;
1456
- elevation?: number;
1457
- color?: string;
1458
- placement?: 'left' | 'right';
1459
- textAlign: 'left' | 'center' | 'right' | 'justify';
1460
- textColor: string;
1461
- fontSize: string;
1462
- fontFamily: string;
1463
- fontWeight: string;
1464
- subTextColor: string;
1465
- subTextFontSize: string;
1466
- subTextFontFamily: string;
1467
- subTextFontWeight: string;
1468
- bodyTextColor: string;
1469
- bodyTextFontSize: string;
1470
- bodyTextFontFamily: string;
1471
- bodyTextFontWeight: string;
1472
- backgroundColor?: string;
1473
- borderStyle?: string;
1474
- borderColor?: string;
1475
- borderWeight?: string;
1476
- cornerRadius?: string;
1477
- shadow?: boolean;
1478
- allExpandedByDefault?: boolean;
1479
- gutter?: boolean;
1480
- expandSingle?: boolean;
1481
- iconName?: string;
1482
- paddingTop?: string;
1483
- paddingRight?: string;
1484
- paddingBottom?: string;
1485
- paddingLeft?: string;
1486
- marginTop?: string;
1487
- marginRight?: string;
1488
- marginBottom?: string;
1489
- marginLeft?: string;
1490
- width?: string;
1491
- gap?: string;
1492
- moleculeId?: string;
1493
- configurationItemInfo?: ConfigurationItemInfo$1;
1494
- };
1495
-
1496
- /**
1497
- * Each item can have optional icons, text style, etc.
1498
- */
1499
- declare type MenuItemType = {
1500
- id: string;
1501
- text: string;
1502
- link?: LinkProperties$1;
1503
- disabled?: boolean;
1504
- startIcon?: string;
1505
- endIcon?: string;
1506
- textColor?: string;
1507
- fontSize?: string;
1508
- fontWeight?: 'normal' | 'bold';
1509
- fontFamily?: string;
1510
- wrap?: boolean;
1511
- textAlign?: 'left' | 'center' | 'right' | 'justify';
1512
- backgroundColor?: string;
1513
- paddingTop?: string;
1514
- paddingRight?: string;
1515
- paddingBottom?: string;
1516
- paddingLeft?: string;
1517
- };
1518
- /** Props for our Menu molecule */
1519
- interface MenuProps {
1520
- popover?: boolean;
1521
- items: MenuItemType[];
1522
- marginTop?: string;
1523
- marginRight?: string;
1524
- marginBottom?: string;
1525
- marginLeft?: string;
1526
- paddingTop?: string;
1527
- paddingRight?: string;
1528
- paddingBottom?: string;
1529
- paddingLeft?: string;
1530
- cornerRadius?: string | number;
1531
- backgroundColor?: string;
1532
- width?: string;
1533
- height?: string;
1534
- shadow?: boolean;
1535
- borderColor?: string;
1536
- borderWeight?: string;
1537
- buttonText?: string;
1538
- buttonVariant?: 'contained' | 'outlined' | 'text';
1539
- buttonColor?: string;
1540
- buttonTextColor?: string;
1541
- buttonFontSize?: number | string;
1542
- buttonFontWeight?: 'normal' | 'bold';
1543
- buttonFontFamily?: string;
1544
- buttonDisabled?: boolean;
1545
- buttonGap?: number | string;
1546
- buttonStartIcon?: string;
1547
- buttonEndIcon?: string;
1548
- buttonCornerRadius?: string | number;
1549
- buttonMarginTop?: string;
1550
- buttonMarginRight?: string;
1551
- buttonMarginBottom?: string;
1552
- buttonMarginLeft?: string;
1553
- buttonPaddingTop?: string;
1554
- buttonPaddingRight?: string;
1555
- buttonPaddingBottom?: string;
1556
- buttonPaddingLeft?: string;
1557
- anchorOriginVertical?: 'top' | 'center' | 'bottom';
1558
- anchorOriginHorizontal?: 'left' | 'center' | 'right';
1559
- transformOriginVertical?: 'top' | 'center' | 'bottom';
1560
- transformOriginHorizontal?: 'left' | 'center' | 'right';
1561
- elevation?: number;
1562
- moleculeId?: string;
1563
- onInternalNavigation?: (link: string | null) => void;
1564
- configurationItemInfo?: ConfigurationItemInfo$1;
1565
- }
1566
-
1567
- declare type ConfigurationItemInfo = {
1568
- onClick?: (e: MouseEvent<HTMLDivElement>) => void;
1569
- onDoubleClick?: (e: MouseEvent<HTMLDivElement>) => void;
1570
- className?: string;
1571
- 'data-configuration-id'?: string;
1572
- css?: Interpolation<Theme>;
1573
- };
1574
- declare const ContainerWrapper: _emotion_styled.StyledComponent<{
1575
- theme?: Theme | undefined;
1576
- as?: react.ElementType<any> | undefined;
1577
- } & Pick<ContainerProps$2, "type"> & {
1578
- containerProps?: Partial<{
1579
- position: containers_types_types.ContainerPositionType;
1580
- alignItems: containers_types_types.ContainerAlignItemsType;
1581
- scrollBehaviour: containers_types_types.ContainerScrollBehaviourType;
1582
- cornerRadius: number | SizesTypes$1;
1583
- gap: SizesTypes$1;
1584
- styles: _emotion_react.SerializedStyles;
1585
- paddingTop: SizesTypes$1;
1586
- paddingBottom: SizesTypes$1;
1587
- paddingLeft: SizesTypes$1;
1588
- paddingRight: SizesTypes$1;
1589
- autoplay: boolean;
1590
- autoplayDuration: number;
1591
- formProps: containers_types_types.FormContainerProps;
1592
- formStepProps: containers_types_types.FormStepContainerProps;
1593
- border: string;
1594
- activeChildrenIds: string[];
1595
- activeOrganismIds: string[];
1596
- padding: containers_types_types.Padding;
1597
- enableBackgroundImage: boolean;
1598
- }> | undefined;
1599
- properties?: ContainerProperties$1 | undefined;
1600
- }, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
1601
-
1602
- declare type TabsItemProps = {
1603
- id: string;
1604
- label: string;
1605
- link?: string;
1606
- tabKey: string;
1607
- iconName?: string;
1608
- };
1609
- declare type OnTabChangeArgs = {
1610
- newTabKey: string;
1611
- link?: string;
1612
- };
1613
- declare type TabsProps = {
1614
- items: TabsItemProps[];
1615
- activeTabKey: string;
1616
- onTabChange: (args: OnTabChangeArgs) => void;
1617
- } & Partial<{
1618
- isMobile: boolean;
1619
- marginTop: string;
1620
- marginRight: string;
1621
- marginBottom: string;
1622
- marginLeft: string;
1623
- paddingTop: string;
1624
- paddingRight: string;
1625
- paddingBottom: string;
1626
- paddingLeft: string;
1627
- buttonMarginTop?: string;
1628
- buttonMarginRight?: string;
1629
- buttonMarginBottom?: string;
1630
- buttonMarginLeft?: string;
1631
- buttonPaddingTop?: string;
1632
- buttonPaddingRight?: string;
1633
- buttonPaddingBottom?: string;
1634
- buttonPaddingLeft?: string;
1635
- width: string;
1636
- height: string;
1637
- backgroundColor: string;
1638
- borderRadius: string;
1639
- elevation: number;
1640
- gap: string;
1641
- lineWidth: string;
1642
- orientation: 'horizontal' | 'vertical';
1643
- fontSize: string;
1644
- fontWeight: string | number;
1645
- fontFamily: string;
1646
- wrapText: boolean;
1647
- textAlign: 'left' | 'center' | 'right';
1648
- iconName: string;
1649
- iconColor: string;
1650
- iconSize: string;
1651
- iconPlacement: 'left' | 'right';
1652
- hoverTextColor: string;
1653
- indicatorColor: string;
1654
- indicatorVisible: boolean;
1655
- activeTextColor: string;
1656
- inactiveTextColor: string;
1657
- itemBorder: string;
1658
- itemBorderRadius: string;
1659
- itemBackgroundColor: string;
1660
- itemSelectedBackgroundColor: string;
1661
- itemHoverBackgroundColor: string;
1662
- selectedItemElevation: number;
1663
- itemDisableRipple: boolean;
1664
- configurationItemInfo: ConfigurationItemInfo;
1665
- moleculeId: string;
1666
- }>;
1667
-
1668
- declare type MoleculeItemTypes$1 = 'stepper_item' | 'checklist_item' | 'accordion_item' | 'menu_item' | 'tabs_item';
1669
- declare type BaseItem = {
1670
- id: string;
1671
- name: string;
1672
- type: MoleculeItemTypes$1;
1673
- instance: 'molecule_item';
1674
- organismLibraryMoleculeId: string;
1675
- };
1676
- declare type StepperItemDTO = BaseItem & {
1677
- type: 'stepper_item';
1678
- config: {
1679
- props: Omit<CustomStep$1, 'title' | 'subText'>;
1680
- };
1681
- properties: {
1682
- title: TextProperties$1;
1683
- subText: TextProperties$1;
1684
- };
1685
- };
1686
- declare type ChecklistItemDTO = BaseItem & {
1687
- type: 'checklist_item';
1688
- config: {
1689
- props: Omit<ChecklistItem$1, 'label'>;
1690
- };
1691
- properties: {
1692
- label: TextProperties$1;
1693
- objectState: ObjectStateProperties$1;
1694
- };
1695
- };
1696
- declare type AccordionItemDTO = BaseItem & {
1697
- type: 'accordion_item';
1698
- config: {
1699
- props: Omit<AccordionItem, 'text' | 'subText' | 'bodyText'>;
1700
- };
1701
- properties: {
1702
- text: TextProperties$1;
1703
- subText: TextProperties$1;
1704
- bodyText: TextProperties$1;
1705
- };
1706
- };
1707
- declare type MenuItemDTO = BaseItem & {
1708
- type: 'menu_item';
1709
- config: {
1710
- props: Omit<MenuItemType, 'text' | 'link' | 'disabled'>;
1711
- };
1712
- properties: {
1713
- text: TextProperties$1;
1714
- link: LinkProperties$1;
1715
- disabled: StateProperties$1;
1716
- };
1717
- };
1718
- declare type TabsItemDTO = BaseItem & {
1719
- type: 'tabs_item';
1720
- config: {
1721
- props: Omit<TabsItemProps, 'label' | 'link'>;
1722
- };
1723
- properties: {
1724
- label: TextProperties$1;
1725
- link: LinkProperties$1;
1726
- };
1727
- };
1728
-
1729
- interface EmailInputFieldProps {
1730
- /** If true, show the email as text only (no editing). */
1731
- isDisplayOnly?: boolean;
1732
- /** If true, do required validation in RHF + show MUI asterisk. */
1733
- required?: boolean;
1734
- requiredErrorText?: string;
1735
- validationErrorText?: string;
1736
- /** Basic label & placeholder */
1737
- text?: string;
1738
- placeholderText?: string;
1739
- /** If true, apply an email text mask in the editable field. */
1740
- masked?: boolean;
1741
- multiLine?: boolean;
1742
- /** Basic styling props */
1743
- backgroundColor?: string;
1744
- borderColor?: string;
1745
- color?: string;
1746
- fontSize?: number | string;
1747
- fontFamily?: string;
1748
- fontWeight?: 'normal' | 'bold' | number;
1749
- textAlign?: 'inherit' | 'left' | 'center' | 'right' | 'justify';
1750
- /** Spacing */
1751
- marginLeft?: string;
1752
- marginTop?: string;
1753
- marginRight?: string;
1754
- marginBottom?: string;
1755
- paddingLeft?: string;
1756
- paddingTop?: string;
1757
- paddingRight?: string;
1758
- paddingBottom?: string;
1759
- name: string;
1760
- sourceDataModelField?: string;
1761
- configurationItemInfo?: ConfigurationItemInfo$1;
1762
- }
1763
-
1764
- interface PhoneNumberInputFieldProps {
1765
- /** If true, we skip rendering the textfield and just show a text display. */
1766
- isDisplayOnly?: boolean;
1767
- /** If true, we do required validation in react-hook-form + show asterisk in MUI FormControl. */
1768
- required?: boolean;
1769
- requiredErrorText?: string;
1770
- validationErrorText?: string;
1771
- text?: string;
1772
- placeholderText?: string;
1773
- masked?: boolean;
1774
- /** Basic style props */
1775
- backgroundColor?: string;
1776
- borderColor?: string;
1777
- textColor?: string;
1778
- fontSize?: number | string;
1779
- fontFamily?: string;
1780
- fontWeight?: 'normal' | 'bold' | number;
1781
- /** Spacing */
1782
- marginLeft?: string;
1783
- marginTop?: string;
1784
- marginRight?: string;
1785
- marginBottom?: string;
1786
- paddingLeft?: string;
1787
- paddingTop?: string;
1788
- paddingRight?: string;
1789
- paddingBottom?: string;
1790
- name: string;
1791
- sourceDataModelField?: string;
1792
- configurationItemInfo?: ConfigurationItemInfo$1;
1793
- }
1794
-
1795
- interface NumericInputFieldProps {
1796
- /** If true, the field shows as text-only (no editing). */
1797
- isDisplayOnly?: boolean;
1798
- /** If true, we do required validation in form + show MUI asterisk. */
1799
- required?: boolean;
1800
- requiredErrorText?: string;
1801
- validationErrorText?: string;
1802
- /** Label text for the field */
1803
- text?: string;
1804
- placeholderText?: string;
1805
- backgroundColor?: string;
1806
- borderColor?: string;
1807
- textColor?: string;
1808
- fontSize?: number | string;
1809
- fontFamily?: string;
1810
- fontWeight?: 'normal' | 'bold' | number;
1811
- /** If false => we disallow negative input. */
1812
- allowNegative?: boolean;
1813
- /** e.g. "0.01" => step=0.01, 2 decimals */
1814
- numericPrecision?: string;
1815
- name: string;
1816
- sourceDataModelField?: string;
1817
- /** Basic spacing/styling */
1818
- marginLeft?: string;
1819
- marginTop?: string;
1820
- marginRight?: string;
1821
- marginBottom?: string;
1822
- paddingLeft?: string;
1823
- paddingTop?: string;
1824
- paddingRight?: string;
1825
- paddingBottom?: string;
1826
- configurationItemInfo?: ConfigurationItemInfo$1;
1827
- }
1828
-
1829
- interface AvatarMoleculeProps {
1830
- /** Data‑model field to pull the display value from */
1831
- sourceDataModelField?: string;
1832
- /** Icon name to show when no value (default = “user”) */
1833
- iconName?: string;
1834
- /** --- simple style props --- */
1835
- backgroundColor?: string;
1836
- textColor?: string;
1837
- size?: number | string;
1838
- fontSize?: number | string;
1839
- fontFamily?: string;
1840
- fontWeight?: number | 'normal' | 'bold';
1841
- borderColor?: string;
1842
- borderWidth?: number;
1843
- marginLeft?: string;
1844
- marginTop?: string;
1845
- marginRight?: string;
1846
- marginBottom?: string;
1847
- paddingLeft?: string;
1848
- paddingTop?: string;
1849
- paddingRight?: string;
1850
- paddingBottom?: string;
1851
- /** Pass‑through for editor canvas etc. */
1852
- configurationItemInfo?: ConfigurationItemInfo$1;
1853
- }
1854
-
1855
- interface CalendarMoleculeProps {
1856
- /** initial events (will be copied into internal state) */
1857
- events?: EventInput[];
1858
- resources?: any[];
1859
- initialView?: string;
1860
- enableDayGrid?: boolean;
1861
- enableTimeGrid?: boolean;
1862
- enableList?: boolean;
1863
- enableTimeline?: boolean;
1864
- enableResourceTimeline?: boolean;
1865
- slotDuration?: string;
1866
- snapDuration?: string;
1867
- businessHours?: any;
1868
- width?: string | number;
1869
- height?: string | number;
1870
- backgroundColor?: string;
1871
- themeSystem?: ThemeSystem;
1872
- marginLeft?: string;
1873
- marginTop?: string;
1874
- marginRight?: string;
1875
- marginBottom?: string;
1876
- paddingLeft?: string;
1877
- paddingTop?: string;
1878
- paddingRight?: string;
1879
- paddingBottom?: string;
1880
- primaryColor?: string;
1881
- secondaryColor?: string;
1882
- toolbarBg?: string;
1883
- toolbarTextColor?: string;
1884
- buttonBg?: string;
1885
- buttonTextColor?: string;
1886
- buttonHoverBg?: string;
1887
- dayHeaderColor?: string;
1888
- dayHeaderFontWeight?: number | string;
1889
- slotLabelColor?: string;
1890
- slotLabelFontSize?: string | number;
1891
- eventBg?: string;
1892
- eventBorderColor?: string;
1893
- eventTextColor?: string;
1894
- eventHoverBg?: string;
1895
- nowIndicatorColor?: string;
1896
- resourceAreaBg?: string;
1897
- resourceTextColor?: string;
1898
- resourceBorderColor?: string;
1899
- bodyBg?: string;
1900
- resourceAreaWidth?: string | number;
1901
- /** callback whenever a drop creates a new event */
1902
- onEventAdd?: (e: EventInput) => void;
1903
- configurationItemInfo?: ConfigurationItemInfo$1;
1904
- }
1905
-
1906
- interface VisitMoleculeProps {
1907
- /** Unique visit identifier (used as event.id) */
1908
- id: string;
1909
- /** Title shown on the card and used as event.title */
1910
- title: string;
1911
- /** Length of the visit, in minutes (used to compute event.end) */
1912
- duration: number;
1913
- /** Optional description rendered under the title */
1914
- description?: string;
1915
- /** If you want to associate this visit with a resource */
1916
- resourceId?: string;
1917
- /** Background color of the card */
1918
- backgroundColor?: string;
1919
- /** Text color for title/description */
1920
- textColor?: string;
1921
- /** Border color around the card */
1922
- borderColor?: string;
1923
- /** Border radius (e.g. '4px') */
1924
- borderRadius?: string;
1925
- marginLeft?: string;
1926
- marginTop?: string;
1927
- marginRight?: string;
1928
- marginBottom?: string;
1929
- paddingLeft?: string;
1930
- paddingTop?: string;
1931
- paddingRight?: string;
1932
- paddingBottom?: string;
1933
- /** Font size for the title (e.g. '14px') */
1934
- fontSize?: string | number;
1935
- /** Font weight for the title (e.g. 400, 600) */
1936
- fontWeight?: string | number;
1937
- /** If false, disables dragging completely */
1938
- draggable?: boolean;
1939
- /** If false, dropping won’t actually create an event */
1940
- createOnDrop?: boolean;
1941
- /** Extra props your designer tool may pass */
1942
- configurationItemInfo?: ConfigurationItemInfo$1;
1943
- }
1944
-
1945
- declare type ActionTypes = 'link' | 'popup' | 'drawer' | 'download' | 'submit' | 'reset' | 'destroy';
1946
- declare type DataModelFieldFormatCodeTypes = 'date' | 'email' | 'string' | 'integer' | 'boolean' | 'numeric' | 'zip_code' | 'phone_number';
1947
- 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';
1948
- declare type DownloadFile = {
1949
- url: string;
1950
- name: string;
1951
- };
1952
- declare type LinkAction = LinkProperties;
1953
- declare type PopupDrawerAction = ContainerComponentProps;
1954
- declare type DownloadAction = DownloadFile;
1955
- declare type SubmitAction = AnyObject$1;
1956
- declare type CancelAction = AnyObject$1;
1957
- declare type ResetAction = AnyObject$1;
1958
- declare type DestroyAction = AnyObject$1;
1959
- declare type Action = {
1960
- type: ActionTypes;
1961
- } & Partial<{
1962
- link: LinkAction;
1963
- popup: PopupDrawerAction;
1964
- drawer: PopupDrawerAction;
1965
- download: DownloadAction;
1966
- submit: SubmitAction;
1967
- cancel: CancelAction;
1968
- reset: ResetAction;
1969
- destroy: DestroyAction;
1970
- logout: AnyObject$1;
1971
- }>;
1972
- declare type FormStateType = 'default' | 'success' | 'error' | 'format_error' | 'field_error' | 'open_dropdown' | 'match_error';
1973
- declare type ImageProperties = {
1974
- attributeType: 'image';
1975
- imageSource: string;
1976
- imageFile?: {
1977
- id: string;
1978
- name: string;
1979
- url: string;
1980
- };
1981
- };
1982
- interface TextProperties {
1983
- id?: string;
1984
- text?: string;
1985
- isRichText?: boolean;
1986
- attributeType: 'text';
1987
- }
1988
- interface VideoProperties {
1989
- attributeType: 'video';
1990
- videoSource: string;
1991
- }
1992
- interface ActionProperties {
1993
- attributeType: 'action';
1994
- action: Action;
1995
- }
1996
- interface LinkProperties {
1997
- id: string;
1998
- attributeType: 'link';
1999
- type: 'internalLink' | 'externalLink' | 'external_link' | 'internal_link';
2000
- internalLink: Nullable<string>;
2001
- externalLink: Nullable<string>;
2002
- name: string;
2003
- }
2004
- interface BooleanProperties {
2005
- attributeType: 'boolean';
2006
- value: boolean;
2007
- }
2008
- declare type DataModelFieldFormat = {
2009
- id: string;
2010
- label: string;
2011
- value: DataModelFieldFormatValueTypes;
2012
- code: DataModelFieldFormatCodeTypes;
2013
- config: MaskConfig;
2014
- };
2015
- declare type DataConnectionValues = {
2016
- dataFieldName: string;
2017
- dataModelFieldId: string;
2018
- defaultValue?: string;
2019
- entitySubtypeId?: string;
2020
- entitySubtypeName?: string;
2021
- format: DataModelFieldFormat;
2022
- };
2023
- interface ConditionConfigProperties {
2024
- id: string;
2025
- attributeType: 'condition_config';
2026
- conditionConfig: ConditionConfig;
2027
- }
2028
- interface ColorProperties {
2029
- attributeType: 'color';
2030
- color: string;
2031
- }
2032
- interface ChecklistProperties {
2033
- checklist: {
2034
- attributeType: 'checklist';
2035
- items: ChecklistItem$1[];
2036
- };
2037
- }
2038
- interface StateProperties {
2039
- attributeType: 'state';
2040
- value: number | string | boolean;
2041
- }
2042
- declare type DataCaptureProperties = {
2043
- dataCaptureName: string;
2044
- isConfigurable?: boolean;
2045
- sourceDataModelFieldId: string;
2046
- };
2047
- declare type ObjectStateProperties = {
2048
- attributeType: 'object_state';
2049
- pmiObjectId: string | null;
2050
- };
2051
- declare type MoleculeItemTypes = 'stepper_item' | 'checklist_item' | 'accordion_item' | 'menu_item' | 'tabs_item';
2052
- 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';
2053
- /**
2054
- * [ NEW MOLECULE: 3 ] Second Step is to add the new molecule name to this list, in snake case format
2055
- *
2056
- * */
2057
- interface BaseMoleculeType {
2058
- id: string;
2059
- name: string;
2060
- type: MoleculeTypes;
2061
- instance: 'molecule';
2062
- metadata: MetadataType;
2063
- moleculeLibraryId: string;
2064
- organismLibraryMoleculeId: string;
2065
- }
2066
- interface TextMoleculeType extends BaseMoleculeType {
2067
- type: 'text';
2068
- properties: Partial<{
2069
- text: TextProperties;
2070
- }>;
2071
- config: {
2072
- props?: TextProps$1;
2073
- };
2074
- }
2075
- interface SimpleTextMoleculeType extends BaseMoleculeType {
2076
- type: 'simple_text';
2077
- properties: Partial<{
2078
- text: TextProperties;
2079
- }>;
2080
- config: {
2081
- props?: TextProps$1;
2082
- };
2083
- }
2084
- interface ConsentFieldMoleculeType extends BaseMoleculeType {
2085
- type: 'consent';
2086
- properties: Partial<{
2087
- consent: Partial<{
2088
- attributeType: 'consent';
2089
- consent: ConsentType$1;
2090
- required: BooleanProperties;
2091
- dataCaptureName: string;
2092
- }>;
2093
- conditionConfig: ConditionConfigProperties;
2094
- }>;
2095
- config: {
2096
- props: Partial<{
2097
- state: 'field_error';
2098
- }>;
2099
- };
2100
- }
2101
- interface PasswordSetupMoleculeType extends BaseMoleculeType {
2102
- type: 'signup_password_fields';
2103
- properties: Partial<{
2104
- text: TextProperties;
2105
- subText: TextProperties;
2106
- placeholderText: TextProperties;
2107
- subPlaceholderText: TextProperties;
2108
- validationText: TextProperties;
2109
- }>;
2110
- config: {
2111
- props: {
2112
- state?: FormStateType;
2113
- dataCaptureName: string;
2114
- } & BasicTextFieldProps$1;
2115
- };
2116
- }
2117
- interface StepperMoleculeType extends BaseMoleculeType {
2118
- type: 'stepper';
2119
- config: {
2120
- props: Omit<StepperProps$1, 'items'>;
2121
- };
2122
- children: StepperItemDTO[];
2123
- organismMoleculeLibraryId: string;
2124
- }
2125
- interface ChecklistsMoleculeType extends BaseMoleculeType {
2126
- type: 'checklist';
2127
- config: {
2128
- props: Omit<ChecklistProps$1, 'items'>;
2129
- };
2130
- children: ChecklistItemDTO[];
2131
- }
2132
- interface AccordionMoleculeType extends BaseMoleculeType {
2133
- type: 'accordion';
2134
- config: {
2135
- props: Omit<AccordionProps, 'items'>;
2136
- };
2137
- children: AccordionItemDTO[];
2138
- }
2139
- interface MenuMoleculeType extends BaseMoleculeType {
2140
- type: 'menu';
2141
- config: {
2142
- props: Omit<MenuProps, 'items'>;
2143
- };
2144
- properties: {
2145
- text: TextProperties;
2146
- disabled: BooleanProperties;
2147
- };
2148
- children: MenuItemDTO[];
2149
- }
2150
- interface TabsMoleculeType extends BaseMoleculeType {
2151
- type: 'tabs';
2152
- config: {
2153
- props: Omit<TabsProps, 'items'>;
2154
- };
2155
- children: TabsItemDTO[];
2156
- }
2157
- interface DividerMoleculeType extends BaseMoleculeType {
2158
- type: 'divider';
2159
- config: {
2160
- props: DividerProps$1;
2161
- };
2162
- }
2163
- interface LinkMoleculeType extends BaseMoleculeType {
2164
- type: 'link';
2165
- config: {
2166
- props: LinkProps$1;
2167
- };
2168
- properties: {
2169
- text: TextProperties;
2170
- link: LinkProperties;
2171
- };
2172
- }
2173
- interface VideoMoleculeType extends BaseMoleculeType {
2174
- type: 'video';
2175
- config: {
2176
- props: VideoProps$1;
2177
- };
2178
- properties: {
2179
- video: VideoProperties;
2180
- coverImage: ImageProperties;
2181
- };
2182
- }
2183
- interface ImageMoleculeType extends BaseMoleculeType {
2184
- type: 'image';
2185
- config: {
2186
- props: ImageProps$1;
2187
- };
2188
- properties: {
2189
- image: ImageProperties;
2190
- link: LinkProperties;
2191
- };
2192
- }
2193
- interface ButtonMoleculeType extends BaseMoleculeType {
2194
- type: 'button';
2195
- config: {
2196
- props: ButtonProps$2;
2197
- };
2198
- properties: {
2199
- text: TextProperties;
2200
- action: ActionProperties;
2201
- };
2202
- }
2203
- interface ChipMoleculeType extends BaseMoleculeType {
2204
- type: 'chip';
2205
- config: {
2206
- props: ChipMoleculeProps$1;
2207
- };
2208
- properties: {
2209
- text: TextProperties;
2210
- };
2211
- }
2212
- interface BadgeMoleculeType extends BaseMoleculeType {
2213
- type: 'badge';
2214
- config: {
2215
- props: BadgeMoleculeProps$1;
2216
- };
2217
- properties: {
2218
- text: TextProperties;
2219
- };
2220
- }
2221
- interface AlertMoleculeType extends BaseMoleculeType {
2222
- type: 'alert';
2223
- config: {
2224
- props: AlertMoleculeProps$1;
2225
- };
2226
- properties: {
2227
- text: TextProperties;
2228
- subText: TextProperties;
2229
- };
2230
- }
2231
- interface BasicTextFieldMoleculeType extends BaseMoleculeType {
2232
- type: 'basic_text_field' | 'basic_text_display_field';
2233
- config: {
2234
- props: BasicTextFieldProps$1 & {
2235
- dataCaptureName?: string;
2236
- };
2237
- };
2238
- properties: {
2239
- text: TextProperties;
2240
- placeholderText: TextProperties;
2241
- requiredErrorText: TextProperties;
2242
- validationErrorText: TextProperties;
2243
- required: BooleanProperties;
2244
- dataCapture: DataCaptureProperties;
2245
- };
2246
- }
2247
- interface RatingMoleculeType extends BaseMoleculeType {
2248
- type: 'rating' | 'rating_display_field';
2249
- config: {
2250
- props: RatingMoleculeProps$1;
2251
- };
2252
- properties: {
2253
- text: TextProperties;
2254
- placeholderText: TextProperties;
2255
- requiredErrorText: TextProperties;
2256
- validationErrorText: TextProperties;
2257
- required: BooleanProperties;
2258
- dataCapture: DataCaptureProperties;
2259
- };
2260
- }
2261
- interface SwitchMoleculeType extends BaseMoleculeType {
2262
- type: 'switch' | 'switch_display_field';
2263
- config: {
2264
- props: AlertMoleculeProps$1 & {
2265
- dataCaptureName?: string;
2266
- };
2267
- };
2268
- properties: {
2269
- text: TextProperties;
2270
- subText: TextProperties;
2271
- requiredErrorText: TextProperties;
2272
- validationErrorText: TextProperties;
2273
- required: BooleanProperties;
2274
- dataCapture: DataCaptureProperties;
2275
- };
2276
- }
2277
- interface SliderMoleculeType extends BaseMoleculeType {
2278
- type: 'slider' | 'slider_display_field';
2279
- config: {
2280
- props: SliderMoleculeProps$1;
2281
- };
2282
- properties: {
2283
- text: TextProperties;
2284
- placeholderText: TextProperties;
2285
- requiredErrorText: TextProperties;
2286
- validationErrorText: TextProperties;
2287
- required: BooleanProperties;
2288
- dataCapture: DataCaptureProperties;
2289
- };
2290
- }
2291
- interface SelectMoleculeType extends BaseMoleculeType {
2292
- type: 'select' | 'select_display_field';
2293
- config: {
2294
- props: SelectMoleculeProps$1 & {
2295
- dataCaptureName?: string;
2296
- };
2297
- };
2298
- properties: {
2299
- text: TextProperties;
2300
- placeholderText: TextProperties;
2301
- requiredErrorText: TextProperties;
2302
- validationErrorText: TextProperties;
2303
- required: BooleanProperties;
2304
- dataCapture: DataCaptureProperties;
2305
- };
2306
- }
2307
- interface DatePickerMoleculeType extends BaseMoleculeType {
2308
- type: 'date_picker' | 'date_display_field';
2309
- config: {
2310
- props: DatePickerMoleculeProps$1 & {
2311
- dataCaptureName?: string;
2312
- };
2313
- };
2314
- properties: {
2315
- text: TextProperties;
2316
- requiredErrorText: TextProperties;
2317
- validationErrorText: TextProperties;
2318
- required: BooleanProperties;
2319
- dataCapture: DataCaptureProperties;
2320
- };
2321
- }
2322
- interface EmailInputFieldMoleculeType extends BaseMoleculeType {
2323
- type: 'email_input_field' | 'email_display_field';
2324
- config: {
2325
- props: EmailInputFieldProps & {
2326
- dataCaptureName?: string;
2327
- };
2328
- };
2329
- properties: {
2330
- text: TextProperties;
2331
- placeholderText: TextProperties;
2332
- requiredErrorText: TextProperties;
2333
- validationErrorText: TextProperties;
2334
- required: BooleanProperties;
2335
- dataCapture: DataCaptureProperties;
2336
- };
2337
- }
2338
- interface PhoneNumberInputFieldMoleculeType extends BaseMoleculeType {
2339
- type: 'phone_number_input_field' | 'phone_number_display_field';
2340
- config: {
2341
- props: PhoneNumberInputFieldProps & {
2342
- dataCaptureName?: string;
2343
- };
2344
- };
2345
- properties: {
2346
- text: TextProperties;
2347
- placeholderText: TextProperties;
2348
- requiredErrorText: TextProperties;
2349
- validationErrorText: TextProperties;
2350
- required: BooleanProperties;
2351
- dataCapture: DataCaptureProperties;
2352
- };
2353
- }
2354
- interface NumericInputFieldMoleculeType extends BaseMoleculeType {
2355
- type: 'numeric_input_field' | 'numeric_display_field';
2356
- config: {
2357
- props: NumericInputFieldProps & {
2358
- dataCaptureName?: string;
2359
- };
2360
- };
2361
- properties: {
2362
- text: TextProperties;
2363
- placeholderText: TextProperties;
2364
- requiredErrorText: TextProperties;
2365
- validationErrorText: TextProperties;
2366
- required: BooleanProperties;
2367
- dataCapture: DataCaptureProperties;
2368
- };
2369
- }
2370
- interface CurrencyInputFieldMoleculeType extends BaseMoleculeType {
2371
- type: 'currency_input_field' | 'currency_display_field';
2372
- config: {
2373
- props: NumericInputFieldProps & {
2374
- dataCaptureName?: string;
2375
- };
2376
- };
2377
- properties: {
2378
- text: TextProperties;
2379
- placeholderText: TextProperties;
2380
- requiredErrorText: TextProperties;
2381
- validationErrorText: TextProperties;
2382
- required: BooleanProperties;
2383
- dataCapture: DataCaptureProperties;
2384
- };
2385
- }
2386
- interface AvatarMoleculeType extends BaseMoleculeType {
2387
- type: 'avatar';
2388
- config: {
2389
- props: Omit<AvatarMoleculeProps, 'sourceDataModelField' | 'configurationItemInfo'>;
2390
- };
2391
- properties: {
2392
- dataCapture: DataCaptureProperties;
2393
- };
2394
- }
2395
- interface CalendarMoleculeType extends BaseMoleculeType {
2396
- type: 'calendar';
2397
- config: {
2398
- props: Omit<CalendarMoleculeProps, 'configurationItemInfo'>;
2399
- };
2400
- properties: AnyObject$1;
2401
- }
2402
- interface VisitMoleculeType extends BaseMoleculeType {
2403
- type: 'visit';
2404
- config: {
2405
- props: Omit<VisitMoleculeProps, 'configurationItemInfo'>;
2406
- };
2407
- properties: AnyObject$1;
2408
- }
2409
- 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<{
2410
- form: UseFormReturn<any>;
2411
- formData: AnyObject$1;
2412
- setFormData: Dispatch<SetStateAction<AnyObject$1>>;
2413
- }>;
2414
-
2415
- declare type ContainerType = 'default' | 'row' | 'column' | 'slider' | 'form' | 'form_purpose' | 'form_step' | 'dynamic' | 'journey_driven' | 'journey_driven_step';
2416
- declare type ContainerTemplateType = 'row_content_container';
2417
- declare type WrappedContainerType = Extract<ContainerType, 'form' | 'form_step'>;
2418
- declare type ContainerPositionType = 'fixed' | 'sticky' | 'static' | 'relative';
2419
- declare type ContainerAlignItemsType = 'start' | 'center' | 'end' | 'stretch';
2420
- declare type ContainerScrollBehaviourType = 'vertical' | 'horizontal' | 'auto' | 'none';
2421
- declare type StateActionType = 'visible' | 'disabled';
2422
- declare type StateEventType = 'click' | 'view';
2423
- declare type StateListenerConfigType = {
2424
- role: 'stateListener';
2425
- stateKey: string;
2426
- stateValue: string | boolean;
2427
- defaultState: Partial<Record<StateActionType, boolean>>;
2428
- action: Partial<Record<StateActionType, boolean>>;
2429
- };
2430
- declare type StateModifierConfigType = {
2431
- role: 'stateModifier';
2432
- stateKey: string;
2433
- event: StateEventType;
2434
- };
2435
- declare type MetadataStateConfig = StateListenerConfigType | StateModifierConfigType;
2436
- declare type MetadataType = AnyObject$1 & Partial<{
2437
- stateConfig: MetadataStateConfig[];
2438
- referenceName: string;
2439
- isAction: boolean;
2440
- isTrigger: boolean;
2441
- notEditable: boolean;
2442
- hasOwnButton: boolean;
2443
- stateListenerId: string;
2444
- configurationPath: string;
2445
- }>;
2446
- declare type SliderProps = {
2447
- autoplay?: boolean;
2448
- autoplayDuration?: number;
2449
- };
2450
- declare type FormStepContainerProps = {
2451
- formStepName: string;
2452
- order: number;
2453
- conditionConfig: ConditionConfig;
2454
- formStepStyles?: CSSProperties;
2455
- };
2456
- declare type FormContainerProps = {
2457
- mode: keyof ValidationMode;
2458
- };
2459
- declare type PaddingVariants = 'top' | 'right' | 'bottom' | 'left';
2460
- declare type Padding = Record<PaddingVariants, SizesTypes$1 | number> | SizesTypes$1 | string;
2461
- declare type ContainerProperties = {
2462
- backgroundImage: {
2463
- imageFile: {
2464
- url: string;
2465
- };
2466
- };
2467
- enableBackgroundImage: {
2468
- value: boolean;
2469
- };
2470
- };
2471
- declare type ContainerPropsType = Partial<{
2472
- position: ContainerPositionType;
2473
- alignItems: ContainerAlignItemsType;
2474
- scrollBehaviour: ContainerScrollBehaviourType;
2475
- cornerRadius: SizesTypes$1 | number;
2476
- gap: SizesTypes$1;
2477
- styles: StylesType;
2478
- paddingTop: SizesTypes$1;
2479
- paddingBottom: SizesTypes$1;
2480
- paddingLeft: SizesTypes$1;
2481
- paddingRight: SizesTypes$1;
2482
- autoplay: boolean;
2483
- autoplayDuration: number;
2484
- formProps: FormContainerProps;
2485
- formStepProps: FormStepContainerProps;
2486
- border: string;
2487
- activeChildrenIds: string[];
2488
- activeOrganismIds: string[];
2489
- padding: Padding;
2490
- enableBackgroundImage: boolean;
2491
- }>;
2492
- declare type AdditionalContainerProps = Partial<{
2493
- containerStyle: CSSObject;
2494
- containerProps: ContainerPropsType;
2495
- }>;
2496
- declare type ContainerConfig = {
2497
- props: ContainerPropsType;
2498
- wide: AdditionalContainerProps;
2499
- compact: AdditionalContainerProps;
2500
- };
2501
- declare type ContainerProps = PropsWithChildren<{
2502
- type: ContainerType;
2503
- } & Partial<{
2504
- name: string;
2505
- config: ContainerConfig;
2506
- isMobile: boolean;
2507
- metadata: MetadataType;
2508
- properties: ContainerProperties;
2509
- containerTemplateType: ContainerTemplateType;
2510
- }>>;
2511
- declare type ContainerComponentProps = {
2512
- id: string;
2513
- instance: 'container';
2514
- type: ContainerType;
2515
- items: (ContainerComponentProps | Molecule)[];
2516
- config: Partial<{
2517
- wide: AdditionalContainerProps;
2518
- compact: AdditionalContainerProps;
2519
- props: ContainerPropsType;
2520
- }>;
2521
- tabsProps?: {
2522
- tabs: unknown[];
2523
- activeTabKey: string;
2524
- onTabChange: () => void;
2525
- };
2526
- metadata?: MetadataType;
2527
- properties?: ContainerProperties;
2528
- containerLibraryId?: string;
2529
- isMobile?: boolean;
2530
- isConfigurationMode?: boolean;
2531
- };
2532
- declare type CriteriaType = 'operator' | 'condition';
2533
- declare type ConditionCriteria = {
2534
- id: string;
2535
- type: CriteriaType;
2536
- operator: string;
2537
- dataFieldId: Nullable<string>;
2538
- subtypeId: Nullable<string>;
2539
- dataFieldName: Nullable<string>;
2540
- dataValue: Nullable<string>;
2541
- connectedTo: Nullable<string>;
2542
- };
2543
- declare type SegmentationType = 'simple' | 'advanced';
2544
- declare type ConditionConfig = Nullable<{
2545
- id: string;
2546
- segmentationType: SegmentationType;
2547
- criteriaList: ConditionCriteria[];
2548
- }>;
2549
- declare type FormDataStateConfig = {
2550
- value?: string | number;
2551
- } & Record<string, {
2552
- value?: string | number;
2553
- }>;
2554
- declare type ActionType = 'clicked' | 'started' | 'completed' | 'closed' | 'opened' | 'checked' | 'unchecked';
2555
- declare type ActionEventType = Record<'interacted', ActionType>;
2556
- declare type BaseStateValue = {
2557
- visible: boolean;
2558
- disabled: boolean;
2559
- };
2560
- declare type StateConfigType = {
2561
- [stateKey: string]: null | string | boolean | FormDataStateConfig | ActionEventType | BaseStateValue;
2562
- };
2563
-
2564
- declare type HeaderTabs = {
2565
- text: string;
2566
- tabKey?: string;
2567
- options: {
2568
- id: string;
2569
- title: string;
2570
- onClick: () => void;
2571
- }[];
2572
- };
2573
- declare type OrganismItemProps = {
2574
- item: ContainerComponentProps | Molecule;
2575
- tabsProps?: {
2576
- tabs: HeaderTabs[];
2577
- activeTabKey?: string;
2578
- onTabChange: (tabKey: string) => void;
2579
- };
2580
- formData?: AnyObject;
2581
- setFormData?: Dispatch<SetStateAction<AnyObject>>;
2582
- isMobile?: boolean;
2583
- parentId?: string;
2584
- isConfigurationMode?: boolean;
2585
- onConfigurationItemHandler?: (itemPath: string) => void;
2586
- };
2587
- declare const OrganismItem: FC<OrganismItemProps>;
2588
-
2589
- declare type BaseMoleculeProps = Molecule$1 & {
2590
- tabsProps?: {
2591
- tabs: HeaderTabs[];
2592
- activeTabKey?: string;
2593
- onTabChange: (tabKey: string) => void;
2594
- };
2595
- isMobile?: boolean;
2596
- parentId?: string;
2597
- };
2598
- declare const BaseMolecule: FC<BaseMoleculeProps>;
2599
-
2600
- declare type FormOrganismItemProps = {
2601
- item: ContainerComponentProps$2;
2602
- activeChildrenIds: string[];
2603
- formData?: AnyObject$1;
2604
- setFormData?: Dispatch<SetStateAction<AnyObject$1>>;
2605
- isMobile?: boolean;
2606
- };
2607
- declare const FormOrganismItem: ({ formData, setFormData, isMobile, ...props }: FormOrganismItemProps) => _emotion_react_jsx_runtime.JSX.Element | null;
2608
-
2609
- 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 };