@elliemae/pui-app-sdk 3.0.0-beta.2 → 3.0.0-beta.20
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/cjs/analytics/appdynamics.js +13 -7
- package/dist/cjs/analytics/index.js +13 -12
- package/dist/cjs/analytics/page-view-event.js +23 -13
- package/dist/cjs/analytics/user-session-event.js +14 -13
- package/dist/cjs/analytics/user-wait-event.js +13 -12
- package/dist/cjs/analytics/web-analytics.js +19 -2
- package/dist/cjs/api/auth/index.js +11 -10
- package/dist/cjs/api/helpers.js +12 -11
- package/dist/cjs/api/users/index.js +11 -10
- package/dist/cjs/communication/http-client/index.js +18 -12
- package/dist/cjs/communication/http-client/request-interceptor.js +11 -10
- package/dist/cjs/communication/http-client/response-interceptor.js +13 -7
- package/dist/cjs/communication/http-client/retry-axios.js +14 -8
- package/dist/cjs/communication/http-client/retry.js +11 -10
- package/dist/cjs/communication/http-client/tests/index.test-disable.js +7 -7
- package/dist/cjs/data/auth/actions.js +19 -2
- package/dist/cjs/data/auth/reducer.js +14 -8
- package/dist/cjs/data/breakpoint/index.js +13 -7
- package/dist/cjs/data/error/index.js +11 -10
- package/dist/cjs/data/index.js +35 -0
- package/dist/cjs/data/live-message/index.js +11 -10
- package/dist/cjs/data/logout/actions.js +19 -2
- package/dist/cjs/data/navigation-prompt/actions.js +19 -2
- package/dist/cjs/data/react-redux.js +11 -10
- package/dist/cjs/data/reducers.js +15 -14
- package/dist/cjs/data/saga.js +19 -2
- package/dist/cjs/data/store.js +17 -24
- package/dist/cjs/data/wait-message/actions.js +19 -2
- package/dist/cjs/data/wait-message/reducer.js +14 -8
- package/dist/cjs/index.js +88 -82
- package/dist/cjs/micro-frontend.js +34 -0
- package/dist/cjs/sideeffect/auth/index.js +15 -14
- package/dist/cjs/sideeffect/error-toast/index.js +15 -14
- package/dist/cjs/sideeffect/wait-message/index.js +15 -14
- package/dist/cjs/typings/styled.d.js +1 -19
- package/dist/cjs/utils/app-config/config.js +14 -8
- package/dist/cjs/utils/app-config/index.js +17 -11
- package/dist/cjs/utils/app-host-integration/react.js +11 -10
- package/dist/cjs/utils/auth/helper.js +13 -7
- package/dist/cjs/utils/auth/index.js +19 -18
- package/dist/cjs/utils/await.js +18 -1
- package/dist/cjs/utils/constants.js +19 -2
- package/dist/cjs/utils/font-size.js +19 -2
- package/dist/cjs/utils/guest-with-service.js +19 -2
- package/dist/cjs/utils/helpers.js +20 -3
- package/dist/cjs/utils/history.js +11 -10
- package/dist/cjs/utils/log-records.js +19 -2
- package/dist/cjs/utils/micro-frontend/console-logger.js +12 -11
- package/dist/cjs/utils/micro-frontend/guest.js +25 -19
- package/dist/cjs/utils/micro-frontend/host.js +30 -29
- package/dist/cjs/utils/micro-frontend/index.js +17 -11
- package/dist/cjs/utils/micro-frontend/types.js +18 -1
- package/dist/cjs/utils/redact-pii.js +19 -2
- package/dist/cjs/utils/service-worker.js +12 -11
- package/dist/cjs/utils/session.js +15 -14
- package/dist/cjs/utils/storybook/{main.js → cjs/main.js} +11 -3
- package/dist/cjs/utils/storybook/{middleware.js → cjs/middleware.js} +0 -0
- package/dist/cjs/utils/storybook/{vite.js → cjs/vite.js} +0 -0
- package/dist/cjs/utils/storybook/{webpack.js → cjs/webpack.js} +9 -1
- package/dist/cjs/utils/storybook/manager.js +12 -11
- package/dist/cjs/utils/storybook/preview.js +19 -19
- package/dist/cjs/utils/storybook/theme.js +11 -10
- package/dist/cjs/utils/testing/index.js +19 -12
- package/dist/cjs/utils/testing/render-with-redux.js +17 -10
- package/dist/cjs/utils/testing/render-with-router-redux.js +20 -13
- package/dist/cjs/utils/testing/render-with-router.js +24 -14
- package/dist/cjs/utils/testing/render-with-state-addons.js +17 -10
- package/dist/cjs/utils/types.js +18 -1
- package/dist/cjs/utils/url.js +19 -2
- package/dist/cjs/utils/web-storage.js +13 -7
- package/dist/cjs/utils/window.js +11 -10
- package/dist/cjs/view/app-root/hosted-app.js +18 -11
- package/dist/cjs/view/app-root/index.js +25 -18
- package/dist/cjs/view/app-root/stand-alone-app.js +22 -15
- package/dist/cjs/view/app-root/style.js +11 -10
- package/dist/cjs/view/app-router.js +48 -0
- package/dist/cjs/view/error-boundary/default-error-template.js +26 -3
- package/dist/cjs/view/error-boundary/index.js +16 -10
- package/dist/cjs/view/error-toast/index.js +21 -14
- package/dist/cjs/view/fetch-host-app-data/index.js +16 -10
- package/dist/cjs/view/fetch-host-app-data/store.js +11 -10
- package/dist/cjs/view/fields/check-box/index.js +18 -19
- package/dist/cjs/view/fields/combo-box/index.js +18 -13
- package/dist/cjs/view/fields/connect-form.js +11 -10
- package/dist/cjs/view/fields/date-input/index.js +16 -9
- package/dist/cjs/view/fields/date-picker/index.js +16 -9
- package/dist/cjs/view/fields/form-item-layout/index.js +18 -14
- package/dist/cjs/view/fields/form-layout-block-item/index.js +54 -0
- package/dist/cjs/view/fields/input-mask/index.js +16 -9
- package/dist/cjs/view/fields/large-text-box/index.js +16 -9
- package/dist/cjs/view/fields/radio/index.js +16 -9
- package/dist/cjs/view/fields/radio-group/index.js +17 -14
- package/dist/cjs/view/fields/text-box/index.js +16 -9
- package/dist/cjs/view/fields/watch-value.js +19 -10
- package/dist/cjs/view/form/index.js +15 -8
- package/dist/cjs/view/form/personal-info-section.js +46 -35
- package/dist/cjs/view/form/submit-button/index.js +17 -12
- package/dist/cjs/view/guest-unload-handlers/index.js +11 -10
- package/dist/cjs/view/host-binding-events/index.js +19 -2
- package/dist/cjs/view/live-message/index.js +15 -8
- package/dist/cjs/view/loadable/index.js +15 -8
- package/dist/cjs/view/login/index.js +16 -19
- package/dist/cjs/view/media-breakpoint/index.js +18 -17
- package/dist/cjs/view/message-to-host-app/index.js +11 -10
- package/dist/cjs/view/micro-app/app-factory/index.js +22 -19
- package/dist/cjs/view/micro-app/const.js +19 -2
- package/dist/cjs/view/micro-app/index.js +17 -10
- package/dist/cjs/view/micro-app/resources/manifest.js +16 -13
- package/dist/cjs/view/micro-app/resources/script.js +12 -11
- package/dist/cjs/view/micro-app/resources/style.js +11 -10
- package/dist/cjs/view/micro-app/types.js +18 -1
- package/dist/cjs/view/micro-app/use-app-will-render.js +21 -18
- package/dist/cjs/view/micro-app/utils.js +11 -10
- package/dist/cjs/view/micro-iframe-app/app.js +18 -11
- package/dist/cjs/view/micro-iframe-app/iframe/const.js +19 -2
- package/dist/cjs/view/micro-iframe-app/iframe/index.js +16 -9
- package/dist/cjs/view/micro-iframe-app/index.js +16 -9
- package/dist/cjs/view/micro-iframe-app/types.js +18 -1
- package/dist/cjs/view/micro-iframe-app/use-frame-loaded.js +16 -13
- package/dist/cjs/view/modals/error/index.js +31 -21
- package/dist/cjs/view/modals/navigation-prompt/index.js +39 -21
- package/dist/cjs/view/modals/session-expiry/customHooks.js +14 -13
- package/dist/cjs/view/modals/session-expiry/index.js +39 -29
- package/dist/cjs/view/modals/wait-message/html-wait-message.js +12 -11
- package/dist/cjs/view/modals/wait-message/index.js +19 -12
- package/dist/cjs/view/modals/wait-message/wait-message-launcher.js +14 -13
- package/dist/cjs/view/page.js +51 -0
- package/dist/cjs/view/render-with-delay/index.js +15 -8
- package/dist/cjs/view/render-with-host-data/index.js +16 -9
- package/dist/cjs/view/require-auth.js +62 -0
- package/dist/cjs/view/session-timeout/index.js +23 -12
- package/dist/cjs/view/storybook/decorator.js +15 -8
- package/dist/cjs/view/use-previous.js +11 -10
- package/dist/cjs/view/useMediaBreakpoints/index.js +11 -10
- package/dist/cjs/view/visually-hidden/index.js +15 -8
- package/dist/cjs/view/window-size/index.js +23 -18
- package/dist/es/analytics/index.js +3 -3
- package/dist/es/analytics/page-view-event.js +12 -3
- package/dist/es/analytics/user-session-event.js +2 -2
- package/dist/es/analytics/user-wait-event.js +1 -1
- package/dist/es/api/auth/index.js +1 -1
- package/dist/es/api/users/index.js +1 -1
- package/dist/es/communication/http-client/index.js +5 -5
- package/dist/es/communication/http-client/request-interceptor.js +1 -1
- package/dist/es/communication/http-client/retry-axios.js +1 -1
- package/dist/es/communication/http-client/retry.js +1 -1
- package/dist/es/communication/http-client/tests/index.test-disable.js +3 -3
- package/dist/es/data/auth/reducer.js +1 -1
- package/dist/es/data/index.js +11 -0
- package/dist/es/data/reducers.js +4 -4
- package/dist/es/data/store.js +5 -15
- package/dist/es/data/wait-message/reducer.js +1 -1
- package/dist/es/index.js +85 -75
- package/dist/es/micro-frontend.js +10 -0
- package/dist/es/sideeffect/auth/index.js +4 -4
- package/dist/es/sideeffect/error-toast/index.js +4 -4
- package/dist/es/sideeffect/wait-message/index.js +4 -4
- package/dist/es/utils/app-config/config.js +1 -1
- package/dist/es/utils/app-config/index.js +4 -4
- package/dist/es/utils/app-host-integration/react.js +1 -1
- package/dist/es/utils/auth/helper.js +1 -1
- package/dist/es/utils/auth/index.js +9 -9
- package/dist/es/utils/helpers.js +1 -1
- package/dist/es/utils/micro-frontend/console-logger.js +1 -1
- package/dist/es/utils/micro-frontend/guest.js +9 -9
- package/dist/es/utils/micro-frontend/host.js +19 -18
- package/dist/es/utils/micro-frontend/index.js +4 -4
- package/dist/es/utils/service-worker.js +2 -2
- package/dist/es/utils/session.js +4 -4
- package/dist/es/utils/storybook/manager.js +1 -1
- package/dist/es/utils/storybook/preview.js +7 -8
- package/dist/es/utils/testing/index.js +4 -3
- package/dist/es/utils/testing/render-with-redux.js +3 -2
- package/dist/es/utils/testing/render-with-router-redux.js +5 -4
- package/dist/es/utils/testing/render-with-router.js +10 -6
- package/dist/es/utils/testing/render-with-state-addons.js +1 -0
- package/dist/es/view/app-root/hosted-app.js +5 -4
- package/dist/es/view/app-root/index.js +9 -8
- package/dist/es/view/app-root/stand-alone-app.js +8 -7
- package/dist/es/view/app-router.js +19 -0
- package/dist/es/view/error-boundary/default-error-template.js +2 -1
- package/dist/es/view/error-boundary/index.js +3 -3
- package/dist/es/view/error-toast/index.js +4 -8
- package/dist/es/view/fetch-host-app-data/index.js +6 -3
- package/dist/es/view/fields/check-box/index.js +5 -12
- package/dist/es/view/fields/combo-box/index.js +4 -5
- package/dist/es/view/fields/date-input/index.js +2 -1
- package/dist/es/view/fields/date-picker/index.js +2 -1
- package/dist/es/view/fields/form-item-layout/index.js +4 -6
- package/dist/es/view/fields/form-layout-block-item/index.js +25 -0
- package/dist/es/view/fields/input-mask/index.js +4 -2
- package/dist/es/view/fields/large-text-box/index.js +2 -1
- package/dist/es/view/fields/radio/index.js +2 -1
- package/dist/es/view/fields/radio-group/index.js +3 -6
- package/dist/es/view/fields/text-box/index.js +2 -1
- package/dist/es/view/fields/watch-value.js +5 -2
- package/dist/es/view/form/index.js +1 -0
- package/dist/es/view/form/personal-info-section.js +33 -28
- package/dist/es/view/form/submit-button/index.js +4 -5
- package/dist/es/view/guest-unload-handlers/index.js +1 -1
- package/dist/es/view/live-message/index.js +2 -1
- package/dist/es/view/loadable/index.js +2 -1
- package/dist/es/view/login/index.js +5 -9
- package/dist/es/view/media-breakpoint/index.js +5 -5
- package/dist/es/view/message-to-host-app/index.js +1 -1
- package/dist/es/view/micro-app/app-factory/index.js +15 -10
- package/dist/es/view/micro-app/index.js +3 -2
- package/dist/es/view/micro-app/resources/manifest.js +6 -4
- package/dist/es/view/micro-app/resources/script.js +2 -2
- package/dist/es/view/micro-app/resources/style.js +1 -1
- package/dist/es/view/micro-app/use-app-will-render.js +13 -6
- package/dist/es/view/micro-app/utils.js +1 -1
- package/dist/es/view/micro-iframe-app/app.js +4 -3
- package/dist/es/view/micro-iframe-app/iframe/index.js +2 -1
- package/dist/es/view/micro-iframe-app/index.js +3 -2
- package/dist/es/view/micro-iframe-app/use-frame-loaded.js +5 -3
- package/dist/es/view/modals/error/index.js +25 -15
- package/dist/es/view/modals/navigation-prompt/index.js +33 -14
- package/dist/es/view/modals/session-expiry/customHooks.js +2 -2
- package/dist/es/view/modals/session-expiry/index.js +35 -23
- package/dist/es/view/modals/wait-message/html-wait-message.js +1 -1
- package/dist/es/view/modals/wait-message/index.js +5 -4
- package/dist/es/view/modals/wait-message/wait-message-launcher.js +3 -3
- package/dist/es/view/page.js +22 -0
- package/dist/es/view/render-with-delay/index.js +2 -1
- package/dist/es/view/render-with-host-data/index.js +3 -2
- package/dist/es/view/require-auth.js +33 -0
- package/dist/es/view/session-timeout/index.js +10 -5
- package/dist/es/view/storybook/decorator.js +3 -2
- package/dist/es/view/visually-hidden/index.js +1 -0
- package/dist/es/view/window-size/index.js +11 -7
- package/dist/types/communication/http-client/retry.d.ts +1 -1
- package/dist/types/data/index.d.ts +4 -0
- package/dist/types/data/react-redux.d.ts +9 -18
- package/dist/types/data/reducers.d.ts +6 -6
- package/dist/types/data/store.d.ts +30 -31
- package/dist/types/index.d.ts +78 -78
- package/dist/types/micro-frontend.d.ts +6 -0
- package/dist/types/sideeffect/auth/index.d.ts +1 -1
- package/dist/types/utils/app-config/config.d.ts +1 -1
- package/dist/types/utils/app-host-integration/react.d.ts +1 -1
- package/dist/types/utils/history.d.ts +2 -2
- package/dist/types/utils/micro-frontend/guest.d.ts +5 -5
- package/dist/types/utils/micro-frontend/host.d.ts +3 -3
- package/dist/types/utils/micro-frontend/index.d.ts +2 -2
- package/dist/types/utils/micro-frontend/types.d.ts +1 -1
- package/dist/types/utils/session.d.ts +5 -2
- package/dist/types/utils/storybook/{main.d.cts → cjs/main.d.ts} +24 -2
- package/dist/types/utils/storybook/{middleware.d.cts → cjs/middleware.d.ts} +0 -0
- package/dist/types/utils/storybook/{vite.d.cts → cjs/vite.d.ts} +0 -0
- package/dist/types/utils/storybook/cjs/webpack.d.ts +16 -0
- package/dist/types/utils/storybook/preview.d.ts +8 -2
- package/dist/types/utils/testing/render-with-redux.d.ts +22 -22
- package/dist/types/utils/testing/render-with-router-redux.d.ts +22 -22
- package/dist/types/utils/testing/render-with-router.d.ts +2 -2
- package/dist/types/utils/testing/render-with-state-addons.d.ts +1 -1
- package/dist/types/view/app-root/hosted-app.d.ts +1 -1
- package/dist/types/view/app-root/index.d.ts +2 -2
- package/dist/types/view/app-root/stand-alone-app.d.ts +1 -1
- package/dist/types/view/app-router.d.ts +9 -0
- package/dist/types/view/error-boundary/default-error-template.d.ts +1 -1
- package/dist/types/view/fields/check-box/index.d.ts +2 -4
- package/dist/types/view/fields/check-box/index.stories.d.ts +2 -4
- package/dist/types/view/fields/check-box/set-value.stories.d.ts +1 -1
- package/dist/types/view/fields/combo-box/index.d.ts +1 -2
- package/dist/types/view/fields/combo-box/index.stories.d.ts +2 -4
- package/dist/types/view/fields/connect-form.d.ts +1 -1
- package/dist/types/view/fields/date-input/index.d.ts +1 -1
- package/dist/types/view/fields/date-input/index.stories.d.ts +1 -1
- package/dist/types/view/fields/date-picker/index.d.ts +2 -1
- package/dist/types/view/fields/date-picker/index.stories.d.ts +2 -4
- package/dist/types/view/fields/form-item-layout/index.d.ts +1 -1
- package/dist/types/view/fields/form-item-layout/index.stories.d.ts +1 -1
- package/dist/types/view/fields/form-layout-block-item/index.d.ts +8 -0
- package/dist/types/view/{header → fields/form-layout-block-item}/index.stories.d.ts +2 -2
- package/dist/types/view/fields/input-mask/index.d.ts +2 -2
- package/dist/types/view/fields/input-mask/index.stories.d.ts +2 -4
- package/dist/types/view/fields/large-text-box/index.d.ts +1 -1
- package/dist/types/view/fields/large-text-box/index.stories.d.ts +2 -4
- package/dist/types/view/fields/radio/index.d.ts +2 -2
- package/dist/types/view/fields/radio/index.stories.d.ts +2 -4
- package/dist/types/view/fields/radio/set-value.stories.d.ts +1 -1
- package/dist/types/view/fields/radio-group/index.d.ts +1 -1
- package/dist/types/view/fields/radio-group/index.stories.d.ts +1 -1
- package/dist/types/view/fields/text-box/index.d.ts +1 -1
- package/dist/types/view/fields/text-box/index.stories.d.ts +1 -1
- package/dist/types/view/fields/watch-value.d.ts +2 -2
- package/dist/types/view/form/personal-info-section.d.ts +3 -3
- package/dist/types/view/form/submit-button/index.d.ts +2 -1
- package/dist/types/view/form/usecases.stories.d.ts +1 -1
- package/dist/types/view/live-message/index.d.ts +1 -1
- package/dist/types/view/login/index.d.ts +1 -2
- package/dist/types/view/media-breakpoint/index.d.ts +1 -2
- package/dist/types/view/micro-app/app-factory/index.d.ts +3 -3
- package/dist/types/view/micro-app/index.d.ts +1 -1
- package/dist/types/view/micro-app/resources/manifest.d.ts +2 -2
- package/dist/types/view/micro-app/resources/script.d.ts +1 -1
- package/dist/types/view/micro-app/resources/style.d.ts +1 -1
- package/dist/types/view/micro-app/types.d.ts +1 -0
- package/dist/types/view/micro-app/use-app-will-render.d.ts +2 -2
- package/dist/types/view/micro-iframe-app/app.d.ts +2 -2
- package/dist/types/view/micro-iframe-app/index.d.ts +1 -1
- package/dist/types/view/micro-iframe-app/types.d.ts +1 -1
- package/dist/types/view/micro-iframe-app/use-frame-loaded.d.ts +1 -1
- package/dist/types/view/modals/error/index.d.ts +3 -2
- package/dist/types/view/modals/error/index.stories.d.ts +1 -1
- package/dist/types/view/modals/navigation-prompt/index.d.ts +0 -1
- package/dist/types/view/modals/navigation-prompt/index.stories.d.ts +1 -1
- package/dist/types/view/modals/session-expiry/index.d.ts +0 -1
- package/dist/types/view/modals/session-expiry/index.stories.d.ts +1 -1
- package/dist/types/view/modals/wait-message/index.stories.d.ts +7 -3
- package/dist/types/view/modals/wait-message/wait-message-launcher.d.ts +1 -2
- package/dist/types/view/page.d.ts +8 -0
- package/dist/types/view/require-auth.d.ts +8 -0
- package/dist/types/view/session-timeout/index.d.ts +1 -1
- package/dist/types/view/session-timeout/index.stories.d.ts +1 -4
- package/dist/types/view/storybook/decorator.d.ts +1 -1
- package/dist/types/view/window-size/index.d.ts +1 -2
- package/package.json +59 -28
- package/dist/cjs/route/index.js +0 -48
- package/dist/cjs/route/page-view.js +0 -38
- package/dist/cjs/route/private-route/index.js +0 -68
- package/dist/cjs/view/header/center-region/index.js +0 -64
- package/dist/cjs/view/header/index.js +0 -43
- package/dist/cjs/view/header/logo-region/index.js +0 -32
- package/dist/cjs/view/header/logo-region/logo.svg +0 -2
- package/dist/cjs/view/header/nav-region/index.js +0 -46
- package/dist/cjs/view/header/nav-region/notification/index.js +0 -31
- package/dist/cjs/view/header/nav-region/notification/index.svg +0 -5
- package/dist/cjs/view/header/nav-region/user/index.js +0 -31
- package/dist/cjs/view/header/nav-region/user/index.svg +0 -4
- package/dist/es/route/index.js +0 -25
- package/dist/es/route/page-view.js +0 -15
- package/dist/es/route/private-route/index.js +0 -45
- package/dist/es/view/header/center-region/index.js +0 -41
- package/dist/es/view/header/index.js +0 -20
- package/dist/es/view/header/logo-region/index.js +0 -9
- package/dist/es/view/header/logo-region/logo.svg +0 -2
- package/dist/es/view/header/nav-region/index.js +0 -23
- package/dist/es/view/header/nav-region/notification/index.js +0 -8
- package/dist/es/view/header/nav-region/notification/index.svg +0 -5
- package/dist/es/view/header/nav-region/user/index.js +0 -8
- package/dist/es/view/header/nav-region/user/index.svg +0 -4
- package/dist/types/route/index.d.ts +0 -8
- package/dist/types/route/page-view.d.ts +0 -1
- package/dist/types/route/private-route/index.d.ts +0 -8
- package/dist/types/utils/storybook/webpack.d.cts +0 -8
- package/dist/types/view/header/center-region/index.d.ts +0 -9
- package/dist/types/view/header/index.d.ts +0 -7
- package/dist/types/view/header/logo-region/index.d.ts +0 -2
- package/dist/types/view/header/nav-region/index.d.ts +0 -2
- package/dist/types/view/header/nav-region/notification/index.d.ts +0 -2
- package/dist/types/view/header/nav-region/user/index.d.ts +0 -2
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
1
|
var __defProp = Object.defineProperty;
|
|
3
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
5
|
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
6
|
var __export = (target, all) => {
|
|
9
|
-
__markAsModule(target);
|
|
10
7
|
for (var name in all)
|
|
11
8
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
12
9
|
};
|
|
13
|
-
var __reExport = (target, module2, desc) => {
|
|
10
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
14
11
|
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
15
12
|
for (let key of __getOwnPropNames(module2))
|
|
16
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
13
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
17
14
|
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
18
15
|
}
|
|
19
16
|
return target;
|
|
20
17
|
};
|
|
21
|
-
var
|
|
22
|
-
return
|
|
23
|
-
};
|
|
24
|
-
|
|
18
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
19
|
+
return (module2, temp) => {
|
|
20
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
21
|
+
};
|
|
22
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
23
|
+
var use_previous_exports = {};
|
|
24
|
+
__export(use_previous_exports, {
|
|
25
25
|
usePrevious: () => usePrevious
|
|
26
26
|
});
|
|
27
|
-
var import_react =
|
|
27
|
+
var import_react = require("react");
|
|
28
28
|
const usePrevious = (value) => {
|
|
29
29
|
const ref = (0, import_react.useRef)();
|
|
30
30
|
(0, import_react.useEffect)(() => {
|
|
@@ -32,3 +32,4 @@ const usePrevious = (value) => {
|
|
|
32
32
|
}, [value]);
|
|
33
33
|
return ref.current;
|
|
34
34
|
};
|
|
35
|
+
module.exports = __toCommonJS(use_previous_exports);
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
1
|
var __defProp = Object.defineProperty;
|
|
3
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
5
|
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
6
|
var __export = (target, all) => {
|
|
9
|
-
__markAsModule(target);
|
|
10
7
|
for (var name in all)
|
|
11
8
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
12
9
|
};
|
|
13
|
-
var __reExport = (target, module2, desc) => {
|
|
10
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
14
11
|
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
15
12
|
for (let key of __getOwnPropNames(module2))
|
|
16
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
13
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
17
14
|
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
18
15
|
}
|
|
19
16
|
return target;
|
|
20
17
|
};
|
|
21
|
-
var
|
|
22
|
-
return
|
|
23
|
-
};
|
|
24
|
-
|
|
18
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
19
|
+
return (module2, temp) => {
|
|
20
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
21
|
+
};
|
|
22
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
23
|
+
var useMediaBreakpoints_exports = {};
|
|
24
|
+
__export(useMediaBreakpoints_exports, {
|
|
25
25
|
useMediaBreakpoints: () => useMediaBreakpoints
|
|
26
26
|
});
|
|
27
|
-
var import_react =
|
|
27
|
+
var import_react = require("react");
|
|
28
28
|
const useMediaBreakpoints = (queries, values, defaultValue) => {
|
|
29
29
|
const mediaQueryLists = queries.map((q) => window.matchMedia(q));
|
|
30
30
|
const getValue = (0, import_react.useCallback)(() => {
|
|
@@ -39,3 +39,4 @@ const useMediaBreakpoints = (queries, values, defaultValue) => {
|
|
|
39
39
|
}, [getValue, mediaQueryLists]);
|
|
40
40
|
return value;
|
|
41
41
|
};
|
|
42
|
+
module.exports = __toCommonJS(useMediaBreakpoints_exports);
|
|
@@ -6,26 +6,32 @@ var __getProtoOf = Object.getPrototypeOf;
|
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
8
|
var __export = (target, all) => {
|
|
9
|
-
__markAsModule(target);
|
|
10
9
|
for (var name in all)
|
|
11
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
12
11
|
};
|
|
13
|
-
var __reExport = (target, module2, desc) => {
|
|
12
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
14
13
|
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
15
14
|
for (let key of __getOwnPropNames(module2))
|
|
16
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
17
16
|
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
18
17
|
}
|
|
19
18
|
return target;
|
|
20
19
|
};
|
|
21
|
-
var
|
|
22
|
-
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default",
|
|
20
|
+
var __toESM = (module2, isNodeMode) => {
|
|
21
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
23
22
|
};
|
|
24
|
-
|
|
23
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
24
|
+
return (module2, temp) => {
|
|
25
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
26
|
+
};
|
|
27
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
28
|
+
var visually_hidden_exports = {};
|
|
29
|
+
__export(visually_hidden_exports, {
|
|
25
30
|
VisuallyHidden: () => VisuallyHidden
|
|
26
31
|
});
|
|
27
|
-
var
|
|
28
|
-
var
|
|
32
|
+
var React = __toESM(require("react"));
|
|
33
|
+
var import_react = require("react");
|
|
34
|
+
var import_styled_components = __toESM(require("styled-components"));
|
|
29
35
|
const Span = import_styled_components.default.span`
|
|
30
36
|
border: 0;
|
|
31
37
|
clip: rect(0 0 0 0);
|
|
@@ -42,3 +48,4 @@ const VisuallyHidden = (0, import_react.forwardRef)((props, ref) => /* @__PURE__
|
|
|
42
48
|
ref,
|
|
43
49
|
...props
|
|
44
50
|
}));
|
|
51
|
+
module.exports = __toCommonJS(visually_hidden_exports);
|
|
@@ -1,41 +1,46 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
1
|
var __defProp = Object.defineProperty;
|
|
3
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
5
|
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
6
|
var __export = (target, all) => {
|
|
9
|
-
__markAsModule(target);
|
|
10
7
|
for (var name in all)
|
|
11
8
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
12
9
|
};
|
|
13
|
-
var __reExport = (target, module2, desc) => {
|
|
10
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
14
11
|
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
15
12
|
for (let key of __getOwnPropNames(module2))
|
|
16
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
13
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
17
14
|
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
18
15
|
}
|
|
19
16
|
return target;
|
|
20
17
|
};
|
|
21
|
-
var
|
|
22
|
-
return
|
|
23
|
-
};
|
|
24
|
-
|
|
18
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
19
|
+
return (module2, temp) => {
|
|
20
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
21
|
+
};
|
|
22
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
23
|
+
var window_size_exports = {};
|
|
24
|
+
__export(window_size_exports, {
|
|
25
25
|
WindowSize: () => WindowSize
|
|
26
26
|
});
|
|
27
|
-
var import_react =
|
|
28
|
-
var import_pubsub_js =
|
|
29
|
-
var import_constants =
|
|
27
|
+
var import_react = require("react");
|
|
28
|
+
var import_pubsub_js = require("pubsub-js");
|
|
29
|
+
var import_constants = require("../../utils/constants.js");
|
|
30
30
|
const WindowSize = () => {
|
|
31
31
|
(0, import_react.useEffect)(() => {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
if (window.ResizeObserver) {
|
|
33
|
+
const observer = new ResizeObserver((entries) => {
|
|
34
|
+
(0, import_pubsub_js.publish)(import_constants.HOST_WINDOW_RESIZED, entries && entries[0]);
|
|
35
|
+
});
|
|
36
|
+
observer.observe(window.document.documentElement);
|
|
37
|
+
return () => {
|
|
38
|
+
observer.unobserve(window.document.documentElement);
|
|
39
|
+
};
|
|
40
|
+
}
|
|
36
41
|
return () => {
|
|
37
|
-
observer.unobserve(window.document.documentElement);
|
|
38
42
|
};
|
|
39
43
|
}, []);
|
|
40
|
-
return
|
|
44
|
+
return null;
|
|
41
45
|
};
|
|
46
|
+
module.exports = __toCommonJS(window_size_exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CMicroAppGuest } from "../utils/micro-frontend/guest";
|
|
2
|
-
import { getBAEventParameters } from "./web-analytics";
|
|
3
|
-
import { redactPii } from "../utils/redact-pii";
|
|
1
|
+
import { CMicroAppGuest } from "../utils/micro-frontend/guest.js";
|
|
2
|
+
import { getBAEventParameters } from "./web-analytics.js";
|
|
3
|
+
import { redactPii } from "../utils/redact-pii.js";
|
|
4
4
|
const sendBAEventToSelf = (data) => {
|
|
5
5
|
const redactedData = redactPii(data);
|
|
6
6
|
window.gtmDataLayer = window.gtmDataLayer || [];
|
|
@@ -1,7 +1,16 @@
|
|
|
1
|
-
import { sendBAEvent } from ".";
|
|
1
|
+
import { sendBAEvent } from "./index.js";
|
|
2
|
+
const getWindow = () => {
|
|
3
|
+
try {
|
|
4
|
+
window.top?.document;
|
|
5
|
+
return window.top || window.self;
|
|
6
|
+
} catch (e) {
|
|
7
|
+
return window.self;
|
|
8
|
+
}
|
|
9
|
+
};
|
|
2
10
|
const pageViewEvent = ({ pageTitle }) => {
|
|
3
|
-
const
|
|
4
|
-
const {
|
|
11
|
+
const pageWindow = getWindow();
|
|
12
|
+
const { pathname, href } = pageWindow.location;
|
|
13
|
+
const { title } = pageWindow.document;
|
|
5
14
|
const { pathname: guestPagePath, href: guestPageUrl } = window.location;
|
|
6
15
|
const { title: guestPageTitle } = document;
|
|
7
16
|
sendBAEvent({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getAuthHTTPClient } from "../../communication/http-client";
|
|
1
|
+
import { getAuthHTTPClient } from "../../communication/http-client/index.js";
|
|
2
2
|
const getUser = async ({ userName }) => {
|
|
3
3
|
const { data } = await getAuthHTTPClient().get(`/encompass/v1/users/${userName}`);
|
|
4
4
|
return data;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import axios from "axios";
|
|
2
|
-
import { getAppConfigValue } from "../../utils/app-config/config";
|
|
3
|
-
import { getAuthorizationHeader } from "../../utils/auth/helper";
|
|
4
|
-
import setupRetry from "./retry";
|
|
5
|
-
import { requestInterceptor } from "./request-interceptor";
|
|
6
|
-
import { handleSuccess, handleFailure } from "./response-interceptor";
|
|
2
|
+
import { getAppConfigValue } from "../../utils/app-config/config.js";
|
|
3
|
+
import { getAuthorizationHeader } from "../../utils/auth/helper.js";
|
|
4
|
+
import setupRetry from "./retry.js";
|
|
5
|
+
import { requestInterceptor } from "./request-interceptor.js";
|
|
6
|
+
import { handleSuccess, handleFailure } from "./response-interceptor.js";
|
|
7
7
|
const REQUEST_TIMEOUT = 2 * 60 * 1e3;
|
|
8
8
|
const getHTTPClient = ({
|
|
9
9
|
baseURL = getAppConfigValue("serviceEndpoints.api", ""),
|
|
@@ -64,7 +64,7 @@ const onError = (err) => {
|
|
|
64
64
|
return Promise.reject(err);
|
|
65
65
|
}
|
|
66
66
|
const onBackoffPromise = new Promise((resolve) => {
|
|
67
|
-
const delay = (
|
|
67
|
+
const delay = (2 ** config.currentRetryAttempt - 1) / 2 * 1e3;
|
|
68
68
|
err.config.retryConfig.currentRetryAttempt += 1;
|
|
69
69
|
setTimeout(resolve, delay);
|
|
70
70
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import enums from "../../../utils/constants";
|
|
2
|
-
import { getAuthHTTPClient } from "../index";
|
|
3
|
-
import { onAuthorizationFailure } from "../response-interceptor";
|
|
1
|
+
import enums from "../../../utils/constants.js";
|
|
2
|
+
import { getAuthHTTPClient } from "../index.js";
|
|
3
|
+
import { onAuthorizationFailure } from "../response-interceptor.js";
|
|
4
4
|
describe("http client test cases", () => {
|
|
5
5
|
const callApi = ({
|
|
6
6
|
apiUrl,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { useInjectReducer, useInjectSaga } from "redux-injectors";
|
|
2
|
+
import { useAppDispatch, useAppSelector } from "./react-redux.js";
|
|
3
|
+
import { createAppStore, getStore } from "./store.js";
|
|
4
|
+
export {
|
|
5
|
+
createAppStore as configureStore,
|
|
6
|
+
getStore,
|
|
7
|
+
useAppDispatch,
|
|
8
|
+
useAppSelector,
|
|
9
|
+
useInjectReducer,
|
|
10
|
+
useInjectSaga
|
|
11
|
+
};
|
package/dist/es/data/reducers.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { combineReducers } from "@reduxjs/toolkit";
|
|
2
|
-
import { waitMessageReducer } from "./wait-message/reducer";
|
|
3
|
-
import { errorReducer } from "./error";
|
|
4
|
-
import { breakpointReducer } from "./breakpoint";
|
|
5
|
-
import { liveMessageReducer } from "./live-message";
|
|
2
|
+
import { waitMessageReducer } from "./wait-message/reducer.js";
|
|
3
|
+
import { errorReducer } from "./error/index.js";
|
|
4
|
+
import { breakpointReducer } from "./breakpoint/index.js";
|
|
5
|
+
import { liveMessageReducer } from "./live-message/index.js";
|
|
6
6
|
const createReducer = (injectedReducers = {}) => {
|
|
7
7
|
const rootReducer = combineReducers({
|
|
8
8
|
waitMessage: waitMessageReducer,
|
package/dist/es/data/store.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { configureStore } from "@reduxjs/toolkit";
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import {
|
|
3
|
+
createInjectorsEnhancer
|
|
4
|
+
} from "redux-injectors";
|
|
4
5
|
import createSagaMiddleware from "redux-saga";
|
|
5
|
-
import { createReducer } from "./reducers";
|
|
6
|
+
import { createReducer } from "./reducers.js";
|
|
6
7
|
const rootReducer = createReducer();
|
|
7
8
|
let appStore = null;
|
|
8
9
|
const setStore = (store) => {
|
|
@@ -19,22 +20,11 @@ const createStore = (initialState, sagaMiddleware, history, middlewareConfig = {
|
|
|
19
20
|
];
|
|
20
21
|
const baseStore = configureStore({
|
|
21
22
|
reducer: rootReducer,
|
|
22
|
-
middleware: (getDefaultMiddleware) => getDefaultMiddleware(middlewareConfig).concat(sagaMiddleware)
|
|
23
|
+
middleware: (getDefaultMiddleware) => getDefaultMiddleware(middlewareConfig).concat(sagaMiddleware),
|
|
23
24
|
devTools: true,
|
|
24
25
|
preloadedState: initialState,
|
|
25
26
|
enhancers
|
|
26
27
|
});
|
|
27
|
-
let hotModule = null;
|
|
28
|
-
try {
|
|
29
|
-
hotModule = module?.hot;
|
|
30
|
-
} catch (err) {
|
|
31
|
-
hotModule = import.meta?.webpackHot;
|
|
32
|
-
}
|
|
33
|
-
if (hotModule) {
|
|
34
|
-
hotModule.accept("./reducers", () => {
|
|
35
|
-
forceReducerReload(baseStore);
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
28
|
return baseStore;
|
|
39
29
|
};
|
|
40
30
|
const createAppStore = (initialState = {}, history, middlewareConfig) => {
|
package/dist/es/index.js
CHANGED
|
@@ -1,91 +1,101 @@
|
|
|
1
|
-
import { isUserAuthorized, login, authorize } from "./utils/auth";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { isUserAuthorized, login, authorize } from "./utils/auth/index.js";
|
|
2
|
+
import {
|
|
3
|
+
getHTTPClient,
|
|
4
|
+
getAuthHTTPClient
|
|
5
|
+
} from "./communication/http-client/index.js";
|
|
6
|
+
import { onAuthorizationFailure } from "./communication/http-client/response-interceptor.js";
|
|
7
|
+
import { auth } from "./data/auth/actions.js";
|
|
8
|
+
import { RequireAuth } from "./view/require-auth.js";
|
|
9
|
+
import { Page } from "./view/page.js";
|
|
10
|
+
import { default as default2 } from "./utils/constants.js";
|
|
11
|
+
import { useAppDispatch, useAppSelector } from "./data/react-redux.js";
|
|
9
12
|
import { useInjectReducer, useInjectSaga } from "redux-injectors";
|
|
10
|
-
import { getAuthorizationHeader } from "./utils/auth/helper";
|
|
11
|
-
import { getRedirectUrl, removeDoubleSlash } from "./utils/url";
|
|
12
|
-
import { createAppStore } from "./data/store";
|
|
13
|
-
import { browserHistory, memoryHistory } from "./utils/history";
|
|
14
|
-
import { Themes } from "./utils/constants";
|
|
15
|
-
import { ACTIONS } from "./data/navigation-prompt/actions";
|
|
16
|
-
import { loadable } from "./view/loadable";
|
|
17
|
-
import { WaitMessage } from "./view/modals/wait-message";
|
|
18
|
-
import { SessionTimeout } from "./view/session-timeout";
|
|
13
|
+
import { getAuthorizationHeader } from "./utils/auth/helper.js";
|
|
14
|
+
import { getRedirectUrl, removeDoubleSlash } from "./utils/url.js";
|
|
15
|
+
import { createAppStore } from "./data/store.js";
|
|
16
|
+
import { browserHistory, memoryHistory } from "./utils/history.js";
|
|
17
|
+
import { Themes } from "./utils/constants.js";
|
|
18
|
+
import { ACTIONS } from "./data/navigation-prompt/actions.js";
|
|
19
|
+
import { loadable } from "./view/loadable/index.js";
|
|
20
|
+
import { WaitMessage } from "./view/modals/wait-message/index.js";
|
|
21
|
+
import { SessionTimeout } from "./view/session-timeout/index.js";
|
|
19
22
|
import {
|
|
20
23
|
subscribeToSessionExpiryWarning,
|
|
21
24
|
subscribeToSessionExpiry,
|
|
22
25
|
resetUserIdleTime,
|
|
23
26
|
trackActivity
|
|
24
|
-
} from "./utils/session";
|
|
25
|
-
import { waitMessage } from "./data/wait-message/actions";
|
|
26
|
-
import { initServiceWorker } from "./utils/service-worker";
|
|
27
|
-
import { CMicroAppGuest } from "./utils/micro-frontend/guest";
|
|
28
|
-
import { CMicroAppHost } from "./utils/micro-frontend/host";
|
|
29
|
-
import { enableReactAppForHostIntegration } from "./utils/app-host-integration/react";
|
|
27
|
+
} from "./utils/session.js";
|
|
28
|
+
import { waitMessage } from "./data/wait-message/actions.js";
|
|
29
|
+
import { initServiceWorker } from "./utils/service-worker.js";
|
|
30
|
+
import { CMicroAppGuest } from "./utils/micro-frontend/guest.js";
|
|
31
|
+
import { CMicroAppHost } from "./utils/micro-frontend/host.js";
|
|
32
|
+
import { enableReactAppForHostIntegration } from "./utils/app-host-integration/react.js";
|
|
30
33
|
import {
|
|
31
34
|
getAppConfigValue,
|
|
32
35
|
setAppConfigValue,
|
|
33
36
|
setAppConfig
|
|
34
|
-
} from "./utils/app-config/config";
|
|
35
|
-
import { getMicroFrontEndAppConfig } from "./utils/micro-frontend";
|
|
36
|
-
import { loadAppConfig } from "./utils/app-config";
|
|
37
|
-
import { AppRoot } from "./view/app-root";
|
|
38
|
-
import { ErrorBoundary } from "./view/error-boundary";
|
|
39
|
-
import { isProd, isCIBuild } from "./utils/helpers";
|
|
40
|
-
import {
|
|
37
|
+
} from "./utils/app-config/config.js";
|
|
38
|
+
import { getMicroFrontEndAppConfig } from "./utils/micro-frontend/index.js";
|
|
39
|
+
import { loadAppConfig } from "./utils/app-config/index.js";
|
|
40
|
+
import { AppRoot } from "./view/app-root/index.js";
|
|
41
|
+
import { ErrorBoundary } from "./view/error-boundary/index.js";
|
|
42
|
+
import { isProd, isCIBuild } from "./utils/helpers.js";
|
|
43
|
+
import {
|
|
44
|
+
listenStorageEvents,
|
|
45
|
+
removeStorageEvents
|
|
46
|
+
} from "./utils/web-storage.js";
|
|
41
47
|
import {
|
|
42
48
|
getHostAppDataByKey,
|
|
43
49
|
setHostAppData
|
|
44
|
-
} from "./view/fetch-host-app-data/store";
|
|
45
|
-
import { sendMessageToHost } from "./view/message-to-host-app";
|
|
50
|
+
} from "./view/fetch-host-app-data/store.js";
|
|
51
|
+
import { sendMessageToHost } from "./view/message-to-host-app/index.js";
|
|
46
52
|
import {
|
|
47
53
|
onGuestUnloadStart,
|
|
48
54
|
notifyGuestUnloadComplete
|
|
49
|
-
} from "./view/guest-unload-handlers";
|
|
50
|
-
import { renderWithHostData } from "./view/render-with-host-data";
|
|
51
|
-
import { fetchHostAppData } from "./view/fetch-host-app-data";
|
|
52
|
-
export * from "./utils/testing";
|
|
53
|
-
import { renderWithRouterRedux } from "./utils/testing/render-with-router-redux";
|
|
54
|
-
import { renderWithRedux } from "./utils/testing/render-with-redux";
|
|
55
|
-
import { renderWithRouter } from "./utils/testing/render-with-router";
|
|
56
|
-
import { RenderWithStateAddOns } from "./utils/testing/render-with-state-addons";
|
|
57
|
-
import { getApiActionCreator, getSelectField } from "./api/helpers";
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import { ErrorToast } from "./view/error-toast";
|
|
62
|
-
import { Form } from "./view/form";
|
|
63
|
-
import { ConnectForm } from "./view/fields/connect-form";
|
|
64
|
-
import { FormItemLayout } from "./view/fields/form-item-layout";
|
|
65
|
-
import { TextBox } from "./view/fields/text-box";
|
|
66
|
-
import { LargeTextBox } from "./view/fields/large-text-box";
|
|
67
|
-
import {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
55
|
+
} from "./view/guest-unload-handlers/index.js";
|
|
56
|
+
import { renderWithHostData } from "./view/render-with-host-data/index.js";
|
|
57
|
+
import { fetchHostAppData } from "./view/fetch-host-app-data/index.js";
|
|
58
|
+
export * from "./utils/testing/index.js";
|
|
59
|
+
import { renderWithRouterRedux } from "./utils/testing/render-with-router-redux.js";
|
|
60
|
+
import { renderWithRedux } from "./utils/testing/render-with-redux.js";
|
|
61
|
+
import { renderWithRouter } from "./utils/testing/render-with-router.js";
|
|
62
|
+
import { RenderWithStateAddOns } from "./utils/testing/render-with-state-addons.js";
|
|
63
|
+
import { getApiActionCreator, getSelectField } from "./api/helpers.js";
|
|
64
|
+
import { getUser } from "./api/users/index.js";
|
|
65
|
+
import { useMediaBreakpoints } from "./view/useMediaBreakpoints/index.js";
|
|
66
|
+
import { withAppDecorator } from "./view/storybook/decorator.js";
|
|
67
|
+
import { ErrorToast } from "./view/error-toast/index.js";
|
|
68
|
+
import { Form } from "./view/form/index.js";
|
|
69
|
+
import { ConnectForm } from "./view/fields/connect-form.js";
|
|
70
|
+
import { FormItemLayout } from "./view/fields/form-item-layout/index.js";
|
|
71
|
+
import { TextBox } from "./view/fields/text-box/index.js";
|
|
72
|
+
import { LargeTextBox } from "./view/fields/large-text-box/index.js";
|
|
73
|
+
import {
|
|
74
|
+
InputMask,
|
|
75
|
+
MASK_TYPES,
|
|
76
|
+
MASK_PIPES
|
|
77
|
+
} from "./view/fields/input-mask/index.js";
|
|
78
|
+
import { ComboBox } from "./view/fields/combo-box/index.js";
|
|
79
|
+
import { CheckBox } from "./view/fields/check-box/index.js";
|
|
80
|
+
import { Radio } from "./view/fields/radio/index.js";
|
|
81
|
+
import { RadioGroup } from "./view/fields/radio-group/index.js";
|
|
82
|
+
import { DateInput } from "./view/fields/date-input/index.js";
|
|
83
|
+
import { DatePicker } from "./view/fields/date-picker/index.js";
|
|
84
|
+
import { FormSubmitButton } from "./view/form/submit-button/index.js";
|
|
85
|
+
import { MediaBreakpoint } from "./view/media-breakpoint/index.js";
|
|
86
|
+
import { VisuallyHidden } from "./view/visually-hidden/index.js";
|
|
87
|
+
import { actions } from "./data/live-message/index.js";
|
|
88
|
+
import { actions as actions2 } from "./data/error/index.js";
|
|
89
|
+
import { actions as actions3 } from "./data/logout/actions.js";
|
|
90
|
+
import { MicroApp } from "./view/micro-app/index.js";
|
|
91
|
+
import { MicroIFrameApp } from "./view/micro-iframe-app/index.js";
|
|
92
|
+
import { getNavigationLinks } from "./view/micro-app/utils.js";
|
|
93
|
+
import { getStore } from "./data/store.js";
|
|
94
|
+
import { RegisterService } from "./utils/guest-with-service.js";
|
|
95
|
+
import { setAppDynamicsUserData } from "./analytics/appdynamics.js";
|
|
96
|
+
import { sendBAEvent } from "./analytics/index.js";
|
|
97
|
+
import { updateBAEventParameters } from "./analytics/web-analytics.js";
|
|
98
|
+
import { redactPii } from "./utils/redact-pii.js";
|
|
89
99
|
export {
|
|
90
100
|
AppRoot,
|
|
91
101
|
CMicroAppGuest,
|
|
@@ -100,7 +110,6 @@ export {
|
|
|
100
110
|
Form,
|
|
101
111
|
FormItemLayout,
|
|
102
112
|
FormSubmitButton,
|
|
103
|
-
Header,
|
|
104
113
|
InputMask,
|
|
105
114
|
LargeTextBox,
|
|
106
115
|
MASK_PIPES,
|
|
@@ -109,12 +118,12 @@ export {
|
|
|
109
118
|
MicroApp,
|
|
110
119
|
MicroIFrameApp,
|
|
111
120
|
ACTIONS as NavigationPromptActions,
|
|
112
|
-
|
|
121
|
+
Page,
|
|
113
122
|
Radio,
|
|
114
123
|
RadioGroup,
|
|
115
124
|
RegisterService,
|
|
116
125
|
RenderWithStateAddOns,
|
|
117
|
-
|
|
126
|
+
RequireAuth,
|
|
118
127
|
SessionTimeout,
|
|
119
128
|
TextBox,
|
|
120
129
|
Themes,
|
|
@@ -127,6 +136,7 @@ export {
|
|
|
127
136
|
enableReactAppForHostIntegration,
|
|
128
137
|
actions2 as error,
|
|
129
138
|
fetchHostAppData,
|
|
139
|
+
getUser as fetchUserSettings,
|
|
130
140
|
getApiActionCreator,
|
|
131
141
|
getAppConfigValue,
|
|
132
142
|
getAuthHTTPClient,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CMicroAppGuest } from "./utils/micro-frontend/guest.js";
|
|
2
|
+
import { CMicroAppHost } from "./utils/micro-frontend/host.js";
|
|
3
|
+
import { getMicroFrontEndAppConfig } from "./utils/micro-frontend/index.js";
|
|
4
|
+
import { enableReactAppForHostIntegration } from "./utils/app-host-integration/react.js";
|
|
5
|
+
export {
|
|
6
|
+
CMicroAppGuest,
|
|
7
|
+
CMicroAppHost,
|
|
8
|
+
enableReactAppForHostIntegration,
|
|
9
|
+
getMicroFrontEndAppConfig
|
|
10
|
+
};
|