andoncloud-sdk 1.7.23 → 1.7.25

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 (317) hide show
  1. package/dist/index.d.ts +14 -3
  2. package/dist/index.js +4012 -0
  3. package/dist/index.js.map +1 -0
  4. package/package.json +7 -20
  5. package/dist/andoncloud-sdk.css +0 -2
  6. package/dist/andoncloud-sdk.css.map +0 -1
  7. package/dist/andoncloud-sdk.js +0 -173
  8. package/dist/andoncloud-sdk.js.map +0 -1
  9. package/dist/app/__tests__/loginWithPassword.d.ts +0 -1
  10. package/dist/app/components/Header/Header.d.ts +0 -3
  11. package/dist/app/components/Header/Header.test.d.ts +0 -1
  12. package/dist/app/components/Header/index.d.ts +0 -1
  13. package/dist/app/components/Header/styles.d.ts +0 -11
  14. package/dist/app/components/Header/types.d.ts +0 -53
  15. package/dist/app/components/access/AccessBlocker.d.ts +0 -12
  16. package/dist/app/components/access/AccessBlocker.styles.d.ts +0 -34
  17. package/dist/app/components/access/AccessBlocker.test.d.ts +0 -1
  18. package/dist/app/components/access/AccessGuard.d.ts +0 -9
  19. package/dist/app/components/access/AccessGuard.test.d.ts +0 -1
  20. package/dist/app/components/access/AccessRequestModal.d.ts +0 -8
  21. package/dist/app/components/access/AccessRequestModal.styles.d.ts +0 -31
  22. package/dist/app/components/access/AccessRequestModal.test.d.ts +0 -1
  23. package/dist/app/components/access/CooldownModal.d.ts +0 -7
  24. package/dist/app/components/access/CooldownModal.styles.d.ts +0 -30
  25. package/dist/app/components/access/CooldownModal.test.d.ts +0 -1
  26. package/dist/app/components/access/InternalProcedureScreen.d.ts +0 -7
  27. package/dist/app/components/access/InternalProcedureScreen.styles.d.ts +0 -26
  28. package/dist/app/components/access/InternalProcedureScreen.test.d.ts +0 -1
  29. package/dist/app/components/access/index.d.ts +0 -3
  30. package/dist/app/components/access/withAccessGuard.d.ts +0 -6
  31. package/dist/app/components/access/withAccessGuard.test.d.ts +0 -1
  32. package/dist/app/components/app.d.ts +0 -3
  33. package/dist/app/components/authRedirect.d.ts +0 -3
  34. package/dist/app/components/container.d.ts +0 -44
  35. package/dist/app/components/container.styles.d.ts +0 -20
  36. package/dist/app/components/container.test.d.ts +0 -1
  37. package/dist/app/components/externalContent.d.ts +0 -5
  38. package/dist/app/components/footer.d.ts +0 -6
  39. package/dist/app/components/header.d.ts +0 -46
  40. package/dist/app/components/header.styles.d.ts +0 -50
  41. package/dist/app/components/header.test.d.ts +0 -1
  42. package/dist/app/components/iframeNavigation.d.ts +0 -2
  43. package/dist/app/components/loader.d.ts +0 -6
  44. package/dist/app/components/loginForm.d.ts +0 -29
  45. package/dist/app/components/loginForm.test.d.ts +0 -1
  46. package/dist/app/components/loginModal.d.ts +0 -31
  47. package/dist/app/components/loginModal.test.d.ts +0 -1
  48. package/dist/app/components/loginRedirect.d.ts +0 -3
  49. package/dist/app/components/messageNavigator.d.ts +0 -2
  50. package/dist/app/components/networkError.d.ts +0 -4
  51. package/dist/app/components/router.d.ts +0 -5
  52. package/dist/app/components/sidePanel.d.ts +0 -66
  53. package/dist/app/components/sidePanel.styles.d.ts +0 -15
  54. package/dist/app/components/sidebarMenu.d.ts +0 -32
  55. package/dist/app/components/sidebarMenu.styles.d.ts +0 -32
  56. package/dist/app/components/version.d.ts +0 -6
  57. package/dist/app/core/ui/Checkbox/Checkbox.d.ts +0 -7
  58. package/dist/app/core/ui/Checkbox/index.d.ts +0 -1
  59. package/dist/app/core/ui/Checkbox/styled.d.ts +0 -20
  60. package/dist/app/core/ui/Radio/Radio.d.ts +0 -7
  61. package/dist/app/core/ui/Radio/index.d.ts +0 -1
  62. package/dist/app/core/ui/Radio/styled.d.ts +0 -20
  63. package/dist/app/core/ui/RadioGroup/RadioGroup.d.ts +0 -7
  64. package/dist/app/core/ui/RadioGroup/index.d.ts +0 -1
  65. package/dist/app/core/ui/RadioGroup/styled.d.ts +0 -7
  66. package/dist/app/hooks/useAccess/accessState.d.ts +0 -7
  67. package/dist/app/hooks/useAccess/deriveButtons.d.ts +0 -5
  68. package/dist/app/hooks/useAccess/index.d.ts +0 -11
  69. package/dist/app/hooks/useAccess.d.ts +0 -10
  70. package/dist/app/hooks/useAccess.test.d.ts +0 -1
  71. package/dist/app/hooks/useFeatures.d.ts +0 -6
  72. package/dist/app/hooks/useFeatures.test.d.ts +0 -1
  73. package/dist/app/hooks/useFetch.d.ts +0 -2
  74. package/dist/app/hooks/useHeaderContentEvent.d.ts +0 -3
  75. package/dist/app/hooks/useHeaderContentEvent.test.d.ts +0 -1
  76. package/dist/app/hooks/useLogin.d.ts +0 -2
  77. package/dist/app/hooks/useLoginStatus.d.ts +0 -4
  78. package/dist/app/hooks/useModalHook/ModalContext.d.ts +0 -7
  79. package/dist/app/hooks/useModalHook/ModalProvider.d.ts +0 -5
  80. package/dist/app/hooks/useModalHook/index.d.ts +0 -3
  81. package/dist/app/hooks/useModalHook/useModal.d.ts +0 -8
  82. package/dist/app/hooks/usePackages.d.ts +0 -6
  83. package/dist/app/hooks/usePackages.test.d.ts +0 -1
  84. package/dist/app/hooks/usePermissions.d.ts +0 -13
  85. package/dist/app/hooks/usePermissions.test.d.ts +0 -1
  86. package/dist/app/hooks/useQueryParams.d.ts +0 -2
  87. package/dist/app/i18n.d.ts +0 -2
  88. package/dist/app/pages/ErrorPage.d.ts +0 -14
  89. package/dist/app/pages/ExternalPage.d.ts +0 -5
  90. package/dist/app/pages/LoaderPage.d.ts +0 -7
  91. package/dist/app/pages/LoginPage.d.ts +0 -15
  92. package/dist/app/providers/authConfig.d.ts +0 -6
  93. package/dist/app/providers/display.d.ts +0 -5
  94. package/dist/app/providers/displayMode.d.ts +0 -5
  95. package/dist/app/providers/metaInfo.d.ts +0 -6
  96. package/dist/app/providers/store.d.ts +0 -171
  97. package/dist/app/stores/appStore.d.ts +0 -10
  98. package/dist/app/stores/sessionStore.d.ts +0 -83
  99. package/dist/app/stores/userStore.d.ts +0 -14
  100. package/dist/app/testing/index.d.ts +0 -2
  101. package/dist/app/theme.d.ts +0 -2
  102. package/dist/app/utils/cookies-manager.d.ts +0 -7
  103. package/dist/app/utils/display.d.ts +0 -13
  104. package/dist/app/utils/fetch.d.ts +0 -9
  105. package/dist/app/utils/service-worker.d.ts +0 -1
  106. package/dist/app/utils/stores.d.ts +0 -22
  107. package/dist/app/utils/text.d.ts +0 -1
  108. package/dist/app/utils/window.d.ts +0 -1
  109. package/dist/assets/index.d.ts +0 -1
  110. package/dist/assets/logo.svg.d.ts +0 -2
  111. package/dist/cypress/support/component.d.ts +0 -9
  112. package/dist/cypress.config.d.ts +0 -2
  113. package/dist/locales/i18n.d.ts +0 -22
  114. package/dist/locales/index.d.ts +0 -2
  115. package/dist/serviceWorkerRegistration.d.ts +0 -2
  116. package/dist/setupTests.d.ts +0 -1
  117. package/dist/src/__tests__/loginWithPassword.cy.d.ts +0 -1
  118. package/dist/src/app/__tests__/loginWithPassword.cy.d.ts +0 -1
  119. package/dist/src/app/__tests__/loginWithPassword.d.ts +0 -1
  120. package/dist/src/app/components/Header/Header.cy.d.ts +0 -1
  121. package/dist/src/app/components/Header/Header.d.ts +0 -3
  122. package/dist/src/app/components/Header/Header.test.d.ts +0 -1
  123. package/dist/src/app/components/Header/index.d.ts +0 -1
  124. package/dist/src/app/components/Header/styles.d.ts +0 -11
  125. package/dist/src/app/components/Header/types.d.ts +0 -53
  126. package/dist/src/app/components/access/AccessBlocker.cy.d.ts +0 -1
  127. package/dist/src/app/components/access/AccessBlocker.d.ts +0 -12
  128. package/dist/src/app/components/access/AccessBlocker.styles.d.ts +0 -34
  129. package/dist/src/app/components/access/AccessBlocker.test.d.ts +0 -1
  130. package/dist/src/app/components/access/AccessGuard.cy.d.ts +0 -1
  131. package/dist/src/app/components/access/AccessGuard.d.ts +0 -9
  132. package/dist/src/app/components/access/AccessGuard.test.d.ts +0 -1
  133. package/dist/src/app/components/access/AccessRequestModal.cy.d.ts +0 -1
  134. package/dist/src/app/components/access/AccessRequestModal.d.ts +0 -8
  135. package/dist/src/app/components/access/AccessRequestModal.styles.d.ts +0 -31
  136. package/dist/src/app/components/access/AccessRequestModal.test.d.ts +0 -1
  137. package/dist/src/app/components/access/CooldownModal.cy.d.ts +0 -1
  138. package/dist/src/app/components/access/CooldownModal.d.ts +0 -7
  139. package/dist/src/app/components/access/CooldownModal.styles.d.ts +0 -30
  140. package/dist/src/app/components/access/CooldownModal.test.d.ts +0 -1
  141. package/dist/src/app/components/access/index.d.ts +0 -3
  142. package/dist/src/app/components/access/withAccessGuard.cy.d.ts +0 -1
  143. package/dist/src/app/components/access/withAccessGuard.d.ts +0 -6
  144. package/dist/src/app/components/access/withAccessGuard.test.d.ts +0 -1
  145. package/dist/src/app/components/app.d.ts +0 -3
  146. package/dist/src/app/components/authRedirect.d.ts +0 -3
  147. package/dist/src/app/components/container.cy.d.ts +0 -1
  148. package/dist/src/app/components/container.d.ts +0 -44
  149. package/dist/src/app/components/container.styles.d.ts +0 -20
  150. package/dist/src/app/components/container.test.d.ts +0 -1
  151. package/dist/src/app/components/externalContent.d.ts +0 -5
  152. package/dist/src/app/components/footer.d.ts +0 -6
  153. package/dist/src/app/components/iframeNavigation.d.ts +0 -2
  154. package/dist/src/app/components/loader.d.ts +0 -6
  155. package/dist/src/app/components/loginForm.cy.d.ts +0 -1
  156. package/dist/src/app/components/loginForm.d.ts +0 -29
  157. package/dist/src/app/components/loginForm.test.d.ts +0 -1
  158. package/dist/src/app/components/loginModal.cy.d.ts +0 -1
  159. package/dist/src/app/components/loginModal.d.ts +0 -31
  160. package/dist/src/app/components/loginModal.test.d.ts +0 -1
  161. package/dist/src/app/components/loginRedirect.d.ts +0 -3
  162. package/dist/src/app/components/networkError.d.ts +0 -4
  163. package/dist/src/app/components/router.d.ts +0 -5
  164. package/dist/src/app/components/sidePanel.d.ts +0 -66
  165. package/dist/src/app/components/sidePanel.styles.d.ts +0 -15
  166. package/dist/src/app/components/sidebarMenu.d.ts +0 -32
  167. package/dist/src/app/components/sidebarMenu.styles.d.ts +0 -32
  168. package/dist/src/app/core/ui/Checkbox/Checkbox.d.ts +0 -6
  169. package/dist/src/app/core/ui/Checkbox/index.d.ts +0 -1
  170. package/dist/src/app/core/ui/Checkbox/styled.d.ts +0 -7
  171. package/dist/src/app/core/ui/Radio/Radio.d.ts +0 -6
  172. package/dist/src/app/core/ui/Radio/index.d.ts +0 -1
  173. package/dist/src/app/core/ui/Radio/styled.d.ts +0 -7
  174. package/dist/src/app/core/ui/RadioGroup/RadioGroup.d.ts +0 -6
  175. package/dist/src/app/core/ui/RadioGroup/index.d.ts +0 -1
  176. package/dist/src/app/core/ui/RadioGroup/styled.d.ts +0 -4
  177. package/dist/src/app/hooks/useAccess/accessState.d.ts +0 -7
  178. package/dist/src/app/hooks/useAccess/deriveButtons.d.ts +0 -5
  179. package/dist/src/app/hooks/useAccess/index.d.ts +0 -11
  180. package/dist/src/app/hooks/useAccess.cy.d.ts +0 -1
  181. package/dist/src/app/hooks/useAccess.test.d.ts +0 -1
  182. package/dist/src/app/hooks/useFeatures.cy.d.ts +0 -1
  183. package/dist/src/app/hooks/useFeatures.d.ts +0 -6
  184. package/dist/src/app/hooks/useFeatures.test.d.ts +0 -1
  185. package/dist/src/app/hooks/useHeaderContentEvent.cy.d.ts +0 -1
  186. package/dist/src/app/hooks/useHeaderContentEvent.d.ts +0 -3
  187. package/dist/src/app/hooks/useHeaderContentEvent.test.d.ts +0 -1
  188. package/dist/src/app/hooks/useLogin.d.ts +0 -2
  189. package/dist/src/app/hooks/useLoginStatus.d.ts +0 -4
  190. package/dist/src/app/hooks/useModalHook/ModalContext.d.ts +0 -7
  191. package/dist/src/app/hooks/useModalHook/ModalProvider.d.ts +0 -5
  192. package/dist/src/app/hooks/useModalHook/index.d.ts +0 -3
  193. package/dist/src/app/hooks/useModalHook/useModal.d.ts +0 -8
  194. package/dist/src/app/hooks/usePermissions.cy.d.ts +0 -1
  195. package/dist/src/app/hooks/usePermissions.d.ts +0 -13
  196. package/dist/src/app/hooks/usePermissions.test.d.ts +0 -1
  197. package/dist/src/app/hooks/useQueryParams.d.ts +0 -2
  198. package/dist/src/app/i18n.d.ts +0 -3
  199. package/dist/src/app/pages/ErrorPage.d.ts +0 -14
  200. package/dist/src/app/pages/LoaderPage.d.ts +0 -7
  201. package/dist/src/app/pages/LoginPage.d.ts +0 -15
  202. package/dist/src/app/providers/authConfig.d.ts +0 -6
  203. package/dist/src/app/providers/display.d.ts +0 -5
  204. package/dist/src/app/providers/metaInfo.d.ts +0 -6
  205. package/dist/src/app/providers/store.d.ts +0 -171
  206. package/dist/src/app/stores/appStore.d.ts +0 -10
  207. package/dist/src/app/stores/sessionStore.d.ts +0 -83
  208. package/dist/src/app/stores/userStore.d.ts +0 -14
  209. package/dist/src/app/testing/index.d.ts +0 -2
  210. package/dist/src/app/theme.d.ts +0 -2
  211. package/dist/src/app/utils/cookies-manager.d.ts +0 -7
  212. package/dist/src/app/utils/display.d.ts +0 -13
  213. package/dist/src/app/utils/fetch.d.ts +0 -9
  214. package/dist/src/app/utils/service-worker.d.ts +0 -1
  215. package/dist/src/app/utils/stores.d.ts +0 -22
  216. package/dist/src/app/utils/text.d.ts +0 -1
  217. package/dist/src/assets/index.d.ts +0 -1
  218. package/dist/src/components/Header/Header.cy.d.ts +0 -1
  219. package/dist/src/components/Header/Header.d.ts +0 -3
  220. package/dist/src/components/Header/index.d.ts +0 -1
  221. package/dist/src/components/Header/styles.d.ts +0 -11
  222. package/dist/src/components/Header/types.d.ts +0 -52
  223. package/dist/src/components/access/AccessBlocker.cy.d.ts +0 -1
  224. package/dist/src/components/access/AccessBlocker.d.ts +0 -13
  225. package/dist/src/components/access/AccessBlocker.styles.d.ts +0 -43
  226. package/dist/src/components/access/AccessGuard.cy.d.ts +0 -1
  227. package/dist/src/components/access/AccessGuard.d.ts +0 -10
  228. package/dist/src/components/access/AccessRequestModal.cy.d.ts +0 -1
  229. package/dist/src/components/access/AccessRequestModal.d.ts +0 -8
  230. package/dist/src/components/access/AccessRequestModal.styles.d.ts +0 -31
  231. package/dist/src/components/access/CooldownModal.cy.d.ts +0 -1
  232. package/dist/src/components/access/CooldownModal.d.ts +0 -7
  233. package/dist/src/components/access/CooldownModal.styles.d.ts +0 -30
  234. package/dist/src/components/access/index.d.ts +0 -3
  235. package/dist/src/components/access/withAccessGuard.cy.d.ts +0 -1
  236. package/dist/src/components/access/withAccessGuard.d.ts +0 -6
  237. package/dist/src/components/app.d.ts +0 -3
  238. package/dist/src/components/authRedirect.cy.d.ts +0 -1
  239. package/dist/src/components/authRedirect.d.ts +0 -3
  240. package/dist/src/components/container.cy.d.ts +0 -1
  241. package/dist/src/components/container.d.ts +0 -44
  242. package/dist/src/components/container.styles.d.ts +0 -20
  243. package/dist/src/components/externalContent.d.ts +0 -5
  244. package/dist/src/components/footer.d.ts +0 -6
  245. package/dist/src/components/iframeNavigation.d.ts +0 -2
  246. package/dist/src/components/loader.d.ts +0 -6
  247. package/dist/src/components/loginForm.cy.d.ts +0 -1
  248. package/dist/src/components/loginForm.d.ts +0 -29
  249. package/dist/src/components/loginModal.cy.d.ts +0 -1
  250. package/dist/src/components/loginModal.d.ts +0 -16
  251. package/dist/src/components/loginRedirect.d.ts +0 -3
  252. package/dist/src/components/networkError.d.ts +0 -4
  253. package/dist/src/components/router.d.ts +0 -5
  254. package/dist/src/components/sidePanel.d.ts +0 -66
  255. package/dist/src/components/sidePanel.styles.d.ts +0 -15
  256. package/dist/src/components/sidebarMenu.d.ts +0 -32
  257. package/dist/src/components/sidebarMenu.styles.d.ts +0 -32
  258. package/dist/src/core/ui/Checkbox/Checkbox.d.ts +0 -6
  259. package/dist/src/core/ui/Checkbox/index.d.ts +0 -1
  260. package/dist/src/core/ui/Checkbox/styled.d.ts +0 -6
  261. package/dist/src/core/ui/Radio/Radio.d.ts +0 -6
  262. package/dist/src/core/ui/Radio/index.d.ts +0 -1
  263. package/dist/src/core/ui/Radio/styled.d.ts +0 -6
  264. package/dist/src/core/ui/RadioGroup/RadioGroup.d.ts +0 -6
  265. package/dist/src/core/ui/RadioGroup/index.d.ts +0 -1
  266. package/dist/src/core/ui/RadioGroup/styled.d.ts +0 -4
  267. package/dist/src/hooks/useAccess/accessState.d.ts +0 -7
  268. package/dist/src/hooks/useAccess/deriveButtons.d.ts +0 -5
  269. package/dist/src/hooks/useAccess/index.d.ts +0 -11
  270. package/dist/src/hooks/useAccess.cy.d.ts +0 -1
  271. package/dist/src/hooks/useFeatures.cy.d.ts +0 -1
  272. package/dist/src/hooks/useFeatures.d.ts +0 -6
  273. package/dist/src/hooks/useHeaderContentEvent.cy.d.ts +0 -1
  274. package/dist/src/hooks/useHeaderContentEvent.d.ts +0 -3
  275. package/dist/src/hooks/useLogin.d.ts +0 -2
  276. package/dist/src/hooks/useLoginStatus.d.ts +0 -3
  277. package/dist/src/hooks/useModalHook/ModalContext.d.ts +0 -7
  278. package/dist/src/hooks/useModalHook/ModalProvider.d.ts +0 -5
  279. package/dist/src/hooks/useModalHook/index.d.ts +0 -3
  280. package/dist/src/hooks/useModalHook/useModal.d.ts +0 -8
  281. package/dist/src/hooks/usePermissions.cy.d.ts +0 -1
  282. package/dist/src/hooks/usePermissions.d.ts +0 -13
  283. package/dist/src/hooks/useQueryParams.d.ts +0 -2
  284. package/dist/src/i18n.d.ts +0 -9
  285. package/dist/src/index.d.ts +0 -36
  286. package/dist/src/pages/ErrorPage.d.ts +0 -14
  287. package/dist/src/pages/LoaderPage.d.ts +0 -7
  288. package/dist/src/pages/LoginPage.d.ts +0 -15
  289. package/dist/src/providers/authConfig.d.ts +0 -6
  290. package/dist/src/providers/display.d.ts +0 -5
  291. package/dist/src/providers/metaInfo.d.ts +0 -6
  292. package/dist/src/providers/store.d.ts +0 -171
  293. package/dist/src/serviceWorkerRegistration.d.ts +0 -2
  294. package/dist/src/setupTests.d.ts +0 -1
  295. package/dist/src/stores/SessionStore/CookiesManager.cy.d.ts +0 -1
  296. package/dist/src/stores/SessionStore/CookiesManager.d.ts +0 -15
  297. package/dist/src/stores/SessionStore/SessionStore.cy.d.ts +0 -1
  298. package/dist/src/stores/SessionStore/SessionStore.d.ts +0 -92
  299. package/dist/src/stores/SessionStore/TokenCoordinator.cy.d.ts +0 -1
  300. package/dist/src/stores/SessionStore/TokenCoordinator.d.ts +0 -46
  301. package/dist/src/stores/SessionStore/index.d.ts +0 -3
  302. package/dist/src/stores/SessionStore/types.d.ts +0 -94
  303. package/dist/src/stores/appStore.d.ts +0 -10
  304. package/dist/src/stores/sessionStore.d.ts +0 -83
  305. package/dist/src/stores/userStore.d.ts +0 -14
  306. package/dist/src/theme.d.ts +0 -2
  307. package/dist/src/utils/authFetch.d.ts +0 -10
  308. package/dist/src/utils/cookies-manager.d.ts +0 -9
  309. package/dist/src/utils/display.d.ts +0 -14
  310. package/dist/src/utils/fetch.d.ts +0 -9
  311. package/dist/src/utils/service-worker.d.ts +0 -1
  312. package/dist/src/utils/stores.d.ts +0 -15
  313. package/dist/src/utils/text.d.ts +0 -1
  314. package/dist/src/utils/validateRedirect.cy.d.ts +0 -1
  315. package/dist/src/utils/validateRedirect.d.ts +0 -1
  316. package/dist/src/version.d.ts +0 -1
  317. package/dist/version.d.ts +0 -1
@@ -1,171 +0,0 @@
1
- export namespace rootStore {
2
- export { sessionStore };
3
- }
4
- export const StoreContext: React.Context<{
5
- sessionStore: {
6
- loading: boolean;
7
- loginStatus: {
8
- status: string;
9
- };
10
- refreshTokenPromise: null;
11
- api: {
12
- setAuthConfig({ baseUrl, clientId, redirectUri }: {
13
- baseUrl: any;
14
- clientId: any;
15
- redirectUri: any;
16
- }): void;
17
- baseUrl: any;
18
- clientId: any;
19
- redirectUri: any;
20
- authorize(credentials: any): Promise<undefined>;
21
- getUserData(authData: any): Promise<{
22
- id: any;
23
- companyId: any;
24
- roleId: any;
25
- username: any;
26
- email: any;
27
- name: any;
28
- permissionsMap: any;
29
- featuresMap: {
30
- [k: string]: {
31
- status: any;
32
- entitlementType: any;
33
- expiresAt: any;
34
- daysSinceExpiry: any;
35
- permissions: any;
36
- } | null;
37
- } | null;
38
- featuresRequestsMap: {} | null;
39
- } | null>;
40
- signOut(token: any): Promise<void>;
41
- };
42
- networkError: any;
43
- setLoading(value: any): void;
44
- setConnectedLoginStatus(): void;
45
- setNotAuthorizedLoginStatus(): void;
46
- setAuthConfig(config: any): void;
47
- setNetworkError(value: any): void;
48
- isLoggedIn(): boolean;
49
- requestHeaders(): {
50
- 'Accept-Language': string;
51
- } | {
52
- Authorization: string;
53
- 'Accept-Language': string;
54
- };
55
- authorize(credentials: any, storeSession?: boolean): Promise<null>;
56
- session: any;
57
- refresh(): Promise<null>;
58
- recover(): Promise<void>;
59
- logout(): Promise<void>;
60
- refreshUserData(): Promise<{
61
- id: any;
62
- companyId: any;
63
- roleId: any;
64
- username: any;
65
- email: any;
66
- name: any;
67
- permissionsMap: any;
68
- featuresMap: {
69
- [k: string]: {
70
- status: any;
71
- entitlementType: any;
72
- expiresAt: any;
73
- daysSinceExpiry: any;
74
- permissions: any;
75
- } | null;
76
- } | null;
77
- featuresRequestsMap: {} | null;
78
- } | null>;
79
- storeSession(): Promise<void>;
80
- restoreSession(): Promise<void>;
81
- removeSession(): void;
82
- setCurrentUser(user: any): void;
83
- removeCurrentUser(): void;
84
- };
85
- }>;
86
- export const StoreProvider: React.FunctionComponent<object>;
87
- export function useStore(): {
88
- sessionStore: {
89
- loading: boolean;
90
- loginStatus: {
91
- status: string;
92
- };
93
- refreshTokenPromise: null;
94
- api: {
95
- setAuthConfig({ baseUrl, clientId, redirectUri }: {
96
- baseUrl: any;
97
- clientId: any;
98
- redirectUri: any;
99
- }): void;
100
- baseUrl: any;
101
- clientId: any;
102
- redirectUri: any;
103
- authorize(credentials: any): Promise<undefined>;
104
- getUserData(authData: any): Promise<{
105
- id: any;
106
- companyId: any;
107
- roleId: any;
108
- username: any;
109
- email: any;
110
- name: any;
111
- permissionsMap: any;
112
- featuresMap: {
113
- [k: string]: {
114
- status: any;
115
- entitlementType: any;
116
- expiresAt: any;
117
- daysSinceExpiry: any;
118
- permissions: any;
119
- } | null;
120
- } | null;
121
- featuresRequestsMap: {} | null;
122
- } | null>;
123
- signOut(token: any): Promise<void>;
124
- };
125
- networkError: any;
126
- setLoading(value: any): void;
127
- setConnectedLoginStatus(): void;
128
- setNotAuthorizedLoginStatus(): void;
129
- setAuthConfig(config: any): void;
130
- setNetworkError(value: any): void;
131
- isLoggedIn(): boolean;
132
- requestHeaders(): {
133
- 'Accept-Language': string;
134
- } | {
135
- Authorization: string;
136
- 'Accept-Language': string;
137
- };
138
- authorize(credentials: any, storeSession?: boolean): Promise<null>;
139
- session: any;
140
- refresh(): Promise<null>;
141
- recover(): Promise<void>;
142
- logout(): Promise<void>;
143
- refreshUserData(): Promise<{
144
- id: any;
145
- companyId: any;
146
- roleId: any;
147
- username: any;
148
- email: any;
149
- name: any;
150
- permissionsMap: any;
151
- featuresMap: {
152
- [k: string]: {
153
- status: any;
154
- entitlementType: any;
155
- expiresAt: any;
156
- daysSinceExpiry: any;
157
- permissions: any;
158
- } | null;
159
- } | null;
160
- featuresRequestsMap: {} | null;
161
- } | null>;
162
- storeSession(): Promise<void>;
163
- restoreSession(): Promise<void>;
164
- removeSession(): void;
165
- setCurrentUser(user: any): void;
166
- removeCurrentUser(): void;
167
- };
168
- };
169
- export default rootStore;
170
- import sessionStore from "../stores/sessionStore";
171
- import React from "react";
@@ -1,10 +0,0 @@
1
- declare const _default: AppStore;
2
- export default _default;
3
- declare class AppStore {
4
- appReady: boolean;
5
- gtmReady: boolean;
6
- sentryReady: boolean;
7
- setAppReady(): void;
8
- setGtmReady(): void;
9
- setSentryReady(): void;
10
- }
@@ -1,83 +0,0 @@
1
- export default sessionStore;
2
- declare const sessionStore: SessionStore;
3
- declare class SessionStore {
4
- loading: boolean;
5
- loginStatus: {
6
- status: string;
7
- };
8
- refreshTokenPromise: null;
9
- api: SessionAPI;
10
- networkError: any;
11
- setLoading(value: any): void;
12
- setConnectedLoginStatus(): void;
13
- setNotAuthorizedLoginStatus(): void;
14
- setAuthConfig(config: any): void;
15
- setNetworkError(value: any): void;
16
- isLoggedIn(): boolean;
17
- requestHeaders(): {
18
- 'Accept-Language': string;
19
- } | {
20
- Authorization: string;
21
- 'Accept-Language': string;
22
- };
23
- authorize(credentials: any, storeSession?: boolean): Promise<null>;
24
- session: any;
25
- refresh(): Promise<null>;
26
- recover(): Promise<void>;
27
- logout(): Promise<void>;
28
- refreshUserData(): Promise<{
29
- id: any;
30
- companyId: any;
31
- roleId: any;
32
- username: any;
33
- email: any;
34
- name: any;
35
- permissionsMap: any;
36
- featuresMap: {
37
- [k: string]: {
38
- status: any;
39
- entitlementType: any;
40
- expiresAt: any;
41
- daysSinceExpiry: any;
42
- permissions: any;
43
- } | null;
44
- } | null;
45
- featuresRequestsMap: {} | null;
46
- } | null>;
47
- storeSession(): Promise<void>;
48
- restoreSession(): Promise<void>;
49
- removeSession(): void;
50
- setCurrentUser(user: any): void;
51
- removeCurrentUser(): void;
52
- }
53
- declare class SessionAPI {
54
- setAuthConfig({ baseUrl, clientId, redirectUri }: {
55
- baseUrl: any;
56
- clientId: any;
57
- redirectUri: any;
58
- }): void;
59
- baseUrl: any;
60
- clientId: any;
61
- redirectUri: any;
62
- authorize(credentials: any): Promise<undefined>;
63
- getUserData(authData: any): Promise<{
64
- id: any;
65
- companyId: any;
66
- roleId: any;
67
- username: any;
68
- email: any;
69
- name: any;
70
- permissionsMap: any;
71
- featuresMap: {
72
- [k: string]: {
73
- status: any;
74
- entitlementType: any;
75
- expiresAt: any;
76
- daysSinceExpiry: any;
77
- permissions: any;
78
- } | null;
79
- } | null;
80
- featuresRequestsMap: {} | null;
81
- } | null>;
82
- signOut(token: any): Promise<void>;
83
- }
@@ -1,14 +0,0 @@
1
- declare const _default: UserStore;
2
- export default _default;
3
- declare class UserStore {
4
- currentUser: null;
5
- permissionsMap: null;
6
- featuresMap: null;
7
- featuresRequestsMap: null;
8
- setCurrentUser(currentUser: any): void;
9
- removeCurrentUser(): void;
10
- setPermissionsMap(permissionsMap: any): void;
11
- setFeaturesMap(featuresMap: any): void;
12
- setFeaturesRequestsMap(featuresRequestsMap: any): void;
13
- get getCurrentUserJS(): null;
14
- }
@@ -1,2 +0,0 @@
1
- export function render(node: any, options?: {}): import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement, HTMLElement>;
2
- export function renderComponent(node: any, options?: {}): import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement, HTMLElement>;
@@ -1,2 +0,0 @@
1
- declare const _default: import("@mui/material/styles").Theme;
2
- export default _default;
@@ -1,7 +0,0 @@
1
- export default class CookiesManager {
2
- static rootDomain: any;
3
- static recognizeRootDomain(): any;
4
- static get(key: any): any;
5
- static set(key: any, value: any): any;
6
- static remove(key: any): any;
7
- }
@@ -1,13 +0,0 @@
1
- export function isTrustedOrigin(origin: any): boolean;
2
- export function getDisplayMode(): "standalone" | "iframe";
3
- export function updateParentHeaderLeadingText(text: any): void;
4
- export function resetParentHeaderLeadingText(): void;
5
- export function updateParentHeaderTitle(title: any): void;
6
- export function resetParentHeaderTitle(): void;
7
- export function updateParentHeaderStyles({ target, styles }: {
8
- target: any;
9
- styles: any;
10
- }): void;
11
- export function resetParentHeaderStyles(target: any): void;
12
- export function updateParentHeaderContent(descriptor: any): void;
13
- export function resetParentHeaderContent(): void;
@@ -1,9 +0,0 @@
1
- export default andoncloudFetch;
2
- export { acFetch as fetch };
3
- declare const andoncloudFetch: AndoncloudFetch;
4
- declare function acFetch(url: any, options?: {}): Promise<void | Response>;
5
- declare class AndoncloudFetch {
6
- callback: () => void;
7
- setCallback(callback: any): void;
8
- removeCallback(): void;
9
- }
@@ -1 +0,0 @@
1
- export function registerServiceWorker(config: any): void;
@@ -1,22 +0,0 @@
1
- export function convertFeatureInfoToCamelCase(featureInfo: any): {
2
- status: any;
3
- entitlementType: any;
4
- expiresAt: any;
5
- daysSinceExpiry: any;
6
- permissions: any;
7
- } | null;
8
- export function convertFeaturesMapToCamelCase(featuresMap: any): {
9
- [k: string]: {
10
- status: any;
11
- entitlementType: any;
12
- expiresAt: any;
13
- daysSinceExpiry: any;
14
- permissions: any;
15
- } | null;
16
- } | null;
17
- export function convertFeaturesRequestsMapToCamelCase(featuresRequestsMap: any): {} | null;
18
- export function getCooldownStatus(featuresRequestsMap: object | null, featureKey: string, requestType: string, workplaceId: string | undefined): {
19
- isInCooldown: boolean;
20
- daysRemaining: number;
21
- };
22
- export function getCooldownInfo(featuresRequestsMap: object | null, featureKey: string, buttons: any[], workplaceId: string | undefined): object;
@@ -1 +0,0 @@
1
- export function toCamelCase(str: any): any;
@@ -1 +0,0 @@
1
- export { default as acLogo } from './logo.svg';
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { HeaderProps } from './types';
3
- export declare const Header: React.FC<HeaderProps>;
@@ -1 +0,0 @@
1
- export { Header } from './Header';
@@ -1,11 +0,0 @@
1
- import { SxProps, Theme } from '@mui/material/styles';
2
- import { HeaderStylesOverride, StyleMap } from './types';
3
- interface StylesInput {
4
- styles?: HeaderStylesOverride;
5
- titleStyles?: SxProps<Theme>;
6
- contentStyles?: SxProps<Theme>;
7
- menuStyles?: SxProps<Theme>;
8
- menuDropdownStyles?: SxProps<Theme>;
9
- }
10
- declare const useStyles: ({ styles, titleStyles, contentStyles, menuStyles, menuDropdownStyles }: StylesInput) => StyleMap;
11
- export default useStyles;
@@ -1,52 +0,0 @@
1
- import { SxProps, Theme } from '@mui/material/styles';
2
- export interface NavItem {
3
- label: string;
4
- url?: string;
5
- action?: () => void;
6
- icon?: React.ReactNode;
7
- }
8
- export interface NavProps {
9
- items?: NavItem[];
10
- }
11
- export interface UserProps {
12
- show?: boolean;
13
- showCompanyLogo?: boolean;
14
- }
15
- export interface HeaderMenuProps {
16
- items?: NavItem[];
17
- buttonColor?: string;
18
- dropdownStyles?: SxProps<Theme>;
19
- styles?: SxProps<Theme>;
20
- }
21
- export interface IframeContent {
22
- component: string;
23
- props: Record<string, unknown>;
24
- }
25
- export interface IframeSource {
26
- source: Window;
27
- origin: string;
28
- }
29
- export interface HeaderStylesOverride {
30
- background?: string;
31
- [key: string]: unknown;
32
- }
33
- export type StyleMap = Record<string, Record<string, unknown>>;
34
- export interface HeaderProps {
35
- position?: 'absolute' | 'fixed' | 'relative' | 'static' | 'sticky';
36
- scrolled?: boolean;
37
- showAcLogo?: boolean;
38
- leadingText?: string;
39
- title?: string;
40
- titleStyles?: SxProps<Theme>;
41
- content?: React.ReactNode;
42
- contentComponents?: Record<string, React.ComponentType<any>>;
43
- contentStyles?: SxProps<Theme>;
44
- navProps?: NavProps;
45
- userProps?: UserProps;
46
- menuProps?: HeaderMenuProps;
47
- sidebarEnabled?: boolean;
48
- sidebarOpen?: boolean;
49
- onSidebarToggle?: () => void;
50
- styles?: HeaderStylesOverride;
51
- 'data-testid'?: string;
52
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,13 +0,0 @@
1
- export default AccessBlocker;
2
- declare function AccessBlocker({ accessState, buttons, daysSinceExpiry, featureKey, workplaceId, cooldownInfo, onTrialRequest, onFeatureRequest, backgroundImage, }: {
3
- accessState: any;
4
- buttons?: never[] | undefined;
5
- daysSinceExpiry: any;
6
- featureKey: any;
7
- workplaceId: any;
8
- cooldownInfo?: {} | undefined;
9
- onTrialRequest: any;
10
- onFeatureRequest: any;
11
- backgroundImage: any;
12
- }): React.JSX.Element;
13
- import React from 'react';
@@ -1,43 +0,0 @@
1
- export default makeStyles;
2
- declare function makeStyles(accessState: any): {
3
- container: {
4
- position: string;
5
- display: string;
6
- flexDirection: string;
7
- alignItems: string;
8
- justifyContent: string;
9
- gap: number;
10
- width: string;
11
- height: string;
12
- padding: number;
13
- textAlign: string;
14
- background: (theme: any) => any;
15
- };
16
- backgroundImage: {
17
- position: string;
18
- inset: number;
19
- opacity: number;
20
- backgroundSize: string;
21
- backgroundPosition: string;
22
- backgroundRepeat: string;
23
- };
24
- icon: {
25
- fontSize: number;
26
- color: any;
27
- };
28
- buttonsContainer: {
29
- display: string;
30
- flexWrap: string;
31
- alignItems: string;
32
- justifyContent: string;
33
- gap: number;
34
- };
35
- primaryButton: {
36
- backgroundColor: any;
37
- };
38
- secondaryButton: {};
39
- linkButton: {
40
- cursor: string;
41
- color: string;
42
- };
43
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,10 +0,0 @@
1
- export default AccessGuard;
2
- declare function AccessGuard({ features: featuresProp, extraPermissions, workplaceId, onTrialRequest, onFeatureRequest, backgroundImage, children, }: {
3
- features?: never[] | undefined;
4
- extraPermissions?: never[] | undefined;
5
- workplaceId: any;
6
- onTrialRequest: any;
7
- onFeatureRequest: any;
8
- backgroundImage: any;
9
- children: any;
10
- }): any;
@@ -1 +0,0 @@
1
- export {};
@@ -1,8 +0,0 @@
1
- export default AccessRequestModal;
2
- declare function AccessRequestModal({ open, requestType, onSubmitRequest, onClose }: {
3
- open: any;
4
- requestType: any;
5
- onSubmitRequest: any;
6
- onClose: any;
7
- }): React.JSX.Element;
8
- import React from 'react';
@@ -1,31 +0,0 @@
1
- export default styles;
2
- declare namespace styles {
3
- let dialog: {
4
- '.MuiPaper-root': {
5
- borderRadius: string;
6
- };
7
- };
8
- namespace dialogContent {
9
- let padding: number;
10
- }
11
- namespace container {
12
- export let display: string;
13
- export let flexDirection: string;
14
- export let alignItems: string;
15
- export let gap: number;
16
- let padding_1: number;
17
- export { padding_1 as padding };
18
- export function background(theme: any): any;
19
- }
20
- namespace stepper {
21
- let width: string;
22
- }
23
- namespace disclaimer {
24
- let marginTop: number;
25
- let color: string;
26
- }
27
- namespace actions {
28
- let marginTop_1: number;
29
- export { marginTop_1 as marginTop };
30
- }
31
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- export default CooldownModal;
2
- declare function CooldownModal({ open, daysRemaining, onClose }: {
3
- open: any;
4
- daysRemaining: any;
5
- onClose: any;
6
- }): React.JSX.Element;
7
- import React from 'react';
@@ -1,30 +0,0 @@
1
- export default styles;
2
- declare namespace styles {
3
- let dialog: {
4
- '.MuiPaper-root': {
5
- borderRadius: string;
6
- };
7
- };
8
- namespace dialogContent {
9
- let padding: number;
10
- }
11
- namespace container {
12
- export let display: string;
13
- export let flexDirection: string;
14
- export let alignItems: string;
15
- export let gap: number;
16
- let padding_1: number;
17
- export { padding_1 as padding };
18
- export function background(theme: any): any;
19
- }
20
- namespace content {
21
- let marginTop: number;
22
- let marginBottom: number;
23
- let textAlign: string;
24
- }
25
- namespace actions {
26
- let display_1: string;
27
- export { display_1 as display };
28
- export let justifyContent: string;
29
- }
30
- }
@@ -1,3 +0,0 @@
1
- export { default as AccessBlocker } from "./AccessBlocker";
2
- export { default as AccessGuard } from "./AccessGuard";
3
- export { default as withAccessGuard } from "./withAccessGuard";
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- export default withAccessGuard;
2
- declare function withAccessGuard(featuresProp?: any[], options?: {}): (WrappedComponent: any) => {
3
- (props: any): React.JSX.Element;
4
- displayName: string;
5
- };
6
- import React from 'react';
@@ -1,3 +0,0 @@
1
- declare const _default: React.FC<object>;
2
- export default _default;
3
- import React from 'react';
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- export default AuthRedirect;
2
- declare function AuthRedirect(): React.JSX.Element | null;
3
- import React from 'react';
@@ -1 +0,0 @@
1
- export {};