@elliemae/pui-app-sdk 3.12.0 → 3.13.0
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/utils/auth/index.js +3 -3
- package/dist/cjs/utils/micro-frontend/guest.js +2 -1
- package/dist/cjs/view/login/index.js +15 -3
- package/dist/cjs/view/require-auth.js +1 -1
- package/dist/esm/utils/auth/index.js +3 -3
- package/dist/esm/utils/micro-frontend/guest.js +2 -1
- package/dist/esm/view/login/index.js +13 -4
- package/dist/esm/view/require-auth.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 +0 -0
- 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/{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 +3 -1
- 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/ssfguest-adapter.d.ts +0 -0
- 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/{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}/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/lib/view/login/index.d.ts +9 -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/{view → lib/view}/visually-hidden/index.d.ts +0 -0
- package/package.json +32 -30
- package/dist/types/view/login/index.d.ts +0 -7
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Build: [
|
|
8
8
|
|
|
9
|
-
[API Documentation](http://git.elliemae.io/pages/platform-ui/pui-app-sdk
|
|
9
|
+
[API Documentation](http://git.elliemae.io/pages/platform-ui/pui-app-sdk)
|
|
10
10
|
|
|
11
11
|
[QA Environment](https://qa.appsdk.rd.elliemae.io)
|
|
12
12
|
|
|
@@ -138,7 +138,6 @@ const authorize = async ({
|
|
|
138
138
|
const data = await (0, import_users.getUser)({ userName });
|
|
139
139
|
sessionStorage.setItem("userSettings", JSON.stringify(data));
|
|
140
140
|
const pathName = new URL(redirectUri).pathname;
|
|
141
|
-
import_history.browserHistory.push(`${pathName.replace(/\/$/, "")}/_rerender`);
|
|
142
141
|
import_history.browserHistory.replace(pathName);
|
|
143
142
|
} catch (err) {
|
|
144
143
|
const code = err?.response?.data?.code;
|
|
@@ -165,7 +164,8 @@ const login = async ({
|
|
|
165
164
|
};
|
|
166
165
|
if (idpCode) {
|
|
167
166
|
await authorize(loginInfo);
|
|
168
|
-
|
|
169
|
-
navigateToLoginPage(loginInfo);
|
|
167
|
+
return { authorized: true };
|
|
170
168
|
}
|
|
169
|
+
navigateToLoginPage(loginInfo);
|
|
170
|
+
return { authorized: false };
|
|
171
171
|
};
|
|
@@ -107,7 +107,8 @@ class CMicroAppGuest {
|
|
|
107
107
|
if (window.parent !== window) {
|
|
108
108
|
if (!isCrossDomain()) {
|
|
109
109
|
host = window.parent?.emui?.MicroAppHost || null;
|
|
110
|
-
}
|
|
110
|
+
}
|
|
111
|
+
if (!host) {
|
|
111
112
|
const ssfAdapter = new import_ssfguest_adapter.SSFGuestAdapter();
|
|
112
113
|
if (!await ssfAdapter.init())
|
|
113
114
|
return null;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
5
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
8
|
var __export = (target, all) => {
|
|
7
9
|
for (var name in all)
|
|
@@ -15,23 +17,33 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
15
17
|
}
|
|
16
18
|
return to;
|
|
17
19
|
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
|
|
18
21
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
22
|
var login_exports = {};
|
|
20
23
|
__export(login_exports, {
|
|
21
24
|
Login: () => Login
|
|
22
25
|
});
|
|
23
26
|
module.exports = __toCommonJS(login_exports);
|
|
27
|
+
var React = __toESM(require("react"));
|
|
24
28
|
var import_react = require("react");
|
|
25
29
|
var import_react_redux = require("../../data/react-redux.js");
|
|
26
30
|
var import_auth = require("../../utils/auth/index.js");
|
|
27
31
|
var import_actions = require("../../data/auth/actions.js");
|
|
28
|
-
const Login = ({
|
|
32
|
+
const Login = ({
|
|
33
|
+
clientId,
|
|
34
|
+
scope,
|
|
35
|
+
responseType,
|
|
36
|
+
children
|
|
37
|
+
}) => {
|
|
38
|
+
const [userAuthorized, setUserAuthorized] = (0, import_react.useState)(false);
|
|
29
39
|
const dispatch = (0, import_react_redux.useAppDispatch)();
|
|
30
40
|
(0, import_react.useEffect)(() => {
|
|
31
|
-
(0, import_auth.login)({ clientId, scope, responseType }).then(() => {
|
|
41
|
+
(0, import_auth.login)({ clientId, scope, responseType }).then(({ authorized }) => {
|
|
42
|
+
if (authorized)
|
|
43
|
+
setUserAuthorized(true);
|
|
32
44
|
dispatch({ type: import_actions.LOGIN_SUCCESS });
|
|
33
45
|
}).catch(() => {
|
|
34
46
|
});
|
|
35
47
|
}, [dispatch, clientId, scope, responseType]);
|
|
36
|
-
return null;
|
|
48
|
+
return userAuthorized ? /* @__PURE__ */ React.createElement(React.Fragment, null, children) : null;
|
|
37
49
|
};
|
|
@@ -115,7 +115,6 @@ const authorize = async ({
|
|
|
115
115
|
const data = await getUser({ userName });
|
|
116
116
|
sessionStorage.setItem("userSettings", JSON.stringify(data));
|
|
117
117
|
const pathName = new URL(redirectUri).pathname;
|
|
118
|
-
history.push(`${pathName.replace(/\/$/, "")}/_rerender`);
|
|
119
118
|
history.replace(pathName);
|
|
120
119
|
} catch (err) {
|
|
121
120
|
const code = err?.response?.data?.code;
|
|
@@ -142,9 +141,10 @@ const login = async ({
|
|
|
142
141
|
};
|
|
143
142
|
if (idpCode) {
|
|
144
143
|
await authorize(loginInfo);
|
|
145
|
-
|
|
146
|
-
navigateToLoginPage(loginInfo);
|
|
144
|
+
return { authorized: true };
|
|
147
145
|
}
|
|
146
|
+
navigateToLoginPage(loginInfo);
|
|
147
|
+
return { authorized: false };
|
|
148
148
|
};
|
|
149
149
|
export {
|
|
150
150
|
authorize,
|
|
@@ -82,7 +82,8 @@ class CMicroAppGuest {
|
|
|
82
82
|
if (window.parent !== window) {
|
|
83
83
|
if (!isCrossDomain()) {
|
|
84
84
|
host = window.parent?.emui?.MicroAppHost || null;
|
|
85
|
-
}
|
|
85
|
+
}
|
|
86
|
+
if (!host) {
|
|
86
87
|
const ssfAdapter = new SSFGuestAdapter();
|
|
87
88
|
if (!await ssfAdapter.init())
|
|
88
89
|
return null;
|
|
@@ -1,17 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
import
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { useEffect, useState } from "react";
|
|
3
4
|
import { useAppDispatch } from "../../data/react-redux.js";
|
|
4
5
|
import { login } from "../../utils/auth/index.js";
|
|
5
6
|
import { LOGIN_SUCCESS } from "../../data/auth/actions.js";
|
|
6
|
-
const Login = ({
|
|
7
|
+
const Login = ({
|
|
8
|
+
clientId,
|
|
9
|
+
scope,
|
|
10
|
+
responseType,
|
|
11
|
+
children
|
|
12
|
+
}) => {
|
|
13
|
+
const [userAuthorized, setUserAuthorized] = useState(false);
|
|
7
14
|
const dispatch = useAppDispatch();
|
|
8
15
|
useEffect(() => {
|
|
9
|
-
login({ clientId, scope, responseType }).then(() => {
|
|
16
|
+
login({ clientId, scope, responseType }).then(({ authorized }) => {
|
|
17
|
+
if (authorized)
|
|
18
|
+
setUserAuthorized(true);
|
|
10
19
|
dispatch({ type: LOGIN_SUCCESS });
|
|
11
20
|
}).catch(() => {
|
|
12
21
|
});
|
|
13
22
|
}, [dispatch, clientId, scope, responseType]);
|
|
14
|
-
return null;
|
|
23
|
+
return userAuthorized ? /* @__PURE__ */ React.createElement(React.Fragment, null, children) : null;
|
|
15
24
|
};
|
|
16
25
|
export {
|
|
17
26
|
Login
|
|
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
|
|
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
|
|
@@ -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
|
|
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
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface LoginParams {
|
|
3
|
+
clientId: string;
|
|
4
|
+
scope: string;
|
|
5
|
+
responseType: string;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export declare const Login: ({ clientId, scope, responseType, children, }: LoginParams) => JSX.Element | null;
|
|
9
|
+
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
|
|
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": "3.
|
|
3
|
+
"version": "3.13.0",
|
|
4
4
|
"description": "ICE MT UI Platform Application SDK ",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css",
|
|
@@ -104,46 +104,48 @@
|
|
|
104
104
|
},
|
|
105
105
|
"peerDependencies": {
|
|
106
106
|
"@elliemae/app-react-dependencies": "^3.8.0",
|
|
107
|
-
"@elliemae/ds-basic": "^3.
|
|
108
|
-
"@elliemae/ds-button": "^3.
|
|
109
|
-
"@elliemae/ds-controlled-form": "^3.
|
|
110
|
-
"@elliemae/ds-date-picker": "^3.
|
|
111
|
-
"@elliemae/ds-date-range-picker": "^3.
|
|
112
|
-
"@elliemae/ds-dialog": "^3.
|
|
113
|
-
"@elliemae/ds-form": "^3.
|
|
114
|
-
"@elliemae/ds-form-layout-blocks": "^3.
|
|
115
|
-
"@elliemae/ds-grid": "^3.
|
|
116
|
-
"@elliemae/ds-loading-indicator": "^3.
|
|
117
|
-
"@elliemae/ds-modal": "^3.
|
|
118
|
-
"@elliemae/ds-popperjs": "^3.
|
|
119
|
-
"@elliemae/ds-toast": "^3.
|
|
107
|
+
"@elliemae/ds-basic": "^3.3.0",
|
|
108
|
+
"@elliemae/ds-button": "^3.3.0",
|
|
109
|
+
"@elliemae/ds-controlled-form": "^3.3.0",
|
|
110
|
+
"@elliemae/ds-date-picker": "^3.3.0",
|
|
111
|
+
"@elliemae/ds-date-range-picker": "^3.3.0",
|
|
112
|
+
"@elliemae/ds-dialog": "^3.3.0",
|
|
113
|
+
"@elliemae/ds-form": "^3.3.0",
|
|
114
|
+
"@elliemae/ds-form-layout-blocks": "^3.3.0",
|
|
115
|
+
"@elliemae/ds-grid": "^3.3.0",
|
|
116
|
+
"@elliemae/ds-loading-indicator": "^3.3.0",
|
|
117
|
+
"@elliemae/ds-modal": "^3.3.0",
|
|
118
|
+
"@elliemae/ds-popperjs": "^3.3.0",
|
|
119
|
+
"@elliemae/ds-toast": "^3.3.0",
|
|
120
120
|
"@elliemae/em-ssf-guest": "^1.11.2",
|
|
121
121
|
"@elliemae/pui-diagnostics": "^2.7.4",
|
|
122
|
-
"@elliemae/pui-micro-frontend-base": "^1.
|
|
122
|
+
"@elliemae/pui-micro-frontend-base": "^1.13.0",
|
|
123
|
+
"@elliemae/pui-scripting-object": "^1.0.2",
|
|
123
124
|
"@elliemae/pui-theme": "^2.6.0",
|
|
124
125
|
"@elliemae/pui-user-monitoring": "^1.15.1"
|
|
125
126
|
},
|
|
126
127
|
"devDependencies": {
|
|
127
128
|
"@elliemae/app-react-dependencies": "~3.8.0",
|
|
128
129
|
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.4.2",
|
|
129
|
-
"@elliemae/ds-basic": "~3.
|
|
130
|
-
"@elliemae/ds-button": "~3.
|
|
131
|
-
"@elliemae/ds-controlled-form": "~3.
|
|
132
|
-
"@elliemae/ds-date-picker": "~3.
|
|
133
|
-
"@elliemae/ds-date-range-picker": "~3.
|
|
134
|
-
"@elliemae/ds-dialog": "~3.
|
|
135
|
-
"@elliemae/ds-form": "~3.
|
|
136
|
-
"@elliemae/ds-form-layout-blocks": "~3.
|
|
137
|
-
"@elliemae/ds-grid": "~3.
|
|
138
|
-
"@elliemae/ds-loading-indicator": "~3.
|
|
139
|
-
"@elliemae/ds-modal": "~3.
|
|
140
|
-
"@elliemae/ds-popperjs": "~3.
|
|
141
|
-
"@elliemae/ds-toast": "~3.
|
|
130
|
+
"@elliemae/ds-basic": "~3.3.0",
|
|
131
|
+
"@elliemae/ds-button": "~3.3.0",
|
|
132
|
+
"@elliemae/ds-controlled-form": "~3.3.0",
|
|
133
|
+
"@elliemae/ds-date-picker": "~3.3.0",
|
|
134
|
+
"@elliemae/ds-date-range-picker": "~3.3.0",
|
|
135
|
+
"@elliemae/ds-dialog": "~3.3.0",
|
|
136
|
+
"@elliemae/ds-form": "~3.3.0",
|
|
137
|
+
"@elliemae/ds-form-layout-blocks": "~3.3.0",
|
|
138
|
+
"@elliemae/ds-grid": "~3.3.0",
|
|
139
|
+
"@elliemae/ds-loading-indicator": "~3.3.0",
|
|
140
|
+
"@elliemae/ds-modal": "~3.3.0",
|
|
141
|
+
"@elliemae/ds-popperjs": "~3.3.0",
|
|
142
|
+
"@elliemae/ds-toast": "~3.3.0",
|
|
142
143
|
"@elliemae/em-ssf-guest": "~1.11.2",
|
|
143
|
-
"@elliemae/pui-cli": "~6.
|
|
144
|
+
"@elliemae/pui-cli": "~6.22.0",
|
|
144
145
|
"@elliemae/pui-diagnostics": "~2.7.4",
|
|
145
146
|
"@elliemae/pui-e2e-test-sdk": "~7.3.4",
|
|
146
|
-
"@elliemae/pui-micro-frontend-base": "~1.
|
|
147
|
+
"@elliemae/pui-micro-frontend-base": "~1.13.0",
|
|
148
|
+
"@elliemae/pui-scripting-object": "~1.0.2",
|
|
147
149
|
"@elliemae/pui-theme": "2.6.0",
|
|
148
150
|
"@elliemae/pui-user-monitoring": "~1.15.1"
|
|
149
151
|
}
|