@elliemae/pui-app-sdk 5.7.1 → 6.0.0-next.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 (304) hide show
  1. package/README.md +8 -0
  2. package/dist/cjs/analytics/appdynamics.js +1 -1
  3. package/dist/cjs/analytics/page-view-event.js +1 -1
  4. package/dist/cjs/api/helpers.js +14 -4
  5. package/dist/cjs/api/users/index.endpoint.cjs +12 -0
  6. package/dist/cjs/app.config.json +2 -2
  7. package/dist/cjs/communication/http-client/index.js +2 -2
  8. package/dist/cjs/communication/http-client/response-interceptor.js +2 -2
  9. package/dist/cjs/communication/http-client/retry-axios.js +14 -14
  10. package/dist/cjs/communication/http-client/retry.js +1 -1
  11. package/dist/cjs/communication/http-client/tests/hello.endpoint.cjs +12 -0
  12. package/dist/cjs/communication/http-client/tests/private.endpoint.cjs +13 -0
  13. package/dist/cjs/data/appMiddleware.js +2 -3
  14. package/dist/cjs/{view/fields/large-text-box/index.js → data/auth-state.js} +24 -20
  15. package/dist/cjs/data/breakpoint-state.js +46 -0
  16. package/dist/cjs/data/{error/index.js → error-state.js} +3 -3
  17. package/dist/cjs/data/errorMiddleware.js +2 -2
  18. package/dist/cjs/data/listenerMiddleware.js +5 -3
  19. package/dist/cjs/data/{live-message/index.js → live-message-state.js} +3 -3
  20. package/dist/cjs/data/{logout/actions.js → logout-actions.js} +6 -16
  21. package/dist/cjs/data/{navigation-prompt/actions.js → navigation-prompt-actions.js} +6 -16
  22. package/dist/cjs/data/queryMiddleware.js +3 -1
  23. package/dist/cjs/data/reducers.js +8 -8
  24. package/dist/cjs/data/store.js +12 -8
  25. package/dist/cjs/data/wait-message-state.js +46 -0
  26. package/dist/cjs/index.js +13 -35
  27. package/dist/cjs/sideeffect/auth/index.js +4 -4
  28. package/dist/cjs/sideeffect/error-toast/index.js +3 -3
  29. package/dist/cjs/sideeffect/wait-message/index.js +3 -3
  30. package/dist/cjs/utils/app-config/config.js +2 -2
  31. package/dist/cjs/utils/app-config/index.js +1 -1
  32. package/dist/cjs/utils/auth/helper.js +2 -2
  33. package/dist/cjs/utils/auth/index.js +2 -2
  34. package/dist/cjs/utils/font-size.js +1 -1
  35. package/dist/cjs/utils/micro-frontend/guest.js +9 -8
  36. package/dist/cjs/utils/micro-frontend/host.js +10 -8
  37. package/dist/cjs/utils/micro-frontend/index.js +15 -5
  38. package/dist/cjs/utils/micro-frontend/ssfguest-adapter.js +1 -1
  39. package/dist/cjs/utils/session.js +26 -4
  40. package/dist/cjs/{data/breakpoint/index.js → utils/storybook/main.js} +31 -26
  41. package/dist/cjs/utils/storybook/manager.js +2 -2
  42. package/dist/cjs/{data/wait-message/actions.js → utils/storybook/middleware.js} +7 -18
  43. package/dist/cjs/utils/storybook/preview.js +10 -5
  44. package/dist/cjs/utils/storybook/theme.js +5 -8
  45. package/dist/cjs/utils/storybook/vite.js +33 -0
  46. package/dist/cjs/{view/fields/date-input/index.js → utils/storybook/webpack.js} +22 -20
  47. package/dist/cjs/utils/testing/index.js +1 -1
  48. package/dist/cjs/utils/testing/render-with-redux.js +1 -5
  49. package/dist/cjs/utils/testing/render-with-router-redux.js +1 -2
  50. package/dist/cjs/utils/url.js +2 -0
  51. package/dist/cjs/utils/web-storage.js +1 -1
  52. package/dist/cjs/utils/window.js +1 -1
  53. package/dist/cjs/view/app-root/hosted-app.js +3 -3
  54. package/dist/cjs/view/app-root/index.js +2 -0
  55. package/dist/cjs/view/app-root/stand-alone-app.js +3 -3
  56. package/dist/cjs/view/app-root/style.js +1 -1
  57. package/dist/cjs/{data/auth/actions.js → view/app-root/use-prefetch-resources.js} +15 -31
  58. package/dist/cjs/view/breakpoint/use-breakpoint.js +4 -4
  59. package/dist/cjs/view/error-boundary/index.js +2 -2
  60. package/dist/cjs/view/error-toast/index.js +4 -4
  61. package/dist/cjs/view/fetch-host-app-data/index.js +1 -1
  62. package/dist/cjs/view/fetch-host-app-data/store.js +12 -2
  63. package/dist/cjs/view/fields/autocomplete/index.js +4 -1
  64. package/dist/cjs/view/fields/combo-box-v3/index.js +1 -1
  65. package/dist/cjs/view/fields/masked-input-text/index.js +1 -1
  66. package/dist/cjs/view/fields/watch-value.js +1 -1
  67. package/dist/cjs/view/form/index.js +1 -1
  68. package/dist/cjs/view/form/personal-info-section.js +5 -7
  69. package/dist/cjs/view/login/index.js +2 -2
  70. package/dist/cjs/view/micro-app/app-factory/index.js +17 -7
  71. package/dist/cjs/view/micro-app/index.js +1 -1
  72. package/dist/cjs/view/micro-app/resources/script.js +16 -8
  73. package/dist/cjs/view/micro-app/resources/style.js +14 -1
  74. package/dist/cjs/view/micro-app/use-app-will-render.js +15 -5
  75. package/dist/cjs/view/micro-iframe-app/app.js +1 -1
  76. package/dist/cjs/view/micro-iframe-app/iframe/index.js +1 -2
  77. package/dist/cjs/view/modals/navigation-prompt/index.js +3 -3
  78. package/dist/cjs/view/modals/session-expiry/index.js +3 -3
  79. package/dist/cjs/view/page.js +1 -1
  80. package/dist/cjs/view/require-auth.js +3 -3
  81. package/dist/cjs/view/session-timeout/index.js +2 -2
  82. package/dist/cjs/view/storybook/decorator.js +1 -1
  83. package/dist/cjs/view/use-window-size-change.js +1 -1
  84. package/dist/cjs/view/visually-hidden/index.js +2 -1
  85. package/dist/cjs/view/wait-message/index.js +2 -2
  86. package/dist/cjs/view/wait-message/wait-message-launcher.js +3 -3
  87. package/dist/esm/analytics/page-view-event.js +1 -1
  88. package/dist/esm/api/users/index.endpoint.cjs +12 -0
  89. package/dist/esm/app.config.json +2 -2
  90. package/dist/esm/communication/http-client/response-interceptor.js +1 -1
  91. package/dist/esm/communication/http-client/retry-axios.js +13 -13
  92. package/dist/esm/communication/http-client/retry.js +1 -1
  93. package/dist/esm/communication/http-client/tests/hello.endpoint.cjs +12 -0
  94. package/dist/esm/communication/http-client/tests/private.endpoint.cjs +13 -0
  95. package/dist/esm/data/appMiddleware.js +2 -3
  96. package/dist/esm/data/auth-state.js +24 -0
  97. package/dist/esm/data/breakpoint-state.js +26 -0
  98. package/dist/esm/data/errorMiddleware.js +2 -2
  99. package/dist/esm/data/listenerMiddleware.js +5 -3
  100. package/dist/esm/data/logout-actions.js +8 -0
  101. package/dist/esm/data/navigation-prompt-actions.js +8 -0
  102. package/dist/esm/data/queryMiddleware.js +3 -1
  103. package/dist/esm/data/reducers.js +4 -4
  104. package/dist/esm/data/store.js +12 -8
  105. package/dist/esm/data/wait-message-state.js +26 -0
  106. package/dist/esm/index.js +11 -37
  107. package/dist/esm/sideeffect/auth/index.js +4 -8
  108. package/dist/esm/sideeffect/error-toast/index.js +2 -2
  109. package/dist/esm/sideeffect/wait-message/index.js +3 -3
  110. package/dist/esm/utils/auth/helper.js +1 -1
  111. package/dist/esm/utils/auth/index.js +2 -2
  112. package/dist/esm/utils/font-size.js +1 -1
  113. package/dist/esm/utils/micro-frontend/guest.js +8 -7
  114. package/dist/esm/utils/micro-frontend/host.js +6 -4
  115. package/dist/esm/utils/micro-frontend/index.js +14 -4
  116. package/dist/esm/utils/session.js +13 -1
  117. package/dist/esm/utils/storybook/main.js +33 -0
  118. package/dist/esm/utils/storybook/manager.js +2 -2
  119. package/dist/esm/utils/storybook/middleware.js +7 -0
  120. package/dist/esm/utils/storybook/preview.js +10 -5
  121. package/dist/esm/utils/storybook/theme.js +5 -8
  122. package/dist/esm/utils/storybook/vite.js +13 -0
  123. package/dist/esm/utils/storybook/webpack.js +22 -0
  124. package/dist/esm/utils/testing/index.js +1 -1
  125. package/dist/esm/utils/testing/render-with-redux.js +1 -5
  126. package/dist/esm/utils/testing/render-with-router-redux.js +1 -2
  127. package/dist/esm/utils/url.js +2 -0
  128. package/dist/esm/utils/window.js +1 -1
  129. package/dist/esm/view/app-root/hosted-app.js +1 -1
  130. package/dist/esm/view/app-root/index.js +2 -0
  131. package/dist/esm/view/app-root/stand-alone-app.js +1 -1
  132. package/dist/esm/view/app-root/style.js +1 -1
  133. package/dist/esm/view/app-root/use-prefetch-resources.js +15 -0
  134. package/dist/esm/view/breakpoint/use-breakpoint.js +7 -4
  135. package/dist/esm/view/error-boundary/index.js +1 -1
  136. package/dist/esm/view/error-toast/index.js +3 -3
  137. package/dist/esm/view/fields/autocomplete/index.js +4 -1
  138. package/dist/esm/view/fields/combo-box-v3/index.js +1 -1
  139. package/dist/esm/view/form/personal-info-section.js +5 -7
  140. package/dist/esm/view/login/index.js +2 -2
  141. package/dist/esm/view/micro-app/app-factory/index.js +21 -9
  142. package/dist/esm/view/micro-app/resources/script.js +17 -9
  143. package/dist/esm/view/micro-app/resources/style.js +15 -2
  144. package/dist/esm/view/micro-app/use-app-will-render.js +1 -1
  145. package/dist/esm/view/micro-iframe-app/iframe/index.js +0 -1
  146. package/dist/esm/view/modals/navigation-prompt/index.js +1 -1
  147. package/dist/esm/view/modals/session-expiry/index.js +1 -1
  148. package/dist/esm/view/require-auth.js +1 -1
  149. package/dist/esm/view/session-timeout/index.js +1 -1
  150. package/dist/esm/view/storybook/decorator.js +1 -1
  151. package/dist/esm/view/use-window-size-change.js +1 -1
  152. package/dist/esm/view/visually-hidden/index.js +1 -0
  153. package/dist/esm/view/wait-message/index.js +1 -1
  154. package/dist/esm/view/wait-message/wait-message-launcher.js +1 -1
  155. package/dist/types/docusaurus.config.d.ts +2 -0
  156. package/dist/types/lib/api/helpers.d.ts +1 -1
  157. package/dist/types/lib/communication/http-client/response-interceptor.d.ts +1 -3
  158. package/dist/types/lib/communication/http-client/retry-axios.d.ts +5 -5
  159. package/dist/types/lib/data/appMiddleware.d.ts +2 -2
  160. package/dist/types/lib/data/auth-state.d.ts +28 -0
  161. package/dist/types/lib/data/breakpoint-state.d.ts +15 -0
  162. package/dist/types/lib/data/{error/index.d.ts → error-state.d.ts} +5 -1
  163. package/dist/types/lib/data/listenerMiddleware.d.ts +38 -17
  164. package/dist/types/lib/data/{live-message/index.d.ts → live-message-state.d.ts} +5 -1
  165. package/dist/types/lib/data/logout-actions.d.ts +4 -0
  166. package/dist/types/lib/data/navigation-prompt-actions.d.ts +4 -0
  167. package/dist/types/lib/data/reducers.d.ts +12 -15
  168. package/dist/types/lib/data/saga.d.ts +3 -5
  169. package/dist/types/lib/data/store.d.ts +31 -38
  170. package/dist/types/lib/data/types.d.ts +6 -6
  171. package/dist/types/lib/data/wait-message-state.d.ts +17 -0
  172. package/dist/types/lib/index.d.ts +6 -16
  173. package/dist/types/lib/sideeffect/auth/index.d.ts +1 -1
  174. package/dist/types/lib/utils/app-config/config.d.ts +1 -3
  175. package/dist/types/lib/utils/app-host-integration/react.d.ts +2 -2
  176. package/dist/types/lib/utils/guest-with-service.d.ts +1 -3
  177. package/dist/types/lib/utils/micro-frontend/host.d.ts +4 -4
  178. package/dist/types/lib/utils/micro-frontend/index.d.ts +1 -0
  179. package/dist/types/lib/utils/micro-frontend/types.d.ts +5 -4
  180. package/dist/types/lib/utils/session.d.ts +3 -9
  181. package/dist/types/lib/utils/storybook/main.d.ts +2 -0
  182. package/dist/types/lib/utils/storybook/manager.d.ts +2 -1
  183. package/dist/types/lib/utils/storybook/middleware.d.ts +1 -0
  184. package/dist/types/lib/utils/storybook/preview.d.ts +5 -29
  185. package/dist/types/lib/utils/storybook/theme.d.ts +2 -5
  186. package/dist/types/lib/utils/storybook/vite.d.ts +10 -0
  187. package/dist/types/lib/utils/storybook/webpack.d.ts +17 -0
  188. package/dist/types/lib/utils/testing/render-with-redux.d.ts +15 -19
  189. package/dist/types/lib/utils/testing/render-with-router-redux.d.ts +14 -18
  190. package/dist/types/lib/utils/testing/render-with-router.d.ts +1 -1
  191. package/dist/types/lib/utils/testing/render-with-state-addons.d.ts +2 -2
  192. package/dist/types/lib/utils/url.d.ts +1 -0
  193. package/dist/types/lib/utils/window.d.ts +1 -3
  194. package/dist/types/lib/view/app-root/hosted-app.d.ts +2 -2
  195. package/dist/types/lib/view/app-root/index.d.ts +2 -2
  196. package/dist/types/lib/view/app-root/stand-alone-app.d.ts +2 -2
  197. package/dist/types/lib/view/app-root/use-prefetch-resources.d.ts +1 -0
  198. package/dist/types/lib/view/breakpoint/index.stories.d.ts +6 -3
  199. package/dist/types/lib/view/breakpoint/use-media-query-list.d.ts +1 -1
  200. package/dist/types/lib/view/error-toast/index.d.ts +1 -4
  201. package/dist/types/lib/view/error-toast/index.stories.d.ts +12 -5
  202. package/dist/types/lib/view/fields/autocomplete/advanced-autocomplete.stories.d.ts +6 -5
  203. package/dist/types/lib/view/fields/autocomplete/async-suggestions-autocomplete.stories.d.ts +6 -5
  204. package/dist/types/lib/view/fields/autocomplete/index.stories.d.ts +6 -5
  205. package/dist/types/lib/view/fields/check-box/index.stories.d.ts +8 -5
  206. package/dist/types/lib/view/fields/check-box/set-value.stories.d.ts +8 -5
  207. package/dist/types/lib/view/fields/combo-box-v3/index.stories.d.ts +8 -5
  208. package/dist/types/lib/view/fields/connect-form.d.ts +2 -2
  209. package/dist/types/lib/view/fields/date-range-picker/index.d.ts +2 -2
  210. package/dist/types/lib/view/fields/date-range-picker/index.stories.d.ts +8 -7
  211. package/dist/types/lib/view/fields/date-time-picker/index.stories.d.ts +19 -39
  212. package/dist/types/lib/view/fields/form-layout-block-item/index.stories.d.ts +8 -4
  213. package/dist/types/lib/view/fields/input-text/index.stories.d.ts +8 -10
  214. package/dist/types/lib/view/fields/masked-input-text/index.d.ts +2 -2
  215. package/dist/types/lib/view/fields/masked-input-text/index.stories.d.ts +10 -0
  216. package/dist/types/lib/view/fields/toggle/index.stories.d.ts +6 -10
  217. package/dist/types/lib/view/fields/watch-value.d.ts +2 -2
  218. package/dist/types/lib/view/form/index.d.ts +2 -2
  219. package/dist/types/lib/view/form/index.stories.d.ts +7 -3
  220. package/dist/types/lib/view/form/personal-info-section.d.ts +0 -1
  221. package/dist/types/lib/view/form/submit-button/index.d.ts +2 -2
  222. package/dist/types/lib/view/form/usecases.stories.d.ts +9 -12
  223. package/dist/types/lib/view/live-message/index.stories.d.ts +5 -3
  224. package/dist/types/lib/view/micro-app/app-factory/index.d.ts +1 -0
  225. package/dist/types/lib/view/micro-app/resources/manifest.d.ts +1 -1
  226. package/dist/types/lib/view/micro-app/resources/script.d.ts +4 -0
  227. package/dist/types/lib/view/micro-app/resources/style.d.ts +4 -0
  228. package/dist/types/lib/view/micro-app/types.d.ts +2 -2
  229. package/dist/types/lib/view/micro-app/utils.d.ts +2 -2
  230. package/dist/types/lib/view/micro-iframe-app/iframe/index.d.ts +2 -2
  231. package/dist/types/lib/view/modals/error/index.stories.d.ts +9 -6
  232. package/dist/types/lib/view/modals/navigation-prompt/index.stories.d.ts +9 -10
  233. package/dist/types/lib/view/modals/session-expiry/index.stories.d.ts +10 -6
  234. package/dist/types/lib/view/session-timeout/index.stories.d.ts +8 -4
  235. package/dist/types/lib/view/storybook/decorator.d.ts +1 -1
  236. package/dist/types/lib/view/visually-hidden/index.d.ts +1 -0
  237. package/dist/types/lib/view/wait-message/index.stories.d.ts +8 -8
  238. package/package.json +52 -50
  239. package/dist/cjs/data/auth/reducer.js +0 -49
  240. package/dist/cjs/data/wait-message/reducer.js +0 -51
  241. package/dist/cjs/utils/storybook/cjs/main.js +0 -58
  242. package/dist/cjs/utils/storybook/cjs/middleware.js +0 -6
  243. package/dist/cjs/utils/storybook/cjs/vite.js +0 -8
  244. package/dist/cjs/utils/storybook/cjs/webpack.js +0 -20
  245. package/dist/cjs/view/fields/combo-box/index.js +0 -50
  246. package/dist/cjs/view/fields/date-picker/index.js +0 -50
  247. package/dist/cjs/view/fields/form-item-layout/index.js +0 -43
  248. package/dist/cjs/view/fields/input-mask/index.js +0 -60
  249. package/dist/cjs/view/fields/radio/index.js +0 -48
  250. package/dist/cjs/view/fields/radio-group/index.js +0 -40
  251. package/dist/cjs/view/fields/text-box/index.js +0 -40
  252. package/dist/esm/data/auth/actions.js +0 -31
  253. package/dist/esm/data/auth/reducer.js +0 -19
  254. package/dist/esm/data/breakpoint/index.js +0 -28
  255. package/dist/esm/data/logout/actions.js +0 -18
  256. package/dist/esm/data/navigation-prompt/actions.js +0 -18
  257. package/dist/esm/data/wait-message/actions.js +0 -18
  258. package/dist/esm/data/wait-message/reducer.js +0 -21
  259. package/dist/esm/view/fields/combo-box/index.js +0 -32
  260. package/dist/esm/view/fields/date-input/index.js +0 -22
  261. package/dist/esm/view/fields/date-picker/index.js +0 -22
  262. package/dist/esm/view/fields/form-item-layout/index.js +0 -23
  263. package/dist/esm/view/fields/input-mask/index.js +0 -42
  264. package/dist/esm/view/fields/large-text-box/index.js +0 -22
  265. package/dist/esm/view/fields/radio/index.js +0 -30
  266. package/dist/esm/view/fields/radio-group/index.js +0 -22
  267. package/dist/esm/view/fields/text-box/index.js +0 -22
  268. package/dist/types/lib/data/auth/actions.d.ts +0 -22
  269. package/dist/types/lib/data/auth/reducer.d.ts +0 -6
  270. package/dist/types/lib/data/breakpoint/index.d.ts +0 -13
  271. package/dist/types/lib/data/logout/actions.d.ts +0 -9
  272. package/dist/types/lib/data/navigation-prompt/actions.d.ts +0 -9
  273. package/dist/types/lib/data/wait-message/actions.d.ts +0 -14
  274. package/dist/types/lib/data/wait-message/reducer.d.ts +0 -7
  275. package/dist/types/lib/utils/storybook/cjs/main.d.ts +0 -66
  276. package/dist/types/lib/utils/storybook/cjs/middleware.d.ts +0 -2
  277. package/dist/types/lib/utils/storybook/cjs/vite.d.ts +0 -5
  278. package/dist/types/lib/utils/storybook/cjs/webpack.d.ts +0 -17
  279. package/dist/types/lib/view/fields/combo-box/index.d.ts +0 -8
  280. package/dist/types/lib/view/fields/combo-box/index.stories.d.ts +0 -5
  281. package/dist/types/lib/view/fields/date-input/index.d.ts +0 -8
  282. package/dist/types/lib/view/fields/date-input/index.stories.d.ts +0 -7
  283. package/dist/types/lib/view/fields/date-picker/index.d.ts +0 -9
  284. package/dist/types/lib/view/fields/date-picker/index.stories.d.ts +0 -5
  285. package/dist/types/lib/view/fields/form-item-layout/index.d.ts +0 -9
  286. package/dist/types/lib/view/fields/form-item-layout/index.stories.d.ts +0 -5
  287. package/dist/types/lib/view/fields/input-mask/index.d.ts +0 -15
  288. package/dist/types/lib/view/fields/input-mask/index.stories.d.ts +0 -5
  289. package/dist/types/lib/view/fields/large-text-box/index.d.ts +0 -9
  290. package/dist/types/lib/view/fields/large-text-box/index.stories.d.ts +0 -5
  291. package/dist/types/lib/view/fields/masked-input-text/with-money-mask.stories.d.ts +0 -11
  292. package/dist/types/lib/view/fields/masked-input-text/with-percentage-mask.stories.d.ts +0 -11
  293. package/dist/types/lib/view/fields/radio/index.d.ts +0 -9
  294. package/dist/types/lib/view/fields/radio/index.stories.d.ts +0 -5
  295. package/dist/types/lib/view/fields/radio/set-value.stories.d.ts +0 -5
  296. package/dist/types/lib/view/fields/radio-group/index.d.ts +0 -8
  297. package/dist/types/lib/view/fields/radio-group/index.stories.d.ts +0 -5
  298. package/dist/types/lib/view/fields/text-box/index.d.ts +0 -8
  299. package/dist/types/lib/view/fields/text-box/index.stories.d.ts +0 -7
  300. /package/dist/esm/data/{error/index.js → error-state.js} +0 -0
  301. /package/dist/esm/data/{live-message/index.js → live-message-state.js} +0 -0
  302. /package/dist/types/lib/api/users/{index.endpoint.d.ts → index.endpoint.d.cts} +0 -0
  303. /package/dist/types/lib/communication/http-client/tests/{hello.endpoint.d.ts → hello.endpoint.d.cts} +0 -0
  304. /package/dist/types/lib/communication/http-client/tests/{private.endpoint.d.ts → private.endpoint.d.cts} +0 -0
@@ -14,8 +14,8 @@ interface ReducerInjectorArgs {
14
14
  }
15
15
  interface RenderWithStateAddOnsProps {
16
16
  Component: React.ComponentType;
17
- reducer: ReducerInjectorArgs | Array<ReducerInjectorArgs>;
18
- saga: SagaInjectorArgs | Array<SagaInjectorArgs>;
17
+ reducer: ReducerInjectorArgs | ReducerInjectorArgs[];
18
+ saga: SagaInjectorArgs | SagaInjectorArgs[];
19
19
  theme?: Theme;
20
20
  [x: string]: any;
21
21
  }
@@ -1,2 +1,3 @@
1
1
  export declare const getRedirectUrl: () => string;
2
+ export declare const isAbsoluteUrl: (url: string) => boolean;
2
3
  export declare const removeDoubleSlash: (url: string) => string;
@@ -1,9 +1,7 @@
1
1
  import { IMicroAppGuest, IMicroAppHost, BAEvent } from '@elliemae/pui-micro-frontend-base';
2
2
  import { BreakPoint } from '@elliemae/pui-theme';
3
3
  import { Logger } from '@elliemae/pui-diagnostics';
4
- export type EMUI = {
5
- [key: string]: IMicroAppGuest;
6
- } & {
4
+ export type EMUI = Record<string, IMicroAppGuest> & {
7
5
  _BASE_PATH: string;
8
6
  _ASSET_PATH: string;
9
7
  version: string;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- type HostedAppProps = {
2
+ interface HostedAppProps {
3
3
  WaitMessage: React.ReactNode;
4
4
  children: React.ReactNode;
5
- };
5
+ }
6
6
  export declare const HostedApp: ({ WaitMessage, children }: HostedAppProps) => import("react/jsx-runtime.js").JSX.Element;
7
7
  export {};
@@ -2,7 +2,7 @@
2
2
  import { History } from 'history';
3
3
  import { Theme } from '@elliemae/pui-theme';
4
4
  import { AppStore } from '../../data/store.js';
5
- type AppRootProps = {
5
+ interface AppRootProps {
6
6
  store: AppStore;
7
7
  history: History;
8
8
  basename?: string;
@@ -12,6 +12,6 @@ type AppRootProps = {
12
12
  WaitMessage?: React.ReactNode;
13
13
  errorTemplate?: React.ComponentType;
14
14
  strictMode?: boolean;
15
- };
15
+ }
16
16
  export declare const AppRoot: ({ store, history, basename, theme, manageSession, WaitMessage, errorTemplate, children, strictMode, }: AppRootProps) => import("react/jsx-runtime.js").JSX.Element;
17
17
  export {};
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
- type StandAloneAppProps = {
2
+ interface StandAloneAppProps {
3
3
  manageSession: boolean;
4
4
  WaitMessage: React.ReactNode;
5
5
  children: React.ReactNode;
6
- };
6
+ }
7
7
  export declare const StandAloneApp: ({ manageSession, WaitMessage, children, }: StandAloneAppProps) => import("react/jsx-runtime.js").JSX.Element;
8
8
  export {};
@@ -0,0 +1 @@
1
+ export declare const usePrefetchResources: () => void;
@@ -1,4 +1,7 @@
1
- import { Meta } from '@storybook/react';
2
- declare const _default: Meta;
1
+ declare const _default: {
2
+ title: string;
3
+ };
3
4
  export default _default;
4
- export declare const Basic: () => import("react/jsx-runtime.js").JSX.Element;
5
+ export declare const Basic: {
6
+ render: () => import("react/jsx-runtime.js").JSX.Element;
7
+ };
@@ -1 +1 @@
1
- export declare const useMediaQueryList: (queries: Array<string>, values: Array<string>, defaultValue: string) => string;
1
+ export declare const useMediaQueryList: (queries: string[], values: string[], defaultValue: string) => string;
@@ -1,6 +1,3 @@
1
1
  /// <reference types="react" />
2
- interface ErrorToastProps {
3
- [x: string]: any;
4
- }
2
+ export type ErrorToastProps = Record<string, any>;
5
3
  export declare const ErrorToast: import("react").NamedExoticComponent<ErrorToastProps>;
6
- export {};
@@ -1,5 +1,12 @@
1
- import { Meta } from '@storybook/react';
2
- declare const _default: Meta;
3
- export default _default;
4
- export declare const BasicError: () => import("react/jsx-runtime.js").JSX.Element;
5
- export declare const ToastDifferentTypes: () => import("react/jsx-runtime.js").JSX.Element;
1
+ /// <reference types="react" />
2
+ import { StoryObj } from '@storybook/react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: import("react").NamedExoticComponent<import("./index.js").ErrorToastProps>;
6
+ };
7
+ export default meta;
8
+ type Story = StoryObj<typeof meta>;
9
+ export declare const Error: Story;
10
+ export declare const Success: Story;
11
+ export declare const Info: Story;
12
+ export declare const Warning: Story;
@@ -1,5 +1,6 @@
1
- import { Story, Meta } from '@storybook/react';
2
- import { AutocompleteProps } from './index.js';
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const AdvancedAutocomplete: Story<AutocompleteProps>;
1
+ import { StoryObj, Meta } from '@storybook/react';
2
+ import { Autocomplete } from './index.js';
3
+ declare const meta: Meta<typeof Autocomplete>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Autocomplete>;
6
+ export declare const AdvancedAutocomplete: Story;
@@ -1,5 +1,6 @@
1
- import { Story, Meta } from '@storybook/react';
2
- import { AutocompleteProps } from './index.js';
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const AsyncSuggestionsAutocomplete: Story<AutocompleteProps>;
1
+ import { StoryObj, Meta } from '@storybook/react';
2
+ import { Autocomplete } from './index.js';
3
+ declare const meta: Meta<typeof Autocomplete>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Autocomplete>;
6
+ export declare const AsyncSuggestionsAutocomplete: Story;
@@ -1,5 +1,6 @@
1
- import { Story, Meta } from '@storybook/react';
2
- import { AutocompleteProps } from './index.js';
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Basic: Story<AutocompleteProps>;
1
+ import { StoryObj, Meta } from '@storybook/react';
2
+ import { Autocomplete } from './index.js';
3
+ declare const meta: Meta<typeof Autocomplete>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Autocomplete>;
6
+ export declare const Basic: Story;
@@ -1,5 +1,8 @@
1
- import { Story, Meta } from '@storybook/react';
2
- import { CheckBoxProps } from './index.js';
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Basic: Story<CheckBoxProps>;
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ name, defaultValue, rules, ...rest }: import("./index.js").CheckBoxProps<import("react-hook-form").FieldValues, string>) => import("react/jsx-runtime.js").JSX.Element;
5
+ };
6
+ export default meta;
7
+ type Story = StoryObj<typeof meta>;
8
+ export declare const Basic: Story;
@@ -1,5 +1,8 @@
1
- import { Story, Meta } from '@storybook/react';
2
- import { CheckBoxProps } from './index.js';
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const SetValue: Story<CheckBoxProps>;
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ name, defaultValue, rules, ...rest }: import("./index.js").CheckBoxProps<import("react-hook-form").FieldValues, string>) => import("react/jsx-runtime.js").JSX.Element;
5
+ };
6
+ export default meta;
7
+ type Story = StoryObj<typeof meta>;
8
+ export declare const SetValue: Story;
@@ -1,5 +1,8 @@
1
- import { Story, Meta } from '@storybook/react';
2
- import { ComboBoxV3Props } from './index.js';
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Basic: Story<ComboBoxV3Props>;
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ name, defaultValue, rules, clearable, filteredOptions, ...rest }: import("./index.js").ComboBoxV3Props<import("react-hook-form").FieldValues, string>) => import("react/jsx-runtime.js").JSX.Element;
5
+ };
6
+ export default meta;
7
+ type Story = StoryObj<typeof meta>;
8
+ export declare const Basic: Story;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { UseFormReturn, FieldValues } from 'react-hook-form';
3
- export type ConnectFormProps = {
3
+ export interface ConnectFormProps {
4
4
  children: <TFieldValues extends FieldValues>(methods: UseFormReturn<TFieldValues>) => JSX.Element;
5
- };
5
+ }
6
6
  export declare const ConnectForm: ({ children }: ConnectFormProps) => JSX.Element;
@@ -1,8 +1,8 @@
1
1
  import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
2
- export type DateRangePickerProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
2
+ export interface DateRangePickerProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> {
3
3
  name: string;
4
4
  defaultValue?: [string, string];
5
5
  rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
6
6
  [x: string]: any;
7
- };
7
+ }
8
8
  export declare const DateRangePicker: ({ name, defaultValue, rules, ...rest }: DateRangePickerProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,8 @@
1
- import { Story, Meta } from '@storybook/react';
2
- import { DateRangePickerProps } from './index.js';
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Basic: Story<DateRangePickerProps & {
6
- labelText: string;
7
- }>;
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ name, defaultValue, rules, ...rest }: import("./index.js").DateRangePickerProps<import("react-hook-form").FieldValues, string>) => import("react/jsx-runtime.js").JSX.Element;
5
+ };
6
+ export default meta;
7
+ type Story = StoryObj<typeof meta>;
8
+ export declare const Basic: Story;
@@ -1,40 +1,20 @@
1
- import { Story, Meta } from '@storybook/react';
1
+ import { StoryObj } from '@storybook/react';
2
2
  import { DateTimePickerProps } from './index.js';
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const DateTimeInputs: Story<DateTimePickerProps & {
6
- labelText: string;
7
- }>;
8
- export declare const FullDateTime: Story<DateTimePickerProps & {
9
- labelText: string;
10
- }>;
11
- export declare const DateTimePickerExample: Story<DateTimePickerProps & {
12
- labelText: string;
13
- }>;
14
- export declare const DateTimePickerControllerOnly: Story<DateTimePickerProps & {
15
- labelText: string;
16
- }>;
17
- export declare const DateInputs: Story<DateTimePickerProps & {
18
- labelText: string;
19
- }>;
20
- export declare const DatePicker: Story<DateTimePickerProps & {
21
- labelText: string;
22
- }>;
23
- export declare const DatePickerControllerOnly: Story<DateTimePickerProps & {
24
- labelText: string;
25
- }>;
26
- export declare const FullDate: Story<DateTimePickerProps & {
27
- labelText: string;
28
- }>;
29
- export declare const FullTime: Story<DateTimePickerProps & {
30
- labelText: string;
31
- }>;
32
- export declare const TimeInputs: Story<DateTimePickerProps & {
33
- labelText: string;
34
- }>;
35
- export declare const TimePickerControllerOnly: Story<DateTimePickerProps & {
36
- labelText: string;
37
- }>;
38
- export declare const TimePicker: Story<DateTimePickerProps & {
39
- labelText: string;
40
- }>;
3
+ declare const meta: {
4
+ title: string;
5
+ component: ({ name, defaultValue, rules, type, ...rest }: DateTimePickerProps<import("react-hook-form").FieldValues, string>) => import("react/jsx-runtime.js").JSX.Element;
6
+ };
7
+ export default meta;
8
+ type Story = StoryObj<typeof meta>;
9
+ export declare const DateTimeInputs: Story;
10
+ export declare const FullDateTime: Story;
11
+ export declare const DateTimePickerExample: Story;
12
+ export declare const DateTimePickerControllerOnly: Story;
13
+ export declare const DateInputs: Story;
14
+ export declare const DatePicker: Story;
15
+ export declare const DatePickerControllerOnly: Story;
16
+ export declare const FullDate: Story;
17
+ export declare const FullTime: Story;
18
+ export declare const TimeInputs: Story;
19
+ export declare const TimePickerControllerOnly: Story;
20
+ export declare const TimePicker: Story;
@@ -1,4 +1,8 @@
1
- import { Story, Meta } from '@storybook/react';
2
- declare const _default: Meta;
3
- export default _default;
4
- export declare const Basic: Story<import("@elliemae/ds-form-layout-blocks").DSFormLayoutBlockItemT.Props>;
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ inputID, label, ...rest }: import("@elliemae/ds-form-layout-blocks").DSFormLayoutBlockItemT.Props) => import("react/jsx-runtime.js").JSX.Element;
5
+ };
6
+ export default meta;
7
+ type Story = StoryObj<typeof meta>;
8
+ export declare const Basic: Story;
@@ -1,11 +1,9 @@
1
- import { Story, Meta } from '@storybook/react';
1
+ import { StoryObj } from '@storybook/react';
2
2
  import '@elliemae/ds-form-input-text';
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Basic: Story<{
6
- name: string;
7
- defaultValue?: string | undefined;
8
- rules?: Omit<import("react-hook-form").RegisterOptions<import("react-hook-form").FieldValues, string>, "setValueAs" | "valueAsNumber" | "valueAsDate"> | undefined;
9
- } & import("@elliemae/ds-form-input-text").DSInputTextT.Props & {
10
- labelText: string;
11
- }>;
3
+ declare const meta: {
4
+ title: string;
5
+ component: ({ name, defaultValue, rules, ...rest }: import("./index.js").InputTextProps<import("react-hook-form").FieldValues, string>) => import("react/jsx-runtime.js").JSX.Element;
6
+ };
7
+ export default meta;
8
+ type Story = StoryObj<typeof meta>;
9
+ export declare const Basic: Story;
@@ -1,11 +1,11 @@
1
1
  import type { DSMaskT } from '@elliemae/ds-controlled-form';
2
2
  import { DSInputTextT } from '@elliemae/ds-controlled-form';
3
3
  import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
4
- type ReactHookCommons<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
4
+ interface ReactHookCommons<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> {
5
5
  name: string;
6
6
  defaultValue?: string;
7
7
  rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
8
- };
8
+ }
9
9
  type CommonProps = ReactHookCommons & DSInputTextT.Props;
10
10
  export type MaskedInputTextProps = CommonProps & {
11
11
  useMask: DSMaskT.NumberHook | DSMaskT.PhoneHook | DSMaskT.Hook;
@@ -0,0 +1,10 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import '@elliemae/ds-form-input-text';
3
+ declare const meta: {
4
+ title: string;
5
+ component: ({ name, defaultValue, rules, useMask, maskOpts, ...rest }: import("./index.js").MaskedInputTextProps) => import("react/jsx-runtime.js").JSX.Element;
6
+ };
7
+ export default meta;
8
+ type Story = StoryObj<typeof meta>;
9
+ export declare const WithPercentageMask: Story;
10
+ export declare const WithMoneyMask: Story;
@@ -1,10 +1,6 @@
1
- import { Story, Meta } from '@storybook/react';
2
- declare const _default: Meta;
3
- export default _default;
4
- export declare const Basic: Story<{
5
- name: string;
6
- defaultValue?: boolean | undefined;
7
- rules?: Omit<import("react-hook-form").RegisterOptions<import("react-hook-form").FieldValues, string>, "setValueAs" | "valueAsNumber" | "valueAsDate"> | undefined;
8
- } & Omit<import("@elliemae/ds-form-toggle").DSControlledToggleT.Props, "defaultValue" | "onChange" | "selectedValues"> & {
9
- label: string;
10
- }>;
1
+ import { StoryObj, Meta } from '@storybook/react';
2
+ import { Toggle } from './index.js';
3
+ declare const meta: Meta<typeof Toggle>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Toggle>;
6
+ export declare const Basic: Story;
@@ -1,5 +1,5 @@
1
- export type WatchValueProps = {
1
+ export interface WatchValueProps {
2
2
  name: string;
3
3
  label: string;
4
- };
4
+ }
5
5
  export declare const WatchValue: ({ name, label }: WatchValueProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,11 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  import { UseFormProps, FieldValues, SubmitHandler, FormProviderProps } from 'react-hook-form';
3
- export type FormProps<TFieldValues extends FieldValues, TContext extends object = object> = {
3
+ export interface FormProps<TFieldValues extends FieldValues, TContext extends object = object> {
4
4
  classname?: string;
5
5
  reactHookFormProps?: UseFormProps<TFieldValues, TContext>;
6
6
  children: React.ReactNode;
7
7
  onSubmit?: SubmitHandler<TFieldValues>;
8
- };
8
+ }
9
9
  export type CustomFormProviderProps = FormProviderProps & {
10
10
  formProps: UseFormProps;
11
11
  };
@@ -1,4 +1,8 @@
1
- import { Meta, Story } from '@storybook/react';
2
- declare const _default: Meta;
3
- export default _default;
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: <TFieldValues extends import("react-hook-form").FieldValues = import("react-hook-form").FieldValues, TContext extends object = object>({ classname, reactHookFormProps, children, onSubmit, }: import("./index.js").FormProps<TFieldValues, TContext>) => import("react/jsx-runtime.js").JSX.Element;
5
+ };
6
+ export default meta;
7
+ type Story = StoryObj<typeof meta>;
4
8
  export declare const WatchFormControls: Story;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const FirstName: () => JSX.Element;
3
2
  export declare const DOB: () => import("react/jsx-runtime.js").JSX.Element;
4
3
  export declare const State: () => import("react/jsx-runtime.js").JSX.Element;
@@ -3,8 +3,8 @@ import { UseFormReturn, UseFormProps } from 'react-hook-form';
3
3
  export type CustomFormProviderProps = UseFormReturn & {
4
4
  formProps: UseFormProps;
5
5
  };
6
- export type FormSubmitButtonProps = {
6
+ export interface FormSubmitButtonProps {
7
7
  children: React.ReactNode;
8
8
  [x: string]: any;
9
- };
9
+ }
10
10
  export declare const FormSubmitButton: ({ ...rest }: FormSubmitButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,13 +1,10 @@
1
- import { Story, Meta } from '@storybook/react';
2
- import { FormProps } from './index.js';
3
- declare const _default: Meta;
4
- export default _default;
5
- type FormFields = {
6
- firstname: string;
7
- dob: string;
8
- state: string;
9
- marital_status: string;
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ ...rest }: import("./submit-button/index.js").FormSubmitButtonProps) => import("react/jsx-runtime.js").JSX.Element;
10
5
  };
11
- export declare const FormValidationOnBlur: Story<FormProps<FormFields>>;
12
- export declare const FormValidationOnSubmit: Story<FormProps<FormFields>>;
13
- export declare const FormValidationOnChange: Story<FormProps<FormFields>>;
6
+ export default meta;
7
+ type Story = StoryObj<typeof meta>;
8
+ export declare const FormValidationOnBlur: Story;
9
+ export declare const FormValidationOnSubmit: Story;
10
+ export declare const FormValidationOnChange: Story;
@@ -1,4 +1,6 @@
1
- import { Meta } from '@storybook/react';
2
- declare const _default: Meta;
3
- export default _default;
4
1
  export declare const Basic: () => import("react/jsx-runtime.js").JSX.Element | null;
2
+ declare const meta: {
3
+ title: string;
4
+ component: () => import("react/jsx-runtime.js").JSX.Element | null;
5
+ };
6
+ export default meta;
@@ -1,6 +1,7 @@
1
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
+ export declare const prefetchMicroFEResources: (appConfig: MicroAppConfig) => Promise<void>;
4
5
  export declare const loadApp: (appConfig: MicroAppConfig) => Promise<void>;
5
6
  export declare const unloadApp: ({ id, hostUrl, documentEle, }: {
6
7
  id: string;
@@ -3,5 +3,5 @@ export declare const getAppManifest: ({ hostUrl, manifestPath, }: {
3
3
  hostUrl?: string | undefined;
4
4
  manifestPath?: string | undefined;
5
5
  }) => Promise<Manifest>;
6
- export declare const getFullFileNameofAssetsFromManifest: (manifest: Record<string, string>, assetNames?: Array<string>) => Array<string>;
6
+ export declare const getFullFileNameofAssetsFromManifest: (manifest: Record<string, string>, assetNames?: string[]) => string[];
7
7
  export {};
@@ -4,3 +4,7 @@ export declare const addScriptToDOM: ({ name, hostUrl, documentEle }: MicroAppCo
4
4
  export declare const removeScriptFromDOM: (elementId?: string, documentEle?: Document) => Promise<void>;
5
5
  export declare const removeDynamicImportedScripts: (hostUrl: string, documentEle: HTMLDocument) => void;
6
6
  export declare const removePrefetchLinks: (hostUrl: string, documentEle: HTMLDocument) => void;
7
+ export declare const prefetchScript: ({ hostUrl, fileName, }: {
8
+ hostUrl?: string | undefined;
9
+ fileName: string;
10
+ }) => void;
@@ -3,3 +3,7 @@ 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
5
  export declare const removeDynamicImportedStyles: (hostUrl: string, documentEle: Document) => void;
6
+ export declare const prefetchStyle: ({ hostUrl, fileName, }: {
7
+ hostUrl?: string | undefined;
8
+ fileName: string;
9
+ }) => void;
@@ -1,9 +1,9 @@
1
1
  import { Theme } from '@elliemae/pui-theme';
2
2
  import { History } from 'history';
3
- export type MicroAppProps = {
3
+ export interface MicroAppProps {
4
4
  id: string;
5
5
  documentEle?: HTMLDocument | null;
6
6
  history?: History;
7
7
  theme?: Theme;
8
8
  homeRoute?: string;
9
- };
9
+ }
@@ -1,7 +1,7 @@
1
- type NavLinks = Array<{
1
+ type NavLinks = {
2
2
  id: string;
3
3
  name: string;
4
4
  path: string;
5
- }>;
5
+ }[];
6
6
  export declare const getNavigationLinks: () => NavLinks;
7
7
  export {};
@@ -1,10 +1,10 @@
1
1
  /// <reference types="react" />
2
- type IFrameProps = {
2
+ interface IFrameProps {
3
3
  id: string;
4
4
  name?: string;
5
5
  src: string;
6
6
  sandbox?: string;
7
7
  onFrameReady: (frameDocument: HTMLDocument) => void;
8
- };
8
+ }
9
9
  export declare const IFrame: import("react").NamedExoticComponent<IFrameProps>;
10
10
  export {};
@@ -1,6 +1,9 @@
1
- import { Story, Meta } from '@storybook/react';
2
- import { ErrorProps } from './index.js';
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Basic: Story<ErrorProps>;
6
- export declare const CloseModal: Story<ErrorProps>;
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ open, primaryMessage, secondaryMessage, }: import("./index.js").ErrorProps) => import("react/jsx-runtime.js").JSX.Element;
5
+ };
6
+ export default meta;
7
+ type Story = StoryObj<typeof meta>;
8
+ export declare const Basic: Story;
9
+ export declare const CloseModal: Story;
@@ -1,11 +1,10 @@
1
- import { Story, Meta } from '@storybook/react';
2
- import { NavigationPromptProps } from './index.js';
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Basic: Story<NavigationPromptProps>;
6
- export declare const Close: {
7
- (): Story<NavigationPromptProps>;
8
- args: {
9
- open: boolean;
10
- };
1
+ /// <reference types="react" />
2
+ import { StoryObj } from '@storybook/react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: import("react").NamedExoticComponent<import("./index.js").NavigationPromptProps>;
11
6
  };
7
+ export default meta;
8
+ type Story = StoryObj<typeof meta>;
9
+ export declare const Basic: Story;
10
+ export declare const Close: Story;
@@ -1,6 +1,10 @@
1
- import { Story, Meta } from '@storybook/react';
2
- import { SessionExpiryProps } from './index.js';
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Basic: Story<SessionExpiryProps>;
6
- export declare const Close: Story<SessionExpiryProps>;
1
+ /// <reference types="react" />
2
+ import { StoryObj } from '@storybook/react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: import("react").NamedExoticComponent<import("./index.js").SessionExpiryProps>;
6
+ };
7
+ export default meta;
8
+ type Story = StoryObj<typeof meta>;
9
+ export declare const Basic: Story;
10
+ export declare const Close: Story;