andoncloud-sdk 1.7.24 → 1.7.26

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 +4372 -0
  3. package/dist/index.js.map +1 -0
  4. package/package.json +10 -22
  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,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 function isIframe(): boolean;
@@ -1 +0,0 @@
1
- export { default as acLogo } from './logo.svg';
@@ -1,2 +0,0 @@
1
- declare const url: string;
2
- export default url;
@@ -1,9 +0,0 @@
1
- import { mount } from 'cypress/react';
2
- declare global {
3
- namespace Cypress {
4
- interface Chainable {
5
- mount: typeof mount;
6
- getByTestId(selector: string, options?: Partial<Cypress.Loggable & Cypress.Timeoutable & Cypress.Withinable & Cypress.Shadow>): Cypress.Chainable<JQuery<HTMLElement>>;
7
- }
8
- }
9
- }
@@ -1,2 +0,0 @@
1
- declare const _default: Cypress.ConfigOptions<any>;
2
- export default _default;
@@ -1,22 +0,0 @@
1
- export default languageStore;
2
- declare const languageStore: LanguageStore;
3
- declare class LanguageStore {
4
- locale: string;
5
- translations: {
6
- forbiddenErrorMessage: string;
7
- somethingWentWrongMessage: string;
8
- changeLanguageText: string;
9
- headerLoginButton: string;
10
- headerLogoutButton: string;
11
- loginCardTitle: string;
12
- loginFormText: string;
13
- loginCardCancelButton: string;
14
- loginCardSubmitButton: string;
15
- loginCardUsernameHint: string;
16
- loginCardPasswordHint: string;
17
- networkErrorHeader: string;
18
- networkErrorButtonText: string;
19
- newVersionAvailable: string;
20
- };
21
- setLocale(locale: any): void;
22
- }
@@ -1,2 +0,0 @@
1
- export default getLocale;
2
- declare const getLocale: any;
@@ -1,2 +0,0 @@
1
- export function register(config: any): void;
2
- export function unregister(): void;
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -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 {};
@@ -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,53 +0,0 @@
1
- /// <reference types="react" />
2
- import { SxProps, Theme } from '@mui/material/styles';
3
- export interface NavItem {
4
- label: string;
5
- url?: string;
6
- action?: () => void;
7
- icon?: React.ReactNode;
8
- }
9
- export interface NavProps {
10
- items?: NavItem[];
11
- }
12
- export interface UserProps {
13
- show?: boolean;
14
- showCompanyLogo?: boolean;
15
- }
16
- export interface HeaderMenuProps {
17
- items?: NavItem[];
18
- buttonColor?: string;
19
- dropdownStyles?: SxProps<Theme>;
20
- styles?: SxProps<Theme>;
21
- }
22
- export interface IframeContent {
23
- component: string;
24
- props: Record<string, unknown>;
25
- }
26
- export interface IframeSource {
27
- source: Window;
28
- origin: string;
29
- }
30
- export interface HeaderStylesOverride {
31
- background?: string;
32
- [key: string]: unknown;
33
- }
34
- export type StyleMap = Record<string, Record<string, unknown>>;
35
- export interface HeaderProps {
36
- position?: 'absolute' | 'fixed' | 'relative' | 'static' | 'sticky';
37
- scrolled?: boolean;
38
- showAcLogo?: boolean;
39
- leadingText?: string;
40
- title?: string;
41
- titleStyles?: SxProps<Theme>;
42
- content?: React.ReactNode;
43
- contentComponents?: Record<string, React.ComponentType<any>>;
44
- contentStyles?: SxProps<Theme>;
45
- navProps?: NavProps;
46
- userProps?: UserProps;
47
- menuProps?: HeaderMenuProps;
48
- sidebarEnabled?: boolean;
49
- sidebarOpen?: boolean;
50
- onSidebarToggle?: () => void;
51
- styles?: HeaderStylesOverride;
52
- 'data-testid'?: string;
53
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,12 +0,0 @@
1
- export default AccessBlocker;
2
- declare function AccessBlocker({ accessState, buttons, daysSinceExpiry, featureKey, workplaceId, cooldownInfo, onTrialRequest, onFeatureRequest, }: {
3
- accessState: any;
4
- buttons?: any[] | undefined;
5
- daysSinceExpiry: any;
6
- featureKey: any;
7
- workplaceId: any;
8
- cooldownInfo?: {} | undefined;
9
- onTrialRequest: any;
10
- onFeatureRequest: any;
11
- }): React.JSX.Element;
12
- import React from "react";
@@ -1,34 +0,0 @@
1
- export default makeStyles;
2
- declare function makeStyles(accessState: any): {
3
- container: {
4
- display: string;
5
- flexDirection: string;
6
- alignItems: string;
7
- justifyContent: string;
8
- gap: number;
9
- width: string;
10
- height: string;
11
- padding: number;
12
- textAlign: string;
13
- background: (theme: any) => any;
14
- };
15
- icon: {
16
- fontSize: number;
17
- color: any;
18
- };
19
- buttonsContainer: {
20
- display: string;
21
- flexWrap: string;
22
- alignItems: string;
23
- justifyContent: string;
24
- gap: number;
25
- };
26
- primaryButton: {
27
- backgroundColor: any;
28
- };
29
- secondaryButton: {};
30
- linkButton: {
31
- cursor: string;
32
- color: string;
33
- };
34
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,9 +0,0 @@
1
- export default AccessGuard;
2
- declare function AccessGuard({ features: featuresProp, extraPermissions, workplaceId, onTrialRequest, onFeatureRequest, children, }: {
3
- features?: any[] | undefined;
4
- extraPermissions?: any[] | undefined;
5
- workplaceId: any;
6
- onTrialRequest: any;
7
- onFeatureRequest: any;
8
- children: any;
9
- }): 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
- const dialog: {
4
- '.MuiPaper-root': {
5
- borderRadius: string;
6
- };
7
- };
8
- namespace dialogContent {
9
- const padding: number;
10
- }
11
- namespace container {
12
- export const display: string;
13
- export const flexDirection: string;
14
- export const alignItems: string;
15
- export const gap: number;
16
- const padding_1: number;
17
- export { padding_1 as padding };
18
- export function background(theme: any): any;
19
- }
20
- namespace stepper {
21
- const width: string;
22
- }
23
- namespace disclaimer {
24
- const marginTop: number;
25
- const color: string;
26
- }
27
- namespace actions {
28
- const 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
- const dialog: {
4
- '.MuiPaper-root': {
5
- borderRadius: string;
6
- };
7
- };
8
- namespace dialogContent {
9
- const padding: number;
10
- }
11
- namespace container {
12
- export const display: string;
13
- export const flexDirection: string;
14
- export const alignItems: string;
15
- export const gap: number;
16
- const padding_1: number;
17
- export { padding_1 as padding };
18
- export function background(theme: any): any;
19
- }
20
- namespace content {
21
- const marginTop: number;
22
- const marginBottom: number;
23
- const textAlign: string;
24
- }
25
- namespace actions {
26
- const display_1: string;
27
- export { display_1 as display };
28
- export const 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,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,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 {};
@@ -1,44 +0,0 @@
1
- export default Container;
2
- declare function Container({ children, headerProps, sidebarMenuProps, sidePanelProps, styles, "data-testid": dataTestID }: {
3
- children: any;
4
- headerProps: any;
5
- sidebarMenuProps: any;
6
- sidePanelProps: any;
7
- styles: any;
8
- "data-testid": any;
9
- }): React.JSX.Element;
10
- declare namespace Container {
11
- namespace propTypes {
12
- const children: any;
13
- const headerProps: any;
14
- const sidebarMenuProps: any;
15
- const sidePanelProps: any;
16
- const styles: any;
17
- }
18
- namespace defaultProps {
19
- const headerProps_1: {};
20
- export { headerProps_1 as headerProps };
21
- export namespace sidebarMenuProps_1 {
22
- export const enabled: boolean;
23
- export const open: boolean;
24
- export const items: never[];
25
- export { DEFAULT_SIDEBAR_MENU_WIDTH as width };
26
- }
27
- export { sidebarMenuProps_1 as sidebarMenuProps };
28
- export namespace sidePanelProps_1 {
29
- const enabled_1: boolean;
30
- export { enabled_1 as enabled };
31
- const open_1: boolean;
32
- export { open_1 as open };
33
- export function onClose(): void;
34
- export const title: string;
35
- export const mainContent: null;
36
- export const asideContent: null;
37
- export { DEFAULT_SIDE_PANEL_WIDTH as width };
38
- }
39
- export { sidePanelProps_1 as sidePanelProps };
40
- }
41
- }
42
- import React from "react";
43
- declare const DEFAULT_SIDEBAR_MENU_WIDTH: 240;
44
- declare const DEFAULT_SIDE_PANEL_WIDTH: "45%";
@@ -1,20 +0,0 @@
1
- export default makeStyles;
2
- declare function makeStyles({ isEmbeddedMode }: {
3
- isEmbeddedMode: any;
4
- }): {
5
- root: {
6
- height: string;
7
- paddingTop: string | number;
8
- mixBlendMode: string;
9
- background: string;
10
- };
11
- overlay: {
12
- position: string;
13
- top: number;
14
- left: number;
15
- width: string;
16
- height: string;
17
- zIndex: number;
18
- background: string;
19
- };
20
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- export default ExternalContent;
2
- declare function ExternalContent({ src }: {
3
- src: any;
4
- }): React.JSX.Element;
5
- import React from "react";
@@ -1,6 +0,0 @@
1
- export default Footer;
2
- declare function Footer({ appVersion, apiVersion }: {
3
- appVersion: any;
4
- apiVersion: any;
5
- }): React.JSX.Element | null;
6
- import React from "react";
@@ -1,2 +0,0 @@
1
- export default IframeNavigation;
2
- declare function IframeNavigation(): null;
@@ -1,6 +0,0 @@
1
- export default Loader;
2
- declare function Loader({ width, "data-testid": dataTestId }: {
3
- width: any;
4
- "data-testid": any;
5
- }): React.JSX.Element;
6
- import React from "react";
@@ -1 +0,0 @@
1
- export {};