@sis-cc/dotstatsuite-components 22.0.0 → 22.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (686) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +35 -0
  2. package/dist/_virtual/_commonjsHelpers.js.map +1 -0
  3. package/dist/_virtual/_rollupPluginBabelHelpers.js +12 -0
  4. package/dist/_virtual/_rollupPluginBabelHelpers.js.map +1 -0
  5. package/dist/_virtual/colorManipulator.js +6 -0
  6. package/dist/_virtual/colorManipulator.js.map +1 -0
  7. package/dist/_virtual/colorManipulator2.js +4 -0
  8. package/dist/_virtual/colorManipulator2.js.map +1 -0
  9. package/dist/_virtual/index.js +8 -0
  10. package/dist/_virtual/index.js.map +1 -0
  11. package/dist/_virtual/index10.js +8 -0
  12. package/dist/_virtual/index10.js.map +1 -0
  13. package/dist/_virtual/index11.js +8 -0
  14. package/dist/_virtual/index11.js.map +1 -0
  15. package/dist/_virtual/index12.js +8 -0
  16. package/dist/_virtual/index12.js.map +1 -0
  17. package/dist/_virtual/index13.js +8 -0
  18. package/dist/_virtual/index13.js.map +1 -0
  19. package/dist/_virtual/index14.js +8 -0
  20. package/dist/_virtual/index14.js.map +1 -0
  21. package/dist/_virtual/index15.js +8 -0
  22. package/dist/_virtual/index15.js.map +1 -0
  23. package/dist/_virtual/index16.js +8 -0
  24. package/dist/_virtual/index16.js.map +1 -0
  25. package/dist/_virtual/index17.js +7 -0
  26. package/dist/_virtual/index17.js.map +1 -0
  27. package/dist/_virtual/index18.js +7 -0
  28. package/dist/_virtual/index18.js.map +1 -0
  29. package/dist/_virtual/index19.js +8 -0
  30. package/dist/_virtual/index19.js.map +1 -0
  31. package/dist/_virtual/index2.js +8 -0
  32. package/dist/_virtual/index2.js.map +1 -0
  33. package/dist/_virtual/index20.js +4 -0
  34. package/dist/_virtual/index20.js.map +1 -0
  35. package/dist/_virtual/index21.js +6 -0
  36. package/dist/_virtual/index21.js.map +1 -0
  37. package/dist/_virtual/index22.js +4 -0
  38. package/dist/_virtual/index22.js.map +1 -0
  39. package/dist/_virtual/index23.js +4 -0
  40. package/dist/_virtual/index23.js.map +1 -0
  41. package/dist/_virtual/index3.js +8 -0
  42. package/dist/_virtual/index3.js.map +1 -0
  43. package/dist/_virtual/index4.js +8 -0
  44. package/dist/_virtual/index4.js.map +1 -0
  45. package/dist/_virtual/index5.js +8 -0
  46. package/dist/_virtual/index5.js.map +1 -0
  47. package/dist/_virtual/index6.js +8 -0
  48. package/dist/_virtual/index6.js.map +1 -0
  49. package/dist/_virtual/index7.js +8 -0
  50. package/dist/_virtual/index7.js.map +1 -0
  51. package/dist/_virtual/index8.js +8 -0
  52. package/dist/_virtual/index8.js.map +1 -0
  53. package/dist/_virtual/index9.js +8 -0
  54. package/dist/_virtual/index9.js.map +1 -0
  55. package/dist/_virtual/interopRequireDefault.js +4 -0
  56. package/dist/_virtual/interopRequireDefault.js.map +1 -0
  57. package/dist/_virtual/jsx-runtime.js +4 -0
  58. package/dist/_virtual/jsx-runtime.js.map +1 -0
  59. package/dist/_virtual/jsx-runtime2.js +6 -0
  60. package/dist/_virtual/jsx-runtime2.js.map +1 -0
  61. package/dist/_virtual/react-is.development.js +4 -0
  62. package/dist/_virtual/react-is.development.js.map +1 -0
  63. package/dist/_virtual/react-is.development2.js +4 -0
  64. package/dist/_virtual/react-is.development2.js.map +1 -0
  65. package/dist/_virtual/react-is.production.js +4 -0
  66. package/dist/_virtual/react-is.production.js.map +1 -0
  67. package/dist/_virtual/react-is.production.min.js +4 -0
  68. package/dist/_virtual/react-is.production.min.js.map +1 -0
  69. package/dist/_virtual/react-jsx-runtime.development.js +4 -0
  70. package/dist/_virtual/react-jsx-runtime.development.js.map +1 -0
  71. package/dist/_virtual/react-jsx-runtime.production.min.js +4 -0
  72. package/dist/_virtual/react-jsx-runtime.production.min.js.map +1 -0
  73. package/dist/bridge-d3-react/src/index.js +18 -0
  74. package/dist/bridge-d3-react/src/index.js.map +1 -0
  75. package/dist/bridge-d3-react/src/react-chart-factory.js +44 -0
  76. package/dist/bridge-d3-react/src/react-chart-factory.js.map +1 -0
  77. package/dist/index.js +6 -0
  78. package/dist/index.js.map +1 -0
  79. package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +8 -0
  80. package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js.map +1 -0
  81. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +8 -0
  82. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js.map +1 -0
  83. package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +7 -0
  84. package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js.map +1 -0
  85. package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +16 -0
  86. package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js.map +1 -0
  87. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +12 -0
  88. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -0
  89. package/dist/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +8 -0
  90. package/dist/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +1 -0
  91. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +6 -0
  92. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js.map +1 -0
  93. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +6 -0
  94. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js.map +1 -0
  95. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +12 -0
  96. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -0
  97. package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +8 -0
  98. package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +1 -0
  99. package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +11 -0
  100. package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js.map +1 -0
  101. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +15 -0
  102. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js.map +1 -0
  103. package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +10 -0
  104. package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js.map +1 -0
  105. package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +12 -0
  106. package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js.map +1 -0
  107. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +12 -0
  108. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js.map +1 -0
  109. package/dist/node_modules/@babel/runtime/helpers/interopRequireDefault.js +20 -0
  110. package/dist/node_modules/@babel/runtime/helpers/interopRequireDefault.js.map +1 -0
  111. package/dist/node_modules/@mui/material/colors/blue.js +9 -0
  112. package/dist/node_modules/@mui/material/colors/blue.js.map +1 -0
  113. package/dist/node_modules/@mui/material/colors/common.js +7 -0
  114. package/dist/node_modules/@mui/material/colors/common.js.map +1 -0
  115. package/dist/node_modules/@mui/material/colors/green.js +10 -0
  116. package/dist/node_modules/@mui/material/colors/green.js.map +1 -0
  117. package/dist/node_modules/@mui/material/colors/grey.js +19 -0
  118. package/dist/node_modules/@mui/material/colors/grey.js.map +1 -0
  119. package/dist/node_modules/@mui/material/colors/lightBlue.js +9 -0
  120. package/dist/node_modules/@mui/material/colors/lightBlue.js.map +1 -0
  121. package/dist/node_modules/@mui/material/colors/orange.js +9 -0
  122. package/dist/node_modules/@mui/material/colors/orange.js.map +1 -0
  123. package/dist/node_modules/@mui/material/colors/purple.js +10 -0
  124. package/dist/node_modules/@mui/material/colors/purple.js.map +1 -0
  125. package/dist/node_modules/@mui/material/colors/red.js +9 -0
  126. package/dist/node_modules/@mui/material/colors/red.js.map +1 -0
  127. package/dist/node_modules/@mui/material/styles/createMixins.js +20 -0
  128. package/dist/node_modules/@mui/material/styles/createMixins.js.map +1 -0
  129. package/dist/node_modules/@mui/material/styles/createPalette.js +309 -0
  130. package/dist/node_modules/@mui/material/styles/createPalette.js.map +1 -0
  131. package/dist/node_modules/@mui/material/styles/createTheme.js +86 -0
  132. package/dist/node_modules/@mui/material/styles/createTheme.js.map +1 -0
  133. package/dist/node_modules/@mui/material/styles/createTransitions.js +92 -0
  134. package/dist/node_modules/@mui/material/styles/createTransitions.js.map +1 -0
  135. package/dist/node_modules/@mui/material/styles/createTypography.js +94 -0
  136. package/dist/node_modules/@mui/material/styles/createTypography.js.map +1 -0
  137. package/dist/node_modules/@mui/material/styles/defaultTheme.js +6 -0
  138. package/dist/node_modules/@mui/material/styles/defaultTheme.js.map +1 -0
  139. package/dist/node_modules/@mui/material/styles/identifier.js +4 -0
  140. package/dist/node_modules/@mui/material/styles/identifier.js.map +1 -0
  141. package/dist/node_modules/@mui/material/styles/shadows.js +12 -0
  142. package/dist/node_modules/@mui/material/styles/shadows.js.map +1 -0
  143. package/dist/node_modules/@mui/material/styles/useTheme.js +16 -0
  144. package/dist/node_modules/@mui/material/styles/useTheme.js.map +1 -0
  145. package/dist/node_modules/@mui/material/styles/zIndex.js +15 -0
  146. package/dist/node_modules/@mui/material/styles/zIndex.js.map +1 -0
  147. package/dist/node_modules/@mui/private-theming/ThemeProvider/nested.js +5 -0
  148. package/dist/node_modules/@mui/private-theming/ThemeProvider/nested.js.map +1 -0
  149. package/dist/node_modules/@mui/private-theming/useTheme/ThemeContext.js +9 -0
  150. package/dist/node_modules/@mui/private-theming/useTheme/ThemeContext.js.map +1 -0
  151. package/dist/node_modules/@mui/private-theming/useTheme/useTheme.js +14 -0
  152. package/dist/node_modules/@mui/private-theming/useTheme/useTheme.js.map +1 -0
  153. package/dist/node_modules/@mui/styles/StylesProvider/StylesProvider.js +151 -0
  154. package/dist/node_modules/@mui/styles/StylesProvider/StylesProvider.js.map +1 -0
  155. package/dist/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.js +66 -0
  156. package/dist/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.js.map +1 -0
  157. package/dist/node_modules/@mui/styles/getStylesCreator/getStylesCreator.js +52 -0
  158. package/dist/node_modules/@mui/styles/getStylesCreator/getStylesCreator.js.map +1 -0
  159. package/dist/node_modules/@mui/styles/getStylesCreator/noopTheme.js +5 -0
  160. package/dist/node_modules/@mui/styles/getStylesCreator/noopTheme.js.map +1 -0
  161. package/dist/node_modules/@mui/styles/jssPreset/jssPreset.js +21 -0
  162. package/dist/node_modules/@mui/styles/jssPreset/jssPreset.js.map +1 -0
  163. package/dist/node_modules/@mui/styles/makeStyles/indexCounter.js +22 -0
  164. package/dist/node_modules/@mui/styles/makeStyles/indexCounter.js.map +1 -0
  165. package/dist/node_modules/@mui/styles/makeStyles/makeStyles.js +230 -0
  166. package/dist/node_modules/@mui/styles/makeStyles/makeStyles.js.map +1 -0
  167. package/dist/node_modules/@mui/styles/makeStyles/multiKeyStore.js +23 -0
  168. package/dist/node_modules/@mui/styles/makeStyles/multiKeyStore.js.map +1 -0
  169. package/dist/node_modules/@mui/styles/mergeClasses/mergeClasses.js +37 -0
  170. package/dist/node_modules/@mui/styles/mergeClasses/mergeClasses.js.map +1 -0
  171. package/dist/node_modules/@mui/styles/propsToClassKey/propsToClassKey.js +31 -0
  172. package/dist/node_modules/@mui/styles/propsToClassKey/propsToClassKey.js.map +1 -0
  173. package/dist/node_modules/@mui/styles/useTheme/index.js +10 -0
  174. package/dist/node_modules/@mui/styles/useTheme/index.js.map +1 -0
  175. package/dist/node_modules/@mui/system/colorManipulator.js +386 -0
  176. package/dist/node_modules/@mui/system/colorManipulator.js.map +1 -0
  177. package/dist/node_modules/@mui/system/esm/borders.js +52 -0
  178. package/dist/node_modules/@mui/system/esm/borders.js.map +1 -0
  179. package/dist/node_modules/@mui/system/esm/breakpoints.js +67 -0
  180. package/dist/node_modules/@mui/system/esm/breakpoints.js.map +1 -0
  181. package/dist/node_modules/@mui/system/esm/compose.js +27 -0
  182. package/dist/node_modules/@mui/system/esm/compose.js.map +1 -0
  183. package/dist/node_modules/@mui/system/esm/createTheme/applyStyles.js +77 -0
  184. package/dist/node_modules/@mui/system/esm/createTheme/applyStyles.js.map +1 -0
  185. package/dist/node_modules/@mui/system/esm/createTheme/createBreakpoints.js +83 -0
  186. package/dist/node_modules/@mui/system/esm/createTheme/createBreakpoints.js.map +1 -0
  187. package/dist/node_modules/@mui/system/esm/createTheme/createSpacing.js +35 -0
  188. package/dist/node_modules/@mui/system/esm/createTheme/createSpacing.js.map +1 -0
  189. package/dist/node_modules/@mui/system/esm/createTheme/createTheme.js +46 -0
  190. package/dist/node_modules/@mui/system/esm/createTheme/createTheme.js.map +1 -0
  191. package/dist/node_modules/@mui/system/esm/createTheme/shape.js +6 -0
  192. package/dist/node_modules/@mui/system/esm/createTheme/shape.js.map +1 -0
  193. package/dist/node_modules/@mui/system/esm/cssGrid.js +87 -0
  194. package/dist/node_modules/@mui/system/esm/cssGrid.js.map +1 -0
  195. package/dist/node_modules/@mui/system/esm/memoize.js +12 -0
  196. package/dist/node_modules/@mui/system/esm/memoize.js.map +1 -0
  197. package/dist/node_modules/@mui/system/esm/merge.js +13 -0
  198. package/dist/node_modules/@mui/system/esm/merge.js.map +1 -0
  199. package/dist/node_modules/@mui/system/esm/palette.js +29 -0
  200. package/dist/node_modules/@mui/system/esm/palette.js.map +1 -0
  201. package/dist/node_modules/@mui/system/esm/responsivePropType.js +6 -0
  202. package/dist/node_modules/@mui/system/esm/responsivePropType.js.map +1 -0
  203. package/dist/node_modules/@mui/system/esm/sizing.js +68 -0
  204. package/dist/node_modules/@mui/system/esm/sizing.js.map +1 -0
  205. package/dist/node_modules/@mui/system/esm/spacing.js +145 -0
  206. package/dist/node_modules/@mui/system/esm/spacing.js.map +1 -0
  207. package/dist/node_modules/@mui/system/esm/style.js +78 -0
  208. package/dist/node_modules/@mui/system/esm/style.js.map +1 -0
  209. package/dist/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js +294 -0
  210. package/dist/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js.map +1 -0
  211. package/dist/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js +137 -0
  212. package/dist/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js.map +1 -0
  213. package/dist/node_modules/@mui/system/esm/useTheme.js +10 -0
  214. package/dist/node_modules/@mui/system/esm/useTheme.js.map +1 -0
  215. package/dist/node_modules/@mui/system/esm/useThemeWithoutDefault.js +13 -0
  216. package/dist/node_modules/@mui/system/esm/useThemeWithoutDefault.js.map +1 -0
  217. package/dist/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js +19 -0
  218. package/dist/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js.map +1 -0
  219. package/dist/node_modules/@mui/utils/esm/capitalize/capitalize.js +15 -0
  220. package/dist/node_modules/@mui/utils/esm/capitalize/capitalize.js.map +1 -0
  221. package/dist/node_modules/@mui/utils/esm/clamp/clamp.js +6 -0
  222. package/dist/node_modules/@mui/utils/esm/clamp/clamp.js.map +1 -0
  223. package/dist/node_modules/@mui/utils/esm/clamp/index.js +2 -0
  224. package/dist/node_modules/@mui/utils/esm/clamp/index.js.map +1 -0
  225. package/dist/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +46 -0
  226. package/dist/node_modules/@mui/utils/esm/deepmerge/deepmerge.js.map +1 -0
  227. package/dist/node_modules/@mui/utils/esm/exactProp/exactProp.js +24 -0
  228. package/dist/node_modules/@mui/utils/esm/exactProp/exactProp.js.map +1 -0
  229. package/dist/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js +22 -0
  230. package/dist/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js.map +1 -0
  231. package/dist/node_modules/@mui/utils/esm/formatMuiErrorMessage/index.js +2 -0
  232. package/dist/node_modules/@mui/utils/esm/formatMuiErrorMessage/index.js.map +1 -0
  233. package/dist/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js +23 -0
  234. package/dist/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js.map +1 -0
  235. package/dist/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +50 -0
  236. package/dist/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js.map +1 -0
  237. package/dist/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.development.js +143 -0
  238. package/dist/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  239. package/dist/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.production.js +140 -0
  240. package/dist/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.production.js.map +1 -0
  241. package/dist/node_modules/@mui/utils/node_modules/react-is/index.js +20 -0
  242. package/dist/node_modules/@mui/utils/node_modules/react-is/index.js.map +1 -0
  243. package/dist/node_modules/css-vendor/dist/css-vendor.esm.js +574 -0
  244. package/dist/node_modules/css-vendor/dist/css-vendor.esm.js.map +1 -0
  245. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds/index.js +32 -0
  246. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds/index.js.map +1 -0
  247. package/dist/node_modules/date-fns/get_iso_week/index.js +49 -0
  248. package/dist/node_modules/date-fns/get_iso_week/index.js.map +1 -0
  249. package/dist/node_modules/date-fns/get_iso_year/index.js +59 -0
  250. package/dist/node_modules/date-fns/get_iso_year/index.js.map +1 -0
  251. package/dist/node_modules/date-fns/is_date/index.js +32 -0
  252. package/dist/node_modules/date-fns/is_date/index.js.map +1 -0
  253. package/dist/node_modules/date-fns/is_friday/index.js +35 -0
  254. package/dist/node_modules/date-fns/is_friday/index.js.map +1 -0
  255. package/dist/node_modules/date-fns/is_monday/index.js +35 -0
  256. package/dist/node_modules/date-fns/is_monday/index.js.map +1 -0
  257. package/dist/node_modules/date-fns/is_saturday/index.js +35 -0
  258. package/dist/node_modules/date-fns/is_saturday/index.js.map +1 -0
  259. package/dist/node_modules/date-fns/is_sunday/index.js +35 -0
  260. package/dist/node_modules/date-fns/is_sunday/index.js.map +1 -0
  261. package/dist/node_modules/date-fns/is_thursday/index.js +35 -0
  262. package/dist/node_modules/date-fns/is_thursday/index.js.map +1 -0
  263. package/dist/node_modules/date-fns/is_tuesday/index.js +35 -0
  264. package/dist/node_modules/date-fns/is_tuesday/index.js.map +1 -0
  265. package/dist/node_modules/date-fns/is_wednesday/index.js +35 -0
  266. package/dist/node_modules/date-fns/is_wednesday/index.js.map +1 -0
  267. package/dist/node_modules/date-fns/locale/_lib/build_formatting_tokens_reg_exp/index.js +39 -0
  268. package/dist/node_modules/date-fns/locale/_lib/build_formatting_tokens_reg_exp/index.js.map +1 -0
  269. package/dist/node_modules/date-fns/locale/ar/build_distance_in_words_locale/index.js +110 -0
  270. package/dist/node_modules/date-fns/locale/ar/build_distance_in_words_locale/index.js.map +1 -0
  271. package/dist/node_modules/date-fns/locale/ar/build_format_locale/index.js +86 -0
  272. package/dist/node_modules/date-fns/locale/ar/build_format_locale/index.js.map +1 -0
  273. package/dist/node_modules/date-fns/locale/ar/index.js +26 -0
  274. package/dist/node_modules/date-fns/locale/ar/index.js.map +1 -0
  275. package/dist/node_modules/date-fns/locale/de/build_distance_in_words_locale/index.js +196 -0
  276. package/dist/node_modules/date-fns/locale/de/build_distance_in_words_locale/index.js.map +1 -0
  277. package/dist/node_modules/date-fns/locale/de/build_format_locale/index.js +90 -0
  278. package/dist/node_modules/date-fns/locale/de/build_format_locale/index.js.map +1 -0
  279. package/dist/node_modules/date-fns/locale/de/index.js +27 -0
  280. package/dist/node_modules/date-fns/locale/de/index.js.map +1 -0
  281. package/dist/node_modules/date-fns/locale/en/build_distance_in_words_locale/index.js +110 -0
  282. package/dist/node_modules/date-fns/locale/en/build_distance_in_words_locale/index.js.map +1 -0
  283. package/dist/node_modules/date-fns/locale/en/build_format_locale/index.js +101 -0
  284. package/dist/node_modules/date-fns/locale/en/build_format_locale/index.js.map +1 -0
  285. package/dist/node_modules/date-fns/locale/en/index.js +25 -0
  286. package/dist/node_modules/date-fns/locale/en/index.js.map +1 -0
  287. package/dist/node_modules/date-fns/locale/es/build_distance_in_words_locale/index.js +110 -0
  288. package/dist/node_modules/date-fns/locale/es/build_distance_in_words_locale/index.js.map +1 -0
  289. package/dist/node_modules/date-fns/locale/es/build_format_locale/index.js +86 -0
  290. package/dist/node_modules/date-fns/locale/es/build_format_locale/index.js.map +1 -0
  291. package/dist/node_modules/date-fns/locale/es/index.js +28 -0
  292. package/dist/node_modules/date-fns/locale/es/index.js.map +1 -0
  293. package/dist/node_modules/date-fns/locale/fr/build_distance_in_words_locale/index.js +110 -0
  294. package/dist/node_modules/date-fns/locale/fr/build_distance_in_words_locale/index.js.map +1 -0
  295. package/dist/node_modules/date-fns/locale/fr/build_format_locale/index.js +135 -0
  296. package/dist/node_modules/date-fns/locale/fr/build_format_locale/index.js.map +1 -0
  297. package/dist/node_modules/date-fns/locale/fr/index.js +27 -0
  298. package/dist/node_modules/date-fns/locale/fr/index.js.map +1 -0
  299. package/dist/node_modules/date-fns/locale/it/build_distance_in_words_locale/index.js +110 -0
  300. package/dist/node_modules/date-fns/locale/it/build_distance_in_words_locale/index.js.map +1 -0
  301. package/dist/node_modules/date-fns/locale/it/build_format_locale/index.js +86 -0
  302. package/dist/node_modules/date-fns/locale/it/build_format_locale/index.js.map +1 -0
  303. package/dist/node_modules/date-fns/locale/it/index.js +26 -0
  304. package/dist/node_modules/date-fns/locale/it/index.js.map +1 -0
  305. package/dist/node_modules/date-fns/locale/nl/build_distance_in_words_locale/index.js +110 -0
  306. package/dist/node_modules/date-fns/locale/nl/build_distance_in_words_locale/index.js.map +1 -0
  307. package/dist/node_modules/date-fns/locale/nl/build_format_locale/index.js +86 -0
  308. package/dist/node_modules/date-fns/locale/nl/build_format_locale/index.js.map +1 -0
  309. package/dist/node_modules/date-fns/locale/nl/index.js +27 -0
  310. package/dist/node_modules/date-fns/locale/nl/index.js.map +1 -0
  311. package/dist/node_modules/date-fns/locale/th/build_distance_in_words_locale/index.js +114 -0
  312. package/dist/node_modules/date-fns/locale/th/build_distance_in_words_locale/index.js.map +1 -0
  313. package/dist/node_modules/date-fns/locale/th/build_format_locale/index.js +74 -0
  314. package/dist/node_modules/date-fns/locale/th/build_format_locale/index.js.map +1 -0
  315. package/dist/node_modules/date-fns/locale/th/index.js +26 -0
  316. package/dist/node_modules/date-fns/locale/th/index.js.map +1 -0
  317. package/dist/node_modules/date-fns/parse/index.js +346 -0
  318. package/dist/node_modules/date-fns/parse/index.js.map +1 -0
  319. package/dist/node_modules/date-fns/start_of_iso_week/index.js +38 -0
  320. package/dist/node_modules/date-fns/start_of_iso_week/index.js.map +1 -0
  321. package/dist/node_modules/date-fns/start_of_iso_year/index.js +46 -0
  322. package/dist/node_modules/date-fns/start_of_iso_year/index.js.map +1 -0
  323. package/dist/node_modules/date-fns/start_of_week/index.js +51 -0
  324. package/dist/node_modules/date-fns/start_of_week/index.js.map +1 -0
  325. package/dist/node_modules/hyphenate-style-name/index.js +20 -0
  326. package/dist/node_modules/hyphenate-style-name/index.js.map +1 -0
  327. package/dist/node_modules/is-in-browser/dist/module.js +6 -0
  328. package/dist/node_modules/is-in-browser/dist/module.js.map +1 -0
  329. package/dist/node_modules/jss/dist/jss.esm.js +2220 -0
  330. package/dist/node_modules/jss/dist/jss.esm.js.map +1 -0
  331. package/dist/node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.esm.js +60 -0
  332. package/dist/node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.esm.js.map +1 -0
  333. package/dist/node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.esm.js +252 -0
  334. package/dist/node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.esm.js.map +1 -0
  335. package/dist/node_modules/jss-plugin-global/dist/jss-plugin-global.esm.js +187 -0
  336. package/dist/node_modules/jss-plugin-global/dist/jss-plugin-global.esm.js.map +1 -0
  337. package/dist/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js +114 -0
  338. package/dist/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js.map +1 -0
  339. package/dist/node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.esm.js +29 -0
  340. package/dist/node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.esm.js.map +1 -0
  341. package/dist/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js +66 -0
  342. package/dist/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js.map +1 -0
  343. package/dist/node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.esm.js +58 -0
  344. package/dist/node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.esm.js.map +1 -0
  345. package/dist/node_modules/object-assign/index.js +100 -0
  346. package/dist/node_modules/object-assign/index.js.map +1 -0
  347. package/dist/node_modules/prop-types/checkPropTypes.js +116 -0
  348. package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -0
  349. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +75 -0
  350. package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
  351. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +626 -0
  352. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
  353. package/dist/node_modules/prop-types/index.js +34 -0
  354. package/dist/node_modules/prop-types/index.js.map +1 -0
  355. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +22 -0
  356. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
  357. package/dist/node_modules/prop-types/lib/has.js +12 -0
  358. package/dist/node_modules/prop-types/lib/has.js.map +1 -0
  359. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +1326 -0
  360. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -0
  361. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +25 -0
  362. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js.map +1 -0
  363. package/dist/node_modules/react/jsx-runtime.js +20 -0
  364. package/dist/node_modules/react/jsx-runtime.js.map +1 -0
  365. package/dist/node_modules/react-is/cjs/react-is.development.js +191 -0
  366. package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  367. package/dist/node_modules/react-is/cjs/react-is.production.min.js +27 -0
  368. package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
  369. package/dist/node_modules/react-is/index.js +20 -0
  370. package/dist/node_modules/react-is/index.js.map +1 -0
  371. package/dist/node_modules/tiny-warning/dist/tiny-warning.esm.js +18 -0
  372. package/dist/node_modules/tiny-warning/dist/tiny-warning.esm.js.map +1 -0
  373. package/dist/rules/src/chart/getAxisOptions.js +256 -0
  374. package/dist/rules/src/chart/getAxisOptions.js.map +1 -0
  375. package/dist/rules/src/chart/getBaseOptions.js +77 -0
  376. package/dist/rules/src/chart/getBaseOptions.js.map +1 -0
  377. package/dist/rules/src/chart/getChartOptions.js +120 -0
  378. package/dist/rules/src/chart/getChartOptions.js.map +1 -0
  379. package/dist/rules/src/chart/getGridOptions.js +46 -0
  380. package/dist/rules/src/chart/getGridOptions.js.map +1 -0
  381. package/dist/rules/src/chart/getTooltipOptions.js +223 -0
  382. package/dist/rules/src/chart/getTooltipOptions.js.map +1 -0
  383. package/dist/rules/src/constants.js +65 -0
  384. package/dist/rules/src/constants.js.map +1 -0
  385. package/dist/rules/src/date.js +121 -0
  386. package/dist/rules/src/date.js.map +1 -0
  387. package/dist/rules/src/dimension-utils.js +57 -0
  388. package/dist/rules/src/dimension-utils.js.map +1 -0
  389. package/dist/rules/src/factories/choro-series.js +68 -0
  390. package/dist/rules/src/factories/choro-series.js.map +1 -0
  391. package/dist/rules/src/factories/sample-focus.js +25 -0
  392. package/dist/rules/src/factories/sample-focus.js.map +1 -0
  393. package/dist/rules/src/factories/sample-series.js +53 -0
  394. package/dist/rules/src/factories/sample-series.js.map +1 -0
  395. package/dist/rules/src/factories/scatter-dimension.js +35 -0
  396. package/dist/rules/src/factories/scatter-dimension.js.map +1 -0
  397. package/dist/rules/src/factories/scatter-focus.js +42 -0
  398. package/dist/rules/src/factories/scatter-focus.js.map +1 -0
  399. package/dist/rules/src/factories/scatter-series.js +91 -0
  400. package/dist/rules/src/factories/scatter-series.js.map +1 -0
  401. package/dist/rules/src/factories/stacked-dimension.js +32 -0
  402. package/dist/rules/src/factories/stacked-dimension.js.map +1 -0
  403. package/dist/rules/src/factories/stacked-series.js +188 -0
  404. package/dist/rules/src/factories/stacked-series.js.map +1 -0
  405. package/dist/rules/src/factories/symbol-dimension.js +32 -0
  406. package/dist/rules/src/factories/symbol-dimension.js.map +1 -0
  407. package/dist/rules/src/factories/symbol-series.js +65 -0
  408. package/dist/rules/src/factories/symbol-series.js.map +1 -0
  409. package/dist/rules/src/factories/timeline-focus.js +21 -0
  410. package/dist/rules/src/factories/timeline-focus.js.map +1 -0
  411. package/dist/rules/src/factories/timeline-series.js +94 -0
  412. package/dist/rules/src/factories/timeline-series.js.map +1 -0
  413. package/dist/rules/src/get-values-enhanced.js +133 -0
  414. package/dist/rules/src/get-values-enhanced.js.map +1 -0
  415. package/dist/rules/src/header/getDefaultSubtitle.js +44 -0
  416. package/dist/rules/src/header/getDefaultSubtitle.js.map +1 -0
  417. package/dist/rules/src/header/getHeaderUnits.js +21 -0
  418. package/dist/rules/src/header/getHeaderUnits.js.map +1 -0
  419. package/dist/rules/src/header/getSubtitleFlags.js +47 -0
  420. package/dist/rules/src/header/getSubtitleFlags.js.map +1 -0
  421. package/dist/rules/src/header/getTitleFlags.js +12 -0
  422. package/dist/rules/src/header/getTitleFlags.js.map +1 -0
  423. package/dist/rules/src/index.js +378 -0
  424. package/dist/rules/src/index.js.map +1 -0
  425. package/dist/rules/src/layout.js +107 -0
  426. package/dist/rules/src/layout.js.map +1 -0
  427. package/dist/rules/src/observation-formater.js +86 -0
  428. package/dist/rules/src/observation-formater.js.map +1 -0
  429. package/dist/rules/src/preparators/formatValue.js +96 -0
  430. package/dist/rules/src/preparators/formatValue.js.map +1 -0
  431. package/dist/rules/src/preparators/getObservations.js +22 -0
  432. package/dist/rules/src/preparators/getObservations.js.map +1 -0
  433. package/dist/rules/src/preparators/getReportingYearStart.js +19 -0
  434. package/dist/rules/src/preparators/getReportingYearStart.js.map +1 -0
  435. package/dist/rules/src/properties/errors.js +22 -0
  436. package/dist/rules/src/properties/errors.js.map +1 -0
  437. package/dist/rules/src/properties/focus.js +72 -0
  438. package/dist/rules/src/properties/focus.js.map +1 -0
  439. package/dist/rules/src/properties/getAvailableChartTypes.js +31 -0
  440. package/dist/rules/src/properties/getAvailableChartTypes.js.map +1 -0
  441. package/dist/rules/src/properties/getHeaderProps.js +76 -0
  442. package/dist/rules/src/properties/getHeaderProps.js.map +1 -0
  443. package/dist/rules/src/properties/getInformationsStateFromNewProps.js +50 -0
  444. package/dist/rules/src/properties/getInformationsStateFromNewProps.js.map +1 -0
  445. package/dist/rules/src/properties/getObservationsType.js +28 -0
  446. package/dist/rules/src/properties/getObservationsType.js.map +1 -0
  447. package/dist/rules/src/properties/getStringifiedSubtitle.js +9 -0
  448. package/dist/rules/src/properties/getStringifiedSubtitle.js.map +1 -0
  449. package/dist/rules/src/properties/index.js +384 -0
  450. package/dist/rules/src/properties/index.js.map +1 -0
  451. package/dist/rules/src/properties/linear.js +123 -0
  452. package/dist/rules/src/properties/linear.js.map +1 -0
  453. package/dist/rules/src/properties/scatter.js +156 -0
  454. package/dist/rules/src/properties/scatter.js.map +1 -0
  455. package/dist/rules/src/properties/stacked.js +96 -0
  456. package/dist/rules/src/properties/stacked.js.map +1 -0
  457. package/dist/rules/src/properties/symbol.js +76 -0
  458. package/dist/rules/src/properties/symbol.js.map +1 -0
  459. package/dist/rules/src/properties/utils.js +86 -0
  460. package/dist/rules/src/properties/utils.js.map +1 -0
  461. package/dist/rules/src/sdmx-data/index.js +38 -0
  462. package/dist/rules/src/sdmx-data/index.js.map +1 -0
  463. package/dist/rules/src/table/factories/getCellValue.js +53 -0
  464. package/dist/rules/src/table/factories/getCellValue.js.map +1 -0
  465. package/dist/rules/src/v8-transformer.js +174 -0
  466. package/dist/rules/src/v8-transformer.js.map +1 -0
  467. package/dist/rules2/src/applyHierarchicalCodesToDim.js +126 -0
  468. package/dist/rules2/src/applyHierarchicalCodesToDim.js.map +1 -0
  469. package/dist/rules2/src/combinedValuesDisplay.js +77 -0
  470. package/dist/rules2/src/combinedValuesDisplay.js.map +1 -0
  471. package/dist/rules2/src/constants.js +9 -0
  472. package/dist/rules2/src/constants.js.map +1 -0
  473. package/dist/rules2/src/duplicateObservations.js +38 -0
  474. package/dist/rules2/src/duplicateObservations.js.map +1 -0
  475. package/dist/rules2/src/enhanceObservations.js +98 -0
  476. package/dist/rules2/src/enhanceObservations.js.map +1 -0
  477. package/dist/rules2/src/getAttributesSeries.js +39 -0
  478. package/dist/rules2/src/getAttributesSeries.js.map +1 -0
  479. package/dist/rules2/src/getCombinationDefinitions.js +50 -0
  480. package/dist/rules2/src/getCombinationDefinitions.js.map +1 -0
  481. package/dist/rules2/src/getDataflowAttributes.js +25 -0
  482. package/dist/rules2/src/getDataflowAttributes.js.map +1 -0
  483. package/dist/rules2/src/getDataflowTooltipAttributesIds.js +33 -0
  484. package/dist/rules2/src/getDataflowTooltipAttributesIds.js.map +1 -0
  485. package/dist/rules2/src/getDimensionValuesIndexes.js +16 -0
  486. package/dist/rules2/src/getDimensionValuesIndexes.js.map +1 -0
  487. package/dist/rules2/src/getHCodelistsRefsInData.js +35 -0
  488. package/dist/rules2/src/getHCodelistsRefsInData.js.map +1 -0
  489. package/dist/rules2/src/getHeaderCombinations.js +51 -0
  490. package/dist/rules2/src/getHeaderCombinations.js.map +1 -0
  491. package/dist/rules2/src/getHeaderCoordinates.js +10 -0
  492. package/dist/rules2/src/getHeaderCoordinates.js.map +1 -0
  493. package/dist/rules2/src/getHeaderSubtitle.js +37 -0
  494. package/dist/rules2/src/getHeaderSubtitle.js.map +1 -0
  495. package/dist/rules2/src/getHeaderTitle.js +18 -0
  496. package/dist/rules2/src/getHeaderTitle.js.map +1 -0
  497. package/dist/rules2/src/getMSDInformations.js +26 -0
  498. package/dist/rules2/src/getMSDInformations.js.map +1 -0
  499. package/dist/rules2/src/getManyValuesDimensions.js +37 -0
  500. package/dist/rules2/src/getManyValuesDimensions.js.map +1 -0
  501. package/dist/rules2/src/getMetadataCoordinates.js +40 -0
  502. package/dist/rules2/src/getMetadataCoordinates.js.map +1 -0
  503. package/dist/rules2/src/getNotDisplayedIds.js +56 -0
  504. package/dist/rules2/src/getNotDisplayedIds.js.map +1 -0
  505. package/dist/rules2/src/getOneValueDimensions.js +37 -0
  506. package/dist/rules2/src/getOneValueDimensions.js.map +1 -0
  507. package/dist/rules2/src/getSeriesCombinations.js +27 -0
  508. package/dist/rules2/src/getSeriesCombinations.js.map +1 -0
  509. package/dist/rules2/src/hasCellMetadata.js +17 -0
  510. package/dist/rules2/src/hasCellMetadata.js.map +1 -0
  511. package/dist/rules2/src/hierarchiseDimensionWithAdvancedHierarchy2.js +60 -0
  512. package/dist/rules2/src/hierarchiseDimensionWithAdvancedHierarchy2.js.map +1 -0
  513. package/dist/rules2/src/hierarchiseDimensionWithNativeHierarchy2.js +38 -0
  514. package/dist/rules2/src/hierarchiseDimensionWithNativeHierarchy2.js.map +1 -0
  515. package/dist/rules2/src/index.js +47 -0
  516. package/dist/rules2/src/index.js.map +1 -0
  517. package/dist/rules2/src/parseAttributes.js +44 -0
  518. package/dist/rules2/src/parseAttributes.js.map +1 -0
  519. package/dist/rules2/src/parseCombinations.js +105 -0
  520. package/dist/rules2/src/parseCombinations.js.map +1 -0
  521. package/dist/rules2/src/parseHierarchicalCodelist.js +34 -0
  522. package/dist/rules2/src/parseHierarchicalCodelist.js.map +1 -0
  523. package/dist/rules2/src/parseMetadataSeries.js +124 -0
  524. package/dist/rules2/src/parseMetadataSeries.js.map +1 -0
  525. package/dist/rules2/src/prepareData.js +78 -0
  526. package/dist/rules2/src/prepareData.js.map +1 -0
  527. package/dist/rules2/src/refineAttributes.js +19 -0
  528. package/dist/rules2/src/refineAttributes.js.map +1 -0
  529. package/dist/rules2/src/refineDimensions.js +21 -0
  530. package/dist/rules2/src/refineDimensions.js.map +1 -0
  531. package/dist/rules2/src/refineTimePeriod.js +130 -0
  532. package/dist/rules2/src/refineTimePeriod.js.map +1 -0
  533. package/dist/rules2/src/sdmx3.0DataFormatPatch.js +12 -0
  534. package/dist/rules2/src/sdmx3.0DataFormatPatch.js.map +1 -0
  535. package/dist/rules2/src/table/declineObservationsOverAttributes.js +35 -0
  536. package/dist/rules2/src/table/declineObservationsOverAttributes.js.map +1 -0
  537. package/dist/rules2/src/table/getCells.js +96 -0
  538. package/dist/rules2/src/table/getCells.js.map +1 -0
  539. package/dist/rules2/src/table/getCellsAttributesIds.js +41 -0
  540. package/dist/rules2/src/table/getCellsAttributesIds.js.map +1 -0
  541. package/dist/rules2/src/table/getCellsMetadataCoordinates.js +16 -0
  542. package/dist/rules2/src/table/getCellsMetadataCoordinates.js.map +1 -0
  543. package/dist/rules2/src/table/getCuratedCells.js +36 -0
  544. package/dist/rules2/src/table/getCuratedCells.js.map +1 -0
  545. package/dist/rules2/src/table/getFlagsAndNotes.js +26 -0
  546. package/dist/rules2/src/table/getFlagsAndNotes.js.map +1 -0
  547. package/dist/rules2/src/table/getIndexedCombinationsByDisplay.js +19 -0
  548. package/dist/rules2/src/table/getIndexedCombinationsByDisplay.js.map +1 -0
  549. package/dist/rules2/src/table/getLayout.js +87 -0
  550. package/dist/rules2/src/table/getLayout.js.map +1 -0
  551. package/dist/rules2/src/table/getLayoutData2.js +205 -0
  552. package/dist/rules2/src/table/getLayoutData2.js.map +1 -0
  553. package/dist/rules2/src/table/getSortedLayoutIndexes.js +141 -0
  554. package/dist/rules2/src/table/getSortedLayoutIndexes.js.map +1 -0
  555. package/dist/rules2/src/table/getTableLabelAccessor.js +11 -0
  556. package/dist/rules2/src/table/getTableLabelAccessor.js.map +1 -0
  557. package/dist/rules2/src/table/getTableLayoutIds.js +317 -0
  558. package/dist/rules2/src/table/getTableLayoutIds.js.map +1 -0
  559. package/dist/rules2/src/table/getTableProps.js +85 -0
  560. package/dist/rules2/src/table/getTableProps.js.map +1 -0
  561. package/dist/rules2/src/table/parseSeriesIndexesHierarchies.js +82 -0
  562. package/dist/rules2/src/table/parseSeriesIndexesHierarchies.js.map +1 -0
  563. package/dist/rules2/src/table/parseValueHierarchy.js +29 -0
  564. package/dist/rules2/src/table/parseValueHierarchy.js.map +1 -0
  565. package/dist/rules2/src/table/refineLayoutSize2.js +324 -0
  566. package/dist/rules2/src/table/refineLayoutSize2.js.map +1 -0
  567. package/dist/rules2/src/utils.js +29 -0
  568. package/dist/rules2/src/utils.js.map +1 -0
  569. package/dist/viewer/src/chart.js +50 -0
  570. package/dist/viewer/src/chart.js.map +1 -0
  571. package/dist/viewer/src/chartUtils/options.js +33 -0
  572. package/dist/viewer/src/chartUtils/options.js.map +1 -0
  573. package/dist/viewer/src/chartUtils/series.js +54 -0
  574. package/dist/viewer/src/chartUtils/series.js.map +1 -0
  575. package/dist/viewer/src/footer.js +39 -0
  576. package/dist/viewer/src/footer.js.map +1 -0
  577. package/dist/viewer/src/header.js +12 -0
  578. package/dist/viewer/src/header.js.map +1 -0
  579. package/dist/viewer/src/index.js +160 -0
  580. package/dist/viewer/src/index.js.map +1 -0
  581. package/dist/viewer/src/legends/AxisLegend.js +42 -0
  582. package/dist/viewer/src/legends/AxisLegend.js.map +1 -0
  583. package/dist/viewer/src/legends/ChartLegends.js +80 -0
  584. package/dist/viewer/src/legends/ChartLegends.js.map +1 -0
  585. package/dist/viewer/src/legends/FocusLegend.js +67 -0
  586. package/dist/viewer/src/legends/FocusLegend.js.map +1 -0
  587. package/dist/viewer/src/legends/Legend.js +51 -0
  588. package/dist/viewer/src/legends/Legend.js.map +1 -0
  589. package/dist/viewer/src/legends/SeriesLegend.js +77 -0
  590. package/dist/viewer/src/legends/SeriesLegend.js.map +1 -0
  591. package/dist/viewer/src/utils.js +24 -0
  592. package/dist/viewer/src/utils.js.map +1 -0
  593. package/package.json +1 -1
  594. package/.editorconfig +0 -19
  595. package/.gitlab-ci.yml +0 -48
  596. package/prettier.config.js +0 -13
  597. package/rollup.config.mjs +0 -28
  598. package/src/rules/test/extractSdmxArtefacts.js +0 -26
  599. package/src/rules/test/get-values-enhanced.test.js +0 -127
  600. package/src/rules/test/oecd-HEALTH_PROT-no-freq.json +0 -2903
  601. package/src/rules/test/oecd-HEALTH_PROT-parsed.js +0 -398
  602. package/src/rules/test/oecd-HEALTH_PROT-wrong-freq.json +0 -2913
  603. package/src/rules/test/oecd-HEALTH_PROT.json +0 -2913
  604. package/src/rules/test/oecd-KEI.json +0 -372
  605. package/src/rules/test/scatter-property.js +0 -455
  606. package/src/rules/test/stacked-property.js +0 -273
  607. package/src/rules/test/symbol-property.js +0 -262
  608. package/src/rules/test/v8-transformer.test.js +0 -90
  609. package/test/applyHierarchicalCodesToDim.test.js +0 -643
  610. package/test/combinedValuesDisplay.test.js +0 -66
  611. package/test/duplicateObs.test.js +0 -118
  612. package/test/enhanceObservations2.test.js +0 -257
  613. package/test/getAttributesSeries.test.js +0 -66
  614. package/test/getAxisOptions.test.js +0 -309
  615. package/test/getBaseOptions.test.js +0 -77
  616. package/test/getCellValue.test.js +0 -32
  617. package/test/getCells.test.js +0 -178
  618. package/test/getCellsMetadataCoordinates.test.js +0 -40
  619. package/test/getCombinationDefinitions.test.js +0 -104
  620. package/test/getCombinationDimensionsData.test.js +0 -99
  621. package/test/getDataflowAttributes.test.js +0 -23
  622. package/test/getDataflowTooltipAttributesIds.test.js +0 -146
  623. package/test/getDimensionValuesIndexes.test.js +0 -33
  624. package/test/getGridOptions.test.js +0 -65
  625. package/test/getHCodelistsRefs.test.js +0 -23
  626. package/test/getHeaderCombinations.test.js +0 -62
  627. package/test/getHeaderTitle.test.js +0 -25
  628. package/test/getLayout.test.js +0 -54
  629. package/test/getLayoutData2.test.js +0 -540
  630. package/test/getMSDInformations.test.js +0 -35
  631. package/test/getMetadataCoordinates.test.js +0 -0
  632. package/test/getNotDisplayedIds.test.js +0 -47
  633. package/test/getObservationsType.test.js +0 -55
  634. package/test/getOneValueDimensions.test.js +0 -35
  635. package/test/getReportingYearStart.test.js +0 -59
  636. package/test/getSeriesCombinations.test.js +0 -29
  637. package/test/getSortedLayoutIndexes.test.js +0 -1248
  638. package/test/getTableLabelAccessor.test.js +0 -50
  639. package/test/getTableLayoutIds.test.js +0 -356
  640. package/test/hierarchiseDimensionWithNativeHierarchy2.test.js +0 -109
  641. package/test/isTableLayoutCompatible.test.js +0 -102
  642. package/test/metadata-parsing-perf.test.js +0 -509
  643. package/test/mocks/MSD_TEST.json +0 -490
  644. package/test/mocks/OECD_SNA_TABLE1_1.0_-_AUS_V_metadata.json +0 -152
  645. package/test/mocks/h-codelist.json +0 -2095
  646. package/test/mocks/large_metadata_series.json +0 -701
  647. package/test/mocks/observations-advanced-attributes.json +0 -55382
  648. package/test/mocks/table-invert-time--data.json +0 -80211
  649. package/test/mocks/table-invert-time--inverted.json +0 -80076
  650. package/test/mocks/table-layout-multi-hierarchies--layout.json +0 -621
  651. package/test/mocks/table-layout-multi-hierarchies--layoutData.json +0 -32411
  652. package/test/mocks/table-layout-multi-hierarchies--layoutIndexes.json +0 -2760
  653. package/test/mocks/table-layout-multi-hierarchies--observations.json +0 -30688
  654. package/test/mocks/table-layout-multi-hierarchies--sizedIndexes.json +0 -2762
  655. package/test/mocks/table-layout-truncation1--layout.json +0 -27469
  656. package/test/mocks/table-layout-truncation1--layoutData.json +0 -20358
  657. package/test/mocks/table-layout-truncation1--layoutIndexes.json +0 -7512
  658. package/test/mocks/table-layout-truncation1--observations.json +0 -70002
  659. package/test/mocks/table-layout-truncation1--sizedIndexes.json +0 -3011
  660. package/test/mocks/table-prep-multi-hierarchies--attributes.json +0 -46
  661. package/test/mocks/table-prep-multi-hierarchies--dimensions.json +0 -688
  662. package/test/mocks/table-prep-multi-hierarchies--enhancedObservations.json +0 -19696
  663. package/test/mocks/table-prep-multi-hierarchies--observations.json +0 -8246
  664. package/test/mocks/table-prep-multi-hierarchies--sdmxJson.json +0 -2985
  665. package/test/mocks/table-prep-simple-duplicate--dimensions2.json +0 -858
  666. package/test/mocks/table-prep-simple-duplicate--duplicated2.json +0 -77502
  667. package/test/mocks/table-prep-simple-duplicate--observations2.json +0 -60002
  668. package/test/mocks/table-prep-truncation1--dimensions.json +0 -35057
  669. package/test/mocks/table-prep-truncation1--enhancedObservations.json +0 -70002
  670. package/test/mocks/table-prep-truncation1--observations.json +0 -27502
  671. package/test/mocks/table-prep-truncation1--sdmxJson.json +0 -55103
  672. package/test/mocks/table-prep-units--observations.json +0 -284286
  673. package/test/mocks/table-prep-units--unitsSeries.json +0 -41042
  674. package/test/parseAttributes.test.js +0 -36
  675. package/test/parseCombinations.test.js +0 -172
  676. package/test/parseHierarchicalCodelist.test.js +0 -140
  677. package/test/parseMetadataSeries.test.js +0 -126
  678. package/test/parseSeriesIndexesHierarchies.test.js +0 -345
  679. package/test/parseValueHierarchy.test.js +0 -138
  680. package/test/refineAttributes.test.js +0 -29
  681. package/test/refineLayoutSize2.test.js +0 -3410
  682. package/test/refineMetadataCoordinates.test.js +0 -86
  683. package/test/refineTimePeriod.test.js +0 -580
  684. package/test/refinedDimensions.test.js +0 -35
  685. package/test/scatter-dimension.test.js +0 -79
  686. package/test/scatter-series.test.js +0 -67
@@ -1,540 +0,0 @@
1
- import { expect } from 'chai';
2
- import { getSerieDataWithMissingLines, getSerieDataWithoutMissingLines } from '../src/rules2/src/table/getLayoutData2';
3
-
4
- describe('getLayoutData 2 tests', () => {
5
- it('getSerieDataWithMissingLines test 1', () => {
6
- const dimensions = [
7
- {
8
- id: 'D0',
9
- values: [
10
- { id: 'v0' },
11
- { id: 'v1' },
12
- { id: 'v2' },
13
- { id: 'v3' },
14
- { id: 'v4' },
15
- ]
16
- },
17
- {
18
- id: 'D1',
19
- values: [
20
- { id: 'W', isSelected: true },
21
- { id: 'NA', parentsIndexes: [0], isSelected: false },
22
- { id: 'A', parentsIndexes: [0, 1], isSelected: true },
23
- { id: 'USA', parentsIndexes: [0, 1, 2], isSelected: true },
24
- { id: 'CAN', parentsIndexes: [0, 1, 2], isSelected: true },
25
- { id: 'MEX', parentsIndexes: [0, 1, 2], isSelected: true }
26
- ]
27
- }
28
- ];
29
-
30
- const rejectedDimensions = [
31
- { id: 'REJECTED1', values: [{ id: 'R1V1' }, { id: 'R1V2' }] },
32
- { id: 'REJECTED2', values: [{ id: 'R2V1' }, { id: 'R2V2' }] },
33
- ];
34
-
35
- const serie = { indexes: [0, 3], parentsIndexes: [[], []], missingIndexes: [[], [0, 2]], rejected: [null, 1] };
36
- expect(getSerieDataWithMissingLines(serie, dimensions, {}, {}, {}, {}, rejectedDimensions)).to.deep.equal([
37
- {
38
- data: [{ dimension: { id: 'D0' }, value: { id: 'v0', parents: [], missingParents: [] } }, { dimension: { id: 'D1' }, value: { id: 'W', parents: [], missingParents: [] } }],
39
- key: 'D0=v0:D1=W',
40
- flags: [],
41
- sideProps: null,
42
- isEmpty: true,
43
- },
44
- {
45
- data: [{ dimension: { id: 'D0' }, value: { id: 'v0', parents: [], missingParents: [] } }, { dimension: { id: 'D1' }, value: { id: 'A', parents: [0], missingParents: [] } }],
46
- key: 'D0=v0:D1=A',
47
- flags: [],
48
- sideProps: null,
49
- isEmpty: true
50
- },
51
- {
52
- data: [{ dimension: { id: 'D0' }, value: { id: 'v0', parents: [], missingParents: [] } }, { dimension: { id: 'D1' }, value: { id: 'USA', parents: [0, 2], missingParents: [] } }],
53
- coordinates: { D0: 'v0', D1: 'USA', REJECTED2: 'R2V2' },
54
- key: 'D0=v0:D1=USA',
55
- flags: [],
56
- sideProps: null,
57
- }
58
- ]);
59
- });
60
- it('getSerieDataWithMissingLines test 2', () => {
61
- const dimensions = [
62
- {
63
- id: 'D0',
64
- values: [
65
- { id: 'W' },
66
- { id: 'NA', parentsIndexes: [0] },
67
- { id: 'A', parentsIndexes: [0, 1] },
68
- { id: 'USA', parentsIndexes: [0, 1, 2] },
69
- { id: 'CAN', parentsIndexes: [0, 1, 2] },
70
- { id: 'MEX', parentsIndexes: [0, 1, 2] }
71
- ]
72
- },
73
- {
74
- id: 'COMB0',
75
- concepts: ['D1', 'A0', 'D2'],
76
- dimensions: [
77
- {
78
- id: 'D1',
79
- values: [
80
- { id: 'D1ROOT' },
81
- { id: 'D1ROOT>CHILD' },
82
- { id: 'D1ROOT>CHILD>CHILD' },
83
- ]
84
- },
85
- {
86
- id: 'D2',
87
- values: [
88
- { id: 'D2ROOT' },
89
- { id: 'D2ROOT>CHILD' },
90
- { id: 'D2ROOT>CHILD>CHILD' },
91
- ]
92
- }
93
- ]
94
- },
95
- {
96
- id: 'COMB1',
97
- concepts: ['D3', 'D4'],
98
- dimensions: [
99
- {
100
- id: 'D3',
101
- values: [
102
- { id: 'D3ROOT' },
103
- { id: 'D3ROOT>CHILD' },
104
- { id: 'D3ROOT>CHILD>CHILD' },
105
- ]
106
- },
107
- {
108
- id: 'D4',
109
- values: [
110
- { id: 'D4ROOT' },
111
- { id: 'D4ROOT>CHILD' },
112
- { id: 'D4ROOT>CHILD>CHILD' },
113
- ]
114
- }
115
- ]
116
- },
117
- ];
118
-
119
- const attributesSeries = {
120
- 'D1=D1ROOT>CHILD>CHILD:D2=D2ROOT>CHILD>CHILD': {
121
- A0: { id: 'A0', value: { id: 'A0VAL' }, coordinates: { D1: 'D1ROOT>CHILD>CHILD', D2: 'D2ROOT>CHILD>CHILD' } },
122
- A1: { id: 'A1', value: { id: 'A1VAL' }, coordinates: { D1: 'D1ROOT>CHILD>CHILD', D2: 'D2ROOT>CHILD>CHILD' } },
123
- }
124
- };
125
-
126
- const topCoordinates = {};
127
-
128
- const serie = {
129
- indexes: [3, [2, 2], [2, 2]],
130
- parentsIndexes: [[], [[], []], [[], []]],
131
- missingIndexes: [[0, 2], [[0, 1], [0, 1]], [[0, 1], [0, 1]]],
132
- };
133
-
134
- expect(getSerieDataWithMissingLines(serie, dimensions, topCoordinates, attributesSeries, {}, {})).to.deep.equal([
135
- {
136
- data: [
137
- { dimension: { id: 'D0' }, value: { id: 'W', parents: [], missingParents: [] } }
138
- ],
139
- key: 'D0=W',
140
- flags: [],
141
- sideProps: null,
142
- isEmpty: true
143
- },
144
- {
145
- data: [
146
- { dimension: { id: 'D0' }, value: { id: 'A', parents: [0], missingParents: [] } }
147
- ],
148
- key: 'D0=A',
149
- flags: [],
150
- sideProps: null,
151
- isEmpty: true
152
- },
153
- {
154
- data: [
155
- { dimension: { id: 'D0' }, value: { id: 'USA', parents: [0, 2], missingParents: [] } },
156
- { dimension: { id: 'COMB0' }, values: [{ id: 'D1ROOT', parents: [], missingParents: [] }] }
157
- ],
158
- key: 'D0=USA:D1=D1ROOT',
159
- flags: [],
160
- sideProps: null,
161
- isEmpty: true
162
- },
163
- {
164
- data: [
165
- { dimension: { id: 'D0' }, value: { id: 'USA', parents: [0, 2], missingParents: [] } },
166
- { dimension: { id: 'COMB0' }, values: [{ id: 'D1ROOT>CHILD', parents: [0], missingParents: [] }] }
167
- ],
168
- key: 'D0=USA:D1=D1ROOT>CHILD',
169
- flags: [],
170
- sideProps: null,
171
- isEmpty: true
172
- },
173
- {
174
- data: [
175
- { dimension: { id: 'D0' }, value: { id: 'USA', parents: [0, 2], missingParents: [] } },
176
- { dimension: { id: 'COMB0' }, values: [{ id: 'D1ROOT>CHILD>CHILD', parents: [0, 1], missingParents: [] }, { id: 'D2ROOT', parents: [], missingParents: [] }] }
177
- ],
178
- key: 'D0=USA:D1=D1ROOT>CHILD>CHILD:D2=D2ROOT',
179
- flags: [],
180
- sideProps: null,
181
- isEmpty: true
182
- },
183
- {
184
- data: [
185
- { dimension: { id: 'D0' }, value: { id: 'USA', parents: [0, 2], missingParents: [] } },
186
- { dimension: { id: 'COMB0' }, values: [{ id: 'D1ROOT>CHILD>CHILD', parents: [0, 1], missingParents: [] }, { id: 'D2ROOT>CHILD', parents: [0], missingParents: [] }] }
187
- ],
188
- key: 'D0=USA:D1=D1ROOT>CHILD>CHILD:D2=D2ROOT>CHILD',
189
- flags: [],
190
- sideProps: null,
191
- isEmpty: true
192
- },
193
- {
194
- data: [
195
- { dimension: { id: 'D0' }, value: { id: 'USA', parents: [0, 2], missingParents: [] } },
196
- { dimension: { id: 'COMB0' }, values: [{ id: 'D1ROOT>CHILD>CHILD', parents: [0, 1], missingParents: [] }, { id: 'A0VAL' }, { id: 'D2ROOT>CHILD>CHILD', parents: [0, 1], missingParents: [] }] },
197
- { dimension: { id: 'COMB1' }, values: [{ id: 'D3ROOT', parents: [], missingParents: [] }] }
198
- ],
199
- key: 'D0=USA:D1=D1ROOT>CHILD>CHILD:D2=D2ROOT>CHILD>CHILD:D3=D3ROOT',
200
- flags: [],
201
- sideProps: null,
202
- isEmpty: true
203
- },
204
- {
205
- data: [
206
- { dimension: { id: 'D0' }, value: { id: 'USA', parents: [0, 2], missingParents: [] } },
207
- { dimension: { id: 'COMB0' }, values: [{ id: 'D1ROOT>CHILD>CHILD', parents: [0, 1], missingParents: [] }, { id: 'A0VAL' }, { id: 'D2ROOT>CHILD>CHILD', parents: [0, 1], missingParents: [] }] },
208
- { dimension: { id: 'COMB1' }, values: [{ id: 'D3ROOT>CHILD', parents: [0], missingParents: [] }] }
209
- ],
210
- key: 'D0=USA:D1=D1ROOT>CHILD>CHILD:D2=D2ROOT>CHILD>CHILD:D3=D3ROOT>CHILD',
211
- flags: [],
212
- sideProps: null,
213
- isEmpty: true
214
- },
215
- {
216
- data: [
217
- { dimension: { id: 'D0' }, value: { id: 'USA', parents: [0, 2], missingParents: [] } },
218
- { dimension: { id: 'COMB0' }, values: [{ id: 'D1ROOT>CHILD>CHILD', parents: [0, 1], missingParents: [] }, { id: 'A0VAL' }, { id: 'D2ROOT>CHILD>CHILD', parents: [0, 1], missingParents: [] }] },
219
- { dimension: { id: 'COMB1' }, values: [{ id: 'D3ROOT>CHILD>CHILD', parents: [0, 1], missingParents: [] }, { id: 'D4ROOT', parents: [], missingParents: [] }] }
220
- ],
221
- key: 'D0=USA:D1=D1ROOT>CHILD>CHILD:D2=D2ROOT>CHILD>CHILD:D3=D3ROOT>CHILD>CHILD:D4=D4ROOT',
222
- flags: [],
223
- sideProps: null,
224
- isEmpty: true
225
- },
226
-
227
- {
228
- data: [
229
- { dimension: { id: 'D0' }, value: { id: 'USA', parents: [0, 2], missingParents: [] } },
230
- { dimension: { id: 'COMB0' }, values: [{ id: 'D1ROOT>CHILD>CHILD', parents: [0, 1], missingParents: [] }, { id: 'A0VAL' }, { id: 'D2ROOT>CHILD>CHILD', parents: [0, 1], missingParents: [] }] },
231
- { dimension: { id: 'COMB1' }, values: [{ id: 'D3ROOT>CHILD>CHILD', parents: [0, 1], missingParents: [] }, { id: 'D4ROOT>CHILD', parents: [0], missingParents: [] }] }
232
- ],
233
- key: 'D0=USA:D1=D1ROOT>CHILD>CHILD:D2=D2ROOT>CHILD>CHILD:D3=D3ROOT>CHILD>CHILD:D4=D4ROOT>CHILD',
234
- flags: [],
235
- sideProps: null,
236
- isEmpty: true
237
- },
238
- {
239
- data: [
240
- { dimension: { id: 'D0' }, value: { id: 'USA', parents: [0, 2], missingParents: [] } },
241
- { dimension: { id: 'COMB0' }, values: [{ id: 'D1ROOT>CHILD>CHILD', parents: [0, 1], missingParents: [] }, { id: 'A0VAL' }, { id: 'D2ROOT>CHILD>CHILD', parents: [0, 1], missingParents: [] }] },
242
- { dimension: { id: 'COMB1' }, values: [{ id: 'D3ROOT>CHILD>CHILD', parents: [0, 1], missingParents: [] }, { id: 'D4ROOT>CHILD>CHILD', parents: [0, 1], missingParents: [] }] }
243
- ],
244
- coordinates: { D0: 'USA', D1: 'D1ROOT>CHILD>CHILD', D2: 'D2ROOT>CHILD>CHILD', D3: 'D3ROOT>CHILD>CHILD', D4: 'D4ROOT>CHILD>CHILD' },
245
- key: 'D0=USA:D1=D1ROOT>CHILD>CHILD:D2=D2ROOT>CHILD>CHILD:D3=D3ROOT>CHILD>CHILD:D4=D4ROOT>CHILD>CHILD',
246
- flags: [],
247
- sideProps: {
248
- coordinates: {
249
- D0: 'USA',
250
- D1: 'D1ROOT>CHILD>CHILD',
251
- D2: 'D2ROOT>CHILD>CHILD',
252
- D3: 'D3ROOT>CHILD>CHILD',
253
- D4: 'D4ROOT>CHILD>CHILD',
254
- },
255
- hasAdvancedAttributes: true,
256
- hasMetadata: false
257
- }
258
- }
259
- ]);
260
- });
261
- it('getSerieDataWithoutMissingLines test 1', () => {
262
- const dimensions = [
263
- {
264
- id: 'D0',
265
- values: [
266
- { id: 'W' },
267
- { id: 'NA', parentsIndexes: [0] },
268
- { id: 'A', parentsIndexes: [0, 1] },
269
- { id: 'USA', parentsIndexes: [0, 1, 2] },
270
- { id: 'CAN', parentsIndexes: [0, 1, 2] },
271
- { id: 'MEX', parentsIndexes: [0, 1, 2] }
272
- ]
273
- },
274
- {
275
- id: 'COMB0',
276
- concepts: ['D1', 'A0', 'D2'],
277
- dimensions: [
278
- {
279
- id: 'D1',
280
- values: [
281
- { id: 'D1ROOT' },
282
- { id: 'D1ROOT>CHILD' },
283
- { id: 'D1ROOT>CHILD>CHILD' },
284
- ]
285
- },
286
- {
287
- id: 'D2',
288
- values: [
289
- { id: 'D2ROOT' },
290
- { id: 'D2ROOT>CHILD' },
291
- { id: 'D2ROOT>CHILD>CHILD' },
292
- ]
293
- }
294
- ]
295
- },
296
- {
297
- id: 'COMB1',
298
- concepts: ['D3', 'D4'],
299
- dimensions: [
300
- {
301
- id: 'D3',
302
- values: [
303
- { id: 'D3ROOT' },
304
- { id: 'D3ROOT>CHILD' },
305
- { id: 'D3ROOT>CHILD>CHILD' },
306
- ]
307
- },
308
- {
309
- id: 'D4',
310
- values: [
311
- { id: 'D4ROOT' },
312
- { id: 'D4ROOT>CHILD' },
313
- { id: 'D4ROOT>CHILD>CHILD' },
314
- ]
315
- }
316
- ]
317
- },
318
- ];
319
-
320
- const attributesSeries = {
321
- 'D1=D1ROOT>CHILD>CHILD:D2=D2ROOT>CHILD>CHILD': {
322
- A0: { id: 'A0', value: { id: 'A0VAL' }, coordinates: { D1: 'D1ROOT>CHILD>CHILD', D2: 'D2ROOT>CHILD>CHILD' } },
323
- A1: { id: 'A1', value: { id: 'A1VAL' }, coordinates: { D1: 'D1ROOT>CHILD>CHILD', D2: 'D2ROOT>CHILD>CHILD' } },
324
- }
325
- };
326
-
327
- const topCoordinates = {};
328
-
329
- const serie = {
330
- indexes: [3, [2, 2], [2, 2]],
331
- parentsIndexes: [[], [[], []], [[], []]],
332
- missingIndexes: [[0, 2], [[0, 1], [0, 1]], [[0, 1], [0, 1]]],
333
- };
334
-
335
- expect(getSerieDataWithoutMissingLines(serie, dimensions, topCoordinates, attributesSeries, {}, {})).to.deep.equal({
336
- data: [
337
- { dimension: { id: 'D0' }, value: { id: 'USA', parents: [0, 2], missingParents: [{ id: 'W', parents: [], missingParents: [] }, { id: 'A', parents: [0], missingParents: [] }] } },
338
- {
339
- dimension: { id: 'COMB0' },
340
- values: [
341
- { id: 'D1ROOT>CHILD>CHILD', parents: [0, 1], missingParents: [{ id: 'D1ROOT', parents: [], missingParents: [] }, { id: 'D1ROOT>CHILD', parents: [0], missingParents: [] }] },
342
- { id: 'A0VAL' },
343
- { id: 'D2ROOT>CHILD>CHILD', parents: [0, 1], missingParents: [{ id: 'D2ROOT', parents: [], missingParents: [] }, { id: 'D2ROOT>CHILD', parents: [0], missingParents: [] }] }
344
- ]
345
- },
346
- {
347
- dimension: { id: 'COMB1' },
348
- values: [
349
- { id: 'D3ROOT>CHILD>CHILD', parents: [0, 1], missingParents: [{ id: 'D3ROOT', parents: [], missingParents: [] }, { id: 'D3ROOT>CHILD', parents: [0], missingParents: [] }] },
350
- { id: 'D4ROOT>CHILD>CHILD', parents: [0, 1], missingParents: [{ id: 'D4ROOT', parents: [], missingParents: [] }, { id: 'D4ROOT>CHILD', parents: [0], missingParents: [] }] }
351
- ]
352
- }
353
- ],
354
- coordinates: { D0: 'USA', D1: 'D1ROOT>CHILD>CHILD', D2: 'D2ROOT>CHILD>CHILD', D3: 'D3ROOT>CHILD>CHILD', D4: 'D4ROOT>CHILD>CHILD' },
355
- key: 'D0=USA:D1=D1ROOT>CHILD>CHILD:D2=D2ROOT>CHILD>CHILD:D3=D3ROOT>CHILD>CHILD:D4=D4ROOT>CHILD>CHILD',
356
- flags: [],
357
- sideProps: {
358
- coordinates: {
359
- D0: 'USA',
360
- D1: 'D1ROOT>CHILD>CHILD',
361
- D2: 'D2ROOT>CHILD>CHILD',
362
- D3: 'D3ROOT>CHILD>CHILD',
363
- D4: 'D4ROOT>CHILD>CHILD',
364
- },
365
- hasAdvancedAttributes: true,
366
- hasMetadata: false
367
- }
368
- });
369
- });
370
- it('getSerieDataWithoutMissingLines, sideProps and flags non dupplication', () => {
371
- const dimensions = [
372
- {
373
- id: 'D0',
374
- values: [
375
- { id: 'D0V0', flags: [{ id: 'A0', value: { id: 'A0V' }}] },
376
- { id: 'D1V1' }
377
- ]
378
- }, {
379
- id: 'COMB',
380
- concepts: ['D1', 'A1'],
381
- dimensions: [
382
- {
383
- id: 'D1',
384
- values: [
385
- { id: 'D1V0', hasAdvancedAttributes: true },
386
- { id: 'D1V1' },
387
- ]
388
- }
389
- ]
390
- }
391
- ];
392
-
393
- const attributesSeries = {
394
- 'D0=D0V0': {
395
- A0: { id: 'A0', value: { id: 'A0V' }, coordinates: { D0: 'D0V0' }, relationship: ['D0'] },
396
- },
397
- 'D1=D1V0': {
398
- A1: { id: 'A1', value: { id: 'A1V' }, coordinates: { D1: 'D1V0' }, relationship: ['D1'], combined: true },
399
- },
400
- 'D0=D0V0:D1=D1V0': {
401
- A2: { id: 'A2', value: { id: 'A2V' }, coordinates: { D0: 'D0V0', D1: 'D1V0' }, relationship: ['D0', 'D1'] },
402
- },
403
- };
404
-
405
- const topCoordinates = {};
406
-
407
- const serie = {
408
- indexes: [0, [0]],
409
- parentsIndexes: [[], [[]]],
410
- missingIndexes: [[], [[]]],
411
- };
412
-
413
- const customAttributes = {
414
- flags: [],
415
- notes: ['A0', 'A2']
416
- }
417
-
418
- expect(getSerieDataWithoutMissingLines(serie, dimensions, topCoordinates, attributesSeries, customAttributes, {})).to.deep.equal({
419
- data: [
420
- {
421
- dimension: { id: 'D0' },
422
- value: { id: 'D0V0', missingParents: [], parents: [], flags: [{ id: 'A0', value: { id: 'A0V' } }] }
423
- },
424
- {
425
- dimension: { id: 'COMB' },
426
- values: [
427
- { id: 'D1V0', missingParents: [], parents: [], hasAdvancedAttributes: true },
428
- { id: 'A1V' },
429
- ]
430
- }
431
- ],
432
- coordinates: { D0: 'D0V0', D1: 'D1V0' },
433
- key: 'D0=D0V0:D1=D1V0',
434
- flags: [
435
- { id: 'A2', value: { id: 'A2V' } }
436
- ],
437
- sideProps: {
438
- coordinates: {
439
- D0: 'D0V0',
440
- D1: 'D1V0',
441
- },
442
- hasAdvancedAttributes: true,
443
- hasMetadata: false
444
- }
445
- });
446
- });
447
- it('getSerieDataWithMissingLines, advanced attributes as dim level plus empty series', () => {
448
- const dimensions = [
449
- {
450
- id: 'D0',
451
- values: [
452
- { id: 'D0V0', flags: [], hasAdvancedAttributes: true },
453
- { id: 'D0V1' }
454
- ]
455
- }
456
- ];
457
-
458
- const attributesSeries = {
459
- 'D1=D1V0': {},
460
- 'D0=D0V0:D1=D1V0': {},
461
- };
462
-
463
- const topCoordinates = {};
464
-
465
- const serie = {
466
- indexes: [0],
467
- parentsIndexes: [[]],
468
- missingIndexes: [[]],
469
- };
470
-
471
- const customAttributes = {
472
- flags: [],
473
- notes: ['A0', 'A2']
474
- }
475
-
476
- expect(getSerieDataWithMissingLines(serie, dimensions, topCoordinates, attributesSeries, customAttributes, {})).to.deep.equal([{
477
- data: [
478
- {
479
- dimension: { id: 'D0' },
480
- value: { id: 'D0V0', missingParents: [], parents: [], flags: [], hasAdvancedAttributes: true }
481
- },
482
- ],
483
- coordinates: { D0: 'D0V0' },
484
- key: 'D0=D0V0',
485
- flags: [],
486
- sideProps: {
487
- coordinates: {
488
- D0: 'D0V0',
489
- },
490
- hasAdvancedAttributes: true,
491
- hasMetadata: false
492
- }
493
- }]);
494
- });
495
- it('getSerieDataWithMissingLines, advanced attributes and inverted dim', () => {
496
- const dimensions = [
497
- {
498
- id: 'D0',
499
- values: [
500
- { id: 'D0V0' },
501
- { id: 'D0V1', hasAdvancedAttributes: true }
502
- ]
503
- }
504
- ];
505
-
506
- const attributesSeries = {};
507
-
508
- const topCoordinates = {};
509
-
510
- const serie = {
511
- indexes: [-1],
512
- parentsIndexes: [[]],
513
- missingIndexes: [[]],
514
- };
515
-
516
- const customAttributes = {
517
- flags: [],
518
- notes: []
519
- }
520
-
521
- expect(getSerieDataWithMissingLines(serie, dimensions, topCoordinates, attributesSeries, customAttributes, {})).to.deep.equal([{
522
- data: [
523
- {
524
- dimension: { id: 'D0' },
525
- value: { id: 'D0V1', missingParents: [], parents: [], hasAdvancedAttributes: true }
526
- },
527
- ],
528
- coordinates: { D0: 'D0V1' },
529
- key: 'D0=D0V1',
530
- flags: [],
531
- sideProps: {
532
- coordinates: {
533
- D0: 'D0V1',
534
- },
535
- hasAdvancedAttributes: true,
536
- hasMetadata: false
537
- }
538
- }]);
539
- });
540
- });
@@ -1,35 +0,0 @@
1
- import { expect } from 'chai';
2
- import { getMSDInformations } from '../src/rules2/src/getMSDInformations';
3
- import msd from './mocks/MSD_TEST.json';
4
-
5
- describe('getMSDInformations tests', () => {
6
- it('complete test', () => {
7
- const expected = {
8
- attributes: {
9
- STRING_TYPE: { format: 'String', parent: '#ROOT', id: 'STRING_TYPE', name: 'STRING_TYPE en' },
10
- STRING_MULTILANG_TYPE: { format: 'String', parent: '#ROOT', id: 'STRING_MULTILANG_TYPE', name: undefined },
11
- ALPHANUMERIC_TYPE: { format: 'AlphaNumeric', parent: '#ROOT', id: 'ALPHANUMERIC_TYPE', name: undefined },
12
- ALPHANUMERIC_MULTILANG_TYPE: { format: 'AlphaNumeric', parent: '#ROOT', id: 'ALPHANUMERIC_MULTILANG_TYPE', name: undefined },
13
- BOOLEAN_TYPE: { format: 'Boolean', parent: '#ROOT', id: 'BOOLEAN_TYPE', name: undefined },
14
- XHTML_TYPE: { format: 'XHTML', parent: '#ROOT', id: 'XHTML_TYPE', name: undefined },
15
- XHTML_MULTILANG_TYPE: { format: 'XHTML', parent: '#ROOT', id: 'XHTML_MULTILANG_TYPE', name: undefined },
16
- INTEGER_TYPE: { format: 'Integer', parent: '#ROOT', id: 'INTEGER_TYPE', name: undefined },
17
- INTEGER_MULTILANG_TYPE: { format: 'Integer', parent: '#ROOT', id: 'INTEGER_MULTILANG_TYPE', name: undefined },
18
- DECIMAL_TYPE: { format: 'Decimal', parent: '#ROOT', id: 'DECIMAL_TYPE', name: undefined },
19
- DECIMAL_MULTILANG_TYPE: { format: 'Decimal', parent: '#ROOT', id: 'DECIMAL_MULTILANG_TYPE', name: undefined },
20
- DATETIME_TYPE: { format: 'DateTime', parent: '#ROOT', id: 'DATETIME_TYPE', name: undefined },
21
- TIME_TYPE: { format: 'Time', parent: '#ROOT', id: 'TIME_TYPE', name: undefined },
22
- GREGORIANDAY_TYPE: { format: 'GregorianDay', parent: '#ROOT', id: 'GREGORIANDAY_TYPE', name: undefined },
23
- GREGORIAN_YEAR_TYPE: { format: 'GregorianYear', parent: '#ROOT', id: 'GREGORIAN_YEAR_TYPE', name: undefined },
24
- GREGORIAN_YEARMONTH_TYPE: { format: 'GregorianYearMonth', parent: '#ROOT', id: 'GREGORIAN_YEARMONTH_TYPE', name: undefined },
25
- CONTACT: { format: 'String', parent: '#ROOT', id: 'CONTACT', name: undefined },
26
- 'CONTACT.CONTACT_NAME': { format: 'String', parent: 'CONTACT', id: 'CONTACT_NAME', name: undefined },
27
- 'CONTACT.CONTACT_EMAIL': { format: 'String', parent: 'CONTACT', id: 'CONTACT_EMAIL', name: undefined },
28
- 'CONTACT.CONTACT_PHONE': { format: 'Numeric', parent: 'CONTACT', id: 'CONTACT_PHONE', name: undefined },
29
- 'CONTACT.CONTACT_ORGANISATION': { format: 'String', parent: 'CONTACT', id: 'CONTACT_ORGANISATION', name: undefined }
30
- }
31
- };
32
-
33
- expect(getMSDInformations(msd)).to.deep.equal(expected);
34
- });
35
- });
File without changes
@@ -1,47 +0,0 @@
1
- import { expect } from 'chai';
2
- import { getNotDisplayedIds } from '../src/rules2/src/getNotDisplayedIds';
3
-
4
- describe('getNotDisplayedIds tests', () => {
5
- it('not provided case', () => {
6
- const annotations = [
7
- { type: 'test0' },
8
- { type: 'test1' },
9
- { type: 'NOT_DISPLAYED', title: '' },
10
- { type: 'test2' },
11
- ];
12
- expect(getNotDisplayedIds(annotations)).to.deep.equal({ hiddenValues: {}, hiddenCombinations: {} });
13
- });
14
- it('complete case', () => {
15
- const annotations = [
16
- { type: 'test0' },
17
- { type: 'test1' },
18
- { type: 'NOT_DISPLAYED', title: 'd0,d1=,d2=v0,d3=v0+,d4=v0+v1,d5=(v0+v1)+v2,d6=(v0+v1),d7=(v0+v1,d8=v0+v1),d9=()' },
19
- { type: 'test2' },
20
- ];
21
- const expected = {
22
- hiddenValues: {
23
- d0: 'd0',
24
- d1: 'd1',
25
- 'd2.v0': 'd2.v0',
26
- 'd3.v0': 'd3.v0',
27
- 'd4.v0': 'd4.v0',
28
- 'd4.v1': 'd4.v1',
29
- 'd5.v0': 'd5.v0',
30
- 'd5.v1': 'd5.v1',
31
- 'd5.v2': 'd5.v2',
32
- 'd6.v0': 'd6.v0',
33
- 'd6.v1': 'd6.v1',
34
- 'd7.v0': 'd7.v0',
35
- 'd7.v1': 'd7.v1',
36
- 'd8.v0': 'd8.v0',
37
- 'd8.v1': 'd8.v1',
38
- d9: 'd9',
39
- },
40
- hiddenCombinations: {
41
- d5: ['v0', 'v1'],
42
- d6: ['v0', 'v1'],
43
- }
44
- };
45
- expect(getNotDisplayedIds(annotations)).to.deep.equal(expected);
46
- });
47
- })
@@ -1,55 +0,0 @@
1
- import { expect } from 'chai';
2
- import { getObservationsType } from '../src/rules/src/properties/getObservationsType';
3
- import {
4
- OBS_TYPE_NUMBER,
5
- OBS_TYPE_NUMERICAL_STRING,
6
- OBS_TYPE_STRING
7
- } from '../src/rules/src/constants';
8
-
9
- describe('getObservationsType tests', () => {
10
- it('blank test', () => {
11
- expect(getObservationsType({ dataSets: [{ observations: {} }] })).to.equal(undefined);
12
- });
13
- it('all obs are null test', () => {
14
- expect(getObservationsType({ dataSets: [{
15
- observations: {
16
- "a": [null, 0, 0, 0],
17
- "b": [null, 0, 0, 0],
18
- "c": [null, 0, 0, 0],
19
- "d": [null, 0, 0, 0],
20
- }
21
- }] })).to.equal(undefined);
22
- });
23
- it('number case', () => {
24
- expect(getObservationsType({ dataSets: [{
25
- observations: {
26
- "a": [null, 0, 0, 0],
27
- "b": [456, 0, 0, 0],
28
- "c": ['toto', 0, 0, 0],
29
- "d": ['456', 0, 0, 0],
30
- }
31
- }] })).to.equal(OBS_TYPE_NUMBER);
32
- });
33
- it('numerical string test', () => {
34
- expect(getObservationsType({ dataSets: [{
35
- observations: {
36
- "a": [null, 0, 0, 0],
37
- "b": ['456', 0, 0, 0],
38
- "c": [456, 0, 0, 0],
39
- "d": ['toto', 0, 0, 0],
40
- }
41
- }] })).to.equal(OBS_TYPE_NUMERICAL_STRING);
42
- });
43
- it('string test', () => {
44
- expect(getObservationsType({ dataSets: [{
45
- observations: {
46
- "a": [null, 0, 0, 0],
47
- "b": ['toto', 0, 0, 0],
48
- "c": [456, 0, 0, 0],
49
- "d": ['456', 0, 0, 0],
50
- }
51
- }] })).to.equal(OBS_TYPE_STRING);
52
- });
53
-
54
- });
55
-