@zealicsolutions/web-ui 1.0.140-beta.227 → 1.0.140-beta.229
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/molecules/Button/Button.d.ts +3 -1
- package/dist/esm/_virtual/index3.js +1 -1
- package/dist/esm/_virtual/index4.js +1 -1
- package/dist/esm/containers/OrganismItem.js.map +1 -1
- package/dist/esm/molecules/BaseMolecule.js +1 -1
- package/dist/esm/molecules/BaseMolecule.js.map +1 -1
- package/dist/esm/molecules/Button/Button.d.ts +3 -1
- package/dist/esm/molecules/Button/Button.js +1 -1
- package/dist/esm/molecules/Button/Button.js.map +1 -1
- package/dist/esm/molecules/Select/Select.js +1 -1
- package/dist/esm/molecules/Select/Select.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Accordion/Accordion.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Menu/Menu.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/MenuList/MenuList.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Select/SelectInput.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/SpeedDial/SpeedDial.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Tabs/Tabs.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/dist/esm/node_modules/@mui/material/node_modules/react-is/index.js +1 -1
- package/dist/esm/node_modules/classnames/index.js +1 -1
- package/dist/esm/node_modules/react-slick/lib/arrows.js +1 -1
- package/dist/esm/node_modules/react-slick/lib/dots.js +1 -1
- package/dist/esm/node_modules/react-slick/lib/inner-slider.js +1 -1
- package/dist/esm/node_modules/react-slick/lib/track.js +1 -1
- package/package.json +1 -1
|
@@ -46,6 +46,8 @@ export interface ButtonProps extends MuiButtonProps {
|
|
|
46
46
|
minHeight?: string;
|
|
47
47
|
maxHeight?: string;
|
|
48
48
|
externalOnClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
49
|
+
/** Field ID from the data layer to resolve button text from */
|
|
50
|
+
sourceDataModelField?: string;
|
|
49
51
|
}
|
|
50
52
|
/**
|
|
51
53
|
* We use `forwardRef` so that the ref passed from parent Component (Menu)
|
|
@@ -56,4 +58,4 @@ export declare const Button: React.ForwardRefExoticComponent<Pick<ButtonProps &
|
|
|
56
58
|
text?: any;
|
|
57
59
|
action?: ActionObject[] | undefined;
|
|
58
60
|
} | undefined;
|
|
59
|
-
}, "maxWidth" | "maxHeight" | "minWidth" | "minHeight" | "color" | "fontFamily" | "fontSize" | "fontWeight" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "textAlign" | "translate" | "width" | "borderColor" | "borderRadius" | "gap" | "action" | "className" | "style" | "classes" | "children" | "elevation" | "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" | "loading" | "loadingIndicator" | "loadingPosition" | "size" | "startIcon" | "textColor" | "iconOnly" | "properties" | "configurationItemInfo" | "moleculeId" | "wrapText" | "fillColor" | "fillColorDisabled" | "fillColorHover" | "fillColorPressed" | "borderColorDisabled" | "borderColorHover" | "borderColorPressed" | "textColorDisabled" | "textColorHover" | "textColorPressed" | "externalOnClick"> & React.RefAttributes<HTMLButtonElement>>;
|
|
61
|
+
}, "maxWidth" | "maxHeight" | "minWidth" | "minHeight" | "color" | "fontFamily" | "fontSize" | "fontWeight" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "textAlign" | "translate" | "width" | "borderColor" | "borderRadius" | "gap" | "action" | "className" | "style" | "classes" | "children" | "elevation" | "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" | "loading" | "loadingIndicator" | "loadingPosition" | "size" | "startIcon" | "textColor" | "iconOnly" | "properties" | "configurationItemInfo" | "moleculeId" | "sourceDataModelField" | "wrapText" | "fillColor" | "fillColorDisabled" | "fillColorHover" | "fillColorPressed" | "borderColorDisabled" | "borderColorHover" | "borderColorPressed" | "textColorDisabled" | "textColorHover" | "textColorPressed" | "externalOnClick"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var r={exports:{}};export{r
|
|
1
|
+
var r={exports:{}};export{r};
|
|
2
2
|
//# sourceMappingURL=index3.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var r={exports:{}};export{r};
|
|
1
|
+
var r={exports:{}};export{r as c};
|
|
2
2
|
//# sourceMappingURL=index4.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrganismItem.js","sources":["../../../../src/containers/OrganismItem.tsx"],"sourcesContent":[null],"names":["OrganismItem","memo","item","tabsProps","formData","setFormData","isMobile","parentId","nestedPathSegments","parentStyleVariantConfig","parentContainerWithVariantsId","parentContainerActiveVariant","form","useFormContext","organismMetadata","useOrganismContext","containerItems","items","undefined","visibleItems","useVisibleItems","filteredItems","useEmptyStateFiltering","instance","_jsx","SafeRenderWrapper","additionalInfo","id","children","BaseMolecule","metadata","stateListenerId","hasItems","length","activeChildrenIds","type","config","props","FormOrganismItem","Container","wide","compact","map","child"],"mappings":"+8CA8CO,MAAMA,EAAsCC,EACjD,EACEC,OACAC,YACAC,WACAC,cACAC,WACAC,WACAC,qBAAqB,GACrBC,2BACAC,gCACAC,mCAEA,MAAMC,EAAOC,KACPC,iBAAEA,GAAqBC,IAGvBC,EAAiB,UAAWd,EAAOA,EAAKe,WAAQC,EAGhDC,EAAeC,EAAgB,CAAEH,MAAOD,KAGxCK,cAAEA,GAAkBC,EAAuB,CAC/CN,iBACAG,eACAX,uBAIF,GAAsB,aAAlBN,EAAKqB,SACP,OACEC,EAACC,GAAkBC,eAAgB,aAAaxB,EAAKyB,KAAIC,SACvDJ,EAACK,EAAY,IACP3B,EACJU,KAAMA,EACNN,SAAUA,EACVF,SAAUA,EACVG,SAAUA,EACVJ,UAAWA,EACXE,YAAaA,EACbyB,SAAU,IACL5B,EAAK4B,SACRC,gBAAiBjB,GAAkBiB,iBAAmB7B,EAAKyB,IAG7DlB,yBAA0BA,EAC1BC,8BAA+BA,EAC/BC,6BAA8BA,MAOtC,MAAMqB,KAAchB,IAAkBA,EAAeiB,QAC/CC,EAAmC,SAAdhC,EAAKiC,MAAmBjC,EAAKkC,OAAOC,OAAOH,mBAAsB,GAE5F,OAAKF,EAGDE,EAAkBD,OAElBT,EAACC,EAAkB,CAAAC,eAAgB,SAASxB,EAAKyB,KAC/CC,SAAAJ,EAACc,EAAgB,CACfpC,KAAMA,EACNgC,kBAAmBA,EACnB9B,SAAUA,EACVC,YAAaA,EACbC,SAAUA,MAQhBkB,EAACC,EAAiB,CAACC,eAAgB,cAAcxB,EAAKyB,cACpDH,EAACe,EACK,IAAArC,EACJI,SAAUA,EACVE,mBAAoBA,EAEpBC,yBAA0BA,EAC1BC,8BAA+BA,EAC/BC,6BAA8BA,EAC9ByB,OACElC,EAAKkC,OACD,
|
|
1
|
+
{"version":3,"file":"OrganismItem.js","sources":["../../../../src/containers/OrganismItem.tsx"],"sourcesContent":[null],"names":["OrganismItem","memo","item","tabsProps","formData","setFormData","isMobile","parentId","nestedPathSegments","parentStyleVariantConfig","parentContainerWithVariantsId","parentContainerActiveVariant","form","useFormContext","organismMetadata","useOrganismContext","containerItems","items","undefined","visibleItems","useVisibleItems","filteredItems","useEmptyStateFiltering","instance","_jsx","SafeRenderWrapper","additionalInfo","id","children","BaseMolecule","metadata","stateListenerId","hasItems","length","activeChildrenIds","type","config","props","FormOrganismItem","Container","wide","compact","map","child"],"mappings":"+8CA8CO,MAAMA,EAAsCC,EACjD,EACEC,OACAC,YACAC,WACAC,cACAC,WACAC,WACAC,qBAAqB,GACrBC,2BACAC,gCACAC,mCAEA,MAAMC,EAAOC,KACPC,iBAAEA,GAAqBC,IAGvBC,EAAiB,UAAWd,EAAOA,EAAKe,WAAQC,EAGhDC,EAAeC,EAAgB,CAAEH,MAAOD,KAGxCK,c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,GAPfmC,EAAMhB,SAzCC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as e,Fragment as t}from"../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js";import"../node_modules/@emotion/react/dist/emotion-react.esm.js";import"../contexts/AccountButtonContext/AccountButtonContext.js";import{useMemo as r,useCallback as i}from"react";import"../contexts/ApiContext/ApiContext.js";import{useContainerRuntime as o}from"../contexts/ContainerRuntimeContext/ContainerRuntimeContext.js";import"../contexts/FormStepContext/FormStepContext.js";import"../contexts/LayoutContext/LayoutContext.js";import"../theme/theme.js";import"../theme/provider.js";import"../theme/toastStyles.js";import{useMediaQuery as a}from"../theme/useMediaQuery.js";import"../contexts/MlrRichTextViewerContext/MlrRichTextViewerContext.js";import"../contexts/OrganismContext/OrganismContext.js";import{useOrganismContext as n}from"../contexts/OrganismContext/useOrganismContext.js";import"../contexts/PopupContext/PopupContext.js";import"../contexts/ReplicatorFormContext/ReplicatorFormContext.js";import"../contexts/ReplicatorRegistryContext/ReplicatorRegistryContext.js";import"../contexts/StateContext/StateContext.js";import{useStateContext as s}from"../contexts/StateContext/useStateContext.js";import"../contexts/WebpageContext/WebpageContext.js";import{Button as d}from"./Button/Button.js";import"@tanstack/react-query";import{getHref as l,checkIsInternalLink as c,getParameterByName as x,navigateToExternalLink as u}from"../helpers/utils.js";import"../components/Buttons/TextButton.js";import"../components/Buttons/TouchableOpacity.js";import"../components/Circle/Circle.js";import"../components/CircularIndicator/CircularIndicator.js";import"../components/ContentWrapper/ContentWrapper.js";import"../components/CustomValidation/CustomValidation.js";import"../components/HorizontalButtons/HorizontalButtons.js";import"../components/Input/Input.js";import"../components/Paddings/Paddings.js";import"../components/PdfDocument/PdfDocument.js";import"../components/RadioButtons/RadioButtons.js";import"../components/RegularImage/RegularImage.js";import{richTextDefaultValue as m}from"../components/RichTextViewer/RichTextViewer.js";import"../node_modules/slate/dist/index.es.js";import"../components/TextWrapper/TextWrapper.js";import"../components/Select/styles.js";import"../components/Spacer/Spacer.js";import"../components/Spinner/Spinner.js";import"../components/Toast/toast.js";import"../components/Tooltip/Tooltip.js";import"../components/ValidationTag/ValidationTag.js";import"../components/ZealUIModal/ZealUIModal.js";import{paramKeys as p}from"../constants/params.js";import{useStateListenerValue as T}from"../containers/hooks/useStateListenerValue.js";import{getConfigurationWrapperStyle as f}from"../containers/styles.js";import{overrideProperties as b,overrideProps as y}from"../containers/utils.js";import{isDataDisplayMolecule as g,MoleculeSkeleton as j}from"./MoleculeSkeletons/MoleculeSkeletons.js";import{Accordion as I}from"./Accordion/Accordion.js";import{AvatarMolecule as v}from"./Avatar/Avatar.js";import{BinaryRadioButtons as E}from"./BinaryRadioButtons/BinaryRadioButtons.js";import{Checkbox as h}from"./Checkbox/Checkbox.js";import{ConsentMolecule as k}from"./Consent/ConsentMolecule.js";import{CurrencyInputField as q}from"./CurrencyInputtField/CurrencyInputField.js";import{Drawer as _}from"./Drawer/Drawer.js";import{EmailInputField as C}from"./EmailInputField/EmailInputField.js";import{AlertMolecule as O}from"./Alert/Alert.js";import{BadgeMolecule as D}from"./Badge/Badge.js";import{BasicTextField as S}from"./BasicTextField/BasicTextField.js";import{Checklist as F}from"./Checklist/Checklist.js";import{ChipMolecule as M}from"./Chip/Chip.js";import{DateCalendar as P}from"./DateCalendar/DateCalendar.js";import{DatePickerMolecule as R}from"./DatePicker/DatePicker.js";import{Divider as B}from"./Divider/Divider.js";import"./Icon/IconRenderer.js";import{Image as w}from"./Image/Image.js";import{Link as V}from"./Link/Link.js";import{Menu as L}from"./Menu/Menu.js";import{NumericInputField as A}from"./NumericInputField/NumericInputField.js";import{PasswordSetup as W}from"./PasswordSetup/PasswordSetup.js";import{PhoneNumberInputField as z}from"./PhoneNumberInputField/PhoneNumberInputField.js";import{RatingMolecule as N}from"./Rating/Rating.js";import{TextMolecule as K}from"./RichText/TextMolecule.js";import{SelectMolecule as H}from"./Select/Select.js";import{SimpleText as U}from"./SimpleText/SimpleText.js";import{SliderMolecule as Z}from"./Slider/Slider.js";import{SpeedDial as $}from"./SpeedDial/SpeedDial.js";import{Stepper as Q}from"./Stepper/Stepper.js";import{SwitchMolecule as Y}from"./Switch/Switch.js";import{Tabs as G}from"./Tabs/Tabs.js";import{TimePickerMolecule as J}from"./TimePicker/TimePicker.js";import{Video as X}from"./Video/Video.js";import{u as ee}from"../node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js";import{AdapterDateFns as te}from"../node_modules/@mui/x-date-pickers/esm/AdapterDateFns/AdapterDateFns.js";import{LocalizationProvider as re}from"../node_modules/@mui/x-date-pickers/esm/LocalizationProvider/LocalizationProvider.js";const ie=({id:ie,type:oe,name:ae,form:ne,config:se,formData:de,isMobile:le,children:ce,tabsProps:xe,properties:ue,moleculeLibraryId:me,organismLibraryMoleculeId:pe,parentStyleVariantConfig:Te,parentContainerWithVariantsId:fe,parentContainerActiveVariant:be})=>{const ye=ee(),ge=a("xs"),je=le||ge,{formId:Ie,isPreview:ve=!1,validations:Ee,submitHandler:he,isConfigurationMode:ke,onConfigurationItemClicked:qe,selectedConfigurationItemId:_e,currentStyleProperties:Ce,currentContentProperties:Oe,onInternalNavigation:De,organismMetadata:Se,organismInfo:Fe,localState:Me,isLoadingData:Pe}=n(),{stateConfig:Re}=s(),Be=Re,we=o(),Ve=be??we.activeVariant,Le=r(()=>((e,t)=>{if(!e)return{};if(t){const r=e[t];if(r&&"object"==typeof r&&"props"in r){const e=r.props;if(e&&"object"==typeof e)return e}}return e.props||{}})(se,Ve??null),[se,Ve]),Ae=se?.props?.dataCaptureName||ue?.dataCapture?.dataCaptureName||ie,We=r(()=>{return Ie&&we?.nestedPathSegments?.length?(e=we.nestedPathSegments,t=Ae,e&&0!==e.length?[...e.map(e=>void 0!==e.index?`${e.dmfId}.${e.index}`:e.dmfId),t].filter(Boolean).join("."):t):Ae;var e,t},[Ie,we?.nestedPathSegments,Ae]),ze=ue?.dataCapture?.sourceDataModelFieldId,Ne=ue?.dataCapture?.predefinedValue,Ke=_e===ie,{isStateDisabled:He,isStateVisible:Ue}=T({stateListenerId:ie}),Ze=r(()=>({entityType:oe,entity:"molecule",entityName:ae,entityId:ie,organismLibraryMoleculeId:pe,libraryEntityId:me,activeStyleVariant:Ve,parentReplicatorWithVariants:fe||we.containerId||null,parentStyleVariantConfig:Te||void 0}),[oe,ae,ie,pe,me,Ve,we.containerId,fe,Te]),$e=i(e=>{e?.stopPropagation(),qe(Ze,!1)},[qe,Ze]),Qe=i(e=>{e?.stopPropagation(),qe(Ze,!0)},[qe,Ze]),Ye=ke?{onClick:$e,onDoubleClick:Qe,"data-configuration-id":ie,css:f({theme:ye,selected:Ke})}:{},Ge=ke||He;if(!Ue)return null;if(Pe&&g(oe)){const t={width:Le.width,height:Le.height,marginLeft:Le.marginLeft||"0",marginTop:Le.marginTop||"0",marginRight:Le.marginRight||"0",marginBottom:Le.marginBottom||"0",paddingLeft:Le.paddingLeft,paddingTop:Le.paddingTop,paddingRight:Le.paddingRight,paddingBottom:Le.paddingBottom,fontSize:Le.fontSize,borderColor:Le.borderColor,backgroundColor:Le.backgroundColor,size:Le.size,text:ue?.text?.text,subText:ue?.subText?.text,maxValue:Le.maxValue,orientation:Le.orientation,sx:Le.sx};return e(j,{type:oe,props:t})}return(()=>{switch(oe){case"simple_text":{const t={text:ue?.text},r=["text"],{text:i}=b(t,Oe,r,Ke),o=y(Le,Ce,Ke);return e(U,{...o,text:i?.text||"",htmlElementId:ie,configurationsItemInfo:Ye})}case"text":{const t={text:ue?.text},r=Object.keys(t),{text:i}=b(t,Oe,r,Ke),o=y(Le,Ce,Ke);return e(K,{...i,...o,htmlElementId:ie,configurationItemInfo:Ye})}case"consent":{const t=b(ue,Oe,[],Ke),r=y(Le,Ce,Ke)||{};return e(k,{...r,htmlElementId:ie,properties:t,configurationItemInfo:Ye})}case"signup_password_fields":{const t={text:ue?.text,subText:ue?.subText,placeholderText:ue?.placeholderText,subPlaceholderText:ue?.subPlaceholderText,validationText:ue?.validationText},r=Object.keys(t),i=b(t,Oe,r,Ke),{state:o,gap:a,...n}=y(se?.props,Ce,Ke);return e(W,{gap:a,inputProps:n,validations:Ee||[],htmlElementId:ie,validationState:o,overridesProperties:i,configurationItemInfo:Ye})}case"stepper":{const t=y(Le,Ce,Ke),r=ce?.map(e=>{const t=_e===e.id,{properties:r,config:i,...o}=e||{},a={title:r?.title,subText:r?.subText},n=Object.keys(a),{title:s,subText:d}=b(a,Oe,n,t);return{...o,...y(i?.props,Ce,t),title:s?.text||"",subText:d?.text||""}});return e(Q,{...t,items:r||[],isMobile:je,moleculeId:ie,configurationItemInfo:Ye})}case"checklist":{const t=y(Le,Ce,Ke)||{},r=ce?.map(e=>{const t=_e===e.id,{properties:r,config:i,...o}=e||{};switch(e.type){case"checklist_item":{const a={label:r?.label,objectState:r?.objectState},n=Object.keys(a),s=b(a,Oe,n,t),d=y(i?.props,Ce,t)||{},l=s.label?.text||"",c=!!s.objectState?.pmiObjectId;return{...o,...d,type:"checklist_item",label:l,textColor:d.textColor||"#000",fontSize:d.fontSize||"14px",fontFamily:d.fontFamily||"inherit",fontWeight:d.fontWeight||"normal",textAlign:d.textAlign||"left",isSystemDriven:c,disabled:c,interacted:Be?.[e.id]?.interacted||"unchecked"}}case"divider_item":{const e=y(i?.props,Ce,t)||{};return{...o,...e,type:"divider_item"}}case"text_item":{const e={text:r?.text},a=Object.keys(e),n=b(e,Oe,a,t),s=y(i?.props,Ce,t)||{},d=n.text?.text||"";return{...o,...s,type:"text_item",text:d}}case"rich_text_item":{const e={text:r?.text},a=Object.keys(e),n=b(e,Oe,a,t),s=y(i?.props,Ce,t)||{},d=n.text?.text||m;return{...o,...s,type:"rich_text_item",text:d}}default:return{...o,type:e.type}}});return e(F,{...t,items:r||[],moleculeId:ie,configurationItemInfo:Ye})}case"accordion":{const t=y(Le,Ce,Ke),r=ce?.map(e=>{const t=_e===e.id,{properties:r,config:i,...o}=e||{},a={text:r?.text,subText:r?.subText,bodyText:r?.bodyText},n=Object.keys(a),{text:s,subText:d,bodyText:l}=b(a,Oe,n,t);return{...o,...y(i?.props,Ce,t),text:s?.text||"",subText:d?.text||"",bodyText:l?.text||""}});return e(I,{...t,items:r||[],moleculeId:ie,configurationItemInfo:Ye})}case"menu":{const t={text:ue?.text,disabled:ue?.disabled},r=Object.keys(t),{text:i,disabled:o}=b(t,Oe,r,Ke),a=y(Le,Ce,Ke),n=ce?.map(e=>{const t=_e===e.id,{properties:r,config:i,...o}=e||{},a={disabled:r&&"disabled"in r?r.disabled:void 0,text:r&&"text"in r?r.text:void 0,link:r&&"link"in r?r.link:void 0},n=Object.keys(a),{text:s,disabled:d,link:l}=b(a,Oe,n,t),c=y(i?.props,Ce,t);return{...o,...c,disabled:Be?.[e.id]?Be?.[e.id]?.disabled:d?.value||c?.disabled||!1,text:s?.text||"Menu Item",link:l}});return e(L,{...a,items:n||[],moleculeId:ie,buttonText:i?.text||"Open Menu",configurationItemInfo:Ye,buttonDisabled:Be?.[ie]?Be?.[ie]?.disabled:o?.value||a?.disabled||!1})}case"tabs":{const t=y(Le,Ce,Ke),r=ce?.map(e=>{const t=_e===e.id,{properties:r,config:i}=e||{},o={label:r?.label,link:r?.link},a=Object.keys(o),{label:n,link:s}=b(o,Oe,a,t);return{...y(i?.props,Ce,t),id:e.id,tabKey:c(s)?x(p.internalLinkWebpageId,s?.internalLink):void 0,label:n?.text||"",link:s}}),i=xe?.tabs.map(e=>{const{text:t,...r}=e;return{...r,label:t||""}}),o=Boolean(t?.isTabsSystemDerived),a=o?i:r,n=xe?.activeTabKey||a?.[0]?.tabKey||"";return e(G,{...t,items:a||[],isMobile:je,moleculeId:ie,activeTabKey:n,configurationItemInfo:Ye,onTabChange:ke?void 0:({newTabKey:e,link:t})=>{o?xe?.onTabChange?.(e):c(t)?De?.({link:t?.internalLink||""}):u(t?.externalLink)}})}case"divider":{const t=y(Le,Ce,Ke);return e(B,{moleculeId:ie,configurationItemInfo:Ye,...t})}case"link":{const t={text:ue?.text,link:ue?.link},r=Object.keys(t),{text:i,link:o}=b(t,Oe,r,Ke),a=o,n=y(Le,Ce,Ke);return e(V,{moleculeId:ie,...n,link:a,type:a?.type,src:Ge?void 0:l(a,ve)||"",text:i?.text||"",disabled:n?.disabled||He,configurationItemInfo:Ye})}case"data_driven_link":{const t={text:ue?.text},r=Object.keys(t),{text:i}=b(t,Oe,r,Ke),o=y(Le,Ce,Ke);return e(V,{moleculeId:ie,...o,text:i?.text||"",sourceDataModelField:ze,disabled:o?.disabled||He,configurationItemInfo:Ye})}case"video":{const t={video:ue?.video,coverImage:ue?.coverImage},r=Object.keys(t),{video:i,coverImage:o}=b(t,Oe,r,Ke),a=y(Le,Ce,Ke);return e(X,{...a,moleculeId:ie,poster:o?.imageFile?.url,src:i?.videoSource??i?.videoFile?.url??"",configurationItemInfo:Ye})}case"badge":{const t=y(Le,Ce,Ke);return e(D,{...t,configurationItemInfo:Ye})}case"alert":{const t={text:ue?.text,subText:ue?.subText},r=Object.keys(t),{text:i,subText:o}=b(t,Oe,r,Ke),a=y(Le,Ce,Ke);return e(O,{text:i?.text||"",subText:o?.text||"",...a,configurationItemInfo:Ye})}case"chip":{const t={text:ue?.text},r=Object.keys(t),{text:i}=b(t,Oe,r,Ke),o=y(Le,Ce,Ke);return e(M,{text:i?.text||"",...o,configurationItemInfo:Ye})}case"email_display_field":case"email_input_field":{const t={text:ue?.text,placeholderText:ue?.placeholderText,required:ue?.required,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{text:i,placeholderText:o,required:a,requiredErrorText:n,validationErrorText:s}=b(t,Oe,r,Ke),d=y(Le,Ce,Ke);return e(C,{name:We,text:i?.text||"",placeholderText:o?.text||"",sourceDataModelField:ze,required:a?.value,isDisplayOnly:"email_display_field"===oe,requiredErrorText:n?.text,validationErrorText:s?.text,...d,configurationItemInfo:Ye})}case"phone_number_display_field":case"phone_number_input_field":{const t={text:ue?.text,placeholderText:ue?.placeholderText,required:ue?.required,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{text:i,placeholderText:o,required:a,requiredErrorText:n,validationErrorText:s}=b(t,Oe,r,Ke),d=y(Le,Ce,Ke);return e(z,{name:We,text:i?.text||"",required:a?.value,requiredErrorText:n?.text,validationErrorText:s?.text,placeholderText:o?.text||"",sourceDataModelField:ze,isDisplayOnly:"phone_number_display_field"===oe,...d,configurationItemInfo:Ye})}case"numeric_display_field":case"numeric_input_field":{const t={text:ue?.text,placeholderText:ue?.placeholderText,required:ue?.required,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{text:i,placeholderText:o,required:a,requiredErrorText:n,validationErrorText:s}=b(t,Oe,r,Ke),d=y(Le,Ce,Ke);return e(A,{name:We,text:i?.text||"",required:a?.value,isDisplayOnly:"numeric_display_field"===oe,requiredErrorText:n?.text,validationErrorText:s?.text,placeholderText:o?.text||"",sourceDataModelField:ze,...d,configurationItemInfo:Ye})}case"currency_display_field":case"currency_input_field":{const t={text:ue?.text,placeholderText:ue?.placeholderText,required:ue?.required,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{text:i,placeholderText:o,required:a,requiredErrorText:n,validationErrorText:s}=b(t,Oe,r,Ke),d=y(Le,Ce,Ke);return e(q,{name:We,text:i?.text||"",required:a?.value,isDisplayOnly:"currency_display_field"===oe,requiredErrorText:n?.text,validationErrorText:s?.text,placeholderText:o?.text||"",sourceDataModelField:ze,...d,configurationItemInfo:Ye})}case"basic_text_display_field":case"basic_text_field":{const t={text:ue?.text,placeholderText:ue?.placeholderText,required:ue?.required,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{text:i,placeholderText:o,required:a,requiredErrorText:n,validationErrorText:s}=b(t,Oe,r,Ke),d=y(Le,Ce,Ke);return e(S,{name:We,text:i?.text||"",required:a?.value,isDisplayOnly:"basic_text_display_field"===oe,requiredErrorText:n?.text,validationErrorText:s?.text,placeholderText:o?.text||"",sourceDataModelField:ze,...d,configurationItemInfo:Ye})}case"rating_display_field":case"rating":{const t={text:ue?.text,dataCapture:ue?.dataCapture,required:ue?.required,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{text:i,required:o,requiredErrorText:a,validationErrorText:n}=b(t,Oe,r,Ke),s=y(Le,Ce,Ke);return e(N,{name:We,text:i?.text||"",required:o?.value,requiredErrorText:a?.text,validationErrorText:n?.text,sourceDataModelField:ze,isDisplayOnly:"rating_display_field"===oe,...s,configurationItemInfo:Ye})}case"switch_display_field":case"switch":{const t={text:ue?.text,required:ue?.required,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{text:i,required:o,requiredErrorText:a,validationErrorText:n}=b(t,Oe,r,Ke),s=y(Le,Ce,Ke);return e(Y,{name:We,moleculeId:ie,text:i?.text||"",required:o?.value,isDisplayOnly:"switch_display_field"===oe,requiredErrorText:a?.text,validationErrorText:n?.text,sourceDataModelField:ze,...s,configurationItemInfo:Ye})}case"slider_display_field":case"slider":{const t={text:ue?.text,required:ue?.required,placeholderText:ue?.placeholderText,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{text:i,required:o,requiredErrorText:a,validationErrorText:n,placeholderText:s}=b(t,Oe,r,Ke),d=y(Le,Ce,Ke);return e(Z,{name:We,text:i?.text||"",required:o?.value,isDisplayOnly:"slider_display_field"===oe,requiredErrorText:a?.text,validationErrorText:n?.text,placeholderText:s?.text,sourceDataModelField:ze,...d,configurationItemInfo:Ye})}case"date_display_field":case"date_picker":{const t={text:ue?.text,required:ue?.required,placeholderText:ue?.placeholderText,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{text:i,required:o,placeholderText:a,requiredErrorText:n,validationErrorText:s}=b(t,Oe,r,Ke),d=y(Le,Ce,Ke);return e(re,{dateAdapter:te,children:e(R,{moleculeId:ie,name:We,text:i?.text||"",required:o?.value,placeholderText:a?.text||"",isDisplayOnly:"date_display_field"===oe,requiredErrorText:n?.text,validationErrorText:s?.text,sourceDataModelField:ze,...d,configurationItemInfo:Ye})})}case"time_picker_display":case"time_picker":{const t={text:ue?.text,placeholderText:ue?.placeholderText,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText,required:ue?.required},r=Object.keys(t),{text:i,placeholderText:o,requiredErrorText:a,validationErrorText:n,required:s}=b(t,Oe,r,Ke),d=y(Le,Ce,Ke);return e(re,{dateAdapter:te,children:e(J,{...d,name:We,text:i?.text||"",placeholderText:o?.text||"",required:s?.value,requiredErrorText:a?.text,validationErrorText:n?.text,isDisplayOnly:"time_picker_display"===oe,sourceDataModelField:ze,configurationItemInfo:Ye})})}case"select_display_field":case"select":{const t={text:ue?.text,required:ue?.required,placeholderText:ue?.placeholderText,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{text:i,required:o,placeholderText:a,requiredErrorText:n,validationErrorText:s}=b(t,Oe,r,Ke),d=y(Le,Ce,Ke),l="select_display_field"===oe;return e(H,{name:We,text:i?.text||"",required:o?.value,isDisplayOnly:l,predefinedValue:Ne,placeholderText:a?.text||"",requiredErrorText:n?.text,validationErrorText:s?.text,sourceDataModelField:ze,...d,configurationItemInfo:Ye})}case"image":{const t={image:ue?.image,link:ue?.link},r=Object.keys(t),{image:i,link:o}=b(t,Oe,r,Ke),a=y(Le,Ce,Ke);return e(w,{...a,src:i?.imageSource||i?.imageFile?.url||i?.imageFile?.id||"",onClick:o?()=>c(o)?De?.({link:o?.internalLink||""}):u(o?.externalLink):void 0,moleculeId:ie,configurationItemInfo:Ye,properties:{image:i,link:o}})}case"button":{const t={text:ue?.text,action:ue?.action},r=Object.keys(t),{text:i,action:o}=b(t,Oe,r,Ke),a=y(Le,Ce,Ke);return e(d,{moleculeId:ie,text:i?.text||"",...a,disabled:a?.disabled||He,configurationItemInfo:Ye,properties:{text:i,action:o}})}case"avatar":{const t=y(Le,Ce,Ke);return e(v,{...t,sourceDataModelField:ze,configurationItemInfo:Ye})}case"drawer":{const t={text:ue?.text,disabled:ue?.disabled},r=Object.keys(t),{text:i,disabled:o}=b(t,Oe,r,Ke),a=y(Le,Ce,Ke),n=ce?.map(e=>{const t=_e===e.id,{properties:r,config:i,...o}=e||{};let a={},n=[];switch(e.type){case"menu_item":{const e=r;a={disabled:e?.disabled,text:e?.text,link:e?.link},n=Object.keys(a);break}case"text_item":{const e=r;a={text:e?.text},n=Object.keys(a);break}case"rich_text_item":{const e=r;a={text:e?.text},n=Object.keys(a);break}case"image_item":{const e=r;a={image:e?.image,alt:e?.alt,link:e?.link},n=Object.keys(a);break}default:a={},n=[]}const s=b(a,Oe,n,t),d=y(i?.props,Ce,t),l={...o,...d};switch(e.type){case"menu_item":return{...l,disabled:Be?.[e.id]?Be?.[e.id]?.disabled:s?.disabled?.value||d?.disabled||!1,text:s?.text?.text||"Menu Item",link:s?.link,sx:d?.sx||l.sx};case"text_item":return{...l,text:s?.text?.text||""};case"rich_text_item":return{...l,text:s?.text?.text||m};case"image_item":{const e=s?.image?.imageSource||s?.image?.imageFile?.url||"";return{...l,src:e,alt:s?.alt?.text||"Drawer image",link:s?.link}}default:return l}});return e(_,{...a,items:n||[],moleculeId:ie,buttonText:i?.text||a?.buttonText,buttonDisabled:Be?.[ie]?Be?.[ie]?.disabled:o?.value||a?.disabled||!1,configurationItemInfo:Ye})}case"speed_dial":{const t=y(Le,Ce,Ke),r=ce?.map(e=>{const t=_e===e.id,{properties:r,config:i,...o}=e||{},a={link:r?.link,text:r?.text},n=Object.keys(a),s=b(a,Oe,n,t),d=y(i?.props,Ce,t);return{...o,config:{props:{...i?.props,...d,tooltipText:d?.tooltipText||""}},properties:{link:s?.link||r?.link,text:s?.text||r?.text}}});return e($,{...t,items:r||[],moleculeId:ie,configurationItemInfo:Ye})}case"checkbox":case"checkbox_display":{const t={label:ue?.label,required:ue?.required,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{label:i,required:o,requiredErrorText:a,validationErrorText:n}=b(t,Oe,r,Ke),s=y(Le,Ce,Ke);return e(h,{name:We,moleculeId:ie,label:i?.text||"",required:o?.value,requiredErrorText:a?.text,validationErrorText:n?.text,sourceDataModelField:ze,isDisplayOnly:"checkbox_display"===oe,...s,configurationItemInfo:Ye})}case"binary_radio_buttons":case"binary_radio_buttons_display":{const t={confirmText:ue?.confirmText,rejectText:ue?.rejectText,required:ue?.required,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{confirmText:i,rejectText:o,required:a,requiredErrorText:n,validationErrorText:s}=b(t,Oe,r,Ke),d=y(Le,Ce,Ke);return e(E,{name:We,moleculeId:ie,confirmText:i?.text||"Yes",rejectText:o?.text||"No",required:a?.value,requiredErrorText:n?.text,validationErrorText:s?.text,sourceDataModelField:ze,isDisplayOnly:"binary_radio_buttons_display"===oe,...d,configurationItemInfo:Ye})}case"date_calendar":case"date_calendar_display":{const t={required:ue?.required,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{required:i,requiredErrorText:o,validationErrorText:a}=b(t,Oe,r,Ke),n=y(Le,Ce,Ke);return e(P,{...n,name:We,required:i?.value,requiredErrorText:o?.text,validationErrorText:a?.text,isDisplayOnly:"date_calendar_display"===oe,sourceDataModelField:ze,configurationItemInfo:Ye})}default:return e(t,{children:"There is no such type of molecule yet."})}})()};export{ie as BaseMolecule};
|
|
1
|
+
import{jsx as e,Fragment as t}from"../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js";import"../node_modules/@emotion/react/dist/emotion-react.esm.js";import"../contexts/AccountButtonContext/AccountButtonContext.js";import{useMemo as r,useCallback as i}from"react";import"../contexts/ApiContext/ApiContext.js";import{useContainerRuntime as o}from"../contexts/ContainerRuntimeContext/ContainerRuntimeContext.js";import"../contexts/FormStepContext/FormStepContext.js";import"../contexts/LayoutContext/LayoutContext.js";import"../theme/theme.js";import"../theme/provider.js";import"../theme/toastStyles.js";import{useMediaQuery as a}from"../theme/useMediaQuery.js";import"../contexts/MlrRichTextViewerContext/MlrRichTextViewerContext.js";import"../contexts/OrganismContext/OrganismContext.js";import{useOrganismContext as n}from"../contexts/OrganismContext/useOrganismContext.js";import"../contexts/PopupContext/PopupContext.js";import"../contexts/ReplicatorFormContext/ReplicatorFormContext.js";import"../contexts/ReplicatorRegistryContext/ReplicatorRegistryContext.js";import"../contexts/StateContext/StateContext.js";import{useStateContext as s}from"../contexts/StateContext/useStateContext.js";import"../contexts/WebpageContext/WebpageContext.js";import{Button as d}from"./Button/Button.js";import"@tanstack/react-query";import{getHref as l,checkIsInternalLink as c,getParameterByName as x,navigateToExternalLink as u}from"../helpers/utils.js";import"../components/Buttons/TextButton.js";import"../components/Buttons/TouchableOpacity.js";import"../components/Circle/Circle.js";import"../components/CircularIndicator/CircularIndicator.js";import"../components/ContentWrapper/ContentWrapper.js";import"../components/CustomValidation/CustomValidation.js";import"../components/HorizontalButtons/HorizontalButtons.js";import"../components/Input/Input.js";import"../components/Paddings/Paddings.js";import"../components/PdfDocument/PdfDocument.js";import"../components/RadioButtons/RadioButtons.js";import"../components/RegularImage/RegularImage.js";import{richTextDefaultValue as m}from"../components/RichTextViewer/RichTextViewer.js";import"../node_modules/slate/dist/index.es.js";import"../components/TextWrapper/TextWrapper.js";import"../components/Select/styles.js";import"../components/Spacer/Spacer.js";import"../components/Spinner/Spinner.js";import"../components/Toast/toast.js";import"../components/Tooltip/Tooltip.js";import"../components/ValidationTag/ValidationTag.js";import"../components/ZealUIModal/ZealUIModal.js";import{paramKeys as p}from"../constants/params.js";import{useStateListenerValue as T}from"../containers/hooks/useStateListenerValue.js";import{getConfigurationWrapperStyle as f}from"../containers/styles.js";import{overrideProperties as b,overrideProps as y}from"../containers/utils.js";import{isDataDisplayMolecule as g,MoleculeSkeleton as j}from"./MoleculeSkeletons/MoleculeSkeletons.js";import{Accordion as I}from"./Accordion/Accordion.js";import{AvatarMolecule as v}from"./Avatar/Avatar.js";import{BinaryRadioButtons as E}from"./BinaryRadioButtons/BinaryRadioButtons.js";import{Checkbox as h}from"./Checkbox/Checkbox.js";import{ConsentMolecule as k}from"./Consent/ConsentMolecule.js";import{CurrencyInputField as q}from"./CurrencyInputtField/CurrencyInputField.js";import{Drawer as _}from"./Drawer/Drawer.js";import{EmailInputField as C}from"./EmailInputField/EmailInputField.js";import{AlertMolecule as O}from"./Alert/Alert.js";import{BadgeMolecule as D}from"./Badge/Badge.js";import{BasicTextField as S}from"./BasicTextField/BasicTextField.js";import{Checklist as F}from"./Checklist/Checklist.js";import{ChipMolecule as M}from"./Chip/Chip.js";import{DateCalendar as P}from"./DateCalendar/DateCalendar.js";import{DatePickerMolecule as R}from"./DatePicker/DatePicker.js";import{Divider as B}from"./Divider/Divider.js";import"./Icon/IconRenderer.js";import{Image as w}from"./Image/Image.js";import{Link as V}from"./Link/Link.js";import{Menu as L}from"./Menu/Menu.js";import{NumericInputField as A}from"./NumericInputField/NumericInputField.js";import{PasswordSetup as W}from"./PasswordSetup/PasswordSetup.js";import{PhoneNumberInputField as z}from"./PhoneNumberInputField/PhoneNumberInputField.js";import{RatingMolecule as N}from"./Rating/Rating.js";import{TextMolecule as K}from"./RichText/TextMolecule.js";import{SelectMolecule as H}from"./Select/Select.js";import{SimpleText as U}from"./SimpleText/SimpleText.js";import{SliderMolecule as Z}from"./Slider/Slider.js";import{SpeedDial as $}from"./SpeedDial/SpeedDial.js";import{Stepper as Q}from"./Stepper/Stepper.js";import{SwitchMolecule as Y}from"./Switch/Switch.js";import{Tabs as G}from"./Tabs/Tabs.js";import{TimePickerMolecule as J}from"./TimePicker/TimePicker.js";import{Video as X}from"./Video/Video.js";import{u as ee}from"../node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js";import{AdapterDateFns as te}from"../node_modules/@mui/x-date-pickers/esm/AdapterDateFns/AdapterDateFns.js";import{LocalizationProvider as re}from"../node_modules/@mui/x-date-pickers/esm/LocalizationProvider/LocalizationProvider.js";const ie=({id:ie,type:oe,name:ae,form:ne,config:se,formData:de,isMobile:le,children:ce,tabsProps:xe,properties:ue,moleculeLibraryId:me,organismLibraryMoleculeId:pe,parentStyleVariantConfig:Te,parentContainerWithVariantsId:fe,parentContainerActiveVariant:be})=>{const ye=ee(),ge=a("xs"),je=le||ge,{formId:Ie,isPreview:ve=!1,validations:Ee,submitHandler:he,isConfigurationMode:ke,onConfigurationItemClicked:qe,selectedConfigurationItemId:_e,currentStyleProperties:Ce,currentContentProperties:Oe,onInternalNavigation:De,organismMetadata:Se,organismInfo:Fe,localState:Me,isLoadingData:Pe}=n(),{stateConfig:Re}=s(),Be=Re,we=o(),Ve=be??we.activeVariant,Le=r(()=>((e,t)=>{if(!e)return{};if(t){const r=e[t];if(r&&"object"==typeof r&&"props"in r){const e=r.props;if(e&&"object"==typeof e)return e}}return e.props||{}})(se,Ve??null),[se,Ve]),Ae=se?.props?.dataCaptureName||ue?.dataCapture?.dataCaptureName||ie,We=r(()=>{return Ie&&we?.nestedPathSegments?.length?(e=we.nestedPathSegments,t=Ae,e&&0!==e.length?[...e.map(e=>void 0!==e.index?`${e.dmfId}.${e.index}`:e.dmfId),t].filter(Boolean).join("."):t):Ae;var e,t},[Ie,we?.nestedPathSegments,Ae]),ze=ue?.dataCapture?.sourceDataModelFieldId,Ne=ue?.dataCapture?.predefinedValue,Ke=_e===ie,{isStateDisabled:He,isStateVisible:Ue}=T({stateListenerId:ie}),Ze=r(()=>({entityType:oe,entity:"molecule",entityName:ae,entityId:ie,organismLibraryMoleculeId:pe,libraryEntityId:me,activeStyleVariant:Ve,parentReplicatorWithVariants:fe||we.containerId||null,parentStyleVariantConfig:Te||void 0}),[oe,ae,ie,pe,me,Ve,we.containerId,fe,Te]),$e=i(e=>{e?.stopPropagation(),qe(Ze,!1)},[qe,Ze]),Qe=i(e=>{e?.stopPropagation(),qe(Ze,!0)},[qe,Ze]),Ye=ke?{onClick:$e,onDoubleClick:Qe,"data-configuration-id":ie,css:f({theme:ye,selected:Ke})}:{},Ge=ke||He;if(!Ue)return null;if(Pe&&g(oe)){const t={width:Le.width,height:Le.height,marginLeft:Le.marginLeft||"0",marginTop:Le.marginTop||"0",marginRight:Le.marginRight||"0",marginBottom:Le.marginBottom||"0",paddingLeft:Le.paddingLeft,paddingTop:Le.paddingTop,paddingRight:Le.paddingRight,paddingBottom:Le.paddingBottom,fontSize:Le.fontSize,borderColor:Le.borderColor,backgroundColor:Le.backgroundColor,size:Le.size,text:ue?.text?.text,subText:ue?.subText?.text,maxValue:Le.maxValue,orientation:Le.orientation,sx:Le.sx};return e(j,{type:oe,props:t})}return(()=>{switch(oe){case"simple_text":{const t={text:ue?.text},r=["text"],{text:i}=b(t,Oe,r,Ke),o=y(Le,Ce,Ke);return e(U,{...o,text:i?.text||"",htmlElementId:ie,configurationsItemInfo:Ye})}case"text":{const t={text:ue?.text},r=Object.keys(t),{text:i}=b(t,Oe,r,Ke),o=y(Le,Ce,Ke);return e(K,{...i,...o,htmlElementId:ie,configurationItemInfo:Ye})}case"consent":{const t=b(ue,Oe,[],Ke),r=y(Le,Ce,Ke)||{};return e(k,{...r,htmlElementId:ie,properties:t,configurationItemInfo:Ye})}case"signup_password_fields":{const t={text:ue?.text,subText:ue?.subText,placeholderText:ue?.placeholderText,subPlaceholderText:ue?.subPlaceholderText,validationText:ue?.validationText},r=Object.keys(t),i=b(t,Oe,r,Ke),{state:o,gap:a,...n}=y(se?.props,Ce,Ke);return e(W,{gap:a,inputProps:n,validations:Ee||[],htmlElementId:ie,validationState:o,overridesProperties:i,configurationItemInfo:Ye})}case"stepper":{const t=y(Le,Ce,Ke),r=ce?.map(e=>{const t=_e===e.id,{properties:r,config:i,...o}=e||{},a={title:r?.title,subText:r?.subText},n=Object.keys(a),{title:s,subText:d}=b(a,Oe,n,t);return{...o,...y(i?.props,Ce,t),title:s?.text||"",subText:d?.text||""}});return e(Q,{...t,items:r||[],isMobile:je,moleculeId:ie,configurationItemInfo:Ye})}case"checklist":{const t=y(Le,Ce,Ke)||{},r=ce?.map(e=>{const t=_e===e.id,{properties:r,config:i,...o}=e||{};switch(e.type){case"checklist_item":{const a={label:r?.label,objectState:r?.objectState},n=Object.keys(a),s=b(a,Oe,n,t),d=y(i?.props,Ce,t)||{},l=s.label?.text||"",c=!!s.objectState?.pmiObjectId;return{...o,...d,type:"checklist_item",label:l,textColor:d.textColor||"#000",fontSize:d.fontSize||"14px",fontFamily:d.fontFamily||"inherit",fontWeight:d.fontWeight||"normal",textAlign:d.textAlign||"left",isSystemDriven:c,disabled:c,interacted:Be?.[e.id]?.interacted||"unchecked"}}case"divider_item":{const e=y(i?.props,Ce,t)||{};return{...o,...e,type:"divider_item"}}case"text_item":{const e={text:r?.text},a=Object.keys(e),n=b(e,Oe,a,t),s=y(i?.props,Ce,t)||{},d=n.text?.text||"";return{...o,...s,type:"text_item",text:d}}case"rich_text_item":{const e={text:r?.text},a=Object.keys(e),n=b(e,Oe,a,t),s=y(i?.props,Ce,t)||{},d=n.text?.text||m;return{...o,...s,type:"rich_text_item",text:d}}default:return{...o,type:e.type}}});return e(F,{...t,items:r||[],moleculeId:ie,configurationItemInfo:Ye})}case"accordion":{const t=y(Le,Ce,Ke),r=ce?.map(e=>{const t=_e===e.id,{properties:r,config:i,...o}=e||{},a={text:r?.text,subText:r?.subText,bodyText:r?.bodyText},n=Object.keys(a),{text:s,subText:d,bodyText:l}=b(a,Oe,n,t);return{...o,...y(i?.props,Ce,t),text:s?.text||"",subText:d?.text||"",bodyText:l?.text||""}});return e(I,{...t,items:r||[],moleculeId:ie,configurationItemInfo:Ye})}case"menu":{const t={text:ue?.text,disabled:ue?.disabled},r=Object.keys(t),{text:i,disabled:o}=b(t,Oe,r,Ke),a=y(Le,Ce,Ke),n=ce?.map(e=>{const t=_e===e.id,{properties:r,config:i,...o}=e||{},a={disabled:r&&"disabled"in r?r.disabled:void 0,text:r&&"text"in r?r.text:void 0,link:r&&"link"in r?r.link:void 0},n=Object.keys(a),{text:s,disabled:d,link:l}=b(a,Oe,n,t),c=y(i?.props,Ce,t);return{...o,...c,disabled:Be?.[e.id]?Be?.[e.id]?.disabled:d?.value||c?.disabled||!1,text:s?.text||"Menu Item",link:l}});return e(L,{...a,items:n||[],moleculeId:ie,buttonText:i?.text||"Open Menu",configurationItemInfo:Ye,buttonDisabled:Be?.[ie]?Be?.[ie]?.disabled:o?.value||a?.disabled||!1})}case"tabs":{const t=y(Le,Ce,Ke),r=ce?.map(e=>{const t=_e===e.id,{properties:r,config:i}=e||{},o={label:r?.label,link:r?.link},a=Object.keys(o),{label:n,link:s}=b(o,Oe,a,t);return{...y(i?.props,Ce,t),id:e.id,tabKey:c(s)?x(p.internalLinkWebpageId,s?.internalLink):void 0,label:n?.text||"",link:s}}),i=xe?.tabs.map(e=>{const{text:t,...r}=e;return{...r,label:t||""}}),o=Boolean(t?.isTabsSystemDerived),a=o?i:r,n=xe?.activeTabKey||a?.[0]?.tabKey||"";return e(G,{...t,items:a||[],isMobile:je,moleculeId:ie,activeTabKey:n,configurationItemInfo:Ye,onTabChange:ke?void 0:({newTabKey:e,link:t})=>{o?xe?.onTabChange?.(e):c(t)?De?.({link:t?.internalLink||""}):u(t?.externalLink)}})}case"divider":{const t=y(Le,Ce,Ke);return e(B,{moleculeId:ie,configurationItemInfo:Ye,...t})}case"link":{const t={text:ue?.text,link:ue?.link},r=Object.keys(t),{text:i,link:o}=b(t,Oe,r,Ke),a=o,n=y(Le,Ce,Ke);return e(V,{moleculeId:ie,...n,link:a,type:a?.type,src:Ge?void 0:l(a,ve)||"",text:i?.text||"",disabled:n?.disabled||He,configurationItemInfo:Ye})}case"data_driven_link":{const t={text:ue?.text},r=Object.keys(t),{text:i}=b(t,Oe,r,Ke),o=y(Le,Ce,Ke);return e(V,{moleculeId:ie,...o,text:i?.text||"",sourceDataModelField:ze,disabled:o?.disabled||He,configurationItemInfo:Ye})}case"video":{const t={video:ue?.video,coverImage:ue?.coverImage},r=Object.keys(t),{video:i,coverImage:o}=b(t,Oe,r,Ke),a=y(Le,Ce,Ke);return e(X,{...a,moleculeId:ie,poster:o?.imageFile?.url,src:i?.videoSource??i?.videoFile?.url??"",configurationItemInfo:Ye})}case"badge":{const t=y(Le,Ce,Ke);return e(D,{...t,configurationItemInfo:Ye})}case"alert":{const t={text:ue?.text,subText:ue?.subText},r=Object.keys(t),{text:i,subText:o}=b(t,Oe,r,Ke),a=y(Le,Ce,Ke);return e(O,{text:i?.text||"",subText:o?.text||"",...a,configurationItemInfo:Ye})}case"chip":{const t={text:ue?.text},r=Object.keys(t),{text:i}=b(t,Oe,r,Ke),o=y(Le,Ce,Ke);return e(M,{text:i?.text||"",...o,configurationItemInfo:Ye})}case"email_display_field":case"email_input_field":{const t={text:ue?.text,placeholderText:ue?.placeholderText,required:ue?.required,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{text:i,placeholderText:o,required:a,requiredErrorText:n,validationErrorText:s}=b(t,Oe,r,Ke),d=y(Le,Ce,Ke);return e(C,{name:We,text:i?.text||"",placeholderText:o?.text||"",sourceDataModelField:ze,required:a?.value,isDisplayOnly:"email_display_field"===oe,requiredErrorText:n?.text,validationErrorText:s?.text,...d,configurationItemInfo:Ye})}case"phone_number_display_field":case"phone_number_input_field":{const t={text:ue?.text,placeholderText:ue?.placeholderText,required:ue?.required,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{text:i,placeholderText:o,required:a,requiredErrorText:n,validationErrorText:s}=b(t,Oe,r,Ke),d=y(Le,Ce,Ke);return e(z,{name:We,text:i?.text||"",required:a?.value,requiredErrorText:n?.text,validationErrorText:s?.text,placeholderText:o?.text||"",sourceDataModelField:ze,isDisplayOnly:"phone_number_display_field"===oe,...d,configurationItemInfo:Ye})}case"numeric_display_field":case"numeric_input_field":{const t={text:ue?.text,placeholderText:ue?.placeholderText,required:ue?.required,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{text:i,placeholderText:o,required:a,requiredErrorText:n,validationErrorText:s}=b(t,Oe,r,Ke),d=y(Le,Ce,Ke);return e(A,{name:We,text:i?.text||"",required:a?.value,isDisplayOnly:"numeric_display_field"===oe,requiredErrorText:n?.text,validationErrorText:s?.text,placeholderText:o?.text||"",sourceDataModelField:ze,...d,configurationItemInfo:Ye})}case"currency_display_field":case"currency_input_field":{const t={text:ue?.text,placeholderText:ue?.placeholderText,required:ue?.required,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{text:i,placeholderText:o,required:a,requiredErrorText:n,validationErrorText:s}=b(t,Oe,r,Ke),d=y(Le,Ce,Ke);return e(q,{name:We,text:i?.text||"",required:a?.value,isDisplayOnly:"currency_display_field"===oe,requiredErrorText:n?.text,validationErrorText:s?.text,placeholderText:o?.text||"",sourceDataModelField:ze,...d,configurationItemInfo:Ye})}case"basic_text_display_field":case"basic_text_field":{const t={text:ue?.text,placeholderText:ue?.placeholderText,required:ue?.required,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{text:i,placeholderText:o,required:a,requiredErrorText:n,validationErrorText:s}=b(t,Oe,r,Ke),d=y(Le,Ce,Ke);return e(S,{name:We,text:i?.text||"",required:a?.value,isDisplayOnly:"basic_text_display_field"===oe,requiredErrorText:n?.text,validationErrorText:s?.text,placeholderText:o?.text||"",sourceDataModelField:ze,...d,configurationItemInfo:Ye})}case"rating_display_field":case"rating":{const t={text:ue?.text,dataCapture:ue?.dataCapture,required:ue?.required,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{text:i,required:o,requiredErrorText:a,validationErrorText:n}=b(t,Oe,r,Ke),s=y(Le,Ce,Ke);return e(N,{name:We,text:i?.text||"",required:o?.value,requiredErrorText:a?.text,validationErrorText:n?.text,sourceDataModelField:ze,isDisplayOnly:"rating_display_field"===oe,...s,configurationItemInfo:Ye})}case"switch_display_field":case"switch":{const t={text:ue?.text,required:ue?.required,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{text:i,required:o,requiredErrorText:a,validationErrorText:n}=b(t,Oe,r,Ke),s=y(Le,Ce,Ke);return e(Y,{name:We,moleculeId:ie,text:i?.text||"",required:o?.value,isDisplayOnly:"switch_display_field"===oe,requiredErrorText:a?.text,validationErrorText:n?.text,sourceDataModelField:ze,...s,configurationItemInfo:Ye})}case"slider_display_field":case"slider":{const t={text:ue?.text,required:ue?.required,placeholderText:ue?.placeholderText,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{text:i,required:o,requiredErrorText:a,validationErrorText:n,placeholderText:s}=b(t,Oe,r,Ke),d=y(Le,Ce,Ke);return e(Z,{name:We,text:i?.text||"",required:o?.value,isDisplayOnly:"slider_display_field"===oe,requiredErrorText:a?.text,validationErrorText:n?.text,placeholderText:s?.text,sourceDataModelField:ze,...d,configurationItemInfo:Ye})}case"date_display_field":case"date_picker":{const t={text:ue?.text,required:ue?.required,placeholderText:ue?.placeholderText,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{text:i,required:o,placeholderText:a,requiredErrorText:n,validationErrorText:s}=b(t,Oe,r,Ke),d=y(Le,Ce,Ke);return e(re,{dateAdapter:te,children:e(R,{moleculeId:ie,name:We,text:i?.text||"",required:o?.value,placeholderText:a?.text||"",isDisplayOnly:"date_display_field"===oe,requiredErrorText:n?.text,validationErrorText:s?.text,sourceDataModelField:ze,...d,configurationItemInfo:Ye})})}case"time_picker_display":case"time_picker":{const t={text:ue?.text,placeholderText:ue?.placeholderText,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText,required:ue?.required},r=Object.keys(t),{text:i,placeholderText:o,requiredErrorText:a,validationErrorText:n,required:s}=b(t,Oe,r,Ke),d=y(Le,Ce,Ke);return e(re,{dateAdapter:te,children:e(J,{...d,name:We,text:i?.text||"",placeholderText:o?.text||"",required:s?.value,requiredErrorText:a?.text,validationErrorText:n?.text,isDisplayOnly:"time_picker_display"===oe,sourceDataModelField:ze,configurationItemInfo:Ye})})}case"select_display_field":case"select":{const t={text:ue?.text,required:ue?.required,placeholderText:ue?.placeholderText,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{text:i,required:o,placeholderText:a,requiredErrorText:n,validationErrorText:s}=b(t,Oe,r,Ke),d=y(Le,Ce,Ke),l="select_display_field"===oe;return e(H,{name:We,text:i?.text||"",required:o?.value,isDisplayOnly:l,predefinedValue:Ne,placeholderText:a?.text||"",requiredErrorText:n?.text,validationErrorText:s?.text,sourceDataModelField:ze,...d,configurationItemInfo:Ye})}case"image":{const t={image:ue?.image,link:ue?.link},r=Object.keys(t),{image:i,link:o}=b(t,Oe,r,Ke),a=y(Le,Ce,Ke);return e(w,{...a,src:i?.imageSource||i?.imageFile?.url||i?.imageFile?.id||"",onClick:o?()=>c(o)?De?.({link:o?.internalLink||""}):u(o?.externalLink):void 0,moleculeId:ie,configurationItemInfo:Ye,properties:{image:i,link:o}})}case"button":{const t={text:ue?.text,action:ue?.action},r=Object.keys(t),{text:i,action:o}=b(t,Oe,r,Ke),a=y(Le,Ce,Ke);return e(d,{moleculeId:ie,text:i?.text||"",sourceDataModelField:ze,...a,disabled:a?.disabled||He,configurationItemInfo:Ye,properties:{text:i,action:o}})}case"avatar":{const t=y(Le,Ce,Ke);return e(v,{...t,sourceDataModelField:ze,configurationItemInfo:Ye})}case"drawer":{const t={text:ue?.text,disabled:ue?.disabled},r=Object.keys(t),{text:i,disabled:o}=b(t,Oe,r,Ke),a=y(Le,Ce,Ke),n=ce?.map(e=>{const t=_e===e.id,{properties:r,config:i,...o}=e||{};let a={},n=[];switch(e.type){case"menu_item":{const e=r;a={disabled:e?.disabled,text:e?.text,link:e?.link},n=Object.keys(a);break}case"text_item":{const e=r;a={text:e?.text},n=Object.keys(a);break}case"rich_text_item":{const e=r;a={text:e?.text},n=Object.keys(a);break}case"image_item":{const e=r;a={image:e?.image,alt:e?.alt,link:e?.link},n=Object.keys(a);break}default:a={},n=[]}const s=b(a,Oe,n,t),d=y(i?.props,Ce,t),l={...o,...d};switch(e.type){case"menu_item":return{...l,disabled:Be?.[e.id]?Be?.[e.id]?.disabled:s?.disabled?.value||d?.disabled||!1,text:s?.text?.text||"Menu Item",link:s?.link,sx:d?.sx||l.sx};case"text_item":return{...l,text:s?.text?.text||""};case"rich_text_item":return{...l,text:s?.text?.text||m};case"image_item":{const e=s?.image?.imageSource||s?.image?.imageFile?.url||"";return{...l,src:e,alt:s?.alt?.text||"Drawer image",link:s?.link}}default:return l}});return e(_,{...a,items:n||[],moleculeId:ie,buttonText:i?.text||a?.buttonText,buttonDisabled:Be?.[ie]?Be?.[ie]?.disabled:o?.value||a?.disabled||!1,configurationItemInfo:Ye})}case"speed_dial":{const t=y(Le,Ce,Ke),r=ce?.map(e=>{const t=_e===e.id,{properties:r,config:i,...o}=e||{},a={link:r?.link,text:r?.text},n=Object.keys(a),s=b(a,Oe,n,t),d=y(i?.props,Ce,t);return{...o,config:{props:{...i?.props,...d,tooltipText:d?.tooltipText||""}},properties:{link:s?.link||r?.link,text:s?.text||r?.text}}});return e($,{...t,items:r||[],moleculeId:ie,configurationItemInfo:Ye})}case"checkbox":case"checkbox_display":{const t={label:ue?.label,required:ue?.required,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{label:i,required:o,requiredErrorText:a,validationErrorText:n}=b(t,Oe,r,Ke),s=y(Le,Ce,Ke);return e(h,{name:We,moleculeId:ie,label:i?.text||"",required:o?.value,requiredErrorText:a?.text,validationErrorText:n?.text,sourceDataModelField:ze,isDisplayOnly:"checkbox_display"===oe,...s,configurationItemInfo:Ye})}case"binary_radio_buttons":case"binary_radio_buttons_display":{const t={confirmText:ue?.confirmText,rejectText:ue?.rejectText,required:ue?.required,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{confirmText:i,rejectText:o,required:a,requiredErrorText:n,validationErrorText:s}=b(t,Oe,r,Ke),d=y(Le,Ce,Ke);return e(E,{name:We,moleculeId:ie,confirmText:i?.text||"Yes",rejectText:o?.text||"No",required:a?.value,requiredErrorText:n?.text,validationErrorText:s?.text,sourceDataModelField:ze,isDisplayOnly:"binary_radio_buttons_display"===oe,...d,configurationItemInfo:Ye})}case"date_calendar":case"date_calendar_display":{const t={required:ue?.required,requiredErrorText:ue?.requiredErrorText,validationErrorText:ue?.validationErrorText},r=Object.keys(t),{required:i,requiredErrorText:o,validationErrorText:a}=b(t,Oe,r,Ke),n=y(Le,Ce,Ke);return e(P,{...n,name:We,required:i?.value,requiredErrorText:o?.text,validationErrorText:a?.text,isDisplayOnly:"date_calendar_display"===oe,sourceDataModelField:ze,configurationItemInfo:Ye})}default:return e(t,{children:"There is no such type of molecule yet."})}})()};export{ie as BaseMolecule};
|
|
2
2
|
//# sourceMappingURL=BaseMolecule.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseMolecule.js","sources":["../../../../src/molecules/BaseMolecule.tsx"],"sourcesContent":[null],"names":["BaseMolecule","id","moleculeId","type","name","form","_form","config","formData","isMobile","isMobileProp","children","moleculeItems","tabsProps","properties","moleculeLibraryId","organismLibraryMoleculeId","parentStyleVariantConfig","parentContainerWithVariantsId","parentContainerActiveVariant","theme","useTheme","mediaIsMobile","useMediaQuery","formId","isPreview","validations","submitHandler","_submitHandler","isConfigurationMode","onConfigurationItemClicked","selectedConfigurationItemId","currentStyleProperties","currentContentProperties","onInternalNavigation","organismMetadata","_organismMetadata","organismInfo","_organismInfo","localState","_localState","isLoadingData","useOrganismContext","stateConfig","useStateContext","stateObject","containerRuntime","useContainerRuntime","activeVariant","baseProps","useMemo","variantConfig","variantProps","props","getVariantMoleculeProps","baseDataCaptureName","dataCaptureName","dataCapture","formDataCaptureName","nestedPathSegments","length","segments","fieldName","map","seg","undefined","index","dmfId","filter","Boolean","join","sourceDataModelFieldId","predefinedValue","selected","isStateDisabled","isStateVisible","useStateListenerValue","stateListenerId","configurationItemData","entityType","entity","entityName","entityId","libraryEntityId","activeStyleVariant","parentReplicatorWithVariants","containerId","onConfigurationItemClick","useCallback","e","stopPropagation","onConfigurationItemDoubleClick","configurationsItemInfo","onClick","onDoubleClick","css","getConfigurationWrapperStyle","isOnClickDisabled","isDataDisplayMolecule","skeletonProps","width","height","marginLeft","marginTop","marginRight","marginBottom","paddingLeft","paddingTop","paddingRight","paddingBottom","fontSize","borderColor","backgroundColor","size","text","subText","maxValue","orientation","sx","_jsx","MoleculeSkeleton","savedProperties","propertyKeys","overrideProperties","overrideProps","SimpleText","htmlElementId","Object","keys","TextMolecule","configurationItemInfo","consentProperties","ConsentMolecule","placeholderText","subPlaceholderText","validationText","overridesProperties","state","gap","inputProps","PasswordSetup","validationState","stepperProps","steps","item","isItemSelected","itemProperties","itemConfig","restOfItem","title","Stepper","items","checklistProps","label","objectState","overriddenProperties","itemProps","labelText","isSystemDriven","pmiObjectId","textColor","fontFamily","fontWeight","textAlign","disabled","interacted","textContent","richTextDefaultValue","Checklist","accordionProps","rest","bodyText","Accordion","menuText","menuDisabled","menuProps","child","childAttrs","childConfig","restChild","childSavedProperties","link","childPropsToOverride","childStyleProps","value","Menu","buttonText","buttonDisabled","userConfiguredTabs","tabKey","checkIsInternalLink","getParameterByName","paramKeys","internalLinkWebpageId","internalLink","systemDerivedTabs","tabs","tab","isTabsSystemDerived","activeTabKey","Tabs","onTabChange","newTabKey","navigateToExternalLink","externalLink","Divider","typedLink","Link","src","getHref","sourceDataModelField","video","coverImage","Video","poster","imageFile","url","videoSource","videoFile","BadgeMolecule","AlertMolecule","ChipMolecule","required","requiredErrorText","validationErrorText","EmailInputField","isDisplayOnly","PhoneNumberInputField","NumericInputField","CurrencyInputField","BasicTextField","RatingMolecule","SwitchMolecule","SliderMolecule","LocalizationProvider","dateAdapter","AdapterDateFns","DatePickerMolecule","allProps","TimePickerMolecule","isDisplay","SelectMolecule","image","Image","imageSource","action","Button","AvatarMolecule","drawerTextProperty","drawerDisabled","drawerProps","childProperties","childPropertiesToOverride","menuItemProperties","textItemProperties","richTextItemProperties","imageItemProperties","alt","baseItem","Drawer","speedDialProps","overriddenProps","tooltipText","SpeedDial","Checkbox","confirmText","rejectText","BinaryRadioButtons","DateCalendar","renderMolecule"],"mappings":"uhKAwFA,MAkFaA,GAAsC,EACjDC,GAAIC,GACJC,QACAC,QACAC,KAAMC,GACNC,UACAC,YACAC,SAAUC,GACVC,SAAUC,GACVC,aACAC,cACAC,qBACAC,6BAEAC,4BACAC,iCACAC,oCAEA,MAAMC,GAAQC,KACRC,GAAgBC,EAAc,MAC9Bd,GAAWC,IAAgBY,IAE3BE,OACJA,GAAMC,UACNA,IAAY,EAAKC,YACjBA,GACAC,cAAeC,GAAcC,oBAC7BA,GAAmBC,2BACnBA,GAA0BC,4BAC1BA,GAA2BC,uBAC3BA,GAAsBC,yBACtBA,GAAwBC,qBACxBA,GACAC,iBAAkBC,GAClBC,aAAcC,GACdC,WAAYC,GAAWC,cACvBA,IACEC,KACEC,YAAEA,IAAgBC,IAElBC,GAAcF,GACdG,GAAmBC,IAInBC,GAAgB7B,IAAgC2B,GAAiBE,cAIjEC,GAAYC,EAAQ,IAnII,EAC9B3C,EACAyC,KAEA,IAAKzC,EAAQ,MAAO,GAGpB,GAAIyC,EAAe,CACjB,MAAMG,EAAgB5C,EAAOyC,GAC7B,GAAIG,GAA0C,iBAAlBA,GAA8B,UAAWA,EAAe,CAClF,MAAMC,EAAgBD,EAAqCE,MAC3D,GAAID,GAAwC,iBAAjBA,EACzB,OAAOA,CAEV,CACF,CAGD,OAAQ7C,EAAO8C,OAAqC,IAkH3CC,CAAwB/C,GAAiCyC,IAAiB,MAChF,CAACzC,GAAQyC,KAKNO,GACHhD,IAAiD8C,OAA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AAWC,WAAEA,EAAU5C,SAAEA,EAAQC,kBAAEA,EAAiBC,oBAAEA,GAC5DrG,EAAmBF,EAAiBxF,GAA0ByF,EAAcjD,IAExEpB,EAAQuE,EAAc3E,GAAWjB,GAAwByC,IAE/D,OACE8C,EAACoJ,EAAkB,CACjBvQ,KAAMsD,GACNxD,WAAYA,GACZuQ,YAAaA,GAAavJ,MAAQ,MAClCwJ,WAAYA,GAAYxJ,MAAQ,KAChC4G,SAAUA,GAAUtC,MACpBuC,kBAAmBA,GAAmB7G,KACtC8G,oBAAqBA,GAAqB9G,KAC1CgG,qBAAsB3I,GACtB2J,cAAwB,iCAAT/N,MACXkD,EACJ6E,sBAAuBtC,IAG5B,CAED,IAAK,gBACL,IAAK,wBAAyB,CAE5B,MAAM6B,EAAkB,CACtBqG,SAAUhN,IAAYgN,SACtBC,kBAAmBjN,IAAYiN,kBAC/BC,oBAAqBlN,IAAYkN,qBAG7BtG,EAAeK,OAAOC,KAAKP,IAG3BqG,SAAEA,EAAQC,kBAAEA,EAAiBC,oBAAEA,GAAwBrG,EAC3DF,EACAxF,GACAyF,EACAjD,IAIIqK,EAAWlH,EAAc3E,GAAWjB,GAAwByC,IAGlE,OACE8C,EAACqJ,MACK9B,EACJ1O,KAAMsD,GACNoK,SAAUA,GAAUtC,MACpBuC,kBAAmBA,GAAmB7G,KACtC8G,oBAAqBA,GAAqB9G,KAC1CgH,cAAwB,0BAAT/N,GACf+M,qBAAsB3I,GACtB2D,sBAAuBtC,IAG5B,CAED,QACE,OAAO2B,2DAINsJ"}
|
|
1
|
+
{"version":3,"file":"BaseMolecule.js","sources":["../../../../src/molecules/BaseMolecule.tsx"],"sourcesContent":[null],"names":["BaseMolecule","id","moleculeId","type","name","form","_form","config","formData","isMobile","isMobileProp","children","moleculeItems","tabsProps","properties","moleculeLibraryId","organismLibraryMoleculeId","parentStyleVariantConfig","parentContainerWithVariantsId","parentContainerActiveVariant","theme","useTheme","mediaIsMobile","useMediaQuery","formId","isPreview","validations","submitHandler","_submitHandler","isConfigurationMode","onConfigurationItemClicked","selectedConfigurationItemId","currentStyleProperties","currentContentProperties","onInternalNavigation","organismMetadata","_organismMetadata","organismInfo","_organismInfo","localState","_localState","isLoadingData","useOrganismContext","stateConfig","useStateContext","stateObject","containerRuntime","useContainerRuntime","activeVariant","baseProps","useMemo","variantConfig","variantProps","props","getVariantMoleculeProps","baseDataCaptureName","dataCaptureName","dataCapture","formDataCaptureName","nestedPathSegments","length","segments","fieldName","map","seg","undefined","index","dmfId","filter","Boolean","join","sourceDataModelFieldId","predefinedValue","selected","isStateDisabled","isStateVisible","useStateListenerValue","stateListenerId","configurationItemData","entityType","entity","entityName","entityId","libraryEntityId","activeStyleVariant","parentReplicatorWithVariants","containerId","onConfigurationItemClick","useCallback","e","stopPropagation","onConfigurationItemDoubleClick","configurationsItemInfo","onClick","onDoubleClick","css","getConfigurationWrapperStyle","isOnClickDisabled","isDataDisplayMolecule","skeletonProps","width","height","marginLeft","marginTop","marginRight","marginBottom","paddingLeft","paddingTop","paddingRight","paddingBottom","fontSize","borderColor","backgroundColor","size","text","subText","maxValue","orientation","sx","_jsx","MoleculeSkeleton","savedProperties","propertyKeys","overrideProperties","overrideProps","SimpleText","htmlElementId","Object","keys","TextMolecule","configurationItemInfo","consentProperties","ConsentMolecule","placeholderText","subPlaceholderText","validationText","overridesProperties","state","gap","inputProps","PasswordSetup","validationState","stepperProps","steps","item","isItemSelected","itemProperties","itemConfig","restOfItem","title","Stepper","items","checklistProps","label","objectState","overriddenProperties","itemProps","labelText","isSystemDriven","pmiObjectId","textColor","fontFamily","fontWeight","textAlign","disabled","interacted","textContent","richTextDefaultValue","Checklist","accordionProps","rest","bodyText","Accordion","menuText","menuDisabled","menuProps","child","childAttrs","childConfig","restChild","childSavedProperties","link","childPropsToOverride","childStyleProps","value","Menu","buttonText","buttonDisabled","userConfiguredTabs","tabKey","checkIsInternalLink","getParameterByName","paramKeys","internalLinkWebpageId","internalLink","systemDerivedTabs","tabs","tab","isTabsSystemDerived","activeTabKey","Tabs","onTabChange","newTabKey","navigateToExternalLink","externalLink","Divider","typedLink","Link","src","getHref","sourceDataModelField","video","coverImage","Video","poster","imageFile","url","videoSource","videoFile","BadgeMolecule","AlertMolecule","ChipMolecule","required","requiredErrorText","validationErrorText","EmailInputField","isDisplayOnly","PhoneNumberInputField","NumericInputField","CurrencyInputField","BasicTextField","RatingMolecule","SwitchMolecule","SliderMolecule","LocalizationProvider","dateAdapter","AdapterDateFns","DatePickerMolecule","allProps","TimePickerMolecule","isDisplay","SelectMolecule","image","Image","imageSource","action","Button","AvatarMolecule","drawerTextProperty","drawerDisabled","drawerProps","childProperties","childPropertiesToOverride","menuItemProperties","textItemProperties","richTextItemProperties","imageItemProperties","alt","baseItem","Drawer","speedDialProps","overriddenProps","tooltipText","SpeedDial","Checkbox","confirmText","rejectText","BinaryRadioButtons","DateCalendar","renderMolecule"],"mappings":"uhKAwFA,MAkFaA,GAAsC,EACjDC,GAAIC,GACJC,QACAC,QACAC,KAAMC,GACNC,UACAC,YACAC,SAAUC,GACVC,SAAUC,GACVC,aACAC,cACAC,qBACAC,6BAEAC,4BACAC,iCACAC,oCAEA,MAAMC,GAAQC,KACRC,GAAgBC,EAAc,MAC9Bd,GAAWC,IAAgBY,IAE3BE,OACJA,GAAMC,UACNA,IAAY,EAAKC,YACjBA,GACAC,cAAeC,GAAcC,oBAC7BA,GAAmBC,2BACnBA,GAA0BC,4BAC1BA,GAA2BC,uBAC3BA,GAAsBC,yBACtBA,GAAwBC,qBACxBA,GACAC,iBAAkBC,GAClBC,aAAcC,GACdC,WAAYC,GAAWC,cACvBA,IACEC,KACEC,YAAEA,IAAgBC,IAElBC,GAAcF,GACdG,GAAmBC,IAInBC,GAAgB7B,IAAgC2B,GAAiBE,cAIjEC,GAAYC,EAAQ,IAnII,EAC9B3C,EACAyC,KAEA,IAAKzC,EAAQ,MAAO,GAGpB,GAAIyC,EAAe,CACjB,MAAMG,EAAgB5C,EAAOyC,GAC7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46,6 +46,8 @@ export interface ButtonProps extends MuiButtonProps {
|
|
|
46
46
|
minHeight?: string;
|
|
47
47
|
maxHeight?: string;
|
|
48
48
|
externalOnClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
49
|
+
/** Field ID from the data layer to resolve button text from */
|
|
50
|
+
sourceDataModelField?: string;
|
|
49
51
|
}
|
|
50
52
|
/**
|
|
51
53
|
* We use `forwardRef` so that the ref passed from parent Component (Menu)
|
|
@@ -56,4 +58,4 @@ export declare const Button: React.ForwardRefExoticComponent<Pick<ButtonProps &
|
|
|
56
58
|
text?: any;
|
|
57
59
|
action?: ActionObject[] | undefined;
|
|
58
60
|
} | undefined;
|
|
59
|
-
}, "maxWidth" | "maxHeight" | "minWidth" | "minHeight" | "color" | "fontFamily" | "fontSize" | "fontWeight" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "textAlign" | "translate" | "width" | "borderColor" | "borderRadius" | "gap" | "action" | "className" | "style" | "classes" | "children" | "elevation" | "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" | "loading" | "loadingIndicator" | "loadingPosition" | "size" | "startIcon" | "textColor" | "iconOnly" | "properties" | "configurationItemInfo" | "moleculeId" | "wrapText" | "fillColor" | "fillColorDisabled" | "fillColorHover" | "fillColorPressed" | "borderColorDisabled" | "borderColorHover" | "borderColorPressed" | "textColorDisabled" | "textColorHover" | "textColorPressed" | "externalOnClick"> & React.RefAttributes<HTMLButtonElement>>;
|
|
61
|
+
}, "maxWidth" | "maxHeight" | "minWidth" | "minHeight" | "color" | "fontFamily" | "fontSize" | "fontWeight" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "textAlign" | "translate" | "width" | "borderColor" | "borderRadius" | "gap" | "action" | "className" | "style" | "classes" | "children" | "elevation" | "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" | "loading" | "loadingIndicator" | "loadingPosition" | "size" | "startIcon" | "textColor" | "iconOnly" | "properties" | "configurationItemInfo" | "moleculeId" | "sourceDataModelField" | "wrapText" | "fillColor" | "fillColorDisabled" | "fillColorHover" | "fillColorPressed" | "borderColorDisabled" | "borderColorHover" | "borderColorPressed" | "textColorDisabled" | "textColorHover" | "textColorPressed" | "externalOnClick"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as o}from"../../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js";import{useStateModifierHandler as
|
|
1
|
+
import{jsx as o}from"../../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js";import{useStateModifierHandler as t}from"../../containers/hooks/useStateModifierHandler.js";import"../../contexts/AccountButtonContext/AccountButtonContext.js";import{forwardRef as e}from"react";import"../../contexts/ApiContext/ApiContext.js";import{useContainerRuntime as r}from"../../contexts/ContainerRuntimeContext/ContainerRuntimeContext.js";import"../../contexts/FormStepContext/FormStepContext.js";import"../../contexts/LayoutContext/LayoutContext.js";import{defaultTheme as i}from"../../theme/theme.js";import"../../theme/provider.js";import"../../theme/toastStyles.js";import"../../contexts/MlrRichTextViewerContext/MlrRichTextViewerContext.js";import"../../contexts/OrganismContext/OrganismContext.js";import{useOrganismContext as n}from"../../contexts/OrganismContext/useOrganismContext.js";import"../../contexts/PopupContext/PopupContext.js";import"../../contexts/ReplicatorFormContext/ReplicatorFormContext.js";import"../../contexts/ReplicatorRegistryContext/ReplicatorRegistryContext.js";import"../../contexts/StateContext/StateContext.js";import{useStateContext as a}from"../../contexts/StateContext/useStateContext.js";import"../../contexts/WebpageContext/WebpageContext.js";import{IconRenderer as d}from"../Icon/IconRenderer.js";import{getTintColor as l,getMaterialElevation as s}from"../../helpers/styles.js";import{useButtonAction as m}from"./hooks/useButtonAction.js";import c from"../../node_modules/@mui/material/esm/IconButton/IconButton.js";import p from"../../node_modules/@mui/material/esm/Typography/Typography.js";import g from"../../node_modules/@mui/material/esm/Button/Button.js";const x=e(({gap:e,moleculeId:x,configurationItemInfo:C,fontSize:h,fontWeight:u,fontFamily:b,textAlign:f,text:j,wrapText:y=!1,properties:v,borderRadius:R=0,endIcon:k,startIcon:S,fullWidth:W=!1,height:A,width:B,minWidth:I,maxWidth:w,minHeight:T,maxHeight:H,iconOnly:L=!1,elevation:O=0,fillColor:F="primary",fillColorDisabled:M,fillColorHover:D,fillColorPressed:E,borderColor:N,borderColorDisabled:P,borderColorHover:_,borderColorPressed:V,textColor:z,textColorDisabled:q,textColorHover:G,textColorPressed:J,variant:K="contained",color:Q="primary",disabled:U=!1,link:X,onClick:Y,externalOnClick:Z,marginTop:$="0",marginRight:oo="0",marginBottom:to="0",marginLeft:eo="0",paddingTop:ro="0",paddingRight:io="0",paddingBottom:no="0",paddingLeft:ao="0",sourceDataModelField:lo,...so},mo)=>{const{onStateChange:co}=t(),{localStateObject:po}=n(),go=r(),{stateConfig:xo}=a(),Co=po||xo,ho=lo?go?.getDmfValue(lo):void 0,uo=void 0!==ho?ho:lo?Co?.[lo]?.value:void 0,{handleAction:bo,isExecuting:fo,currentActionIndex:jo,results:yo,error:vo}=m({properties:v?{...v,action:v.action||[]}:void 0,moleculeId:x,onClick:Z||Y,disabled:U},{onActionStart:void 0,onActionComplete:void 0,onActionError:void 0,onAllActionsComplete:void 0,stopOnError:!0,executeAsync:!0}),Ro=(void 0!==uo?String(uo):null)||j||v?.text?.text||"",ko=o=>{U||fo||(Z?(Z(o),co?.({id:x,type:"clicked"})):(bo(o),co?.({id:x,type:"clicked"})))},So=F||Q,Wo="contained"===K,Ao=M||l(So,.5),Bo=q||l(z||i.colors.gray2,.5),Io=P||l(N||So,.5),wo=U||fo,To=wo?Bo:z,Ho=N||So,Lo={style:{width:h,height:h,strokeWidth:"bold"===u?2.5:1.5}};return L?o(c,{ref:mo,id:x,href:X,disabled:wo,onClick:ko,sx:{...W?{width:"100%"}:{width:B},height:A,...I&&{minWidth:I},...w&&{maxWidth:w},...T&&{minHeight:T},...H&&{maxHeight:H},marginTop:$,marginRight:oo,marginBottom:to,marginLeft:eo,paddingTop:ro,paddingRight:io,paddingBottom:no,paddingLeft:ao,borderRadius:R,backgroundColor:Wo?So:"transparent",borderWidth:"bold"===u?2:1.5,borderStyle:"solid",borderColor:Ho,color:To,boxShadow:s(O),"&:hover":{backgroundColor:D||l(So,.8),borderColor:_||l(Ho,.8),color:G||To},"&:active":{backgroundColor:E||l(So,.6),borderColor:V||l(Ho,.6),color:J||To},"&.Mui-disabled":{backgroundColor:Wo?Ao:"transparent",borderColor:Io,color:Bo}},...C,...so,children:o(d,{iconName:S||"circle-power",color:To,...Lo})}):o(g,{ref:mo,id:x,href:X,variant:K,disabled:wo,fullWidth:W,onClick:ko,disableElevation:0===O,endIcon:k&&o(d,{color:To,iconName:k,...Lo}),startIcon:S&&o(d,{color:To,iconName:S,...Lo}),sx:{...W?{}:{width:B},height:A,...I&&{minWidth:I},...w&&{maxWidth:w},...T&&{minHeight:T},...H&&{maxHeight:H},gap:e,alignItems:"center",justifyContent:f,pointerEvents:U?"none":"auto",marginTop:$,marginRight:oo,marginBottom:to,marginLeft:eo,paddingTop:ro,paddingRight:io,paddingBottom:no,paddingLeft:ao,borderRadius:R,borderWidth:"bold"===u?2:1.5,borderStyle:"solid",borderColor:Ho,textTransform:"none",backgroundColor:Wo?So:"transparent",color:To,boxShadow:s(O),"&:hover":{backgroundColor:D||(Wo?l(So,.8):"transparent"),borderColor:_||l(Ho,.8),color:G||To},"&:active":{backgroundColor:E||(Wo?l(So,.6):"transparent"),borderColor:V||l(Ho,.6),color:J||To},"&.Mui-disabled":{backgroundColor:Wo?Ao:"transparent",borderColor:Io,color:Bo}},...C,...so,children:Ro&&o(p,{component:"span",noWrap:!y,sx:{fontSize:h,fontWeight:u,fontFamily:b,textAlign:f,color:"inherit"},children:fo?"Loading...":Ro})})});x.displayName="NewButton";export{x as Button};
|
|
2
2
|
//# sourceMappingURL=Button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sources":["../../../../../src/molecules/Button/Button.tsx"],"sourcesContent":[null],"names":["Button","forwardRef","gap","moleculeId","configurationItemInfo","fontSize","fontWeight","fontFamily","textAlign","text","wrapText","properties","borderRadius","endIcon","startIcon","fullWidth","height","width","minWidth","maxWidth","minHeight","maxHeight","iconOnly","elevation","fillColor","fillColorDisabled","fillColorHover","fillColorPressed","borderColor","borderColorDisabled","borderColorHover","borderColorPressed","textColor","textColorDisabled","textColorHover","textColorPressed","variant","color","disabled","link","onClick","externalOnClick","marginTop","marginRight","marginBottom","marginLeft","paddingTop","paddingRight","paddingBottom","paddingLeft","rest","ref","onStateChange","useStateModifierHandler","handleAction","isExecuting","currentActionIndex","results","error","useButtonAction","action","
|
|
1
|
+
{"version":3,"file":"Button.js","sources":["../../../../../src/molecules/Button/Button.tsx"],"sourcesContent":[null],"names":["Button","forwardRef","gap","moleculeId","configurationItemInfo","fontSize","fontWeight","fontFamily","textAlign","text","wrapText","properties","borderRadius","endIcon","startIcon","fullWidth","height","width","minWidth","maxWidth","minHeight","maxHeight","iconOnly","elevation","fillColor","fillColorDisabled","fillColorHover","fillColorPressed","borderColor","borderColorDisabled","borderColorHover","borderColorPressed","textColor","textColorDisabled","textColorHover","textColorPressed","variant","color","disabled","link","onClick","externalOnClick","marginTop","marginRight","marginBottom","marginLeft","paddingTop","paddingRight","paddingBottom","paddingLeft","sourceDataModelField","rest","ref","onStateChange","useStateModifierHandler","localStateObject","useOrganismContext","containerRuntime","useContainerRuntime","stateConfig","useStateContext","stateObject","scopedValueFromContainer","getDmfValue","undefined","dataModelFieldValue","value","handleAction","isExecuting","currentActionIndex","results","error","useButtonAction","action","onActionStart","onActionComplete","onActionError","onAllActionsComplete","stopOnError","executeAsync","buttonText","String","clickHandler","event","id","type","activeFillColor","shouldShowBackground","disabledFillColor","getTintColor","disabledTextColor","defaultTheme","colors","gray2","disabledBorderColor","isDisabled","activeTextColor","activeBorderColor","iconProps","style","strokeWidth","_jsx","MuiIconButton","href","sx","backgroundColor","borderWidth","borderStyle","boxShadow","getMaterialElevation","children","IconRenderer","iconName","MuiButton","disableElevation","alignItems","justifyContent","pointerEvents","textTransform","Typography","component","noWrap","displayName"],"mappings":"qrDAiFa,MAAAA,EAASC,EAIpB,EAEIC,MACAC,aACAC,wBACAC,WACAC,aACAC,aACAC,YACAC,OACAC,YAAW,EACXC,aACAC,eAAe,EACfC,UACAC,YACAC,aAAY,EACZC,SACAC,QACAC,WACAC,WACAC,YACAC,YAGAC,YAAW,EACXC,YAAY,EACZC,YAAY,UACZC,oBACAC,iBACAC,mBACAC,cACAC,sBACAC,mBACAC,qBACAC,YACAC,oBACAC,iBACAC,mBAEAC,UAAU,YACVC,QAAQ,UACRC,YAAW,EACXC,OACAC,UACAC,kBACAC,YAAY,IACZC,eAAc,IACdC,gBAAe,IACfC,cAAa,IACbC,cAAa,IACbC,gBAAe,IACfC,iBAAgB,IAChBC,eAAc,IACdC,2BAEGC,IAELC,MAEA,MAAMC,cAAEA,IAAkBC,KACpBC,iBAAEA,IAAqBC,IACvBC,GAAmBC,KACnBC,YAAEA,IAAgBC,IAGlBC,GAAeN,IAAoBI,GACnCG,GAA2BZ,GAC7BO,IAAkBM,YAAYb,SAC9Bc,EACEC,QACyBD,IAA7BF,GACIA,GACAZ,GACAW,KAAcX,KAAuBgB,WACrCF,GACAG,aAAEA,GAAYC,YAAEA,GAAWC,mBAAEA,GAAkBC,QAAEA,GAAOC,MAAEA,IAAUC,EACxE,CACE7D,WAAYA,EAAa,IAAKA,EAAY8D,OAAQ9D,EAAW8D,QAAU,SAAOT,EAC9E7D,aACAqC,QAASC,GAAmBD,EAC5BF,YAEF,CACEoC,mBAAeV,EACfW,sBAAkBX,EAClBY,mBAAeZ,EACfa,0BAAsBb,EACtBc,aAAa,EACbC,cAAc,IAKZC,SACqBhB,IAAxBC,GAAoCgB,OAAOhB,IAAuB,OACnExD,GACAE,GAAYF,MAAMA,MAClB,GAEIyE,GAAgBC,IACf7C,GAAa8B,KAEZ3B,GACF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UAAU,OACVC,QAAS/G,EACT8F,GAAI,CACFnG,WACAC,aACAC,aACAC,YACA6B,MAAO,WACRyE,SAEA1C,GArJW,aAqJiBY,SAQzChF,EAAO0H,YAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsxs as t,jsx as e}from"../../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js";import"../../contexts/AccountButtonContext/AccountButtonContext.js";import{useMemo as o,useState as i,useEffect as n}from"react";import"../../contexts/ApiContext/ApiContext.js";import{useContainerRuntime as r}from"../../contexts/ContainerRuntimeContext/ContainerRuntimeContext.js";import"../../contexts/FormStepContext/FormStepContext.js";import{useFormContext as l}from"../../node_modules/react-hook-form/dist/index.esm.mjs.js";import"../../contexts/LayoutContext/LayoutContext.js";import"../../theme/theme.js";import"../../theme/provider.js";import"../../theme/toastStyles.js";import"../../contexts/MlrRichTextViewerContext/MlrRichTextViewerContext.js";import"../../contexts/OrganismContext/OrganismContext.js";import{useOrganismContext as a}from"../../contexts/OrganismContext/useOrganismContext.js";import"../../contexts/PopupContext/PopupContext.js";import"../../contexts/ReplicatorFormContext/ReplicatorFormContext.js";import"../../contexts/ReplicatorRegistryContext/ReplicatorRegistryContext.js";import"../../contexts/StateContext/StateContext.js";import{useStateContext as d}from"../../contexts/StateContext/useStateContext.js";import{useWebpageContextSafe as m}from"../../contexts/WebpageContext/useWebpageContext.js";import"../../contexts/WebpageContext/WebpageContext.js";import"@tanstack/react-query";import{usePickListOptions as s}from"../../contexts/ApiContext/globalQueries/pickList/usePickListOptions.js";import p from"../../node_modules/@mui/material/esm/FormHelperText/FormHelperText.js";import u from"../../node_modules/@mui/material/esm/Typography/Typography.js";import c from"../../node_modules/@mui/material/esm/InputLabel/InputLabel.js";import g from"../../node_modules/@mui/material/esm/Select/Select.js";import x from"../../node_modules/@mui/material/esm/MenuItem/MenuItem.js";import h from"../../node_modules/@mui/material/esm/CircularProgress/CircularProgress.js";import f from"../../node_modules/@mui/material/esm/FormControl/FormControl.js";const C=({open:C,text:b,disabled:v,sx:j,placeholderText:y,required:S=!1,requiredErrorText:W="This field is required",validationErrorText:L="Invalid format",isDisplayOnly:T=!1,displayText:F,visible:R=!0,fontSize:_,fontFamily:M,fontWeight:O,textColor:k,textAlign:I,borderColor:B,color:V,backgroundColor:w,marginLeft:z="0",marginTop:A="0",marginRight:H="0",marginBottom:D="0",paddingLeft:P,paddingTop:q,paddingRight:$,paddingBottom:E,width:K,height:N,minHeight:Q,maxHeight:G,minWidth:J,maxWidth:U,configurationItemInfo:X={},name:Y,sourceDataModelField:Z,predefinedValue:tt,hideWhenNoValue:et=!1,inputSize:ot="medium",hideLabel:it=!1,variant:nt="outlined",native:rt=!1,options:lt,publishToWebpageContext:at=!1,webpageContextKey:dt})=>{const mt="regular"===O?"normal":O,st=t=>""!==t&&null!=t,pt=T?void 0:Z,{dataModelFieldOptions:ut,isLoading:ct}=s(pt),gt=lt&<.length>0?lt:ut,xt=o(()=>(gt||[]).map(t=>"string"==typeof t?{id:t,
|
|
1
|
+
import{jsxs as t,jsx as e}from"../../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js";import"../../contexts/AccountButtonContext/AccountButtonContext.js";import{useMemo as o,useState as i,useEffect as n}from"react";import"../../contexts/ApiContext/ApiContext.js";import{useContainerRuntime as r}from"../../contexts/ContainerRuntimeContext/ContainerRuntimeContext.js";import"../../contexts/FormStepContext/FormStepContext.js";import{useFormContext as l}from"../../node_modules/react-hook-form/dist/index.esm.mjs.js";import"../../contexts/LayoutContext/LayoutContext.js";import"../../theme/theme.js";import"../../theme/provider.js";import"../../theme/toastStyles.js";import"../../contexts/MlrRichTextViewerContext/MlrRichTextViewerContext.js";import"../../contexts/OrganismContext/OrganismContext.js";import{useOrganismContext as a}from"../../contexts/OrganismContext/useOrganismContext.js";import"../../contexts/PopupContext/PopupContext.js";import"../../contexts/ReplicatorFormContext/ReplicatorFormContext.js";import"../../contexts/ReplicatorRegistryContext/ReplicatorRegistryContext.js";import"../../contexts/StateContext/StateContext.js";import{useStateContext as d}from"../../contexts/StateContext/useStateContext.js";import{useWebpageContextSafe as m}from"../../contexts/WebpageContext/useWebpageContext.js";import"../../contexts/WebpageContext/WebpageContext.js";import"@tanstack/react-query";import{usePickListOptions as s}from"../../contexts/ApiContext/globalQueries/pickList/usePickListOptions.js";import p from"../../node_modules/@mui/material/esm/FormHelperText/FormHelperText.js";import u from"../../node_modules/@mui/material/esm/Typography/Typography.js";import c from"../../node_modules/@mui/material/esm/InputLabel/InputLabel.js";import g from"../../node_modules/@mui/material/esm/Select/Select.js";import x from"../../node_modules/@mui/material/esm/MenuItem/MenuItem.js";import h from"../../node_modules/@mui/material/esm/CircularProgress/CircularProgress.js";import f from"../../node_modules/@mui/material/esm/FormControl/FormControl.js";const C=({open:C,text:b,disabled:v,sx:j,placeholderText:y,required:S=!1,requiredErrorText:W="This field is required",validationErrorText:L="Invalid format",isDisplayOnly:T=!1,displayText:F,visible:R=!0,fontSize:_,fontFamily:M,fontWeight:O,textColor:k,textAlign:I,borderColor:B,color:V,backgroundColor:w,marginLeft:z="0",marginTop:A="0",marginRight:H="0",marginBottom:D="0",paddingLeft:P,paddingTop:q,paddingRight:$,paddingBottom:E,width:K,height:N,minHeight:Q,maxHeight:G,minWidth:J,maxWidth:U,configurationItemInfo:X={},name:Y,sourceDataModelField:Z,predefinedValue:tt,hideWhenNoValue:et=!1,inputSize:ot="medium",hideLabel:it=!1,variant:nt="outlined",native:rt=!1,options:lt,publishToWebpageContext:at=!1,webpageContextKey:dt})=>{const mt="regular"===O?"normal":O,st=t=>""!==t&&null!=t,pt=T?void 0:Z,{dataModelFieldOptions:ut,isLoading:ct}=s(pt),gt=lt&<.length>0?lt:ut,xt=o(()=>(gt||[]).map(t=>"string"==typeof t?{id:t,value:t}:t),[gt]),ht=l(),ft=!!ht?.control&&!!Y,[Ct,bt]=i(""),[vt,jt]=i(!1),{localStateObject:yt,setLocalStateValue:St,isConfigurationMode:Wt,selectedConfigurationItemId:Lt}=a(),{stateConfig:Tt}=d(),Ft=r(),Rt=m(),_t=yt||Tt,Mt=Z?_t?.[Z]:void 0,Ot=Mt?.value||("string"==typeof Mt||"number"==typeof Mt?Mt:void 0),kt=Z?Ft?.getDmfValue(Z):void 0,It="string"==typeof kt||"number"==typeof kt?kt:kt&&"object"==typeof kt?kt.value??kt.label??kt.id:void 0,Bt=null!=tt&&""!==tt,Vt=Boolean(v)||Bt;n(()=>{Bt&&null!=tt&&(ft?ht?.setValue(Y,tt):bt(tt))},[Bt,tt,ft,ht,Y]);const wt=It??Ot;if(n(()=>{at&&dt&&Rt?.setDynamicContextValue&&void 0!==wt&&Rt.setDynamicContextValue(dt,wt)},[at,dt,wt,Rt]),!R)return null;if(T&&et&&!(It??Ot))return null;if(T){const o=F??(null!=It?String(It):void 0)??(null!=Ot?String(Ot):void 0)??(y||"-");return t("div",{style:{display:"inline-flex",flexDirection:"column",...st(A)&&{marginTop:A},...st(H)&&{marginRight:H},...st(D)&&{marginBottom:D},...st(z)&&{marginLeft:z},...st(K)?{width:K}:{width:"fit-content"},...st(N)&&{height:N},...st(Q)&&{minHeight:Q},...st(G)&&{maxHeight:G},...st(J)&&{minWidth:J},...st(U)&&{maxWidth:U}},...X,children:[b&&e(p,{sx:{...st(_)&&{fontSize:_},...st(M)&&{fontFamily:M},...mt&&{fontWeight:mt},color:st(k)?k:"#000",marginLeft:0,marginBottom:"4px",...st(I)&&{textAlign:I}},children:b}),e(u,{sx:{...st(_)&&{fontSize:_},...st(M)&&{fontFamily:M},...mt&&{fontWeight:mt},...st(k)&&{color:k},...st(I)&&{textAlign:I},...st(P)&&{paddingLeft:P},...st(q)&&{paddingTop:q},...st($)&&{paddingRight:$},...st(E)&&{paddingBottom:E},...st(w)&&{backgroundColor:w},border:`1px solid ${st(B)?B:"#ccc"}`,borderRadius:"4px"},children:o})]})}const zt="small"===ot?40:56,At={position:"relative",display:st(K)?"block":"inline-block",...st(K)&&{width:K},...st(J)&&{minWidth:J},...st(U)&&{maxWidth:U},...st(z)&&{marginLeft:z},...st(A)&&{marginTop:A},...st(H)&&{marginRight:H},...st(D)&&{marginBottom:D}},Ht={width:"100%",...st(N)&&{height:N},...st(Q)&&{minHeight:Q},...st(G)&&{maxHeight:G},...!st(K)&&!st(J)&&{minWidth:"240px"},...j},Dt=st(k)?k:st(V)?V:void 0,Pt={..."small"===ot&&!N&&{height:`${zt}px`},...st(w)&&{backgroundColor:w},...Dt&&{color:Dt},...st(_)&&{fontSize:_},...st(M)&&{fontFamily:M},...mt&&{fontWeight:mt},...st(B)&&{"& .MuiOutlinedInput-notchedOutline":{borderColor:B},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:B},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:B}},..."filled"===nt&&st(B)&&{"&:before":{borderColor:B},"&:after":{borderColor:B},"&:hover:not(.Mui-disabled):before":{borderColor:B}},..."standard"===nt&&st(B)&&{"&:before":{borderColor:B},"&:after":{borderColor:B},"&:hover:not(.Mui-disabled):before":{borderColor:B}},"& .MuiSelect-select":{...st(I)&&{textAlign:I},...st(_)&&{fontSize:_},...st(M)&&{fontFamily:M},...mt&&{fontWeight:mt},...st(q)&&{paddingTop:q},...st(E)&&{paddingBottom:E},...st(P)&&{paddingLeft:P},...st($)&&{paddingRight:$}}},qt={...st(_)&&{fontSize:_},...st(M)&&{fontFamily:M},...mt&&{fontWeight:mt}},$t=ft?ht.watch(Y)||"":Ct,Et=ft?ht.formState?.errors?.[Y]:void 0;return e("div",{style:At,...X,onClick:t=>{Wt&&X&&"onClick"in X&&(t.stopPropagation(),t.preventDefault(),X.onClick())},children:t(f,{variant:nt,size:ot,sx:Ht,disabled:Vt,required:S,error:!!Et,children:[!it&&e(c,{id:`${Y}-label`,shrink:rt?vt||!!$t:void 0,sx:qt,children:b}),e(g,{value:$t,onChange:t=>{var e;Wt||(e=t.target.value,bt(e),ft&&ht.setValue(Y,e),Z&&St&&St(Z,{id:e}))},onFocus:()=>jt(!0),onBlur:()=>jt(!1),...Wt&&{open:!1},labelId:it?void 0:`${Y}-label`,label:it?void 0:b,disabled:Vt,native:rt,sx:Pt,children:rt?[e("option",{value:""},"__placeholder__"),...ct?[e("option",{disabled:!0,children:"Loading..."},"__loading__")]:xt.map(t=>e("option",{value:t.id,children:t.value},t.id))]:ct?t(x,{disabled:!0,children:[e(h,{size:20,sx:{mr:1}}),"Loading..."]}):xt.map(t=>e(x,{value:t.id,children:t.value},t.id))}),Et&&e(p,{error:!0,children:Et?.message||W})]})})};export{C as SelectMolecule};
|
|
2
2
|
//# sourceMappingURL=Select.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.js","sources":["../../../../../src/molecules/Select/Select.tsx"],"sourcesContent":[null],"names":["SelectMolecule","open","text","disabled","sx","placeholderText","required","requiredErrorText","validationErrorText","isDisplayOnly","displayText","visible","fontSize","fontFamily","fontWeight","fontWeightProp","textColor","textAlign","borderColor","color","backgroundColor","marginLeft","marginTop","marginRight","marginBottom","paddingLeft","paddingTop","paddingRight","paddingBottom","width","height","minHeight","maxHeight","minWidth","maxWidth","configurationItemInfo","name","sourceDataModelField","predefinedValue","hideWhenNoValue","inputSize","hideLabel","variant","native","options","publishToWebpageContext","webpageContextKey","hasValue","val","fieldIdForOptions","undefined","dataModelFieldOptions","isLoading","isOptionsLoading","usePickListOptions","effectiveOptions","length","normalizedOptions","useMemo","map","item","id","
|
|
1
|
+
{"version":3,"file":"Select.js","sources":["../../../../../src/molecules/Select/Select.tsx"],"sourcesContent":[null],"names":["SelectMolecule","open","text","disabled","sx","placeholderText","required","requiredErrorText","validationErrorText","isDisplayOnly","displayText","visible","fontSize","fontFamily","fontWeight","fontWeightProp","textColor","textAlign","borderColor","color","backgroundColor","marginLeft","marginTop","marginRight","marginBottom","paddingLeft","paddingTop","paddingRight","paddingBottom","width","height","minHeight","maxHeight","minWidth","maxWidth","configurationItemInfo","name","sourceDataModelField","predefinedValue","hideWhenNoValue","inputSize","hideLabel","variant","native","options","publishToWebpageContext","webpageContextKey","hasValue","val","fieldIdForOptions","undefined","dataModelFieldOptions","isLoading","isOptionsLoading","usePickListOptions","effectiveOptions","length","normalizedOptions","useMemo","map","item","id","value","formContext","useFormContext","isInFormContext","control","localValue","setLocalValue","useState","isFocused","setIsFocused","localStateObject","setLocalStateValue","isConfigurationMode","selectedConfigurationItemId","useOrganismContext","stateConfig","useStateContext","containerRuntime","useContainerRuntime","webpageContext","useWebpageContextSafe","stateObject","dataModelEntry","dataModelFieldDisplayValue","containerScopedEntry","getDmfValue","containerDisplayValue","label","isPredefined","isDisabled","Boolean","useEffect","setValue","resolvedValue","setDynamicContextValue","resolvedDisplayText","String","_jsxs","style","display","flexDirection","_jsx","FormHelperText","children","Typography","border","borderRadius","defaultHeight","wrapperStyle","position","formControlSx","effectiveColor","selectSx","labelSx","currentValue","watch","formError","formState","errors","onClick","e","stopPropagation","preventDefault","FormControl","size","error","InputLabel","shrink","MuiSelect","onChange","newValue","target","onFocus","onBlur","labelId","opt","MenuItem","CircularProgress","mr","message"],"mappings":"siEAoFO,MAAMA,EAAgD,EAC3DC,OACAC,OACAC,WACAC,KACAC,kBACAC,YAAW,EACXC,oBAAoB,yBACpBC,sBAAsB,iBACtBC,iBAAgB,EAChBC,cACAC,WAAU,EACVC,WACAC,aACAC,WAAYC,EACZC,YACAC,YACAC,cACAC,QACAC,kBACAC,aAAa,IACbC,YAAY,IACZC,cAAc,IACdC,eAAe,IACfC,cACAC,aACAC,eACAC,gBACAC,QACAC,SACAC,YACAC,YACAC,WACAC,WACAC,wBAAwB,CAAE,EAC1BC,OACAC,uBACAC,mBACAC,oBAAkB,EAClBC,aAAY,SACZC,cAAY,EACZC,WAAU,WACVC,WAAS,EACTC,WACAC,4BAA0B,EAC1BC,yBAGA,MAAMhC,GACe,YAAnBC,EAA+B,SAAWA,EAGtCgC,GAAYC,GAAkC,KAARA,SAAcA,EAKpDC,GAAoBxC,OAAgByC,EAAYb,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