@elliemae/pui-app-sdk 4.0.0-alpha.2 → 4.0.0-alpha.5
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/utils/app-config/index.js +2 -2
- package/dist/cjs/utils/micro-frontend/guest.js +2 -1
- package/dist/cjs/utils/micro-frontend/host.js +1 -1
- package/dist/cjs/utils/micro-frontend/ssfguest-adapter.js +1 -1
- package/dist/cjs/utils/storybook/preview.js +1 -1
- package/dist/esm/utils/app-config/index.js +2 -2
- package/dist/esm/utils/micro-frontend/guest.js +2 -1
- package/dist/esm/utils/micro-frontend/host.js +1 -1
- package/dist/esm/utils/micro-frontend/ssfguest-adapter.js +1 -1
- package/dist/esm/utils/storybook/preview.js +1 -1
- package/dist/types/__mocks__/@elliemae/em-ssf-guest.d.ts +6 -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/{communication → lib/communication}/http-client/tests/index.test.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/{data → lib/data}/index.d.ts +0 -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 +1 -1
- package/dist/types/{data → lib/data}/tests/store.test.d.ts +0 -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/{data → lib/data}/webpack-hmr.d.ts +0 -0
- package/dist/types/{index.d.ts → lib/index.d.ts} +0 -0
- package/dist/types/{micro-frontend.d.ts → lib/micro-frontend.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/lib/utils/app-config/index.d.ts +1 -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 +3 -3
- package/dist/types/{utils → lib/utils}/micro-frontend/index.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/micro-frontend/ssfguest-adapter.d.ts +2 -2
- package/dist/types/lib/utils/micro-frontend/tests/guest-ssf-host.test.d.ts +1 -0
- package/dist/types/lib/utils/micro-frontend/tests/guest.test.d.ts +1 -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 → lib/utils}/storybook/cjs/main.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/storybook/cjs/middleware.d.ts +0 -0
- package/dist/types/{utils → lib/utils}/storybook/cjs/vite.d.ts +0 -0
- package/dist/types/{utils → 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/lib/utils/testing/index.d.ts +4 -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}/app-router.d.ts +0 -0
- package/dist/types/{view → lib/view}/breakpoint/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/breakpoint/use-breakpoint.d.ts +0 -0
- package/dist/types/{view → lib/view}/breakpoint/use-media-query-list.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 +0 -0
- 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/date-range-picker/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/date-range-picker/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/date-time-picker/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/date-time-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/form-layout-block-item/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/form-layout-block-item/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/input-mask/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/input-mask/index.stories.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/input-text/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/input-text/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/toggle/index.d.ts +0 -0
- package/dist/types/{view → lib/view}/fields/toggle/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}/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}/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/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/use-html-wait-message.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}/page.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}/require-auth.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}/use-window-size-change.d.ts +0 -0
- package/dist/types/lib/view/visually-hidden/index.d.ts +4 -0
- package/package.json +42 -37
- package/dist/types/utils/app-config/index.d.ts +0 -1
- package/dist/types/utils/testing/index.d.ts +0 -4
- package/dist/types/view/visually-hidden/index.d.ts +0 -2
|
@@ -39,8 +39,8 @@ const parseAppConfig = (data) => {
|
|
|
39
39
|
(0, import_appdynamics.setAppDynamicsUserData)({ envName: activeEnv });
|
|
40
40
|
(0, import_web_analytics.updateBAEventParameters)({ envName: activeEnv });
|
|
41
41
|
};
|
|
42
|
-
const loadAppConfig = () => new Promise((resolve, reject) => {
|
|
43
|
-
(0, import_http_client.getHTTPClient)().get(`${(0, import_window.getAssetPath)()}app.config.json`).then(({ data }) => {
|
|
42
|
+
const loadAppConfig = (assetPath = "") => new Promise((resolve, reject) => {
|
|
43
|
+
(0, import_http_client.getHTTPClient)().get(`${assetPath || (0, import_window.getAssetPath)()}app.config.json`).then(({ data }) => {
|
|
44
44
|
parseAppConfig(data);
|
|
45
45
|
resolve();
|
|
46
46
|
}).catch((err) => {
|
|
@@ -105,7 +105,8 @@ class CMicroAppGuest {
|
|
|
105
105
|
if (window.parent !== window) {
|
|
106
106
|
if (!isCrossDomain()) {
|
|
107
107
|
host = window.parent?.emui?.MicroAppHost || null;
|
|
108
|
-
}
|
|
108
|
+
}
|
|
109
|
+
if (!host) {
|
|
109
110
|
const ssfAdapter = new import_ssfguest_adapter.SSFGuestAdapter();
|
|
110
111
|
if (!await ssfAdapter.init())
|
|
111
112
|
return null;
|
|
@@ -35,7 +35,7 @@ class SSFGuestAdapter {
|
|
|
35
35
|
return import_em_ssf_guest.default.getObject(name);
|
|
36
36
|
}
|
|
37
37
|
subscribe(message, func) {
|
|
38
|
-
const callback = (
|
|
38
|
+
const callback = (scriptingObj, eventData) => {
|
|
39
39
|
func(message, eventData);
|
|
40
40
|
};
|
|
41
41
|
const [objectId, eventName] = message.split(".");
|
|
@@ -14,8 +14,8 @@ const parseAppConfig = (data) => {
|
|
|
14
14
|
setAppDynamicsUserData({ envName: activeEnv });
|
|
15
15
|
updateBAEventParameters({ envName: activeEnv });
|
|
16
16
|
};
|
|
17
|
-
const loadAppConfig = () => new Promise((resolve, reject) => {
|
|
18
|
-
getHTTPClient().get(`${getAssetPath()}app.config.json`).then(({ data }) => {
|
|
17
|
+
const loadAppConfig = (assetPath = "") => new Promise((resolve, reject) => {
|
|
18
|
+
getHTTPClient().get(`${assetPath || getAssetPath()}app.config.json`).then(({ data }) => {
|
|
19
19
|
parseAppConfig(data);
|
|
20
20
|
resolve();
|
|
21
21
|
}).catch((err) => {
|
|
@@ -80,7 +80,8 @@ class CMicroAppGuest {
|
|
|
80
80
|
if (window.parent !== window) {
|
|
81
81
|
if (!isCrossDomain()) {
|
|
82
82
|
host = window.parent?.emui?.MicroAppHost || null;
|
|
83
|
-
}
|
|
83
|
+
}
|
|
84
|
+
if (!host) {
|
|
84
85
|
const ssfAdapter = new SSFGuestAdapter();
|
|
85
86
|
if (!await ssfAdapter.init())
|
|
86
87
|
return null;
|
|
@@ -10,7 +10,7 @@ class SSFGuestAdapter {
|
|
|
10
10
|
return ssfGuest.getObject(name);
|
|
11
11
|
}
|
|
12
12
|
subscribe(message, func) {
|
|
13
|
-
const callback = (
|
|
13
|
+
const callback = (scriptingObj, eventData) => {
|
|
14
14
|
func(message, eventData);
|
|
15
15
|
};
|
|
16
16
|
const [objectId, eventName] = message.split(".");
|
|
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
|
|
@@ -22,7 +22,7 @@ export declare const createAppStore: (initialState: import("redux").CombinedStat
|
|
|
22
22
|
error: import("./error/index.js").ErrorState;
|
|
23
23
|
breakpoint: import("./breakpoint/index.js").BreakpointState;
|
|
24
24
|
liveMessage: import("./live-message/index.js").LiveMessageState;
|
|
25
|
-
}> | undefined, history: History, middlewareConfig?: MiddlewareConfig
|
|
25
|
+
}> | undefined, history: History, middlewareConfig?: MiddlewareConfig) => import("@reduxjs/toolkit").EnhancedStore<import("redux").CombinedState<{
|
|
26
26
|
waitMessage: import("./wait-message/reducer.js").WaitMessageState;
|
|
27
27
|
error: import("./error/index.js").ErrorState;
|
|
28
28
|
breakpoint: import("./breakpoint/index.js").BreakpointState;
|
|
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 declare const loadAppConfig: (assetPath?: string) => Promise<void>;
|
|
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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IMicroAppHost, ResizeEventHandler, BreakpointChangeEventHandler, SubscriptionListener, BAEvent, IDomainObject } from '@elliemae/pui-micro-frontend-base';
|
|
2
1
|
import { History, To } from 'history';
|
|
3
2
|
import { DefaultTheme } from 'styled-components';
|
|
3
|
+
import { IMicroAppHost, ResizeEventHandler, BreakpointChangeEventHandler, SubscriptionListener, BAEvent } from '@elliemae/pui-micro-frontend-base';
|
|
4
4
|
import { MicroFrontEndLogger } from './console-logger.js';
|
|
5
5
|
declare type HostOptions = {
|
|
6
6
|
systemVersion: string;
|
|
@@ -21,7 +21,7 @@ export declare class CMicroAppHost implements IMicroAppHost {
|
|
|
21
21
|
activeGuests: Record<string, unknown>;
|
|
22
22
|
private readonly onInit?;
|
|
23
23
|
private readonly onRenewSessionTimer?;
|
|
24
|
-
domainObjects: Record<string,
|
|
24
|
+
domainObjects: Record<string, any>;
|
|
25
25
|
private constructor();
|
|
26
26
|
static getInstance(params?: ConstructorParams): CMicroAppHost;
|
|
27
27
|
static isInitialized(): boolean;
|
|
@@ -51,6 +51,6 @@ export declare class CMicroAppHost implements IMicroAppHost {
|
|
|
51
51
|
onBreakpointChangeEvent(eventHandler: BreakpointChangeEventHandler): string;
|
|
52
52
|
setSystemVersion(version?: string): void;
|
|
53
53
|
sendBAEvent(this: void, data: BAEvent): void;
|
|
54
|
-
getObject<T
|
|
54
|
+
getObject<T>(name: string): Promise<T>;
|
|
55
55
|
}
|
|
56
56
|
export {};
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SubscriptionListener
|
|
1
|
+
import { SubscriptionListener } from '@elliemae/pui-micro-frontend-base';
|
|
2
2
|
export declare class SSFGuestAdapter {
|
|
3
3
|
init(): Promise<boolean>;
|
|
4
|
-
getObject<T
|
|
4
|
+
getObject<T>(name: string): Promise<T>;
|
|
5
5
|
subscribe<T>(message: string, func: SubscriptionListener<T>): string | number;
|
|
6
6
|
unsubscribe(token: string, objectId: string, eventName: string): void;
|
|
7
7
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
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,4 @@
|
|
|
1
|
+
import { RenderOptions } from '@testing-library/react';
|
|
2
|
+
declare const customRender: (ui: React.ReactElement, options?: Omit<RenderOptions, 'queries'>) => import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries.js"), HTMLElement, HTMLElement>;
|
|
3
|
+
export * from '@testing-library/react';
|
|
4
|
+
export { customRender as render };
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-app-sdk",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.5",
|
|
4
4
|
"description": "ICE MT UI Platform Application SDK ",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css",
|
|
@@ -91,8 +91,11 @@
|
|
|
91
91
|
"setup": "rimraf -r node_modules && rimraf pnpm-lock.yaml && pnpm i",
|
|
92
92
|
"test": "pui-cli test -p",
|
|
93
93
|
"test:fix": "pui-cli test -f",
|
|
94
|
-
"test:watch": "
|
|
94
|
+
"test:watch": "jest --watch",
|
|
95
|
+
"test:debug": "pui-cli test --debug",
|
|
95
96
|
"test:staged": "jest --coverage --passWithNoTests --bail --findRelatedTests",
|
|
97
|
+
"tscheck": "pui-cli tscheck --files",
|
|
98
|
+
"vitest": "pui-cli vitest",
|
|
96
99
|
"upgrade": "ncu -u && npm run setup",
|
|
97
100
|
"prepare": "[ -n \"$CI\" ] || husky install"
|
|
98
101
|
},
|
|
@@ -103,48 +106,50 @@
|
|
|
103
106
|
"indent": 4
|
|
104
107
|
},
|
|
105
108
|
"peerDependencies": {
|
|
106
|
-
"@elliemae/app-react-dependencies": "^4.0.0-beta.
|
|
107
|
-
"@elliemae/ds-basic": "^3.0
|
|
108
|
-
"@elliemae/ds-button": "^3.0
|
|
109
|
-
"@elliemae/ds-controlled-form": "^3.0
|
|
110
|
-
"@elliemae/ds-date-picker": "^3.0
|
|
111
|
-
"@elliemae/ds-date-range-picker": "^3.0
|
|
112
|
-
"@elliemae/ds-dialog": "^3.0
|
|
113
|
-
"@elliemae/ds-form": "^3.0
|
|
114
|
-
"@elliemae/ds-form-layout-blocks": "^3.0
|
|
115
|
-
"@elliemae/ds-grid": "^3.0
|
|
116
|
-
"@elliemae/ds-loading-indicator": "^3.0
|
|
117
|
-
"@elliemae/ds-modal": "^3.0
|
|
118
|
-
"@elliemae/ds-popperjs": "^3.0
|
|
119
|
-
"@elliemae/ds-toast": "^3.0
|
|
120
|
-
"@elliemae/em-ssf-guest": "^1.11.
|
|
109
|
+
"@elliemae/app-react-dependencies": "^4.0.0-beta.2",
|
|
110
|
+
"@elliemae/ds-basic": "^3.2.0",
|
|
111
|
+
"@elliemae/ds-button": "^3.2.0",
|
|
112
|
+
"@elliemae/ds-controlled-form": "^3.2.0",
|
|
113
|
+
"@elliemae/ds-date-picker": "^3.2.0",
|
|
114
|
+
"@elliemae/ds-date-range-picker": "^3.2.0",
|
|
115
|
+
"@elliemae/ds-dialog": "^3.2.0",
|
|
116
|
+
"@elliemae/ds-form": "^3.2.0",
|
|
117
|
+
"@elliemae/ds-form-layout-blocks": "^3.2.0",
|
|
118
|
+
"@elliemae/ds-grid": "^3.2.0",
|
|
119
|
+
"@elliemae/ds-loading-indicator": "^3.2.0",
|
|
120
|
+
"@elliemae/ds-modal": "^3.2.0",
|
|
121
|
+
"@elliemae/ds-popperjs": "^3.2.0",
|
|
122
|
+
"@elliemae/ds-toast": "^3.2.0",
|
|
123
|
+
"@elliemae/em-ssf-guest": "^1.11.2",
|
|
121
124
|
"@elliemae/pui-diagnostics": "^2.7.4",
|
|
122
|
-
"@elliemae/pui-micro-frontend-base": "^1.
|
|
123
|
-
"@elliemae/pui-
|
|
125
|
+
"@elliemae/pui-micro-frontend-base": "^1.12.2",
|
|
126
|
+
"@elliemae/pui-scripting-object": "^1.0.2",
|
|
127
|
+
"@elliemae/pui-theme": "^2.6.0",
|
|
124
128
|
"@elliemae/pui-user-monitoring": "^1.15.1"
|
|
125
129
|
},
|
|
126
130
|
"devDependencies": {
|
|
127
|
-
"@elliemae/app-react-dependencies": "4.0.0-beta.
|
|
131
|
+
"@elliemae/app-react-dependencies": "4.0.0-beta.2",
|
|
128
132
|
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.4.2",
|
|
129
|
-
"@elliemae/ds-basic": "~3.0
|
|
130
|
-
"@elliemae/ds-button": "~3.0
|
|
131
|
-
"@elliemae/ds-controlled-form": "~3.0
|
|
132
|
-
"@elliemae/ds-date-picker": "~3.0
|
|
133
|
-
"@elliemae/ds-date-range-picker": "~3.0
|
|
134
|
-
"@elliemae/ds-dialog": "~3.0
|
|
135
|
-
"@elliemae/ds-form": "~3.0
|
|
136
|
-
"@elliemae/ds-form-layout-blocks": "~3.0
|
|
137
|
-
"@elliemae/ds-grid": "~3.0
|
|
138
|
-
"@elliemae/ds-loading-indicator": "~3.0
|
|
139
|
-
"@elliemae/ds-modal": "~3.0
|
|
140
|
-
"@elliemae/ds-popperjs": "~3.0
|
|
141
|
-
"@elliemae/ds-toast": "~3.0
|
|
142
|
-
"@elliemae/em-ssf-guest": "~1.11.
|
|
143
|
-
"@elliemae/pui-cli": "7.0.0-alpha.
|
|
133
|
+
"@elliemae/ds-basic": "~3.2.0",
|
|
134
|
+
"@elliemae/ds-button": "~3.2.0",
|
|
135
|
+
"@elliemae/ds-controlled-form": "~3.2.0",
|
|
136
|
+
"@elliemae/ds-date-picker": "~3.2.0",
|
|
137
|
+
"@elliemae/ds-date-range-picker": "~3.2.0",
|
|
138
|
+
"@elliemae/ds-dialog": "~3.2.0",
|
|
139
|
+
"@elliemae/ds-form": "~3.2.0",
|
|
140
|
+
"@elliemae/ds-form-layout-blocks": "~3.2.0",
|
|
141
|
+
"@elliemae/ds-grid": "~3.2.0",
|
|
142
|
+
"@elliemae/ds-loading-indicator": "~3.2.0",
|
|
143
|
+
"@elliemae/ds-modal": "~3.2.0",
|
|
144
|
+
"@elliemae/ds-popperjs": "~3.2.0",
|
|
145
|
+
"@elliemae/ds-toast": "~3.2.0",
|
|
146
|
+
"@elliemae/em-ssf-guest": "~1.11.2",
|
|
147
|
+
"@elliemae/pui-cli": "7.0.0-alpha.22",
|
|
144
148
|
"@elliemae/pui-diagnostics": "~2.7.4",
|
|
145
149
|
"@elliemae/pui-e2e-test-sdk": "~7.3.4",
|
|
146
|
-
"@elliemae/pui-micro-frontend-base": "~1.
|
|
147
|
-
"@elliemae/pui-
|
|
150
|
+
"@elliemae/pui-micro-frontend-base": "~1.12.2",
|
|
151
|
+
"@elliemae/pui-scripting-object": "~1.0.2",
|
|
152
|
+
"@elliemae/pui-theme": "~2.6.0",
|
|
148
153
|
"@elliemae/pui-user-monitoring": "~1.15.1"
|
|
149
154
|
}
|
|
150
155
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const loadAppConfig: () => Promise<void>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { RenderOptions } from '@testing-library/react';
|
|
2
|
-
declare const customRender: (ui: React.ReactElement, options?: Omit<RenderOptions<typeof import("@testing-library/dom/types/queries"), HTMLElement, HTMLElement>, "queries"> | undefined) => import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement, HTMLElement>;
|
|
3
|
-
export * from '@testing-library/react';
|
|
4
|
-
export { customRender as render };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const VisuallyHidden: import("react").ForwardRefExoticComponent<Pick<import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>, string | number | symbol> & import("react").RefAttributes<HTMLSpanElement>>;
|