{"version":3,"file":"style.module-e576e1c6.js","sources":["../../../client-app/src/common/ui/Container/TwoColContainer.tsx","../../../client-app/src/common/ui/LightBox/index.tsx","../../../client-app/src/common/components/UploadDocuments/SingleUploadBox.tsx","../../../client-app/src/common/components/OfferBox/index.tsx"],"sourcesContent":["import { ReactNode } from 'react';\nimport { joinNames } from '../helpers';\nimport css from './TwoColContainer.module.scss';\n\ntype TwoColContainerProps = React.TableHTMLAttributes;\n\nexport function TwoColContainer({ className, children, ...attr }: TwoColContainerProps) {\n return (\n \n {children}\n
\n );\n}\n\ntype TwoColRowProps = {\n left: ReactNode;\n right: ReactNode;\n type?: 'data-row' | 'heading-row' | 'heading-data-row';\n align?: 'left' | 'right' | 'left-right' | 'right-left';\n rightClass?: string;\n leftClass?: string;\n};\n\nexport function TwoColRow({ left, right, type = 'heading-data-row', leftClass, rightClass, align = 'left-right' }: TwoColRowProps) {\n leftClass = getClassName('left', leftClass, align);\n rightClass = getClassName('right', rightClass, align);\n switch (type) {\n case 'heading-data-row':\n return (\n \n \n {left}\n \n {right}\n \n );\n\n case 'data-row':\n return (\n \n {left}:\n {right}\n \n );\n\n case 'heading-row':\n return (\n \n \n {left}\n \n \n {right}\n \n \n );\n\n default:\n return null;\n }\n}\n\nexport function SpacerRow() {\n return (\n \n  \n \n );\n}\n\nfunction getClassName(loc: 'left' | 'right', base: string | undefined, align: TwoColRowProps['align']) {\n if (loc == 'left') {\n return joinNames(base, align == 'right' || align == 'right-left' ? css.alignRight : undefined);\n } else {\n return joinNames(base, align == 'right' || align == 'left-right' ? css.alignRight : undefined);\n }\n}\n\ntype TwoColSpanProps = React.PropsWithChildren & {\n className?: string;\n align?: 'left' | 'right' | 'center';\n};\n\nexport function TwoColSpan({ children, align = 'left', className, ...attr }: TwoColSpanProps) {\n className = align != 'left' ? (align == 'right' ? joinNames(className, css.alignRight) : joinNames(className, css.alignCenter)) : className;\n return (\n \n \n {children ? children : <> }\n \n \n );\n}\n\nexport default TwoColContainer;\n","import { useCallback, useEffect, useRef, useState } from 'react';\nimport style from './style.module.scss';\nimport { joinNames } from '../helpers';\nimport icons from '../../icons/icons.module.scss';\nconst LIGHTBOX_STATE_KEY = 'lightbox';\n\nexport default function LightBox({\n url,\n icon,\n description,\n nameforuitesting,\n alwaysOpen\n}: {\n url?: string;\n icon: JSX.Element;\n description?: JSX.Element;\n nameforuitesting?: string;\n alwaysOpen?: boolean;\n}) {\n const dialogRef = useRef(null);\n const [open, setOpen] = useState();\n\n const show = useCallback((e: React.MouseEvent | React.KeyboardEvent) => {\n e.preventDefault();\n e.stopPropagation();\n if (history.state != LIGHTBOX_STATE_KEY) {\n history.pushState(LIGHTBOX_STATE_KEY, '', '');\n }\n if (dialogRef.current) {\n if ('showModal' in dialogRef.current) {\n dialogRef.current.showModal();\n } else {\n setOpen(true);\n }\n }\n }, []);\n const hide = useCallback((e: React.MouseEvent | React.KeyboardEvent) => {\n if (alwaysOpen) {\n return;\n }\n e.preventDefault();\n e.stopPropagation();\n if (dialogRef.current) {\n dialogRef.current.close();\n } \n }, [alwaysOpen]);\n\n useEffect(() => {\n const onPopState = () => {\n if (dialogRef.current) {\n if ('showModal' in dialogRef.current) {\n dialogRef.current.close();\n } else {\n setOpen(false);\n }\n }\n };\n window.addEventListener('popstate', onPopState);\n return () => window.removeEventListener('popstate', onPopState);\n }, []);\n return url || description ? (\n <>\n ['Enter', 'NumpadEnter'].includes(e.code) && show(e)}\n >\n {icon}\n \n \n
\n ['Enter', 'NumpadEnter'].includes(e.code) && hide(e)}\n tabIndex={0}\n >
\n \n {url && (\n
\n \n
\n )}\n
{description}
\n
\n \n ) : null;\n}\n","import { useCallback, useState } from 'react';\nimport { DocumentInfo } from './DocumentItem';\nimport { useTranslation } from 'react-i18next';\nimport { type Selector, useFootnotes } from '@n2-common/lib/useFootnotes';\nimport { Button, DismissableErrorMessage, Headline, LightBox, Paragraph } from '@n2-common/ui';\nimport style from './style.module.scss';\nimport FileUploadButton from '../FileUploadButton';\nimport { Uploads } from './Uploads';\n\nimport { useCmsNotification } from '../CmsNotification';\nimport { QuestionIcon } from '@n2-common/myPagesUi/components/icons';\n\nexport function SingleUploadBox({ requirement, uploadDocument, deleteDocument, trustedUpload, footnoteSelector }: SingleUploadBoxProps): JSX.Element {\n const [working, setWorking] = useState(false);\n const { t } = useTranslation('common');\n const notifications = useCmsNotification(`applicationforms_document_requirement_${requirement.documentType}`);\n\n const [errorMsg, setErrorMsg] = useState(null);\n\n const uploadDocumentHandler = useCallback(\n async (form: FormData) => {\n setWorking(true);\n setErrorMsg(null);\n try {\n await uploadDocument(form);\n setWorking(false);\n } catch (err) {\n setErrorMsg(t('Sign.Documents.UploadError'));\n setWorking(false);\n }\n },\n [t, uploadDocument]\n );\n\n const deleteDocumentHandler = useCallback(\n async (documentId: string) => {\n setWorking(true);\n setErrorMsg(null);\n try {\n await deleteDocument(documentId);\n setWorking(false);\n } catch (err) {\n setErrorMsg(t('Sign.Documents.DeleteError'));\n setWorking(false);\n }\n },\n [deleteDocument, t]\n );\n\n const [footnotes] = useFootnotes(requirement.uploadedDocuments, footnoteSelector);\n\n return (\n
\n
\n {requirement.canUseTrusted && (\n d.trusted)}\n className={style.sblButton}\n onClick={trustedUpload}\n >\n {t('Sign.Documents.Trusted.ButtonText')}\n \n )}\n {requirement.canUpload && (\n ('Sign.Documents.UploadTitle')} ${requirement.help.heading}`}\n buttonLabel={t('Sign.Documents.UploadButtonTitle')}\n uploadingLabel={t('Sign.Documents.UploadInProgress')}\n />\n )}\n
\n setErrorMsg(null)} />\n
\n {requirement.help.heading}\n {requirement.help.description && }\n nameforuitesting={requirement.documentType}\n description={\n requirement.help.description ? (\n
\n ) : undefined\n }\n />}\n
\n \n
\n {requirement.completed ? {t('Sign.Documents.FullyDocumentedDescription')} : null}\n {footnotes}\n {notifications.map((note, i) => (\n
\n {note.title}\n {note.description}\n
\n ))}\n
\n
\n );\n}\n\nexport type DocumentRequirement = {\n uploadedDocuments: DocumentInfo[];\n help: HelpInfo;\n documentType: string;\n canUseTrusted: boolean;\n canUpload: boolean;\n completed: boolean;\n};\n\ntype HelpInfo = {\n heading: string;\n description: string;\n imageUrl?: string;\n};\n\ntype SingleUploadBoxProps = {\n requirement: DocumentRequirement;\n trustedUpload: () => Promise;\n uploadDocument: (data: FormData) => Promise;\n deleteDocument: (documentId: string) => Promise;\n footnoteSelector: Selector;\n};\n","import { Headline, HeadlineStyledSpan, Hero, HtmlContainer, Paragraph, TwoColContainer, TwoColRow, TwoColSpan } from '../../ui';\nimport { CurrencyCode, formatWithCurrency } from '../../lib/money';\nimport css from './index.module.scss';\nimport { PropsWithChildren } from 'react';\nimport { parseIsoDate } from '@n2-common/lib/dateTime';\n\ntype Detail = {\n label: string;\n data: string;\n footnote?: { mark: string; text: string };\n};\n\nexport type OfferBoxProps = {\n heading: string;\n amount: number;\n currency: CurrencyCode;\n subHeading?: string;\n description?: string | JSX.Element;\n details?: (Detail | undefined)[];\n note?: string;\n};\n\nexport default OfferBox;\n\nexport function OfferBox({ heading, amount, currency, subHeading, description, children, details = [], note }: OfferBoxProps & PropsWithChildren) {\n const rows = details.filter((d) => !!d) as Detail[];\n return (\n <>\n \n \n \n \n {heading}\n \n {formatWithCurrency(amount, currency)}\n \n \n \n {children}\n {subHeading && (\n \n {subHeading}\n \n )}\n {description && (\n \n {description}\n \n )}\n {rows.map(({ label, data, footnote }, i) => (\n \n ))}\n {rows.some(({ footnote }) => !!footnote) && (\n \n {rows.map(({ footnote }, i) => (footnote ?
{`${getMark(i)} ${footnote.text}`}
: null))}\n
\n )}\n
\n
\n {note ? (\n \n \n \n ) : undefined}\n \n );\n}\n\nfunction getMark(i: number, char = '*') {\n if (!getMark.counts[i]) {\n getMark.count++;\n getMark.counts[i] = getMark.count;\n }\n return char.repeat(getMark.counts[i]);\n}\ngetMark.count = 0;\ngetMark.counts = [] as number[];\n\nexport const OpttOutConditionsForOfferBox = ({ country, establishingDate }: { country: Country; establishingDate: IsoDateString }) => {\n const estDate = parseIsoDate(establishingDate) ?? new Date();\n switch (country) {\n case 'SE': {\n const switchDate = parseIsoDate('2025-01-01T00:00:00+01:00');\n return estDate >= switchDate ? (\n
\n I försäkringen ingår\n
    \n
  • Upp till 15 000 kronor i månaden vid sjukskrivning och arbetslöshet.
  • \n
  • Engångsbetalning vid kritisk sjukdom upp till 100 000 kronor.
  • \n
  • Engångsbetalning vid dödsfall upp till 500 000 kronor.
  • \n
  • Ingen bindningstid - du kan säga upp försäkringen när du vill.
  • \n
\n
\n ) : (\n
\n I försäkringen ingår\n
    \n
  • Upp till 16 000 kronor i månaden vid sjukskrivning och arbetslöshet.
  • \n
  • Engångsbetalning vid kritisk sjukdom upp till 100 000 kronor.
  • \n
  • Engångsbetalning vid dödsfall upp till 500 000 kronor.
  • \n
  • Ingen bindningstid - du kan säga upp försäkringen när du vill.
  • \n
\n
\n );\n }\n default:\n return null;\n }\n};\n"],"names":["TwoColContainer","className","children","attr","jsx","joinNames","css","TwoColRow","left","right","type","leftClass","rightClass","align","getClassName","jsxs","SpacerRow","loc","base","TwoColSpan","Fragment","LIGHTBOX_STATE_KEY","LightBox","url","icon","description","nameforuitesting","alwaysOpen","dialogRef","useRef","open","setOpen","useState","show","useCallback","e","hide","useEffect","onPopState","style","icons","SingleUploadBox","requirement","uploadDocument","deleteDocument","trustedUpload","footnoteSelector","working","setWorking","t","useTranslation","notifications","useCmsNotification","errorMsg","setErrorMsg","uploadDocumentHandler","form","deleteDocumentHandler","documentId","footnotes","useFootnotes","Button","d","FileUploadButton","DismissableErrorMessage","QuestionIcon","Uploads","Paragraph","note","i","Headline","OfferBox","heading","amount","currency","subHeading","details","rows","Hero","HeadlineStyledSpan","formatWithCurrency","label","data","footnote","getMark","HtmlContainer","char"],"mappings":"oTAMO,SAASA,EAAgB,CAAE,UAAAC,EAAW,SAAAC,EAAU,GAAGC,GAA8B,CACpF,OACKC,EAAAA,IAAA,QAAA,CAAO,GAAGD,EAAM,UAAWE,EAAUC,EAAI,MAAOL,CAAS,EACtD,SAACG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