@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.
- package/LICENSE +21 -0
- package/README.md +7 -0
- package/dist/application-entry-point-547561a2.cjs.dev.js +109 -0
- package/dist/application-entry-point-54a9664f.esm.js +94 -0
- package/dist/application-entry-point-654951a6.cjs.prod.js +90 -0
- package/dist/box-09bf50e1.cjs.prod.js +30 -0
- package/dist/box-4857aa65.cjs.dev.js +30 -0
- package/dist/box-9cf180c1.esm.js +17 -0
- package/dist/cart-645074db.cjs.prod.js +30 -0
- package/dist/cart-b0044279.cjs.dev.js +30 -0
- package/dist/cart-bb491ca1.esm.js +17 -0
- package/dist/commercetools-frontend-application-shell.cjs.d.ts +2 -0
- package/dist/commercetools-frontend-application-shell.cjs.d.ts.map +1 -0
- package/dist/commercetools-frontend-application-shell.cjs.dev.js +215 -0
- package/dist/commercetools-frontend-application-shell.cjs.js +7 -0
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +215 -0
- package/dist/commercetools-frontend-application-shell.esm.js +81 -0
- package/dist/connected-square-2d046cb8.cjs.prod.js +30 -0
- package/dist/connected-square-a2fea344.cjs.dev.js +30 -0
- package/dist/connected-square-fe6a790f.esm.js +17 -0
- package/dist/custom-view-dev-host-076c2a9f.cjs.prod.js +197 -0
- package/dist/custom-view-dev-host-5eebbfcd.esm.js +188 -0
- package/dist/custom-view-dev-host-7e7d8572.cjs.dev.js +200 -0
- package/dist/declarations/src/components/app-bar/app-bar.d.ts +10 -0
- package/dist/declarations/src/components/app-bar/index.d.ts +1 -0
- package/dist/declarations/src/components/application-entry-point/application-entry-point.d.ts +10 -0
- package/dist/declarations/src/components/application-entry-point/index.d.ts +1 -0
- package/dist/declarations/src/components/application-loader/application-loader.d.ts +8 -0
- package/dist/declarations/src/components/application-loader/index.d.ts +1 -0
- package/dist/declarations/src/components/application-page-title/application-page-title.d.ts +25 -0
- package/dist/declarations/src/components/application-page-title/index.d.ts +1 -0
- package/dist/declarations/src/components/application-shell/application-shell.d.ts +45 -0
- package/dist/declarations/src/components/application-shell/global-styles.d.ts +3 -0
- package/dist/declarations/src/components/application-shell/index.d.ts +1 -0
- package/dist/declarations/src/components/application-shell-authenticated/application-shell-authenticated.d.ts +25 -0
- package/dist/declarations/src/components/application-shell-provider/application-shell-provider.d.ts +17 -0
- package/dist/declarations/src/components/application-shell-provider/index.d.ts +1 -0
- package/dist/declarations/src/components/application-shell-provider/use-coerced-environment-values.d.ts +6 -0
- package/dist/declarations/src/components/application-shell-provider/utils.d.ts +3 -0
- package/dist/declarations/src/components/authenticated/am-i-logged-in.d.ts +13 -0
- package/dist/declarations/src/components/authenticated/authenticated.d.ts +16 -0
- package/dist/declarations/src/components/authenticated/has-cached-authentication-state.d.ts +2 -0
- package/dist/declarations/src/components/authenticated/index.d.ts +1 -0
- package/dist/declarations/src/components/authenticated/oidc-callback-error-page.d.ts +12 -0
- package/dist/declarations/src/components/authenticated/oidc-callback.async.d.ts +6 -0
- package/dist/declarations/src/components/authenticated/oidc-callback.d.ts +11 -0
- package/dist/declarations/src/components/authenticated/types.d.ts +6 -0
- package/dist/declarations/src/components/back-to-project/back-to-project.d.ts +8 -0
- package/dist/declarations/src/components/back-to-project/index.d.ts +1 -0
- package/dist/declarations/src/components/back-to-project/messages.d.ts +7 -0
- package/dist/declarations/src/components/configure-intl-provider/configure-intl-provider.d.ts +12 -0
- package/dist/declarations/src/components/configure-intl-provider/index.d.ts +1 -0
- package/dist/declarations/src/components/custom-view-dev-host/custom-view-dev-host.d.ts +11 -0
- package/dist/declarations/src/components/custom-view-dev-host/index.d.ts +6 -0
- package/dist/declarations/src/components/custom-view-flop-flip-provider/custom-view-flop-flip-provider.d.ts +10 -0
- package/dist/declarations/src/components/custom-view-flop-flip-provider/index.d.ts +1 -0
- package/dist/declarations/src/components/custom-view-shell/custom-view-shell.d.ts +12 -0
- package/dist/declarations/src/components/custom-view-shell/custom-view-shell.styles.d.ts +9 -0
- package/dist/declarations/src/components/custom-view-shell/index.d.ts +1 -0
- package/dist/declarations/src/components/custom-view-shell-authenticated/custom-view-shell-authenticated.d.ts +15 -0
- package/dist/declarations/src/components/custom-view-shell-authenticated/index.d.ts +1 -0
- package/dist/declarations/src/components/error-apologizer/error-apologizer.d.ts +5 -0
- package/dist/declarations/src/components/error-apologizer/index.d.ts +6 -0
- package/dist/declarations/src/components/error-apologizer/messages.d.ts +11 -0
- package/dist/declarations/src/components/error-boundary/error-boundary.d.ts +20 -0
- package/dist/declarations/src/components/error-boundary/index.d.ts +1 -0
- package/dist/declarations/src/components/fetch-project/fetch-project.d.ts +18 -0
- package/dist/declarations/src/components/fetch-project/index.d.ts +1 -0
- package/dist/declarations/src/components/fetch-user/fetch-user.d.ts +16 -0
- package/dist/declarations/src/components/fetch-user/index.d.ts +1 -0
- package/dist/declarations/src/components/inject-reducers/index.d.ts +1 -0
- package/dist/declarations/src/components/inject-reducers/inject-reducers.d.ts +14 -0
- package/dist/declarations/src/components/loading-placeholder/index.d.ts +1 -0
- package/dist/declarations/src/components/loading-placeholder/loading-placeholder.d.ts +10 -0
- package/dist/declarations/src/components/locale-switcher/index.d.ts +1 -0
- package/dist/declarations/src/components/locale-switcher/locale-switcher.d.ts +12 -0
- package/dist/declarations/src/components/locale-switcher/messages.d.ts +18 -0
- package/dist/declarations/src/components/navbar/index.d.ts +6 -0
- package/dist/declarations/src/components/navbar/legacy-icons/box.d.ts +2 -0
- package/dist/declarations/src/components/navbar/legacy-icons/cart.d.ts +2 -0
- package/dist/declarations/src/components/navbar/legacy-icons/connected-square.d.ts +2 -0
- package/dist/declarations/src/components/navbar/legacy-icons/gear.d.ts +2 -0
- package/dist/declarations/src/components/navbar/legacy-icons/heart.d.ts +2 -0
- package/dist/declarations/src/components/navbar/legacy-icons/list-with-search.d.ts +2 -0
- package/dist/declarations/src/components/navbar/legacy-icons/paperclip.d.ts +2 -0
- package/dist/declarations/src/components/navbar/legacy-icons/plugin.d.ts +2 -0
- package/dist/declarations/src/components/navbar/legacy-icons/rocket.d.ts +2 -0
- package/dist/declarations/src/components/navbar/legacy-icons/speedometer.d.ts +2 -0
- package/dist/declarations/src/components/navbar/legacy-icons/star.d.ts +2 -0
- package/dist/declarations/src/components/navbar/legacy-icons/tag-multi.d.ts +2 -0
- package/dist/declarations/src/components/navbar/legacy-icons/tree-structure.d.ts +2 -0
- package/dist/declarations/src/components/navbar/legacy-icons/user-filled.d.ts +2 -0
- package/dist/declarations/src/components/navbar/legacy-icons/world.d.ts +2 -0
- package/dist/declarations/src/components/navbar/main-navbar.styles.d.ts +51 -0
- package/dist/declarations/src/components/navbar/menu-items.d.ts +107 -0
- package/dist/declarations/src/components/navbar/menu-items.styles.d.ts +52 -0
- package/dist/declarations/src/components/navbar/messages.d.ts +7 -0
- package/dist/declarations/src/components/navbar/navbar-skeleton.d.ts +6 -0
- package/dist/declarations/src/components/navbar/navbar-skeleton.styles.d.ts +43 -0
- package/dist/declarations/src/components/navbar/navbar.d.ts +51 -0
- package/dist/declarations/src/components/navbar/non-nullable.d.ts +1 -0
- package/dist/declarations/src/components/navbar/shared.styles.d.ts +18 -0
- package/dist/declarations/src/components/navbar/use-navbar-state-manager.d.ts +25 -0
- package/dist/declarations/src/components/project-container/index.d.ts +61 -0
- package/dist/declarations/src/components/project-container/messages.d.ts +7 -0
- package/dist/declarations/src/components/project-container/project-container.d.ts +17 -0
- package/dist/declarations/src/components/project-data-locale/index.d.ts +1 -0
- package/dist/declarations/src/components/project-data-locale/project-data-locale.d.ts +14 -0
- package/dist/declarations/src/components/project-expired/index.d.ts +6 -0
- package/dist/declarations/src/components/project-expired/messages.d.ts +11 -0
- package/dist/declarations/src/components/project-expired/project-expired.d.ts +5 -0
- package/dist/declarations/src/components/project-not-found/index.d.ts +6 -0
- package/dist/declarations/src/components/project-not-found/messages.d.ts +15 -0
- package/dist/declarations/src/components/project-not-found/project-not-found.d.ts +5 -0
- package/dist/declarations/src/components/project-not-initialized/index.d.ts +6 -0
- package/dist/declarations/src/components/project-not-initialized/messages.d.ts +11 -0
- package/dist/declarations/src/components/project-not-initialized/project-not-initialized.d.ts +5 -0
- package/dist/declarations/src/components/project-suspended/index.d.ts +8 -0
- package/dist/declarations/src/components/project-suspended/messages.d.ts +15 -0
- package/dist/declarations/src/components/project-suspended/project-suspended.d.ts +8 -0
- package/dist/declarations/src/components/project-switcher/index.d.ts +1 -0
- package/dist/declarations/src/components/project-switcher/messages.d.ts +28 -0
- package/dist/declarations/src/components/project-switcher/project-switcher.d.ts +11 -0
- package/dist/declarations/src/components/quick-access/butler/butler.d.ts +14 -0
- package/dist/declarations/src/components/quick-access/butler/index.d.ts +1 -0
- package/dist/declarations/src/components/quick-access/butler-command/butler-command.d.ts +13 -0
- package/dist/declarations/src/components/quick-access/butler-command/index.d.ts +1 -0
- package/dist/declarations/src/components/quick-access/butler-container/butler-container.d.ts +6 -0
- package/dist/declarations/src/components/quick-access/butler-container/index.d.ts +1 -0
- package/dist/declarations/src/components/quick-access/constants.d.ts +24 -0
- package/dist/declarations/src/components/quick-access/create-commands.d.ts +13 -0
- package/dist/declarations/src/components/quick-access/history-entries.d.ts +3 -0
- package/dist/declarations/src/components/quick-access/index.d.ts +8 -0
- package/dist/declarations/src/components/quick-access/messages.d.ts +247 -0
- package/dist/declarations/src/components/quick-access/pim-indexer-states.d.ts +6 -0
- package/dist/declarations/src/components/quick-access/quick-access.d.ts +12 -0
- package/dist/declarations/src/components/quick-access/sub-commands.d.ts +17 -0
- package/dist/declarations/src/components/quick-access/types.d.ts +31 -0
- package/dist/declarations/src/components/quick-access/utils.d.ts +5 -0
- package/dist/declarations/src/components/redirect-to-login/index.d.ts +6 -0
- package/dist/declarations/src/components/redirect-to-login/redirect-to-login.d.ts +5 -0
- package/dist/declarations/src/components/redirect-to-logout/index.d.ts +5 -0
- package/dist/declarations/src/components/redirect-to-logout/redirect-to-logout.d.ts +6 -0
- package/dist/declarations/src/components/redirect-to-project-create/index.d.ts +6 -0
- package/dist/declarations/src/components/redirect-to-project-create/redirect-to-project-create.d.ts +5 -0
- package/dist/declarations/src/components/redirector/index.d.ts +1 -0
- package/dist/declarations/src/components/redirector/redirector.d.ts +23 -0
- package/dist/declarations/src/components/requests-in-flight-loader/constants.d.ts +1 -0
- package/dist/declarations/src/components/requests-in-flight-loader/index.d.ts +7 -0
- package/dist/declarations/src/components/requests-in-flight-loader/messages.d.ts +8 -0
- package/dist/declarations/src/components/requests-in-flight-loader/reducer.d.ts +4 -0
- package/dist/declarations/src/components/requests-in-flight-loader/requests-in-flight-loader.d.ts +6 -0
- package/dist/declarations/src/components/requests-in-flight-loader/types.d.ts +9 -0
- package/dist/declarations/src/components/route-catch-all/index.d.ts +3 -0
- package/dist/declarations/src/components/route-catch-all/route-catch-all.d.ts +2 -0
- package/dist/declarations/src/components/service-page-project-switcher/index.d.ts +1 -0
- package/dist/declarations/src/components/service-page-project-switcher/service-page-project-switcher.d.ts +5 -0
- package/dist/declarations/src/components/setup-flop-flip-provider/index.d.ts +1 -0
- package/dist/declarations/src/components/setup-flop-flip-provider/setup-flop-flip-provider.d.ts +17 -0
- package/dist/declarations/src/components/suspended-route/index.d.ts +1 -0
- package/dist/declarations/src/components/suspended-route/suspended-route.d.ts +6 -0
- package/dist/declarations/src/components/theme-switcher/index.d.ts +1 -0
- package/dist/declarations/src/components/theme-switcher/theme-switcher.d.ts +2 -0
- package/dist/declarations/src/components/user-settings-menu/index.d.ts +12 -0
- package/dist/declarations/src/components/user-settings-menu/messages.d.ts +33 -0
- package/dist/declarations/src/components/user-settings-menu/user-settings-menu.d.ts +20 -0
- package/dist/declarations/src/configure-store.d.ts +22 -0
- package/dist/declarations/src/constants.d.ts +42 -0
- package/dist/declarations/src/export-types.d.ts +8 -0
- package/dist/declarations/src/hooks/use-applications-menu/index.d.ts +1 -0
- package/dist/declarations/src/hooks/use-applications-menu/use-applications-menu.d.ts +13 -0
- package/dist/declarations/src/hooks/use-is-served-by-proxy/index.d.ts +1 -0
- package/dist/declarations/src/hooks/use-is-served-by-proxy/use-is-served-by-proxy.d.ts +2 -0
- package/dist/declarations/src/hooks/use-routes-creator/index.d.ts +1 -0
- package/dist/declarations/src/hooks/use-routes-creator/use-routes-creator.d.ts +22 -0
- package/dist/declarations/src/index.d.ts +33 -0
- package/dist/declarations/src/middleware/hide-notifications.d.ts +3 -0
- package/dist/declarations/src/middleware/logger.d.ts +3 -0
- package/dist/declarations/src/ssr/index.d.ts +2 -0
- package/dist/declarations/src/test-utils/custom-views-utils.d.ts +21 -0
- package/dist/declarations/src/test-utils/index.d.ts +2 -0
- package/dist/declarations/src/test-utils/test-utils.d.ts +83 -0
- package/dist/declarations/src/types/generated/ctp.d.ts +14279 -0
- package/dist/declarations/src/types/generated/mc.d.ts +742 -0
- package/dist/declarations/src/types/generated/proxy.d.ts +154 -0
- package/dist/declarations/src/types/generated/settings.d.ts +2116 -0
- package/dist/declarations/src/utils/get-mc-api-url/get-mc-api-url.d.ts +3 -0
- package/dist/declarations/src/utils/get-mc-api-url/index.d.ts +1 -0
- package/dist/declarations/src/utils/get-mc-origin/get-mc-origin.d.ts +18 -0
- package/dist/declarations/src/utils/get-mc-origin/index.d.ts +1 -0
- package/dist/declarations/src/utils/get-previous-project-key/get-previous-project-key.d.ts +2 -0
- package/dist/declarations/src/utils/get-previous-project-key/index.d.ts +1 -0
- package/dist/declarations/src/utils/index.d.ts +3 -0
- package/dist/declarations/src/utils/location/index.d.ts +1 -0
- package/dist/declarations/src/utils/location/location.d.ts +5 -0
- package/dist/declarations/src/utils/oidc.d.ts +10 -0
- package/dist/declarations/src/utils/select-project-key-from-local-storage/index.d.ts +1 -0
- package/dist/declarations/src/utils/select-project-key-from-local-storage/select-project-key-from-local-storage.d.ts +1 -0
- package/dist/declarations/src/utils/setup-global-error-listener/index.d.ts +1 -0
- package/dist/declarations/src/utils/setup-global-error-listener/setup-global-error-listener.d.ts +1 -0
- package/dist/declarations/src/version.d.ts +2 -0
- package/dist/error-apologizer-76f087f4.esm.js +39 -0
- package/dist/error-apologizer-84dc825c.cjs.prod.js +53 -0
- package/dist/error-apologizer-f6793491.cjs.dev.js +53 -0
- package/dist/gear-4f7cde98.cjs.prod.js +30 -0
- package/dist/gear-ee90ba83.esm.js +17 -0
- package/dist/gear-f2668579.cjs.dev.js +30 -0
- package/dist/get-mc-origin-8f7a578c.cjs.prod.js +51 -0
- package/dist/get-mc-origin-a86dff20.cjs.dev.js +51 -0
- package/dist/get-mc-origin-fecfee07.esm.js +44 -0
- package/dist/heart-01f01038.cjs.prod.js +30 -0
- package/dist/heart-86f780f3.esm.js +17 -0
- package/dist/heart-e49dd92a.cjs.dev.js +30 -0
- package/dist/index-76b6a9ad.cjs.dev.js +2215 -0
- package/dist/index-91985d64.cjs.prod.js +232 -0
- package/dist/index-b1476d46.cjs.dev.js +232 -0
- package/dist/index-b2fb611e.esm.js +2150 -0
- package/dist/index-b6081c20.esm.js +206 -0
- package/dist/index-ff82019b.cjs.prod.js +2058 -0
- package/dist/list-with-search-027ab8eb.cjs.dev.js +30 -0
- package/dist/list-with-search-6462447e.cjs.prod.js +30 -0
- package/dist/list-with-search-d2901e34.esm.js +17 -0
- package/dist/location-537e0660.cjs.prod.js +32 -0
- package/dist/location-c835b8df.cjs.dev.js +32 -0
- package/dist/location-f21dbc25.esm.js +30 -0
- package/dist/navbar-1465f182.cjs.prod.js +1189 -0
- package/dist/navbar-62d10e1c.cjs.dev.js +1426 -0
- package/dist/navbar-7b53adec.esm.js +1394 -0
- package/dist/oidc-8827f9fe.cjs.dev.js +98 -0
- package/dist/oidc-b2520905.esm.js +84 -0
- package/dist/oidc-callback-17a812d6.esm.js +234 -0
- package/dist/oidc-callback-76814954.cjs.prod.js +243 -0
- package/dist/oidc-callback-adb8385b.cjs.dev.js +249 -0
- package/dist/oidc-d74e6aa2.cjs.prod.js +98 -0
- package/dist/paperclip-005ec544.cjs.dev.js +30 -0
- package/dist/paperclip-a820ee87.esm.js +17 -0
- package/dist/paperclip-fe72a70d.cjs.prod.js +30 -0
- package/dist/plugin-81ae1044.cjs.prod.js +30 -0
- package/dist/plugin-c7bf9e53.esm.js +17 -0
- package/dist/plugin-feb22442.cjs.dev.js +30 -0
- package/dist/project-container-091b168d.cjs.dev.js +390 -0
- package/dist/project-container-55778868.cjs.prod.js +381 -0
- package/dist/project-container-b5401554.esm.js +368 -0
- package/dist/project-expired-47196b04.cjs.dev.js +136 -0
- package/dist/project-expired-5d8570a3.cjs.prod.js +136 -0
- package/dist/project-expired-9efda620.esm.js +122 -0
- package/dist/project-not-found-6346d0bc.cjs.prod.js +129 -0
- package/dist/project-not-found-f069a112.esm.js +115 -0
- package/dist/project-not-found-fef5d1f1.cjs.dev.js +129 -0
- package/dist/project-not-initialized-cad5df83.esm.js +122 -0
- package/dist/project-not-initialized-d05d529a.cjs.prod.js +136 -0
- package/dist/project-not-initialized-e1b3ec3f.cjs.dev.js +136 -0
- package/dist/project-suspended-36f6576b.cjs.prod.js +134 -0
- package/dist/project-suspended-a29d0f56.cjs.dev.js +134 -0
- package/dist/project-suspended-b488c3fe.esm.js +120 -0
- package/dist/quick-access-5ffe0e5c.cjs.prod.js +1877 -0
- package/dist/quick-access-638c9699.esm.js +1888 -0
- package/dist/quick-access-ee38025a.cjs.dev.js +1917 -0
- package/dist/redirect-to-login-321190b7.cjs.dev.js +118 -0
- package/dist/redirect-to-login-8c7575fb.cjs.prod.js +118 -0
- package/dist/redirect-to-login-d9c20203.esm.js +116 -0
- package/dist/redirect-to-logout-03e7fdb7.cjs.dev.js +125 -0
- package/dist/redirect-to-logout-263d0e66.cjs.prod.js +125 -0
- package/dist/redirect-to-logout-3a4109b6.esm.js +112 -0
- package/dist/redirect-to-project-create-9249e554.esm.js +60 -0
- package/dist/redirect-to-project-create-e4ff7797.cjs.prod.js +68 -0
- package/dist/redirect-to-project-create-f4f01842.cjs.dev.js +68 -0
- package/dist/redirector-01f35da8.cjs.prod.js +75 -0
- package/dist/redirector-76670a54.esm.js +59 -0
- package/dist/redirector-98dfc5f0.cjs.dev.js +75 -0
- package/dist/requests-in-flight-loader-7f677421.cjs.prod.js +121 -0
- package/dist/requests-in-flight-loader-aafcb3cd.cjs.dev.js +121 -0
- package/dist/requests-in-flight-loader-e2d591ca.esm.js +106 -0
- package/dist/rocket-3372731a.cjs.dev.js +30 -0
- package/dist/rocket-bacf24be.esm.js +17 -0
- package/dist/rocket-cb99be06.cjs.prod.js +30 -0
- package/dist/route-catch-all-7803b1fd.esm.js +42 -0
- package/dist/route-catch-all-8e71a93c.cjs.prod.js +44 -0
- package/dist/route-catch-all-b979e1fd.cjs.dev.js +44 -0
- package/dist/service-page-project-switcher-05b50df7.cjs.prod.js +37 -0
- package/dist/service-page-project-switcher-0ee3a898.esm.js +40 -0
- package/dist/service-page-project-switcher-e7998e11.cjs.dev.js +46 -0
- package/dist/speedometer-26f52e73.cjs.prod.js +30 -0
- package/dist/speedometer-4c8e0b9c.esm.js +17 -0
- package/dist/speedometer-c1ec5a1d.cjs.dev.js +30 -0
- package/dist/star-6b9a91d2.cjs.dev.js +30 -0
- package/dist/star-af90a9c6.esm.js +17 -0
- package/dist/star-e4902bbb.cjs.prod.js +30 -0
- package/dist/tag-multi-1c065f61.cjs.prod.js +30 -0
- package/dist/tag-multi-4c2742de.esm.js +17 -0
- package/dist/tag-multi-abef3e15.cjs.dev.js +30 -0
- package/dist/tree-structure-3ec98cce.cjs.prod.js +30 -0
- package/dist/tree-structure-96ab0b7e.cjs.dev.js +30 -0
- package/dist/tree-structure-ca0498a0.esm.js +17 -0
- package/dist/use-applications-menu-222b9106.cjs.prod.js +173 -0
- package/dist/use-applications-menu-302a0ac8.cjs.dev.js +173 -0
- package/dist/use-applications-menu-b583e9c3.esm.js +158 -0
- package/dist/use-is-served-by-proxy-28f19a6f.cjs.dev.js +10 -0
- package/dist/use-is-served-by-proxy-480e8de8.cjs.prod.js +10 -0
- package/dist/use-is-served-by-proxy-a383da4b.esm.js +8 -0
- package/dist/user-filled-26f333b2.cjs.prod.js +30 -0
- package/dist/user-filled-34aeebcc.cjs.dev.js +30 -0
- package/dist/user-filled-61d8a81b.esm.js +17 -0
- package/dist/user-settings-menu-a0813186.cjs.dev.js +359 -0
- package/dist/user-settings-menu-dc94ceb2.esm.js +333 -0
- package/dist/user-settings-menu-ead5fed2.cjs.prod.js +335 -0
- package/dist/world-22189397.cjs.prod.js +30 -0
- package/dist/world-500baeb2.cjs.dev.js +30 -0
- package/dist/world-523efd61.esm.js +17 -0
- package/package.json +146 -0
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.d.ts +2 -0
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.d.ts.map +1 -0
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.dev.js +20 -0
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.js +7 -0
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.prod.js +20 -0
- package/ssr/dist/commercetools-frontend-application-shell-ssr.esm.js +4 -0
- package/ssr/package.json +4 -0
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.d.ts +2 -0
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.d.ts.map +1 -0
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +556 -0
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.js +7 -0
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +547 -0
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +503 -0
- 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,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,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,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 @@
|
|
|
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,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 @@
|
|
|
1
|
+
export { default } from './service-page-project-switcher';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './setup-flop-flip-provider';
|
package/dist/declarations/src/components/setup-flop-flip-provider/setup-flop-flip-provider.d.ts
ADDED
|
@@ -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 @@
|
|
|
1
|
+
export { default } from './theme-switcher';
|
|
@@ -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;
|