@admin-layout/client 5.0.1-alpha.0 → 6.0.4-alpha.0

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 (269) hide show
  1. package/lib/colors/Color.d.ts +1 -0
  2. package/lib/colors/Color.d.ts.map +1 -0
  3. package/lib/colors/index.d.ts +1 -0
  4. package/lib/colors/index.d.ts.map +1 -0
  5. package/lib/colors/presets/black.d.ts +1 -0
  6. package/lib/colors/presets/black.d.ts.map +1 -0
  7. package/lib/colors/presets/black.js +2 -3
  8. package/lib/colors/presets/black.js.map +1 -1
  9. package/lib/colors/presets/blue.d.ts +1 -0
  10. package/lib/colors/presets/blue.d.ts.map +1 -0
  11. package/lib/colors/presets/blue.js +2 -3
  12. package/lib/colors/presets/blue.js.map +1 -1
  13. package/lib/colors/presets/brinkPink.d.ts +1 -0
  14. package/lib/colors/presets/brinkPink.d.ts.map +1 -0
  15. package/lib/colors/presets/cyan.d.ts +1 -0
  16. package/lib/colors/presets/cyan.d.ts.map +1 -0
  17. package/lib/colors/presets/green.d.ts +1 -0
  18. package/lib/colors/presets/green.d.ts.map +1 -0
  19. package/lib/colors/presets/green.js +2 -3
  20. package/lib/colors/presets/green.js.map +1 -1
  21. package/lib/colors/presets/index.d.ts +1 -0
  22. package/lib/colors/presets/index.d.ts.map +1 -0
  23. package/lib/colors/presets/lime.d.ts +1 -0
  24. package/lib/colors/presets/lime.d.ts.map +1 -0
  25. package/lib/colors/presets/orange.d.ts +1 -0
  26. package/lib/colors/presets/orange.d.ts.map +1 -0
  27. package/lib/colors/presets/orange.js +2 -3
  28. package/lib/colors/presets/orange.js.map +1 -1
  29. package/lib/colors/presets/pink.d.ts +1 -0
  30. package/lib/colors/presets/pink.d.ts.map +1 -0
  31. package/lib/colors/presets/purple.d.ts +1 -0
  32. package/lib/colors/presets/purple.d.ts.map +1 -0
  33. package/lib/colors/presets/red.d.ts +1 -0
  34. package/lib/colors/presets/red.d.ts.map +1 -0
  35. package/lib/colors/presets/red.js +2 -3
  36. package/lib/colors/presets/red.js.map +1 -1
  37. package/lib/colors/presets/skyBlue.d.ts +1 -0
  38. package/lib/colors/presets/skyBlue.d.ts.map +1 -0
  39. package/lib/colors/presets/turquoise.d.ts +1 -0
  40. package/lib/colors/presets/turquoise.d.ts.map +1 -0
  41. package/lib/colors/presets/white.d.ts +1 -0
  42. package/lib/colors/presets/white.d.ts.map +1 -0
  43. package/lib/colors/presets/white.js +2 -3
  44. package/lib/colors/presets/white.js.map +1 -1
  45. package/lib/colors/presets/yellow.d.ts +1 -0
  46. package/lib/colors/presets/yellow.d.ts.map +1 -0
  47. package/lib/colors/presets/yellow.js +2 -3
  48. package/lib/colors/presets/yellow.js.map +1 -1
  49. package/lib/components/ApplicationErrorFillWrapper.d.ts +1 -0
  50. package/lib/components/ApplicationErrorFillWrapper.d.ts.map +1 -0
  51. package/lib/components/ApplicationErrorFillWrapper.js +3 -7
  52. package/lib/components/ApplicationErrorFillWrapper.js.map +1 -1
  53. package/lib/components/ApplicationErrorHandlerCommon.d.ts +1 -0
  54. package/lib/components/ApplicationErrorHandlerCommon.d.ts.map +1 -0
  55. package/lib/components/ApplicationErrorHandlerCommon.js +11 -18
  56. package/lib/components/ApplicationErrorHandlerCommon.js.map +1 -1
  57. package/lib/components/ErrorBoundaryCommon.d.ts +1 -0
  58. package/lib/components/ErrorBoundaryCommon.d.ts.map +1 -0
  59. package/lib/components/ErrorBoundaryCommon.js +3 -6
  60. package/lib/components/ErrorBoundaryCommon.js.map +1 -1
  61. package/lib/components/__tests__/ApplicationErrorHandlerCommon.test.d.ts +1 -0
  62. package/lib/components/__tests__/ApplicationErrorHandlerCommon.test.d.ts.map +1 -0
  63. package/lib/components/index.d.ts +1 -0
  64. package/lib/components/index.d.ts.map +1 -0
  65. package/lib/config/defaultSettings.d.ts +1 -0
  66. package/lib/config/defaultSettings.d.ts.map +1 -0
  67. package/lib/config/defaultSettings.js +2 -3
  68. package/lib/config/defaultSettings.js.map +1 -1
  69. package/lib/config/env-config.d.ts +1 -0
  70. package/lib/config/env-config.d.ts.map +1 -0
  71. package/lib/config/env-config.js +3 -7
  72. package/lib/config/env-config.js.map +1 -1
  73. package/lib/config/index.d.ts +1 -0
  74. package/lib/config/index.d.ts.map +1 -0
  75. package/lib/constants/constants.d.ts +1 -0
  76. package/lib/constants/constants.d.ts.map +1 -0
  77. package/lib/constants/constants.js +3 -4
  78. package/lib/constants/constants.js.map +1 -1
  79. package/lib/constants/error.d.ts +1 -0
  80. package/lib/constants/error.d.ts.map +1 -0
  81. package/lib/constants/error.js +5 -6
  82. package/lib/constants/error.js.map +1 -1
  83. package/lib/constants/index.d.ts +1 -0
  84. package/lib/constants/index.d.ts.map +1 -0
  85. package/lib/graphql/index.d.ts +1 -0
  86. package/lib/graphql/index.d.ts.map +1 -0
  87. package/lib/graphql/link/error-link.d.ts +2 -1
  88. package/lib/graphql/link/error-link.d.ts.map +1 -0
  89. package/lib/graphql/link/error-link.js +9 -15
  90. package/lib/graphql/link/error-link.js.map +1 -1
  91. package/lib/graphql/link/index.d.ts +1 -0
  92. package/lib/graphql/link/index.d.ts.map +1 -0
  93. package/lib/index.d.ts +1 -0
  94. package/lib/index.d.ts.map +1 -0
  95. package/lib/index.js +1 -8
  96. package/lib/index.js.map +1 -1
  97. package/lib/index.native.d.ts +1 -0
  98. package/lib/index.native.d.ts.map +1 -0
  99. package/lib/index.native.js +1 -8
  100. package/lib/index.native.js.map +1 -1
  101. package/lib/interfaces/default-settings.d.ts +1 -0
  102. package/lib/interfaces/default-settings.d.ts.map +1 -0
  103. package/lib/interfaces/error-state.d.ts +1 -0
  104. package/lib/interfaces/error-state.d.ts.map +1 -0
  105. package/lib/interfaces/index.d.ts +1 -0
  106. package/lib/interfaces/index.d.ts.map +1 -0
  107. package/lib/interfaces/layout/base-menu.d.ts +1 -0
  108. package/lib/interfaces/layout/base-menu.d.ts.map +1 -0
  109. package/lib/interfaces/layout/basic-layout.d.ts +1 -0
  110. package/lib/interfaces/layout/basic-layout.d.ts.map +1 -0
  111. package/lib/interfaces/layout/breadcrum.d.ts +1 -0
  112. package/lib/interfaces/layout/breadcrum.d.ts.map +1 -0
  113. package/lib/interfaces/layout/global-footer.d.ts +1 -0
  114. package/lib/interfaces/layout/global-footer.d.ts.map +1 -0
  115. package/lib/interfaces/layout/global-header.d.ts +1 -0
  116. package/lib/interfaces/layout/global-header.d.ts.map +1 -0
  117. package/lib/interfaces/layout/index.d.ts +1 -0
  118. package/lib/interfaces/layout/index.d.ts.map +1 -0
  119. package/lib/interfaces/layout/menu.d.ts +1 -0
  120. package/lib/interfaces/layout/menu.d.ts.map +1 -0
  121. package/lib/interfaces/layout/page.d.ts +1 -0
  122. package/lib/interfaces/layout/page.d.ts.map +1 -0
  123. package/lib/interfaces/layout/sider-menu.d.ts +1 -0
  124. package/lib/interfaces/layout/sider-menu.d.ts.map +1 -0
  125. package/lib/interfaces/pure-settings.d.ts +1 -0
  126. package/lib/interfaces/pure-settings.d.ts.map +1 -0
  127. package/lib/interfaces/typings.d.ts +1 -0
  128. package/lib/interfaces/typings.d.ts.map +1 -0
  129. package/lib/redux/actions/error-actions.d.ts +1 -0
  130. package/lib/redux/actions/error-actions.d.ts.map +1 -0
  131. package/lib/redux/actions/error-actions.js +4 -6
  132. package/lib/redux/actions/error-actions.js.map +1 -1
  133. package/lib/redux/actions/index.d.ts +1 -0
  134. package/lib/redux/actions/index.d.ts.map +1 -0
  135. package/lib/redux/actions/settings-action.d.ts +1 -0
  136. package/lib/redux/actions/settings-action.d.ts.map +1 -0
  137. package/lib/redux/index.d.ts +1 -0
  138. package/lib/redux/index.d.ts.map +1 -0
  139. package/lib/redux/reducers/error.d.ts +1 -0
  140. package/lib/redux/reducers/error.d.ts.map +1 -0
  141. package/lib/redux/reducers/error.js +6 -8
  142. package/lib/redux/reducers/error.js.map +1 -1
  143. package/lib/redux/reducers/index.d.ts +1 -0
  144. package/lib/redux/reducers/index.d.ts.map +1 -0
  145. package/lib/redux/selectors/index.d.ts +2 -1
  146. package/lib/redux/selectors/index.d.ts.map +1 -0
  147. package/lib/redux/selectors/index.js +1 -4
  148. package/lib/redux/selectors/index.js.map +1 -1
  149. package/lib/redux/settings.d.ts +20 -19
  150. package/lib/redux/settings.d.ts.map +1 -0
  151. package/lib/redux/settings.js +10 -9
  152. package/lib/redux/settings.js.map +1 -1
  153. package/lib/themes/LayoutTheme.d.ts +1 -0
  154. package/lib/themes/LayoutTheme.d.ts.map +1 -0
  155. package/lib/themes/TextStyle.d.ts +1 -0
  156. package/lib/themes/TextStyle.d.ts.map +1 -0
  157. package/lib/themes/index.d.ts +1 -0
  158. package/lib/themes/index.d.ts.map +1 -0
  159. package/lib/themes/systemFont/index.d.ts +1 -0
  160. package/lib/themes/systemFont/index.d.ts.map +1 -0
  161. package/lib/themes/systemFont/index.js +1 -2
  162. package/lib/themes/systemFont/index.js.map +1 -1
  163. package/lib/themes/systemFont/index.native.d.ts +2 -1
  164. package/lib/themes/systemFont/index.native.d.ts.map +1 -0
  165. package/lib/themes/templates/createLayoutTheme.d.ts +1 -0
  166. package/lib/themes/templates/createLayoutTheme.d.ts.map +1 -0
  167. package/lib/themes/templates/createLayoutTheme.js +2 -4
  168. package/lib/themes/templates/createLayoutTheme.js.map +1 -1
  169. package/lib/themes/templates/darkLayoutTheme.d.ts +1 -0
  170. package/lib/themes/templates/darkLayoutTheme.d.ts.map +1 -0
  171. package/lib/themes/templates/darkLayoutTheme.js +16 -11
  172. package/lib/themes/templates/darkLayoutTheme.js.map +1 -1
  173. package/lib/themes/templates/index.d.ts +1 -0
  174. package/lib/themes/templates/index.d.ts.map +1 -0
  175. package/lib/themes/templates/lightLayoutTheme.d.ts +1 -0
  176. package/lib/themes/templates/lightLayoutTheme.d.ts.map +1 -0
  177. package/lib/themes/templates/lightLayoutTheme.js +10 -13
  178. package/lib/themes/templates/lightLayoutTheme.js.map +1 -1
  179. package/lib/utils/componentSize.d.ts +2 -1
  180. package/lib/utils/componentSize.d.ts.map +1 -0
  181. package/lib/utils/componentSize.js +4 -7
  182. package/lib/utils/componentSize.js.map +1 -1
  183. package/lib/utils/index.d.ts +1 -0
  184. package/lib/utils/index.d.ts.map +1 -0
  185. package/lib/utils/seperatedMenus.d.ts +1 -0
  186. package/lib/utils/seperatedMenus.d.ts.map +1 -0
  187. package/lib/utils/seperatedMenus.js +2 -3
  188. package/lib/utils/seperatedMenus.js.map +1 -1
  189. package/package.json +5 -3
  190. package/lib/colors/Color.js +0 -2
  191. package/lib/colors/Color.js.map +0 -1
  192. package/lib/colors/index.js +0 -3
  193. package/lib/colors/index.js.map +0 -1
  194. package/lib/colors/presets/brinkPink.js +0 -12
  195. package/lib/colors/presets/brinkPink.js.map +0 -1
  196. package/lib/colors/presets/cyan.js +0 -12
  197. package/lib/colors/presets/cyan.js.map +0 -1
  198. package/lib/colors/presets/index.js +0 -15
  199. package/lib/colors/presets/index.js.map +0 -1
  200. package/lib/colors/presets/lime.js +0 -12
  201. package/lib/colors/presets/lime.js.map +0 -1
  202. package/lib/colors/presets/pink.js +0 -12
  203. package/lib/colors/presets/pink.js.map +0 -1
  204. package/lib/colors/presets/purple.js +0 -12
  205. package/lib/colors/presets/purple.js.map +0 -1
  206. package/lib/colors/presets/skyBlue.js +0 -12
  207. package/lib/colors/presets/skyBlue.js.map +0 -1
  208. package/lib/colors/presets/turquoise.js +0 -12
  209. package/lib/colors/presets/turquoise.js.map +0 -1
  210. package/lib/components/__tests__/ApplicationErrorHandlerCommon.test.js +0 -83
  211. package/lib/components/__tests__/ApplicationErrorHandlerCommon.test.js.map +0 -1
  212. package/lib/components/index.js +0 -4
  213. package/lib/components/index.js.map +0 -1
  214. package/lib/config/index.js +0 -2
  215. package/lib/config/index.js.map +0 -1
  216. package/lib/constants/index.js +0 -3
  217. package/lib/constants/index.js.map +0 -1
  218. package/lib/graphql/index.js +0 -2
  219. package/lib/graphql/index.js.map +0 -1
  220. package/lib/graphql/link/index.js +0 -2
  221. package/lib/graphql/link/index.js.map +0 -1
  222. package/lib/interfaces/default-settings.js +0 -2
  223. package/lib/interfaces/default-settings.js.map +0 -1
  224. package/lib/interfaces/error-state.js +0 -2
  225. package/lib/interfaces/error-state.js.map +0 -1
  226. package/lib/interfaces/index.js +0 -7
  227. package/lib/interfaces/index.js.map +0 -1
  228. package/lib/interfaces/layout/base-menu.js +0 -2
  229. package/lib/interfaces/layout/base-menu.js.map +0 -1
  230. package/lib/interfaces/layout/basic-layout.js +0 -2
  231. package/lib/interfaces/layout/basic-layout.js.map +0 -1
  232. package/lib/interfaces/layout/breadcrum.js +0 -2
  233. package/lib/interfaces/layout/breadcrum.js.map +0 -1
  234. package/lib/interfaces/layout/global-footer.js +0 -2
  235. package/lib/interfaces/layout/global-footer.js.map +0 -1
  236. package/lib/interfaces/layout/global-header.js +0 -2
  237. package/lib/interfaces/layout/global-header.js.map +0 -1
  238. package/lib/interfaces/layout/index.js +0 -9
  239. package/lib/interfaces/layout/index.js.map +0 -1
  240. package/lib/interfaces/layout/menu.js +0 -2
  241. package/lib/interfaces/layout/menu.js.map +0 -1
  242. package/lib/interfaces/layout/page.js +0 -2
  243. package/lib/interfaces/layout/page.js.map +0 -1
  244. package/lib/interfaces/layout/sider-menu.js +0 -2
  245. package/lib/interfaces/layout/sider-menu.js.map +0 -1
  246. package/lib/interfaces/pure-settings.js +0 -2
  247. package/lib/interfaces/pure-settings.js.map +0 -1
  248. package/lib/interfaces/typings.js +0 -2
  249. package/lib/interfaces/typings.js.map +0 -1
  250. package/lib/redux/actions/index.js +0 -3
  251. package/lib/redux/actions/index.js.map +0 -1
  252. package/lib/redux/actions/settings-action.js +0 -2
  253. package/lib/redux/actions/settings-action.js.map +0 -1
  254. package/lib/redux/index.js +0 -4
  255. package/lib/redux/index.js.map +0 -1
  256. package/lib/redux/reducers/index.js +0 -2
  257. package/lib/redux/reducers/index.js.map +0 -1
  258. package/lib/themes/LayoutTheme.js +0 -2
  259. package/lib/themes/LayoutTheme.js.map +0 -1
  260. package/lib/themes/TextStyle.js +0 -2
  261. package/lib/themes/TextStyle.js.map +0 -1
  262. package/lib/themes/index.js +0 -5
  263. package/lib/themes/index.js.map +0 -1
  264. package/lib/themes/systemFont/index.native.js +0 -2
  265. package/lib/themes/systemFont/index.native.js.map +0 -1
  266. package/lib/themes/templates/index.js +0 -4
  267. package/lib/themes/templates/index.js.map +0 -1
  268. package/lib/utils/index.js +0 -3
  269. package/lib/utils/index.js.map +0 -1
@@ -9,3 +9,4 @@ export interface Color {
9
9
  base800: string;
10
10
  base900: string;
11
11
  }
12
+ //# sourceMappingURL=Color.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Color.d.ts","sourceRoot":"","sources":["../../src/colors/Color.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACnB"}
@@ -1,2 +1,3 @@
1
1
  export * from './Color';
2
2
  export * from './presets';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/colors/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC"}
@@ -1,2 +1,3 @@
1
1
  import { Color } from '../Color';
2
2
  export declare const black: Color;
3
+ //# sourceMappingURL=black.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"black.d.ts","sourceRoot":"","sources":["../../../src/colors/presets/black.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,eAAO,MAAM,KAAK,EAAE,KAUnB,CAAC"}
@@ -1,4 +1,4 @@
1
- export const black = {
1
+ const black = {
2
2
  base100: '#000',
3
3
  base200: '#565e76',
4
4
  base300: '#2b2f3b',
@@ -8,5 +8,4 @@ export const black = {
8
8
  base700: '#FFF',
9
9
  base800: '#000',
10
10
  base900: '#FFF'
11
- };
12
- //# sourceMappingURL=black.js.map
11
+ };export{black};//# sourceMappingURL=black.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"black.js","sourceRoot":"","sources":["../../../src/colors/presets/black.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,KAAK,GAAU;IACxB,OAAO,EAAE,MAAM;IACf,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,MAAM;IACf,OAAO,EAAE,MAAM;IACf,OAAO,EAAE,MAAM;IACf,OAAO,EAAE,MAAM;CAClB,CAAC"}
1
+ {"version":3,"file":"black.js","sources":["../../../src/colors/presets/black.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAS,MAAA,KAAO,GAAA;AAEhB,IAAA,OAAA,EAAA,MAAa;;;;;;;;;"}
@@ -1,2 +1,3 @@
1
1
  import { Color } from '../Color';
2
2
  export declare const blue: Color;
3
+ //# sourceMappingURL=blue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blue.d.ts","sourceRoot":"","sources":["../../../src/colors/presets/blue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,eAAO,MAAM,IAAI,EAAE,KAUlB,CAAC"}
@@ -1,4 +1,4 @@
1
- export const blue = {
1
+ const blue = {
2
2
  base100: '#CEEDFD',
3
3
  base200: '#9ED7FC',
4
4
  base300: '#6DBAF7',
@@ -8,5 +8,4 @@ export const blue = {
8
8
  base700: '#0842A5',
9
9
  base800: '#052E85',
10
10
  base900: '#03216E'
11
- };
12
- //# sourceMappingURL=blue.js.map
11
+ };export{blue};//# sourceMappingURL=blue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"blue.js","sourceRoot":"","sources":["../../../src/colors/presets/blue.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,IAAI,GAAU;IACvB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACrB,CAAC"}
1
+ {"version":3,"file":"blue.js","sources":["../../../src/colors/presets/blue.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAS,MAAA,IAAO,GAAA;AAEhB,IAAA,OAAA,EAAA,SAAa;;;;;;;;;"}
@@ -1,2 +1,3 @@
1
1
  import { Color } from '../Color';
2
2
  export declare const brinkPink: Color;
3
+ //# sourceMappingURL=brinkPink.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"brinkPink.d.ts","sourceRoot":"","sources":["../../../src/colors/presets/brinkPink.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,eAAO,MAAM,SAAS,EAAE,KAUvB,CAAC"}
@@ -1,2 +1,3 @@
1
1
  import { Color } from '../Color';
2
2
  export declare const cyan: Color;
3
+ //# sourceMappingURL=cyan.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cyan.d.ts","sourceRoot":"","sources":["../../../src/colors/presets/cyan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,eAAO,MAAM,IAAI,EAAE,KAUlB,CAAC"}
@@ -1,2 +1,3 @@
1
1
  import { Color } from '../Color';
2
2
  export declare const green: Color;
3
+ //# sourceMappingURL=green.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"green.d.ts","sourceRoot":"","sources":["../../../src/colors/presets/green.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,eAAO,MAAM,KAAK,EAAE,KAUnB,CAAC"}
@@ -1,4 +1,4 @@
1
- export const green = {
1
+ const green = {
2
2
  base100: '#DAFCD0',
3
3
  base200: '#ADF9A3',
4
4
  base300: '#76EE73',
@@ -8,5 +8,4 @@ export const green = {
8
8
  base700: '#0E8F3B',
9
9
  base800: '#087338',
10
10
  base900: '#055F35'
11
- };
12
- //# sourceMappingURL=green.js.map
11
+ };export{green};//# sourceMappingURL=green.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"green.js","sourceRoot":"","sources":["../../../src/colors/presets/green.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,KAAK,GAAU;IACxB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACrB,CAAC"}
1
+ {"version":3,"file":"green.js","sources":["../../../src/colors/presets/green.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAS,MAAA,KAAO,GAAA;AAEhB,IAAA,OAAA,EAAA,SAAa;;;;;;;;;"}
@@ -12,3 +12,4 @@ export * from './turquoise';
12
12
  export * from './yellow';
13
13
  export * from './white';
14
14
  export * from './black';
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/colors/presets/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
@@ -1,2 +1,3 @@
1
1
  import { Color } from '../Color';
2
2
  export declare const lime: Color;
3
+ //# sourceMappingURL=lime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lime.d.ts","sourceRoot":"","sources":["../../../src/colors/presets/lime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,eAAO,MAAM,IAAI,EAAE,KAUlB,CAAC"}
@@ -1,2 +1,3 @@
1
1
  import { Color } from '../Color';
2
2
  export declare const orange: Color;
3
+ //# sourceMappingURL=orange.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"orange.d.ts","sourceRoot":"","sources":["../../../src/colors/presets/orange.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,eAAO,MAAM,MAAM,EAAE,KAUpB,CAAC"}
@@ -1,4 +1,4 @@
1
- export const orange = {
1
+ const orange = {
2
2
  base100: '#FEEED4',
3
3
  base200: '#FDD8AA',
4
4
  base300: '#FABB7F',
@@ -8,5 +8,4 @@ export const orange = {
8
8
  base700: '#AC3A15',
9
9
  base800: '#8B240D',
10
10
  base900: '#731408'
11
- };
12
- //# sourceMappingURL=orange.js.map
11
+ };export{orange};//# sourceMappingURL=orange.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"orange.js","sourceRoot":"","sources":["../../../src/colors/presets/orange.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,MAAM,GAAU;IACzB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACrB,CAAC"}
1
+ {"version":3,"file":"orange.js","sources":["../../../src/colors/presets/orange.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAS,MAAA,MAAO,GAAM;AAEtB,IAAA,OAAA,EAAA,SAAa;;;;;;;;;"}
@@ -1,2 +1,3 @@
1
1
  import { Color } from '../Color';
2
2
  export declare const pink: Color;
3
+ //# sourceMappingURL=pink.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pink.d.ts","sourceRoot":"","sources":["../../../src/colors/presets/pink.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,eAAO,MAAM,IAAI,EAAE,KAUlB,CAAC"}
@@ -1,2 +1,3 @@
1
1
  import { Color } from '../Color';
2
2
  export declare const purple: Color;
3
+ //# sourceMappingURL=purple.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"purple.d.ts","sourceRoot":"","sources":["../../../src/colors/presets/purple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,eAAO,MAAM,MAAM,EAAE,KAUpB,CAAC"}
@@ -1,2 +1,3 @@
1
1
  import { Color } from '../Color';
2
2
  export declare const red: Color;
3
+ //# sourceMappingURL=red.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"red.d.ts","sourceRoot":"","sources":["../../../src/colors/presets/red.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,eAAO,MAAM,GAAG,EAAE,KAUjB,CAAC"}
@@ -1,4 +1,4 @@
1
- export const red = {
1
+ const red = {
2
2
  base100: '#FDE3D5',
3
3
  base200: '#FCC1AB',
4
4
  base300: '#F79780',
@@ -8,5 +8,4 @@ export const red = {
8
8
  base700: '#A5172D',
9
9
  base800: '#850E2B',
10
10
  base900: '#6E082A'
11
- };
12
- //# sourceMappingURL=red.js.map
11
+ };export{red};//# sourceMappingURL=red.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"red.js","sourceRoot":"","sources":["../../../src/colors/presets/red.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,GAAG,GAAU;IACtB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACrB,CAAC"}
1
+ {"version":3,"file":"red.js","sources":["../../../src/colors/presets/red.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAS,MAAA,GAAO,GAAA;AAEhB,IAAA,OAAA,EAAA,SAAa;;;;;;;;;"}
@@ -1,2 +1,3 @@
1
1
  import { Color } from '../Color';
2
2
  export declare const skyBlue: Color;
3
+ //# sourceMappingURL=skyBlue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skyBlue.d.ts","sourceRoot":"","sources":["../../../src/colors/presets/skyBlue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,eAAO,MAAM,OAAO,EAAE,KAUrB,CAAC"}
@@ -1,2 +1,3 @@
1
1
  import { Color } from '../Color';
2
2
  export declare const turquoise: Color;
3
+ //# sourceMappingURL=turquoise.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"turquoise.d.ts","sourceRoot":"","sources":["../../../src/colors/presets/turquoise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,eAAO,MAAM,SAAS,EAAE,KAUvB,CAAC"}
@@ -1,2 +1,3 @@
1
1
  import { Color } from '../Color';
2
2
  export declare const white: Color;
3
+ //# sourceMappingURL=white.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"white.d.ts","sourceRoot":"","sources":["../../../src/colors/presets/white.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,eAAO,MAAM,KAAK,EAAE,KAUnB,CAAC"}
@@ -1,4 +1,4 @@
1
- export const white = {
1
+ const white = {
2
2
  base100: '#FFF',
3
3
  base200: '#999',
4
4
  base300: '#C3C3C3',
@@ -8,5 +8,4 @@ export const white = {
8
8
  base700: '#FFF',
9
9
  base800: '#FFF',
10
10
  base900: '#000'
11
- };
12
- //# sourceMappingURL=white.js.map
11
+ };export{white};//# sourceMappingURL=white.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"white.js","sourceRoot":"","sources":["../../../src/colors/presets/white.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,KAAK,GAAU;IACxB,OAAO,EAAE,MAAM;IACf,OAAO,EAAE,MAAM;IACf,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,MAAM;IACf,OAAO,EAAE,MAAM;IACf,OAAO,EAAE,MAAM;IACf,OAAO,EAAE,MAAM;CAClB,CAAC"}
1
+ {"version":3,"file":"white.js","sources":["../../../src/colors/presets/white.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAS,MAAA,KAAO,GAAA;AAEhB,IAAA,OAAA,EAAA,MAAa;;;;;;;;;"}
@@ -1,2 +1,3 @@
1
1
  import { Color } from '../Color';
2
2
  export declare const yellow: Color;
3
+ //# sourceMappingURL=yellow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"yellow.d.ts","sourceRoot":"","sources":["../../../src/colors/presets/yellow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,eAAO,MAAM,MAAM,EAAE,KAUpB,CAAC"}
@@ -1,4 +1,4 @@
1
- export const yellow = {
1
+ const yellow = {
2
2
  base100: '#FEF7CD',
3
3
  base200: '#FEED9B',
4
4
  base300: '#FDE069',
@@ -8,5 +8,4 @@ export const yellow = {
8
8
  base700: '#B37E03',
9
9
  base800: '#906202',
10
10
  base900: '#774D01'
11
- };
12
- //# sourceMappingURL=yellow.js.map
11
+ };export{yellow};//# sourceMappingURL=yellow.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"yellow.js","sourceRoot":"","sources":["../../../src/colors/presets/yellow.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,MAAM,GAAU;IACzB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACrB,CAAC"}
1
+ {"version":3,"file":"yellow.js","sources":["../../../src/colors/presets/yellow.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAS,MAAA,MAAO,GAAM;AAEtB,IAAA,OAAA,EAAA,SAAa;;;;;;;;;"}
@@ -1,2 +1,3 @@
1
1
  import * as React from 'react';
2
2
  export declare const ApplicationErrorFillWrapper: (props: any) => React.JSX.Element;
3
+ //# sourceMappingURL=ApplicationErrorFillWrapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApplicationErrorFillWrapper.d.ts","sourceRoot":"","sources":["../../src/components/ApplicationErrorFillWrapper.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,eAAO,MAAM,2BAA2B,mCAEvC,CAAA"}
@@ -1,7 +1,3 @@
1
- import { Fill } from '@common-stack/components-pro';
2
- import { APPLICATION_ERROR_SLOT_FILL } from '../constants';
3
- import * as React from 'react';
4
- export const ApplicationErrorFillWrapper = (props) => {
5
- return React.createElement(Fill, Object.assign({}, props, { name: APPLICATION_ERROR_SLOT_FILL }));
6
- };
7
- //# sourceMappingURL=ApplicationErrorFillWrapper.js.map
1
+ import {Fill}from'@common-stack/components-pro';import {APPLICATION_ERROR_SLOT_FILL}from'../constants/constants.js';import*as React from'react';const ApplicationErrorFillWrapper = (props) => {
2
+ return React.createElement(Fill, { ...props, name: APPLICATION_ERROR_SLOT_FILL });
3
+ };export{ApplicationErrorFillWrapper};//# sourceMappingURL=ApplicationErrorFillWrapper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationErrorFillWrapper.js","sourceRoot":"","sources":["../../src/components/ApplicationErrorFillWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,KAAK,EAAE,EAAE;IACnD,OAAO,oBAAC,IAAI,oBAAK,KAAK,IAAE,IAAI,EAAE,2BAA2B,IAAI,CAAA;AAC/D,CAAC,CAAA"}
1
+ {"version":3,"file":"ApplicationErrorFillWrapper.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -33,3 +33,4 @@ type IApplicationErrorSlotType = (props: {
33
33
  */
34
34
  export declare const ApplicationErrorHandlerCommon: (FallbackComponent: any, ApplicationErrorSlot?: IApplicationErrorSlotType, RendererComponent?: IRendererComponentType) => ({ plugins, children }: ApplicationErrorHandlerCommonProps) => ReactElement;
35
35
  export {};
36
+ //# sourceMappingURL=ApplicationErrorHandlerCommon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApplicationErrorHandlerCommon.d.ts","sourceRoot":"","sources":["../../src/components/ApplicationErrorHandlerCommon.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,kBAAkB,CAAC;AAI1B,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACtD;;;GAGG;AACH,UAAU,kCAAkC;IAC1C,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC7B,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,KAAK,sBAAsB,GAAG,CAAC,KAAK,EAAE;IACpC,iBAAiB,EAAE,qBAAqB,EAAE,CAAC;IAC3C,YAAY,EAAE,qBAAqB,CAAA;CACpC,KAAK,YAAY,CAAC;AAEnB,KAAK,yBAAyB,GAAG,CAC/B,KAAK,EAAE;IACL,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE;QACT,MAAM,EAAE,OAAO,CAAC;QAChB,iBAAiB,EAAE,qBAAqB,EAAE,CAAA;KAC3C,CAAA;CACF,KACE,YAAY,CAAC;AAClB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,6BAA6B,kDAEjB,yBAAyB,sBAC5B,sBAAsB,6BACf,kCAAkC,KAAG,YA2BjE,CAAA"}
@@ -1,10 +1,4 @@
1
- import React from 'react';
2
- import { useSelector } from 'react-redux';
3
- import "reflect-metadata";
4
- import { Slot } from '@common-stack/components-pro';
5
- import { APPLICATION_ERROR_SLOT_FILL } from '../constants';
6
- import { backendErrorSelector } from '../redux/selectors';
7
- /**
1
+ import React__default from'react';import {useSelector}from'react-redux';import'reflect-metadata';import {Slot}from'@common-stack/components-pro';import {APPLICATION_ERROR_SLOT_FILL}from'../constants/constants.js';import {backendErrorSelector}from'../redux/selectors/index.js';/**
8
2
  * ApplicationErrorSlot is needed for mobile. Since for mobile
9
3
  * we import Slot from @common-stack/react-mobile. The default
10
4
  * Slot under RenderApplicationErrorSlot works for browser
@@ -15,20 +9,19 @@ import { backendErrorSelector } from '../redux/selectors';
15
9
  * @param [RendererComponent] IRendererComponentType
16
10
  * @returns ReactNode
17
11
  */
18
- export const ApplicationErrorHandlerCommon = (FallbackComponent, ApplicationErrorSlot, RendererComponent) => ({ plugins, children }) => {
19
- const applicationErrors = useSelector((state) => state === null || state === void 0 ? void 0 : state.applicationErrors);
20
- const errors = applicationErrors === null || applicationErrors === void 0 ? void 0 : applicationErrors.filter((error) => !!plugins.find((plugin) => plugin.name === (error === null || error === void 0 ? void 0 : error.pluginName)));
12
+ const ApplicationErrorHandlerCommon = (FallbackComponent, ApplicationErrorSlot, RendererComponent) => ({ plugins, children }) => {
13
+ const applicationErrors = useSelector((state) => state?.applicationErrors);
14
+ const errors = applicationErrors?.filter((error) => !!plugins.find((plugin) => plugin.name === error?.pluginName));
21
15
  const backendError = useSelector(backendErrorSelector);
22
16
  const RenderApplicationErrorSlot = (props) => {
23
- return !!ApplicationErrorSlot ? React.createElement(ApplicationErrorSlot, Object.assign({}, props)) : React.createElement(Slot, Object.assign({}, props));
17
+ return !!ApplicationErrorSlot ? React__default.createElement(ApplicationErrorSlot, { ...props }) : React__default.createElement(Slot, { ...props });
24
18
  };
25
19
  if (!!RendererComponent) {
26
- return React.createElement(RendererComponent, { applicationErrors: errors, backendError: backendError });
20
+ return React__default.createElement(RendererComponent, { applicationErrors: errors, backendError: backendError });
27
21
  }
28
- return (React.createElement(React.Fragment, null,
29
- !!backendError ? React.createElement(FallbackComponent, { error: backendError }) : null,
30
- !!(errors === null || errors === void 0 ? void 0 : errors.length)
31
- ? React.createElement(RenderApplicationErrorSlot, { name: APPLICATION_ERROR_SLOT_FILL, fillProps: { active: true, applicationErrors: errors } })
22
+ return (React__default.createElement(React__default.Fragment, null,
23
+ !!backendError ? React__default.createElement(FallbackComponent, { error: backendError }) : null,
24
+ !!errors?.length
25
+ ? React__default.createElement(RenderApplicationErrorSlot, { name: APPLICATION_ERROR_SLOT_FILL, fillProps: { active: true, applicationErrors: errors } })
32
26
  : children));
33
- };
34
- //# sourceMappingURL=ApplicationErrorHandlerCommon.js.map
27
+ };export{ApplicationErrorHandlerCommon};//# sourceMappingURL=ApplicationErrorHandlerCommon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationErrorHandlerCommon.js","sourceRoot":"","sources":["../../src/components/ApplicationErrorHandlerCommon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkC,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAA;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAyB1D;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAC3C,iBAAiB,EACjB,oBAAgD,EAChD,iBAA0C,EAC1C,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAsC,EAAgB,EAAE;IAC/E,MAAM,iBAAiB,GAAG,WAAW,CAAC,CAAC,KAEtC,EAAE,EAAE,CAAC,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,iBAAiB,CAAC,CAAC;IAEhC,MAAM,MAAM,GAAG,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,MAAK,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,UAAU,CAAA,CAAC,CAAC,CAAA;IAClH,MAAM,YAAY,GAAG,WAAW,CAAC,oBAAoB,CAAC,CAAC;IACvD,MAAM,0BAA0B,GAAG,CAAC,KAAK,EAAE,EAAE;QAC3C,OAAO,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,oBAAC,oBAAoB,oBAAK,KAAK,EAAI,CAAC,CAAC,CAAC,oBAAC,IAAI,oBAAK,KAAK,EAAI,CAAA;IAC3F,CAAC,CAAA;IAED,IAAI,CAAC,CAAC,iBAAiB,EAAE;QACvB,OAAO,oBAAC,iBAAiB,IACvB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,YAAqC,GACnD,CAAA;KACH;IAED,OAAO,CACL;QACG,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,oBAAC,iBAAiB,IAAC,KAAK,EAAE,YAAY,GAAI,CAAC,CAAC,CAAC,IAAI;QAClE,CAAC,CAAC,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,MAAM,CAAA;YACf,CAAC,CAAC,oBAAC,0BAA0B,IAAC,IAAI,EAAE,2BAA2B,EAAE,SAAS,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,EAAE,GAAI;YAC3H,CAAC,CAAC,QAAQ,CAEX,CACJ,CAAA;AACH,CAAC,CAAA"}
1
+ {"version":3,"file":"ApplicationErrorHandlerCommon.js","sources":["../../src/components/ApplicationErrorHandlerCommon.tsx"],"sourcesContent":[null],"names":["React"],"mappings":"oRAUG;AACH;AACE;;AAED;AAED;;;AAGC;AAED;;AAGI,MAAS,6BAAE,GAAA,CAAA,iBAAA,EAAA,oBAAA,EAAA,iBAAA,KAAA,CAAA,EAAA,OAAA,EAAA,QAAA,EAAA,KAAA;UACH,iBAAU,GAAA,WAAA,CAAA,CAAA,KAAA,KAAA,KAAA,EAAA,iBAAA,CAAA,CAAA;UACC,MAAA,GAAA,iBAAuB,EAAA,MAAA,CAAA,CAAA,KAAE,KAAA,CAAA,CAAA,OAAA,CAAA,IAAA,CAAA,CAAA,MAAA,KAAA,MAAA,CAAA,IAAA,KAAA,KAAA,EAAA,UAAA,CAAA,CAAA,CAAA;UAC3C,YAAA,GAAA,WAAA,CAAA,oBAAA,CAAA,CAAA;AACF,IAAA,gCACe,GAAA,CAAA,KAAA,KAAA;AAClB,QAAA,OAAA,CAAA,CAAA,oBAAA,GAAAA,cAAA,CAAA,aAAA,CAAA,oBAAA,EAAA,EAAA,GAAA,KAAA,EAAA,CAAA,GAAAA,cAAA,CAAA,aAAA,CAAA,IAAA,EAAA,EAAA,GAAA,KAAA,EAAA,CAAA,CAAA;;;;;;;;;;AAUG"}
@@ -19,3 +19,4 @@ export declare class ErrorBoundaryCommon extends React.Component<IErrorBoundryPr
19
19
  render(): React.JSX.Element;
20
20
  }
21
21
  export {};
22
+ //# sourceMappingURL=ErrorBoundaryCommon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ErrorBoundaryCommon.d.ts","sourceRoot":"","sources":["../../src/components/ErrorBoundaryCommon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG5C,KAAK,kBAAkB,GAAG;IAAE,QAAQ,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAA;CAAE,CAAC;AACrE,KAAK,kBAAkB,GAAG;IACxB,QAAQ,EAAE,YAAY,CAAC;IACvB,iBAAiB,EAAE,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,KAAK,CAAA;KAAE,KAAK,YAAY,CAAA;CAC7D,CAAC;AAEF,qBAAa,mBAAoB,SAAQ,KAAK,CAAC,SAAS,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;gBAClF,KAAK,EAAE,kBAAkB;IAKrC,MAAM,CAAC,wBAAwB,CAAC,KAAK,EAAE,KAAK;;;;IAI5C,iBAAiB,CAAC,KAAK,EAAE,KAAK;IAI9B,MAAM;CAOP"}
@@ -1,6 +1,4 @@
1
- import React from 'react';
2
- import { logger } from '@cdm-logger/client';
3
- export class ErrorBoundaryCommon extends React.Component {
1
+ import React__default from'react';import {logger}from'@cdm-logger/client';class ErrorBoundaryCommon extends React__default.Component {
4
2
  constructor(props) {
5
3
  super(props);
6
4
  this.state = { hasError: false, error: null };
@@ -14,9 +12,8 @@ export class ErrorBoundaryCommon extends React.Component {
14
12
  render() {
15
13
  if (this.state.hasError) {
16
14
  const FallbackComponent = this.props.fallbackComponent;
17
- return React.createElement(FallbackComponent, { error: this.state.error });
15
+ return React__default.createElement(FallbackComponent, { error: this.state.error });
18
16
  }
19
17
  return this.props.children;
20
18
  }
21
- }
22
- //# sourceMappingURL=ErrorBoundaryCommon.js.map
19
+ }export{ErrorBoundaryCommon};//# sourceMappingURL=ErrorBoundaryCommon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorBoundaryCommon.js","sourceRoot":"","sources":["../../src/components/ErrorBoundaryCommon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuB,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAQ5C,MAAM,OAAO,mBAAoB,SAAQ,KAAK,CAAC,SAAiD;IAC9F,YAAY,KAAyB;QACnC,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IAChD,CAAC;IAED,MAAM,CAAC,wBAAwB,CAAC,KAAY;QAC1C,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;IACnC,CAAC;IAED,iBAAiB,CAAC,KAAY;QAC5B,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;IACrB,CAAC;IAED,MAAM;QACJ,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE;YACvB,MAAM,iBAAiB,GAAG,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAA;YACtD,OAAO,oBAAC,iBAAiB,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAc,GAAI,CAAC;SAChE;QACD,OAAO,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC;IAC7B,CAAC;CACF"}
1
+ {"version":3,"file":"ErrorBoundaryCommon.js","sources":["../../src/components/ErrorBoundaryCommon.tsx"],"sourcesContent":[null],"names":["React"],"mappings":"0EAGoC,MAAA,mBAAU,SAAAA,cAAA,CAAA,SAAA,CAAA;AAAC,IAAA,WAAO,CAAK,KAAG,EAAI;QAAG,KAAA,CAAA,KAAA,CAAA,CAAA;AACrE,uBAAuB,QAAG,EAAA,KAAA,EAAA,KAAA,EAAA,IAAA,EAAA,CAAA;KAChB;IACR,OAAiB,wBAAU,CAAA,KAAA,EAAA;QAAE,OAAO,UAAK,EAAA,IAAA,EAAA,KAAA,EAAA,CAAA;AAAE,KAAA;IAC3C,iBAAA,CAAA,KAAA,EAAA;AAEF,QAAa,MAAA,CAAA,KAAA,CAAA,KAAA,CAAA,CAAA;AACC,KAAA;AAKZ,IAAA,MAAM,GAAC;;;;SAIU;QAIX,OAAA,IAAA,CAAA,KAAA,CAAA,QAAA,CAAA;AAOP,KAAA;"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=ApplicationErrorHandlerCommon.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApplicationErrorHandlerCommon.test.d.ts","sourceRoot":"","sources":["../../../src/components/__tests__/ApplicationErrorHandlerCommon.test.tsx"],"names":[],"mappings":""}
@@ -1,3 +1,4 @@
1
1
  export * from './ApplicationErrorHandlerCommon';
2
2
  export * from './ErrorBoundaryCommon';
3
3
  export * from './ApplicationErrorFillWrapper';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.tsx"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC"}
@@ -10,3 +10,4 @@ export declare const defaultSettings: ProSettings & {
10
10
  titleFontSize: string;
11
11
  letterSpacings: string;
12
12
  };
13
+ //# sourceMappingURL=defaultSettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defaultSettings.d.ts","sourceRoot":"","sources":["../../src/config/defaultSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,eAAO,MAAM,eAAe,EAAE,WAAW,GAAG;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,OAAO,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;CA+B1B,CAAC"}
@@ -1,4 +1,4 @@
1
- export const defaultSettings = {
1
+ const defaultSettings = {
2
2
  logo: 'https://cdmbase.s3.ca-central-1.amazonaws.com/favicon-new-128.svg',
3
3
  navTheme: 'light',
4
4
  primaryColor: '#1890ff',
@@ -28,5 +28,4 @@ export const defaultSettings = {
28
28
  menu: undefined,
29
29
  splitMenus: false,
30
30
  siderMenuType: 'sub'
31
- };
32
- //# sourceMappingURL=defaultSettings.js.map
31
+ };export{defaultSettings};//# sourceMappingURL=defaultSettings.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"defaultSettings.js","sourceRoot":"","sources":["../../src/config/defaultSettings.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,eAAe,GAUxB;IACA,IAAI,EAAE,mEAAmE;IACzE,QAAQ,EAAE,OAAO;IACjB,YAAY,EAAE,SAAS;IACvB,YAAY,EAAE,SAAS;IACvB,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,OAAO;IACrB,WAAW,EAAE,IAAI;IACjB,WAAW,EAAE,IAAI;IACjB,eAAe,EAAE,IAAI;IACrB,SAAS,EAAE,KAAK;IAChB,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,EAAE;IACf,gBAAgB,EAAE,IAAI;IACtB,UAAU,EAAE,SAAS;IACrB,QAAQ,EAAE,OAAO;IACjB,UAAU,EAAE,qBAAqB;IACjC,eAAe,EAAE,KAAK;IACtB,WAAW,EAAE,MAAM;IACnB,aAAa,EAAE,QAAQ;IACvB,cAAc,EAAE,KAAK;IACrB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,QAAQ,EAAE,KAAK;IACf,oBAAoB;IACpB,WAAW,EAAE,SAAS;IACtB,YAAY,EAAE,SAAS;IACvB,IAAI,EAAE,SAAS;IACf,UAAU,EAAE,KAAK;IACjB,aAAa,EAAE,KAAK;CACvB,CAAC"}
1
+ {"version":3,"file":"defaultSettings.js","sources":["../../src/config/defaultSettings.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAS,MAAA,eAAmB;AAE5B,IAAA,IAAA,EAAA,mEAA4C;IACxC,iBAAa;IACb,YAAgB,EAAA;IAChB,YAAY,WAAO;IACnB,MAAQ,EAAA;IACR,YAAY,SAAO;IACnB,WAAe,EAAA,IAAE;IACjB,WAAW,EAAE;IACb,eAAe,MAAM;IACrB,SAAc,EAAA,KAAE;IA+BlB,KAAA,EAAA,aAAA;;;;;;;;;;;;;;;;;;;"}
@@ -4,3 +4,4 @@ declare let config: Readonly<{
4
4
  LAYOUT_SETTINGS: DefaultSettings;
5
5
  } & envalid.CleanedEnvAccessors>;
6
6
  export { config };
7
+ //# sourceMappingURL=env-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"env-config.d.ts","sourceRoot":"","sources":["../../src/config/env-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAahD,QAAA,IAAI,MAAM;;gCAAyB,CAAC;AAQpC,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -1,6 +1,4 @@
1
- import * as envalid from 'envalid';
2
- import { defaultSettings } from './defaultSettings';
3
- const { json } = envalid;
1
+ import*as envalid from'envalid';import {defaultSettings}from'./defaultSettings.js';const { json } = envalid;
4
2
  const env = process.APP_ENV || process.env;
5
3
  const preConfig = envalid.cleanEnv(env, {
6
4
  LAYOUT_SETTINGS: json({
@@ -10,10 +8,8 @@ const preConfig = envalid.cleanEnv(env, {
10
8
  let config = {};
11
9
  // overwrite the layout settings with environment
12
10
  if (env.LAYOUT_SETTINGS) {
13
- config = Object.assign(Object.assign({}, preConfig), { LAYOUT_SETTINGS: Object.assign(Object.assign({}, defaultSettings), preConfig.LAYOUT_SETTINGS) });
11
+ config = { ...preConfig, LAYOUT_SETTINGS: { ...defaultSettings, ...preConfig.LAYOUT_SETTINGS } };
14
12
  }
15
13
  else {
16
14
  config = preConfig;
17
- }
18
- export { config };
19
- //# sourceMappingURL=env-config.js.map
15
+ }export{config};//# sourceMappingURL=env-config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"env-config.js","sourceRoot":"","sources":["../../src/config/env-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AAEnC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC;AACzB,MAAM,GAAG,GAAI,OAAe,CAAC,OAAO,IAAI,OAAO,CAAC,GAAG,CAAC;AAEpD,MAAM,SAAS,GAAG,OAAO,CAAC,QAAQ,CAAC,GAAG,EAClC;IACI,eAAe,EAAE,IAAI,CAAkB;QACnC,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,eAAe,CAAQ;KAClD,CAAC;CACL,CACJ,CAAC;AACF,IAAI,MAAM,GAAG,EAAsB,CAAC;AACpC,kDAAkD;AAClD,IAAI,GAAG,CAAC,eAAe,EAAE;IACrB,MAAM,mCAAQ,SAAS,KAAE,eAAe,kCAAO,eAAe,GAAK,SAAS,CAAC,eAAe,IAAI,CAAC;CACpG;KAAM;IACH,MAAM,GAAG,SAAS,CAAC;CACtB;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
1
+ {"version":3,"file":"env-config.js","sources":["../../src/config/env-config.ts"],"sourcesContent":[null],"names":[],"mappings":"mFAcA,MAAA,EAAA,IAAI,EAAM,GAAA,OAAA,CAAA;;kCAA0B,CAAA,GAAA,EAAA;AAQpC,IAAO,eAAW,EAAA,IAAA,CAAA;;;;;;;;;;;"}
@@ -1 +1,2 @@
1
1
  export * from './env-config';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export declare const CHANGE_SETTINGS_ACTION = "settings/changeSetting";
2
2
  export declare const CHANGE_LANGUAGE = "language/changeLanguage";
3
3
  export declare const APPLICATION_ERROR_SLOT_FILL = "APPLICATION_ERROR_SLOT_FILL";
4
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAC/D,eAAO,MAAM,eAAe,4BAA4B,CAAC;AACzD,eAAO,MAAM,2BAA2B,gCAAgC,CAAC"}
@@ -1,4 +1,3 @@
1
- export const CHANGE_SETTINGS_ACTION = 'settings/changeSetting';
2
- export const CHANGE_LANGUAGE = 'language/changeLanguage';
3
- export const APPLICATION_ERROR_SLOT_FILL = "APPLICATION_ERROR_SLOT_FILL";
4
- //# sourceMappingURL=constants.js.map
1
+ const CHANGE_SETTINGS_ACTION = 'settings/changeSetting';
2
+ const CHANGE_LANGUAGE = 'language/changeLanguage';
3
+ const APPLICATION_ERROR_SLOT_FILL = "APPLICATION_ERROR_SLOT_FILL";export{APPLICATION_ERROR_SLOT_FILL,CHANGE_LANGUAGE,CHANGE_SETTINGS_ACTION};//# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,sBAAsB,GAAG,wBAAwB,CAAC;AAC/D,MAAM,CAAC,MAAM,eAAe,GAAG,yBAAyB,CAAC;AACzD,MAAM,CAAC,MAAM,2BAA2B,GAAG,6BAA6B,CAAC"}
1
+ {"version":3,"file":"constants.js","sources":["../../src/constants/constants.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAO,MAAA,sBAA4B,GAAA,yBAAA;AAC5B,MAAA,eAAqB,GAAA,0BAAA;AACrB,MAAA,2BAAiC,GAAA"}
@@ -8,3 +8,4 @@ export type RESTORE_APPLICATION_ERRORS = '@platform/RESTORE_APPLICATION_ERRORS';
8
8
  export declare const RESTORE_APPLICATION_ERRORS: RESTORE_APPLICATION_ERRORS;
9
9
  export type LOG_APPLICATION_ERROR = '@platform/LOG_APPLICATION_ERROR';
10
10
  export declare const LOG_APPLICATION_ERROR: LOG_APPLICATION_ERROR;
11
+ //# sourceMappingURL=error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../src/constants/error.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,yBAAyB,CAAC;AACtD,eAAO,MAAM,aAAa,EAAE,aAAyC,CAAC;AAEtE,MAAM,MAAM,yBAAyB,GAAG,qCAAqC,CAAC;AAC9E,eAAO,MAAM,yBAAyB,EAAE,yBAAiE,CAAC;AAE1G,MAAM,MAAM,wBAAwB,GAAG,oCAAoC,CAAC;AAC5E,eAAO,MAAM,wBAAwB,EAAE,wBAA+D,CAAC;AAEvG,MAAM,MAAM,0BAA0B,GAAG,sCAAsC,CAAC;AAChF,eAAO,MAAM,0BAA0B,EAAE,0BAAmE,CAAC;AAE7G,MAAM,MAAM,qBAAqB,GAAG,iCAAiC,CAAC;AACtE,eAAO,MAAM,qBAAqB,EAAE,qBAAyD,CAAC"}
@@ -1,6 +1,5 @@
1
- export const BACKEND_ERROR = '@platform/BACKEND_ERROR';
2
- export const DISMISS_APPLICATION_ERROR = '@platform/DISMISS_APPLICATION_ERROR';
3
- export const CLEAR_APPLICATION_ERRORS = '@platform/CLEAR_APPLICATION_ERRORS';
4
- export const RESTORE_APPLICATION_ERRORS = '@platform/RESTORE_APPLICATION_ERRORS';
5
- export const LOG_APPLICATION_ERROR = '@platform/LOG_APPLICATION_ERROR';
6
- //# sourceMappingURL=error.js.map
1
+ const BACKEND_ERROR = '@platform/BACKEND_ERROR';
2
+ const DISMISS_APPLICATION_ERROR = '@platform/DISMISS_APPLICATION_ERROR';
3
+ const CLEAR_APPLICATION_ERRORS = '@platform/CLEAR_APPLICATION_ERRORS';
4
+ const RESTORE_APPLICATION_ERRORS = '@platform/RESTORE_APPLICATION_ERRORS';
5
+ const LOG_APPLICATION_ERROR = '@platform/LOG_APPLICATION_ERROR';export{BACKEND_ERROR,CLEAR_APPLICATION_ERRORS,DISMISS_APPLICATION_ERROR,LOG_APPLICATION_ERROR,RESTORE_APPLICATION_ERRORS};//# sourceMappingURL=error.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"error.js","sourceRoot":"","sources":["../../src/constants/error.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,aAAa,GAAkB,yBAAyB,CAAC;AAGtE,MAAM,CAAC,MAAM,yBAAyB,GAA8B,qCAAqC,CAAC;AAG1G,MAAM,CAAC,MAAM,wBAAwB,GAA6B,oCAAoC,CAAC;AAGvG,MAAM,CAAC,MAAM,0BAA0B,GAA+B,sCAAsC,CAAC;AAG7G,MAAM,CAAC,MAAM,qBAAqB,GAA0B,iCAAiC,CAAC"}
1
+ {"version":3,"file":"error.js","sources":["../../src/constants/error.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAY,MAAA,aAAgB,GAAA,0BAA0B;AACtD,MAAA,yBAA4B,GAAA,sCAA0C;AAE1D,MAAA,wBAAyB,GAAG,qCAAqC;AAC7E,MAAA,0BAAa,GAAA,uCAA6F;AAE9F,MAAA,qBAAA,GAA2B"}