@elliemae/pui-app-sdk 2.16.1 → 3.0.0-beta.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/cjs/analytics/appdynamics.js +34 -30
- package/dist/cjs/analytics/index.js +32 -26
- package/dist/cjs/analytics/page-view-event.js +33 -29
- package/dist/cjs/analytics/user-session-event.js +34 -27
- package/dist/cjs/analytics/user-wait-event.js +31 -17
- package/dist/cjs/analytics/web-analytics.js +16 -19
- package/dist/cjs/api/auth/index.js +41 -39
- package/dist/cjs/api/helpers.js +33 -99
- package/dist/cjs/api/users/index.js +28 -16
- package/dist/cjs/communication/http-client/index.js +44 -48
- package/dist/cjs/communication/http-client/request-interceptor.js +28 -12
- package/dist/cjs/communication/http-client/response-interceptor.js +41 -38
- package/dist/cjs/communication/http-client/retry-axios.js +68 -122
- package/dist/cjs/communication/http-client/retry.js +42 -36
- package/dist/cjs/communication/http-client/tests/index.test-disable.js +48 -56
- package/dist/cjs/data/auth/actions.js +17 -26
- package/dist/cjs/data/auth/reducer.js +30 -18
- package/dist/cjs/data/breakpoint/index.js +38 -32
- package/dist/cjs/data/error/index.js +33 -18
- package/dist/cjs/data/live-message/index.js +34 -25
- package/dist/cjs/data/logout/actions.js +12 -9
- package/dist/cjs/data/navigation-prompt/actions.js +12 -9
- package/dist/cjs/data/react-redux.js +29 -13
- package/dist/cjs/data/reducers.js +35 -23
- package/dist/cjs/data/saga.js +12 -9
- package/dist/cjs/data/store.js +53 -60
- package/dist/cjs/data/wait-message/actions.js +14 -13
- package/dist/cjs/data/wait-message/reducer.js +32 -24
- package/dist/cjs/index.js +187 -800
- package/dist/cjs/route/index.js +37 -32
- package/dist/cjs/route/page-view.js +30 -22
- package/dist/cjs/route/private-route/index.js +52 -60
- package/dist/cjs/sideeffect/auth/index.js +42 -30
- package/dist/cjs/sideeffect/error-toast/index.js +39 -26
- package/dist/cjs/sideeffect/wait-message/index.js +45 -29
- package/dist/cjs/typings/custom.d.js +0 -1
- package/dist/cjs/typings/elliemae.d.js +0 -1
- package/dist/cjs/typings/styled.d.js +19 -3
- package/dist/cjs/utils/app-config/config.js +33 -33
- package/dist/cjs/utils/app-config/index.js +42 -44
- package/dist/cjs/utils/app-host-integration/react.js +27 -14
- package/dist/cjs/utils/auth/helper.js +30 -18
- package/dist/cjs/utils/auth/index.js +76 -116
- package/dist/cjs/utils/await.js +3 -0
- package/dist/cjs/utils/constants.js +22 -21
- package/dist/cjs/utils/font-size.js +13 -14
- package/dist/cjs/utils/guest-with-service.js +11 -12
- package/dist/cjs/utils/helpers.js +15 -19
- package/dist/cjs/utils/history.js +29 -12
- package/dist/cjs/utils/log-records.js +38 -35
- package/dist/cjs/utils/micro-frontend/console-logger.js +39 -23
- package/dist/cjs/utils/micro-frontend/guest.js +80 -128
- package/dist/cjs/utils/micro-frontend/host.js +84 -124
- package/dist/cjs/utils/micro-frontend/index.js +60 -61
- package/dist/cjs/utils/micro-frontend/types.js +3 -5
- package/dist/cjs/utils/redact-pii.js +15 -17
- package/dist/cjs/utils/service-worker.js +36 -21
- package/dist/cjs/utils/session.js +64 -70
- package/dist/cjs/utils/storybook/main.js +32 -25
- package/dist/cjs/utils/storybook/manager.js +31 -16
- package/dist/cjs/utils/storybook/middleware.js +3 -7
- package/dist/cjs/utils/storybook/preview.js +57 -48
- package/dist/cjs/utils/storybook/theme.js +30 -14
- package/dist/cjs/utils/storybook/vite.js +6 -0
- package/dist/cjs/utils/storybook/webpack.js +13 -0
- package/dist/cjs/utils/testing/index.js +38 -50
- package/dist/cjs/utils/testing/render-with-redux.js +34 -27
- package/dist/cjs/utils/testing/render-with-router-redux.js +40 -37
- package/dist/cjs/utils/testing/render-with-router.js +34 -28
- package/dist/cjs/utils/testing/render-with-state-addons.js +40 -36
- package/dist/cjs/utils/types.js +3 -0
- package/dist/cjs/utils/url.js +12 -13
- package/dist/cjs/utils/web-storage.js +40 -30
- package/dist/cjs/utils/window.js +36 -28
- package/dist/cjs/view/app-root/hosted-app.js +35 -32
- package/dist/cjs/view/app-root/index.js +57 -62
- package/dist/cjs/view/app-root/stand-alone-app.js +38 -37
- package/dist/cjs/view/app-root/style.js +50 -12
- package/dist/cjs/view/error-boundary/default-error-template.js +10 -15
- package/dist/cjs/view/error-boundary/index.js +41 -43
- package/dist/cjs/view/error-toast/index.js +42 -32
- package/dist/cjs/view/fetch-host-app-data/index.js +34 -26
- package/dist/cjs/view/fetch-host-app-data/store.js +31 -24
- package/dist/cjs/view/fields/check-box/index.js +34 -39
- package/dist/cjs/view/fields/combo-box/index.js +37 -31
- package/dist/cjs/view/fields/connect-form.js +30 -15
- package/dist/cjs/view/fields/date-input/index.js +34 -26
- package/dist/cjs/view/fields/date-picker/index.js +34 -26
- package/dist/cjs/view/fields/form-item-layout/index.js +36 -30
- package/dist/cjs/view/fields/input-mask/index.js +35 -41
- package/dist/cjs/view/fields/large-text-box/index.js +34 -26
- package/dist/cjs/view/fields/radio/index.js +34 -30
- package/dist/cjs/view/fields/radio-group/index.js +32 -27
- package/dist/cjs/view/fields/text-box/index.js +34 -26
- package/dist/cjs/view/fields/watch-value.js +41 -35
- package/dist/cjs/view/form/index.js +41 -34
- package/dist/cjs/view/form/personal-info-section.js +56 -80
- package/dist/cjs/view/form/submit-button/index.js +34 -23
- package/dist/cjs/view/guest-unload-handlers/index.js +33 -22
- package/dist/cjs/view/header/center-region/index.js +61 -38
- package/dist/cjs/view/header/index.js +41 -35
- package/dist/cjs/view/header/logo-region/index.js +31 -23
- package/dist/cjs/view/header/nav-region/index.js +44 -30
- package/dist/cjs/view/header/nav-region/notification/index.js +28 -18
- package/dist/cjs/view/header/nav-region/user/index.js +28 -18
- package/dist/cjs/view/host-binding-events/index.js +10 -11
- package/dist/cjs/view/live-message/index.js +33 -34
- package/dist/cjs/view/loadable/index.js +33 -27
- package/dist/cjs/view/login/index.js +36 -30
- package/dist/cjs/view/media-breakpoint/index.js +43 -34
- package/dist/cjs/view/message-to-host-app/index.js +31 -20
- package/dist/cjs/view/micro-app/app-factory/index.js +98 -134
- package/dist/cjs/view/micro-app/const.js +10 -7
- package/dist/cjs/view/micro-app/index.js +37 -27
- package/dist/cjs/view/micro-app/resources/manifest.js +41 -34
- package/dist/cjs/view/micro-app/resources/script.js +56 -53
- package/dist/cjs/view/micro-app/resources/style.js +44 -38
- package/dist/cjs/view/micro-app/types.js +3 -5
- package/dist/cjs/view/micro-app/use-app-will-render.js +58 -50
- package/dist/cjs/view/micro-app/utils.js +32 -21
- package/dist/cjs/view/micro-iframe-app/app.js +37 -39
- package/dist/cjs/view/micro-iframe-app/iframe/const.js +10 -7
- package/dist/cjs/view/micro-iframe-app/iframe/index.js +51 -47
- package/dist/cjs/view/micro-iframe-app/index.js +36 -24
- package/dist/cjs/view/micro-iframe-app/types.js +3 -5
- package/dist/cjs/view/micro-iframe-app/use-frame-loaded.js +40 -36
- package/dist/cjs/view/modals/error/index.js +35 -28
- package/dist/cjs/view/modals/navigation-prompt/index.js +38 -37
- package/dist/cjs/view/modals/session-expiry/customHooks.js +40 -35
- package/dist/cjs/view/modals/session-expiry/index.js +45 -50
- package/dist/cjs/view/modals/wait-message/html-wait-message.js +32 -18
- package/dist/cjs/view/modals/wait-message/index.js +50 -53
- package/dist/cjs/view/modals/wait-message/wait-message-launcher.js +33 -21
- package/dist/cjs/view/render-with-delay/index.js +30 -19
- package/dist/cjs/view/render-with-host-data/index.js +35 -30
- package/dist/cjs/view/session-timeout/index.js +44 -35
- package/dist/cjs/view/storybook/decorator.js +32 -21
- package/dist/cjs/view/use-previous.js +29 -13
- package/dist/cjs/view/useMediaBreakpoints/index.js +34 -19
- package/dist/cjs/view/visually-hidden/index.js +41 -21
- package/dist/cjs/view/window-size/index.js +37 -29
- package/dist/es/analytics/appdynamics.js +14 -15
- package/dist/es/analytics/index.js +11 -17
- package/dist/es/analytics/page-view-event.js +11 -20
- package/dist/es/analytics/user-session-event.js +13 -15
- package/dist/es/analytics/user-wait-event.js +10 -6
- package/dist/es/analytics/web-analytics.js +12 -10
- package/dist/es/api/auth/index.js +22 -27
- package/dist/es/api/helpers.js +8 -81
- package/dist/es/api/users/index.js +7 -8
- package/dist/es/communication/http-client/index.js +24 -30
- package/dist/es/communication/http-client/request-interceptor.js +6 -3
- 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 +28 -47
- package/dist/es/data/auth/actions.js +13 -19
- package/dist/es/data/auth/reducer.js +9 -7
- package/dist/es/data/breakpoint/index.js +19 -21
- package/dist/es/data/error/index.js +11 -9
- 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 +10 -7
- package/dist/es/data/saga.js +8 -5
- package/dist/es/data/store.js +27 -44
- package/dist/es/data/wait-message/actions.js +11 -9
- package/dist/es/data/wait-message/reducer.js +10 -10
- package/dist/es/index.js +181 -83
- package/dist/es/route/index.js +16 -19
- package/dist/es/route/page-view.js +9 -9
- package/dist/es/route/private-route/index.js +30 -38
- package/dist/es/sideeffect/auth/index.js +27 -14
- package/dist/es/sideeffect/error-toast/index.js +15 -14
- package/dist/es/sideeffect/wait-message/index.js +18 -14
- package/dist/es/typings/styled.d.js +1 -1
- package/dist/es/utils/app-config/config.js +11 -9
- package/dist/es/utils/app-config/index.js +21 -31
- package/dist/es/utils/app-host-integration/react.js +8 -6
- package/dist/es/utils/auth/helper.js +8 -4
- package/dist/es/utils/auth/index.js +59 -83
- 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 +17 -13
- package/dist/es/utils/micro-frontend/guest.js +52 -108
- package/dist/es/utils/micro-frontend/host.js +53 -89
- package/dist/es/utils/micro-frontend/index.js +39 -37
- 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 +14 -11
- package/dist/es/utils/session.js +47 -48
- package/dist/es/utils/storybook/manager.js +8 -5
- package/dist/es/utils/storybook/preview.js +30 -26
- package/dist/es/utils/storybook/theme.js +9 -6
- package/dist/es/utils/testing/index.js +14 -21
- package/dist/es/utils/testing/render-with-redux.js +13 -13
- package/dist/es/utils/testing/render-with-router-redux.js +19 -21
- package/dist/es/utils/testing/render-with-router.js +14 -16
- package/dist/es/utils/testing/render-with-state-addons.js +18 -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 +13 -17
- package/dist/es/view/app-root/index.js +34 -39
- package/dist/es/view/app-root/stand-alone-app.js +17 -19
- package/dist/es/view/app-root/style.js +30 -5
- package/dist/es/view/error-boundary/default-error-template.js +4 -5
- package/dist/es/view/error-boundary/index.js +20 -27
- package/dist/es/view/error-toast/index.js +21 -16
- package/dist/es/view/fetch-host-app-data/index.js +13 -13
- package/dist/es/view/fetch-host-app-data/store.js +10 -7
- package/dist/es/view/fields/check-box/index.js +16 -18
- package/dist/es/view/fields/combo-box/index.js +19 -19
- package/dist/es/view/fields/connect-form.js +8 -6
- package/dist/es/view/fields/date-input/index.js +16 -14
- package/dist/es/view/fields/date-picker/index.js +16 -14
- package/dist/es/view/fields/form-item-layout/index.js +15 -16
- package/dist/es/view/fields/input-mask/index.js +20 -14
- package/dist/es/view/fields/large-text-box/index.js +16 -14
- package/dist/es/view/fields/radio/index.js +16 -18
- package/dist/es/view/fields/radio-group/index.js +14 -15
- package/dist/es/view/fields/text-box/index.js +16 -14
- package/dist/es/view/fields/watch-value.js +19 -24
- package/dist/es/view/form/index.js +22 -22
- package/dist/es/view/form/personal-info-section.js +31 -52
- package/dist/es/view/form/submit-button/index.js +12 -10
- package/dist/es/view/guest-unload-handlers/index.js +11 -10
- package/dist/es/view/header/center-region/index.js +40 -23
- package/dist/es/view/header/index.js +19 -19
- package/dist/es/view/header/logo-region/index.js +8 -9
- package/dist/es/view/header/nav-region/index.js +22 -15
- package/dist/es/view/header/nav-region/notification/index.js +5 -6
- package/dist/es/view/header/nav-region/user/index.js +5 -6
- package/dist/es/view/host-binding-events/index.js +7 -3
- package/dist/es/view/live-message/index.js +13 -23
- package/dist/es/view/loadable/index.js +12 -15
- package/dist/es/view/login/index.js +14 -18
- package/dist/es/view/media-breakpoint/index.js +19 -17
- package/dist/es/view/message-to-host-app/index.js +11 -10
- package/dist/es/view/micro-app/app-factory/index.js +67 -86
- package/dist/es/view/micro-app/const.js +4 -1
- package/dist/es/view/micro-app/index.js +13 -11
- package/dist/es/view/micro-app/resources/manifest.js +19 -19
- package/dist/es/view/micro-app/resources/script.js +36 -36
- package/dist/es/view/micro-app/resources/style.js +23 -22
- package/dist/es/view/micro-app/types.js +0 -1
- package/dist/es/view/micro-app/use-app-will-render.js +32 -28
- package/dist/es/view/micro-app/utils.js +12 -14
- package/dist/es/view/micro-iframe-app/app.js +15 -22
- package/dist/es/view/micro-iframe-app/iframe/const.js +4 -1
- package/dist/es/view/micro-iframe-app/iframe/index.js +27 -32
- package/dist/es/view/micro-iframe-app/index.js +11 -12
- package/dist/es/view/micro-iframe-app/types.js +0 -1
- package/dist/es/view/micro-iframe-app/use-frame-loaded.js +16 -21
- package/dist/es/view/modals/error/index.js +12 -10
- package/dist/es/view/modals/navigation-prompt/index.js +12 -16
- package/dist/es/view/modals/session-expiry/customHooks.js +13 -15
- package/dist/es/view/modals/session-expiry/index.js +16 -24
- package/dist/es/view/modals/wait-message/html-wait-message.js +10 -10
- package/dist/es/view/modals/wait-message/index.js +31 -39
- package/dist/es/view/modals/wait-message/wait-message-launcher.js +9 -8
- package/dist/es/view/render-with-delay/index.js +7 -10
- package/dist/es/view/render-with-host-data/index.js +11 -15
- package/dist/es/view/session-timeout/index.js +21 -12
- package/dist/es/view/storybook/decorator.js +9 -7
- 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 +19 -10
- package/dist/es/view/window-size/index.js +16 -19
- package/dist/types/utils/storybook/main.d.cts +41 -0
- package/dist/types/utils/storybook/{middleware.d.ts → middleware.d.cts} +0 -0
- package/dist/types/utils/storybook/preview.d.ts +2 -2
- package/dist/types/utils/storybook/vite.d.cts +4 -0
- package/dist/types/utils/storybook/webpack.d.cts +8 -0
- package/dist/types/utils/window.d.ts +1 -1
- package/dist/types/view/visually-hidden/index.d.ts +1 -3
- package/package.json +7 -5
- package/dist/cjs/api/users/index.endpoint.js +0 -14
- package/dist/cjs/api/users/users.json +0 -8
- package/dist/cjs/app.config.json +0 -129
- 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/index.pug +0 -15
- 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/header/logo-region/logo.svg +0 -2
- package/dist/cjs/view/header/nav-region/notification/index.svg +0 -5
- package/dist/cjs/view/header/nav-region/user/index.svg +0 -4
- package/dist/cjs/view/intro.stories.mdx +0 -27
- 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/micro-iframe-app/iframe/index.html +0 -74
- 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/api/users/users.json +0 -8
- package/dist/es/app.config.json +0 -129
- 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/index.pug +0 -15
- 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/header/logo-region/logo.svg +0 -2
- package/dist/es/view/header/nav-region/notification/index.svg +0 -5
- package/dist/es/view/header/nav-region/user/index.svg +0 -4
- package/dist/es/view/intro.stories.mdx +0 -27
- 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/micro-iframe-app/iframe/index.html +0 -74
- 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,56 +0,0 @@
|
|
|
1
|
-
import _jsx from "@babel/runtime/helpers/jsx";
|
|
2
|
-
import _styled2 from "styled-components";
|
|
3
|
-
import _styled from "styled-components";
|
|
4
|
-
|
|
5
|
-
var _h, _FirstName, _DOB, _State, _MaritalStatus, _WatchDashBoard;
|
|
6
|
-
|
|
7
|
-
import styled from 'styled-components';
|
|
8
|
-
import { useFormContext } from 'react-hook-form';
|
|
9
|
-
import { FormSubmitButton } from "./submit-button/index.js";
|
|
10
|
-
import { Form } from "./index.js";
|
|
11
|
-
import { FirstName, DOB, State, MaritalStatus } from "./personal-info-section.js";
|
|
12
|
-
import { jsx as _jsx2 } from "react/jsx-runtime";
|
|
13
|
-
const btnProps = {
|
|
14
|
-
containerProps: {
|
|
15
|
-
id: 'submit'
|
|
16
|
-
},
|
|
17
|
-
labelText: 'Submit Application',
|
|
18
|
-
size: 'l'
|
|
19
|
-
};
|
|
20
|
-
export default {
|
|
21
|
-
title: 'Components/Form',
|
|
22
|
-
component: Form
|
|
23
|
-
};
|
|
24
|
-
const StyledButton = /*#__PURE__*/styled(FormSubmitButton).withConfig({
|
|
25
|
-
componentId: "sc-1mzmcta-0"
|
|
26
|
-
})(["margin-top:", ";"], ({
|
|
27
|
-
theme
|
|
28
|
-
}) => theme.space.xs);
|
|
29
|
-
|
|
30
|
-
const WatchDashBoard = () => {
|
|
31
|
-
const {
|
|
32
|
-
watch
|
|
33
|
-
} = useFormContext();
|
|
34
|
-
const watchFirstName = watch('firstname', '');
|
|
35
|
-
const watchDOB = watch('dob', '');
|
|
36
|
-
const watchState = watch('state', '');
|
|
37
|
-
const watchMaritalStatus = watch('marital_status', '');
|
|
38
|
-
return /*#__PURE__*/_jsx(_StyledSection, {}, void 0, _h || (_h = /*#__PURE__*/_jsx("h4", {}, void 0, "Form Data:")), /*#__PURE__*/_jsx(_StyledDiv, {}, void 0, /*#__PURE__*/_jsx("div", {}, void 0, "FirstName : ", /*#__PURE__*/_jsx("strong", {}, void 0, watchFirstName)), /*#__PURE__*/_jsx("div", {}, void 0, "DOB : ", /*#__PURE__*/_jsx("strong", {}, void 0, JSON.stringify(watchDOB))), /*#__PURE__*/_jsx("div", {}, void 0, "State : ", /*#__PURE__*/_jsx("strong", {}, void 0, watchState)), /*#__PURE__*/_jsx("div", {}, void 0, "Marital Status : ", /*#__PURE__*/_jsx("strong", {}, void 0, watchMaritalStatus))));
|
|
39
|
-
}; // eslint-disable-next-line no-unused-vars
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
const Template = () => /*#__PURE__*/_jsx(Form, {
|
|
43
|
-
onSubmit: data => {}
|
|
44
|
-
}, void 0, _FirstName || (_FirstName = /*#__PURE__*/_jsx(FirstName, {})), _DOB || (_DOB = /*#__PURE__*/_jsx(DOB, {})), _State || (_State = /*#__PURE__*/_jsx(State, {})), _MaritalStatus || (_MaritalStatus = /*#__PURE__*/_jsx(MaritalStatus, {})), /*#__PURE__*/_jsx2(StyledButton, { ...btnProps
|
|
45
|
-
}), _WatchDashBoard || (_WatchDashBoard = /*#__PURE__*/_jsx(WatchDashBoard, {})));
|
|
46
|
-
|
|
47
|
-
export const WatchFormControls = Template.bind({});
|
|
48
|
-
WatchFormControls.args = {};
|
|
49
|
-
|
|
50
|
-
var _StyledSection = /*#__PURE__*/styled("section").withConfig({
|
|
51
|
-
componentId: "sc-1mzmcta-1"
|
|
52
|
-
})(["margin-top:10px;border-top:2px blue dotted;width:100%;"]);
|
|
53
|
-
|
|
54
|
-
var _StyledDiv = /*#__PURE__*/styled("div").withConfig({
|
|
55
|
-
componentId: "sc-1mzmcta-2"
|
|
56
|
-
})(["display:flex;flex-direction:column;padding-left:10px;align-items:flex-start;"]);
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import _jsx from "@babel/runtime/helpers/jsx";
|
|
2
|
-
|
|
3
|
-
var _FirstName, _DOB, _State, _MaritalStatus;
|
|
4
|
-
|
|
5
|
-
import styled from 'styled-components';
|
|
6
|
-
import { FormSubmitButton } from "./submit-button/index.js";
|
|
7
|
-
import { Form } from "./index.js";
|
|
8
|
-
import { FirstName, DOB, State, MaritalStatus } from "./personal-info-section.js";
|
|
9
|
-
import { jsx as _jsx2 } from "react/jsx-runtime";
|
|
10
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
-
const btnProps = {
|
|
12
|
-
containerProps: {
|
|
13
|
-
id: 'submit'
|
|
14
|
-
},
|
|
15
|
-
labelText: 'Submit Application',
|
|
16
|
-
size: 'l'
|
|
17
|
-
};
|
|
18
|
-
export default {
|
|
19
|
-
title: 'Components/Form',
|
|
20
|
-
component: FormSubmitButton
|
|
21
|
-
};
|
|
22
|
-
const StyledButton = /*#__PURE__*/styled(FormSubmitButton).withConfig({
|
|
23
|
-
componentId: "sc-1wwguuk-0"
|
|
24
|
-
})(["margin-top:", ";"], ({
|
|
25
|
-
theme
|
|
26
|
-
}) => theme.space.xs);
|
|
27
|
-
|
|
28
|
-
const Template = args => /*#__PURE__*/_jsxs(Form, { ...args,
|
|
29
|
-
children: [_FirstName || (_FirstName = /*#__PURE__*/_jsx(FirstName, {})), _DOB || (_DOB = /*#__PURE__*/_jsx(DOB, {})), _State || (_State = /*#__PURE__*/_jsx(State, {})), _MaritalStatus || (_MaritalStatus = /*#__PURE__*/_jsx(MaritalStatus, {})), /*#__PURE__*/_jsx2(StyledButton, { ...btnProps
|
|
30
|
-
})]
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
export const FormValidationOnBlur = Template.bind({});
|
|
34
|
-
FormValidationOnBlur.args = {
|
|
35
|
-
onSubmit: data => {}
|
|
36
|
-
};
|
|
37
|
-
export const FormValidationOnSubmit = Template.bind({});
|
|
38
|
-
FormValidationOnSubmit.args = {
|
|
39
|
-
onSubmit: data => {},
|
|
40
|
-
reactHookFormProps: {
|
|
41
|
-
mode: 'onSubmit'
|
|
42
|
-
}
|
|
43
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Header } from "./index.js";
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
const Template = args => /*#__PURE__*/_jsx(Header, { ...args
|
|
5
|
-
});
|
|
6
|
-
|
|
7
|
-
export default {
|
|
8
|
-
title: 'Components/Header',
|
|
9
|
-
component: Header
|
|
10
|
-
};
|
|
11
|
-
export const Basic = Template.bind({});
|
|
12
|
-
Basic.args = {
|
|
13
|
-
show: true
|
|
14
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" width="195" height="28" viewBox="0 0 195 28"><style>.st0{fill:#dee3e0}.st1{fill:#fff}.st2{fill:#408a90}.st3{fill:#00acdc}.st4{fill:#f7911e}.st5{fill:#0067ab}.st6{fill:#fefefe}</style><g id="Page-1_2_"><g id="brand-assets" transform="translate(-107 -187)"><g id="logo-enc-em-inline-dark" transform="translate(107 187)"><g id="Group-3"><g id="Group" transform="translate(143 14)"><path id="Fill-27" class="st0" d="M1.8 1.9c-.6 0-.9.6-.9 1.1s.3 1.1.9 1.1c.6 0 .8-.7.8-1.1.1-.5-.2-1.1-.8-1.1zM.4.1h.5v1.8c.2-.3.5-.5 1-.5.9 0 1.3.7 1.3 1.5s-.4 1.6-1.3 1.6c-.5 0-.9-.3-1-.5v.4H.4V.1z"/><path id="Fill-29" class="st0" d="M3.7 5.3H4c.5 0 .7-.7.7-.7 0-.1-.1-.2-.1-.3l-1-2.8h.6L5 4l.8-2.5h.6l-1.1 3c-.2.6-.4 1.2-1.1 1.2h-.4l-.1-.4z"/><path id="Fill-31" class="st0" d="M50.5 1.8h.2c.1 0 .2 0 .2-.2 0-.1-.1-.2-.2-.2h-.2v.4zm-.2-.5h.4c.3 0 .4.1.4.3 0 .2-.1.3-.3.3l.3.5h-.2l-.3-.5h-.2v.5h-.2V1.3h.1zm.3 1.4c.5 0 .8-.4.8-.8 0-.5-.3-.8-.8-.8s-.8.4-.8.8.4.8.8.8zm0-1.8c.5 0 1 .4 1 1 0 .5-.4 1-1 1s-1-.4-1-1c.1-.6.5-1 1-1z"/><path id="Fill-33" class="st0" d="M8.8.1h4.8v1.1H10v2.5h3.2v1H10v2.9h3.6v1H8.8z"/><path id="Fill-35" class="st0" d="M14.6 8.6h1.1V0h-1.1z"/><path id="Fill-37" class="st0" d="M17 8.6h1.1V0H17z"/><path id="Fill-38" class="st0" d="M19.4 8.6h1.2V2.3h-1.2v6.3zm-.1-7.2h1.2V0h-1.2v1.4z"/><path id="Fill-39" class="st0" d="M25.7 4.9c0-1-.6-1.7-1.6-1.7-1.1 0-1.6.9-1.7 1.7h3.3zm.7 3.5c-.4.2-.9.4-2 .4-2.2 0-3.2-1.3-3.2-3.4 0-1.9 1.2-3.2 2.9-3.2 2.1 0 2.8 1.5 2.8 3.5h-4.5c0 1.2 1 2.1 2.1 2.1.8 0 1.6-.4 1.9-.6v1.2z"/><path id="Fill-40" class="st0" d="M27.9.1H30l2.6 7.1L35.3.1h2v8.5h-1.2V1.2l-2.9 7.4H32l-2.8-7.4v7.4h-1.3z"/><path id="Fill-41" class="st0" d="M48.2 4.9c0-1-.6-1.7-1.6-1.7-1.1 0-1.6.9-1.7 1.7h3.3zm.8 3.5c-.4.2-.9.4-2 .4-2.2 0-3.2-1.3-3.2-3.4 0-1.9 1.2-3.2 2.9-3.2 2.1 0 2.8 1.5 2.8 3.5H45c0 1.2 1 2.1 2.1 2.1.8 0 1.6-.4 1.9-.6v1.2z"/><path id="Fill-42" class="st0" d="M42.2 5.6h-.7c-.6 0-2.2.1-2.2 1.2 0 .7.6 1 1.2 1 1.1 0 1.7-.7 1.7-1.6v-.6zm-3-1.5l-.9-.2c.3-1.4 1.6-1.7 2.4-1.7 1.8 0 2.5.9 2.5 2.6v2.6c0 .7 0 1 .1 1.2h-1.2v-.8c-.3.4-.9 1-1.9 1-1.3 0-2.3-.6-2.3-1.9 0-1.6 1.7-2.1 2.9-2.1H42c0-1.1-.4-1.8-1.5-1.7-1 .1-1.3 1-1.3 1z"/></g><g id="Page-1"><path id="Fill-1" class="st1" d="M28 14c0 7.7-6.3 14-14 14S0 21.7 0 14 6.3 0 14 0s14 6.3 14 14"/><path id="Fill-3" class="st2" d="M14.1 2.3v-.5H14C7.2 1.8 1.8 7.3 1.8 14h.6c6.5.1 11.7-5.2 11.7-11.7"/><path id="Fill-5" class="st3" d="M2.3 14.1h-.6c.1 6.7 5.5 12.2 12.2 12.2h.1v-.4c.1-6.5-5.1-11.8-11.7-11.8"/><path id="Fill-7" class="st4" d="M25.9 14.1h.3V14c0-6.7-5.4-12.2-12.1-12.2v.5c0 6.5 5.3 11.8 11.8 11.8"/><path id="Fill-9" class="st5" d="M14.1 25.9v.4c6.7-.1 12-5.5 12.1-12.2h-.3c-6.5 0-11.8 5.3-11.8 11.8"/></g><path id="Page-1_1_" class="st6" d="M131.1 20.1c.8.5 2 .8 2.6.8.9 0 2.1-.4 2.1-1.6 0-2-4.9-1.9-4.9-5 0-2.3 1.7-3.5 4-3.5 1 0 1.8.2 2.6.4l-.2 1.8c-.5-.3-1.7-.6-2.2-.6-1.1 0-2 .4-2 1.4 0 2.3 4.9 1.6 4.9 5.2 0 2.4-1.9 3.5-3.9 3.5-1.1 0-2.1-.1-3.1-.6l.1-1.8zm9.4-9.7h.3c.2 0 .4 0 .4-.3 0-.2-.2-.3-.4-.3h-.3v.6zm-.3-.8h.7c.4 0 .6.2.6.5s-.2.5-.5.5l.5.8h-.3l-.5-.8h-.2v.8h-.3V9.6zm.6 2.2c.7 0 1.2-.6 1.2-1.3 0-.7-.5-1.3-1.2-1.3s-1.2.6-1.2 1.3c0 .8.5 1.3 1.2 1.3zm0-2.8c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5.7-1.5 1.5-1.5zM123 20.1c.8.5 2 .8 2.6.8.9 0 2.1-.4 2.1-1.6 0-2-4.9-1.9-4.9-5 0-2.3 1.7-3.5 4-3.5 1 0 1.8.2 2.6.4l-.2 1.8c-.5-.3-1.7-.6-2.2-.6-1.1 0-2 .4-2 1.4 0 2.3 4.9 1.6 4.9 5.2 0 2.4-1.9 3.5-3.9 3.5-1.1 0-2.1-.1-3.1-.6l.1-1.8zm-3.8-3.1h-1.3c-1.1 0-3.9.2-3.9 2.2 0 1.2 1.1 1.8 2.1 1.8 2 0 3.1-1.3 3.1-2.9V17zm-6.2-5.1c1-.6 2.3-1.1 3.7-1.1 3.2 0 4.5 1.6 4.5 4.6V20c0 1.3 0 1.9.1 2.2h-1.9v-1.5c-.5.7-1.6 1.7-3.5 1.7-2.4 0-4.1-1.1-4.1-3.5 0-2.8 3.1-3.7 5.2-3.7h2.2c0-1.9-.7-2.9-2.8-2.9-1.2 0-2.4.4-3.3 1.1l-.1-1.5zm-7.7.6c-2.2 0-3.3 2.1-3.3 4.2 0 1.9 1 4.2 3.3 4.2 2.2 0 3.1-2.5 3.1-4.2 0-2-.8-4.2-3.1-4.2zm-5.4-1.4h2v1.6c.5-.8 1.8-1.8 3.8-1.8 3.3 0 4.8 2.7 4.8 5.7 0 3.1-1.4 6.1-4.8 6.1-2 0-3.1-.8-3.7-1.8V26h-2.1V11.1zm-17.3 0h1.9v1.6c.8-1.3 1.9-1.9 3.6-1.9 1.3 0 2.6.7 3.2 2.2.8-1.6 2.5-2.2 3.5-2.2 2.9 0 3.9 1.8 3.9 4.3v7.2h-2.1v-6.7c0-1.4-.3-3.1-2-3.1-2.1 0-2.9 2.1-2.9 4.2v5.7h-2.1v-6.7c0-1.4-.3-3.1-2-3.1-2.1 0-2.9 2.1-2.9 4.2v5.7h-2.1V11.1zm-8 9.8c2.4 0 3.5-2.2 3.5-4.2 0-2.1-1.3-4.2-3.5-4.2s-3.5 2.1-3.5 4.2c-.1 2 1 4.2 3.5 4.2zm0-10c3.4 0 5.7 2.5 5.7 5.9 0 3.2-2.3 5.9-5.7 5.9s-5.7-2.7-5.7-5.9c-.1-3.5 2.2-5.9 5.7-5.9zM67.4 13c-.8-.3-1.6-.5-2.2-.5-2.3 0-3.6 2.1-3.6 4.2 0 2 1.1 4.2 3.7 4.2.7 0 1.6-.2 2.2-.6l.2 1.8c-.9.4-1.8.5-2.6.5-3.4 0-5.7-2.7-5.7-5.9 0-3.4 2.3-5.9 5.7-5.9.8 0 1.9.2 2.5.4l-.2 1.8zm-19.2-1.9h2v1.8c.6-1.3 2.1-2 3.7-2 2.9 0 4.2 1.8 4.2 4.8v6.7H56v-5.8c0-2.6-.6-3.9-2.4-4-2.4 0-3.4 1.9-3.4 4.6v5.2h-2.1V11.1h.1zM38 7h8.6v1.9h-6.4v4.5H46v1.9h-5.8v5.1h6.4v1.9H38V7z"/></g></g></g></g></svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="16px" height="16px" viewBox="0 0 16 16"><g>
|
|
2
|
-
<path data-color="color-2" fill="#ffffff" d="M10,14H6c0,1.1,0.9,2,2,2S10,15.1,10,14z"/>
|
|
3
|
-
<path fill="#ffffff" d="M15,11h-0.5C13.8,10.3,13,9.3,13,8V5c0-2.8-2.2-5-5-5S3,2.2,3,5v3c0,1.3-0.8,2.3-1.5,3H1c-0.6,0-1,0.4-1,1
|
|
4
|
-
s0.4,1,1,1h14c0.6,0,1-0.4,1-1S15.6,11,15,11z"/>
|
|
5
|
-
</g></svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="16px" height="16px" viewBox="0 0 16 16"><g><path fill="#ffffff" d="M8,2c1.1,0,2,0.9,2,2v1c0,1.1-0.9,2-2,2S6,6.1,6,5V4C6,2.9,6.9,2,8,2 M8,0C5.8,0,4,1.8,4,4v1
|
|
2
|
-
c0,2.2,1.8,4,4,4s4-1.8,4-4V4C12,1.8,10.2,0,8,0L8,0z"/>
|
|
3
|
-
<path data-color="color-2" fill="#ffffff" d="M9,12c1.5,0,2.8,0.8,3.5,2l-8.9,0c0.7-1.2,2-2,3.5-2H9 M9,10H7c-3.3,0-6,2.7-6,6v0h14v0
|
|
4
|
-
C15,12.7,12.3,10,9,10L9,10z"/></g></svg>
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/addon-docs/blocks';
|
|
2
|
-
|
|
3
|
-
<Meta title="Intro" />
|
|
4
|
-
|
|
5
|
-
# Get Started
|
|
6
|
-
|
|
7
|
-
Software Development Kit / API for developing React Web applications. Implements cross cutting concerns as reusable APIs
|
|
8
|
-
|
|
9
|
-
## Install
|
|
10
|
-
|
|
11
|
-
`npm install --save @elliemae/app-react-dependencies @elliemae/pui-user-monitoring @elliemae/pui-theme @elliemae/ds-basic @elliemae/ds-modal @elliemae/pui-app-sdk`
|
|
12
|
-
|
|
13
|
-
### **Use**
|
|
14
|
-
|
|
15
|
-
Import react components you want into your UI
|
|
16
|
-
|
|
17
|
-
`import { WaitMessage } from ‘@elliemae/pui-app-sdk’;`
|
|
18
|
-
|
|
19
|
-
and use them like so
|
|
20
|
-
|
|
21
|
-
```
|
|
22
|
-
const LoadingIndicator = () => (
|
|
23
|
-
<div>
|
|
24
|
-
<WaitMessage size='m' isOpen />
|
|
25
|
-
</div>
|
|
26
|
-
)
|
|
27
|
-
```
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import _jsx from "@babel/runtime/helpers/jsx";
|
|
2
|
-
|
|
3
|
-
var _LiveMessage, _LiveMessageStory;
|
|
4
|
-
|
|
5
|
-
import React, { useState, useEffect } from 'react';
|
|
6
|
-
import { LiveAnnouncer } from 'react-aria-live';
|
|
7
|
-
import { useAppDispatch } from "../../data/react-redux.js";
|
|
8
|
-
import { actions } from "../../data/live-message/index.js";
|
|
9
|
-
import { LiveMessage } from "./index.js";
|
|
10
|
-
export default {
|
|
11
|
-
title: 'A11y/LiveMessage',
|
|
12
|
-
component: LiveMessage
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
const LiveMessageStory = () => {
|
|
16
|
-
const dispatch = useAppDispatch();
|
|
17
|
-
return /*#__PURE__*/_jsx(LiveAnnouncer, {}, void 0, _LiveMessage || (_LiveMessage = /*#__PURE__*/_jsx(LiveMessage, {})), /*#__PURE__*/_jsx("button", {
|
|
18
|
-
type: "button",
|
|
19
|
-
onClick: () => dispatch(actions.announce({
|
|
20
|
-
message: 'Page changed',
|
|
21
|
-
ariaLive: 'polite'
|
|
22
|
-
}))
|
|
23
|
-
}, void 0, "Announce"));
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
export const Basic = () => {
|
|
27
|
-
const [show, setShow] = useState(false);
|
|
28
|
-
useEffect(() => {
|
|
29
|
-
setShow(true);
|
|
30
|
-
}, []);
|
|
31
|
-
return show ? _LiveMessageStory || (_LiveMessageStory = /*#__PURE__*/_jsx(LiveMessageStory, {})) : null;
|
|
32
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import _jsx from "@babel/runtime/helpers/jsx";
|
|
2
|
-
|
|
3
|
-
var _MediaBreakpoint;
|
|
4
|
-
|
|
5
|
-
import { MediaBreakpoint } from "./index.js";
|
|
6
|
-
export default {
|
|
7
|
-
title: 'Components/MediaBreakpoint',
|
|
8
|
-
component: MediaBreakpoint
|
|
9
|
-
};
|
|
10
|
-
export const Basic = () => _MediaBreakpoint || (_MediaBreakpoint = /*#__PURE__*/_jsx(MediaBreakpoint, {}));
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<!-- The first thing in any HTML file should be the charset -->
|
|
5
|
-
<meta charset="utf-8" />
|
|
6
|
-
<!-- Make the page mobile compatible -->
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
8
|
-
<!-- Allow installing the app to the homescreen -->
|
|
9
|
-
<meta name="mobile-web-app-capable" content="yes" />
|
|
10
|
-
<link rel="icon" href="/favicon.ico" />
|
|
11
|
-
<title>Application</title>
|
|
12
|
-
<!-- Google Tag Manager -->
|
|
13
|
-
<!-- <script nonce="__CSP_NONCE__">
|
|
14
|
-
(function (w, d, s, l, i) {
|
|
15
|
-
w[l] = w[l] || [];
|
|
16
|
-
w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' });
|
|
17
|
-
var f = d.getElementsByTagName(s)[0],
|
|
18
|
-
j = d.createElement(s),
|
|
19
|
-
dl = l != 'dataLayer' ? '&l=' + l : '';
|
|
20
|
-
j.async = true;
|
|
21
|
-
j.src =
|
|
22
|
-
'https://www.googletagmanager.com/gtm.js?id=' +
|
|
23
|
-
i +
|
|
24
|
-
dl;
|
|
25
|
-
f.parentNode.insertBefore(j, f);
|
|
26
|
-
})(window, document, 'script', 'dataLayer', window.emui.gtm.id);
|
|
27
|
-
</script> -->
|
|
28
|
-
<!-- <script nonce="__CSP_NONCE__">
|
|
29
|
-
window.emuiUserMonitoring = window.parent.emuiUserMonitoring || {
|
|
30
|
-
setCustomVirtualPageName: function () {},
|
|
31
|
-
startVirtualPageMonitoringWithAutoEnd: function () {},
|
|
32
|
-
};
|
|
33
|
-
</script> -->
|
|
34
|
-
<script>
|
|
35
|
-
(function (i, s, o, g, r, a, m) {
|
|
36
|
-
i['GoogleAnalyticsObject'] = r;
|
|
37
|
-
(i[r] =
|
|
38
|
-
i[r] ||
|
|
39
|
-
function () {
|
|
40
|
-
(i[r].q = i[r].q || []).push(arguments);
|
|
41
|
-
}),
|
|
42
|
-
(i[r].l = 1 * new Date());
|
|
43
|
-
(a = s.createElement(o)), (m = s.getElementsByTagName(o)[0]);
|
|
44
|
-
a.async = 1;
|
|
45
|
-
a.src = g;
|
|
46
|
-
m.parentNode.insertBefore(a, m);
|
|
47
|
-
})(
|
|
48
|
-
window,
|
|
49
|
-
document,
|
|
50
|
-
'script',
|
|
51
|
-
'https://www.google-analytics.com/analytics.js',
|
|
52
|
-
'ga',
|
|
53
|
-
);
|
|
54
|
-
</script>
|
|
55
|
-
<style>
|
|
56
|
-
.full-width {
|
|
57
|
-
width: 100%;
|
|
58
|
-
}
|
|
59
|
-
.full-height {
|
|
60
|
-
height: 100%;
|
|
61
|
-
}
|
|
62
|
-
</style>
|
|
63
|
-
</head>
|
|
64
|
-
|
|
65
|
-
<body class="full-width full-height">
|
|
66
|
-
<!-- Display a message if JS has been disabled on the browser. -->
|
|
67
|
-
<noscript
|
|
68
|
-
>If you're seeing this message, that means
|
|
69
|
-
<strong>JavaScript has been disabled on your browser</strong>, please
|
|
70
|
-
<strong>enable JS</strong> to make this app work.</noscript
|
|
71
|
-
>
|
|
72
|
-
<div id="pui-app-container-" class="full-width full-height"></div>
|
|
73
|
-
</body>
|
|
74
|
-
</html>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import _jsx2 from "@babel/runtime/helpers/jsx";
|
|
2
|
-
import { Error } from "./index.js";
|
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
|
-
export default {
|
|
5
|
-
title: 'Modals/Error',
|
|
6
|
-
component: Error
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
const Template = args => /*#__PURE__*/_jsx(Error, { ...args
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
export const Basic = Template.bind({});
|
|
13
|
-
Basic.args = {
|
|
14
|
-
name: 'Loan',
|
|
15
|
-
open: true,
|
|
16
|
-
children: /*#__PURE__*/_jsx2("h2", {}, void 0, "This is an error message")
|
|
17
|
-
};
|
|
18
|
-
export const CloseModal = Template.bind({});
|
|
19
|
-
CloseModal.args = { ...Basic.args,
|
|
20
|
-
open: false
|
|
21
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { NavigationPrompt } from "./index.js";
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
export default {
|
|
4
|
-
title: 'Modals/NavigationPrompt',
|
|
5
|
-
component: NavigationPrompt
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
const Template = args => /*#__PURE__*/_jsx(NavigationPrompt, { ...args
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
export const Basic = Template.bind({});
|
|
12
|
-
Basic.args = {
|
|
13
|
-
open: true
|
|
14
|
-
};
|
|
15
|
-
export const Close = () => Template.bind({});
|
|
16
|
-
Close.args = {
|
|
17
|
-
open: false
|
|
18
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { SessionExpiry } from "./index.js";
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
export default {
|
|
4
|
-
title: 'Modals/SessionExpiry',
|
|
5
|
-
component: SessionExpiry
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
const Template = args => /*#__PURE__*/_jsx(SessionExpiry, { ...args
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
export const Basic = Template.bind({});
|
|
12
|
-
Basic.args = {
|
|
13
|
-
open: true
|
|
14
|
-
};
|
|
15
|
-
export const Close = Template.bind({});
|
|
16
|
-
Close.args = {
|
|
17
|
-
open: false
|
|
18
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { useEffect } from 'react';
|
|
2
|
-
import { useAppDispatch } from "../../../data/react-redux.js";
|
|
3
|
-
import { waitMessage } from "../../../data/wait-message/actions.js";
|
|
4
|
-
import { WaitMessage } from "./index.js";
|
|
5
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
-
|
|
7
|
-
const Template = ({
|
|
8
|
-
isOpen,
|
|
9
|
-
...rest
|
|
10
|
-
}) => {
|
|
11
|
-
const dispatch = useAppDispatch();
|
|
12
|
-
useEffect(() => {
|
|
13
|
-
if (!dispatch) return;
|
|
14
|
-
if (isOpen) dispatch(waitMessage.open());else dispatch(waitMessage.close());
|
|
15
|
-
}, [isOpen, dispatch]);
|
|
16
|
-
return /*#__PURE__*/_jsx(WaitMessage, { ...rest
|
|
17
|
-
});
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export default {
|
|
21
|
-
title: 'Modals/WaitMessage',
|
|
22
|
-
component: WaitMessage
|
|
23
|
-
};
|
|
24
|
-
export const Basic = Template.bind({});
|
|
25
|
-
Basic.args = {
|
|
26
|
-
size: 'm',
|
|
27
|
-
isOpen: true
|
|
28
|
-
};
|
|
29
|
-
export const Close = Template.bind({});
|
|
30
|
-
Close.args = {
|
|
31
|
-
size: 'm',
|
|
32
|
-
isOpen: false
|
|
33
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import _jsx from "@babel/runtime/helpers/jsx";
|
|
2
|
-
|
|
3
|
-
var _SessionTimeout;
|
|
4
|
-
|
|
5
|
-
import StoryRouter from 'storybook-react-router';
|
|
6
|
-
import { SessionTimeout } from "./index.js";
|
|
7
|
-
export default {
|
|
8
|
-
title: 'Components/SessionTimeout',
|
|
9
|
-
component: SessionTimeout
|
|
10
|
-
};
|
|
11
|
-
export const Basic = () => _SessionTimeout || (_SessionTimeout = /*#__PURE__*/_jsx(SessionTimeout, {})); // eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
|
12
|
-
|
|
13
|
-
Basic.decorators = [StoryRouter()];
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export declare const stories: string[];
|
|
2
|
-
export declare const addons: (string | {
|
|
3
|
-
name: string;
|
|
4
|
-
options: {
|
|
5
|
-
sourceLoaderOptions: {
|
|
6
|
-
parser: string;
|
|
7
|
-
injectStoryParameters: boolean;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
})[];
|
|
11
|
-
export declare namespace core {
|
|
12
|
-
const builder: string;
|
|
13
|
-
}
|
|
14
|
-
export declare namespace reactOptions {
|
|
15
|
-
const fastRefresh: boolean;
|
|
16
|
-
}
|
|
17
|
-
export declare namespace typescript {
|
|
18
|
-
const check: boolean;
|
|
19
|
-
const checkOptions: {};
|
|
20
|
-
const reactDocgen: string;
|
|
21
|
-
namespace reactDocgenTypescriptOptions {
|
|
22
|
-
const shouldExtractLiteralValuesFromEnum: boolean;
|
|
23
|
-
function propFilter(prop: any): boolean;
|
|
24
|
-
namespace compilerOptions {
|
|
25
|
-
const allowSyntheticDefaultImports: boolean;
|
|
26
|
-
const esModuleInterop: boolean;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export { managerWebpack, webpackFinal };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export const title: string;
|
|
3
|
-
export { DateInput as component };
|
|
4
|
-
}
|
|
5
|
-
export default _default;
|
|
6
|
-
export function Basic(args: any): JSX.Element;
|
|
7
|
-
export namespace Basic {
|
|
8
|
-
namespace args {
|
|
9
|
-
const labelText: string;
|
|
10
|
-
const name: string;
|
|
11
|
-
const required: boolean;
|
|
12
|
-
const defaultValue: moment.Moment;
|
|
13
|
-
namespace rules {
|
|
14
|
-
export namespace required_1 {
|
|
15
|
-
const value: boolean;
|
|
16
|
-
const message: string;
|
|
17
|
-
}
|
|
18
|
-
export { required_1 as required };
|
|
19
|
-
export function validate(value: any): true | "Date of Birth can not be greater than current date";
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
import { DateInput } from ".";
|
|
24
|
-
import moment from "moment";
|