@elliemae/pui-app-sdk 2.16.1 → 3.0.0-beta.2

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 (342) hide show
  1. package/dist/cjs/analytics/appdynamics.js +34 -30
  2. package/dist/cjs/analytics/index.js +32 -26
  3. package/dist/cjs/analytics/page-view-event.js +33 -29
  4. package/dist/cjs/analytics/user-session-event.js +34 -27
  5. package/dist/cjs/analytics/user-wait-event.js +31 -17
  6. package/dist/cjs/analytics/web-analytics.js +16 -19
  7. package/dist/cjs/api/auth/index.js +41 -39
  8. package/dist/cjs/api/helpers.js +33 -99
  9. package/dist/cjs/api/users/index.js +28 -16
  10. package/dist/cjs/communication/http-client/index.js +44 -48
  11. package/dist/cjs/communication/http-client/request-interceptor.js +28 -12
  12. package/dist/cjs/communication/http-client/response-interceptor.js +41 -38
  13. package/dist/cjs/communication/http-client/retry-axios.js +68 -122
  14. package/dist/cjs/communication/http-client/retry.js +42 -36
  15. package/dist/cjs/communication/http-client/tests/index.test-disable.js +48 -56
  16. package/dist/cjs/data/auth/actions.js +17 -26
  17. package/dist/cjs/data/auth/reducer.js +30 -18
  18. package/dist/cjs/data/breakpoint/index.js +38 -32
  19. package/dist/cjs/data/error/index.js +33 -18
  20. package/dist/cjs/data/live-message/index.js +34 -25
  21. package/dist/cjs/data/logout/actions.js +12 -9
  22. package/dist/cjs/data/navigation-prompt/actions.js +12 -9
  23. package/dist/cjs/data/react-redux.js +29 -13
  24. package/dist/cjs/data/reducers.js +35 -23
  25. package/dist/cjs/data/saga.js +12 -9
  26. package/dist/cjs/data/store.js +53 -60
  27. package/dist/cjs/data/wait-message/actions.js +14 -13
  28. package/dist/cjs/data/wait-message/reducer.js +32 -24
  29. package/dist/cjs/index.js +187 -800
  30. package/dist/cjs/route/index.js +37 -32
  31. package/dist/cjs/route/page-view.js +30 -22
  32. package/dist/cjs/route/private-route/index.js +52 -60
  33. package/dist/cjs/sideeffect/auth/index.js +42 -30
  34. package/dist/cjs/sideeffect/error-toast/index.js +39 -26
  35. package/dist/cjs/sideeffect/wait-message/index.js +45 -29
  36. package/dist/cjs/typings/custom.d.js +0 -1
  37. package/dist/cjs/typings/elliemae.d.js +0 -1
  38. package/dist/cjs/typings/styled.d.js +19 -3
  39. package/dist/cjs/utils/app-config/config.js +33 -33
  40. package/dist/cjs/utils/app-config/index.js +42 -44
  41. package/dist/cjs/utils/app-host-integration/react.js +27 -14
  42. package/dist/cjs/utils/auth/helper.js +30 -18
  43. package/dist/cjs/utils/auth/index.js +76 -116
  44. package/dist/cjs/utils/await.js +3 -0
  45. package/dist/cjs/utils/constants.js +22 -21
  46. package/dist/cjs/utils/font-size.js +13 -14
  47. package/dist/cjs/utils/guest-with-service.js +11 -12
  48. package/dist/cjs/utils/helpers.js +15 -19
  49. package/dist/cjs/utils/history.js +29 -12
  50. package/dist/cjs/utils/log-records.js +38 -35
  51. package/dist/cjs/utils/micro-frontend/console-logger.js +39 -23
  52. package/dist/cjs/utils/micro-frontend/guest.js +80 -128
  53. package/dist/cjs/utils/micro-frontend/host.js +84 -124
  54. package/dist/cjs/utils/micro-frontend/index.js +60 -61
  55. package/dist/cjs/utils/micro-frontend/types.js +3 -5
  56. package/dist/cjs/utils/redact-pii.js +15 -17
  57. package/dist/cjs/utils/service-worker.js +36 -21
  58. package/dist/cjs/utils/session.js +64 -70
  59. package/dist/cjs/utils/storybook/main.js +32 -25
  60. package/dist/cjs/utils/storybook/manager.js +31 -16
  61. package/dist/cjs/utils/storybook/middleware.js +3 -7
  62. package/dist/cjs/utils/storybook/preview.js +57 -48
  63. package/dist/cjs/utils/storybook/theme.js +30 -14
  64. package/dist/cjs/utils/storybook/vite.js +6 -0
  65. package/dist/cjs/utils/storybook/webpack.js +13 -0
  66. package/dist/cjs/utils/testing/index.js +38 -50
  67. package/dist/cjs/utils/testing/render-with-redux.js +34 -27
  68. package/dist/cjs/utils/testing/render-with-router-redux.js +40 -37
  69. package/dist/cjs/utils/testing/render-with-router.js +34 -28
  70. package/dist/cjs/utils/testing/render-with-state-addons.js +40 -36
  71. package/dist/cjs/utils/types.js +3 -0
  72. package/dist/cjs/utils/url.js +12 -13
  73. package/dist/cjs/utils/web-storage.js +40 -30
  74. package/dist/cjs/utils/window.js +36 -28
  75. package/dist/cjs/view/app-root/hosted-app.js +35 -32
  76. package/dist/cjs/view/app-root/index.js +57 -62
  77. package/dist/cjs/view/app-root/stand-alone-app.js +38 -37
  78. package/dist/cjs/view/app-root/style.js +50 -12
  79. package/dist/cjs/view/error-boundary/default-error-template.js +10 -15
  80. package/dist/cjs/view/error-boundary/index.js +41 -43
  81. package/dist/cjs/view/error-toast/index.js +42 -32
  82. package/dist/cjs/view/fetch-host-app-data/index.js +34 -26
  83. package/dist/cjs/view/fetch-host-app-data/store.js +31 -24
  84. package/dist/cjs/view/fields/check-box/index.js +34 -39
  85. package/dist/cjs/view/fields/combo-box/index.js +37 -31
  86. package/dist/cjs/view/fields/connect-form.js +30 -15
  87. package/dist/cjs/view/fields/date-input/index.js +34 -26
  88. package/dist/cjs/view/fields/date-picker/index.js +34 -26
  89. package/dist/cjs/view/fields/form-item-layout/index.js +36 -30
  90. package/dist/cjs/view/fields/input-mask/index.js +35 -41
  91. package/dist/cjs/view/fields/large-text-box/index.js +34 -26
  92. package/dist/cjs/view/fields/radio/index.js +34 -30
  93. package/dist/cjs/view/fields/radio-group/index.js +32 -27
  94. package/dist/cjs/view/fields/text-box/index.js +34 -26
  95. package/dist/cjs/view/fields/watch-value.js +41 -35
  96. package/dist/cjs/view/form/index.js +41 -34
  97. package/dist/cjs/view/form/personal-info-section.js +56 -80
  98. package/dist/cjs/view/form/submit-button/index.js +34 -23
  99. package/dist/cjs/view/guest-unload-handlers/index.js +33 -22
  100. package/dist/cjs/view/header/center-region/index.js +61 -38
  101. package/dist/cjs/view/header/index.js +41 -35
  102. package/dist/cjs/view/header/logo-region/index.js +31 -23
  103. package/dist/cjs/view/header/nav-region/index.js +44 -30
  104. package/dist/cjs/view/header/nav-region/notification/index.js +28 -18
  105. package/dist/cjs/view/header/nav-region/user/index.js +28 -18
  106. package/dist/cjs/view/host-binding-events/index.js +10 -11
  107. package/dist/cjs/view/intro.stories.mdx +1 -1
  108. package/dist/cjs/view/live-message/index.js +33 -34
  109. package/dist/cjs/view/loadable/index.js +33 -27
  110. package/dist/cjs/view/login/index.js +36 -30
  111. package/dist/cjs/view/media-breakpoint/index.js +43 -34
  112. package/dist/cjs/view/message-to-host-app/index.js +31 -20
  113. package/dist/cjs/view/micro-app/app-factory/index.js +98 -134
  114. package/dist/cjs/view/micro-app/const.js +10 -7
  115. package/dist/cjs/view/micro-app/index.js +37 -27
  116. package/dist/cjs/view/micro-app/resources/manifest.js +41 -34
  117. package/dist/cjs/view/micro-app/resources/script.js +56 -53
  118. package/dist/cjs/view/micro-app/resources/style.js +44 -38
  119. package/dist/cjs/view/micro-app/types.js +3 -5
  120. package/dist/cjs/view/micro-app/use-app-will-render.js +58 -50
  121. package/dist/cjs/view/micro-app/utils.js +32 -21
  122. package/dist/cjs/view/micro-iframe-app/app.js +37 -39
  123. package/dist/cjs/view/micro-iframe-app/iframe/const.js +10 -7
  124. package/dist/cjs/view/micro-iframe-app/iframe/index.js +51 -47
  125. package/dist/cjs/view/micro-iframe-app/index.js +36 -24
  126. package/dist/cjs/view/micro-iframe-app/types.js +3 -5
  127. package/dist/cjs/view/micro-iframe-app/use-frame-loaded.js +40 -36
  128. package/dist/cjs/view/modals/error/index.js +35 -28
  129. package/dist/cjs/view/modals/navigation-prompt/index.js +38 -37
  130. package/dist/cjs/view/modals/session-expiry/customHooks.js +40 -35
  131. package/dist/cjs/view/modals/session-expiry/index.js +45 -50
  132. package/dist/cjs/view/modals/wait-message/html-wait-message.js +32 -18
  133. package/dist/cjs/view/modals/wait-message/index.js +50 -53
  134. package/dist/cjs/view/modals/wait-message/wait-message-launcher.js +33 -21
  135. package/dist/cjs/view/render-with-delay/index.js +30 -19
  136. package/dist/cjs/view/render-with-host-data/index.js +35 -30
  137. package/dist/cjs/view/session-timeout/index.js +44 -35
  138. package/dist/cjs/view/storybook/decorator.js +32 -21
  139. package/dist/cjs/view/use-previous.js +29 -13
  140. package/dist/cjs/view/useMediaBreakpoints/index.js +34 -19
  141. package/dist/cjs/view/visually-hidden/index.js +41 -21
  142. package/dist/cjs/view/window-size/index.js +37 -29
  143. package/dist/es/analytics/appdynamics.js +14 -15
  144. package/dist/es/analytics/index.js +11 -17
  145. package/dist/es/analytics/page-view-event.js +11 -20
  146. package/dist/es/analytics/user-session-event.js +13 -15
  147. package/dist/es/analytics/user-wait-event.js +10 -6
  148. package/dist/es/analytics/web-analytics.js +12 -10
  149. package/dist/es/api/auth/index.js +22 -27
  150. package/dist/es/api/helpers.js +8 -81
  151. package/dist/es/api/users/index.js +7 -8
  152. package/dist/es/communication/http-client/index.js +24 -30
  153. package/dist/es/communication/http-client/request-interceptor.js +6 -3
  154. package/dist/es/communication/http-client/response-interceptor.js +20 -21
  155. package/dist/es/communication/http-client/retry-axios.js +45 -105
  156. package/dist/es/communication/http-client/retry.js +22 -25
  157. package/dist/es/communication/http-client/tests/index.test-disable.js +28 -47
  158. package/dist/es/data/auth/actions.js +13 -19
  159. package/dist/es/data/auth/reducer.js +9 -7
  160. package/dist/es/data/breakpoint/index.js +19 -21
  161. package/dist/es/data/error/index.js +11 -9
  162. package/dist/es/data/live-message/index.js +12 -16
  163. package/dist/es/data/logout/actions.js +9 -5
  164. package/dist/es/data/navigation-prompt/actions.js +9 -5
  165. package/dist/es/data/react-redux.js +7 -3
  166. package/dist/es/data/reducers.js +10 -7
  167. package/dist/es/data/saga.js +8 -5
  168. package/dist/es/data/store.js +27 -44
  169. package/dist/es/data/wait-message/actions.js +11 -9
  170. package/dist/es/data/wait-message/reducer.js +10 -10
  171. package/dist/es/index.js +181 -83
  172. package/dist/es/route/index.js +16 -19
  173. package/dist/es/route/page-view.js +9 -9
  174. package/dist/es/route/private-route/index.js +30 -38
  175. package/dist/es/sideeffect/auth/index.js +27 -14
  176. package/dist/es/sideeffect/error-toast/index.js +15 -14
  177. package/dist/es/sideeffect/wait-message/index.js +18 -14
  178. package/dist/es/typings/styled.d.js +1 -1
  179. package/dist/es/utils/app-config/config.js +11 -9
  180. package/dist/es/utils/app-config/index.js +21 -31
  181. package/dist/es/utils/app-host-integration/react.js +8 -6
  182. package/dist/es/utils/auth/helper.js +8 -4
  183. package/dist/es/utils/auth/index.js +59 -83
  184. package/dist/es/utils/constants.js +18 -13
  185. package/dist/es/utils/font-size.js +7 -3
  186. package/dist/es/utils/guest-with-service.js +6 -7
  187. package/dist/es/utils/helpers.js +10 -6
  188. package/dist/es/utils/history.js +7 -3
  189. package/dist/es/utils/log-records.js +34 -31
  190. package/dist/es/utils/micro-frontend/console-logger.js +17 -13
  191. package/dist/es/utils/micro-frontend/guest.js +52 -108
  192. package/dist/es/utils/micro-frontend/host.js +53 -89
  193. package/dist/es/utils/micro-frontend/index.js +39 -37
  194. package/dist/es/utils/micro-frontend/types.js +0 -1
  195. package/dist/es/utils/redact-pii.js +10 -11
  196. package/dist/es/utils/service-worker.js +14 -11
  197. package/dist/es/utils/session.js +47 -48
  198. package/dist/es/utils/storybook/manager.js +8 -5
  199. package/dist/es/utils/storybook/preview.js +30 -26
  200. package/dist/es/utils/storybook/theme.js +9 -6
  201. package/dist/es/utils/testing/index.js +14 -21
  202. package/dist/es/utils/testing/render-with-redux.js +13 -13
  203. package/dist/es/utils/testing/render-with-router-redux.js +19 -21
  204. package/dist/es/utils/testing/render-with-router.js +14 -16
  205. package/dist/es/utils/testing/render-with-state-addons.js +18 -18
  206. package/dist/es/utils/url.js +7 -3
  207. package/dist/es/utils/web-storage.js +21 -17
  208. package/dist/es/utils/window.js +18 -18
  209. package/dist/es/view/app-root/hosted-app.js +13 -17
  210. package/dist/es/view/app-root/index.js +34 -39
  211. package/dist/es/view/app-root/stand-alone-app.js +17 -19
  212. package/dist/es/view/app-root/style.js +30 -5
  213. package/dist/es/view/error-boundary/default-error-template.js +4 -5
  214. package/dist/es/view/error-boundary/index.js +20 -27
  215. package/dist/es/view/error-toast/index.js +21 -16
  216. package/dist/es/view/fetch-host-app-data/index.js +13 -13
  217. package/dist/es/view/fetch-host-app-data/store.js +10 -7
  218. package/dist/es/view/fields/check-box/index.js +16 -18
  219. package/dist/es/view/fields/combo-box/index.js +19 -19
  220. package/dist/es/view/fields/connect-form.js +8 -6
  221. package/dist/es/view/fields/date-input/index.js +16 -14
  222. package/dist/es/view/fields/date-picker/index.js +16 -14
  223. package/dist/es/view/fields/form-item-layout/index.js +15 -16
  224. package/dist/es/view/fields/input-mask/index.js +20 -14
  225. package/dist/es/view/fields/large-text-box/index.js +16 -14
  226. package/dist/es/view/fields/radio/index.js +16 -18
  227. package/dist/es/view/fields/radio-group/index.js +14 -15
  228. package/dist/es/view/fields/text-box/index.js +16 -14
  229. package/dist/es/view/fields/watch-value.js +19 -24
  230. package/dist/es/view/form/index.js +22 -22
  231. package/dist/es/view/form/personal-info-section.js +31 -52
  232. package/dist/es/view/form/submit-button/index.js +12 -10
  233. package/dist/es/view/guest-unload-handlers/index.js +11 -10
  234. package/dist/es/view/header/center-region/index.js +40 -23
  235. package/dist/es/view/header/index.js +19 -19
  236. package/dist/es/view/header/logo-region/index.js +8 -9
  237. package/dist/es/view/header/nav-region/index.js +22 -15
  238. package/dist/es/view/header/nav-region/notification/index.js +5 -6
  239. package/dist/es/view/header/nav-region/user/index.js +5 -6
  240. package/dist/es/view/host-binding-events/index.js +7 -3
  241. package/dist/es/view/intro.stories.mdx +1 -1
  242. package/dist/es/view/live-message/index.js +13 -23
  243. package/dist/es/view/loadable/index.js +12 -15
  244. package/dist/es/view/login/index.js +14 -18
  245. package/dist/es/view/media-breakpoint/index.js +19 -17
  246. package/dist/es/view/message-to-host-app/index.js +11 -10
  247. package/dist/es/view/micro-app/app-factory/index.js +67 -86
  248. package/dist/es/view/micro-app/const.js +4 -1
  249. package/dist/es/view/micro-app/index.js +13 -11
  250. package/dist/es/view/micro-app/resources/manifest.js +19 -19
  251. package/dist/es/view/micro-app/resources/script.js +36 -36
  252. package/dist/es/view/micro-app/resources/style.js +23 -22
  253. package/dist/es/view/micro-app/types.js +0 -1
  254. package/dist/es/view/micro-app/use-app-will-render.js +32 -28
  255. package/dist/es/view/micro-app/utils.js +12 -14
  256. package/dist/es/view/micro-iframe-app/app.js +15 -22
  257. package/dist/es/view/micro-iframe-app/iframe/const.js +4 -1
  258. package/dist/es/view/micro-iframe-app/iframe/index.js +27 -32
  259. package/dist/es/view/micro-iframe-app/index.js +11 -12
  260. package/dist/es/view/micro-iframe-app/types.js +0 -1
  261. package/dist/es/view/micro-iframe-app/use-frame-loaded.js +16 -21
  262. package/dist/es/view/modals/error/index.js +12 -10
  263. package/dist/es/view/modals/navigation-prompt/index.js +12 -16
  264. package/dist/es/view/modals/session-expiry/customHooks.js +13 -15
  265. package/dist/es/view/modals/session-expiry/index.js +16 -24
  266. package/dist/es/view/modals/wait-message/html-wait-message.js +10 -10
  267. package/dist/es/view/modals/wait-message/index.js +31 -39
  268. package/dist/es/view/modals/wait-message/wait-message-launcher.js +9 -8
  269. package/dist/es/view/render-with-delay/index.js +7 -10
  270. package/dist/es/view/render-with-host-data/index.js +11 -15
  271. package/dist/es/view/session-timeout/index.js +21 -12
  272. package/dist/es/view/storybook/decorator.js +9 -7
  273. package/dist/es/view/use-previous.js +6 -3
  274. package/dist/es/view/useMediaBreakpoints/index.js +11 -9
  275. package/dist/es/view/visually-hidden/index.js +19 -10
  276. package/dist/es/view/window-size/index.js +16 -19
  277. package/dist/types/utils/storybook/main.d.cts +41 -0
  278. package/dist/types/utils/storybook/{middleware.d.ts → middleware.d.cts} +0 -0
  279. package/dist/types/utils/storybook/preview.d.ts +2 -2
  280. package/dist/types/utils/storybook/vite.d.cts +4 -0
  281. package/dist/types/utils/storybook/webpack.d.cts +8 -0
  282. package/dist/types/utils/window.d.ts +1 -1
  283. package/dist/types/view/visually-hidden/index.d.ts +1 -3
  284. package/package.json +7 -5
  285. package/dist/cjs/api/users/index.endpoint.js +0 -14
  286. package/dist/cjs/communication/http-client/tests/hello.endpoint.js +0 -14
  287. package/dist/cjs/communication/http-client/tests/private.endpoint.js +0 -14
  288. package/dist/cjs/view/error-toast/index.stories.js +0 -128
  289. package/dist/cjs/view/fields/check-box/index.stories.js +0 -64
  290. package/dist/cjs/view/fields/check-box/set-value.stories.js +0 -83
  291. package/dist/cjs/view/fields/combo-box/index.stories.js +0 -65
  292. package/dist/cjs/view/fields/date-input/index.stories.js +0 -53
  293. package/dist/cjs/view/fields/date-input/index1.stories.js +0 -53
  294. package/dist/cjs/view/fields/date-picker/index.stories.js +0 -53
  295. package/dist/cjs/view/fields/form-item-layout/index.stories.js +0 -43
  296. package/dist/cjs/view/fields/input-mask/index.stories.js +0 -52
  297. package/dist/cjs/view/fields/large-text-box/index.stories.js +0 -47
  298. package/dist/cjs/view/fields/radio/index.stories.js +0 -60
  299. package/dist/cjs/view/fields/radio/set-value.stories.js +0 -81
  300. package/dist/cjs/view/fields/radio-group/index.stories.js +0 -85
  301. package/dist/cjs/view/fields/text-box/index.stories.js +0 -48
  302. package/dist/cjs/view/form/index.stories.js +0 -71
  303. package/dist/cjs/view/form/usecases.stories.js +0 -59
  304. package/dist/cjs/view/header/index.stories.js +0 -24
  305. package/dist/cjs/view/live-message/index.stories.js +0 -53
  306. package/dist/cjs/view/media-breakpoint/index.stories.js +0 -24
  307. package/dist/cjs/view/modals/error/index.stories.js +0 -36
  308. package/dist/cjs/view/modals/navigation-prompt/index.stories.js +0 -32
  309. package/dist/cjs/view/modals/session-expiry/index.stories.js +0 -30
  310. package/dist/cjs/view/modals/wait-message/index.stories.js +0 -47
  311. package/dist/cjs/view/session-timeout/index.stories.js +0 -28
  312. package/dist/es/api/users/index.endpoint.js +0 -14
  313. package/dist/es/communication/http-client/tests/hello.endpoint.js +0 -14
  314. package/dist/es/communication/http-client/tests/private.endpoint.js +0 -14
  315. package/dist/es/utils/storybook/main.js +0 -38
  316. package/dist/es/utils/storybook/middleware.js +0 -9
  317. package/dist/es/view/error-toast/index.stories.js +0 -108
  318. package/dist/es/view/fields/check-box/index.stories.js +0 -47
  319. package/dist/es/view/fields/check-box/set-value.stories.js +0 -65
  320. package/dist/es/view/fields/combo-box/index.stories.js +0 -48
  321. package/dist/es/view/fields/date-input/index.stories.js +0 -35
  322. package/dist/es/view/fields/date-input/index1.stories.js +0 -35
  323. package/dist/es/view/fields/date-picker/index.stories.js +0 -35
  324. package/dist/es/view/fields/form-item-layout/index.stories.js +0 -27
  325. package/dist/es/view/fields/input-mask/index.stories.js +0 -35
  326. package/dist/es/view/fields/large-text-box/index.stories.js +0 -30
  327. package/dist/es/view/fields/radio/index.stories.js +0 -43
  328. package/dist/es/view/fields/radio/set-value.stories.js +0 -63
  329. package/dist/es/view/fields/radio-group/index.stories.js +0 -68
  330. package/dist/es/view/fields/text-box/index.stories.js +0 -31
  331. package/dist/es/view/form/index.stories.js +0 -56
  332. package/dist/es/view/form/usecases.stories.js +0 -43
  333. package/dist/es/view/header/index.stories.js +0 -14
  334. package/dist/es/view/live-message/index.stories.js +0 -32
  335. package/dist/es/view/media-breakpoint/index.stories.js +0 -10
  336. package/dist/es/view/modals/error/index.stories.js +0 -21
  337. package/dist/es/view/modals/navigation-prompt/index.stories.js +0 -18
  338. package/dist/es/view/modals/session-expiry/index.stories.js +0 -18
  339. package/dist/es/view/modals/wait-message/index.stories.js +0 -33
  340. package/dist/es/view/session-timeout/index.stories.js +0 -13
  341. package/dist/types/utils/storybook/main.d.ts +0 -30
  342. package/dist/types/view/fields/date-input/index1.stories.d.ts +0 -24
@@ -1,19 +1,21 @@
1
- import _jsx2 from "@babel/runtime/helpers/jsx";
2
- import DSLargeInputText from '@elliemae/ds-basic/form/LargeInputText';
3
- import { Controller } from 'react-hook-form';
4
- import { jsx as _jsx } from "react/jsx-runtime";
5
- export const LargeTextBox = ({
1
+ import DSLargeInputText from "@elliemae/ds-basic/form/LargeInputText";
2
+ import {
3
+ Controller
4
+ } from "react-hook-form";
5
+ const LargeTextBox = ({
6
6
  name,
7
- defaultValue = '',
7
+ defaultValue = "",
8
8
  rules = {},
9
9
  ...rest
10
- }) => /*#__PURE__*/_jsx2(Controller, {
11
- name: name,
12
- rules: rules,
13
- defaultValue: defaultValue,
14
- render: ({
15
- field
16
- }) => /*#__PURE__*/_jsx(DSLargeInputText, { ...rest,
10
+ }) => /* @__PURE__ */ React.createElement(Controller, {
11
+ name,
12
+ rules,
13
+ defaultValue,
14
+ render: ({ field }) => /* @__PURE__ */ React.createElement(DSLargeInputText, {
15
+ ...rest,
17
16
  ...field
18
17
  })
19
- });
18
+ });
19
+ export {
20
+ LargeTextBox
21
+ };
@@ -1,25 +1,23 @@
1
- import _jsx2 from "@babel/runtime/helpers/jsx";
2
- import DSRadio from '@elliemae/ds-basic/form/Radio';
3
- import { Controller } from 'react-hook-form';
4
- import { jsx as _jsx } from "react/jsx-runtime";
5
- export const Radio = ({
1
+ import DSRadio from "@elliemae/ds-basic/form/Radio";
2
+ import {
3
+ Controller
4
+ } from "react-hook-form";
5
+ const Radio = ({
6
6
  name,
7
7
  defaultChecked = false,
8
8
  rules = {},
9
9
  ...rest
10
- }) => /*#__PURE__*/_jsx2(Controller, {
11
- name: name,
12
- rules: rules,
13
- render: ({
14
- field: {
15
- onChange,
16
- value,
17
- ...restProps
18
- }
19
- }) => /*#__PURE__*/_jsx(DSRadio, { ...rest,
10
+ }) => /* @__PURE__ */ React.createElement(Controller, {
11
+ name,
12
+ rules,
13
+ render: ({ field: { onChange, value, ...restProps } }) => /* @__PURE__ */ React.createElement(DSRadio, {
14
+ ...rest,
20
15
  ...restProps,
21
16
  checked: value,
22
- defaultChecked: defaultChecked,
23
- onChange: e => onChange(((e || {}).target || {}).checked)
17
+ defaultChecked,
18
+ onChange: (e) => onChange(((e || {}).target || {}).checked)
24
19
  })
25
- });
20
+ });
21
+ export {
22
+ Radio
23
+ };
@@ -1,21 +1,20 @@
1
- import _jsx2 from "@babel/runtime/helpers/jsx";
2
- import DSRadioGroup from '@elliemae/ds-basic/form/RadioGroup';
3
- import { Controller } from 'react-hook-form';
4
- import { jsx as _jsx } from "react/jsx-runtime";
5
- export const RadioGroup = ({
1
+ import DSRadioGroup from "@elliemae/ds-basic/form/RadioGroup";
2
+ import {
3
+ Controller
4
+ } from "react-hook-form";
5
+ const RadioGroup = ({
6
6
  name,
7
7
  rules = {},
8
8
  ...rest
9
- }) => /*#__PURE__*/_jsx2(Controller, {
10
- name: name,
11
- rules: rules,
12
- render: ({
13
- field: {
14
- value,
15
- ...restProps
16
- }
17
- }) => /*#__PURE__*/_jsx(DSRadioGroup, { ...rest,
9
+ }) => /* @__PURE__ */ React.createElement(Controller, {
10
+ name,
11
+ rules,
12
+ render: ({ field: { value, ...restProps } }) => /* @__PURE__ */ React.createElement(DSRadioGroup, {
13
+ ...rest,
18
14
  ...restProps,
19
15
  activeValue: value
20
16
  })
21
- });
17
+ });
18
+ export {
19
+ RadioGroup
20
+ };
@@ -1,19 +1,21 @@
1
- import _jsx2 from "@babel/runtime/helpers/jsx";
2
- import DSTextBox from '@elliemae/ds-basic/form/TextBox';
3
- import { Controller } from 'react-hook-form';
4
- import { jsx as _jsx } from "react/jsx-runtime";
5
- export const TextBox = ({
1
+ import DSTextBox from "@elliemae/ds-basic/form/TextBox";
2
+ import {
3
+ Controller
4
+ } from "react-hook-form";
5
+ const TextBox = ({
6
6
  name,
7
- defaultValue = '',
7
+ defaultValue = "",
8
8
  rules = {},
9
9
  ...rest
10
- }) => /*#__PURE__*/_jsx2(Controller, {
11
- name: name,
12
- defaultValue: defaultValue,
13
- rules: rules,
14
- render: ({
15
- field
16
- }) => /*#__PURE__*/_jsx(DSTextBox, { ...rest,
10
+ }) => /* @__PURE__ */ React.createElement(Controller, {
11
+ name,
12
+ defaultValue,
13
+ rules,
14
+ render: ({ field }) => /* @__PURE__ */ React.createElement(DSTextBox, {
15
+ ...rest,
17
16
  ...field
18
17
  })
19
- });
18
+ });
19
+ export {
20
+ TextBox
21
+ };
@@ -1,25 +1,20 @@
1
- import _jsx from "@babel/runtime/helpers/jsx";
2
- import _styled2 from "styled-components";
3
- import _styled from "styled-components";
4
-
5
- var _h;
6
-
7
- import { useFormContext } from 'react-hook-form';
8
- export const WatchValue = ({
9
- name,
10
- labelText
11
- }) => {
12
- const {
13
- watch
14
- } = useFormContext();
15
- const data = watch(name, false) || '';
16
- return /*#__PURE__*/_jsx(_StyledSection, {}, void 0, _h || (_h = /*#__PURE__*/_jsx("h4", {}, void 0, "Form Data:")), /*#__PURE__*/_jsx(_StyledDiv, {}, void 0, /*#__PURE__*/_jsx("div", {}, void 0, labelText, " : ", /*#__PURE__*/_jsx("strong", {}, void 0, JSON.stringify(data)))));
1
+ import styled from "styled-components";
2
+ import { useFormContext } from "react-hook-form";
3
+ const Section = styled.section`
4
+ border-top: 2px blue dotted;
5
+ width: 100%;
6
+ `;
7
+ const Div = styled.div`
8
+ display: flex;
9
+ flex-direction: column;
10
+ padding-left: 10px;
11
+ align-items: flex-start;
12
+ `;
13
+ const WatchValue = ({ name, labelText }) => {
14
+ const { watch } = useFormContext();
15
+ const data = watch(name, false) || "";
16
+ return /* @__PURE__ */ React.createElement(Section, null, /* @__PURE__ */ React.createElement("h4", null, "Form Data:"), /* @__PURE__ */ React.createElement(Div, null, /* @__PURE__ */ React.createElement("div", null, labelText, " : ", /* @__PURE__ */ React.createElement("strong", null, JSON.stringify(data)))));
17
+ };
18
+ export {
19
+ WatchValue
17
20
  };
18
-
19
- var _StyledSection = /*#__PURE__*/_styled("section").withConfig({
20
- componentId: "sc-1va6d9p-0"
21
- })(["border-top:2px blue dotted;width:100%;"]);
22
-
23
- var _StyledDiv = /*#__PURE__*/_styled("div").withConfig({
24
- componentId: "sc-1va6d9p-1"
25
- })(["display:flex;flex-direction:column;padding-left:10px;align-items:flex-start;"]);
@@ -1,32 +1,32 @@
1
- import _styled from "styled-components";
2
- import { useForm, FormProvider } from 'react-hook-form'; // eslint-disable-next-line @typescript-eslint/ban-types
3
-
4
- import { jsx as _jsx } from "react/jsx-runtime";
5
- export const Form = ({
6
- /* eslint-disable indent */
1
+ import styled from "styled-components";
2
+ import {
3
+ useForm,
4
+ FormProvider
5
+ } from "react-hook-form";
6
+ const StyledForm = styled.form`
7
+ width: 100%;
8
+ height: 100%;
9
+ `;
10
+ const Form = ({
7
11
  classname,
8
- reactHookFormProps = {
9
- mode: 'onBlur'
10
- },
12
+ reactHookFormProps = { mode: "onBlur" },
11
13
  children,
12
14
  onSubmit
13
15
  }) => {
14
16
  const methods = useForm(reactHookFormProps);
15
17
  const formProps = {};
16
- if (onSubmit) formProps.onSubmit = methods.handleSubmit(onSubmit);
18
+ if (onSubmit)
19
+ formProps.onSubmit = methods.handleSubmit(onSubmit);
17
20
  const providerProps = Object.assign(methods, {
18
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
19
21
  formProps: reactHookFormProps
20
22
  });
21
- return /*#__PURE__*/_jsx(FormProvider, { ...providerProps,
22
- children: /*#__PURE__*/_jsx(_StyledForm, {
23
- className: classname,
24
- ...formProps,
25
- children: children
26
- })
27
- });
23
+ return /* @__PURE__ */ React.createElement(FormProvider, {
24
+ ...providerProps
25
+ }, /* @__PURE__ */ React.createElement(StyledForm, {
26
+ className: classname,
27
+ ...formProps
28
+ }, children));
29
+ };
30
+ export {
31
+ Form
28
32
  };
29
-
30
- var _StyledForm = /*#__PURE__*/_styled("form").withConfig({
31
- componentId: "sc-1pyjvv3-0"
32
- })(["width:100%;height:100%;"]);
@@ -1,81 +1,60 @@
1
- import _jsx from "@babel/runtime/helpers/jsx";
2
- import moment from 'moment';
3
- import { TextBox } from "../fields/text-box/index.js";
4
- import { ComboBox } from "../fields/combo-box/index.js";
5
- import { DateInput } from "../fields/date-input/index.js";
6
- import { FormItemLayout } from "../fields/form-item-layout/index.js";
7
- export const FirstName = () => /*#__PURE__*/_jsx(FormItemLayout, {
1
+ import moment from "moment";
2
+ import { TextBox } from "../fields/text-box";
3
+ import { ComboBox } from "../fields/combo-box";
4
+ import { DateInput } from "../fields/date-input";
5
+ import { FormItemLayout } from "../fields/form-item-layout";
6
+ const FirstName = () => /* @__PURE__ */ React.createElement(FormItemLayout, {
8
7
  floatingLabel: true,
9
8
  inputComponent: TextBox,
10
9
  labelText: "First Name",
11
10
  name: "firstname",
12
11
  required: true,
13
12
  rules: {
14
- required: {
15
- value: true,
16
- message: 'First Name is required'
17
- },
18
- minLength: {
19
- value: 2,
20
- message: 'Minimum 2 characters'
21
- },
22
- maxLength: {
23
- value: 50,
24
- message: 'Maximum 50 characters'
25
- }
13
+ required: { value: true, message: "First Name is required" },
14
+ minLength: { value: 2, message: "Minimum 2 characters" },
15
+ maxLength: { value: 50, message: "Maximum 50 characters" }
26
16
  }
27
17
  });
28
- export const DOB = () => /*#__PURE__*/_jsx(FormItemLayout, {
18
+ const DOB = () => /* @__PURE__ */ React.createElement(FormItemLayout, {
29
19
  floatingLabel: true,
30
20
  inputComponent: DateInput,
31
21
  labelText: "Date of Birth",
32
22
  name: "dob",
33
23
  required: true,
34
24
  rules: {
35
- required: {
36
- value: true,
37
- message: 'Date of Birth is required'
38
- },
39
- validate: value => moment() > value || 'Date of Birth can not be greater than current date'
25
+ required: { value: true, message: "Date of Birth is required" },
26
+ validate: (value) => moment() > value || "Date of Birth can not be greater than current date"
40
27
  }
41
28
  });
42
- export const State = () => /*#__PURE__*/_jsx(FormItemLayout, {
29
+ const State = () => /* @__PURE__ */ React.createElement(FormItemLayout, {
43
30
  floatingLabel: true,
44
31
  inputComponent: ComboBox,
45
32
  labelText: "State",
46
33
  name: "state",
47
34
  required: true,
48
- rules: {
49
- required: {
50
- value: true,
51
- message: 'State is required'
52
- }
53
- },
54
- options: [{
55
- value: 'ca',
56
- label: 'California'
57
- }, {
58
- value: 'nj',
59
- label: 'New Jersey'
60
- }]
35
+ rules: { required: { value: true, message: "State is required" } },
36
+ options: [
37
+ { value: "ca", label: "California" },
38
+ { value: "nj", label: "New Jersey" }
39
+ ]
61
40
  });
62
- export const MaritalStatus = () => /*#__PURE__*/_jsx(FormItemLayout, {
41
+ const MaritalStatus = () => /* @__PURE__ */ React.createElement(FormItemLayout, {
63
42
  floatingLabel: true,
64
43
  inputComponent: ComboBox,
65
44
  labelText: "Marital Status",
66
45
  name: "marital_status",
67
46
  required: true,
68
47
  rules: {
69
- required: {
70
- value: true,
71
- message: 'Marital Status is required'
72
- }
48
+ required: { value: true, message: "Marital Status is required" }
73
49
  },
74
- options: [{
75
- value: 'married',
76
- label: 'Married'
77
- }, {
78
- value: 'single',
79
- label: 'Single'
80
- }]
81
- });
50
+ options: [
51
+ { value: "married", label: "Married" },
52
+ { value: "single", label: "Single" }
53
+ ]
54
+ });
55
+ export {
56
+ DOB,
57
+ FirstName,
58
+ MaritalStatus,
59
+ State
60
+ };
@@ -1,16 +1,18 @@
1
- import { useFormContext } from 'react-hook-form';
2
- import DSButton from '@elliemae/ds-basic/Button';
3
- import { jsx as _jsx } from "react/jsx-runtime";
4
- export const FormSubmitButton = ({ ...rest
1
+ import { useFormContext } from "react-hook-form";
2
+ import DSButton from "@elliemae/ds-basic/Button";
3
+ const FormSubmitButton = ({
4
+ ...rest
5
5
  }) => {
6
6
  const {
7
7
  formState,
8
- formProps: {
9
- mode
10
- }
8
+ formProps: { mode }
11
9
  } = useFormContext();
12
- return /*#__PURE__*/_jsx(DSButton, { ...rest,
10
+ return /* @__PURE__ */ React.createElement(DSButton, {
11
+ ...rest,
13
12
  type: "submit",
14
- disabled: mode !== 'onSubmit' && (!formState.isDirty || formState.isDirty && !formState.isValid)
13
+ disabled: mode !== "onSubmit" && (!formState.isDirty || formState.isDirty && !formState.isValid)
15
14
  });
16
- };
15
+ };
16
+ export {
17
+ FormSubmitButton
18
+ };
@@ -1,17 +1,18 @@
1
- import { sendMessageToHost } from "../message-to-host-app/index.js";
2
- export const onGuestUnloadStart = () => new Promise(resolve => {
3
- window.addEventListener('message', msg => {
4
- if (msg.data.id === 'unload-guest' || msg.data.id === 'close_loan') {
1
+ import { sendMessageToHost } from "../message-to-host-app";
2
+ const onGuestUnloadStart = () => new Promise((resolve) => {
3
+ window.addEventListener("message", (msg) => {
4
+ if (msg.data.id === "unload-guest" || msg.data.id === "close_loan") {
5
5
  resolve(msg.data.id);
6
6
  }
7
7
  });
8
8
  });
9
- export const notifyGuestUnloadComplete = (guestAppConfirmation, guestAppId, unloadType = 'close_loan') => {
9
+ const notifyGuestUnloadComplete = (guestAppConfirmation, guestAppId, unloadType = "close_loan") => {
10
10
  sendMessageToHost({
11
11
  guestAppId,
12
- message: {
13
- id: unloadType,
14
- auth: guestAppConfirmation
15
- }
12
+ message: { id: unloadType, auth: guestAppConfirmation }
16
13
  });
17
- };
14
+ };
15
+ export {
16
+ notifyGuestUnloadComplete,
17
+ onGuestUnloadStart
18
+ };
@@ -1,24 +1,41 @@
1
- import _jsx from "@babel/runtime/helpers/jsx";
2
- import { NavLink } from 'react-router-dom';
3
- import styled from 'styled-components';
4
- const NavList = /*#__PURE__*/styled.ul.withConfig({
5
- componentId: "sc-ztmnvf-0"
6
- })(["display:flex;flex:auto;align-items:center;list-style:none;margin:0px 0px 0px 10px;padding:0;height:100%;"]);
7
- const NavListItem = /*#__PURE__*/styled.li.withConfig({
8
- componentId: "sc-ztmnvf-1"
9
- })(["height:100%;text-align:center;"]);
10
- const activeClassName = 'nav-item-active';
11
- const StyledNavLink = /*#__PURE__*/styled(NavLink).attrs({
1
+ import { NavLink } from "react-router-dom";
2
+ import styled from "styled-components";
3
+ const NavList = styled.ul`
4
+ display: flex;
5
+ flex: auto;
6
+ align-items: center;
7
+ list-style: none;
8
+ margin: 0px 0px 0px 10px;
9
+ padding: 0;
10
+ height: 100%;
11
+ `;
12
+ const NavListItem = styled.li`
13
+ height: 100%;
14
+ text-align: center;
15
+ `;
16
+ const activeClassName = "nav-item-active";
17
+ const StyledNavLink = styled(NavLink).attrs({
12
18
  activeClassName
13
- }).withConfig({
14
- componentId: "sc-ztmnvf-2"
15
- })(["display:flex;align-items:center;color:", ";text-decoration:none;text-transform:uppercase;height:100%;padding:0 ", " 0 ", ";&.", "{background-color:#48acff;}"], props => props.theme.colors.neutral['000'], props => props.theme.space.xs, props => props.theme.space.xs, activeClassName);
16
- const publicPath = (process.env.ASSET_PATH || '/').replace(/\/?$/, '');
17
- export const CenterRegion = ({
18
- links = []
19
- }) => /*#__PURE__*/_jsx(NavList, {}, void 0, links.map(({
20
- name = '',
21
- path = ''
22
- }) => /*#__PURE__*/_jsx(NavListItem, {}, path, /*#__PURE__*/_jsx(StyledNavLink, {
23
- to: `${publicPath}${path.replace(/^\/?/, '/')}`
24
- }, void 0, name))));
19
+ })`
20
+ display: flex;
21
+ align-items: center;
22
+ color: ${(props) => props.theme.colors.neutral["000"]};
23
+ text-decoration: none;
24
+ text-transform: uppercase;
25
+ height: 100%;
26
+ padding: 0 ${(props) => props.theme.space.xs} 0
27
+ ${(props) => props.theme.space.xs};
28
+
29
+ &.${activeClassName} {
30
+ background-color: #48acff;
31
+ }
32
+ `;
33
+ const publicPath = (process.env.ASSET_PATH || "/").replace(/\/?$/, "");
34
+ const CenterRegion = ({ links = [] }) => /* @__PURE__ */ React.createElement(NavList, null, links.map(({ name = "", path = "" }) => /* @__PURE__ */ React.createElement(NavListItem, {
35
+ key: path
36
+ }, /* @__PURE__ */ React.createElement(StyledNavLink, {
37
+ to: `${publicPath}${path.replace(/^\/?/, "/")}`
38
+ }, name))));
39
+ export {
40
+ CenterRegion
41
+ };
@@ -1,20 +1,20 @@
1
- import _jsx from "@babel/runtime/helpers/jsx";
2
-
3
- var _LogoRegion, _NavRegion;
4
-
5
- import styled from 'styled-components';
6
- import { isStandAloneGuest, isHost } from "../../utils/micro-frontend/index.js";
7
- import { LogoRegion } from "./logo-region/index.js";
8
- import { CenterRegion } from "./center-region/index.js";
9
- import { NavRegion } from "./nav-region/index.js";
10
- const HeaderContainer = /*#__PURE__*/styled.header.withConfig({
11
- componentId: "sc-cvwjlr-0"
12
- })(["display:flex;height:56px;background-color:#2080cd;padding:0px ", " 0px ", ";"], props => props.theme.space.xs, props => props.theme.space.xxs);
13
- export const Header = ({
14
- links = [],
15
- show = false
16
- }) => isStandAloneGuest() || isHost() || show ? /*#__PURE__*/_jsx(HeaderContainer, {
1
+ import styled from "styled-components";
2
+ import { isStandAloneGuest, isHost } from "../../utils/micro-frontend";
3
+ import { LogoRegion } from "./logo-region";
4
+ import { CenterRegion } from "./center-region";
5
+ import { NavRegion } from "./nav-region";
6
+ const HeaderContainer = styled.header`
7
+ display: flex;
8
+ height: 56px;
9
+ background-color: #2080cd;
10
+ padding: 0px ${(props) => props.theme.space.xs} 0px
11
+ ${(props) => props.theme.space.xxs};
12
+ `;
13
+ const Header = ({ links = [], show = false }) => isStandAloneGuest() || isHost() || show ? /* @__PURE__ */ React.createElement(HeaderContainer, {
17
14
  role: "banner"
18
- }, void 0, _LogoRegion || (_LogoRegion = /*#__PURE__*/_jsx(LogoRegion, {})), /*#__PURE__*/_jsx(CenterRegion, {
19
- links: links
20
- }), _NavRegion || (_NavRegion = /*#__PURE__*/_jsx(NavRegion, {}))) : null;
15
+ }, /* @__PURE__ */ React.createElement(LogoRegion, null), /* @__PURE__ */ React.createElement(CenterRegion, {
16
+ links
17
+ }), /* @__PURE__ */ React.createElement(NavRegion, null)) : null;
18
+ export {
19
+ Header
20
+ };
@@ -1,10 +1,9 @@
1
- import _jsx from "@babel/runtime/helpers/jsx";
2
-
3
- var _LogoContainer;
4
-
5
- import styled from 'styled-components';
1
+ import styled from "styled-components";
6
2
  import { ReactComponent as LogoImg } from "./logo.svg";
7
- const LogoContainer = /*#__PURE__*/styled.div.withConfig({
8
- componentId: "sc-a4sia6-0"
9
- })(["align-self:center;"]);
10
- export const LogoRegion = () => _LogoContainer || (_LogoContainer = /*#__PURE__*/_jsx(LogoContainer, {}, void 0, /*#__PURE__*/_jsx(LogoImg, {})));
3
+ const LogoContainer = styled.div`
4
+ align-self: center;
5
+ `;
6
+ const LogoRegion = () => /* @__PURE__ */ React.createElement(LogoContainer, null, /* @__PURE__ */ React.createElement(LogoImg, null));
7
+ export {
8
+ LogoRegion
9
+ };
@@ -1,16 +1,23 @@
1
- import _jsx from "@babel/runtime/helpers/jsx";
2
-
3
- var _NavContainer;
4
-
5
- import styled from 'styled-components';
6
- import { Notification } from "./notification/index.js";
7
- import { User } from "./user/index.js";
8
- const NavContainer = /*#__PURE__*/styled.nav.withConfig({
9
- componentId: "sc-1selspv-0"
10
- })(["display:flex;margin:0;height:100%;align-self:flex-end;"]);
11
- const NavList = /*#__PURE__*/styled.ul.withConfig({
12
- componentId: "sc-1selspv-1"
13
- })(["margin:0;display:flex;align-items:center;> li{margin-left:", ";}"], props => props.theme.space.xs);
14
- export const NavRegion = () => _NavContainer || (_NavContainer = /*#__PURE__*/_jsx(NavContainer, {
1
+ import styled from "styled-components";
2
+ import { Notification } from "./notification";
3
+ import { User } from "./user";
4
+ const NavContainer = styled.nav`
5
+ display: flex;
6
+ margin: 0;
7
+ height: 100%;
8
+ align-self: flex-end;
9
+ `;
10
+ const NavList = styled.ul`
11
+ margin: 0;
12
+ display: flex;
13
+ align-items: center;
14
+ > li {
15
+ margin-left: ${(props) => props.theme.space.xs};
16
+ }
17
+ `;
18
+ const NavRegion = () => /* @__PURE__ */ React.createElement(NavContainer, {
15
19
  role: "navigation"
16
- }, void 0, /*#__PURE__*/_jsx(NavList, {}, void 0, /*#__PURE__*/_jsx(Notification, {}), /*#__PURE__*/_jsx(User, {}))));
20
+ }, /* @__PURE__ */ React.createElement(NavList, null, /* @__PURE__ */ React.createElement(Notification, null), /* @__PURE__ */ React.createElement(User, null)));
21
+ export {
22
+ NavRegion
23
+ };
@@ -1,9 +1,8 @@
1
- import _jsx from "@babel/runtime/helpers/jsx";
2
-
3
- var _a;
4
-
5
1
  import { ReactComponent as NotificationIcon } from "./index.svg";
6
- export const Notification = () => /*#__PURE__*/_jsx("li", {}, void 0, _a || (_a = /*#__PURE__*/_jsx("a", {
2
+ const Notification = () => /* @__PURE__ */ React.createElement("li", null, /* @__PURE__ */ React.createElement("a", {
7
3
  href: "#",
8
4
  "aria-label": "Notifications"
9
- }, void 0, /*#__PURE__*/_jsx(NotificationIcon, {}))));
5
+ }, /* @__PURE__ */ React.createElement(NotificationIcon, null)));
6
+ export {
7
+ Notification
8
+ };
@@ -1,9 +1,8 @@
1
- import _jsx from "@babel/runtime/helpers/jsx";
2
-
3
- var _a;
4
-
5
1
  import { ReactComponent as UserIcon } from "./index.svg";
6
- export const User = () => /*#__PURE__*/_jsx("li", {}, void 0, _a || (_a = /*#__PURE__*/_jsx("a", {
2
+ const User = () => /* @__PURE__ */ React.createElement("li", null, /* @__PURE__ */ React.createElement("a", {
7
3
  href: "#",
8
4
  "aria-label": "profile"
9
- }, void 0, /*#__PURE__*/_jsx(UserIcon, {}))));
5
+ }, /* @__PURE__ */ React.createElement(UserIcon, null)));
6
+ export {
7
+ User
8
+ };