@commercetools-frontend/application-shell 0.0.0-FEC-157-preview-releases-20241126230331

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 (324) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +7 -0
  3. package/dist/application-entry-point-547561a2.cjs.dev.js +109 -0
  4. package/dist/application-entry-point-54a9664f.esm.js +94 -0
  5. package/dist/application-entry-point-654951a6.cjs.prod.js +90 -0
  6. package/dist/box-09bf50e1.cjs.prod.js +30 -0
  7. package/dist/box-4857aa65.cjs.dev.js +30 -0
  8. package/dist/box-9cf180c1.esm.js +17 -0
  9. package/dist/cart-645074db.cjs.prod.js +30 -0
  10. package/dist/cart-b0044279.cjs.dev.js +30 -0
  11. package/dist/cart-bb491ca1.esm.js +17 -0
  12. package/dist/commercetools-frontend-application-shell.cjs.d.ts +2 -0
  13. package/dist/commercetools-frontend-application-shell.cjs.d.ts.map +1 -0
  14. package/dist/commercetools-frontend-application-shell.cjs.dev.js +215 -0
  15. package/dist/commercetools-frontend-application-shell.cjs.js +7 -0
  16. package/dist/commercetools-frontend-application-shell.cjs.prod.js +215 -0
  17. package/dist/commercetools-frontend-application-shell.esm.js +81 -0
  18. package/dist/connected-square-2d046cb8.cjs.prod.js +30 -0
  19. package/dist/connected-square-a2fea344.cjs.dev.js +30 -0
  20. package/dist/connected-square-fe6a790f.esm.js +17 -0
  21. package/dist/custom-view-dev-host-076c2a9f.cjs.prod.js +197 -0
  22. package/dist/custom-view-dev-host-5eebbfcd.esm.js +188 -0
  23. package/dist/custom-view-dev-host-7e7d8572.cjs.dev.js +200 -0
  24. package/dist/declarations/src/components/app-bar/app-bar.d.ts +10 -0
  25. package/dist/declarations/src/components/app-bar/index.d.ts +1 -0
  26. package/dist/declarations/src/components/application-entry-point/application-entry-point.d.ts +10 -0
  27. package/dist/declarations/src/components/application-entry-point/index.d.ts +1 -0
  28. package/dist/declarations/src/components/application-loader/application-loader.d.ts +8 -0
  29. package/dist/declarations/src/components/application-loader/index.d.ts +1 -0
  30. package/dist/declarations/src/components/application-page-title/application-page-title.d.ts +25 -0
  31. package/dist/declarations/src/components/application-page-title/index.d.ts +1 -0
  32. package/dist/declarations/src/components/application-shell/application-shell.d.ts +45 -0
  33. package/dist/declarations/src/components/application-shell/global-styles.d.ts +3 -0
  34. package/dist/declarations/src/components/application-shell/index.d.ts +1 -0
  35. package/dist/declarations/src/components/application-shell-authenticated/application-shell-authenticated.d.ts +25 -0
  36. package/dist/declarations/src/components/application-shell-provider/application-shell-provider.d.ts +17 -0
  37. package/dist/declarations/src/components/application-shell-provider/index.d.ts +1 -0
  38. package/dist/declarations/src/components/application-shell-provider/use-coerced-environment-values.d.ts +6 -0
  39. package/dist/declarations/src/components/application-shell-provider/utils.d.ts +3 -0
  40. package/dist/declarations/src/components/authenticated/am-i-logged-in.d.ts +13 -0
  41. package/dist/declarations/src/components/authenticated/authenticated.d.ts +16 -0
  42. package/dist/declarations/src/components/authenticated/has-cached-authentication-state.d.ts +2 -0
  43. package/dist/declarations/src/components/authenticated/index.d.ts +1 -0
  44. package/dist/declarations/src/components/authenticated/oidc-callback-error-page.d.ts +12 -0
  45. package/dist/declarations/src/components/authenticated/oidc-callback.async.d.ts +6 -0
  46. package/dist/declarations/src/components/authenticated/oidc-callback.d.ts +11 -0
  47. package/dist/declarations/src/components/authenticated/types.d.ts +6 -0
  48. package/dist/declarations/src/components/back-to-project/back-to-project.d.ts +8 -0
  49. package/dist/declarations/src/components/back-to-project/index.d.ts +1 -0
  50. package/dist/declarations/src/components/back-to-project/messages.d.ts +7 -0
  51. package/dist/declarations/src/components/configure-intl-provider/configure-intl-provider.d.ts +12 -0
  52. package/dist/declarations/src/components/configure-intl-provider/index.d.ts +1 -0
  53. package/dist/declarations/src/components/custom-view-dev-host/custom-view-dev-host.d.ts +11 -0
  54. package/dist/declarations/src/components/custom-view-dev-host/index.d.ts +6 -0
  55. package/dist/declarations/src/components/custom-view-flop-flip-provider/custom-view-flop-flip-provider.d.ts +10 -0
  56. package/dist/declarations/src/components/custom-view-flop-flip-provider/index.d.ts +1 -0
  57. package/dist/declarations/src/components/custom-view-shell/custom-view-shell.d.ts +12 -0
  58. package/dist/declarations/src/components/custom-view-shell/custom-view-shell.styles.d.ts +9 -0
  59. package/dist/declarations/src/components/custom-view-shell/index.d.ts +1 -0
  60. package/dist/declarations/src/components/custom-view-shell-authenticated/custom-view-shell-authenticated.d.ts +15 -0
  61. package/dist/declarations/src/components/custom-view-shell-authenticated/index.d.ts +1 -0
  62. package/dist/declarations/src/components/error-apologizer/error-apologizer.d.ts +5 -0
  63. package/dist/declarations/src/components/error-apologizer/index.d.ts +6 -0
  64. package/dist/declarations/src/components/error-apologizer/messages.d.ts +11 -0
  65. package/dist/declarations/src/components/error-boundary/error-boundary.d.ts +20 -0
  66. package/dist/declarations/src/components/error-boundary/index.d.ts +1 -0
  67. package/dist/declarations/src/components/fetch-project/fetch-project.d.ts +18 -0
  68. package/dist/declarations/src/components/fetch-project/index.d.ts +1 -0
  69. package/dist/declarations/src/components/fetch-user/fetch-user.d.ts +16 -0
  70. package/dist/declarations/src/components/fetch-user/index.d.ts +1 -0
  71. package/dist/declarations/src/components/inject-reducers/index.d.ts +1 -0
  72. package/dist/declarations/src/components/inject-reducers/inject-reducers.d.ts +14 -0
  73. package/dist/declarations/src/components/loading-placeholder/index.d.ts +1 -0
  74. package/dist/declarations/src/components/loading-placeholder/loading-placeholder.d.ts +10 -0
  75. package/dist/declarations/src/components/locale-switcher/index.d.ts +1 -0
  76. package/dist/declarations/src/components/locale-switcher/locale-switcher.d.ts +12 -0
  77. package/dist/declarations/src/components/locale-switcher/messages.d.ts +18 -0
  78. package/dist/declarations/src/components/navbar/index.d.ts +6 -0
  79. package/dist/declarations/src/components/navbar/legacy-icons/box.d.ts +2 -0
  80. package/dist/declarations/src/components/navbar/legacy-icons/cart.d.ts +2 -0
  81. package/dist/declarations/src/components/navbar/legacy-icons/connected-square.d.ts +2 -0
  82. package/dist/declarations/src/components/navbar/legacy-icons/gear.d.ts +2 -0
  83. package/dist/declarations/src/components/navbar/legacy-icons/heart.d.ts +2 -0
  84. package/dist/declarations/src/components/navbar/legacy-icons/list-with-search.d.ts +2 -0
  85. package/dist/declarations/src/components/navbar/legacy-icons/paperclip.d.ts +2 -0
  86. package/dist/declarations/src/components/navbar/legacy-icons/plugin.d.ts +2 -0
  87. package/dist/declarations/src/components/navbar/legacy-icons/rocket.d.ts +2 -0
  88. package/dist/declarations/src/components/navbar/legacy-icons/speedometer.d.ts +2 -0
  89. package/dist/declarations/src/components/navbar/legacy-icons/star.d.ts +2 -0
  90. package/dist/declarations/src/components/navbar/legacy-icons/tag-multi.d.ts +2 -0
  91. package/dist/declarations/src/components/navbar/legacy-icons/tree-structure.d.ts +2 -0
  92. package/dist/declarations/src/components/navbar/legacy-icons/user-filled.d.ts +2 -0
  93. package/dist/declarations/src/components/navbar/legacy-icons/world.d.ts +2 -0
  94. package/dist/declarations/src/components/navbar/main-navbar.styles.d.ts +51 -0
  95. package/dist/declarations/src/components/navbar/menu-items.d.ts +107 -0
  96. package/dist/declarations/src/components/navbar/menu-items.styles.d.ts +52 -0
  97. package/dist/declarations/src/components/navbar/messages.d.ts +7 -0
  98. package/dist/declarations/src/components/navbar/navbar-skeleton.d.ts +6 -0
  99. package/dist/declarations/src/components/navbar/navbar-skeleton.styles.d.ts +43 -0
  100. package/dist/declarations/src/components/navbar/navbar.d.ts +51 -0
  101. package/dist/declarations/src/components/navbar/non-nullable.d.ts +1 -0
  102. package/dist/declarations/src/components/navbar/shared.styles.d.ts +18 -0
  103. package/dist/declarations/src/components/navbar/use-navbar-state-manager.d.ts +25 -0
  104. package/dist/declarations/src/components/project-container/index.d.ts +61 -0
  105. package/dist/declarations/src/components/project-container/messages.d.ts +7 -0
  106. package/dist/declarations/src/components/project-container/project-container.d.ts +17 -0
  107. package/dist/declarations/src/components/project-data-locale/index.d.ts +1 -0
  108. package/dist/declarations/src/components/project-data-locale/project-data-locale.d.ts +14 -0
  109. package/dist/declarations/src/components/project-expired/index.d.ts +6 -0
  110. package/dist/declarations/src/components/project-expired/messages.d.ts +11 -0
  111. package/dist/declarations/src/components/project-expired/project-expired.d.ts +5 -0
  112. package/dist/declarations/src/components/project-not-found/index.d.ts +6 -0
  113. package/dist/declarations/src/components/project-not-found/messages.d.ts +15 -0
  114. package/dist/declarations/src/components/project-not-found/project-not-found.d.ts +5 -0
  115. package/dist/declarations/src/components/project-not-initialized/index.d.ts +6 -0
  116. package/dist/declarations/src/components/project-not-initialized/messages.d.ts +11 -0
  117. package/dist/declarations/src/components/project-not-initialized/project-not-initialized.d.ts +5 -0
  118. package/dist/declarations/src/components/project-suspended/index.d.ts +8 -0
  119. package/dist/declarations/src/components/project-suspended/messages.d.ts +15 -0
  120. package/dist/declarations/src/components/project-suspended/project-suspended.d.ts +8 -0
  121. package/dist/declarations/src/components/project-switcher/index.d.ts +1 -0
  122. package/dist/declarations/src/components/project-switcher/messages.d.ts +28 -0
  123. package/dist/declarations/src/components/project-switcher/project-switcher.d.ts +11 -0
  124. package/dist/declarations/src/components/quick-access/butler/butler.d.ts +14 -0
  125. package/dist/declarations/src/components/quick-access/butler/index.d.ts +1 -0
  126. package/dist/declarations/src/components/quick-access/butler-command/butler-command.d.ts +13 -0
  127. package/dist/declarations/src/components/quick-access/butler-command/index.d.ts +1 -0
  128. package/dist/declarations/src/components/quick-access/butler-container/butler-container.d.ts +6 -0
  129. package/dist/declarations/src/components/quick-access/butler-container/index.d.ts +1 -0
  130. package/dist/declarations/src/components/quick-access/constants.d.ts +24 -0
  131. package/dist/declarations/src/components/quick-access/create-commands.d.ts +13 -0
  132. package/dist/declarations/src/components/quick-access/history-entries.d.ts +3 -0
  133. package/dist/declarations/src/components/quick-access/index.d.ts +8 -0
  134. package/dist/declarations/src/components/quick-access/messages.d.ts +247 -0
  135. package/dist/declarations/src/components/quick-access/pim-indexer-states.d.ts +6 -0
  136. package/dist/declarations/src/components/quick-access/quick-access.d.ts +12 -0
  137. package/dist/declarations/src/components/quick-access/sub-commands.d.ts +17 -0
  138. package/dist/declarations/src/components/quick-access/types.d.ts +31 -0
  139. package/dist/declarations/src/components/quick-access/utils.d.ts +5 -0
  140. package/dist/declarations/src/components/redirect-to-login/index.d.ts +6 -0
  141. package/dist/declarations/src/components/redirect-to-login/redirect-to-login.d.ts +5 -0
  142. package/dist/declarations/src/components/redirect-to-logout/index.d.ts +5 -0
  143. package/dist/declarations/src/components/redirect-to-logout/redirect-to-logout.d.ts +6 -0
  144. package/dist/declarations/src/components/redirect-to-project-create/index.d.ts +6 -0
  145. package/dist/declarations/src/components/redirect-to-project-create/redirect-to-project-create.d.ts +5 -0
  146. package/dist/declarations/src/components/redirector/index.d.ts +1 -0
  147. package/dist/declarations/src/components/redirector/redirector.d.ts +23 -0
  148. package/dist/declarations/src/components/requests-in-flight-loader/constants.d.ts +1 -0
  149. package/dist/declarations/src/components/requests-in-flight-loader/index.d.ts +7 -0
  150. package/dist/declarations/src/components/requests-in-flight-loader/messages.d.ts +8 -0
  151. package/dist/declarations/src/components/requests-in-flight-loader/reducer.d.ts +4 -0
  152. package/dist/declarations/src/components/requests-in-flight-loader/requests-in-flight-loader.d.ts +6 -0
  153. package/dist/declarations/src/components/requests-in-flight-loader/types.d.ts +9 -0
  154. package/dist/declarations/src/components/route-catch-all/index.d.ts +3 -0
  155. package/dist/declarations/src/components/route-catch-all/route-catch-all.d.ts +2 -0
  156. package/dist/declarations/src/components/service-page-project-switcher/index.d.ts +1 -0
  157. package/dist/declarations/src/components/service-page-project-switcher/service-page-project-switcher.d.ts +5 -0
  158. package/dist/declarations/src/components/setup-flop-flip-provider/index.d.ts +1 -0
  159. package/dist/declarations/src/components/setup-flop-flip-provider/setup-flop-flip-provider.d.ts +17 -0
  160. package/dist/declarations/src/components/suspended-route/index.d.ts +1 -0
  161. package/dist/declarations/src/components/suspended-route/suspended-route.d.ts +6 -0
  162. package/dist/declarations/src/components/theme-switcher/index.d.ts +1 -0
  163. package/dist/declarations/src/components/theme-switcher/theme-switcher.d.ts +2 -0
  164. package/dist/declarations/src/components/user-settings-menu/index.d.ts +12 -0
  165. package/dist/declarations/src/components/user-settings-menu/messages.d.ts +33 -0
  166. package/dist/declarations/src/components/user-settings-menu/user-settings-menu.d.ts +20 -0
  167. package/dist/declarations/src/configure-store.d.ts +22 -0
  168. package/dist/declarations/src/constants.d.ts +42 -0
  169. package/dist/declarations/src/export-types.d.ts +8 -0
  170. package/dist/declarations/src/hooks/use-applications-menu/index.d.ts +1 -0
  171. package/dist/declarations/src/hooks/use-applications-menu/use-applications-menu.d.ts +13 -0
  172. package/dist/declarations/src/hooks/use-is-served-by-proxy/index.d.ts +1 -0
  173. package/dist/declarations/src/hooks/use-is-served-by-proxy/use-is-served-by-proxy.d.ts +2 -0
  174. package/dist/declarations/src/hooks/use-routes-creator/index.d.ts +1 -0
  175. package/dist/declarations/src/hooks/use-routes-creator/use-routes-creator.d.ts +22 -0
  176. package/dist/declarations/src/index.d.ts +33 -0
  177. package/dist/declarations/src/middleware/hide-notifications.d.ts +3 -0
  178. package/dist/declarations/src/middleware/logger.d.ts +3 -0
  179. package/dist/declarations/src/ssr/index.d.ts +2 -0
  180. package/dist/declarations/src/test-utils/custom-views-utils.d.ts +21 -0
  181. package/dist/declarations/src/test-utils/index.d.ts +2 -0
  182. package/dist/declarations/src/test-utils/test-utils.d.ts +83 -0
  183. package/dist/declarations/src/types/generated/ctp.d.ts +14279 -0
  184. package/dist/declarations/src/types/generated/mc.d.ts +742 -0
  185. package/dist/declarations/src/types/generated/proxy.d.ts +154 -0
  186. package/dist/declarations/src/types/generated/settings.d.ts +2116 -0
  187. package/dist/declarations/src/utils/get-mc-api-url/get-mc-api-url.d.ts +3 -0
  188. package/dist/declarations/src/utils/get-mc-api-url/index.d.ts +1 -0
  189. package/dist/declarations/src/utils/get-mc-origin/get-mc-origin.d.ts +18 -0
  190. package/dist/declarations/src/utils/get-mc-origin/index.d.ts +1 -0
  191. package/dist/declarations/src/utils/get-previous-project-key/get-previous-project-key.d.ts +2 -0
  192. package/dist/declarations/src/utils/get-previous-project-key/index.d.ts +1 -0
  193. package/dist/declarations/src/utils/index.d.ts +3 -0
  194. package/dist/declarations/src/utils/location/index.d.ts +1 -0
  195. package/dist/declarations/src/utils/location/location.d.ts +5 -0
  196. package/dist/declarations/src/utils/oidc.d.ts +10 -0
  197. package/dist/declarations/src/utils/select-project-key-from-local-storage/index.d.ts +1 -0
  198. package/dist/declarations/src/utils/select-project-key-from-local-storage/select-project-key-from-local-storage.d.ts +1 -0
  199. package/dist/declarations/src/utils/setup-global-error-listener/index.d.ts +1 -0
  200. package/dist/declarations/src/utils/setup-global-error-listener/setup-global-error-listener.d.ts +1 -0
  201. package/dist/declarations/src/version.d.ts +2 -0
  202. package/dist/error-apologizer-76f087f4.esm.js +39 -0
  203. package/dist/error-apologizer-84dc825c.cjs.prod.js +53 -0
  204. package/dist/error-apologizer-f6793491.cjs.dev.js +53 -0
  205. package/dist/gear-4f7cde98.cjs.prod.js +30 -0
  206. package/dist/gear-ee90ba83.esm.js +17 -0
  207. package/dist/gear-f2668579.cjs.dev.js +30 -0
  208. package/dist/get-mc-origin-8f7a578c.cjs.prod.js +51 -0
  209. package/dist/get-mc-origin-a86dff20.cjs.dev.js +51 -0
  210. package/dist/get-mc-origin-fecfee07.esm.js +44 -0
  211. package/dist/heart-01f01038.cjs.prod.js +30 -0
  212. package/dist/heart-86f780f3.esm.js +17 -0
  213. package/dist/heart-e49dd92a.cjs.dev.js +30 -0
  214. package/dist/index-76b6a9ad.cjs.dev.js +2215 -0
  215. package/dist/index-91985d64.cjs.prod.js +232 -0
  216. package/dist/index-b1476d46.cjs.dev.js +232 -0
  217. package/dist/index-b2fb611e.esm.js +2150 -0
  218. package/dist/index-b6081c20.esm.js +206 -0
  219. package/dist/index-ff82019b.cjs.prod.js +2058 -0
  220. package/dist/list-with-search-027ab8eb.cjs.dev.js +30 -0
  221. package/dist/list-with-search-6462447e.cjs.prod.js +30 -0
  222. package/dist/list-with-search-d2901e34.esm.js +17 -0
  223. package/dist/location-537e0660.cjs.prod.js +32 -0
  224. package/dist/location-c835b8df.cjs.dev.js +32 -0
  225. package/dist/location-f21dbc25.esm.js +30 -0
  226. package/dist/navbar-1465f182.cjs.prod.js +1189 -0
  227. package/dist/navbar-62d10e1c.cjs.dev.js +1426 -0
  228. package/dist/navbar-7b53adec.esm.js +1394 -0
  229. package/dist/oidc-8827f9fe.cjs.dev.js +98 -0
  230. package/dist/oidc-b2520905.esm.js +84 -0
  231. package/dist/oidc-callback-17a812d6.esm.js +234 -0
  232. package/dist/oidc-callback-76814954.cjs.prod.js +243 -0
  233. package/dist/oidc-callback-adb8385b.cjs.dev.js +249 -0
  234. package/dist/oidc-d74e6aa2.cjs.prod.js +98 -0
  235. package/dist/paperclip-005ec544.cjs.dev.js +30 -0
  236. package/dist/paperclip-a820ee87.esm.js +17 -0
  237. package/dist/paperclip-fe72a70d.cjs.prod.js +30 -0
  238. package/dist/plugin-81ae1044.cjs.prod.js +30 -0
  239. package/dist/plugin-c7bf9e53.esm.js +17 -0
  240. package/dist/plugin-feb22442.cjs.dev.js +30 -0
  241. package/dist/project-container-091b168d.cjs.dev.js +390 -0
  242. package/dist/project-container-55778868.cjs.prod.js +381 -0
  243. package/dist/project-container-b5401554.esm.js +368 -0
  244. package/dist/project-expired-47196b04.cjs.dev.js +136 -0
  245. package/dist/project-expired-5d8570a3.cjs.prod.js +136 -0
  246. package/dist/project-expired-9efda620.esm.js +122 -0
  247. package/dist/project-not-found-6346d0bc.cjs.prod.js +129 -0
  248. package/dist/project-not-found-f069a112.esm.js +115 -0
  249. package/dist/project-not-found-fef5d1f1.cjs.dev.js +129 -0
  250. package/dist/project-not-initialized-cad5df83.esm.js +122 -0
  251. package/dist/project-not-initialized-d05d529a.cjs.prod.js +136 -0
  252. package/dist/project-not-initialized-e1b3ec3f.cjs.dev.js +136 -0
  253. package/dist/project-suspended-36f6576b.cjs.prod.js +134 -0
  254. package/dist/project-suspended-a29d0f56.cjs.dev.js +134 -0
  255. package/dist/project-suspended-b488c3fe.esm.js +120 -0
  256. package/dist/quick-access-5ffe0e5c.cjs.prod.js +1877 -0
  257. package/dist/quick-access-638c9699.esm.js +1888 -0
  258. package/dist/quick-access-ee38025a.cjs.dev.js +1917 -0
  259. package/dist/redirect-to-login-321190b7.cjs.dev.js +118 -0
  260. package/dist/redirect-to-login-8c7575fb.cjs.prod.js +118 -0
  261. package/dist/redirect-to-login-d9c20203.esm.js +116 -0
  262. package/dist/redirect-to-logout-03e7fdb7.cjs.dev.js +125 -0
  263. package/dist/redirect-to-logout-263d0e66.cjs.prod.js +125 -0
  264. package/dist/redirect-to-logout-3a4109b6.esm.js +112 -0
  265. package/dist/redirect-to-project-create-9249e554.esm.js +60 -0
  266. package/dist/redirect-to-project-create-e4ff7797.cjs.prod.js +68 -0
  267. package/dist/redirect-to-project-create-f4f01842.cjs.dev.js +68 -0
  268. package/dist/redirector-01f35da8.cjs.prod.js +75 -0
  269. package/dist/redirector-76670a54.esm.js +59 -0
  270. package/dist/redirector-98dfc5f0.cjs.dev.js +75 -0
  271. package/dist/requests-in-flight-loader-7f677421.cjs.prod.js +121 -0
  272. package/dist/requests-in-flight-loader-aafcb3cd.cjs.dev.js +121 -0
  273. package/dist/requests-in-flight-loader-e2d591ca.esm.js +106 -0
  274. package/dist/rocket-3372731a.cjs.dev.js +30 -0
  275. package/dist/rocket-bacf24be.esm.js +17 -0
  276. package/dist/rocket-cb99be06.cjs.prod.js +30 -0
  277. package/dist/route-catch-all-7803b1fd.esm.js +42 -0
  278. package/dist/route-catch-all-8e71a93c.cjs.prod.js +44 -0
  279. package/dist/route-catch-all-b979e1fd.cjs.dev.js +44 -0
  280. package/dist/service-page-project-switcher-05b50df7.cjs.prod.js +37 -0
  281. package/dist/service-page-project-switcher-0ee3a898.esm.js +40 -0
  282. package/dist/service-page-project-switcher-e7998e11.cjs.dev.js +46 -0
  283. package/dist/speedometer-26f52e73.cjs.prod.js +30 -0
  284. package/dist/speedometer-4c8e0b9c.esm.js +17 -0
  285. package/dist/speedometer-c1ec5a1d.cjs.dev.js +30 -0
  286. package/dist/star-6b9a91d2.cjs.dev.js +30 -0
  287. package/dist/star-af90a9c6.esm.js +17 -0
  288. package/dist/star-e4902bbb.cjs.prod.js +30 -0
  289. package/dist/tag-multi-1c065f61.cjs.prod.js +30 -0
  290. package/dist/tag-multi-4c2742de.esm.js +17 -0
  291. package/dist/tag-multi-abef3e15.cjs.dev.js +30 -0
  292. package/dist/tree-structure-3ec98cce.cjs.prod.js +30 -0
  293. package/dist/tree-structure-96ab0b7e.cjs.dev.js +30 -0
  294. package/dist/tree-structure-ca0498a0.esm.js +17 -0
  295. package/dist/use-applications-menu-222b9106.cjs.prod.js +173 -0
  296. package/dist/use-applications-menu-302a0ac8.cjs.dev.js +173 -0
  297. package/dist/use-applications-menu-b583e9c3.esm.js +158 -0
  298. package/dist/use-is-served-by-proxy-28f19a6f.cjs.dev.js +10 -0
  299. package/dist/use-is-served-by-proxy-480e8de8.cjs.prod.js +10 -0
  300. package/dist/use-is-served-by-proxy-a383da4b.esm.js +8 -0
  301. package/dist/user-filled-26f333b2.cjs.prod.js +30 -0
  302. package/dist/user-filled-34aeebcc.cjs.dev.js +30 -0
  303. package/dist/user-filled-61d8a81b.esm.js +17 -0
  304. package/dist/user-settings-menu-a0813186.cjs.dev.js +359 -0
  305. package/dist/user-settings-menu-dc94ceb2.esm.js +333 -0
  306. package/dist/user-settings-menu-ead5fed2.cjs.prod.js +335 -0
  307. package/dist/world-22189397.cjs.prod.js +30 -0
  308. package/dist/world-500baeb2.cjs.dev.js +30 -0
  309. package/dist/world-523efd61.esm.js +17 -0
  310. package/package.json +146 -0
  311. package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.d.ts +2 -0
  312. package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.d.ts.map +1 -0
  313. package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.dev.js +20 -0
  314. package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.js +7 -0
  315. package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.prod.js +20 -0
  316. package/ssr/dist/commercetools-frontend-application-shell-ssr.esm.js +4 -0
  317. package/ssr/package.json +4 -0
  318. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.d.ts +2 -0
  319. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.d.ts.map +1 -0
  320. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +556 -0
  321. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.js +7 -0
  322. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +547 -0
  323. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +503 -0
  324. package/test-utils/package.json +4 -0
@@ -0,0 +1,24 @@
1
+ export declare const permissions: {
2
+ readonly ViewOrders: "ViewOrders";
3
+ readonly ManageOrders: "ManageOrders";
4
+ readonly ViewProducts: "ViewProducts";
5
+ readonly ManageProducts: "ManageProducts";
6
+ readonly ViewCategories: "ViewCategories";
7
+ readonly ManageCategories: "ManageCategories";
8
+ readonly ViewCustomers: "ViewCustomers";
9
+ readonly ManageCustomers: "ManageCustomers";
10
+ readonly ViewCustomerGroups: "ViewCustomerGroups";
11
+ readonly ManageCustomerGroups: "ManageCustomerGroups";
12
+ readonly ViewProductDiscounts: "ViewProductDiscounts";
13
+ readonly ManageProductDiscounts: "ManageProductDiscounts";
14
+ readonly ViewDiscountCodes: "ViewDiscountCodes";
15
+ readonly ManageDiscountCodes: "ManageDiscountCodes";
16
+ readonly ViewCartDiscounts: "ViewCartDiscounts";
17
+ readonly ManageCartDiscounts: "ManageCartDiscounts";
18
+ readonly ViewProjectSettings: "ViewProjectSettings";
19
+ readonly ManageProjectSettings: "ManageProjectSettings";
20
+ readonly ViewDeveloperSettings: "ViewDeveloperSettings";
21
+ readonly ManageDeveloperSettings: "ManageDeveloperSettings";
22
+ readonly ViewProductTypes: "ViewProductTypes";
23
+ readonly ManageProductTypes: "ManageProductTypes";
24
+ };
@@ -0,0 +1,13 @@
1
+ import type { IntlShape } from 'react-intl';
2
+ import type { TApplicationContext } from '@commercetools-frontend/application-shell-connectors';
3
+ import type { Command } from './types';
4
+ type CreateCommandsOptions = {
5
+ intl: IntlShape;
6
+ applicationContext: TApplicationContext<{}>;
7
+ featureToggles: {
8
+ [key: string]: boolean;
9
+ };
10
+ changeProjectDataLocale?: (locale: string) => void;
11
+ };
12
+ declare const createCommands: ({ intl, applicationContext, featureToggles, changeProjectDataLocale, }: CreateCommandsOptions) => Command[];
13
+ export default createCommands;
@@ -0,0 +1,3 @@
1
+ import type { HistoryEntry } from './types';
2
+ export declare const saveHistoryEntries: (historyEntries: HistoryEntry[]) => boolean;
3
+ export declare const loadHistoryEntries: () => HistoryEntry[];
@@ -0,0 +1,8 @@
1
+ type TQuickAccessProps = {
2
+ onChangeProjectDataLocale?: (locale: string) => void;
3
+ };
4
+ declare const QuickAccessTrigger: {
5
+ (props: TQuickAccessProps): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element | null;
6
+ displayName: string;
7
+ };
8
+ export default QuickAccessTrigger;
@@ -0,0 +1,247 @@
1
+ declare const _default: {
2
+ inputPlacehoder: {
3
+ id: string;
4
+ defaultMessage: string;
5
+ };
6
+ offline: {
7
+ id: string;
8
+ defaultMessage: string;
9
+ };
10
+ noResults: {
11
+ id: string;
12
+ defaultMessage: string;
13
+ };
14
+ setResourceLanguage: {
15
+ id: string;
16
+ defaultMessage: string;
17
+ };
18
+ openDashboard: {
19
+ id: string;
20
+ defaultMessage: string;
21
+ };
22
+ openProducts: {
23
+ id: string;
24
+ defaultMessage: string;
25
+ };
26
+ openProductList: {
27
+ id: string;
28
+ defaultMessage: string;
29
+ };
30
+ openProductVariantGeneral: {
31
+ id: string;
32
+ defaultMessage: string;
33
+ };
34
+ openProductVariantList: {
35
+ id: string;
36
+ defaultMessage: string;
37
+ };
38
+ openProductVariantSearch: {
39
+ id: string;
40
+ defaultMessage: string;
41
+ };
42
+ openModifiedProducts: {
43
+ id: string;
44
+ defaultMessage: string;
45
+ };
46
+ openPimSearch: {
47
+ id: string;
48
+ defaultMessage: string;
49
+ };
50
+ openAddProducts: {
51
+ id: string;
52
+ defaultMessage: string;
53
+ };
54
+ openCategories: {
55
+ id: string;
56
+ defaultMessage: string;
57
+ };
58
+ openCategoriesList: {
59
+ id: string;
60
+ defaultMessage: string;
61
+ };
62
+ openCategoriesSearch: {
63
+ id: string;
64
+ defaultMessage: string;
65
+ };
66
+ openAddCategory: {
67
+ id: string;
68
+ defaultMessage: string;
69
+ };
70
+ openCustomers: {
71
+ id: string;
72
+ defaultMessage: string;
73
+ };
74
+ openCustomersList: {
75
+ id: string;
76
+ defaultMessage: string;
77
+ };
78
+ openAddCustomer: {
79
+ id: string;
80
+ defaultMessage: string;
81
+ };
82
+ openCustomerGroupsList: {
83
+ id: string;
84
+ defaultMessage: string;
85
+ };
86
+ openAddCustomerGroup: {
87
+ id: string;
88
+ defaultMessage: string;
89
+ };
90
+ openOrders: {
91
+ id: string;
92
+ defaultMessage: string;
93
+ };
94
+ openOrdersList: {
95
+ id: string;
96
+ defaultMessage: string;
97
+ };
98
+ openAddOrder: {
99
+ id: string;
100
+ defaultMessage: string;
101
+ };
102
+ openDiscounts: {
103
+ id: string;
104
+ defaultMessage: string;
105
+ };
106
+ openProductDiscountsList: {
107
+ id: string;
108
+ defaultMessage: string;
109
+ };
110
+ openCartDiscountsList: {
111
+ id: string;
112
+ defaultMessage: string;
113
+ };
114
+ openDiscountCodesList: {
115
+ id: string;
116
+ defaultMessage: string;
117
+ };
118
+ openAddDiscount: {
119
+ id: string;
120
+ defaultMessage: string;
121
+ };
122
+ openAddProductDiscount: {
123
+ id: string;
124
+ defaultMessage: string;
125
+ };
126
+ openAddCartDiscount: {
127
+ id: string;
128
+ defaultMessage: string;
129
+ };
130
+ openAddDiscountCode: {
131
+ id: string;
132
+ defaultMessage: string;
133
+ };
134
+ openSettings: {
135
+ id: string;
136
+ defaultMessage: string;
137
+ };
138
+ openProjectSettings: {
139
+ id: string;
140
+ defaultMessage: string;
141
+ };
142
+ openProjectSettingsInternationalTab: {
143
+ id: string;
144
+ defaultMessage: string;
145
+ };
146
+ openProjectSettingsTaxesTab: {
147
+ id: string;
148
+ defaultMessage: string;
149
+ };
150
+ openProjectSettingsShippingMethodsTab: {
151
+ id: string;
152
+ defaultMessage: string;
153
+ };
154
+ openProjectSettingsChannelsTab: {
155
+ id: string;
156
+ defaultMessage: string;
157
+ };
158
+ openProjectSettingsStoresTab: {
159
+ id: string;
160
+ defaultMessage: string;
161
+ };
162
+ openProductTypesSettings: {
163
+ id: string;
164
+ defaultMessage: string;
165
+ };
166
+ openDeveloperSettings: {
167
+ id: string;
168
+ defaultMessage: string;
169
+ };
170
+ openCustomApplicationsSettings: {
171
+ id: string;
172
+ defaultMessage: string;
173
+ };
174
+ openApiClientsList: {
175
+ id: string;
176
+ defaultMessage: string;
177
+ };
178
+ openAddApiClient: {
179
+ id: string;
180
+ defaultMessage: string;
181
+ };
182
+ openSupport: {
183
+ id: string;
184
+ defaultMessage: string;
185
+ };
186
+ openMyProfile: {
187
+ id: string;
188
+ defaultMessage: string;
189
+ };
190
+ showPrivacyPolicy: {
191
+ id: string;
192
+ defaultMessage: string;
193
+ };
194
+ logout: {
195
+ id: string;
196
+ defaultMessage: string;
197
+ };
198
+ useProject: {
199
+ id: string;
200
+ defaultMessage: string;
201
+ };
202
+ openManageProjects: {
203
+ id: string;
204
+ defaultMessage: string;
205
+ };
206
+ openManageOrganizations: {
207
+ id: string;
208
+ defaultMessage: string;
209
+ };
210
+ openVariantById: {
211
+ id: string;
212
+ defaultMessage: string;
213
+ };
214
+ openVariantByKey: {
215
+ id: string;
216
+ defaultMessage: string;
217
+ };
218
+ openVariantBySku: {
219
+ id: string;
220
+ defaultMessage: string;
221
+ };
222
+ showProduct: {
223
+ id: string;
224
+ defaultMessage: string;
225
+ };
226
+ showProductVariant: {
227
+ id: string;
228
+ defaultMessage: string;
229
+ };
230
+ showProductVariantAttributes: {
231
+ id: string;
232
+ defaultMessage: string;
233
+ };
234
+ showProductVariantImages: {
235
+ id: string;
236
+ defaultMessage: string;
237
+ };
238
+ showProductVariantPrices: {
239
+ id: string;
240
+ defaultMessage: string;
241
+ };
242
+ showProductVariantInventory: {
243
+ id: string;
244
+ defaultMessage: string;
245
+ };
246
+ };
247
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ readonly UNCHECKED: "UNCHECKED";
3
+ readonly INDEXED: "INDEXED";
4
+ readonly NOT_INDEXED: "NOT_INDEXED";
5
+ };
6
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import pimIndexerStates from './pim-indexer-states';
2
+ type Props = {
3
+ pimIndexerState: keyof typeof pimIndexerStates;
4
+ onPimIndexerStateChange: (pimIndexerState: keyof typeof pimIndexerStates) => void;
5
+ onClose: () => void;
6
+ onChangeProjectDataLocale?: (locale: string) => void;
7
+ };
8
+ declare const QuickAccess: {
9
+ (props: Props): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
10
+ displayName: string;
11
+ };
12
+ export default QuickAccess;
@@ -0,0 +1,17 @@
1
+ import type { IntlShape } from 'react-intl';
2
+ import type { TApplicationContext } from '@commercetools-frontend/application-shell-connectors';
3
+ import type { Command } from './types';
4
+ type CreateProductVariantSubCommandsOptions = {
5
+ intl: IntlShape;
6
+ applicationContext: TApplicationContext<{}>;
7
+ productId: string;
8
+ variantId: number;
9
+ };
10
+ export declare const createProductVariantSubCommands: ({ intl, applicationContext, productId, variantId, }: CreateProductVariantSubCommandsOptions) => Command[];
11
+ type CreateProductTabsSubCommandsOptions = {
12
+ intl: IntlShape;
13
+ applicationContext: TApplicationContext<{}>;
14
+ productId: string;
15
+ };
16
+ export declare const createProductTabsSubCommands: ({ intl, applicationContext, productId, }: CreateProductTabsSubCommandsOptions) => Command[];
17
+ export {};
@@ -0,0 +1,31 @@
1
+ import type { OperationVariables, ApolloQueryResult } from '@apollo/client';
2
+ import type { DocumentNode } from 'graphql';
3
+ import type { TApolloContext } from '@commercetools-frontend/application-shell-connectors';
4
+ export declare const actionTypes: {
5
+ readonly go: "go";
6
+ };
7
+ export type ActionAsFn = () => void;
8
+ export type SubCommandAsFn = (execQuery: ExecGraphQlQuery) => Promise<Command[]>;
9
+ export type Action = {
10
+ type: typeof actionTypes.go;
11
+ to: string;
12
+ };
13
+ export type Command = {
14
+ id: string;
15
+ text: string;
16
+ keywords?: string[];
17
+ action: ActionAsFn | Action;
18
+ subCommands?: SubCommandAsFn | Command[];
19
+ };
20
+ export type SearchText = string;
21
+ export type SelectedResult = number;
22
+ export type Stack = {
23
+ searchText: SearchText;
24
+ results: Command[];
25
+ selectedResult: SelectedResult;
26
+ };
27
+ export type HistoryEntry = {
28
+ searchText: SearchText;
29
+ results: Command[];
30
+ };
31
+ export type ExecGraphQlQuery = <T>(document: DocumentNode, variables: OperationVariables, context?: TApolloContext) => Promise<ApolloQueryResult<T>['data']>;
@@ -0,0 +1,5 @@
1
+ import type { TLocalizedString } from '../../types/generated/ctp';
2
+ import type { Command, ExecGraphQlQuery } from './types';
3
+ export declare const sanitize: (param: string) => string;
4
+ export declare const flattenCommands: (results: Command[], execQuery: ExecGraphQlQuery) => Promise<Command[]>;
5
+ export declare const translate: (nameAllLocales: TLocalizedString[], projectDataLocale: string) => string;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ declare const RedirectToLogin: import("react").LazyExoticComponent<{
3
+ (): null;
4
+ displayName: string;
5
+ }>;
6
+ export default RedirectToLogin;
@@ -0,0 +1,5 @@
1
+ declare const RedirectToLogin: {
2
+ (): null;
3
+ displayName: string;
4
+ };
5
+ export default RedirectToLogin;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ declare const RedirectToLogout: import("react").LazyExoticComponent<(props: {
3
+ reason?: "user" | "unauthorized" | "invalid" | "deleted" | "no-projects" | undefined;
4
+ }) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element>;
5
+ export default RedirectToLogout;
@@ -0,0 +1,6 @@
1
+ import { LOGOUT_REASONS } from '@commercetools-frontend/constants';
2
+ type Props = {
3
+ reason?: (typeof LOGOUT_REASONS)[keyof typeof LOGOUT_REASONS];
4
+ };
5
+ declare const RedirectToLogout: (props: Props) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
6
+ export default RedirectToLogout;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ declare const RedirectToProjectCreate: import("react").LazyExoticComponent<{
3
+ (): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element | null;
4
+ displayName: string;
5
+ }>;
6
+ export default RedirectToProjectCreate;
@@ -0,0 +1,5 @@
1
+ export declare const RedirectToProjectCreate: {
2
+ (): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element | null;
3
+ displayName: string;
4
+ };
5
+ export default RedirectToProjectCreate;
@@ -0,0 +1 @@
1
+ export { useRedirector, Redirector } from './redirector';
@@ -0,0 +1,23 @@
1
+ import type { RouteComponentProps } from 'react-router-dom';
2
+ import { LOGOUT_REASONS } from '@commercetools-frontend/constants';
3
+ type TQueryParams = {
4
+ reason?: (typeof LOGOUT_REASONS)[keyof typeof LOGOUT_REASONS];
5
+ redirectTo?: string;
6
+ client_id?: string;
7
+ response_type?: string;
8
+ scope?: string;
9
+ state?: string;
10
+ nonce?: string;
11
+ };
12
+ type TRedirectorProps = {
13
+ to: string;
14
+ origin?: string;
15
+ location?: RouteComponentProps['location'];
16
+ queryParams?: TQueryParams;
17
+ };
18
+ declare const useRedirector: () => (options: TRedirectorProps) => void;
19
+ declare const Redirector: {
20
+ (props: TRedirectorProps): null;
21
+ displayName: string;
22
+ };
23
+ export { useRedirector, Redirector };
@@ -0,0 +1 @@
1
+ export declare const REQUESTS_IN_FLIGHT_LOADER_DOM_ID = "loader-for-requests-in-flight";
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ declare const RequestsInFlightLoader: import("react").LazyExoticComponent<{
3
+ (): import("react").ReactPortal | null;
4
+ displayName: string;
5
+ }>;
6
+ export default RequestsInFlightLoader;
7
+ export { default as requestsInFlightReducer } from './reducer';
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ labelLoading: {
3
+ id: string;
4
+ description: string;
5
+ defaultMessage: string;
6
+ };
7
+ };
8
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import type { Action } from 'redux';
2
+ import type { TRequestsInFlightState } from './types';
3
+ declare const _default: (requestsInFlight?: TRequestsInFlightState, action?: Action) => string[];
4
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ declare const RequestsInFlightLoader: {
3
+ (): import("react").ReactPortal | null;
4
+ displayName: string;
5
+ };
6
+ export default RequestsInFlightLoader;
@@ -0,0 +1,9 @@
1
+ import type { Action } from 'redux';
2
+ import { SHOW_LOADING, HIDE_LOADING } from '@commercetools-frontend/constants';
3
+ export type TRequestsInFlightState = string[];
4
+ export type TShowRequestInFlightAction = Action<typeof SHOW_LOADING> & {
5
+ payload: string;
6
+ };
7
+ export type THideRequestInFlightAction = Action<typeof HIDE_LOADING> & {
8
+ payload: string;
9
+ };
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const RouteCatchAll: import("react").LazyExoticComponent<() => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element>;
3
+ export default RouteCatchAll;
@@ -0,0 +1,2 @@
1
+ declare const RouteCatchAll: () => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
2
+ export default RouteCatchAll;
@@ -0,0 +1 @@
1
+ export { default } from './service-page-project-switcher';
@@ -0,0 +1,5 @@
1
+ export declare const ServicePageProjectSwitcher: {
2
+ (): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element | null;
3
+ displayName: string;
4
+ };
5
+ export default ServicePageProjectSwitcher;
@@ -0,0 +1 @@
1
+ export { default } from './setup-flop-flip-provider';
@@ -0,0 +1,17 @@
1
+ import { ReactNode } from 'react';
2
+ import type { TFlags } from '@flopflip/types';
3
+ import type { TFetchLoggedInUserQuery } from '../../types/generated/mc';
4
+ type TSetupFlopFlipProviderProps = {
5
+ projectKey?: string;
6
+ user?: TFetchLoggedInUserQuery['user'];
7
+ flags?: TFlags;
8
+ defaultFlags?: TFlags;
9
+ ldClientSideId?: string;
10
+ children: ReactNode;
11
+ shouldDeferAdapterConfiguration?: boolean;
12
+ };
13
+ export declare const SetupFlopFlipProvider: {
14
+ (props: TSetupFlopFlipProviderProps): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
15
+ displayName: string;
16
+ };
17
+ export default SetupFlopFlipProvider;
@@ -0,0 +1 @@
1
+ export { default } from './suspended-route';
@@ -0,0 +1,6 @@
1
+ import { type RouteProps } from 'react-router-dom';
2
+ declare const SuspendedRoute: {
3
+ (props: RouteProps): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
4
+ displayName: string;
5
+ };
6
+ export default SuspendedRoute;
@@ -0,0 +1 @@
1
+ export { default } from './theme-switcher';
@@ -0,0 +1,2 @@
1
+ declare const ThemeSwitcher: () => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
2
+ export default ThemeSwitcher;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ declare const UserSettingsMenu: import("react").LazyExoticComponent<{
3
+ (props: {
4
+ firstName: string;
5
+ lastName: string;
6
+ email: string;
7
+ language: string;
8
+ gravatarHash: string;
9
+ }): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
10
+ displayName: string;
11
+ }>;
12
+ export default UserSettingsMenu;
@@ -0,0 +1,33 @@
1
+ declare const _default: {
2
+ support: {
3
+ id: string;
4
+ description: string;
5
+ defaultMessage: string;
6
+ };
7
+ logout: {
8
+ id: string;
9
+ description: string;
10
+ defaultMessage: string;
11
+ };
12
+ privacyPolicy: {
13
+ id: string;
14
+ description: string;
15
+ defaultMessage: string;
16
+ };
17
+ menuLabel: {
18
+ id: string;
19
+ description: string;
20
+ defaultMessage: string;
21
+ };
22
+ openMenuLabel: {
23
+ id: string;
24
+ description: string;
25
+ defaultMessage: string;
26
+ };
27
+ closeMenuLabel: {
28
+ id: string;
29
+ description: string;
30
+ defaultMessage: string;
31
+ };
32
+ };
33
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import { type ControllerStateAndHelpers } from 'downshift';
2
+ import type { TUser } from '../../types/generated/mc';
3
+ type Props = Pick<TUser, 'language' | 'firstName' | 'lastName' | 'email' | 'gravatarHash'>;
4
+ type MenuBodyProps = Props & {
5
+ downshiftProps: ControllerStateAndHelpers<{}>;
6
+ };
7
+ declare const UserAvatar: {
8
+ (props: Pick<Props, 'firstName' | 'lastName' | 'gravatarHash'>): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
9
+ displayName: string;
10
+ };
11
+ declare const UserSettingsMenuBody: {
12
+ (props: MenuBodyProps): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
13
+ displayName: string;
14
+ };
15
+ declare const UserSettingsMenu: {
16
+ (props: Props): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
17
+ displayName: string;
18
+ };
19
+ export default UserSettingsMenu;
20
+ export { UserAvatar, UserSettingsMenuBody };
@@ -0,0 +1,22 @@
1
+ import { type ReducersMapObject, type Store, type Middleware, type StoreEnhancer } from '@reduxjs/toolkit';
2
+ export type TEnhancedStore = Store & {
3
+ injectedReducers: {
4
+ [key: string]: ReducersMapObject;
5
+ };
6
+ injectReducers: (payload: {
7
+ id: string;
8
+ reducers: ReducersMapObject;
9
+ }) => void;
10
+ removeReducers: (payload: {
11
+ id: string;
12
+ }) => void;
13
+ };
14
+ /**
15
+ * @deprecated: This function should not be used directly anymore.
16
+ */
17
+ export declare const applyDefaultMiddlewares: (...middlewares: Middleware[]) => StoreEnhancer<{
18
+ dispatch: unknown;
19
+ }, {}>;
20
+ export declare const createReduxStore: (preloadedState?: {}, additionalMiddlewares?: Middleware[]) => TEnhancedStore;
21
+ declare const _default: TEnhancedStore;
22
+ export default _default;