@thunderid/react 0.3.3 → 0.3.5

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 (255) hide show
  1. package/dist/ThunderIDReactClient.d.ts +1 -5
  2. package/dist/ThunderIDReactClient.d.ts.map +1 -1
  3. package/dist/ThunderIDReactClient.js +1 -68
  4. package/dist/ThunderIDReactClient.js.map +1 -1
  5. package/dist/cjs/ThunderIDReactClient.cjs +0 -67
  6. package/dist/cjs/ThunderIDReactClient.cjs.map +1 -1
  7. package/dist/cjs/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.cjs +1 -1
  8. package/dist/cjs/components/presentation/UserAvatar/BaseUserAvatar.cjs +57 -0
  9. package/dist/cjs/components/presentation/UserAvatar/BaseUserAvatar.cjs.map +1 -0
  10. package/dist/cjs/components/presentation/UserAvatar/UserAvatar.cjs +36 -0
  11. package/dist/cjs/components/presentation/UserAvatar/UserAvatar.cjs.map +1 -0
  12. package/dist/cjs/components/presentation/UserDropdown/BaseUserDropdown.cjs +6 -5
  13. package/dist/cjs/components/presentation/UserDropdown/BaseUserDropdown.cjs.map +1 -1
  14. package/dist/cjs/components/presentation/auth/AuthOptionFactory.cjs +3 -15
  15. package/dist/cjs/components/presentation/auth/AuthOptionFactory.cjs.map +1 -1
  16. package/dist/cjs/contexts/Theme/ThemeContext.cjs.map +1 -1
  17. package/dist/cjs/contexts/Theme/ThemeProvider.cjs +2 -5
  18. package/dist/cjs/contexts/Theme/ThemeProvider.cjs.map +1 -1
  19. package/dist/cjs/contexts/ThunderID/ThunderIDContext.cjs +0 -2
  20. package/dist/cjs/contexts/ThunderID/ThunderIDContext.cjs.map +1 -1
  21. package/dist/cjs/contexts/ThunderID/ThunderIDProvider.cjs +14 -90
  22. package/dist/cjs/contexts/ThunderID/ThunderIDProvider.cjs.map +1 -1
  23. package/dist/cjs/index.cjs +6 -51
  24. package/dist/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.js +1 -1
  25. package/dist/components/presentation/UserAvatar/BaseUserAvatar.d.ts +50 -0
  26. package/dist/components/presentation/UserAvatar/BaseUserAvatar.d.ts.map +1 -0
  27. package/dist/components/presentation/UserAvatar/BaseUserAvatar.js +55 -0
  28. package/dist/components/presentation/UserAvatar/BaseUserAvatar.js.map +1 -0
  29. package/dist/components/presentation/UserAvatar/UserAvatar.d.ts +46 -0
  30. package/dist/components/presentation/UserAvatar/UserAvatar.d.ts.map +1 -0
  31. package/dist/components/presentation/UserAvatar/UserAvatar.js +34 -0
  32. package/dist/components/presentation/UserAvatar/UserAvatar.js.map +1 -0
  33. package/dist/components/presentation/UserDropdown/BaseUserDropdown.d.ts.map +1 -1
  34. package/dist/components/presentation/UserDropdown/BaseUserDropdown.js +6 -5
  35. package/dist/components/presentation/UserDropdown/BaseUserDropdown.js.map +1 -1
  36. package/dist/components/presentation/auth/AuthOptionFactory.d.ts +2 -2
  37. package/dist/components/presentation/auth/AuthOptionFactory.d.ts.map +1 -1
  38. package/dist/components/presentation/auth/AuthOptionFactory.js +3 -15
  39. package/dist/components/presentation/auth/AuthOptionFactory.js.map +1 -1
  40. package/dist/contexts/Theme/ThemeContext.d.ts +0 -12
  41. package/dist/contexts/Theme/ThemeContext.d.ts.map +1 -1
  42. package/dist/contexts/Theme/ThemeContext.js.map +1 -1
  43. package/dist/contexts/Theme/ThemeProvider.d.ts +0 -4
  44. package/dist/contexts/Theme/ThemeProvider.d.ts.map +1 -1
  45. package/dist/contexts/Theme/ThemeProvider.js +2 -5
  46. package/dist/contexts/Theme/ThemeProvider.js.map +1 -1
  47. package/dist/contexts/ThunderID/ThunderIDContext.d.ts +2 -3
  48. package/dist/contexts/ThunderID/ThunderIDContext.d.ts.map +1 -1
  49. package/dist/contexts/ThunderID/ThunderIDContext.js +0 -2
  50. package/dist/contexts/ThunderID/ThunderIDContext.js.map +1 -1
  51. package/dist/contexts/ThunderID/ThunderIDProvider.d.ts.map +1 -1
  52. package/dist/contexts/ThunderID/ThunderIDProvider.js +15 -91
  53. package/dist/contexts/ThunderID/ThunderIDProvider.js.map +1 -1
  54. package/dist/index.d.ts +4 -40
  55. package/dist/index.d.ts.map +1 -1
  56. package/dist/index.js +5 -27
  57. package/package.json +2 -2
  58. package/dist/api/createOrganization.d.ts +0 -86
  59. package/dist/api/createOrganization.d.ts.map +0 -1
  60. package/dist/api/createOrganization.js +0 -80
  61. package/dist/api/createOrganization.js.map +0 -1
  62. package/dist/api/getAllOrganizations.d.ts +0 -78
  63. package/dist/api/getAllOrganizations.d.ts.map +0 -1
  64. package/dist/api/getAllOrganizations.js +0 -71
  65. package/dist/api/getAllOrganizations.js.map +0 -1
  66. package/dist/api/getMeOrganizations.d.ts +0 -82
  67. package/dist/api/getMeOrganizations.d.ts.map +0 -1
  68. package/dist/api/getMeOrganizations.js +0 -75
  69. package/dist/api/getMeOrganizations.js.map +0 -1
  70. package/dist/api/getOrganization.d.ts +0 -74
  71. package/dist/api/getOrganization.d.ts.map +0 -1
  72. package/dist/api/getOrganization.js +0 -67
  73. package/dist/api/getOrganization.js.map +0 -1
  74. package/dist/api/getSchemas.d.ts +0 -72
  75. package/dist/api/getSchemas.d.ts.map +0 -1
  76. package/dist/api/getSchemas.js +0 -65
  77. package/dist/api/getSchemas.js.map +0 -1
  78. package/dist/api/updateOrganization.d.ts +0 -81
  79. package/dist/api/updateOrganization.d.ts.map +0 -1
  80. package/dist/api/updateOrganization.js +0 -74
  81. package/dist/api/updateOrganization.js.map +0 -1
  82. package/dist/cjs/api/createOrganization.cjs +0 -82
  83. package/dist/cjs/api/createOrganization.cjs.map +0 -1
  84. package/dist/cjs/api/getAllOrganizations.cjs +0 -73
  85. package/dist/cjs/api/getAllOrganizations.cjs.map +0 -1
  86. package/dist/cjs/api/getMeOrganizations.cjs +0 -77
  87. package/dist/cjs/api/getMeOrganizations.cjs.map +0 -1
  88. package/dist/cjs/api/getOrganization.cjs +0 -69
  89. package/dist/cjs/api/getOrganization.cjs.map +0 -1
  90. package/dist/cjs/api/getSchemas.cjs +0 -67
  91. package/dist/cjs/api/getSchemas.cjs.map +0 -1
  92. package/dist/cjs/api/updateOrganization.cjs +0 -76
  93. package/dist/cjs/api/updateOrganization.cjs.map +0 -1
  94. package/dist/cjs/components/control/OrganizationContext/OrganizationContext.cjs +0 -34
  95. package/dist/cjs/components/control/OrganizationContext/OrganizationContext.cjs.map +0 -1
  96. package/dist/cjs/components/control/OrganizationContext/OrganizationContextController.cjs +0 -58
  97. package/dist/cjs/components/control/OrganizationContext/OrganizationContextController.cjs.map +0 -1
  98. package/dist/cjs/components/presentation/CreateOrganization/BaseCreateOrganization.cjs +0 -183
  99. package/dist/cjs/components/presentation/CreateOrganization/BaseCreateOrganization.cjs.map +0 -1
  100. package/dist/cjs/components/presentation/CreateOrganization/BaseCreateOrganization.styles.cjs +0 -150
  101. package/dist/cjs/components/presentation/CreateOrganization/BaseCreateOrganization.styles.cjs.map +0 -1
  102. package/dist/cjs/components/presentation/CreateOrganization/CreateOrganization.cjs +0 -90
  103. package/dist/cjs/components/presentation/CreateOrganization/CreateOrganization.cjs.map +0 -1
  104. package/dist/cjs/components/presentation/Organization/BaseOrganization.cjs +0 -41
  105. package/dist/cjs/components/presentation/Organization/BaseOrganization.cjs.map +0 -1
  106. package/dist/cjs/components/presentation/Organization/Organization.cjs +0 -49
  107. package/dist/cjs/components/presentation/Organization/Organization.cjs.map +0 -1
  108. package/dist/cjs/components/presentation/OrganizationList/BaseOrganizationList.cjs +0 -257
  109. package/dist/cjs/components/presentation/OrganizationList/BaseOrganizationList.cjs.map +0 -1
  110. package/dist/cjs/components/presentation/OrganizationList/BaseOrganizationList.styles.cjs +0 -236
  111. package/dist/cjs/components/presentation/OrganizationList/BaseOrganizationList.styles.cjs.map +0 -1
  112. package/dist/cjs/components/presentation/OrganizationList/OrganizationList.cjs +0 -86
  113. package/dist/cjs/components/presentation/OrganizationList/OrganizationList.cjs.map +0 -1
  114. package/dist/cjs/components/presentation/OrganizationList/OrganizationList.styles.cjs +0 -75
  115. package/dist/cjs/components/presentation/OrganizationList/OrganizationList.styles.cjs.map +0 -1
  116. package/dist/cjs/components/presentation/OrganizationProfile/BaseOrganizationProfile.cjs +0 -328
  117. package/dist/cjs/components/presentation/OrganizationProfile/BaseOrganizationProfile.cjs.map +0 -1
  118. package/dist/cjs/components/presentation/OrganizationProfile/BaseOrganizationProfile.styles.cjs +0 -166
  119. package/dist/cjs/components/presentation/OrganizationProfile/BaseOrganizationProfile.styles.cjs.map +0 -1
  120. package/dist/cjs/components/presentation/OrganizationProfile/OrganizationProfile.cjs +0 -126
  121. package/dist/cjs/components/presentation/OrganizationProfile/OrganizationProfile.cjs.map +0 -1
  122. package/dist/cjs/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.cjs +0 -288
  123. package/dist/cjs/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.cjs.map +0 -1
  124. package/dist/cjs/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.styles.cjs +0 -237
  125. package/dist/cjs/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.styles.cjs.map +0 -1
  126. package/dist/cjs/components/presentation/OrganizationSwitcher/OrganizationSwitcher.cjs +0 -127
  127. package/dist/cjs/components/presentation/OrganizationSwitcher/OrganizationSwitcher.cjs.map +0 -1
  128. package/dist/cjs/components/presentation/auth/OrganizationUnitPicker/OrganizationUnitPicker.cjs +0 -183
  129. package/dist/cjs/components/presentation/auth/OrganizationUnitPicker/OrganizationUnitPicker.cjs.map +0 -1
  130. package/dist/cjs/components/presentation/auth/OrganizationUnitPicker/OrganizationUnitPicker.styles.cjs +0 -128
  131. package/dist/cjs/components/presentation/auth/OrganizationUnitPicker/OrganizationUnitPicker.styles.cjs.map +0 -1
  132. package/dist/cjs/components/primitives/Icons/Building.cjs +0 -75
  133. package/dist/cjs/components/primitives/Icons/Building.cjs.map +0 -1
  134. package/dist/cjs/contexts/Branding/BrandingContext.cjs +0 -12
  135. package/dist/cjs/contexts/Branding/BrandingContext.cjs.map +0 -1
  136. package/dist/cjs/contexts/Branding/BrandingProvider.cjs +0 -96
  137. package/dist/cjs/contexts/Branding/BrandingProvider.cjs.map +0 -1
  138. package/dist/cjs/contexts/Branding/useBrandingContext.cjs +0 -40
  139. package/dist/cjs/contexts/Branding/useBrandingContext.cjs.map +0 -1
  140. package/dist/cjs/contexts/Organization/OrganizationContext.cjs +0 -27
  141. package/dist/cjs/contexts/Organization/OrganizationContext.cjs.map +0 -1
  142. package/dist/cjs/contexts/Organization/OrganizationProvider.cjs +0 -97
  143. package/dist/cjs/contexts/Organization/OrganizationProvider.cjs.map +0 -1
  144. package/dist/cjs/contexts/Organization/useOrganization.cjs +0 -100
  145. package/dist/cjs/contexts/Organization/useOrganization.cjs.map +0 -1
  146. package/dist/cjs/hooks/useBranding.cjs +0 -71
  147. package/dist/cjs/hooks/useBranding.cjs.map +0 -1
  148. package/dist/components/control/OrganizationContext/OrganizationContext.d.ts +0 -40
  149. package/dist/components/control/OrganizationContext/OrganizationContext.d.ts.map +0 -1
  150. package/dist/components/control/OrganizationContext/OrganizationContext.js +0 -32
  151. package/dist/components/control/OrganizationContext/OrganizationContext.js.map +0 -1
  152. package/dist/components/control/OrganizationContext/OrganizationContextController.d.ts +0 -35
  153. package/dist/components/control/OrganizationContext/OrganizationContextController.d.ts.map +0 -1
  154. package/dist/components/control/OrganizationContext/OrganizationContextController.js +0 -55
  155. package/dist/components/control/OrganizationContext/OrganizationContextController.js.map +0 -1
  156. package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.d.ts +0 -60
  157. package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.d.ts.map +0 -1
  158. package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.js +0 -178
  159. package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.js.map +0 -1
  160. package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.styles.d.ts +0 -27
  161. package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.styles.d.ts.map +0 -1
  162. package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.styles.js +0 -147
  163. package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.styles.js.map +0 -1
  164. package/dist/components/presentation/CreateOrganization/CreateOrganization.d.ts +0 -68
  165. package/dist/components/presentation/CreateOrganization/CreateOrganization.d.ts.map +0 -1
  166. package/dist/components/presentation/CreateOrganization/CreateOrganization.js +0 -87
  167. package/dist/components/presentation/CreateOrganization/CreateOrganization.js.map +0 -1
  168. package/dist/components/presentation/Organization/BaseOrganization.d.ts +0 -67
  169. package/dist/components/presentation/Organization/BaseOrganization.d.ts.map +0 -1
  170. package/dist/components/presentation/Organization/BaseOrganization.js +0 -39
  171. package/dist/components/presentation/Organization/BaseOrganization.js.map +0 -1
  172. package/dist/components/presentation/Organization/Organization.d.ts +0 -67
  173. package/dist/components/presentation/Organization/Organization.d.ts.map +0 -1
  174. package/dist/components/presentation/Organization/Organization.js +0 -47
  175. package/dist/components/presentation/Organization/Organization.js.map +0 -1
  176. package/dist/components/presentation/OrganizationList/BaseOrganizationList.d.ts +0 -135
  177. package/dist/components/presentation/OrganizationList/BaseOrganizationList.d.ts.map +0 -1
  178. package/dist/components/presentation/OrganizationList/BaseOrganizationList.js +0 -252
  179. package/dist/components/presentation/OrganizationList/BaseOrganizationList.js.map +0 -1
  180. package/dist/components/presentation/OrganizationList/BaseOrganizationList.styles.d.ts +0 -27
  181. package/dist/components/presentation/OrganizationList/BaseOrganizationList.styles.d.ts.map +0 -1
  182. package/dist/components/presentation/OrganizationList/BaseOrganizationList.styles.js +0 -233
  183. package/dist/components/presentation/OrganizationList/BaseOrganizationList.styles.js.map +0 -1
  184. package/dist/components/presentation/OrganizationList/OrganizationList.d.ts +0 -93
  185. package/dist/components/presentation/OrganizationList/OrganizationList.d.ts.map +0 -1
  186. package/dist/components/presentation/OrganizationList/OrganizationList.js +0 -82
  187. package/dist/components/presentation/OrganizationList/OrganizationList.js.map +0 -1
  188. package/dist/components/presentation/OrganizationList/OrganizationList.styles.d.ts +0 -27
  189. package/dist/components/presentation/OrganizationList/OrganizationList.styles.d.ts.map +0 -1
  190. package/dist/components/presentation/OrganizationList/OrganizationList.styles.js +0 -72
  191. package/dist/components/presentation/OrganizationList/OrganizationList.styles.js.map +0 -1
  192. package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.d.ts +0 -160
  193. package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.d.ts.map +0 -1
  194. package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.js +0 -323
  195. package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.js.map +0 -1
  196. package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.styles.d.ts +0 -27
  197. package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.styles.d.ts.map +0 -1
  198. package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.styles.js +0 -163
  199. package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.styles.js.map +0 -1
  200. package/dist/components/presentation/OrganizationProfile/OrganizationProfile.d.ts +0 -120
  201. package/dist/components/presentation/OrganizationProfile/OrganizationProfile.d.ts.map +0 -1
  202. package/dist/components/presentation/OrganizationProfile/OrganizationProfile.js +0 -122
  203. package/dist/components/presentation/OrganizationProfile/OrganizationProfile.js.map +0 -1
  204. package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.d.ts +0 -149
  205. package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.d.ts.map +0 -1
  206. package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.js +0 -282
  207. package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.js.map +0 -1
  208. package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.styles.d.ts +0 -27
  209. package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.styles.d.ts.map +0 -1
  210. package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.styles.js +0 -234
  211. package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.styles.js.map +0 -1
  212. package/dist/components/presentation/OrganizationSwitcher/OrganizationSwitcher.d.ts +0 -71
  213. package/dist/components/presentation/OrganizationSwitcher/OrganizationSwitcher.d.ts.map +0 -1
  214. package/dist/components/presentation/OrganizationSwitcher/OrganizationSwitcher.js +0 -124
  215. package/dist/components/presentation/OrganizationSwitcher/OrganizationSwitcher.js.map +0 -1
  216. package/dist/components/presentation/auth/OrganizationUnitPicker/OrganizationUnitPicker.d.ts +0 -30
  217. package/dist/components/presentation/auth/OrganizationUnitPicker/OrganizationUnitPicker.d.ts.map +0 -1
  218. package/dist/components/presentation/auth/OrganizationUnitPicker/OrganizationUnitPicker.js +0 -179
  219. package/dist/components/presentation/auth/OrganizationUnitPicker/OrganizationUnitPicker.js.map +0 -1
  220. package/dist/components/presentation/auth/OrganizationUnitPicker/OrganizationUnitPicker.styles.d.ts +0 -21
  221. package/dist/components/presentation/auth/OrganizationUnitPicker/OrganizationUnitPicker.styles.d.ts.map +0 -1
  222. package/dist/components/presentation/auth/OrganizationUnitPicker/OrganizationUnitPicker.styles.js +0 -125
  223. package/dist/components/presentation/auth/OrganizationUnitPicker/OrganizationUnitPicker.styles.js.map +0 -1
  224. package/dist/components/presentation/auth/OrganizationUnitPicker/index.d.ts +0 -20
  225. package/dist/components/presentation/auth/OrganizationUnitPicker/index.d.ts.map +0 -1
  226. package/dist/components/primitives/Icons/Building.js +0 -73
  227. package/dist/components/primitives/Icons/Building.js.map +0 -1
  228. package/dist/contexts/Branding/BrandingContext.d.ts +0 -53
  229. package/dist/contexts/Branding/BrandingContext.d.ts.map +0 -1
  230. package/dist/contexts/Branding/BrandingContext.js +0 -10
  231. package/dist/contexts/Branding/BrandingContext.js.map +0 -1
  232. package/dist/contexts/Branding/BrandingProvider.d.ts +0 -89
  233. package/dist/contexts/Branding/BrandingProvider.d.ts.map +0 -1
  234. package/dist/contexts/Branding/BrandingProvider.js +0 -92
  235. package/dist/contexts/Branding/BrandingProvider.js.map +0 -1
  236. package/dist/contexts/Branding/useBrandingContext.d.ts +0 -45
  237. package/dist/contexts/Branding/useBrandingContext.d.ts.map +0 -1
  238. package/dist/contexts/Branding/useBrandingContext.js +0 -38
  239. package/dist/contexts/Branding/useBrandingContext.js.map +0 -1
  240. package/dist/contexts/Organization/OrganizationContext.d.ts +0 -41
  241. package/dist/contexts/Organization/OrganizationContext.d.ts.map +0 -1
  242. package/dist/contexts/Organization/OrganizationContext.js +0 -25
  243. package/dist/contexts/Organization/OrganizationContext.js.map +0 -1
  244. package/dist/contexts/Organization/OrganizationProvider.d.ts +0 -94
  245. package/dist/contexts/Organization/OrganizationProvider.d.ts.map +0 -1
  246. package/dist/contexts/Organization/OrganizationProvider.js +0 -93
  247. package/dist/contexts/Organization/OrganizationProvider.js.map +0 -1
  248. package/dist/contexts/Organization/useOrganization.d.ts +0 -105
  249. package/dist/contexts/Organization/useOrganization.d.ts.map +0 -1
  250. package/dist/contexts/Organization/useOrganization.js +0 -98
  251. package/dist/contexts/Organization/useOrganization.js.map +0 -1
  252. package/dist/hooks/useBranding.d.ts +0 -128
  253. package/dist/hooks/useBranding.d.ts.map +0 -1
  254. package/dist/hooks/useBranding.js +0 -69
  255. package/dist/hooks/useBranding.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,OAAO,IAAI,iBAAiB,EAAC,MAAM,wCAAwC,CAAC;AACpF,cAAc,wCAAwC,CAAC;AAEvD,OAAO,EAAC,OAAO,IAAI,gBAAgB,EAAC,MAAM,uCAAuC,CAAC;AAClF,cAAc,uCAAuC,CAAC;AAEtD,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,mCAAmC,CAAC;AAE1E,OAAO,EAAC,OAAO,IAAI,WAAW,EAAC,MAAM,6BAA6B,CAAC;AACnE,cAAc,6BAA6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,YAAY,EAAE,kBAAkB,EAAC,MAAM,qCAAqC,CAAC;AAElG,OAAO,EAAC,OAAO,IAAI,WAAW,EAAC,MAAM,2CAA2C,CAAC;AAEjF,OAAO,EAAC,OAAO,IAAI,eAAe,EAAC,MAAM,uBAAuB,CAAC;AACjE,YAAY,EAAC,qBAAqB,EAAC,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,kBAAkB,CAAC;AACzD,cAAc,kBAAkB,CAAC;AAEjC,OAAO,EACL,qBAAqB,EACrB,IAAI,EACJ,cAAc,EACd,QAAQ,EACR,sBAAsB,EACtB,UAAU,EACV,gBAAgB,EAChB,mBAAmB,EACnB,WAAW,EACX,2BAA2B,EAC3B,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,EAClB,yBAAyB,EACzB,yBAAyB,EACzB,uBAAuB,EACvB,qBAAqB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,wBAAwB,EACxB,sBAAsB,EACtB,KAAK,kCAAkC,EACvC,KAAK,0BAA0B,EAC/B,KAAK,kCAAkC,EACvC,KAAK,iCAAiC,EACtC,KAAK,yBAAyB,EAC9B,wBAAwB,EACxB,sBAAsB,EACtB,KAAK,kCAAkC,EACvC,KAAK,0BAA0B,EAC/B,KAAK,kCAAkC,EACvC,KAAK,iCAAiC,EACtC,KAAK,yBAAyB,EAC9B,KAAK,+BAA+B,EACpC,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,0BAA0B,EAC1B,wBAAwB,EACxB,KAAK,4BAA4B,EACjC,KAAK,mCAAmC,EACxC,KAAK,2BAA2B,EAChC,KAAK,iCAAiC,GACvC,MAAM,oBAAoB,CAAC"}
package/dist/index.js CHANGED
@@ -1,9 +1,5 @@
1
1
  import ThunderIDContext_default from "./contexts/ThunderID/ThunderIDContext.js";
2
2
  import useBrowserUrl_default from "./hooks/useBrowserUrl.js";
3
- import getAllOrganizations_default from "./api/getAllOrganizations.js";
4
- import getMeOrganizations_default from "./api/getMeOrganizations.js";
5
- import BrandingContext_default from "./contexts/Branding/BrandingContext.js";
6
- import BrandingProvider_default from "./contexts/Branding/BrandingProvider.js";
7
3
  import FlowContext_default from "./contexts/Flow/FlowContext.js";
8
4
  import FlowProvider_default from "./contexts/Flow/FlowProvider.js";
9
5
  import I18nContext_default from "./contexts/I18n/I18nContext.js";
@@ -11,20 +7,16 @@ import useI18n_default from "./contexts/I18n/useI18n.js";
11
7
  import useThunderID_default from "./contexts/ThunderID/useThunderID.js";
12
8
  import FlowMetaProvider_default from "./contexts/FlowMeta/FlowMetaProvider.js";
13
9
  import I18nProvider_default from "./contexts/I18n/I18nProvider.js";
14
- import OrganizationProvider_default from "./contexts/Organization/OrganizationProvider.js";
15
10
  import ThemeContext_default from "./contexts/Theme/ThemeContext.js";
16
11
  import ThemeProvider_default from "./contexts/Theme/ThemeProvider.js";
17
12
  import UserContext_default from "./contexts/User/UserContext.js";
18
13
  import UserProvider_default from "./contexts/User/UserProvider.js";
19
14
  import ThunderIDProvider_default from "./contexts/ThunderID/ThunderIDProvider.js";
20
15
  import useUser_default from "./contexts/User/useUser.js";
21
- import useOrganization_default from "./contexts/Organization/useOrganization.js";
22
16
  import useFlow_default from "./contexts/Flow/useFlow.js";
23
17
  import useTheme_default from "./contexts/Theme/useTheme.js";
24
- import useBrandingContext_default from "./contexts/Branding/useBrandingContext.js";
25
18
  import useTranslation_default from "./hooks/useTranslation.js";
26
19
  import useForm_default from "./hooks/useForm.js";
27
- import useBranding_default from "./hooks/useBranding.js";
28
20
  import Spinner_default from "./components/primitives/Spinner/Spinner.js";
29
21
  import Button_default from "./components/primitives/Button/Button.js";
30
22
  import BaseSignInButton_default from "./components/actions/SignInButton/BaseSignInButton.js";
@@ -36,7 +28,6 @@ import SignUpButton_default from "./components/actions/SignUpButton/SignUpButton
36
28
  import SignedIn_default from "./components/control/SignedIn.js";
37
29
  import SignedOut_default from "./components/control/SignedOut.js";
38
30
  import Loading_default from "./components/control/Loading.js";
39
- import OrganizationContext_default from "./components/control/OrganizationContext/OrganizationContext.js";
40
31
  import CircleAlert_default from "./components/primitives/Icons/CircleAlert.js";
41
32
  import CircleCheck_default from "./components/primitives/Icons/CircleCheck.js";
42
33
  import Info_default from "./components/primitives/Icons/Info.js";
@@ -44,7 +35,6 @@ import TriangleAlert_default from "./components/primitives/Icons/TriangleAlert.j
44
35
  import Typography_default from "./components/primitives/Typography/Typography.js";
45
36
  import Alert_default from "./components/primitives/Alert/Alert.js";
46
37
  import Card_default from "./components/primitives/Card/Card.js";
47
- import OrganizationUnitPicker_default from "./components/presentation/auth/OrganizationUnitPicker/OrganizationUnitPicker.js";
48
38
  import Divider_default from "./components/primitives/Divider/Divider.js";
49
39
  import FormControl_default from "./components/primitives/FormControl/FormControl.js";
50
40
  import InputLabel_default from "./components/primitives/InputLabel/InputLabel.js";
@@ -84,33 +74,21 @@ import { TokenCallback } from "./components/auth/Callback/TokenCallback.js";
84
74
  import { Callback } from "./components/auth/Callback/Callback.js";
85
75
  import BaseUser_default from "./components/presentation/User/BaseUser.js";
86
76
  import User_default from "./components/presentation/User/User.js";
87
- import BaseOrganization_default from "./components/presentation/Organization/BaseOrganization.js";
88
- import Organization_default from "./components/presentation/Organization/Organization.js";
89
77
  import LogOut_default from "./components/primitives/Icons/LogOut.js";
90
78
  import User_default$1 from "./components/primitives/Icons/User.js";
91
79
  import MultiInput_default from "./components/primitives/MultiInput/MultiInput.js";
92
80
  import BaseUserProfile_default from "./components/presentation/UserProfile/BaseUserProfile.js";
93
81
  import updateMeProfile_default from "./api/updateMeProfile.js";
94
82
  import UserProfile_default from "./components/presentation/UserProfile/UserProfile.js";
83
+ import BaseUserAvatar_default from "./components/presentation/UserAvatar/BaseUserAvatar.js";
84
+ import UserAvatar_default from "./components/presentation/UserAvatar/UserAvatar.js";
95
85
  import BaseUserDropdown_default from "./components/presentation/UserDropdown/BaseUserDropdown.js";
96
86
  import UserDropdown_default from "./components/presentation/UserDropdown/UserDropdown.js";
97
- import BaseOrganizationSwitcher_default from "./components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.js";
98
- import BuildingAlt_default from "./components/primitives/Icons/BuildingAlt.js";
99
- import { BaseCreateOrganization } from "./components/presentation/CreateOrganization/BaseCreateOrganization.js";
100
- import createOrganization_default from "./api/createOrganization.js";
101
- import { CreateOrganization } from "./components/presentation/CreateOrganization/CreateOrganization.js";
102
- import BaseOrganizationList_default from "./components/presentation/OrganizationList/BaseOrganizationList.js";
103
- import OrganizationList_default from "./components/presentation/OrganizationList/OrganizationList.js";
104
- import KeyValueInput_default from "./components/primitives/KeyValueInput/KeyValueInput.js";
105
- import BaseOrganizationProfile_default from "./components/presentation/OrganizationProfile/BaseOrganizationProfile.js";
106
- import getOrganization_default from "./api/getOrganization.js";
107
- import updateOrganization_default, { createPatchOperations } from "./api/updateOrganization.js";
108
- import OrganizationProfile_default from "./components/presentation/OrganizationProfile/OrganizationProfile.js";
109
- import OrganizationSwitcher_default from "./components/presentation/OrganizationSwitcher/OrganizationSwitcher.js";
110
87
  import BaseLanguageSwitcher_default from "./components/presentation/LanguageSwitcher/BaseLanguageSwitcher.js";
111
88
  import LanguageSwitcher_default from "./components/presentation/LanguageSwitcher/LanguageSwitcher.js";
112
- import getSchemas_default from "./api/getSchemas.js";
89
+ import KeyValueInput_default from "./components/primitives/KeyValueInput/KeyValueInput.js";
90
+ import BuildingAlt_default from "./components/primitives/Icons/BuildingAlt.js";
113
91
  import getScim2Me_default from "./api/getScim2Me.js";
114
92
  import { EMOJI_URI_SCHEME, EmbeddedFlowActionVariant, EmbeddedFlowComponentType, EmbeddedFlowEventType, EmbeddedFlowTextVariant, EmbeddedRecoveryFlowStatus, EmbeddedRecoveryFlowType, EmbeddedSignInFlowStatus, EmbeddedSignInFlowType, EmbeddedSignUpFlowStatus, EmbeddedSignUpFlowType, ThunderIDRuntimeError, countryCodeToFlagEmoji, extractEmojiFromUri, getActiveTheme, http, isEmojiUri, navigate, resolveEmojiUrisInHtml, resolveFlowTemplateLiterals, resolveLocaleDisplayName, resolveLocaleEmoji, resolveMeta } from "@thunderid/browser";
115
93
 
116
- export { AcceptInvite_default as AcceptInvite, Alert_default as Alert, BaseAcceptInvite_default as BaseAcceptInvite, BaseCreateOrganization, BaseInviteUser_default as BaseInviteUser, BaseLanguageSwitcher_default as BaseLanguageSwitcher, BaseOrganization_default as BaseOrganization, BaseOrganizationList_default as BaseOrganizationList, BaseOrganizationProfile_default as BaseOrganizationProfile, BaseOrganizationSwitcher_default as BaseOrganizationSwitcher, BaseRecovery_default as BaseRecovery, BaseSignIn_default as BaseSignIn, BaseSignInButton_default as BaseSignInButton, BaseSignOutButton_default as BaseSignOutButton, BaseSignUp_default as BaseSignUp, BaseSignUpButton_default as BaseSignUpButton, BaseUser_default as BaseUser, BaseUserDropdown_default as BaseUserDropdown, BaseUserProfile_default as BaseUserProfile, BrandingContext_default as BrandingContext, BrandingProvider_default as BrandingProvider, BuildingAlt_default as BuildingAlt, Button_default as Button, Callback, Card_default as Card, Checkbox_default as Checkbox, CircleAlert_default as CircleAlert, CircleCheck_default as CircleCheck, Consent_default as Consent, ConsentCheckboxList_default as ConsentCheckboxList, CreateOrganization, DatePicker_default as DatePicker, Divider_default as Divider, EMOJI_URI_SCHEME, EmbeddedFlowActionVariant, EmbeddedFlowComponentType, EmbeddedFlowEventType, EmbeddedFlowTextVariant, EmbeddedRecoveryFlowStatus, EmbeddedRecoveryFlowType, EmbeddedSignInFlowStatus, EmbeddedSignInFlowType, EmbeddedSignUpFlowStatus, EmbeddedSignUpFlowType, Eye_default as Eye, EyeOff_default as EyeOff, FacebookButton_default as FacebookButton, FieldFactory, FlowContext_default as FlowContext, FlowMetaProvider_default as FlowMetaProvider, FlowProvider_default as FlowProvider, FlowTimer_default as FlowTimer, FormControl_default as FormControl, GitHubButton_default as GitHubButton, GoogleButton_default as GoogleButton, I18nContext_default as I18nContext, I18nProvider_default as I18nProvider, Info_default as Info, InputLabel_default as InputLabel, InviteUser_default as InviteUser, KeyValueInput_default as KeyValueInput, LanguageSwitcher_default as LanguageSwitcher, LinkedInButton_default as LinkedInButton, Loading_default as Loading, LogOut_default as LogOut, Logo_default as Logo, MicrosoftButton_default as MicrosoftButton, MultiInput_default as MultiInput, OAuthCallback, Organization_default as Organization, OrganizationContext_default as OrganizationContext, OrganizationList_default as OrganizationList, OrganizationProfile_default as OrganizationProfile, OrganizationProvider_default as OrganizationProvider, OrganizationSwitcher_default as OrganizationSwitcher, OrganizationUnitPicker_default as OrganizationUnitPicker, OtpField_default as OtpField, PasswordField_default as PasswordField, Recovery_default as Recovery, Select_default as Select, SignIn_default as SignIn, SignInButton_default as SignInButton, SignInWithEthereumButton_default as SignInWithEthereumButton, SignOutButton_default as SignOutButton, SignUp_default as SignUp, SignUpButton_default as SignUpButton, SignedIn_default as SignedIn, SignedOut_default as SignedOut, Spinner_default as Spinner, TextField_default as TextField, ThemeContext_default as ThemeContext, ThemeProvider_default as ThemeProvider, ThunderIDContext_default as ThunderIDContext, ThunderIDProvider_default as ThunderIDProvider, ThunderIDRuntimeError, Toggle_default as Toggle, TokenCallback, TriangleAlert_default as TriangleAlert, Typography_default as Typography, User_default as User, UserContext_default as UserContext, UserDropdown_default as UserDropdown, User_default$1 as UserIcon, UserProfile_default as UserProfile, UserProvider_default as UserProvider, countryCodeToFlagEmoji, createField, createOrganization_default as createOrganization, createPatchOperations, extractEmojiFromUri, getActiveTheme, getAllOrganizations_default as getAllOrganizations, getConsentOptionalKey, getMeOrganizations_default as getMeOrganizations, getScim2Me_default as getMeProfile, getOrganization_default as getOrganization, getSchemas_default as getSchemas, http, isEmojiUri, navigate, resolveEmojiUrisInHtml, resolveFlowTemplateLiterals, resolveLocaleDisplayName, resolveLocaleEmoji, resolveMeta, updateMeProfile_default as updateMeProfile, updateOrganization_default as updateOrganization, useBranding_default as useBranding, useBrandingContext_default as useBrandingContext, useBrowserUrl_default as useBrowserUrl, useFlow_default as useFlow, useForm_default as useForm, useI18n_default as useI18n, useOAuthCallback, useOrganization_default as useOrganization, useTheme_default as useTheme, useThunderID_default as useThunderID, useTranslation_default as useTranslation, useUser_default as useUser, validateFieldValue };
94
+ export { AcceptInvite_default as AcceptInvite, Alert_default as Alert, BaseAcceptInvite_default as BaseAcceptInvite, BaseInviteUser_default as BaseInviteUser, BaseLanguageSwitcher_default as BaseLanguageSwitcher, BaseRecovery_default as BaseRecovery, BaseSignIn_default as BaseSignIn, BaseSignInButton_default as BaseSignInButton, BaseSignOutButton_default as BaseSignOutButton, BaseSignUp_default as BaseSignUp, BaseSignUpButton_default as BaseSignUpButton, BaseUser_default as BaseUser, BaseUserAvatar_default as BaseUserAvatar, BaseUserDropdown_default as BaseUserDropdown, BaseUserProfile_default as BaseUserProfile, BuildingAlt_default as BuildingAlt, Button_default as Button, Callback, Card_default as Card, Checkbox_default as Checkbox, CircleAlert_default as CircleAlert, CircleCheck_default as CircleCheck, Consent_default as Consent, ConsentCheckboxList_default as ConsentCheckboxList, DatePicker_default as DatePicker, Divider_default as Divider, EMOJI_URI_SCHEME, EmbeddedFlowActionVariant, EmbeddedFlowComponentType, EmbeddedFlowEventType, EmbeddedFlowTextVariant, EmbeddedRecoveryFlowStatus, EmbeddedRecoveryFlowType, EmbeddedSignInFlowStatus, EmbeddedSignInFlowType, EmbeddedSignUpFlowStatus, EmbeddedSignUpFlowType, Eye_default as Eye, EyeOff_default as EyeOff, FacebookButton_default as FacebookButton, FieldFactory, FlowContext_default as FlowContext, FlowMetaProvider_default as FlowMetaProvider, FlowProvider_default as FlowProvider, FlowTimer_default as FlowTimer, FormControl_default as FormControl, GitHubButton_default as GitHubButton, GoogleButton_default as GoogleButton, I18nContext_default as I18nContext, I18nProvider_default as I18nProvider, Info_default as Info, InputLabel_default as InputLabel, InviteUser_default as InviteUser, KeyValueInput_default as KeyValueInput, LanguageSwitcher_default as LanguageSwitcher, LinkedInButton_default as LinkedInButton, Loading_default as Loading, LogOut_default as LogOut, Logo_default as Logo, MicrosoftButton_default as MicrosoftButton, MultiInput_default as MultiInput, OAuthCallback, OtpField_default as OtpField, PasswordField_default as PasswordField, Recovery_default as Recovery, Select_default as Select, SignIn_default as SignIn, SignInButton_default as SignInButton, SignInWithEthereumButton_default as SignInWithEthereumButton, SignOutButton_default as SignOutButton, SignUp_default as SignUp, SignUpButton_default as SignUpButton, SignedIn_default as SignedIn, SignedOut_default as SignedOut, Spinner_default as Spinner, TextField_default as TextField, ThemeContext_default as ThemeContext, ThemeProvider_default as ThemeProvider, ThunderIDContext_default as ThunderIDContext, ThunderIDProvider_default as ThunderIDProvider, ThunderIDRuntimeError, Toggle_default as Toggle, TokenCallback, TriangleAlert_default as TriangleAlert, Typography_default as Typography, User_default as User, UserAvatar_default as UserAvatar, UserContext_default as UserContext, UserDropdown_default as UserDropdown, User_default$1 as UserIcon, UserProfile_default as UserProfile, UserProvider_default as UserProvider, countryCodeToFlagEmoji, createField, extractEmojiFromUri, getActiveTheme, getConsentOptionalKey, getScim2Me_default as getMeProfile, http, isEmojiUri, navigate, resolveEmojiUrisInHtml, resolveFlowTemplateLiterals, resolveLocaleDisplayName, resolveLocaleEmoji, resolveMeta, updateMeProfile_default as updateMeProfile, useBrowserUrl_default as useBrowserUrl, useFlow_default as useFlow, useForm_default as useForm, useI18n_default as useI18n, useOAuthCallback, useTheme_default as useTheme, useThunderID_default as useThunderID, useTranslation_default as useTranslation, useUser_default as useUser, validateFieldValue };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thunderid/react",
3
- "version": "0.3.3",
3
+ "version": "0.3.5",
4
4
  "description": "React SDK for ThunderID",
5
5
  "keywords": [
6
6
  "thunderid",
@@ -61,7 +61,7 @@
61
61
  "@floating-ui/react": "0.27.12",
62
62
  "dompurify": "3.4.11",
63
63
  "tslib": "2.8.1",
64
- "@thunderid/browser": "^0.3.1"
64
+ "@thunderid/browser": "^0.3.3"
65
65
  },
66
66
  "publishConfig": {
67
67
  "access": "public"
@@ -1,86 +0,0 @@
1
- /**
2
- * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
3
- *
4
- * WSO2 LLC. licenses this file to you under the Apache License,
5
- * Version 2.0 (the "License"); you may not use this file except
6
- * in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing,
12
- * software distributed under the License is distributed on an
13
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
- * KIND, either express or implied. See the License for the
15
- * specific language governing permissions and limitations
16
- * under the License.
17
- */
18
- import { Organization, CreateOrganizationConfig as BaseCreateOrganizationConfig } from '@thunderid/browser';
19
- /**
20
- * Configuration for the createOrganization request (React-specific)
21
- */
22
- export interface CreateOrganizationConfig extends Omit<BaseCreateOrganizationConfig, 'fetcher'> {
23
- /**
24
- * Optional custom fetcher function. If not provided, the ThunderID SPA client's httpClient will be used
25
- * which is a wrapper around axios http.request
26
- */
27
- fetcher?: (url: string, config: RequestInit) => Promise<Response>;
28
- /**
29
- * Optional instance ID for multi-instance support. Defaults to 0.
30
- */
31
- instanceId?: number;
32
- }
33
- /**
34
- * Creates a new organization.
35
- * This function uses the ThunderID SPA client's httpClient by default, but allows for custom fetchers.
36
- *
37
- * @param config - Configuration object containing baseUrl, payload and optional request config.
38
- * @returns A promise that resolves with the created organization information.
39
- * @example
40
- * ```typescript
41
- * // Using default ThunderID SPA client httpClient
42
- * try {
43
- * const organization = await createOrganization({
44
- * baseUrl: "https://localhost:8090",
45
- * payload: {
46
- * description: "Share your screens",
47
- * name: "Team Viewer",
48
- * orgHandle: "team-viewer",
49
- * parentId: "f4825104-4948-40d9-ab65-a960eee3e3d5",
50
- * type: "TENANT"
51
- * }
52
- * });
53
- * console.log(organization);
54
- * } catch (error) {
55
- * if (error instanceof ThunderIDAPIError) {
56
- * console.error('Failed to create organization:', error.message);
57
- * }
58
- * }
59
- * ```
60
- *
61
- * @example
62
- * ```typescript
63
- * // Using custom fetcher
64
- * try {
65
- * const organization = await createOrganization({
66
- * baseUrl: "https://localhost:8090",
67
- * payload: {
68
- * description: "Share your screens",
69
- * name: "Team Viewer",
70
- * orgHandle: "team-viewer",
71
- * parentId: "f4825104-4948-40d9-ab65-a960eee3e3d5",
72
- * type: "TENANT"
73
- * },
74
- * fetcher: customFetchFunction
75
- * });
76
- * console.log(organization);
77
- * } catch (error) {
78
- * if (error instanceof ThunderIDAPIError) {
79
- * console.error('Failed to create organization:', error.message);
80
- * }
81
- * }
82
- * ```
83
- */
84
- declare const createOrganization: ({ fetcher, instanceId, ...requestConfig }: CreateOrganizationConfig) => Promise<Organization>;
85
- export default createOrganization;
86
- //# sourceMappingURL=createOrganization.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createOrganization.d.ts","sourceRoot":"","sources":["../../src/api/createOrganization.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EACL,YAAY,EAKZ,wBAAwB,IAAI,4BAA4B,EACzD,MAAM,oBAAoB,CAAC;AAE5B;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,IAAI,CAAC,4BAA4B,EAAE,SAAS,CAAC;IAC7F;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClE;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,QAAA,MAAM,kBAAkB,GAAU,2CAI/B,wBAAwB,KAAG,OAAO,CAAC,YAAY,CAuBjD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1,80 +0,0 @@
1
- import { FetchHttpClient, createOrganization } from "@thunderid/browser";
2
-
3
- //#region src/api/createOrganization.ts
4
- /**
5
- * Creates a new organization.
6
- * This function uses the ThunderID SPA client's httpClient by default, but allows for custom fetchers.
7
- *
8
- * @param config - Configuration object containing baseUrl, payload and optional request config.
9
- * @returns A promise that resolves with the created organization information.
10
- * @example
11
- * ```typescript
12
- * // Using default ThunderID SPA client httpClient
13
- * try {
14
- * const organization = await createOrganization({
15
- * baseUrl: "https://localhost:8090",
16
- * payload: {
17
- * description: "Share your screens",
18
- * name: "Team Viewer",
19
- * orgHandle: "team-viewer",
20
- * parentId: "f4825104-4948-40d9-ab65-a960eee3e3d5",
21
- * type: "TENANT"
22
- * }
23
- * });
24
- * console.log(organization);
25
- * } catch (error) {
26
- * if (error instanceof ThunderIDAPIError) {
27
- * console.error('Failed to create organization:', error.message);
28
- * }
29
- * }
30
- * ```
31
- *
32
- * @example
33
- * ```typescript
34
- * // Using custom fetcher
35
- * try {
36
- * const organization = await createOrganization({
37
- * baseUrl: "https://localhost:8090",
38
- * payload: {
39
- * description: "Share your screens",
40
- * name: "Team Viewer",
41
- * orgHandle: "team-viewer",
42
- * parentId: "f4825104-4948-40d9-ab65-a960eee3e3d5",
43
- * type: "TENANT"
44
- * },
45
- * fetcher: customFetchFunction
46
- * });
47
- * console.log(organization);
48
- * } catch (error) {
49
- * if (error instanceof ThunderIDAPIError) {
50
- * console.error('Failed to create organization:', error.message);
51
- * }
52
- * }
53
- * ```
54
- */
55
- const createOrganization$1 = async ({ fetcher, instanceId = 0,...requestConfig }) => {
56
- const defaultFetcher = async (url, config) => {
57
- const response = await FetchHttpClient.getInstance(instanceId).request({
58
- data: config.body ? JSON.parse(config.body) : void 0,
59
- headers: config.headers,
60
- method: config.method || "POST",
61
- url
62
- });
63
- return {
64
- json: () => Promise.resolve(response.data),
65
- ok: response.status >= 200 && response.status < 300,
66
- status: response.status,
67
- statusText: response.statusText || "",
68
- text: () => Promise.resolve(typeof response.data === "string" ? response.data : JSON.stringify(response.data))
69
- };
70
- };
71
- return createOrganization({
72
- ...requestConfig,
73
- fetcher: fetcher || defaultFetcher
74
- });
75
- };
76
- var createOrganization_default = createOrganization$1;
77
-
78
- //#endregion
79
- export { createOrganization_default as default };
80
- //# sourceMappingURL=createOrganization.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createOrganization.js","names":["createOrganization","response: HttpResponse<any>","baseCreateOrganization"],"sources":["../../src/api/createOrganization.ts"],"sourcesContent":["/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport {\n Organization,\n HttpResponse,\n FetchHttpClient,\n HttpRequestConfig,\n createOrganization as baseCreateOrganization,\n CreateOrganizationConfig as BaseCreateOrganizationConfig,\n} from '@thunderid/browser';\n\n/**\n * Configuration for the createOrganization request (React-specific)\n */\nexport interface CreateOrganizationConfig extends Omit<BaseCreateOrganizationConfig, 'fetcher'> {\n /**\n * Optional custom fetcher function. If not provided, the ThunderID SPA client's httpClient will be used\n * which is a wrapper around axios http.request\n */\n fetcher?: (url: string, config: RequestInit) => Promise<Response>;\n /**\n * Optional instance ID for multi-instance support. Defaults to 0.\n */\n instanceId?: number;\n}\n\n/**\n * Creates a new organization.\n * This function uses the ThunderID SPA client's httpClient by default, but allows for custom fetchers.\n *\n * @param config - Configuration object containing baseUrl, payload and optional request config.\n * @returns A promise that resolves with the created organization information.\n * @example\n * ```typescript\n * // Using default ThunderID SPA client httpClient\n * try {\n * const organization = await createOrganization({\n * baseUrl: \"https://localhost:8090\",\n * payload: {\n * description: \"Share your screens\",\n * name: \"Team Viewer\",\n * orgHandle: \"team-viewer\",\n * parentId: \"f4825104-4948-40d9-ab65-a960eee3e3d5\",\n * type: \"TENANT\"\n * }\n * });\n * console.log(organization);\n * } catch (error) {\n * if (error instanceof ThunderIDAPIError) {\n * console.error('Failed to create organization:', error.message);\n * }\n * }\n * ```\n *\n * @example\n * ```typescript\n * // Using custom fetcher\n * try {\n * const organization = await createOrganization({\n * baseUrl: \"https://localhost:8090\",\n * payload: {\n * description: \"Share your screens\",\n * name: \"Team Viewer\",\n * orgHandle: \"team-viewer\",\n * parentId: \"f4825104-4948-40d9-ab65-a960eee3e3d5\",\n * type: \"TENANT\"\n * },\n * fetcher: customFetchFunction\n * });\n * console.log(organization);\n * } catch (error) {\n * if (error instanceof ThunderIDAPIError) {\n * console.error('Failed to create organization:', error.message);\n * }\n * }\n * ```\n */\nconst createOrganization = async ({\n fetcher,\n instanceId = 0,\n ...requestConfig\n}: CreateOrganizationConfig): Promise<Organization> => {\n const defaultFetcher = async (url: string, config: RequestInit): Promise<Response> => {\n const httpClient: FetchHttpClient = FetchHttpClient.getInstance(instanceId);\n const response: HttpResponse<any> = await httpClient.request({\n data: config.body ? JSON.parse(config.body as string) : undefined,\n headers: config.headers as Record<string, string>,\n method: config.method || 'POST',\n url,\n } as HttpRequestConfig);\n\n return {\n json: () => Promise.resolve(response.data),\n ok: response.status >= 200 && response.status < 300,\n status: response.status,\n statusText: response.statusText || '',\n text: () => Promise.resolve(typeof response.data === 'string' ? response.data : JSON.stringify(response.data)),\n } as Response;\n };\n\n return baseCreateOrganization({\n ...requestConfig,\n fetcher: fetcher || defaultFetcher,\n });\n};\n\nexport default createOrganization;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6FA,MAAMA,uBAAqB,OAAO,EAChC,SACA,aAAa,EACb,GAAG,oBACkD;CACrD,MAAM,iBAAiB,OAAO,KAAa,WAA2C;EAEpF,MAAMC,WAA8B,MADA,gBAAgB,YAAY,WAAW,CACtB,QAAQ;GAC3D,MAAM,OAAO,OAAO,KAAK,MAAM,OAAO,KAAe,GAAG;GACxD,SAAS,OAAO;GAChB,QAAQ,OAAO,UAAU;GACzB;GACD,CAAsB;AAEvB,SAAO;GACL,YAAY,QAAQ,QAAQ,SAAS,KAAK;GAC1C,IAAI,SAAS,UAAU,OAAO,SAAS,SAAS;GAChD,QAAQ,SAAS;GACjB,YAAY,SAAS,cAAc;GACnC,YAAY,QAAQ,QAAQ,OAAO,SAAS,SAAS,WAAW,SAAS,OAAO,KAAK,UAAU,SAAS,KAAK,CAAC;GAC/G;;AAGH,QAAOC,mBAAuB;EAC5B,GAAG;EACH,SAAS,WAAW;EACrB,CAAC;;AAGJ,iCAAeF"}
@@ -1,78 +0,0 @@
1
- /**
2
- * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
3
- *
4
- * WSO2 LLC. licenses this file to you under the Apache License,
5
- * Version 2.0 (the "License"); you may not use this file except
6
- * in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing,
12
- * software distributed under the License is distributed on an
13
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
- * KIND, either express or implied. See the License for the
15
- * specific language governing permissions and limitations
16
- * under the License.
17
- */
18
- import { GetAllOrganizationsConfig as BaseGetAllOrganizationsConfig, AllOrganizationsApiResponse } from '@thunderid/browser';
19
- /**
20
- * Configuration for the getAllOrganizations request (React-specific)
21
- */
22
- export interface GetAllOrganizationsConfig extends Omit<BaseGetAllOrganizationsConfig, 'fetcher'> {
23
- /**
24
- * Optional custom fetcher function. If not provided, the ThunderID SPA client's httpClient will be used
25
- * which is a wrapper around axios http.request
26
- */
27
- fetcher?: (url: string, config: RequestInit) => Promise<Response>;
28
- /**
29
- * Optional instance ID for multi-instance support. Defaults to 0.
30
- */
31
- instanceId?: number;
32
- }
33
- /**
34
- * Retrieves all organizations with pagination support.
35
- * This function uses the ThunderID SPA client's httpClient by default, but allows for custom fetchers.
36
- *
37
- * @param config - Configuration object containing baseUrl, optional query parameters, and request config.
38
- * @returns A promise that resolves with the paginated organizations information.
39
- * @example
40
- * ```typescript
41
- * // Using default ThunderID SPA client httpClient
42
- * try {
43
- * const response = await getAllOrganizations({
44
- * baseUrl: "https://localhost:8090",
45
- * filter: "",
46
- * limit: 10,
47
- * recursive: false
48
- * });
49
- * console.log(response.organizations);
50
- * } catch (error) {
51
- * if (error instanceof ThunderIDAPIError) {
52
- * console.error('Failed to get organizations:', error.message);
53
- * }
54
- * }
55
- * ```
56
- *
57
- * @example
58
- * ```typescript
59
- * // Using custom fetcher
60
- * try {
61
- * const response = await getAllOrganizations({
62
- * baseUrl: "https://localhost:8090",
63
- * filter: "",
64
- * limit: 10,
65
- * recursive: false,
66
- * fetcher: customFetchFunction
67
- * });
68
- * console.log(response.organizations);
69
- * } catch (error) {
70
- * if (error instanceof ThunderIDAPIError) {
71
- * console.error('Failed to get organizations:', error.message);
72
- * }
73
- * }
74
- * ```
75
- */
76
- declare const getAllOrganizations: ({ fetcher, instanceId, ...requestConfig }: GetAllOrganizationsConfig) => Promise<AllOrganizationsApiResponse>;
77
- export default getAllOrganizations;
78
- //# sourceMappingURL=getAllOrganizations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getAllOrganizations.d.ts","sourceRoot":"","sources":["../../src/api/getAllOrganizations.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAKL,yBAAyB,IAAI,6BAA6B,EAC1D,2BAA2B,EAC5B,MAAM,oBAAoB,CAAC;AAE5B;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,IAAI,CAAC,6BAA6B,EAAE,SAAS,CAAC;IAC/F;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClE;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,QAAA,MAAM,mBAAmB,GAAU,2CAIhC,yBAAyB,KAAG,OAAO,CAAC,2BAA2B,CAsBjE,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -1,71 +0,0 @@
1
- import { FetchHttpClient, getAllOrganizations } from "@thunderid/browser";
2
-
3
- //#region src/api/getAllOrganizations.ts
4
- /**
5
- * Retrieves all organizations with pagination support.
6
- * This function uses the ThunderID SPA client's httpClient by default, but allows for custom fetchers.
7
- *
8
- * @param config - Configuration object containing baseUrl, optional query parameters, and request config.
9
- * @returns A promise that resolves with the paginated organizations information.
10
- * @example
11
- * ```typescript
12
- * // Using default ThunderID SPA client httpClient
13
- * try {
14
- * const response = await getAllOrganizations({
15
- * baseUrl: "https://localhost:8090",
16
- * filter: "",
17
- * limit: 10,
18
- * recursive: false
19
- * });
20
- * console.log(response.organizations);
21
- * } catch (error) {
22
- * if (error instanceof ThunderIDAPIError) {
23
- * console.error('Failed to get organizations:', error.message);
24
- * }
25
- * }
26
- * ```
27
- *
28
- * @example
29
- * ```typescript
30
- * // Using custom fetcher
31
- * try {
32
- * const response = await getAllOrganizations({
33
- * baseUrl: "https://localhost:8090",
34
- * filter: "",
35
- * limit: 10,
36
- * recursive: false,
37
- * fetcher: customFetchFunction
38
- * });
39
- * console.log(response.organizations);
40
- * } catch (error) {
41
- * if (error instanceof ThunderIDAPIError) {
42
- * console.error('Failed to get organizations:', error.message);
43
- * }
44
- * }
45
- * ```
46
- */
47
- const getAllOrganizations$1 = async ({ fetcher, instanceId = 0,...requestConfig }) => {
48
- const defaultFetcher = async (url, config) => {
49
- const response = await FetchHttpClient.getInstance(instanceId).request({
50
- headers: config.headers,
51
- method: config.method || "GET",
52
- url
53
- });
54
- return {
55
- json: () => Promise.resolve(response.data),
56
- ok: response.status >= 200 && response.status < 300,
57
- status: response.status,
58
- statusText: response.statusText || "",
59
- text: () => Promise.resolve(typeof response.data === "string" ? response.data : JSON.stringify(response.data))
60
- };
61
- };
62
- return getAllOrganizations({
63
- ...requestConfig,
64
- fetcher: fetcher || defaultFetcher
65
- });
66
- };
67
- var getAllOrganizations_default = getAllOrganizations$1;
68
-
69
- //#endregion
70
- export { getAllOrganizations_default as default };
71
- //# sourceMappingURL=getAllOrganizations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getAllOrganizations.js","names":["getAllOrganizations","response: HttpResponse<any>","baseGetAllOrganizations"],"sources":["../../src/api/getAllOrganizations.ts"],"sourcesContent":["/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport {\n HttpResponse,\n FetchHttpClient,\n HttpRequestConfig,\n getAllOrganizations as baseGetAllOrganizations,\n GetAllOrganizationsConfig as BaseGetAllOrganizationsConfig,\n AllOrganizationsApiResponse,\n} from '@thunderid/browser';\n\n/**\n * Configuration for the getAllOrganizations request (React-specific)\n */\nexport interface GetAllOrganizationsConfig extends Omit<BaseGetAllOrganizationsConfig, 'fetcher'> {\n /**\n * Optional custom fetcher function. If not provided, the ThunderID SPA client's httpClient will be used\n * which is a wrapper around axios http.request\n */\n fetcher?: (url: string, config: RequestInit) => Promise<Response>;\n /**\n * Optional instance ID for multi-instance support. Defaults to 0.\n */\n instanceId?: number;\n}\n\n/**\n * Retrieves all organizations with pagination support.\n * This function uses the ThunderID SPA client's httpClient by default, but allows for custom fetchers.\n *\n * @param config - Configuration object containing baseUrl, optional query parameters, and request config.\n * @returns A promise that resolves with the paginated organizations information.\n * @example\n * ```typescript\n * // Using default ThunderID SPA client httpClient\n * try {\n * const response = await getAllOrganizations({\n * baseUrl: \"https://localhost:8090\",\n * filter: \"\",\n * limit: 10,\n * recursive: false\n * });\n * console.log(response.organizations);\n * } catch (error) {\n * if (error instanceof ThunderIDAPIError) {\n * console.error('Failed to get organizations:', error.message);\n * }\n * }\n * ```\n *\n * @example\n * ```typescript\n * // Using custom fetcher\n * try {\n * const response = await getAllOrganizations({\n * baseUrl: \"https://localhost:8090\",\n * filter: \"\",\n * limit: 10,\n * recursive: false,\n * fetcher: customFetchFunction\n * });\n * console.log(response.organizations);\n * } catch (error) {\n * if (error instanceof ThunderIDAPIError) {\n * console.error('Failed to get organizations:', error.message);\n * }\n * }\n * ```\n */\nconst getAllOrganizations = async ({\n fetcher,\n instanceId = 0,\n ...requestConfig\n}: GetAllOrganizationsConfig): Promise<AllOrganizationsApiResponse> => {\n const defaultFetcher = async (url: string, config: RequestInit): Promise<Response> => {\n const httpClient: FetchHttpClient = FetchHttpClient.getInstance(instanceId);\n const response: HttpResponse<any> = await httpClient.request({\n headers: config.headers as Record<string, string>,\n method: config.method || 'GET',\n url,\n } as HttpRequestConfig);\n\n return {\n json: () => Promise.resolve(response.data),\n ok: response.status >= 200 && response.status < 300,\n status: response.status,\n statusText: response.statusText || '',\n text: () => Promise.resolve(typeof response.data === 'string' ? response.data : JSON.stringify(response.data)),\n } as Response;\n };\n\n return baseGetAllOrganizations({\n ...requestConfig,\n fetcher: fetcher || defaultFetcher,\n });\n};\n\nexport default getAllOrganizations;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqFA,MAAMA,wBAAsB,OAAO,EACjC,SACA,aAAa,EACb,GAAG,oBACkE;CACrE,MAAM,iBAAiB,OAAO,KAAa,WAA2C;EAEpF,MAAMC,WAA8B,MADA,gBAAgB,YAAY,WAAW,CACtB,QAAQ;GAC3D,SAAS,OAAO;GAChB,QAAQ,OAAO,UAAU;GACzB;GACD,CAAsB;AAEvB,SAAO;GACL,YAAY,QAAQ,QAAQ,SAAS,KAAK;GAC1C,IAAI,SAAS,UAAU,OAAO,SAAS,SAAS;GAChD,QAAQ,SAAS;GACjB,YAAY,SAAS,cAAc;GACnC,YAAY,QAAQ,QAAQ,OAAO,SAAS,SAAS,WAAW,SAAS,OAAO,KAAK,UAAU,SAAS,KAAK,CAAC;GAC/G;;AAGH,QAAOC,oBAAwB;EAC7B,GAAG;EACH,SAAS,WAAW;EACrB,CAAC;;AAGJ,kCAAeF"}
@@ -1,82 +0,0 @@
1
- /**
2
- * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
3
- *
4
- * WSO2 LLC. licenses this file to you under the Apache License,
5
- * Version 2.0 (the "License"); you may not use this file except
6
- * in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing,
12
- * software distributed under the License is distributed on an
13
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
- * KIND, either express or implied. See the License for the
15
- * specific language governing permissions and limitations
16
- * under the License.
17
- */
18
- import { Organization, GetMeOrganizationsConfig as BaseGetMeOrganizationsConfig } from '@thunderid/browser';
19
- /**
20
- * Configuration for the getMeOrganizations request (React-specific)
21
- */
22
- export interface GetMeOrganizationsConfig extends Omit<BaseGetMeOrganizationsConfig, 'fetcher'> {
23
- /**
24
- * Optional custom fetcher function. If not provided, the ThunderID SPA client's httpClient will be used
25
- * which is a wrapper around axios http.request
26
- */
27
- fetcher?: (url: string, config: RequestInit) => Promise<Response>;
28
- /**
29
- * Optional instance ID for multi-instance support. Defaults to 0.
30
- */
31
- instanceId?: number;
32
- }
33
- /**
34
- * Retrieves the organizations associated with the current user.
35
- * This function uses the ThunderID SPA client's httpClient by default, but allows for custom fetchers.
36
- *
37
- * @param config - Configuration object containing baseUrl, optional query parameters, and request config.
38
- * @returns A promise that resolves with the organizations information.
39
- * @example
40
- * ```typescript
41
- * // Using default ThunderID SPA client httpClient
42
- * try {
43
- * const organizations = await getMeOrganizations({
44
- * baseUrl: "https://localhost:8090",
45
- * after: "",
46
- * before: "",
47
- * filter: "",
48
- * limit: 10,
49
- * recursive: false
50
- * });
51
- * console.log(organizations);
52
- * } catch (error) {
53
- * if (error instanceof ThunderIDAPIError) {
54
- * console.error('Failed to get organizations:', error.message);
55
- * }
56
- * }
57
- * ```
58
- *
59
- * @example
60
- * ```typescript
61
- * // Using custom fetcher
62
- * try {
63
- * const organizations = await getMeOrganizations({
64
- * baseUrl: "https://localhost:8090",
65
- * after: "",
66
- * before: "",
67
- * filter: "",
68
- * limit: 10,
69
- * recursive: false,
70
- * fetcher: customFetchFunction
71
- * });
72
- * console.log(organizations);
73
- * } catch (error) {
74
- * if (error instanceof ThunderIDAPIError) {
75
- * console.error('Failed to get organizations:', error.message);
76
- * }
77
- * }
78
- * ```
79
- */
80
- declare const getMeOrganizations: ({ fetcher, instanceId, ...requestConfig }: GetMeOrganizationsConfig) => Promise<Organization[]>;
81
- export default getMeOrganizations;
82
- //# sourceMappingURL=getMeOrganizations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getMeOrganizations.d.ts","sourceRoot":"","sources":["../../src/api/getMeOrganizations.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EACL,YAAY,EAKZ,wBAAwB,IAAI,4BAA4B,EACzD,MAAM,oBAAoB,CAAC;AAE5B;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,IAAI,CAAC,4BAA4B,EAAE,SAAS,CAAC;IAC7F;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClE;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,QAAA,MAAM,kBAAkB,GAAU,2CAI/B,wBAAwB,KAAG,OAAO,CAAC,YAAY,EAAE,CAsBnD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}