@elliemae/pui-app-sdk 3.0.0-beta.2 → 3.0.0-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/analytics/appdynamics.js +13 -7
- package/dist/cjs/analytics/index.js +13 -12
- package/dist/cjs/analytics/page-view-event.js +23 -13
- package/dist/cjs/analytics/user-session-event.js +14 -13
- package/dist/cjs/analytics/user-wait-event.js +13 -12
- package/dist/cjs/analytics/web-analytics.js +19 -2
- package/dist/cjs/api/auth/index.js +11 -10
- package/dist/cjs/api/helpers.js +12 -11
- package/dist/cjs/api/users/index.js +11 -10
- package/dist/cjs/communication/http-client/index.js +18 -12
- package/dist/cjs/communication/http-client/request-interceptor.js +11 -10
- package/dist/cjs/communication/http-client/response-interceptor.js +13 -7
- package/dist/cjs/communication/http-client/retry-axios.js +14 -8
- package/dist/cjs/communication/http-client/retry.js +11 -10
- package/dist/cjs/communication/http-client/tests/index.test-disable.js +7 -7
- package/dist/cjs/data/auth/actions.js +19 -2
- package/dist/cjs/data/auth/reducer.js +14 -8
- package/dist/cjs/data/breakpoint/index.js +13 -7
- package/dist/cjs/data/error/index.js +11 -10
- package/dist/cjs/data/index.js +35 -0
- package/dist/cjs/data/live-message/index.js +11 -10
- package/dist/cjs/data/logout/actions.js +19 -2
- package/dist/cjs/data/navigation-prompt/actions.js +19 -2
- package/dist/cjs/data/react-redux.js +11 -10
- package/dist/cjs/data/reducers.js +15 -14
- package/dist/cjs/data/saga.js +19 -2
- package/dist/cjs/data/store.js +17 -24
- package/dist/cjs/data/wait-message/actions.js +19 -2
- package/dist/cjs/data/wait-message/reducer.js +14 -8
- package/dist/cjs/index.js +88 -82
- package/dist/cjs/micro-frontend.js +34 -0
- package/dist/cjs/sideeffect/auth/index.js +15 -14
- package/dist/cjs/sideeffect/error-toast/index.js +15 -14
- package/dist/cjs/sideeffect/wait-message/index.js +15 -14
- package/dist/cjs/typings/styled.d.js +1 -19
- package/dist/cjs/utils/app-config/config.js +14 -8
- package/dist/cjs/utils/app-config/index.js +17 -11
- package/dist/cjs/utils/app-host-integration/react.js +11 -10
- package/dist/cjs/utils/auth/helper.js +13 -7
- package/dist/cjs/utils/auth/index.js +19 -18
- package/dist/cjs/utils/await.js +18 -1
- package/dist/cjs/utils/constants.js +19 -2
- package/dist/cjs/utils/font-size.js +19 -2
- package/dist/cjs/utils/guest-with-service.js +19 -2
- package/dist/cjs/utils/helpers.js +20 -3
- package/dist/cjs/utils/history.js +11 -10
- package/dist/cjs/utils/log-records.js +19 -2
- package/dist/cjs/utils/micro-frontend/console-logger.js +12 -11
- package/dist/cjs/utils/micro-frontend/guest.js +25 -19
- package/dist/cjs/utils/micro-frontend/host.js +30 -29
- package/dist/cjs/utils/micro-frontend/index.js +17 -11
- package/dist/cjs/utils/micro-frontend/types.js +18 -1
- package/dist/cjs/utils/redact-pii.js +19 -2
- package/dist/cjs/utils/service-worker.js +12 -11
- package/dist/cjs/utils/session.js +15 -14
- package/dist/cjs/utils/storybook/{main.js → cjs/main.js} +11 -3
- package/dist/cjs/utils/storybook/{middleware.js → cjs/middleware.js} +0 -0
- package/dist/cjs/utils/storybook/{vite.js → cjs/vite.js} +0 -0
- package/dist/cjs/utils/storybook/{webpack.js → cjs/webpack.js} +9 -1
- package/dist/cjs/utils/storybook/manager.js +12 -11
- package/dist/cjs/utils/storybook/preview.js +19 -19
- package/dist/cjs/utils/storybook/theme.js +11 -10
- package/dist/cjs/utils/testing/index.js +19 -12
- package/dist/cjs/utils/testing/render-with-redux.js +17 -10
- package/dist/cjs/utils/testing/render-with-router-redux.js +20 -13
- package/dist/cjs/utils/testing/render-with-router.js +24 -14
- package/dist/cjs/utils/testing/render-with-state-addons.js +17 -10
- package/dist/cjs/utils/types.js +18 -1
- package/dist/cjs/utils/url.js +19 -2
- package/dist/cjs/utils/web-storage.js +13 -7
- package/dist/cjs/utils/window.js +11 -10
- package/dist/cjs/view/app-root/hosted-app.js +18 -11
- package/dist/cjs/view/app-root/index.js +25 -18
- package/dist/cjs/view/app-root/stand-alone-app.js +22 -15
- package/dist/cjs/view/app-root/style.js +11 -10
- package/dist/cjs/view/app-router.js +48 -0
- package/dist/cjs/view/error-boundary/default-error-template.js +26 -3
- package/dist/cjs/view/error-boundary/index.js +16 -10
- package/dist/cjs/view/error-toast/index.js +21 -14
- package/dist/cjs/view/fetch-host-app-data/index.js +16 -10
- package/dist/cjs/view/fetch-host-app-data/store.js +11 -10
- package/dist/cjs/view/fields/check-box/index.js +18 -19
- package/dist/cjs/view/fields/combo-box/index.js +18 -13
- package/dist/cjs/view/fields/connect-form.js +11 -10
- package/dist/cjs/view/fields/date-input/index.js +16 -9
- package/dist/cjs/view/fields/date-picker/index.js +16 -9
- package/dist/cjs/view/fields/form-item-layout/index.js +18 -14
- package/dist/cjs/view/fields/form-layout-block-item/index.js +54 -0
- package/dist/cjs/view/fields/input-mask/index.js +16 -9
- package/dist/cjs/view/fields/large-text-box/index.js +16 -9
- package/dist/cjs/view/fields/radio/index.js +16 -9
- package/dist/cjs/view/fields/radio-group/index.js +17 -14
- package/dist/cjs/view/fields/text-box/index.js +16 -9
- package/dist/cjs/view/fields/watch-value.js +19 -10
- package/dist/cjs/view/form/index.js +15 -8
- package/dist/cjs/view/form/personal-info-section.js +46 -35
- package/dist/cjs/view/form/submit-button/index.js +17 -12
- package/dist/cjs/view/guest-unload-handlers/index.js +11 -10
- package/dist/cjs/view/host-binding-events/index.js +19 -2
- package/dist/cjs/view/live-message/index.js +15 -8
- package/dist/cjs/view/loadable/index.js +15 -8
- package/dist/cjs/view/login/index.js +16 -19
- package/dist/cjs/view/media-breakpoint/index.js +18 -17
- package/dist/cjs/view/message-to-host-app/index.js +11 -10
- package/dist/cjs/view/micro-app/app-factory/index.js +22 -19
- package/dist/cjs/view/micro-app/const.js +19 -2
- package/dist/cjs/view/micro-app/index.js +17 -10
- package/dist/cjs/view/micro-app/resources/manifest.js +16 -13
- package/dist/cjs/view/micro-app/resources/script.js +12 -11
- package/dist/cjs/view/micro-app/resources/style.js +11 -10
- package/dist/cjs/view/micro-app/types.js +18 -1
- package/dist/cjs/view/micro-app/use-app-will-render.js +21 -18
- package/dist/cjs/view/micro-app/utils.js +11 -10
- package/dist/cjs/view/micro-iframe-app/app.js +18 -11
- package/dist/cjs/view/micro-iframe-app/iframe/const.js +19 -2
- package/dist/cjs/view/micro-iframe-app/iframe/index.js +16 -9
- package/dist/cjs/view/micro-iframe-app/index.js +16 -9
- package/dist/cjs/view/micro-iframe-app/types.js +18 -1
- package/dist/cjs/view/micro-iframe-app/use-frame-loaded.js +16 -13
- package/dist/cjs/view/modals/error/index.js +31 -21
- package/dist/cjs/view/modals/navigation-prompt/index.js +39 -21
- package/dist/cjs/view/modals/session-expiry/customHooks.js +14 -13
- package/dist/cjs/view/modals/session-expiry/index.js +39 -29
- package/dist/cjs/view/modals/wait-message/html-wait-message.js +12 -11
- package/dist/cjs/view/modals/wait-message/index.js +19 -12
- package/dist/cjs/view/modals/wait-message/wait-message-launcher.js +14 -13
- package/dist/cjs/view/page.js +51 -0
- package/dist/cjs/view/render-with-delay/index.js +15 -8
- package/dist/cjs/view/render-with-host-data/index.js +16 -9
- package/dist/cjs/view/require-auth.js +62 -0
- package/dist/cjs/view/session-timeout/index.js +23 -12
- package/dist/cjs/view/storybook/decorator.js +15 -8
- package/dist/cjs/view/use-previous.js +11 -10
- package/dist/cjs/view/useMediaBreakpoints/index.js +11 -10
- package/dist/cjs/view/visually-hidden/index.js +15 -8
- package/dist/cjs/view/window-size/index.js +23 -18
- package/dist/es/analytics/index.js +3 -3
- package/dist/es/analytics/page-view-event.js +12 -3
- package/dist/es/analytics/user-session-event.js +2 -2
- package/dist/es/analytics/user-wait-event.js +1 -1
- package/dist/es/api/auth/index.js +1 -1
- package/dist/es/api/users/index.js +1 -1
- package/dist/es/communication/http-client/index.js +5 -5
- package/dist/es/communication/http-client/request-interceptor.js +1 -1
- package/dist/es/communication/http-client/retry-axios.js +1 -1
- package/dist/es/communication/http-client/retry.js +1 -1
- package/dist/es/communication/http-client/tests/index.test-disable.js +3 -3
- package/dist/es/data/auth/reducer.js +1 -1
- package/dist/es/data/index.js +11 -0
- package/dist/es/data/reducers.js +4 -4
- package/dist/es/data/store.js +5 -15
- package/dist/es/data/wait-message/reducer.js +1 -1
- package/dist/es/index.js +85 -75
- package/dist/es/micro-frontend.js +10 -0
- package/dist/es/sideeffect/auth/index.js +4 -4
- package/dist/es/sideeffect/error-toast/index.js +4 -4
- package/dist/es/sideeffect/wait-message/index.js +4 -4
- package/dist/es/utils/app-config/config.js +1 -1
- package/dist/es/utils/app-config/index.js +4 -4
- package/dist/es/utils/app-host-integration/react.js +1 -1
- package/dist/es/utils/auth/helper.js +1 -1
- package/dist/es/utils/auth/index.js +9 -9
- package/dist/es/utils/helpers.js +1 -1
- package/dist/es/utils/micro-frontend/console-logger.js +1 -1
- package/dist/es/utils/micro-frontend/guest.js +9 -9
- package/dist/es/utils/micro-frontend/host.js +19 -18
- package/dist/es/utils/micro-frontend/index.js +4 -4
- package/dist/es/utils/service-worker.js +2 -2
- package/dist/es/utils/session.js +4 -4
- package/dist/es/utils/storybook/manager.js +1 -1
- package/dist/es/utils/storybook/preview.js +7 -8
- package/dist/es/utils/testing/index.js +4 -3
- package/dist/es/utils/testing/render-with-redux.js +3 -2
- package/dist/es/utils/testing/render-with-router-redux.js +5 -4
- package/dist/es/utils/testing/render-with-router.js +10 -6
- package/dist/es/utils/testing/render-with-state-addons.js +1 -0
- package/dist/es/view/app-root/hosted-app.js +5 -4
- package/dist/es/view/app-root/index.js +9 -8
- package/dist/es/view/app-root/stand-alone-app.js +8 -7
- package/dist/es/view/app-router.js +19 -0
- package/dist/es/view/error-boundary/default-error-template.js +2 -1
- package/dist/es/view/error-boundary/index.js +3 -3
- package/dist/es/view/error-toast/index.js +4 -8
- package/dist/es/view/fetch-host-app-data/index.js +6 -3
- package/dist/es/view/fields/check-box/index.js +5 -12
- package/dist/es/view/fields/combo-box/index.js +4 -5
- package/dist/es/view/fields/date-input/index.js +2 -1
- package/dist/es/view/fields/date-picker/index.js +2 -1
- package/dist/es/view/fields/form-item-layout/index.js +4 -6
- package/dist/es/view/fields/form-layout-block-item/index.js +25 -0
- package/dist/es/view/fields/input-mask/index.js +4 -2
- package/dist/es/view/fields/large-text-box/index.js +2 -1
- package/dist/es/view/fields/radio/index.js +2 -1
- package/dist/es/view/fields/radio-group/index.js +3 -6
- package/dist/es/view/fields/text-box/index.js +2 -1
- package/dist/es/view/fields/watch-value.js +5 -2
- package/dist/es/view/form/index.js +1 -0
- package/dist/es/view/form/personal-info-section.js +33 -28
- package/dist/es/view/form/submit-button/index.js +4 -5
- package/dist/es/view/guest-unload-handlers/index.js +1 -1
- package/dist/es/view/live-message/index.js +2 -1
- package/dist/es/view/loadable/index.js +2 -1
- package/dist/es/view/login/index.js +5 -9
- package/dist/es/view/media-breakpoint/index.js +5 -5
- package/dist/es/view/message-to-host-app/index.js +1 -1
- package/dist/es/view/micro-app/app-factory/index.js +15 -10
- package/dist/es/view/micro-app/index.js +3 -2
- package/dist/es/view/micro-app/resources/manifest.js +6 -4
- package/dist/es/view/micro-app/resources/script.js +2 -2
- package/dist/es/view/micro-app/resources/style.js +1 -1
- package/dist/es/view/micro-app/use-app-will-render.js +13 -6
- package/dist/es/view/micro-app/utils.js +1 -1
- package/dist/es/view/micro-iframe-app/app.js +4 -3
- package/dist/es/view/micro-iframe-app/iframe/index.js +2 -1
- package/dist/es/view/micro-iframe-app/index.js +3 -2
- package/dist/es/view/micro-iframe-app/use-frame-loaded.js +5 -3
- package/dist/es/view/modals/error/index.js +25 -15
- package/dist/es/view/modals/navigation-prompt/index.js +33 -14
- package/dist/es/view/modals/session-expiry/customHooks.js +2 -2
- package/dist/es/view/modals/session-expiry/index.js +35 -23
- package/dist/es/view/modals/wait-message/html-wait-message.js +1 -1
- package/dist/es/view/modals/wait-message/index.js +5 -4
- package/dist/es/view/modals/wait-message/wait-message-launcher.js +3 -3
- package/dist/es/view/page.js +22 -0
- package/dist/es/view/render-with-delay/index.js +2 -1
- package/dist/es/view/render-with-host-data/index.js +3 -2
- package/dist/es/view/require-auth.js +33 -0
- package/dist/es/view/session-timeout/index.js +10 -5
- package/dist/es/view/storybook/decorator.js +3 -2
- package/dist/es/view/visually-hidden/index.js +1 -0
- package/dist/es/view/window-size/index.js +11 -7
- package/dist/types/communication/http-client/retry.d.ts +1 -1
- package/dist/types/data/index.d.ts +4 -0
- package/dist/types/data/react-redux.d.ts +9 -18
- package/dist/types/data/reducers.d.ts +6 -6
- package/dist/types/data/store.d.ts +30 -31
- package/dist/types/index.d.ts +78 -78
- package/dist/types/micro-frontend.d.ts +6 -0
- package/dist/types/sideeffect/auth/index.d.ts +1 -1
- package/dist/types/utils/app-config/config.d.ts +1 -1
- package/dist/types/utils/app-host-integration/react.d.ts +1 -1
- package/dist/types/utils/history.d.ts +2 -2
- package/dist/types/utils/micro-frontend/guest.d.ts +5 -5
- package/dist/types/utils/micro-frontend/host.d.ts +3 -3
- package/dist/types/utils/micro-frontend/index.d.ts +2 -2
- package/dist/types/utils/micro-frontend/types.d.ts +1 -1
- package/dist/types/utils/session.d.ts +5 -2
- package/dist/types/utils/storybook/{main.d.cts → cjs/main.d.ts} +24 -2
- package/dist/types/utils/storybook/{middleware.d.cts → cjs/middleware.d.ts} +0 -0
- package/dist/types/utils/storybook/{vite.d.cts → cjs/vite.d.ts} +0 -0
- package/dist/types/utils/storybook/cjs/webpack.d.ts +16 -0
- package/dist/types/utils/storybook/preview.d.ts +8 -2
- package/dist/types/utils/testing/render-with-redux.d.ts +22 -22
- package/dist/types/utils/testing/render-with-router-redux.d.ts +22 -22
- package/dist/types/utils/testing/render-with-router.d.ts +2 -2
- package/dist/types/utils/testing/render-with-state-addons.d.ts +1 -1
- package/dist/types/view/app-root/hosted-app.d.ts +1 -1
- package/dist/types/view/app-root/index.d.ts +2 -2
- package/dist/types/view/app-root/stand-alone-app.d.ts +1 -1
- package/dist/types/view/app-router.d.ts +9 -0
- package/dist/types/view/error-boundary/default-error-template.d.ts +1 -1
- package/dist/types/view/fields/check-box/index.d.ts +2 -4
- package/dist/types/view/fields/check-box/index.stories.d.ts +2 -4
- package/dist/types/view/fields/check-box/set-value.stories.d.ts +1 -1
- package/dist/types/view/fields/combo-box/index.d.ts +1 -2
- package/dist/types/view/fields/combo-box/index.stories.d.ts +2 -4
- package/dist/types/view/fields/connect-form.d.ts +1 -1
- package/dist/types/view/fields/date-input/index.d.ts +1 -1
- package/dist/types/view/fields/date-input/index.stories.d.ts +1 -1
- package/dist/types/view/fields/date-picker/index.d.ts +2 -1
- package/dist/types/view/fields/date-picker/index.stories.d.ts +2 -4
- package/dist/types/view/fields/form-item-layout/index.d.ts +1 -1
- package/dist/types/view/fields/form-item-layout/index.stories.d.ts +1 -1
- package/dist/types/view/fields/form-layout-block-item/index.d.ts +8 -0
- package/dist/types/view/{header → fields/form-layout-block-item}/index.stories.d.ts +2 -2
- package/dist/types/view/fields/input-mask/index.d.ts +2 -2
- package/dist/types/view/fields/input-mask/index.stories.d.ts +2 -4
- package/dist/types/view/fields/large-text-box/index.d.ts +1 -1
- package/dist/types/view/fields/large-text-box/index.stories.d.ts +2 -4
- package/dist/types/view/fields/radio/index.d.ts +2 -2
- package/dist/types/view/fields/radio/index.stories.d.ts +2 -4
- package/dist/types/view/fields/radio/set-value.stories.d.ts +1 -1
- package/dist/types/view/fields/radio-group/index.d.ts +1 -1
- package/dist/types/view/fields/radio-group/index.stories.d.ts +1 -1
- package/dist/types/view/fields/text-box/index.d.ts +1 -1
- package/dist/types/view/fields/text-box/index.stories.d.ts +1 -1
- package/dist/types/view/fields/watch-value.d.ts +2 -2
- package/dist/types/view/form/personal-info-section.d.ts +3 -3
- package/dist/types/view/form/submit-button/index.d.ts +2 -1
- package/dist/types/view/form/usecases.stories.d.ts +1 -1
- package/dist/types/view/live-message/index.d.ts +1 -1
- package/dist/types/view/login/index.d.ts +1 -2
- package/dist/types/view/media-breakpoint/index.d.ts +1 -2
- package/dist/types/view/micro-app/app-factory/index.d.ts +3 -3
- package/dist/types/view/micro-app/index.d.ts +1 -1
- package/dist/types/view/micro-app/resources/manifest.d.ts +2 -2
- package/dist/types/view/micro-app/resources/script.d.ts +1 -1
- package/dist/types/view/micro-app/resources/style.d.ts +1 -1
- package/dist/types/view/micro-app/types.d.ts +1 -0
- package/dist/types/view/micro-app/use-app-will-render.d.ts +2 -2
- package/dist/types/view/micro-iframe-app/app.d.ts +2 -2
- package/dist/types/view/micro-iframe-app/index.d.ts +1 -1
- package/dist/types/view/micro-iframe-app/types.d.ts +1 -1
- package/dist/types/view/micro-iframe-app/use-frame-loaded.d.ts +1 -1
- package/dist/types/view/modals/error/index.d.ts +3 -2
- package/dist/types/view/modals/error/index.stories.d.ts +1 -1
- package/dist/types/view/modals/navigation-prompt/index.d.ts +0 -1
- package/dist/types/view/modals/navigation-prompt/index.stories.d.ts +1 -1
- package/dist/types/view/modals/session-expiry/index.d.ts +0 -1
- package/dist/types/view/modals/session-expiry/index.stories.d.ts +1 -1
- package/dist/types/view/modals/wait-message/index.stories.d.ts +7 -3
- package/dist/types/view/modals/wait-message/wait-message-launcher.d.ts +1 -2
- package/dist/types/view/page.d.ts +8 -0
- package/dist/types/view/require-auth.d.ts +8 -0
- package/dist/types/view/session-timeout/index.d.ts +1 -1
- package/dist/types/view/session-timeout/index.stories.d.ts +1 -4
- package/dist/types/view/storybook/decorator.d.ts +1 -1
- package/dist/types/view/window-size/index.d.ts +1 -2
- package/package.json +59 -28
- package/dist/cjs/route/index.js +0 -48
- package/dist/cjs/route/page-view.js +0 -38
- package/dist/cjs/route/private-route/index.js +0 -68
- package/dist/cjs/view/header/center-region/index.js +0 -64
- package/dist/cjs/view/header/index.js +0 -43
- package/dist/cjs/view/header/logo-region/index.js +0 -32
- package/dist/cjs/view/header/logo-region/logo.svg +0 -2
- package/dist/cjs/view/header/nav-region/index.js +0 -46
- package/dist/cjs/view/header/nav-region/notification/index.js +0 -31
- package/dist/cjs/view/header/nav-region/notification/index.svg +0 -5
- package/dist/cjs/view/header/nav-region/user/index.js +0 -31
- package/dist/cjs/view/header/nav-region/user/index.svg +0 -4
- package/dist/es/route/index.js +0 -25
- package/dist/es/route/page-view.js +0 -15
- package/dist/es/route/private-route/index.js +0 -45
- package/dist/es/view/header/center-region/index.js +0 -41
- package/dist/es/view/header/index.js +0 -20
- package/dist/es/view/header/logo-region/index.js +0 -9
- package/dist/es/view/header/logo-region/logo.svg +0 -2
- package/dist/es/view/header/nav-region/index.js +0 -23
- package/dist/es/view/header/nav-region/notification/index.js +0 -8
- package/dist/es/view/header/nav-region/notification/index.svg +0 -5
- package/dist/es/view/header/nav-region/user/index.js +0 -8
- package/dist/es/view/header/nav-region/user/index.svg +0 -4
- package/dist/types/route/index.d.ts +0 -8
- package/dist/types/route/page-view.d.ts +0 -1
- package/dist/types/route/private-route/index.d.ts +0 -8
- package/dist/types/utils/storybook/webpack.d.cts +0 -8
- package/dist/types/view/header/center-region/index.d.ts +0 -9
- package/dist/types/view/header/index.d.ts +0 -7
- package/dist/types/view/header/logo-region/index.d.ts +0 -2
- package/dist/types/view/header/nav-region/index.d.ts +0 -2
- package/dist/types/view/header/nav-region/notification/index.d.ts +0 -2
- package/dist/types/view/header/nav-region/user/index.d.ts +0 -2
|
@@ -21,6 +21,6 @@ export interface AppConfig {
|
|
|
21
21
|
}
|
|
22
22
|
export declare const setAppConfig: (config: AppConfig) => void;
|
|
23
23
|
export declare const getAppConfigValue: <Type>(key?: string, defaultValue?: unknown) => Type;
|
|
24
|
-
export declare const setAppConfigValue: <Type>(key: string
|
|
24
|
+
export declare const setAppConfigValue: <Type>(key: string, value: Type) => AppConfig;
|
|
25
25
|
export declare const hasItem: (key?: string) => boolean;
|
|
26
26
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const browserHistory: import("history").
|
|
2
|
-
export declare const memoryHistory: import("history").MemoryHistory
|
|
1
|
+
export declare const browserHistory: import("history").BrowserHistory;
|
|
2
|
+
export declare const memoryHistory: import("history").MemoryHistory;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DefaultTheme } from 'styled-components';
|
|
2
|
-
import { History,
|
|
2
|
+
import { History, To } from 'history';
|
|
3
3
|
import type { IMicroAppGuest, IMicroAppHost, InitOptions, MountOptions } from '@elliemae/pui-micro-frontend-base';
|
|
4
|
-
import { MicroFrontEndLogger } from './console-logger';
|
|
5
|
-
import { JSONValue } from '../types';
|
|
4
|
+
import { MicroFrontEndLogger } from './console-logger.js';
|
|
5
|
+
import { JSONValue } from '../types.js';
|
|
6
6
|
export interface GuestProps extends InitOptions {
|
|
7
7
|
prevState: JSONValue | null;
|
|
8
8
|
history: History;
|
|
@@ -33,7 +33,7 @@ export declare class CMicroAppGuest implements IMicroAppGuest {
|
|
|
33
33
|
static getInstance(params?: ConstructorParams): CMicroAppGuest;
|
|
34
34
|
static isInitialized(): boolean;
|
|
35
35
|
static isHosted(): boolean;
|
|
36
|
-
getHost(): IMicroAppHost;
|
|
36
|
+
getHost(): IMicroAppHost | undefined;
|
|
37
37
|
getLogger(): MicroFrontEndLogger;
|
|
38
38
|
getProps(): GuestProps;
|
|
39
39
|
private getSessionStorageItem;
|
|
@@ -42,6 +42,6 @@ export declare class CMicroAppGuest implements IMicroAppGuest {
|
|
|
42
42
|
mount(this: CMicroAppGuest, options?: MountOptions): Promise<void>;
|
|
43
43
|
unmount(this: CMicroAppGuest, options: MountOptions): Promise<JSONValue>;
|
|
44
44
|
getRef<T>(this: CMicroAppGuest): T | null;
|
|
45
|
-
navigate(this: CMicroAppGuest, url:
|
|
45
|
+
navigate(this: CMicroAppGuest, url: To, state?: any): void;
|
|
46
46
|
}
|
|
47
47
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IMicroAppHost, ResizeEventHandler, BreakpointChangeEventHandler, SubscriptionListener, BAEvent } from '@elliemae/pui-micro-frontend-base';
|
|
2
|
-
import { History,
|
|
2
|
+
import { History, To } from 'history';
|
|
3
3
|
import { DefaultTheme } from 'styled-components';
|
|
4
|
-
import { MicroFrontEndLogger } from './console-logger';
|
|
4
|
+
import { MicroFrontEndLogger } from './console-logger.js';
|
|
5
5
|
declare type HostOptions = {
|
|
6
6
|
systemVersion: string;
|
|
7
7
|
history: History;
|
|
@@ -33,7 +33,7 @@ export declare class CMicroAppHost implements IMicroAppHost {
|
|
|
33
33
|
publish<Type>(message: string | symbol, data?: Type): boolean;
|
|
34
34
|
subscribe<T>(message: string | symbol, func: SubscriptionListener<T>): string;
|
|
35
35
|
unsubscribe(token: string): void;
|
|
36
|
-
navigate(this: CMicroAppHost, url:
|
|
36
|
+
navigate(this: CMicroAppHost, url: To, state?: any): void;
|
|
37
37
|
openWaitMessage(): void;
|
|
38
38
|
closeWaitMessage(): void;
|
|
39
39
|
openErrorBanner(message: string): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MicroFrontEndLogger } from './console-logger';
|
|
2
|
-
import { MicroAppConfig } from './types';
|
|
1
|
+
import { MicroFrontEndLogger } from './console-logger.js';
|
|
2
|
+
import { MicroAppConfig } from './types.js';
|
|
3
3
|
export declare const isHost: () => boolean;
|
|
4
4
|
export declare const isGuest: () => boolean;
|
|
5
5
|
export declare const isStandAloneGuest: () => boolean;
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
declare type WARNLISTENER = {
|
|
2
2
|
(sessionExpiryWarningNotifiedAt: number | null): void;
|
|
3
3
|
};
|
|
4
|
+
declare type RESETLISTENER = {
|
|
5
|
+
(resetWarningModal: unknown): void;
|
|
6
|
+
};
|
|
4
7
|
declare type LISTENER = {
|
|
5
8
|
(): void;
|
|
6
9
|
};
|
|
7
|
-
export declare const resetUserIdleTime: () => void;
|
|
10
|
+
export declare const resetUserIdleTime: (resetWarningModal?: unknown) => void;
|
|
8
11
|
export declare const stopSessionMonitoring: () => void;
|
|
9
12
|
export declare const initSessionMonitoring: () => void;
|
|
10
13
|
export declare const subscribeToSessionExpiryWarning: (onSessionExpiryWarn: WARNLISTENER) => () => void;
|
|
11
14
|
export declare const subscribeToSessionExpiry: (onSessionExpiry: LISTENER) => () => void;
|
|
12
|
-
export declare const subscribeToResetSession: (onResetListener:
|
|
15
|
+
export declare const subscribeToResetSession: (onResetListener: RESETLISTENER) => () => void;
|
|
13
16
|
export declare const trackActivity: (element: Document | null, cb: (...args: unknown[]) => void) => () => void;
|
|
14
17
|
export {};
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
declare function _exports(viteBuilder?: boolean): {
|
|
2
|
-
addons: string
|
|
2
|
+
addons: (string | {
|
|
3
|
+
name: string;
|
|
4
|
+
options: {
|
|
5
|
+
sourceLoaderOptions: {
|
|
6
|
+
injectStoryParameters: boolean;
|
|
7
|
+
};
|
|
8
|
+
docs?: undefined;
|
|
9
|
+
};
|
|
10
|
+
} | {
|
|
11
|
+
name: string;
|
|
12
|
+
options: {
|
|
13
|
+
docs: boolean;
|
|
14
|
+
sourceLoaderOptions?: undefined;
|
|
15
|
+
};
|
|
16
|
+
})[];
|
|
3
17
|
framework: string;
|
|
4
18
|
features: {
|
|
5
19
|
fastRefresh: boolean;
|
|
@@ -31,7 +45,15 @@ declare function _exports(viteBuilder?: boolean): {
|
|
|
31
45
|
stories: {
|
|
32
46
|
directory: string;
|
|
33
47
|
}[];
|
|
34
|
-
addons:
|
|
48
|
+
addons: {
|
|
49
|
+
name: string;
|
|
50
|
+
options: {
|
|
51
|
+
optimizationLevel: number;
|
|
52
|
+
esbuildMinifyOptions: {
|
|
53
|
+
target: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
}[];
|
|
35
57
|
managerWebpack: any;
|
|
36
58
|
webpackFinal: any;
|
|
37
59
|
core: {
|
|
File without changes
|
|
File without changes
|
|
@@ -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 };
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import '@elliemae/ds-basic/css/dimsum.css';
|
|
3
|
+
export declare const getParameters: (storyBookTheme: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
base?: string | undefined;
|
|
6
|
+
brandTitle?: string | undefined;
|
|
7
|
+
}) => {
|
|
2
8
|
layout: string;
|
|
3
9
|
actions: {
|
|
4
10
|
argTypesRegex: string;
|
|
@@ -21,4 +27,4 @@ export function getParameters(storyBookTheme: any): {
|
|
|
21
27
|
hideEmpty: boolean;
|
|
22
28
|
};
|
|
23
29
|
};
|
|
24
|
-
export const decorators: ((story: () => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => JSX.Element)[];
|
|
30
|
+
export declare const decorators: ((story: () => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => JSX.Element)[];
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { AppStore, RootState } from '../../data/store';
|
|
2
|
+
import { AppStore, RootState } from '../../data/store.js';
|
|
3
3
|
interface Args {
|
|
4
4
|
initialState: RootState;
|
|
5
5
|
store: AppStore;
|
|
6
6
|
}
|
|
7
7
|
export declare const renderWithRedux: (ui: React.ReactElement, { initialState, store, }?: Args) => {
|
|
8
8
|
store: import("@reduxjs/toolkit").EnhancedStore<import("redux").CombinedState<{
|
|
9
|
-
waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
|
|
10
|
-
error: import("../../data/error").ErrorState;
|
|
11
|
-
breakpoint: import("../../data/breakpoint").BreakpointState;
|
|
12
|
-
liveMessage: import("../../data/live-message").LiveMessageState;
|
|
9
|
+
waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
|
|
10
|
+
error: import("../../data/error/index.js").ErrorState;
|
|
11
|
+
breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
|
|
12
|
+
liveMessage: import("../../data/live-message/index.js").LiveMessageState;
|
|
13
13
|
}>, {
|
|
14
|
-
payload: import("../../data/wait-message/reducer").WaitMessageState;
|
|
14
|
+
payload: import("../../data/wait-message/reducer.js").WaitMessageState;
|
|
15
15
|
type: string;
|
|
16
16
|
} | import("redux").AnyAction | {
|
|
17
|
-
payload: import("../../data/breakpoint").Breakpoints;
|
|
17
|
+
payload: import("../../data/breakpoint/index.js").Breakpoints;
|
|
18
18
|
type: string;
|
|
19
|
-
}, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("
|
|
20
|
-
waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
|
|
21
|
-
error: import("../../data/error").ErrorState;
|
|
22
|
-
breakpoint: import("../../data/breakpoint").BreakpointState;
|
|
23
|
-
liveMessage: import("../../data/live-message").LiveMessageState;
|
|
24
|
-
}>, import("redux").AnyAction, null> | import("
|
|
25
|
-
waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
|
|
26
|
-
error: import("../../data/error").ErrorState;
|
|
27
|
-
breakpoint: import("../../data/breakpoint").BreakpointState;
|
|
28
|
-
liveMessage: import("../../data/live-message").LiveMessageState;
|
|
19
|
+
}, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("../..").ThunkMiddleware<import("redux").CombinedState<{
|
|
20
|
+
waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
|
|
21
|
+
error: import("../../data/error/index.js").ErrorState;
|
|
22
|
+
breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
|
|
23
|
+
liveMessage: import("../../data/live-message/index.js").LiveMessageState;
|
|
24
|
+
}>, import("redux").AnyAction, null> | import("../..").ThunkMiddleware<import("redux").CombinedState<{
|
|
25
|
+
waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
|
|
26
|
+
error: import("../../data/error/index.js").ErrorState;
|
|
27
|
+
breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
|
|
28
|
+
liveMessage: import("../../data/live-message/index.js").LiveMessageState;
|
|
29
29
|
}>, import("redux").AnyAction, undefined> | import("redux").Middleware<{}, import("redux").CombinedState<{
|
|
30
|
-
waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
|
|
31
|
-
error: import("../../data/error").ErrorState;
|
|
32
|
-
breakpoint: import("../../data/breakpoint").BreakpointState;
|
|
33
|
-
liveMessage: import("../../data/live-message").LiveMessageState;
|
|
30
|
+
waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
|
|
31
|
+
error: import("../../data/error/index.js").ErrorState;
|
|
32
|
+
breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
|
|
33
|
+
liveMessage: import("../../data/live-message/index.js").LiveMessageState;
|
|
34
34
|
}>, import("redux").Dispatch<import("redux").AnyAction>>>>;
|
|
35
35
|
container: HTMLElement;
|
|
36
36
|
baseElement: Element;
|
|
37
|
-
debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("
|
|
37
|
+
debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("../..").PrettyFormatOptions | undefined) => void;
|
|
38
38
|
rerender: (ui: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => void;
|
|
39
39
|
unmount: () => void;
|
|
40
40
|
asFragment: () => DocumentFragment;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { History } from 'history';
|
|
3
|
-
import { AppStore, RootState } from '../../data/store';
|
|
3
|
+
import { AppStore, RootState } from '../../data/store.js';
|
|
4
4
|
interface Args {
|
|
5
5
|
initialState: RootState;
|
|
6
6
|
store: AppStore;
|
|
@@ -9,35 +9,35 @@ interface Args {
|
|
|
9
9
|
}
|
|
10
10
|
export declare const renderWithRouterRedux: (ui: React.ReactElement, { route, history, initialState, store, }?: Args) => {
|
|
11
11
|
store: import("@reduxjs/toolkit").EnhancedStore<import("redux").CombinedState<{
|
|
12
|
-
waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
|
|
13
|
-
error: import("../../data/error").ErrorState;
|
|
14
|
-
breakpoint: import("../../data/breakpoint").BreakpointState;
|
|
15
|
-
liveMessage: import("../../data/live-message").LiveMessageState;
|
|
12
|
+
waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
|
|
13
|
+
error: import("../../data/error/index.js").ErrorState;
|
|
14
|
+
breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
|
|
15
|
+
liveMessage: import("../../data/live-message/index.js").LiveMessageState;
|
|
16
16
|
}>, {
|
|
17
|
-
payload: import("../../data/wait-message/reducer").WaitMessageState;
|
|
17
|
+
payload: import("../../data/wait-message/reducer.js").WaitMessageState;
|
|
18
18
|
type: string;
|
|
19
19
|
} | import("redux").AnyAction | {
|
|
20
|
-
payload: import("../../data/breakpoint").Breakpoints;
|
|
20
|
+
payload: import("../../data/breakpoint/index.js").Breakpoints;
|
|
21
21
|
type: string;
|
|
22
|
-
}, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("
|
|
23
|
-
waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
|
|
24
|
-
error: import("../../data/error").ErrorState;
|
|
25
|
-
breakpoint: import("../../data/breakpoint").BreakpointState;
|
|
26
|
-
liveMessage: import("../../data/live-message").LiveMessageState;
|
|
27
|
-
}>, import("redux").AnyAction, null> | import("
|
|
28
|
-
waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
|
|
29
|
-
error: import("../../data/error").ErrorState;
|
|
30
|
-
breakpoint: import("../../data/breakpoint").BreakpointState;
|
|
31
|
-
liveMessage: import("../../data/live-message").LiveMessageState;
|
|
22
|
+
}, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("../..").ThunkMiddleware<import("redux").CombinedState<{
|
|
23
|
+
waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
|
|
24
|
+
error: import("../../data/error/index.js").ErrorState;
|
|
25
|
+
breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
|
|
26
|
+
liveMessage: import("../../data/live-message/index.js").LiveMessageState;
|
|
27
|
+
}>, import("redux").AnyAction, null> | import("../..").ThunkMiddleware<import("redux").CombinedState<{
|
|
28
|
+
waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
|
|
29
|
+
error: import("../../data/error/index.js").ErrorState;
|
|
30
|
+
breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
|
|
31
|
+
liveMessage: import("../../data/live-message/index.js").LiveMessageState;
|
|
32
32
|
}>, import("redux").AnyAction, undefined> | import("redux").Middleware<{}, import("redux").CombinedState<{
|
|
33
|
-
waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
|
|
34
|
-
error: import("../../data/error").ErrorState;
|
|
35
|
-
breakpoint: import("../../data/breakpoint").BreakpointState;
|
|
36
|
-
liveMessage: import("../../data/live-message").LiveMessageState;
|
|
33
|
+
waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
|
|
34
|
+
error: import("../../data/error/index.js").ErrorState;
|
|
35
|
+
breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
|
|
36
|
+
liveMessage: import("../../data/live-message/index.js").LiveMessageState;
|
|
37
37
|
}>, import("redux").Dispatch<import("redux").AnyAction>>>>;
|
|
38
38
|
container: HTMLElement;
|
|
39
39
|
baseElement: Element;
|
|
40
|
-
debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("
|
|
40
|
+
debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("../..").PrettyFormatOptions | undefined) => void;
|
|
41
41
|
rerender: (ui: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => void;
|
|
42
42
|
unmount: () => void;
|
|
43
43
|
asFragment: () => DocumentFragment;
|
|
@@ -5,10 +5,10 @@ interface Args {
|
|
|
5
5
|
history: History;
|
|
6
6
|
}
|
|
7
7
|
export declare const renderWithRouter: (ui: React.ReactElement, { route, history, }?: Args) => {
|
|
8
|
-
history: History
|
|
8
|
+
history: History;
|
|
9
9
|
container: HTMLElement;
|
|
10
10
|
baseElement: Element;
|
|
11
|
-
debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("
|
|
11
|
+
debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("../..").PrettyFormatOptions | undefined) => void;
|
|
12
12
|
rerender: (ui: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => void;
|
|
13
13
|
unmount: () => void;
|
|
14
14
|
asFragment: () => DocumentFragment;
|
|
@@ -19,5 +19,5 @@ interface RenderWithStateAddOnsProps {
|
|
|
19
19
|
theme?: Theme;
|
|
20
20
|
[x: string]: any;
|
|
21
21
|
}
|
|
22
|
-
export declare const RenderWithStateAddOns:
|
|
22
|
+
export declare const RenderWithStateAddOns: ({ Component, reducer, saga, theme, ...rest }: RenderWithStateAddOnsProps) => JSX.Element | null;
|
|
23
23
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { History } from 'history';
|
|
3
3
|
import { Theme } from '@elliemae/pui-theme';
|
|
4
|
-
import { AppStore } from '../../data/store';
|
|
4
|
+
import { AppStore } from '../../data/store.js';
|
|
5
5
|
declare type AppRootProps = {
|
|
6
6
|
store: AppStore;
|
|
7
7
|
history: History;
|
|
@@ -11,5 +11,5 @@ declare type AppRootProps = {
|
|
|
11
11
|
WaitMessage?: React.ReactNode;
|
|
12
12
|
errorTemplate?: React.ComponentType;
|
|
13
13
|
};
|
|
14
|
-
export declare const AppRoot:
|
|
14
|
+
export declare const AppRoot: ({ store, history, theme, manageSession, WaitMessage, errorTemplate, children, }: AppRootProps) => JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -4,5 +4,5 @@ declare type StandAloneAppProps = {
|
|
|
4
4
|
WaitMessage: React.ReactNode;
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
};
|
|
7
|
-
export declare const StandAloneApp:
|
|
7
|
+
export declare const StandAloneApp: ({ manageSession, WaitMessage, children, }: StandAloneAppProps) => JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { History } from 'history';
|
|
3
|
+
interface AppRouterProps {
|
|
4
|
+
history: History;
|
|
5
|
+
basename?: string;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export declare const AppRouter: ({ history, ...props }: AppRouterProps) => JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { CHECKBOX_VARIANT } from '@elliemae/ds-basic/form/Checkbox';
|
|
3
2
|
import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
|
|
4
3
|
export declare type CheckBoxProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
|
|
5
4
|
name: string;
|
|
6
|
-
|
|
5
|
+
label: string;
|
|
7
6
|
rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
|
|
8
7
|
[x: string]: any;
|
|
9
8
|
};
|
|
10
|
-
export declare const CheckBox:
|
|
11
|
-
export { CHECKBOX_VARIANT };
|
|
9
|
+
export declare const CheckBox: ({ name, rules, ...rest }: CheckBoxProps) => JSX.Element;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { Story, Meta } from '@storybook/react';
|
|
2
|
-
import { CheckBoxProps } from '.';
|
|
2
|
+
import { CheckBoxProps } from './index.js';
|
|
3
3
|
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Basic: Story<CheckBoxProps<import("react-hook-form").FieldValues, string
|
|
6
|
-
labelText: string;
|
|
7
|
-
}>;
|
|
5
|
+
export declare const Basic: Story<CheckBoxProps<import("react-hook-form").FieldValues, string>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Story, Meta } from '@storybook/react';
|
|
2
|
-
import { CheckBoxProps } from '.';
|
|
2
|
+
import { CheckBoxProps } from './index.js';
|
|
3
3
|
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
4
|
export default _default;
|
|
5
5
|
export declare const SetValue: Story<CheckBoxProps<import("react-hook-form").FieldValues, string>>;
|
|
@@ -4,7 +4,6 @@ export declare type ComboBoxProps<TFieldValues extends FieldValues = FieldValues
|
|
|
4
4
|
name: string;
|
|
5
5
|
defaultValue?: string;
|
|
6
6
|
rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
|
|
7
|
-
onChange: (e: React.BaseSyntheticEvent) => void;
|
|
8
7
|
[x: string]: any;
|
|
9
8
|
};
|
|
10
|
-
export declare const ComboBox:
|
|
9
|
+
export declare const ComboBox: ({ name, defaultValue, rules, ...rest }: ComboBoxProps) => JSX.Element;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { Story, Meta } from '@storybook/react';
|
|
2
|
-
import {
|
|
2
|
+
import { ComboBoxProps } from './index.js';
|
|
3
3
|
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Basic: Story<
|
|
6
|
-
labelText: string;
|
|
7
|
-
}>;
|
|
5
|
+
export declare const Basic: Story<ComboBoxProps<import("react-hook-form").FieldValues, string>>;
|
|
@@ -3,4 +3,4 @@ import { UseFormReturn, FieldValues } from 'react-hook-form';
|
|
|
3
3
|
export declare type ConnectFormProps = {
|
|
4
4
|
children: <TFieldValues extends FieldValues>(methods: UseFormReturn<TFieldValues>) => JSX.Element;
|
|
5
5
|
};
|
|
6
|
-
export declare const ConnectForm:
|
|
6
|
+
export declare const ConnectForm: ({ children }: ConnectFormProps) => JSX.Element;
|
|
@@ -6,4 +6,4 @@ export declare type DateInputProps<TFieldValues extends FieldValues = FieldValue
|
|
|
6
6
|
rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
|
|
7
7
|
[x: string]: any;
|
|
8
8
|
};
|
|
9
|
-
export declare const DateInput:
|
|
9
|
+
export declare const DateInput: ({ name, defaultValue, rules, ...rest }: DateInputProps) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Story, Meta } from '@storybook/react';
|
|
2
|
-
import { DateInputProps } from '.';
|
|
2
|
+
import { DateInputProps } from './index.js';
|
|
3
3
|
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
4
|
export default _default;
|
|
5
5
|
export declare const Basic: Story<DateInputProps<import("react-hook-form").FieldValues, string> & {
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
|
|
3
3
|
export declare type DatePickerProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
|
|
4
4
|
name: string;
|
|
5
|
+
labelText: string;
|
|
5
6
|
defaultValue?: string;
|
|
6
7
|
rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
|
|
7
8
|
[x: string]: any;
|
|
8
9
|
};
|
|
9
|
-
export declare const DatePicker:
|
|
10
|
+
export declare const DatePicker: ({ name, defaultValue, rules, ...rest }: DatePickerProps) => JSX.Element;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { Story, Meta } from '@storybook/react';
|
|
2
|
-
import { DatePickerProps } from '.';
|
|
2
|
+
import { DatePickerProps } from './index.js';
|
|
3
3
|
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Basic: Story<DatePickerProps<import("react-hook-form").FieldValues, string
|
|
6
|
-
labelText: string;
|
|
7
|
-
}>;
|
|
5
|
+
export declare const Basic: Story<DatePickerProps<import("react-hook-form").FieldValues, string>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Story, Meta } from '@storybook/react';
|
|
2
|
-
import { FormItemLayoutProps } from '.';
|
|
2
|
+
import { FormItemLayoutProps } from './index.js';
|
|
3
3
|
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
4
|
export default _default;
|
|
5
5
|
export declare const Basic: Story<FormItemLayoutProps>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare type FormLayoutBlockItemProps = {
|
|
3
|
+
inputID: string;
|
|
4
|
+
label: string;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
[x: string]: any;
|
|
7
|
+
};
|
|
8
|
+
export declare const FormLayoutBlockItem: ({ inputID, label, ...rest }: FormLayoutBlockItemProps) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Story, Meta } from '@storybook/react';
|
|
2
|
-
import {
|
|
2
|
+
import { FormLayoutBlockItemProps } from './index.js';
|
|
3
3
|
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Basic: Story<
|
|
5
|
+
export declare const Basic: Story<FormLayoutBlockItemProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { MASK_TYPES, MASK_PIPES } from '@elliemae/ds-
|
|
2
|
+
import { MASK_TYPES, MASK_PIPES } from '@elliemae/ds-form/InputMask';
|
|
3
3
|
import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
|
|
4
4
|
export declare type InputMaskProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
|
|
5
5
|
name: string;
|
|
@@ -8,5 +8,5 @@ export declare type InputMaskProps<TFieldValues extends FieldValues = FieldValue
|
|
|
8
8
|
mask: <T>(value: T) => T;
|
|
9
9
|
[x: string]: any;
|
|
10
10
|
};
|
|
11
|
-
export declare const InputMask:
|
|
11
|
+
export declare const InputMask: ({ name, defaultValue, rules, mask, ...rest }: InputMaskProps) => JSX.Element;
|
|
12
12
|
export { MASK_TYPES, MASK_PIPES };
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { Story, Meta } from '@storybook/react';
|
|
2
|
-
import { InputMaskProps } from '.';
|
|
2
|
+
import { InputMaskProps } from './index.js';
|
|
3
3
|
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Basic: Story<InputMaskProps<import("react-hook-form").FieldValues, string
|
|
6
|
-
labelText: string;
|
|
7
|
-
}>;
|
|
5
|
+
export declare const Basic: Story<InputMaskProps<import("react-hook-form").FieldValues, string>>;
|
|
@@ -7,4 +7,4 @@ export declare type LargeTextBoxProps<TFieldValues extends FieldValues = FieldVa
|
|
|
7
7
|
mask: <T>(value: T) => T;
|
|
8
8
|
[x: string]: any;
|
|
9
9
|
};
|
|
10
|
-
export declare const LargeTextBox:
|
|
10
|
+
export declare const LargeTextBox: ({ name, defaultValue, rules, ...rest }: LargeTextBoxProps) => JSX.Element;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { Story, Meta } from '@storybook/react';
|
|
2
|
-
import { LargeTextBoxProps } from '.';
|
|
2
|
+
import { LargeTextBoxProps } from './index.js';
|
|
3
3
|
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Basic: Story<LargeTextBoxProps<import("react-hook-form").FieldValues, string
|
|
6
|
-
labelText: string;
|
|
7
|
-
}>;
|
|
5
|
+
export declare const Basic: Story<LargeTextBoxProps<import("react-hook-form").FieldValues, string>>;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
|
|
3
3
|
export declare type RadioProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
|
|
4
4
|
name: string;
|
|
5
|
+
labelText: string;
|
|
5
6
|
defaultChecked?: boolean;
|
|
6
7
|
rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
|
|
7
|
-
mask: <T>(value: T) => T;
|
|
8
8
|
[x: string]: any;
|
|
9
9
|
};
|
|
10
|
-
export declare const Radio:
|
|
10
|
+
export declare const Radio: ({ name, defaultChecked, rules, ...rest }: RadioProps) => JSX.Element;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { Story, Meta } from '@storybook/react';
|
|
2
|
-
import { RadioProps } from '.';
|
|
2
|
+
import { RadioProps } from './index.js';
|
|
3
3
|
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Basic: Story<RadioProps<import("react-hook-form").FieldValues, string
|
|
6
|
-
labelText: string;
|
|
7
|
-
}>;
|
|
5
|
+
export declare const Basic: Story<RadioProps<import("react-hook-form").FieldValues, string>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Story, Meta } from '@storybook/react';
|
|
2
|
-
import { RadioProps } from '.';
|
|
2
|
+
import { RadioProps } from './index.js';
|
|
3
3
|
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
4
|
export default _default;
|
|
5
5
|
export declare const SetValue: Story<RadioProps<import("react-hook-form").FieldValues, string>>;
|