@commercetools-frontend/application-shell 24.7.2 → 24.8.1
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-661cfc61.cjs.dev.js} +5 -8
- package/dist/{custom-view-dev-host-54e9ab34.esm.js → custom-view-dev-host-a7b97ce5.esm.js} +5 -7
- package/dist/{custom-view-dev-host-22fc5ded.cjs.prod.js → custom-view-dev-host-e05871d6.cjs.prod.js} +5 -5
- 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-63d718c6.cjs.dev.js → index-6e8b15ab.cjs.dev.js} +19 -142
- package/dist/{index-a5d2d010.esm.js → index-86039df7.esm.js} +19 -14
- package/dist/{index-f9551c06.esm.js → index-bfee32ba.esm.js} +19 -141
- package/dist/{index-82b627fb.cjs.prod.js → index-f38829e5.cjs.prod.js} +19 -66
- 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-ca30194b.cjs.prod.js → oidc-callback-156358f9.cjs.prod.js} +6 -6
- package/dist/{oidc-callback-b1c0fb4b.cjs.dev.js → oidc-callback-168de462.cjs.dev.js} +6 -9
- package/dist/{oidc-callback-73295cb5.esm.js → oidc-callback-f2e3befb.esm.js} +6 -8
- package/dist/{project-container-b4fee0d6.cjs.dev.js → project-container-1261b8d4.cjs.dev.js} +10 -20
- package/dist/{project-container-3921c886.cjs.prod.js → project-container-8016faca.cjs.prod.js} +10 -11
- package/dist/{project-container-9c471740.esm.js → project-container-bebda614.esm.js} +10 -19
- package/dist/{project-expired-1a49823c.cjs.prod.js → project-expired-65da94bb.cjs.prod.js} +6 -5
- package/dist/{project-expired-fa42e755.esm.js → project-expired-b656ef29.esm.js} +6 -5
- package/dist/{project-expired-081090ed.cjs.dev.js → project-expired-b92bd5a9.cjs.dev.js} +6 -5
- package/dist/{project-not-found-871c2a08.esm.js → project-not-found-c2f814e3.esm.js} +6 -5
- package/dist/{project-not-found-927b2193.cjs.dev.js → project-not-found-c4b9a557.cjs.dev.js} +6 -5
- package/dist/{project-not-found-a8899d6a.cjs.prod.js → project-not-found-c80f0473.cjs.prod.js} +6 -5
- package/dist/{project-not-initialized-5a8ce431.cjs.dev.js → project-not-initialized-711d2a88.cjs.dev.js} +6 -5
- package/dist/{project-not-initialized-3fdfefab.esm.js → project-not-initialized-7bc049db.esm.js} +6 -5
- package/dist/{project-not-initialized-1a773477.cjs.prod.js → project-not-initialized-f6704f8c.cjs.prod.js} +6 -5
- package/dist/{project-suspended-93172b2c.cjs.dev.js → project-suspended-18e09af9.cjs.dev.js} +6 -5
- package/dist/{project-suspended-5fec80c9.cjs.prod.js → project-suspended-70f60ad4.cjs.prod.js} +6 -5
- package/dist/{project-suspended-696f83da.esm.js → project-suspended-b9a99fe3.esm.js} +6 -5
- package/dist/{quick-access-4022932f.cjs.prod.js → quick-access-483b0df9.cjs.prod.js} +16 -18
- package/dist/{quick-access-f19ebe03.cjs.dev.js → quick-access-a800a4a3.cjs.dev.js} +16 -37
- package/dist/{quick-access-d2009eae.esm.js → quick-access-d8ff6526.esm.js} +16 -36
- 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-e67c2985.cjs.dev.js → redirect-to-logout-5a95dd2d.cjs.dev.js} +6 -5
- package/dist/{redirect-to-logout-2d42f7f1.cjs.prod.js → redirect-to-logout-7fda85d0.cjs.prod.js} +6 -5
- package/dist/{redirect-to-logout-64c4ab1e.esm.js → redirect-to-logout-aa221532.esm.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-7f3ad61a.cjs.prod.js} +5 -4
- package/dist/{requests-in-flight-loader-02be8f44.esm.js → requests-in-flight-loader-a8044d17.esm.js} +5 -4
- package/dist/{requests-in-flight-loader-667bb113.cjs.dev.js → requests-in-flight-loader-f089e3c4.cjs.dev.js} +5 -4
- package/dist/{service-page-project-switcher-27c2172e.cjs.dev.js → service-page-project-switcher-651a2d2a.cjs.dev.js} +1 -1
- package/dist/{service-page-project-switcher-815e8660.esm.js → service-page-project-switcher-78608790.esm.js} +1 -1
- package/dist/{service-page-project-switcher-50e500af.cjs.prod.js → service-page-project-switcher-f24ba376.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 +50 -50
- 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
package/dist/{application-entry-point-87fc1d21.esm.js → application-entry-point-10a5e1a5.esm.js}
RENAMED
|
@@ -7,14 +7,13 @@ import _Object$getOwnPropertyDescriptors from '@babel/runtime-corejs3/core-js-st
|
|
|
7
7
|
import _Object$defineProperties from '@babel/runtime-corejs3/core-js-stable/object/define-properties';
|
|
8
8
|
import _Object$defineProperty from '@babel/runtime-corejs3/core-js-stable/object/define-property';
|
|
9
9
|
import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
|
|
10
|
-
import _pt from 'prop-types';
|
|
11
10
|
import { Children } from 'react';
|
|
12
11
|
import { Switch, Route, Redirect } from 'react-router-dom';
|
|
13
12
|
import invariant from 'tiny-invariant';
|
|
14
13
|
import { PageUnauthorized } from '@commercetools-frontend/application-components';
|
|
15
14
|
import { entryPointUriPathToPermissionKeys } from '@commercetools-frontend/application-config/ssr';
|
|
16
15
|
import { useIsAuthorized } from '@commercetools-frontend/permissions';
|
|
17
|
-
import { R as RouteCatchAll } from './index-
|
|
16
|
+
import { R as RouteCatchAll } from './index-86039df7.esm.js';
|
|
18
17
|
import { jsxs, jsx, Fragment } from '@emotion/react/jsx-runtime';
|
|
19
18
|
|
|
20
19
|
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -32,11 +31,6 @@ const ApplicationRouteWithPermissionCheck = props => {
|
|
|
32
31
|
}
|
|
33
32
|
return jsx(PageUnauthorized, {});
|
|
34
33
|
};
|
|
35
|
-
ApplicationRouteWithPermissionCheck.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
36
|
-
disableRoutePermissionCheck: _pt.bool,
|
|
37
|
-
render: _pt.func,
|
|
38
|
-
children: _pt.node
|
|
39
|
-
} : {};
|
|
40
34
|
const ApplicationRoute = props => {
|
|
41
35
|
if (props.disableRoutePermissionCheck) {
|
|
42
36
|
return jsx(Fragment, {
|
|
@@ -45,11 +39,6 @@ const ApplicationRoute = props => {
|
|
|
45
39
|
}
|
|
46
40
|
return jsx(ApplicationRouteWithPermissionCheck, _objectSpread({}, props));
|
|
47
41
|
};
|
|
48
|
-
ApplicationRoute.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
49
|
-
disableRoutePermissionCheck: _pt.bool,
|
|
50
|
-
render: _pt.func,
|
|
51
|
-
children: _pt.node
|
|
52
|
-
} : {};
|
|
53
42
|
const ApplicationEntryPoint = props => {
|
|
54
43
|
// If the `children` prop is used (instead of the `render` prop),
|
|
55
44
|
// we pre-configure the application entry point routes to avoid
|
|
@@ -89,10 +78,5 @@ const ApplicationEntryPoint = props => {
|
|
|
89
78
|
!!props.render ? process.env.NODE_ENV !== "production" ? invariant(false, '@commercetools-frontend/application-shell: Missing required function prop "render".') : invariant(false) : void 0;
|
|
90
79
|
return null;
|
|
91
80
|
};
|
|
92
|
-
ApplicationEntryPoint.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
93
|
-
disableRoutePermissionCheck: _pt.bool,
|
|
94
|
-
render: _pt.func,
|
|
95
|
-
children: _pt.node
|
|
96
|
-
} : {};
|
|
97
81
|
|
|
98
82
|
export { ApplicationEntryPoint as A };
|
|
@@ -9,14 +9,13 @@ var _Object$getOwnPropertyDescriptors = require('@babel/runtime-corejs3/core-js-
|
|
|
9
9
|
var _Object$defineProperties = require('@babel/runtime-corejs3/core-js-stable/object/define-properties');
|
|
10
10
|
var _Object$defineProperty = require('@babel/runtime-corejs3/core-js-stable/object/define-property');
|
|
11
11
|
var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
12
|
-
require('prop-types');
|
|
13
12
|
var react = require('react');
|
|
14
13
|
var reactRouterDom = require('react-router-dom');
|
|
15
14
|
var invariant = require('tiny-invariant');
|
|
16
15
|
var applicationComponents = require('@commercetools-frontend/application-components');
|
|
17
16
|
var ssr = require('@commercetools-frontend/application-config/ssr');
|
|
18
17
|
var permissions = require('@commercetools-frontend/permissions');
|
|
19
|
-
var index = require('./index-
|
|
18
|
+
var index = require('./index-245e2980.cjs.prod.js');
|
|
20
19
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
21
20
|
|
|
22
21
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -46,7 +45,6 @@ const ApplicationRouteWithPermissionCheck = props => {
|
|
|
46
45
|
}
|
|
47
46
|
return jsxRuntime.jsx(applicationComponents.PageUnauthorized, {});
|
|
48
47
|
};
|
|
49
|
-
ApplicationRouteWithPermissionCheck.propTypes = {};
|
|
50
48
|
const ApplicationRoute = props => {
|
|
51
49
|
if (props.disableRoutePermissionCheck) {
|
|
52
50
|
return jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
@@ -55,7 +53,6 @@ const ApplicationRoute = props => {
|
|
|
55
53
|
}
|
|
56
54
|
return jsxRuntime.jsx(ApplicationRouteWithPermissionCheck, _objectSpread({}, props));
|
|
57
55
|
};
|
|
58
|
-
ApplicationRoute.propTypes = {};
|
|
59
56
|
const ApplicationEntryPoint = props => {
|
|
60
57
|
// If the `children` prop is used (instead of the `render` prop),
|
|
61
58
|
// we pre-configure the application entry point routes to avoid
|
|
@@ -85,6 +82,5 @@ const ApplicationEntryPoint = props => {
|
|
|
85
82
|
!!props.render ? invariant__default["default"](false) : void 0;
|
|
86
83
|
return null;
|
|
87
84
|
};
|
|
88
|
-
ApplicationEntryPoint.propTypes = {};
|
|
89
85
|
|
|
90
86
|
exports.ApplicationEntryPoint = ApplicationEntryPoint;
|
|
@@ -9,14 +9,13 @@ var _Object$getOwnPropertyDescriptors = require('@babel/runtime-corejs3/core-js-
|
|
|
9
9
|
var _Object$defineProperties = require('@babel/runtime-corejs3/core-js-stable/object/define-properties');
|
|
10
10
|
var _Object$defineProperty = require('@babel/runtime-corejs3/core-js-stable/object/define-property');
|
|
11
11
|
var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
12
|
-
var _pt = require('prop-types');
|
|
13
12
|
var react = require('react');
|
|
14
13
|
var reactRouterDom = require('react-router-dom');
|
|
15
14
|
var invariant = require('tiny-invariant');
|
|
16
15
|
var applicationComponents = require('@commercetools-frontend/application-components');
|
|
17
16
|
var ssr = require('@commercetools-frontend/application-config/ssr');
|
|
18
17
|
var permissions = require('@commercetools-frontend/permissions');
|
|
19
|
-
var index = require('./index-
|
|
18
|
+
var index = require('./index-614accc4.cjs.dev.js');
|
|
20
19
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
21
20
|
|
|
22
21
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -29,7 +28,6 @@ var _forEachInstanceProperty__default = /*#__PURE__*/_interopDefault(_forEachIns
|
|
|
29
28
|
var _Object$getOwnPropertyDescriptors__default = /*#__PURE__*/_interopDefault(_Object$getOwnPropertyDescriptors);
|
|
30
29
|
var _Object$defineProperties__default = /*#__PURE__*/_interopDefault(_Object$defineProperties);
|
|
31
30
|
var _Object$defineProperty__default = /*#__PURE__*/_interopDefault(_Object$defineProperty);
|
|
32
|
-
var _pt__default = /*#__PURE__*/_interopDefault(_pt);
|
|
33
31
|
var invariant__default = /*#__PURE__*/_interopDefault(invariant);
|
|
34
32
|
|
|
35
33
|
function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -47,11 +45,6 @@ const ApplicationRouteWithPermissionCheck = props => {
|
|
|
47
45
|
}
|
|
48
46
|
return jsxRuntime.jsx(applicationComponents.PageUnauthorized, {});
|
|
49
47
|
};
|
|
50
|
-
ApplicationRouteWithPermissionCheck.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
51
|
-
disableRoutePermissionCheck: _pt__default["default"].bool,
|
|
52
|
-
render: _pt__default["default"].func,
|
|
53
|
-
children: _pt__default["default"].node
|
|
54
|
-
} : {};
|
|
55
48
|
const ApplicationRoute = props => {
|
|
56
49
|
if (props.disableRoutePermissionCheck) {
|
|
57
50
|
return jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
@@ -60,11 +53,6 @@ const ApplicationRoute = props => {
|
|
|
60
53
|
}
|
|
61
54
|
return jsxRuntime.jsx(ApplicationRouteWithPermissionCheck, _objectSpread({}, props));
|
|
62
55
|
};
|
|
63
|
-
ApplicationRoute.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
64
|
-
disableRoutePermissionCheck: _pt__default["default"].bool,
|
|
65
|
-
render: _pt__default["default"].func,
|
|
66
|
-
children: _pt__default["default"].node
|
|
67
|
-
} : {};
|
|
68
56
|
const ApplicationEntryPoint = props => {
|
|
69
57
|
// If the `children` prop is used (instead of the `render` prop),
|
|
70
58
|
// we pre-configure the application entry point routes to avoid
|
|
@@ -104,10 +92,5 @@ const ApplicationEntryPoint = props => {
|
|
|
104
92
|
!!props.render ? process.env.NODE_ENV !== "production" ? invariant__default["default"](false, '@commercetools-frontend/application-shell: Missing required function prop "render".') : invariant__default["default"](false) : void 0;
|
|
105
93
|
return null;
|
|
106
94
|
};
|
|
107
|
-
ApplicationEntryPoint.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
108
|
-
disableRoutePermissionCheck: _pt__default["default"].bool,
|
|
109
|
-
render: _pt__default["default"].func,
|
|
110
|
-
children: _pt__default["default"].node
|
|
111
|
-
} : {};
|
|
112
95
|
|
|
113
96
|
exports.ApplicationEntryPoint = ApplicationEntryPoint;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./declarations/src/index";
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
export * from "./declarations/src/index.js";
|
|
2
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVyY2V0b29scy1mcm9udGVuZC1hcHBsaWNhdGlvbi1zaGVsbC5janMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4vZGVjbGFyYXRpb25zL3NyYy9pbmRleC5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIn0=
|
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
6
|
-
var index = require('./index-
|
|
5
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-6e8b15ab.cjs.dev.js');
|
|
6
|
+
var index = require('./index-614accc4.cjs.dev.js');
|
|
7
7
|
var applicationShellConnectors = require('@commercetools-frontend/application-shell-connectors');
|
|
8
8
|
var ssr = require('@commercetools-frontend/application-config/ssr');
|
|
9
9
|
var reactBroadcast = require('@flopflip/react-broadcast');
|
|
10
10
|
var launchdarklyAdapter = require('@flopflip/launchdarkly-adapter');
|
|
11
|
-
require('prop-types');
|
|
12
11
|
require('react');
|
|
13
12
|
require('react-router-dom');
|
|
14
13
|
require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
@@ -54,9 +53,9 @@ require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
|
54
53
|
require('@babel/runtime-corejs3/core-js-stable/reflect/construct');
|
|
55
54
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
56
55
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
57
|
-
require('@babel/runtime-corejs3/helpers/inherits');
|
|
58
56
|
require('@babel/runtime-corejs3/helpers/possibleConstructorReturn');
|
|
59
57
|
require('@babel/runtime-corejs3/helpers/getPrototypeOf');
|
|
58
|
+
require('@babel/runtime-corejs3/helpers/inherits');
|
|
60
59
|
require('@babel/runtime-corejs3/core-js-stable/instance/index-of');
|
|
61
60
|
require('@babel/runtime-corejs3/core-js-stable/instance/slice');
|
|
62
61
|
require('@babel/runtime-corejs3/core-js-stable/object/from-entries');
|
|
@@ -75,10 +74,12 @@ require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
|
75
74
|
require('@babel/runtime-corejs3/core-js-stable/instance/some');
|
|
76
75
|
require('@commercetools-frontend/actions-global');
|
|
77
76
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
77
|
+
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
78
78
|
require('@babel/runtime-corejs3/core-js-stable/reflect/has');
|
|
79
79
|
require('@reduxjs/toolkit');
|
|
80
80
|
require('lodash/mapValues');
|
|
81
81
|
require('omit-empty-es');
|
|
82
|
+
require('redux');
|
|
82
83
|
require('redux-thunk');
|
|
83
84
|
require('@commercetools-frontend/notifications');
|
|
84
85
|
require('@commercetools-frontend/sdk');
|
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
6
|
-
var index = require('./index-
|
|
5
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-f38829e5.cjs.prod.js');
|
|
6
|
+
var index = require('./index-245e2980.cjs.prod.js');
|
|
7
7
|
var applicationShellConnectors = require('@commercetools-frontend/application-shell-connectors');
|
|
8
8
|
var ssr = require('@commercetools-frontend/application-config/ssr');
|
|
9
9
|
var reactBroadcast = require('@flopflip/react-broadcast');
|
|
10
10
|
var launchdarklyAdapter = require('@flopflip/launchdarkly-adapter');
|
|
11
|
-
require('prop-types');
|
|
12
11
|
require('react');
|
|
13
12
|
require('react-router-dom');
|
|
14
13
|
require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
@@ -54,9 +53,9 @@ require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
|
54
53
|
require('@babel/runtime-corejs3/core-js-stable/reflect/construct');
|
|
55
54
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
56
55
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
57
|
-
require('@babel/runtime-corejs3/helpers/inherits');
|
|
58
56
|
require('@babel/runtime-corejs3/helpers/possibleConstructorReturn');
|
|
59
57
|
require('@babel/runtime-corejs3/helpers/getPrototypeOf');
|
|
58
|
+
require('@babel/runtime-corejs3/helpers/inherits');
|
|
60
59
|
require('@babel/runtime-corejs3/core-js-stable/instance/index-of');
|
|
61
60
|
require('@babel/runtime-corejs3/core-js-stable/instance/slice');
|
|
62
61
|
require('@babel/runtime-corejs3/core-js-stable/object/from-entries');
|
|
@@ -75,10 +74,12 @@ require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
|
75
74
|
require('@babel/runtime-corejs3/core-js-stable/instance/some');
|
|
76
75
|
require('@commercetools-frontend/actions-global');
|
|
77
76
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
77
|
+
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
78
78
|
require('@babel/runtime-corejs3/core-js-stable/reflect/has');
|
|
79
79
|
require('@reduxjs/toolkit');
|
|
80
80
|
require('lodash/mapValues');
|
|
81
81
|
require('omit-empty-es');
|
|
82
|
+
require('redux');
|
|
82
83
|
require('redux-thunk');
|
|
83
84
|
require('@commercetools-frontend/notifications');
|
|
84
85
|
require('@commercetools-frontend/sdk');
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
export { f as ApplicationPageTitle, A as ApplicationShell, e as ApplicationShellProvider, C as ConfigureIntlProvider, h as CustomViewShell, j as ErrorApologizer, i as FetchUser, I as InjectReducers, m as ProtectedRoute, R as RedirectToLogin, k as RedirectToLogout, S as SetupFlopFlipProvider, n as SuspendedProtectedRoute, l as SuspendedRoute, g as getBrowserLocale, o as getPreviousProjectKey, s as setupGlobalErrorListener, u as useRoutesCreator, v as version } from './index-
|
|
2
|
-
export { R as RouteCatchAll, a as applyDefaultMiddlewares } from './index-
|
|
1
|
+
export { f as ApplicationPageTitle, A as ApplicationShell, e as ApplicationShellProvider, C as ConfigureIntlProvider, h as CustomViewShell, j as ErrorApologizer, i as FetchUser, I as InjectReducers, m as ProtectedRoute, R as RedirectToLogin, k as RedirectToLogout, S as SetupFlopFlipProvider, n as SuspendedProtectedRoute, l as SuspendedRoute, g as getBrowserLocale, o as getPreviousProjectKey, s as setupGlobalErrorListener, u as useRoutesCreator, v as version } from './index-bfee32ba.esm.js';
|
|
2
|
+
export { R as RouteCatchAll, a as applyDefaultMiddlewares } from './index-86039df7.esm.js';
|
|
3
3
|
export { buildApiUrl, createApolloClient, createApolloContextForProxyForwardTo, createHttpClientOptions, executeHttpClientRequest, getMcApiUrl, selectProjectKeyFromUrl, selectUserId, useMcLazyQuery, useMcMutation, useMcQuery } from '@commercetools-frontend/application-shell-connectors';
|
|
4
4
|
export { entryPointUriPathToPermissionKeys, entryPointUriPathToResourceAccesses } from '@commercetools-frontend/application-config/ssr';
|
|
5
5
|
export { ConfigureFlopFlip, ReconfigureFlopFlip, ToggleFeature, branchOnFeatureToggle, injectFeatureToggle, injectFeatureToggles, useAdapterReconfiguration, useAdapterStatus, useFeatureToggle, useFeatureToggles, useFlagVariation, useFlagVariations } from '@flopflip/react-broadcast';
|
|
6
6
|
export { adapter as ldAdapter } from '@flopflip/launchdarkly-adapter';
|
|
7
|
-
import 'prop-types';
|
|
8
7
|
import 'react';
|
|
9
8
|
import 'react-router-dom';
|
|
10
9
|
import '@babel/runtime-corejs3/helpers/defineProperty';
|
|
@@ -50,9 +49,9 @@ import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
|
50
49
|
import '@babel/runtime-corejs3/core-js-stable/reflect/construct';
|
|
51
50
|
import '@babel/runtime-corejs3/helpers/classCallCheck';
|
|
52
51
|
import '@babel/runtime-corejs3/helpers/createClass';
|
|
53
|
-
import '@babel/runtime-corejs3/helpers/inherits';
|
|
54
52
|
import '@babel/runtime-corejs3/helpers/possibleConstructorReturn';
|
|
55
53
|
import '@babel/runtime-corejs3/helpers/getPrototypeOf';
|
|
54
|
+
import '@babel/runtime-corejs3/helpers/inherits';
|
|
56
55
|
import '@babel/runtime-corejs3/core-js-stable/instance/index-of';
|
|
57
56
|
import '@babel/runtime-corejs3/core-js-stable/instance/slice';
|
|
58
57
|
import '@babel/runtime-corejs3/core-js-stable/object/from-entries';
|
|
@@ -71,10 +70,12 @@ import '@babel/runtime-corejs3/core-js-stable/json/stringify';
|
|
|
71
70
|
import '@babel/runtime-corejs3/core-js-stable/instance/some';
|
|
72
71
|
import '@commercetools-frontend/actions-global';
|
|
73
72
|
import '@babel/runtime-corejs3/core-js-stable/object/entries';
|
|
73
|
+
import '@babel/runtime-corejs3/core-js-stable/instance/concat';
|
|
74
74
|
import '@babel/runtime-corejs3/core-js-stable/reflect/has';
|
|
75
75
|
import '@reduxjs/toolkit';
|
|
76
76
|
import 'lodash/mapValues';
|
|
77
77
|
import 'omit-empty-es';
|
|
78
|
+
import 'redux';
|
|
78
79
|
import 'redux-thunk';
|
|
79
80
|
import '@commercetools-frontend/notifications';
|
|
80
81
|
import '@commercetools-frontend/sdk';
|
package/dist/{custom-view-dev-host-d0430873.cjs.dev.js → custom-view-dev-host-661cfc61.cjs.dev.js}
RENAMED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var _slicedToArray = require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
4
|
-
var _pt = require('prop-types');
|
|
5
4
|
var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
6
5
|
var react = require('react');
|
|
7
6
|
var reactRouterDom = require('react-router-dom');
|
|
@@ -11,9 +10,9 @@ var Constraints = require('@commercetools-uikit/constraints');
|
|
|
11
10
|
var PrimaryButton = require('@commercetools-uikit/primary-button');
|
|
12
11
|
var Spacings = require('@commercetools-uikit/spacings');
|
|
13
12
|
var Text = require('@commercetools-uikit/text');
|
|
14
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
13
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-6e8b15ab.cjs.dev.js');
|
|
15
14
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
16
|
-
require('./index-
|
|
15
|
+
require('./index-614accc4.cjs.dev.js');
|
|
17
16
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
18
17
|
require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
19
18
|
require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
@@ -25,10 +24,12 @@ require('@babel/runtime-corejs3/core-js-stable/object/define-property');
|
|
|
25
24
|
require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
26
25
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
27
26
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
27
|
+
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
28
28
|
require('@babel/runtime-corejs3/core-js-stable/reflect/has');
|
|
29
29
|
require('@reduxjs/toolkit');
|
|
30
30
|
require('lodash/mapValues');
|
|
31
31
|
require('omit-empty-es');
|
|
32
|
+
require('redux');
|
|
32
33
|
require('redux-thunk');
|
|
33
34
|
require('@commercetools-frontend/application-shell-connectors');
|
|
34
35
|
require('@commercetools-frontend/constants');
|
|
@@ -64,9 +65,9 @@ require('@commercetools-frontend/l10n');
|
|
|
64
65
|
require('@babel/runtime-corejs3/core-js-stable/reflect/construct');
|
|
65
66
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
66
67
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
67
|
-
require('@babel/runtime-corejs3/helpers/inherits');
|
|
68
68
|
require('@babel/runtime-corejs3/helpers/possibleConstructorReturn');
|
|
69
69
|
require('@babel/runtime-corejs3/helpers/getPrototypeOf');
|
|
70
|
+
require('@babel/runtime-corejs3/helpers/inherits');
|
|
70
71
|
require('@babel/runtime-corejs3/core-js-stable/object/from-entries');
|
|
71
72
|
require('@babel/runtime-corejs3/core-js-stable/instance/flags');
|
|
72
73
|
require('@apollo/client/react');
|
|
@@ -86,7 +87,6 @@ require('@commercetools-frontend/actions-global');
|
|
|
86
87
|
|
|
87
88
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
88
89
|
|
|
89
|
-
var _pt__default = /*#__PURE__*/_interopDefault(_pt);
|
|
90
90
|
var _mapInstanceProperty__default = /*#__PURE__*/_interopDefault(_mapInstanceProperty);
|
|
91
91
|
var history__default = /*#__PURE__*/_interopDefault(history);
|
|
92
92
|
var Constraints__default = /*#__PURE__*/_interopDefault(Constraints);
|
|
@@ -192,9 +192,6 @@ const CustomViewDevHost = props => {
|
|
|
192
192
|
})
|
|
193
193
|
});
|
|
194
194
|
};
|
|
195
|
-
CustomViewDevHost.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
196
|
-
children: _pt__default["default"].node.isRequired
|
|
197
|
-
} : {};
|
|
198
195
|
CustomViewDevHost.displayName = 'CustomViewDevHost';
|
|
199
196
|
|
|
200
197
|
exports["default"] = CustomViewDevHost;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import _slicedToArray from '@babel/runtime-corejs3/helpers/esm/slicedToArray';
|
|
2
|
-
import _pt from 'prop-types';
|
|
3
2
|
import _mapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
4
3
|
import { useState } from 'react';
|
|
5
4
|
import { Router, Switch, Route, useRouteMatch } from 'react-router-dom';
|
|
@@ -9,9 +8,9 @@ import Constraints from '@commercetools-uikit/constraints';
|
|
|
9
8
|
import PrimaryButton from '@commercetools-uikit/primary-button';
|
|
10
9
|
import Spacings from '@commercetools-uikit/spacings';
|
|
11
10
|
import Text from '@commercetools-uikit/text';
|
|
12
|
-
import { A as ApplicationShell } from './index-
|
|
11
|
+
import { A as ApplicationShell } from './index-bfee32ba.esm.js';
|
|
13
12
|
import { jsx, jsxs, Fragment } from '@emotion/react/jsx-runtime';
|
|
14
|
-
import './index-
|
|
13
|
+
import './index-86039df7.esm.js';
|
|
15
14
|
import '@babel/runtime-corejs3/core-js-stable/object/keys';
|
|
16
15
|
import '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
|
|
17
16
|
import '@babel/runtime-corejs3/core-js-stable/instance/filter';
|
|
@@ -23,10 +22,12 @@ import '@babel/runtime-corejs3/core-js-stable/object/define-property';
|
|
|
23
22
|
import '@babel/runtime-corejs3/helpers/defineProperty';
|
|
24
23
|
import '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|
|
25
24
|
import '@babel/runtime-corejs3/core-js-stable/object/entries';
|
|
25
|
+
import '@babel/runtime-corejs3/core-js-stable/instance/concat';
|
|
26
26
|
import '@babel/runtime-corejs3/core-js-stable/reflect/has';
|
|
27
27
|
import '@reduxjs/toolkit';
|
|
28
28
|
import 'lodash/mapValues';
|
|
29
29
|
import 'omit-empty-es';
|
|
30
|
+
import 'redux';
|
|
30
31
|
import 'redux-thunk';
|
|
31
32
|
import '@commercetools-frontend/application-shell-connectors';
|
|
32
33
|
import '@commercetools-frontend/constants';
|
|
@@ -62,9 +63,9 @@ import '@commercetools-frontend/l10n';
|
|
|
62
63
|
import '@babel/runtime-corejs3/core-js-stable/reflect/construct';
|
|
63
64
|
import '@babel/runtime-corejs3/helpers/classCallCheck';
|
|
64
65
|
import '@babel/runtime-corejs3/helpers/createClass';
|
|
65
|
-
import '@babel/runtime-corejs3/helpers/inherits';
|
|
66
66
|
import '@babel/runtime-corejs3/helpers/possibleConstructorReturn';
|
|
67
67
|
import '@babel/runtime-corejs3/helpers/getPrototypeOf';
|
|
68
|
+
import '@babel/runtime-corejs3/helpers/inherits';
|
|
68
69
|
import '@babel/runtime-corejs3/core-js-stable/object/from-entries';
|
|
69
70
|
import '@babel/runtime-corejs3/core-js-stable/instance/flags';
|
|
70
71
|
import '@apollo/client/react';
|
|
@@ -180,9 +181,6 @@ const CustomViewDevHost = props => {
|
|
|
180
181
|
})
|
|
181
182
|
});
|
|
182
183
|
};
|
|
183
|
-
CustomViewDevHost.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
184
|
-
children: _pt.node.isRequired
|
|
185
|
-
} : {};
|
|
186
184
|
CustomViewDevHost.displayName = 'CustomViewDevHost';
|
|
187
185
|
|
|
188
186
|
export { CustomViewDevHost as default };
|
package/dist/{custom-view-dev-host-22fc5ded.cjs.prod.js → custom-view-dev-host-e05871d6.cjs.prod.js}
RENAMED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var _slicedToArray = require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
4
|
-
require('prop-types');
|
|
5
4
|
var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
6
5
|
var react = require('react');
|
|
7
6
|
var reactRouterDom = require('react-router-dom');
|
|
@@ -11,9 +10,9 @@ var Constraints = require('@commercetools-uikit/constraints');
|
|
|
11
10
|
var PrimaryButton = require('@commercetools-uikit/primary-button');
|
|
12
11
|
var Spacings = require('@commercetools-uikit/spacings');
|
|
13
12
|
var Text = require('@commercetools-uikit/text');
|
|
14
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
13
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-f38829e5.cjs.prod.js');
|
|
15
14
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
16
|
-
require('./index-
|
|
15
|
+
require('./index-245e2980.cjs.prod.js');
|
|
17
16
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
18
17
|
require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
19
18
|
require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
@@ -25,10 +24,12 @@ require('@babel/runtime-corejs3/core-js-stable/object/define-property');
|
|
|
25
24
|
require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
26
25
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
27
26
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
27
|
+
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
28
28
|
require('@babel/runtime-corejs3/core-js-stable/reflect/has');
|
|
29
29
|
require('@reduxjs/toolkit');
|
|
30
30
|
require('lodash/mapValues');
|
|
31
31
|
require('omit-empty-es');
|
|
32
|
+
require('redux');
|
|
32
33
|
require('redux-thunk');
|
|
33
34
|
require('@commercetools-frontend/application-shell-connectors');
|
|
34
35
|
require('@commercetools-frontend/constants');
|
|
@@ -64,9 +65,9 @@ require('@commercetools-frontend/l10n');
|
|
|
64
65
|
require('@babel/runtime-corejs3/core-js-stable/reflect/construct');
|
|
65
66
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
66
67
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
67
|
-
require('@babel/runtime-corejs3/helpers/inherits');
|
|
68
68
|
require('@babel/runtime-corejs3/helpers/possibleConstructorReturn');
|
|
69
69
|
require('@babel/runtime-corejs3/helpers/getPrototypeOf');
|
|
70
|
+
require('@babel/runtime-corejs3/helpers/inherits');
|
|
70
71
|
require('@babel/runtime-corejs3/core-js-stable/object/from-entries');
|
|
71
72
|
require('@babel/runtime-corejs3/core-js-stable/instance/flags');
|
|
72
73
|
require('@apollo/client/react');
|
|
@@ -191,7 +192,6 @@ const CustomViewDevHost = props => {
|
|
|
191
192
|
})
|
|
192
193
|
});
|
|
193
194
|
};
|
|
194
|
-
CustomViewDevHost.propTypes = {};
|
|
195
195
|
CustomViewDevHost.displayName = 'CustomViewDevHost';
|
|
196
196
|
|
|
197
197
|
exports["default"] = CustomViewDevHost;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./application-page-title.js";
|
|
@@ -3,7 +3,7 @@ import type { NormalizedCacheObject } from '@apollo/client';
|
|
|
3
3
|
import { ApolloClient } from '@apollo/client';
|
|
4
4
|
import type { TFlags } from '@flopflip/types';
|
|
5
5
|
import type { Dispatch } from 'redux';
|
|
6
|
-
import type { TApplicationContext } from
|
|
6
|
+
import type { TApplicationContext } from "../../../../application-shell-connectors/dist/commercetools-frontend-application-shell-connectors.cjs.js";
|
|
7
7
|
import type { TAsyncLocaleDataProps } from '@commercetools-frontend/i18n';
|
|
8
8
|
type TApplicationShellProps = {
|
|
9
9
|
apolloClient?: ApolloClient<NormalizedCacheObject>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./application-shell.js";
|
package/dist/declarations/src/components/application-shell-provider/application-shell-provider.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
2
|
import { ApolloClient, type NormalizedCacheObject } from '@apollo/client';
|
|
3
|
-
import { type TApplicationContext } from
|
|
3
|
+
import { type TApplicationContext } from "../../../../application-shell-connectors/dist/commercetools-frontend-application-shell-connectors.cjs.js";
|
|
4
4
|
import type { TAsyncLocaleDataProps } from '@commercetools-frontend/i18n';
|
|
5
5
|
type TApplicationShellProviderProps = {
|
|
6
6
|
apolloClient?: ApolloClient<NormalizedCacheObject>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./application-shell-provider.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./configure-intl-provider.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./custom-view-shell.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import type { ApolloError } from '@apollo/client/errors';
|
|
3
|
-
import type { TFetchLoggedInUserQuery } from
|
|
3
|
+
import type { TFetchLoggedInUserQuery } from "../../types/generated/mc.js";
|
|
4
4
|
type RenderFnArgs = {
|
|
5
5
|
isLoading: boolean;
|
|
6
6
|
error?: ApolloError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./fetch-user.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./inject-reducers.js";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const RedirectToLogout: import("react").LazyExoticComponent<(props: {
|
|
3
|
-
reason?:
|
|
2
|
+
reason?: typeof import("@commercetools-frontend/constants").LOGOUT_REASONS[keyof typeof import("@commercetools-frontend/constants").LOGOUT_REASONS];
|
|
4
3
|
}) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
5
4
|
export default RedirectToLogout;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./setup-flop-flip-provider.js";
|
package/dist/declarations/src/components/setup-flop-flip-provider/setup-flop-flip-provider.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { type TFlags } from '@flopflip/types';
|
|
3
|
-
import type { TFetchLoggedInUserQuery } from
|
|
3
|
+
import type { TFetchLoggedInUserQuery } from "../../types/generated/mc.js";
|
|
4
4
|
type TSetupFlopFlipProviderProps = {
|
|
5
5
|
projectKey?: string;
|
|
6
6
|
user?: TFetchLoggedInUserQuery['user'];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { SuspendedRoute } from
|
|
2
|
-
export { SuspendedProtectedRoute } from
|
|
3
|
-
export { ProtectedRoute } from
|
|
1
|
+
export { SuspendedRoute } from "./suspended-route.js";
|
|
2
|
+
export { SuspendedProtectedRoute } from "./suspended-protected-route.js";
|
|
3
|
+
export { ProtectedRoute } from "./protected-route.js";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { type TProtectedRouteProps } from './protected-route';
|
|
1
|
+
import { type TProtectedRouteProps } from "./protected-route.js";
|
|
3
2
|
type TSuspendedProtectedRouteProps = TProtectedRouteProps & {
|
|
4
3
|
loading?: React.ReactNode;
|
|
5
4
|
fallback?: React.ReactNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TApolloContext as ApolloContext, THttpClientFetcher as TFetcher, THttpClientFetcherResponse as TFetcherResponse, THttpClientHeaders as THeaders, THttpClientConfig as TConfig, THttpClientOptions as TOptions, TForwardToAudiencePolicy as ForwardToAudiencePolicy } from
|
|
1
|
+
import type { TApolloContext as ApolloContext, THttpClientFetcher as TFetcher, THttpClientFetcherResponse as TFetcherResponse, THttpClientHeaders as THeaders, THttpClientConfig as TConfig, THttpClientOptions as TOptions, TForwardToAudiencePolicy as ForwardToAudiencePolicy } from "../../application-shell-connectors/dist/commercetools-frontend-application-shell-connectors.cjs.js";
|
|
2
2
|
export type TApolloContext = ApolloContext;
|
|
3
3
|
export type TForwardToAudiencePolicy = ForwardToAudiencePolicy;
|
|
4
4
|
export type THttpClientFetcher<Data> = TFetcher<Data>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./use-routes-creator.js";
|