@elliemae/pui-app-sdk 5.8.2 → 5.10.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.
Files changed (26) hide show
  1. package/dist/cjs/index.js +4 -0
  2. package/dist/cjs/utils/custom-hooks/use-state-selector.js +47 -0
  3. package/dist/cjs/view/fields/date-picker/index.js +2 -12
  4. package/dist/cjs/view/fields/toggle/index.js +0 -1
  5. package/dist/esm/index.js +8 -0
  6. package/dist/esm/utils/custom-hooks/use-state-selector.js +27 -0
  7. package/dist/esm/view/fields/date-picker/index.js +1 -1
  8. package/dist/esm/view/fields/toggle/index.js +0 -1
  9. package/dist/types/lib/analytics/index.d.ts +1 -1
  10. package/dist/types/lib/api/helpers.d.ts +1 -1
  11. package/dist/types/lib/communication/http-client/baseQuery.d.ts +1 -1
  12. package/dist/types/lib/communication/http-client/index.d.ts +5 -5
  13. package/dist/types/lib/data/wait-message/actions.d.ts +3 -6
  14. package/dist/types/lib/index.d.ts +2 -0
  15. package/dist/types/lib/utils/custom-hooks/use-state-selector.d.ts +42 -0
  16. package/dist/types/lib/utils/testing/render-with-redux.d.ts +1 -1
  17. package/dist/types/lib/utils/testing/render-with-router-redux.d.ts +1 -1
  18. package/dist/types/lib/utils/testing/render-with-router.d.ts +1 -1
  19. package/dist/types/lib/view/fields/input-text/index.stories.d.ts +1 -2
  20. package/dist/types/lib/view/fields/masked-input-text/with-money-mask.stories.d.ts +1 -2
  21. package/dist/types/lib/view/fields/masked-input-text/with-percentage-mask.stories.d.ts +1 -2
  22. package/dist/types/lib/view/fields/toggle/index.d.ts +0 -1
  23. package/dist/types/lib/view/fields/toggle/index.stories.d.ts +1 -1
  24. package/dist/types/lib/view/micro-app/app-factory/index.d.ts +1 -1
  25. package/dist/types/lib/view/micro-app/resources/manifest.d.ts +2 -2
  26. package/package.json +44 -44
package/dist/cjs/index.js CHANGED
@@ -67,6 +67,7 @@ __export(lib_exports, {
67
67
  TextBox: () => import_text_box.TextBox,
68
68
  Themes: () => import_constants2.Themes,
69
69
  Toggle: () => import_toggle.Toggle,
70
+ UseStateSelectorOptions: () => import_use_state_selector.UseStateSelectorOptions,
70
71
  VisuallyHidden: () => import_visually_hidden.VisuallyHidden,
71
72
  WaitMessage: () => import_wait_message.WaitMessage,
72
73
  ariaLive: () => import_live_message.actions,
@@ -140,6 +141,8 @@ __export(lib_exports, {
140
141
  useInjectSaga: () => import_redux_injectors.useInjectSaga,
141
142
  useInjectSideEffect: () => import_react.useInjectSideEffect,
142
143
  useMediaQueryList: () => import_use_media_query_list.useMediaQueryList,
144
+ useStateSelector: () => import_use_state_selector.useStateSelector,
145
+ useStateSelectorShallow: () => import_use_state_selector.useStateSelectorShallow,
143
146
  waitMessageAction: () => import_actions3.waitMessage,
144
147
  withAppDecorator: () => import_decorator.withAppDecorator
145
148
  });
@@ -156,6 +159,7 @@ var import_page = require("./view/page.js");
156
159
  var import_constants = __toESM(require("./utils/constants.js"));
157
160
  var import_redux_injectors = require("redux-injectors");
158
161
  var import_react = require("./data/react.js");
162
+ var import_use_state_selector = require("./utils/custom-hooks/use-state-selector.js");
159
163
  var import_errorMiddleware = require("./data/errorMiddleware.js");
160
164
  var import_listenerMiddleware = require("./data/listenerMiddleware.js");
161
165
  var import_helper = require("./utils/auth/helper.js");
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var use_state_selector_exports = {};
20
+ __export(use_state_selector_exports, {
21
+ useStateSelector: () => useStateSelector,
22
+ useStateSelectorShallow: () => useStateSelectorShallow
23
+ });
24
+ module.exports = __toCommonJS(use_state_selector_exports);
25
+ var import_react = require("react");
26
+ var import_react_redux = require("react-redux");
27
+ function useStateSelector(selectStateFieldFunc, fieldName = "", {
28
+ defaultValue = void 0,
29
+ equalityFn = void 0
30
+ } = {}) {
31
+ const [finalDefaultValue] = (0, import_react.useState)(
32
+ defaultValue
33
+ );
34
+ return (0, import_react_redux.useSelector)(
35
+ selectStateFieldFunc(fieldName, finalDefaultValue),
36
+ equalityFn
37
+ );
38
+ }
39
+ function useStateSelectorShallow(selectStateFieldFunc, fieldName = "", {
40
+ defaultValue = void 0,
41
+ equalityFn = import_react_redux.shallowEqual
42
+ } = {}) {
43
+ return useStateSelector(selectStateFieldFunc, fieldName, {
44
+ defaultValue,
45
+ equalityFn
46
+ });
47
+ }
@@ -1,9 +1,7 @@
1
1
  "use strict";
2
- var __create = Object.create;
3
2
  var __defProp = Object.defineProperty;
4
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
6
  var __export = (target, all) => {
9
7
  for (var name in all)
@@ -17,14 +15,6 @@ var __copyProps = (to, from, except, desc) => {
17
15
  }
18
16
  return to;
19
17
  };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
19
  var date_picker_exports = {};
30
20
  __export(date_picker_exports, {
@@ -32,7 +22,7 @@ __export(date_picker_exports, {
32
22
  });
33
23
  module.exports = __toCommonJS(date_picker_exports);
34
24
  var import_jsx_runtime = require("react/jsx-runtime");
35
- var import_ds_date_picker = __toESM(require("@elliemae/ds-date-picker"));
25
+ var import_ds_date_picker = require("@elliemae/ds-date-picker");
36
26
  var import_react_hook_form = require("react-hook-form");
37
27
  const DatePicker = ({
38
28
  name,
@@ -45,6 +35,6 @@ const DatePicker = ({
45
35
  name,
46
36
  defaultValue,
47
37
  rules,
48
- render: ({ field }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_date_picker.default, { ...rest, ...field })
38
+ render: ({ field }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_date_picker.DSDatePicker, { ...rest, ...field })
49
39
  }
50
40
  );
@@ -23,7 +23,6 @@ __export(toggle_exports, {
23
23
  module.exports = __toCommonJS(toggle_exports);
24
24
  var import_jsx_runtime = require("react/jsx-runtime");
25
25
  var import_ds_controlled_form = require("@elliemae/ds-controlled-form");
26
- var import_ds_form_toggle = require("@elliemae/ds-form-toggle");
27
26
  var import_react_hook_form = require("react-hook-form");
28
27
  const Toggle = ({
29
28
  name,
package/dist/esm/index.js CHANGED
@@ -23,6 +23,11 @@ import {
23
23
  useAppSelector,
24
24
  useAppMiddleware
25
25
  } from "./data/react.js";
26
+ import {
27
+ useStateSelector,
28
+ useStateSelectorShallow,
29
+ UseStateSelectorOptions
30
+ } from "./utils/custom-hooks/use-state-selector.js";
26
31
  import { errorMiddleware } from "./data/errorMiddleware.js";
27
32
  import {
28
33
  startSideEffect,
@@ -167,6 +172,7 @@ export {
167
172
  TextBox,
168
173
  Themes,
169
174
  Toggle,
175
+ UseStateSelectorOptions,
170
176
  VisuallyHidden,
171
177
  WaitMessage,
172
178
  actions as ariaLive,
@@ -240,6 +246,8 @@ export {
240
246
  useInjectSaga,
241
247
  useInjectSideEffect,
242
248
  useMediaQueryList,
249
+ useStateSelector,
250
+ useStateSelectorShallow,
243
251
  waitMessage as waitMessageAction,
244
252
  withAppDecorator
245
253
  };
@@ -0,0 +1,27 @@
1
+ import { useState } from "react";
2
+ import { useSelector, shallowEqual } from "react-redux";
3
+ function useStateSelector(selectStateFieldFunc, fieldName = "", {
4
+ defaultValue = void 0,
5
+ equalityFn = void 0
6
+ } = {}) {
7
+ const [finalDefaultValue] = useState(
8
+ defaultValue
9
+ );
10
+ return useSelector(
11
+ selectStateFieldFunc(fieldName, finalDefaultValue),
12
+ equalityFn
13
+ );
14
+ }
15
+ function useStateSelectorShallow(selectStateFieldFunc, fieldName = "", {
16
+ defaultValue = void 0,
17
+ equalityFn = shallowEqual
18
+ } = {}) {
19
+ return useStateSelector(selectStateFieldFunc, fieldName, {
20
+ defaultValue,
21
+ equalityFn
22
+ });
23
+ }
24
+ export {
25
+ useStateSelector,
26
+ useStateSelectorShallow
27
+ };
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import DSDatePicker from "@elliemae/ds-date-picker";
2
+ import { DSDatePicker } from "@elliemae/ds-date-picker";
3
3
  import {
4
4
  Controller
5
5
  } from "react-hook-form";
@@ -2,7 +2,6 @@ import { jsx } from "react/jsx-runtime";
2
2
  import {
3
3
  DSControlledToggle
4
4
  } from "@elliemae/ds-controlled-form";
5
- import "@elliemae/ds-form-toggle";
6
5
  import {
7
6
  Controller
8
7
  } from "react-hook-form";
@@ -1,5 +1,5 @@
1
1
  import { BAEvent } from '@elliemae/pui-micro-frontend-base';
2
2
  export declare const sendBAEvent: ({ data, self, }: {
3
3
  data: BAEvent;
4
- self?: boolean | undefined;
4
+ self?: boolean;
5
5
  }) => void;
@@ -52,7 +52,7 @@ export declare const getApiActionCreator: (api: string) => (operation: string) =
52
52
  *
53
53
  * export const useSelectSomeState = (fieldName, defaultValue) => {
54
54
  * const finalDefaultValue = useMemo(() => defaultValue, []);
55
- * useSelector(selectSomeState(fieldName, defaultValue), shallowEqual);
55
+ * useSelector(selectSomeState(fieldName, finalDefaultValue), shallowEqual);
56
56
  * }
57
57
  *
58
58
  * // some-component.js
@@ -9,6 +9,6 @@ type BaseQueryFunction = BaseQueryFn<{
9
9
  headers?: RequestConfig;
10
10
  }, unknown, unknown>;
11
11
  export declare const sdkBaseQuery: ({ baseUrl }?: {
12
- baseUrl?: string | undefined;
12
+ baseUrl?: string;
13
13
  }) => BaseQueryFunction;
14
14
  export {};
@@ -4,12 +4,12 @@ export type RequestConfig = {
4
4
  Authorization?: string;
5
5
  } & AxiosRequestHeaders;
6
6
  export declare const getHTTPClient: ({ baseURL, headers, }?: {
7
- baseURL?: string | undefined;
8
- headers?: RequestConfig | undefined;
7
+ baseURL?: string;
8
+ headers?: RequestConfig;
9
9
  }) => AxiosInstance;
10
10
  export declare const getAuthHTTPClient: ({ baseURL, headers, ...rest }?: {
11
- baseURL?: string | undefined;
12
- headers?: RequestConfig | undefined;
13
- rest?: any[] | undefined;
11
+ baseURL?: string;
12
+ headers?: RequestConfig;
13
+ rest?: any[];
14
14
  }) => AxiosInstance;
15
15
  export {};
@@ -4,11 +4,8 @@ export declare const ACTIONS: {
4
4
  CLOSE: string;
5
5
  };
6
6
  export declare const waitMessage: {
7
- open: (message?: string) => {
8
- payload: {
9
- message: string;
10
- };
11
- type: string;
12
- };
7
+ open: (message?: string) => PayloadAction<{
8
+ message: string;
9
+ }>;
13
10
  close: () => PayloadAction<null>;
14
11
  };
@@ -10,6 +10,7 @@ export { Page } from './view/page.js';
10
10
  export { default as globalConstants } from './utils/constants.js';
11
11
  export { useInjectReducer, useInjectSaga, createManager, } from 'redux-injectors';
12
12
  export { useInjectQuery, useInjectSideEffect, useAppDispatch, useAppSelector, useAppMiddleware, } from './data/react.js';
13
+ export { useStateSelector, useStateSelectorShallow, UseStateSelectorOptions, } from './utils/custom-hooks/use-state-selector.js';
13
14
  export { errorMiddleware } from './data/errorMiddleware.js';
14
15
  export { startSideEffect, createSideEffect, removeSideEffect, clearSideEffects, } from './data/listenerMiddleware.js';
15
16
  export { getAuthorizationHeader } from './utils/auth/helper.js';
@@ -90,3 +91,4 @@ export type { RootState, AppStore, AppDispatch } from './data/types.js';
90
91
  export type { AppConfig } from './utils/app-config/config.js';
91
92
  export type { OnInitCallback, OnMountCallback, OnUnMountCallback, } from './utils/micro-frontend/guest.js';
92
93
  export type { OnInitCallback as OnHostInitCallback } from './utils/micro-frontend/host.js';
94
+ export type { SelectStateFieldFunction } from './utils/custom-hooks/use-state-selector.js';
@@ -0,0 +1,42 @@
1
+ import { EqualityFn } from 'react-redux';
2
+ export type SelectStateFieldFunction<TState = unknown, Selected = unknown> = (fieldName: string | Array<string>, defaultValue?: Selected | Selected[]) => (state: TState) => Selected;
3
+ export interface UseStateSelectorOptions<Selected = unknown> {
4
+ defaultValue?: Selected | Array<Selected>;
5
+ equalityFn?: EqualityFn<Selected>;
6
+ }
7
+ /**
8
+ * Generic selector that receives a field selector function returned from getSelectField
9
+ *
10
+ * @see /lib/api/helpers.ts#getSelectField
11
+ * @param {SelectStateFieldFunction} selectStateFieldFunc the store state's field selector function
12
+ * ```javascript
13
+ * // reducer.js
14
+ * import { getSelectField } from 'elliemae/pui-app-sdk';
15
+ *
16
+ * const name = 'someState';
17
+ * export selectStateFieldFunc = getSelectField(name);
18
+ * ```
19
+ * @param {string | Array<string>} fieldName the state's field you want to acccess, this accepts nested objects access, like so 'rootObj.childObj.field'
20
+ * @param {useStateSelectorOptions} opts options { defaultValue, equalityFn }
21
+ * @returns
22
+ */
23
+ export declare function useStateSelector<TState = unknown, Selected = unknown>(selectStateFieldFunc: SelectStateFieldFunction<TState, Selected>, fieldName?: string | Array<string>, { defaultValue, equalityFn, }?: UseStateSelectorOptions<Selected>): Selected;
24
+ /**
25
+ * Generic selector that receives a field selector function returned from getSelectField.
26
+ *
27
+ * @see /lib/api/helpers.ts#getSelectField
28
+ *
29
+ * This is the same as useStateSelector with shallowEqual as default for equalityFn option.
30
+ * @param {SelectStateFieldFunction} selectStateFieldFunc the store state's field selector function
31
+ * ```javascript
32
+ * // reducer.js
33
+ * import { getSelectField } from 'elliemae/pui-app-sdk';
34
+ *
35
+ * const name = 'someState';
36
+ * export selectStateFieldFunc = getSelectField(name);
37
+ * ```
38
+ * @param {string | Array<string>} fieldName the state's field you want to acccess, this accepts nested objects access, like so 'rootObj.childObj.field'
39
+ * @param {useStateSelectorOptions} opts options { defaultValue, equalityFn = shallowEqual }
40
+ * @returns
41
+ */
42
+ export declare function useStateSelectorShallow<TState = unknown, Selected = unknown>(selectStateFieldFunc: SelectStateFieldFunction<TState, Selected>, fieldName?: string | Array<string>, { defaultValue, equalityFn, }?: UseStateSelectorOptions<Selected>): Selected;
@@ -25,7 +25,7 @@ export declare const renderWithRedux: (ui: React.ReactElement, { initialState, s
25
25
  container: HTMLElement;
26
26
  baseElement: HTMLElement;
27
27
  debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format").PrettyFormatOptions | undefined) => void;
28
- rerender: (ui: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => void;
28
+ rerender: (ui: import("react").ReactNode) => void;
29
29
  unmount: () => void;
30
30
  asFragment: () => DocumentFragment;
31
31
  getByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement;
@@ -28,7 +28,7 @@ export declare const renderWithRouterRedux: (ui: React.ReactElement, { route, hi
28
28
  container: HTMLElement;
29
29
  baseElement: HTMLElement;
30
30
  debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format").PrettyFormatOptions | undefined) => void;
31
- rerender: (ui: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => void;
31
+ rerender: (ui: import("react").ReactNode) => void;
32
32
  unmount: () => void;
33
33
  asFragment: () => DocumentFragment;
34
34
  getByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement;
@@ -9,7 +9,7 @@ export declare const renderWithRouter: (ui: React.ReactElement, { route, history
9
9
  container: HTMLElement;
10
10
  baseElement: HTMLElement;
11
11
  debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format").PrettyFormatOptions | undefined) => void;
12
- rerender: (ui: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => void;
12
+ rerender: (ui: import("react").ReactNode) => void;
13
13
  unmount: () => void;
14
14
  asFragment: () => DocumentFragment;
15
15
  getByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement;
@@ -1,11 +1,10 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import '@elliemae/ds-form-input-text';
3
2
  declare const _default: Meta;
4
3
  export default _default;
5
4
  export declare const Basic: Story<{
6
5
  name: string;
7
6
  defaultValue?: string | undefined;
8
7
  rules?: Omit<import("react-hook-form").RegisterOptions<import("react-hook-form").FieldValues, string>, "setValueAs" | "valueAsNumber" | "valueAsDate"> | undefined;
9
- } & import("@elliemae/ds-form-input-text").DSInputTextT.Props & {
8
+ } & import("@elliemae/ds-controlled-form").DSInputTextT.Props & {
10
9
  labelText: string;
11
10
  }>;
@@ -1,11 +1,10 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import '@elliemae/ds-form-input-text';
3
2
  declare const _default: Meta;
4
3
  export default _default;
5
4
  export declare const WithMoneyMask: Story<{
6
5
  name: string;
7
6
  defaultValue?: string | undefined;
8
7
  rules?: Omit<import("react-hook-form").RegisterOptions<import("react-hook-form").FieldValues, string>, "setValueAs" | "valueAsNumber" | "valueAsDate"> | undefined;
9
- } & import("@elliemae/ds-form-input-text").DSInputTextT.Props & {
8
+ } & import("@elliemae/ds-controlled-form").DSInputTextT.Props & {
10
9
  labelText: string;
11
10
  }>;
@@ -1,11 +1,10 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import '@elliemae/ds-form-input-text';
3
2
  declare const _default: Meta;
4
3
  export default _default;
5
4
  export declare const WithPercentageMask: Story<{
6
5
  name: string;
7
6
  defaultValue?: string | undefined;
8
7
  rules?: Omit<import("react-hook-form").RegisterOptions<import("react-hook-form").FieldValues, string>, "setValueAs" | "valueAsNumber" | "valueAsDate"> | undefined;
9
- } & import("@elliemae/ds-form-input-text").DSInputTextT.Props & {
8
+ } & import("@elliemae/ds-controlled-form").DSInputTextT.Props & {
10
9
  labelText: string;
11
10
  }>;
@@ -1,5 +1,4 @@
1
1
  import { DSControlledToggleT } from '@elliemae/ds-controlled-form';
2
- import '@elliemae/ds-form-toggle';
3
2
  import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
4
3
  export type ToggleProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
5
4
  name: string;
@@ -5,6 +5,6 @@ export declare const Basic: Story<{
5
5
  name: string;
6
6
  defaultValue?: boolean | undefined;
7
7
  rules?: Omit<import("react-hook-form").RegisterOptions<import("react-hook-form").FieldValues, string>, "setValueAs" | "valueAsNumber" | "valueAsDate"> | undefined;
8
- } & Omit<import("@elliemae/ds-form-toggle").DSControlledToggleT.Props, "defaultValue" | "onChange" | "selectedValues"> & {
8
+ } & Omit<import("@elliemae/ds-controlled-form").DSControlledToggleT.Props, "defaultValue" | "onChange" | "selectedValues"> & {
9
9
  label: string;
10
10
  }>;
@@ -4,6 +4,6 @@ export declare const unmountApp: ({ id, name }: MicroAppConfig) => Promise<void
4
4
  export declare const loadApp: (appConfig: MicroAppConfig) => Promise<void>;
5
5
  export declare const unloadApp: ({ id, hostUrl, documentEle, }: {
6
6
  id: string;
7
- hostUrl?: string | undefined;
7
+ hostUrl?: string;
8
8
  documentEle: Document;
9
9
  }) => void;
@@ -1,7 +1,7 @@
1
1
  type Manifest = Record<string, string>;
2
2
  export declare const getAppManifest: ({ hostUrl, manifestPath, }: {
3
- hostUrl?: string | undefined;
4
- manifestPath?: string | undefined;
3
+ hostUrl?: string;
4
+ manifestPath?: string;
5
5
  }) => Promise<Manifest>;
6
6
  export declare const getFullFileNameofAssetsFromManifest: (manifest: Record<string, string>, assetNames?: Array<string>) => Array<string>;
7
7
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-app-sdk",
3
- "version": "5.8.2",
3
+ "version": "5.10.0",
4
4
  "description": "ICE MT UI Platform Application SDK ",
5
5
  "sideEffects": [
6
6
  "*.css",
@@ -111,56 +111,56 @@
111
111
  "indent": 4
112
112
  },
113
113
  "peerDependencies": {
114
- "@elliemae/app-react-dependencies": "^4.13.0",
115
- "@elliemae/ds-backdrop": "^3.30.0",
116
- "@elliemae/ds-basic": "^3.30.0",
117
- "@elliemae/ds-button": "^3.30.0",
118
- "@elliemae/ds-circular-progress-indicator": "^3.30.0",
119
- "@elliemae/ds-controlled-form": "^3.30.0",
120
- "@elliemae/ds-date-picker": "^3.30.0",
121
- "@elliemae/ds-date-range-picker": "^3.30.0",
122
- "@elliemae/ds-dialog": "^3.30.0",
123
- "@elliemae/ds-form": "^3.30.0",
124
- "@elliemae/ds-form-layout-blocks": "^3.30.0",
125
- "@elliemae/ds-grid": "^3.30.0",
126
- "@elliemae/ds-modal": "^3.30.0",
127
- "@elliemae/ds-popperjs": "^3.30.0",
128
- "@elliemae/ds-toast": "^3.30.0",
129
- "@elliemae/ds-utilities": "^3.30.0",
114
+ "@elliemae/app-react-dependencies": "^4.16.0",
115
+ "@elliemae/ds-backdrop": "^3.33.1",
116
+ "@elliemae/ds-basic": "^3.33.1",
117
+ "@elliemae/ds-button": "^3.33.1",
118
+ "@elliemae/ds-circular-progress-indicator": "^3.33.1",
119
+ "@elliemae/ds-controlled-form": "^3.33.1",
120
+ "@elliemae/ds-date-picker": "^3.33.1",
121
+ "@elliemae/ds-date-range-picker": "^3.33.1",
122
+ "@elliemae/ds-dialog": "^3.33.1",
123
+ "@elliemae/ds-form": "^3.33.1",
124
+ "@elliemae/ds-form-layout-blocks": "^3.33.1",
125
+ "@elliemae/ds-grid": "^3.33.1",
126
+ "@elliemae/ds-modal": "^3.33.1",
127
+ "@elliemae/ds-popperjs": "^3.33.1",
128
+ "@elliemae/ds-toast": "^3.33.1",
129
+ "@elliemae/ds-utilities": "^3.33.1",
130
130
  "@elliemae/em-ssf-guest": "^1.11.3",
131
- "@elliemae/pui-diagnostics": "^3.4.1",
131
+ "@elliemae/pui-diagnostics": "^3.5.1",
132
132
  "@elliemae/pui-micro-frontend-base": "^1.14.0",
133
- "@elliemae/pui-scripting-object": "^1.31.3",
134
- "@elliemae/pui-theme": "^2.7.0",
135
- "@elliemae/pui-user-monitoring": "^1.22.2"
133
+ "@elliemae/pui-scripting-object": "^1.36.0",
134
+ "@elliemae/pui-theme": "^2.9.3",
135
+ "@elliemae/pui-user-monitoring": "^1.23.0"
136
136
  },
137
137
  "devDependencies": {
138
- "@elliemae/app-react-dependencies": "~4.13.0",
139
- "@elliemae/browserslist-config-elliemae-latest-browsers": "~1.8.0",
140
- "@elliemae/ds-backdrop": "~3.30.0",
141
- "@elliemae/ds-basic": "~3.30.0",
142
- "@elliemae/ds-button": "~3.30.0",
143
- "@elliemae/ds-circular-progress-indicator": "~3.30.0",
144
- "@elliemae/ds-controlled-form": "~3.30.0",
145
- "@elliemae/ds-date-picker": "~3.30.0",
146
- "@elliemae/ds-date-range-picker": "~3.30.0",
147
- "@elliemae/ds-dialog": "~3.30.0",
148
- "@elliemae/ds-form": "~3.30.0",
149
- "@elliemae/ds-form-layout-blocks": "~3.30.0",
150
- "@elliemae/ds-grid": "~3.30.0",
151
- "@elliemae/ds-modal": "~3.30.0",
152
- "@elliemae/ds-popperjs": "~3.30.0",
153
- "@elliemae/ds-toast": "~3.30.0",
154
- "@elliemae/ds-utilities": "~3.30.0",
138
+ "@elliemae/app-react-dependencies": "~4.16.0",
139
+ "@elliemae/browserslist-config-elliemae-latest-browsers": "~1.9.0",
140
+ "@elliemae/ds-backdrop": "~3.33.1",
141
+ "@elliemae/ds-basic": "~3.33.1",
142
+ "@elliemae/ds-button": "~3.33.1",
143
+ "@elliemae/ds-circular-progress-indicator": "~3.33.1",
144
+ "@elliemae/ds-controlled-form": "~3.33.1",
145
+ "@elliemae/ds-date-picker": "~3.33.1",
146
+ "@elliemae/ds-date-range-picker": "~3.33.1",
147
+ "@elliemae/ds-dialog": "~3.33.1",
148
+ "@elliemae/ds-form": "~3.33.1",
149
+ "@elliemae/ds-form-layout-blocks": "~3.33.1",
150
+ "@elliemae/ds-grid": "~3.33.1",
151
+ "@elliemae/ds-modal": "~3.33.1",
152
+ "@elliemae/ds-popperjs": "~3.33.1",
153
+ "@elliemae/ds-toast": "~3.33.1",
154
+ "@elliemae/ds-utilities": "~3.33.1",
155
155
  "@elliemae/em-ssf-guest": "~1.11.3",
156
- "@elliemae/pui-cli": "~8.27.0",
157
- "@elliemae/pui-diagnostics": "~3.4.1",
156
+ "@elliemae/pui-cli": "~8.33.0",
157
+ "@elliemae/pui-diagnostics": "~3.5.1",
158
158
  "@elliemae/pui-doc-gen": "~1.9.0",
159
159
  "@elliemae/pui-e2e-test-sdk": "~8.1.4",
160
160
  "@elliemae/pui-micro-frontend-base": "~1.14.0",
161
- "@elliemae/pui-scripting-object": "~1.31.3",
162
- "@elliemae/pui-theme": "~2.7.0",
163
- "@elliemae/pui-user-monitoring": "~1.22.2",
164
- "@types/react-aria-live": "~2.0.5"
161
+ "@elliemae/pui-scripting-object": "~1.36.0",
162
+ "@elliemae/pui-theme": "~2.9.3",
163
+ "@elliemae/pui-user-monitoring": "~1.23.0",
164
+ "@types/react-aria-live": "~2.0.6"
165
165
  }
166
166
  }