@sis-cc/dotstatsuite-components 22.0.0 → 22.0.2
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/dist/_virtual/_commonjsHelpers.js +35 -0
- package/dist/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/_virtual/_rollupPluginBabelHelpers.js +12 -0
- package/dist/_virtual/_rollupPluginBabelHelpers.js.map +1 -0
- package/dist/_virtual/colorManipulator.js +6 -0
- package/dist/_virtual/colorManipulator.js.map +1 -0
- package/dist/_virtual/colorManipulator2.js +4 -0
- package/dist/_virtual/colorManipulator2.js.map +1 -0
- package/dist/_virtual/index.js +8 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/index10.js +8 -0
- package/dist/_virtual/index10.js.map +1 -0
- package/dist/_virtual/index11.js +8 -0
- package/dist/_virtual/index11.js.map +1 -0
- package/dist/_virtual/index12.js +8 -0
- package/dist/_virtual/index12.js.map +1 -0
- package/dist/_virtual/index13.js +8 -0
- package/dist/_virtual/index13.js.map +1 -0
- package/dist/_virtual/index14.js +8 -0
- package/dist/_virtual/index14.js.map +1 -0
- package/dist/_virtual/index15.js +8 -0
- package/dist/_virtual/index15.js.map +1 -0
- package/dist/_virtual/index16.js +8 -0
- package/dist/_virtual/index16.js.map +1 -0
- package/dist/_virtual/index17.js +7 -0
- package/dist/_virtual/index17.js.map +1 -0
- package/dist/_virtual/index18.js +7 -0
- package/dist/_virtual/index18.js.map +1 -0
- package/dist/_virtual/index19.js +8 -0
- package/dist/_virtual/index19.js.map +1 -0
- package/dist/_virtual/index2.js +8 -0
- package/dist/_virtual/index2.js.map +1 -0
- package/dist/_virtual/index20.js +4 -0
- package/dist/_virtual/index20.js.map +1 -0
- package/dist/_virtual/index21.js +6 -0
- package/dist/_virtual/index21.js.map +1 -0
- package/dist/_virtual/index22.js +4 -0
- package/dist/_virtual/index22.js.map +1 -0
- package/dist/_virtual/index23.js +4 -0
- package/dist/_virtual/index23.js.map +1 -0
- package/dist/_virtual/index3.js +8 -0
- package/dist/_virtual/index3.js.map +1 -0
- package/dist/_virtual/index4.js +8 -0
- package/dist/_virtual/index4.js.map +1 -0
- package/dist/_virtual/index5.js +8 -0
- package/dist/_virtual/index5.js.map +1 -0
- package/dist/_virtual/index6.js +8 -0
- package/dist/_virtual/index6.js.map +1 -0
- package/dist/_virtual/index7.js +8 -0
- package/dist/_virtual/index7.js.map +1 -0
- package/dist/_virtual/index8.js +8 -0
- package/dist/_virtual/index8.js.map +1 -0
- package/dist/_virtual/index9.js +8 -0
- package/dist/_virtual/index9.js.map +1 -0
- package/dist/_virtual/interopRequireDefault.js +4 -0
- package/dist/_virtual/interopRequireDefault.js.map +1 -0
- package/dist/_virtual/jsx-runtime.js +4 -0
- package/dist/_virtual/jsx-runtime.js.map +1 -0
- package/dist/_virtual/jsx-runtime2.js +6 -0
- package/dist/_virtual/jsx-runtime2.js.map +1 -0
- package/dist/_virtual/react-is.development.js +4 -0
- package/dist/_virtual/react-is.development.js.map +1 -0
- package/dist/_virtual/react-is.development2.js +4 -0
- package/dist/_virtual/react-is.development2.js.map +1 -0
- package/dist/_virtual/react-is.production.js +4 -0
- package/dist/_virtual/react-is.production.js.map +1 -0
- package/dist/_virtual/react-is.production.min.js +4 -0
- package/dist/_virtual/react-is.production.min.js.map +1 -0
- package/dist/_virtual/react-jsx-runtime.development.js +4 -0
- package/dist/_virtual/react-jsx-runtime.development.js.map +1 -0
- package/dist/_virtual/react-jsx-runtime.production.min.js +4 -0
- package/dist/_virtual/react-jsx-runtime.production.min.js.map +1 -0
- package/dist/bridge-d3-react/src/index.js +18 -0
- package/dist/bridge-d3-react/src/index.js.map +1 -0
- package/dist/bridge-d3-react/src/react-chart-factory.js +44 -0
- package/dist/bridge-d3-react/src/react-chart-factory.js.map +1 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +16 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +11 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +15 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/interopRequireDefault.js +20 -0
- package/dist/node_modules/@babel/runtime/helpers/interopRequireDefault.js.map +1 -0
- package/dist/node_modules/@mui/material/colors/blue.js +9 -0
- package/dist/node_modules/@mui/material/colors/blue.js.map +1 -0
- package/dist/node_modules/@mui/material/colors/common.js +7 -0
- package/dist/node_modules/@mui/material/colors/common.js.map +1 -0
- package/dist/node_modules/@mui/material/colors/green.js +10 -0
- package/dist/node_modules/@mui/material/colors/green.js.map +1 -0
- package/dist/node_modules/@mui/material/colors/grey.js +19 -0
- package/dist/node_modules/@mui/material/colors/grey.js.map +1 -0
- package/dist/node_modules/@mui/material/colors/lightBlue.js +9 -0
- package/dist/node_modules/@mui/material/colors/lightBlue.js.map +1 -0
- package/dist/node_modules/@mui/material/colors/orange.js +9 -0
- package/dist/node_modules/@mui/material/colors/orange.js.map +1 -0
- package/dist/node_modules/@mui/material/colors/purple.js +10 -0
- package/dist/node_modules/@mui/material/colors/purple.js.map +1 -0
- package/dist/node_modules/@mui/material/colors/red.js +9 -0
- package/dist/node_modules/@mui/material/colors/red.js.map +1 -0
- package/dist/node_modules/@mui/material/styles/createMixins.js +20 -0
- package/dist/node_modules/@mui/material/styles/createMixins.js.map +1 -0
- package/dist/node_modules/@mui/material/styles/createPalette.js +309 -0
- package/dist/node_modules/@mui/material/styles/createPalette.js.map +1 -0
- package/dist/node_modules/@mui/material/styles/createTheme.js +86 -0
- package/dist/node_modules/@mui/material/styles/createTheme.js.map +1 -0
- package/dist/node_modules/@mui/material/styles/createTransitions.js +92 -0
- package/dist/node_modules/@mui/material/styles/createTransitions.js.map +1 -0
- package/dist/node_modules/@mui/material/styles/createTypography.js +94 -0
- package/dist/node_modules/@mui/material/styles/createTypography.js.map +1 -0
- package/dist/node_modules/@mui/material/styles/defaultTheme.js +6 -0
- package/dist/node_modules/@mui/material/styles/defaultTheme.js.map +1 -0
- package/dist/node_modules/@mui/material/styles/identifier.js +4 -0
- package/dist/node_modules/@mui/material/styles/identifier.js.map +1 -0
- package/dist/node_modules/@mui/material/styles/shadows.js +12 -0
- package/dist/node_modules/@mui/material/styles/shadows.js.map +1 -0
- package/dist/node_modules/@mui/material/styles/useTheme.js +16 -0
- package/dist/node_modules/@mui/material/styles/useTheme.js.map +1 -0
- package/dist/node_modules/@mui/material/styles/zIndex.js +15 -0
- package/dist/node_modules/@mui/material/styles/zIndex.js.map +1 -0
- package/dist/node_modules/@mui/private-theming/ThemeProvider/nested.js +5 -0
- package/dist/node_modules/@mui/private-theming/ThemeProvider/nested.js.map +1 -0
- package/dist/node_modules/@mui/private-theming/useTheme/ThemeContext.js +9 -0
- package/dist/node_modules/@mui/private-theming/useTheme/ThemeContext.js.map +1 -0
- package/dist/node_modules/@mui/private-theming/useTheme/useTheme.js +14 -0
- package/dist/node_modules/@mui/private-theming/useTheme/useTheme.js.map +1 -0
- package/dist/node_modules/@mui/styles/StylesProvider/StylesProvider.js +151 -0
- package/dist/node_modules/@mui/styles/StylesProvider/StylesProvider.js.map +1 -0
- package/dist/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.js +66 -0
- package/dist/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.js.map +1 -0
- package/dist/node_modules/@mui/styles/getStylesCreator/getStylesCreator.js +52 -0
- package/dist/node_modules/@mui/styles/getStylesCreator/getStylesCreator.js.map +1 -0
- package/dist/node_modules/@mui/styles/getStylesCreator/noopTheme.js +5 -0
- package/dist/node_modules/@mui/styles/getStylesCreator/noopTheme.js.map +1 -0
- package/dist/node_modules/@mui/styles/jssPreset/jssPreset.js +21 -0
- package/dist/node_modules/@mui/styles/jssPreset/jssPreset.js.map +1 -0
- package/dist/node_modules/@mui/styles/makeStyles/indexCounter.js +22 -0
- package/dist/node_modules/@mui/styles/makeStyles/indexCounter.js.map +1 -0
- package/dist/node_modules/@mui/styles/makeStyles/makeStyles.js +230 -0
- package/dist/node_modules/@mui/styles/makeStyles/makeStyles.js.map +1 -0
- package/dist/node_modules/@mui/styles/makeStyles/multiKeyStore.js +23 -0
- package/dist/node_modules/@mui/styles/makeStyles/multiKeyStore.js.map +1 -0
- package/dist/node_modules/@mui/styles/mergeClasses/mergeClasses.js +37 -0
- package/dist/node_modules/@mui/styles/mergeClasses/mergeClasses.js.map +1 -0
- package/dist/node_modules/@mui/styles/propsToClassKey/propsToClassKey.js +31 -0
- package/dist/node_modules/@mui/styles/propsToClassKey/propsToClassKey.js.map +1 -0
- package/dist/node_modules/@mui/styles/useTheme/index.js +10 -0
- package/dist/node_modules/@mui/styles/useTheme/index.js.map +1 -0
- package/dist/node_modules/@mui/system/colorManipulator.js +386 -0
- package/dist/node_modules/@mui/system/colorManipulator.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/borders.js +52 -0
- package/dist/node_modules/@mui/system/esm/borders.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/breakpoints.js +67 -0
- package/dist/node_modules/@mui/system/esm/breakpoints.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/compose.js +27 -0
- package/dist/node_modules/@mui/system/esm/compose.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/createTheme/applyStyles.js +77 -0
- package/dist/node_modules/@mui/system/esm/createTheme/applyStyles.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/createTheme/createBreakpoints.js +83 -0
- package/dist/node_modules/@mui/system/esm/createTheme/createBreakpoints.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/createTheme/createSpacing.js +35 -0
- package/dist/node_modules/@mui/system/esm/createTheme/createSpacing.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/createTheme/createTheme.js +46 -0
- package/dist/node_modules/@mui/system/esm/createTheme/createTheme.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/createTheme/shape.js +6 -0
- package/dist/node_modules/@mui/system/esm/createTheme/shape.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/cssGrid.js +87 -0
- package/dist/node_modules/@mui/system/esm/cssGrid.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/memoize.js +12 -0
- package/dist/node_modules/@mui/system/esm/memoize.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/merge.js +13 -0
- package/dist/node_modules/@mui/system/esm/merge.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/palette.js +29 -0
- package/dist/node_modules/@mui/system/esm/palette.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/responsivePropType.js +6 -0
- package/dist/node_modules/@mui/system/esm/responsivePropType.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/sizing.js +68 -0
- package/dist/node_modules/@mui/system/esm/sizing.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/spacing.js +145 -0
- package/dist/node_modules/@mui/system/esm/spacing.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/style.js +78 -0
- package/dist/node_modules/@mui/system/esm/style.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js +294 -0
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js +137 -0
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/useTheme.js +10 -0
- package/dist/node_modules/@mui/system/esm/useTheme.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/useThemeWithoutDefault.js +13 -0
- package/dist/node_modules/@mui/system/esm/useThemeWithoutDefault.js.map +1 -0
- package/dist/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js +19 -0
- package/dist/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js.map +1 -0
- package/dist/node_modules/@mui/utils/esm/capitalize/capitalize.js +15 -0
- package/dist/node_modules/@mui/utils/esm/capitalize/capitalize.js.map +1 -0
- package/dist/node_modules/@mui/utils/esm/clamp/clamp.js +6 -0
- package/dist/node_modules/@mui/utils/esm/clamp/clamp.js.map +1 -0
- package/dist/node_modules/@mui/utils/esm/clamp/index.js +2 -0
- package/dist/node_modules/@mui/utils/esm/clamp/index.js.map +1 -0
- package/dist/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +46 -0
- package/dist/node_modules/@mui/utils/esm/deepmerge/deepmerge.js.map +1 -0
- package/dist/node_modules/@mui/utils/esm/exactProp/exactProp.js +24 -0
- package/dist/node_modules/@mui/utils/esm/exactProp/exactProp.js.map +1 -0
- package/dist/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js +22 -0
- package/dist/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js.map +1 -0
- package/dist/node_modules/@mui/utils/esm/formatMuiErrorMessage/index.js +2 -0
- package/dist/node_modules/@mui/utils/esm/formatMuiErrorMessage/index.js.map +1 -0
- package/dist/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js +23 -0
- package/dist/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js.map +1 -0
- package/dist/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +50 -0
- package/dist/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js.map +1 -0
- package/dist/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.development.js +143 -0
- package/dist/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.production.js +140 -0
- package/dist/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.production.js.map +1 -0
- package/dist/node_modules/@mui/utils/node_modules/react-is/index.js +20 -0
- package/dist/node_modules/@mui/utils/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/css-vendor/dist/css-vendor.esm.js +574 -0
- package/dist/node_modules/css-vendor/dist/css-vendor.esm.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds/index.js +32 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds/index.js.map +1 -0
- package/dist/node_modules/date-fns/get_iso_week/index.js +49 -0
- package/dist/node_modules/date-fns/get_iso_week/index.js.map +1 -0
- package/dist/node_modules/date-fns/get_iso_year/index.js +59 -0
- package/dist/node_modules/date-fns/get_iso_year/index.js.map +1 -0
- package/dist/node_modules/date-fns/is_date/index.js +32 -0
- package/dist/node_modules/date-fns/is_date/index.js.map +1 -0
- package/dist/node_modules/date-fns/is_friday/index.js +35 -0
- package/dist/node_modules/date-fns/is_friday/index.js.map +1 -0
- package/dist/node_modules/date-fns/is_monday/index.js +35 -0
- package/dist/node_modules/date-fns/is_monday/index.js.map +1 -0
- package/dist/node_modules/date-fns/is_saturday/index.js +35 -0
- package/dist/node_modules/date-fns/is_saturday/index.js.map +1 -0
- package/dist/node_modules/date-fns/is_sunday/index.js +35 -0
- package/dist/node_modules/date-fns/is_sunday/index.js.map +1 -0
- package/dist/node_modules/date-fns/is_thursday/index.js +35 -0
- package/dist/node_modules/date-fns/is_thursday/index.js.map +1 -0
- package/dist/node_modules/date-fns/is_tuesday/index.js +35 -0
- package/dist/node_modules/date-fns/is_tuesday/index.js.map +1 -0
- package/dist/node_modules/date-fns/is_wednesday/index.js +35 -0
- package/dist/node_modules/date-fns/is_wednesday/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/build_formatting_tokens_reg_exp/index.js +39 -0
- package/dist/node_modules/date-fns/locale/_lib/build_formatting_tokens_reg_exp/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/ar/build_distance_in_words_locale/index.js +110 -0
- package/dist/node_modules/date-fns/locale/ar/build_distance_in_words_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/ar/build_format_locale/index.js +86 -0
- package/dist/node_modules/date-fns/locale/ar/build_format_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/ar/index.js +26 -0
- package/dist/node_modules/date-fns/locale/ar/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/de/build_distance_in_words_locale/index.js +196 -0
- package/dist/node_modules/date-fns/locale/de/build_distance_in_words_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/de/build_format_locale/index.js +90 -0
- package/dist/node_modules/date-fns/locale/de/build_format_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/de/index.js +27 -0
- package/dist/node_modules/date-fns/locale/de/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en/build_distance_in_words_locale/index.js +110 -0
- package/dist/node_modules/date-fns/locale/en/build_distance_in_words_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en/build_format_locale/index.js +101 -0
- package/dist/node_modules/date-fns/locale/en/build_format_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en/index.js +25 -0
- package/dist/node_modules/date-fns/locale/en/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/es/build_distance_in_words_locale/index.js +110 -0
- package/dist/node_modules/date-fns/locale/es/build_distance_in_words_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/es/build_format_locale/index.js +86 -0
- package/dist/node_modules/date-fns/locale/es/build_format_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/es/index.js +28 -0
- package/dist/node_modules/date-fns/locale/es/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/fr/build_distance_in_words_locale/index.js +110 -0
- package/dist/node_modules/date-fns/locale/fr/build_distance_in_words_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/fr/build_format_locale/index.js +135 -0
- package/dist/node_modules/date-fns/locale/fr/build_format_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/fr/index.js +27 -0
- package/dist/node_modules/date-fns/locale/fr/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/it/build_distance_in_words_locale/index.js +110 -0
- package/dist/node_modules/date-fns/locale/it/build_distance_in_words_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/it/build_format_locale/index.js +86 -0
- package/dist/node_modules/date-fns/locale/it/build_format_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/it/index.js +26 -0
- package/dist/node_modules/date-fns/locale/it/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/nl/build_distance_in_words_locale/index.js +110 -0
- package/dist/node_modules/date-fns/locale/nl/build_distance_in_words_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/nl/build_format_locale/index.js +86 -0
- package/dist/node_modules/date-fns/locale/nl/build_format_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/nl/index.js +27 -0
- package/dist/node_modules/date-fns/locale/nl/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/th/build_distance_in_words_locale/index.js +114 -0
- package/dist/node_modules/date-fns/locale/th/build_distance_in_words_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/th/build_format_locale/index.js +74 -0
- package/dist/node_modules/date-fns/locale/th/build_format_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/th/index.js +26 -0
- package/dist/node_modules/date-fns/locale/th/index.js.map +1 -0
- package/dist/node_modules/date-fns/parse/index.js +346 -0
- package/dist/node_modules/date-fns/parse/index.js.map +1 -0
- package/dist/node_modules/date-fns/start_of_iso_week/index.js +38 -0
- package/dist/node_modules/date-fns/start_of_iso_week/index.js.map +1 -0
- package/dist/node_modules/date-fns/start_of_iso_year/index.js +46 -0
- package/dist/node_modules/date-fns/start_of_iso_year/index.js.map +1 -0
- package/dist/node_modules/date-fns/start_of_week/index.js +51 -0
- package/dist/node_modules/date-fns/start_of_week/index.js.map +1 -0
- package/dist/node_modules/hyphenate-style-name/index.js +20 -0
- package/dist/node_modules/hyphenate-style-name/index.js.map +1 -0
- package/dist/node_modules/is-in-browser/dist/module.js +6 -0
- package/dist/node_modules/is-in-browser/dist/module.js.map +1 -0
- package/dist/node_modules/jss/dist/jss.esm.js +2220 -0
- package/dist/node_modules/jss/dist/jss.esm.js.map +1 -0
- package/dist/node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.esm.js +60 -0
- package/dist/node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.esm.js.map +1 -0
- package/dist/node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.esm.js +252 -0
- package/dist/node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.esm.js.map +1 -0
- package/dist/node_modules/jss-plugin-global/dist/jss-plugin-global.esm.js +187 -0
- package/dist/node_modules/jss-plugin-global/dist/jss-plugin-global.esm.js.map +1 -0
- package/dist/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js +114 -0
- package/dist/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js.map +1 -0
- package/dist/node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.esm.js +29 -0
- package/dist/node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.esm.js.map +1 -0
- package/dist/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js +66 -0
- package/dist/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js.map +1 -0
- package/dist/node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.esm.js +58 -0
- package/dist/node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.esm.js.map +1 -0
- package/dist/node_modules/object-assign/index.js +100 -0
- package/dist/node_modules/object-assign/index.js.map +1 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +116 -0
- package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +75 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +626 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
- package/dist/node_modules/prop-types/index.js +34 -0
- package/dist/node_modules/prop-types/index.js.map +1 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +22 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
- package/dist/node_modules/prop-types/lib/has.js +12 -0
- package/dist/node_modules/prop-types/lib/has.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +1326 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +25 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js.map +1 -0
- package/dist/node_modules/react/jsx-runtime.js +20 -0
- package/dist/node_modules/react/jsx-runtime.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js +191 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +27 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/react-is/index.js +20 -0
- package/dist/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/tiny-warning/dist/tiny-warning.esm.js +18 -0
- package/dist/node_modules/tiny-warning/dist/tiny-warning.esm.js.map +1 -0
- package/dist/rules/src/chart/getAxisOptions.js +256 -0
- package/dist/rules/src/chart/getAxisOptions.js.map +1 -0
- package/dist/rules/src/chart/getBaseOptions.js +77 -0
- package/dist/rules/src/chart/getBaseOptions.js.map +1 -0
- package/dist/rules/src/chart/getChartOptions.js +120 -0
- package/dist/rules/src/chart/getChartOptions.js.map +1 -0
- package/dist/rules/src/chart/getGridOptions.js +46 -0
- package/dist/rules/src/chart/getGridOptions.js.map +1 -0
- package/dist/rules/src/chart/getTooltipOptions.js +223 -0
- package/dist/rules/src/chart/getTooltipOptions.js.map +1 -0
- package/dist/rules/src/constants.js +65 -0
- package/dist/rules/src/constants.js.map +1 -0
- package/dist/rules/src/date.js +121 -0
- package/dist/rules/src/date.js.map +1 -0
- package/dist/rules/src/dimension-utils.js +57 -0
- package/dist/rules/src/dimension-utils.js.map +1 -0
- package/dist/rules/src/factories/choro-series.js +68 -0
- package/dist/rules/src/factories/choro-series.js.map +1 -0
- package/dist/rules/src/factories/sample-focus.js +25 -0
- package/dist/rules/src/factories/sample-focus.js.map +1 -0
- package/dist/rules/src/factories/sample-series.js +53 -0
- package/dist/rules/src/factories/sample-series.js.map +1 -0
- package/dist/rules/src/factories/scatter-dimension.js +35 -0
- package/dist/rules/src/factories/scatter-dimension.js.map +1 -0
- package/dist/rules/src/factories/scatter-focus.js +42 -0
- package/dist/rules/src/factories/scatter-focus.js.map +1 -0
- package/dist/rules/src/factories/scatter-series.js +91 -0
- package/dist/rules/src/factories/scatter-series.js.map +1 -0
- package/dist/rules/src/factories/stacked-dimension.js +32 -0
- package/dist/rules/src/factories/stacked-dimension.js.map +1 -0
- package/dist/rules/src/factories/stacked-series.js +188 -0
- package/dist/rules/src/factories/stacked-series.js.map +1 -0
- package/dist/rules/src/factories/symbol-dimension.js +32 -0
- package/dist/rules/src/factories/symbol-dimension.js.map +1 -0
- package/dist/rules/src/factories/symbol-series.js +65 -0
- package/dist/rules/src/factories/symbol-series.js.map +1 -0
- package/dist/rules/src/factories/timeline-focus.js +21 -0
- package/dist/rules/src/factories/timeline-focus.js.map +1 -0
- package/dist/rules/src/factories/timeline-series.js +94 -0
- package/dist/rules/src/factories/timeline-series.js.map +1 -0
- package/dist/rules/src/get-values-enhanced.js +133 -0
- package/dist/rules/src/get-values-enhanced.js.map +1 -0
- package/dist/rules/src/header/getDefaultSubtitle.js +44 -0
- package/dist/rules/src/header/getDefaultSubtitle.js.map +1 -0
- package/dist/rules/src/header/getHeaderUnits.js +21 -0
- package/dist/rules/src/header/getHeaderUnits.js.map +1 -0
- package/dist/rules/src/header/getSubtitleFlags.js +47 -0
- package/dist/rules/src/header/getSubtitleFlags.js.map +1 -0
- package/dist/rules/src/header/getTitleFlags.js +12 -0
- package/dist/rules/src/header/getTitleFlags.js.map +1 -0
- package/dist/rules/src/index.js +378 -0
- package/dist/rules/src/index.js.map +1 -0
- package/dist/rules/src/layout.js +107 -0
- package/dist/rules/src/layout.js.map +1 -0
- package/dist/rules/src/observation-formater.js +86 -0
- package/dist/rules/src/observation-formater.js.map +1 -0
- package/dist/rules/src/preparators/formatValue.js +96 -0
- package/dist/rules/src/preparators/formatValue.js.map +1 -0
- package/dist/rules/src/preparators/getObservations.js +22 -0
- package/dist/rules/src/preparators/getObservations.js.map +1 -0
- package/dist/rules/src/preparators/getReportingYearStart.js +19 -0
- package/dist/rules/src/preparators/getReportingYearStart.js.map +1 -0
- package/dist/rules/src/properties/errors.js +22 -0
- package/dist/rules/src/properties/errors.js.map +1 -0
- package/dist/rules/src/properties/focus.js +72 -0
- package/dist/rules/src/properties/focus.js.map +1 -0
- package/dist/rules/src/properties/getAvailableChartTypes.js +31 -0
- package/dist/rules/src/properties/getAvailableChartTypes.js.map +1 -0
- package/dist/rules/src/properties/getHeaderProps.js +76 -0
- package/dist/rules/src/properties/getHeaderProps.js.map +1 -0
- package/dist/rules/src/properties/getInformationsStateFromNewProps.js +50 -0
- package/dist/rules/src/properties/getInformationsStateFromNewProps.js.map +1 -0
- package/dist/rules/src/properties/getObservationsType.js +28 -0
- package/dist/rules/src/properties/getObservationsType.js.map +1 -0
- package/dist/rules/src/properties/getStringifiedSubtitle.js +9 -0
- package/dist/rules/src/properties/getStringifiedSubtitle.js.map +1 -0
- package/dist/rules/src/properties/index.js +384 -0
- package/dist/rules/src/properties/index.js.map +1 -0
- package/dist/rules/src/properties/linear.js +123 -0
- package/dist/rules/src/properties/linear.js.map +1 -0
- package/dist/rules/src/properties/scatter.js +156 -0
- package/dist/rules/src/properties/scatter.js.map +1 -0
- package/dist/rules/src/properties/stacked.js +96 -0
- package/dist/rules/src/properties/stacked.js.map +1 -0
- package/dist/rules/src/properties/symbol.js +76 -0
- package/dist/rules/src/properties/symbol.js.map +1 -0
- package/dist/rules/src/properties/utils.js +86 -0
- package/dist/rules/src/properties/utils.js.map +1 -0
- package/dist/rules/src/sdmx-data/index.js +38 -0
- package/dist/rules/src/sdmx-data/index.js.map +1 -0
- package/dist/rules/src/table/factories/getCellValue.js +53 -0
- package/dist/rules/src/table/factories/getCellValue.js.map +1 -0
- package/dist/rules/src/v8-transformer.js +174 -0
- package/dist/rules/src/v8-transformer.js.map +1 -0
- package/dist/rules2/src/applyHierarchicalCodesToDim.js +126 -0
- package/dist/rules2/src/applyHierarchicalCodesToDim.js.map +1 -0
- package/dist/rules2/src/combinedValuesDisplay.js +77 -0
- package/dist/rules2/src/combinedValuesDisplay.js.map +1 -0
- package/dist/rules2/src/constants.js +9 -0
- package/dist/rules2/src/constants.js.map +1 -0
- package/dist/rules2/src/duplicateObservations.js +38 -0
- package/dist/rules2/src/duplicateObservations.js.map +1 -0
- package/dist/rules2/src/enhanceObservations.js +98 -0
- package/dist/rules2/src/enhanceObservations.js.map +1 -0
- package/dist/rules2/src/getAttributesSeries.js +39 -0
- package/dist/rules2/src/getAttributesSeries.js.map +1 -0
- package/dist/rules2/src/getCombinationDefinitions.js +50 -0
- package/dist/rules2/src/getCombinationDefinitions.js.map +1 -0
- package/dist/rules2/src/getDataflowAttributes.js +25 -0
- package/dist/rules2/src/getDataflowAttributes.js.map +1 -0
- package/dist/rules2/src/getDataflowTooltipAttributesIds.js +33 -0
- package/dist/rules2/src/getDataflowTooltipAttributesIds.js.map +1 -0
- package/dist/rules2/src/getDimensionValuesIndexes.js +16 -0
- package/dist/rules2/src/getDimensionValuesIndexes.js.map +1 -0
- package/dist/rules2/src/getHCodelistsRefsInData.js +35 -0
- package/dist/rules2/src/getHCodelistsRefsInData.js.map +1 -0
- package/dist/rules2/src/getHeaderCombinations.js +51 -0
- package/dist/rules2/src/getHeaderCombinations.js.map +1 -0
- package/dist/rules2/src/getHeaderCoordinates.js +10 -0
- package/dist/rules2/src/getHeaderCoordinates.js.map +1 -0
- package/dist/rules2/src/getHeaderSubtitle.js +37 -0
- package/dist/rules2/src/getHeaderSubtitle.js.map +1 -0
- package/dist/rules2/src/getHeaderTitle.js +18 -0
- package/dist/rules2/src/getHeaderTitle.js.map +1 -0
- package/dist/rules2/src/getMSDInformations.js +26 -0
- package/dist/rules2/src/getMSDInformations.js.map +1 -0
- package/dist/rules2/src/getManyValuesDimensions.js +37 -0
- package/dist/rules2/src/getManyValuesDimensions.js.map +1 -0
- package/dist/rules2/src/getMetadataCoordinates.js +40 -0
- package/dist/rules2/src/getMetadataCoordinates.js.map +1 -0
- package/dist/rules2/src/getNotDisplayedIds.js +56 -0
- package/dist/rules2/src/getNotDisplayedIds.js.map +1 -0
- package/dist/rules2/src/getOneValueDimensions.js +37 -0
- package/dist/rules2/src/getOneValueDimensions.js.map +1 -0
- package/dist/rules2/src/getSeriesCombinations.js +27 -0
- package/dist/rules2/src/getSeriesCombinations.js.map +1 -0
- package/dist/rules2/src/hasCellMetadata.js +17 -0
- package/dist/rules2/src/hasCellMetadata.js.map +1 -0
- package/dist/rules2/src/hierarchiseDimensionWithAdvancedHierarchy2.js +60 -0
- package/dist/rules2/src/hierarchiseDimensionWithAdvancedHierarchy2.js.map +1 -0
- package/dist/rules2/src/hierarchiseDimensionWithNativeHierarchy2.js +38 -0
- package/dist/rules2/src/hierarchiseDimensionWithNativeHierarchy2.js.map +1 -0
- package/dist/rules2/src/index.js +47 -0
- package/dist/rules2/src/index.js.map +1 -0
- package/dist/rules2/src/parseAttributes.js +44 -0
- package/dist/rules2/src/parseAttributes.js.map +1 -0
- package/dist/rules2/src/parseCombinations.js +105 -0
- package/dist/rules2/src/parseCombinations.js.map +1 -0
- package/dist/rules2/src/parseHierarchicalCodelist.js +34 -0
- package/dist/rules2/src/parseHierarchicalCodelist.js.map +1 -0
- package/dist/rules2/src/parseMetadataSeries.js +124 -0
- package/dist/rules2/src/parseMetadataSeries.js.map +1 -0
- package/dist/rules2/src/prepareData.js +78 -0
- package/dist/rules2/src/prepareData.js.map +1 -0
- package/dist/rules2/src/refineAttributes.js +19 -0
- package/dist/rules2/src/refineAttributes.js.map +1 -0
- package/dist/rules2/src/refineDimensions.js +21 -0
- package/dist/rules2/src/refineDimensions.js.map +1 -0
- package/dist/rules2/src/refineTimePeriod.js +130 -0
- package/dist/rules2/src/refineTimePeriod.js.map +1 -0
- package/dist/rules2/src/sdmx3.0DataFormatPatch.js +12 -0
- package/dist/rules2/src/sdmx3.0DataFormatPatch.js.map +1 -0
- package/dist/rules2/src/table/declineObservationsOverAttributes.js +35 -0
- package/dist/rules2/src/table/declineObservationsOverAttributes.js.map +1 -0
- package/dist/rules2/src/table/getCells.js +96 -0
- package/dist/rules2/src/table/getCells.js.map +1 -0
- package/dist/rules2/src/table/getCellsAttributesIds.js +41 -0
- package/dist/rules2/src/table/getCellsAttributesIds.js.map +1 -0
- package/dist/rules2/src/table/getCellsMetadataCoordinates.js +16 -0
- package/dist/rules2/src/table/getCellsMetadataCoordinates.js.map +1 -0
- package/dist/rules2/src/table/getCuratedCells.js +36 -0
- package/dist/rules2/src/table/getCuratedCells.js.map +1 -0
- package/dist/rules2/src/table/getFlagsAndNotes.js +26 -0
- package/dist/rules2/src/table/getFlagsAndNotes.js.map +1 -0
- package/dist/rules2/src/table/getIndexedCombinationsByDisplay.js +19 -0
- package/dist/rules2/src/table/getIndexedCombinationsByDisplay.js.map +1 -0
- package/dist/rules2/src/table/getLayout.js +87 -0
- package/dist/rules2/src/table/getLayout.js.map +1 -0
- package/dist/rules2/src/table/getLayoutData2.js +205 -0
- package/dist/rules2/src/table/getLayoutData2.js.map +1 -0
- package/dist/rules2/src/table/getSortedLayoutIndexes.js +141 -0
- package/dist/rules2/src/table/getSortedLayoutIndexes.js.map +1 -0
- package/dist/rules2/src/table/getTableLabelAccessor.js +11 -0
- package/dist/rules2/src/table/getTableLabelAccessor.js.map +1 -0
- package/dist/rules2/src/table/getTableLayoutIds.js +317 -0
- package/dist/rules2/src/table/getTableLayoutIds.js.map +1 -0
- package/dist/rules2/src/table/getTableProps.js +85 -0
- package/dist/rules2/src/table/getTableProps.js.map +1 -0
- package/dist/rules2/src/table/parseSeriesIndexesHierarchies.js +82 -0
- package/dist/rules2/src/table/parseSeriesIndexesHierarchies.js.map +1 -0
- package/dist/rules2/src/table/parseValueHierarchy.js +29 -0
- package/dist/rules2/src/table/parseValueHierarchy.js.map +1 -0
- package/dist/rules2/src/table/refineLayoutSize2.js +324 -0
- package/dist/rules2/src/table/refineLayoutSize2.js.map +1 -0
- package/dist/rules2/src/utils.js +29 -0
- package/dist/rules2/src/utils.js.map +1 -0
- package/dist/viewer/src/chart.js +50 -0
- package/dist/viewer/src/chart.js.map +1 -0
- package/dist/viewer/src/chartUtils/options.js +33 -0
- package/dist/viewer/src/chartUtils/options.js.map +1 -0
- package/dist/viewer/src/chartUtils/series.js +54 -0
- package/dist/viewer/src/chartUtils/series.js.map +1 -0
- package/dist/viewer/src/footer.js +39 -0
- package/dist/viewer/src/footer.js.map +1 -0
- package/dist/viewer/src/header.js +12 -0
- package/dist/viewer/src/header.js.map +1 -0
- package/dist/viewer/src/index.js +160 -0
- package/dist/viewer/src/index.js.map +1 -0
- package/dist/viewer/src/legends/AxisLegend.js +42 -0
- package/dist/viewer/src/legends/AxisLegend.js.map +1 -0
- package/dist/viewer/src/legends/ChartLegends.js +80 -0
- package/dist/viewer/src/legends/ChartLegends.js.map +1 -0
- package/dist/viewer/src/legends/FocusLegend.js +67 -0
- package/dist/viewer/src/legends/FocusLegend.js.map +1 -0
- package/dist/viewer/src/legends/Legend.js +51 -0
- package/dist/viewer/src/legends/Legend.js.map +1 -0
- package/dist/viewer/src/legends/SeriesLegend.js +77 -0
- package/dist/viewer/src/legends/SeriesLegend.js.map +1 -0
- package/dist/viewer/src/utils.js +24 -0
- package/dist/viewer/src/utils.js.map +1 -0
- package/package.json +1 -1
- package/.editorconfig +0 -19
- package/.gitlab-ci.yml +0 -48
- package/prettier.config.js +0 -13
- package/rollup.config.mjs +0 -28
- package/src/rules/test/extractSdmxArtefacts.js +0 -26
- package/src/rules/test/get-values-enhanced.test.js +0 -127
- package/src/rules/test/oecd-HEALTH_PROT-no-freq.json +0 -2903
- package/src/rules/test/oecd-HEALTH_PROT-parsed.js +0 -398
- package/src/rules/test/oecd-HEALTH_PROT-wrong-freq.json +0 -2913
- package/src/rules/test/oecd-HEALTH_PROT.json +0 -2913
- package/src/rules/test/oecd-KEI.json +0 -372
- package/src/rules/test/scatter-property.js +0 -455
- package/src/rules/test/stacked-property.js +0 -273
- package/src/rules/test/symbol-property.js +0 -262
- package/src/rules/test/v8-transformer.test.js +0 -90
- package/test/applyHierarchicalCodesToDim.test.js +0 -643
- package/test/combinedValuesDisplay.test.js +0 -66
- package/test/duplicateObs.test.js +0 -118
- package/test/enhanceObservations2.test.js +0 -257
- package/test/getAttributesSeries.test.js +0 -66
- package/test/getAxisOptions.test.js +0 -309
- package/test/getBaseOptions.test.js +0 -77
- package/test/getCellValue.test.js +0 -32
- package/test/getCells.test.js +0 -178
- package/test/getCellsMetadataCoordinates.test.js +0 -40
- package/test/getCombinationDefinitions.test.js +0 -104
- package/test/getCombinationDimensionsData.test.js +0 -99
- package/test/getDataflowAttributes.test.js +0 -23
- package/test/getDataflowTooltipAttributesIds.test.js +0 -146
- package/test/getDimensionValuesIndexes.test.js +0 -33
- package/test/getGridOptions.test.js +0 -65
- package/test/getHCodelistsRefs.test.js +0 -23
- package/test/getHeaderCombinations.test.js +0 -62
- package/test/getHeaderTitle.test.js +0 -25
- package/test/getLayout.test.js +0 -54
- package/test/getLayoutData2.test.js +0 -540
- package/test/getMSDInformations.test.js +0 -35
- package/test/getMetadataCoordinates.test.js +0 -0
- package/test/getNotDisplayedIds.test.js +0 -47
- package/test/getObservationsType.test.js +0 -55
- package/test/getOneValueDimensions.test.js +0 -35
- package/test/getReportingYearStart.test.js +0 -59
- package/test/getSeriesCombinations.test.js +0 -29
- package/test/getSortedLayoutIndexes.test.js +0 -1248
- package/test/getTableLabelAccessor.test.js +0 -50
- package/test/getTableLayoutIds.test.js +0 -356
- package/test/hierarchiseDimensionWithNativeHierarchy2.test.js +0 -109
- package/test/isTableLayoutCompatible.test.js +0 -102
- package/test/metadata-parsing-perf.test.js +0 -509
- package/test/mocks/MSD_TEST.json +0 -490
- package/test/mocks/OECD_SNA_TABLE1_1.0_-_AUS_V_metadata.json +0 -152
- package/test/mocks/h-codelist.json +0 -2095
- package/test/mocks/large_metadata_series.json +0 -701
- package/test/mocks/observations-advanced-attributes.json +0 -55382
- package/test/mocks/table-invert-time--data.json +0 -80211
- package/test/mocks/table-invert-time--inverted.json +0 -80076
- package/test/mocks/table-layout-multi-hierarchies--layout.json +0 -621
- package/test/mocks/table-layout-multi-hierarchies--layoutData.json +0 -32411
- package/test/mocks/table-layout-multi-hierarchies--layoutIndexes.json +0 -2760
- package/test/mocks/table-layout-multi-hierarchies--observations.json +0 -30688
- package/test/mocks/table-layout-multi-hierarchies--sizedIndexes.json +0 -2762
- package/test/mocks/table-layout-truncation1--layout.json +0 -27469
- package/test/mocks/table-layout-truncation1--layoutData.json +0 -20358
- package/test/mocks/table-layout-truncation1--layoutIndexes.json +0 -7512
- package/test/mocks/table-layout-truncation1--observations.json +0 -70002
- package/test/mocks/table-layout-truncation1--sizedIndexes.json +0 -3011
- package/test/mocks/table-prep-multi-hierarchies--attributes.json +0 -46
- package/test/mocks/table-prep-multi-hierarchies--dimensions.json +0 -688
- package/test/mocks/table-prep-multi-hierarchies--enhancedObservations.json +0 -19696
- package/test/mocks/table-prep-multi-hierarchies--observations.json +0 -8246
- package/test/mocks/table-prep-multi-hierarchies--sdmxJson.json +0 -2985
- package/test/mocks/table-prep-simple-duplicate--dimensions2.json +0 -858
- package/test/mocks/table-prep-simple-duplicate--duplicated2.json +0 -77502
- package/test/mocks/table-prep-simple-duplicate--observations2.json +0 -60002
- package/test/mocks/table-prep-truncation1--dimensions.json +0 -35057
- package/test/mocks/table-prep-truncation1--enhancedObservations.json +0 -70002
- package/test/mocks/table-prep-truncation1--observations.json +0 -27502
- package/test/mocks/table-prep-truncation1--sdmxJson.json +0 -55103
- package/test/mocks/table-prep-units--observations.json +0 -284286
- package/test/mocks/table-prep-units--unitsSeries.json +0 -41042
- package/test/parseAttributes.test.js +0 -36
- package/test/parseCombinations.test.js +0 -172
- package/test/parseHierarchicalCodelist.test.js +0 -140
- package/test/parseMetadataSeries.test.js +0 -126
- package/test/parseSeriesIndexesHierarchies.test.js +0 -345
- package/test/parseValueHierarchy.test.js +0 -138
- package/test/refineAttributes.test.js +0 -29
- package/test/refineLayoutSize2.test.js +0 -3410
- package/test/refineMetadataCoordinates.test.js +0 -86
- package/test/refineTimePeriod.test.js +0 -580
- package/test/refinedDimensions.test.js +0 -35
- package/test/scatter-dimension.test.js +0 -79
- package/test/scatter-series.test.js +0 -67
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import responsivePropType from './responsivePropType.js';
|
|
2
|
+
import { handleBreakpoints } from './breakpoints.js';
|
|
3
|
+
import { getPath } from './style.js';
|
|
4
|
+
import merge from './merge.js';
|
|
5
|
+
import memoize from './memoize.js';
|
|
6
|
+
|
|
7
|
+
const properties = {
|
|
8
|
+
m: 'margin',
|
|
9
|
+
p: 'padding'
|
|
10
|
+
};
|
|
11
|
+
const directions = {
|
|
12
|
+
t: 'Top',
|
|
13
|
+
r: 'Right',
|
|
14
|
+
b: 'Bottom',
|
|
15
|
+
l: 'Left',
|
|
16
|
+
x: ['Left', 'Right'],
|
|
17
|
+
y: ['Top', 'Bottom']
|
|
18
|
+
};
|
|
19
|
+
const aliases = {
|
|
20
|
+
marginX: 'mx',
|
|
21
|
+
marginY: 'my',
|
|
22
|
+
paddingX: 'px',
|
|
23
|
+
paddingY: 'py'
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
// memoize() impact:
|
|
27
|
+
// From 300,000 ops/sec
|
|
28
|
+
// To 350,000 ops/sec
|
|
29
|
+
const getCssProperties = memoize(prop => {
|
|
30
|
+
// It's not a shorthand notation.
|
|
31
|
+
if (prop.length > 2) {
|
|
32
|
+
if (aliases[prop]) {
|
|
33
|
+
prop = aliases[prop];
|
|
34
|
+
} else {
|
|
35
|
+
return [prop];
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
const [a, b] = prop.split('');
|
|
39
|
+
const property = properties[a];
|
|
40
|
+
const direction = directions[b] || '';
|
|
41
|
+
return Array.isArray(direction) ? direction.map(dir => property + dir) : [property + direction];
|
|
42
|
+
});
|
|
43
|
+
const marginKeys = ['m', 'mt', 'mr', 'mb', 'ml', 'mx', 'my', 'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'marginInline', 'marginInlineStart', 'marginInlineEnd', 'marginBlock', 'marginBlockStart', 'marginBlockEnd'];
|
|
44
|
+
const paddingKeys = ['p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', 'padding', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'paddingX', 'paddingY', 'paddingInline', 'paddingInlineStart', 'paddingInlineEnd', 'paddingBlock', 'paddingBlockStart', 'paddingBlockEnd'];
|
|
45
|
+
const spacingKeys = [...marginKeys, ...paddingKeys];
|
|
46
|
+
function createUnaryUnit(theme, themeKey, defaultValue, propName) {
|
|
47
|
+
var _getPath;
|
|
48
|
+
const themeSpacing = (_getPath = getPath(theme, themeKey, false)) != null ? _getPath : defaultValue;
|
|
49
|
+
if (typeof themeSpacing === 'number') {
|
|
50
|
+
return abs => {
|
|
51
|
+
if (typeof abs === 'string') {
|
|
52
|
+
return abs;
|
|
53
|
+
}
|
|
54
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
55
|
+
if (typeof abs !== 'number') {
|
|
56
|
+
console.error(`MUI: Expected ${propName} argument to be a number or a string, got ${abs}.`);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
return themeSpacing * abs;
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
if (Array.isArray(themeSpacing)) {
|
|
63
|
+
return abs => {
|
|
64
|
+
if (typeof abs === 'string') {
|
|
65
|
+
return abs;
|
|
66
|
+
}
|
|
67
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
68
|
+
if (!Number.isInteger(abs)) {
|
|
69
|
+
console.error([`MUI: The \`theme.${themeKey}\` array type cannot be combined with non integer values.` + `You should either use an integer value that can be used as index, or define the \`theme.${themeKey}\` as a number.`].join('\n'));
|
|
70
|
+
} else if (abs > themeSpacing.length - 1) {
|
|
71
|
+
console.error([`MUI: The value provided (${abs}) overflows.`, `The supported values are: ${JSON.stringify(themeSpacing)}.`, `${abs} > ${themeSpacing.length - 1}, you need to add the missing values.`].join('\n'));
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
return themeSpacing[abs];
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
if (typeof themeSpacing === 'function') {
|
|
78
|
+
return themeSpacing;
|
|
79
|
+
}
|
|
80
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
81
|
+
console.error([`MUI: The \`theme.${themeKey}\` value (${themeSpacing}) is invalid.`, 'It should be a number, an array or a function.'].join('\n'));
|
|
82
|
+
}
|
|
83
|
+
return () => undefined;
|
|
84
|
+
}
|
|
85
|
+
function createUnarySpacing(theme) {
|
|
86
|
+
return createUnaryUnit(theme, 'spacing', 8, 'spacing');
|
|
87
|
+
}
|
|
88
|
+
function getValue(transformer, propValue) {
|
|
89
|
+
if (typeof propValue === 'string' || propValue == null) {
|
|
90
|
+
return propValue;
|
|
91
|
+
}
|
|
92
|
+
const abs = Math.abs(propValue);
|
|
93
|
+
const transformed = transformer(abs);
|
|
94
|
+
if (propValue >= 0) {
|
|
95
|
+
return transformed;
|
|
96
|
+
}
|
|
97
|
+
if (typeof transformed === 'number') {
|
|
98
|
+
return -transformed;
|
|
99
|
+
}
|
|
100
|
+
return `-${transformed}`;
|
|
101
|
+
}
|
|
102
|
+
function getStyleFromPropValue(cssProperties, transformer) {
|
|
103
|
+
return propValue => cssProperties.reduce((acc, cssProperty) => {
|
|
104
|
+
acc[cssProperty] = getValue(transformer, propValue);
|
|
105
|
+
return acc;
|
|
106
|
+
}, {});
|
|
107
|
+
}
|
|
108
|
+
function resolveCssProperty(props, keys, prop, transformer) {
|
|
109
|
+
// Using a hash computation over an array iteration could be faster, but with only 28 items,
|
|
110
|
+
// it's doesn't worth the bundle size.
|
|
111
|
+
if (keys.indexOf(prop) === -1) {
|
|
112
|
+
return null;
|
|
113
|
+
}
|
|
114
|
+
const cssProperties = getCssProperties(prop);
|
|
115
|
+
const styleFromPropValue = getStyleFromPropValue(cssProperties, transformer);
|
|
116
|
+
const propValue = props[prop];
|
|
117
|
+
return handleBreakpoints(props, propValue, styleFromPropValue);
|
|
118
|
+
}
|
|
119
|
+
function style(props, keys) {
|
|
120
|
+
const transformer = createUnarySpacing(props.theme);
|
|
121
|
+
return Object.keys(props).map(prop => resolveCssProperty(props, keys, prop, transformer)).reduce(merge, {});
|
|
122
|
+
}
|
|
123
|
+
function margin(props) {
|
|
124
|
+
return style(props, marginKeys);
|
|
125
|
+
}
|
|
126
|
+
margin.propTypes = process.env.NODE_ENV !== 'production' ? marginKeys.reduce((obj, key) => {
|
|
127
|
+
obj[key] = responsivePropType;
|
|
128
|
+
return obj;
|
|
129
|
+
}, {}) : {};
|
|
130
|
+
margin.filterProps = marginKeys;
|
|
131
|
+
function padding(props) {
|
|
132
|
+
return style(props, paddingKeys);
|
|
133
|
+
}
|
|
134
|
+
padding.propTypes = process.env.NODE_ENV !== 'production' ? paddingKeys.reduce((obj, key) => {
|
|
135
|
+
obj[key] = responsivePropType;
|
|
136
|
+
return obj;
|
|
137
|
+
}, {}) : {};
|
|
138
|
+
padding.filterProps = paddingKeys;
|
|
139
|
+
process.env.NODE_ENV !== 'production' ? spacingKeys.reduce((obj, key) => {
|
|
140
|
+
obj[key] = responsivePropType;
|
|
141
|
+
return obj;
|
|
142
|
+
}, {}) : {};
|
|
143
|
+
|
|
144
|
+
export { createUnarySpacing, createUnaryUnit, getStyleFromPropValue, getValue, margin, marginKeys, padding, paddingKeys };
|
|
145
|
+
//# sourceMappingURL=spacing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spacing.js","sources":["../../../../../node_modules/@mui/system/esm/spacing.js"],"sourcesContent":["import responsivePropType from './responsivePropType';\nimport { handleBreakpoints } from './breakpoints';\nimport { getPath } from './style';\nimport merge from './merge';\nimport memoize from './memoize';\nconst properties = {\n m: 'margin',\n p: 'padding'\n};\nconst directions = {\n t: 'Top',\n r: 'Right',\n b: 'Bottom',\n l: 'Left',\n x: ['Left', 'Right'],\n y: ['Top', 'Bottom']\n};\nconst aliases = {\n marginX: 'mx',\n marginY: 'my',\n paddingX: 'px',\n paddingY: 'py'\n};\n\n// memoize() impact:\n// From 300,000 ops/sec\n// To 350,000 ops/sec\nconst getCssProperties = memoize(prop => {\n // It's not a shorthand notation.\n if (prop.length > 2) {\n if (aliases[prop]) {\n prop = aliases[prop];\n } else {\n return [prop];\n }\n }\n const [a, b] = prop.split('');\n const property = properties[a];\n const direction = directions[b] || '';\n return Array.isArray(direction) ? direction.map(dir => property + dir) : [property + direction];\n});\nexport const marginKeys = ['m', 'mt', 'mr', 'mb', 'ml', 'mx', 'my', 'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'marginInline', 'marginInlineStart', 'marginInlineEnd', 'marginBlock', 'marginBlockStart', 'marginBlockEnd'];\nexport const paddingKeys = ['p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', 'padding', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'paddingX', 'paddingY', 'paddingInline', 'paddingInlineStart', 'paddingInlineEnd', 'paddingBlock', 'paddingBlockStart', 'paddingBlockEnd'];\nconst spacingKeys = [...marginKeys, ...paddingKeys];\nexport function createUnaryUnit(theme, themeKey, defaultValue, propName) {\n var _getPath;\n const themeSpacing = (_getPath = getPath(theme, themeKey, false)) != null ? _getPath : defaultValue;\n if (typeof themeSpacing === 'number') {\n return abs => {\n if (typeof abs === 'string') {\n return abs;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (typeof abs !== 'number') {\n console.error(`MUI: Expected ${propName} argument to be a number or a string, got ${abs}.`);\n }\n }\n return themeSpacing * abs;\n };\n }\n if (Array.isArray(themeSpacing)) {\n return abs => {\n if (typeof abs === 'string') {\n return abs;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (!Number.isInteger(abs)) {\n console.error([`MUI: The \\`theme.${themeKey}\\` array type cannot be combined with non integer values.` + `You should either use an integer value that can be used as index, or define the \\`theme.${themeKey}\\` as a number.`].join('\\n'));\n } else if (abs > themeSpacing.length - 1) {\n console.error([`MUI: The value provided (${abs}) overflows.`, `The supported values are: ${JSON.stringify(themeSpacing)}.`, `${abs} > ${themeSpacing.length - 1}, you need to add the missing values.`].join('\\n'));\n }\n }\n return themeSpacing[abs];\n };\n }\n if (typeof themeSpacing === 'function') {\n return themeSpacing;\n }\n if (process.env.NODE_ENV !== 'production') {\n console.error([`MUI: The \\`theme.${themeKey}\\` value (${themeSpacing}) is invalid.`, 'It should be a number, an array or a function.'].join('\\n'));\n }\n return () => undefined;\n}\nexport function createUnarySpacing(theme) {\n return createUnaryUnit(theme, 'spacing', 8, 'spacing');\n}\nexport function getValue(transformer, propValue) {\n if (typeof propValue === 'string' || propValue == null) {\n return propValue;\n }\n const abs = Math.abs(propValue);\n const transformed = transformer(abs);\n if (propValue >= 0) {\n return transformed;\n }\n if (typeof transformed === 'number') {\n return -transformed;\n }\n return `-${transformed}`;\n}\nexport function getStyleFromPropValue(cssProperties, transformer) {\n return propValue => cssProperties.reduce((acc, cssProperty) => {\n acc[cssProperty] = getValue(transformer, propValue);\n return acc;\n }, {});\n}\nfunction resolveCssProperty(props, keys, prop, transformer) {\n // Using a hash computation over an array iteration could be faster, but with only 28 items,\n // it's doesn't worth the bundle size.\n if (keys.indexOf(prop) === -1) {\n return null;\n }\n const cssProperties = getCssProperties(prop);\n const styleFromPropValue = getStyleFromPropValue(cssProperties, transformer);\n const propValue = props[prop];\n return handleBreakpoints(props, propValue, styleFromPropValue);\n}\nfunction style(props, keys) {\n const transformer = createUnarySpacing(props.theme);\n return Object.keys(props).map(prop => resolveCssProperty(props, keys, prop, transformer)).reduce(merge, {});\n}\nexport function margin(props) {\n return style(props, marginKeys);\n}\nmargin.propTypes = process.env.NODE_ENV !== 'production' ? marginKeys.reduce((obj, key) => {\n obj[key] = responsivePropType;\n return obj;\n}, {}) : {};\nmargin.filterProps = marginKeys;\nexport function padding(props) {\n return style(props, paddingKeys);\n}\npadding.propTypes = process.env.NODE_ENV !== 'production' ? paddingKeys.reduce((obj, key) => {\n obj[key] = responsivePropType;\n return obj;\n}, {}) : {};\npadding.filterProps = paddingKeys;\nfunction spacing(props) {\n return style(props, spacingKeys);\n}\nspacing.propTypes = process.env.NODE_ENV !== 'production' ? spacingKeys.reduce((obj, key) => {\n obj[key] = responsivePropType;\n return obj;\n}, {}) : {};\nspacing.filterProps = spacingKeys;\nexport default spacing;"],"names":[],"mappings":";;;;;;AAKA,MAAM,UAAU,GAAG;AACnB,EAAE,CAAC,EAAE,QAAQ;AACb,EAAE,CAAC,EAAE;AACL,CAAC;AACD,MAAM,UAAU,GAAG;AACnB,EAAE,CAAC,EAAE,KAAK;AACV,EAAE,CAAC,EAAE,OAAO;AACZ,EAAE,CAAC,EAAE,QAAQ;AACb,EAAE,CAAC,EAAE,MAAM;AACX,EAAE,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;AACtB,EAAE,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ;AACrB,CAAC;AACD,MAAM,OAAO,GAAG;AAChB,EAAE,OAAO,EAAE,IAAI;AACf,EAAE,OAAO,EAAE,IAAI;AACf,EAAE,QAAQ,EAAE,IAAI;AAChB,EAAE,QAAQ,EAAE;AACZ,CAAC;;AAED;AACA;AACA;AACA,MAAM,gBAAgB,GAAG,OAAO,CAAC,IAA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AAC,CAAC,CAAC,MAAM,CAAC,KAAK,EAAE,EAAE,CAAC;AAC7G;AACO,SAAS,MAAM,CAAC,KAAK,EAAE;AAC9B,EAAE,OAAO,KAAK,CAAC,KAAK,EAAE,UAAU,CAAC;AACjC;AACA,MAAM,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,GAAG,KAAK;AAC3F,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,kBAAkB;AAC/B,EAAE,OAAO,GAAG;AACZ,CAAC,EAAE,EAAE,CAAC,GAAG,EAAE;AACX,MAAM,CAAC,WAAW,GAAG,UAAU;AACxB,SAAS,OAAO,CAAC,KAAK,EAAE;AAC/B,EAAE,OAAO,KAAK,CAAC,KAAK,EAAE,WAAW,CAAC;AAClC;AACA,OAAO,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,GAAG,KAAK;AAC7F,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,kBAAkB;AAC/B,EAAE,OAAO,GAAG;AACZ,CAAC,EAAE,EAAE,CAAC,GAAG,EAAE;AACX,OAAO,CAAC,WAAW,GAAG,WAAW;AAIb,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,GAAG,KAAK;AAC7F,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,kBAAkB;AAC/B,EAAE,OAAO,GAAG;AACZ,CAAC,EAAE,EAAE,CAAC,GAAG,EAAE;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import responsivePropType from './responsivePropType.js';
|
|
2
|
+
import { handleBreakpoints } from './breakpoints.js';
|
|
3
|
+
import capitalize from '../../utils/esm/capitalize/capitalize.js';
|
|
4
|
+
|
|
5
|
+
function getPath(obj, path, checkVars = true) {
|
|
6
|
+
if (!path || typeof path !== 'string') {
|
|
7
|
+
return null;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// Check if CSS variables are used
|
|
11
|
+
if (obj && obj.vars && checkVars) {
|
|
12
|
+
const val = `vars.${path}`.split('.').reduce((acc, item) => acc && acc[item] ? acc[item] : null, obj);
|
|
13
|
+
if (val != null) {
|
|
14
|
+
return val;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
return path.split('.').reduce((acc, item) => {
|
|
18
|
+
if (acc && acc[item] != null) {
|
|
19
|
+
return acc[item];
|
|
20
|
+
}
|
|
21
|
+
return null;
|
|
22
|
+
}, obj);
|
|
23
|
+
}
|
|
24
|
+
function getStyleValue(themeMapping, transform, propValueFinal, userValue = propValueFinal) {
|
|
25
|
+
let value;
|
|
26
|
+
if (typeof themeMapping === 'function') {
|
|
27
|
+
value = themeMapping(propValueFinal);
|
|
28
|
+
} else if (Array.isArray(themeMapping)) {
|
|
29
|
+
value = themeMapping[propValueFinal] || userValue;
|
|
30
|
+
} else {
|
|
31
|
+
value = getPath(themeMapping, propValueFinal) || userValue;
|
|
32
|
+
}
|
|
33
|
+
if (transform) {
|
|
34
|
+
value = transform(value, userValue, themeMapping);
|
|
35
|
+
}
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
function style(options) {
|
|
39
|
+
const {
|
|
40
|
+
prop,
|
|
41
|
+
cssProperty = options.prop,
|
|
42
|
+
themeKey,
|
|
43
|
+
transform
|
|
44
|
+
} = options;
|
|
45
|
+
|
|
46
|
+
// false positive
|
|
47
|
+
// eslint-disable-next-line react/function-component-definition
|
|
48
|
+
const fn = props => {
|
|
49
|
+
if (props[prop] == null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
const propValue = props[prop];
|
|
53
|
+
const theme = props.theme;
|
|
54
|
+
const themeMapping = getPath(theme, themeKey) || {};
|
|
55
|
+
const styleFromPropValue = propValueFinal => {
|
|
56
|
+
let value = getStyleValue(themeMapping, transform, propValueFinal);
|
|
57
|
+
if (propValueFinal === value && typeof propValueFinal === 'string') {
|
|
58
|
+
// Haven't found value
|
|
59
|
+
value = getStyleValue(themeMapping, transform, `${prop}${propValueFinal === 'default' ? '' : capitalize(propValueFinal)}`, propValueFinal);
|
|
60
|
+
}
|
|
61
|
+
if (cssProperty === false) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
[cssProperty]: value
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
return handleBreakpoints(props, propValue, styleFromPropValue);
|
|
69
|
+
};
|
|
70
|
+
fn.propTypes = process.env.NODE_ENV !== 'production' ? {
|
|
71
|
+
[prop]: responsivePropType
|
|
72
|
+
} : {};
|
|
73
|
+
fn.filterProps = [prop];
|
|
74
|
+
return fn;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export { style as default, getPath, getStyleValue };
|
|
78
|
+
//# sourceMappingURL=style.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.js","sources":["../../../../../node_modules/@mui/system/esm/style.js"],"sourcesContent":["import capitalize from '@mui/utils/capitalize';\nimport responsivePropType from './responsivePropType';\nimport { handleBreakpoints } from './breakpoints';\nexport function getPath(obj, path, checkVars = true) {\n if (!path || typeof path !== 'string') {\n return null;\n }\n\n // Check if CSS variables are used\n if (obj && obj.vars && checkVars) {\n const val = `vars.${path}`.split('.').reduce((acc, item) => acc && acc[item] ? acc[item] : null, obj);\n if (val != null) {\n return val;\n }\n }\n return path.split('.').reduce((acc, item) => {\n if (acc && acc[item] != null) {\n return acc[item];\n }\n return null;\n }, obj);\n}\nexport function getStyleValue(themeMapping, transform, propValueFinal, userValue = propValueFinal) {\n let value;\n if (typeof themeMapping === 'function') {\n value = themeMapping(propValueFinal);\n } else if (Array.isArray(themeMapping)) {\n value = themeMapping[propValueFinal] || userValue;\n } else {\n value = getPath(themeMapping, propValueFinal) || userValue;\n }\n if (transform) {\n value = transform(value, userValue, themeMapping);\n }\n return value;\n}\nfunction style(options) {\n const {\n prop,\n cssProperty = options.prop,\n themeKey,\n transform\n } = options;\n\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const fn = props => {\n if (props[prop] == null) {\n return null;\n }\n const propValue = props[prop];\n const theme = props.theme;\n const themeMapping = getPath(theme, themeKey) || {};\n const styleFromPropValue = propValueFinal => {\n let value = getStyleValue(themeMapping, transform, propValueFinal);\n if (propValueFinal === value && typeof propValueFinal === 'string') {\n // Haven't found value\n value = getStyleValue(themeMapping, transform, `${prop}${propValueFinal === 'default' ? '' : capitalize(propValueFinal)}`, propValueFinal);\n }\n if (cssProperty === false) {\n return value;\n }\n return {\n [cssProperty]: value\n };\n };\n return handleBreakpoints(props, propValue, styleFromPropValue);\n };\n fn.propTypes = process.env.NODE_ENV !== 'production' ? {\n [prop]: responsivePropType\n } : {};\n fn.filterProps = [prop];\n return fn;\n}\nexport default style;"],"names":[],"mappings":";;;;AAGO,SAAS,OAAO,CAAC,GAAG,EAAE,IAAI,EAAE,SAAS,GAAG,IAAI,EAAE;AACrD,EAAE,IAAI,CAAC,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;AACzC,IAAI,OAAO,IAAI;AACf,EAAE;;AAEF;AACA,EAAE,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,IAAI,SAAS,EAAE;AACpC,IAAI,MAAM,GAAG,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,KAAK,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,IAAI,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;AACzG,IAAI,IAAI,GAAG,IAAI,IAAI,EAAE;AACrB,MAAM,OAAO,GAAG;AAChB,IAAI;AACJ,EAAE;AACF,EAAE,OA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AAC;AACjC,IAAI,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK;AAC7B,IAAI,MAAM,YAAY,GAAG,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,IAAI,EAAE;AACvD,IAAI,MAAM,kBAAkB,GAAG,cAAc,IAAI;AACjD,MAAM,IAAI,KAAK,GAAG,aAAa,CAAC,YAAY,EAAE,SAAS,EAAE,cAAc,CAAC;AACxE,MAAM,IAAI,cAAc,KAAK,KAAK,IAAI,OAAO,cAAc,KAAK,QAAQ,EAAE;AAC1E;AACA,QAAQ,KAAK,GAAG,aAAa,CAAC,YAAY,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,cAAc,KAAK,SAAS,GAAG,EAAE,GAAG,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC;AAClJ,MAAM;AACN,MAAM,IAAI,WAAW,KAAK,KAAK,EAAE;AACjC,QAAQ,OAAO,KAAK;AACpB,MAAM;AACN,MAAM,OAAO;AACb,QAAQ,CAAC,WAAW,GAAG;AACvB,OAAO;AACP,IAAI,CAAC;AACL,IAAI,OAAO,iBAAiB,CAAC,KAAK,EAAE,SAAS,EAAE,kBAAkB,CAAC;AAClE,EAAE,CAAC;AACH,EAAE,EAAE,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,GAAG;AACzD,IAAI,CAAC,IAAI,GAAG;AACZ,GAAG,GAAG,EAAE;AACR,EAAE,EAAE,CAAC,WAAW,GAAG,CAAC,IAAI,CAAC;AACzB,EAAE,OAAO,EAAE;AACX;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
import { margin, padding } from '../spacing.js';
|
|
2
|
+
import { borderRadius, borderTransform } from '../borders.js';
|
|
3
|
+
import { columnGap, rowGap, gap } from '../cssGrid.js';
|
|
4
|
+
import { paletteTransform } from '../palette.js';
|
|
5
|
+
import { sizingTransform, maxWidth } from '../sizing.js';
|
|
6
|
+
|
|
7
|
+
const defaultSxConfig = {
|
|
8
|
+
// borders
|
|
9
|
+
border: {
|
|
10
|
+
themeKey: 'borders',
|
|
11
|
+
transform: borderTransform
|
|
12
|
+
},
|
|
13
|
+
borderTop: {
|
|
14
|
+
themeKey: 'borders',
|
|
15
|
+
transform: borderTransform
|
|
16
|
+
},
|
|
17
|
+
borderRight: {
|
|
18
|
+
themeKey: 'borders',
|
|
19
|
+
transform: borderTransform
|
|
20
|
+
},
|
|
21
|
+
borderBottom: {
|
|
22
|
+
themeKey: 'borders',
|
|
23
|
+
transform: borderTransform
|
|
24
|
+
},
|
|
25
|
+
borderLeft: {
|
|
26
|
+
themeKey: 'borders',
|
|
27
|
+
transform: borderTransform
|
|
28
|
+
},
|
|
29
|
+
borderColor: {
|
|
30
|
+
themeKey: 'palette'
|
|
31
|
+
},
|
|
32
|
+
borderTopColor: {
|
|
33
|
+
themeKey: 'palette'
|
|
34
|
+
},
|
|
35
|
+
borderRightColor: {
|
|
36
|
+
themeKey: 'palette'
|
|
37
|
+
},
|
|
38
|
+
borderBottomColor: {
|
|
39
|
+
themeKey: 'palette'
|
|
40
|
+
},
|
|
41
|
+
borderLeftColor: {
|
|
42
|
+
themeKey: 'palette'
|
|
43
|
+
},
|
|
44
|
+
outline: {
|
|
45
|
+
themeKey: 'borders',
|
|
46
|
+
transform: borderTransform
|
|
47
|
+
},
|
|
48
|
+
outlineColor: {
|
|
49
|
+
themeKey: 'palette'
|
|
50
|
+
},
|
|
51
|
+
borderRadius: {
|
|
52
|
+
themeKey: 'shape.borderRadius',
|
|
53
|
+
style: borderRadius
|
|
54
|
+
},
|
|
55
|
+
// palette
|
|
56
|
+
color: {
|
|
57
|
+
themeKey: 'palette',
|
|
58
|
+
transform: paletteTransform
|
|
59
|
+
},
|
|
60
|
+
bgcolor: {
|
|
61
|
+
themeKey: 'palette',
|
|
62
|
+
cssProperty: 'backgroundColor',
|
|
63
|
+
transform: paletteTransform
|
|
64
|
+
},
|
|
65
|
+
backgroundColor: {
|
|
66
|
+
themeKey: 'palette',
|
|
67
|
+
transform: paletteTransform
|
|
68
|
+
},
|
|
69
|
+
// spacing
|
|
70
|
+
p: {
|
|
71
|
+
style: padding
|
|
72
|
+
},
|
|
73
|
+
pt: {
|
|
74
|
+
style: padding
|
|
75
|
+
},
|
|
76
|
+
pr: {
|
|
77
|
+
style: padding
|
|
78
|
+
},
|
|
79
|
+
pb: {
|
|
80
|
+
style: padding
|
|
81
|
+
},
|
|
82
|
+
pl: {
|
|
83
|
+
style: padding
|
|
84
|
+
},
|
|
85
|
+
px: {
|
|
86
|
+
style: padding
|
|
87
|
+
},
|
|
88
|
+
py: {
|
|
89
|
+
style: padding
|
|
90
|
+
},
|
|
91
|
+
padding: {
|
|
92
|
+
style: padding
|
|
93
|
+
},
|
|
94
|
+
paddingTop: {
|
|
95
|
+
style: padding
|
|
96
|
+
},
|
|
97
|
+
paddingRight: {
|
|
98
|
+
style: padding
|
|
99
|
+
},
|
|
100
|
+
paddingBottom: {
|
|
101
|
+
style: padding
|
|
102
|
+
},
|
|
103
|
+
paddingLeft: {
|
|
104
|
+
style: padding
|
|
105
|
+
},
|
|
106
|
+
paddingX: {
|
|
107
|
+
style: padding
|
|
108
|
+
},
|
|
109
|
+
paddingY: {
|
|
110
|
+
style: padding
|
|
111
|
+
},
|
|
112
|
+
paddingInline: {
|
|
113
|
+
style: padding
|
|
114
|
+
},
|
|
115
|
+
paddingInlineStart: {
|
|
116
|
+
style: padding
|
|
117
|
+
},
|
|
118
|
+
paddingInlineEnd: {
|
|
119
|
+
style: padding
|
|
120
|
+
},
|
|
121
|
+
paddingBlock: {
|
|
122
|
+
style: padding
|
|
123
|
+
},
|
|
124
|
+
paddingBlockStart: {
|
|
125
|
+
style: padding
|
|
126
|
+
},
|
|
127
|
+
paddingBlockEnd: {
|
|
128
|
+
style: padding
|
|
129
|
+
},
|
|
130
|
+
m: {
|
|
131
|
+
style: margin
|
|
132
|
+
},
|
|
133
|
+
mt: {
|
|
134
|
+
style: margin
|
|
135
|
+
},
|
|
136
|
+
mr: {
|
|
137
|
+
style: margin
|
|
138
|
+
},
|
|
139
|
+
mb: {
|
|
140
|
+
style: margin
|
|
141
|
+
},
|
|
142
|
+
ml: {
|
|
143
|
+
style: margin
|
|
144
|
+
},
|
|
145
|
+
mx: {
|
|
146
|
+
style: margin
|
|
147
|
+
},
|
|
148
|
+
my: {
|
|
149
|
+
style: margin
|
|
150
|
+
},
|
|
151
|
+
margin: {
|
|
152
|
+
style: margin
|
|
153
|
+
},
|
|
154
|
+
marginTop: {
|
|
155
|
+
style: margin
|
|
156
|
+
},
|
|
157
|
+
marginRight: {
|
|
158
|
+
style: margin
|
|
159
|
+
},
|
|
160
|
+
marginBottom: {
|
|
161
|
+
style: margin
|
|
162
|
+
},
|
|
163
|
+
marginLeft: {
|
|
164
|
+
style: margin
|
|
165
|
+
},
|
|
166
|
+
marginX: {
|
|
167
|
+
style: margin
|
|
168
|
+
},
|
|
169
|
+
marginY: {
|
|
170
|
+
style: margin
|
|
171
|
+
},
|
|
172
|
+
marginInline: {
|
|
173
|
+
style: margin
|
|
174
|
+
},
|
|
175
|
+
marginInlineStart: {
|
|
176
|
+
style: margin
|
|
177
|
+
},
|
|
178
|
+
marginInlineEnd: {
|
|
179
|
+
style: margin
|
|
180
|
+
},
|
|
181
|
+
marginBlock: {
|
|
182
|
+
style: margin
|
|
183
|
+
},
|
|
184
|
+
marginBlockStart: {
|
|
185
|
+
style: margin
|
|
186
|
+
},
|
|
187
|
+
marginBlockEnd: {
|
|
188
|
+
style: margin
|
|
189
|
+
},
|
|
190
|
+
// display
|
|
191
|
+
displayPrint: {
|
|
192
|
+
cssProperty: false,
|
|
193
|
+
transform: value => ({
|
|
194
|
+
'@media print': {
|
|
195
|
+
display: value
|
|
196
|
+
}
|
|
197
|
+
})
|
|
198
|
+
},
|
|
199
|
+
display: {},
|
|
200
|
+
overflow: {},
|
|
201
|
+
textOverflow: {},
|
|
202
|
+
visibility: {},
|
|
203
|
+
whiteSpace: {},
|
|
204
|
+
// flexbox
|
|
205
|
+
flexBasis: {},
|
|
206
|
+
flexDirection: {},
|
|
207
|
+
flexWrap: {},
|
|
208
|
+
justifyContent: {},
|
|
209
|
+
alignItems: {},
|
|
210
|
+
alignContent: {},
|
|
211
|
+
order: {},
|
|
212
|
+
flex: {},
|
|
213
|
+
flexGrow: {},
|
|
214
|
+
flexShrink: {},
|
|
215
|
+
alignSelf: {},
|
|
216
|
+
justifyItems: {},
|
|
217
|
+
justifySelf: {},
|
|
218
|
+
// grid
|
|
219
|
+
gap: {
|
|
220
|
+
style: gap
|
|
221
|
+
},
|
|
222
|
+
rowGap: {
|
|
223
|
+
style: rowGap
|
|
224
|
+
},
|
|
225
|
+
columnGap: {
|
|
226
|
+
style: columnGap
|
|
227
|
+
},
|
|
228
|
+
gridColumn: {},
|
|
229
|
+
gridRow: {},
|
|
230
|
+
gridAutoFlow: {},
|
|
231
|
+
gridAutoColumns: {},
|
|
232
|
+
gridAutoRows: {},
|
|
233
|
+
gridTemplateColumns: {},
|
|
234
|
+
gridTemplateRows: {},
|
|
235
|
+
gridTemplateAreas: {},
|
|
236
|
+
gridArea: {},
|
|
237
|
+
// positions
|
|
238
|
+
position: {},
|
|
239
|
+
zIndex: {
|
|
240
|
+
themeKey: 'zIndex'
|
|
241
|
+
},
|
|
242
|
+
top: {},
|
|
243
|
+
right: {},
|
|
244
|
+
bottom: {},
|
|
245
|
+
left: {},
|
|
246
|
+
// shadows
|
|
247
|
+
boxShadow: {
|
|
248
|
+
themeKey: 'shadows'
|
|
249
|
+
},
|
|
250
|
+
// sizing
|
|
251
|
+
width: {
|
|
252
|
+
transform: sizingTransform
|
|
253
|
+
},
|
|
254
|
+
maxWidth: {
|
|
255
|
+
style: maxWidth
|
|
256
|
+
},
|
|
257
|
+
minWidth: {
|
|
258
|
+
transform: sizingTransform
|
|
259
|
+
},
|
|
260
|
+
height: {
|
|
261
|
+
transform: sizingTransform
|
|
262
|
+
},
|
|
263
|
+
maxHeight: {
|
|
264
|
+
transform: sizingTransform
|
|
265
|
+
},
|
|
266
|
+
minHeight: {
|
|
267
|
+
transform: sizingTransform
|
|
268
|
+
},
|
|
269
|
+
boxSizing: {},
|
|
270
|
+
// typography
|
|
271
|
+
fontFamily: {
|
|
272
|
+
themeKey: 'typography'
|
|
273
|
+
},
|
|
274
|
+
fontSize: {
|
|
275
|
+
themeKey: 'typography'
|
|
276
|
+
},
|
|
277
|
+
fontStyle: {
|
|
278
|
+
themeKey: 'typography'
|
|
279
|
+
},
|
|
280
|
+
fontWeight: {
|
|
281
|
+
themeKey: 'typography'
|
|
282
|
+
},
|
|
283
|
+
letterSpacing: {},
|
|
284
|
+
textTransform: {},
|
|
285
|
+
lineHeight: {},
|
|
286
|
+
textAlign: {},
|
|
287
|
+
typography: {
|
|
288
|
+
cssProperty: false,
|
|
289
|
+
themeKey: 'typography'
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
|
|
293
|
+
export { defaultSxConfig as default };
|
|
294
|
+
//# sourceMappingURL=defaultSxConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaultSxConfig.js","sources":["../../../../../../node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js"],"sourcesContent":["import { padding, margin } from '../spacing';\nimport { borderRadius, borderTransform } from '../borders';\nimport { gap, rowGap, columnGap } from '../cssGrid';\nimport { paletteTransform } from '../palette';\nimport { maxWidth, sizingTransform } from '../sizing';\nconst defaultSxConfig = {\n // borders\n border: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderTop: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderRight: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderBottom: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderLeft: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderColor: {\n themeKey: 'palette'\n },\n borderTopColor: {\n themeKey: 'palette'\n },\n borderRightColor: {\n themeKey: 'palette'\n },\n borderBottomColor: {\n themeKey: 'palette'\n },\n borderLeftColor: {\n themeKey: 'palette'\n },\n outline: {\n themeKey: 'borders',\n transform: borderTransform\n },\n outlineColor: {\n themeKey: 'palette'\n },\n borderRadius: {\n themeKey: 'shape.borderRadius',\n style: borderRadius\n },\n // palette\n color: {\n themeKey: 'palette',\n transform: paletteTransform\n },\n bgcolor: {\n themeKey: 'palette',\n cssProperty: 'backgroundColor',\n transform: paletteTransform\n },\n backgroundColor: {\n themeKey: 'palette',\n transform: paletteTransform\n },\n // spacing\n p: {\n style: padding\n },\n pt: {\n style: padding\n },\n pr: {\n style: padding\n },\n pb: {\n style: padding\n },\n pl: {\n style: padding\n },\n px: {\n style: padding\n },\n py: {\n style: padding\n },\n padding: {\n style: padding\n },\n paddingTop: {\n style: padding\n },\n paddingRight: {\n style: padding\n },\n paddingBottom: {\n style: padding\n },\n paddingLeft: {\n style: padding\n },\n paddingX: {\n style: padding\n },\n paddingY: {\n style: padding\n },\n paddingInline: {\n style: padding\n },\n paddingInlineStart: {\n style: padding\n },\n paddingInlineEnd: {\n style: padding\n },\n paddingBlock: {\n style: padding\n },\n paddingBlockStart: {\n style: padding\n },\n paddingBlockEnd: {\n style: padding\n },\n m: {\n style: margin\n },\n mt: {\n style: margin\n },\n mr: {\n style: margin\n },\n mb: {\n style: margin\n },\n ml: {\n style: margin\n },\n mx: {\n style: margin\n },\n my: {\n style: margin\n },\n margin: {\n style: margin\n },\n marginTop: {\n style: margin\n },\n marginRight: {\n style: margin\n },\n marginBottom: {\n style: margin\n },\n marginLeft: {\n style: margin\n },\n marginX: {\n style: margin\n },\n marginY: {\n style: margin\n },\n marginInline: {\n style: margin\n },\n marginInlineStart: {\n style: margin\n },\n marginInlineEnd: {\n style: margin\n },\n marginBlock: {\n style: margin\n },\n marginBlockStart: {\n style: margin\n },\n marginBlockEnd: {\n style: margin\n },\n // display\n displayPrint: {\n cssProperty: false,\n transform: value => ({\n '@media print': {\n display: value\n }\n })\n },\n display: {},\n overflow: {},\n textOverflow: {},\n visibility: {},\n whiteSpace: {},\n // flexbox\n flexBasis: {},\n flexDirection: {},\n flexWrap: {},\n justifyContent: {},\n alignItems: {},\n alignContent: {},\n order: {},\n flex: {},\n flexGrow: {},\n flexShrink: {},\n alignSelf: {},\n justifyItems: {},\n justifySelf: {},\n // grid\n gap: {\n style: gap\n },\n rowGap: {\n style: rowGap\n },\n columnGap: {\n style: columnGap\n },\n gridColumn: {},\n gridRow: {},\n gridAutoFlow: {},\n gridAutoColumns: {},\n gridAutoRows: {},\n gridTemplateColumns: {},\n gridTemplateRows: {},\n gridTemplateAreas: {},\n gridArea: {},\n // positions\n position: {},\n zIndex: {\n themeKey: 'zIndex'\n },\n top: {},\n right: {},\n bottom: {},\n left: {},\n // shadows\n boxShadow: {\n themeKey: 'shadows'\n },\n // sizing\n width: {\n transform: sizingTransform\n },\n maxWidth: {\n style: maxWidth\n },\n minWidth: {\n transform: sizingTransform\n },\n height: {\n transform: sizingTransform\n },\n maxHeight: {\n transform: sizingTransform\n },\n minHeight: {\n transform: sizingTransform\n },\n boxSizing: {},\n // typography\n fontFamily: {\n themeKey: 'typography'\n },\n fontSize: {\n themeKey: 'typography'\n },\n fontStyle: {\n themeKey: 'typography'\n },\n fontWeight: {\n themeKey: 'typography'\n },\n letterSpacing: {},\n textTransform: {},\n lineHeight: {},\n textAlign: {},\n typography: {\n cssProperty: false,\n themeKey: 'typography'\n }\n};\nexport default defaultSxConfig;"],"names":[],"mappings":";;;;;;AAKK,MAAC,eAAe,GAAG;AACxB;AACA,EAAE,MAAM,EAAE;AACV,IAAI,QAAQ,EAAE,SAAS;AACvB,IAAI,SAAS,EAAE;AACf,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,QAAQ,EAAE,SAAS;AACvB,IAAI,SAAS,EAAE;AACf,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,QAAQ,EAAE,SAAS;AACvB,IAAI,SAAS,EAAE;AACf,GAAG;AACH,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