@sis-cc/dotstatsuite-components 21.10.0 → 22.0.1

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 (370) 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/index.js +6 -0
  74. package/dist/index.js.map +1 -0
  75. package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +8 -0
  76. package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js.map +1 -0
  77. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +8 -0
  78. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js.map +1 -0
  79. package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +7 -0
  80. package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js.map +1 -0
  81. package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +16 -0
  82. package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js.map +1 -0
  83. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +12 -0
  84. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -0
  85. package/dist/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +8 -0
  86. package/dist/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +1 -0
  87. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +6 -0
  88. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js.map +1 -0
  89. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +6 -0
  90. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js.map +1 -0
  91. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +12 -0
  92. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -0
  93. package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +8 -0
  94. package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +1 -0
  95. package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +11 -0
  96. package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js.map +1 -0
  97. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +15 -0
  98. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js.map +1 -0
  99. package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +10 -0
  100. package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js.map +1 -0
  101. package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +12 -0
  102. package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js.map +1 -0
  103. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +12 -0
  104. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js.map +1 -0
  105. package/dist/node_modules/@babel/runtime/helpers/interopRequireDefault.js +20 -0
  106. package/dist/node_modules/@babel/runtime/helpers/interopRequireDefault.js.map +1 -0
  107. package/dist/node_modules/@mui/material/colors/blue.js +9 -0
  108. package/dist/node_modules/@mui/material/colors/blue.js.map +1 -0
  109. package/dist/node_modules/@mui/material/colors/common.js +7 -0
  110. package/dist/node_modules/@mui/material/colors/common.js.map +1 -0
  111. package/dist/node_modules/@mui/material/colors/green.js +10 -0
  112. package/dist/node_modules/@mui/material/colors/green.js.map +1 -0
  113. package/dist/node_modules/@mui/material/colors/grey.js +19 -0
  114. package/dist/node_modules/@mui/material/colors/grey.js.map +1 -0
  115. package/dist/node_modules/@mui/material/colors/lightBlue.js +9 -0
  116. package/dist/node_modules/@mui/material/colors/lightBlue.js.map +1 -0
  117. package/dist/node_modules/@mui/material/colors/orange.js +9 -0
  118. package/dist/node_modules/@mui/material/colors/orange.js.map +1 -0
  119. package/dist/node_modules/@mui/material/colors/purple.js +10 -0
  120. package/dist/node_modules/@mui/material/colors/purple.js.map +1 -0
  121. package/dist/node_modules/@mui/material/colors/red.js +9 -0
  122. package/dist/node_modules/@mui/material/colors/red.js.map +1 -0
  123. package/dist/node_modules/@mui/material/styles/createMixins.js +20 -0
  124. package/dist/node_modules/@mui/material/styles/createMixins.js.map +1 -0
  125. package/dist/node_modules/@mui/material/styles/createPalette.js +309 -0
  126. package/dist/node_modules/@mui/material/styles/createPalette.js.map +1 -0
  127. package/dist/node_modules/@mui/material/styles/createTheme.js +86 -0
  128. package/dist/node_modules/@mui/material/styles/createTheme.js.map +1 -0
  129. package/dist/node_modules/@mui/material/styles/createTransitions.js +92 -0
  130. package/dist/node_modules/@mui/material/styles/createTransitions.js.map +1 -0
  131. package/dist/node_modules/@mui/material/styles/createTypography.js +94 -0
  132. package/dist/node_modules/@mui/material/styles/createTypography.js.map +1 -0
  133. package/dist/node_modules/@mui/material/styles/defaultTheme.js +6 -0
  134. package/dist/node_modules/@mui/material/styles/defaultTheme.js.map +1 -0
  135. package/dist/node_modules/@mui/material/styles/identifier.js +4 -0
  136. package/dist/node_modules/@mui/material/styles/identifier.js.map +1 -0
  137. package/dist/node_modules/@mui/material/styles/shadows.js +12 -0
  138. package/dist/node_modules/@mui/material/styles/shadows.js.map +1 -0
  139. package/dist/node_modules/@mui/material/styles/useTheme.js +16 -0
  140. package/dist/node_modules/@mui/material/styles/useTheme.js.map +1 -0
  141. package/dist/node_modules/@mui/material/styles/zIndex.js +15 -0
  142. package/dist/node_modules/@mui/material/styles/zIndex.js.map +1 -0
  143. package/dist/node_modules/@mui/private-theming/ThemeProvider/nested.js +5 -0
  144. package/dist/node_modules/@mui/private-theming/ThemeProvider/nested.js.map +1 -0
  145. package/dist/node_modules/@mui/private-theming/useTheme/ThemeContext.js +9 -0
  146. package/dist/node_modules/@mui/private-theming/useTheme/ThemeContext.js.map +1 -0
  147. package/dist/node_modules/@mui/private-theming/useTheme/useTheme.js +14 -0
  148. package/dist/node_modules/@mui/private-theming/useTheme/useTheme.js.map +1 -0
  149. package/dist/node_modules/@mui/styles/StylesProvider/StylesProvider.js +151 -0
  150. package/dist/node_modules/@mui/styles/StylesProvider/StylesProvider.js.map +1 -0
  151. package/dist/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.js +66 -0
  152. package/dist/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.js.map +1 -0
  153. package/dist/node_modules/@mui/styles/getStylesCreator/getStylesCreator.js +52 -0
  154. package/dist/node_modules/@mui/styles/getStylesCreator/getStylesCreator.js.map +1 -0
  155. package/dist/node_modules/@mui/styles/getStylesCreator/noopTheme.js +5 -0
  156. package/dist/node_modules/@mui/styles/getStylesCreator/noopTheme.js.map +1 -0
  157. package/dist/node_modules/@mui/styles/jssPreset/jssPreset.js +21 -0
  158. package/dist/node_modules/@mui/styles/jssPreset/jssPreset.js.map +1 -0
  159. package/dist/node_modules/@mui/styles/makeStyles/indexCounter.js +22 -0
  160. package/dist/node_modules/@mui/styles/makeStyles/indexCounter.js.map +1 -0
  161. package/dist/node_modules/@mui/styles/makeStyles/makeStyles.js +230 -0
  162. package/dist/node_modules/@mui/styles/makeStyles/makeStyles.js.map +1 -0
  163. package/dist/node_modules/@mui/styles/makeStyles/multiKeyStore.js +23 -0
  164. package/dist/node_modules/@mui/styles/makeStyles/multiKeyStore.js.map +1 -0
  165. package/dist/node_modules/@mui/styles/mergeClasses/mergeClasses.js +37 -0
  166. package/dist/node_modules/@mui/styles/mergeClasses/mergeClasses.js.map +1 -0
  167. package/dist/node_modules/@mui/styles/propsToClassKey/propsToClassKey.js +31 -0
  168. package/dist/node_modules/@mui/styles/propsToClassKey/propsToClassKey.js.map +1 -0
  169. package/dist/node_modules/@mui/styles/useTheme/index.js +10 -0
  170. package/dist/node_modules/@mui/styles/useTheme/index.js.map +1 -0
  171. package/dist/node_modules/@mui/system/colorManipulator.js +386 -0
  172. package/dist/node_modules/@mui/system/colorManipulator.js.map +1 -0
  173. package/dist/node_modules/@mui/system/esm/borders.js +52 -0
  174. package/dist/node_modules/@mui/system/esm/borders.js.map +1 -0
  175. package/dist/node_modules/@mui/system/esm/breakpoints.js +67 -0
  176. package/dist/node_modules/@mui/system/esm/breakpoints.js.map +1 -0
  177. package/dist/node_modules/@mui/system/esm/compose.js +27 -0
  178. package/dist/node_modules/@mui/system/esm/compose.js.map +1 -0
  179. package/dist/node_modules/@mui/system/esm/createTheme/applyStyles.js +77 -0
  180. package/dist/node_modules/@mui/system/esm/createTheme/applyStyles.js.map +1 -0
  181. package/dist/node_modules/@mui/system/esm/createTheme/createBreakpoints.js +83 -0
  182. package/dist/node_modules/@mui/system/esm/createTheme/createBreakpoints.js.map +1 -0
  183. package/dist/node_modules/@mui/system/esm/createTheme/createSpacing.js +35 -0
  184. package/dist/node_modules/@mui/system/esm/createTheme/createSpacing.js.map +1 -0
  185. package/dist/node_modules/@mui/system/esm/createTheme/createTheme.js +46 -0
  186. package/dist/node_modules/@mui/system/esm/createTheme/createTheme.js.map +1 -0
  187. package/dist/node_modules/@mui/system/esm/createTheme/shape.js +6 -0
  188. package/dist/node_modules/@mui/system/esm/createTheme/shape.js.map +1 -0
  189. package/dist/node_modules/@mui/system/esm/cssGrid.js +87 -0
  190. package/dist/node_modules/@mui/system/esm/cssGrid.js.map +1 -0
  191. package/dist/node_modules/@mui/system/esm/memoize.js +12 -0
  192. package/dist/node_modules/@mui/system/esm/memoize.js.map +1 -0
  193. package/dist/node_modules/@mui/system/esm/merge.js +13 -0
  194. package/dist/node_modules/@mui/system/esm/merge.js.map +1 -0
  195. package/dist/node_modules/@mui/system/esm/palette.js +29 -0
  196. package/dist/node_modules/@mui/system/esm/palette.js.map +1 -0
  197. package/dist/node_modules/@mui/system/esm/responsivePropType.js +6 -0
  198. package/dist/node_modules/@mui/system/esm/responsivePropType.js.map +1 -0
  199. package/dist/node_modules/@mui/system/esm/sizing.js +68 -0
  200. package/dist/node_modules/@mui/system/esm/sizing.js.map +1 -0
  201. package/dist/node_modules/@mui/system/esm/spacing.js +145 -0
  202. package/dist/node_modules/@mui/system/esm/spacing.js.map +1 -0
  203. package/dist/node_modules/@mui/system/esm/style.js +78 -0
  204. package/dist/node_modules/@mui/system/esm/style.js.map +1 -0
  205. package/dist/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js +294 -0
  206. package/dist/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js.map +1 -0
  207. package/dist/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js +137 -0
  208. package/dist/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js.map +1 -0
  209. package/dist/node_modules/@mui/system/esm/useTheme.js +10 -0
  210. package/dist/node_modules/@mui/system/esm/useTheme.js.map +1 -0
  211. package/dist/node_modules/@mui/system/esm/useThemeWithoutDefault.js +13 -0
  212. package/dist/node_modules/@mui/system/esm/useThemeWithoutDefault.js.map +1 -0
  213. package/dist/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js +19 -0
  214. package/dist/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js.map +1 -0
  215. package/dist/node_modules/@mui/utils/esm/capitalize/capitalize.js +15 -0
  216. package/dist/node_modules/@mui/utils/esm/capitalize/capitalize.js.map +1 -0
  217. package/dist/node_modules/@mui/utils/esm/clamp/clamp.js +6 -0
  218. package/dist/node_modules/@mui/utils/esm/clamp/clamp.js.map +1 -0
  219. package/dist/node_modules/@mui/utils/esm/clamp/index.js +2 -0
  220. package/dist/node_modules/@mui/utils/esm/clamp/index.js.map +1 -0
  221. package/dist/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +46 -0
  222. package/dist/node_modules/@mui/utils/esm/deepmerge/deepmerge.js.map +1 -0
  223. package/dist/node_modules/@mui/utils/esm/exactProp/exactProp.js +24 -0
  224. package/dist/node_modules/@mui/utils/esm/exactProp/exactProp.js.map +1 -0
  225. package/dist/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js +22 -0
  226. package/dist/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js.map +1 -0
  227. package/dist/node_modules/@mui/utils/esm/formatMuiErrorMessage/index.js +2 -0
  228. package/dist/node_modules/@mui/utils/esm/formatMuiErrorMessage/index.js.map +1 -0
  229. package/dist/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js +23 -0
  230. package/dist/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js.map +1 -0
  231. package/dist/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +50 -0
  232. package/dist/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js.map +1 -0
  233. package/dist/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.development.js +143 -0
  234. package/dist/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  235. package/dist/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.production.js +140 -0
  236. package/dist/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.production.js.map +1 -0
  237. package/dist/node_modules/@mui/utils/node_modules/react-is/index.js +20 -0
  238. package/dist/node_modules/@mui/utils/node_modules/react-is/index.js.map +1 -0
  239. package/dist/node_modules/css-vendor/dist/css-vendor.esm.js +574 -0
  240. package/dist/node_modules/css-vendor/dist/css-vendor.esm.js.map +1 -0
  241. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds/index.js +32 -0
  242. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds/index.js.map +1 -0
  243. package/dist/node_modules/date-fns/get_iso_week/index.js +49 -0
  244. package/dist/node_modules/date-fns/get_iso_week/index.js.map +1 -0
  245. package/dist/node_modules/date-fns/get_iso_year/index.js +59 -0
  246. package/dist/node_modules/date-fns/get_iso_year/index.js.map +1 -0
  247. package/dist/node_modules/date-fns/is_date/index.js +32 -0
  248. package/dist/node_modules/date-fns/is_date/index.js.map +1 -0
  249. package/dist/node_modules/date-fns/is_friday/index.js +35 -0
  250. package/dist/node_modules/date-fns/is_friday/index.js.map +1 -0
  251. package/dist/node_modules/date-fns/is_monday/index.js +35 -0
  252. package/dist/node_modules/date-fns/is_monday/index.js.map +1 -0
  253. package/dist/node_modules/date-fns/is_saturday/index.js +35 -0
  254. package/dist/node_modules/date-fns/is_saturday/index.js.map +1 -0
  255. package/dist/node_modules/date-fns/is_sunday/index.js +35 -0
  256. package/dist/node_modules/date-fns/is_sunday/index.js.map +1 -0
  257. package/dist/node_modules/date-fns/is_thursday/index.js +35 -0
  258. package/dist/node_modules/date-fns/is_thursday/index.js.map +1 -0
  259. package/dist/node_modules/date-fns/is_tuesday/index.js +35 -0
  260. package/dist/node_modules/date-fns/is_tuesday/index.js.map +1 -0
  261. package/dist/node_modules/date-fns/is_wednesday/index.js +35 -0
  262. package/dist/node_modules/date-fns/is_wednesday/index.js.map +1 -0
  263. package/dist/node_modules/date-fns/locale/_lib/build_formatting_tokens_reg_exp/index.js +39 -0
  264. package/dist/node_modules/date-fns/locale/_lib/build_formatting_tokens_reg_exp/index.js.map +1 -0
  265. package/dist/node_modules/date-fns/locale/ar/build_distance_in_words_locale/index.js +110 -0
  266. package/dist/node_modules/date-fns/locale/ar/build_distance_in_words_locale/index.js.map +1 -0
  267. package/dist/node_modules/date-fns/locale/ar/build_format_locale/index.js +86 -0
  268. package/dist/node_modules/date-fns/locale/ar/build_format_locale/index.js.map +1 -0
  269. package/dist/node_modules/date-fns/locale/ar/index.js +26 -0
  270. package/dist/node_modules/date-fns/locale/ar/index.js.map +1 -0
  271. package/dist/node_modules/date-fns/locale/de/build_distance_in_words_locale/index.js +196 -0
  272. package/dist/node_modules/date-fns/locale/de/build_distance_in_words_locale/index.js.map +1 -0
  273. package/dist/node_modules/date-fns/locale/de/build_format_locale/index.js +90 -0
  274. package/dist/node_modules/date-fns/locale/de/build_format_locale/index.js.map +1 -0
  275. package/dist/node_modules/date-fns/locale/de/index.js +27 -0
  276. package/dist/node_modules/date-fns/locale/de/index.js.map +1 -0
  277. package/dist/node_modules/date-fns/locale/en/build_distance_in_words_locale/index.js +110 -0
  278. package/dist/node_modules/date-fns/locale/en/build_distance_in_words_locale/index.js.map +1 -0
  279. package/dist/node_modules/date-fns/locale/en/build_format_locale/index.js +101 -0
  280. package/dist/node_modules/date-fns/locale/en/build_format_locale/index.js.map +1 -0
  281. package/dist/node_modules/date-fns/locale/en/index.js +25 -0
  282. package/dist/node_modules/date-fns/locale/en/index.js.map +1 -0
  283. package/dist/node_modules/date-fns/locale/es/build_distance_in_words_locale/index.js +110 -0
  284. package/dist/node_modules/date-fns/locale/es/build_distance_in_words_locale/index.js.map +1 -0
  285. package/dist/node_modules/date-fns/locale/es/build_format_locale/index.js +86 -0
  286. package/dist/node_modules/date-fns/locale/es/build_format_locale/index.js.map +1 -0
  287. package/dist/node_modules/date-fns/locale/es/index.js +28 -0
  288. package/dist/node_modules/date-fns/locale/es/index.js.map +1 -0
  289. package/dist/node_modules/date-fns/locale/fr/build_distance_in_words_locale/index.js +110 -0
  290. package/dist/node_modules/date-fns/locale/fr/build_distance_in_words_locale/index.js.map +1 -0
  291. package/dist/node_modules/date-fns/locale/fr/build_format_locale/index.js +135 -0
  292. package/dist/node_modules/date-fns/locale/fr/build_format_locale/index.js.map +1 -0
  293. package/dist/node_modules/date-fns/locale/fr/index.js +27 -0
  294. package/dist/node_modules/date-fns/locale/fr/index.js.map +1 -0
  295. package/dist/node_modules/date-fns/locale/it/build_distance_in_words_locale/index.js +110 -0
  296. package/dist/node_modules/date-fns/locale/it/build_distance_in_words_locale/index.js.map +1 -0
  297. package/dist/node_modules/date-fns/locale/it/build_format_locale/index.js +86 -0
  298. package/dist/node_modules/date-fns/locale/it/build_format_locale/index.js.map +1 -0
  299. package/dist/node_modules/date-fns/locale/it/index.js +26 -0
  300. package/dist/node_modules/date-fns/locale/it/index.js.map +1 -0
  301. package/dist/node_modules/date-fns/locale/nl/build_distance_in_words_locale/index.js +110 -0
  302. package/dist/node_modules/date-fns/locale/nl/build_distance_in_words_locale/index.js.map +1 -0
  303. package/dist/node_modules/date-fns/locale/nl/build_format_locale/index.js +86 -0
  304. package/dist/node_modules/date-fns/locale/nl/build_format_locale/index.js.map +1 -0
  305. package/dist/node_modules/date-fns/locale/nl/index.js +27 -0
  306. package/dist/node_modules/date-fns/locale/nl/index.js.map +1 -0
  307. package/dist/node_modules/date-fns/locale/th/build_distance_in_words_locale/index.js +114 -0
  308. package/dist/node_modules/date-fns/locale/th/build_distance_in_words_locale/index.js.map +1 -0
  309. package/dist/node_modules/date-fns/locale/th/build_format_locale/index.js +74 -0
  310. package/dist/node_modules/date-fns/locale/th/build_format_locale/index.js.map +1 -0
  311. package/dist/node_modules/date-fns/locale/th/index.js +26 -0
  312. package/dist/node_modules/date-fns/locale/th/index.js.map +1 -0
  313. package/dist/node_modules/date-fns/parse/index.js +346 -0
  314. package/dist/node_modules/date-fns/parse/index.js.map +1 -0
  315. package/dist/node_modules/date-fns/start_of_iso_week/index.js +38 -0
  316. package/dist/node_modules/date-fns/start_of_iso_week/index.js.map +1 -0
  317. package/dist/node_modules/date-fns/start_of_iso_year/index.js +46 -0
  318. package/dist/node_modules/date-fns/start_of_iso_year/index.js.map +1 -0
  319. package/dist/node_modules/date-fns/start_of_week/index.js +51 -0
  320. package/dist/node_modules/date-fns/start_of_week/index.js.map +1 -0
  321. package/dist/node_modules/hyphenate-style-name/index.js +20 -0
  322. package/dist/node_modules/hyphenate-style-name/index.js.map +1 -0
  323. package/dist/node_modules/is-in-browser/dist/module.js +6 -0
  324. package/dist/node_modules/is-in-browser/dist/module.js.map +1 -0
  325. package/dist/node_modules/jss/dist/jss.esm.js +2220 -0
  326. package/dist/node_modules/jss/dist/jss.esm.js.map +1 -0
  327. package/dist/node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.esm.js +60 -0
  328. package/dist/node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.esm.js.map +1 -0
  329. package/dist/node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.esm.js +252 -0
  330. package/dist/node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.esm.js.map +1 -0
  331. package/dist/node_modules/jss-plugin-global/dist/jss-plugin-global.esm.js +187 -0
  332. package/dist/node_modules/jss-plugin-global/dist/jss-plugin-global.esm.js.map +1 -0
  333. package/dist/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js +114 -0
  334. package/dist/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js.map +1 -0
  335. package/dist/node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.esm.js +29 -0
  336. package/dist/node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.esm.js.map +1 -0
  337. package/dist/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js +66 -0
  338. package/dist/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js.map +1 -0
  339. package/dist/node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.esm.js +58 -0
  340. package/dist/node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.esm.js.map +1 -0
  341. package/dist/node_modules/object-assign/index.js +100 -0
  342. package/dist/node_modules/object-assign/index.js.map +1 -0
  343. package/dist/node_modules/prop-types/checkPropTypes.js +116 -0
  344. package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -0
  345. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +75 -0
  346. package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
  347. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +626 -0
  348. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
  349. package/dist/node_modules/prop-types/index.js +34 -0
  350. package/dist/node_modules/prop-types/index.js.map +1 -0
  351. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +22 -0
  352. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
  353. package/dist/node_modules/prop-types/lib/has.js +12 -0
  354. package/dist/node_modules/prop-types/lib/has.js.map +1 -0
  355. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +1326 -0
  356. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -0
  357. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +25 -0
  358. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js.map +1 -0
  359. package/dist/node_modules/react/jsx-runtime.js +20 -0
  360. package/dist/node_modules/react/jsx-runtime.js.map +1 -0
  361. package/dist/node_modules/react-is/cjs/react-is.development.js +191 -0
  362. package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  363. package/dist/node_modules/react-is/cjs/react-is.production.min.js +27 -0
  364. package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
  365. package/dist/node_modules/react-is/index.js +20 -0
  366. package/dist/node_modules/react-is/index.js.map +1 -0
  367. package/dist/node_modules/tiny-warning/dist/tiny-warning.esm.js +18 -0
  368. package/dist/node_modules/tiny-warning/dist/tiny-warning.esm.js.map +1 -0
  369. package/package.json +27 -12
  370. package/dist/dotstatsuite-components.js +0 -8580
@@ -0,0 +1,23 @@
1
+ // Used https://github.com/thinkloop/multi-key-cache as inspiration
2
+
3
+ const multiKeyStore = {
4
+ set: (cache, key1, key2, value) => {
5
+ let subCache = cache.get(key1);
6
+ if (!subCache) {
7
+ subCache = new Map();
8
+ cache.set(key1, subCache);
9
+ }
10
+ subCache.set(key2, value);
11
+ },
12
+ get: (cache, key1, key2) => {
13
+ const subCache = cache.get(key1);
14
+ return subCache ? subCache.get(key2) : undefined;
15
+ },
16
+ delete: (cache, key1, key2) => {
17
+ const subCache = cache.get(key1);
18
+ subCache.delete(key2);
19
+ }
20
+ };
21
+
22
+ export { multiKeyStore as default };
23
+ //# sourceMappingURL=multiKeyStore.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"multiKeyStore.js","sources":["../../../../../node_modules/@mui/styles/makeStyles/multiKeyStore.js"],"sourcesContent":["// Used https://github.com/thinkloop/multi-key-cache as inspiration\n\nconst multiKeyStore = {\n set: (cache, key1, key2, value) => {\n let subCache = cache.get(key1);\n if (!subCache) {\n subCache = new Map();\n cache.set(key1, subCache);\n }\n subCache.set(key2, value);\n },\n get: (cache, key1, key2) => {\n const subCache = cache.get(key1);\n return subCache ? subCache.get(key2) : undefined;\n },\n delete: (cache, key1, key2) => {\n const subCache = cache.get(key1);\n subCache.delete(key2);\n }\n};\nexport default multiKeyStore;"],"names":[],"mappings":"AAAA;;AAEK,MAAC,aAAa,GAAG;AACtB,EAAE,GAAG,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,KAAK;AACrC,IAAI,IAAI,QAAQ,GAAG,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC;AAClC,IAAI,IAAI,CAAC,QAAQ,EAAE;AACnB,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAE;AAC1B,MAAM,KAAK,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC;AAC/B,IAAI;AACJ,IAAI,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC;AAC7B,EAAE,CAAC;AACH,EAAE,GAAG,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,KAAK;AAC9B,IAAI,MAAM,QAAQ,GAAG,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC;AACpC,IAAI,OAAO,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,SAAS;AACpD,EAAE,CAAC;AACH,EAAE,MAAM,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,KAAK;AACjC,IAAI,MAAM,QAAQ,GAAG,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC;AACpC,IAAI,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC;AACzB,EAAE;AACF;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,37 @@
1
+ import _extends from '../../../@babel/runtime/helpers/esm/extends.js';
2
+ import getDisplayName from '../../utils/esm/getDisplayName/getDisplayName.js';
3
+
4
+ function mergeClasses(options = {}) {
5
+ const {
6
+ baseClasses,
7
+ newClasses,
8
+ Component
9
+ } = options;
10
+ if (!newClasses) {
11
+ return baseClasses;
12
+ }
13
+ const nextClasses = _extends({}, baseClasses);
14
+ if (process.env.NODE_ENV !== 'production') {
15
+ if (typeof newClasses === 'string') {
16
+ console.error([`MUI: The value \`${newClasses}\` ` + `provided to the classes prop of ${getDisplayName(Component)} is incorrect.`, 'You might want to use the className prop instead.'].join('\n'));
17
+ return baseClasses;
18
+ }
19
+ }
20
+ Object.keys(newClasses).forEach(key => {
21
+ if (process.env.NODE_ENV !== 'production') {
22
+ if (!baseClasses[key] && newClasses[key]) {
23
+ console.error([`MUI: The key \`${key}\` ` + `provided to the classes prop is not implemented in ${getDisplayName(Component)}.`, `You can only override one of the following: ${Object.keys(baseClasses).join(',')}.`].join('\n'));
24
+ }
25
+ if (newClasses[key] && typeof newClasses[key] !== 'string') {
26
+ console.error([`MUI: The key \`${key}\` ` + `provided to the classes prop is not valid for ${getDisplayName(Component)}.`, `You need to provide a non empty string instead of: ${newClasses[key]}.`].join('\n'));
27
+ }
28
+ }
29
+ if (newClasses[key]) {
30
+ nextClasses[key] = `${baseClasses[key]} ${newClasses[key]}`;
31
+ }
32
+ });
33
+ return nextClasses;
34
+ }
35
+
36
+ export { mergeClasses as default };
37
+ //# sourceMappingURL=mergeClasses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mergeClasses.js","sources":["../../../../../node_modules/@mui/styles/mergeClasses/mergeClasses.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { getDisplayName } from '@mui/utils';\nexport default function mergeClasses(options = {}) {\n const {\n baseClasses,\n newClasses,\n Component\n } = options;\n if (!newClasses) {\n return baseClasses;\n }\n const nextClasses = _extends({}, baseClasses);\n if (process.env.NODE_ENV !== 'production') {\n if (typeof newClasses === 'string') {\n console.error([`MUI: The value \\`${newClasses}\\` ` + `provided to the classes prop of ${getDisplayName(Component)} is incorrect.`, 'You might want to use the className prop instead.'].join('\\n'));\n return baseClasses;\n }\n }\n Object.keys(newClasses).forEach(key => {\n if (process.env.NODE_ENV !== 'production') {\n if (!baseClasses[key] && newClasses[key]) {\n console.error([`MUI: The key \\`${key}\\` ` + `provided to the classes prop is not implemented in ${getDisplayName(Component)}.`, `You can only override one of the following: ${Object.keys(baseClasses).join(',')}.`].join('\\n'));\n }\n if (newClasses[key] && typeof newClasses[key] !== 'string') {\n console.error([`MUI: The key \\`${key}\\` ` + `provided to the classes prop is not valid for ${getDisplayName(Component)}.`, `You need to provide a non empty string instead of: ${newClasses[key]}.`].join('\\n'));\n }\n }\n if (newClasses[key]) {\n nextClasses[key] = `${baseClasses[key]} ${newClasses[key]}`;\n }\n });\n return nextClasses;\n}"],"names":[],"mappings":";;;AAEe,SAAS,YAAY,CAAC,OAAO,GAAG,EAAE,EAAE;AACnD,EAAE,MAAM;AACR,IAAI,WAAW;AACf,IAAI,UAAU;AACd,IAAI;AACJ,GAAG,GAAG,OAAO;AACb,EAAE,IAAI,CAAC,UAAU,EAAE;AACnB,IAAI,OAAO,WAAW;AACtB,EAAE;AACF,EAAE,MAAM,WAAW,GAAG,QAAQ,CAAC,EAAE,EAAE,WAAW,CAAC;AAC/C,EAAE,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,EAAE;AAC7C,IAAI,IAAI,OAAO,UAAU,KAAK,QAAQ,EAAE;AACxC,MAAM,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,iBAAiB,EAAE,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,gCAAgC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC,cAAc,CAAC,EAAE,mDAAmD,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACzM,MAAM,OAAO,WAAW;AACxB,IAAI;AACJ,EAAE;AACF,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,GAAG,IAAI;AACzC,IAAI,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,EAAE;AAC/C,MAAM,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,UAAU,CAAC,GAAG,CAAC,EAAE;AAChD,QAAQ,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,eAAe,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,mDAAmD,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,4CAA4C,EAAE,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACzO,MAAM;AACN,MAAM,IAAI,UAAU,CAAC,GAAG,CAAC,IAAI,OAAO,UAAU,CAAC,GAAG,CAAC,KAAK,QAAQ,EAAE;AAClE,QAAQ,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,eAAe,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,8CAA8C,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,mDAAmD,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACxN,MAAM;AACN,IAAI;AACJ,IAAI,IAAI,UAAU,CAAC,GAAG,CAAC,EAAE;AACzB,MAAM,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC;AACjE,IAAI;AACJ,EAAE,CAAC,CAAC;AACJ,EAAE,OAAO,WAAW;AACpB;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,31 @@
1
+ import _objectWithoutPropertiesLoose from '../../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js';
2
+ import capitalize from '../../utils/esm/capitalize/capitalize.js';
3
+
4
+ const _excluded = ["variant"];
5
+ function isEmpty(string) {
6
+ return string.length === 0;
7
+ }
8
+
9
+ /**
10
+ * Generates string classKey based on the properties provided. It starts with the
11
+ * variant if defined, and then it appends all other properties in alphabetical order.
12
+ * @param {object} props - the properties for which the classKey should be created
13
+ */
14
+ function propsToClassKey(props) {
15
+ const {
16
+ variant
17
+ } = props,
18
+ other = _objectWithoutPropertiesLoose(props, _excluded);
19
+ let classKey = variant || '';
20
+ Object.keys(other).sort().forEach(key => {
21
+ if (key === 'color') {
22
+ classKey += isEmpty(classKey) ? props[key] : capitalize(props[key]);
23
+ } else {
24
+ classKey += `${isEmpty(classKey) ? key : capitalize(key)}${capitalize(props[key].toString())}`;
25
+ }
26
+ });
27
+ return classKey;
28
+ }
29
+
30
+ export { propsToClassKey as default };
31
+ //# sourceMappingURL=propsToClassKey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"propsToClassKey.js","sources":["../../../../../node_modules/@mui/styles/propsToClassKey/propsToClassKey.js"],"sourcesContent":["import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"variant\"];\nimport { unstable_capitalize as capitalize } from '@mui/utils';\nfunction isEmpty(string) {\n return string.length === 0;\n}\n\n/**\n * Generates string classKey based on the properties provided. It starts with the\n * variant if defined, and then it appends all other properties in alphabetical order.\n * @param {object} props - the properties for which the classKey should be created\n */\nexport default function propsToClassKey(props) {\n const {\n variant\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n let classKey = variant || '';\n Object.keys(other).sort().forEach(key => {\n if (key === 'color') {\n classKey += isEmpty(classKey) ? props[key] : capitalize(props[key]);\n } else {\n classKey += `${isEmpty(classKey) ? key : capitalize(key)}${capitalize(props[key].toString())}`;\n }\n });\n return classKey;\n}"],"names":[],"mappings":";;;AACA,MAAM,SAAS,GAAG,CAAC,SAAS,CAAC;AAE7B,SAAS,OAAO,CAAC,MAAM,EAAE;AACzB,EAAE,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC;AAC5B;;AAEA;AACA;AACA;AACA;AACA;AACe,SAAS,eAAe,CAAC,KAAK,EAAE;AAC/C,EAAE,MAAM;AACR,MAAM;AACN,KAAK,GAAG,KAAK;AACb,IAAI,KAAK,GAAG,6BAA6B,CAAC,KAAK,EAAE,SAAS,CAAC;AAC3D,EAAE,IAAI,QAAQ,GAAG,OAAO,IAAI,EAAE;AAC9B,EAAE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,GAAG,IAAI;AAC3C,IAAI,IAAI,GAAG,KAAK,OAAO,EAAE;AACzB,MAAM,QAAQ,IAAI,OAAO,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AACzE,IAAI,CAAC,MAAM;AACX,MAAM,QAAQ,IAAI,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;AACpG,IAAI;AACJ,EAAE,CAAC,CAAC;AACJ,EAAE,OAAO,QAAQ;AACjB;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,10 @@
1
+ import useTheme$1 from '../../private-theming/useTheme/useTheme.js';
2
+
3
+ function useTheme() {
4
+ var _privateTheme$$$mater;
5
+ const privateTheme = useTheme$1();
6
+ return (_privateTheme$$$mater = privateTheme == null ? void 0 : privateTheme.$$material) != null ? _privateTheme$$$mater : privateTheme;
7
+ }
8
+
9
+ export { useTheme as default };
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/@mui/styles/useTheme/index.js"],"sourcesContent":["import usePrivateTheme from '@mui/private-theming/useTheme';\nexport default function useTheme() {\n var _privateTheme$$$mater;\n const privateTheme = usePrivateTheme();\n return (_privateTheme$$$mater = privateTheme == null ? void 0 : privateTheme.$$material) != null ? _privateTheme$$$mater : privateTheme;\n}"],"names":["usePrivateTheme"],"mappings":";;AACe,SAAS,QAAQ,GAAG;AACnC,EAAE,IAAI,qBAAqB;AAC3B,EAAE,MAAM,YAAY,GAAGA,UAAe,EAAE;AACxC,EAAE,OAAO,CAAC,qBAAqB,GAAG,YAAY,IAAI,IAAI,GAAG,MAAM,GAAG,YAAY,CAAC,UAAU,KAAK,IAAI,GAAG,qBAAqB,GAAG,YAAY;AACzI;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,386 @@
1
+ import { __exports as colorManipulator } from '../../../_virtual/colorManipulator2.js';
2
+ import { __require as requireInteropRequireDefault } from '../../@babel/runtime/helpers/interopRequireDefault.js';
3
+ import require$$1 from '../../../_virtual/index17.js';
4
+ import require$$2 from '../../../_virtual/index18.js';
5
+
6
+ var hasRequiredColorManipulator;
7
+
8
+ function requireColorManipulator () {
9
+ if (hasRequiredColorManipulator) return colorManipulator;
10
+ hasRequiredColorManipulator = 1;
11
+
12
+ var _interopRequireDefault = requireInteropRequireDefault();
13
+ Object.defineProperty(colorManipulator, "__esModule", {
14
+ value: true
15
+ });
16
+ colorManipulator.alpha = alpha;
17
+ colorManipulator.blend = blend;
18
+ colorManipulator.colorChannel = void 0;
19
+ colorManipulator.darken = darken;
20
+ colorManipulator.decomposeColor = decomposeColor;
21
+ colorManipulator.emphasize = emphasize;
22
+ colorManipulator.getContrastRatio = getContrastRatio;
23
+ colorManipulator.getLuminance = getLuminance;
24
+ colorManipulator.hexToRgb = hexToRgb;
25
+ colorManipulator.hslToRgb = hslToRgb;
26
+ colorManipulator.lighten = lighten;
27
+ colorManipulator.private_safeAlpha = private_safeAlpha;
28
+ colorManipulator.private_safeColorChannel = void 0;
29
+ colorManipulator.private_safeDarken = private_safeDarken;
30
+ colorManipulator.private_safeEmphasize = private_safeEmphasize;
31
+ colorManipulator.private_safeLighten = private_safeLighten;
32
+ colorManipulator.recomposeColor = recomposeColor;
33
+ colorManipulator.rgbToHex = rgbToHex;
34
+ var _formatMuiErrorMessage2 = _interopRequireDefault(require$$1);
35
+ var _clamp = _interopRequireDefault(require$$2);
36
+ /* eslint-disable @typescript-eslint/naming-convention */
37
+
38
+ /**
39
+ * Returns a number whose value is limited to the given range.
40
+ * @param {number} value The value to be clamped
41
+ * @param {number} min The lower boundary of the output range
42
+ * @param {number} max The upper boundary of the output range
43
+ * @returns {number} A number in the range [min, max]
44
+ */
45
+ function clampWrapper(value, min = 0, max = 1) {
46
+ if (process.env.NODE_ENV !== 'production') {
47
+ if (value < min || value > max) {
48
+ console.error(`MUI: The value provided ${value} is out of range [${min}, ${max}].`);
49
+ }
50
+ }
51
+ return (0, _clamp.default)(value, min, max);
52
+ }
53
+
54
+ /**
55
+ * Converts a color from CSS hex format to CSS rgb format.
56
+ * @param {string} color - Hex color, i.e. #nnn or #nnnnnn
57
+ * @returns {string} A CSS rgb color string
58
+ */
59
+ function hexToRgb(color) {
60
+ color = color.slice(1);
61
+ const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, 'g');
62
+ let colors = color.match(re);
63
+ if (colors && colors[0].length === 1) {
64
+ colors = colors.map(n => n + n);
65
+ }
66
+ return colors ? `rgb${colors.length === 4 ? 'a' : ''}(${colors.map((n, index) => {
67
+ return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;
68
+ }).join(', ')})` : '';
69
+ }
70
+ function intToHex(int) {
71
+ const hex = int.toString(16);
72
+ return hex.length === 1 ? `0${hex}` : hex;
73
+ }
74
+
75
+ /**
76
+ * Returns an object with the type and values of a color.
77
+ *
78
+ * Note: Does not support rgb % values.
79
+ * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
80
+ * @returns {object} - A MUI color object: {type: string, values: number[]}
81
+ */
82
+ function decomposeColor(color) {
83
+ // Idempotent
84
+ if (color.type) {
85
+ return color;
86
+ }
87
+ if (color.charAt(0) === '#') {
88
+ return decomposeColor(hexToRgb(color));
89
+ }
90
+ const marker = color.indexOf('(');
91
+ const type = color.substring(0, marker);
92
+ if (['rgb', 'rgba', 'hsl', 'hsla', 'color'].indexOf(type) === -1) {
93
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${color}\` color.
94
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : (0, _formatMuiErrorMessage2.default)(9, color));
95
+ }
96
+ let values = color.substring(marker + 1, color.length - 1);
97
+ let colorSpace;
98
+ if (type === 'color') {
99
+ values = values.split(' ');
100
+ colorSpace = values.shift();
101
+ if (values.length === 4 && values[3].charAt(0) === '/') {
102
+ values[3] = values[3].slice(1);
103
+ }
104
+ if (['srgb', 'display-p3', 'a98-rgb', 'prophoto-rgb', 'rec-2020'].indexOf(colorSpace) === -1) {
105
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${colorSpace}\` color space.
106
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : (0, _formatMuiErrorMessage2.default)(10, colorSpace));
107
+ }
108
+ } else {
109
+ values = values.split(',');
110
+ }
111
+ values = values.map(value => parseFloat(value));
112
+ return {
113
+ type,
114
+ values,
115
+ colorSpace
116
+ };
117
+ }
118
+
119
+ /**
120
+ * Returns a channel created from the input color.
121
+ *
122
+ * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
123
+ * @returns {string} - The channel for the color, that can be used in rgba or hsla colors
124
+ */
125
+ const colorChannel = color => {
126
+ const decomposedColor = decomposeColor(color);
127
+ return decomposedColor.values.slice(0, 3).map((val, idx) => decomposedColor.type.indexOf('hsl') !== -1 && idx !== 0 ? `${val}%` : val).join(' ');
128
+ };
129
+ colorManipulator.colorChannel = colorChannel;
130
+ const private_safeColorChannel = (color, warning) => {
131
+ try {
132
+ return colorChannel(color);
133
+ } catch (error) {
134
+ if (warning && process.env.NODE_ENV !== 'production') {
135
+ console.warn(warning);
136
+ }
137
+ return color;
138
+ }
139
+ };
140
+
141
+ /**
142
+ * Converts a color object with type and values to a string.
143
+ * @param {object} color - Decomposed color
144
+ * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla', 'color'
145
+ * @param {array} color.values - [n,n,n] or [n,n,n,n]
146
+ * @returns {string} A CSS color string
147
+ */
148
+ colorManipulator.private_safeColorChannel = private_safeColorChannel;
149
+ function recomposeColor(color) {
150
+ const {
151
+ type,
152
+ colorSpace
153
+ } = color;
154
+ let {
155
+ values
156
+ } = color;
157
+ if (type.indexOf('rgb') !== -1) {
158
+ // Only convert the first 3 values to int (i.e. not alpha)
159
+ values = values.map((n, i) => i < 3 ? parseInt(n, 10) : n);
160
+ } else if (type.indexOf('hsl') !== -1) {
161
+ values[1] = `${values[1]}%`;
162
+ values[2] = `${values[2]}%`;
163
+ }
164
+ if (type.indexOf('color') !== -1) {
165
+ values = `${colorSpace} ${values.join(' ')}`;
166
+ } else {
167
+ values = `${values.join(', ')}`;
168
+ }
169
+ return `${type}(${values})`;
170
+ }
171
+
172
+ /**
173
+ * Converts a color from CSS rgb format to CSS hex format.
174
+ * @param {string} color - RGB color, i.e. rgb(n, n, n)
175
+ * @returns {string} A CSS rgb color string, i.e. #nnnnnn
176
+ */
177
+ function rgbToHex(color) {
178
+ // Idempotent
179
+ if (color.indexOf('#') === 0) {
180
+ return color;
181
+ }
182
+ const {
183
+ values
184
+ } = decomposeColor(color);
185
+ return `#${values.map((n, i) => intToHex(i === 3 ? Math.round(255 * n) : n)).join('')}`;
186
+ }
187
+
188
+ /**
189
+ * Converts a color from hsl format to rgb format.
190
+ * @param {string} color - HSL color values
191
+ * @returns {string} rgb color values
192
+ */
193
+ function hslToRgb(color) {
194
+ color = decomposeColor(color);
195
+ const {
196
+ values
197
+ } = color;
198
+ const h = values[0];
199
+ const s = values[1] / 100;
200
+ const l = values[2] / 100;
201
+ const a = s * Math.min(l, 1 - l);
202
+ const f = (n, k = (n + h / 30) % 12) => l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);
203
+ let type = 'rgb';
204
+ const rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];
205
+ if (color.type === 'hsla') {
206
+ type += 'a';
207
+ rgb.push(values[3]);
208
+ }
209
+ return recomposeColor({
210
+ type,
211
+ values: rgb
212
+ });
213
+ }
214
+ /**
215
+ * The relative brightness of any point in a color space,
216
+ * normalized to 0 for darkest black and 1 for lightest white.
217
+ *
218
+ * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
219
+ * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
220
+ * @returns {number} The relative brightness of the color in the range 0 - 1
221
+ */
222
+ function getLuminance(color) {
223
+ color = decomposeColor(color);
224
+ let rgb = color.type === 'hsl' || color.type === 'hsla' ? decomposeColor(hslToRgb(color)).values : color.values;
225
+ rgb = rgb.map(val => {
226
+ if (color.type !== 'color') {
227
+ val /= 255; // normalized
228
+ }
229
+ return val <= 0.03928 ? val / 12.92 : ((val + 0.055) / 1.055) ** 2.4;
230
+ });
231
+
232
+ // Truncate at 3 digits
233
+ return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));
234
+ }
235
+
236
+ /**
237
+ * Calculates the contrast ratio between two colors.
238
+ *
239
+ * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
240
+ * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
241
+ * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
242
+ * @returns {number} A contrast ratio value in the range 0 - 21.
243
+ */
244
+ function getContrastRatio(foreground, background) {
245
+ const lumA = getLuminance(foreground);
246
+ const lumB = getLuminance(background);
247
+ return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);
248
+ }
249
+
250
+ /**
251
+ * Sets the absolute transparency of a color.
252
+ * Any existing alpha values are overwritten.
253
+ * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
254
+ * @param {number} value - value to set the alpha channel to in the range 0 - 1
255
+ * @returns {string} A CSS color string. Hex input values are returned as rgb
256
+ */
257
+ function alpha(color, value) {
258
+ color = decomposeColor(color);
259
+ value = clampWrapper(value);
260
+ if (color.type === 'rgb' || color.type === 'hsl') {
261
+ color.type += 'a';
262
+ }
263
+ if (color.type === 'color') {
264
+ color.values[3] = `/${value}`;
265
+ } else {
266
+ color.values[3] = value;
267
+ }
268
+ return recomposeColor(color);
269
+ }
270
+ function private_safeAlpha(color, value, warning) {
271
+ try {
272
+ return alpha(color, value);
273
+ } catch (error) {
274
+ if (warning && process.env.NODE_ENV !== 'production') {
275
+ console.warn(warning);
276
+ }
277
+ return color;
278
+ }
279
+ }
280
+
281
+ /**
282
+ * Darkens a color.
283
+ * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
284
+ * @param {number} coefficient - multiplier in the range 0 - 1
285
+ * @returns {string} A CSS color string. Hex input values are returned as rgb
286
+ */
287
+ function darken(color, coefficient) {
288
+ color = decomposeColor(color);
289
+ coefficient = clampWrapper(coefficient);
290
+ if (color.type.indexOf('hsl') !== -1) {
291
+ color.values[2] *= 1 - coefficient;
292
+ } else if (color.type.indexOf('rgb') !== -1 || color.type.indexOf('color') !== -1) {
293
+ for (let i = 0; i < 3; i += 1) {
294
+ color.values[i] *= 1 - coefficient;
295
+ }
296
+ }
297
+ return recomposeColor(color);
298
+ }
299
+ function private_safeDarken(color, coefficient, warning) {
300
+ try {
301
+ return darken(color, coefficient);
302
+ } catch (error) {
303
+ if (warning && process.env.NODE_ENV !== 'production') {
304
+ console.warn(warning);
305
+ }
306
+ return color;
307
+ }
308
+ }
309
+
310
+ /**
311
+ * Lightens a color.
312
+ * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
313
+ * @param {number} coefficient - multiplier in the range 0 - 1
314
+ * @returns {string} A CSS color string. Hex input values are returned as rgb
315
+ */
316
+ function lighten(color, coefficient) {
317
+ color = decomposeColor(color);
318
+ coefficient = clampWrapper(coefficient);
319
+ if (color.type.indexOf('hsl') !== -1) {
320
+ color.values[2] += (100 - color.values[2]) * coefficient;
321
+ } else if (color.type.indexOf('rgb') !== -1) {
322
+ for (let i = 0; i < 3; i += 1) {
323
+ color.values[i] += (255 - color.values[i]) * coefficient;
324
+ }
325
+ } else if (color.type.indexOf('color') !== -1) {
326
+ for (let i = 0; i < 3; i += 1) {
327
+ color.values[i] += (1 - color.values[i]) * coefficient;
328
+ }
329
+ }
330
+ return recomposeColor(color);
331
+ }
332
+ function private_safeLighten(color, coefficient, warning) {
333
+ try {
334
+ return lighten(color, coefficient);
335
+ } catch (error) {
336
+ if (warning && process.env.NODE_ENV !== 'production') {
337
+ console.warn(warning);
338
+ }
339
+ return color;
340
+ }
341
+ }
342
+
343
+ /**
344
+ * Darken or lighten a color, depending on its luminance.
345
+ * Light colors are darkened, dark colors are lightened.
346
+ * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
347
+ * @param {number} coefficient=0.15 - multiplier in the range 0 - 1
348
+ * @returns {string} A CSS color string. Hex input values are returned as rgb
349
+ */
350
+ function emphasize(color, coefficient = 0.15) {
351
+ return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);
352
+ }
353
+ function private_safeEmphasize(color, coefficient, warning) {
354
+ try {
355
+ return emphasize(color, coefficient);
356
+ } catch (error) {
357
+ if (warning && process.env.NODE_ENV !== 'production') {
358
+ console.warn(warning);
359
+ }
360
+ return color;
361
+ }
362
+ }
363
+
364
+ /**
365
+ * Blend a transparent overlay color with a background color, resulting in a single
366
+ * RGB color.
367
+ * @param {string} background - CSS color
368
+ * @param {string} overlay - CSS color
369
+ * @param {number} opacity - Opacity multiplier in the range 0 - 1
370
+ * @param {number} [gamma=1.0] - Gamma correction factor. For gamma-correct blending, 2.2 is usual.
371
+ */
372
+ function blend(background, overlay, opacity, gamma = 1.0) {
373
+ const blendChannel = (b, o) => Math.round((b ** (1 / gamma) * (1 - opacity) + o ** (1 / gamma) * opacity) ** gamma);
374
+ const backgroundColor = decomposeColor(background);
375
+ const overlayColor = decomposeColor(overlay);
376
+ const rgb = [blendChannel(backgroundColor.values[0], overlayColor.values[0]), blendChannel(backgroundColor.values[1], overlayColor.values[1]), blendChannel(backgroundColor.values[2], overlayColor.values[2])];
377
+ return recomposeColor({
378
+ type: 'rgb',
379
+ values: rgb
380
+ });
381
+ }
382
+ return colorManipulator;
383
+ }
384
+
385
+ export { requireColorManipulator as __require };
386
+ //# sourceMappingURL=colorManipulator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colorManipulator.js","sources":["../../../../node_modules/@mui/system/colorManipulator.js"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.alpha = alpha;\nexports.blend = blend;\nexports.colorChannel = void 0;\nexports.darken = darken;\nexports.decomposeColor = decomposeColor;\nexports.emphasize = emphasize;\nexports.getContrastRatio = getContrastRatio;\nexports.getLuminance = getLuminance;\nexports.hexToRgb = hexToRgb;\nexports.hslToRgb = hslToRgb;\nexports.lighten = lighten;\nexports.private_safeAlpha = private_safeAlpha;\nexports.private_safeColorChannel = void 0;\nexports.private_safeDarken = private_safeDarken;\nexports.private_safeEmphasize = private_safeEmphasize;\nexports.private_safeLighten = private_safeLighten;\nexports.recomposeColor = recomposeColor;\nexports.rgbToHex = rgbToHex;\nvar _formatMuiErrorMessage2 = _interopRequireDefault(require(\"@mui/utils/formatMuiErrorMessage\"));\nvar _clamp = _interopRequireDefault(require(\"@mui/utils/clamp\"));\n/* eslint-disable @typescript-eslint/naming-convention */\n\n/**\n * Returns a number whose value is limited to the given range.\n * @param {number} value The value to be clamped\n * @param {number} min The lower boundary of the output range\n * @param {number} max The upper boundary of the output range\n * @returns {number} A number in the range [min, max]\n */\nfunction clampWrapper(value, min = 0, max = 1) {\n if (process.env.NODE_ENV !== 'production') {\n if (value < min || value > max) {\n console.error(`MUI: The value provided ${value} is out of range [${min}, ${max}].`);\n }\n }\n return (0, _clamp.default)(value, min, max);\n}\n\n/**\n * Converts a color from CSS hex format to CSS rgb format.\n * @param {string} color - Hex color, i.e. #nnn or #nnnnnn\n * @returns {string} A CSS rgb color string\n */\nfunction hexToRgb(color) {\n color = color.slice(1);\n const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, 'g');\n let colors = color.match(re);\n if (colors && colors[0].length === 1) {\n colors = colors.map(n => n + n);\n }\n return colors ? `rgb${colors.length === 4 ? 'a' : ''}(${colors.map((n, index) => {\n return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;\n }).join(', ')})` : '';\n}\nfunction intToHex(int) {\n const hex = int.toString(16);\n return hex.length === 1 ? `0${hex}` : hex;\n}\n\n/**\n * Returns an object with the type and values of a color.\n *\n * Note: Does not support rgb % values.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {object} - A MUI color object: {type: string, values: number[]}\n */\nfunction decomposeColor(color) {\n // Idempotent\n if (color.type) {\n return color;\n }\n if (color.charAt(0) === '#') {\n return decomposeColor(hexToRgb(color));\n }\n const marker = color.indexOf('(');\n const type = color.substring(0, marker);\n if (['rgb', 'rgba', 'hsl', 'hsla', 'color'].indexOf(type) === -1) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: Unsupported \\`${color}\\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : (0, _formatMuiErrorMessage2.default)(9, color));\n }\n let values = color.substring(marker + 1, color.length - 1);\n let colorSpace;\n if (type === 'color') {\n values = values.split(' ');\n colorSpace = values.shift();\n if (values.length === 4 && values[3].charAt(0) === '/') {\n values[3] = values[3].slice(1);\n }\n if (['srgb', 'display-p3', 'a98-rgb', 'prophoto-rgb', 'rec-2020'].indexOf(colorSpace) === -1) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: unsupported \\`${colorSpace}\\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : (0, _formatMuiErrorMessage2.default)(10, colorSpace));\n }\n } else {\n values = values.split(',');\n }\n values = values.map(value => parseFloat(value));\n return {\n type,\n values,\n colorSpace\n };\n}\n\n/**\n * Returns a channel created from the input color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {string} - The channel for the color, that can be used in rgba or hsla colors\n */\nconst colorChannel = color => {\n const decomposedColor = decomposeColor(color);\n return decomposedColor.values.slice(0, 3).map((val, idx) => decomposedColor.type.indexOf('hsl') !== -1 && idx !== 0 ? `${val}%` : val).join(' ');\n};\nexports.colorChannel = colorChannel;\nconst private_safeColorChannel = (color, warning) => {\n try {\n return colorChannel(color);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n};\n\n/**\n * Converts a color object with type and values to a string.\n * @param {object} color - Decomposed color\n * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla', 'color'\n * @param {array} color.values - [n,n,n] or [n,n,n,n]\n * @returns {string} A CSS color string\n */\nexports.private_safeColorChannel = private_safeColorChannel;\nfunction recomposeColor(color) {\n const {\n type,\n colorSpace\n } = color;\n let {\n values\n } = color;\n if (type.indexOf('rgb') !== -1) {\n // Only convert the first 3 values to int (i.e. not alpha)\n values = values.map((n, i) => i < 3 ? parseInt(n, 10) : n);\n } else if (type.indexOf('hsl') !== -1) {\n values[1] = `${values[1]}%`;\n values[2] = `${values[2]}%`;\n }\n if (type.indexOf('color') !== -1) {\n values = `${colorSpace} ${values.join(' ')}`;\n } else {\n values = `${values.join(', ')}`;\n }\n return `${type}(${values})`;\n}\n\n/**\n * Converts a color from CSS rgb format to CSS hex format.\n * @param {string} color - RGB color, i.e. rgb(n, n, n)\n * @returns {string} A CSS rgb color string, i.e. #nnnnnn\n */\nfunction rgbToHex(color) {\n // Idempotent\n if (color.indexOf('#') === 0) {\n return color;\n }\n const {\n values\n } = decomposeColor(color);\n return `#${values.map((n, i) => intToHex(i === 3 ? Math.round(255 * n) : n)).join('')}`;\n}\n\n/**\n * Converts a color from hsl format to rgb format.\n * @param {string} color - HSL color values\n * @returns {string} rgb color values\n */\nfunction hslToRgb(color) {\n color = decomposeColor(color);\n const {\n values\n } = color;\n const h = values[0];\n const s = values[1] / 100;\n const l = values[2] / 100;\n const a = s * Math.min(l, 1 - l);\n const f = (n, k = (n + h / 30) % 12) => l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n let type = 'rgb';\n const rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];\n if (color.type === 'hsla') {\n type += 'a';\n rgb.push(values[3]);\n }\n return recomposeColor({\n type,\n values: rgb\n });\n}\n/**\n * The relative brightness of any point in a color space,\n * normalized to 0 for darkest black and 1 for lightest white.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {number} The relative brightness of the color in the range 0 - 1\n */\nfunction getLuminance(color) {\n color = decomposeColor(color);\n let rgb = color.type === 'hsl' || color.type === 'hsla' ? decomposeColor(hslToRgb(color)).values : color.values;\n rgb = rgb.map(val => {\n if (color.type !== 'color') {\n val /= 255; // normalized\n }\n return val <= 0.03928 ? val / 12.92 : ((val + 0.055) / 1.055) ** 2.4;\n });\n\n // Truncate at 3 digits\n return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));\n}\n\n/**\n * Calculates the contrast ratio between two colors.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} A contrast ratio value in the range 0 - 21.\n */\nfunction getContrastRatio(foreground, background) {\n const lumA = getLuminance(foreground);\n const lumB = getLuminance(background);\n return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);\n}\n\n/**\n * Sets the absolute transparency of a color.\n * Any existing alpha values are overwritten.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} value - value to set the alpha channel to in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction alpha(color, value) {\n color = decomposeColor(color);\n value = clampWrapper(value);\n if (color.type === 'rgb' || color.type === 'hsl') {\n color.type += 'a';\n }\n if (color.type === 'color') {\n color.values[3] = `/${value}`;\n } else {\n color.values[3] = value;\n }\n return recomposeColor(color);\n}\nfunction private_safeAlpha(color, value, warning) {\n try {\n return alpha(color, value);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darkens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction darken(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] *= 1 - coefficient;\n } else if (color.type.indexOf('rgb') !== -1 || color.type.indexOf('color') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] *= 1 - coefficient;\n }\n }\n return recomposeColor(color);\n}\nfunction private_safeDarken(color, coefficient, warning) {\n try {\n return darken(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Lightens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction lighten(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] += (100 - color.values[2]) * coefficient;\n } else if (color.type.indexOf('rgb') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (255 - color.values[i]) * coefficient;\n }\n } else if (color.type.indexOf('color') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (1 - color.values[i]) * coefficient;\n }\n }\n return recomposeColor(color);\n}\nfunction private_safeLighten(color, coefficient, warning) {\n try {\n return lighten(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darken or lighten a color, depending on its luminance.\n * Light colors are darkened, dark colors are lightened.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient=0.15 - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction emphasize(color, coefficient = 0.15) {\n return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);\n}\nfunction private_safeEmphasize(color, coefficient, warning) {\n try {\n return emphasize(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Blend a transparent overlay color with a background color, resulting in a single\n * RGB color.\n * @param {string} background - CSS color\n * @param {string} overlay - CSS color\n * @param {number} opacity - Opacity multiplier in the range 0 - 1\n * @param {number} [gamma=1.0] - Gamma correction factor. For gamma-correct blending, 2.2 is usual.\n */\nfunction blend(background, overlay, opacity, gamma = 1.0) {\n const blendChannel = (b, o) => Math.round((b ** (1 / gamma) * (1 - opacity) + o ** (1 / gamma) * opacity) ** gamma);\n const backgroundColor = decomposeColor(background);\n const overlayColor = decomposeColor(overlay);\n const rgb = [blendChannel(backgroundColor.values[0], overlayColor.values[0]), blendChannel(backgroundColor.values[1], overlayColor.values[1]), blendChannel(backgroundColor.values[2], overlayColor.values[2])];\n return recomposeColor({\n type: 'rgb',\n values: rgb\n });\n}"],"names":["require$$0"],"mappings":";;;;;;;;;;;CAEA,IAAI,sBAAsB,GAAGA,4BAAA,EAAuD;AACpF,CAAA,MAAM,CAAC,cAAc,CAAC,gBAAO,EAAE,YAAY,EAAE;AAC7C,GAAE,KAAK,EAAE;AACT,EAAC,CAAC;AACF,CAAA,gBAAA,CAAA,KAAa,GAAG,KAAK;AACrB,CAAA,gBAAA,CAAA,KAAa,GAAG,KAAK;AACrB,CAAA,gBAAA,CAAA,YAAoB,GAAG,MAAM;AAC7B,CAAA,gBAAA,CAAA,MAAc,GAAG,MAAM;AACvB,CAAA,gBAAA,CAAA,cAAsB,GAAG,cAAc;AACvC,CAAA,gBAAA,CAAA,SAAiB,GAAG,SAAS;AAC7B,CAAA,gBAAA,CAAA,gBAAwB,GAAG,gBAAgB;AAC3C,CAAA,gBAAA,CAAA,YAAoB,GAAG,YAAY;AACnC,CAAA,gBAAA,CAAA,QAAgB,GAAG,QAAQ;AAC3B,CAAA,gBAAA,CAAA,QAAgB,GAAG,QAAQ;AAC3B,CAAA,gBAAA,CAAA,OAAe,GAAG,OAAO;AACzB,CAAA,gBAAA,CAAA,iBAAyB,GAAG,iBAAiB;AAC7C,CAAA,gBAAA,CAAA,wBAAgC,GAAG,MAAM;AACzC,CAAA,gBAAA,CAAA,kBAA0B,GAAG,kBAAkB;AAC/C,CAAA,gBAAA,CAAA,qBAA6B,GAAG,qBAAqB;AACrD,CAAA,gBAAA,CAAA,mBAA2B,GAAG,mBAAmB;AACjD,CAAA,gBAAA,CAAA,cAAsB,GAAG,cAAc;AACvC,CAAA,gBAAA,CAAA,QAAgB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,CAAA;;;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,52 @@
1
+ import responsivePropType from './responsivePropType.js';
2
+ import style from './style.js';
3
+ import compose from './compose.js';
4
+ import { createUnaryUnit, getValue } from './spacing.js';
5
+ import { handleBreakpoints } from './breakpoints.js';
6
+
7
+ function borderTransform(value) {
8
+ if (typeof value !== 'number') {
9
+ return value;
10
+ }
11
+ return `${value}px solid`;
12
+ }
13
+ function createBorderStyle(prop, transform) {
14
+ return style({
15
+ prop,
16
+ themeKey: 'borders',
17
+ transform
18
+ });
19
+ }
20
+ const border = createBorderStyle('border', borderTransform);
21
+ const borderTop = createBorderStyle('borderTop', borderTransform);
22
+ const borderRight = createBorderStyle('borderRight', borderTransform);
23
+ const borderBottom = createBorderStyle('borderBottom', borderTransform);
24
+ const borderLeft = createBorderStyle('borderLeft', borderTransform);
25
+ const borderColor = createBorderStyle('borderColor');
26
+ const borderTopColor = createBorderStyle('borderTopColor');
27
+ const borderRightColor = createBorderStyle('borderRightColor');
28
+ const borderBottomColor = createBorderStyle('borderBottomColor');
29
+ const borderLeftColor = createBorderStyle('borderLeftColor');
30
+ const outline = createBorderStyle('outline', borderTransform);
31
+ const outlineColor = createBorderStyle('outlineColor');
32
+
33
+ // false positive
34
+ // eslint-disable-next-line react/function-component-definition
35
+ const borderRadius = props => {
36
+ if (props.borderRadius !== undefined && props.borderRadius !== null) {
37
+ const transformer = createUnaryUnit(props.theme, 'shape.borderRadius', 4, 'borderRadius');
38
+ const styleFromPropValue = propValue => ({
39
+ borderRadius: getValue(transformer, propValue)
40
+ });
41
+ return handleBreakpoints(props, props.borderRadius, styleFromPropValue);
42
+ }
43
+ return null;
44
+ };
45
+ borderRadius.propTypes = process.env.NODE_ENV !== 'production' ? {
46
+ borderRadius: responsivePropType
47
+ } : {};
48
+ borderRadius.filterProps = ['borderRadius'];
49
+ compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius, outline, outlineColor);
50
+
51
+ export { border, borderBottom, borderBottomColor, borderColor, borderLeft, borderLeftColor, borderRadius, borderRight, borderRightColor, borderTop, borderTopColor, borderTransform, outline, outlineColor };
52
+ //# sourceMappingURL=borders.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"borders.js","sources":["../../../../../node_modules/@mui/system/esm/borders.js"],"sourcesContent":["import responsivePropType from './responsivePropType';\nimport style from './style';\nimport compose from './compose';\nimport { createUnaryUnit, getValue } from './spacing';\nimport { handleBreakpoints } from './breakpoints';\nexport function borderTransform(value) {\n if (typeof value !== 'number') {\n return value;\n }\n return `${value}px solid`;\n}\nfunction createBorderStyle(prop, transform) {\n return style({\n prop,\n themeKey: 'borders',\n transform\n });\n}\nexport const border = createBorderStyle('border', borderTransform);\nexport const borderTop = createBorderStyle('borderTop', borderTransform);\nexport const borderRight = createBorderStyle('borderRight', borderTransform);\nexport const borderBottom = createBorderStyle('borderBottom', borderTransform);\nexport const borderLeft = createBorderStyle('borderLeft', borderTransform);\nexport const borderColor = createBorderStyle('borderColor');\nexport const borderTopColor = createBorderStyle('borderTopColor');\nexport const borderRightColor = createBorderStyle('borderRightColor');\nexport const borderBottomColor = createBorderStyle('borderBottomColor');\nexport const borderLeftColor = createBorderStyle('borderLeftColor');\nexport const outline = createBorderStyle('outline', borderTransform);\nexport const outlineColor = createBorderStyle('outlineColor');\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const borderRadius = props => {\n if (props.borderRadius !== undefined && props.borderRadius !== null) {\n const transformer = createUnaryUnit(props.theme, 'shape.borderRadius', 4, 'borderRadius');\n const styleFromPropValue = propValue => ({\n borderRadius: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.borderRadius, styleFromPropValue);\n }\n return null;\n};\nborderRadius.propTypes = process.env.NODE_ENV !== 'production' ? {\n borderRadius: responsivePropType\n} : {};\nborderRadius.filterProps = ['borderRadius'];\nconst borders = compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius, outline, outlineColor);\nexport default borders;"],"names":[],"mappings":";;;;;;AAKO,SAAS,eAAe,CAAC,KAAK,EAAE;AACvC,EAAE,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AACjC,IAAI,OAAO,KAAK;AAChB,EAAE;AACF,EAAE,OAAO,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC;AAC3B;AACA,SAAS,iBAAiB,CAAC,IAAI,EAAE,SAAS,EAAE;AAC5C,EAAE,OAAO,KAAK,CAAC;AACf,IAAI,IAAI;AACR,IAAI,QAAQ,EAAE,SAAS;AACvB,IAAI;AACJ,GAAG,CAAC;AACJ;AACY,MAAC,MAAM,GAAG,iBAAiB,CAAC,QAAQ,EAAE,eAAe;AACrD,MAAC,SAAS,GAAG,iBAAiB,CAAC,WAAW,EAAE,eAAe;AAC3D,MAAC,WAAW,GAAG,iBAAiB,CAAC,aAAa,EAAE,eAAe;AAC/D,MAAC,YAAY,GAAG,iBAAiB,CAAC,cAAc,EAAE,eAAe;AACjE,MAAC,UAAU,GAAG,iBAAiB,CAAC,YAAY,EAAE,eAAe;AAC7D,MAAC,WAAW,GAAG,iBAAiB,CAAC,aAAa;AAC9C,MAAC,cAAc,GAAG,iBAAiB,CAAC,gBAAgB;AACpD,MAAC,gBAAgB,GAAG,iBAAiB,CAAC,kBAAkB;AACxD,MAAC,iBAAiB,GAAG,iBAAiB,CAAC,mBAAmB;AAC1D,MAAC,eAAe,GAAG,iBAAiB,CAAC,iBAAiB;AACtD,MAAC,OAAO,GAAG,iBAAiB,CAAC,SAAS,EAAE,eAAe;AACvD,MAAC,YAAY,GAAG,iBAAiB,CAAC,cAAc;;AAE5D;AACA;AACY,MAAC,YAAY,GAAG,KAAK,IAAI;AACrC,EAAE,IAAI,KAAK,CAAC,YAAY,KAAK,SAAS,IAAI,KAAK,CAAC,YAAY,KAAK,IAAI,EAAE;AACvE,IAAI,MAAM,WAAW,GAAG,eAAe,CAA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