@elliemae/pui-app-sdk 3.0.0-beta.8 → 3.0.0-beta.9
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/data/index.js +34 -0
- package/dist/cjs/micro-frontend.js +33 -0
- package/dist/cjs/utils/storybook/{main.js → cjs/main.js} +3 -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} +0 -0
- package/dist/cjs/utils/storybook/preview.js +1 -1
- package/dist/cjs/view/error-toast/index.js +5 -5
- package/dist/cjs/view/fields/check-box/index.js +1 -1
- package/dist/cjs/view/fields/combo-box/index.js +1 -1
- package/dist/cjs/view/fields/date-input/index.js +1 -1
- package/dist/cjs/view/fields/form-item-layout/index.js +1 -1
- package/dist/cjs/view/fields/input-mask/index.js +1 -1
- package/dist/cjs/view/fields/large-text-box/index.js +1 -1
- package/dist/cjs/view/fields/radio/index.js +1 -1
- package/dist/cjs/view/fields/radio-group/index.js +1 -1
- package/dist/cjs/view/fields/text-box/index.js +1 -1
- package/dist/cjs/view/form/submit-button/index.js +2 -2
- package/dist/cjs/view/modals/wait-message/index.js +2 -2
- package/dist/es/data/index.js +11 -0
- package/dist/es/micro-frontend.js +10 -0
- package/dist/es/utils/storybook/preview.js +1 -1
- package/dist/es/view/error-toast/index.js +1 -6
- package/dist/es/view/fields/check-box/index.js +1 -1
- package/dist/es/view/fields/combo-box/index.js +1 -1
- package/dist/es/view/fields/date-input/index.js +1 -1
- package/dist/es/view/fields/form-item-layout/index.js +1 -1
- package/dist/es/view/fields/input-mask/index.js +1 -1
- package/dist/es/view/fields/large-text-box/index.js +1 -1
- package/dist/es/view/fields/radio/index.js +1 -1
- package/dist/es/view/fields/radio-group/index.js +1 -1
- package/dist/es/view/fields/text-box/index.js +1 -1
- package/dist/es/view/form/submit-button/index.js +1 -1
- package/dist/es/view/modals/wait-message/index.js +1 -1
- package/dist/types/.storybook/main.d.ts +63 -0
- package/dist/types/{communication/http-client/tests/index.test-disable.d.ts → .storybook/manager.d.ts} +0 -0
- package/dist/types/.storybook/middleware.d.ts +2 -0
- package/dist/types/.storybook/preview.d.ts +25 -0
- package/dist/types/.storybook/theme.d.ts +4 -0
- package/dist/types/{analytics → lib/analytics}/appdynamics.d.ts +0 -0
- package/dist/types/{analytics → lib/analytics}/index.d.ts +0 -0
- package/dist/types/{analytics → lib/analytics}/page-view-event.d.ts +0 -0
- package/dist/types/{analytics → lib/analytics}/user-session-event.d.ts +0 -0
- package/dist/types/{analytics → lib/analytics}/user-wait-event.d.ts +0 -0
- package/dist/types/{analytics → lib/analytics}/web-analytics.d.ts +0 -0
- package/dist/types/{api → lib/api}/auth/index.d.ts +0 -0
- package/dist/types/{api → lib/api}/helpers.d.ts +0 -0
- package/dist/types/{api → lib/api}/users/index.d.ts +0 -0
- package/dist/types/{api → lib/api}/users/index.endpoint.d.ts +0 -0
- package/dist/types/{communication → lib/communication}/http-client/index.d.ts +0 -0
- package/dist/types/{communication → lib/communication}/http-client/request-interceptor.d.ts +0 -0
- package/dist/types/{communication → lib/communication}/http-client/response-interceptor.d.ts +0 -0
- package/dist/types/{communication → lib/communication}/http-client/retry-axios.d.ts +0 -0
- package/dist/types/{communication → lib/communication}/http-client/retry.d.ts +0 -0
- package/dist/types/{communication → lib/communication}/http-client/tests/hello.endpoint.d.ts +0 -0
- package/dist/types/{data/tests/store.test.d.ts → lib/communication/http-client/tests/index.test-disable.d.ts} +0 -0
- package/dist/types/{communication → lib/communication}/http-client/tests/private.endpoint.d.ts +0 -0
- package/dist/types/{data → lib/data}/auth/actions.d.ts +0 -0
- package/dist/types/{data → lib/data}/auth/reducer.d.ts +0 -0
- package/dist/types/{data → lib/data}/breakpoint/index.d.ts +0 -0
- package/dist/types/{data → lib/data}/error/index.d.ts +0 -0
- package/dist/types/lib/data/index.d.ts +4 -0
- package/dist/types/{data → lib/data}/live-message/index.d.ts +0 -0
- package/dist/types/{data → lib/data}/logout/actions.d.ts +0 -0
- package/dist/types/{data → lib/data}/navigation-prompt/actions.d.ts +0 -0
- package/dist/types/{data → lib/data}/react-redux.d.ts +0 -0
- package/dist/types/{data → lib/data}/reducers.d.ts +0 -0
- package/dist/types/{data → lib/data}/saga.d.ts +0 -0
- package/dist/types/{data → lib/data}/store.d.ts +0 -0
- package/dist/types/lib/data/tests/store.test.d.ts +1 -0
- package/dist/types/{data → lib/data}/wait-message/actions.d.ts +0 -0
- package/dist/types/{data → lib/data}/wait-message/reducer.d.ts +0 -0
- package/dist/types/{index.d.ts → lib/index.d.ts} +0 -0
- package/dist/types/lib/micro-frontend.d.ts +6 -0
- package/dist/types/{route → lib/route}/index.d.ts +0 -0
- package/dist/types/{route → lib/route}/page-view.d.ts +0 -0
- package/dist/types/{route → lib/route}/private-route/index.d.ts +0 -0
- package/dist/types/{sideeffect → lib/sideeffect}/auth/index.d.ts +0 -0
- package/dist/types/{sideeffect → lib/sideeffect}/error-toast/index.d.ts +0 -0
- package/dist/types/{sideeffect → lib/sideeffect}/wait-message/index.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/app-config/config.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/app-config/index.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/app-host-integration/react.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/auth/helper.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/auth/index.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/await.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/constants.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/font-size.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/guest-with-service.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/helpers.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/history.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/log-records.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/micro-frontend/console-logger.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/micro-frontend/guest.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/micro-frontend/host.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/micro-frontend/index.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/micro-frontend/types.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/redact-pii.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/service-worker.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/session.d.ts +0 -0
- package/dist/types/{utils/storybook/main.d.cts → lib/utils/storybook/cjs/main.d.ts} +6 -6
- package/dist/types/{utils/storybook/middleware.d.cts → lib/utils/storybook/cjs/middleware.d.ts} +0 -0
- package/dist/types/{utils/storybook/vite.d.cts → lib/utils/storybook/cjs/vite.d.ts} +0 -0
- package/dist/types/{utils/storybook/webpack.d.cts → lib/utils/storybook/cjs/webpack.d.ts} +0 -0
- package/dist/types/{utils → lib/utils}/storybook/manager.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/storybook/preview.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/storybook/theme.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/testing/index.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/testing/render-with-redux.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/testing/render-with-router-redux.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/testing/render-with-router.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/testing/render-with-state-addons.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/types.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/url.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/web-storage.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/window.d.ts +0 -0
- package/dist/types/{view → lib/view}/app-root/hosted-app.d.ts +0 -0
- package/dist/types/{view → lib/view}/app-root/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/app-root/stand-alone-app.d.ts +0 -0
- package/dist/types/{view → lib/view}/app-root/style.d.ts +0 -0
- package/dist/types/{view → lib/view}/error-boundary/default-error-template.d.ts +0 -0
- package/dist/types/{view → lib/view}/error-boundary/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/error-toast/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/error-toast/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/fetch-host-app-data/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/fetch-host-app-data/store.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/check-box/index.d.ts +1 -1
- package/dist/types/{view → lib/view}/fields/check-box/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/check-box/set-value.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/combo-box/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/combo-box/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/connect-form.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/date-input/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/date-input/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/date-picker/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/date-picker/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/form-item-layout/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/form-item-layout/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/input-mask/index.d.ts +1 -1
- package/dist/types/{view → lib/view}/fields/input-mask/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/large-text-box/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/large-text-box/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/radio/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/radio/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/radio/set-value.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/radio-group/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/radio-group/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/text-box/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/text-box/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/watch-value.d.ts +0 -0
- package/dist/types/{view → lib/view}/form/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/form/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/form/personal-info-section.d.ts +0 -0
- package/dist/types/{view → lib/view}/form/submit-button/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/form/usecases.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/guest-unload-handlers/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/header/center-region/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/header/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/header/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/header/logo-region/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/header/nav-region/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/header/nav-region/notification/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/header/nav-region/user/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/host-binding-events/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/live-message/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/live-message/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/loadable/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/login/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/media-breakpoint/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/media-breakpoint/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/message-to-host-app/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/micro-app/app-factory/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/micro-app/const.d.ts +0 -0
- package/dist/types/{view → lib/view}/micro-app/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/micro-app/resources/manifest.d.ts +0 -0
- package/dist/types/{view → lib/view}/micro-app/resources/script.d.ts +0 -0
- package/dist/types/{view → lib/view}/micro-app/resources/style.d.ts +0 -0
- package/dist/types/{view → lib/view}/micro-app/types.d.ts +0 -0
- package/dist/types/{view → lib/view}/micro-app/use-app-will-render.d.ts +0 -0
- package/dist/types/{view → lib/view}/micro-app/utils.d.ts +0 -0
- package/dist/types/{view → lib/view}/micro-iframe-app/app.d.ts +0 -0
- package/dist/types/{view → lib/view}/micro-iframe-app/iframe/const.d.ts +0 -0
- package/dist/types/{view → lib/view}/micro-iframe-app/iframe/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/micro-iframe-app/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/micro-iframe-app/types.d.ts +0 -0
- package/dist/types/{view → lib/view}/micro-iframe-app/use-frame-loaded.d.ts +0 -0
- package/dist/types/{view → lib/view}/modals/error/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/modals/error/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/modals/navigation-prompt/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/modals/navigation-prompt/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/modals/session-expiry/customHooks.d.ts +0 -0
- package/dist/types/{view → lib/view}/modals/session-expiry/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/modals/session-expiry/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/modals/wait-message/html-wait-message.d.ts +0 -0
- package/dist/types/{view → lib/view}/modals/wait-message/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/modals/wait-message/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/modals/wait-message/wait-message-launcher.d.ts +0 -0
- package/dist/types/{view → lib/view}/render-with-delay/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/render-with-host-data/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/session-timeout/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/session-timeout/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/storybook/decorator.d.ts +0 -0
- package/dist/types/{view → lib/view}/use-previous.d.ts +0 -0
- package/dist/types/{view → lib/view}/useMediaBreakpoints/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/visually-hidden/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/window-size/index.d.ts +0 -0
- package/package.json +22 -5
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
__markAsModule(target);
|
|
10
|
+
for (var name in all)
|
|
11
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
12
|
+
};
|
|
13
|
+
var __reExport = (target, module2, desc) => {
|
|
14
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(module2))
|
|
16
|
+
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
17
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
18
|
+
}
|
|
19
|
+
return target;
|
|
20
|
+
};
|
|
21
|
+
var __toModule = (module2) => {
|
|
22
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
23
|
+
};
|
|
24
|
+
__export(exports, {
|
|
25
|
+
configureStore: () => import_store.createAppStore,
|
|
26
|
+
getStore: () => import_store.getStore,
|
|
27
|
+
useAppDispatch: () => import_react_redux.useAppDispatch,
|
|
28
|
+
useAppSelector: () => import_react_redux.useAppSelector,
|
|
29
|
+
useInjectReducer: () => import_redux_injectors.useInjectReducer,
|
|
30
|
+
useInjectSaga: () => import_redux_injectors.useInjectSaga
|
|
31
|
+
});
|
|
32
|
+
var import_redux_injectors = __toModule(require("redux-injectors"));
|
|
33
|
+
var import_react_redux = __toModule(require("./react-redux.js"));
|
|
34
|
+
var import_store = __toModule(require("./store.js"));
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
__markAsModule(target);
|
|
10
|
+
for (var name in all)
|
|
11
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
12
|
+
};
|
|
13
|
+
var __reExport = (target, module2, desc) => {
|
|
14
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(module2))
|
|
16
|
+
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
17
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
18
|
+
}
|
|
19
|
+
return target;
|
|
20
|
+
};
|
|
21
|
+
var __toModule = (module2) => {
|
|
22
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
23
|
+
};
|
|
24
|
+
__export(exports, {
|
|
25
|
+
CMicroAppGuest: () => import_guest.CMicroAppGuest,
|
|
26
|
+
CMicroAppHost: () => import_host.CMicroAppHost,
|
|
27
|
+
enableReactAppForHostIntegration: () => import_react.enableReactAppForHostIntegration,
|
|
28
|
+
getMicroFrontEndAppConfig: () => import_micro_frontend.getMicroFrontEndAppConfig
|
|
29
|
+
});
|
|
30
|
+
var import_guest = __toModule(require("./utils/micro-frontend/guest.js"));
|
|
31
|
+
var import_host = __toModule(require("./utils/micro-frontend/host.js"));
|
|
32
|
+
var import_micro_frontend = __toModule(require("./utils/micro-frontend/index.js"));
|
|
33
|
+
var import_react = __toModule(require("./utils/app-host-integration/react.js"));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const { mergeWith, isArray } = require("lodash");
|
|
2
|
-
const webpackConfig = require("./webpack.
|
|
3
|
-
const viteConfig = require("./vite.
|
|
2
|
+
const webpackConfig = require("./webpack.js");
|
|
3
|
+
const viteConfig = require("./vite.js");
|
|
4
4
|
const customizer = (objValue, srcValue) => {
|
|
5
5
|
if (isArray(objValue)) {
|
|
6
6
|
return objValue.concat(srcValue);
|
|
@@ -8,7 +8,6 @@ const customizer = (objValue, srcValue) => {
|
|
|
8
8
|
};
|
|
9
9
|
const baseConfig = {
|
|
10
10
|
addons: [
|
|
11
|
-
{ name: "@storybook/addon-essentials", options: { docs: false } },
|
|
12
11
|
{
|
|
13
12
|
name: "@storybook/addon-docs",
|
|
14
13
|
options: {
|
|
@@ -17,6 +16,7 @@ const baseConfig = {
|
|
|
17
16
|
}
|
|
18
17
|
}
|
|
19
18
|
},
|
|
19
|
+
{ name: "@storybook/addon-essentials", options: { docs: false } },
|
|
20
20
|
"@storybook/addon-storysource",
|
|
21
21
|
"@storybook/addon-links",
|
|
22
22
|
"@storybook/addon-events",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -29,7 +29,7 @@ var import_pui_theme = __toModule(require("@elliemae/pui-theme"));
|
|
|
29
29
|
var import_store = __toModule(require("../../data/store.js"));
|
|
30
30
|
var import_decorator = __toModule(require("../../view/storybook/decorator.js"));
|
|
31
31
|
var import_app_config = __toModule(require("../app-config/index.js"));
|
|
32
|
-
var import_theme = __toModule(require("./theme"));
|
|
32
|
+
var import_theme = __toModule(require("./theme.js"));
|
|
33
33
|
var import_history = __toModule(require("../history.js"));
|
|
34
34
|
var import_dimsum = __toModule(require("@elliemae/ds-basic/css/dimsum.css"));
|
|
35
35
|
(0, import_app_config.loadAppConfig)(__webpack_public_path__).catch(() => {
|
|
@@ -26,7 +26,7 @@ __export(exports, {
|
|
|
26
26
|
});
|
|
27
27
|
var React = __toModule(require("react"));
|
|
28
28
|
var import_react = __toModule(require("react"));
|
|
29
|
-
var
|
|
29
|
+
var import_ds_toast = __toModule(require("@elliemae/ds-toast"));
|
|
30
30
|
var import_react_redux = __toModule(require("../../data/react-redux.js"));
|
|
31
31
|
var import_error = __toModule(require("../../data/error/index.js"));
|
|
32
32
|
const ErrorToast = (0, import_react.memo)((props) => {
|
|
@@ -35,19 +35,19 @@ const ErrorToast = (0, import_react.memo)((props) => {
|
|
|
35
35
|
(0, import_react.useEffect)(() => {
|
|
36
36
|
if (storeError && (storeError?.description || storeError?.messageText)) {
|
|
37
37
|
const toastProps = {
|
|
38
|
-
position:
|
|
38
|
+
position: import_ds_toast.ToastPosition.TOP_RIGHT,
|
|
39
39
|
messageTitle: "Error",
|
|
40
|
-
type:
|
|
40
|
+
type: import_ds_toast.ToastType.ERROR,
|
|
41
41
|
...props,
|
|
42
42
|
...storeError
|
|
43
43
|
};
|
|
44
44
|
const messageText = toastProps.description || toastProps.messageText;
|
|
45
45
|
if (messageText)
|
|
46
|
-
(0,
|
|
46
|
+
(0, import_ds_toast.toast)({ messageText, ...toastProps });
|
|
47
47
|
dispatch(import_error.actions.clear());
|
|
48
48
|
}
|
|
49
49
|
}, [storeError, props, dispatch]);
|
|
50
|
-
return /* @__PURE__ */ React.createElement(
|
|
50
|
+
return /* @__PURE__ */ React.createElement(import_ds_toast.DSToast, {
|
|
51
51
|
...props
|
|
52
52
|
});
|
|
53
53
|
});
|
|
@@ -26,7 +26,7 @@ __export(exports, {
|
|
|
26
26
|
CheckBox: () => CheckBox
|
|
27
27
|
});
|
|
28
28
|
var React = __toModule(require("react"));
|
|
29
|
-
var import_Checkbox = __toModule(require("@elliemae/ds-
|
|
29
|
+
var import_Checkbox = __toModule(require("@elliemae/ds-form/Checkbox"));
|
|
30
30
|
var import_react_hook_form = __toModule(require("react-hook-form"));
|
|
31
31
|
const CheckBox = ({
|
|
32
32
|
name,
|
|
@@ -25,7 +25,7 @@ __export(exports, {
|
|
|
25
25
|
ComboBox: () => ComboBox
|
|
26
26
|
});
|
|
27
27
|
var React = __toModule(require("react"));
|
|
28
|
-
var import_ComboBox = __toModule(require("@elliemae/ds-
|
|
28
|
+
var import_ComboBox = __toModule(require("@elliemae/ds-form/ComboBox"));
|
|
29
29
|
var import_react_hook_form = __toModule(require("react-hook-form"));
|
|
30
30
|
const ComboBox = ({
|
|
31
31
|
name,
|
|
@@ -25,7 +25,7 @@ __export(exports, {
|
|
|
25
25
|
DateInput: () => DateInput
|
|
26
26
|
});
|
|
27
27
|
var React = __toModule(require("react"));
|
|
28
|
-
var import_DateInput = __toModule(require("@elliemae/ds-
|
|
28
|
+
var import_DateInput = __toModule(require("@elliemae/ds-form/DateInput"));
|
|
29
29
|
var import_react_hook_form = __toModule(require("react-hook-form"));
|
|
30
30
|
const DateInput = ({
|
|
31
31
|
name,
|
|
@@ -25,7 +25,7 @@ __export(exports, {
|
|
|
25
25
|
FormItemLayout: () => FormItemLayout
|
|
26
26
|
});
|
|
27
27
|
var React = __toModule(require("react"));
|
|
28
|
-
var import_FormItem = __toModule(require("@elliemae/ds-
|
|
28
|
+
var import_FormItem = __toModule(require("@elliemae/ds-form/FormItem"));
|
|
29
29
|
var import_react_hook_form = __toModule(require("react-hook-form"));
|
|
30
30
|
var import_connect_form = __toModule(require("../connect-form.js"));
|
|
31
31
|
const FormItemLayout = ({
|
|
@@ -27,7 +27,7 @@ __export(exports, {
|
|
|
27
27
|
MASK_TYPES: () => import_InputMask.MASK_TYPES
|
|
28
28
|
});
|
|
29
29
|
var React = __toModule(require("react"));
|
|
30
|
-
var import_InputMask = __toModule(require("@elliemae/ds-
|
|
30
|
+
var import_InputMask = __toModule(require("@elliemae/ds-form/InputMask"));
|
|
31
31
|
var import_react_hook_form = __toModule(require("react-hook-form"));
|
|
32
32
|
const InputMask = ({
|
|
33
33
|
name,
|
|
@@ -25,7 +25,7 @@ __export(exports, {
|
|
|
25
25
|
LargeTextBox: () => LargeTextBox
|
|
26
26
|
});
|
|
27
27
|
var React = __toModule(require("react"));
|
|
28
|
-
var import_LargeInputText = __toModule(require("@elliemae/ds-
|
|
28
|
+
var import_LargeInputText = __toModule(require("@elliemae/ds-form/LargeInputText"));
|
|
29
29
|
var import_react_hook_form = __toModule(require("react-hook-form"));
|
|
30
30
|
const LargeTextBox = ({
|
|
31
31
|
name,
|
|
@@ -25,7 +25,7 @@ __export(exports, {
|
|
|
25
25
|
Radio: () => Radio
|
|
26
26
|
});
|
|
27
27
|
var React = __toModule(require("react"));
|
|
28
|
-
var import_Radio = __toModule(require("@elliemae/ds-
|
|
28
|
+
var import_Radio = __toModule(require("@elliemae/ds-form/Radio"));
|
|
29
29
|
var import_react_hook_form = __toModule(require("react-hook-form"));
|
|
30
30
|
const Radio = ({
|
|
31
31
|
name,
|
|
@@ -25,7 +25,7 @@ __export(exports, {
|
|
|
25
25
|
RadioGroup: () => RadioGroup
|
|
26
26
|
});
|
|
27
27
|
var React = __toModule(require("react"));
|
|
28
|
-
var import_RadioGroup = __toModule(require("@elliemae/ds-
|
|
28
|
+
var import_RadioGroup = __toModule(require("@elliemae/ds-form/RadioGroup"));
|
|
29
29
|
var import_react_hook_form = __toModule(require("react-hook-form"));
|
|
30
30
|
const RadioGroup = ({
|
|
31
31
|
name,
|
|
@@ -25,7 +25,7 @@ __export(exports, {
|
|
|
25
25
|
TextBox: () => TextBox
|
|
26
26
|
});
|
|
27
27
|
var React = __toModule(require("react"));
|
|
28
|
-
var import_TextBox = __toModule(require("@elliemae/ds-
|
|
28
|
+
var import_TextBox = __toModule(require("@elliemae/ds-form/TextBox"));
|
|
29
29
|
var import_react_hook_form = __toModule(require("react-hook-form"));
|
|
30
30
|
const TextBox = ({
|
|
31
31
|
name,
|
|
@@ -26,7 +26,7 @@ __export(exports, {
|
|
|
26
26
|
});
|
|
27
27
|
var React = __toModule(require("react"));
|
|
28
28
|
var import_react_hook_form = __toModule(require("react-hook-form"));
|
|
29
|
-
var
|
|
29
|
+
var import_ds_button = __toModule(require("@elliemae/ds-button"));
|
|
30
30
|
const FormSubmitButton = ({
|
|
31
31
|
...rest
|
|
32
32
|
}) => {
|
|
@@ -34,7 +34,7 @@ const FormSubmitButton = ({
|
|
|
34
34
|
formState,
|
|
35
35
|
formProps: { mode }
|
|
36
36
|
} = (0, import_react_hook_form.useFormContext)();
|
|
37
|
-
return /* @__PURE__ */ React.createElement(
|
|
37
|
+
return /* @__PURE__ */ React.createElement(import_ds_button.default, {
|
|
38
38
|
...rest,
|
|
39
39
|
type: "submit",
|
|
40
40
|
disabled: mode !== "onSubmit" && (!formState.isDirty || formState.isDirty && !formState.isValid)
|
|
@@ -26,7 +26,7 @@ __export(exports, {
|
|
|
26
26
|
});
|
|
27
27
|
var React = __toModule(require("react"));
|
|
28
28
|
var import_react = __toModule(require("react"));
|
|
29
|
-
var
|
|
29
|
+
var import_ds_loading_indicator = __toModule(require("@elliemae/ds-loading-indicator"));
|
|
30
30
|
var import_react_redux = __toModule(require("../../../data/react-redux.js"));
|
|
31
31
|
var import_html_wait_message = __toModule(require("./html-wait-message.js"));
|
|
32
32
|
var import_user_wait_event = __toModule(require("../../../analytics/user-wait-event.js"));
|
|
@@ -45,7 +45,7 @@ const WaitMessage = (0, import_react.memo)(({
|
|
|
45
45
|
}, [isOpen]);
|
|
46
46
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(import_html_wait_message.HTMLWaitMessage, {
|
|
47
47
|
close: isOpen !== null
|
|
48
|
-
}), /* @__PURE__ */ React.createElement(
|
|
48
|
+
}), /* @__PURE__ */ React.createElement(import_ds_loading_indicator.default, {
|
|
49
49
|
id: "em-loading",
|
|
50
50
|
size,
|
|
51
51
|
style,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { useInjectReducer, useInjectSaga } from "redux-injectors";
|
|
2
|
+
import { useAppDispatch, useAppSelector } from "./react-redux.js";
|
|
3
|
+
import { createAppStore, getStore } from "./store.js";
|
|
4
|
+
export {
|
|
5
|
+
createAppStore as configureStore,
|
|
6
|
+
getStore,
|
|
7
|
+
useAppDispatch,
|
|
8
|
+
useAppSelector,
|
|
9
|
+
useInjectReducer,
|
|
10
|
+
useInjectSaga
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CMicroAppGuest } from "./utils/micro-frontend/guest.js";
|
|
2
|
+
import { CMicroAppHost } from "./utils/micro-frontend/host.js";
|
|
3
|
+
import { getMicroFrontEndAppConfig } from "./utils/micro-frontend/index.js";
|
|
4
|
+
import { enableReactAppForHostIntegration } from "./utils/app-host-integration/react.js";
|
|
5
|
+
export {
|
|
6
|
+
CMicroAppGuest,
|
|
7
|
+
CMicroAppHost,
|
|
8
|
+
enableReactAppForHostIntegration,
|
|
9
|
+
getMicroFrontEndAppConfig
|
|
10
|
+
};
|
|
@@ -2,7 +2,7 @@ import { getDefaultTheme } from "@elliemae/pui-theme";
|
|
|
2
2
|
import { createAppStore } from "../../data/store.js";
|
|
3
3
|
import { withAppDecorator } from "../../view/storybook/decorator.js";
|
|
4
4
|
import { loadAppConfig } from "../app-config/index.js";
|
|
5
|
-
import { createTheme } from "./theme";
|
|
5
|
+
import { createTheme } from "./theme.js";
|
|
6
6
|
import { browserHistory } from "../history.js";
|
|
7
7
|
import "@elliemae/ds-basic/css/dimsum.css";
|
|
8
8
|
loadAppConfig(__webpack_public_path__).catch(() => {
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { useEffect, memo } from "react";
|
|
3
|
-
import {
|
|
4
|
-
ToastPosition,
|
|
5
|
-
ToastType,
|
|
6
|
-
DSToast,
|
|
7
|
-
toast
|
|
8
|
-
} from "@elliemae/ds-basic/Toast";
|
|
3
|
+
import { ToastPosition, ToastType, DSToast, toast } from "@elliemae/ds-toast";
|
|
9
4
|
import { useAppSelector, useAppDispatch } from "../../data/react-redux.js";
|
|
10
5
|
import { actions as error } from "../../data/error/index.js";
|
|
11
6
|
const ErrorToast = memo((props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import DSFormItemLayout from "@elliemae/ds-
|
|
2
|
+
import DSFormItemLayout from "@elliemae/ds-form/FormItem";
|
|
3
3
|
import { get } from "react-hook-form";
|
|
4
4
|
import { ConnectForm } from "../connect-form.js";
|
|
5
5
|
const FormItemLayout = ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { memo, useEffect } from "react";
|
|
3
|
-
import DSLoadingIndicator from "@elliemae/ds-
|
|
3
|
+
import DSLoadingIndicator from "@elliemae/ds-loading-indicator";
|
|
4
4
|
import { useAppSelector } from "../../../data/react-redux.js";
|
|
5
5
|
import { HTMLWaitMessage } from "./html-wait-message.js";
|
|
6
6
|
import {
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
declare const _exports: {
|
|
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
|
+
})[];
|
|
17
|
+
framework: string;
|
|
18
|
+
features: {
|
|
19
|
+
fastRefresh: boolean;
|
|
20
|
+
storyStoreV7: boolean;
|
|
21
|
+
};
|
|
22
|
+
reactOptions: {
|
|
23
|
+
fastRefresh: boolean;
|
|
24
|
+
strictMode: boolean;
|
|
25
|
+
};
|
|
26
|
+
typescript: {
|
|
27
|
+
check: boolean;
|
|
28
|
+
checkOptions: {};
|
|
29
|
+
reactDocgen: string;
|
|
30
|
+
reactDocgenTypescriptOptions: {
|
|
31
|
+
shouldExtractLiteralValuesFromEnum: boolean;
|
|
32
|
+
propFilter: (prop: any) => boolean;
|
|
33
|
+
compilerOptions: {
|
|
34
|
+
allowSyntheticDefaultImports: boolean;
|
|
35
|
+
esModuleInterop: boolean;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
} & ({
|
|
40
|
+
stories: string[];
|
|
41
|
+
core: {
|
|
42
|
+
builder: string;
|
|
43
|
+
};
|
|
44
|
+
} | {
|
|
45
|
+
stories: {
|
|
46
|
+
directory: string;
|
|
47
|
+
}[];
|
|
48
|
+
addons: {
|
|
49
|
+
name: string;
|
|
50
|
+
options: {
|
|
51
|
+
optimizationLevel: number;
|
|
52
|
+
esbuildMinifyOptions: {
|
|
53
|
+
target: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
}[];
|
|
57
|
+
managerWebpack: any;
|
|
58
|
+
webpackFinal: any;
|
|
59
|
+
core: {
|
|
60
|
+
builder: string;
|
|
61
|
+
};
|
|
62
|
+
});
|
|
63
|
+
export = _exports;
|
|
File without changes
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const params: {
|
|
2
|
+
layout: string;
|
|
3
|
+
actions: {
|
|
4
|
+
argTypesRegex: string;
|
|
5
|
+
};
|
|
6
|
+
controls: {
|
|
7
|
+
hideNoControlsWarning: boolean;
|
|
8
|
+
};
|
|
9
|
+
docs: {
|
|
10
|
+
theme: any;
|
|
11
|
+
};
|
|
12
|
+
options: {
|
|
13
|
+
storySort: {
|
|
14
|
+
method: string;
|
|
15
|
+
order: (string | string[])[];
|
|
16
|
+
locales: string[];
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
dependencies: {
|
|
20
|
+
withStoriesOnly: boolean;
|
|
21
|
+
hideEmpty: boolean;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
import { decorators } from "../lib/utils/storybook/preview.js";
|
|
25
|
+
export { params as parameters, decorators };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/{communication → lib/communication}/http-client/response-interceptor.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/{communication → lib/communication}/http-client/tests/hello.endpoint.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
package/dist/types/{communication → lib/communication}/http-client/tests/private.endpoint.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { CMicroAppGuest } from './utils/micro-frontend/guest.js';
|
|
2
|
+
export { CMicroAppHost } from './utils/micro-frontend/host.js';
|
|
3
|
+
export { getMicroFrontEndAppConfig } from './utils/micro-frontend/index.js';
|
|
4
|
+
export { enableReactAppForHostIntegration } from './utils/app-host-integration/react.js';
|
|
5
|
+
export type { OnInitCallback, OnMountCallback, } from './utils/micro-frontend/guest.js';
|
|
6
|
+
export type { OnInitCallback as OnHostInitCallback } from './utils/micro-frontend/host.js';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|