@commercetools-frontend/application-shell 24.7.2 → 24.8.0
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/dist/{application-entry-point-87fc1d21.esm.js → application-entry-point-10a5e1a5.esm.js} +1 -17
- package/dist/{application-entry-point-25a893ee.cjs.prod.js → application-entry-point-8c4b8e53.cjs.prod.js} +1 -5
- package/dist/{application-entry-point-66e4e42e.cjs.dev.js → application-entry-point-c87294b0.cjs.dev.js} +1 -18
- package/dist/commercetools-frontend-application-shell.cjs.d.ts +2 -2
- package/dist/commercetools-frontend-application-shell.cjs.dev.js +5 -4
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +5 -4
- package/dist/commercetools-frontend-application-shell.esm.js +5 -4
- package/dist/{custom-view-dev-host-d0430873.cjs.dev.js → custom-view-dev-host-8aeef4bf.cjs.dev.js} +5 -8
- package/dist/{custom-view-dev-host-22fc5ded.cjs.prod.js → custom-view-dev-host-ace1f094.cjs.prod.js} +5 -5
- package/dist/{custom-view-dev-host-54e9ab34.esm.js → custom-view-dev-host-b37e5cce.esm.js} +5 -7
- package/dist/declarations/src/components/application-page-title/index.d.ts +1 -1
- package/dist/declarations/src/components/application-shell/application-shell.d.ts +1 -1
- package/dist/declarations/src/components/application-shell/index.d.ts +1 -1
- package/dist/declarations/src/components/application-shell-provider/application-shell-provider.d.ts +1 -1
- package/dist/declarations/src/components/application-shell-provider/index.d.ts +1 -1
- package/dist/declarations/src/components/configure-intl-provider/index.d.ts +1 -1
- package/dist/declarations/src/components/custom-view-shell/index.d.ts +1 -1
- package/dist/declarations/src/components/error-apologizer/index.d.ts +0 -1
- package/dist/declarations/src/components/fetch-user/fetch-user.d.ts +1 -1
- package/dist/declarations/src/components/fetch-user/index.d.ts +1 -1
- package/dist/declarations/src/components/inject-reducers/index.d.ts +1 -1
- package/dist/declarations/src/components/redirect-to-login/index.d.ts +0 -1
- package/dist/declarations/src/components/redirect-to-logout/index.d.ts +1 -2
- package/dist/declarations/src/components/route-catch-all/index.d.ts +0 -1
- package/dist/declarations/src/components/setup-flop-flip-provider/index.d.ts +1 -1
- package/dist/declarations/src/components/setup-flop-flip-provider/setup-flop-flip-provider.d.ts +1 -1
- package/dist/declarations/src/components/suspended-route/index.d.ts +3 -3
- package/dist/declarations/src/components/suspended-route/protected-route.d.ts +0 -1
- package/dist/declarations/src/components/suspended-route/suspended-protected-route.d.ts +1 -2
- package/dist/declarations/src/export-types.d.ts +1 -1
- package/dist/declarations/src/hooks/use-routes-creator/index.d.ts +1 -1
- package/dist/declarations/src/index.d.ts +21 -21
- package/dist/declarations/src/ssr/index.d.ts +1 -1
- package/dist/declarations/src/test-utils/custom-views-utils.d.ts +1 -1
- package/dist/declarations/src/test-utils/index.d.ts +2 -2
- package/dist/declarations/src/test-utils/test-utils.d.ts +2 -2
- package/dist/declarations/src/utils/get-previous-project-key/index.d.ts +1 -1
- package/dist/declarations/src/utils/setup-global-error-listener/index.d.ts +1 -1
- package/dist/declarations-connectors/dist/commercetools-frontend-application-shell-connectors.cjs.d.ts +2 -0
- package/dist/declarations-connectors/src/components/application-context/application-context.d.ts +109 -0
- package/dist/declarations-connectors/src/components/application-context/index.d.ts +10 -0
- package/dist/declarations-connectors/src/components/application-context/normalizers.d.ts +48 -0
- package/dist/declarations-connectors/src/components/custom-view-context/custom-view-context.d.ts +19 -0
- package/dist/declarations-connectors/src/components/custom-view-context/index.d.ts +4 -0
- package/dist/declarations-connectors/src/components/project-extension-image-regex/index.d.ts +3 -0
- package/dist/declarations-connectors/src/components/project-extension-image-regex/project-extension-image-regex.d.ts +37 -0
- package/dist/declarations-connectors/src/configure-apollo.d.ts +7 -0
- package/dist/declarations-connectors/src/export-types.d.ts +21 -0
- package/dist/declarations-connectors/src/hooks/apollo-hooks/apollo-hooks.d.ts +12 -0
- package/dist/declarations-connectors/src/hooks/apollo-hooks/index.d.ts +1 -0
- package/dist/declarations-connectors/src/hooks/custom-views/use-custom-view-parent-data-refresher.d.ts +5 -0
- package/dist/declarations-connectors/src/index.d.ts +12 -0
- package/dist/declarations-connectors/src/types/generated/mc.d.ts +742 -0
- package/dist/declarations-connectors/src/utils/apollo-client-runtime-cache.d.ts +4 -0
- package/dist/declarations-connectors/src/utils/apollo-context.d.ts +16 -0
- package/dist/declarations-connectors/src/utils/get-correlation-id/get-correlation-id.d.ts +3 -0
- package/dist/declarations-connectors/src/utils/get-correlation-id/index.d.ts +1 -0
- package/dist/declarations-connectors/src/utils/get-mc-api-url/index.d.ts +1 -0
- package/dist/declarations-connectors/src/utils/http-client.d.ts +107 -0
- package/dist/declarations-connectors/src/utils/index.d.ts +7 -0
- package/dist/declarations-connectors/src/utils/logger.d.ts +10 -0
- package/dist/declarations-connectors/src/utils/oidc-storage.d.ts +12 -0
- package/dist/declarations-connectors/src/utils/select-project-key-from-url/index.d.ts +1 -0
- package/dist/declarations-connectors/src/utils/select-project-key-from-url/select-project-key-from-url.d.ts +1 -0
- package/dist/declarations-connectors/src/utils/select-team-id-from-storage/index.d.ts +1 -0
- package/dist/declarations-connectors/src/utils/select-team-id-from-storage/select-team-id-from-storage.d.ts +1 -0
- package/dist/declarations-connectors/src/utils/select-user-id/index.d.ts +1 -0
- package/dist/declarations-connectors/src/utils/select-user-id/select-user-id.d.ts +1 -0
- package/dist/declarations-connectors/src/version.d.ts +2 -0
- package/dist/{index-b76590b3.cjs.prod.js → index-245e2980.cjs.prod.js} +20 -15
- package/dist/{index-0459c0f4.cjs.dev.js → index-614accc4.cjs.dev.js} +20 -15
- package/dist/{index-a5d2d010.esm.js → index-86039df7.esm.js} +19 -14
- package/dist/{index-f9551c06.esm.js → index-89d1e5ff.esm.js} +19 -141
- package/dist/{index-82b627fb.cjs.prod.js → index-cae94846.cjs.prod.js} +19 -66
- package/dist/{index-63d718c6.cjs.dev.js → index-daa6a1ab.cjs.dev.js} +19 -142
- package/dist/{navbar-5b3ac835.cjs.dev.js → navbar-022383bd.cjs.dev.js} +3 -113
- package/dist/{navbar-2c26c0f7.esm.js → navbar-844d350d.esm.js} +3 -112
- package/dist/{navbar-654f1534.cjs.prod.js → navbar-acc2cd1b.cjs.prod.js} +3 -21
- package/dist/{oidc-callback-b1c0fb4b.cjs.dev.js → oidc-callback-56ff7c2e.cjs.dev.js} +6 -9
- package/dist/{oidc-callback-73295cb5.esm.js → oidc-callback-8a8dd8da.esm.js} +6 -8
- package/dist/{oidc-callback-ca30194b.cjs.prod.js → oidc-callback-e6420943.cjs.prod.js} +6 -6
- package/dist/{project-container-9c471740.esm.js → project-container-06e24ba5.esm.js} +10 -19
- package/dist/{project-container-3921c886.cjs.prod.js → project-container-3ffe6233.cjs.prod.js} +10 -11
- package/dist/{project-container-b4fee0d6.cjs.dev.js → project-container-6695a370.cjs.dev.js} +10 -20
- package/dist/{project-expired-1a49823c.cjs.prod.js → project-expired-04ac466f.cjs.prod.js} +6 -5
- package/dist/{project-expired-081090ed.cjs.dev.js → project-expired-1b763294.cjs.dev.js} +6 -5
- package/dist/{project-expired-fa42e755.esm.js → project-expired-35a22579.esm.js} +6 -5
- package/dist/{project-not-found-927b2193.cjs.dev.js → project-not-found-6ba4b06d.cjs.dev.js} +6 -5
- package/dist/{project-not-found-a8899d6a.cjs.prod.js → project-not-found-8c1e3b2b.cjs.prod.js} +6 -5
- package/dist/{project-not-found-871c2a08.esm.js → project-not-found-ae62cc83.esm.js} +6 -5
- package/dist/{project-not-initialized-3fdfefab.esm.js → project-not-initialized-900caac5.esm.js} +6 -5
- package/dist/{project-not-initialized-5a8ce431.cjs.dev.js → project-not-initialized-ba4d7655.cjs.dev.js} +6 -5
- package/dist/{project-not-initialized-1a773477.cjs.prod.js → project-not-initialized-e0971305.cjs.prod.js} +6 -5
- package/dist/{project-suspended-93172b2c.cjs.dev.js → project-suspended-59a3e101.cjs.dev.js} +6 -5
- package/dist/{project-suspended-5fec80c9.cjs.prod.js → project-suspended-7b9689e1.cjs.prod.js} +6 -5
- package/dist/{project-suspended-696f83da.esm.js → project-suspended-bd3b7fb9.esm.js} +6 -5
- package/dist/{quick-access-f19ebe03.cjs.dev.js → quick-access-7b92bb3b.cjs.dev.js} +16 -37
- package/dist/{quick-access-d2009eae.esm.js → quick-access-95e8bf34.esm.js} +16 -36
- package/dist/{quick-access-4022932f.cjs.prod.js → quick-access-b9fc3a22.cjs.prod.js} +16 -18
- package/dist/{redirect-to-login-8c7575fb.cjs.prod.js → redirect-to-login-12f467b8.cjs.prod.js} +1 -2
- package/dist/{redirect-to-login-d9c20203.esm.js → redirect-to-login-2944c890.esm.js} +1 -2
- package/dist/{redirect-to-login-321190b7.cjs.dev.js → redirect-to-login-3bee13ba.cjs.dev.js} +1 -2
- package/dist/{redirect-to-logout-64c4ab1e.esm.js → redirect-to-logout-03f40678.esm.js} +6 -5
- package/dist/{redirect-to-logout-e67c2985.cjs.dev.js → redirect-to-logout-4620e311.cjs.dev.js} +6 -5
- package/dist/{redirect-to-logout-2d42f7f1.cjs.prod.js → redirect-to-logout-c3755ed1.cjs.prod.js} +6 -5
- package/dist/{redirector-01f35da8.cjs.prod.js → redirector-0c72d0a4.cjs.prod.js} +0 -14
- package/dist/{redirector-98dfc5f0.cjs.dev.js → redirector-72ccfbc2.cjs.dev.js} +0 -14
- package/dist/{redirector-76670a54.esm.js → redirector-d856975f.esm.js} +0 -13
- package/dist/{requests-in-flight-loader-ac5fc71e.cjs.prod.js → requests-in-flight-loader-5045f3bc.cjs.prod.js} +5 -4
- package/dist/{requests-in-flight-loader-667bb113.cjs.dev.js → requests-in-flight-loader-7fbf23bc.cjs.dev.js} +5 -4
- package/dist/{requests-in-flight-loader-02be8f44.esm.js → requests-in-flight-loader-b74dbbc4.esm.js} +5 -4
- package/dist/{service-page-project-switcher-815e8660.esm.js → service-page-project-switcher-0c37b04e.esm.js} +1 -1
- package/dist/{service-page-project-switcher-27c2172e.cjs.dev.js → service-page-project-switcher-60badc85.cjs.dev.js} +1 -1
- package/dist/{service-page-project-switcher-50e500af.cjs.prod.js → service-page-project-switcher-f6d69104.cjs.prod.js} +1 -1
- package/dist/{user-settings-menu-03a69aba.cjs.dev.js → user-settings-menu-6113cdd3.cjs.dev.js} +0 -15
- package/dist/{user-settings-menu-54cc2ed0.cjs.prod.js → user-settings-menu-d75f4958.cjs.prod.js} +0 -5
- package/dist/{user-settings-menu-a3ae7c85.esm.js → user-settings-menu-f98bea89.esm.js} +0 -14
- package/package.json +44 -44
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.d.ts +2 -2
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.d.ts +2 -2
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +5 -12
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +5 -5
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +5 -11
- package/dist/commercetools-frontend-application-shell.cjs.d.ts.map +0 -1
- package/dist/declarations/src/components/app-bar/app-bar.d.ts +0 -10
- package/dist/declarations/src/components/app-bar/index.d.ts +0 -1
- package/dist/declarations/src/components/application-entry-point/application-entry-point.d.ts +0 -10
- package/dist/declarations/src/components/application-entry-point/index.d.ts +0 -1
- package/dist/declarations/src/components/application-loader/application-loader.d.ts +0 -8
- package/dist/declarations/src/components/application-loader/index.d.ts +0 -1
- package/dist/declarations/src/components/application-shell/global-styles.d.ts +0 -3
- package/dist/declarations/src/components/application-shell-authenticated/application-shell-authenticated.d.ts +0 -25
- package/dist/declarations/src/components/application-shell-provider/use-coerced-environment-values.d.ts +0 -6
- package/dist/declarations/src/components/authenticated/am-i-logged-in.d.ts +0 -13
- package/dist/declarations/src/components/authenticated/authenticated.d.ts +0 -16
- package/dist/declarations/src/components/authenticated/has-cached-authentication-state.d.ts +0 -2
- package/dist/declarations/src/components/authenticated/index.d.ts +0 -1
- package/dist/declarations/src/components/authenticated/oidc-callback-error-page.d.ts +0 -12
- package/dist/declarations/src/components/authenticated/oidc-callback.async.d.ts +0 -6
- package/dist/declarations/src/components/authenticated/oidc-callback.d.ts +0 -11
- package/dist/declarations/src/components/authenticated/types.d.ts +0 -6
- package/dist/declarations/src/components/back-to-project/back-to-project.d.ts +0 -8
- package/dist/declarations/src/components/back-to-project/index.d.ts +0 -1
- package/dist/declarations/src/components/back-to-project/messages.d.ts +0 -7
- package/dist/declarations/src/components/custom-view-dev-host/custom-view-dev-host.d.ts +0 -11
- package/dist/declarations/src/components/custom-view-dev-host/index.d.ts +0 -6
- package/dist/declarations/src/components/custom-view-flop-flip-provider/custom-view-flop-flip-provider.d.ts +0 -10
- package/dist/declarations/src/components/custom-view-flop-flip-provider/index.d.ts +0 -1
- package/dist/declarations/src/components/custom-view-shell/custom-view-shell.styles.d.ts +0 -9
- package/dist/declarations/src/components/custom-view-shell-authenticated/custom-view-shell-authenticated.d.ts +0 -15
- package/dist/declarations/src/components/custom-view-shell-authenticated/index.d.ts +0 -1
- package/dist/declarations/src/components/error-apologizer/error-apologizer.d.ts +0 -5
- package/dist/declarations/src/components/error-apologizer/messages.d.ts +0 -11
- package/dist/declarations/src/components/error-boundary/error-boundary.d.ts +0 -20
- package/dist/declarations/src/components/error-boundary/index.d.ts +0 -1
- package/dist/declarations/src/components/fetch-project/fetch-project.d.ts +0 -18
- package/dist/declarations/src/components/fetch-project/index.d.ts +0 -1
- package/dist/declarations/src/components/loading-placeholder/index.d.ts +0 -1
- package/dist/declarations/src/components/loading-placeholder/loading-placeholder.d.ts +0 -10
- package/dist/declarations/src/components/locale-switcher/index.d.ts +0 -1
- package/dist/declarations/src/components/locale-switcher/locale-switcher.d.ts +0 -13
- package/dist/declarations/src/components/locale-switcher/messages.d.ts +0 -18
- package/dist/declarations/src/components/navbar/index.d.ts +0 -6
- package/dist/declarations/src/components/navbar/legacy-icons/box.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/cart.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/connected-square.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/gear.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/heart.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/list-with-search.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/paperclip.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/plugin.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/rocket.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/speedometer.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/star.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/tag-multi.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/tree-structure.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/user-filled.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/world.d.ts +0 -2
- package/dist/declarations/src/components/navbar/main-navbar.styles.d.ts +0 -51
- package/dist/declarations/src/components/navbar/menu-items.d.ts +0 -107
- package/dist/declarations/src/components/navbar/menu-items.styles.d.ts +0 -52
- package/dist/declarations/src/components/navbar/messages.d.ts +0 -15
- package/dist/declarations/src/components/navbar/navbar-skeleton.d.ts +0 -6
- package/dist/declarations/src/components/navbar/navbar-skeleton.styles.d.ts +0 -43
- package/dist/declarations/src/components/navbar/navbar.d.ts +0 -51
- package/dist/declarations/src/components/navbar/non-nullable.d.ts +0 -1
- package/dist/declarations/src/components/navbar/shared.styles.d.ts +0 -18
- package/dist/declarations/src/components/navbar/use-navbar-state-manager.d.ts +0 -25
- package/dist/declarations/src/components/project-container/index.d.ts +0 -59
- package/dist/declarations/src/components/project-container/messages.d.ts +0 -7
- package/dist/declarations/src/components/project-container/project-container.d.ts +0 -15
- package/dist/declarations/src/components/project-data-locale/index.d.ts +0 -1
- package/dist/declarations/src/components/project-data-locale/project-data-locale.d.ts +0 -14
- package/dist/declarations/src/components/project-expired/index.d.ts +0 -6
- package/dist/declarations/src/components/project-expired/messages.d.ts +0 -11
- package/dist/declarations/src/components/project-expired/project-expired.d.ts +0 -5
- package/dist/declarations/src/components/project-not-found/index.d.ts +0 -6
- package/dist/declarations/src/components/project-not-found/messages.d.ts +0 -15
- package/dist/declarations/src/components/project-not-found/project-not-found.d.ts +0 -5
- package/dist/declarations/src/components/project-not-initialized/index.d.ts +0 -6
- package/dist/declarations/src/components/project-not-initialized/messages.d.ts +0 -11
- package/dist/declarations/src/components/project-not-initialized/project-not-initialized.d.ts +0 -5
- package/dist/declarations/src/components/project-suspended/index.d.ts +0 -8
- package/dist/declarations/src/components/project-suspended/messages.d.ts +0 -15
- package/dist/declarations/src/components/project-suspended/project-suspended.d.ts +0 -8
- package/dist/declarations/src/components/project-switcher/index.d.ts +0 -1
- package/dist/declarations/src/components/project-switcher/messages.d.ts +0 -28
- package/dist/declarations/src/components/project-switcher/project-switcher.d.ts +0 -12
- package/dist/declarations/src/components/quick-access/butler/butler.d.ts +0 -14
- package/dist/declarations/src/components/quick-access/butler/index.d.ts +0 -1
- package/dist/declarations/src/components/quick-access/butler-command/butler-command.d.ts +0 -13
- package/dist/declarations/src/components/quick-access/butler-command/index.d.ts +0 -1
- package/dist/declarations/src/components/quick-access/butler-container/butler-container.d.ts +0 -6
- package/dist/declarations/src/components/quick-access/butler-container/index.d.ts +0 -1
- package/dist/declarations/src/components/quick-access/constants.d.ts +0 -24
- package/dist/declarations/src/components/quick-access/create-commands.d.ts +0 -13
- package/dist/declarations/src/components/quick-access/history-entries.d.ts +0 -3
- package/dist/declarations/src/components/quick-access/index.d.ts +0 -8
- package/dist/declarations/src/components/quick-access/messages.d.ts +0 -247
- package/dist/declarations/src/components/quick-access/pim-indexer-states.d.ts +0 -6
- package/dist/declarations/src/components/quick-access/quick-access.d.ts +0 -12
- package/dist/declarations/src/components/quick-access/sub-commands.d.ts +0 -17
- package/dist/declarations/src/components/quick-access/types.d.ts +0 -31
- package/dist/declarations/src/components/quick-access/utils.d.ts +0 -5
- package/dist/declarations/src/components/redirect-to-login/redirect-to-login.d.ts +0 -5
- package/dist/declarations/src/components/redirect-to-logout/redirect-to-logout.d.ts +0 -6
- package/dist/declarations/src/components/redirect-to-project-create/index.d.ts +0 -6
- package/dist/declarations/src/components/redirect-to-project-create/redirect-to-project-create.d.ts +0 -5
- package/dist/declarations/src/components/redirector/index.d.ts +0 -1
- package/dist/declarations/src/components/redirector/redirector.d.ts +0 -23
- package/dist/declarations/src/components/requests-in-flight-loader/constants.d.ts +0 -1
- package/dist/declarations/src/components/requests-in-flight-loader/index.d.ts +0 -7
- package/dist/declarations/src/components/requests-in-flight-loader/messages.d.ts +0 -8
- package/dist/declarations/src/components/requests-in-flight-loader/reducer.d.ts +0 -4
- package/dist/declarations/src/components/requests-in-flight-loader/requests-in-flight-loader.d.ts +0 -6
- package/dist/declarations/src/components/requests-in-flight-loader/types.d.ts +0 -9
- package/dist/declarations/src/components/route-catch-all/route-catch-all.d.ts +0 -2
- package/dist/declarations/src/components/service-page-project-switcher/index.d.ts +0 -1
- package/dist/declarations/src/components/service-page-project-switcher/service-page-project-switcher.d.ts +0 -5
- package/dist/declarations/src/components/theme-switcher/index.d.ts +0 -1
- package/dist/declarations/src/components/theme-switcher/theme-switcher.d.ts +0 -2
- package/dist/declarations/src/components/user-settings-menu/index.d.ts +0 -12
- package/dist/declarations/src/components/user-settings-menu/messages.d.ts +0 -33
- package/dist/declarations/src/components/user-settings-menu/user-settings-menu.d.ts +0 -20
- package/dist/declarations/src/constants.d.ts +0 -42
- package/dist/declarations/src/hooks/use-applications-menu/index.d.ts +0 -1
- package/dist/declarations/src/hooks/use-applications-menu/use-applications-menu.d.ts +0 -9
- package/dist/declarations/src/hooks/use-is-served-by-proxy/index.d.ts +0 -1
- package/dist/declarations/src/hooks/use-is-served-by-proxy/use-is-served-by-proxy.d.ts +0 -2
- package/dist/declarations/src/middleware/hide-notifications.d.ts +0 -3
- package/dist/declarations/src/middleware/logger.d.ts +0 -3
- package/dist/declarations/src/types/generated/ctp.d.ts +0 -14279
- package/dist/declarations/src/types/generated/proxy.d.ts +0 -154
- package/dist/declarations/src/utils/get-mc-api-url/index.d.ts +0 -1
- package/dist/declarations/src/utils/get-mc-origin/get-mc-origin.d.ts +0 -18
- package/dist/declarations/src/utils/get-mc-origin/index.d.ts +0 -1
- package/dist/declarations/src/utils/index.d.ts +0 -3
- package/dist/declarations/src/utils/location/index.d.ts +0 -1
- package/dist/declarations/src/utils/location/location.d.ts +0 -5
- package/dist/declarations/src/utils/select-project-key-from-local-storage/index.d.ts +0 -1
- package/dist/declarations/src/utils/select-project-key-from-local-storage/select-project-key-from-local-storage.d.ts +0 -1
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.d.ts.map +0 -1
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.d.ts.map +0 -1
- /package/dist/{declarations → declarations-connectors}/src/types/generated/settings.d.ts +0 -0
- /package/dist/{declarations → declarations-connectors}/src/utils/get-mc-api-url/get-mc-api-url.d.ts +0 -0
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { type MouseEventHandler } from 'react';
|
|
2
|
-
import { type RouteComponentProps } from 'react-router-dom';
|
|
3
|
-
import type { TApplicationContext, TNormalizedMenuVisibilities, TNormalizedPermissions, TNormalizedActionRights, TNormalizedDataFences } from '@commercetools-frontend/application-shell-connectors';
|
|
4
|
-
import type { TFetchProjectQuery } from '../../types/generated/mc';
|
|
5
|
-
import type { TNavbarMenu } from '../../types/generated/proxy';
|
|
6
|
-
import { type MenuItemLinkProps } from './menu-items';
|
|
7
|
-
import { TMousePosition } from './use-navbar-state-manager';
|
|
8
|
-
type TProjectPermissions = {
|
|
9
|
-
permissions: TNormalizedPermissions | null;
|
|
10
|
-
actionRights: TNormalizedActionRights | null;
|
|
11
|
-
dataFences: TNormalizedDataFences | null;
|
|
12
|
-
};
|
|
13
|
-
type TMenuWithDefaultLabel = TNavbarMenu & {
|
|
14
|
-
defaultLabel?: string;
|
|
15
|
-
};
|
|
16
|
-
type ApplicationMenuProps = {
|
|
17
|
-
location: RouteComponentProps['location'];
|
|
18
|
-
menu: TMenuWithDefaultLabel;
|
|
19
|
-
isActive: boolean;
|
|
20
|
-
isMenuOpen: boolean;
|
|
21
|
-
shouldCloseMenuFly: MouseEventHandler<HTMLElement>;
|
|
22
|
-
projectPermissions: TProjectPermissions;
|
|
23
|
-
menuVisibilities: TNormalizedMenuVisibilities | null;
|
|
24
|
-
handleToggleItem: () => void;
|
|
25
|
-
applicationLocale: string;
|
|
26
|
-
projectKey: string;
|
|
27
|
-
useFullRedirectsForLinks: boolean;
|
|
28
|
-
onMenuItemClick?: MenuItemLinkProps['onClick'];
|
|
29
|
-
onMouseMove: MouseEventHandler<HTMLLIElement>;
|
|
30
|
-
mousePosition: TMousePosition;
|
|
31
|
-
pointerEvent?: string;
|
|
32
|
-
};
|
|
33
|
-
export declare const ApplicationMenu: {
|
|
34
|
-
(props: ApplicationMenuProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
35
|
-
displayName: string;
|
|
36
|
-
};
|
|
37
|
-
export type TNavbarProps = {
|
|
38
|
-
applicationLocale?: string;
|
|
39
|
-
projectKey: string;
|
|
40
|
-
environment: TApplicationContext<{
|
|
41
|
-
useFullRedirectsForLinks?: boolean;
|
|
42
|
-
}>['environment'];
|
|
43
|
-
project: TFetchProjectQuery['project'];
|
|
44
|
-
onMenuItemClick?: MenuItemLinkProps['onClick'];
|
|
45
|
-
isLoading: boolean;
|
|
46
|
-
};
|
|
47
|
-
declare const NavBar: {
|
|
48
|
-
(props: TNavbarProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
49
|
-
displayName: string;
|
|
50
|
-
};
|
|
51
|
-
export default NavBar;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function nonNullable<T>(value: T): value is NonNullable<T>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const IconWrapper: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
-
declare const Icon: import("@emotion/styled").StyledComponent<{
|
|
7
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
-
declare const ItemIconText: import("@emotion/styled").StyledComponent<{
|
|
11
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
13
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
14
|
-
declare const Title: import("@emotion/styled").StyledComponent<{
|
|
15
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
17
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
18
|
-
export { Icon, IconWrapper, ItemIconText, Title };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { type MouseEvent } from 'react';
|
|
2
|
-
import { type TApplicationContext } from '@commercetools-frontend/application-shell-connectors';
|
|
3
|
-
import type { TFetchProjectQuery } from '../../types/generated/mc';
|
|
4
|
-
import type { TNavbarMenuGroup } from '../../types/generated/proxy';
|
|
5
|
-
type HookProps = {
|
|
6
|
-
environment: TApplicationContext<{}>['environment'];
|
|
7
|
-
project: TFetchProjectQuery['project'];
|
|
8
|
-
};
|
|
9
|
-
export type TMousePosition = {
|
|
10
|
-
clientX: number;
|
|
11
|
-
clientY: number;
|
|
12
|
-
};
|
|
13
|
-
declare const useNavbarStateManager: (props: HookProps) => {
|
|
14
|
-
navBarNode: import("react").RefObject<HTMLElement | null>;
|
|
15
|
-
handleToggleItem: (nextActiveItemIndex: string) => void;
|
|
16
|
-
handleToggleMenu: () => void;
|
|
17
|
-
shouldCloseMenuFly: (e: React.MouseEvent<HTMLElement> | MouseEvent | FocusEvent) => void;
|
|
18
|
-
getMousePosition: (e: MouseEvent<HTMLLIElement>, itemIndex: string) => void;
|
|
19
|
-
allApplicationsNavbarMenuGroups: TNavbarMenuGroup[];
|
|
20
|
-
activeItemIndex?: string | undefined;
|
|
21
|
-
isExpanderVisible: boolean;
|
|
22
|
-
isMenuOpen: boolean;
|
|
23
|
-
mousePosition: TMousePosition;
|
|
24
|
-
};
|
|
25
|
-
export default useNavbarStateManager;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const ProjectContainer: import("react").LazyExoticComponent<{
|
|
3
|
-
(props: {
|
|
4
|
-
user: {
|
|
5
|
-
__typename?: "User" | undefined;
|
|
6
|
-
id: string;
|
|
7
|
-
email: string;
|
|
8
|
-
createdAt: string;
|
|
9
|
-
gravatarHash: string;
|
|
10
|
-
firstName: string;
|
|
11
|
-
lastName: string;
|
|
12
|
-
language: string;
|
|
13
|
-
numberFormat: string;
|
|
14
|
-
timeZone?: string | null | undefined;
|
|
15
|
-
launchdarklyTrackingId: string;
|
|
16
|
-
launchdarklyTrackingGroup: string;
|
|
17
|
-
launchdarklyTrackingSubgroup?: string | null | undefined;
|
|
18
|
-
launchdarklyTrackingTeam?: string[] | null | undefined;
|
|
19
|
-
launchdarklyTrackingCloudEnvironment: string;
|
|
20
|
-
defaultProjectKey?: string | null | undefined;
|
|
21
|
-
businessRole?: string | null | undefined;
|
|
22
|
-
projects: {
|
|
23
|
-
__typename?: "ProjectQueryResult" | undefined;
|
|
24
|
-
total: number;
|
|
25
|
-
results: {
|
|
26
|
-
__typename?: "Project" | undefined;
|
|
27
|
-
name: string;
|
|
28
|
-
key: string;
|
|
29
|
-
isProductionProject: boolean;
|
|
30
|
-
suspension: {
|
|
31
|
-
__typename?: "ProjectSuspension" | undefined;
|
|
32
|
-
isActive: boolean;
|
|
33
|
-
};
|
|
34
|
-
expiry: {
|
|
35
|
-
__typename?: "ProjectExpiry" | undefined;
|
|
36
|
-
isActive: boolean;
|
|
37
|
-
};
|
|
38
|
-
}[];
|
|
39
|
-
};
|
|
40
|
-
idTokenUserInfo?: {
|
|
41
|
-
__typename?: "IdTokenUserInfo" | undefined;
|
|
42
|
-
iss: string;
|
|
43
|
-
sub: string;
|
|
44
|
-
aud: string;
|
|
45
|
-
exp: number;
|
|
46
|
-
iat?: number | null | undefined;
|
|
47
|
-
email?: string | null | undefined;
|
|
48
|
-
name?: string | null | undefined;
|
|
49
|
-
additionalClaims?: string | null | undefined;
|
|
50
|
-
} | null | undefined;
|
|
51
|
-
} | null | undefined;
|
|
52
|
-
environment: import("@commercetools-frontend/constants").ApplicationRuntimeEnvironment;
|
|
53
|
-
disableRoutePermissionCheck?: boolean | undefined;
|
|
54
|
-
render?: (() => import("react").JSX.Element) | undefined;
|
|
55
|
-
children?: import("react").ReactNode;
|
|
56
|
-
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
57
|
-
displayName: string;
|
|
58
|
-
}>;
|
|
59
|
-
export default ProjectContainer;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type JSX, type ReactNode } from 'react';
|
|
2
|
-
import type { TProviderProps } from '@commercetools-frontend/application-shell-connectors';
|
|
3
|
-
import type { TFetchLoggedInUserQuery } from '../../types/generated/mc';
|
|
4
|
-
type TProjectContainerProps = {
|
|
5
|
-
user: TFetchLoggedInUserQuery['user'];
|
|
6
|
-
environment: TProviderProps<{}>['environment'];
|
|
7
|
-
disableRoutePermissionCheck?: boolean;
|
|
8
|
-
render?: () => JSX.Element;
|
|
9
|
-
children?: ReactNode;
|
|
10
|
-
};
|
|
11
|
-
declare const ProjectContainer: {
|
|
12
|
-
(props: TProjectContainerProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
13
|
-
displayName: string;
|
|
14
|
-
};
|
|
15
|
-
export default ProjectContainer;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './project-data-locale';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
type RenderFnArgs = {
|
|
3
|
-
locale: string;
|
|
4
|
-
setProjectDataLocale: (locale: string) => void;
|
|
5
|
-
};
|
|
6
|
-
type Props = {
|
|
7
|
-
locales: string[];
|
|
8
|
-
children: (args: RenderFnArgs) => ReactNode;
|
|
9
|
-
};
|
|
10
|
-
declare const ProjectDataLocale: {
|
|
11
|
-
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
|
-
displayName: string;
|
|
13
|
-
};
|
|
14
|
-
export default ProjectDataLocale;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const ProjectSuspended: import("react").LazyExoticComponent<{
|
|
3
|
-
(props: {
|
|
4
|
-
isTemporary?: boolean | undefined;
|
|
5
|
-
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
|
-
displayName: string;
|
|
7
|
-
}>;
|
|
8
|
-
export default ProjectSuspended;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
defaultSuspensionMessage: {
|
|
3
|
-
id: string;
|
|
4
|
-
defaultMessage: string;
|
|
5
|
-
};
|
|
6
|
-
temporaryMaintenanceSuspensionMessage: {
|
|
7
|
-
id: string;
|
|
8
|
-
defaultMessage: string;
|
|
9
|
-
};
|
|
10
|
-
paragraph1: {
|
|
11
|
-
id: string;
|
|
12
|
-
defaultMessage: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './project-switcher';
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
projectsLabel: {
|
|
3
|
-
id: string;
|
|
4
|
-
description: string;
|
|
5
|
-
defaultMessage: string;
|
|
6
|
-
};
|
|
7
|
-
searchPlaceholder: {
|
|
8
|
-
id: string;
|
|
9
|
-
description: string;
|
|
10
|
-
defaultMessage: string;
|
|
11
|
-
};
|
|
12
|
-
noResults: {
|
|
13
|
-
id: string;
|
|
14
|
-
description: string;
|
|
15
|
-
defaultMessage: string;
|
|
16
|
-
};
|
|
17
|
-
suspended: {
|
|
18
|
-
id: string;
|
|
19
|
-
description: string;
|
|
20
|
-
defaultMessage: string;
|
|
21
|
-
};
|
|
22
|
-
expired: {
|
|
23
|
-
id: string;
|
|
24
|
-
description: string;
|
|
25
|
-
defaultMessage: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { OptionProps, ValueContainerProps } from 'react-select';
|
|
2
|
-
import { TOption } from '@commercetools-uikit/select-input';
|
|
3
|
-
type Props = {
|
|
4
|
-
projectKey?: string;
|
|
5
|
-
};
|
|
6
|
-
export declare const ValueContainer: ({ children, ...restProps }: ValueContainerProps<TOption>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
|
-
export declare const ProjectSwitcherOption: (props: OptionProps<TOption>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare const ProjectSwitcher: {
|
|
9
|
-
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
10
|
-
displayName: string;
|
|
11
|
-
};
|
|
12
|
-
export default ProjectSwitcher;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { Command, SearchText, HistoryEntry } from '../types';
|
|
2
|
-
type Props = {
|
|
3
|
-
historyEntries: HistoryEntry[];
|
|
4
|
-
onHistoryEntriesChange: (historyEntries: HistoryEntry[]) => void;
|
|
5
|
-
search: (searchText: SearchText) => Promise<Command[]>;
|
|
6
|
-
getNextCommands: (command: Command) => Promise<Command[]>;
|
|
7
|
-
executeCommand: (command: Command, meta: {
|
|
8
|
-
openInNewTab: boolean;
|
|
9
|
-
}) => void;
|
|
10
|
-
onClose: () => void;
|
|
11
|
-
classNameShakeAnimation: string;
|
|
12
|
-
};
|
|
13
|
-
declare const ButlerWithAnimation: (props: Omit<Props, 'classNameShakeAnimation'>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
14
|
-
export default ButlerWithAnimation;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './butler';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { MouseEventHandler } from 'react';
|
|
2
|
-
import type { Command } from '../types';
|
|
3
|
-
type Props = {
|
|
4
|
-
command: Command;
|
|
5
|
-
isSelected?: boolean;
|
|
6
|
-
onClick: MouseEventHandler<HTMLDivElement>;
|
|
7
|
-
onMouseEnter: MouseEventHandler<HTMLDivElement>;
|
|
8
|
-
};
|
|
9
|
-
declare const ButlerCommand: {
|
|
10
|
-
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
13
|
-
export default ButlerCommand;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './butler-command';
|
package/dist/declarations/src/components/quick-access/butler-container/butler-container.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const ButlerContainer: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
-
export default ButlerContainer;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './butler-container';
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
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;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
type TQuickAccessProps = {
|
|
2
|
-
onChangeProjectDataLocale?: (locale: string) => void;
|
|
3
|
-
};
|
|
4
|
-
declare const QuickAccessTrigger: {
|
|
5
|
-
(props: TQuickAccessProps): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
6
|
-
displayName: string;
|
|
7
|
-
};
|
|
8
|
-
export default QuickAccessTrigger;
|