@elliemae/pui-app-sdk 4.0.0-alpha.7 → 4.0.0-alpha.8

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 (137) hide show
  1. package/dist/esm/analytics/appdynamics.js +0 -1
  2. package/dist/esm/analytics/index.js +0 -1
  3. package/dist/esm/analytics/page-view-event.js +0 -1
  4. package/dist/esm/analytics/user-session-event.js +0 -1
  5. package/dist/esm/analytics/user-wait-event.js +0 -1
  6. package/dist/esm/analytics/web-analytics.js +0 -1
  7. package/dist/esm/api/auth/index.js +0 -1
  8. package/dist/esm/api/helpers.js +0 -1
  9. package/dist/esm/api/users/index.js +0 -1
  10. package/dist/esm/communication/http-client/index.js +0 -1
  11. package/dist/esm/communication/http-client/request-interceptor.js +0 -1
  12. package/dist/esm/communication/http-client/response-interceptor.js +0 -1
  13. package/dist/esm/communication/http-client/retry-axios.js +0 -1
  14. package/dist/esm/communication/http-client/retry.js +0 -1
  15. package/dist/esm/data/auth/actions.js +0 -1
  16. package/dist/esm/data/auth/reducer.js +0 -1
  17. package/dist/esm/data/breakpoint/index.js +0 -1
  18. package/dist/esm/data/error/index.js +0 -1
  19. package/dist/esm/data/index.js +0 -1
  20. package/dist/esm/data/live-message/index.js +0 -1
  21. package/dist/esm/data/logout/actions.js +0 -1
  22. package/dist/esm/data/navigation-prompt/actions.js +0 -1
  23. package/dist/esm/data/react-redux.js +0 -1
  24. package/dist/esm/data/reducers.js +0 -1
  25. package/dist/esm/data/saga.js +0 -1
  26. package/dist/esm/data/store.js +0 -1
  27. package/dist/esm/data/wait-message/actions.js +0 -1
  28. package/dist/esm/data/wait-message/reducer.js +0 -1
  29. package/dist/esm/data/webpack-hmr.js +0 -1
  30. package/dist/esm/index.js +0 -1
  31. package/dist/esm/micro-frontend.js +0 -1
  32. package/dist/esm/sideeffect/auth/index.js +0 -1
  33. package/dist/esm/sideeffect/error-toast/index.js +0 -1
  34. package/dist/esm/sideeffect/wait-message/index.js +0 -1
  35. package/dist/esm/utils/app-config/config.js +0 -1
  36. package/dist/esm/utils/app-config/index.js +0 -1
  37. package/dist/esm/utils/app-host-integration/react.js +0 -1
  38. package/dist/esm/utils/auth/helper.js +0 -1
  39. package/dist/esm/utils/auth/index.js +0 -1
  40. package/dist/esm/utils/await.js +0 -1
  41. package/dist/esm/utils/constants.js +0 -1
  42. package/dist/esm/utils/font-size.js +0 -1
  43. package/dist/esm/utils/guest-with-service.js +0 -1
  44. package/dist/esm/utils/helpers.js +0 -1
  45. package/dist/esm/utils/history.js +0 -1
  46. package/dist/esm/utils/log-records.js +0 -1
  47. package/dist/esm/utils/micro-frontend/console-logger.js +0 -1
  48. package/dist/esm/utils/micro-frontend/guest.js +0 -1
  49. package/dist/esm/utils/micro-frontend/host.js +0 -1
  50. package/dist/esm/utils/micro-frontend/index.js +0 -1
  51. package/dist/esm/utils/micro-frontend/ssfguest-adapter.js +0 -1
  52. package/dist/esm/utils/micro-frontend/types.js +0 -1
  53. package/dist/esm/utils/redact-pii.js +0 -1
  54. package/dist/esm/utils/service-worker.js +0 -1
  55. package/dist/esm/utils/session.js +0 -1
  56. package/dist/esm/utils/storybook/manager.js +0 -1
  57. package/dist/esm/utils/storybook/preview.js +0 -1
  58. package/dist/esm/utils/storybook/theme.js +0 -1
  59. package/dist/esm/utils/testing/index.js +0 -1
  60. package/dist/esm/utils/testing/render-with-redux.js +0 -1
  61. package/dist/esm/utils/testing/render-with-router-redux.js +0 -1
  62. package/dist/esm/utils/testing/render-with-router.js +0 -1
  63. package/dist/esm/utils/testing/render-with-state-addons.js +0 -1
  64. package/dist/esm/utils/types.js +0 -1
  65. package/dist/esm/utils/url.js +0 -1
  66. package/dist/esm/utils/web-storage.js +0 -1
  67. package/dist/esm/utils/window.js +0 -1
  68. package/dist/esm/view/app-root/hosted-app.js +0 -1
  69. package/dist/esm/view/app-root/index.js +0 -1
  70. package/dist/esm/view/app-root/stand-alone-app.js +0 -1
  71. package/dist/esm/view/app-root/style.js +0 -1
  72. package/dist/esm/view/app-router.js +0 -1
  73. package/dist/esm/view/breakpoint/use-breakpoint.js +0 -1
  74. package/dist/esm/view/breakpoint/use-media-query-list.js +0 -1
  75. package/dist/esm/view/error-boundary/default-error-template.js +0 -1
  76. package/dist/esm/view/error-boundary/index.js +0 -1
  77. package/dist/esm/view/error-toast/index.js +0 -1
  78. package/dist/esm/view/fetch-host-app-data/index.js +0 -1
  79. package/dist/esm/view/fetch-host-app-data/store.js +0 -1
  80. package/dist/esm/view/fields/check-box/index.js +0 -1
  81. package/dist/esm/view/fields/combo-box/index.js +0 -1
  82. package/dist/esm/view/fields/connect-form.js +0 -1
  83. package/dist/esm/view/fields/date-input/index.js +0 -1
  84. package/dist/esm/view/fields/date-picker/index.js +0 -1
  85. package/dist/esm/view/fields/date-range-picker/index.js +0 -1
  86. package/dist/esm/view/fields/date-time-picker/index.js +0 -1
  87. package/dist/esm/view/fields/form-item-layout/index.js +0 -1
  88. package/dist/esm/view/fields/form-layout-block-item/index.js +0 -1
  89. package/dist/esm/view/fields/input-mask/index.js +0 -1
  90. package/dist/esm/view/fields/input-text/index.js +0 -1
  91. package/dist/esm/view/fields/large-text-box/index.js +0 -1
  92. package/dist/esm/view/fields/radio/index.js +0 -1
  93. package/dist/esm/view/fields/radio-group/index.js +0 -1
  94. package/dist/esm/view/fields/text-box/index.js +0 -1
  95. package/dist/esm/view/fields/toggle/index.js +0 -1
  96. package/dist/esm/view/fields/watch-value.js +0 -1
  97. package/dist/esm/view/form/index.js +0 -1
  98. package/dist/esm/view/form/personal-info-section.js +0 -1
  99. package/dist/esm/view/form/submit-button/index.js +0 -1
  100. package/dist/esm/view/guest-unload-handlers/index.js +0 -1
  101. package/dist/esm/view/host-binding-events/index.js +0 -1
  102. package/dist/esm/view/live-message/index.js +0 -1
  103. package/dist/esm/view/loadable/index.js +0 -1
  104. package/dist/esm/view/login/index.js +0 -1
  105. package/dist/esm/view/message-to-host-app/index.js +0 -1
  106. package/dist/esm/view/micro-app/app-factory/index.js +0 -1
  107. package/dist/esm/view/micro-app/const.js +0 -1
  108. package/dist/esm/view/micro-app/index.js +0 -1
  109. package/dist/esm/view/micro-app/resources/manifest.js +0 -1
  110. package/dist/esm/view/micro-app/resources/script.js +0 -1
  111. package/dist/esm/view/micro-app/resources/style.js +0 -1
  112. package/dist/esm/view/micro-app/types.js +0 -1
  113. package/dist/esm/view/micro-app/use-app-will-render.js +0 -1
  114. package/dist/esm/view/micro-app/utils.js +0 -1
  115. package/dist/esm/view/micro-iframe-app/app.js +0 -1
  116. package/dist/esm/view/micro-iframe-app/iframe/const.js +0 -1
  117. package/dist/esm/view/micro-iframe-app/iframe/index.js +0 -1
  118. package/dist/esm/view/micro-iframe-app/index.js +0 -1
  119. package/dist/esm/view/micro-iframe-app/types.js +0 -1
  120. package/dist/esm/view/micro-iframe-app/use-frame-loaded.js +0 -1
  121. package/dist/esm/view/modals/error/index.js +0 -1
  122. package/dist/esm/view/modals/navigation-prompt/index.js +0 -1
  123. package/dist/esm/view/modals/session-expiry/customHooks.js +0 -1
  124. package/dist/esm/view/modals/session-expiry/index.js +0 -1
  125. package/dist/esm/view/modals/wait-message/index.js +0 -1
  126. package/dist/esm/view/modals/wait-message/use-html-wait-message.js +0 -1
  127. package/dist/esm/view/modals/wait-message/wait-message-launcher.js +0 -1
  128. package/dist/esm/view/page.js +0 -1
  129. package/dist/esm/view/render-with-delay/index.js +0 -1
  130. package/dist/esm/view/render-with-host-data/index.js +0 -1
  131. package/dist/esm/view/require-auth.js +0 -1
  132. package/dist/esm/view/session-timeout/index.js +0 -1
  133. package/dist/esm/view/storybook/decorator.js +0 -1
  134. package/dist/esm/view/use-previous.js +0 -1
  135. package/dist/esm/view/use-window-size-change.js +0 -1
  136. package/dist/esm/view/visually-hidden/index.js +0 -1
  137. package/package.json +30 -30
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as brum from "@elliemae/pui-user-monitoring";
3
2
  let userData = {
4
3
  envName: "localhost",
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { CMicroAppGuest } from "../utils/micro-frontend/guest.js";
3
2
  import { getBAEventParameters } from "./web-analytics.js";
4
3
  import { redactPii } from "../utils/redact-pii.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { sendBAEvent } from "./index.js";
3
2
  const getWindow = () => {
4
3
  try {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { sendBAEvent } from "./index.js";
3
2
  import { updateBAEventParameters } from "./web-analytics.js";
4
3
  const loginEvent = ({
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { sendBAEvent } from "./index.js";
3
2
  const waitStartEvent = () => sendBAEvent({
4
3
  data: {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  let baEventParameters = {
3
2
  envName: "localhost",
4
3
  appId: "",
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { getHTTPClient } from "../../communication/http-client/index.js";
3
2
  const getToken = async ({
4
3
  clientId,
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { createAction } from "@reduxjs/toolkit";
3
2
  import { get } from "lodash";
4
3
  const getApiActionCreator = (api) => (operation) => ({
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { getAuthHTTPClient } from "../../communication/http-client/index.js";
3
2
  const getUser = async ({ userName }) => {
4
3
  const { data } = await getAuthHTTPClient().get(`/encompass/v1/users/${userName}`);
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import axios from "axios";
3
2
  import { getAppConfigValue } from "../../utils/app-config/config.js";
4
3
  import { getAuthorizationHeader } from "../../utils/auth/helper.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { resetUserIdleTime } from "../../utils/session.js";
3
2
  const requestInterceptor = (config) => {
4
3
  resetUserIdleTime();
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import axios from "axios";
3
2
  const HTTP_UNAUTHORIZED = 401;
4
3
  let unAuthorizedFailureHandler = null;
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import axios from "axios";
3
2
  const onFulfilled = (res) => res;
4
3
  const detach = (interceptorId, instance) => {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import {
3
2
  attach,
4
3
  getConfig
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  const LOGIN = "auth/LOGIN";
3
2
  const LOGIN_SUCCESS = "auth/LOGIN_SUCCESS";
4
3
  const LOGOUT = "auth/LOGOUT";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import produce from "immer";
3
2
  import { LOGIN_SUCCESS } from "./actions.js";
4
3
  const initialState = {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import produce from "immer";
3
2
  const breakpoint = {
4
3
  change: "change"
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { createSlice } from "@reduxjs/toolkit";
3
2
  const initialState = {
4
3
  description: "",
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import {
3
2
  useInjectReducer,
4
3
  useInjectSaga,
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { createSlice } from "@reduxjs/toolkit";
3
2
  const initialState = {
4
3
  message: "",
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  const actions = {
3
2
  CONFIRM: "log-out/CONFIRM",
4
3
  CANCEL: "log-out/CANCEL"
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  const ACTIONS = {
3
2
  CONFIRM: "navigation-prompt/CONFIRM",
4
3
  CANCEL: "navigation-prompt/CANCEL"
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { useDispatch, useSelector } from "react-redux";
3
2
  const useAppDispatch = () => useDispatch();
4
3
  const useAppSelector = useSelector;
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { combineReducers } from "@reduxjs/toolkit";
3
2
  import { waitMessageReducer } from "./wait-message/reducer.js";
4
3
  import { errorReducer } from "./error/index.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  const AllowedModes = {
3
2
  RestartOnRemount: "RESTART_ON_REMOUNT",
4
3
  Daemon: "DAEMON",
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { configureStore } from "@reduxjs/toolkit";
3
2
  import {
4
3
  createInjectorsEnhancer
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  const ACTIONS = {
3
2
  OPEN: "wait-message/OPEN",
4
3
  CLOSE: "wait-message/CLOSE"
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import produce from "immer";
3
2
  import { ACTIONS } from "./actions.js";
4
3
  const initialState = {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { forceReducerReload } from "redux-injectors";
3
2
  const enableHotReloading = (baseStore) => {
4
3
  let hotModule = null;
package/dist/esm/index.js CHANGED
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { isUserAuthorized, login, authorize } from "./utils/auth/index.js";
3
2
  import {
4
3
  getHTTPClient,
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { CMicroAppGuest } from "./utils/micro-frontend/guest.js";
3
2
  import { CMicroAppHost } from "./utils/micro-frontend/host.js";
4
3
  import { getMicroFrontEndAppConfig } from "./utils/micro-frontend/index.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import {
3
2
  call,
4
3
  put,
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { call, takeLatest } from "redux-saga/effects";
3
2
  import { actions } from "../../data/error/index.js";
4
3
  import { CMicroAppGuest } from "../../utils/micro-frontend/guest.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { call, takeLatest } from "redux-saga/effects";
3
2
  import { ACTIONS } from "../../data/wait-message/actions.js";
4
3
  import { CMicroAppGuest } from "../../utils/micro-frontend/guest.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import _ from "lodash";
3
2
  import appConfig from "../../app.config.json";
4
3
  let gAppConfig = appConfig;
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import _ from "lodash";
3
2
  import { getHTTPClient } from "../../communication/http-client/index.js";
4
3
  import { setAppConfig } from "./config.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import {
3
2
  CMicroAppGuest
4
3
  } from "../micro-frontend/guest.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import enums from "../constants.js";
3
2
  const getAuthorizationHeader = () => sessionStorage.getItem(enums.AUTHORIZATION) || "";
4
3
  const setAuthorizationHeader = (token) => {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { browserHistory as history } from "../history.js";
3
2
  import {
4
3
  getToken,
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var constants_default = {
3
2
  AUTHORIZATION: "Authorization",
4
3
  CLIENT_ID: "tirykwfo"
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  const docFontSize = document && document.documentElement ? getComputedStyle(document.documentElement).fontSize : "16";
3
2
  const remToPx = (rem) => rem * parseFloat(docFontSize);
4
3
  const pxToRem = (px) => `${px / parseFloat(docFontSize)}rem`;
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  function RegisterService(appId, ServiceName) {
3
2
  const { emui } = window;
4
3
  const props = emui[appId] || (emui[appId] = {});
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  const isProd = () => false;
3
2
  const isCIBuild = () => process.env.CI === "true";
4
3
  const PROTOCOL = /^(?:[a-z]+:)?\/\//;
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { createBrowserHistory, createMemoryHistory } from "history";
3
2
  const browserHistory = createBrowserHistory();
4
3
  const memoryHistory = createMemoryHistory();
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  const logRecords = {
3
2
  ERR_TOAST_OPEN_FAILED: {
4
3
  code: "appsdk001",
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { logger as uiLogger, Console } from "@elliemae/pui-diagnostics";
3
2
  import { getAppConfigValue } from "../app-config/config.js";
4
3
  const logger = (() => {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import _ from "lodash";
3
2
  import { getDefaultTheme } from "@elliemae/pui-theme";
4
3
  import { getWindow } from "../window.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { publish, subscribe, unsubscribe } from "pubsub-js";
3
2
  import { getDefaultTheme } from "@elliemae/pui-theme";
4
3
  import { getStore } from "../../data/store.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import _ from "lodash";
3
2
  import { CMicroAppGuest } from "./guest.js";
4
3
  import { CMicroAppHost } from "./host.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import ssfGuest from "@elliemae/em-ssf-guest";
3
2
  class SSFGuestAdapter {
4
3
  async init() {
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  const aptRegex = /(apt|bldg|dept|fl|hngr|lot|pier|rm|ste|slip|trlr|unit|#)\.? *[a-z0-9-]+\b/gi;
3
2
  const poBoxRegex = /P\.? ?O\.? *Box +\d+/gi;
4
3
  const roadRegex = /(street|st|road|rd|avenue|ave|drive|dr|loop|court|ct|circle|cir|lane|ln|boulevard|blvd|way)\.?\b/gi;
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import "./log-records.js";
3
2
  import { getLogger } from "./micro-frontend/index.js";
4
3
  const initServiceWorker = (swDest = "") => {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { throttle } from "lodash";
3
2
  import { getAppConfigValue } from "./app-config/config.js";
4
3
  import { SESSION_TIMEOUT_INTERVAL } from "./constants.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { addons } from "@storybook/addons";
3
2
  import { createTheme } from "./theme.js";
4
3
  const init = (theme) => {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { getDefaultTheme } from "@elliemae/pui-theme";
3
2
  import { createAppStore } from "../../data/store.js";
4
3
  import { withAppDecorator } from "../../view/storybook/decorator.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { create } from "@storybook/theming/create";
3
2
  const createTheme = ({
4
3
  base = "light",
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { render } from "@testing-library/react";
4
3
  import { getDefaultTheme } from "@elliemae/pui-theme";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { render } from "@testing-library/react";
4
3
  import { Provider } from "react-redux";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { render } from "@testing-library/react";
4
3
  import { Provider } from "react-redux";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { render } from "@testing-library/react";
4
3
  import { createMemoryHistory } from "history";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { useEffect, useState } from "react";
4
3
  import { ThemeProvider } from "styled-components";
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  const getRedirectUrl = () => {
3
2
  const url = new URL(window.location.href);
4
3
  url.search = "";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import localforage from "localforage";
3
2
  const STORAGE = "storage";
4
3
  const GET_SESSION_STORAGE = "getSessionStorage";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { getDefaultTheme } from "@elliemae/pui-theme";
3
2
  const getWindow = () => {
4
3
  try {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import styled from "styled-components";
4
3
  import { ErrorToast } from "../error-toast/index.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { StrictMode } from "react";
4
3
  import { Provider } from "react-redux";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import styled from "styled-components";
4
3
  import { LiveAnnouncer } from "react-aria-live";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { createGlobalStyle } from "styled-components";
3
2
  var style_default = createGlobalStyle`
4
3
  :root {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { useState, useLayoutEffect } from "react";
4
3
  import { Router } from "react-router-dom";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { useEffect, useContext } from "react";
3
2
  import { ThemeContext } from "styled-components";
4
3
  import { publish } from "pubsub-js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { useState, useEffect, useCallback } from "react";
3
2
  const useMediaQueryList = (queries, values, defaultValue) => {
4
3
  const mediaQueryLists = queries.map((q) => window.matchMedia(q));
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  const DefaultErrorTemplate = ({
4
3
  error = new Error("We are unable to process your request"),
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import React from "react";
3
2
  import {
4
3
  DefaultErrorTemplate
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { useEffect, memo } from "react";
4
3
  import { ToastPosition, ToastType, DSToast, toast } from "@elliemae/ds-toast";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import _ from "lodash";
3
2
  import { isHostAppDataExist, setHostAppData } from "./store.js";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { get } from "lodash";
3
2
  let hostAppData = {};
4
3
  const setHostAppData = (appData) => {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSControlledCheckbox } from "@elliemae/ds-controlled-form";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSComboBox } from "@elliemae/ds-form";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { useFormContext } from "react-hook-form";
3
2
  const ConnectForm = ({ children }) => {
4
3
  const methods = useFormContext();
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSDateInput } from "@elliemae/ds-form";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import DSDatePicker from "@elliemae/ds-date-picker";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { useState, useEffect } from "react";
4
3
  import { DSControlledDateRangePicker } from "@elliemae/ds-controlled-form";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSControlledDateTimePicker } from "@elliemae/ds-controlled-form";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSFormItemLayout } from "@elliemae/ds-form";
4
3
  import { get } from "react-hook-form";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSFormLayoutBlockItem } from "@elliemae/ds-form-layout-blocks";
4
3
  import { get } from "react-hook-form";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import {
4
3
  DSInputMask,
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSInputText } from "@elliemae/ds-controlled-form";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSLargeInputText } from "@elliemae/ds-form";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSRadio } from "@elliemae/ds-form";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSRadioGroup } from "@elliemae/ds-form";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSTextBox } from "@elliemae/ds-form";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSControlledToggle } from "@elliemae/ds-controlled-form";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import styled from "styled-components";
4
3
  import { Grid } from "@elliemae/ds-grid";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import styled from "styled-components";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import moment from "moment";
4
3
  import { TextBox } from "../fields/text-box/index.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { useFormContext } from "react-hook-form";
4
3
  import { DSButtonV2 } from "@elliemae/ds-button";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { sendMessageToHost } from "../message-to-host-app/index.js";
3
2
  const onGuestUnloadStart = () => new Promise((resolve) => {
4
3
  window.addEventListener("message", (msg) => {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  const bindEvent = (element, eventName, eventHandler) => {
3
2
  if (element.addEventListener) {
4
3
  element.addEventListener(eventName, eventHandler, false);
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { LiveMessage as AriaLiveMessage } from "react-aria-live";
4
3
  import { useAppSelector } from "../../data/react-redux.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { lazy, Suspense } from "react";
4
3
  import { WaitMessageLauncher } from "../modals/wait-message/wait-message-launcher.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { useEffect, useState } from "react";
4
3
  import { useAppDispatch } from "../../data/react-redux.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { removeEvent } from "../host-binding-events/index.js";
3
2
  const getHostAppData = (action, resolve) => (event) => {
4
3
  if (event.data.id === "host-app-data") {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { persistentStorage } from "../../../utils/web-storage.js";
3
2
  import { CMicroAppHost } from "../../../utils/micro-frontend/host.js";
4
3
  import { getLogger } from "../../../utils/micro-frontend/index.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  const APP_CONTAINER_ID_PREFIX = "pui-app-container-";
3
2
  export {
4
3
  APP_CONTAINER_ID_PREFIX
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { memo } from "react";
4
3
  import styled from "styled-components";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { getHTTPClient } from "../../../communication/http-client/index.js";
3
2
  import { removeDoubleSlash } from "../../../utils/url.js";
4
3
  import { getLogger } from "../../../utils/micro-frontend/index.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { removeDoubleSlash } from "../../../utils/url.js";
3
2
  const APP_SCRIPT_ID_PREFIX = "emui-script-";
4
3
  const HEAD_SCRIPTS = /(?:emuiDiagnostics|global|global-prod|emuiUserMonitoring)(?:..*)?.js/;
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { removeDoubleSlash } from "../../../utils/url.js";
3
2
  const APP_STYLE_ID_PREFIX = "emui-style-";
4
3
  const addStylesToDOM = ({ name, hostUrl, documentEle, manifestPath }, fileName, index) => {
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { useRef, useLayoutEffect, useCallback } from "react";
3
2
  import { merge } from "lodash";
4
3
  import { useDispatch } from "react-redux";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { getAppConfigValue } from "../../utils/app-config/config.js";
3
2
  const getNavigationLinks = () => {
4
3
  const microApps = getAppConfigValue("microFrontendApps");
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { memo, useState } from "react";
4
3
  import frameHtml from "./iframe/index.html?resource";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  const IFRAME_CONTAINER_ID_PREFIX = "pui-iframe-container-";
3
2
  export {
4
3
  IFRAME_CONTAINER_ID_PREFIX
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { memo, useRef } from "react";
4
3
  import styled from "styled-components";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { useEffect, useState, memo } from "react";
4
3
  import { usePrevious } from "../use-previous.js";
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { useEffect } from "react";
3
2
  import { trackActivity } from "../../utils/session.js";
4
3
  import { CMicroAppHost } from "../../utils/micro-frontend/host.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { useState, useCallback } from "react";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { memo } from "react";
4
3
  import { Close } from "@elliemae/ds-icons";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { useEffect, useState } from "react";
3
2
  import { getSeconds, differenceInMinutes } from "date-fns";
4
3
  import { SESSION_TIMEOUT_INTERVAL } from "../../../utils/constants.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { memo, useEffect, useState } from "react";
4
3
  import { DSButtonV2 } from "@elliemae/ds-button";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { memo, useEffect } from "react";
4
3
  import { DSLoadingIndicator } from "@elliemae/ds-loading-indicator";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { useEffect } from "react";
3
2
  const useHTMLWaitMessage = (close) => {
4
3
  useEffect(() => {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { useEffect } from "react";
3
2
  import { useAppDispatch } from "../../../data/react-redux.js";
4
3
  import { waitMessage } from "../../../data/wait-message/actions.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { Helmet } from "react-helmet";
4
3
  import * as brum from "@elliemae/pui-user-monitoring";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { useEffect, useState, memo } from "react";
4
3
  const RenderWithDelay = memo(({ render }) => {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { useState, useEffect } from "react";
4
3
  import { fetchHostAppData } from "../fetch-host-app-data/index.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { createManager } from "redux-injectors";
4
3
  import enums from "../utils/constants.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { useEffect, useState } from "react";
4
3
  import { useAppDispatch } from "../../data/react-redux.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { browserHistory } from "../../utils/history.js";
4
3
  import { AppRoot } from "../app-root/index.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { useRef, useEffect } from "react";
3
2
  const usePrevious = (value) => {
4
3
  const ref = useRef();
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { useEffect } from "react";
3
2
  import { publish } from "pubsub-js";
4
3
  import { HOST_WINDOW_RESIZED } from "../utils/constants.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { forwardRef } from "react";
4
3
  import styled from "styled-components";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-app-sdk",
3
- "version": "4.0.0-alpha.7",
3
+ "version": "4.0.0-alpha.8",
4
4
  "description": "ICE MT UI Platform Application SDK ",
5
5
  "sideEffects": [
6
6
  "*.css",
@@ -106,20 +106,20 @@
106
106
  "indent": 4
107
107
  },
108
108
  "peerDependencies": {
109
- "@elliemae/app-react-dependencies": "^4.0.0-beta.3",
110
- "@elliemae/ds-basic": "^3.2.0",
111
- "@elliemae/ds-button": "^3.2.0",
112
- "@elliemae/ds-controlled-form": "^3.2.0",
113
- "@elliemae/ds-date-picker": "^3.2.0",
114
- "@elliemae/ds-date-range-picker": "^3.2.0",
115
- "@elliemae/ds-dialog": "^3.2.0",
116
- "@elliemae/ds-form": "^3.2.0",
117
- "@elliemae/ds-form-layout-blocks": "^3.2.0",
118
- "@elliemae/ds-grid": "^3.2.0",
119
- "@elliemae/ds-loading-indicator": "^3.2.0",
120
- "@elliemae/ds-modal": "^3.2.0",
121
- "@elliemae/ds-popperjs": "^3.2.0",
122
- "@elliemae/ds-toast": "^3.2.0",
109
+ "@elliemae/app-react-dependencies": "^4.0.0-beta.4",
110
+ "@elliemae/ds-basic": "^3.4.2",
111
+ "@elliemae/ds-button": "^3.4.2",
112
+ "@elliemae/ds-controlled-form": "^3.4.2",
113
+ "@elliemae/ds-date-picker": "^3.4.2",
114
+ "@elliemae/ds-date-range-picker": "^3.4.2",
115
+ "@elliemae/ds-dialog": "^3.4.2",
116
+ "@elliemae/ds-form": "^3.4.2",
117
+ "@elliemae/ds-form-layout-blocks": "^3.4.2",
118
+ "@elliemae/ds-grid": "^3.4.2",
119
+ "@elliemae/ds-loading-indicator": "^3.4.2",
120
+ "@elliemae/ds-modal": "^3.4.2",
121
+ "@elliemae/ds-popperjs": "^3.4.2",
122
+ "@elliemae/ds-toast": "^3.4.2",
123
123
  "@elliemae/em-ssf-guest": "^1.11.2",
124
124
  "@elliemae/pui-diagnostics": "^2.7.4",
125
125
  "@elliemae/pui-micro-frontend-base": "^1.13.0",
@@ -128,23 +128,23 @@
128
128
  "@elliemae/pui-user-monitoring": "^1.15.1"
129
129
  },
130
130
  "devDependencies": {
131
- "@elliemae/app-react-dependencies": "4.0.0-beta.3",
131
+ "@elliemae/app-react-dependencies": "4.0.0-beta.4",
132
132
  "@elliemae/browserslist-config-elliemae-latest-browsers": "~1.4.2",
133
- "@elliemae/ds-basic": "~3.2.0",
134
- "@elliemae/ds-button": "~3.2.0",
135
- "@elliemae/ds-controlled-form": "~3.2.0",
136
- "@elliemae/ds-date-picker": "~3.2.0",
137
- "@elliemae/ds-date-range-picker": "~3.2.0",
138
- "@elliemae/ds-dialog": "~3.2.0",
139
- "@elliemae/ds-form": "~3.2.0",
140
- "@elliemae/ds-form-layout-blocks": "~3.2.0",
141
- "@elliemae/ds-grid": "~3.2.0",
142
- "@elliemae/ds-loading-indicator": "~3.2.0",
143
- "@elliemae/ds-modal": "~3.2.0",
144
- "@elliemae/ds-popperjs": "~3.2.0",
145
- "@elliemae/ds-toast": "~3.2.0",
133
+ "@elliemae/ds-basic": "~3.4.2",
134
+ "@elliemae/ds-button": "~3.4.2",
135
+ "@elliemae/ds-controlled-form": "~3.4.2",
136
+ "@elliemae/ds-date-picker": "~3.4.2",
137
+ "@elliemae/ds-date-range-picker": "~3.4.2",
138
+ "@elliemae/ds-dialog": "~3.4.2",
139
+ "@elliemae/ds-form": "~3.4.2",
140
+ "@elliemae/ds-form-layout-blocks": "~3.4.2",
141
+ "@elliemae/ds-grid": "~3.4.2",
142
+ "@elliemae/ds-loading-indicator": "~3.4.2",
143
+ "@elliemae/ds-modal": "~3.4.2",
144
+ "@elliemae/ds-popperjs": "~3.4.2",
145
+ "@elliemae/ds-toast": "~3.4.2",
146
146
  "@elliemae/em-ssf-guest": "~1.11.2",
147
- "@elliemae/pui-cli": "7.0.0-alpha.25",
147
+ "@elliemae/pui-cli": "7.0.0-alpha.27",
148
148
  "@elliemae/pui-diagnostics": "~2.7.4",
149
149
  "@elliemae/pui-e2e-test-sdk": "~7.3.4",
150
150
  "@elliemae/pui-micro-frontend-base": "~1.13.0",