@dbmx/toasts 0.0.56 → 0.0.58
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/cjs/_virtual/colorManipulator.cjs +5 -0
- package/cjs/_virtual/index.cjs +12 -0
- package/cjs/_virtual/index2.cjs +12 -0
- package/cjs/_virtual/interopRequireDefault.cjs +5 -0
- package/cjs/_virtual/jsx-runtime.cjs +5 -0
- package/cjs/_virtual/react-jsx-runtime.development.cjs +5 -0
- package/cjs/assets/images/toasts/sdmx_datagrid.png.cjs +5 -0
- package/cjs/components/HelloWorld/index.cjs +1 -4
- package/cjs/components/HelloWorld/style.css.cjs +5 -0
- package/cjs/components/SdmxDatagrid/LoadingBox.cjs +11 -14
- package/cjs/components/SdmxDatagrid/SDMXGrid.cjs +22 -20
- package/cjs/components/SdmxDatagrid/index.cjs +31 -28
- package/cjs/components/SdmxDatagrid/messages.cjs +12 -12
- package/cjs/components/SdmxDatagrid/utils.cjs +175 -0
- package/cjs/index.cjs +5 -54
- package/cjs/node_modules/@babel/runtime/helpers/esm/extends.cjs +18 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.cjs +15 -0
- package/cjs/node_modules/@babel/runtime/helpers/interopRequireDefault.cjs +16 -0
- package/cjs/node_modules/@dbmx/sdmx/cjs/core.cjs +123 -61
- package/cjs/node_modules/@dbmx/sdmx/cjs/data.cjs +161 -67
- package/cjs/node_modules/@dbmx/sdmx/cjs/dependencyResolver.cjs +18 -5
- package/cjs/node_modules/@dbmx/sdmx/cjs/items.cjs +51 -3
- package/cjs/node_modules/@dbmx/sdmx/cjs/types/artefacts.cjs +3 -1
- package/cjs/node_modules/@dbmx/sdmx/cjs/types/hierarchicalcodelist.cjs +1 -1
- package/cjs/node_modules/@dbmx/sdmx/cjs/types/metadataflow.cjs +32 -0
- package/cjs/node_modules/@dbmx/sdmx/esm/core.cjs +29 -36
- package/cjs/node_modules/@dbmx/sdmx/esm/datastructures.cjs +50 -10
- package/cjs/node_modules/@dbmx/sdmx/esm/dependencyResolver.cjs +8 -5
- package/cjs/node_modules/@dbmx/sdmx/esm/query.cjs +70 -4
- package/cjs/node_modules/@dbmx/sdmx/esm/types/artefacts.cjs +2 -0
- package/cjs/node_modules/@dbmx/sdmx/esm/types/hierarchicalcodelist.cjs +1 -1
- package/cjs/node_modules/@dbmx/sdmx/esm/types/metadataflow.cjs +20 -0
- package/cjs/node_modules/@dbmx/semver/dist/index.esm.cjs +280 -0
- package/cjs/node_modules/@emotion/cache/dist/emotion-cache.esm.cjs +587 -0
- package/cjs/node_modules/@emotion/memoize/dist/emotion-memoize.esm.cjs +11 -0
- package/cjs/node_modules/@emotion/sheet/dist/emotion-sheet.esm.cjs +134 -0
- package/cjs/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.cjs +17 -0
- package/cjs/node_modules/@mui/material/colors/blue.cjs +21 -0
- package/cjs/node_modules/@mui/material/colors/common.cjs +9 -0
- package/cjs/node_modules/@mui/material/colors/green.cjs +21 -0
- package/cjs/node_modules/@mui/material/colors/grey.cjs +21 -0
- package/cjs/node_modules/@mui/material/colors/lightBlue.cjs +21 -0
- package/cjs/node_modules/@mui/material/colors/orange.cjs +21 -0
- package/cjs/node_modules/@mui/material/colors/purple.cjs +21 -0
- package/cjs/node_modules/@mui/material/colors/red.cjs +21 -0
- package/cjs/node_modules/@mui/material/styles/ThemeProvider.cjs +34 -0
- package/cjs/node_modules/@mui/material/styles/createMixins.cjs +21 -0
- package/cjs/node_modules/@mui/material/styles/createPalette.cjs +313 -0
- package/cjs/node_modules/@mui/material/styles/createTheme.cjs +83 -0
- package/cjs/node_modules/@mui/material/styles/createTransitions.cjs +97 -0
- package/cjs/node_modules/@mui/material/styles/createTypography.cjs +95 -0
- package/cjs/node_modules/@mui/material/styles/identifier.cjs +5 -0
- package/cjs/node_modules/@mui/material/styles/shadows.cjs +14 -0
- package/cjs/node_modules/@mui/material/styles/zIndex.cjs +17 -0
- package/cjs/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.cjs +86 -0
- package/cjs/node_modules/@mui/private-theming/ThemeProvider/nested.cjs +6 -0
- package/cjs/node_modules/@mui/private-theming/useTheme/ThemeContext.cjs +30 -0
- package/cjs/node_modules/@mui/private-theming/useTheme/useTheme.cjs +34 -0
- package/cjs/node_modules/@mui/system/colorManipulator.cjs +385 -0
- package/cjs/node_modules/@mui/system/esm/RtlProvider/index.cjs +44 -0
- package/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.cjs +111 -0
- package/cjs/node_modules/@mui/system/esm/borders.cjs +66 -0
- package/cjs/node_modules/@mui/system/esm/breakpoints.cjs +74 -0
- package/cjs/node_modules/@mui/system/esm/compose.cjs +28 -0
- package/cjs/node_modules/@mui/system/esm/createTheme/applyStyles.cjs +78 -0
- package/cjs/node_modules/@mui/system/esm/createTheme/createBreakpoints.cjs +85 -0
- package/cjs/node_modules/@mui/system/esm/createTheme/createSpacing.cjs +36 -0
- package/cjs/node_modules/@mui/system/esm/createTheme/createTheme.cjs +47 -0
- package/cjs/node_modules/@mui/system/esm/createTheme/shape.cjs +8 -0
- package/cjs/node_modules/@mui/system/esm/cssGrid.cjs +99 -0
- package/cjs/node_modules/@mui/system/esm/memoize.cjs +13 -0
- package/cjs/node_modules/@mui/system/esm/merge.cjs +14 -0
- package/cjs/node_modules/@mui/system/esm/palette.cjs +33 -0
- package/cjs/node_modules/@mui/system/esm/responsivePropType.cjs +8 -0
- package/cjs/node_modules/@mui/system/esm/sizing.cjs +76 -0
- package/cjs/node_modules/@mui/system/esm/spacing.cjs +153 -0
- package/cjs/node_modules/@mui/system/esm/style.cjs +83 -0
- package/cjs/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.cjs +296 -0
- package/cjs/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.cjs +136 -0
- package/cjs/node_modules/@mui/system/esm/useThemeWithoutDefault.cjs +33 -0
- package/cjs/node_modules/@mui/utils/ClassNameGenerator/ClassNameGenerator.cjs +21 -0
- package/cjs/node_modules/@mui/utils/capitalize/capitalize.cjs +14 -0
- package/cjs/node_modules/@mui/utils/clamp/clamp.cjs +7 -0
- package/cjs/node_modules/@mui/utils/clamp/index.cjs +7 -0
- package/cjs/node_modules/@mui/utils/deepmerge/deepmerge.cjs +49 -0
- package/cjs/node_modules/@mui/utils/exactProp/exactProp.cjs +22 -0
- package/cjs/node_modules/@mui/utils/formatMuiErrorMessage/formatMuiErrorMessage.cjs +23 -0
- package/cjs/node_modules/@mui/utils/formatMuiErrorMessage/index.cjs +7 -0
- package/cjs/node_modules/@mui/utils/generateUtilityClass/generateUtilityClass.cjs +27 -0
- package/cjs/node_modules/react/cjs/react-jsx-runtime.development.cjs +1145 -0
- package/cjs/node_modules/react/jsx-runtime.cjs +13 -0
- package/cjs/node_modules/stylis/src/Enum.cjs +21 -0
- package/cjs/node_modules/stylis/src/Middleware.cjs +18 -0
- package/cjs/node_modules/stylis/src/Parser.cjs +190 -0
- package/cjs/node_modules/stylis/src/Serializer.cjs +43 -0
- package/cjs/node_modules/stylis/src/Tokenizer.cjs +248 -0
- package/cjs/node_modules/stylis/src/Utility.cjs +132 -0
- package/cjs/webComponents/HelloWorld/index.cjs +6 -4
- package/cjs/webComponents/SDMXDatagrid/index.cjs +27 -20
- package/esm/_virtual/_commonjsHelpers.js +31 -0
- package/esm/_virtual/_commonjsHelpers.js.map +1 -0
- package/esm/_virtual/_rollupPluginBabelHelpers.js +633 -0
- package/esm/_virtual/_rollupPluginBabelHelpers.js.map +1 -0
- package/esm/_virtual/artefacts.js +4 -0
- package/esm/_virtual/artefacts.js.map +1 -0
- package/esm/_virtual/colorManipulator.js +4 -0
- package/esm/_virtual/colorManipulator.js.map +1 -0
- package/esm/_virtual/core.js +4 -0
- package/esm/_virtual/core.js.map +1 -0
- package/esm/_virtual/dependencyResolver.js +4 -0
- package/esm/_virtual/dependencyResolver.js.map +1 -0
- package/esm/_virtual/index.esm.js +7 -0
- package/esm/_virtual/index.esm.js.map +1 -0
- package/esm/_virtual/index.js +7 -0
- package/esm/_virtual/index.js.map +1 -0
- package/esm/_virtual/index2.js +7 -0
- package/esm/_virtual/index2.js.map +1 -0
- package/esm/_virtual/interopRequireDefault.js +4 -0
- package/esm/_virtual/interopRequireDefault.js.map +1 -0
- package/esm/_virtual/items.js +4 -0
- package/esm/_virtual/items.js.map +1 -0
- package/esm/_virtual/jsx-runtime.js +4 -0
- package/esm/_virtual/jsx-runtime.js.map +1 -0
- package/esm/_virtual/react-jsx-runtime.development.js +4 -0
- package/esm/_virtual/react-jsx-runtime.development.js.map +1 -0
- package/esm/_virtual/sdmx.js +4 -0
- package/esm/_virtual/sdmx.js.map +1 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/extends.js +17 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +14 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -0
- package/esm/node_modules/@babel/runtime/helpers/interopRequireDefault.js +15 -0
- package/esm/node_modules/@babel/runtime/helpers/interopRequireDefault.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/core.js +1001 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/core.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/data.js +233 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/data.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/dependencyResolver.js +85 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/dependencyResolver.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/items.js +147 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/items.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/assoc.js +37 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/assoc.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/assocPath.js +54 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/assocPath.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/bind.js +40 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/bind.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/compose.js +42 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/compose.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/curryN.js +65 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/curryN.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/defaultTo.js +37 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/defaultTo.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/dissoc.js +32 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/dissoc.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/dissocPath.js +78 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/dissocPath.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/forEach.js +57 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/forEach.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/identity.js +33 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/identity.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_arity.js +55 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_arity.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_arrayReduce.js +13 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_arrayReduce.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_assoc.js +36 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_assoc.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_checkForMethod.js +29 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_checkForMethod.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_createReduce.js +31 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_createReduce.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_curry1.js +26 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_curry1.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_curry2.js +37 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_curry2.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_curry3.js +55 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_curry3.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_curryN.js +47 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_curryN.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_dispatchable.js +48 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_dispatchable.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_dissoc.js +35 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_dissoc.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_has.js +7 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_has.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_identity.js +7 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_identity.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_isArguments.js +17 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_isArguments.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_isArray.js +19 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_isArray.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_isArrayLike.js +54 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_isArrayLike.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_isInteger.js +15 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_isInteger.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_isPlaceholder.js +7 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_isPlaceholder.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_isString.js +7 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_isString.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_isTransformer.js +7 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_isTransformer.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_map.js +14 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_map.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_pipe.js +9 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_pipe.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_xArrayReduce.js +17 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_xArrayReduce.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_xReduce.js +29 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_xReduce.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_xfBase.js +12 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_xfBase.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_xmap.js +26 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_xmap.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_xwrap.js +23 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_xwrap.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/is.js +38 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/is.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/isNil.js +31 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/isNil.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/keys.js +79 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/keys.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/map.js +74 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/map.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/nth.js +43 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/nth.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/path.js +40 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/path.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/pathOr.js +37 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/pathOr.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/paths.js +49 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/paths.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/pick.js +40 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/pick.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/pipe.js +45 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/pipe.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/prop.js +42 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/prop.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/propOr.js +45 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/propOr.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/reduce.js +70 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/reduce.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/remove.js +36 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/remove.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/reverse.js +40 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/reverse.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/slice.js +41 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/slice.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/tail.js +45 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/tail.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/values.js +41 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/values.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/artefacts.js +41 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/artefacts.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/categorisation.js +31 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/categorisation.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/categoryscheme.js +15 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/categoryscheme.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/codelist.js +30 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/codelist.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/conceptscheme.js +40 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/conceptscheme.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/contentconstraint.js +39 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/contentconstraint.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/dataconstraint.js +38 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/dataconstraint.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/dataflow.js +31 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/dataflow.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/dataproviderscheme.js +15 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/dataproviderscheme.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/datastructure.js +72 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/datastructure.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/hierarchicalcodelist.js +37 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/hierarchicalcodelist.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/metadataflow.js +31 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/metadataflow.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/metadatastructure.js +61 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/metadatastructure.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/provisionagreement.js +31 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/provisionagreement.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/sdmx.js +70 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/types/sdmx.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/utils/url-regexp.js +29 -0
- package/esm/node_modules/@dbmx/sdmx/cjs/utils/url-regexp.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/_virtual/_commonjsHelpers.js +8 -0
- package/esm/node_modules/@dbmx/sdmx/esm/_virtual/_commonjsHelpers.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/_virtual/url-join.js +4 -0
- package/esm/node_modules/@dbmx/sdmx/esm/_virtual/url-join.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/core.js +539 -0
- package/esm/node_modules/@dbmx/sdmx/esm/core.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/datastructures.js +108 -0
- package/esm/node_modules/@dbmx/sdmx/esm/datastructures.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/dependencyResolver.js +67 -0
- package/esm/node_modules/@dbmx/sdmx/esm/dependencyResolver.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/bind.js +38 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/bind.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/compose.js +39 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/compose.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/curryN.js +62 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/curryN.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/defaultTo.js +36 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/defaultTo.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/forEach.js +58 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/forEach.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/identity.js +31 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/identity.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_arity.js +65 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_arity.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_arrayReduce.js +14 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_arrayReduce.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_checkForMethod.js +28 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_checkForMethod.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_createReduce.js +35 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_createReduce.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_curry1.js +23 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_curry1.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_curry2.js +35 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_curry2.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_curry3.js +53 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_curry3.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_curryN.js +49 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_curryN.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_dispatchable.js +50 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_dispatchable.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_has.js +6 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_has.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_identity.js +6 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_identity.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_isArguments.js +18 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_isArguments.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_isArray.js +18 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_isArray.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_isArrayLike.js +57 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_isArrayLike.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_isInteger.js +14 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_isInteger.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_isPlaceholder.js +6 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_isPlaceholder.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_isString.js +6 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_isString.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_isTransformer.js +6 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_isTransformer.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_map.js +15 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_map.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_pipe.js +8 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_pipe.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_xArrayReduce.js +20 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_xArrayReduce.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_xReduce.js +33 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_xReduce.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_xfBase.js +11 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_xfBase.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_xmap.js +30 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_xmap.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_xwrap.js +28 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/internal/_xwrap.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/is.js +37 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/is.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/keys.js +93 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/keys.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/map.js +70 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/map.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/nth.js +41 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/nth.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/path.js +38 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/path.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/pathOr.js +34 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/pathOr.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/paths.js +49 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/paths.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/pick.js +42 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/pick.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/pipe.js +40 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/pipe.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/prop.js +40 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/prop.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/propOr.js +42 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/propOr.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/reduce.js +67 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/reduce.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/reverse.js +38 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/reverse.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/slice.js +40 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/slice.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/tail.js +44 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/tail.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/values.js +41 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/values.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/url-join/lib/url-join.js +88 -0
- package/esm/node_modules/@dbmx/sdmx/esm/node_modules/url-join/lib/url-join.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/query.js +149 -0
- package/esm/node_modules/@dbmx/sdmx/esm/query.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/artefacts.js +32 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/artefacts.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/categorisation.js +18 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/categorisation.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/categoryscheme.js +12 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/categoryscheme.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/codelist.js +18 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/codelist.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/conceptscheme.js +28 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/conceptscheme.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/contentconstraint.js +22 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/contentconstraint.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/dataconstraint.js +21 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/dataconstraint.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/dataflow.js +19 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/dataflow.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/dataproviderscheme.js +12 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/dataproviderscheme.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/datastructure.js +73 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/datastructure.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/hierarchicalcodelist.js +21 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/hierarchicalcodelist.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/metadataflow.js +19 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/metadataflow.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/metadatastructure.js +57 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/metadatastructure.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/provisionagreement.js +18 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/provisionagreement.js.map +1 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/sdmx.js +46 -0
- package/esm/node_modules/@dbmx/sdmx/esm/types/sdmx.js.map +1 -0
- package/esm/node_modules/@dbmx/semver/dist/index.esm.js +856 -0
- package/esm/node_modules/@dbmx/semver/dist/index.esm.js.map +1 -0
- package/esm/node_modules/@emotion/cache/dist/emotion-cache.esm.js +586 -0
- package/esm/node_modules/@emotion/cache/dist/emotion-cache.esm.js.map +1 -0
- package/esm/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +10 -0
- package/esm/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +1 -0
- package/esm/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +133 -0
- package/esm/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js.map +1 -0
- package/esm/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +16 -0
- package/esm/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js.map +1 -0
- package/esm/node_modules/@mui/material/colors/blue.js +20 -0
- package/esm/node_modules/@mui/material/colors/blue.js.map +1 -0
- package/esm/node_modules/@mui/material/colors/common.js +8 -0
- package/esm/node_modules/@mui/material/colors/common.js.map +1 -0
- package/esm/node_modules/@mui/material/colors/green.js +20 -0
- package/esm/node_modules/@mui/material/colors/green.js.map +1 -0
- package/esm/node_modules/@mui/material/colors/grey.js +20 -0
- package/esm/node_modules/@mui/material/colors/grey.js.map +1 -0
- package/esm/node_modules/@mui/material/colors/lightBlue.js +20 -0
- package/esm/node_modules/@mui/material/colors/lightBlue.js.map +1 -0
- package/esm/node_modules/@mui/material/colors/orange.js +20 -0
- package/esm/node_modules/@mui/material/colors/orange.js.map +1 -0
- package/esm/node_modules/@mui/material/colors/purple.js +20 -0
- package/esm/node_modules/@mui/material/colors/purple.js.map +1 -0
- package/esm/node_modules/@mui/material/colors/red.js +20 -0
- package/esm/node_modules/@mui/material/colors/red.js.map +1 -0
- package/esm/node_modules/@mui/material/styles/ThemeProvider.js +33 -0
- package/esm/node_modules/@mui/material/styles/ThemeProvider.js.map +1 -0
- package/esm/node_modules/@mui/material/styles/createMixins.js +20 -0
- package/esm/node_modules/@mui/material/styles/createMixins.js.map +1 -0
- package/esm/node_modules/@mui/material/styles/createPalette.js +308 -0
- package/esm/node_modules/@mui/material/styles/createPalette.js.map +1 -0
- package/esm/node_modules/@mui/material/styles/createTheme.js +82 -0
- package/esm/node_modules/@mui/material/styles/createTheme.js.map +1 -0
- package/esm/node_modules/@mui/material/styles/createTransitions.js +92 -0
- package/esm/node_modules/@mui/material/styles/createTransitions.js.map +1 -0
- package/esm/node_modules/@mui/material/styles/createTypography.js +94 -0
- package/esm/node_modules/@mui/material/styles/createTypography.js.map +1 -0
- package/esm/node_modules/@mui/material/styles/identifier.js +4 -0
- package/esm/node_modules/@mui/material/styles/identifier.js.map +1 -0
- package/esm/node_modules/@mui/material/styles/shadows.js +13 -0
- package/esm/node_modules/@mui/material/styles/shadows.js.map +1 -0
- package/esm/node_modules/@mui/material/styles/zIndex.js +16 -0
- package/esm/node_modules/@mui/material/styles/zIndex.js.map +1 -0
- package/esm/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js +66 -0
- package/esm/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js.map +1 -0
- package/esm/node_modules/@mui/private-theming/ThemeProvider/nested.js +5 -0
- package/esm/node_modules/@mui/private-theming/ThemeProvider/nested.js.map +1 -0
- package/esm/node_modules/@mui/private-theming/useTheme/ThemeContext.js +10 -0
- package/esm/node_modules/@mui/private-theming/useTheme/ThemeContext.js.map +1 -0
- package/esm/node_modules/@mui/private-theming/useTheme/useTheme.js +14 -0
- package/esm/node_modules/@mui/private-theming/useTheme/useTheme.js.map +1 -0
- package/esm/node_modules/@mui/system/colorManipulator.js +379 -0
- package/esm/node_modules/@mui/system/colorManipulator.js.map +1 -0
- package/esm/node_modules/@mui/system/esm/RtlProvider/index.js +24 -0
- package/esm/node_modules/@mui/system/esm/RtlProvider/index.js.map +1 -0
- package/esm/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +91 -0
- package/esm/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js.map +1 -0
- package/esm/node_modules/@mui/system/esm/borders.js +52 -0
- package/esm/node_modules/@mui/system/esm/borders.js.map +1 -0
- package/esm/node_modules/@mui/system/esm/breakpoints.js +70 -0
- package/esm/node_modules/@mui/system/esm/breakpoints.js.map +1 -0
- package/esm/node_modules/@mui/system/esm/compose.js +27 -0
- package/esm/node_modules/@mui/system/esm/compose.js.map +1 -0
- package/esm/node_modules/@mui/system/esm/createTheme/applyStyles.js +77 -0
- package/esm/node_modules/@mui/system/esm/createTheme/applyStyles.js.map +1 -0
- package/esm/node_modules/@mui/system/esm/createTheme/createBreakpoints.js +84 -0
- package/esm/node_modules/@mui/system/esm/createTheme/createBreakpoints.js.map +1 -0
- package/esm/node_modules/@mui/system/esm/createTheme/createSpacing.js +35 -0
- package/esm/node_modules/@mui/system/esm/createTheme/createSpacing.js.map +1 -0
- package/esm/node_modules/@mui/system/esm/createTheme/createTheme.js +46 -0
- package/esm/node_modules/@mui/system/esm/createTheme/createTheme.js.map +1 -0
- package/esm/node_modules/@mui/system/esm/createTheme/shape.js +7 -0
- package/esm/node_modules/@mui/system/esm/createTheme/shape.js.map +1 -0
- package/esm/node_modules/@mui/system/esm/cssGrid.js +87 -0
- package/esm/node_modules/@mui/system/esm/cssGrid.js.map +1 -0
- package/esm/node_modules/@mui/system/esm/memoize.js +12 -0
- package/esm/node_modules/@mui/system/esm/memoize.js.map +1 -0
- package/esm/node_modules/@mui/system/esm/merge.js +13 -0
- package/esm/node_modules/@mui/system/esm/merge.js.map +1 -0
- package/esm/node_modules/@mui/system/esm/palette.js +29 -0
- package/esm/node_modules/@mui/system/esm/palette.js.map +1 -0
- package/esm/node_modules/@mui/system/esm/responsivePropType.js +7 -0
- package/esm/node_modules/@mui/system/esm/responsivePropType.js.map +1 -0
- package/esm/node_modules/@mui/system/esm/sizing.js +68 -0
- package/esm/node_modules/@mui/system/esm/sizing.js.map +1 -0
- package/esm/node_modules/@mui/system/esm/spacing.js +145 -0
- package/esm/node_modules/@mui/system/esm/spacing.js.map +1 -0
- package/esm/node_modules/@mui/system/esm/style.js +78 -0
- package/esm/node_modules/@mui/system/esm/style.js.map +1 -0
- package/esm/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js +295 -0
- package/esm/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js.map +1 -0
- package/esm/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js +132 -0
- package/esm/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js.map +1 -0
- package/esm/node_modules/@mui/system/esm/useThemeWithoutDefault.js +13 -0
- package/esm/node_modules/@mui/system/esm/useThemeWithoutDefault.js.map +1 -0
- package/esm/node_modules/@mui/utils/ClassNameGenerator/ClassNameGenerator.js +20 -0
- package/esm/node_modules/@mui/utils/ClassNameGenerator/ClassNameGenerator.js.map +1 -0
- package/esm/node_modules/@mui/utils/capitalize/capitalize.js +13 -0
- package/esm/node_modules/@mui/utils/capitalize/capitalize.js.map +1 -0
- package/esm/node_modules/@mui/utils/clamp/clamp.js +6 -0
- package/esm/node_modules/@mui/utils/clamp/clamp.js.map +1 -0
- package/esm/node_modules/@mui/utils/clamp/index.js +2 -0
- package/esm/node_modules/@mui/utils/clamp/index.js.map +1 -0
- package/esm/node_modules/@mui/utils/deepmerge/deepmerge.js +45 -0
- package/esm/node_modules/@mui/utils/deepmerge/deepmerge.js.map +1 -0
- package/esm/node_modules/@mui/utils/exactProp/exactProp.js +21 -0
- package/esm/node_modules/@mui/utils/exactProp/exactProp.js.map +1 -0
- package/esm/node_modules/@mui/utils/formatMuiErrorMessage/formatMuiErrorMessage.js +22 -0
- package/esm/node_modules/@mui/utils/formatMuiErrorMessage/formatMuiErrorMessage.js.map +1 -0
- package/esm/node_modules/@mui/utils/formatMuiErrorMessage/index.js +2 -0
- package/esm/node_modules/@mui/utils/formatMuiErrorMessage/index.js.map +1 -0
- package/esm/node_modules/@mui/utils/generateUtilityClass/generateUtilityClass.js +23 -0
- package/esm/node_modules/@mui/utils/generateUtilityClass/generateUtilityClass.js.map +1 -0
- package/esm/node_modules/lru-cache/index.js +280 -0
- package/esm/node_modules/lru-cache/index.js.map +1 -0
- package/esm/node_modules/react/cjs/react-jsx-runtime.development.js +1144 -0
- package/esm/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -0
- package/esm/node_modules/react/jsx-runtime.js +12 -0
- package/esm/node_modules/react/jsx-runtime.js.map +1 -0
- package/esm/node_modules/react-dom/client.js +19 -0
- package/esm/node_modules/react-dom/client.js.map +1 -0
- package/esm/node_modules/stylis/src/Enum.js +12 -0
- package/esm/node_modules/stylis/src/Enum.js.map +1 -0
- package/esm/node_modules/stylis/src/Middleware.js +17 -0
- package/esm/node_modules/stylis/src/Middleware.js.map +1 -0
- package/esm/node_modules/stylis/src/Parser.js +185 -0
- package/esm/node_modules/stylis/src/Parser.js.map +1 -0
- package/esm/node_modules/stylis/src/Serializer.js +41 -0
- package/esm/node_modules/stylis/src/Serializer.js.map +1 -0
- package/esm/node_modules/stylis/src/Tokenizer.js +231 -0
- package/esm/node_modules/stylis/src/Tokenizer.js.map +1 -0
- package/esm/node_modules/stylis/src/Utility.js +118 -0
- package/esm/node_modules/stylis/src/Utility.js.map +1 -0
- package/esm/node_modules/yallist/iterator.js +19 -0
- package/esm/node_modules/yallist/iterator.js.map +1 -0
- package/esm/node_modules/yallist/yallist.js +369 -0
- package/esm/node_modules/yallist/yallist.js.map +1 -0
- package/esm/src/assets/images/toasts/sdmx_datagrid.png.js +4 -0
- package/esm/src/assets/images/toasts/sdmx_datagrid.png.js.map +1 -0
- package/esm/src/components/HelloWorld/index.js +18 -0
- package/esm/src/components/HelloWorld/index.js.map +1 -0
- package/esm/src/components/HelloWorld/style.css.js +4 -0
- package/esm/src/components/HelloWorld/style.css.js.map +1 -0
- package/esm/src/components/SdmxDatagrid/LoadingBox.js +24 -0
- package/esm/src/components/SdmxDatagrid/LoadingBox.js.map +1 -0
- package/esm/src/components/SdmxDatagrid/SDMXGrid.js +122 -0
- package/esm/src/components/SdmxDatagrid/SDMXGrid.js.map +1 -0
- package/esm/src/components/SdmxDatagrid/index.js +171 -0
- package/esm/src/components/SdmxDatagrid/index.js.map +1 -0
- package/esm/src/components/SdmxDatagrid/messages.js +31 -0
- package/esm/src/components/SdmxDatagrid/messages.js.map +1 -0
- package/esm/src/components/SdmxDatagrid/utils.js +166 -0
- package/esm/src/components/SdmxDatagrid/utils.js.map +1 -0
- package/esm/src/index.js +73 -0
- package/esm/src/index.js.map +1 -0
- package/esm/src/webComponents/HelloWorld/index.js +55 -0
- package/esm/src/webComponents/HelloWorld/index.js.map +1 -0
- package/esm/src/webComponents/SDMXDatagrid/index.js +87 -0
- package/esm/src/webComponents/SDMXDatagrid/index.js.map +1 -0
- package/package.json +27 -11
- package/plugins/rollup-plugin-postcss-shadow/index.js +79 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colorManipulator.js","sources":["../../../../node_modules/@mui/system/colorManipulator.js"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.alpha = alpha;\nexports.blend = blend;\nexports.colorChannel = void 0;\nexports.darken = darken;\nexports.decomposeColor = decomposeColor;\nexports.emphasize = emphasize;\nexports.getContrastRatio = getContrastRatio;\nexports.getLuminance = getLuminance;\nexports.hexToRgb = hexToRgb;\nexports.hslToRgb = hslToRgb;\nexports.lighten = lighten;\nexports.private_safeAlpha = private_safeAlpha;\nexports.private_safeColorChannel = void 0;\nexports.private_safeDarken = private_safeDarken;\nexports.private_safeEmphasize = private_safeEmphasize;\nexports.private_safeLighten = private_safeLighten;\nexports.recomposeColor = recomposeColor;\nexports.rgbToHex = rgbToHex;\nvar _formatMuiErrorMessage2 = _interopRequireDefault(require(\"@mui/utils/formatMuiErrorMessage\"));\nvar _clamp = _interopRequireDefault(require(\"@mui/utils/clamp\"));\n/* eslint-disable @typescript-eslint/naming-convention */\n\n/**\n * Returns a number whose value is limited to the given range.\n * @param {number} value The value to be clamped\n * @param {number} min The lower boundary of the output range\n * @param {number} max The upper boundary of the output range\n * @returns {number} A number in the range [min, max]\n */\nfunction clampWrapper(value, min = 0, max = 1) {\n if (process.env.NODE_ENV !== 'production') {\n if (value < min || value > max) {\n console.error(`MUI: The value provided ${value} is out of range [${min}, ${max}].`);\n }\n }\n return (0, _clamp.default)(value, min, max);\n}\n\n/**\n * Converts a color from CSS hex format to CSS rgb format.\n * @param {string} color - Hex color, i.e. #nnn or #nnnnnn\n * @returns {string} A CSS rgb color string\n */\nfunction hexToRgb(color) {\n color = color.slice(1);\n const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, 'g');\n let colors = color.match(re);\n if (colors && colors[0].length === 1) {\n colors = colors.map(n => n + n);\n }\n return colors ? `rgb${colors.length === 4 ? 'a' : ''}(${colors.map((n, index) => {\n return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;\n }).join(', ')})` : '';\n}\nfunction intToHex(int) {\n const hex = int.toString(16);\n return hex.length === 1 ? `0${hex}` : hex;\n}\n\n/**\n * Returns an object with the type and values of a color.\n *\n * Note: Does not support rgb % values.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {object} - A MUI color object: {type: string, values: number[]}\n */\nfunction decomposeColor(color) {\n // Idempotent\n if (color.type) {\n return color;\n }\n if (color.charAt(0) === '#') {\n return decomposeColor(hexToRgb(color));\n }\n const marker = color.indexOf('(');\n const type = color.substring(0, marker);\n if (['rgb', 'rgba', 'hsl', 'hsla', 'color'].indexOf(type) === -1) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: Unsupported \\`${color}\\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : (0, _formatMuiErrorMessage2.default)(9, color));\n }\n let values = color.substring(marker + 1, color.length - 1);\n let colorSpace;\n if (type === 'color') {\n values = values.split(' ');\n colorSpace = values.shift();\n if (values.length === 4 && values[3].charAt(0) === '/') {\n values[3] = values[3].slice(1);\n }\n if (['srgb', 'display-p3', 'a98-rgb', 'prophoto-rgb', 'rec-2020'].indexOf(colorSpace) === -1) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: unsupported \\`${colorSpace}\\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : (0, _formatMuiErrorMessage2.default)(10, colorSpace));\n }\n } else {\n values = values.split(',');\n }\n values = values.map(value => parseFloat(value));\n return {\n type,\n values,\n colorSpace\n };\n}\n\n/**\n * Returns a channel created from the input color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {string} - The channel for the color, that can be used in rgba or hsla colors\n */\nconst colorChannel = color => {\n const decomposedColor = decomposeColor(color);\n return decomposedColor.values.slice(0, 3).map((val, idx) => decomposedColor.type.indexOf('hsl') !== -1 && idx !== 0 ? `${val}%` : val).join(' ');\n};\nexports.colorChannel = colorChannel;\nconst private_safeColorChannel = (color, warning) => {\n try {\n return colorChannel(color);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n};\n\n/**\n * Converts a color object with type and values to a string.\n * @param {object} color - Decomposed color\n * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla', 'color'\n * @param {array} color.values - [n,n,n] or [n,n,n,n]\n * @returns {string} A CSS color string\n */\nexports.private_safeColorChannel = private_safeColorChannel;\nfunction recomposeColor(color) {\n const {\n type,\n colorSpace\n } = color;\n let {\n values\n } = color;\n if (type.indexOf('rgb') !== -1) {\n // Only convert the first 3 values to int (i.e. not alpha)\n values = values.map((n, i) => i < 3 ? parseInt(n, 10) : n);\n } else if (type.indexOf('hsl') !== -1) {\n values[1] = `${values[1]}%`;\n values[2] = `${values[2]}%`;\n }\n if (type.indexOf('color') !== -1) {\n values = `${colorSpace} ${values.join(' ')}`;\n } else {\n values = `${values.join(', ')}`;\n }\n return `${type}(${values})`;\n}\n\n/**\n * Converts a color from CSS rgb format to CSS hex format.\n * @param {string} color - RGB color, i.e. rgb(n, n, n)\n * @returns {string} A CSS rgb color string, i.e. #nnnnnn\n */\nfunction rgbToHex(color) {\n // Idempotent\n if (color.indexOf('#') === 0) {\n return color;\n }\n const {\n values\n } = decomposeColor(color);\n return `#${values.map((n, i) => intToHex(i === 3 ? Math.round(255 * n) : n)).join('')}`;\n}\n\n/**\n * Converts a color from hsl format to rgb format.\n * @param {string} color - HSL color values\n * @returns {string} rgb color values\n */\nfunction hslToRgb(color) {\n color = decomposeColor(color);\n const {\n values\n } = color;\n const h = values[0];\n const s = values[1] / 100;\n const l = values[2] / 100;\n const a = s * Math.min(l, 1 - l);\n const f = (n, k = (n + h / 30) % 12) => l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n let type = 'rgb';\n const rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];\n if (color.type === 'hsla') {\n type += 'a';\n rgb.push(values[3]);\n }\n return recomposeColor({\n type,\n values: rgb\n });\n}\n/**\n * The relative brightness of any point in a color space,\n * normalized to 0 for darkest black and 1 for lightest white.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {number} The relative brightness of the color in the range 0 - 1\n */\nfunction getLuminance(color) {\n color = decomposeColor(color);\n let rgb = color.type === 'hsl' || color.type === 'hsla' ? decomposeColor(hslToRgb(color)).values : color.values;\n rgb = rgb.map(val => {\n if (color.type !== 'color') {\n val /= 255; // normalized\n }\n return val <= 0.03928 ? val / 12.92 : ((val + 0.055) / 1.055) ** 2.4;\n });\n\n // Truncate at 3 digits\n return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));\n}\n\n/**\n * Calculates the contrast ratio between two colors.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} A contrast ratio value in the range 0 - 21.\n */\nfunction getContrastRatio(foreground, background) {\n const lumA = getLuminance(foreground);\n const lumB = getLuminance(background);\n return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);\n}\n\n/**\n * Sets the absolute transparency of a color.\n * Any existing alpha values are overwritten.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} value - value to set the alpha channel to in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction alpha(color, value) {\n color = decomposeColor(color);\n value = clampWrapper(value);\n if (color.type === 'rgb' || color.type === 'hsl') {\n color.type += 'a';\n }\n if (color.type === 'color') {\n color.values[3] = `/${value}`;\n } else {\n color.values[3] = value;\n }\n return recomposeColor(color);\n}\nfunction private_safeAlpha(color, value, warning) {\n try {\n return alpha(color, value);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darkens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction darken(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] *= 1 - coefficient;\n } else if (color.type.indexOf('rgb') !== -1 || color.type.indexOf('color') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] *= 1 - coefficient;\n }\n }\n return recomposeColor(color);\n}\nfunction private_safeDarken(color, coefficient, warning) {\n try {\n return darken(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Lightens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction lighten(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] += (100 - color.values[2]) * coefficient;\n } else if (color.type.indexOf('rgb') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (255 - color.values[i]) * coefficient;\n }\n } else if (color.type.indexOf('color') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (1 - color.values[i]) * coefficient;\n }\n }\n return recomposeColor(color);\n}\nfunction private_safeLighten(color, coefficient, warning) {\n try {\n return lighten(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darken or lighten a color, depending on its luminance.\n * Light colors are darkened, dark colors are lightened.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient=0.15 - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction emphasize(color, coefficient = 0.15) {\n return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);\n}\nfunction private_safeEmphasize(color, coefficient, warning) {\n try {\n return emphasize(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Blend a transparent overlay color with a background color, resulting in a single\n * RGB color.\n * @param {string} background - CSS color\n * @param {string} overlay - CSS color\n * @param {number} opacity - Opacity multiplier in the range 0 - 1\n * @param {number} [gamma=1.0] - Gamma correction factor. For gamma-correct blending, 2.2 is usual.\n */\nfunction blend(background, overlay, opacity, gamma = 1.0) {\n const blendChannel = (b, o) => Math.round((b ** (1 / gamma) * (1 - opacity) + o ** (1 / gamma) * opacity) ** gamma);\n const backgroundColor = decomposeColor(background);\n const overlayColor = decomposeColor(overlay);\n const rgb = [blendChannel(backgroundColor.values[0], overlayColor.values[0]), blendChannel(backgroundColor.values[1], overlayColor.values[1]), blendChannel(backgroundColor.values[2], overlayColor.values[2])];\n return recomposeColor({\n type: 'rgb',\n values: rgb\n });\n}"],"names":["_interopRequireDefault","require","Object","defineProperty","exports","value","alpha","blend","darken","decomposeColor","emphasize","getContrastRatio","getLuminance","hexToRgb","hslToRgb","lighten","private_safeAlpha","private_safeDarken","private_safeEmphasize","private_safeLighten","recomposeColor","rgbToHex","_clamp","clampWrapper","min","max","console","error","default","color","slice","re","RegExp","length","colors","match","map","n","index","parseInt","Math","round","join","intToHex","int","hex","toString","type","charAt","marker","indexOf","substring","Error","values","colorSpace","split","shift","parseFloat","colorChannel","decomposedColor","val","idx","private_safeColorChannel","warning","process","warn","i","h","s","l","a","f","k","rgb","push","Number","toFixed","foreground","background","lumA","lumB","coefficient","overlay","opacity","gamma","blendChannel","b","o","backgroundColor","overlayColor"],"mappings":";;;;;AAEA,IAAIA,sBAAsB,GAAGC,4BAAuD,CAAA;AACpFC,MAAM,CAACC,cAAc,CAACC,gBAAO,EAAE,YAAY,EAAE;AAC3CC,EAAAA,KAAK,EAAE,IAAA;AACT,CAAC,CAAC,CAAA;AACW,gBAAA,CAAA,KAAA,GAAGC,MAAK;AACR,gBAAA,CAAA,KAAA,GAAGC,MAAK;AACD,gBAAA,CAAA,YA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,CAAC,CAAC,CAAC,CAAC,EAAEgC,YAAY,CAACG,eAAe,CAACnC,MAAM,CAAC,CAAC,CAAC,EAAEoC,YAAY,CAACpC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;AAC/M,EAAA,OAAOjC,cAAc,CAAC;AACpB2B,IAAAA,IAAI,EAAE,KAAK;AACXM,IAAAA,MAAM,EAAEoB,GAAAA;AACV,GAAC,CAAC,CAAA;AACJ;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import _extends from '../../../../@babel/runtime/helpers/esm/extends.js';
|
|
2
|
+
import _objectWithoutPropertiesLoose from '../../../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import PropTypes from 'prop-types';
|
|
5
|
+
import { j as jsxRuntimeExports } from '../../../../react/jsx-runtime.js';
|
|
6
|
+
|
|
7
|
+
const _excluded = ["value"];
|
|
8
|
+
const RtlContext = /*#__PURE__*/React.createContext();
|
|
9
|
+
function RtlProvider(_ref) {
|
|
10
|
+
let {
|
|
11
|
+
value
|
|
12
|
+
} = _ref,
|
|
13
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(RtlContext.Provider, _extends({
|
|
15
|
+
value: value != null ? value : true
|
|
16
|
+
}, props));
|
|
17
|
+
}
|
|
18
|
+
RtlProvider.propTypes = {
|
|
19
|
+
children: PropTypes.node,
|
|
20
|
+
value: PropTypes.bool
|
|
21
|
+
} ;
|
|
22
|
+
|
|
23
|
+
export { RtlProvider as default };
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/@mui/system/esm/RtlProvider/index.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"value\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst RtlContext = /*#__PURE__*/React.createContext();\nfunction RtlProvider(_ref) {\n let {\n value\n } = _ref,\n props = _objectWithoutPropertiesLoose(_ref, _excluded);\n return /*#__PURE__*/_jsx(RtlContext.Provider, _extends({\n value: value != null ? value : true\n }, props));\n}\nprocess.env.NODE_ENV !== \"production\" ? RtlProvider.propTypes = {\n children: PropTypes.node,\n value: PropTypes.bool\n} : void 0;\nexport const useRtl = () => {\n const value = React.useContext(RtlContext);\n return value != null ? value : false;\n};\nexport default RtlProvider;"],"names":["_excluded","RtlContext","React","createContext","RtlProvider","_ref","value","props","_objectWithoutPropertiesLoose","_jsx","Provider","_extends","propTypes","children","PropTypes","node","bool"],"mappings":";;;;;;AAEA,MAAMA,SAAS,GAAG,CAAC,OAAO,CAAC,CAAA;AAI3B,MAAMC,UAAU,gBAAgBC,KAAK,CAACC,aAAa,EAAE,CAAA;AACrD,SAASC,WAAWA,CAACC,IAAI,EAAE;EACzB,IAAI;AACAC,MAAAA,KAAAA;AACF,KAAC,GAAGD,IAAI;AACRE,IAAAA,KAAK,GAAGC,6BAA6B,CAACH,IAAI,EAAEL,SAAS,CAAC,CAAA;EACxD,oBAAoBS,qBAAI,CAACR,UAAU,CAACS,QAAQ,EAAEC,QAAQ,CAAC;AACrDL,IAAAA,KAAK,EAAEA,KAAK,IAAI,IAAI,GAAGA,KAAK,GAAG,IAAA;GAChC,EAAEC,KAAK,CAAC,CAAC,CAAA;AACZ,CAAA;AACwCH,WAAW,CAACQ,SAAS,GAAG;EAC9DC,QAAQ,EAAEC,SAAS,CAACC,IAAI;EACxBT,KAAK,EAAEQ,SAAS,CAACE,IAAAA;AACnB,CAAC,CAAS;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import _extends from '../../../../@babel/runtime/helpers/esm/extends.js';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import useTheme from '../useThemeWithoutDefault.js';
|
|
5
|
+
import RtlProvider from '../RtlProvider/index.js';
|
|
6
|
+
import { j as jsxRuntimeExports } from '../../../../react/jsx-runtime.js';
|
|
7
|
+
import useTheme$1 from '../../../private-theming/useTheme/useTheme.js';
|
|
8
|
+
import ThemeProvider$1 from '../../../private-theming/ThemeProvider/ThemeProvider.js';
|
|
9
|
+
import exactProp from '../../../utils/exactProp/exactProp.js';
|
|
10
|
+
import { ThemeContext } from '@emotion/react';
|
|
11
|
+
|
|
12
|
+
const EMPTY_THEME = {};
|
|
13
|
+
function useThemeScoping(themeId, upperTheme, localTheme, isPrivate = false) {
|
|
14
|
+
return React.useMemo(() => {
|
|
15
|
+
const resolvedTheme = themeId ? upperTheme[themeId] || upperTheme : upperTheme;
|
|
16
|
+
if (typeof localTheme === 'function') {
|
|
17
|
+
const mergedTheme = localTheme(resolvedTheme);
|
|
18
|
+
const result = themeId ? _extends({}, upperTheme, {
|
|
19
|
+
[themeId]: mergedTheme
|
|
20
|
+
}) : mergedTheme;
|
|
21
|
+
// must return a function for the private theme to NOT merge with the upper theme.
|
|
22
|
+
// see the test case "use provided theme from a callback" in ThemeProvider.test.js
|
|
23
|
+
if (isPrivate) {
|
|
24
|
+
return () => result;
|
|
25
|
+
}
|
|
26
|
+
return result;
|
|
27
|
+
}
|
|
28
|
+
return themeId ? _extends({}, upperTheme, {
|
|
29
|
+
[themeId]: localTheme
|
|
30
|
+
}) : _extends({}, upperTheme, localTheme);
|
|
31
|
+
}, [themeId, upperTheme, localTheme, isPrivate]);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* This component makes the `theme` available down the React tree.
|
|
36
|
+
* It should preferably be used at **the root of your component tree**.
|
|
37
|
+
*
|
|
38
|
+
* <ThemeProvider theme={theme}> // existing use case
|
|
39
|
+
* <ThemeProvider theme={{ id: theme }}> // theme scoping
|
|
40
|
+
*/
|
|
41
|
+
function ThemeProvider(props) {
|
|
42
|
+
const {
|
|
43
|
+
children,
|
|
44
|
+
theme: localTheme,
|
|
45
|
+
themeId
|
|
46
|
+
} = props;
|
|
47
|
+
const upperTheme = useTheme(EMPTY_THEME);
|
|
48
|
+
const upperPrivateTheme = useTheme$1() || EMPTY_THEME;
|
|
49
|
+
{
|
|
50
|
+
if (upperTheme === null && typeof localTheme === 'function' || themeId && upperTheme && !upperTheme[themeId] && typeof localTheme === 'function') {
|
|
51
|
+
console.error(['MUI: You are providing a theme function prop to the ThemeProvider component:', '<ThemeProvider theme={outerTheme => outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\n'));
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
const engineTheme = useThemeScoping(themeId, upperTheme, localTheme);
|
|
55
|
+
const privateTheme = useThemeScoping(themeId, upperPrivateTheme, localTheme, true);
|
|
56
|
+
const rtlValue = engineTheme.direction === 'rtl';
|
|
57
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(ThemeProvider$1, {
|
|
58
|
+
theme: privateTheme,
|
|
59
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx(ThemeContext.Provider, {
|
|
60
|
+
value: engineTheme,
|
|
61
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx(RtlProvider, {
|
|
62
|
+
value: rtlValue,
|
|
63
|
+
children: children
|
|
64
|
+
})
|
|
65
|
+
})
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
ThemeProvider.propTypes /* remove-proptypes */ = {
|
|
69
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
70
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
71
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
72
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
73
|
+
/**
|
|
74
|
+
* Your component tree.
|
|
75
|
+
*/
|
|
76
|
+
children: PropTypes.node,
|
|
77
|
+
/**
|
|
78
|
+
* A theme object. You can provide a function to extend the outer theme.
|
|
79
|
+
*/
|
|
80
|
+
theme: PropTypes.oneOfType([PropTypes.func, PropTypes.object]).isRequired,
|
|
81
|
+
/**
|
|
82
|
+
* The design system's unique id for getting the corresponded theme when there are multiple design systems.
|
|
83
|
+
*/
|
|
84
|
+
themeId: PropTypes.string
|
|
85
|
+
} ;
|
|
86
|
+
{
|
|
87
|
+
ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) ;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export { ThemeProvider as default };
|
|
91
|
+
//# sourceMappingURL=ThemeProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeProvider.js","sources":["../../../../../../node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js"],"sourcesContent":["'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { ThemeProvider as MuiThemeProvider, useTheme as usePrivateTheme } from '@mui/private-theming';\nimport exactProp from '@mui/utils/exactProp';\nimport { ThemeContext as StyledEngineThemeContext } from '@mui/styled-engine';\nimport useThemeWithoutDefault from '../useThemeWithoutDefault';\nimport RtlProvider from '../RtlProvider';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst EMPTY_THEME = {};\nfunction useThemeScoping(themeId, upperTheme, localTheme, isPrivate = false) {\n return React.useMemo(() => {\n const resolvedTheme = themeId ? upperTheme[themeId] || upperTheme : upperTheme;\n if (typeof localTheme === 'function') {\n const mergedTheme = localTheme(resolvedTheme);\n const result = themeId ? _extends({}, upperTheme, {\n [themeId]: mergedTheme\n }) : mergedTheme;\n // must return a function for the private theme to NOT merge with the upper theme.\n // see the test case \"use provided theme from a callback\" in ThemeProvider.test.js\n if (isPrivate) {\n return () => result;\n }\n return result;\n }\n return themeId ? _extends({}, upperTheme, {\n [themeId]: localTheme\n }) : _extends({}, upperTheme, localTheme);\n }, [themeId, upperTheme, localTheme, isPrivate]);\n}\n\n/**\n * This component makes the `theme` available down the React tree.\n * It should preferably be used at **the root of your component tree**.\n *\n * <ThemeProvider theme={theme}> // existing use case\n * <ThemeProvider theme={{ id: theme }}> // theme scoping\n */\nfunction ThemeProvider(props) {\n const {\n children,\n theme: localTheme,\n themeId\n } = props;\n const upperTheme = useThemeWithoutDefault(EMPTY_THEME);\n const upperPrivateTheme = usePrivateTheme() || EMPTY_THEME;\n if (process.env.NODE_ENV !== 'production') {\n if (upperTheme === null && typeof localTheme === 'function' || themeId && upperTheme && !upperTheme[themeId] && typeof localTheme === 'function') {\n console.error(['MUI: You are providing a theme function prop to the ThemeProvider component:', '<ThemeProvider theme={outerTheme => outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\\n'));\n }\n }\n const engineTheme = useThemeScoping(themeId, upperTheme, localTheme);\n const privateTheme = useThemeScoping(themeId, upperPrivateTheme, localTheme, true);\n const rtlValue = engineTheme.direction === 'rtl';\n return /*#__PURE__*/_jsx(MuiThemeProvider, {\n theme: privateTheme,\n children: /*#__PURE__*/_jsx(StyledEngineThemeContext.Provider, {\n value: engineTheme,\n children: /*#__PURE__*/_jsx(RtlProvider, {\n value: rtlValue,\n children: children\n })\n })\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Your component tree.\n */\n children: PropTypes.node,\n /**\n * A theme object. You can provide a function to extend the outer theme.\n */\n theme: PropTypes.oneOfType([PropTypes.func, PropTypes.object]).isRequired,\n /**\n * The design system's unique id for getting the corresponded theme when there are multiple design systems.\n */\n themeId: PropTypes.string\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) : void 0;\n}\nexport default ThemeProvider;"],"names":["EMPTY_THEME","useThemeScoping","themeId","upperTheme","localTheme","isPrivate","React","useMemo","resolvedTheme","mergedTheme","result","_extends","ThemeProvider","props","children","theme","useThemeWithoutDefault","upperPrivateTheme","usePrivateTheme","console","error","join","engineTheme","privateTheme","rtlValue","direction","_jsx","MuiThemeProvider","StyledEngineThemeContext","Provider","value","RtlProvider","propTypes","PropTypes","node","oneOfType","func","object","isRequired","string","process","exactProp"],"mappings":";;;;;;;;;;;AAWA,MAAMA,WAAW,GAAG,EAAE,CAAA;AACtB,SAASC,eAAeA,CAACC,OAAO,EAAEC,UAAU,EAAEC,UAAU,EAAEC,SAAS,GAAG,KAAK,EAAE;AAC3E,EAAA,OAAOC,KAAK,CAACC,OAAO,CAAC,MAAM;IACzB,MAAMC,aAAa,GAAGN,OAAO,GAAGC,UAAU,CAACD,OAAO,CAAC,IAAIC,UAAU,GAAGA,UAAU,CAAA;AAC9E,IAAA,IAAI,OAAOC,UAAU,KAAK,UAAU,EAAE;AACpC,MAAA,MAAMK,WAAW,GAAGL,UAAU,CAACI,aAAa,CAAC,CAAA;MAC7C,MAAME,MAAM,GAAGR,OAAO,GAAGS,QAAQ,CAAC,EAAE,EAAER,UAAU,EAAE;AAChD,QAAA,CAACD,OAAO,GAAGO,WAAAA;OACZ,CAAC,GAAGA,WAAW,CAAA;AAChB;AACA;AACA,MAAA,IAAIJ,SAAS,EAAE;AACb,QAAA,OAAO,MAAMK,MAAM,CAAA;AACrB,OAAA;AACA,MAAA,OAAOA,MAAM,CAAA;AACf,KAAA;IACA,OAAOR,OAAO,GAAGS,QAAQ,CAAC,EAAE,EAAER,UAAU,EAAE;AACxC,MAAA,CAACD,OAAO,GAAGE,UAAAA;KACZ,CAAC,GAAGO,QAAQ,CAAC,EAAE,EAAER,UAAU,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ER,WAAW;AAClBR,MAAAA,QAAQ,eAAeY,qBAAI,CAACK,WAAW,EAAE;AACvCD,QAAAA,KAAK,EAAEN,QAAQ;AACfV,QAAAA,QAAQ,EAAEA,QAAAA;OACX,CAAA;KACF,CAAA;AACH,GAAC,CAAC,CAAA;AACJ,CAAA;AACwCF,aAAa,CAACoB,SAAS,0BAA0B;AACvF;AACA;AACA;AACA;AACA;AACF;AACA;EACElB,QAAQ,EAAEmB,SAAS,CAACC,IAAI;AACxB;AACF;AACA;AACEnB,EAAAA,KAAK,EAAEkB,SAAS,CAACE,SAAS,CAAC,CAACF,SAAS,CAACG,IAAI,EAAEH,SAAS,CAACI,MAAM,CAAC,CAAC,CAACC,UAAU;AACzE;AACF;AACA;EACEpC,OAAO,EAAE+B,SAAS,CAACM,MAAAA;AACrB,CAAC,CAAS,CAAA;AACiC;AACzCC,EAAwC5B,aAAa,CAACoB,SAAS,GAAGS,SAAS,CAAC7B,aAAa,CAACoB,SAAS,CAAC,CAAS,CAAA;AAC/G;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import responsivePropType from './responsivePropType.js';
|
|
2
|
+
import style from './style.js';
|
|
3
|
+
import compose from './compose.js';
|
|
4
|
+
import { createUnaryUnit, getValue } from './spacing.js';
|
|
5
|
+
import { handleBreakpoints } from './breakpoints.js';
|
|
6
|
+
|
|
7
|
+
function borderTransform(value) {
|
|
8
|
+
if (typeof value !== 'number') {
|
|
9
|
+
return value;
|
|
10
|
+
}
|
|
11
|
+
return `${value}px solid`;
|
|
12
|
+
}
|
|
13
|
+
function createBorderStyle(prop, transform) {
|
|
14
|
+
return style({
|
|
15
|
+
prop,
|
|
16
|
+
themeKey: 'borders',
|
|
17
|
+
transform
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
const border = createBorderStyle('border', borderTransform);
|
|
21
|
+
const borderTop = createBorderStyle('borderTop', borderTransform);
|
|
22
|
+
const borderRight = createBorderStyle('borderRight', borderTransform);
|
|
23
|
+
const borderBottom = createBorderStyle('borderBottom', borderTransform);
|
|
24
|
+
const borderLeft = createBorderStyle('borderLeft', borderTransform);
|
|
25
|
+
const borderColor = createBorderStyle('borderColor');
|
|
26
|
+
const borderTopColor = createBorderStyle('borderTopColor');
|
|
27
|
+
const borderRightColor = createBorderStyle('borderRightColor');
|
|
28
|
+
const borderBottomColor = createBorderStyle('borderBottomColor');
|
|
29
|
+
const borderLeftColor = createBorderStyle('borderLeftColor');
|
|
30
|
+
const outline = createBorderStyle('outline', borderTransform);
|
|
31
|
+
const outlineColor = createBorderStyle('outlineColor');
|
|
32
|
+
|
|
33
|
+
// false positive
|
|
34
|
+
// eslint-disable-next-line react/function-component-definition
|
|
35
|
+
const borderRadius = props => {
|
|
36
|
+
if (props.borderRadius !== undefined && props.borderRadius !== null) {
|
|
37
|
+
const transformer = createUnaryUnit(props.theme, 'shape.borderRadius', 4, 'borderRadius');
|
|
38
|
+
const styleFromPropValue = propValue => ({
|
|
39
|
+
borderRadius: getValue(transformer, propValue)
|
|
40
|
+
});
|
|
41
|
+
return handleBreakpoints(props, props.borderRadius, styleFromPropValue);
|
|
42
|
+
}
|
|
43
|
+
return null;
|
|
44
|
+
};
|
|
45
|
+
borderRadius.propTypes = {
|
|
46
|
+
borderRadius: responsivePropType
|
|
47
|
+
} ;
|
|
48
|
+
borderRadius.filterProps = ['borderRadius'];
|
|
49
|
+
compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius, outline, outlineColor);
|
|
50
|
+
|
|
51
|
+
export { border, borderBottom, borderBottomColor, borderColor, borderLeft, borderLeftColor, borderRadius, borderRight, borderRightColor, borderTop, borderTopColor, borderTransform, outline, outlineColor };
|
|
52
|
+
//# sourceMappingURL=borders.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"borders.js","sources":["../../../../../node_modules/@mui/system/esm/borders.js"],"sourcesContent":["import responsivePropType from './responsivePropType';\nimport style from './style';\nimport compose from './compose';\nimport { createUnaryUnit, getValue } from './spacing';\nimport { handleBreakpoints } from './breakpoints';\nexport function borderTransform(value) {\n if (typeof value !== 'number') {\n return value;\n }\n return `${value}px solid`;\n}\nfunction createBorderStyle(prop, transform) {\n return style({\n prop,\n themeKey: 'borders',\n transform\n });\n}\nexport const border = createBorderStyle('border', borderTransform);\nexport const borderTop = createBorderStyle('borderTop', borderTransform);\nexport const borderRight = createBorderStyle('borderRight', borderTransform);\nexport const borderBottom = createBorderStyle('borderBottom', borderTransform);\nexport const borderLeft = createBorderStyle('borderLeft', borderTransform);\nexport const borderColor = createBorderStyle('borderColor');\nexport const borderTopColor = createBorderStyle('borderTopColor');\nexport const borderRightColor = createBorderStyle('borderRightColor');\nexport const borderBottomColor = createBorderStyle('borderBottomColor');\nexport const borderLeftColor = createBorderStyle('borderLeftColor');\nexport const outline = createBorderStyle('outline', borderTransform);\nexport const outlineColor = createBorderStyle('outlineColor');\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const borderRadius = props => {\n if (props.borderRadius !== undefined && props.borderRadius !== null) {\n const transformer = createUnaryUnit(props.theme, 'shape.borderRadius', 4, 'borderRadius');\n const styleFromPropValue = propValue => ({\n borderRadius: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.borderRadius, styleFromPropValue);\n }\n return null;\n};\nborderRadius.propTypes = process.env.NODE_ENV !== 'production' ? {\n borderRadius: responsivePropType\n} : {};\nborderRadius.filterProps = ['borderRadius'];\nconst borders = compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius, outline, outlineColor);\nexport default borders;"],"names":["borderTransform","value","createBorderStyle","prop","transform","style","themeKey","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outline","outlineColor","borderRadius","props","undefined","transformer","createUnaryUnit","theme","styleFromPropValue","propValue","getValue","handle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S,IAAID,KAAK,CAACD,YAAY,KAAK,IAAI,EAAE;AACnE,IAAA,MAAMG,WAAW,GAAGC,eAAe,CAACH,KAAK,CAACI,KAAK,EAAE,oBAAoB,EAAE,CAAC,EAAE,cAAc,CAAC,CAAA;IACzF,MAAMC,kBAAkB,GAAGC,SAAS,KAAK;AACvCP,MAAAA,YAAY,EAAEQ,QAAQ,CAACL,WAAW,EAAEI,SAAS,CAAA;AAC/C,KAAC,CAAC,CAAA;IACF,OAAOE,iBAAiB,CAACR,KAAK,EAAEA,KAAK,CAACD,YAAY,EAAEM,kBAAkB,CAAC,CAAA;AACzE,GAAA;AACA,EAAA,OAAO,IAAI,CAAA;AACb,EAAC;AACDN,YAAY,CAACU,SAAS,GAA2C;AAC/DV,EAAAA,YAAY,EAAEW,kBAAAA;AAChB,CAAC,CAAK,CAAA;AACNX,YAAY,CAACY,WAAW,GAAG,CAAC,cAAc,CAAC,CAAA;AAC3BC,OAAO,CAACzB,MAAM,EAAEC,SAAS,EAAEC,WAAW,EAAEC,YAAY,EAAEC,UAAU,EAAEC,WAAW,EAAEC,cAAc,EAAEC,gBAAgB,EAAEC,iBAAiB,EAAEC,eAAe,EAAEG,YAAY,EAAEF,OAAO,EAAEC,YAAY;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import 'prop-types';
|
|
2
|
+
|
|
3
|
+
// The breakpoint **start** at this value.
|
|
4
|
+
// For instance with the first breakpoint xs: [xs, sm[.
|
|
5
|
+
const values = {
|
|
6
|
+
xs: 0,
|
|
7
|
+
// phone
|
|
8
|
+
sm: 600,
|
|
9
|
+
// tablet
|
|
10
|
+
md: 900,
|
|
11
|
+
// small laptop
|
|
12
|
+
lg: 1200,
|
|
13
|
+
// desktop
|
|
14
|
+
xl: 1536 // large screen
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
const defaultBreakpoints = {
|
|
18
|
+
// Sorted ASC by size. That's important.
|
|
19
|
+
// It can't be configured as it's used statically for propTypes.
|
|
20
|
+
keys: ['xs', 'sm', 'md', 'lg', 'xl'],
|
|
21
|
+
up: key => `@media (min-width:${values[key]}px)`
|
|
22
|
+
};
|
|
23
|
+
function handleBreakpoints(props, propValue, styleFromPropValue) {
|
|
24
|
+
const theme = props.theme || {};
|
|
25
|
+
if (Array.isArray(propValue)) {
|
|
26
|
+
const themeBreakpoints = theme.breakpoints || defaultBreakpoints;
|
|
27
|
+
return propValue.reduce((acc, item, index) => {
|
|
28
|
+
acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]);
|
|
29
|
+
return acc;
|
|
30
|
+
}, {});
|
|
31
|
+
}
|
|
32
|
+
if (typeof propValue === 'object') {
|
|
33
|
+
const themeBreakpoints = theme.breakpoints || defaultBreakpoints;
|
|
34
|
+
return Object.keys(propValue).reduce((acc, breakpoint) => {
|
|
35
|
+
// key is breakpoint
|
|
36
|
+
if (Object.keys(themeBreakpoints.values || values).indexOf(breakpoint) !== -1) {
|
|
37
|
+
const mediaKey = themeBreakpoints.up(breakpoint);
|
|
38
|
+
acc[mediaKey] = styleFromPropValue(propValue[breakpoint], breakpoint);
|
|
39
|
+
} else {
|
|
40
|
+
const cssKey = breakpoint;
|
|
41
|
+
acc[cssKey] = propValue[cssKey];
|
|
42
|
+
}
|
|
43
|
+
return acc;
|
|
44
|
+
}, {});
|
|
45
|
+
}
|
|
46
|
+
const output = styleFromPropValue(propValue);
|
|
47
|
+
return output;
|
|
48
|
+
}
|
|
49
|
+
function createEmptyBreakpointObject(breakpointsInput = {}) {
|
|
50
|
+
var _breakpointsInput$key;
|
|
51
|
+
const breakpointsInOrder = (_breakpointsInput$key = breakpointsInput.keys) == null ? void 0 : _breakpointsInput$key.reduce((acc, key) => {
|
|
52
|
+
const breakpointStyleKey = breakpointsInput.up(key);
|
|
53
|
+
acc[breakpointStyleKey] = {};
|
|
54
|
+
return acc;
|
|
55
|
+
}, {});
|
|
56
|
+
return breakpointsInOrder || {};
|
|
57
|
+
}
|
|
58
|
+
function removeUnusedBreakpoints(breakpointKeys, style) {
|
|
59
|
+
return breakpointKeys.reduce((acc, key) => {
|
|
60
|
+
const breakpointOutput = acc[key];
|
|
61
|
+
const isBreakpointUnused = !breakpointOutput || Object.keys(breakpointOutput).length === 0;
|
|
62
|
+
if (isBreakpointUnused) {
|
|
63
|
+
delete acc[key];
|
|
64
|
+
}
|
|
65
|
+
return acc;
|
|
66
|
+
}, style);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export { createEmptyBreakpointObject, handleBreakpoints, removeUnusedBreakpoints, values };
|
|
70
|
+
//# sourceMappingURL=breakpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breakpoints.js","sources":["../../../../../node_modules/@mui/system/esm/breakpoints.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport PropTypes from 'prop-types';\nimport deepmerge from '@mui/utils/deepmerge';\nimport merge from './merge';\n\n// The breakpoint **start** at this value.\n// For instance with the first breakpoint xs: [xs, sm[.\nexport const values = {\n xs: 0,\n // phone\n sm: 600,\n // tablet\n md: 900,\n // small laptop\n lg: 1200,\n // desktop\n xl: 1536 // large screen\n};\nconst defaultBreakpoints = {\n // Sorted ASC by size. That's important.\n // It can't be configured as it's used statically for propTypes.\n keys: ['xs', 'sm', 'md', 'lg', 'xl'],\n up: key => `@media (min-width:${values[key]}px)`\n};\nexport function handleBreakpoints(props, propValue, styleFromPropValue) {\n const theme = props.theme || {};\n if (Array.isArray(propValue)) {\n const themeBreakpoints = theme.breakpoints || defaultBreakpoints;\n return propValue.reduce((acc, item, index) => {\n acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]);\n return acc;\n }, {});\n }\n if (typeof propValue === 'object') {\n const themeBreakpoints = theme.breakpoints || defaultBreakpoints;\n return Object.keys(propValue).reduce((acc, breakpoint) => {\n // key is breakpoint\n if (Object.keys(themeBreakpoints.values || values).indexOf(breakpoint) !== -1) {\n const mediaKey = themeBreakpoints.up(breakpoint);\n acc[mediaKey] = styleFromPropValue(propValue[breakpoint], breakpoint);\n } else {\n const cssKey = breakpoint;\n acc[cssKey] = propValue[cssKey];\n }\n return acc;\n }, {});\n }\n const output = styleFromPropValue(propValue);\n return output;\n}\nfunction breakpoints(styleFunction) {\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const newStyleFunction = props => {\n const theme = props.theme || {};\n const base = styleFunction(props);\n const themeBreakpoints = theme.breakpoints || defaultBreakpoints;\n const extended = themeBreakpoints.keys.reduce((acc, key) => {\n if (props[key]) {\n acc = acc || {};\n acc[themeBreakpoints.up(key)] = styleFunction(_extends({\n theme\n }, props[key]));\n }\n return acc;\n }, null);\n return merge(base, extended);\n };\n newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? _extends({}, styleFunction.propTypes, {\n xs: PropTypes.object,\n sm: PropTypes.object,\n md: PropTypes.object,\n lg: PropTypes.object,\n xl: PropTypes.object\n }) : {};\n newStyleFunction.filterProps = ['xs', 'sm', 'md', 'lg', 'xl', ...styleFunction.filterProps];\n return newStyleFunction;\n}\nexport function createEmptyBreakpointObject(breakpointsInput = {}) {\n var _breakpointsInput$key;\n const breakpointsInOrder = (_breakpointsInput$key = breakpointsInput.keys) == null ? void 0 : _breakpointsInput$key.reduce((acc, key) => {\n const breakpointStyleKey = breakpointsInput.up(key);\n acc[breakpointStyleKey] = {};\n return acc;\n }, {});\n return breakpointsInOrder || {};\n}\nexport function removeUnusedBreakpoints(breakpointKeys, style) {\n return breakpointKeys.reduce((acc, key) => {\n const breakpointOutput = acc[key];\n const isBreakpointUnused = !breakpointOutput || Object.keys(breakpointOutput).length === 0;\n if (isBreakpointUnused) {\n delete acc[key];\n }\n return acc;\n }, style);\n}\nexport function mergeBreakpointsInOrder(breakpointsInput, ...styles) {\n const emptyBreakpoints = createEmptyBreakpointObject(breakpointsInput);\n const mergedOutput = [emptyBreakpoints, ...styles].reduce((prev, next) => deepmerge(prev, next), {});\n return removeUnusedBreakpoints(Object.keys(emptyBreakpoints), mergedOutput);\n}\n\n// compute base for responsive values; e.g.,\n// [1,2,3] => {xs: true, sm: true, md: true}\n// {xs: 1, sm: 2, md: 3} => {xs: true, sm: true, md: true}\nexport function computeBreakpointsBase(breakpointValues, themeBreakpoints) {\n // fixed value\n if (typeof breakpointValues !== 'object') {\n return {};\n }\n const base = {};\n const breakpointsKeys = Object.keys(themeBreakpoints);\n if (Array.isArray(breakpointValues)) {\n breakpointsKeys.forEach((breakpoint, i) => {\n if (i < breakpointValues.length) {\n base[breakpoint] = true;\n }\n });\n } else {\n breakpointsKeys.forEach(breakpoint => {\n if (breakpointValues[breakpoint] != null) {\n base[breakpoint] = true;\n }\n });\n }\n return base;\n}\nexport function resolveBreakpointValues({\n values: breakpointValues,\n breakpoints: themeBreakpoints,\n base: customBase\n}) {\n const base = customBase || computeBreakpointsBase(breakpointValues, themeBreakpoints);\n const keys = Object.keys(base);\n if (keys.length === 0) {\n return breakpointValues;\n }\n let previous;\n return keys.reduce((acc, breakpoint, i) => {\n if (Array.isArray(breakpointValues)) {\n acc[breakpoint] = breakpointValues[i] != null ? breakpointValues[i] : breakpointValues[previous];\n previous = i;\n } else if (typeof breakpointValues === 'object') {\n acc[breakpoint] = breakpointValues[breakpoint] != null ? breakpointValues[breakpoint] : breakpointValues[previous];\n previous = breakpoint;\n } else {\n acc[breakpoint] = breakpointValues;\n }\n return acc;\n }, {});\n}\nexport default breakpoints;"],"names":["values","xs","sm","md","lg","xl","defaultBreakpoints","keys","up","key","handleBreakpoints","props","propValue","styleFromPropValue","theme","Array","isArray","themeBreakpoints","breakpoints","reduce","acc","item","index","Object","breakpoint","indexOf","mediaKey","cssKey","output","createEmptyBreakpointObject","breakpointsInput","_breakpointsInput$key","breakpointsInOrder","breakpointStyleKey","removeUnusedBreakpoints","breakpointKeys","style","breakpointOutput","isBreakpointUnused","length"],"mappings":";;AAKA;AACA;AACO,MAAMA,MAAM,GAAG;AACpB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AAc,CAAChB,MAAM,CAAC,CAACC,GAAG,EAAEX,GAAG,KAAK;AACzC,IAAA,MAAM4B,gBAAgB,GAAGjB,GAAG,CAACX,GAAG,CAAC,CAAA;AACjC,IAAA,MAAM6B,kBAAkB,GAAG,CAACD,gBAAgB,IAAId,MAAM,CAAChB,IAAI,CAAC8B,gBAAgB,CAAC,CAACE,MAAM,KAAK,CAAC,CAAA;AAC1F,IAAA,IAAID,kBAAkB,EAAE;MACtB,OAAOlB,GAAG,CAACX,GAAG,CAAC,CAAA;AACjB,KAAA;AACA,IAAA,OAAOW,GAAG,CAAA;GACX,EAAEgB,KAAK,CAAC,CAAA;AACX;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import merge from './merge.js';
|
|
2
|
+
|
|
3
|
+
function compose(...styles) {
|
|
4
|
+
const handlers = styles.reduce((acc, style) => {
|
|
5
|
+
style.filterProps.forEach(prop => {
|
|
6
|
+
acc[prop] = style;
|
|
7
|
+
});
|
|
8
|
+
return acc;
|
|
9
|
+
}, {});
|
|
10
|
+
|
|
11
|
+
// false positive
|
|
12
|
+
// eslint-disable-next-line react/function-component-definition
|
|
13
|
+
const fn = props => {
|
|
14
|
+
return Object.keys(props).reduce((acc, prop) => {
|
|
15
|
+
if (handlers[prop]) {
|
|
16
|
+
return merge(acc, handlers[prop](props));
|
|
17
|
+
}
|
|
18
|
+
return acc;
|
|
19
|
+
}, {});
|
|
20
|
+
};
|
|
21
|
+
fn.propTypes = styles.reduce((acc, style) => Object.assign(acc, style.propTypes), {}) ;
|
|
22
|
+
fn.filterProps = styles.reduce((acc, style) => acc.concat(style.filterProps), []);
|
|
23
|
+
return fn;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { compose as default };
|
|
27
|
+
//# sourceMappingURL=compose.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compose.js","sources":["../../../../../node_modules/@mui/system/esm/compose.js"],"sourcesContent":["import merge from './merge';\nfunction compose(...styles) {\n const handlers = styles.reduce((acc, style) => {\n style.filterProps.forEach(prop => {\n acc[prop] = style;\n });\n return acc;\n }, {});\n\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const fn = props => {\n return Object.keys(props).reduce((acc, prop) => {\n if (handlers[prop]) {\n return merge(acc, handlers[prop](props));\n }\n return acc;\n }, {});\n };\n fn.propTypes = process.env.NODE_ENV !== 'production' ? styles.reduce((acc, style) => Object.assign(acc, style.propTypes), {}) : {};\n fn.filterProps = styles.reduce((acc, style) => acc.concat(style.filterProps), []);\n return fn;\n}\nexport default compose;"],"names":["compose","styles","handlers","reduce","acc","style","filterProps","forEach","prop","fn","props","Object","keys","merge","propTypes","assign","concat"],"mappings":";;AACA,SAASA,OAAOA,CAAC,GAAGC,MAAM,EAAE;EAC1B,MAAMC,QAAQ,GAAGD,MAAM,CAACE,MAAM,CAAC,CAACC,GAAG,EAAEC,KAAK,KAAK;AAC7CA,IAAAA,KAAK,CAACC,WAAW,CAACC,OAAO,CAACC,IAAI,IAAI;AAChCJ,MAAAA,GAAG,CAACI,IAAI,CAAC,GAAGH,KAAK,CAAA;AACnB,KAAC,CAAC,CAAA;AACF,IAAA,OAAOD,GAAG,CAAA;GACX,EAAE,EAAE,CAAC,CAAA;;AAEN;AACA;EACA,MAAMK,EAAE,GAAGC,KAAK,IAAI;AAClB,IAAA,OAAOC,MAAM,CAACC,IAAI,CAACF,KAAK,CAAC,CAACP,MAAM,CAAC,CAACC,GAAG,EAAEI,IAAI,KAAK;AAC9C,MAAA,IAAIN,QAAQ,CAACM,IAAI,CAAC,EAAE;QAClB,OAAOK,KAAK,CAACT,GAAG,EAAEF,QAAQ,CAACM,IAAI,CAAC,CAACE,KAAK,CAAC,CAAC,CAAA;AAC1C,OAAA;AACA,MAAA,OAAON,GAAG,CAAA;KACX,EAAE,EAAE,CAAC,CAAA;GACP,CAAA;AACDK,EAAAA,EAAE,CAACK,SAAS,GAA2Cb,MAAM,CAACE,MAAM,CAAC,CAACC,GAAG,EAAEC,KAAK,KAAKM,MAAM,CAACI,MAAM,CAACX,GAAG,EAAEC,KAAK,CAACS,SAAS,CAAC,EAAE,EAAE,CAAC,CAAK,CAAA;EAClIL,EAAE,CAACH,WAAW,GAAGL,MAAM,CAACE,MAAM,CAAC,CAACC,GAAG,EAAEC,KAAK,KAAKD,GAAG,CAACY,MAAM,CAACX,KAAK,CAACC,WAAW,CAAC,EAAE,EAAE,CAAC,CAAA;AACjF,EAAA,OAAOG,EAAE,CAAA;AACX;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A universal utility to style components with multiple color modes. Always use it from the theme object.
|
|
3
|
+
* It works with:
|
|
4
|
+
* - [Basic theme](https://mui.com/material-ui/customization/dark-mode/)
|
|
5
|
+
* - [CSS theme variables](https://mui.com/material-ui/experimental-api/css-theme-variables/overview/)
|
|
6
|
+
* - Zero-runtime engine
|
|
7
|
+
*
|
|
8
|
+
* Tips: Use an array over object spread and place `theme.applyStyles()` last.
|
|
9
|
+
*
|
|
10
|
+
* ✅ [{ background: '#e5e5e5' }, theme.applyStyles('dark', { background: '#1c1c1c' })]
|
|
11
|
+
*
|
|
12
|
+
* 🚫 { background: '#e5e5e5', ...theme.applyStyles('dark', { background: '#1c1c1c' })}
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* 1. using with `styled`:
|
|
16
|
+
* ```jsx
|
|
17
|
+
* const Component = styled('div')(({ theme }) => [
|
|
18
|
+
* { background: '#e5e5e5' },
|
|
19
|
+
* theme.applyStyles('dark', {
|
|
20
|
+
* background: '#1c1c1c',
|
|
21
|
+
* color: '#fff',
|
|
22
|
+
* }),
|
|
23
|
+
* ]);
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 2. using with `sx` prop:
|
|
28
|
+
* ```jsx
|
|
29
|
+
* <Box sx={theme => [
|
|
30
|
+
* { background: '#e5e5e5' },
|
|
31
|
+
* theme.applyStyles('dark', {
|
|
32
|
+
* background: '#1c1c1c',
|
|
33
|
+
* color: '#fff',
|
|
34
|
+
* }),
|
|
35
|
+
* ]}
|
|
36
|
+
* />
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* 3. theming a component:
|
|
41
|
+
* ```jsx
|
|
42
|
+
* extendTheme({
|
|
43
|
+
* components: {
|
|
44
|
+
* MuiButton: {
|
|
45
|
+
* styleOverrides: {
|
|
46
|
+
* root: ({ theme }) => [
|
|
47
|
+
* { background: '#e5e5e5' },
|
|
48
|
+
* theme.applyStyles('dark', {
|
|
49
|
+
* background: '#1c1c1c',
|
|
50
|
+
* color: '#fff',
|
|
51
|
+
* }),
|
|
52
|
+
* ],
|
|
53
|
+
* },
|
|
54
|
+
* }
|
|
55
|
+
* }
|
|
56
|
+
* })
|
|
57
|
+
*```
|
|
58
|
+
*/
|
|
59
|
+
function applyStyles(key, styles) {
|
|
60
|
+
// @ts-expect-error this is 'any' type
|
|
61
|
+
const theme = this;
|
|
62
|
+
if (theme.vars && typeof theme.getColorSchemeSelector === 'function') {
|
|
63
|
+
// If CssVarsProvider is used as a provider,
|
|
64
|
+
// returns '* :where([data-mui-color-scheme="light|dark"]) &'
|
|
65
|
+
const selector = theme.getColorSchemeSelector(key).replace(/(\[[^\]]+\])/, '*:where($1)');
|
|
66
|
+
return {
|
|
67
|
+
[selector]: styles
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
if (theme.palette.mode === key) {
|
|
71
|
+
return styles;
|
|
72
|
+
}
|
|
73
|
+
return {};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export { applyStyles as default };
|
|
77
|
+
//# sourceMappingURL=applyStyles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applyStyles.js","sources":["../../../../../../node_modules/@mui/system/esm/createTheme/applyStyles.js"],"sourcesContent":["/**\n * A universal utility to style components with multiple color modes. Always use it from the theme object.\n * It works with:\n * - [Basic theme](https://mui.com/material-ui/customization/dark-mode/)\n * - [CSS theme variables](https://mui.com/material-ui/experimental-api/css-theme-variables/overview/)\n * - Zero-runtime engine\n *\n * Tips: Use an array over object spread and place `theme.applyStyles()` last.\n *\n * ✅ [{ background: '#e5e5e5' }, theme.applyStyles('dark', { background: '#1c1c1c' })]\n *\n * 🚫 { background: '#e5e5e5', ...theme.applyStyles('dark', { background: '#1c1c1c' })}\n *\n * @example\n * 1. using with `styled`:\n * ```jsx\n * const Component = styled('div')(({ theme }) => [\n * { background: '#e5e5e5' },\n * theme.applyStyles('dark', {\n * background: '#1c1c1c',\n * color: '#fff',\n * }),\n * ]);\n * ```\n *\n * @example\n * 2. using with `sx` prop:\n * ```jsx\n * <Box sx={theme => [\n * { background: '#e5e5e5' },\n * theme.applyStyles('dark', {\n * background: '#1c1c1c',\n * color: '#fff',\n * }),\n * ]}\n * />\n * ```\n *\n * @example\n * 3. theming a component:\n * ```jsx\n * extendTheme({\n * components: {\n * MuiButton: {\n * styleOverrides: {\n * root: ({ theme }) => [\n * { background: '#e5e5e5' },\n * theme.applyStyles('dark', {\n * background: '#1c1c1c',\n * color: '#fff',\n * }),\n * ],\n * },\n * }\n * }\n * })\n *```\n */\nexport default function applyStyles(key, styles) {\n // @ts-expect-error this is 'any' type\n const theme = this;\n if (theme.vars && typeof theme.getColorSchemeSelector === 'function') {\n // If CssVarsProvider is used as a provider,\n // returns '* :where([data-mui-color-scheme=\"light|dark\"]) &'\n const selector = theme.getColorSchemeSelector(key).replace(/(\\[[^\\]]+\\])/, '*:where($1)');\n return {\n [selector]: styles\n };\n }\n if (theme.palette.mode === key) {\n return styles;\n }\n return {};\n}"],"names":["applyStyles","key","styles","theme","vars","getColorSchemeSelector","selector","replace","palette","mode"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAASA,WAAWA,CAACC,GAAG,EAAEC,MAAM,EAAE;AAC/C;EACA,MAAMC,KAAK,GAAG,IAAI,CAAA;EAClB,IAAIA,KAAK,CAACC,IAAI,IAAI,OAAOD,KAAK,CAACE,sBAAsB,KAAK,UAAU,EAAE;AACpE;AACA;AACA,IAAA,MAAMC,QAAQ,GAAGH,KAAK,CAACE,sBAAsB,CAACJ,GAAG,CAAC,CAACM,OAAO,CAAC,cAAc,EAAE,aAAa,CAAC,CAAA;IACzF,OAAO;AACL,MAAA,CAACD,QAAQ,GAAGJ,MAAAA;KACb,CAAA;AACH,GAAA;AACA,EAAA,IAAIC,KAAK,CAACK,OAAO,CAACC,IAAI,KAAKR,GAAG,EAAE;AAC9B,IAAA,OAAOC,MAAM,CAAA;AACf,GAAA;AACA,EAAA,OAAO,EAAE,CAAA;AACX;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import _objectWithoutPropertiesLoose from '../../../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js';
|
|
2
|
+
import _extends from '../../../../@babel/runtime/helpers/esm/extends.js';
|
|
3
|
+
|
|
4
|
+
const _excluded = ["values", "unit", "step"];
|
|
5
|
+
const sortBreakpointsValues = values => {
|
|
6
|
+
const breakpointsAsArray = Object.keys(values).map(key => ({
|
|
7
|
+
key,
|
|
8
|
+
val: values[key]
|
|
9
|
+
})) || [];
|
|
10
|
+
// Sort in ascending order
|
|
11
|
+
breakpointsAsArray.sort((breakpoint1, breakpoint2) => breakpoint1.val - breakpoint2.val);
|
|
12
|
+
return breakpointsAsArray.reduce((acc, obj) => {
|
|
13
|
+
return _extends({}, acc, {
|
|
14
|
+
[obj.key]: obj.val
|
|
15
|
+
});
|
|
16
|
+
}, {});
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
// Keep in mind that @media is inclusive by the CSS specification.
|
|
20
|
+
function createBreakpoints(breakpoints) {
|
|
21
|
+
const {
|
|
22
|
+
// The breakpoint **start** at this value.
|
|
23
|
+
// For instance with the first breakpoint xs: [xs, sm).
|
|
24
|
+
values = {
|
|
25
|
+
xs: 0,
|
|
26
|
+
// phone
|
|
27
|
+
sm: 600,
|
|
28
|
+
// tablet
|
|
29
|
+
md: 900,
|
|
30
|
+
// small laptop
|
|
31
|
+
lg: 1200,
|
|
32
|
+
// desktop
|
|
33
|
+
xl: 1536 // large screen
|
|
34
|
+
},
|
|
35
|
+
|
|
36
|
+
unit = 'px',
|
|
37
|
+
step = 5
|
|
38
|
+
} = breakpoints,
|
|
39
|
+
other = _objectWithoutPropertiesLoose(breakpoints, _excluded);
|
|
40
|
+
const sortedValues = sortBreakpointsValues(values);
|
|
41
|
+
const keys = Object.keys(sortedValues);
|
|
42
|
+
function up(key) {
|
|
43
|
+
const value = typeof values[key] === 'number' ? values[key] : key;
|
|
44
|
+
return `@media (min-width:${value}${unit})`;
|
|
45
|
+
}
|
|
46
|
+
function down(key) {
|
|
47
|
+
const value = typeof values[key] === 'number' ? values[key] : key;
|
|
48
|
+
return `@media (max-width:${value - step / 100}${unit})`;
|
|
49
|
+
}
|
|
50
|
+
function between(start, end) {
|
|
51
|
+
const endIndex = keys.indexOf(end);
|
|
52
|
+
return `@media (min-width:${typeof values[start] === 'number' ? values[start] : start}${unit}) and ` + `(max-width:${(endIndex !== -1 && typeof values[keys[endIndex]] === 'number' ? values[keys[endIndex]] : end) - step / 100}${unit})`;
|
|
53
|
+
}
|
|
54
|
+
function only(key) {
|
|
55
|
+
if (keys.indexOf(key) + 1 < keys.length) {
|
|
56
|
+
return between(key, keys[keys.indexOf(key) + 1]);
|
|
57
|
+
}
|
|
58
|
+
return up(key);
|
|
59
|
+
}
|
|
60
|
+
function not(key) {
|
|
61
|
+
// handle first and last key separately, for better readability
|
|
62
|
+
const keyIndex = keys.indexOf(key);
|
|
63
|
+
if (keyIndex === 0) {
|
|
64
|
+
return up(keys[1]);
|
|
65
|
+
}
|
|
66
|
+
if (keyIndex === keys.length - 1) {
|
|
67
|
+
return down(keys[keyIndex]);
|
|
68
|
+
}
|
|
69
|
+
return between(key, keys[keys.indexOf(key) + 1]).replace('@media', '@media not all and');
|
|
70
|
+
}
|
|
71
|
+
return _extends({
|
|
72
|
+
keys,
|
|
73
|
+
values: sortedValues,
|
|
74
|
+
up,
|
|
75
|
+
down,
|
|
76
|
+
between,
|
|
77
|
+
only,
|
|
78
|
+
not,
|
|
79
|
+
unit
|
|
80
|
+
}, other);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export { createBreakpoints as default };
|
|
84
|
+
//# sourceMappingURL=createBreakpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createBreakpoints.js","sources":["../../../../../../node_modules/@mui/system/esm/createTheme/createBreakpoints.js"],"sourcesContent":["import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"values\", \"unit\", \"step\"];\n// Sorted ASC by size. That's important.\n// It can't be configured as it's used statically for propTypes.\nexport const breakpointKeys = ['xs', 'sm', 'md', 'lg', 'xl'];\nconst sortBreakpointsValues = values => {\n const breakpointsAsArray = Object.keys(values).map(key => ({\n key,\n val: values[key]\n })) || [];\n // Sort in ascending order\n breakpointsAsArray.sort((breakpoint1, breakpoint2) => breakpoint1.val - breakpoint2.val);\n return breakpointsAsArray.reduce((acc, obj) => {\n return _extends({}, acc, {\n [obj.key]: obj.val\n });\n }, {});\n};\n\n// Keep in mind that @media is inclusive by the CSS specification.\nexport default function createBreakpoints(breakpoints) {\n const {\n // The breakpoint **start** at this value.\n // For instance with the first breakpoint xs: [xs, sm).\n values = {\n xs: 0,\n // phone\n sm: 600,\n // tablet\n md: 900,\n // small laptop\n lg: 1200,\n // desktop\n xl: 1536 // large screen\n },\n unit = 'px',\n step = 5\n } = breakpoints,\n other = _objectWithoutPropertiesLoose(breakpoints, _excluded);\n const sortedValues = sortBreakpointsValues(values);\n const keys = Object.keys(sortedValues);\n function up(key) {\n const value = typeof values[key] === 'number' ? values[key] : key;\n return `@media (min-width:${value}${unit})`;\n }\n function down(key) {\n const value = typeof values[key] === 'number' ? values[key] : key;\n return `@media (max-width:${value - step / 100}${unit})`;\n }\n function between(start, end) {\n const endIndex = keys.indexOf(end);\n return `@media (min-width:${typeof values[start] === 'number' ? values[start] : start}${unit}) and ` + `(max-width:${(endIndex !== -1 && typeof values[keys[endIndex]] === 'number' ? values[keys[endIndex]] : end) - step / 100}${unit})`;\n }\n function only(key) {\n if (keys.indexOf(key) + 1 < keys.length) {\n return between(key, keys[keys.indexOf(key) + 1]);\n }\n return up(key);\n }\n function not(key) {\n // handle first and last key separately, for better readability\n const keyIndex = keys.indexOf(key);\n if (keyIndex === 0) {\n return up(keys[1]);\n }\n if (keyIndex === keys.length - 1) {\n return down(keys[keyIndex]);\n }\n return between(key, keys[keys.indexOf(key) + 1]).replace('@media', '@media not all and');\n }\n return _extends({\n keys,\n values: sortedValues,\n up,\n down,\n between,\n only,\n not,\n unit\n }, other);\n}"],"names":["_excluded","sortBreakpointsValues","values","breakpointsAsArray","Object","keys","map","key","val","sort","breakpoint1","breakpoint2","reduce","acc","obj","_extends","createBreakpoints","breakpoints","xs","sm","md","lg","xl","unit","step","other","_objectWithoutPropertiesLoose","sortedValues","up","value","down","between","start","end","endIndex","indexOf","only","length","not","keyIndex","replace"],"mappings":";;;AAEA,MAAMA,SAAS,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,CAAA;AAI5C,MAAMC,qBAAqB,GAAGC,MAAM,IAAI;AACtC,EAAA,MAAMC,kBAAkB,GAAGC,MAAM,CAACC,IAAI,CAACH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5B,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;AAClD,KAAA;IACA,OAAOqB,EAAE,CAACrB,GAAG,CAAC,CAAA;AAChB,GAAA;EACA,SAAS+B,GAAGA,CAAC/B,GAAG,EAAE;AAChB;AACA,IAAA,MAAMgC,QAAQ,GAAGlC,IAAI,CAAC8B,OAAO,CAAC5B,GAAG,CAAC,CAAA;IAClC,IAAIgC,QAAQ,KAAK,CAAC,EAAE;AAClB,MAAA,OAAOX,EAAE,CAACvB,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;AACpB,KAAA;AACA,IAAA,IAAIkC,QAAQ,KAAKlC,IAAI,CAACgC,MAAM,GAAG,CAAC,EAAE;AAChC,MAAA,OAAOP,IAAI,CAACzB,IAAI,CAACkC,QAAQ,CAAC,CAAC,CAAA;AAC7B,KAAA;IACA,OAAOR,OAAO,CAACxB,GAAG,EAAEF,IAAI,CAACA,IAAI,CAAC8B,OAAO,CAAC5B,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAACiC,OAAO,CAAC,QAAQ,EAAE,oBAAoB,CAAC,CAAA;AAC1F,GAAA;AACA,EAAA,OAAOzB,QAAQ,CAAC;IACdV,IAAI;AACJH,IAAAA,MAAM,EAAEyB,YAAY;IACpBC,EAAE;IACFE,IAAI;IACJC,OAAO;IACPK,IAAI;IACJE,GAAG;AACHf,IAAAA,IAAAA;GACD,EAAEE,KAAK,CAAC,CAAA;AACX;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { createUnarySpacing } from '../spacing.js';
|
|
2
|
+
|
|
3
|
+
// The different signatures imply different meaning for their arguments that can't be expressed structurally.
|
|
4
|
+
// We express the difference with variable names.
|
|
5
|
+
|
|
6
|
+
function createSpacing(spacingInput = 8) {
|
|
7
|
+
// Already transformed.
|
|
8
|
+
if (spacingInput.mui) {
|
|
9
|
+
return spacingInput;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// Material Design layouts are visually balanced. Most measurements align to an 8dp grid, which aligns both spacing and the overall layout.
|
|
13
|
+
// Smaller components, such as icons, can align to a 4dp grid.
|
|
14
|
+
// https://m2.material.io/design/layout/understanding-layout.html
|
|
15
|
+
const transform = createUnarySpacing({
|
|
16
|
+
spacing: spacingInput
|
|
17
|
+
});
|
|
18
|
+
const spacing = (...argsInput) => {
|
|
19
|
+
{
|
|
20
|
+
if (!(argsInput.length <= 4)) {
|
|
21
|
+
console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${argsInput.length}`);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
const args = argsInput.length === 0 ? [1] : argsInput;
|
|
25
|
+
return args.map(argument => {
|
|
26
|
+
const output = transform(argument);
|
|
27
|
+
return typeof output === 'number' ? `${output}px` : output;
|
|
28
|
+
}).join(' ');
|
|
29
|
+
};
|
|
30
|
+
spacing.mui = true;
|
|
31
|
+
return spacing;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { createSpacing as default };
|
|
35
|
+
//# sourceMappingURL=createSpacing.js.map
|