@elliemae/pui-app-sdk 2.15.1 → 2.16.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/dist/cjs/utils/micro-frontend/guest.js +12 -12
- package/dist/cjs/view/window-size/index.js +11 -7
- package/dist/es/typings/styled.d.js +0 -1
- package/dist/es/utils/micro-frontend/guest.js +12 -12
- package/dist/es/view/window-size/index.js +11 -7
- package/dist/types/utils/testing/render-with-redux.d.ts +1 -1
- package/dist/types/utils/testing/render-with-router-redux.d.ts +1 -1
- package/dist/types/utils/testing/render-with-router.d.ts +1 -1
- package/package.json +16 -16
|
@@ -163,20 +163,20 @@ class CMicroAppGuest {
|
|
|
163
163
|
|
|
164
164
|
__webpack_public_path__ = __webpack_public_path__.replace(/\/?$/, '/');
|
|
165
165
|
return (0, _index.loadAppConfig)(__webpack_public_path__).then(() => {
|
|
166
|
+
const instanceId = this.getSessionStorageItem('instanceId') || '';
|
|
167
|
+
const userId = this.getSessionStorageItem('userId') || '';
|
|
168
|
+
(0, _webAnalytics.updateBAEventParameters)({
|
|
169
|
+
appId: this.appId,
|
|
170
|
+
instanceId,
|
|
171
|
+
userId
|
|
172
|
+
});
|
|
173
|
+
(0, _appdynamics.setAppDynamicsUserData)({
|
|
174
|
+
appId: this.appId,
|
|
175
|
+
instanceId,
|
|
176
|
+
userId
|
|
177
|
+
});
|
|
166
178
|
if (this.onInit) this.onInit(this.props);
|
|
167
179
|
});
|
|
168
|
-
const instanceId = this.getSessionStorageItem('instanceId') || '';
|
|
169
|
-
const userId = this.getSessionStorageItem('userId') || '';
|
|
170
|
-
(0, _webAnalytics.updateBAEventParameters)({
|
|
171
|
-
appId: this.appId,
|
|
172
|
-
instanceId,
|
|
173
|
-
userId
|
|
174
|
-
});
|
|
175
|
-
(0, _appdynamics.setAppDynamicsUserData)({
|
|
176
|
-
appId: this.appId,
|
|
177
|
-
instanceId,
|
|
178
|
-
userId
|
|
179
|
-
});
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
mount(options = {
|
|
@@ -15,13 +15,17 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
15
15
|
|
|
16
16
|
const WindowSize = () => {
|
|
17
17
|
(0, _react.useEffect)(() => {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
if (window.ResizeObserver) {
|
|
19
|
+
const observer = new ResizeObserver(entries => {
|
|
20
|
+
(0, _pubsubJs.publish)(_constants.HOST_WINDOW_RESIZED, entries && entries[0]);
|
|
21
|
+
});
|
|
22
|
+
observer.observe(window.document.documentElement);
|
|
23
|
+
return () => {
|
|
24
|
+
observer.unobserve(window.document.documentElement);
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
return () => {};
|
|
25
29
|
}, []);
|
|
26
30
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {});
|
|
27
31
|
};
|
|
@@ -149,20 +149,20 @@ export class CMicroAppGuest {
|
|
|
149
149
|
|
|
150
150
|
__webpack_public_path__ = __webpack_public_path__.replace(/\/?$/, '/');
|
|
151
151
|
return loadAppConfig(__webpack_public_path__).then(() => {
|
|
152
|
+
const instanceId = this.getSessionStorageItem('instanceId') || '';
|
|
153
|
+
const userId = this.getSessionStorageItem('userId') || '';
|
|
154
|
+
updateBAEventParameters({
|
|
155
|
+
appId: this.appId,
|
|
156
|
+
instanceId,
|
|
157
|
+
userId
|
|
158
|
+
});
|
|
159
|
+
setAppDynamicsUserData({
|
|
160
|
+
appId: this.appId,
|
|
161
|
+
instanceId,
|
|
162
|
+
userId
|
|
163
|
+
});
|
|
152
164
|
if (this.onInit) this.onInit(this.props);
|
|
153
165
|
});
|
|
154
|
-
const instanceId = this.getSessionStorageItem('instanceId') || '';
|
|
155
|
-
const userId = this.getSessionStorageItem('userId') || '';
|
|
156
|
-
updateBAEventParameters({
|
|
157
|
-
appId: this.appId,
|
|
158
|
-
instanceId,
|
|
159
|
-
userId
|
|
160
|
-
});
|
|
161
|
-
setAppDynamicsUserData({
|
|
162
|
-
appId: this.appId,
|
|
163
|
-
instanceId,
|
|
164
|
-
userId
|
|
165
|
-
});
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
mount(options = {
|
|
@@ -5,13 +5,17 @@ import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
export const WindowSize = () => {
|
|
7
7
|
useEffect(() => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
if (window.ResizeObserver) {
|
|
9
|
+
const observer = new ResizeObserver(entries => {
|
|
10
|
+
publish(HOST_WINDOW_RESIZED, entries && entries[0]);
|
|
11
|
+
});
|
|
12
|
+
observer.observe(window.document.documentElement);
|
|
13
|
+
return () => {
|
|
14
|
+
observer.unobserve(window.document.documentElement);
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
return () => {};
|
|
15
19
|
}, []);
|
|
16
20
|
return /*#__PURE__*/_jsx(_Fragment, {});
|
|
17
21
|
};
|
|
@@ -34,7 +34,7 @@ export declare const renderWithRedux: (ui: React.ReactElement, { initialState, s
|
|
|
34
34
|
}>, import("redux").Dispatch<import("redux").AnyAction>>>>;
|
|
35
35
|
container: HTMLElement;
|
|
36
36
|
baseElement: Element;
|
|
37
|
-
debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format
|
|
37
|
+
debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format").PrettyFormatOptions | undefined) => void;
|
|
38
38
|
rerender: (ui: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => void;
|
|
39
39
|
unmount: () => void;
|
|
40
40
|
asFragment: () => DocumentFragment;
|
|
@@ -37,7 +37,7 @@ export declare const renderWithRouterRedux: (ui: React.ReactElement, { route, hi
|
|
|
37
37
|
}>, import("redux").Dispatch<import("redux").AnyAction>>>>;
|
|
38
38
|
container: HTMLElement;
|
|
39
39
|
baseElement: Element;
|
|
40
|
-
debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format
|
|
40
|
+
debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format").PrettyFormatOptions | undefined) => void;
|
|
41
41
|
rerender: (ui: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => void;
|
|
42
42
|
unmount: () => void;
|
|
43
43
|
asFragment: () => DocumentFragment;
|
|
@@ -8,7 +8,7 @@ export declare const renderWithRouter: (ui: React.ReactElement, { route, history
|
|
|
8
8
|
history: History<unknown>;
|
|
9
9
|
container: HTMLElement;
|
|
10
10
|
baseElement: Element;
|
|
11
|
-
debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format
|
|
11
|
+
debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format").PrettyFormatOptions | undefined) => void;
|
|
12
12
|
rerender: (ui: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => void;
|
|
13
13
|
unmount: () => void;
|
|
14
14
|
asFragment: () => DocumentFragment;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-app-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.16.1",
|
|
4
4
|
"description": "ICE MT UI Platform Application SDK ",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css",
|
|
@@ -89,29 +89,29 @@
|
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|
|
91
91
|
"@elliemae/app-react-dependencies": "^2.10.0",
|
|
92
|
-
"@elliemae/ds-basic": "^1.
|
|
93
|
-
"@elliemae/ds-date-picker": "^1.
|
|
94
|
-
"@elliemae/ds-modal": "^1.
|
|
95
|
-
"@elliemae/ds-popperjs": "^1.
|
|
92
|
+
"@elliemae/ds-basic": "^1.60.0",
|
|
93
|
+
"@elliemae/ds-date-picker": "^1.60.0",
|
|
94
|
+
"@elliemae/ds-modal": "^1.60.0",
|
|
95
|
+
"@elliemae/ds-popperjs": "^1.60.0",
|
|
96
96
|
"@elliemae/em-ssf-guest": "^1.11.1",
|
|
97
|
-
"@elliemae/pui-diagnostics": "^2.7.
|
|
97
|
+
"@elliemae/pui-diagnostics": "^2.7.1",
|
|
98
98
|
"@elliemae/pui-micro-frontend-base": "^1.9.0",
|
|
99
|
-
"@elliemae/pui-theme": "^2.2.
|
|
100
|
-
"@elliemae/pui-user-monitoring": "^1.
|
|
99
|
+
"@elliemae/pui-theme": "^2.2.6",
|
|
100
|
+
"@elliemae/pui-user-monitoring": "^1.11.2"
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
103
|
"@elliemae/app-react-dependencies": "~2.10.0",
|
|
104
104
|
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.2.1",
|
|
105
|
-
"@elliemae/ds-basic": "~1.
|
|
106
|
-
"@elliemae/ds-date-picker": "~1.
|
|
107
|
-
"@elliemae/ds-modal": "~1.
|
|
108
|
-
"@elliemae/ds-popperjs": "~1.
|
|
105
|
+
"@elliemae/ds-basic": "~1.60.0",
|
|
106
|
+
"@elliemae/ds-date-picker": "~1.60.0",
|
|
107
|
+
"@elliemae/ds-modal": "~1.60.0",
|
|
108
|
+
"@elliemae/ds-popperjs": "~1.60.0",
|
|
109
109
|
"@elliemae/em-ssf-guest": "~1.11.1",
|
|
110
|
-
"@elliemae/pui-cli": "~5.
|
|
110
|
+
"@elliemae/pui-cli": "~5.17.3",
|
|
111
111
|
"@elliemae/pui-diagnostics": "~2.7.1",
|
|
112
|
-
"@elliemae/pui-e2e-test-sdk": "~6.
|
|
112
|
+
"@elliemae/pui-e2e-test-sdk": "~6.7.0",
|
|
113
113
|
"@elliemae/pui-micro-frontend-base": "~1.9.0",
|
|
114
|
-
"@elliemae/pui-theme": "~2.2.
|
|
115
|
-
"@elliemae/pui-user-monitoring": "~1.
|
|
114
|
+
"@elliemae/pui-theme": "~2.2.6",
|
|
115
|
+
"@elliemae/pui-user-monitoring": "~1.11.2"
|
|
116
116
|
}
|
|
117
117
|
}
|