@elliemae/pui-app-sdk 2.21.0 → 3.0.0-beta.11
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 +40 -30
- package/dist/cjs/analytics/index.js +33 -26
- package/dist/cjs/analytics/page-view-event.js +35 -34
- package/dist/cjs/analytics/user-session-event.js +35 -27
- package/dist/cjs/analytics/user-wait-event.js +32 -17
- package/dist/cjs/analytics/web-analytics.js +33 -19
- package/dist/cjs/api/auth/index.js +42 -39
- package/dist/cjs/api/helpers.js +34 -99
- package/dist/cjs/api/users/index.js +29 -16
- package/dist/cjs/communication/http-client/index.js +50 -48
- package/dist/cjs/communication/http-client/request-interceptor.js +29 -12
- package/dist/cjs/communication/http-client/response-interceptor.js +47 -38
- package/dist/cjs/communication/http-client/retry-axios.js +74 -122
- package/dist/cjs/communication/http-client/retry.js +43 -36
- package/dist/cjs/communication/http-client/tests/index.test-disable.js +48 -56
- package/dist/cjs/data/auth/actions.js +34 -26
- package/dist/cjs/data/auth/reducer.js +36 -18
- package/dist/cjs/data/breakpoint/index.js +44 -32
- package/dist/cjs/data/error/index.js +34 -18
- package/dist/cjs/data/index.js +35 -0
- package/dist/cjs/data/live-message/index.js +35 -25
- package/dist/cjs/data/logout/actions.js +29 -9
- package/dist/cjs/data/navigation-prompt/actions.js +29 -9
- package/dist/cjs/data/react-redux.js +30 -13
- package/dist/cjs/data/reducers.js +36 -23
- package/dist/cjs/data/saga.js +29 -9
- package/dist/cjs/data/store.js +51 -65
- package/dist/cjs/data/wait-message/actions.js +31 -13
- package/dist/cjs/data/wait-message/reducer.js +38 -24
- package/dist/cjs/index.js +195 -809
- package/dist/cjs/micro-frontend.js +34 -0
- package/dist/cjs/route/index.js +44 -32
- package/dist/cjs/route/page-view.js +36 -22
- package/dist/cjs/route/private-route/index.js +59 -60
- package/dist/cjs/sideeffect/auth/index.js +43 -30
- package/dist/cjs/sideeffect/error-toast/index.js +40 -26
- package/dist/cjs/sideeffect/wait-message/index.js +46 -29
- package/dist/cjs/typings/custom.d.js +0 -0
- package/dist/cjs/typings/elliemae.d.js +0 -0
- package/dist/cjs/typings/styled.d.js +1 -0
- package/dist/cjs/typings/thirdparty.d.js +0 -0
- package/dist/cjs/utils/app-config/config.js +39 -33
- package/dist/cjs/utils/app-config/index.js +48 -44
- package/dist/cjs/utils/app-host-integration/react.js +28 -14
- package/dist/cjs/utils/auth/helper.js +36 -18
- package/dist/cjs/utils/auth/index.js +77 -116
- package/dist/cjs/utils/await.js +20 -0
- package/dist/cjs/utils/constants.js +39 -21
- package/dist/cjs/utils/font-size.js +30 -14
- package/dist/cjs/utils/guest-with-service.js +28 -12
- package/dist/cjs/utils/helpers.js +32 -19
- package/dist/cjs/utils/history.js +30 -12
- package/dist/cjs/utils/log-records.js +55 -35
- package/dist/cjs/utils/micro-frontend/console-logger.js +40 -23
- package/dist/cjs/utils/micro-frontend/guest.js +86 -127
- package/dist/cjs/utils/micro-frontend/host.js +86 -125
- package/dist/cjs/utils/micro-frontend/index.js +66 -61
- package/dist/cjs/utils/micro-frontend/types.js +20 -5
- package/dist/cjs/utils/redact-pii.js +32 -17
- package/dist/cjs/utils/service-worker.js +37 -21
- package/dist/cjs/utils/session.js +66 -71
- package/dist/cjs/utils/storybook/cjs/main.js +53 -0
- package/dist/cjs/utils/storybook/cjs/middleware.js +5 -0
- package/dist/cjs/utils/storybook/cjs/vite.js +6 -0
- package/dist/cjs/utils/storybook/cjs/webpack.js +21 -0
- package/dist/cjs/utils/storybook/manager.js +32 -16
- package/dist/cjs/utils/storybook/preview.js +59 -50
- package/dist/cjs/utils/storybook/theme.js +31 -14
- package/dist/cjs/utils/testing/index.js +45 -50
- package/dist/cjs/utils/testing/render-with-redux.js +41 -27
- package/dist/cjs/utils/testing/render-with-router-redux.js +47 -37
- package/dist/cjs/utils/testing/render-with-router.js +41 -28
- package/dist/cjs/utils/testing/render-with-state-addons.js +47 -36
- package/dist/cjs/utils/types.js +20 -0
- package/dist/cjs/utils/url.js +29 -13
- package/dist/cjs/utils/web-storage.js +46 -30
- package/dist/cjs/utils/window.js +37 -28
- package/dist/cjs/view/app-root/hosted-app.js +42 -32
- package/dist/cjs/view/app-root/index.js +64 -62
- package/dist/cjs/view/app-root/stand-alone-app.js +45 -37
- package/dist/cjs/view/app-root/style.js +51 -12
- package/dist/cjs/view/error-boundary/default-error-template.js +33 -15
- package/dist/cjs/view/error-boundary/index.js +47 -43
- package/dist/cjs/view/error-toast/index.js +49 -32
- package/dist/cjs/view/fetch-host-app-data/index.js +40 -26
- package/dist/cjs/view/fetch-host-app-data/store.js +32 -24
- package/dist/cjs/view/fields/check-box/index.js +41 -39
- package/dist/cjs/view/fields/combo-box/index.js +44 -31
- package/dist/cjs/view/fields/connect-form.js +31 -15
- package/dist/cjs/view/fields/date-input/index.js +41 -26
- package/dist/cjs/view/fields/date-picker/index.js +41 -26
- package/dist/cjs/view/fields/form-item-layout/index.js +43 -30
- package/dist/cjs/view/fields/input-mask/index.js +42 -41
- package/dist/cjs/view/fields/large-text-box/index.js +41 -26
- package/dist/cjs/view/fields/radio/index.js +41 -30
- package/dist/cjs/view/fields/radio-group/index.js +39 -27
- package/dist/cjs/view/fields/text-box/index.js +41 -26
- package/dist/cjs/view/fields/watch-value.js +48 -35
- package/dist/cjs/view/form/index.js +48 -34
- package/dist/cjs/view/form/personal-info-section.js +63 -80
- package/dist/cjs/view/form/submit-button/index.js +41 -23
- package/dist/cjs/view/guest-unload-handlers/index.js +34 -22
- package/dist/cjs/view/header/center-region/index.js +68 -38
- package/dist/cjs/view/header/index.js +48 -35
- package/dist/cjs/view/header/logo-region/index.js +38 -23
- package/dist/cjs/view/header/nav-region/index.js +51 -30
- package/dist/cjs/view/header/nav-region/notification/index.js +35 -18
- package/dist/cjs/view/header/nav-region/user/index.js +35 -18
- package/dist/cjs/view/host-binding-events/index.js +27 -11
- package/dist/cjs/view/intro.stories.mdx +1 -1
- package/dist/cjs/view/live-message/index.js +40 -34
- package/dist/cjs/view/loadable/index.js +40 -27
- package/dist/cjs/view/login/index.js +43 -30
- package/dist/cjs/view/media-breakpoint/index.js +50 -34
- package/dist/cjs/view/message-to-host-app/index.js +32 -20
- package/dist/cjs/view/micro-app/app-factory/index.js +101 -135
- package/dist/cjs/view/micro-app/const.js +27 -7
- package/dist/cjs/view/micro-app/index.js +44 -27
- package/dist/cjs/view/micro-app/resources/manifest.js +44 -35
- package/dist/cjs/view/micro-app/resources/script.js +57 -53
- package/dist/cjs/view/micro-app/resources/style.js +45 -38
- package/dist/cjs/view/micro-app/types.js +20 -5
- package/dist/cjs/view/micro-app/use-app-will-render.js +59 -50
- package/dist/cjs/view/micro-app/utils.js +33 -21
- package/dist/cjs/view/micro-iframe-app/app.js +44 -39
- package/dist/cjs/view/micro-iframe-app/iframe/const.js +27 -7
- package/dist/cjs/view/micro-iframe-app/iframe/index.js +58 -47
- package/dist/cjs/view/micro-iframe-app/index.js +43 -24
- package/dist/cjs/view/micro-iframe-app/types.js +20 -5
- package/dist/cjs/view/micro-iframe-app/use-frame-loaded.js +43 -37
- package/dist/cjs/view/modals/error/index.js +42 -28
- package/dist/cjs/view/modals/navigation-prompt/index.js +45 -37
- package/dist/cjs/view/modals/session-expiry/customHooks.js +41 -35
- package/dist/cjs/view/modals/session-expiry/index.js +55 -50
- package/dist/cjs/view/modals/wait-message/html-wait-message.js +39 -18
- package/dist/cjs/view/modals/wait-message/index.js +57 -53
- package/dist/cjs/view/modals/wait-message/wait-message-launcher.js +40 -21
- package/dist/cjs/view/render-with-delay/index.js +37 -19
- package/dist/cjs/view/render-with-host-data/index.js +42 -30
- package/dist/cjs/view/session-timeout/index.js +55 -35
- package/dist/cjs/view/storybook/decorator.js +39 -21
- package/dist/cjs/view/use-previous.js +30 -13
- package/dist/cjs/view/useMediaBreakpoints/index.js +35 -19
- package/dist/cjs/view/visually-hidden/index.js +48 -21
- package/dist/cjs/view/window-size/index.js +41 -22
- package/dist/es/analytics/appdynamics.js +14 -15
- package/dist/es/analytics/index.js +8 -14
- package/dist/es/analytics/page-view-event.js +11 -25
- package/dist/es/analytics/user-session-event.js +11 -13
- package/dist/es/analytics/user-wait-event.js +9 -5
- package/dist/es/analytics/web-analytics.js +12 -10
- package/dist/es/api/auth/index.js +21 -26
- package/dist/es/api/helpers.js +8 -81
- package/dist/es/api/users/index.js +6 -7
- package/dist/es/communication/http-client/index.js +19 -25
- package/dist/es/communication/http-client/request-interceptor.js +5 -2
- package/dist/es/communication/http-client/response-interceptor.js +20 -21
- package/dist/es/communication/http-client/retry-axios.js +45 -105
- package/dist/es/communication/http-client/retry.js +22 -25
- package/dist/es/communication/http-client/tests/index.test-disable.js +25 -44
- package/dist/es/data/auth/actions.js +13 -19
- package/dist/es/data/auth/reducer.js +8 -6
- package/dist/es/data/breakpoint/index.js +19 -21
- package/dist/es/data/error/index.js +11 -9
- package/dist/es/data/index.js +11 -0
- package/dist/es/data/live-message/index.js +12 -16
- package/dist/es/data/logout/actions.js +9 -5
- package/dist/es/data/navigation-prompt/actions.js +9 -5
- package/dist/es/data/react-redux.js +7 -3
- package/dist/es/data/reducers.js +6 -3
- package/dist/es/data/saga.js +8 -5
- package/dist/es/data/store.js +24 -51
- package/dist/es/data/wait-message/actions.js +11 -9
- package/dist/es/data/wait-message/reducer.js +9 -9
- package/dist/es/index.js +192 -83
- package/dist/es/micro-frontend.js +10 -0
- package/dist/es/route/index.js +16 -18
- package/dist/es/route/page-view.js +8 -8
- package/dist/es/route/private-route/index.js +24 -31
- package/dist/es/sideeffect/auth/index.js +24 -11
- package/dist/es/sideeffect/error-toast/index.js +11 -10
- package/dist/es/sideeffect/wait-message/index.js +14 -10
- package/dist/es/typings/custom.d.js +0 -0
- package/dist/es/typings/elliemae.d.js +0 -0
- package/dist/es/typings/styled.d.js +1 -0
- package/dist/es/typings/thirdparty.d.js +0 -0
- package/dist/es/utils/app-config/config.js +11 -9
- package/dist/es/utils/app-config/index.js +17 -27
- package/dist/es/utils/app-host-integration/react.js +8 -6
- package/dist/es/utils/auth/helper.js +7 -3
- package/dist/es/utils/auth/index.js +51 -75
- package/dist/es/utils/constants.js +18 -13
- package/dist/es/utils/font-size.js +7 -3
- package/dist/es/utils/guest-with-service.js +6 -7
- package/dist/es/utils/helpers.js +10 -6
- package/dist/es/utils/history.js +7 -3
- package/dist/es/utils/log-records.js +34 -31
- package/dist/es/utils/micro-frontend/console-logger.js +16 -12
- package/dist/es/utils/micro-frontend/guest.js +44 -100
- package/dist/es/utils/micro-frontend/host.js +41 -77
- package/dist/es/utils/micro-frontend/index.js +35 -33
- package/dist/es/utils/micro-frontend/types.js +0 -1
- package/dist/es/utils/redact-pii.js +10 -11
- package/dist/es/utils/service-worker.js +13 -10
- package/dist/es/utils/session.js +45 -46
- package/dist/es/utils/storybook/manager.js +7 -4
- package/dist/es/utils/storybook/preview.js +27 -24
- package/dist/es/utils/storybook/theme.js +9 -6
- package/dist/es/utils/testing/index.js +12 -18
- package/dist/es/utils/testing/render-with-redux.js +12 -11
- package/dist/es/utils/testing/render-with-router-redux.js +18 -19
- package/dist/es/utils/testing/render-with-router.js +15 -16
- package/dist/es/utils/testing/render-with-state-addons.js +19 -18
- package/dist/es/utils/url.js +7 -3
- package/dist/es/utils/web-storage.js +21 -17
- package/dist/es/utils/window.js +18 -18
- package/dist/es/view/app-root/hosted-app.js +10 -13
- package/dist/es/view/app-root/index.js +29 -33
- package/dist/es/view/app-root/stand-alone-app.js +11 -12
- package/dist/es/view/app-root/style.js +30 -5
- package/dist/es/view/error-boundary/default-error-template.js +5 -5
- package/dist/es/view/error-boundary/index.js +18 -25
- package/dist/es/view/error-toast/index.js +15 -14
- package/dist/es/view/fetch-host-app-data/index.js +14 -11
- package/dist/es/view/fetch-host-app-data/store.js +10 -7
- package/dist/es/view/fields/check-box/index.js +17 -18
- package/dist/es/view/fields/combo-box/index.js +20 -19
- package/dist/es/view/fields/connect-form.js +8 -6
- package/dist/es/view/fields/date-input/index.js +17 -14
- package/dist/es/view/fields/date-picker/index.js +17 -14
- package/dist/es/view/fields/form-item-layout/index.js +15 -15
- package/dist/es/view/fields/input-mask/index.js +21 -14
- package/dist/es/view/fields/large-text-box/index.js +17 -14
- package/dist/es/view/fields/radio/index.js +17 -18
- package/dist/es/view/fields/radio-group/index.js +15 -15
- package/dist/es/view/fields/text-box/index.js +17 -14
- package/dist/es/view/fields/watch-value.js +20 -24
- package/dist/es/view/form/index.js +23 -22
- package/dist/es/view/form/personal-info-section.js +28 -48
- package/dist/es/view/form/submit-button/index.js +13 -10
- package/dist/es/view/guest-unload-handlers/index.js +10 -9
- package/dist/es/view/header/center-region/index.js +41 -23
- package/dist/es/view/header/index.js +16 -15
- package/dist/es/view/header/logo-region/index.js +9 -9
- package/dist/es/view/header/nav-region/index.js +21 -13
- package/dist/es/view/header/nav-region/notification/index.js +6 -6
- package/dist/es/view/header/nav-region/user/index.js +6 -6
- package/dist/es/view/host-binding-events/index.js +7 -3
- package/dist/es/view/intro.stories.mdx +1 -1
- package/dist/es/view/live-message/index.js +13 -22
- package/dist/es/view/loadable/index.js +13 -15
- package/dist/es/view/login/index.js +12 -15
- package/dist/es/view/media-breakpoint/index.js +16 -13
- package/dist/es/view/message-to-host-app/index.js +10 -9
- package/dist/es/view/micro-app/app-factory/index.js +67 -82
- package/dist/es/view/micro-app/const.js +4 -1
- package/dist/es/view/micro-app/index.js +12 -9
- package/dist/es/view/micro-app/resources/manifest.js +17 -16
- package/dist/es/view/micro-app/resources/script.js +35 -35
- package/dist/es/view/micro-app/resources/style.js +22 -21
- package/dist/es/view/micro-app/types.js +0 -1
- package/dist/es/view/micro-app/use-app-will-render.js +35 -26
- package/dist/es/view/micro-app/utils.js +11 -13
- package/dist/es/view/micro-iframe-app/app.js +14 -20
- package/dist/es/view/micro-iframe-app/iframe/const.js +4 -1
- package/dist/es/view/micro-iframe-app/iframe/index.js +27 -31
- package/dist/es/view/micro-iframe-app/index.js +10 -10
- package/dist/es/view/micro-iframe-app/types.js +0 -1
- package/dist/es/view/micro-iframe-app/use-frame-loaded.js +15 -19
- package/dist/es/view/modals/error/index.js +13 -10
- package/dist/es/view/modals/navigation-prompt/index.js +11 -14
- package/dist/es/view/modals/session-expiry/customHooks.js +11 -13
- package/dist/es/view/modals/session-expiry/index.js +17 -21
- package/dist/es/view/modals/wait-message/html-wait-message.js +11 -10
- package/dist/es/view/modals/wait-message/index.js +30 -37
- package/dist/es/view/modals/wait-message/wait-message-launcher.js +8 -6
- package/dist/es/view/render-with-delay/index.js +8 -10
- package/dist/es/view/render-with-host-data/index.js +10 -13
- package/dist/es/view/session-timeout/index.js +24 -10
- package/dist/es/view/storybook/decorator.js +8 -5
- package/dist/es/view/use-previous.js +6 -3
- package/dist/es/view/useMediaBreakpoints/index.js +11 -9
- package/dist/es/view/visually-hidden/index.js +20 -10
- package/dist/es/view/window-size/index.js +12 -10
- 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 +11 -11
- package/dist/types/data/reducers.d.ts +6 -6
- package/dist/types/data/store.d.ts +29 -29
- package/dist/types/index.d.ts +79 -79
- package/dist/types/micro-frontend.d.ts +6 -0
- package/dist/types/route/private-route/index.d.ts +1 -1
- package/dist/types/sideeffect/auth/index.d.ts +1 -1
- package/dist/types/utils/app-host-integration/react.d.ts +1 -1
- package/dist/types/utils/micro-frontend/guest.d.ts +2 -2
- package/dist/types/utils/micro-frontend/host.d.ts +1 -1
- 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/cjs/main.d.ts +63 -0
- package/dist/types/utils/storybook/{middleware.d.ts → cjs/middleware.d.ts} +0 -0
- package/dist/types/utils/storybook/cjs/vite.d.ts +4 -0
- package/dist/types/utils/storybook/cjs/webpack.d.ts +16 -0
- package/dist/types/utils/storybook/preview.d.ts +9 -3
- package/dist/types/utils/testing/render-with-redux.d.ts +20 -20
- package/dist/types/utils/testing/render-with-router-redux.d.ts +20 -20
- package/dist/types/utils/window.d.ts +1 -1
- package/dist/types/view/app-root/index.d.ts +1 -1
- package/dist/types/view/fields/check-box/index.stories.d.ts +1 -1
- package/dist/types/view/fields/check-box/set-value.stories.d.ts +1 -1
- package/dist/types/view/fields/combo-box/index.stories.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.stories.d.ts +1 -1
- package/dist/types/view/fields/form-item-layout/index.stories.d.ts +1 -1
- package/dist/types/view/fields/input-mask/index.stories.d.ts +1 -1
- package/dist/types/view/fields/large-text-box/index.stories.d.ts +1 -1
- package/dist/types/view/fields/radio/index.stories.d.ts +1 -1
- package/dist/types/view/fields/radio/set-value.stories.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.stories.d.ts +1 -1
- package/dist/types/view/form/usecases.stories.d.ts +1 -1
- package/dist/types/view/header/index.d.ts +1 -1
- package/dist/types/view/header/index.stories.d.ts +1 -1
- package/dist/types/view/micro-app/app-factory/index.d.ts +2 -2
- package/dist/types/view/micro-app/index.d.ts +1 -1
- 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/use-app-will-render.d.ts +1 -1
- 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.stories.d.ts +1 -1
- package/dist/types/view/modals/navigation-prompt/index.stories.d.ts +1 -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 +1 -1
- package/dist/types/view/storybook/decorator.d.ts +1 -1
- package/dist/types/view/visually-hidden/index.d.ts +1 -3
- package/package.json +36 -25
- package/dist/cjs/api/users/index.endpoint.js +0 -14
- package/dist/cjs/communication/http-client/tests/hello.endpoint.js +0 -14
- package/dist/cjs/communication/http-client/tests/private.endpoint.js +0 -14
- package/dist/cjs/utils/storybook/main.js +0 -38
- package/dist/cjs/utils/storybook/middleware.js +0 -9
- package/dist/cjs/view/error-toast/index.stories.js +0 -128
- package/dist/cjs/view/fields/check-box/index.stories.js +0 -64
- package/dist/cjs/view/fields/check-box/set-value.stories.js +0 -83
- package/dist/cjs/view/fields/combo-box/index.stories.js +0 -65
- package/dist/cjs/view/fields/date-input/index.stories.js +0 -53
- package/dist/cjs/view/fields/date-input/index1.stories.js +0 -53
- package/dist/cjs/view/fields/date-picker/index.stories.js +0 -53
- package/dist/cjs/view/fields/form-item-layout/index.stories.js +0 -43
- package/dist/cjs/view/fields/input-mask/index.stories.js +0 -52
- package/dist/cjs/view/fields/large-text-box/index.stories.js +0 -47
- package/dist/cjs/view/fields/radio/index.stories.js +0 -60
- package/dist/cjs/view/fields/radio/set-value.stories.js +0 -81
- package/dist/cjs/view/fields/radio-group/index.stories.js +0 -85
- package/dist/cjs/view/fields/text-box/index.stories.js +0 -48
- package/dist/cjs/view/form/index.stories.js +0 -71
- package/dist/cjs/view/form/usecases.stories.js +0 -59
- package/dist/cjs/view/header/index.stories.js +0 -24
- package/dist/cjs/view/live-message/index.stories.js +0 -53
- package/dist/cjs/view/media-breakpoint/index.stories.js +0 -24
- package/dist/cjs/view/modals/error/index.stories.js +0 -36
- package/dist/cjs/view/modals/navigation-prompt/index.stories.js +0 -32
- package/dist/cjs/view/modals/session-expiry/index.stories.js +0 -30
- package/dist/cjs/view/modals/wait-message/index.stories.js +0 -47
- package/dist/cjs/view/session-timeout/index.stories.js +0 -28
- package/dist/es/api/users/index.endpoint.js +0 -14
- package/dist/es/communication/http-client/tests/hello.endpoint.js +0 -14
- package/dist/es/communication/http-client/tests/private.endpoint.js +0 -14
- package/dist/es/utils/storybook/main.js +0 -38
- package/dist/es/utils/storybook/middleware.js +0 -9
- package/dist/es/view/error-toast/index.stories.js +0 -108
- package/dist/es/view/fields/check-box/index.stories.js +0 -47
- package/dist/es/view/fields/check-box/set-value.stories.js +0 -65
- package/dist/es/view/fields/combo-box/index.stories.js +0 -48
- package/dist/es/view/fields/date-input/index.stories.js +0 -35
- package/dist/es/view/fields/date-input/index1.stories.js +0 -35
- package/dist/es/view/fields/date-picker/index.stories.js +0 -35
- package/dist/es/view/fields/form-item-layout/index.stories.js +0 -27
- package/dist/es/view/fields/input-mask/index.stories.js +0 -35
- package/dist/es/view/fields/large-text-box/index.stories.js +0 -30
- package/dist/es/view/fields/radio/index.stories.js +0 -43
- package/dist/es/view/fields/radio/set-value.stories.js +0 -63
- package/dist/es/view/fields/radio-group/index.stories.js +0 -68
- package/dist/es/view/fields/text-box/index.stories.js +0 -31
- package/dist/es/view/form/index.stories.js +0 -56
- package/dist/es/view/form/usecases.stories.js +0 -43
- package/dist/es/view/header/index.stories.js +0 -14
- package/dist/es/view/live-message/index.stories.js +0 -32
- package/dist/es/view/media-breakpoint/index.stories.js +0 -10
- package/dist/es/view/modals/error/index.stories.js +0 -21
- package/dist/es/view/modals/navigation-prompt/index.stories.js +0 -18
- package/dist/es/view/modals/session-expiry/index.stories.js +0 -18
- package/dist/es/view/modals/wait-message/index.stories.js +0 -33
- package/dist/es/view/session-timeout/index.stories.js +0 -13
- package/dist/types/utils/storybook/main.d.ts +0 -30
- package/dist/types/view/fields/date-input/index1.stories.d.ts +0 -24
|
@@ -1,15 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.
|
|
4
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
11
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(module2))
|
|
13
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
14
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return target;
|
|
17
|
+
};
|
|
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 font_size_exports = {};
|
|
24
|
+
__export(font_size_exports, {
|
|
25
|
+
pxToRem: () => pxToRem,
|
|
26
|
+
remToPx: () => remToPx
|
|
5
27
|
});
|
|
6
|
-
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
exports.remToPx = remToPx;
|
|
12
|
-
|
|
13
|
-
const pxToRem = px => `${px / parseFloat(docFontSize)}rem`;
|
|
14
|
-
|
|
15
|
-
exports.pxToRem = pxToRem;
|
|
28
|
+
const docFontSize = document && document.documentElement ? getComputedStyle(document.documentElement).fontSize : "16";
|
|
29
|
+
const remToPx = (rem) => rem * parseFloat(docFontSize);
|
|
30
|
+
const pxToRem = (px) => `${px / parseFloat(docFontSize)}rem`;
|
|
31
|
+
module.exports = __toCommonJS(font_size_exports);
|
|
@@ -1,22 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.
|
|
4
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
11
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(module2))
|
|
13
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
14
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return target;
|
|
17
|
+
};
|
|
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 guest_with_service_exports = {};
|
|
24
|
+
__export(guest_with_service_exports, {
|
|
25
|
+
RegisterService: () => RegisterService
|
|
5
26
|
});
|
|
6
|
-
exports.RegisterService = RegisterService;
|
|
7
|
-
|
|
8
27
|
function RegisterService(appId, ServiceName) {
|
|
9
|
-
const {
|
|
10
|
-
emui
|
|
11
|
-
} = window;
|
|
28
|
+
const { emui } = window;
|
|
12
29
|
const props = emui[appId] || (emui[appId] = {});
|
|
13
|
-
|
|
14
30
|
if (props.service) {
|
|
15
31
|
delete props.service;
|
|
16
32
|
}
|
|
17
|
-
|
|
18
33
|
props.service = new ServiceName();
|
|
19
34
|
return () => {
|
|
20
35
|
delete props.service;
|
|
21
36
|
};
|
|
22
|
-
}
|
|
37
|
+
}
|
|
38
|
+
module.exports = __toCommonJS(guest_with_service_exports);
|
|
@@ -1,25 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.
|
|
4
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
11
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(module2))
|
|
13
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
14
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return target;
|
|
17
|
+
};
|
|
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 helpers_exports = {};
|
|
24
|
+
__export(helpers_exports, {
|
|
25
|
+
convertRelativeToAbsoluteUrl: () => convertRelativeToAbsoluteUrl,
|
|
26
|
+
isCIBuild: () => isCIBuild,
|
|
27
|
+
isProd: () => isProd
|
|
5
28
|
});
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
exports.isProd = isProd;
|
|
11
|
-
|
|
12
|
-
const isCIBuild = () => process.env.CI === 'true';
|
|
13
|
-
|
|
14
|
-
exports.isCIBuild = isCIBuild;
|
|
15
|
-
const PROTOCOL = new RegExp('^(?:[a-z]+:)?//', 'i');
|
|
16
|
-
|
|
17
|
-
const convertRelativeToAbsoluteUrl = url => {
|
|
29
|
+
const isProd = () => false;
|
|
30
|
+
const isCIBuild = () => process.env.CI === "true";
|
|
31
|
+
const PROTOCOL = new RegExp("^(?:[a-z]+:)?//", "i");
|
|
32
|
+
const convertRelativeToAbsoluteUrl = (url) => {
|
|
18
33
|
if (!PROTOCOL.test(url)) {
|
|
19
34
|
return new URL(url, document.location.origin).href;
|
|
20
35
|
}
|
|
21
|
-
|
|
22
36
|
return url;
|
|
23
37
|
};
|
|
24
|
-
|
|
25
|
-
exports.convertRelativeToAbsoluteUrl = convertRelativeToAbsoluteUrl;
|
|
38
|
+
module.exports = __toCommonJS(helpers_exports);
|
|
@@ -1,13 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.
|
|
4
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
11
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(module2))
|
|
13
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
14
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return target;
|
|
17
|
+
};
|
|
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 history_exports = {};
|
|
24
|
+
__export(history_exports, {
|
|
25
|
+
browserHistory: () => browserHistory,
|
|
26
|
+
memoryHistory: () => memoryHistory
|
|
5
27
|
});
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const browserHistory = (0, _history.createBrowserHistory)();
|
|
11
|
-
exports.browserHistory = browserHistory;
|
|
12
|
-
const memoryHistory = (0, _history.createMemoryHistory)();
|
|
13
|
-
exports.memoryHistory = memoryHistory;
|
|
28
|
+
var import_history = require("history");
|
|
29
|
+
const browserHistory = (0, import_history.createBrowserHistory)();
|
|
30
|
+
const memoryHistory = (0, import_history.createMemoryHistory)();
|
|
31
|
+
module.exports = __toCommonJS(history_exports);
|
|
@@ -1,69 +1,89 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.
|
|
4
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
11
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(module2))
|
|
13
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
14
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return target;
|
|
17
|
+
};
|
|
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 log_records_exports = {};
|
|
24
|
+
__export(log_records_exports, {
|
|
25
|
+
logRecords: () => logRecords
|
|
5
26
|
});
|
|
6
|
-
exports.logRecords = void 0;
|
|
7
27
|
const logRecords = {
|
|
8
28
|
ERR_TOAST_OPEN_FAILED: {
|
|
9
|
-
code:
|
|
10
|
-
msg:
|
|
29
|
+
code: "appsdk001",
|
|
30
|
+
msg: "Unable to open Error Toast"
|
|
11
31
|
},
|
|
12
32
|
WAIT_MSG_OPEN_FAILED: {
|
|
13
|
-
code:
|
|
14
|
-
msg:
|
|
33
|
+
code: "appsdk02",
|
|
34
|
+
msg: "Unable to open Wait message"
|
|
15
35
|
},
|
|
16
36
|
WAIT_MSG_CLOSE_FAILED: {
|
|
17
|
-
code:
|
|
18
|
-
msg:
|
|
37
|
+
code: "appsdk03",
|
|
38
|
+
msg: "Unable to close Wait message"
|
|
19
39
|
},
|
|
20
40
|
APP_CONFIG_LOAD_FAILED: {
|
|
21
|
-
code:
|
|
22
|
-
msg:
|
|
41
|
+
code: "appsdk04",
|
|
42
|
+
msg: "Unable to load application configuration"
|
|
23
43
|
},
|
|
24
|
-
ASSET_NOT_FOUND_IN_MANIFEST: assetName => ({
|
|
25
|
-
code:
|
|
44
|
+
ASSET_NOT_FOUND_IN_MANIFEST: (assetName) => ({
|
|
45
|
+
code: "appsdk05",
|
|
26
46
|
msg: `Application load failed. unable to locate ${assetName} in the manifest`
|
|
27
47
|
}),
|
|
28
48
|
APP_INIT_FAILED: (appId, errMsg) => ({
|
|
29
|
-
code:
|
|
49
|
+
code: "appsdk06",
|
|
30
50
|
msg: `Application load failed. Unable to load one or more application resources for appId: ${appId}. ${errMsg}`
|
|
31
51
|
}),
|
|
32
|
-
APP_LOADING: appId => ({
|
|
33
|
-
code:
|
|
52
|
+
APP_LOADING: (appId) => ({
|
|
53
|
+
code: "appsdk07",
|
|
34
54
|
msg: `Application ${appId} is loading...`
|
|
35
55
|
}),
|
|
36
|
-
APP_LOADING_COMPLETE: appId => ({
|
|
37
|
-
code:
|
|
56
|
+
APP_LOADING_COMPLETE: (appId) => ({
|
|
57
|
+
code: "appsdk08",
|
|
38
58
|
msg: `Application ${appId} loaded`
|
|
39
59
|
}),
|
|
40
|
-
APP_UNLOADING: appId => ({
|
|
41
|
-
code:
|
|
60
|
+
APP_UNLOADING: (appId) => ({
|
|
61
|
+
code: "appsdk09",
|
|
42
62
|
msg: `Application ${appId} unloading...`
|
|
43
63
|
}),
|
|
44
|
-
APP_UNLOADING_COMPLETE: appId => ({
|
|
45
|
-
code:
|
|
64
|
+
APP_UNLOADING_COMPLETE: (appId) => ({
|
|
65
|
+
code: "appsdk10",
|
|
46
66
|
msg: `Application ${appId} unloaded`
|
|
47
67
|
}),
|
|
48
|
-
SSF_HOST_OBJECT_NOT_FOUND: name => ({
|
|
49
|
-
code:
|
|
68
|
+
SSF_HOST_OBJECT_NOT_FOUND: (name) => ({
|
|
69
|
+
code: "appsdk11",
|
|
50
70
|
msg: `Parent window doesn't expose SSF Object named ${name}`
|
|
51
71
|
}),
|
|
52
72
|
LOGIN_FAILED: {
|
|
53
|
-
code:
|
|
54
|
-
msg:
|
|
73
|
+
code: "appsdk12",
|
|
74
|
+
msg: "Unable to login the user."
|
|
55
75
|
},
|
|
56
76
|
LOGOUT_FAILED: {
|
|
57
|
-
code:
|
|
58
|
-
msg:
|
|
77
|
+
code: "appsdk13",
|
|
78
|
+
msg: "Unable to logout the user."
|
|
59
79
|
},
|
|
60
80
|
SERVICE_WORKER_FAILED: {
|
|
61
|
-
code:
|
|
62
|
-
msg:
|
|
81
|
+
code: "appsdk14",
|
|
82
|
+
msg: "Service Worker Registration Failed"
|
|
63
83
|
},
|
|
64
84
|
UNHANDLED_ERROR: {
|
|
65
|
-
code:
|
|
66
|
-
msg:
|
|
85
|
+
code: "appsdk15",
|
|
86
|
+
msg: "Unhandled error in react component"
|
|
67
87
|
}
|
|
68
88
|
};
|
|
69
|
-
exports
|
|
89
|
+
module.exports = __toCommonJS(log_records_exports);
|
|
@@ -1,27 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.
|
|
4
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
11
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(module2))
|
|
13
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
14
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return target;
|
|
17
|
+
};
|
|
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 console_logger_exports = {};
|
|
24
|
+
__export(console_logger_exports, {
|
|
25
|
+
logger: () => logger
|
|
5
26
|
});
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var _puiDiagnostics = require("@elliemae/pui-diagnostics");
|
|
9
|
-
|
|
10
|
-
var _config = require("../app-config/config.js");
|
|
11
|
-
|
|
27
|
+
var import_pui_diagnostics = require("@elliemae/pui-diagnostics");
|
|
28
|
+
var import_config = require("../app-config/config.js");
|
|
12
29
|
const logger = (() => {
|
|
13
|
-
if (!
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
30
|
+
if (!import_pui_diagnostics.logger)
|
|
31
|
+
return console;
|
|
32
|
+
return (0, import_pui_diagnostics.logger)({
|
|
33
|
+
transport: (0, import_pui_diagnostics.Console)(),
|
|
34
|
+
index: "app",
|
|
35
|
+
environment: (0, import_config.getAppConfigValue)("activeEnv"),
|
|
36
|
+
logger: "icemt.app.logger",
|
|
37
|
+
team: "app team",
|
|
38
|
+
appName: "ICEMT App",
|
|
39
|
+
appVersion: "latest",
|
|
40
|
+
tenantId: "",
|
|
41
|
+
userId: ""
|
|
24
42
|
});
|
|
25
43
|
})();
|
|
26
|
-
|
|
27
|
-
exports.logger = logger;
|
|
44
|
+
module.exports = __toCommonJS(console_logger_exports);
|