You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
3.6 KiB
1 line
3.6 KiB
{"ast":null,"code":"import classNames from 'classnames';\nimport * as React from 'react';\nimport { useBootstrapPrefix } from './ThemeProvider';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst ModalDialog = /*#__PURE__*/React.forwardRef((_ref, ref) => {\n let {\n bsPrefix,\n className,\n contentClassName,\n centered,\n size,\n fullscreen,\n children,\n scrollable,\n ...props\n } = _ref;\n bsPrefix = useBootstrapPrefix(bsPrefix, 'modal');\n const dialogClass = `${bsPrefix}-dialog`;\n const fullScreenClass = typeof fullscreen === 'string' ? `${bsPrefix}-fullscreen-${fullscreen}` : `${bsPrefix}-fullscreen`;\n return /*#__PURE__*/_jsx(\"div\", {\n ...props,\n ref: ref,\n className: classNames(dialogClass, className, size && `${bsPrefix}-${size}`, centered && `${dialogClass}-centered`, scrollable && `${dialogClass}-scrollable`, fullscreen && fullScreenClass),\n children: /*#__PURE__*/_jsx(\"div\", {\n className: classNames(`${bsPrefix}-content`, contentClassName),\n children: children\n })\n });\n});\nModalDialog.displayName = 'ModalDialog';\nexport default ModalDialog;","map":{"version":3,"names":["classNames","React","useBootstrapPrefix","jsx","_jsx","ModalDialog","forwardRef","ref","bsPrefix","className","contentClassName","centered","size","fullscreen","children","scrollable","props","dialogClass","fullScreenClass","displayName"],"sources":["C:/Cours/SAE/SAE-3.01/Scripted/Scripted/website/node_modules/react-bootstrap/esm/ModalDialog.js"],"sourcesContent":["import classNames from 'classnames';\nimport * as React from 'react';\nimport { useBootstrapPrefix } from './ThemeProvider';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst ModalDialog = /*#__PURE__*/React.forwardRef(({\n bsPrefix,\n className,\n contentClassName,\n centered,\n size,\n fullscreen,\n children,\n scrollable,\n ...props\n}, ref) => {\n bsPrefix = useBootstrapPrefix(bsPrefix, 'modal');\n const dialogClass = `${bsPrefix}-dialog`;\n const fullScreenClass = typeof fullscreen === 'string' ? `${bsPrefix}-fullscreen-${fullscreen}` : `${bsPrefix}-fullscreen`;\n return /*#__PURE__*/_jsx(\"div\", { ...props,\n ref: ref,\n className: classNames(dialogClass, className, size && `${bsPrefix}-${size}`, centered && `${dialogClass}-centered`, scrollable && `${dialogClass}-scrollable`, fullscreen && fullScreenClass),\n children: /*#__PURE__*/_jsx(\"div\", {\n className: classNames(`${bsPrefix}-content`, contentClassName),\n children: children\n })\n });\n});\nModalDialog.displayName = 'ModalDialog';\nexport default ModalDialog;"],"mappings":"AAAA,OAAOA,UAAU,MAAM,YAAY;AACnC,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,SAASC,kBAAkB,QAAQ,iBAAiB;AACpD,SAASC,GAAG,IAAIC,IAAI,QAAQ,mBAAmB;AAC/C,MAAMC,WAAW,GAAG,aAAaJ,KAAK,CAACK,UAAU,CAAC,OAU/CC,GAAG,KAAK;EAAA,IAVwC;IACjDC,QAAQ;IACRC,SAAS;IACTC,gBAAgB;IAChBC,QAAQ;IACRC,IAAI;IACJC,UAAU;IACVC,QAAQ;IACRC,UAAU;IACV,GAAGC;EACL,CAAC;EACCR,QAAQ,GAAGN,kBAAkB,CAACM,QAAQ,EAAE,OAAO,CAAC;EAChD,MAAMS,WAAW,GAAI,GAAET,QAAS,SAAQ;EACxC,MAAMU,eAAe,GAAG,OAAOL,UAAU,KAAK,QAAQ,GAAI,GAAEL,QAAS,eAAcK,UAAW,EAAC,GAAI,GAAEL,QAAS,aAAY;EAC1H,OAAO,aAAaJ,IAAI,CAAC,KAAK,EAAE;IAAE,GAAGY,KAAK;IACxCT,GAAG,EAAEA,GAAG;IACRE,SAAS,EAAET,UAAU,CAACiB,WAAW,EAAER,SAAS,EAAEG,IAAI,IAAK,GAAEJ,QAAS,IAAGI,IAAK,EAAC,EAAED,QAAQ,IAAK,GAAEM,WAAY,WAAU,EAAEF,UAAU,IAAK,GAAEE,WAAY,aAAY,EAAEJ,UAAU,IAAIK,eAAe,C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