@elliemae/pui-app-sdk 1.85.2 → 1.86.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/analytics/user-wait.js +1 -1
- package/dist/cjs/communication/http-client/index.js +1 -1
- package/dist/cjs/communication/http-client/response-interceptor.js +1 -1
- package/dist/cjs/communication/http-client/retry-axios.js +1 -1
- package/dist/cjs/communication/http-client/retry.js +1 -1
- package/dist/cjs/data/auth/reducer.js +1 -1
- package/dist/cjs/data/configureStore.js +1 -0
- package/dist/cjs/data/reducerInjectors.js +3 -2
- package/dist/cjs/data/wait-message/reducer.js +1 -1
- package/dist/cjs/index.js +165 -165
- package/dist/cjs/services/login/api.js +1 -1
- package/dist/cjs/sideeffect/auth/index.js +1 -1
- package/dist/cjs/sideeffect/constants.js +1 -1
- package/dist/cjs/sideeffect/sagaInjectors.js +2 -2
- package/dist/cjs/utils/app-config/config.js +1 -1
- package/dist/cjs/utils/auth/index.js +9 -4
- package/dist/cjs/utils/constants.js +1 -1
- package/dist/cjs/utils/font-size.js +1 -1
- package/dist/cjs/utils/helpers.js +1 -1
- package/dist/cjs/utils/history.js +1 -1
- package/dist/cjs/utils/micro-frontend/host.js +6 -6
- package/dist/cjs/utils/micro-frontend/index.js +1 -1
- package/dist/cjs/utils/session.js +1 -1
- package/dist/cjs/utils/store.js +1 -1
- package/dist/cjs/utils/storybook/preview.js +1 -1
- package/dist/cjs/utils/web-storage.js +1 -1
- package/dist/cjs/utils/window.js +4 -2
- package/dist/cjs/view/error-toast/index.stories.js +1 -1
- package/dist/cjs/view/fetch-host-app-data/store.js +1 -1
- package/dist/cjs/view/fields/check-box/index.stories.js +1 -1
- package/dist/cjs/view/fields/check-box/set-value.stories.js +1 -1
- package/dist/cjs/view/fields/combo-box/index.stories.js +1 -1
- package/dist/cjs/view/fields/date-input/index.stories.js +1 -1
- package/dist/cjs/view/fields/date-picker/index.stories.js +1 -1
- package/dist/cjs/view/fields/form-item-layout/index.stories.js +1 -1
- package/dist/cjs/view/fields/input-mask/index.js +4 -4
- package/dist/cjs/view/fields/input-mask/index.stories.js +1 -1
- package/dist/cjs/view/fields/large-text-box/index.stories.js +1 -1
- package/dist/cjs/view/fields/radio/index.stories.js +1 -1
- package/dist/cjs/view/fields/radio/set-value.stories.js +1 -1
- package/dist/cjs/view/fields/radio-group/index.stories.js +1 -1
- package/dist/cjs/view/fields/text-box/index.stories.js +1 -1
- package/dist/cjs/view/form/index.stories.js +1 -1
- package/dist/cjs/view/form/personal-info-section.js +1 -1
- package/dist/cjs/view/form/usecases.stories.js +1 -1
- package/dist/cjs/view/guest-unload-handlers/index.js +1 -1
- package/dist/cjs/view/header/index.stories.js +1 -1
- package/dist/cjs/view/host-binding-events/index.js +1 -1
- package/dist/cjs/view/live-message/index.stories.js +1 -1
- package/dist/cjs/view/media-breakpoint/index.stories.js +1 -1
- package/dist/cjs/view/micro-app/app-factory/index.js +1 -1
- package/dist/cjs/view/micro-app/resources/script.js +1 -1
- package/dist/cjs/view/micro-app/resources/style.js +1 -1
- package/dist/cjs/view/micro-app/use-app-will-render.js +4 -2
- package/dist/cjs/view/micro-iframe-app/app.js +49 -0
- package/dist/cjs/view/micro-iframe-app/index.js +21 -28
- package/dist/cjs/view/modals/error/index.stories.js +1 -1
- package/dist/cjs/view/modals/navigation-prompt/index.stories.js +1 -1
- package/dist/cjs/view/modals/session-expiry/index.stories.js +1 -1
- package/dist/cjs/view/modals/wait-message/index.stories.js +1 -1
- package/dist/cjs/view/session-timeout/index.stories.js +1 -1
- package/dist/cjs/view/use-previous.js +18 -0
- package/dist/es/data/configureStore.js +1 -0
- package/dist/es/data/reducerInjectors.js +2 -1
- package/dist/es/index.js +1 -1
- package/dist/es/utils/auth/index.js +8 -3
- package/dist/es/utils/micro-frontend/host.js +7 -7
- package/dist/es/utils/window.js +3 -2
- package/dist/es/view/micro-app/use-app-will-render.js +4 -2
- package/dist/es/view/micro-iframe-app/app.js +32 -0
- package/dist/es/view/micro-iframe-app/index.js +24 -27
- package/dist/es/view/use-previous.js +8 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/auth/index.d.ts +4 -3
- package/dist/types/utils/micro-frontend/host.d.ts +2 -2
- package/dist/types/utils/testing/render-with-redux.d.ts +49 -49
- package/dist/types/utils/testing/render-with-router.d.ts +49 -49
- package/dist/types/utils/window.d.ts +2 -2
- package/dist/types/view/micro-app/use-app-will-render.d.ts +2 -1
- package/dist/types/view/micro-iframe-app/app.d.ts +1 -0
- package/dist/types/view/micro-iframe-app/index.d.ts +1 -2
- package/dist/types/view/use-previous.d.ts +1 -0
- package/package.json +14 -14
|
@@ -5,57 +5,57 @@ export function renderWithRouter(ui: any, { route, history, }?: {
|
|
|
5
5
|
history: import("history").MemoryHistory<unknown>;
|
|
6
6
|
container: HTMLElement;
|
|
7
7
|
baseElement: Element;
|
|
8
|
-
debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format
|
|
8
|
+
debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format").PrettyFormatOptions | undefined) => void;
|
|
9
9
|
rerender: (ui: React.ReactElement<any, string | React.JSXElementConstructor<any>>) => void;
|
|
10
10
|
unmount: () => void;
|
|
11
11
|
asFragment: () => DocumentFragment;
|
|
12
|
-
getByLabelText: (
|
|
13
|
-
getAllByLabelText: (
|
|
14
|
-
queryByLabelText: (
|
|
15
|
-
queryAllByLabelText: (
|
|
16
|
-
findByLabelText: (
|
|
17
|
-
findAllByLabelText: (
|
|
18
|
-
getByPlaceholderText: (
|
|
19
|
-
getAllByPlaceholderText: (
|
|
20
|
-
queryByPlaceholderText: (
|
|
21
|
-
queryAllByPlaceholderText: (
|
|
22
|
-
findByPlaceholderText: (
|
|
23
|
-
findAllByPlaceholderText: (
|
|
24
|
-
getByText: (
|
|
25
|
-
getAllByText: (
|
|
26
|
-
queryByText: (
|
|
27
|
-
queryAllByText: (
|
|
28
|
-
findByText: (
|
|
29
|
-
findAllByText: (
|
|
30
|
-
getByAltText: (
|
|
31
|
-
getAllByAltText: (
|
|
32
|
-
queryByAltText: (
|
|
33
|
-
queryAllByAltText: (
|
|
34
|
-
findByAltText: (
|
|
35
|
-
findAllByAltText: (
|
|
36
|
-
getByTitle: (
|
|
37
|
-
getAllByTitle: (
|
|
38
|
-
queryByTitle: (
|
|
39
|
-
queryAllByTitle: (
|
|
40
|
-
findByTitle: (
|
|
41
|
-
findAllByTitle: (
|
|
42
|
-
getByDisplayValue: (
|
|
43
|
-
getAllByDisplayValue: (
|
|
44
|
-
queryByDisplayValue: (
|
|
45
|
-
queryAllByDisplayValue: (
|
|
46
|
-
findByDisplayValue: (
|
|
47
|
-
findAllByDisplayValue: (
|
|
48
|
-
getByRole: (
|
|
49
|
-
getAllByRole: (
|
|
50
|
-
queryByRole: (
|
|
51
|
-
queryAllByRole: (
|
|
52
|
-
findByRole: (
|
|
53
|
-
findAllByRole: (
|
|
54
|
-
getByTestId: (
|
|
55
|
-
getAllByTestId: (
|
|
56
|
-
queryByTestId: (
|
|
57
|
-
queryAllByTestId: (
|
|
58
|
-
findByTestId: (
|
|
59
|
-
findAllByTestId: (
|
|
12
|
+
getByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement;
|
|
13
|
+
getAllByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[];
|
|
14
|
+
queryByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement | null;
|
|
15
|
+
queryAllByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[];
|
|
16
|
+
findByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
17
|
+
findAllByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
18
|
+
getByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
|
|
19
|
+
getAllByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
20
|
+
queryByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
|
|
21
|
+
queryAllByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
22
|
+
findByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
23
|
+
findAllByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
24
|
+
getByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement;
|
|
25
|
+
getAllByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[];
|
|
26
|
+
queryByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement | null;
|
|
27
|
+
queryAllByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[];
|
|
28
|
+
findByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
29
|
+
findAllByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
30
|
+
getByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
|
|
31
|
+
getAllByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
32
|
+
queryByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
|
|
33
|
+
queryAllByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
34
|
+
findByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
35
|
+
findAllByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
36
|
+
getByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
|
|
37
|
+
getAllByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
38
|
+
queryByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
|
|
39
|
+
queryAllByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
40
|
+
findByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
41
|
+
findAllByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
42
|
+
getByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
|
|
43
|
+
getAllByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
44
|
+
queryByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
|
|
45
|
+
queryAllByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
46
|
+
findByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
47
|
+
findAllByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
48
|
+
getByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => HTMLElement;
|
|
49
|
+
getAllByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => HTMLElement[];
|
|
50
|
+
queryByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => HTMLElement | null;
|
|
51
|
+
queryAllByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => HTMLElement[];
|
|
52
|
+
findByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
53
|
+
findAllByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
54
|
+
getByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
|
|
55
|
+
getAllByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
56
|
+
queryByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
|
|
57
|
+
queryAllByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
58
|
+
findByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
59
|
+
findAllByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
60
60
|
};
|
|
61
61
|
import React from "react";
|
|
@@ -13,8 +13,8 @@ declare global {
|
|
|
13
13
|
emui: EMUI;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
declare const
|
|
17
|
-
export default
|
|
16
|
+
export declare const getWindow: () => Window;
|
|
17
|
+
export default getWindow;
|
|
18
18
|
export declare const getViewportSize: () => {
|
|
19
19
|
width: number;
|
|
20
20
|
height: number;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export function useAppWillRender({ appId, documentEle, history, theme }: {
|
|
1
|
+
export function useAppWillRender({ appId, documentEle, history, theme, onUnloadComplete, }: {
|
|
2
2
|
appId: any;
|
|
3
3
|
documentEle: any;
|
|
4
4
|
history: any;
|
|
5
5
|
theme: any;
|
|
6
|
+
onUnloadComplete: any;
|
|
6
7
|
}): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const App: import("react").NamedExoticComponent<object>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
declare const MicroIFrameApp: import("react").NamedExoticComponent<object>;
|
|
1
|
+
export const MicroIFrameApp: import("react").NamedExoticComponent<object>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function usePrevious(value: any): undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-app-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.86.1",
|
|
4
4
|
"description": "ICE MT UI Platform Application SDK ",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"./utils/app-config/config.js",
|
|
@@ -89,27 +89,27 @@
|
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|
|
91
91
|
"@elliemae/app-react-dependencies": "^1.57.0",
|
|
92
|
-
"@elliemae/ds-basic": "^1.
|
|
93
|
-
"@elliemae/ds-date-picker": "^1.
|
|
94
|
-
"@elliemae/ds-modal": "^1.
|
|
92
|
+
"@elliemae/ds-basic": "^1.53.13",
|
|
93
|
+
"@elliemae/ds-date-picker": "^1.53.13",
|
|
94
|
+
"@elliemae/ds-modal": "^1.53.13",
|
|
95
95
|
"@elliemae/em-ssf-guest": "^1.11.1",
|
|
96
|
-
"@elliemae/pui-diagnostics": "^2.
|
|
97
|
-
"@elliemae/pui-micro-frontend-base": "^1.
|
|
98
|
-
"@elliemae/pui-theme": "^2.
|
|
96
|
+
"@elliemae/pui-diagnostics": "^2.7.0",
|
|
97
|
+
"@elliemae/pui-micro-frontend-base": "^1.7.0",
|
|
98
|
+
"@elliemae/pui-theme": "^2.2.4",
|
|
99
99
|
"@elliemae/pui-user-monitoring": "^1.10.0"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
102
|
"@elliemae/app-react-dependencies": "~1.57.0",
|
|
103
103
|
"@elliemae/browserslist-config-elliemae": "~1.2.1",
|
|
104
|
-
"@elliemae/ds-basic": "~1.
|
|
105
|
-
"@elliemae/ds-date-picker": "~1.
|
|
106
|
-
"@elliemae/ds-modal": "~1.
|
|
104
|
+
"@elliemae/ds-basic": "~1.53.13",
|
|
105
|
+
"@elliemae/ds-date-picker": "~1.53.13",
|
|
106
|
+
"@elliemae/ds-modal": "~1.53.13",
|
|
107
107
|
"@elliemae/em-ssf-guest": "~1.11.1",
|
|
108
108
|
"@elliemae/pui-cli": "~4.13.1",
|
|
109
|
-
"@elliemae/pui-diagnostics": "~2.
|
|
110
|
-
"@elliemae/pui-e2e-test-sdk": "~
|
|
111
|
-
"@elliemae/pui-micro-frontend-base": "~1.
|
|
112
|
-
"@elliemae/pui-theme": "~2.
|
|
109
|
+
"@elliemae/pui-diagnostics": "~2.7.0",
|
|
110
|
+
"@elliemae/pui-e2e-test-sdk": "~6.6.0",
|
|
111
|
+
"@elliemae/pui-micro-frontend-base": "~1.7.0",
|
|
112
|
+
"@elliemae/pui-theme": "~2.2.4",
|
|
113
113
|
"@elliemae/pui-user-monitoring": "~1.10.0"
|
|
114
114
|
}
|
|
115
115
|
}
|