@elliemae/pui-app-sdk 5.7.1 → 6.0.0-next.10
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/README.md +8 -0
- package/dist/cjs/analytics/appdynamics.js +1 -1
- package/dist/cjs/analytics/page-view-event.js +1 -1
- package/dist/cjs/api/helpers.js +14 -4
- package/dist/cjs/api/users/index.endpoint.cjs +12 -0
- package/dist/cjs/app.config.json +2 -2
- package/dist/cjs/communication/http-client/index.js +2 -2
- package/dist/cjs/communication/http-client/response-interceptor.js +2 -2
- package/dist/cjs/communication/http-client/retry-axios.js +14 -14
- package/dist/cjs/communication/http-client/retry.js +1 -1
- package/dist/cjs/communication/http-client/tests/hello.endpoint.cjs +12 -0
- package/dist/cjs/communication/http-client/tests/private.endpoint.cjs +13 -0
- package/dist/cjs/data/appMiddleware.js +2 -3
- package/dist/cjs/{view/fields/large-text-box/index.js → data/auth-state.js} +24 -20
- package/dist/cjs/data/breakpoint-state.js +46 -0
- package/dist/cjs/data/{error/index.js → error-state.js} +3 -3
- package/dist/cjs/data/errorMiddleware.js +2 -2
- package/dist/cjs/data/listenerMiddleware.js +5 -3
- package/dist/cjs/data/{live-message/index.js → live-message-state.js} +3 -3
- package/dist/cjs/data/{logout/actions.js → logout-actions.js} +6 -16
- package/dist/cjs/data/{navigation-prompt/actions.js → navigation-prompt-actions.js} +6 -16
- package/dist/cjs/data/queryMiddleware.js +3 -1
- package/dist/cjs/data/reducers.js +8 -8
- package/dist/cjs/data/store.js +12 -8
- package/dist/cjs/data/wait-message-state.js +46 -0
- package/dist/cjs/index.js +13 -35
- package/dist/cjs/sideeffect/auth/index.js +4 -4
- package/dist/cjs/sideeffect/error-toast/index.js +3 -3
- package/dist/cjs/sideeffect/wait-message/index.js +3 -3
- package/dist/cjs/utils/app-config/config.js +2 -2
- package/dist/cjs/utils/app-config/index.js +1 -1
- package/dist/cjs/utils/auth/helper.js +2 -2
- package/dist/cjs/utils/auth/index.js +2 -2
- package/dist/cjs/utils/font-size.js +1 -1
- package/dist/cjs/utils/micro-frontend/guest.js +9 -8
- package/dist/cjs/utils/micro-frontend/host.js +10 -8
- package/dist/cjs/utils/micro-frontend/index.js +15 -5
- package/dist/cjs/utils/micro-frontend/ssfguest-adapter.js +1 -1
- package/dist/cjs/utils/session.js +26 -4
- package/dist/cjs/{data/breakpoint/index.js → utils/storybook/main.js} +31 -26
- package/dist/cjs/utils/storybook/manager.js +2 -2
- package/dist/cjs/{data/wait-message/actions.js → utils/storybook/middleware.js} +7 -18
- package/dist/cjs/utils/storybook/preview.js +10 -5
- package/dist/cjs/utils/storybook/theme.js +5 -8
- package/dist/cjs/utils/storybook/vite.js +33 -0
- package/dist/cjs/{view/fields/date-input/index.js → utils/storybook/webpack.js} +22 -20
- package/dist/cjs/utils/testing/index.js +1 -1
- package/dist/cjs/utils/testing/render-with-redux.js +1 -5
- package/dist/cjs/utils/testing/render-with-router-redux.js +1 -2
- package/dist/cjs/utils/url.js +2 -0
- package/dist/cjs/utils/web-storage.js +1 -1
- package/dist/cjs/utils/window.js +1 -1
- package/dist/cjs/view/app-root/hosted-app.js +3 -3
- package/dist/cjs/view/app-root/index.js +2 -0
- package/dist/cjs/view/app-root/stand-alone-app.js +3 -3
- package/dist/cjs/view/app-root/style.js +1 -1
- package/dist/cjs/{data/auth/actions.js → view/app-root/use-prefetch-resources.js} +15 -31
- package/dist/cjs/view/breakpoint/use-breakpoint.js +4 -4
- package/dist/cjs/view/error-boundary/index.js +2 -2
- package/dist/cjs/view/error-toast/index.js +4 -4
- package/dist/cjs/view/fetch-host-app-data/index.js +1 -1
- package/dist/cjs/view/fetch-host-app-data/store.js +12 -2
- package/dist/cjs/view/fields/autocomplete/index.js +4 -1
- package/dist/cjs/view/fields/combo-box-v3/index.js +1 -1
- package/dist/cjs/view/fields/masked-input-text/index.js +1 -1
- package/dist/cjs/view/fields/watch-value.js +1 -1
- package/dist/cjs/view/form/index.js +1 -1
- package/dist/cjs/view/form/personal-info-section.js +5 -7
- package/dist/cjs/view/login/index.js +2 -2
- package/dist/cjs/view/micro-app/app-factory/index.js +17 -7
- package/dist/cjs/view/micro-app/index.js +1 -1
- package/dist/cjs/view/micro-app/resources/script.js +16 -8
- package/dist/cjs/view/micro-app/resources/style.js +14 -1
- package/dist/cjs/view/micro-app/use-app-will-render.js +15 -5
- package/dist/cjs/view/micro-iframe-app/app.js +1 -1
- package/dist/cjs/view/micro-iframe-app/iframe/index.js +1 -2
- package/dist/cjs/view/modals/navigation-prompt/index.js +3 -3
- package/dist/cjs/view/modals/session-expiry/index.js +3 -3
- package/dist/cjs/view/page.js +1 -1
- package/dist/cjs/view/require-auth.js +3 -3
- package/dist/cjs/view/session-timeout/index.js +2 -2
- package/dist/cjs/view/storybook/decorator.js +1 -1
- package/dist/cjs/view/use-window-size-change.js +1 -1
- package/dist/cjs/view/visually-hidden/index.js +2 -1
- package/dist/cjs/view/wait-message/index.js +2 -2
- package/dist/cjs/view/wait-message/wait-message-launcher.js +3 -3
- package/dist/esm/analytics/page-view-event.js +1 -1
- package/dist/esm/api/users/index.endpoint.cjs +12 -0
- package/dist/esm/app.config.json +2 -2
- package/dist/esm/communication/http-client/response-interceptor.js +1 -1
- package/dist/esm/communication/http-client/retry-axios.js +13 -13
- package/dist/esm/communication/http-client/retry.js +1 -1
- package/dist/esm/communication/http-client/tests/hello.endpoint.cjs +12 -0
- package/dist/esm/communication/http-client/tests/private.endpoint.cjs +13 -0
- package/dist/esm/data/appMiddleware.js +2 -3
- package/dist/esm/data/auth-state.js +24 -0
- package/dist/esm/data/breakpoint-state.js +26 -0
- package/dist/esm/data/errorMiddleware.js +2 -2
- package/dist/esm/data/listenerMiddleware.js +5 -3
- package/dist/esm/data/logout-actions.js +8 -0
- package/dist/esm/data/navigation-prompt-actions.js +8 -0
- package/dist/esm/data/queryMiddleware.js +3 -1
- package/dist/esm/data/reducers.js +4 -4
- package/dist/esm/data/store.js +12 -8
- package/dist/esm/data/wait-message-state.js +26 -0
- package/dist/esm/index.js +11 -37
- package/dist/esm/sideeffect/auth/index.js +4 -8
- package/dist/esm/sideeffect/error-toast/index.js +2 -2
- package/dist/esm/sideeffect/wait-message/index.js +3 -3
- package/dist/esm/utils/auth/helper.js +1 -1
- package/dist/esm/utils/auth/index.js +2 -2
- package/dist/esm/utils/font-size.js +1 -1
- package/dist/esm/utils/micro-frontend/guest.js +8 -7
- package/dist/esm/utils/micro-frontend/host.js +6 -4
- package/dist/esm/utils/micro-frontend/index.js +14 -4
- package/dist/esm/utils/session.js +13 -1
- package/dist/esm/utils/storybook/main.js +33 -0
- package/dist/esm/utils/storybook/manager.js +2 -2
- package/dist/esm/utils/storybook/middleware.js +7 -0
- package/dist/esm/utils/storybook/preview.js +10 -5
- package/dist/esm/utils/storybook/theme.js +5 -8
- package/dist/esm/utils/storybook/vite.js +13 -0
- package/dist/esm/utils/storybook/webpack.js +22 -0
- package/dist/esm/utils/testing/index.js +1 -1
- package/dist/esm/utils/testing/render-with-redux.js +1 -5
- package/dist/esm/utils/testing/render-with-router-redux.js +1 -2
- package/dist/esm/utils/url.js +2 -0
- package/dist/esm/utils/window.js +1 -1
- package/dist/esm/view/app-root/hosted-app.js +1 -1
- package/dist/esm/view/app-root/index.js +2 -0
- package/dist/esm/view/app-root/stand-alone-app.js +1 -1
- package/dist/esm/view/app-root/style.js +1 -1
- package/dist/esm/view/app-root/use-prefetch-resources.js +15 -0
- package/dist/esm/view/breakpoint/use-breakpoint.js +7 -4
- package/dist/esm/view/error-boundary/index.js +1 -1
- package/dist/esm/view/error-toast/index.js +3 -3
- package/dist/esm/view/fields/autocomplete/index.js +4 -1
- package/dist/esm/view/fields/combo-box-v3/index.js +1 -1
- package/dist/esm/view/form/personal-info-section.js +5 -7
- package/dist/esm/view/login/index.js +2 -2
- package/dist/esm/view/micro-app/app-factory/index.js +21 -9
- package/dist/esm/view/micro-app/resources/script.js +17 -9
- package/dist/esm/view/micro-app/resources/style.js +15 -2
- package/dist/esm/view/micro-app/use-app-will-render.js +1 -1
- package/dist/esm/view/micro-iframe-app/iframe/index.js +0 -1
- package/dist/esm/view/modals/navigation-prompt/index.js +1 -1
- package/dist/esm/view/modals/session-expiry/index.js +1 -1
- package/dist/esm/view/require-auth.js +1 -1
- package/dist/esm/view/session-timeout/index.js +1 -1
- package/dist/esm/view/storybook/decorator.js +1 -1
- package/dist/esm/view/use-window-size-change.js +1 -1
- package/dist/esm/view/visually-hidden/index.js +1 -0
- package/dist/esm/view/wait-message/index.js +1 -1
- package/dist/esm/view/wait-message/wait-message-launcher.js +1 -1
- package/dist/types/docusaurus.config.d.ts +2 -0
- package/dist/types/lib/api/helpers.d.ts +1 -1
- package/dist/types/lib/communication/http-client/response-interceptor.d.ts +1 -3
- package/dist/types/lib/communication/http-client/retry-axios.d.ts +5 -5
- package/dist/types/lib/data/appMiddleware.d.ts +2 -2
- package/dist/types/lib/data/auth-state.d.ts +28 -0
- package/dist/types/lib/data/breakpoint-state.d.ts +15 -0
- package/dist/types/lib/data/{error/index.d.ts → error-state.d.ts} +5 -1
- package/dist/types/lib/data/listenerMiddleware.d.ts +38 -17
- package/dist/types/lib/data/{live-message/index.d.ts → live-message-state.d.ts} +5 -1
- package/dist/types/lib/data/logout-actions.d.ts +4 -0
- package/dist/types/lib/data/navigation-prompt-actions.d.ts +4 -0
- package/dist/types/lib/data/reducers.d.ts +12 -15
- package/dist/types/lib/data/saga.d.ts +3 -5
- package/dist/types/lib/data/store.d.ts +31 -38
- package/dist/types/lib/data/types.d.ts +6 -6
- package/dist/types/lib/data/wait-message-state.d.ts +17 -0
- package/dist/types/lib/index.d.ts +6 -16
- package/dist/types/lib/sideeffect/auth/index.d.ts +1 -1
- package/dist/types/lib/utils/app-config/config.d.ts +1 -3
- package/dist/types/lib/utils/app-host-integration/react.d.ts +2 -2
- package/dist/types/lib/utils/guest-with-service.d.ts +1 -3
- package/dist/types/lib/utils/micro-frontend/host.d.ts +4 -4
- package/dist/types/lib/utils/micro-frontend/index.d.ts +1 -0
- package/dist/types/lib/utils/micro-frontend/types.d.ts +5 -4
- package/dist/types/lib/utils/session.d.ts +3 -9
- package/dist/types/lib/utils/storybook/main.d.ts +2 -0
- package/dist/types/lib/utils/storybook/manager.d.ts +2 -1
- package/dist/types/lib/utils/storybook/middleware.d.ts +1 -0
- package/dist/types/lib/utils/storybook/preview.d.ts +5 -29
- package/dist/types/lib/utils/storybook/theme.d.ts +2 -5
- package/dist/types/lib/utils/storybook/vite.d.ts +10 -0
- package/dist/types/lib/utils/storybook/webpack.d.ts +17 -0
- package/dist/types/lib/utils/testing/render-with-redux.d.ts +15 -19
- package/dist/types/lib/utils/testing/render-with-router-redux.d.ts +14 -18
- package/dist/types/lib/utils/testing/render-with-router.d.ts +1 -1
- package/dist/types/lib/utils/testing/render-with-state-addons.d.ts +2 -2
- package/dist/types/lib/utils/url.d.ts +1 -0
- package/dist/types/lib/utils/window.d.ts +1 -3
- package/dist/types/lib/view/app-root/hosted-app.d.ts +2 -2
- package/dist/types/lib/view/app-root/index.d.ts +2 -2
- package/dist/types/lib/view/app-root/stand-alone-app.d.ts +2 -2
- package/dist/types/lib/view/app-root/use-prefetch-resources.d.ts +1 -0
- package/dist/types/lib/view/breakpoint/index.stories.d.ts +6 -3
- package/dist/types/lib/view/breakpoint/use-media-query-list.d.ts +1 -1
- package/dist/types/lib/view/error-toast/index.d.ts +1 -4
- package/dist/types/lib/view/error-toast/index.stories.d.ts +12 -5
- package/dist/types/lib/view/fields/autocomplete/advanced-autocomplete.stories.d.ts +6 -5
- package/dist/types/lib/view/fields/autocomplete/async-suggestions-autocomplete.stories.d.ts +6 -5
- package/dist/types/lib/view/fields/autocomplete/index.stories.d.ts +6 -5
- package/dist/types/lib/view/fields/check-box/index.stories.d.ts +8 -5
- package/dist/types/lib/view/fields/check-box/set-value.stories.d.ts +8 -5
- package/dist/types/lib/view/fields/combo-box-v3/index.stories.d.ts +8 -5
- package/dist/types/lib/view/fields/connect-form.d.ts +2 -2
- package/dist/types/lib/view/fields/date-range-picker/index.d.ts +2 -2
- package/dist/types/lib/view/fields/date-range-picker/index.stories.d.ts +8 -7
- package/dist/types/lib/view/fields/date-time-picker/index.stories.d.ts +19 -39
- package/dist/types/lib/view/fields/form-layout-block-item/index.stories.d.ts +8 -4
- package/dist/types/lib/view/fields/input-text/index.stories.d.ts +8 -10
- package/dist/types/lib/view/fields/masked-input-text/index.d.ts +2 -2
- package/dist/types/lib/view/fields/masked-input-text/index.stories.d.ts +10 -0
- package/dist/types/lib/view/fields/toggle/index.stories.d.ts +6 -10
- package/dist/types/lib/view/fields/watch-value.d.ts +2 -2
- package/dist/types/lib/view/form/index.d.ts +2 -2
- package/dist/types/lib/view/form/index.stories.d.ts +7 -3
- package/dist/types/lib/view/form/personal-info-section.d.ts +0 -1
- package/dist/types/lib/view/form/submit-button/index.d.ts +2 -2
- package/dist/types/lib/view/form/usecases.stories.d.ts +9 -12
- package/dist/types/lib/view/live-message/index.stories.d.ts +5 -3
- package/dist/types/lib/view/micro-app/app-factory/index.d.ts +1 -0
- package/dist/types/lib/view/micro-app/resources/manifest.d.ts +1 -1
- package/dist/types/lib/view/micro-app/resources/script.d.ts +4 -0
- package/dist/types/lib/view/micro-app/resources/style.d.ts +4 -0
- package/dist/types/lib/view/micro-app/types.d.ts +2 -2
- package/dist/types/lib/view/micro-app/utils.d.ts +2 -2
- package/dist/types/lib/view/micro-iframe-app/iframe/index.d.ts +2 -2
- package/dist/types/lib/view/modals/error/index.stories.d.ts +9 -6
- package/dist/types/lib/view/modals/navigation-prompt/index.stories.d.ts +9 -10
- package/dist/types/lib/view/modals/session-expiry/index.stories.d.ts +10 -6
- package/dist/types/lib/view/session-timeout/index.stories.d.ts +8 -4
- package/dist/types/lib/view/storybook/decorator.d.ts +1 -1
- package/dist/types/lib/view/visually-hidden/index.d.ts +1 -0
- package/dist/types/lib/view/wait-message/index.stories.d.ts +8 -8
- package/package.json +52 -50
- package/dist/cjs/data/auth/reducer.js +0 -49
- package/dist/cjs/data/wait-message/reducer.js +0 -51
- package/dist/cjs/utils/storybook/cjs/main.js +0 -58
- package/dist/cjs/utils/storybook/cjs/middleware.js +0 -6
- package/dist/cjs/utils/storybook/cjs/vite.js +0 -8
- package/dist/cjs/utils/storybook/cjs/webpack.js +0 -20
- package/dist/cjs/view/fields/combo-box/index.js +0 -50
- package/dist/cjs/view/fields/date-picker/index.js +0 -50
- package/dist/cjs/view/fields/form-item-layout/index.js +0 -43
- package/dist/cjs/view/fields/input-mask/index.js +0 -60
- package/dist/cjs/view/fields/radio/index.js +0 -48
- package/dist/cjs/view/fields/radio-group/index.js +0 -40
- package/dist/cjs/view/fields/text-box/index.js +0 -40
- package/dist/esm/data/auth/actions.js +0 -31
- package/dist/esm/data/auth/reducer.js +0 -19
- package/dist/esm/data/breakpoint/index.js +0 -28
- package/dist/esm/data/logout/actions.js +0 -18
- package/dist/esm/data/navigation-prompt/actions.js +0 -18
- package/dist/esm/data/wait-message/actions.js +0 -18
- package/dist/esm/data/wait-message/reducer.js +0 -21
- package/dist/esm/view/fields/combo-box/index.js +0 -32
- package/dist/esm/view/fields/date-input/index.js +0 -22
- package/dist/esm/view/fields/date-picker/index.js +0 -22
- package/dist/esm/view/fields/form-item-layout/index.js +0 -23
- package/dist/esm/view/fields/input-mask/index.js +0 -42
- package/dist/esm/view/fields/large-text-box/index.js +0 -22
- package/dist/esm/view/fields/radio/index.js +0 -30
- package/dist/esm/view/fields/radio-group/index.js +0 -22
- package/dist/esm/view/fields/text-box/index.js +0 -22
- package/dist/types/lib/data/auth/actions.d.ts +0 -22
- package/dist/types/lib/data/auth/reducer.d.ts +0 -6
- package/dist/types/lib/data/breakpoint/index.d.ts +0 -13
- package/dist/types/lib/data/logout/actions.d.ts +0 -9
- package/dist/types/lib/data/navigation-prompt/actions.d.ts +0 -9
- package/dist/types/lib/data/wait-message/actions.d.ts +0 -14
- package/dist/types/lib/data/wait-message/reducer.d.ts +0 -7
- package/dist/types/lib/utils/storybook/cjs/main.d.ts +0 -66
- package/dist/types/lib/utils/storybook/cjs/middleware.d.ts +0 -2
- package/dist/types/lib/utils/storybook/cjs/vite.d.ts +0 -5
- package/dist/types/lib/utils/storybook/cjs/webpack.d.ts +0 -17
- package/dist/types/lib/view/fields/combo-box/index.d.ts +0 -8
- package/dist/types/lib/view/fields/combo-box/index.stories.d.ts +0 -5
- package/dist/types/lib/view/fields/date-input/index.d.ts +0 -8
- package/dist/types/lib/view/fields/date-input/index.stories.d.ts +0 -7
- package/dist/types/lib/view/fields/date-picker/index.d.ts +0 -9
- package/dist/types/lib/view/fields/date-picker/index.stories.d.ts +0 -5
- package/dist/types/lib/view/fields/form-item-layout/index.d.ts +0 -9
- package/dist/types/lib/view/fields/form-item-layout/index.stories.d.ts +0 -5
- package/dist/types/lib/view/fields/input-mask/index.d.ts +0 -15
- package/dist/types/lib/view/fields/input-mask/index.stories.d.ts +0 -5
- package/dist/types/lib/view/fields/large-text-box/index.d.ts +0 -9
- package/dist/types/lib/view/fields/large-text-box/index.stories.d.ts +0 -5
- package/dist/types/lib/view/fields/masked-input-text/with-money-mask.stories.d.ts +0 -11
- package/dist/types/lib/view/fields/masked-input-text/with-percentage-mask.stories.d.ts +0 -11
- package/dist/types/lib/view/fields/radio/index.d.ts +0 -9
- package/dist/types/lib/view/fields/radio/index.stories.d.ts +0 -5
- package/dist/types/lib/view/fields/radio/set-value.stories.d.ts +0 -5
- package/dist/types/lib/view/fields/radio-group/index.d.ts +0 -8
- package/dist/types/lib/view/fields/radio-group/index.stories.d.ts +0 -5
- package/dist/types/lib/view/fields/text-box/index.d.ts +0 -8
- package/dist/types/lib/view/fields/text-box/index.stories.d.ts +0 -7
- /package/dist/esm/data/{error/index.js → error-state.js} +0 -0
- /package/dist/esm/data/{live-message/index.js → live-message-state.js} +0 -0
- /package/dist/types/lib/api/users/{index.endpoint.d.ts → index.endpoint.d.cts} +0 -0
- /package/dist/types/lib/communication/http-client/tests/{hello.endpoint.d.ts → hello.endpoint.d.cts} +0 -0
- /package/dist/types/lib/communication/http-client/tests/{private.endpoint.d.ts → private.endpoint.d.cts} +0 -0
|
@@ -14,8 +14,8 @@ interface ReducerInjectorArgs {
|
|
|
14
14
|
}
|
|
15
15
|
interface RenderWithStateAddOnsProps {
|
|
16
16
|
Component: React.ComponentType;
|
|
17
|
-
reducer: ReducerInjectorArgs |
|
|
18
|
-
saga: SagaInjectorArgs |
|
|
17
|
+
reducer: ReducerInjectorArgs | ReducerInjectorArgs[];
|
|
18
|
+
saga: SagaInjectorArgs | SagaInjectorArgs[];
|
|
19
19
|
theme?: Theme;
|
|
20
20
|
[x: string]: any;
|
|
21
21
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { IMicroAppGuest, IMicroAppHost, BAEvent } from '@elliemae/pui-micro-frontend-base';
|
|
2
2
|
import { BreakPoint } from '@elliemae/pui-theme';
|
|
3
3
|
import { Logger } from '@elliemae/pui-diagnostics';
|
|
4
|
-
export type EMUI = {
|
|
5
|
-
[key: string]: IMicroAppGuest;
|
|
6
|
-
} & {
|
|
4
|
+
export type EMUI = Record<string, IMicroAppGuest> & {
|
|
7
5
|
_BASE_PATH: string;
|
|
8
6
|
_ASSET_PATH: string;
|
|
9
7
|
version: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
interface HostedAppProps {
|
|
3
3
|
WaitMessage: React.ReactNode;
|
|
4
4
|
children: React.ReactNode;
|
|
5
|
-
}
|
|
5
|
+
}
|
|
6
6
|
export declare const HostedApp: ({ WaitMessage, children }: HostedAppProps) => import("react/jsx-runtime.js").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { History } from 'history';
|
|
3
3
|
import { Theme } from '@elliemae/pui-theme';
|
|
4
4
|
import { AppStore } from '../../data/store.js';
|
|
5
|
-
|
|
5
|
+
interface AppRootProps {
|
|
6
6
|
store: AppStore;
|
|
7
7
|
history: History;
|
|
8
8
|
basename?: string;
|
|
@@ -12,6 +12,6 @@ type AppRootProps = {
|
|
|
12
12
|
WaitMessage?: React.ReactNode;
|
|
13
13
|
errorTemplate?: React.ComponentType;
|
|
14
14
|
strictMode?: boolean;
|
|
15
|
-
}
|
|
15
|
+
}
|
|
16
16
|
export declare const AppRoot: ({ store, history, basename, theme, manageSession, WaitMessage, errorTemplate, children, strictMode, }: AppRootProps) => import("react/jsx-runtime.js").JSX.Element;
|
|
17
17
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
interface StandAloneAppProps {
|
|
3
3
|
manageSession: boolean;
|
|
4
4
|
WaitMessage: React.ReactNode;
|
|
5
5
|
children: React.ReactNode;
|
|
6
|
-
}
|
|
6
|
+
}
|
|
7
7
|
export declare const StandAloneApp: ({ manageSession, WaitMessage, children, }: StandAloneAppProps) => import("react/jsx-runtime.js").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const usePrefetchResources: () => void;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
};
|
|
3
4
|
export default _default;
|
|
4
|
-
export declare const Basic:
|
|
5
|
+
export declare const Basic: {
|
|
6
|
+
render: () => import("react/jsx-runtime.js").JSX.Element;
|
|
7
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useMediaQueryList: (queries:
|
|
1
|
+
export declare const useMediaQueryList: (queries: string[], values: string[], defaultValue: string) => string;
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { StoryObj } from '@storybook/react';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").NamedExoticComponent<import("./index.js").ErrorToastProps>;
|
|
6
|
+
};
|
|
7
|
+
export default meta;
|
|
8
|
+
type Story = StoryObj<typeof meta>;
|
|
9
|
+
export declare const Error: Story;
|
|
10
|
+
export declare const Success: Story;
|
|
11
|
+
export declare const Info: Story;
|
|
12
|
+
export declare const Warning: Story;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
5
|
-
|
|
1
|
+
import { StoryObj, Meta } from '@storybook/react';
|
|
2
|
+
import { Autocomplete } from './index.js';
|
|
3
|
+
declare const meta: Meta<typeof Autocomplete>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Autocomplete>;
|
|
6
|
+
export declare const AdvancedAutocomplete: Story;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
5
|
-
|
|
1
|
+
import { StoryObj, Meta } from '@storybook/react';
|
|
2
|
+
import { Autocomplete } from './index.js';
|
|
3
|
+
declare const meta: Meta<typeof Autocomplete>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Autocomplete>;
|
|
6
|
+
export declare const AsyncSuggestionsAutocomplete: Story;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
5
|
-
|
|
1
|
+
import { StoryObj, Meta } from '@storybook/react';
|
|
2
|
+
import { Autocomplete } from './index.js';
|
|
3
|
+
declare const meta: Meta<typeof Autocomplete>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Autocomplete>;
|
|
6
|
+
export declare const Basic: Story;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ name, defaultValue, rules, ...rest }: import("./index.js").CheckBoxProps<import("react-hook-form").FieldValues, string>) => import("react/jsx-runtime.js").JSX.Element;
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
type Story = StoryObj<typeof meta>;
|
|
8
|
+
export declare const Basic: Story;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ name, defaultValue, rules, ...rest }: import("./index.js").CheckBoxProps<import("react-hook-form").FieldValues, string>) => import("react/jsx-runtime.js").JSX.Element;
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
type Story = StoryObj<typeof meta>;
|
|
8
|
+
export declare const SetValue: Story;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ name, defaultValue, rules, clearable, filteredOptions, ...rest }: import("./index.js").ComboBoxV3Props<import("react-hook-form").FieldValues, string>) => import("react/jsx-runtime.js").JSX.Element;
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
type Story = StoryObj<typeof meta>;
|
|
8
|
+
export declare const Basic: Story;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { UseFormReturn, FieldValues } from 'react-hook-form';
|
|
3
|
-
export
|
|
3
|
+
export interface ConnectFormProps {
|
|
4
4
|
children: <TFieldValues extends FieldValues>(methods: UseFormReturn<TFieldValues>) => JSX.Element;
|
|
5
|
-
}
|
|
5
|
+
}
|
|
6
6
|
export declare const ConnectForm: ({ children }: ConnectFormProps) => JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
|
|
2
|
-
export
|
|
2
|
+
export interface DateRangePickerProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> {
|
|
3
3
|
name: string;
|
|
4
4
|
defaultValue?: [string, string];
|
|
5
5
|
rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
|
|
6
6
|
[x: string]: any;
|
|
7
|
-
}
|
|
7
|
+
}
|
|
8
8
|
export declare const DateRangePicker: ({ name, defaultValue, rules, ...rest }: DateRangePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ name, defaultValue, rules, ...rest }: import("./index.js").DateRangePickerProps<import("react-hook-form").FieldValues, string>) => import("react/jsx-runtime.js").JSX.Element;
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
type Story = StoryObj<typeof meta>;
|
|
8
|
+
export declare const Basic: Story;
|
|
@@ -1,40 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
2
|
import { DateTimePickerProps } from './index.js';
|
|
3
|
-
declare const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export declare const DateTimePickerExample: Story
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export declare const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
export declare const
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
export declare const
|
|
21
|
-
labelText: string;
|
|
22
|
-
}>;
|
|
23
|
-
export declare const DatePickerControllerOnly: Story<DateTimePickerProps & {
|
|
24
|
-
labelText: string;
|
|
25
|
-
}>;
|
|
26
|
-
export declare const FullDate: Story<DateTimePickerProps & {
|
|
27
|
-
labelText: string;
|
|
28
|
-
}>;
|
|
29
|
-
export declare const FullTime: Story<DateTimePickerProps & {
|
|
30
|
-
labelText: string;
|
|
31
|
-
}>;
|
|
32
|
-
export declare const TimeInputs: Story<DateTimePickerProps & {
|
|
33
|
-
labelText: string;
|
|
34
|
-
}>;
|
|
35
|
-
export declare const TimePickerControllerOnly: Story<DateTimePickerProps & {
|
|
36
|
-
labelText: string;
|
|
37
|
-
}>;
|
|
38
|
-
export declare const TimePicker: Story<DateTimePickerProps & {
|
|
39
|
-
labelText: string;
|
|
40
|
-
}>;
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ name, defaultValue, rules, type, ...rest }: DateTimePickerProps<import("react-hook-form").FieldValues, string>) => import("react/jsx-runtime.js").JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default meta;
|
|
8
|
+
type Story = StoryObj<typeof meta>;
|
|
9
|
+
export declare const DateTimeInputs: Story;
|
|
10
|
+
export declare const FullDateTime: Story;
|
|
11
|
+
export declare const DateTimePickerExample: Story;
|
|
12
|
+
export declare const DateTimePickerControllerOnly: Story;
|
|
13
|
+
export declare const DateInputs: Story;
|
|
14
|
+
export declare const DatePicker: Story;
|
|
15
|
+
export declare const DatePickerControllerOnly: Story;
|
|
16
|
+
export declare const FullDate: Story;
|
|
17
|
+
export declare const FullTime: Story;
|
|
18
|
+
export declare const TimeInputs: Story;
|
|
19
|
+
export declare const TimePickerControllerOnly: Story;
|
|
20
|
+
export declare const TimePicker: Story;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ inputID, label, ...rest }: import("@elliemae/ds-form-layout-blocks").DSFormLayoutBlockItemT.Props) => import("react/jsx-runtime.js").JSX.Element;
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
type Story = StoryObj<typeof meta>;
|
|
8
|
+
export declare const Basic: Story;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
2
|
import '@elliemae/ds-form-input-text';
|
|
3
|
-
declare const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
labelText: string;
|
|
11
|
-
}>;
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ name, defaultValue, rules, ...rest }: import("./index.js").InputTextProps<import("react-hook-form").FieldValues, string>) => import("react/jsx-runtime.js").JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default meta;
|
|
8
|
+
type Story = StoryObj<typeof meta>;
|
|
9
|
+
export declare const Basic: Story;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { DSMaskT } from '@elliemae/ds-controlled-form';
|
|
2
2
|
import { DSInputTextT } from '@elliemae/ds-controlled-form';
|
|
3
3
|
import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
|
|
4
|
-
|
|
4
|
+
interface ReactHookCommons<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> {
|
|
5
5
|
name: string;
|
|
6
6
|
defaultValue?: string;
|
|
7
7
|
rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
|
|
8
|
-
}
|
|
8
|
+
}
|
|
9
9
|
type CommonProps = ReactHookCommons & DSInputTextT.Props;
|
|
10
10
|
export type MaskedInputTextProps = CommonProps & {
|
|
11
11
|
useMask: DSMaskT.NumberHook | DSMaskT.PhoneHook | DSMaskT.Hook;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import '@elliemae/ds-form-input-text';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ name, defaultValue, rules, useMask, maskOpts, ...rest }: import("./index.js").MaskedInputTextProps) => import("react/jsx-runtime.js").JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default meta;
|
|
8
|
+
type Story = StoryObj<typeof meta>;
|
|
9
|
+
export declare const WithPercentageMask: Story;
|
|
10
|
+
export declare const WithMoneyMask: Story;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
rules?: Omit<import("react-hook-form").RegisterOptions<import("react-hook-form").FieldValues, string>, "setValueAs" | "valueAsNumber" | "valueAsDate"> | undefined;
|
|
8
|
-
} & Omit<import("@elliemae/ds-form-toggle").DSControlledToggleT.Props, "defaultValue" | "onChange" | "selectedValues"> & {
|
|
9
|
-
label: string;
|
|
10
|
-
}>;
|
|
1
|
+
import { StoryObj, Meta } from '@storybook/react';
|
|
2
|
+
import { Toggle } from './index.js';
|
|
3
|
+
declare const meta: Meta<typeof Toggle>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Toggle>;
|
|
6
|
+
export declare const Basic: Story;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { UseFormProps, FieldValues, SubmitHandler, FormProviderProps } from 'react-hook-form';
|
|
3
|
-
export
|
|
3
|
+
export interface FormProps<TFieldValues extends FieldValues, TContext extends object = object> {
|
|
4
4
|
classname?: string;
|
|
5
5
|
reactHookFormProps?: UseFormProps<TFieldValues, TContext>;
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
onSubmit?: SubmitHandler<TFieldValues>;
|
|
8
|
-
}
|
|
8
|
+
}
|
|
9
9
|
export type CustomFormProviderProps = FormProviderProps & {
|
|
10
10
|
formProps: UseFormProps;
|
|
11
11
|
};
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: <TFieldValues extends import("react-hook-form").FieldValues = import("react-hook-form").FieldValues, TContext extends object = object>({ classname, reactHookFormProps, children, onSubmit, }: import("./index.js").FormProps<TFieldValues, TContext>) => import("react/jsx-runtime.js").JSX.Element;
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
type Story = StoryObj<typeof meta>;
|
|
4
8
|
export declare const WatchFormControls: Story;
|
|
@@ -3,8 +3,8 @@ import { UseFormReturn, UseFormProps } from 'react-hook-form';
|
|
|
3
3
|
export type CustomFormProviderProps = UseFormReturn & {
|
|
4
4
|
formProps: UseFormProps;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export interface FormSubmitButtonProps {
|
|
7
7
|
children: React.ReactNode;
|
|
8
8
|
[x: string]: any;
|
|
9
|
-
}
|
|
9
|
+
}
|
|
10
10
|
export declare const FormSubmitButton: ({ ...rest }: FormSubmitButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
type FormFields = {
|
|
6
|
-
firstname: string;
|
|
7
|
-
dob: string;
|
|
8
|
-
state: string;
|
|
9
|
-
marital_status: string;
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ ...rest }: import("./submit-button/index.js").FormSubmitButtonProps) => import("react/jsx-runtime.js").JSX.Element;
|
|
10
5
|
};
|
|
11
|
-
export
|
|
12
|
-
|
|
13
|
-
export declare const
|
|
6
|
+
export default meta;
|
|
7
|
+
type Story = StoryObj<typeof meta>;
|
|
8
|
+
export declare const FormValidationOnBlur: Story;
|
|
9
|
+
export declare const FormValidationOnSubmit: Story;
|
|
10
|
+
export declare const FormValidationOnChange: Story;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
declare const _default: Meta;
|
|
3
|
-
export default _default;
|
|
4
1
|
export declare const Basic: () => import("react/jsx-runtime.js").JSX.Element | null;
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: () => import("react/jsx-runtime.js").JSX.Element | null;
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { MicroAppConfig } from '../../../utils/micro-frontend/types.js';
|
|
2
2
|
export declare const mountApp: ({ id, name }: MicroAppConfig) => Promise<void>;
|
|
3
3
|
export declare const unmountApp: ({ id, name }: MicroAppConfig) => Promise<void | null>;
|
|
4
|
+
export declare const prefetchMicroFEResources: (appConfig: MicroAppConfig) => Promise<void>;
|
|
4
5
|
export declare const loadApp: (appConfig: MicroAppConfig) => Promise<void>;
|
|
5
6
|
export declare const unloadApp: ({ id, hostUrl, documentEle, }: {
|
|
6
7
|
id: string;
|
|
@@ -3,5 +3,5 @@ export declare const getAppManifest: ({ hostUrl, manifestPath, }: {
|
|
|
3
3
|
hostUrl?: string | undefined;
|
|
4
4
|
manifestPath?: string | undefined;
|
|
5
5
|
}) => Promise<Manifest>;
|
|
6
|
-
export declare const getFullFileNameofAssetsFromManifest: (manifest: Record<string, string>, assetNames?:
|
|
6
|
+
export declare const getFullFileNameofAssetsFromManifest: (manifest: Record<string, string>, assetNames?: string[]) => string[];
|
|
7
7
|
export {};
|
|
@@ -4,3 +4,7 @@ export declare const addScriptToDOM: ({ name, hostUrl, documentEle }: MicroAppCo
|
|
|
4
4
|
export declare const removeScriptFromDOM: (elementId?: string, documentEle?: Document) => Promise<void>;
|
|
5
5
|
export declare const removeDynamicImportedScripts: (hostUrl: string, documentEle: HTMLDocument) => void;
|
|
6
6
|
export declare const removePrefetchLinks: (hostUrl: string, documentEle: HTMLDocument) => void;
|
|
7
|
+
export declare const prefetchScript: ({ hostUrl, fileName, }: {
|
|
8
|
+
hostUrl?: string | undefined;
|
|
9
|
+
fileName: string;
|
|
10
|
+
}) => void;
|
|
@@ -3,3 +3,7 @@ export declare const APP_STYLE_ID_PREFIX = "emui-style-";
|
|
|
3
3
|
export declare const addStylesToDOM: ({ name, hostUrl, documentEle }: MicroAppConfig, fileName: string, index: number) => Promise<string>;
|
|
4
4
|
export declare const removeStyleFromDOM: (elementId?: string, documentEle?: Document) => Promise<void>;
|
|
5
5
|
export declare const removeDynamicImportedStyles: (hostUrl: string, documentEle: Document) => void;
|
|
6
|
+
export declare const prefetchStyle: ({ hostUrl, fileName, }: {
|
|
7
|
+
hostUrl?: string | undefined;
|
|
8
|
+
fileName: string;
|
|
9
|
+
}) => void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Theme } from '@elliemae/pui-theme';
|
|
2
2
|
import { History } from 'history';
|
|
3
|
-
export
|
|
3
|
+
export interface MicroAppProps {
|
|
4
4
|
id: string;
|
|
5
5
|
documentEle?: HTMLDocument | null;
|
|
6
6
|
history?: History;
|
|
7
7
|
theme?: Theme;
|
|
8
8
|
homeRoute?: string;
|
|
9
|
-
}
|
|
9
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
interface IFrameProps {
|
|
3
3
|
id: string;
|
|
4
4
|
name?: string;
|
|
5
5
|
src: string;
|
|
6
6
|
sandbox?: string;
|
|
7
7
|
onFrameReady: (frameDocument: HTMLDocument) => void;
|
|
8
|
-
}
|
|
8
|
+
}
|
|
9
9
|
export declare const IFrame: import("react").NamedExoticComponent<IFrameProps>;
|
|
10
10
|
export {};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ open, primaryMessage, secondaryMessage, }: import("./index.js").ErrorProps) => import("react/jsx-runtime.js").JSX.Element;
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
type Story = StoryObj<typeof meta>;
|
|
8
|
+
export declare const Basic: Story;
|
|
9
|
+
export declare const CloseModal: Story;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
declare const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const Close: {
|
|
7
|
-
(): Story<NavigationPromptProps>;
|
|
8
|
-
args: {
|
|
9
|
-
open: boolean;
|
|
10
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { StoryObj } from '@storybook/react';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").NamedExoticComponent<import("./index.js").NavigationPromptProps>;
|
|
11
6
|
};
|
|
7
|
+
export default meta;
|
|
8
|
+
type Story = StoryObj<typeof meta>;
|
|
9
|
+
export declare const Basic: Story;
|
|
10
|
+
export declare const Close: Story;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
declare const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { StoryObj } from '@storybook/react';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").NamedExoticComponent<import("./index.js").SessionExpiryProps>;
|
|
6
|
+
};
|
|
7
|
+
export default meta;
|
|
8
|
+
type Story = StoryObj<typeof meta>;
|
|
9
|
+
export declare const Basic: Story;
|
|
10
|
+
export declare const Close: Story;
|