@elliemae/pui-app-sdk 3.0.0-beta.1 → 3.0.0-beta.10

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 (271) hide show
  1. package/dist/cjs/analytics/index.js +3 -3
  2. package/dist/cjs/analytics/page-view-event.js +13 -4
  3. package/dist/cjs/analytics/user-session-event.js +4 -4
  4. package/dist/cjs/analytics/user-wait-event.js +3 -3
  5. package/dist/cjs/api/auth/index.js +1 -1
  6. package/dist/cjs/api/users/index.js +1 -1
  7. package/dist/cjs/api/users/users.json +8 -0
  8. package/dist/cjs/app.config.json +129 -0
  9. package/dist/cjs/communication/http-client/index.js +5 -5
  10. package/dist/cjs/communication/http-client/request-interceptor.js +1 -1
  11. package/dist/cjs/communication/http-client/retry.js +1 -1
  12. package/dist/cjs/communication/http-client/tests/index.test-disable.js +3 -3
  13. package/dist/cjs/data/auth/reducer.js +1 -1
  14. package/dist/cjs/data/index.js +34 -0
  15. package/dist/cjs/data/reducers.js +4 -4
  16. package/dist/cjs/data/store.js +2 -3
  17. package/dist/cjs/data/wait-message/reducer.js +1 -1
  18. package/dist/cjs/index.js +74 -72
  19. package/dist/cjs/index.pug +15 -0
  20. package/dist/cjs/micro-frontend.js +33 -0
  21. package/dist/cjs/route/index.js +2 -1
  22. package/dist/cjs/route/page-view.js +1 -1
  23. package/dist/cjs/route/private-route/index.js +8 -7
  24. package/dist/cjs/sideeffect/auth/index.js +4 -4
  25. package/dist/cjs/sideeffect/error-toast/index.js +4 -4
  26. package/dist/cjs/sideeffect/wait-message/index.js +4 -4
  27. package/dist/cjs/utils/app-config/index.js +4 -4
  28. package/dist/cjs/utils/app-host-integration/react.js +1 -1
  29. package/dist/cjs/utils/auth/helper.js +1 -1
  30. package/dist/cjs/utils/auth/index.js +9 -9
  31. package/dist/cjs/utils/micro-frontend/console-logger.js +1 -1
  32. package/dist/cjs/utils/micro-frontend/guest.js +8 -8
  33. package/dist/cjs/utils/micro-frontend/host.js +14 -14
  34. package/dist/cjs/utils/micro-frontend/index.js +4 -4
  35. package/dist/cjs/utils/service-worker.js +2 -2
  36. package/dist/cjs/utils/session.js +2 -2
  37. package/dist/cjs/utils/storybook/{main.js → cjs/main.js} +11 -3
  38. package/dist/cjs/utils/storybook/{middleware.js → cjs/middleware.js} +0 -0
  39. package/dist/cjs/utils/storybook/{vite.js → cjs/vite.js} +0 -0
  40. package/dist/cjs/utils/storybook/{webpack.js → cjs/webpack.js} +9 -1
  41. package/dist/cjs/utils/storybook/manager.js +1 -1
  42. package/dist/cjs/utils/storybook/preview.js +7 -8
  43. package/dist/cjs/utils/testing/index.js +4 -3
  44. package/dist/cjs/utils/testing/render-with-redux.js +3 -2
  45. package/dist/cjs/utils/testing/render-with-router-redux.js +3 -2
  46. package/dist/cjs/utils/testing/render-with-router.js +1 -0
  47. package/dist/cjs/utils/testing/render-with-state-addons.js +1 -0
  48. package/dist/cjs/view/app-root/hosted-app.js +5 -4
  49. package/dist/cjs/view/app-root/index.js +7 -6
  50. package/dist/cjs/view/app-root/stand-alone-app.js +8 -7
  51. package/dist/cjs/view/error-boundary/default-error-template.js +17 -0
  52. package/dist/cjs/view/error-boundary/index.js +3 -3
  53. package/dist/cjs/view/error-toast/index.js +8 -7
  54. package/dist/cjs/view/fetch-host-app-data/index.js +3 -3
  55. package/dist/cjs/view/fields/check-box/index.js +2 -1
  56. package/dist/cjs/view/fields/combo-box/index.js +2 -1
  57. package/dist/cjs/view/fields/date-input/index.js +2 -1
  58. package/dist/cjs/view/fields/date-picker/index.js +1 -0
  59. package/dist/cjs/view/fields/form-item-layout/index.js +3 -2
  60. package/dist/cjs/view/fields/input-mask/index.js +2 -1
  61. package/dist/cjs/view/fields/large-text-box/index.js +2 -1
  62. package/dist/cjs/view/fields/radio/index.js +2 -1
  63. package/dist/cjs/view/fields/radio-group/index.js +2 -1
  64. package/dist/cjs/view/fields/text-box/index.js +2 -1
  65. package/dist/cjs/view/fields/watch-value.js +1 -0
  66. package/dist/cjs/view/form/index.js +1 -0
  67. package/dist/cjs/view/form/personal-info-section.js +5 -4
  68. package/dist/cjs/view/form/submit-button/index.js +3 -2
  69. package/dist/cjs/view/guest-unload-handlers/index.js +1 -1
  70. package/dist/cjs/view/header/center-region/index.js +1 -0
  71. package/dist/cjs/view/header/index.js +5 -4
  72. package/dist/cjs/view/header/logo-region/index.js +2 -1
  73. package/dist/cjs/view/header/logo-region/logo.svg +2 -0
  74. package/dist/cjs/view/header/nav-region/index.js +3 -2
  75. package/dist/cjs/view/header/nav-region/notification/index.js +2 -1
  76. package/dist/cjs/view/header/nav-region/notification/index.svg +5 -0
  77. package/dist/cjs/view/header/nav-region/user/index.js +2 -1
  78. package/dist/cjs/view/header/nav-region/user/index.svg +4 -0
  79. package/dist/cjs/view/intro.stories.mdx +27 -0
  80. package/dist/cjs/view/live-message/index.js +2 -1
  81. package/dist/cjs/view/loadable/index.js +2 -1
  82. package/dist/cjs/view/login/index.js +4 -3
  83. package/dist/cjs/view/media-breakpoint/index.js +5 -4
  84. package/dist/cjs/view/message-to-host-app/index.js +1 -1
  85. package/dist/cjs/view/micro-app/app-factory/index.js +11 -9
  86. package/dist/cjs/view/micro-app/index.js +3 -2
  87. package/dist/cjs/view/micro-app/resources/manifest.js +6 -4
  88. package/dist/cjs/view/micro-app/resources/script.js +1 -1
  89. package/dist/cjs/view/micro-app/resources/style.js +1 -1
  90. package/dist/cjs/view/micro-app/use-app-will-render.js +8 -6
  91. package/dist/cjs/view/micro-app/utils.js +1 -1
  92. package/dist/cjs/view/micro-iframe-app/app.js +4 -3
  93. package/dist/cjs/view/micro-iframe-app/iframe/index.html +74 -0
  94. package/dist/cjs/view/micro-iframe-app/iframe/index.js +2 -1
  95. package/dist/cjs/view/micro-iframe-app/index.js +3 -2
  96. package/dist/cjs/view/micro-iframe-app/use-frame-loaded.js +5 -3
  97. package/dist/cjs/view/modals/error/index.js +1 -0
  98. package/dist/cjs/view/modals/navigation-prompt/index.js +3 -2
  99. package/dist/cjs/view/modals/session-expiry/customHooks.js +2 -2
  100. package/dist/cjs/view/modals/session-expiry/index.js +5 -4
  101. package/dist/cjs/view/modals/wait-message/html-wait-message.js +1 -0
  102. package/dist/cjs/view/modals/wait-message/index.js +6 -5
  103. package/dist/cjs/view/modals/wait-message/wait-message-launcher.js +3 -2
  104. package/dist/cjs/view/render-with-delay/index.js +1 -0
  105. package/dist/cjs/view/render-with-host-data/index.js +3 -2
  106. package/dist/cjs/view/session-timeout/index.js +5 -4
  107. package/dist/cjs/view/storybook/decorator.js +3 -2
  108. package/dist/cjs/view/visually-hidden/index.js +1 -0
  109. package/dist/cjs/view/window-size/index.js +11 -6
  110. package/dist/es/analytics/index.js +3 -3
  111. package/dist/es/analytics/page-view-event.js +12 -3
  112. package/dist/es/analytics/user-session-event.js +2 -2
  113. package/dist/es/analytics/user-wait-event.js +1 -1
  114. package/dist/es/api/auth/index.js +1 -1
  115. package/dist/es/api/users/index.js +1 -1
  116. package/dist/es/api/users/users.json +8 -0
  117. package/dist/es/app.config.json +129 -0
  118. package/dist/es/communication/http-client/index.js +5 -5
  119. package/dist/es/communication/http-client/request-interceptor.js +1 -1
  120. package/dist/es/communication/http-client/retry.js +1 -1
  121. package/dist/es/communication/http-client/tests/index.test-disable.js +3 -3
  122. package/dist/es/data/auth/reducer.js +1 -1
  123. package/dist/es/data/index.js +11 -0
  124. package/dist/es/data/reducers.js +4 -4
  125. package/dist/es/data/store.js +2 -3
  126. package/dist/es/data/wait-message/reducer.js +1 -1
  127. package/dist/es/index.js +84 -72
  128. package/dist/es/index.pug +15 -0
  129. package/dist/es/micro-frontend.js +10 -0
  130. package/dist/es/route/index.js +2 -1
  131. package/dist/es/route/page-view.js +1 -1
  132. package/dist/es/route/private-route/index.js +8 -7
  133. package/dist/es/sideeffect/auth/index.js +4 -4
  134. package/dist/es/sideeffect/error-toast/index.js +4 -4
  135. package/dist/es/sideeffect/wait-message/index.js +4 -4
  136. package/dist/es/utils/app-config/index.js +4 -4
  137. package/dist/es/utils/app-host-integration/react.js +1 -1
  138. package/dist/es/utils/auth/helper.js +1 -1
  139. package/dist/es/utils/auth/index.js +9 -9
  140. package/dist/es/utils/micro-frontend/console-logger.js +1 -1
  141. package/dist/es/utils/micro-frontend/guest.js +8 -8
  142. package/dist/es/utils/micro-frontend/host.js +14 -14
  143. package/dist/es/utils/micro-frontend/index.js +4 -4
  144. package/dist/es/utils/service-worker.js +2 -2
  145. package/dist/es/utils/session.js +2 -2
  146. package/dist/es/utils/storybook/manager.js +1 -1
  147. package/dist/es/utils/storybook/preview.js +7 -8
  148. package/dist/es/utils/testing/index.js +4 -3
  149. package/dist/es/utils/testing/render-with-redux.js +3 -2
  150. package/dist/es/utils/testing/render-with-router-redux.js +3 -2
  151. package/dist/es/utils/testing/render-with-router.js +1 -0
  152. package/dist/es/utils/testing/render-with-state-addons.js +1 -0
  153. package/dist/es/view/app-root/hosted-app.js +5 -4
  154. package/dist/es/view/app-root/index.js +7 -6
  155. package/dist/es/view/app-root/stand-alone-app.js +8 -7
  156. package/dist/es/view/error-boundary/default-error-template.js +1 -0
  157. package/dist/es/view/error-boundary/index.js +3 -3
  158. package/dist/es/view/error-toast/index.js +4 -8
  159. package/dist/es/view/fetch-host-app-data/index.js +6 -3
  160. package/dist/es/view/fields/check-box/index.js +2 -1
  161. package/dist/es/view/fields/combo-box/index.js +2 -1
  162. package/dist/es/view/fields/date-input/index.js +2 -1
  163. package/dist/es/view/fields/date-picker/index.js +1 -0
  164. package/dist/es/view/fields/form-item-layout/index.js +3 -2
  165. package/dist/es/view/fields/input-mask/index.js +2 -1
  166. package/dist/es/view/fields/large-text-box/index.js +2 -1
  167. package/dist/es/view/fields/radio/index.js +2 -1
  168. package/dist/es/view/fields/radio-group/index.js +2 -1
  169. package/dist/es/view/fields/text-box/index.js +2 -1
  170. package/dist/es/view/fields/watch-value.js +1 -0
  171. package/dist/es/view/form/index.js +1 -0
  172. package/dist/es/view/form/personal-info-section.js +5 -4
  173. package/dist/es/view/form/submit-button/index.js +2 -1
  174. package/dist/es/view/guest-unload-handlers/index.js +1 -1
  175. package/dist/es/view/header/center-region/index.js +1 -0
  176. package/dist/es/view/header/index.js +5 -4
  177. package/dist/es/view/header/logo-region/index.js +2 -1
  178. package/dist/es/view/header/logo-region/logo.svg +2 -0
  179. package/dist/es/view/header/nav-region/index.js +3 -2
  180. package/dist/es/view/header/nav-region/notification/index.js +2 -1
  181. package/dist/es/view/header/nav-region/notification/index.svg +5 -0
  182. package/dist/es/view/header/nav-region/user/index.js +2 -1
  183. package/dist/es/view/header/nav-region/user/index.svg +4 -0
  184. package/dist/es/view/intro.stories.mdx +27 -0
  185. package/dist/es/view/live-message/index.js +2 -1
  186. package/dist/es/view/loadable/index.js +2 -1
  187. package/dist/es/view/login/index.js +4 -3
  188. package/dist/es/view/media-breakpoint/index.js +5 -4
  189. package/dist/es/view/message-to-host-app/index.js +1 -1
  190. package/dist/es/view/micro-app/app-factory/index.js +14 -9
  191. package/dist/es/view/micro-app/index.js +3 -2
  192. package/dist/es/view/micro-app/resources/manifest.js +6 -4
  193. package/dist/es/view/micro-app/resources/script.js +1 -1
  194. package/dist/es/view/micro-app/resources/style.js +1 -1
  195. package/dist/es/view/micro-app/use-app-will-render.js +13 -6
  196. package/dist/es/view/micro-app/utils.js +1 -1
  197. package/dist/es/view/micro-iframe-app/app.js +4 -3
  198. package/dist/es/view/micro-iframe-app/iframe/index.html +74 -0
  199. package/dist/es/view/micro-iframe-app/iframe/index.js +2 -1
  200. package/dist/es/view/micro-iframe-app/index.js +3 -2
  201. package/dist/es/view/micro-iframe-app/use-frame-loaded.js +5 -3
  202. package/dist/es/view/modals/error/index.js +1 -0
  203. package/dist/es/view/modals/navigation-prompt/index.js +3 -2
  204. package/dist/es/view/modals/session-expiry/customHooks.js +2 -2
  205. package/dist/es/view/modals/session-expiry/index.js +5 -4
  206. package/dist/es/view/modals/wait-message/html-wait-message.js +1 -0
  207. package/dist/es/view/modals/wait-message/index.js +5 -4
  208. package/dist/es/view/modals/wait-message/wait-message-launcher.js +3 -2
  209. package/dist/es/view/render-with-delay/index.js +1 -0
  210. package/dist/es/view/render-with-host-data/index.js +3 -2
  211. package/dist/es/view/session-timeout/index.js +5 -4
  212. package/dist/es/view/storybook/decorator.js +3 -2
  213. package/dist/es/view/visually-hidden/index.js +1 -0
  214. package/dist/es/view/window-size/index.js +11 -6
  215. package/dist/types/communication/http-client/retry.d.ts +1 -1
  216. package/dist/types/data/index.d.ts +4 -0
  217. package/dist/types/data/react-redux.d.ts +11 -11
  218. package/dist/types/data/reducers.d.ts +6 -6
  219. package/dist/types/data/store.d.ts +29 -29
  220. package/dist/types/index.d.ts +79 -78
  221. package/dist/types/micro-frontend.d.ts +6 -0
  222. package/dist/types/route/private-route/index.d.ts +1 -1
  223. package/dist/types/sideeffect/auth/index.d.ts +1 -1
  224. package/dist/types/utils/app-host-integration/react.d.ts +1 -1
  225. package/dist/types/utils/micro-frontend/guest.d.ts +3 -3
  226. package/dist/types/utils/micro-frontend/host.d.ts +1 -1
  227. package/dist/types/utils/micro-frontend/index.d.ts +2 -2
  228. package/dist/types/utils/micro-frontend/types.d.ts +1 -1
  229. package/dist/types/utils/storybook/{main.d.cts → cjs/main.d.ts} +24 -2
  230. package/dist/types/utils/storybook/{middleware.d.cts → cjs/middleware.d.ts} +0 -0
  231. package/dist/types/utils/storybook/{vite.d.cts → cjs/vite.d.ts} +0 -0
  232. package/dist/types/utils/storybook/cjs/webpack.d.ts +16 -0
  233. package/dist/types/utils/storybook/preview.d.ts +8 -2
  234. package/dist/types/utils/testing/render-with-redux.d.ts +20 -20
  235. package/dist/types/utils/testing/render-with-router-redux.d.ts +20 -20
  236. package/dist/types/view/app-root/index.d.ts +1 -1
  237. package/dist/types/view/fields/check-box/index.d.ts +1 -1
  238. package/dist/types/view/fields/check-box/index.stories.d.ts +1 -1
  239. package/dist/types/view/fields/check-box/set-value.stories.d.ts +1 -1
  240. package/dist/types/view/fields/combo-box/index.stories.d.ts +1 -1
  241. package/dist/types/view/fields/date-input/index.stories.d.ts +1 -1
  242. package/dist/types/view/fields/date-picker/index.stories.d.ts +1 -1
  243. package/dist/types/view/fields/form-item-layout/index.stories.d.ts +1 -1
  244. package/dist/types/view/fields/input-mask/index.d.ts +1 -1
  245. package/dist/types/view/fields/input-mask/index.stories.d.ts +1 -1
  246. package/dist/types/view/fields/large-text-box/index.stories.d.ts +1 -1
  247. package/dist/types/view/fields/radio/index.stories.d.ts +1 -1
  248. package/dist/types/view/fields/radio/set-value.stories.d.ts +1 -1
  249. package/dist/types/view/fields/radio-group/index.stories.d.ts +1 -1
  250. package/dist/types/view/fields/text-box/index.stories.d.ts +1 -1
  251. package/dist/types/view/form/usecases.stories.d.ts +1 -1
  252. package/dist/types/view/header/index.d.ts +1 -1
  253. package/dist/types/view/header/index.stories.d.ts +1 -1
  254. package/dist/types/view/micro-app/app-factory/index.d.ts +3 -3
  255. package/dist/types/view/micro-app/index.d.ts +1 -1
  256. package/dist/types/view/micro-app/resources/manifest.d.ts +2 -2
  257. package/dist/types/view/micro-app/resources/script.d.ts +1 -1
  258. package/dist/types/view/micro-app/resources/style.d.ts +1 -1
  259. package/dist/types/view/micro-app/types.d.ts +1 -0
  260. package/dist/types/view/micro-app/use-app-will-render.d.ts +2 -2
  261. package/dist/types/view/micro-iframe-app/app.d.ts +2 -2
  262. package/dist/types/view/micro-iframe-app/index.d.ts +1 -1
  263. package/dist/types/view/micro-iframe-app/types.d.ts +1 -1
  264. package/dist/types/view/micro-iframe-app/use-frame-loaded.d.ts +1 -1
  265. package/dist/types/view/modals/error/index.stories.d.ts +1 -1
  266. package/dist/types/view/modals/navigation-prompt/index.stories.d.ts +1 -1
  267. package/dist/types/view/modals/session-expiry/index.stories.d.ts +1 -1
  268. package/dist/types/view/modals/wait-message/index.stories.d.ts +1 -1
  269. package/dist/types/view/storybook/decorator.d.ts +1 -1
  270. package/package.json +32 -15
  271. package/dist/types/utils/storybook/webpack.d.cts +0 -8
@@ -0,0 +1,16 @@
1
+ export declare const stories: {
2
+ directory: string;
3
+ }[];
4
+ export declare const addons: {
5
+ name: string;
6
+ options: {
7
+ optimizationLevel: number;
8
+ esbuildMinifyOptions: {
9
+ target: string;
10
+ };
11
+ };
12
+ }[];
13
+ export declare namespace core {
14
+ const builder: string;
15
+ }
16
+ export { managerWebpack, webpackFinal };
@@ -1,4 +1,10 @@
1
- export function getParameters(storyBookTheme: any): {
1
+ /// <reference types="react" />
2
+ import '@elliemae/ds-basic/css/dimsum.css';
3
+ export declare const getParameters: (storyBookTheme: {
4
+ [x: string]: any;
5
+ base?: string | undefined;
6
+ brandTitle?: string | undefined;
7
+ }) => {
2
8
  layout: string;
3
9
  actions: {
4
10
  argTypesRegex: string;
@@ -21,4 +27,4 @@ export function getParameters(storyBookTheme: any): {
21
27
  hideEmpty: boolean;
22
28
  };
23
29
  };
24
- export const decorators: ((story: () => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => JSX.Element)[];
30
+ export declare const decorators: ((story: () => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => JSX.Element)[];
@@ -1,36 +1,36 @@
1
1
  /// <reference types="react" />
2
- import { AppStore, RootState } from '../../data/store';
2
+ import { AppStore, RootState } from '../../data/store.js';
3
3
  interface Args {
4
4
  initialState: RootState;
5
5
  store: AppStore;
6
6
  }
7
7
  export declare const renderWithRedux: (ui: React.ReactElement, { initialState, store, }?: Args) => {
8
8
  store: import("@reduxjs/toolkit").EnhancedStore<import("redux").CombinedState<{
9
- waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
10
- error: import("../../data/error").ErrorState;
11
- breakpoint: import("../../data/breakpoint").BreakpointState;
12
- liveMessage: import("../../data/live-message").LiveMessageState;
9
+ waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
10
+ error: import("../../data/error/index.js").ErrorState;
11
+ breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
12
+ liveMessage: import("../../data/live-message/index.js").LiveMessageState;
13
13
  }>, {
14
- payload: import("../../data/wait-message/reducer").WaitMessageState;
14
+ payload: import("../../data/wait-message/reducer.js").WaitMessageState;
15
15
  type: string;
16
16
  } | import("redux").AnyAction | {
17
- payload: import("../../data/breakpoint").Breakpoints;
17
+ payload: import("../../data/breakpoint/index.js").Breakpoints;
18
18
  type: string;
19
- }, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("redux").Middleware<{}, any, import("redux").Dispatch<import("redux").AnyAction>> | import("redux-thunk").ThunkMiddleware<import("redux").CombinedState<{
20
- waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
21
- error: import("../../data/error").ErrorState;
22
- breakpoint: import("../../data/breakpoint").BreakpointState;
23
- liveMessage: import("../../data/live-message").LiveMessageState;
19
+ }, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("redux-thunk").ThunkMiddleware<import("redux").CombinedState<{
20
+ waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
21
+ error: import("../../data/error/index.js").ErrorState;
22
+ breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
23
+ liveMessage: import("../../data/live-message/index.js").LiveMessageState;
24
24
  }>, import("redux").AnyAction, null> | import("redux-thunk").ThunkMiddleware<import("redux").CombinedState<{
25
- waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
26
- error: import("../../data/error").ErrorState;
27
- breakpoint: import("../../data/breakpoint").BreakpointState;
28
- liveMessage: import("../../data/live-message").LiveMessageState;
25
+ waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
26
+ error: import("../../data/error/index.js").ErrorState;
27
+ breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
28
+ liveMessage: import("../../data/live-message/index.js").LiveMessageState;
29
29
  }>, import("redux").AnyAction, undefined> | import("redux").Middleware<{}, import("redux").CombinedState<{
30
- waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
31
- error: import("../../data/error").ErrorState;
32
- breakpoint: import("../../data/breakpoint").BreakpointState;
33
- liveMessage: import("../../data/live-message").LiveMessageState;
30
+ waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
31
+ error: import("../../data/error/index.js").ErrorState;
32
+ breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
33
+ liveMessage: import("../../data/live-message/index.js").LiveMessageState;
34
34
  }>, import("redux").Dispatch<import("redux").AnyAction>>>>;
35
35
  container: HTMLElement;
36
36
  baseElement: Element;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { History } from 'history';
3
- import { AppStore, RootState } from '../../data/store';
3
+ import { AppStore, RootState } from '../../data/store.js';
4
4
  interface Args {
5
5
  initialState: RootState;
6
6
  store: AppStore;
@@ -9,31 +9,31 @@ interface Args {
9
9
  }
10
10
  export declare const renderWithRouterRedux: (ui: React.ReactElement, { route, history, initialState, store, }?: Args) => {
11
11
  store: import("@reduxjs/toolkit").EnhancedStore<import("redux").CombinedState<{
12
- waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
13
- error: import("../../data/error").ErrorState;
14
- breakpoint: import("../../data/breakpoint").BreakpointState;
15
- liveMessage: import("../../data/live-message").LiveMessageState;
12
+ waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
13
+ error: import("../../data/error/index.js").ErrorState;
14
+ breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
15
+ liveMessage: import("../../data/live-message/index.js").LiveMessageState;
16
16
  }>, {
17
- payload: import("../../data/wait-message/reducer").WaitMessageState;
17
+ payload: import("../../data/wait-message/reducer.js").WaitMessageState;
18
18
  type: string;
19
19
  } | import("redux").AnyAction | {
20
- payload: import("../../data/breakpoint").Breakpoints;
20
+ payload: import("../../data/breakpoint/index.js").Breakpoints;
21
21
  type: string;
22
- }, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("redux").Middleware<{}, any, import("redux").Dispatch<import("redux").AnyAction>> | import("redux-thunk").ThunkMiddleware<import("redux").CombinedState<{
23
- waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
24
- error: import("../../data/error").ErrorState;
25
- breakpoint: import("../../data/breakpoint").BreakpointState;
26
- liveMessage: import("../../data/live-message").LiveMessageState;
22
+ }, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("redux-thunk").ThunkMiddleware<import("redux").CombinedState<{
23
+ waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
24
+ error: import("../../data/error/index.js").ErrorState;
25
+ breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
26
+ liveMessage: import("../../data/live-message/index.js").LiveMessageState;
27
27
  }>, import("redux").AnyAction, null> | import("redux-thunk").ThunkMiddleware<import("redux").CombinedState<{
28
- waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
29
- error: import("../../data/error").ErrorState;
30
- breakpoint: import("../../data/breakpoint").BreakpointState;
31
- liveMessage: import("../../data/live-message").LiveMessageState;
28
+ waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
29
+ error: import("../../data/error/index.js").ErrorState;
30
+ breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
31
+ liveMessage: import("../../data/live-message/index.js").LiveMessageState;
32
32
  }>, import("redux").AnyAction, undefined> | import("redux").Middleware<{}, import("redux").CombinedState<{
33
- waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
34
- error: import("../../data/error").ErrorState;
35
- breakpoint: import("../../data/breakpoint").BreakpointState;
36
- liveMessage: import("../../data/live-message").LiveMessageState;
33
+ waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
34
+ error: import("../../data/error/index.js").ErrorState;
35
+ breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
36
+ liveMessage: import("../../data/live-message/index.js").LiveMessageState;
37
37
  }>, import("redux").Dispatch<import("redux").AnyAction>>>>;
38
38
  container: HTMLElement;
39
39
  baseElement: Element;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { History } from 'history';
3
3
  import { Theme } from '@elliemae/pui-theme';
4
- import { AppStore } from '../../data/store';
4
+ import { AppStore } from '../../data/store.js';
5
5
  declare type AppRootProps = {
6
6
  store: AppStore;
7
7
  history: History;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { CHECKBOX_VARIANT } from '@elliemae/ds-basic/form/Checkbox';
2
+ import { CHECKBOX_VARIANT } from '@elliemae/ds-form/Checkbox';
3
3
  import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
4
4
  export declare type CheckBoxProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
5
5
  name: string;
@@ -1,5 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { CheckBoxProps } from '.';
2
+ import { CheckBoxProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
5
  export declare const Basic: Story<CheckBoxProps<import("react-hook-form").FieldValues, string> & {
@@ -1,5 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { CheckBoxProps } from '.';
2
+ import { CheckBoxProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
5
  export declare const SetValue: Story<CheckBoxProps<import("react-hook-form").FieldValues, string>>;
@@ -1,5 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { FormItemLayoutProps } from '../form-item-layout';
2
+ import { FormItemLayoutProps } from '../form-item-layout/index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
5
  export declare const Basic: Story<FormItemLayoutProps & {
@@ -1,5 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { DateInputProps } from '.';
2
+ import { DateInputProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
5
  export declare const Basic: Story<DateInputProps<import("react-hook-form").FieldValues, string> & {
@@ -1,5 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { DatePickerProps } from '.';
2
+ import { DatePickerProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
5
  export declare const Basic: Story<DatePickerProps<import("react-hook-form").FieldValues, string> & {
@@ -1,5 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { FormItemLayoutProps } from '.';
2
+ import { FormItemLayoutProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
5
  export declare const Basic: Story<FormItemLayoutProps>;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { MASK_TYPES, MASK_PIPES } from '@elliemae/ds-basic/form/InputMask';
2
+ import { MASK_TYPES, MASK_PIPES } from '@elliemae/ds-form/InputMask';
3
3
  import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
4
4
  export declare type InputMaskProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
5
5
  name: string;
@@ -1,5 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { InputMaskProps } from '.';
2
+ import { InputMaskProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
5
  export declare const Basic: Story<InputMaskProps<import("react-hook-form").FieldValues, string> & {
@@ -1,5 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { LargeTextBoxProps } from '.';
2
+ import { LargeTextBoxProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
5
  export declare const Basic: Story<LargeTextBoxProps<import("react-hook-form").FieldValues, string> & {
@@ -1,5 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { RadioProps } from '.';
2
+ import { RadioProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
5
  export declare const Basic: Story<RadioProps<import("react-hook-form").FieldValues, string> & {
@@ -1,5 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { RadioProps } from '.';
2
+ import { RadioProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
5
  export declare const SetValue: Story<RadioProps<import("react-hook-form").FieldValues, string>>;
@@ -1,5 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { RadioGroupProps } from '.';
2
+ import { RadioGroupProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
5
  export declare const Basic: Story<RadioGroupProps<import("react-hook-form").FieldValues, string>>;
@@ -1,5 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { TextBoxProps } from '.';
2
+ import { TextBoxProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
5
  export declare const Basic: Story<TextBoxProps<import("react-hook-form").FieldValues, string> & {
@@ -1,5 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { FormProps } from '.';
2
+ import { FormProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
5
  declare type FormFields = {
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { Link } from './center-region';
2
+ import { Link } from './center-region/index.js';
3
3
  export interface HeaderProps {
4
4
  links?: Array<Link>;
5
5
  show?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { HeaderProps } from '.';
2
+ import { HeaderProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
5
  export declare const Basic: Story<HeaderProps>;
@@ -1,9 +1,9 @@
1
- import { MicroAppConfig } from '../../../utils/micro-frontend/types';
1
+ import { MicroAppConfig } from '../../../utils/micro-frontend/types.js';
2
2
  export declare const mountApp: ({ id, name }: MicroAppConfig) => Promise<void>;
3
3
  export declare const unmountApp: ({ id, name }: MicroAppConfig) => Promise<void | null>;
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;
8
- documentEle: HTMLDocument;
7
+ hostUrl?: string | undefined;
8
+ documentEle: Document;
9
9
  }) => void;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { MicroAppProps } from './types';
2
+ import { MicroAppProps } from './types.js';
3
3
  export declare const MicroApp: import("react").NamedExoticComponent<MicroAppProps>;
@@ -1,7 +1,7 @@
1
1
  declare type Manifest = Record<string, string>;
2
2
  export declare const getAppManifest: ({ hostUrl, manifestPath, }: {
3
- hostUrl: string;
4
- manifestPath: string;
3
+ hostUrl?: string | undefined;
4
+ manifestPath?: string | undefined;
5
5
  }) => Promise<Manifest>;
6
6
  export declare const getFullFileNameofAssetsFromManifest: (manifest: Record<string, string>, assetNames?: Array<string>) => Array<string>;
7
7
  export {};
@@ -1,4 +1,4 @@
1
- import { MicroAppConfig } from '../../../utils/micro-frontend/types';
1
+ import { MicroAppConfig } from '../../../utils/micro-frontend/types.js';
2
2
  export declare const APP_SCRIPT_ID_PREFIX = "emui-script-";
3
3
  export declare const addScriptToDOM: ({ name, hostUrl, documentEle }: MicroAppConfig, fileName: string, index: number) => Promise<string>;
4
4
  export declare const removeScriptFromDOM: (elementId?: string, documentEle?: Document) => Promise<void>;
@@ -1,4 +1,4 @@
1
- import { MicroAppConfig } from '../../../utils/micro-frontend/types';
1
+ import { MicroAppConfig } from '../../../utils/micro-frontend/types.js';
2
2
  export declare const APP_STYLE_ID_PREFIX = "emui-style-";
3
3
  export declare const addStylesToDOM: ({ name, hostUrl, documentEle }: MicroAppConfig, fileName: string, index: number) => Promise<string>;
4
4
  export declare const removeStyleFromDOM: (elementId?: string, documentEle?: Document) => Promise<void>;
@@ -5,4 +5,5 @@ export declare type MicroAppProps = {
5
5
  documentEle?: HTMLDocument | null;
6
6
  history?: History;
7
7
  theme?: Theme;
8
+ homeRoute?: string;
8
9
  };
@@ -1,7 +1,7 @@
1
- import { MicroAppProps } from './types';
1
+ import { MicroAppProps } from './types.js';
2
2
  export declare type OnUnloadCompleteFn = () => void;
3
3
  declare type UseAppWillRenderArgs = MicroAppProps & {
4
4
  onUnloadComplete?: OnUnloadCompleteFn;
5
5
  };
6
- export declare const useAppWillRender: ({ id, documentEle, history, theme, onUnloadComplete, }: UseAppWillRenderArgs) => void;
6
+ export declare const useAppWillRender: ({ id, documentEle, history, theme, homeRoute, onUnloadComplete, }: UseAppWillRenderArgs) => void;
7
7
  export {};
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { OnUnloadCompleteFn } from '../micro-app/use-app-will-render';
3
- import { MicroIFrameAppProps } from './types';
2
+ import { OnUnloadCompleteFn } from '../micro-app/use-app-will-render.js';
3
+ import { MicroIFrameAppProps } from './types.js';
4
4
  declare type AppProps = MicroIFrameAppProps & {
5
5
  dispose: boolean;
6
6
  onUnloadComplete: OnUnloadCompleteFn;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { MicroIFrameAppProps } from './types';
2
+ import { MicroIFrameAppProps } from './types.js';
3
3
  declare type Props = MicroIFrameAppProps & {
4
4
  entityId?: string;
5
5
  };
@@ -1,4 +1,4 @@
1
- import { MicroAppProps } from '../micro-app/types';
1
+ import { MicroAppProps } from '../micro-app/types.js';
2
2
  export declare type MicroIFrameAppProps = {
3
3
  name?: string;
4
4
  sandbox?: string;
@@ -1,2 +1,2 @@
1
- import { MicroIFrameAppProps } from './types';
1
+ import { MicroIFrameAppProps } from './types.js';
2
2
  export declare const useFrameLoaded: ({ id, documentEle }: MicroIFrameAppProps) => void;
@@ -1,5 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { ErrorProps } from '.';
2
+ import { ErrorProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
5
  export declare const Basic: Story<ErrorProps>;
@@ -1,5 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { NavigationPromptProps } from '.';
2
+ import { NavigationPromptProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
5
  export declare const Basic: Story<NavigationPromptProps>;
@@ -1,5 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { SessionExpiryProps } from '.';
2
+ import { SessionExpiryProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
5
  export declare const Basic: Story<SessionExpiryProps>;
@@ -1,5 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { WaitMessageProps } from '.';
2
+ import { WaitMessageProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
5
  export declare const Basic: Story<WaitMessageProps>;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { Theme } from '@elliemae/pui-theme';
3
- import { AppStore } from '../../data/store';
3
+ import { AppStore } from '../../data/store.js';
4
4
  declare type StoreFn = () => React.ReactElement;
5
5
  export declare const withAppDecorator: (theme: Theme, store: AppStore, story: StoreFn) => JSX.Element;
6
6
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-app-sdk",
3
- "version": "3.0.0-beta.1",
3
+ "version": "3.0.0-beta.10",
4
4
  "description": "ICE MT UI Platform Application SDK ",
5
5
  "sideEffects": [
6
6
  "*.css",
@@ -8,11 +8,12 @@
8
8
  ],
9
9
  "main": "./dist/cjs/index.js",
10
10
  "module": "./dist/es/index.js",
11
- "typings": "./dist/types/index.d.ts",
11
+ "types": "./dist/types/index.d.ts",
12
12
  "exports": {
13
13
  ".": {
14
14
  "import": "./dist/es/index.js",
15
- "require": "./dist/cjs/index.js"
15
+ "require": "./dist/cjs/index.js",
16
+ "types": "./dist/types/index.d.ts"
16
17
  },
17
18
  "./storybook/*": {
18
19
  "import": "./dist/es/utils/storybook/*.js",
@@ -33,6 +34,14 @@
33
34
  "./analytics": {
34
35
  "import": "./dist/es/analytics/index.js",
35
36
  "require": "./dist/cjs/analytics/index.js"
37
+ },
38
+ "./data": {
39
+ "import": "./dist/es/data/index.js",
40
+ "require": "./dist/cjs/data/index.js"
41
+ },
42
+ "./micro-frontend": {
43
+ "import": "./dist/es/micro-frontend.js",
44
+ "require": "./dist/cjs/micro-frontend.js"
36
45
  }
37
46
  },
38
47
  "files": [
@@ -47,8 +56,8 @@
47
56
  "url": "http://git.elliemae.io/platform-ui/pui-app-sdk.git"
48
57
  },
49
58
  "engines": {
50
- "npm": ">=7",
51
- "node": ">=14"
59
+ "npm": ">=8",
60
+ "node": ">=16"
52
61
  },
53
62
  "author": "ICE MT",
54
63
  "license": "MIT",
@@ -72,7 +81,7 @@
72
81
  "storybook:docs": "pui-cli storybook --docs",
73
82
  "storybook:docs:build": "pui-cli storybook -b --docs",
74
83
  "storybook:build": "pui-cli storybook -b",
75
- "storybook:prod": "http-server -g -p 11000 demo",
84
+ "storybook:prod": "http-server -g -b -p 11000 demo",
76
85
  "setup": "rimraf -r node_modules && rimraf package-lock.json && npm i",
77
86
  "test": "pui-cli test -p",
78
87
  "test:fix": "pui-cli test -f",
@@ -90,29 +99,37 @@
90
99
  "peerDependencies": {
91
100
  "@elliemae/app-react-dependencies": "^2.10.0",
92
101
  "@elliemae/ds-basic": "^1.60.0",
102
+ "@elliemae/ds-button": "^1.60.0",
103
+ "@elliemae/ds-form": "^1.60.0",
104
+ "@elliemae/ds-loading-indicator": "^1.60.0",
93
105
  "@elliemae/ds-date-picker": "^1.60.0",
94
106
  "@elliemae/ds-modal": "^1.60.0",
95
107
  "@elliemae/ds-popperjs": "^1.60.0",
108
+ "@elliemae/ds-toast": "^1.60.0",
96
109
  "@elliemae/em-ssf-guest": "^1.11.1",
97
- "@elliemae/pui-diagnostics": "^2.7.1",
98
- "@elliemae/pui-micro-frontend-base": "^1.9.0",
99
- "@elliemae/pui-theme": "^2.2.6",
100
- "@elliemae/pui-user-monitoring": "^1.11.2"
110
+ "@elliemae/pui-diagnostics": "^2.7.2",
111
+ "@elliemae/pui-micro-frontend-base": "^1.10.0",
112
+ "@elliemae/pui-theme": "^2.3.0",
113
+ "@elliemae/pui-user-monitoring": "^1.12.1"
101
114
  },
102
115
  "devDependencies": {
103
116
  "@elliemae/app-react-dependencies": "~2.10.0",
104
117
  "@elliemae/browserslist-config-elliemae-latest-browsers": "~1.2.1",
105
118
  "@elliemae/ds-basic": "~1.60.0",
119
+ "@elliemae/ds-button": "~1.60.0",
120
+ "@elliemae/ds-form": "~1.60.0",
121
+ "@elliemae/ds-loading-indicator": "~1.60.0",
106
122
  "@elliemae/ds-date-picker": "~1.60.0",
107
123
  "@elliemae/ds-modal": "~1.60.0",
108
124
  "@elliemae/ds-popperjs": "~1.60.0",
125
+ "@elliemae/ds-toast": "~1.60.0",
109
126
  "@elliemae/em-ssf-guest": "~1.11.1",
110
- "@elliemae/pui-cli": "6.0.0-beta.13",
111
- "@elliemae/pui-diagnostics": "~2.7.1",
127
+ "@elliemae/pui-cli": "~6.0.0-beta.24",
128
+ "@elliemae/pui-diagnostics": "~2.7.2",
112
129
  "@elliemae/pui-e2e-test-sdk": "~6.8.0",
113
- "@elliemae/pui-micro-frontend-base": "~1.9.0",
114
- "@elliemae/pui-theme": "~2.2.6",
115
- "@elliemae/pui-user-monitoring": "~1.11.2",
130
+ "@elliemae/pui-micro-frontend-base": "~1.10.0",
131
+ "@elliemae/pui-theme": "~2.3.0",
132
+ "@elliemae/pui-user-monitoring": "~1.12.1",
116
133
  "react-router": "~5.2.1",
117
134
  "react-router-dom": "~5.3.0"
118
135
  }
@@ -1,8 +0,0 @@
1
- export declare const stories: {
2
- directory: string;
3
- }[];
4
- export declare const addons: string[];
5
- export declare namespace core {
6
- const builder: string;
7
- }
8
- export { managerWebpack, webpackFinal };