@elliemae/pui-app-sdk 3.0.0-beta.13 → 3.0.0-beta.17
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/view/error-boundary/default-error-template.js +1 -1
- package/dist/cjs/view/fields/form-item-layout/index.js +1 -4
- package/dist/cjs/view/fields/radio-group/index.js +1 -5
- package/dist/cjs/view/form/submit-button/index.js +1 -3
- package/dist/cjs/view/login/index.js +1 -5
- package/dist/cjs/view/render-with-delay/index.js +1 -1
- package/dist/cjs/view/require-auth.js +1 -1
- package/dist/es/view/error-boundary/default-error-template.js +1 -1
- package/dist/es/view/fields/form-item-layout/index.js +1 -4
- package/dist/es/view/fields/radio-group/index.js +1 -5
- package/dist/es/view/form/submit-button/index.js +1 -3
- package/dist/es/view/login/index.js +1 -5
- package/dist/es/view/render-with-delay/index.js +1 -1
- package/dist/es/view/require-auth.js +1 -1
- package/dist/types/data/react-redux.d.ts +8 -17
- package/dist/types/data/store.d.ts +0 -1
- package/dist/types/utils/micro-frontend/guest.d.ts +2 -2
- package/dist/types/utils/micro-frontend/host.d.ts +2 -2
- package/dist/types/utils/testing/render-with-state-addons.d.ts +1 -1
- package/dist/types/view/app-root/hosted-app.d.ts +1 -1
- package/dist/types/view/app-root/index.d.ts +1 -1
- package/dist/types/view/app-root/stand-alone-app.d.ts +1 -1
- package/dist/types/view/error-boundary/default-error-template.d.ts +1 -1
- package/dist/types/view/fields/check-box/index.d.ts +1 -1
- package/dist/types/view/fields/combo-box/index.d.ts +1 -1
- package/dist/types/view/fields/connect-form.d.ts +1 -1
- package/dist/types/view/fields/date-input/index.d.ts +1 -1
- package/dist/types/view/fields/date-picker/index.d.ts +1 -1
- package/dist/types/view/fields/form-item-layout/index.d.ts +1 -1
- package/dist/types/view/fields/input-mask/index.d.ts +1 -1
- package/dist/types/view/fields/large-text-box/index.d.ts +1 -1
- package/dist/types/view/fields/radio/index.d.ts +1 -1
- package/dist/types/view/fields/radio-group/index.d.ts +1 -1
- package/dist/types/view/fields/text-box/index.d.ts +1 -1
- package/dist/types/view/fields/watch-value.d.ts +1 -1
- package/dist/types/view/form/personal-info-section.d.ts +3 -3
- package/dist/types/view/form/submit-button/index.d.ts +1 -1
- package/dist/types/view/live-message/index.d.ts +1 -1
- package/dist/types/view/login/index.d.ts +1 -2
- package/dist/types/view/media-breakpoint/index.d.ts +1 -2
- package/dist/types/view/modals/error/index.d.ts +1 -1
- package/dist/types/view/modals/wait-message/wait-message-launcher.d.ts +1 -2
- package/dist/types/view/require-auth.d.ts +1 -1
- package/dist/types/view/session-timeout/index.d.ts +1 -1
- package/dist/types/view/window-size/index.d.ts +1 -2
- package/package.json +5 -5
|
@@ -30,5 +30,5 @@ __export(default_error_template_exports, {
|
|
|
30
30
|
DefaultErrorTemplate: () => DefaultErrorTemplate
|
|
31
31
|
});
|
|
32
32
|
var React = __toESM(require("react"));
|
|
33
|
-
const DefaultErrorTemplate = () => /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("h2", null, "We are unable to process your request"), /* @__PURE__ */ React.createElement("section", null, "Please close your browser and login again"));
|
|
33
|
+
const DefaultErrorTemplate = (props) => /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("h2", null, "We are unable to process your request"), /* @__PURE__ */ React.createElement("section", null, "Please close your browser and login again"));
|
|
34
34
|
module.exports = __toCommonJS(default_error_template_exports);
|
|
@@ -33,10 +33,7 @@ var React = __toESM(require("react"));
|
|
|
33
33
|
var import_FormItem = require("@elliemae/ds-form/FormItem");
|
|
34
34
|
var import_react_hook_form = require("react-hook-form");
|
|
35
35
|
var import_connect_form = require("../connect-form.js");
|
|
36
|
-
const FormItemLayout = ({
|
|
37
|
-
name,
|
|
38
|
-
...rest
|
|
39
|
-
}) => /* @__PURE__ */ React.createElement(import_connect_form.ConnectForm, null, ({
|
|
36
|
+
const FormItemLayout = ({ name, ...rest }) => /* @__PURE__ */ React.createElement(import_connect_form.ConnectForm, null, ({
|
|
40
37
|
formState: { errors }
|
|
41
38
|
}) => {
|
|
42
39
|
const errorField = (0, import_react_hook_form.get)(errors, name);
|
|
@@ -32,11 +32,7 @@ __export(radio_group_exports, {
|
|
|
32
32
|
var React = __toESM(require("react"));
|
|
33
33
|
var import_RadioGroup = require("@elliemae/ds-form/RadioGroup");
|
|
34
34
|
var import_react_hook_form = require("react-hook-form");
|
|
35
|
-
const RadioGroup = ({
|
|
36
|
-
name,
|
|
37
|
-
rules = {},
|
|
38
|
-
...rest
|
|
39
|
-
}) => /* @__PURE__ */ React.createElement(import_react_hook_form.Controller, {
|
|
35
|
+
const RadioGroup = ({ name, rules = {}, ...rest }) => /* @__PURE__ */ React.createElement(import_react_hook_form.Controller, {
|
|
40
36
|
name,
|
|
41
37
|
rules,
|
|
42
38
|
render: ({ field: { value, ...restProps } }) => /* @__PURE__ */ React.createElement(import_RadioGroup.DSRadioGroup, {
|
|
@@ -32,9 +32,7 @@ __export(submit_button_exports, {
|
|
|
32
32
|
var React = __toESM(require("react"));
|
|
33
33
|
var import_react_hook_form = require("react-hook-form");
|
|
34
34
|
var import_ds_button = require("@elliemae/ds-button");
|
|
35
|
-
const FormSubmitButton = ({
|
|
36
|
-
...rest
|
|
37
|
-
}) => {
|
|
35
|
+
const FormSubmitButton = ({ ...rest }) => {
|
|
38
36
|
const {
|
|
39
37
|
formState,
|
|
40
38
|
formProps: { mode }
|
|
@@ -28,11 +28,7 @@ var import_react = require("react");
|
|
|
28
28
|
var import_react_redux = require("../../data/react-redux.js");
|
|
29
29
|
var import_auth = require("../../utils/auth/index.js");
|
|
30
30
|
var import_actions = require("../../data/auth/actions.js");
|
|
31
|
-
const Login = ({
|
|
32
|
-
clientId,
|
|
33
|
-
scope,
|
|
34
|
-
responseType
|
|
35
|
-
}) => {
|
|
31
|
+
const Login = ({ clientId, scope, responseType }) => {
|
|
36
32
|
const dispatch = (0, import_react_redux.useAppDispatch)();
|
|
37
33
|
(0, import_react.useEffect)(() => {
|
|
38
34
|
(0, import_auth.login)({ clientId, scope, responseType }).then(() => {
|
|
@@ -39,6 +39,6 @@ const RenderWithDelay = (0, import_react.memo)(({ render }) => {
|
|
|
39
39
|
clearTimeout(timeoutId);
|
|
40
40
|
};
|
|
41
41
|
}, []);
|
|
42
|
-
return
|
|
42
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, show ? render() : "");
|
|
43
43
|
});
|
|
44
44
|
module.exports = __toCommonJS(render_with_delay_exports);
|
|
@@ -48,7 +48,7 @@ const RequireAuth = ({
|
|
|
48
48
|
(0, import_redux_injectors.useInjectSaga)({ key, saga: import_auth.authentication });
|
|
49
49
|
const userAuthorized = (0, import_auth2.isUserAuthorized)();
|
|
50
50
|
if (userAuthorized) {
|
|
51
|
-
return children;
|
|
51
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, children);
|
|
52
52
|
}
|
|
53
53
|
const renderLogin = () => /* @__PURE__ */ React.createElement(import_login.Login, {
|
|
54
54
|
clientId,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
const DefaultErrorTemplate = () => /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("h2", null, "We are unable to process your request"), /* @__PURE__ */ React.createElement("section", null, "Please close your browser and login again"));
|
|
2
|
+
const DefaultErrorTemplate = (props) => /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("h2", null, "We are unable to process your request"), /* @__PURE__ */ React.createElement("section", null, "Please close your browser and login again"));
|
|
3
3
|
export {
|
|
4
4
|
DefaultErrorTemplate
|
|
5
5
|
};
|
|
@@ -2,10 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { DSFormItemLayout } from "@elliemae/ds-form/FormItem";
|
|
3
3
|
import { get } from "react-hook-form";
|
|
4
4
|
import { ConnectForm } from "../connect-form.js";
|
|
5
|
-
const FormItemLayout = ({
|
|
6
|
-
name,
|
|
7
|
-
...rest
|
|
8
|
-
}) => /* @__PURE__ */ React.createElement(ConnectForm, null, ({
|
|
5
|
+
const FormItemLayout = ({ name, ...rest }) => /* @__PURE__ */ React.createElement(ConnectForm, null, ({
|
|
9
6
|
formState: { errors }
|
|
10
7
|
}) => {
|
|
11
8
|
const errorField = get(errors, name);
|
|
@@ -3,11 +3,7 @@ import { DSRadioGroup } from "@elliemae/ds-form/RadioGroup";
|
|
|
3
3
|
import {
|
|
4
4
|
Controller
|
|
5
5
|
} from "react-hook-form";
|
|
6
|
-
const RadioGroup = ({
|
|
7
|
-
name,
|
|
8
|
-
rules = {},
|
|
9
|
-
...rest
|
|
10
|
-
}) => /* @__PURE__ */ React.createElement(Controller, {
|
|
6
|
+
const RadioGroup = ({ name, rules = {}, ...rest }) => /* @__PURE__ */ React.createElement(Controller, {
|
|
11
7
|
name,
|
|
12
8
|
rules,
|
|
13
9
|
render: ({ field: { value, ...restProps } }) => /* @__PURE__ */ React.createElement(DSRadioGroup, {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { useFormContext } from "react-hook-form";
|
|
3
3
|
import { DSButton } from "@elliemae/ds-button";
|
|
4
|
-
const FormSubmitButton = ({
|
|
5
|
-
...rest
|
|
6
|
-
}) => {
|
|
4
|
+
const FormSubmitButton = ({ ...rest }) => {
|
|
7
5
|
const {
|
|
8
6
|
formState,
|
|
9
7
|
formProps: { mode }
|
|
@@ -2,11 +2,7 @@ import { useEffect } from "react";
|
|
|
2
2
|
import { useAppDispatch } from "../../data/react-redux.js";
|
|
3
3
|
import { login } from "../../utils/auth/index.js";
|
|
4
4
|
import { LOGIN_SUCCESS } from "../../data/auth/actions.js";
|
|
5
|
-
const Login = ({
|
|
6
|
-
clientId,
|
|
7
|
-
scope,
|
|
8
|
-
responseType
|
|
9
|
-
}) => {
|
|
5
|
+
const Login = ({ clientId, scope, responseType }) => {
|
|
10
6
|
const dispatch = useAppDispatch();
|
|
11
7
|
useEffect(() => {
|
|
12
8
|
login({ clientId, scope, responseType }).then(() => {
|
|
@@ -8,7 +8,7 @@ const RenderWithDelay = memo(({ render }) => {
|
|
|
8
8
|
clearTimeout(timeoutId);
|
|
9
9
|
};
|
|
10
10
|
}, []);
|
|
11
|
-
return
|
|
11
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, show ? render() : "");
|
|
12
12
|
});
|
|
13
13
|
export {
|
|
14
14
|
RenderWithDelay
|
|
@@ -17,7 +17,7 @@ const RequireAuth = ({
|
|
|
17
17
|
useInjectSaga({ key, saga: authentication });
|
|
18
18
|
const userAuthorized = isUserAuthorized();
|
|
19
19
|
if (userAuthorized) {
|
|
20
|
-
return children;
|
|
20
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, children);
|
|
21
21
|
}
|
|
22
22
|
const renderLogin = () => /* @__PURE__ */ React.createElement(Login, {
|
|
23
23
|
clientId,
|
|
@@ -1,20 +1,11 @@
|
|
|
1
|
+
import { Dispatch, PayloadAction, AnyAction } from '@reduxjs/toolkit';
|
|
1
2
|
import { TypedUseSelectorHook } from 'react-redux';
|
|
2
3
|
import { RootState } from './store.js';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}> & import("..").ThunkDispatch<import("redux").CombinedState<{
|
|
10
|
-
waitMessage: import("./wait-message/reducer.js").WaitMessageState;
|
|
11
|
-
error: import("./error/index.js").ErrorState;
|
|
12
|
-
breakpoint: import("./breakpoint/index.js").BreakpointState;
|
|
13
|
-
liveMessage: import("./live-message/index.js").LiveMessageState;
|
|
14
|
-
}>, null, import("redux").AnyAction> & import("..").ThunkDispatch<import("redux").CombinedState<{
|
|
15
|
-
waitMessage: import("./wait-message/reducer.js").WaitMessageState;
|
|
16
|
-
error: import("./error/index.js").ErrorState;
|
|
17
|
-
breakpoint: import("./breakpoint/index.js").BreakpointState;
|
|
18
|
-
liveMessage: import("./live-message/index.js").LiveMessageState;
|
|
19
|
-
}>, undefined, import("redux").AnyAction>;
|
|
4
|
+
import { WaitMessageState } from './wait-message/reducer.js';
|
|
5
|
+
import { BreakpointState } from './breakpoint/index.js';
|
|
6
|
+
import { ErrorState } from './error/index.js';
|
|
7
|
+
import { LiveMessageState } from './live-message/index.js';
|
|
8
|
+
declare type AppDispatch = Dispatch<PayloadAction<WaitMessageState> | PayloadAction<BreakpointState> | PayloadAction<ErrorState> | PayloadAction<LiveMessageState> | AnyAction>;
|
|
9
|
+
export declare const useAppDispatch: () => AppDispatch;
|
|
20
10
|
export declare const useAppSelector: TypedUseSelectorHook<RootState>;
|
|
11
|
+
export {};
|
|
@@ -50,5 +50,4 @@ export declare const createAppStore: (initialState: import("redux").CombinedStat
|
|
|
50
50
|
liveMessage: import("./live-message/index.js").LiveMessageState;
|
|
51
51
|
}>, import("redux").Dispatch<import("redux").AnyAction>>>>;
|
|
52
52
|
export declare type AppStore = ReturnType<typeof createAppStore>;
|
|
53
|
-
export declare type AppDispatch = AppStore['dispatch'];
|
|
54
53
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefaultTheme } from 'styled-components';
|
|
2
|
-
import { History,
|
|
2
|
+
import { History, To } from 'history';
|
|
3
3
|
import type { IMicroAppGuest, IMicroAppHost, InitOptions, MountOptions } from '@elliemae/pui-micro-frontend-base';
|
|
4
4
|
import { MicroFrontEndLogger } from './console-logger.js';
|
|
5
5
|
import { JSONValue } from '../types.js';
|
|
@@ -42,6 +42,6 @@ export declare class CMicroAppGuest implements IMicroAppGuest {
|
|
|
42
42
|
mount(this: CMicroAppGuest, options?: MountOptions): Promise<void>;
|
|
43
43
|
unmount(this: CMicroAppGuest, options: MountOptions): Promise<JSONValue>;
|
|
44
44
|
getRef<T>(this: CMicroAppGuest): T | null;
|
|
45
|
-
navigate(this: CMicroAppGuest, url:
|
|
45
|
+
navigate(this: CMicroAppGuest, url: To, state?: any): void;
|
|
46
46
|
}
|
|
47
47
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IMicroAppHost, ResizeEventHandler, BreakpointChangeEventHandler, SubscriptionListener, BAEvent } from '@elliemae/pui-micro-frontend-base';
|
|
2
|
-
import { History,
|
|
2
|
+
import { History, To } from 'history';
|
|
3
3
|
import { DefaultTheme } from 'styled-components';
|
|
4
4
|
import { MicroFrontEndLogger } from './console-logger.js';
|
|
5
5
|
declare type HostOptions = {
|
|
@@ -33,7 +33,7 @@ export declare class CMicroAppHost implements IMicroAppHost {
|
|
|
33
33
|
publish<Type>(message: string | symbol, data?: Type): boolean;
|
|
34
34
|
subscribe<T>(message: string | symbol, func: SubscriptionListener<T>): string;
|
|
35
35
|
unsubscribe(token: string): void;
|
|
36
|
-
navigate(this: CMicroAppHost, url:
|
|
36
|
+
navigate(this: CMicroAppHost, url: To, state?: any): void;
|
|
37
37
|
openWaitMessage(): void;
|
|
38
38
|
closeWaitMessage(): void;
|
|
39
39
|
openErrorBanner(message: string): void;
|
|
@@ -19,5 +19,5 @@ interface RenderWithStateAddOnsProps {
|
|
|
19
19
|
theme?: Theme;
|
|
20
20
|
[x: string]: any;
|
|
21
21
|
}
|
|
22
|
-
export declare const RenderWithStateAddOns:
|
|
22
|
+
export declare const RenderWithStateAddOns: ({ Component, reducer, saga, theme, ...rest }: RenderWithStateAddOnsProps) => JSX.Element | null;
|
|
23
23
|
export {};
|
|
@@ -11,5 +11,5 @@ declare type AppRootProps = {
|
|
|
11
11
|
WaitMessage?: React.ReactNode;
|
|
12
12
|
errorTemplate?: React.ComponentType;
|
|
13
13
|
};
|
|
14
|
-
export declare const AppRoot:
|
|
14
|
+
export declare const AppRoot: ({ store, history, theme, manageSession, WaitMessage, errorTemplate, children, }: AppRootProps) => JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -4,5 +4,5 @@ declare type StandAloneAppProps = {
|
|
|
4
4
|
WaitMessage: React.ReactNode;
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
};
|
|
7
|
-
export declare const StandAloneApp:
|
|
7
|
+
export declare const StandAloneApp: ({ manageSession, WaitMessage, children, }: StandAloneAppProps) => JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -7,5 +7,5 @@ export declare type CheckBoxProps<TFieldValues extends FieldValues = FieldValues
|
|
|
7
7
|
rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
|
|
8
8
|
[x: string]: any;
|
|
9
9
|
};
|
|
10
|
-
export declare const CheckBox:
|
|
10
|
+
export declare const CheckBox: ({ name, defaultChecked, rules, ...rest }: CheckBoxProps) => JSX.Element;
|
|
11
11
|
export { CHECKBOX_VARIANT };
|
|
@@ -7,4 +7,4 @@ export declare type ComboBoxProps<TFieldValues extends FieldValues = FieldValues
|
|
|
7
7
|
onChange: (e: React.BaseSyntheticEvent) => void;
|
|
8
8
|
[x: string]: any;
|
|
9
9
|
};
|
|
10
|
-
export declare const ComboBox:
|
|
10
|
+
export declare const ComboBox: ({ name, defaultValue, rules, onChange: changeHandler, ...rest }: ComboBoxProps) => JSX.Element;
|
|
@@ -3,4 +3,4 @@ import { UseFormReturn, FieldValues } from 'react-hook-form';
|
|
|
3
3
|
export declare type ConnectFormProps = {
|
|
4
4
|
children: <TFieldValues extends FieldValues>(methods: UseFormReturn<TFieldValues>) => JSX.Element;
|
|
5
5
|
};
|
|
6
|
-
export declare const ConnectForm:
|
|
6
|
+
export declare const ConnectForm: ({ children }: ConnectFormProps) => JSX.Element;
|
|
@@ -6,4 +6,4 @@ export declare type DateInputProps<TFieldValues extends FieldValues = FieldValue
|
|
|
6
6
|
rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
|
|
7
7
|
[x: string]: any;
|
|
8
8
|
};
|
|
9
|
-
export declare const DateInput:
|
|
9
|
+
export declare const DateInput: ({ name, defaultValue, rules, ...rest }: DateInputProps) => JSX.Element;
|
|
@@ -6,4 +6,4 @@ export declare type DatePickerProps<TFieldValues extends FieldValues = FieldValu
|
|
|
6
6
|
rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
|
|
7
7
|
[x: string]: any;
|
|
8
8
|
};
|
|
9
|
-
export declare const DatePicker:
|
|
9
|
+
export declare const DatePicker: ({ name, defaultValue, rules, ...rest }: DatePickerProps) => JSX.Element;
|
|
@@ -8,5 +8,5 @@ export declare type InputMaskProps<TFieldValues extends FieldValues = FieldValue
|
|
|
8
8
|
mask: <T>(value: T) => T;
|
|
9
9
|
[x: string]: any;
|
|
10
10
|
};
|
|
11
|
-
export declare const InputMask:
|
|
11
|
+
export declare const InputMask: ({ name, defaultValue, rules, mask, ...rest }: InputMaskProps) => JSX.Element;
|
|
12
12
|
export { MASK_TYPES, MASK_PIPES };
|
|
@@ -7,4 +7,4 @@ export declare type LargeTextBoxProps<TFieldValues extends FieldValues = FieldVa
|
|
|
7
7
|
mask: <T>(value: T) => T;
|
|
8
8
|
[x: string]: any;
|
|
9
9
|
};
|
|
10
|
-
export declare const LargeTextBox:
|
|
10
|
+
export declare const LargeTextBox: ({ name, defaultValue, rules, ...rest }: LargeTextBoxProps) => JSX.Element;
|
|
@@ -7,4 +7,4 @@ export declare type RadioProps<TFieldValues extends FieldValues = FieldValues, T
|
|
|
7
7
|
mask: <T>(value: T) => T;
|
|
8
8
|
[x: string]: any;
|
|
9
9
|
};
|
|
10
|
-
export declare const Radio:
|
|
10
|
+
export declare const Radio: ({ name, defaultChecked, rules, ...rest }: RadioProps) => JSX.Element;
|
|
@@ -5,4 +5,4 @@ export declare type RadioGroupProps<TFieldValues extends FieldValues = FieldValu
|
|
|
5
5
|
rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
|
|
6
6
|
[x: string]: any;
|
|
7
7
|
};
|
|
8
|
-
export declare const RadioGroup:
|
|
8
|
+
export declare const RadioGroup: ({ name, rules, ...rest }: RadioGroupProps) => JSX.Element;
|
|
@@ -6,4 +6,4 @@ export declare type TextBoxProps<TFieldValues extends FieldValues = FieldValues,
|
|
|
6
6
|
rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
|
|
7
7
|
[x: string]: any;
|
|
8
8
|
};
|
|
9
|
-
export declare const TextBox:
|
|
9
|
+
export declare const TextBox: ({ name, defaultValue, rules, ...rest }: TextBoxProps) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const FirstName: () => JSX.Element;
|
|
3
|
-
export declare const DOB:
|
|
4
|
-
export declare const State:
|
|
5
|
-
export declare const MaritalStatus:
|
|
3
|
+
export declare const DOB: () => JSX.Element;
|
|
4
|
+
export declare const State: () => JSX.Element;
|
|
5
|
+
export declare const MaritalStatus: () => JSX.Element;
|
|
@@ -6,4 +6,4 @@ export declare type CustomFormProviderProps = UseFormReturn & {
|
|
|
6
6
|
export declare type FormSubmitButtonProps = {
|
|
7
7
|
[x: string]: any;
|
|
8
8
|
};
|
|
9
|
-
export declare const FormSubmitButton:
|
|
9
|
+
export declare const FormSubmitButton: ({ ...rest }: FormSubmitButtonProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const LiveMessage:
|
|
2
|
+
export declare const LiveMessage: () => JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface LoginParams {
|
|
3
2
|
clientId: string;
|
|
4
3
|
scope: string;
|
|
5
4
|
responseType: string;
|
|
6
5
|
}
|
|
7
|
-
export declare const Login:
|
|
6
|
+
export declare const Login: ({ clientId, scope, responseType }: LoginParams) => null;
|
|
8
7
|
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const MediaBreakpoint: React.FC;
|
|
1
|
+
export declare const MediaBreakpoint: () => null;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const WaitMessageLauncher: React.FC;
|
|
1
|
+
export declare const WaitMessageLauncher: () => null;
|
|
@@ -5,4 +5,4 @@ export interface RequireAuthProps {
|
|
|
5
5
|
responseType?: string;
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
}
|
|
8
|
-
export declare const RequireAuth: ({ children, clientId, scope, responseType, }: RequireAuthProps) =>
|
|
8
|
+
export declare const RequireAuth: ({ children, clientId, scope, responseType, }: RequireAuthProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const SessionTimeout:
|
|
2
|
+
export declare const SessionTimeout: () => JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const WindowSize: React.FC;
|
|
1
|
+
export declare const WindowSize: () => null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-app-sdk",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.17",
|
|
4
4
|
"description": "ICE MT UI Platform Application SDK ",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"indent": 4
|
|
98
98
|
},
|
|
99
99
|
"peerDependencies": {
|
|
100
|
-
"@elliemae/app-react-dependencies": "^3.0.0-beta.
|
|
100
|
+
"@elliemae/app-react-dependencies": "^3.0.0-beta.3",
|
|
101
101
|
"@elliemae/ds-basic": "^2.3.0-alpha.2",
|
|
102
102
|
"@elliemae/ds-button": "^2.3.0-alpha.2",
|
|
103
103
|
"@elliemae/ds-date-picker": "^2.3.0-alpha.2",
|
|
@@ -108,12 +108,12 @@
|
|
|
108
108
|
"@elliemae/ds-toast": "^2.3.0-alpha.2",
|
|
109
109
|
"@elliemae/em-ssf-guest": "^1.11.1",
|
|
110
110
|
"@elliemae/pui-diagnostics": "^2.7.3",
|
|
111
|
-
"@elliemae/pui-micro-frontend-base": "^1.10.
|
|
111
|
+
"@elliemae/pui-micro-frontend-base": "^1.10.1",
|
|
112
112
|
"@elliemae/pui-theme": "^2.3.0",
|
|
113
113
|
"@elliemae/pui-user-monitoring": "^1.12.2"
|
|
114
114
|
},
|
|
115
115
|
"devDependencies": {
|
|
116
|
-
"@elliemae/app-react-dependencies": "~3.0.0-beta.
|
|
116
|
+
"@elliemae/app-react-dependencies": "~3.0.0-beta.3",
|
|
117
117
|
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.2.1",
|
|
118
118
|
"@elliemae/ds-basic": "~2.3.0-alpha.2",
|
|
119
119
|
"@elliemae/ds-button": "~2.3.0-alpha.2",
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"@elliemae/pui-cli": "~6.0.0-beta.34",
|
|
128
128
|
"@elliemae/pui-diagnostics": "~2.7.3",
|
|
129
129
|
"@elliemae/pui-e2e-test-sdk": "~6.9.0",
|
|
130
|
-
"@elliemae/pui-micro-frontend-base": "~1.10.
|
|
130
|
+
"@elliemae/pui-micro-frontend-base": "~1.10.1",
|
|
131
131
|
"@elliemae/pui-theme": "~2.3.0",
|
|
132
132
|
"@elliemae/pui-user-monitoring": "~1.12.2"
|
|
133
133
|
}
|