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,uB","sources":["components/Helpers/ValidationHelper.ts","components/ui/FormModal/FormModal.tsx","components/ui/LoadingAnimations/LoadingDots/LoadingDots.tsx","components/ui/NectarineButton/NectarineButton.tsx","components/ui/NectarineDateInput/NectarineDateInput.tsx","components/ui/NectarineInfoIcon/NectarineInfoIcon.tsx","components/ui/NectarineNumericInput/NectarineNumericInput.tsx","components/ui/NectarineSelectInput/NectarineSelectInput.tsx","components/ui/NectarineTextAreaInput/NectarineTextAreaInput.tsx","components/ui/NectarineTextInput/NectarineTextInput.tsx","components/ui/NectarineToggle/NectarineToggle.tsx"],"sourcesContent":["export default class ValidationHelper {\n // https://stackoverflow.com/a/46181/27423149\n public static validateEmail(email: string): boolean {\n return /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|.(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/.test(\n email.toLowerCase()\n );\n }\n\n public static validateStringLength(input: string, minLength: number, maxLength: number): boolean {\n const cleanedUpInput = (input ?? '').trim();\n return cleanedUpInput.length >= minLength && cleanedUpInput.length <= maxLength;\n }\n\n public static validateNumericRange(input: number, min: number, max: number): boolean {\n const cleanedUpInput = input ?? 0;\n return cleanedUpInput >= min && cleanedUpInput <= max;\n }\n}\n","import { useEffect, useRef, useState } from 'react';\nimport { Col, Modal, ModalBody, ModalFooter, ModalHeader, Row } from 'reactstrap';\nimport { Subscription } from 'rxjs';\nimport GeneralHelper from '../../Helpers/GeneralHelper';\nimport ValidationHelper from '../../Helpers/ValidationHelper';\nimport NectarineButton from '../NectarineButton/NectarineButton';\nimport NectarineDateInput from '../NectarineDateInput/NectarineDateInput';\nimport NectarineNumericInput from '../NectarineNumericInput/NectarineNumericInput';\nimport NectarineSelectInput from '../NectarineSelectInput/NectarineSelectInput';\nimport NectarineTextAreaInput from '../NectarineTextAreaInput/NectarineTextAreaInput';\nimport NectarineTextInput from '../NectarineTextInput/NectarineTextInput';\nimport NectarineToggle from '../NectarineToggle/NectarineToggle';\nimport { useNotificationsPanelContext } from '../Notifications/NotificationsPanel/NotificationsPanelContext';\nimport { FormModalData, FormModalDataValueObject, FormModalInput, useFormModalContextContext } from './FormModalContext';\n\nconst FormModal: React.FC = () => {\n const [displayedFormModalData, setDisplayedFormModalData] = useState(null);\n const [modalIsDisplayed, setModalIsDisplayed] = useState(false);\n const [editData, setEditData] = useState({});\n const [isSaving, setIsSaving] = useState(false);\n\n const { showErrorNotification } = useNotificationsPanelContext();\n const { formModalData$, turnOffSaveButtonLoadState$, hideFormModal } = useFormModalContextContext();\n\n const formRef = useRef(null);\n\n useEffect(() => {\n const allSubscriptions = new Subscription();\n\n allSubscriptions.add(\n formModalData$.subscribe((newData) => {\n if (newData) {\n const newEditData: FormModalDataValueObject = {};\n\n newData.inputs.forEach((v) => {\n if (v.type === 'select') {\n newEditData[v.id] = v.initialValue || v.selectInputSettings?.options[0]?.value || undefined;\n } else {\n newEditData[v.id] = v.initialValue;\n }\n });\n\n setEditData(newEditData);\n\n setModalIsDisplayed(true);\n setDisplayedFormModalData(newData);\n } else {\n setModalIsDisplayed(false);\n\n setTimeout(() => {\n setDisplayedFormModalData(null);\n }, 500);\n }\n })\n );\n\n allSubscriptions.add(\n turnOffSaveButtonLoadState$.subscribe(() => {\n setIsSaving(false);\n })\n );\n\n return () => {\n allSubscriptions.unsubscribe();\n };\n }, [formModalData$, turnOffSaveButtonLoadState$]);\n\n const isFormValid = () => {\n if (!displayedFormModalData) {\n return false;\n }\n\n let returnValue = true;\n\n for (const currInput of displayedFormModalData.inputs) {\n const currValue = editData[currInput.id];\n\n switch (currInput.type) {\n case 'text':\n case 'textarea': {\n if (currInput.textInputSettings?.minLength !== undefined) {\n const parsedValue = ((currValue as string) ?? '').trim();\n if (parsedValue.length < currInput.textInputSettings.minLength) {\n returnValue = false;\n }\n }\n\n if (currInput.textInputSettings?.maxLength !== undefined) {\n const parsedValue = ((currValue as string) ?? '').trim();\n if (parsedValue.length > currInput.textInputSettings.maxLength) {\n returnValue = false;\n }\n }\n\n if (currInput.isRequired) {\n const parsedValue = ((currValue as string) ?? '').trim();\n if (!parsedValue.length) {\n returnValue = false;\n }\n }\n\n if (currInput.isRequired && currInput.textInputSettings?.inputType === 'email') {\n const parsedValue = ((currValue as string) ?? '').trim();\n if (!ValidationHelper.validateEmail(parsedValue)) {\n returnValue = false;\n }\n }\n\n break;\n }\n\n case 'number': {\n if (currInput.numericInputSettings?.min !== undefined) {\n const parsedValue = (currValue as number) ?? 0;\n\n if (parsedValue < currInput.numericInputSettings.min) {\n returnValue = false;\n }\n }\n\n if (currInput.numericInputSettings?.max !== undefined) {\n const parsedValue = (currValue as number) ?? 0;\n\n if (parsedValue > currInput.numericInputSettings.max) {\n returnValue = false;\n }\n }\n\n if (currInput.isRequired) {\n const parsedValue = (currValue as number) ?? 0;\n\n if (!(parsedValue > 0)) {\n returnValue = false;\n }\n }\n\n break;\n }\n\n case 'date': {\n if (currInput.dateInputSettings?.min !== undefined) {\n const parsedValue = (currValue as Date) ?? undefined;\n\n if (parsedValue === undefined || parsedValue < currInput.dateInputSettings.min) {\n returnValue = false;\n }\n }\n\n if (currInput.dateInputSettings?.max !== undefined) {\n const parsedValue = (currValue as Date) ?? undefined;\n\n if (parsedValue === undefined || parsedValue > currInput.dateInputSettings.max) {\n returnValue = false;\n }\n }\n\n if (currInput.isRequired) {\n const parsedValue = (currValue as Date) ?? undefined;\n\n if (!parsedValue) {\n returnValue = false;\n }\n }\n\n break;\n }\n\n case 'select': {\n if (currInput.isRequired) {\n const parsedValue = (currValue as string | number) ?? undefined;\n\n if (!parsedValue) {\n returnValue = false;\n }\n }\n\n break;\n }\n }\n }\n\n return returnValue;\n };\n\n const getInputJsx = (currInput: FormModalInput) => {\n switch (currInput.type) {\n case 'boolean':\n return (\n {\n setEditData((v) => {\n return {\n ...v,\n [currInput.id]: e\n };\n });\n }}\n />\n );\n\n case 'number':\n return (\n {\n setEditData((v) => {\n return {\n ...v,\n [currInput.id]: e\n };\n });\n }}\n placeholder={currInput.numericInputSettings?.placeholderText}\n required={currInput.isRequired}\n min={currInput.numericInputSettings?.min}\n max={currInput.numericInputSettings?.max}\n roundToNearestInterval={currInput.numericInputSettings?.roundToNearestInterval}\n />\n );\n\n case 'text':\n return (\n
\n {currInput.textInputSettings?.jsxToDisplayBeforeInput ? currInput.textInputSettings.jsxToDisplayBeforeInput : <>}\n\n
\n {\n setEditData((v) => {\n return {\n ...v,\n [currInput.id]: e\n };\n });\n }}\n placeholder={currInput.textInputSettings?.placeholderText}\n required={currInput.isRequired}\n minLength={currInput.textInputSettings?.minLength}\n maxLength={currInput.textInputSettings?.maxLength}\n />\n
\n\n {currInput.textInputSettings?.jsxToDisplayAfterInput ? currInput.textInputSettings.jsxToDisplayAfterInput : <>}\n
\n );\n\n case 'textarea':\n return (\n {\n setEditData((v) => {\n return {\n ...v,\n [currInput.id]: e\n };\n });\n }}\n placeholder={currInput.textInputSettings?.placeholderText}\n required={currInput.isRequired}\n minLength={currInput.textInputSettings?.minLength}\n maxLength={currInput.textInputSettings?.maxLength}\n />\n );\n\n case 'date':\n return (\n {\n setEditData((v) => {\n return {\n ...v,\n [currInput.id]: e\n };\n });\n }}\n placeholder={currInput.dateInputSettings?.placeholderText}\n required={currInput.isRequired}\n min={currInput.dateInputSettings?.min}\n max={currInput.dateInputSettings?.max}\n />\n );\n\n case 'select':\n return (\n {\n console.log(e);\n\n setEditData((v) => {\n return {\n ...v,\n [currInput.id]: e\n };\n });\n }}\n required={currInput.isRequired}\n />\n );\n }\n };\n\n const getModalClasses = () => {\n const returnValue: string[] = [];\n\n if (displayedFormModalData?.inputs.length === 1 && ['number', 'date', 'boolean'].includes(displayedFormModalData.inputs[0].type)) {\n returnValue.push('thinModal');\n }\n\n return returnValue.join(' ');\n };\n\n return (\n <>\n {displayedFormModalData ? (\n {}} className={getModalClasses()}>\n \n {displayedFormModalData.modalTitle ?? 'Edit'}\n \n\n \n {displayedFormModalData.additionalText1 ? (\n \n ) : (\n <>\n )}\n\n
\n \n {displayedFormModalData.inputs.map((currInput) => {\n return (\n \n {currInput.jsxToDisplayAboveInput ? currInput.jsxToDisplayAboveInput : <>}\n\n {getInputJsx(currInput)}\n \n );\n })}\n \n
\n\n {displayedFormModalData.additionalText2 ? (\n \n ) : (\n <>\n )}\n\n
\n
\n\n \n
\n {\n hideFormModal();\n }}\n />\n\n {\n formRef.current!.checkValidity();\n formRef.current!.reportValidity();\n\n if (!isFormValid()) {\n showErrorNotification('One or more inputs are not valid.');\n return;\n }\n\n if (displayedFormModalData.shouldShowLoadingDotsOnSave) {\n setIsSaving(true);\n }\n\n displayedFormModalData.onSaveFn(editData);\n }}\n onClickValidationFn={() => {\n formRef.current!.checkValidity();\n formRef.current!.reportValidity();\n }}\n />\n
\n
\n
\n ) : (\n <>\n )}\n \n );\n};\n\nexport default FormModal;\n","import React from 'react';\n\nconst LoadingDots: React.FC = () => {\n return (\n
\n
\n
\n
\n
\n
\n );\n};\n\nexport default LoadingDots;\n","import { forwardRef, useRef } from 'react';\nimport { UncontrolledTooltip } from 'reactstrap';\nimport GeneralHelper from '../../Helpers/GeneralHelper';\nimport LoadingDots from '../LoadingAnimations/LoadingDots/LoadingDots';\nimport './NectarineButton.scss';\n\nexport type NectarineButtonColors = 'blue' | 'red' | 'white' | 'green' | 'gray';\n\ninterface NectarineButtonProps {\n text: string;\n iconClassString?: string;\n onClick?: (() => void) | (() => Promise);\n href?: string;\n // An optional click event that always fires, even if the button is disabled\n onClickValidationFn?: () => void;\n // An optional click event that only fires when the button is disabled\n onDisabledClickFn?: () => void;\n color?: NectarineButtonColors;\n size?: 'regular' | 'medium' | 'small';\n displayStyle?: 'block' | 'inline-block';\n isDisabled?: boolean;\n showLoadingDots?: boolean;\n disabledTooltipText?: string;\n allowClickEventToBubble?: boolean;\n}\n\nconst NectarineButton = forwardRef((props: NectarineButtonProps, ref) => {\n // NOTE: We have to put a letter in front of the GUID, or else the UncontrolledTooltip breaks\n const id = useRef('M' + GeneralHelper.generateGuid());\n\n const getColorClass = () => {\n switch (props.color) {\n case 'red':\n return 'btn-danger';\n\n case 'white':\n return 'btn-light';\n\n case 'green':\n return 'btn-success';\n\n case 'gray':\n return 'btn-secondary';\n\n case 'blue':\n default:\n return 'btn-primary';\n }\n };\n\n const getButtonSizeCSSClass = () => {\n switch (props.size) {\n case 'regular':\n return '';\n\n case 'small':\n return 'isSmallButton';\n\n default:\n return 'isMediumButton';\n }\n };\n\n const getButtonJsx = (): JSX.Element => {\n return (\n {\n if (!props.allowClickEventToBubble && !props.href) {\n e.preventDefault();\n e.stopPropagation();\n }\n\n props.onClickValidationFn?.();\n\n // If we have an href, we can stop here without calling the onClick event\n if (props.href) {\n return;\n }\n\n if (!props.isDisabled) {\n props.onClick?.();\n }\n }}\n onKeyDown={(e) => {\n if ((!props.isDisabled && e.key === ' ') || e.key === 'Enter') {\n props.onClick?.();\n }\n }}\n >\n
\n {props.iconClassString ? (\n \n \n \n ) : (\n <>\n )}\n\n {props.text.length ? {props.text} : <>}\n\n
\n \n
\n
\n \n );\n };\n\n return (\n \n {/* Include an overlay so we can still receive a click event and run a validation function if we need */}\n {props.isDisabled ? (\n {\n e.preventDefault();\n e.stopPropagation();\n\n props.onClickValidationFn?.();\n\n props.onDisabledClickFn?.();\n }}\n >\n ) : (\n <>\n )}\n\n {props.isDisabled && props.disabledTooltipText ? (\n {props.disabledTooltipText}\n ) : (\n <>\n )}\n\n {props.href ? (\n \n {getButtonJsx()}\n \n ) : (\n <>{getButtonJsx()}\n )}\n \n );\n});\n\nNectarineButton.displayName = 'NectarineButton';\n\nexport default NectarineButton;\n","import { format } from 'date-fns';\nimport { forwardRef } from 'react';\nimport DateHelper from '../../Helpers/DateHelper';\nimport NectarineInfoIcon from '../NectarineInfoIcon/NectarineInfoIcon';\nimport './NectarineDateInput.scss';\n\ninterface NectarineDateInputProps {\n initialValue?: Date | null;\n value?: Date | null;\n onChange: (newValue: Date | null) => void;\n isDisabled?: boolean;\n required?: boolean;\n min?: Date;\n max?: Date;\n placeholder?: string;\n label?: string;\n secondaryLabel?: string;\n infoIconTooltipText?: string;\n readOnly?: boolean;\n readOnlyPlaceholderText?: string;\n onBlur?: (latestValue: Date | null) => void;\n onFocus?: () => void;\n}\n\nconst NectarineDateInput = forwardRef((props: NectarineDateInputProps, ref) => {\n if ((props.min !== undefined || props.max !== undefined) && !props.required) {\n console.warn(\n 'The min or max is set on a NectarineDateInput but the required attribute was false, ' +\n 'which means HTML form validation will not occur for this input.' +\n (props.label ? `\\nThis was for text input with label '${props.label}'.` : '')\n );\n }\n\n const isUncontrolledComponent = props.initialValue !== undefined;\n\n return (\n <>\n
\n {props.label ? (\n
\n \n\n {props.infoIconTooltipText ? : <>}\n\n {props.secondaryLabel ? {props.secondaryLabel} : <>}\n
\n ) : (\n <>\n )}\n\n
\n
\n \n
\n\n {props.readOnly ? (\n props.value ? (\n
{DateHelper.mediumDateFormat(props.value)}
\n ) : (\n {props.readOnlyPlaceholderText || '(No content)'}\n )\n ) : (\n <>\n {\n e.preventDefault();\n e.stopPropagation();\n\n if (props.isDisabled) {\n return;\n }\n\n if (!isUncontrolledComponent) {\n if (!e.target.value) {\n props.onChange(null);\n } else {\n const date = new Date(`${e.target.value}T00:00:00`);\n props.onChange(date ? new Date(date.toISOString()) : null);\n }\n }\n }}\n onFocus={() => {\n props.onFocus?.();\n }}\n onBlur={(e) => {\n const date = new Date(`${e.target.value}T00:00:00`);\n props.onBlur?.(date ? new Date(date.toISOString()) : null);\n }}\n placeholder={props.placeholder}\n required={props.required}\n disabled={props.isDisabled}\n min={props.min ? format(props.min, 'yyyy-MM-dd') : undefined}\n max={props.max ? format(props.max, 'yyyy-MM-dd') : undefined}\n />\n\n {!props.required && !props.isDisabled && props.value ? (\n {\n e.preventDefault();\n e.stopPropagation();\n\n props.onChange(null);\n }}\n >\n \n \n ) : (\n <>\n )}\n \n )}\n
\n
\n \n );\n});\n\nNectarineDateInput.displayName = 'NectarineDateInput';\n\nexport default NectarineDateInput;\n","import { useRef } from 'react';\nimport { UncontrolledTooltip } from 'reactstrap';\nimport GeneralHelper from '../../Helpers/GeneralHelper';\nimport './NectarineInfoIcon.scss';\n\ninterface NectarineInfoIconProps {\n tooltipText: string;\n}\n\nconst NectarineInfoIcon: React.FC = (props) => {\n // This ID cannot start with a number or the tooltip code gets confused and dies -- it's very dramatic.\n const id = useRef('a' + GeneralHelper.generateGuid());\n\n return (\n <>\n \n {props.tooltipText}\n \n );\n};\n\nexport default NectarineInfoIcon;\n","import { forwardRef, useImperativeHandle, useRef } from 'react';\nimport NectarineInfoIcon from '../NectarineInfoIcon/NectarineInfoIcon';\nimport './NectarineNumericInput.scss';\n\ninterface NectarineNumericInputProps {\n value: number | null;\n onChange: (newValue: number | null) => void;\n isDisabled?: boolean;\n required?: boolean;\n min?: number;\n max?: number;\n placeholder?: string;\n label?: string;\n secondaryLabel?: string;\n infoIconTooltipText?: string;\n // A number that we will round up or down to (ex. 5 would make 192 round to 190, or 196 to 200)\n roundToNearestInterval?: number;\n}\n\nconst NectarineNumericInput = forwardRef((props: NectarineNumericInputProps, ref) => {\n if ((props.min !== undefined || props.max !== undefined) && !props.required) {\n console.warn(\n 'The min or max is set on a NectarineNumericInput but the required attribute was false, ' +\n 'which means HTML form validation will not occur for this input.' +\n (props.label ? `\\nThis was for text input with label '${props.label}'.` : '')\n );\n }\n\n const inputRef = useRef(null);\n\n // We have our own internal ref for the input, so forward that along to the forwardRef ref object\n // that comes into this component as a parameter\n useImperativeHandle(ref, () => inputRef.current!);\n\n return (\n <>\n
\n {props.label ? (\n
\n \n\n {props.infoIconTooltipText ? : <>}\n\n {props.secondaryLabel ? {props.secondaryLabel} : <>}\n
\n ) : (\n <>\n )}\n\n
\n
\n \n
\n\n {\n e.preventDefault();\n e.stopPropagation();\n\n if (props.isDisabled) {\n return;\n }\n\n const parsedVal = parseFloat(e.target.value);\n\n props.onChange(isNaN(parsedVal) ? null : parsedVal);\n }}\n onBlur={() => {\n let currVal = props.value ?? 0;\n let valueWasUpdated = false;\n\n if (props.roundToNearestInterval) {\n const roundedVal = Math.round(currVal / props.roundToNearestInterval) * props.roundToNearestInterval;\n if (currVal !== roundedVal) {\n currVal = roundedVal;\n valueWasUpdated = true;\n }\n }\n\n if (props.min !== undefined && currVal < props.min) {\n currVal = props.min;\n valueWasUpdated = true;\n return;\n }\n\n if (props.max !== undefined && currVal > props.max) {\n currVal = props.max;\n valueWasUpdated = true;\n return;\n }\n\n if (valueWasUpdated) {\n props.onChange(currVal);\n }\n }}\n placeholder={props.placeholder}\n required={props.required}\n disabled={props.isDisabled}\n min={props.min}\n max={props.max}\n />\n\n {!props.isDisabled && props.value !== null ? (\n {\n e.preventDefault();\n e.stopPropagation();\n\n props.onChange(null);\n\n // Give focus immediately back to the input\n inputRef.current?.focus();\n }}\n >\n \n \n ) : (\n <>\n )}\n
\n
\n \n );\n});\n\nNectarineNumericInput.displayName = 'NectarineNumericInput';\n\nexport default NectarineNumericInput;\n","import { forwardRef } from 'react';\nimport NectarineInfoIcon from '../NectarineInfoIcon/NectarineInfoIcon';\nimport './NectarineSelectInput.scss';\n\ninterface NectarineSelectInputProps {\n value: string | number | null;\n onChange: (newValue: string | number | null) => void;\n isDisabled?: boolean;\n required?: boolean;\n placeholder?: string;\n label?: string;\n secondaryLabel?: string;\n items: NectarineInputListItem[];\n style?: 'regular' | 'rounded' | 'rounded-thin';\n display?: 'block' | 'inline-block';\n infoIconTooltipText?: string;\n}\n\nconst NectarineSelectInput = forwardRef((props: NectarineSelectInputProps, ref) => {\n const getSelectInputWrapperCSSClasses = () => {\n const returnValue: string[] = [];\n switch (props.style) {\n case 'rounded':\n returnValue.push('isRounded');\n break;\n\n case 'rounded-thin':\n returnValue.push('isRounded thin');\n break;\n }\n\n return returnValue.join(' ');\n };\n\n return (\n <>\n
\n {props.label ? (\n
\n \n\n {props.secondaryLabel ? {props.secondaryLabel} : <>}\n\n {props.infoIconTooltipText ? : <>}\n
\n ) : (\n <>\n )}\n\n \n {\n props.onChange(e.target.value);\n }}\n value={props.value ?? undefined}\n disabled={props.isDisabled}\n required={props.required}\n >\n {props.items.map((currItem) => {\n return (\n \n );\n })}\n \n
\n \n \n );\n});\n\nNectarineSelectInput.displayName = 'NectarineSelectInput';\n\nexport default NectarineSelectInput;\n","import { forwardRef } from 'react';\nimport NectarineInfoIcon from '../NectarineInfoIcon/NectarineInfoIcon';\nimport './NectarineTextAreaInput.scss';\n\ninterface NectarineTextAreaInputProps {\n value: string | null;\n onChange: (newValue: string | null) => void;\n isDisabled?: boolean;\n required?: boolean;\n minLength?: number;\n maxLength?: number;\n placeholder?: string;\n label?: string;\n rows?: number;\n secondaryLabel?: string;\n readOnly?: boolean;\n readOnlyPlaceholderText?: string;\n infoIconTooltipText?: string;\n}\n\nconst NectarineTextAreaInput = forwardRef((props: NectarineTextAreaInputProps, ref) => {\n if (props.minLength !== undefined && !props.required) {\n console.warn(\n 'The min length is set on a NectarineTextAreaInput but the required attribute was false, ' +\n 'which means text length validation will not occur for this input.' +\n (props.label ? `\\nThis was for text input with label '${props.label}'.` : '')\n );\n }\n\n return (\n <>\n
\n {props.label ? (\n <>\n
\n \n {props.secondaryLabel ? {props.secondaryLabel} : <>}\n\n {props.required ? * : ''}\n
\n\n {props.infoIconTooltipText ? : <>}\n \n ) : (\n <>\n )}\n\n
\n {props.readOnly ? (\n props.value ? (\n
{props.value}
\n ) : (\n {props.readOnlyPlaceholderText || '(No content)'}\n )\n ) : (\n {\n e.preventDefault();\n e.stopPropagation();\n\n if (props.isDisabled) {\n return;\n }\n\n let newValue = e.target.value;\n\n if (props.maxLength !== undefined && (newValue ?? '').length > props.maxLength) {\n newValue = newValue.substring(0, props.maxLength);\n }\n\n props.onChange(e.target.value);\n }}\n />\n )}\n
\n
\n \n );\n});\n\nNectarineTextAreaInput.displayName = 'NectarineTextAreaInput';\n\nexport default NectarineTextAreaInput;\n","import { forwardRef, useImperativeHandle, useRef } from 'react';\nimport GeneralHelper from '../../Helpers/GeneralHelper';\nimport NectarineInfoIcon from '../NectarineInfoIcon/NectarineInfoIcon';\nimport { useNotificationsPanelContext } from '../Notifications/NotificationsPanel/NotificationsPanelContext';\nimport './NectarineTextInput.scss';\n\nconst NectarineTextInput = forwardRef((props: NectarineTextInputProps, ref) => {\n if (props.minLength !== undefined && !props.required) {\n throw new Error(\n 'The min length is set on a NectarineTextInput but the required attribute was false, ' +\n 'which means text length validation will not occur for this input.' +\n (props.label ? `\\nThis was for text input with label '${props.label}'.` : '')\n );\n }\n\n if (props.value !== undefined && props.debounceTimeout) {\n throw new Error(`The debounce timeout cannot be used in conjunction with a controlled component (ie. a provided 'value' property.)`);\n }\n\n const textChangeTimeout = useRef(null);\n\n const inputRef = useRef(null);\n\n const { showInfoNotification } = useNotificationsPanelContext();\n\n // We have our own internal ref for the input, so forward that along to the forwardRef ref object\n // that comes into this component as a parameter\n useImperativeHandle(ref, () => inputRef.current!);\n\n const isUncontrolledComponent = props.debounceTimeout !== undefined;\n\n return (\n <>\n
\n {props.label ? (\n
\n \n\n {props.infoIconTooltipText ? : <>}\n\n {props.secondaryLabel ? (\n <>\n {(props.secondaryLabelAlignment ?? 'inline') === 'inline' ? (\n
\n {props.secondaryLabelIconCssClass ? : <>}\n\n \n
\n ) : (\n
\n {props.secondaryLabelIconCssClass ? : <>}\n\n \n
\n )}\n \n ) : (\n <>\n )}\n
\n ) : (\n <>\n )}\n\n \n {props.readOnly ? (\n props.value ? (\n
{props.value}
\n ) : (\n {props.readOnlyPlaceholderText || '(No content)'}\n )\n ) : (\n <>\n {\n e.preventDefault();\n e.stopPropagation();\n\n if (props.isDisabled) {\n return;\n }\n\n let newValue = e.target.value;\n\n if (props.maxLength !== undefined && (newValue ?? '').length > props.maxLength) {\n newValue = newValue.substring(0, props.maxLength);\n }\n\n // If we're debouncing things, the input is uncontrolled and we want to fire the\n // onChange event after the user stops typing for the specified duration\n if (isUncontrolledComponent) {\n if (textChangeTimeout.current) {\n clearTimeout(textChangeTimeout.current);\n }\n\n textChangeTimeout.current = setTimeout(() => {\n props.onChange(newValue);\n }, props.debounceTimeout);\n } else {\n props.onChange(newValue);\n }\n }}\n onFocus={() => {\n props.onFocus?.();\n }}\n onBlur={() => {\n props.onBlur?.();\n }}\n onKeyDown={(e) => {\n props.onKeyDown?.(e);\n }}\n placeholder={props.placeholder}\n required={props.required}\n disabled={props.isDisabled}\n minLength={props.minLength}\n maxLength={props.maxLength}\n />\n\n {props.iconClassString ? (\n {\n if (props.iconClickAction == 'copy-content') {\n const textToCopy = props.value;\n const tempInput = document.createElement('input');\n tempInput.value = textToCopy!;\n document.body.appendChild(tempInput);\n tempInput.select();\n document.execCommand('copy');\n document.body.removeChild(tempInput);\n showInfoNotification('The text has been copied to your clipboard.');\n } else if (props.iconClickAction) {\n props.iconClickAction();\n }\n }}\n >\n \n \n ) : (\n <>\n )}\n\n {!props.isDisabled &&\n (isUncontrolledComponent\n ? ((inputRef as any)?.current?.value ?? '').trim().length > 0\n : (props.value ?? '').trim().length > 0) ? (\n {\n e.preventDefault();\n e.stopPropagation();\n\n props.onChange('');\n\n if (isUncontrolledComponent && (inputRef as any)?.current) {\n (inputRef as any).current.value = '';\n }\n\n // Give focus immediately back to the input\n inputRef.current?.focus();\n }}\n >\n \n \n ) : (\n <>\n )}\n \n )}\n
\n \n \n );\n});\n\nNectarineTextInput.displayName = 'NectarineTextInput';\n\nexport default NectarineTextInput;\n","import NectarineInfoIcon from '../NectarineInfoIcon/NectarineInfoIcon';\nimport './NectarineToggle.scss';\n\ninterface NectarineToggleProps {\n value: boolean;\n onChange: (newValue: boolean) => void;\n isDisabled?: boolean;\n label?: string;\n secondaryLabel?: string;\n infoIconTooltipText?: string;\n}\n\nconst NectarineToggle: React.FC = (props: NectarineToggleProps) => {\n return (\n <>\n
\n {props.label ? (\n
\n \n\n {props.infoIconTooltipText ? : <>}\n\n {props.secondaryLabel ? {props.secondaryLabel} : <>}\n
\n ) : (\n <>\n )}\n\n {\n if (e.key === ' ' || e.key === 'Enter') {\n e.preventDefault();\n e.stopPropagation();\n\n props.onChange(!props.value);\n }\n }}\n onClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n\n if (props.isDisabled) {\n return;\n }\n\n props.onChange(!props.value);\n }}\n >\n
\n
\n \n \n );\n};\n\nexport default NectarineToggle;\n"],"names":["ValidationHelper","validateEmail","email","test","toLowerCase","validateStringLength","input","minLength","maxLength","cleanedUpInput","trim","length","validateNumericRange","min","max","FormModal","_displayedFormModalDa","displayedFormModalData","setDisplayedFormModalData","useState","modalIsDisplayed","setModalIsDisplayed","editData","setEditData","isSaving","setIsSaving","showErrorNotification","useNotificationsPanelContext","formModalData$","turnOffSaveButtonLoadState$","hideFormModal","useFormModalContextContext","formRef","useRef","useEffect","allSubscriptions","Subscription","add","subscribe","newData","newEditData","inputs","forEach","v","_v$selectInputSetting","_v$selectInputSetting2","type","id","initialValue","selectInputSettings","options","value","undefined","setTimeout","unsubscribe","isFormValid","returnValue","currInput","currValue","_currInput$textInputS","_currInput$textInputS2","_currInput$textInputS3","textInputSettings","_ref","_ref2","isRequired","_ref3","inputType","_ref4","parsedValue","_currInput$numericInp","_currInput$numericInp2","numericInputSettings","_ref5","_ref6","_ref7","_currInput$dateInputS","_currInput$dateInputS2","dateInputSettings","_ref8","_ref9","_ref10","_ref11","getInputJsx","_ref12","_currInput$numericInp3","_currInput$numericInp4","_currInput$numericInp5","_currInput$numericInp6","_currInput$textInputS4","_currInput$textInputS5","_currInput$textInputS6","_ref13","_currInput$textInputS7","_currInput$textInputS8","_currInput$textInputS9","_currInput$textInputS10","_ref14","_currInput$textInputS11","_currInput$textInputS12","_currInput$textInputS13","_ref15","_currInput$dateInputS3","_currInput$dateInputS4","_currInput$dateInputS5","_ref16","_jsx","NectarineToggle","label","secondaryLabel","infoIconTooltipText","onChange","e","_objectSpread","NectarineNumericInput","placeholder","placeholderText","required","roundToNearestInterval","_jsxs","className","children","jsxToDisplayBeforeInput","_Fragment","NectarineTextInput","jsxToDisplayAfterInput","NectarineTextAreaInput","NectarineDateInput","NectarineSelectInput","items","console","log","Modal","isOpen","toggle","getModalClasses","includes","push","join","ModalHeader","modalTitle","ModalBody","additionalText1","dangerouslySetInnerHTML","__html","GeneralHelper","sanitizeHtml","ref","noValidate","Row","map","_currInput$columnSpan","Col","sm","lg","columnSpan","jsxToDisplayAboveInput","additionalText2","ModalFooter","NectarineButton","text","color","onClick","showLoadingDots","shouldShowLoadingDotsOnSave","isDisabled","current","checkValidity","reportValidity","onSaveFn","onClickValidationFn","LoadingDots","forwardRef","props","generateGuid","getColorClass","getButtonJsx","_props$isDisabled","concat","disabled","_props$onClickValidat","_props$onClick","allowClickEventToBubble","href","preventDefault","stopPropagation","call","onKeyDown","_props$onClick2","key","iconClassString","displayStyle","getButtonSizeCSSClass","size","_props$onClickValidat2","_props$onDisabledClic","onDisabledClickFn","disabledTooltipText","UncontrolledTooltip","target","rel","displayName","warn","isUncontrolledComponent","NectarineInfoIcon","tooltipText","readOnly","DateHelper","mediumDateFormat","readOnlyPlaceholderText","format","defaultValue","date","Date","toISOString","onFocus","_props$onFocus","onBlur","_props$onBlur","_props$value","inputRef","useImperativeHandle","parsedVal","parseFloat","isNaN","_props$value2","currVal","valueWasUpdated","roundedVal","Math","round","_inputRef$current","focus","_props$display","getSelectInputWrapperCSSClasses","style","display","name","currItem","_currItem$isReadOnly","isReadOnly","_props$rows","rows","_newValue","newValue","substring","_props$secondaryLabel","_props$iconPosition","_props$type","_props$initialValue","_props$iconPosition2","_current$value","_current","Error","debounceTimeout","textChangeTimeout","showInfoNotification","secondaryLabelAlignment","secondaryLabelIconCssClass","iconPosition","clearTimeout","_props$onKeyDown","iconClickAction","textToCopy","tempInput","document","createElement","body","appendChild","select","execCommand","removeChild","tabIndex"],"sourceRoot":""}