@dbmx/toasts 0.0.56 → 0.0.60
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/index.cjs +7 -9
- package/cjs/components/SdmxDatagrid/utils.cjs +175 -0
- package/cjs/fake-ZW05emqw.js +35 -0
- package/cjs/fake-ZW05emqw.js.map +1 -0
- package/cjs/index.cjs +5 -54
- package/cjs/index.cjs.map +1 -0
- 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/{index-FCPRKLj2.js → _virtual/_rollupPluginBabelHelpers.js} +2 -89
- 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/fake-JHdVf8lQ.js +14 -0
- package/esm/fake-JHdVf8lQ.js.map +1 -0
- package/esm/index-lo-MKsEb.js +556 -0
- package/esm/index-lo-MKsEb.js.map +1 -0
- package/esm/index.js +1 -1
- 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 +28 -12
- package/plugins/rollup-plugin-postcss-shadow/index.js +79 -0
- package/yarn-error.log +7136 -0
- package/cjs/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/concat.cjs +0 -69
- package/cjs/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/equals.cjs +0 -42
- package/cjs/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/filter.cjs +0 -63
- package/cjs/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_arrayFromIterator.cjs +0 -13
- package/cjs/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_complement.cjs +0 -10
- package/cjs/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_equals.cjs +0 -143
- package/cjs/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_filter.cjs +0 -17
- package/cjs/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_functionName.cjs +0 -10
- package/cjs/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_includes.cjs +0 -11
- package/cjs/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_includesWith.cjs +0 -16
- package/cjs/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_indexOf.cjs +0 -61
- package/cjs/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_isFunction.cjs +0 -9
- package/cjs/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_isObject.cjs +0 -8
- package/cjs/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_objectIs.cjs +0 -18
- package/cjs/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_quote.cjs +0 -10
- package/cjs/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_toISOString.cjs +0 -17
- package/cjs/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_toString.cjs +0 -62
- package/cjs/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/internal/_xfilter.cjs +0 -26
- package/cjs/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/reject.cjs +0 -43
- package/cjs/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/times.cjs +0 -49
- package/cjs/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/toString.cjs +0 -53
- package/cjs/node_modules/@dbmx/sdmx/cjs/node_modules/ramda/es/type.cjs +0 -41
- package/esm/index-FCPRKLj2.js.map +0 -1
- package/esm/index-Mh78z9aW.js +0 -562
- package/esm/index-Mh78z9aW.js.map +0 -1
- package/esm/index-T2bcfyHI.js +0 -8510
- package/esm/index-T2bcfyHI.js.map +0 -1
- package/esm/index-W7MLRHBf.js +0 -87
- package/esm/index-W7MLRHBf.js.map +0 -1
- package/esm/index-gBe37Ynf.js +0 -8438
- package/esm/index-gBe37Ynf.js.map +0 -1
- package/esm/index-ndYjFD6I.js +0 -8438
- package/esm/index-ndYjFD6I.js.map +0 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import _curry3 from './internal/_curry3.js';
|
|
2
|
+
import defaultTo$1 from './defaultTo.js';
|
|
3
|
+
import prop$1 from './prop.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Return the specified property of the given non-null object if the property
|
|
7
|
+
* is present and it's value is not `null`, `undefined` or `NaN`.
|
|
8
|
+
*
|
|
9
|
+
* Otherwise the first argument is returned.
|
|
10
|
+
*
|
|
11
|
+
* @func
|
|
12
|
+
* @memberOf R
|
|
13
|
+
* @since v0.6.0
|
|
14
|
+
* @category Object
|
|
15
|
+
* @sig a -> String -> Object -> a
|
|
16
|
+
* @param {*} val The default value.
|
|
17
|
+
* @param {String} p The name of the property to return.
|
|
18
|
+
* @param {Object} obj The object to query.
|
|
19
|
+
* @return {*} The value of given property of the supplied object or the default value.
|
|
20
|
+
* @example
|
|
21
|
+
*
|
|
22
|
+
* const alice = {
|
|
23
|
+
* name: 'ALICE',
|
|
24
|
+
* age: 101
|
|
25
|
+
* };
|
|
26
|
+
* const favorite = R.prop('favoriteLibrary');
|
|
27
|
+
* const favoriteWithDefault = R.propOr('Ramda', 'favoriteLibrary');
|
|
28
|
+
*
|
|
29
|
+
* favorite(alice); //=> undefined
|
|
30
|
+
* favoriteWithDefault(alice); //=> 'Ramda'
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
var propOr =
|
|
34
|
+
/*#__PURE__*/
|
|
35
|
+
_curry3(function propOr(val, p, obj) {
|
|
36
|
+
return defaultTo$1(val, prop$1(p, obj));
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
var propOr$1 = propOr;
|
|
40
|
+
|
|
41
|
+
export { propOr$1 as default };
|
|
42
|
+
//# sourceMappingURL=propOr.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"propOr.js","sources":["../../../../../../../../node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/propOr.mjs"],"sourcesContent":["import _curry3 from './internal/_curry3.mjs';\nimport defaultTo from './defaultTo.mjs';\nimport prop from './prop.mjs';\n\n/**\n * Return the specified property of the given non-null object if the property\n * is present and it's value is not `null`, `undefined` or `NaN`.\n *\n * Otherwise the first argument is returned.\n *\n * @func\n * @memberOf R\n * @since v0.6.0\n * @category Object\n * @sig a -> String -> Object -> a\n * @param {*} val The default value.\n * @param {String} p The name of the property to return.\n * @param {Object} obj The object to query.\n * @return {*} The value of given property of the supplied object or the default value.\n * @example\n *\n * const alice = {\n * name: 'ALICE',\n * age: 101\n * };\n * const favorite = R.prop('favoriteLibrary');\n * const favoriteWithDefault = R.propOr('Ramda', 'favoriteLibrary');\n *\n * favorite(alice); //=> undefined\n * favoriteWithDefault(alice); //=> 'Ramda'\n */\n\nvar propOr =\n/*#__PURE__*/\n_curry3(function propOr(val, p, obj) {\n return defaultTo(val, prop(p, obj));\n});\n\nvar propOr$1 = propOr;\n\nexport { propOr$1 as default };\n//# sourceMappingURL=propOr.mjs.map\n"],"names":["defaultTo","prop"],"mappings":";;;;AAIA;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,IAAI,MAAM;AACV;AACA,OAAO,CAAC,SAAS,MAAM,CAAC,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE;AACrC,EAAE,OAAOA,WAAS,CAAC,GAAG,EAAEC,MAAI,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC;AACtC,CAAC,CAAC,CAAC;AACH;AACG,IAAC,QAAQ,GAAG;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import _curry3 from './internal/_curry3.js';
|
|
2
|
+
import _xReduce$1 from './internal/_xReduce.js';
|
|
3
|
+
import _xwrap from './internal/_xwrap.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Returns a single item by iterating through the list, successively calling
|
|
7
|
+
* the iterator function and passing it an accumulator value and the current
|
|
8
|
+
* value from the array, and then passing the result to the next call.
|
|
9
|
+
*
|
|
10
|
+
* The iterator function receives two values: *(acc, value)*. It may use
|
|
11
|
+
* [`R.reduced`](#reduced) to shortcut the iteration.
|
|
12
|
+
*
|
|
13
|
+
* The arguments' order of [`reduceRight`](#reduceRight)'s iterator function
|
|
14
|
+
* is *(value, acc)*.
|
|
15
|
+
*
|
|
16
|
+
* Note: `R.reduce` does not skip deleted or unassigned indices (sparse
|
|
17
|
+
* arrays), unlike the native `Array.prototype.reduce` method. For more details
|
|
18
|
+
* on this behavior, see:
|
|
19
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce#Description
|
|
20
|
+
*
|
|
21
|
+
* Be cautious of mutating and returning the accumulator. If you reuse it across
|
|
22
|
+
* invocations, it will continue to accumulate onto the same value. The general
|
|
23
|
+
* recommendation is to always return a new value. If you can't do so for
|
|
24
|
+
* performance reasons, then be sure to reinitialize the accumulator on each
|
|
25
|
+
* invocation.
|
|
26
|
+
*
|
|
27
|
+
* Dispatches to the `reduce` method of the third argument, if present. When
|
|
28
|
+
* doing so, it is up to the user to handle the [`R.reduced`](#reduced)
|
|
29
|
+
* shortcuting, as this is not implemented by `reduce`.
|
|
30
|
+
*
|
|
31
|
+
* @func
|
|
32
|
+
* @memberOf R
|
|
33
|
+
* @since v0.1.0
|
|
34
|
+
* @category List
|
|
35
|
+
* @sig ((a, b) -> a) -> a -> [b] -> a
|
|
36
|
+
* @param {Function} fn The iterator function. Receives two values, the accumulator and the
|
|
37
|
+
* current element from the array.
|
|
38
|
+
* @param {*} acc The accumulator value.
|
|
39
|
+
* @param {Array} list The list to iterate over.
|
|
40
|
+
* @return {*} The final, accumulated value.
|
|
41
|
+
* @see R.reduced, R.addIndex, R.reduceRight
|
|
42
|
+
* @example
|
|
43
|
+
*
|
|
44
|
+
* R.reduce(R.subtract, 0, [1, 2, 3, 4]) // => ((((0 - 1) - 2) - 3) - 4) = -10
|
|
45
|
+
* // - -10
|
|
46
|
+
* // / \ / \
|
|
47
|
+
* // - 4 -6 4
|
|
48
|
+
* // / \ / \
|
|
49
|
+
* // - 3 ==> -3 3
|
|
50
|
+
* // / \ / \
|
|
51
|
+
* // - 2 -1 2
|
|
52
|
+
* // / \ / \
|
|
53
|
+
* // 0 1 0 1
|
|
54
|
+
*
|
|
55
|
+
* @symb R.reduce(f, a, [b, c, d]) = f(f(f(a, b), c), d)
|
|
56
|
+
*/
|
|
57
|
+
|
|
58
|
+
var reduce =
|
|
59
|
+
/*#__PURE__*/
|
|
60
|
+
_curry3(function (xf, acc, list) {
|
|
61
|
+
return _xReduce$1(typeof xf === 'function' ? _xwrap(xf) : xf, acc, list);
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
var reduce$1 = reduce;
|
|
65
|
+
|
|
66
|
+
export { reduce$1 as default };
|
|
67
|
+
//# sourceMappingURL=reduce.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reduce.js","sources":["../../../../../../../../node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/reduce.mjs"],"sourcesContent":["import _curry3 from './internal/_curry3.mjs';\nimport _xReduce from './internal/_xReduce.mjs';\nimport _xwrap from './internal/_xwrap.mjs';\n\n/**\n * Returns a single item by iterating through the list, successively calling\n * the iterator function and passing it an accumulator value and the current\n * value from the array, and then passing the result to the next call.\n *\n * The iterator function receives two values: *(acc, value)*. It may use\n * [`R.reduced`](#reduced) to shortcut the iteration.\n *\n * The arguments' order of [`reduceRight`](#reduceRight)'s iterator function\n * is *(value, acc)*.\n *\n * Note: `R.reduce` does not skip deleted or unassigned indices (sparse\n * arrays), unlike the native `Array.prototype.reduce` method. For more details\n * on this behavior, see:\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce#Description\n *\n * Be cautious of mutating and returning the accumulator. If you reuse it across\n * invocations, it will continue to accumulate onto the same value. The general\n * recommendation is to always return a new value. If you can't do so for\n * performance reasons, then be sure to reinitialize the accumulator on each\n * invocation.\n *\n * Dispatches to the `reduce` method of the third argument, if present. When\n * doing so, it is up to the user to handle the [`R.reduced`](#reduced)\n * shortcuting, as this is not implemented by `reduce`.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig ((a, b) -> a) -> a -> [b] -> a\n * @param {Function} fn The iterator function. Receives two values, the accumulator and the\n * current element from the array.\n * @param {*} acc The accumulator value.\n * @param {Array} list The list to iterate over.\n * @return {*} The final, accumulated value.\n * @see R.reduced, R.addIndex, R.reduceRight\n * @example\n *\n * R.reduce(R.subtract, 0, [1, 2, 3, 4]) // => ((((0 - 1) - 2) - 3) - 4) = -10\n * // - -10\n * // / \\ / \\\n * // - 4 -6 4\n * // / \\ / \\\n * // - 3 ==> -3 3\n * // / \\ / \\\n * // - 2 -1 2\n * // / \\ / \\\n * // 0 1 0 1\n *\n * @symb R.reduce(f, a, [b, c, d]) = f(f(f(a, b), c), d)\n */\n\nvar reduce =\n/*#__PURE__*/\n_curry3(function (xf, acc, list) {\n return _xReduce(typeof xf === 'function' ? _xwrap(xf) : xf, acc, list);\n});\n\nvar reduce$1 = reduce;\n\nexport { reduce$1 as default };\n//# sourceMappingURL=reduce.mjs.map\n"],"names":["_xReduce"],"mappings":";;;;AAIA;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,IAAI,MAAM;AACV;AACA,OAAO,CAAC,UAAU,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE;AACjC,EAAE,OAAOA,UAAQ,CAAC,OAAO,EAAE,KAAK,UAAU,GAAG,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;AACzE,CAAC,CAAC,CAAC;AACH;AACG,IAAC,QAAQ,GAAG;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import _curry1 from './internal/_curry1.js';
|
|
2
|
+
import _isString from './internal/_isString.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Returns a new list or string with the elements or characters in reverse
|
|
6
|
+
* order.
|
|
7
|
+
*
|
|
8
|
+
* @func
|
|
9
|
+
* @memberOf R
|
|
10
|
+
* @since v0.1.0
|
|
11
|
+
* @category List
|
|
12
|
+
* @sig [a] -> [a]
|
|
13
|
+
* @sig String -> String
|
|
14
|
+
* @param {Array|String} list
|
|
15
|
+
* @return {Array|String}
|
|
16
|
+
* @example
|
|
17
|
+
*
|
|
18
|
+
* R.reverse([1, 2, 3]); //=> [3, 2, 1]
|
|
19
|
+
* R.reverse([1, 2]); //=> [2, 1]
|
|
20
|
+
* R.reverse([1]); //=> [1]
|
|
21
|
+
* R.reverse([]); //=> []
|
|
22
|
+
*
|
|
23
|
+
* R.reverse('abc'); //=> 'cba'
|
|
24
|
+
* R.reverse('ab'); //=> 'ba'
|
|
25
|
+
* R.reverse('a'); //=> 'a'
|
|
26
|
+
* R.reverse(''); //=> ''
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
var reverse =
|
|
30
|
+
/*#__PURE__*/
|
|
31
|
+
_curry1(function reverse(list) {
|
|
32
|
+
return _isString(list) ? list.split('').reverse().join('') : Array.prototype.slice.call(list, 0).reverse();
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
var reverse$1 = reverse;
|
|
36
|
+
|
|
37
|
+
export { reverse$1 as default };
|
|
38
|
+
//# sourceMappingURL=reverse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reverse.js","sources":["../../../../../../../../node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/reverse.mjs"],"sourcesContent":["import _curry1 from './internal/_curry1.mjs';\nimport _isString from './internal/_isString.mjs';\n\n/**\n * Returns a new list or string with the elements or characters in reverse\n * order.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig [a] -> [a]\n * @sig String -> String\n * @param {Array|String} list\n * @return {Array|String}\n * @example\n *\n * R.reverse([1, 2, 3]); //=> [3, 2, 1]\n * R.reverse([1, 2]); //=> [2, 1]\n * R.reverse([1]); //=> [1]\n * R.reverse([]); //=> []\n *\n * R.reverse('abc'); //=> 'cba'\n * R.reverse('ab'); //=> 'ba'\n * R.reverse('a'); //=> 'a'\n * R.reverse(''); //=> ''\n */\n\nvar reverse =\n/*#__PURE__*/\n_curry1(function reverse(list) {\n return _isString(list) ? list.split('').reverse().join('') : Array.prototype.slice.call(list, 0).reverse();\n});\n\nvar reverse$1 = reverse;\n\nexport { reverse$1 as default };\n//# sourceMappingURL=reverse.mjs.map\n"],"names":[],"mappings":";;;AAGA;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,IAAI,OAAO;AACX;AACA,OAAO,CAAC,SAAS,OAAO,CAAC,IAAI,EAAE;AAC/B,EAAE,OAAO,SAAS,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;AAC7G,CAAC,CAAC,CAAC;AACH;AACG,IAAC,SAAS,GAAG;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import _checkForMethod from './internal/_checkForMethod.js';
|
|
2
|
+
import _curry3 from './internal/_curry3.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Returns the elements of the given list or string (or object with a `slice`
|
|
6
|
+
* method) from `fromIndex` (inclusive) to `toIndex` (exclusive).
|
|
7
|
+
*
|
|
8
|
+
* Dispatches to the `slice` method of the third argument, if present.
|
|
9
|
+
*
|
|
10
|
+
* @func
|
|
11
|
+
* @memberOf R
|
|
12
|
+
* @since v0.1.4
|
|
13
|
+
* @category List
|
|
14
|
+
* @sig Number -> Number -> [a] -> [a]
|
|
15
|
+
* @sig Number -> Number -> String -> String
|
|
16
|
+
* @param {Number} fromIndex The start index (inclusive).
|
|
17
|
+
* @param {Number} toIndex The end index (exclusive).
|
|
18
|
+
* @param {*} list
|
|
19
|
+
* @return {*}
|
|
20
|
+
* @example
|
|
21
|
+
*
|
|
22
|
+
* R.slice(1, 3, ['a', 'b', 'c', 'd']); //=> ['b', 'c']
|
|
23
|
+
* R.slice(1, Infinity, ['a', 'b', 'c', 'd']); //=> ['b', 'c', 'd']
|
|
24
|
+
* R.slice(0, -1, ['a', 'b', 'c', 'd']); //=> ['a', 'b', 'c']
|
|
25
|
+
* R.slice(-3, -1, ['a', 'b', 'c', 'd']); //=> ['b', 'c']
|
|
26
|
+
* R.slice(0, 3, 'ramda'); //=> 'ram'
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
var slice =
|
|
30
|
+
/*#__PURE__*/
|
|
31
|
+
_curry3(
|
|
32
|
+
/*#__PURE__*/
|
|
33
|
+
_checkForMethod('slice', function slice(fromIndex, toIndex, list) {
|
|
34
|
+
return Array.prototype.slice.call(list, fromIndex, toIndex);
|
|
35
|
+
}));
|
|
36
|
+
|
|
37
|
+
var slice$1 = slice;
|
|
38
|
+
|
|
39
|
+
export { slice$1 as default };
|
|
40
|
+
//# sourceMappingURL=slice.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slice.js","sources":["../../../../../../../../node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/slice.mjs"],"sourcesContent":["import _checkForMethod from './internal/_checkForMethod.mjs';\nimport _curry3 from './internal/_curry3.mjs';\n\n/**\n * Returns the elements of the given list or string (or object with a `slice`\n * method) from `fromIndex` (inclusive) to `toIndex` (exclusive).\n *\n * Dispatches to the `slice` method of the third argument, if present.\n *\n * @func\n * @memberOf R\n * @since v0.1.4\n * @category List\n * @sig Number -> Number -> [a] -> [a]\n * @sig Number -> Number -> String -> String\n * @param {Number} fromIndex The start index (inclusive).\n * @param {Number} toIndex The end index (exclusive).\n * @param {*} list\n * @return {*}\n * @example\n *\n * R.slice(1, 3, ['a', 'b', 'c', 'd']); //=> ['b', 'c']\n * R.slice(1, Infinity, ['a', 'b', 'c', 'd']); //=> ['b', 'c', 'd']\n * R.slice(0, -1, ['a', 'b', 'c', 'd']); //=> ['a', 'b', 'c']\n * R.slice(-3, -1, ['a', 'b', 'c', 'd']); //=> ['b', 'c']\n * R.slice(0, 3, 'ramda'); //=> 'ram'\n */\n\nvar slice =\n/*#__PURE__*/\n_curry3(\n/*#__PURE__*/\n_checkForMethod('slice', function slice(fromIndex, toIndex, list) {\n return Array.prototype.slice.call(list, fromIndex, toIndex);\n}));\n\nvar slice$1 = slice;\n\nexport { slice$1 as default };\n//# sourceMappingURL=slice.mjs.map\n"],"names":[],"mappings":";;;AAGA;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,IAAI,KAAK;AACT;AACA,OAAO;AACP;AACA,eAAe,CAAC,OAAO,EAAE,SAAS,KAAK,CAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE;AAClE,EAAE,OAAO,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC,CAAC,CAAC;AACJ;AACG,IAAC,OAAO,GAAG;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import _checkForMethod from './internal/_checkForMethod.js';
|
|
2
|
+
import _curry1 from './internal/_curry1.js';
|
|
3
|
+
import slice$1 from './slice.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Returns all but the first element of the given list or string (or object
|
|
7
|
+
* with a `tail` method).
|
|
8
|
+
*
|
|
9
|
+
* Dispatches to the `slice` method of the first argument, if present.
|
|
10
|
+
*
|
|
11
|
+
* @func
|
|
12
|
+
* @memberOf R
|
|
13
|
+
* @since v0.1.0
|
|
14
|
+
* @category List
|
|
15
|
+
* @sig [a] -> [a]
|
|
16
|
+
* @sig String -> String
|
|
17
|
+
* @param {*} list
|
|
18
|
+
* @return {*}
|
|
19
|
+
* @see R.head, R.init, R.last
|
|
20
|
+
* @example
|
|
21
|
+
*
|
|
22
|
+
* R.tail([1, 2, 3]); //=> [2, 3]
|
|
23
|
+
* R.tail([1, 2]); //=> [2]
|
|
24
|
+
* R.tail([1]); //=> []
|
|
25
|
+
* R.tail([]); //=> []
|
|
26
|
+
*
|
|
27
|
+
* R.tail('abc'); //=> 'bc'
|
|
28
|
+
* R.tail('ab'); //=> 'b'
|
|
29
|
+
* R.tail('a'); //=> ''
|
|
30
|
+
* R.tail(''); //=> ''
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
var tail =
|
|
34
|
+
/*#__PURE__*/
|
|
35
|
+
_curry1(
|
|
36
|
+
/*#__PURE__*/
|
|
37
|
+
_checkForMethod('tail',
|
|
38
|
+
/*#__PURE__*/
|
|
39
|
+
slice$1(1, Infinity)));
|
|
40
|
+
|
|
41
|
+
var tail$1 = tail;
|
|
42
|
+
|
|
43
|
+
export { tail$1 as default };
|
|
44
|
+
//# sourceMappingURL=tail.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tail.js","sources":["../../../../../../../../node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/tail.mjs"],"sourcesContent":["import _checkForMethod from './internal/_checkForMethod.mjs';\nimport _curry1 from './internal/_curry1.mjs';\nimport slice from './slice.mjs';\n\n/**\n * Returns all but the first element of the given list or string (or object\n * with a `tail` method).\n *\n * Dispatches to the `slice` method of the first argument, if present.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig [a] -> [a]\n * @sig String -> String\n * @param {*} list\n * @return {*}\n * @see R.head, R.init, R.last\n * @example\n *\n * R.tail([1, 2, 3]); //=> [2, 3]\n * R.tail([1, 2]); //=> [2]\n * R.tail([1]); //=> []\n * R.tail([]); //=> []\n *\n * R.tail('abc'); //=> 'bc'\n * R.tail('ab'); //=> 'b'\n * R.tail('a'); //=> ''\n * R.tail(''); //=> ''\n */\n\nvar tail =\n/*#__PURE__*/\n_curry1(\n/*#__PURE__*/\n_checkForMethod('tail',\n/*#__PURE__*/\nslice(1, Infinity)));\n\nvar tail$1 = tail;\n\nexport { tail$1 as default };\n//# sourceMappingURL=tail.mjs.map\n"],"names":["slice"],"mappings":";;;;AAIA;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,IAAI,IAAI;AACR;AACA,OAAO;AACP;AACA,eAAe,CAAC,MAAM;AACtB;AACAA,OAAK,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;AACrB;AACG,IAAC,MAAM,GAAG;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import _curry1 from './internal/_curry1.js';
|
|
2
|
+
import keys$1 from './keys.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Returns a list of all the enumerable own properties of the supplied object.
|
|
6
|
+
* Note that the order of the output array is not guaranteed across different
|
|
7
|
+
* JS platforms.
|
|
8
|
+
*
|
|
9
|
+
* @func
|
|
10
|
+
* @memberOf R
|
|
11
|
+
* @since v0.1.0
|
|
12
|
+
* @category Object
|
|
13
|
+
* @sig {k: v} -> [v]
|
|
14
|
+
* @param {Object} obj The object to extract values from
|
|
15
|
+
* @return {Array} An array of the values of the object's own properties.
|
|
16
|
+
* @see R.valuesIn, R.keys, R.toPairs
|
|
17
|
+
* @example
|
|
18
|
+
*
|
|
19
|
+
* R.values({a: 1, b: 2, c: 3}); //=> [1, 2, 3]
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
var values =
|
|
23
|
+
/*#__PURE__*/
|
|
24
|
+
_curry1(function values(obj) {
|
|
25
|
+
var props = keys$1(obj);
|
|
26
|
+
var len = props.length;
|
|
27
|
+
var vals = [];
|
|
28
|
+
var idx = 0;
|
|
29
|
+
|
|
30
|
+
while (idx < len) {
|
|
31
|
+
vals[idx] = obj[props[idx]];
|
|
32
|
+
idx += 1;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return vals;
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
var values$1 = values;
|
|
39
|
+
|
|
40
|
+
export { values$1 as default };
|
|
41
|
+
//# sourceMappingURL=values.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"values.js","sources":["../../../../../../../../node_modules/@dbmx/sdmx/esm/node_modules/ramda/es/values.mjs"],"sourcesContent":["import _curry1 from './internal/_curry1.mjs';\nimport keys from './keys.mjs';\n\n/**\n * Returns a list of all the enumerable own properties of the supplied object.\n * Note that the order of the output array is not guaranteed across different\n * JS platforms.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig {k: v} -> [v]\n * @param {Object} obj The object to extract values from\n * @return {Array} An array of the values of the object's own properties.\n * @see R.valuesIn, R.keys, R.toPairs\n * @example\n *\n * R.values({a: 1, b: 2, c: 3}); //=> [1, 2, 3]\n */\n\nvar values =\n/*#__PURE__*/\n_curry1(function values(obj) {\n var props = keys(obj);\n var len = props.length;\n var vals = [];\n var idx = 0;\n\n while (idx < len) {\n vals[idx] = obj[props[idx]];\n idx += 1;\n }\n\n return vals;\n});\n\nvar values$1 = values;\n\nexport { values$1 as default };\n//# sourceMappingURL=values.mjs.map\n"],"names":["keys"],"mappings":";;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,MAAM;AACV;AACA,OAAO,CAAC,SAAS,MAAM,CAAC,GAAG,EAAE;AAC7B,EAAE,IAAI,KAAK,GAAGA,MAAI,CAAC,GAAG,CAAC,CAAC;AACxB,EAAE,IAAI,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC;AACzB,EAAE,IAAI,IAAI,GAAG,EAAE,CAAC;AAChB,EAAE,IAAI,GAAG,GAAG,CAAC,CAAC;AACd;AACA,EAAE,OAAO,GAAG,GAAG,GAAG,EAAE;AACpB,IAAI,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;AAChC,IAAI,GAAG,IAAI,CAAC,CAAC;AACb,GAAG;AACH;AACA,EAAE,OAAO,IAAI,CAAC;AACd,CAAC,CAAC,CAAC;AACH;AACG,IAAC,QAAQ,GAAG;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { commonjsGlobal, getDefaultExportFromCjs } from '../../../_virtual/_commonjsHelpers.js';
|
|
2
|
+
import { __module as urlJoin } from '../../../_virtual/url-join.js';
|
|
3
|
+
|
|
4
|
+
(function (module) {
|
|
5
|
+
(function (name, context, definition) {
|
|
6
|
+
if (module.exports) module.exports = definition();
|
|
7
|
+
else context[name] = definition();
|
|
8
|
+
})('urljoin', commonjsGlobal, function () {
|
|
9
|
+
|
|
10
|
+
function normalize (strArray) {
|
|
11
|
+
var resultArray = [];
|
|
12
|
+
if (strArray.length === 0) { return ''; }
|
|
13
|
+
|
|
14
|
+
if (typeof strArray[0] !== 'string') {
|
|
15
|
+
throw new TypeError('Url must be a string. Received ' + strArray[0]);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// If the first part is a plain protocol, we combine it with the next part.
|
|
19
|
+
if (strArray[0].match(/^[^/:]+:\/*$/) && strArray.length > 1) {
|
|
20
|
+
var first = strArray.shift();
|
|
21
|
+
strArray[0] = first + strArray[0];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// There must be two or three slashes in the file protocol, two slashes in anything else.
|
|
25
|
+
if (strArray[0].match(/^file:\/\/\//)) {
|
|
26
|
+
strArray[0] = strArray[0].replace(/^([^/:]+):\/*/, '$1:///');
|
|
27
|
+
} else {
|
|
28
|
+
strArray[0] = strArray[0].replace(/^([^/:]+):\/*/, '$1://');
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
for (var i = 0; i < strArray.length; i++) {
|
|
32
|
+
var component = strArray[i];
|
|
33
|
+
|
|
34
|
+
if (typeof component !== 'string') {
|
|
35
|
+
throw new TypeError('Url must be a string. Received ' + component);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
if (component === '') { continue; }
|
|
39
|
+
|
|
40
|
+
if (i > 0) {
|
|
41
|
+
// Removing the starting slashes for each component but the first.
|
|
42
|
+
component = component.replace(/^[\/]+/, '');
|
|
43
|
+
}
|
|
44
|
+
if (i < strArray.length - 1) {
|
|
45
|
+
// Removing the ending slashes for each component but the last.
|
|
46
|
+
component = component.replace(/[\/]+$/, '');
|
|
47
|
+
} else {
|
|
48
|
+
// For the last component we will combine multiple slashes to a single one.
|
|
49
|
+
component = component.replace(/[\/]+$/, '/');
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
resultArray.push(component);
|
|
53
|
+
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
var str = resultArray.join('/');
|
|
57
|
+
// Each input component is now separated by a single slash except the possible first plain protocol part.
|
|
58
|
+
|
|
59
|
+
// remove trailing slash before parameters or hash
|
|
60
|
+
str = str.replace(/\/(\?|&|#[^!])/g, '$1');
|
|
61
|
+
|
|
62
|
+
// replace ? in parameters with &
|
|
63
|
+
var parts = str.split('?');
|
|
64
|
+
str = parts.shift() + (parts.length > 0 ? '?': '') + parts.join('&');
|
|
65
|
+
|
|
66
|
+
return str;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return function () {
|
|
70
|
+
var input;
|
|
71
|
+
|
|
72
|
+
if (typeof arguments[0] === 'object') {
|
|
73
|
+
input = arguments[0];
|
|
74
|
+
} else {
|
|
75
|
+
input = [].slice.call(arguments);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
return normalize(input);
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
});
|
|
82
|
+
} (urlJoin));
|
|
83
|
+
|
|
84
|
+
var urlJoinExports = urlJoin.exports;
|
|
85
|
+
var urljoin = /*@__PURE__*/getDefaultExportFromCjs(urlJoinExports);
|
|
86
|
+
|
|
87
|
+
export { urljoin as default };
|
|
88
|
+
//# sourceMappingURL=url-join.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"url-join.js","sources":["../../../../../../../../node_modules/@dbmx/sdmx/esm/node_modules/url-join/lib/url-join.mjs"],"sourcesContent":["import { commonjsGlobal, getDefaultExportFromCjs } from '../../../_virtual/_commonjsHelpers.mjs';\nimport { __module as urlJoin } from '../../../_virtual/url-join.mjs';\n\n(function (module) {\n\t(function (name, context, definition) {\n\t if (module.exports) module.exports = definition();\n\t else context[name] = definition();\n\t})('urljoin', commonjsGlobal, function () {\n\n\t function normalize (strArray) {\n\t var resultArray = [];\n\t if (strArray.length === 0) { return ''; }\n\n\t if (typeof strArray[0] !== 'string') {\n\t throw new TypeError('Url must be a string. Received ' + strArray[0]);\n\t }\n\n\t // If the first part is a plain protocol, we combine it with the next part.\n\t if (strArray[0].match(/^[^/:]+:\\/*$/) && strArray.length > 1) {\n\t var first = strArray.shift();\n\t strArray[0] = first + strArray[0];\n\t }\n\n\t // There must be two or three slashes in the file protocol, two slashes in anything else.\n\t if (strArray[0].match(/^file:\\/\\/\\//)) {\n\t strArray[0] = strArray[0].replace(/^([^/:]+):\\/*/, '$1:///');\n\t } else {\n\t strArray[0] = strArray[0].replace(/^([^/:]+):\\/*/, '$1://');\n\t }\n\n\t for (var i = 0; i < strArray.length; i++) {\n\t var component = strArray[i];\n\n\t if (typeof component !== 'string') {\n\t throw new TypeError('Url must be a string. Received ' + component);\n\t }\n\n\t if (component === '') { continue; }\n\n\t if (i > 0) {\n\t // Removing the starting slashes for each component but the first.\n\t component = component.replace(/^[\\/]+/, '');\n\t }\n\t if (i < strArray.length - 1) {\n\t // Removing the ending slashes for each component but the last.\n\t component = component.replace(/[\\/]+$/, '');\n\t } else {\n\t // For the last component we will combine multiple slashes to a single one.\n\t component = component.replace(/[\\/]+$/, '/');\n\t }\n\n\t resultArray.push(component);\n\n\t }\n\n\t var str = resultArray.join('/');\n\t // Each input component is now separated by a single slash except the possible first plain protocol part.\n\n\t // remove trailing slash before parameters or hash\n\t str = str.replace(/\\/(\\?|&|#[^!])/g, '$1');\n\n\t // replace ? in parameters with &\n\t var parts = str.split('?');\n\t str = parts.shift() + (parts.length > 0 ? '?': '') + parts.join('&');\n\n\t return str;\n\t }\n\n\t return function () {\n\t var input;\n\n\t if (typeof arguments[0] === 'object') {\n\t input = arguments[0];\n\t } else {\n\t input = [].slice.call(arguments);\n\t }\n\n\t return normalize(input);\n\t };\n\n\t}); \n} (urlJoin));\n\nvar urlJoinExports = urlJoin.exports;\nvar urljoin = /*@__PURE__*/getDefaultExportFromCjs(urlJoinExports);\n\nexport { urljoin as default };\n//# sourceMappingURL=url-join.mjs.map\n"],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CAAC,MAAM,GAAG,CAAC,GAAG,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC1E;AACA,KAAK,OAAO,GAAG,CAAC;AAChB,IAAI;AACJ;AACA,GAAG,OAAO,YAAY;AACtB,KAAK,IAAI,KAAK,CAAC;AACf;AACA,KAAK,IAAI,OAAO,SAAS,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE;AAC3C,OAAO,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;AAC5B,MAAM,MAAM;AACZ,OAAO,KAAK,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;AACxC,MAAM;AACN;AACA,KAAK,OAAO,SAAS,CAAC,KAAK,CAAC,CAAC;AAC7B,IAAI,CAAC;AACL;AACA,EAAE,CAAC,CAAC;AACJ,CAAC,EAAE,OAAO,CAAC,EAAE;AACb;AACA,IAAI,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC;AAClC,IAAC,OAAO,gBAAgB,uBAAuB,CAAC,cAAc;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import urljoin from './node_modules/url-join/lib/url-join.js';
|
|
2
|
+
import is$1 from './node_modules/ramda/es/is.js';
|
|
3
|
+
|
|
4
|
+
const OPERATORS = ['eq', 'ne', 'lt', 'le', 'gt', 'ge', 'co', 'nc', 'sw', 'ew'];
|
|
5
|
+
|
|
6
|
+
const makeComponentFilter = input => {
|
|
7
|
+
if (is$1(String, input)) return input
|
|
8
|
+
if (Object.keys(input).length === 1) {
|
|
9
|
+
const [op, value] = [Object.keys(input)[0], Object.values(input)[0]];
|
|
10
|
+
if (op === 'and') {
|
|
11
|
+
if (!is$1(Array, value)) throw new Error(`Wrong value type for operator ${op}: must be an Array`)
|
|
12
|
+
return value.map(makeComponentFilter).join('+')
|
|
13
|
+
}
|
|
14
|
+
if (op === 'or') {
|
|
15
|
+
if (!is$1(Array, value)) throw new Error(`Wrong value type for operator ${op}: must be an Array`)
|
|
16
|
+
return value.map(makeComponentFilter).join(',')
|
|
17
|
+
}
|
|
18
|
+
if (!OPERATORS.includes(op)) throw new Error(`Wrong operator ${op}`)
|
|
19
|
+
return `${op}:${value}`
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
return makeComponentFilter({ and: Object.keys(input).map(key => ({ [key]: input[key] })) })
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
const makeCFilter = (c = {}) => {
|
|
26
|
+
const filter = {};
|
|
27
|
+
for (const key of Object.keys(c)) {
|
|
28
|
+
const value = c[key];
|
|
29
|
+
if (is$1(Array, value)) throw new Error(`wrong syntax for key "${key}: ${JSON.stringify(value)}"`)
|
|
30
|
+
else filter[key] = makeComponentFilter(value);
|
|
31
|
+
}
|
|
32
|
+
return filter
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
const makeCParams = obj => {
|
|
36
|
+
const res = new URLSearchParams();
|
|
37
|
+
for (const key of Object.keys(obj)) {
|
|
38
|
+
const param = `c[${key}]`;
|
|
39
|
+
res.set(param, obj[key]);
|
|
40
|
+
}
|
|
41
|
+
return res
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @typedef DataQuery
|
|
46
|
+
* @property {string} - context ('dataflow' by default)
|
|
47
|
+
* @property {string} - agencyID
|
|
48
|
+
* @property {string} - resourceID
|
|
49
|
+
* @property {string} - id
|
|
50
|
+
* @property {string} - version ('~' by default)
|
|
51
|
+
* @property {string} - endpoint
|
|
52
|
+
* @property {array | string} - dimensionAtObservation ('AllDimensions' by default)
|
|
53
|
+
* @property {object} - c
|
|
54
|
+
* @property {string} - key
|
|
55
|
+
* @property {array | string} - attributes - 'all' | 'none' | Array with specified attributes
|
|
56
|
+
* @property {array | string} - measures - 'all' | 'none' | Array with specified measures
|
|
57
|
+
* @property {string} - rmin - Minimum data rows to return
|
|
58
|
+
* @property {string} - rmax - Maximum data rows to return
|
|
59
|
+
* @property {string} - format - Result format to be returned (JSON - CSV - XML)
|
|
60
|
+
*/
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Returns a URL for querying SDMX data based on the provided parameters.
|
|
64
|
+
*
|
|
65
|
+
* @function dataQueryUrl
|
|
66
|
+
* @tag query
|
|
67
|
+
* @param {DataQuery} - The data query parameters
|
|
68
|
+
* @return {string} - Returns the constructed URL for querying SDMX data
|
|
69
|
+
* @throws {Error} Throws an error if required parameters are missing
|
|
70
|
+
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
*
|
|
74
|
+
* const query = {
|
|
75
|
+
* context: 'dataflow',
|
|
76
|
+
* agencyID: 'AGENCY',
|
|
77
|
+
* id: 'ID',
|
|
78
|
+
* version: '1.2.3-draft',
|
|
79
|
+
* endpoint: 'https://sxs-staging-orox.dbmx.io/demo/sdmx',
|
|
80
|
+
* dimensionAtObservation: 'AllDimensions',
|
|
81
|
+
* attributes: ['OATTR4', 'OATTR6'],
|
|
82
|
+
* measures: 'none',
|
|
83
|
+
* key: 'M.*.EUR.SP00.A',
|
|
84
|
+
* c: {
|
|
85
|
+
* // INDICATOR: { or: ['MRY0T4','TMY5T9','TMY10T14','TMY15T24']},
|
|
86
|
+
* INDICATOR: 'MRY0T4,TMY5T9,TMY10T14,TMY15T24',
|
|
87
|
+
* SEX: '_T',
|
|
88
|
+
* WEALTH_QUINTILE: '_T',
|
|
89
|
+
* REF_AREA: 'AFG,AGO',
|
|
90
|
+
* TIME_PERIOD: 'ge:2020-06+le:2020-06',
|
|
91
|
+
* TIME_PERIOD1: { ge: '2020-06', le: '2020-06' },
|
|
92
|
+
* ATTR1: { and: [{ ge: '2020-06' }, { le: '2020-06' }] },
|
|
93
|
+
* ATTR2: { or: [{ co: 'toto' }, { and: [{ ge: '2020-06' }, { le: '2020-06' }] }] },
|
|
94
|
+
* ATTR3: { or: [{ co: 'toto' }, { ge: '2020-06', le: '2020-06' }] },
|
|
95
|
+
* },
|
|
96
|
+
* }
|
|
97
|
+
* const res = dataQueryUrl(query)
|
|
98
|
+
* expect(res).toEqual(
|
|
99
|
+
* 'https://sxs-staging-orox.dbmx.io/demo/sdmx/data/dataflow/AGENCY/ID/1.2.3-draft/M.*.EUR.SP00.A?c%5BINDICATOR%5D=MRY0T4%2CTMY5T9%2CTMY10T14%2CTMY15T24&c%5BSEX%5D=_T&c%5BWEALTH_QUINTILE%5D=_T&c%5BREF_AREA%5D=AFG%2CAGO&c%5BTIME_PERIOD%5D=ge%3A2020-06%2Ble%3A2020-06&c%5BTIME_PERIOD1%5D=ge%3A2020-06%2Ble%3A2020-06&c%5BATTR1%5D=ge%3A2020-06%2Ble%3A2020-06&c%5BATTR2%5D=co%3Atoto%2Cge%3A2020-06%2Ble%3A2020-06&c%5BATTR3%5D=co%3Atoto%2Cge%3A2020-06%2Ble%3A2020-06&attributes=OATTR4,OATTR6&measures=none&dimensionAtObservation=AllDimensions',
|
|
100
|
+
* )
|
|
101
|
+
*
|
|
102
|
+
*/
|
|
103
|
+
|
|
104
|
+
const dataQueryUrl = ({
|
|
105
|
+
context = 'dataflow',
|
|
106
|
+
agencyID,
|
|
107
|
+
resourceID,
|
|
108
|
+
id,
|
|
109
|
+
version = '~',
|
|
110
|
+
endpoint,
|
|
111
|
+
dimensionAtObservation = 'AllDimensions',
|
|
112
|
+
c,
|
|
113
|
+
key,
|
|
114
|
+
attributes,
|
|
115
|
+
measures,
|
|
116
|
+
rmin,
|
|
117
|
+
rmax,
|
|
118
|
+
format,
|
|
119
|
+
}) => {
|
|
120
|
+
if (!endpoint) throw new Error(`Cannot create structure query URL without an endpoint`)
|
|
121
|
+
if (!agencyID) throw new Error(`Cannot create structure query URL without an agencyID`)
|
|
122
|
+
if (!(resourceID || id)) throw new Error(`Cannot create structure query URL without a resourceID`)
|
|
123
|
+
const params = [endpoint, '/data', context, agencyID, resourceID || id, version];
|
|
124
|
+
|
|
125
|
+
if (key) params.push(key);
|
|
126
|
+
try {
|
|
127
|
+
if (c) params.push(`?${makeCParams(makeCFilter(c))}`);
|
|
128
|
+
} catch (err) {
|
|
129
|
+
console.error(`Cannot make CFilter for ${JSON.stringify(c, null, 4)}`);
|
|
130
|
+
console.error(err);
|
|
131
|
+
}
|
|
132
|
+
if (attributes) {
|
|
133
|
+
if (is$1(String, attributes)) params.push(`?attributes=${attributes}`);
|
|
134
|
+
else params.push(`?attributes=${attributes.join(',')}`);
|
|
135
|
+
}
|
|
136
|
+
if (measures) {
|
|
137
|
+
if (is$1(String, measures)) params.push(`?measures=${measures}`);
|
|
138
|
+
else params.push(`?measures=${measures.join(',')}`);
|
|
139
|
+
}
|
|
140
|
+
if (dimensionAtObservation) params.push(`?dimensionAtObservation=${dimensionAtObservation}`);
|
|
141
|
+
if (rmin) params.push(`?rmin=${rmin}`);
|
|
142
|
+
if (rmax) params.push(`?rmax=${rmax}`);
|
|
143
|
+
if (format) params.push(`?format=${format}`);
|
|
144
|
+
|
|
145
|
+
return urljoin(...params)
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
export { dataQueryUrl, makeCFilter };
|
|
149
|
+
//# sourceMappingURL=query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query.js","sources":["../../../../../node_modules/@dbmx/sdmx/esm/query.mjs"],"sourcesContent":["import urljoin from './node_modules/url-join/lib/url-join.mjs';\nimport is from './node_modules/ramda/es/is.mjs';\n\n/**\n * @typedef StructureQuery\n * @property {string} - resourceType\n * @property {string} - agencyID\n * @property {string} - id\n * @property {string} - resourceID\n * @property {string} - itemID\n * @property {string} - version\n * @property {string} - endpoint\n * @property {string=} - detail\n * @property {string=} - references\n * @property {string=} - includeMetrics\n * @property {string=} - includeExecPlan\n * @property {string=} - ep mode\n */\n\n/**\n * Returns a URL for querying SDMX structure based on the provided parameters.\n *\n * @function structureQueryUrl\n * @tag query\n * @param {StructureQuery}\n * @return {string} - Returns the constructed URL for querying SDMX structure\n * @throws {Error} Throws an error if required parameters are missing\n *\n * @example\n *\n * const query = {\n * resourceType: 'dataflow',\n * agencyID: 'AGENCY',\n * resourceID: 'ID',\n * version: '1.2.3-draft',\n * endpoint: 'http://sxs',\n * detail:'detail',\n * referencesr: 'ref',\n * includeMetrics: true,\n * ep: true,\n * }\n * const res = structureQueryUrl(query)\n * expect(res).toEqual(\"http://sxs/structure/dataflow/AGENCY/ID/1.2.3-draft?includeMetrics=true&ep=true&detail=detail\")\n *\n */\n\nconst structureQueryUrl = ({\n resourceType,\n agencyID,\n resourceID,\n itemID,\n id,\n version,\n endpoint,\n detail,\n references,\n includeMetrics,\n includeExecPlan,\n ep,\n}) => {\n if (!endpoint) throw new Error(`Cannot create structure query URL without an endpoint`)\n if (!resourceType) throw new Error(`Cannot create structure query URL without a resourceType`)\n if (!agencyID) throw new Error(`Cannot create structure query URL without an agencyID`)\n if (!(resourceID || id)) throw new Error(`Cannot create structure query URL without a resourceID`)\n if (!version) throw new Error(`Cannot create structure query URL without a version prop`)\n const params = [endpoint, '/structure', resourceType, agencyID, resourceID || id, version];\n\n if (itemID) params.push(itemID);\n if (includeMetrics) params.push(`?includeMetrics=true`);\n if (includeExecPlan) params.push(`?includeExecPlan=true`);\n if (ep) params.push(`?ep=${ep}`);\n if (detail) params.push(`?detail=${detail}`);\n if (references) params.push(`?references=${references}`);\n\n return urljoin(...params)\n};\n\nconst OPERATORS = ['eq', 'ne', 'lt', 'le', 'gt', 'ge', 'co', 'nc', 'sw', 'ew'];\n\nconst makeComponentFilter = input => {\n if (is(String, input)) return input\n if (Object.keys(input).length === 1) {\n const [op, value] = [Object.keys(input)[0], Object.values(input)[0]];\n if (op === 'and') {\n if (!is(Array, value)) throw new Error(`Wrong value type for operator ${op}: must be an Array`)\n return value.map(makeComponentFilter).join('+')\n }\n if (op === 'or') {\n if (!is(Array, value)) throw new Error(`Wrong value type for operator ${op}: must be an Array`)\n return value.map(makeComponentFilter).join(',')\n }\n if (!OPERATORS.includes(op)) throw new Error(`Wrong operator ${op}`)\n return `${op}:${value}`\n }\n\n return makeComponentFilter({ and: Object.keys(input).map(key => ({ [key]: input[key] })) })\n};\n\nconst makeCFilter = (c = {}) => {\n const filter = {};\n for (const key of Object.keys(c)) {\n const value = c[key];\n if (is(Array, value)) throw new Error(`wrong syntax for key \"${key}: ${JSON.stringify(value)}\"`)\n else filter[key] = makeComponentFilter(value);\n }\n return filter\n};\n\nconst makeCParams = obj => {\n const res = new URLSearchParams();\n for (const key of Object.keys(obj)) {\n const param = `c[${key}]`;\n res.set(param, obj[key]);\n }\n return res\n};\n\n/**\n * @typedef DataQuery\n * @property {string} - context ('dataflow' by default)\n * @property {string} - agencyID\n * @property {string} - resourceID\n * @property {string} - id\n * @property {string} - version ('~' by default)\n * @property {string} - endpoint\n * @property {array | string} - dimensionAtObservation ('AllDimensions' by default)\n * @property {object} - c\n * @property {string} - key\n * @property {array | string} - attributes - 'all' | 'none' | Array with specified attributes\n * @property {array | string} - measures - 'all' | 'none' | Array with specified measures\n * @property {string} - rmin - Minimum data rows to return\n * @property {string} - rmax - Maximum data rows to return\n * @property {string} - format - Result format to be returned (JSON - CSV - XML)\n */\n\n/**\n * Returns a URL for querying SDMX data based on the provided parameters.\n *\n * @function dataQueryUrl\n * @tag query\n * @param {DataQuery} - The data query parameters\n * @return {string} - Returns the constructed URL for querying SDMX data\n * @throws {Error} Throws an error if required parameters are missing\n\n *\n * @example\n *\n * const query = {\n * context: 'dataflow',\n * agencyID: 'AGENCY',\n * id: 'ID',\n * version: '1.2.3-draft',\n * endpoint: 'https://sxs-staging-orox.dbmx.io/demo/sdmx',\n * dimensionAtObservation: 'AllDimensions',\n * attributes: ['OATTR4', 'OATTR6'],\n * measures: 'none',\n * key: 'M.*.EUR.SP00.A',\n * c: {\n * // INDICATOR: { or: ['MRY0T4','TMY5T9','TMY10T14','TMY15T24']},\n * INDICATOR: 'MRY0T4,TMY5T9,TMY10T14,TMY15T24',\n * SEX: '_T',\n * WEALTH_QUINTILE: '_T',\n * REF_AREA: 'AFG,AGO',\n * TIME_PERIOD: 'ge:2020-06+le:2020-06',\n * TIME_PERIOD1: { ge: '2020-06', le: '2020-06' },\n * ATTR1: { and: [{ ge: '2020-06' }, { le: '2020-06' }] },\n * ATTR2: { or: [{ co: 'toto' }, { and: [{ ge: '2020-06' }, { le: '2020-06' }] }] },\n * ATTR3: { or: [{ co: 'toto' }, { ge: '2020-06', le: '2020-06' }] },\n * },\n * }\n * const res = dataQueryUrl(query)\n * expect(res).toEqual(\n * 'https://sxs-staging-orox.dbmx.io/demo/sdmx/data/dataflow/AGENCY/ID/1.2.3-draft/M.*.EUR.SP00.A?c%5BINDICATOR%5D=MRY0T4%2CTMY5T9%2CTMY10T14%2CTMY15T24&c%5BSEX%5D=_T&c%5BWEALTH_QUINTILE%5D=_T&c%5BREF_AREA%5D=AFG%2CAGO&c%5BTIME_PERIOD%5D=ge%3A2020-06%2Ble%3A2020-06&c%5BTIME_PERIOD1%5D=ge%3A2020-06%2Ble%3A2020-06&c%5BATTR1%5D=ge%3A2020-06%2Ble%3A2020-06&c%5BATTR2%5D=co%3Atoto%2Cge%3A2020-06%2Ble%3A2020-06&c%5BATTR3%5D=co%3Atoto%2Cge%3A2020-06%2Ble%3A2020-06&attributes=OATTR4,OATTR6&measures=none&dimensionAtObservation=AllDimensions',\n * )\n *\n */\n\nconst dataQueryUrl = ({\n context = 'dataflow',\n agencyID,\n resourceID,\n id,\n version = '~',\n endpoint,\n dimensionAtObservation = 'AllDimensions',\n c,\n key,\n attributes,\n measures,\n rmin,\n rmax,\n format,\n}) => {\n if (!endpoint) throw new Error(`Cannot create structure query URL without an endpoint`)\n if (!agencyID) throw new Error(`Cannot create structure query URL without an agencyID`)\n if (!(resourceID || id)) throw new Error(`Cannot create structure query URL without a resourceID`)\n const params = [endpoint, '/data', context, agencyID, resourceID || id, version];\n\n if (key) params.push(key);\n try {\n if (c) params.push(`?${makeCParams(makeCFilter(c))}`);\n } catch (err) {\n console.error(`Cannot make CFilter for ${JSON.stringify(c, null, 4)}`);\n console.error(err);\n }\n if (attributes) {\n if (is(String, attributes)) params.push(`?attributes=${attributes}`);\n else params.push(`?attributes=${attributes.join(',')}`);\n }\n if (measures) {\n if (is(String, measures)) params.push(`?measures=${measures}`);\n else params.push(`?measures=${measures.join(',')}`);\n }\n if (dimensionAtObservation) params.push(`?dimensionAtObservation=${dimensionAtObservation}`);\n if (rmin) params.push(`?rmin=${rmin}`);\n if (rmax) params.push(`?rmax=${rmax}`);\n if (format) params.push(`?format=${format}`);\n\n return urljoin(...params)\n};\n\n/**\n * @typedef AvailabilityQuery\n * @property {string} - context ('dataflow' by default)\n * @property {string} - agencyID\n * @property {string} - resourceID\n * @property {string} - id\n * @property {string} - version ('~' by default)\n * @property {string} - endpoint\n * @property {object} - c\n * @property {string} - key\n * @property {string} - componentId ('*' by default)\n * @property {string} - mode ('exact' by default)\n */\n\n/**\n * Returns a URL for querying data availability based on the provided parameters\n *\n * @function availabilityQueryUrl\n * @tag query\n * @param {AvailabilityQuery} - The availability query parameters\n * @return {string} - Returns the constructed URL for querying data availability\n *\n * @example\n *\n * const query = {\n * context: 'dataflow',\n * agencyID: 'AGENCY',\n * id: 'ID',\n * version: '1.2.3-draft',\n * endpoint: 'https://sxs-staging-orox.dbmx.io/demo/sdmx',\n * key: 'M.*.EUR.SP00.A',\n * mode: 'available',\n * componentId: 'ATTR1',\n * c: {\n * INDICATOR: 'MRY0T4,TMY5T9',\n * SEX: '_T',\n * },\n * }\n * const res = availabilityQueryUrl(query)\n * expect(res).toEqual(\n * 'https://sxs-staging-orox.dbmx.io/demo/sdmx/availability/dataflow/AGENCY/ID/1.2.3-draft/M.*.EUR.SP00.A?c%5BINDICATOR%5D=MRY0T4%2CTMY5T9&c%5BSEX%5D=_T&componentId=ATTR1&mode=available',\n * )\n *\n */\n\nconst availabilityQueryUrl = ({\n context = 'dataflow',\n agencyID,\n resourceID,\n id,\n version = '~',\n endpoint,\n c,\n key,\n componentId = '*',\n mode = 'exact',\n}) => {\n if (!endpoint) throw new Error(`Cannot create structure query URL without an endpoint`)\n if (!agencyID) throw new Error(`Cannot create structure query URL without an agencyID`)\n if (!(resourceID || id)) throw new Error(`Cannot create structure query URL without a resourceID`)\n const params = [endpoint, '/availability', context, agencyID, resourceID || id, version];\n\n if (key) params.push(key);\n try {\n if (c) params.push(`?${makeCParams(makeCFilter(c))}`);\n } catch (err) {\n console.error(`Cannot make CFilter for ${JSON.stringify(c, null, 4)}`);\n console.error(err);\n }\n params.push(`?componentId=${componentId}`);\n params.push(`?mode=${mode}`);\n\n return urljoin(...params)\n};\n\nconst makeV1Agency = agencyID => (agencyID === '*' ? 'all' : agencyID);\nconst makeV1Resource = resourceID => (resourceID === '*' ? 'all' : resourceID);\nconst makeV1Version = version => (version === '~' ? 'latest' : version);\nconst makeV1References = reference => {\n return (\n {\n none: 'none',\n parents: 'parents',\n parentsandsiblings: 'parentsandsiblings',\n ancestors: 'parentsandsiblings',\n children: 'children',\n descendants: 'descendants',\n all: 'all',\n }[reference] || reference\n )\n};\nconst makeV1Details = details => {\n return (\n {\n raw: 'full',\n }[details] || details\n )\n};\nconst structureQueryUrlV1 = ({\n resourceType,\n agencyID,\n agencyId,\n resourceID,\n id,\n version,\n endpoint,\n detail,\n references,\n}) => {\n if (!endpoint) throw new Error(`Cannot create structure query URL without an endpoint`)\n if (!resourceType) throw new Error(`Cannot create structure query URL without a resourceType`)\n if (!(agencyID || agencyId)) throw new Error(`Cannot create structure query URL without an agencyID`)\n if (!(resourceID || id)) throw new Error(`Cannot create structure query URL without a resourceID`)\n if (!version) throw new Error(`Cannot create structure query URL without a version prop`)\n const params = [\n endpoint,\n resourceType,\n makeV1Agency(agencyID || agencyId),\n makeV1Resource(resourceID || id),\n makeV1Version(version),\n ];\n\n if (detail) params.push(`?detail=${makeV1Details(detail)}`);\n if (references) params.push(`?references=${makeV1References(references)}`);\n\n return urljoin(...params)\n};\n\nexport { availabilityQueryUrl, dataQueryUrl, makeCFilter, structureQueryUrl, structureQueryUrlV1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,CAAC,CAAC,CAAC;AACzC,EAAE,IAAI,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;AAC/C;AACA,EAAE,OAAO,OAAO,CAAC,GAAG,MAAM,CAAC;AAC3B;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import Dataflow from './dataflow.js';
|
|
2
|
+
import Datastructure from './datastructure.js';
|
|
3
|
+
import Codelist from './codelist.js';
|
|
4
|
+
import Categorisation from './categorisation.js';
|
|
5
|
+
import CategoryScheme from './categoryscheme.js';
|
|
6
|
+
import ConcepScheme from './conceptscheme.js';
|
|
7
|
+
import ContentConstraint from './contentconstraint.js';
|
|
8
|
+
import DataProviderScheme from './dataproviderscheme.js';
|
|
9
|
+
import HierarchicalCodelist from './hierarchicalcodelist.js';
|
|
10
|
+
import DataConstraint from './dataconstraint.js';
|
|
11
|
+
import ProvisionAgreement from './provisionagreement.js';
|
|
12
|
+
import MetadataStructure from './metadatastructure.js';
|
|
13
|
+
import MetaDataflow from './metadataflow.js';
|
|
14
|
+
|
|
15
|
+
const Artefacts = [
|
|
16
|
+
Dataflow,
|
|
17
|
+
Datastructure,
|
|
18
|
+
Codelist,
|
|
19
|
+
Categorisation,
|
|
20
|
+
CategoryScheme,
|
|
21
|
+
ConcepScheme,
|
|
22
|
+
ContentConstraint,
|
|
23
|
+
DataConstraint,
|
|
24
|
+
DataProviderScheme,
|
|
25
|
+
HierarchicalCodelist,
|
|
26
|
+
ProvisionAgreement,
|
|
27
|
+
MetadataStructure,
|
|
28
|
+
MetaDataflow,
|
|
29
|
+
];
|
|
30
|
+
|
|
31
|
+
export { Artefacts };
|
|
32
|
+
//# sourceMappingURL=artefacts.js.map
|