@elliemae/pui-app-sdk 2.17.2 → 3.0.0-beta.4
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 +34 -34
- 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 +52 -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 +189 -809
- 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 +21 -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/intro.stories.mdx +1 -1
- 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 +34 -22
- package/dist/es/analytics/appdynamics.js +14 -15
- package/dist/es/analytics/index.js +11 -17
- package/dist/es/analytics/page-view-event.js +12 -26
- 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 +26 -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 +183 -84
- 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 +9 -10
- package/dist/es/view/header/nav-region/index.js +22 -15
- package/dist/es/view/header/nav-region/notification/index.js +6 -7
- package/dist/es/view/header/nav-region/user/index.js +6 -7
- 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 -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 +12 -11
- package/dist/types/data/store.d.ts +1 -1
- package/dist/types/utils/storybook/main.d.cts +49 -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 +16 -0
- package/dist/types/utils/testing/render-with-redux.d.ts +1 -1
- package/dist/types/utils/testing/render-with-router-redux.d.ts +1 -1
- package/dist/types/utils/window.d.ts +1 -1
- package/dist/types/view/visually-hidden/index.d.ts +1 -3
- package/package.json +8 -6
- 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/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,41 +1,30 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
import { logout } from "../../../data/logout/actions.js";
|
|
9
|
-
import { resetUserIdleTime } from "../../../utils/session.js";
|
|
10
|
-
import { useTrackSessionExpiry } from "./customHooks.js";
|
|
11
|
-
export const SessionExpiry = /*#__PURE__*/memo(({
|
|
12
|
-
open,
|
|
13
|
-
warningNotifiedAt = 0,
|
|
14
|
-
showHeader = false
|
|
15
|
-
}) => {
|
|
1
|
+
import { memo, useState } from "react";
|
|
2
|
+
import DSModal, { MODAL_SUB_TYPE_V2, MODAL_TYPE_V2 } from "@elliemae/ds-modal";
|
|
3
|
+
import { useAppDispatch } from "../../../data/react-redux";
|
|
4
|
+
import { logout } from "../../../data/logout/actions";
|
|
5
|
+
import { resetUserIdleTime } from "../../../utils/session";
|
|
6
|
+
import { useTrackSessionExpiry } from "./customHooks";
|
|
7
|
+
const SessionExpiry = memo(({ open, warningNotifiedAt = 0, showHeader = false }) => {
|
|
16
8
|
const [isOpen, setIsOpen] = useState(open);
|
|
17
9
|
const timeLeft = useTrackSessionExpiry(warningNotifiedAt);
|
|
18
10
|
const dispatch = useAppDispatch();
|
|
19
|
-
|
|
20
11
|
const resetSession = () => {
|
|
21
12
|
setIsOpen(false);
|
|
22
13
|
resetUserIdleTime();
|
|
23
14
|
dispatch(logout.cancel());
|
|
24
15
|
};
|
|
25
|
-
|
|
26
16
|
const logoutSession = () => {
|
|
27
17
|
setIsOpen(false);
|
|
28
18
|
dispatch(logout.confirm());
|
|
29
19
|
};
|
|
30
|
-
|
|
31
|
-
return /*#__PURE__*/_jsx(DSModal, {
|
|
20
|
+
return /* @__PURE__ */ React.createElement(DSModal, {
|
|
32
21
|
centered: true,
|
|
33
22
|
modalType: MODAL_TYPE_V2.DECISION,
|
|
34
|
-
isOpen
|
|
35
|
-
showHeader
|
|
23
|
+
isOpen,
|
|
24
|
+
showHeader,
|
|
36
25
|
onConfirm: resetSession,
|
|
37
26
|
onReject: logoutSession,
|
|
38
|
-
modalTitle: timeLeft ? `Your session will expire in ${timeLeft}` :
|
|
27
|
+
modalTitle: timeLeft ? `Your session will expire in ${timeLeft}` : "",
|
|
39
28
|
confirmLabel: "Reset",
|
|
40
29
|
rejectLabel: "Logout",
|
|
41
30
|
showRejectButton: true,
|
|
@@ -43,5 +32,8 @@ export const SessionExpiry = /*#__PURE__*/memo(({
|
|
|
43
32
|
version: 2,
|
|
44
33
|
shouldCloseOnOverlayClick: false,
|
|
45
34
|
modalSubType: MODAL_SUB_TYPE_V2.WARNING
|
|
46
|
-
},
|
|
47
|
-
});
|
|
35
|
+
}, /* @__PURE__ */ React.createElement("p", null, "Please logout or reset your session"));
|
|
36
|
+
});
|
|
37
|
+
export {
|
|
38
|
+
SessionExpiry
|
|
39
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { memo, useEffect } from
|
|
2
|
-
|
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
|
-
export const HTMLWaitMessage = /*#__PURE__*/memo(({
|
|
5
|
-
close
|
|
6
|
-
}) => {
|
|
1
|
+
import { memo, useEffect } from "react";
|
|
2
|
+
const HTMLWaitMessage = memo(({ close }) => {
|
|
7
3
|
useEffect(() => {
|
|
8
|
-
const htmlWaitMsgElement = document.getElementById(
|
|
9
|
-
if (htmlWaitMsgElement && close)
|
|
4
|
+
const htmlWaitMsgElement = document.getElementById("em-wait-message");
|
|
5
|
+
if (htmlWaitMsgElement && close)
|
|
6
|
+
htmlWaitMsgElement.remove();
|
|
10
7
|
}, [close]);
|
|
11
|
-
return
|
|
12
|
-
});
|
|
8
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null);
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
HTMLWaitMessage
|
|
12
|
+
};
|
|
@@ -1,43 +1,35 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
style = {
|
|
13
|
-
color: 'white',
|
|
14
|
-
fontSize: '1.25rem'
|
|
15
|
-
},
|
|
1
|
+
import { memo, useEffect } from "react";
|
|
2
|
+
import DSLoadingIndicator from "@elliemae/ds-basic/LoadingIndicator";
|
|
3
|
+
import { useAppSelector } from "../../../data/react-redux";
|
|
4
|
+
import { HTMLWaitMessage } from "./html-wait-message";
|
|
5
|
+
import {
|
|
6
|
+
waitStartEvent,
|
|
7
|
+
waitEndEvent
|
|
8
|
+
} from "../../../analytics/user-wait-event";
|
|
9
|
+
const WaitMessage = memo(({
|
|
10
|
+
size = "m",
|
|
11
|
+
style = { color: "white", fontSize: "1.25rem" },
|
|
16
12
|
...rest
|
|
17
13
|
}) => {
|
|
18
|
-
const isOpen = useAppSelector(state =>
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
return (_state$waitMessage = state.waitMessage) === null || _state$waitMessage === void 0 ? void 0 : _state$waitMessage.isOpen;
|
|
22
|
-
});
|
|
23
|
-
const message = useAppSelector(state => {
|
|
24
|
-
var _state$waitMessage2;
|
|
25
|
-
|
|
26
|
-
return (_state$waitMessage2 = state.waitMessage) === null || _state$waitMessage2 === void 0 ? void 0 : _state$waitMessage2.message;
|
|
27
|
-
});
|
|
14
|
+
const isOpen = useAppSelector((state) => state.waitMessage?.isOpen);
|
|
15
|
+
const message = useAppSelector((state) => state.waitMessage?.message);
|
|
28
16
|
useEffect(() => {
|
|
29
|
-
if (isOpen)
|
|
17
|
+
if (isOpen)
|
|
18
|
+
waitStartEvent();
|
|
19
|
+
else
|
|
20
|
+
waitEndEvent();
|
|
30
21
|
}, [isOpen]);
|
|
31
|
-
return
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
22
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(HTMLWaitMessage, {
|
|
23
|
+
close: isOpen !== null
|
|
24
|
+
}), /* @__PURE__ */ React.createElement(DSLoadingIndicator, {
|
|
25
|
+
id: "em-loading",
|
|
26
|
+
size,
|
|
27
|
+
style,
|
|
28
|
+
...rest,
|
|
29
|
+
loading: isOpen,
|
|
30
|
+
message
|
|
31
|
+
}));
|
|
32
|
+
});
|
|
33
|
+
export {
|
|
34
|
+
WaitMessage
|
|
35
|
+
};
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { useEffect } from
|
|
2
|
-
import { useAppDispatch } from "../../../data/react-redux
|
|
3
|
-
import { waitMessage } from "../../../data/wait-message/actions
|
|
4
|
-
|
|
5
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
-
export const WaitMessageLauncher = () => {
|
|
1
|
+
import { useEffect } from "react";
|
|
2
|
+
import { useAppDispatch } from "../../../data/react-redux";
|
|
3
|
+
import { waitMessage } from "../../../data/wait-message/actions";
|
|
4
|
+
const WaitMessageLauncher = () => {
|
|
7
5
|
const dispatch = useAppDispatch();
|
|
8
6
|
useEffect(() => {
|
|
9
7
|
dispatch(waitMessage.open());
|
|
@@ -11,5 +9,8 @@ export const WaitMessageLauncher = () => {
|
|
|
11
9
|
dispatch(waitMessage.close());
|
|
12
10
|
};
|
|
13
11
|
}, [dispatch]);
|
|
14
|
-
return
|
|
15
|
-
};
|
|
12
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null);
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
WaitMessageLauncher
|
|
16
|
+
};
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import { useEffect, useState, memo } from
|
|
2
|
-
|
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
|
-
export const RenderWithDelay = /*#__PURE__*/memo(({
|
|
5
|
-
render
|
|
6
|
-
}) => {
|
|
1
|
+
import { useEffect, useState, memo } from "react";
|
|
2
|
+
const RenderWithDelay = memo(({ render }) => {
|
|
7
3
|
const [show, showComponents] = useState(false);
|
|
8
4
|
useEffect(() => {
|
|
9
5
|
const timeoutId = setTimeout(showComponents.bind(null, true), 0);
|
|
@@ -11,7 +7,8 @@ export const RenderWithDelay = /*#__PURE__*/memo(({
|
|
|
11
7
|
clearTimeout(timeoutId);
|
|
12
8
|
};
|
|
13
9
|
}, []);
|
|
14
|
-
return show ?
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
return show ? /* @__PURE__ */ React.createElement(React.Fragment, null, render()) : /* @__PURE__ */ React.createElement(React.Fragment, null);
|
|
11
|
+
});
|
|
12
|
+
export {
|
|
13
|
+
RenderWithDelay
|
|
14
|
+
};
|
|
@@ -1,32 +1,28 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { useState, useEffect } from 'react';
|
|
6
|
-
import { fetchHostAppData } from "../fetch-host-app-data/index.js";
|
|
7
|
-
import { WaitMessageLauncher } from "../modals/wait-message/wait-message-launcher.js";
|
|
8
|
-
export const renderWithHostData = data => {
|
|
9
|
-
var _ComponentToRender;
|
|
10
|
-
|
|
1
|
+
import { useState, useEffect } from "react";
|
|
2
|
+
import { fetchHostAppData } from "../fetch-host-app-data";
|
|
3
|
+
import { WaitMessageLauncher } from "../modals/wait-message/wait-message-launcher";
|
|
4
|
+
const renderWithHostData = (data) => {
|
|
11
5
|
const {
|
|
12
6
|
ComponentToRender,
|
|
13
7
|
guestAppId,
|
|
14
8
|
hostedAppUrl = document.referrer
|
|
15
9
|
} = data;
|
|
16
|
-
|
|
17
10
|
const HostAppDataWrapper = () => {
|
|
18
11
|
const [loading, setLoading] = useState(true);
|
|
19
12
|
useEffect(() => {
|
|
20
13
|
if (hostedAppUrl) {
|
|
21
14
|
fetchHostAppData(hostedAppUrl, guestAppId).then(() => {
|
|
22
15
|
setLoading(false);
|
|
23
|
-
}).catch(() => {
|
|
16
|
+
}).catch(() => {
|
|
17
|
+
});
|
|
24
18
|
} else {
|
|
25
19
|
setLoading(false);
|
|
26
20
|
}
|
|
27
21
|
}, []);
|
|
28
|
-
return loading ?
|
|
22
|
+
return loading ? /* @__PURE__ */ React.createElement(WaitMessageLauncher, null) : /* @__PURE__ */ React.createElement(ComponentToRender, null);
|
|
29
23
|
};
|
|
30
|
-
|
|
31
24
|
return HostAppDataWrapper;
|
|
32
|
-
};
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
renderWithHostData
|
|
28
|
+
};
|
|
@@ -1,17 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { useEffect, useState } from "react";
|
|
2
|
+
import { useAppDispatch } from "../../data/react-redux";
|
|
3
|
+
import { logout } from "../../data/logout/actions";
|
|
4
|
+
import {
|
|
5
|
+
initSessionMonitoring,
|
|
6
|
+
stopSessionMonitoring,
|
|
7
|
+
subscribeToSessionExpiryWarning,
|
|
8
|
+
subscribeToResetSession,
|
|
9
|
+
subscribeToSessionExpiry
|
|
10
|
+
} from "../../utils/session";
|
|
11
|
+
import { SessionExpiry } from "../modals/session-expiry";
|
|
12
|
+
const SessionTimeout = () => {
|
|
8
13
|
const dispatch = useAppDispatch();
|
|
9
14
|
const [showSessionExpiryWarning, setSessionExpiryWarning] = useState(false);
|
|
10
15
|
const [warningNotifiedAt, setwarningNotifiedAt] = useState();
|
|
11
16
|
useEffect(() => {
|
|
12
17
|
initSessionMonitoring();
|
|
13
|
-
const warningCb = subscribeToSessionExpiryWarning(sessionExpiryWarningNotifiedAt => {
|
|
14
|
-
if (!sessionExpiryWarningNotifiedAt)
|
|
18
|
+
const warningCb = subscribeToSessionExpiryWarning((sessionExpiryWarningNotifiedAt) => {
|
|
19
|
+
if (!sessionExpiryWarningNotifiedAt)
|
|
20
|
+
return;
|
|
15
21
|
setwarningNotifiedAt(sessionExpiryWarningNotifiedAt);
|
|
16
22
|
setSessionExpiryWarning(true);
|
|
17
23
|
});
|
|
@@ -27,8 +33,11 @@ export const SessionTimeout = () => {
|
|
|
27
33
|
stopSessionMonitoring();
|
|
28
34
|
};
|
|
29
35
|
}, [dispatch]);
|
|
30
|
-
return
|
|
36
|
+
return /* @__PURE__ */ React.createElement("div", null, showSessionExpiryWarning && /* @__PURE__ */ React.createElement(SessionExpiry, {
|
|
31
37
|
open: true,
|
|
32
|
-
warningNotifiedAt
|
|
38
|
+
warningNotifiedAt
|
|
33
39
|
}));
|
|
34
|
-
};
|
|
40
|
+
};
|
|
41
|
+
export {
|
|
42
|
+
SessionTimeout
|
|
43
|
+
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
store: store,
|
|
1
|
+
import { browserHistory } from "../../utils/history";
|
|
2
|
+
import { AppRoot } from "../app-root";
|
|
3
|
+
const withAppDecorator = (theme, store, story) => /* @__PURE__ */ React.createElement(AppRoot, {
|
|
4
|
+
store,
|
|
6
5
|
history: browserHistory,
|
|
7
|
-
theme
|
|
8
|
-
},
|
|
6
|
+
theme
|
|
7
|
+
}, story());
|
|
8
|
+
export {
|
|
9
|
+
withAppDecorator
|
|
10
|
+
};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { useRef, useEffect } from
|
|
2
|
-
|
|
1
|
+
import { useRef, useEffect } from "react";
|
|
2
|
+
const usePrevious = (value) => {
|
|
3
3
|
const ref = useRef();
|
|
4
4
|
useEffect(() => {
|
|
5
5
|
ref.current = value;
|
|
6
6
|
}, [value]);
|
|
7
7
|
return ref.current;
|
|
8
|
-
};
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
usePrevious
|
|
11
|
+
};
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import { useState, useEffect, useCallback } from
|
|
2
|
-
|
|
3
|
-
const mediaQueryLists = queries.map(q => window.matchMedia(q));
|
|
1
|
+
import { useState, useEffect, useCallback } from "react";
|
|
2
|
+
const useMediaBreakpoints = (queries, values, defaultValue) => {
|
|
3
|
+
const mediaQueryLists = queries.map((q) => window.matchMedia(q));
|
|
4
4
|
const getValue = useCallback(() => {
|
|
5
|
-
const index = mediaQueryLists.findIndex(mql => mql.matches);
|
|
6
|
-
return typeof values[index] !==
|
|
5
|
+
const index = mediaQueryLists.findIndex((mql) => mql.matches);
|
|
6
|
+
return typeof values[index] !== "undefined" ? values[index] : defaultValue;
|
|
7
7
|
}, [defaultValue, mediaQueryLists, values]);
|
|
8
8
|
const [value, setValue] = useState(getValue);
|
|
9
9
|
useEffect(() => {
|
|
10
10
|
const handler = () => setValue(getValue);
|
|
11
|
-
|
|
12
|
-
mediaQueryLists.forEach(mql => mql.
|
|
13
|
-
return () => mediaQueryLists.forEach(mql => mql.removeListener(handler));
|
|
11
|
+
mediaQueryLists.forEach((mql) => mql.addListener(handler));
|
|
12
|
+
return () => mediaQueryLists.forEach((mql) => mql.removeListener(handler));
|
|
14
13
|
}, [getValue, mediaQueryLists]);
|
|
15
14
|
return value;
|
|
16
|
-
};
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
useMediaBreakpoints
|
|
18
|
+
};
|
|
@@ -1,12 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { forwardRef } from "react";
|
|
2
|
+
import styled from "styled-components";
|
|
3
|
+
const Span = styled.span`
|
|
4
|
+
border: 0;
|
|
5
|
+
clip: rect(0 0 0 0);
|
|
6
|
+
height: 1px;
|
|
7
|
+
margin: -1px;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
padding: 0;
|
|
10
|
+
position: absolute;
|
|
11
|
+
width: 1px;
|
|
12
|
+
white-space: nowrap;
|
|
13
|
+
word-wrap: normal;
|
|
14
|
+
`;
|
|
15
|
+
const VisuallyHidden = forwardRef((props, ref) => /* @__PURE__ */ React.createElement(Span, {
|
|
16
|
+
ref,
|
|
6
17
|
...props
|
|
7
18
|
}));
|
|
8
|
-
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
componentId: "sc-h2hrxk-0"
|
|
12
|
-
})(["border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;word-wrap:normal;"]);
|
|
19
|
+
export {
|
|
20
|
+
VisuallyHidden
|
|
21
|
+
};
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { useEffect } from
|
|
2
|
-
import { publish } from
|
|
3
|
-
import { HOST_WINDOW_RESIZED } from "../../utils/constants
|
|
4
|
-
|
|
5
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
-
export const WindowSize = () => {
|
|
1
|
+
import { useEffect } from "react";
|
|
2
|
+
import { publish } from "pubsub-js";
|
|
3
|
+
import { HOST_WINDOW_RESIZED } from "../../utils/constants";
|
|
4
|
+
const WindowSize = () => {
|
|
7
5
|
useEffect(() => {
|
|
8
6
|
if (window.ResizeObserver) {
|
|
9
|
-
const observer = new ResizeObserver(entries => {
|
|
7
|
+
const observer = new ResizeObserver((entries) => {
|
|
10
8
|
publish(HOST_WINDOW_RESIZED, entries && entries[0]);
|
|
11
9
|
});
|
|
12
10
|
observer.observe(window.document.documentElement);
|
|
@@ -14,8 +12,11 @@ export const WindowSize = () => {
|
|
|
14
12
|
observer.unobserve(window.document.documentElement);
|
|
15
13
|
};
|
|
16
14
|
}
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
return () => {
|
|
16
|
+
};
|
|
19
17
|
}, []);
|
|
20
|
-
return
|
|
21
|
-
};
|
|
18
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null);
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
WindowSize
|
|
22
|
+
};
|
|
@@ -33,7 +33,7 @@ export declare const createAppStore: (initialState: import("redux").CombinedStat
|
|
|
33
33
|
} | import("redux").AnyAction | {
|
|
34
34
|
payload: import("./breakpoint").Breakpoints;
|
|
35
35
|
type: string;
|
|
36
|
-
}, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("redux
|
|
36
|
+
}, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("redux-thunk").ThunkMiddleware<import("redux").CombinedState<{
|
|
37
37
|
waitMessage: import("./wait-message/reducer").WaitMessageState;
|
|
38
38
|
error: import("./error").ErrorState;
|
|
39
39
|
breakpoint: import("./breakpoint").BreakpointState;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
declare function _exports(viteBuilder?: boolean): {
|
|
2
|
+
addons: string[];
|
|
3
|
+
framework: string;
|
|
4
|
+
features: {
|
|
5
|
+
fastRefresh: boolean;
|
|
6
|
+
storyStoreV7: boolean;
|
|
7
|
+
};
|
|
8
|
+
reactOptions: {
|
|
9
|
+
fastRefresh: boolean;
|
|
10
|
+
strictMode: boolean;
|
|
11
|
+
};
|
|
12
|
+
typescript: {
|
|
13
|
+
check: boolean;
|
|
14
|
+
checkOptions: {};
|
|
15
|
+
reactDocgen: string;
|
|
16
|
+
reactDocgenTypescriptOptions: {
|
|
17
|
+
shouldExtractLiteralValuesFromEnum: boolean;
|
|
18
|
+
propFilter: (prop: any) => boolean;
|
|
19
|
+
compilerOptions: {
|
|
20
|
+
allowSyntheticDefaultImports: boolean;
|
|
21
|
+
esModuleInterop: boolean;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
} & ({
|
|
26
|
+
stories: string[];
|
|
27
|
+
core: {
|
|
28
|
+
builder: string;
|
|
29
|
+
};
|
|
30
|
+
} | {
|
|
31
|
+
stories: {
|
|
32
|
+
directory: string;
|
|
33
|
+
}[];
|
|
34
|
+
addons: {
|
|
35
|
+
name: string;
|
|
36
|
+
options: {
|
|
37
|
+
optimizationLevel: number;
|
|
38
|
+
esbuildMinifyOptions: {
|
|
39
|
+
target: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}[];
|
|
43
|
+
managerWebpack: any;
|
|
44
|
+
webpackFinal: any;
|
|
45
|
+
core: {
|
|
46
|
+
builder: string;
|
|
47
|
+
};
|
|
48
|
+
});
|
|
49
|
+
export = _exports;
|
|
File without changes
|
|
@@ -13,7 +13,7 @@ export function getParameters(storyBookTheme: any): {
|
|
|
13
13
|
storySort: {
|
|
14
14
|
method: string;
|
|
15
15
|
order: (string | string[])[];
|
|
16
|
-
locales: string;
|
|
16
|
+
locales: string[];
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
dependencies: {
|
|
@@ -21,4 +21,4 @@ export function getParameters(storyBookTheme: any): {
|
|
|
21
21
|
hideEmpty: boolean;
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
export const decorators: ((
|
|
24
|
+
export const decorators: ((story: () => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => JSX.Element)[];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const stories: {
|
|
2
|
+
directory: string;
|
|
3
|
+
}[];
|
|
4
|
+
export declare const addons: {
|
|
5
|
+
name: string;
|
|
6
|
+
options: {
|
|
7
|
+
optimizationLevel: number;
|
|
8
|
+
esbuildMinifyOptions: {
|
|
9
|
+
target: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
}[];
|
|
13
|
+
export declare namespace core {
|
|
14
|
+
const builder: string;
|
|
15
|
+
}
|
|
16
|
+
export { managerWebpack, webpackFinal };
|
|
@@ -16,7 +16,7 @@ export declare const renderWithRedux: (ui: React.ReactElement, { initialState, s
|
|
|
16
16
|
} | import("redux").AnyAction | {
|
|
17
17
|
payload: import("../../data/breakpoint").Breakpoints;
|
|
18
18
|
type: string;
|
|
19
|
-
}, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("redux
|
|
19
|
+
}, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("redux-thunk").ThunkMiddleware<import("redux").CombinedState<{
|
|
20
20
|
waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
|
|
21
21
|
error: import("../../data/error").ErrorState;
|
|
22
22
|
breakpoint: import("../../data/breakpoint").BreakpointState;
|
|
@@ -19,7 +19,7 @@ export declare const renderWithRouterRedux: (ui: React.ReactElement, { route, hi
|
|
|
19
19
|
} | import("redux").AnyAction | {
|
|
20
20
|
payload: import("../../data/breakpoint").Breakpoints;
|
|
21
21
|
type: string;
|
|
22
|
-
}, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("redux
|
|
22
|
+
}, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("redux-thunk").ThunkMiddleware<import("redux").CombinedState<{
|
|
23
23
|
waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
|
|
24
24
|
error: import("../../data/error").ErrorState;
|
|
25
25
|
breakpoint: import("../../data/breakpoint").BreakpointState;
|
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare
|
|
3
|
-
declare const VisuallyHidden: import("react").ForwardRefExoticComponent<Pick<SpanProps, "headers" | "method" | "data" | "min" | "max" | "width" | "size" | "value" | "type" | "id" | "scope" | "href" | "title" | "children" | "cite" | "form" | "label" | "slot" | "span" | "style" | "summary" | "pattern" | "async" | "defer" | "color" | "hidden" | "list" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "start" | "content" | "default" | "wrap" | "open" | "multiple" | "disabled" | "media" | "aria-live" | "name" | "className" | "height" | "lang" | "target" | "role" | "tabIndex" | "crossOrigin" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "key" | "classID" | "useMap" | "wmode" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "as" | "hrefLang" | "integrity" | "rel" | "sizes" | "charSet" | "accept" | "alt" | "autoComplete" | "autoFocus" | "capture" | "checked" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "maxLength" | "minLength" | "readOnly" | "required" | "src" | "step" | "download" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "dateTime" | "acceptCharset" | "action" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "srcSet" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "selected" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "rowSpan" | "cols" | "rows" | "kind" | "srcLang" | "poster"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
4
|
-
export { VisuallyHidden };
|
|
2
|
+
export declare const VisuallyHidden: import("react").ForwardRefExoticComponent<Pick<import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>, string | number | symbol> & import("react").RefAttributes<HTMLSpanElement>>;
|