{"version":3,"file":"InputsGroupFieldset-Co3vX5l9.js","sources":["../../../node_modules/@mantine/core/esm/core/Box/get-style-object/get-style-object.mjs","../../../node_modules/@mantine/core/esm/components/InlineInput/InlineInput.module.css.mjs","../../../node_modules/@mantine/core/esm/components/InlineInput/InlineInput.mjs","../../../node_modules/@mantine/core/esm/components/InputsGroupFieldset/InputsGroupFieldset.mjs"],"sourcesContent":["'use client';\nfunction getStyleObject(style, theme) {\n if (Array.isArray(style)) {\n return [...style].reduce(\n (acc, item) => ({ ...acc, ...getStyleObject(item, theme) }),\n {}\n );\n }\n if (typeof style === \"function\") {\n return style(theme);\n }\n if (style == null) {\n return {};\n }\n return style;\n}\n\nexport { getStyleObject };\n//# sourceMappingURL=get-style-object.mjs.map\n","'use client';\nvar classes = {\"root\":\"m_5f75b09e\",\"body\":\"m_5f6e695e\",\"labelWrapper\":\"m_d3ea56bb\",\"label\":\"m_8ee546b8\",\"description\":\"m_328f68c0\",\"error\":\"m_8e8a99cc\"};\n\nexport { classes as default };\n//# sourceMappingURL=InlineInput.module.css.mjs.map\n","'use client';\nimport React, { forwardRef } from 'react';\nimport { getFontSize, getSize } from '../../core/utils/get-size/get-size.mjs';\nimport '@mantine/hooks';\nimport 'clsx';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport { useStyles } from '../../core/styles-api/use-styles/use-styles.mjs';\nimport { Box } from '../../core/Box/Box.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\nimport { Input } from '../Input/Input.mjs';\nimport '../Input/InputWrapper/InputWrapper.mjs';\nimport '../Input/InputDescription/InputDescription.mjs';\nimport '../Input/InputError/InputError.mjs';\nimport '../Input/InputLabel/InputLabel.mjs';\nimport '../Input/InputPlaceholder/InputPlaceholder.mjs';\nimport '../Input/InputWrapper.context.mjs';\nimport classes from './InlineInput.module.css.mjs';\n\nconst InlineInputClasses = classes;\nconst InlineInput = forwardRef(\n ({\n __staticSelector,\n __stylesApiProps,\n className,\n classNames,\n styles,\n unstyled,\n children,\n label,\n description,\n id,\n disabled,\n error,\n size,\n labelPosition = \"left\",\n bodyElement = \"div\",\n labelElement = \"label\",\n variant,\n style,\n vars,\n mod,\n ...others\n }, ref) => {\n const getStyles = useStyles({\n name: __staticSelector,\n props: __stylesApiProps,\n className,\n style,\n classes,\n classNames,\n styles,\n unstyled\n });\n return /* @__PURE__ */ React.createElement(\n Box,\n {\n ...getStyles(\"root\"),\n ref,\n __vars: {\n \"--label-fz\": getFontSize(size),\n \"--label-lh\": getSize(size, \"label-lh\")\n },\n mod: [{ \"label-position\": labelPosition }, mod],\n variant,\n size,\n ...others\n },\n /* @__PURE__ */ React.createElement(\n Box,\n {\n component: bodyElement,\n htmlFor: bodyElement === \"label\" ? id : void 0,\n ...getStyles(\"body\")\n },\n children,\n /* @__PURE__ */ React.createElement(\"div\", { ...getStyles(\"labelWrapper\"), \"data-disabled\": disabled || void 0 }, label && /* @__PURE__ */ React.createElement(\n Box,\n {\n component: labelElement,\n htmlFor: labelElement === \"label\" ? id : void 0,\n ...getStyles(\"label\"),\n \"data-disabled\": disabled || void 0\n },\n label\n ), description && /* @__PURE__ */ React.createElement(Input.Description, { size, __inheritStyles: false, ...getStyles(\"description\") }, description), error && error !== \"boolean\" && /* @__PURE__ */ React.createElement(Input.Error, { size, __inheritStyles: false, ...getStyles(\"error\") }, error))\n )\n );\n }\n);\nInlineInput.displayName = \"@mantine/core/InlineInput\";\n\nexport { InlineInput, InlineInputClasses };\n//# sourceMappingURL=InlineInput.mjs.map\n","'use client';\nimport React from 'react';\nimport '../Input/Input.mjs';\nimport '../Input/InputWrapper/InputWrapper.mjs';\nimport '../Input/InputDescription/InputDescription.mjs';\nimport '../Input/InputError/InputError.mjs';\nimport '../Input/InputLabel/InputLabel.mjs';\nimport '../Input/InputPlaceholder/InputPlaceholder.mjs';\nimport '@mantine/hooks';\nimport 'clsx';\nimport '../../core/MantineProvider/Mantine.context.mjs';\nimport '../../core/MantineProvider/default-theme.mjs';\nimport '../../core/MantineProvider/MantineProvider.mjs';\nimport '../../core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport '../../core/MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport '../../core/Box/Box.mjs';\nimport '../../core/DirectionProvider/DirectionProvider.mjs';\nimport { useInputWrapperContext } from '../Input/InputWrapper.context.mjs';\n\nfunction InputsGroupFieldset({ children, role }) {\n const ctx = useInputWrapperContext();\n if (!ctx) {\n return /* @__PURE__ */ React.createElement(React.Fragment, null, children);\n }\n return /* @__PURE__ */ React.createElement(\"div\", { role, \"aria-labelledby\": ctx.labelId, \"aria-describedby\": ctx.describedBy }, children);\n}\n\nexport { InputsGroupFieldset };\n//# sourceMappingURL=InputsGroupFieldset.mjs.map\n"],"names":["getStyleObject","style","theme","acc","item","classes","InlineInputClasses","InlineInput","forwardRef","__staticSelector","__stylesApiProps","className","classNames","styles","unstyled","children","label","description","id","disabled","error","size","labelPosition","bodyElement","labelElement","variant","vars","mod","others","ref","getStyles","useStyles","React","Box","getFontSize","getSize","Input","InputsGroupFieldset","role","ctx","useInputWrapperContext"],"mappings":"4HACA,SAASA,EAAeC,EAAOC,EAAO,CACpC,OAAI,MAAM,QAAQD,CAAK,EACd,CAAC,GAAGA,CAAK,EAAE,OAChB,CAACE,EAAKC,KAAU,CAAE,GAAGD,EAAK,GAAGH,EAAeI,EAAMF,CAAK,IACvD,CAAE,CACR,EAEM,OAAOD,GAAU,WACZA,EAAMC,CAAK,EAEhBD,GACK,EAGX,CCdA,IAAII,EAAU,CAAC,KAAO,aAAa,KAAO,aAAa,aAAe,aAAa,MAAQ,aAAa,YAAc,aAAa,MAAQ,YAAY,ECqBlJ,MAACC,EAAqBD,EACrBE,EAAcC,EAAU,WAC5B,CA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