@elliemae/pui-app-sdk 3.7.0 → 3.9.1
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 +1 -1
- package/dist/cjs/index.js +2 -0
- package/dist/cjs/utils/micro-frontend/host.js +1 -1
- package/dist/cjs/utils/micro-frontend/ssfguest-adapter.js +1 -1
- package/dist/cjs/view/modals/navigation-prompt/index.js +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/utils/micro-frontend/host.js +1 -1
- package/dist/esm/utils/micro-frontend/ssfguest-adapter.js +1 -1
- package/dist/esm/view/modals/navigation-prompt/index.js +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils/micro-frontend/host.d.ts +3 -3
- package/dist/types/utils/micro-frontend/ssfguest-adapter.d.ts +2 -2
- package/dist/types/view/modals/navigation-prompt/index.d.ts +1 -1
- package/package.json +41 -41
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Software Development Kit / API for developing React Web applications. Implements cross cutting concerns as reusable APIs
|
|
4
4
|
|
|
5
|
-
Build: [](https://jenkins.dco.elmae/job/UIPlatform/job/Dev/job/AppSDK/job/build/job/master/) Deploy: [](https://jenkins.dco.elmae/job/UIPlatform/Dev/AppSDK/deploy) Test: [](https://jenkins.dco.elmae/job/UIPlatform/QA/AppSDK/test) SecScan: [](https://jenkins.dco.elmae/job/UIPlatform/job/Dev/job/AppSDK/job/secscan/)
|
|
6
6
|
|
|
7
7
|
[SonarQube Report](https://sonar.ellielabs.com/overview?id=elliemae.pui.app.sdk-master)
|
|
8
8
|
|
package/dist/cjs/index.js
CHANGED
|
@@ -41,6 +41,7 @@ __export(lib_exports, {
|
|
|
41
41
|
MASK_TYPES: () => import_input_mask.MASK_TYPES,
|
|
42
42
|
MicroApp: () => import_micro_app.MicroApp,
|
|
43
43
|
MicroIFrameApp: () => import_micro_iframe_app.MicroIFrameApp,
|
|
44
|
+
NavigationPrompt: () => import_navigation_prompt.NavigationPrompt,
|
|
44
45
|
NavigationPromptActions: () => import_actions2.ACTIONS,
|
|
45
46
|
Page: () => import_page.Page,
|
|
46
47
|
Radio: () => import_radio.Radio,
|
|
@@ -160,6 +161,7 @@ var import_helpers2 = require("./api/helpers.js");
|
|
|
160
161
|
var import_users = require("./api/users/index.js");
|
|
161
162
|
var import_decorator = require("./view/storybook/decorator.js");
|
|
162
163
|
var import_error_toast = require("./view/error-toast/index.js");
|
|
164
|
+
var import_navigation_prompt = require("./view/modals/navigation-prompt/index.js");
|
|
163
165
|
var import_form = require("./view/form/index.js");
|
|
164
166
|
var import_connect_form = require("./view/fields/connect-form.js");
|
|
165
167
|
var import_form_item_layout = require("./view/fields/form-item-layout/index.js");
|
|
@@ -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(".");
|
|
@@ -30,7 +30,7 @@ var import_ds_button = require("@elliemae/ds-button");
|
|
|
30
30
|
var import_ds_dialog = require("@elliemae/ds-dialog");
|
|
31
31
|
var import_react_redux = require("../../../data/react-redux.js");
|
|
32
32
|
var import_actions = require("../../../data/navigation-prompt/actions.js");
|
|
33
|
-
const NavigationPrompt = (0, import_react.memo)(({ open }) => {
|
|
33
|
+
const NavigationPrompt = (0, import_react.memo)(({ open = false }) => {
|
|
34
34
|
const dispatch = (0, import_react_redux.useAppDispatch)();
|
|
35
35
|
const cancelDialog = () => dispatch(import_actions.navigationPrompt.cancel());
|
|
36
36
|
const confirmDialog = () => dispatch(import_actions.navigationPrompt.confirm());
|
package/dist/esm/index.js
CHANGED
|
@@ -67,6 +67,7 @@ import { getApiActionCreator, getSelectField } from "./api/helpers.js";
|
|
|
67
67
|
import { getUser } from "./api/users/index.js";
|
|
68
68
|
import { withAppDecorator } from "./view/storybook/decorator.js";
|
|
69
69
|
import { ErrorToast } from "./view/error-toast/index.js";
|
|
70
|
+
import { NavigationPrompt } from "./view/modals/navigation-prompt/index.js";
|
|
70
71
|
import { Form } from "./view/form/index.js";
|
|
71
72
|
import { ConnectForm } from "./view/fields/connect-form.js";
|
|
72
73
|
import { FormItemLayout } from "./view/fields/form-item-layout/index.js";
|
|
@@ -120,6 +121,7 @@ export {
|
|
|
120
121
|
MASK_TYPES,
|
|
121
122
|
MicroApp,
|
|
122
123
|
MicroIFrameApp,
|
|
124
|
+
NavigationPrompt,
|
|
123
125
|
ACTIONS as NavigationPromptActions,
|
|
124
126
|
Page,
|
|
125
127
|
Radio,
|
|
@@ -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(".");
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "@elliemae/ds-dialog";
|
|
13
13
|
import { useAppDispatch } from "../../../data/react-redux.js";
|
|
14
14
|
import { navigationPrompt } from "../../../data/navigation-prompt/actions.js";
|
|
15
|
-
const NavigationPrompt = memo(({ open }) => {
|
|
15
|
+
const NavigationPrompt = memo(({ open = false }) => {
|
|
16
16
|
const dispatch = useAppDispatch();
|
|
17
17
|
const cancelDialog = () => dispatch(navigationPrompt.cancel());
|
|
18
18
|
const confirmDialog = () => dispatch(navigationPrompt.confirm());
|
package/dist/types/index.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export { getApiActionCreator, getSelectField } from './api/helpers.js';
|
|
|
43
43
|
export { getUser as fetchUserSettings } from './api/users/index.js';
|
|
44
44
|
export { withAppDecorator } from './view/storybook/decorator.js';
|
|
45
45
|
export { ErrorToast } from './view/error-toast/index.js';
|
|
46
|
+
export { NavigationPrompt } from './view/modals/navigation-prompt/index.js';
|
|
46
47
|
export { Form } from './view/form/index.js';
|
|
47
48
|
export { ConnectForm } from './view/fields/connect-form.js';
|
|
48
49
|
export { FormItemLayout } from './view/fields/form-item-layout/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IMicroAppHost, ResizeEventHandler, BreakpointChangeEventHandler, SubscriptionListener, BAEvent
|
|
1
|
+
import { IMicroAppHost, ResizeEventHandler, BreakpointChangeEventHandler, SubscriptionListener, BAEvent } from '@elliemae/pui-micro-frontend-base';
|
|
2
2
|
import { History, To } from 'history';
|
|
3
3
|
import { DefaultTheme } from 'styled-components';
|
|
4
4
|
import { MicroFrontEndLogger } from './console-logger.js';
|
|
@@ -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 {};
|
|
@@ -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
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-app-sdk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.9.1",
|
|
4
4
|
"description": "ICE MT UI Platform Application SDK ",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css",
|
|
@@ -103,48 +103,48 @@
|
|
|
103
103
|
"indent": 4
|
|
104
104
|
},
|
|
105
105
|
"peerDependencies": {
|
|
106
|
-
"@elliemae/app-react-dependencies": "^3.
|
|
107
|
-
"@elliemae/ds-basic": "^
|
|
108
|
-
"@elliemae/ds-button": "^
|
|
109
|
-
"@elliemae/ds-controlled-form": "^
|
|
110
|
-
"@elliemae/ds-date-picker": "^
|
|
111
|
-
"@elliemae/ds-date-range-picker": "^
|
|
112
|
-
"@elliemae/ds-dialog": "^
|
|
113
|
-
"@elliemae/ds-form": "^
|
|
114
|
-
"@elliemae/ds-form-layout-blocks": "^
|
|
115
|
-
"@elliemae/ds-grid": "^
|
|
116
|
-
"@elliemae/ds-loading-indicator": "^
|
|
117
|
-
"@elliemae/ds-modal": "^
|
|
118
|
-
"@elliemae/ds-popperjs": "^
|
|
119
|
-
"@elliemae/ds-toast": "^
|
|
120
|
-
"@elliemae/em-ssf-guest": "^1.11.
|
|
121
|
-
"@elliemae/pui-diagnostics": "^2.7.
|
|
122
|
-
"@elliemae/pui-micro-frontend-base": "^1.
|
|
123
|
-
"@elliemae/pui-theme": "^2.
|
|
124
|
-
"@elliemae/pui-user-monitoring": "^1.15.
|
|
106
|
+
"@elliemae/app-react-dependencies": "^3.7.0",
|
|
107
|
+
"@elliemae/ds-basic": "^3.1.4",
|
|
108
|
+
"@elliemae/ds-button": "^3.1.4",
|
|
109
|
+
"@elliemae/ds-controlled-form": "^3.1.4",
|
|
110
|
+
"@elliemae/ds-date-picker": "^3.1.4",
|
|
111
|
+
"@elliemae/ds-date-range-picker": "^3.1.4",
|
|
112
|
+
"@elliemae/ds-dialog": "^3.1.4",
|
|
113
|
+
"@elliemae/ds-form": "^3.1.4",
|
|
114
|
+
"@elliemae/ds-form-layout-blocks": "^3.1.4",
|
|
115
|
+
"@elliemae/ds-grid": "^3.1.4",
|
|
116
|
+
"@elliemae/ds-loading-indicator": "^3.1.4",
|
|
117
|
+
"@elliemae/ds-modal": "^3.1.4",
|
|
118
|
+
"@elliemae/ds-popperjs": "^3.1.4",
|
|
119
|
+
"@elliemae/ds-toast": "^3.1.4",
|
|
120
|
+
"@elliemae/em-ssf-guest": "^1.11.2",
|
|
121
|
+
"@elliemae/pui-diagnostics": "^2.7.4",
|
|
122
|
+
"@elliemae/pui-micro-frontend-base": "^1.12.2",
|
|
123
|
+
"@elliemae/pui-theme": "^2.6.0",
|
|
124
|
+
"@elliemae/pui-user-monitoring": "^1.15.1"
|
|
125
125
|
},
|
|
126
126
|
"devDependencies": {
|
|
127
|
-
"@elliemae/app-react-dependencies": "~3.
|
|
127
|
+
"@elliemae/app-react-dependencies": "~3.7.0",
|
|
128
128
|
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.4.2",
|
|
129
|
-
"@elliemae/ds-basic": "
|
|
130
|
-
"@elliemae/ds-button": "
|
|
131
|
-
"@elliemae/ds-controlled-form": "
|
|
132
|
-
"@elliemae/ds-date-picker": "
|
|
133
|
-
"@elliemae/ds-date-range-picker": "
|
|
134
|
-
"@elliemae/ds-dialog": "
|
|
135
|
-
"@elliemae/ds-form": "
|
|
136
|
-
"@elliemae/ds-form-layout-blocks": "
|
|
137
|
-
"@elliemae/ds-grid": "
|
|
138
|
-
"@elliemae/ds-loading-indicator": "
|
|
139
|
-
"@elliemae/ds-modal": "
|
|
140
|
-
"@elliemae/ds-popperjs": "
|
|
141
|
-
"@elliemae/ds-toast": "
|
|
142
|
-
"@elliemae/em-ssf-guest": "~1.11.
|
|
143
|
-
"@elliemae/pui-cli": "~6.
|
|
144
|
-
"@elliemae/pui-diagnostics": "~2.7.
|
|
145
|
-
"@elliemae/pui-e2e-test-sdk": "~7.3.
|
|
146
|
-
"@elliemae/pui-micro-frontend-base": "~1.
|
|
147
|
-
"@elliemae/pui-theme": "2.
|
|
148
|
-
"@elliemae/pui-user-monitoring": "~1.15.
|
|
129
|
+
"@elliemae/ds-basic": "~3.1.4",
|
|
130
|
+
"@elliemae/ds-button": "~3.1.4",
|
|
131
|
+
"@elliemae/ds-controlled-form": "~3.1.4",
|
|
132
|
+
"@elliemae/ds-date-picker": "~3.1.4",
|
|
133
|
+
"@elliemae/ds-date-range-picker": "~3.1.4",
|
|
134
|
+
"@elliemae/ds-dialog": "~3.1.4",
|
|
135
|
+
"@elliemae/ds-form": "~3.1.4",
|
|
136
|
+
"@elliemae/ds-form-layout-blocks": "~3.1.4",
|
|
137
|
+
"@elliemae/ds-grid": "~3.1.4",
|
|
138
|
+
"@elliemae/ds-loading-indicator": "~3.1.4",
|
|
139
|
+
"@elliemae/ds-modal": "~3.1.4",
|
|
140
|
+
"@elliemae/ds-popperjs": "~3.1.4",
|
|
141
|
+
"@elliemae/ds-toast": "~3.1.4",
|
|
142
|
+
"@elliemae/em-ssf-guest": "~1.11.2",
|
|
143
|
+
"@elliemae/pui-cli": "~6.19.0",
|
|
144
|
+
"@elliemae/pui-diagnostics": "~2.7.4",
|
|
145
|
+
"@elliemae/pui-e2e-test-sdk": "~7.3.4",
|
|
146
|
+
"@elliemae/pui-micro-frontend-base": "~1.12.2",
|
|
147
|
+
"@elliemae/pui-theme": "2.6.0",
|
|
148
|
+
"@elliemae/pui-user-monitoring": "~1.15.1"
|
|
149
149
|
}
|
|
150
150
|
}
|