@elliemae/pui-app-sdk 6.0.0-alpha.2 → 6.0.0-alpha.4
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.
- package/README.md +8 -4
- package/demo/1088.29acec16.iframe.bundle.js +30 -0
- package/demo/1088.29acec16.iframe.bundle.js.br +0 -0
- package/demo/1088.29acec16.iframe.bundle.js.gz +0 -0
- package/demo/1199.9df9a3af.iframe.bundle.js +30 -0
- package/demo/1199.9df9a3af.iframe.bundle.js.br +0 -0
- package/demo/1199.9df9a3af.iframe.bundle.js.gz +0 -0
- package/demo/1372.e2754361.iframe.bundle.js +30 -0
- package/demo/1372.e2754361.iframe.bundle.js.br +0 -0
- package/demo/1372.e2754361.iframe.bundle.js.gz +0 -0
- package/demo/182.25795e09.iframe.bundle.js +3 -0
- package/demo/182.25795e09.iframe.bundle.js.br +0 -0
- package/demo/182.25795e09.iframe.bundle.js.gz +0 -0
- package/demo/197.4305f232.iframe.bundle.js +323 -0
- package/demo/197.4305f232.iframe.bundle.js.br +0 -0
- package/demo/197.4305f232.iframe.bundle.js.gz +0 -0
- package/demo/2139.d6ce163c.iframe.bundle.js +889 -0
- package/demo/2139.d6ce163c.iframe.bundle.js.br +0 -0
- package/demo/2139.d6ce163c.iframe.bundle.js.gz +0 -0
- package/demo/2167.7e435a04.iframe.bundle.js +3 -0
- package/demo/2167.7e435a04.iframe.bundle.js.br +0 -0
- package/demo/2167.7e435a04.iframe.bundle.js.gz +0 -0
- package/demo/226.28364fb9c1cd62630203.manager.bundle.js +296 -0
- package/demo/226.28364fb9c1cd62630203.manager.bundle.js.br +0 -0
- package/demo/226.28364fb9c1cd62630203.manager.bundle.js.gz +0 -0
- package/demo/2706.3ac48b3e.iframe.bundle.js +184 -0
- package/demo/2706.3ac48b3e.iframe.bundle.js.br +0 -0
- package/demo/2706.3ac48b3e.iframe.bundle.js.gz +0 -0
- package/demo/283.ee7481e9dbe9dd5be45a.manager.bundle.js +10 -0
- package/demo/283.ee7481e9dbe9dd5be45a.manager.bundle.js.br +0 -0
- package/demo/283.ee7481e9dbe9dd5be45a.manager.bundle.js.gz +0 -0
- package/demo/2833.3f16f167.iframe.bundle.js +142 -0
- package/demo/2833.3f16f167.iframe.bundle.js.br +0 -0
- package/demo/2833.3f16f167.iframe.bundle.js.gz +0 -0
- package/demo/3330.2b981d37.iframe.bundle.js +128 -0
- package/demo/3330.2b981d37.iframe.bundle.js.br +0 -0
- package/demo/3330.2b981d37.iframe.bundle.js.gz +0 -0
- package/demo/3421.cb9d4b03.iframe.bundle.js +230 -0
- package/demo/3421.cb9d4b03.iframe.bundle.js.br +0 -0
- package/demo/3421.cb9d4b03.iframe.bundle.js.gz +0 -0
- package/demo/4018.bf34442a.iframe.bundle.js +19128 -0
- package/demo/4018.bf34442a.iframe.bundle.js.br +0 -0
- package/demo/4018.bf34442a.iframe.bundle.js.gz +0 -0
- package/demo/418.59707edaa88bb92bc4b1.manager.bundle.js +1 -0
- package/demo/418.59707edaa88bb92bc4b1.manager.bundle.js.br +0 -0
- package/demo/418.59707edaa88bb92bc4b1.manager.bundle.js.gz +0 -0
- package/demo/4333.7e82f3b9.iframe.bundle.js +22 -0
- package/demo/4333.7e82f3b9.iframe.bundle.js.br +0 -0
- package/demo/4333.7e82f3b9.iframe.bundle.js.gz +0 -0
- package/demo/453.0d9c1619.iframe.bundle.js +173 -0
- package/demo/453.0d9c1619.iframe.bundle.js.br +0 -0
- package/demo/453.0d9c1619.iframe.bundle.js.gz +0 -0
- package/demo/4545.f7205e3b.iframe.bundle.js +114 -0
- package/demo/4545.f7205e3b.iframe.bundle.js.br +0 -0
- package/demo/4545.f7205e3b.iframe.bundle.js.gz +0 -0
- package/demo/4705.e8cb3817.iframe.bundle.js +706 -0
- package/demo/4705.e8cb3817.iframe.bundle.js.br +0 -0
- package/demo/4705.e8cb3817.iframe.bundle.js.gz +0 -0
- package/demo/4776.7d09bd49.iframe.bundle.js +882 -0
- package/demo/4776.7d09bd49.iframe.bundle.js.br +0 -0
- package/demo/4776.7d09bd49.iframe.bundle.js.gz +0 -0
- package/demo/4cbbcfa9ded96b660559.html +26 -0
- package/demo/63.8a4920901abfb66b6c5f.manager.bundle.js +1 -0
- package/demo/63.8a4920901abfb66b6c5f.manager.bundle.js.br +0 -0
- package/demo/63.8a4920901abfb66b6c5f.manager.bundle.js.gz +0 -0
- package/demo/6503.ab6fa585.iframe.bundle.js +1 -0
- package/demo/6503.ab6fa585.iframe.bundle.js.br +0 -0
- package/demo/6503.ab6fa585.iframe.bundle.js.gz +0 -0
- package/demo/7086.5c700657.iframe.bundle.js +312 -0
- package/demo/7086.5c700657.iframe.bundle.js.br +0 -0
- package/demo/7086.5c700657.iframe.bundle.js.gz +0 -0
- package/demo/721.06bba888.iframe.bundle.js +796 -0
- package/demo/721.06bba888.iframe.bundle.js.br +0 -0
- package/demo/721.06bba888.iframe.bundle.js.gz +0 -0
- package/demo/786.6c70980fba796c81e61a.manager.bundle.js +1168 -0
- package/demo/786.6c70980fba796c81e61a.manager.bundle.js.br +0 -0
- package/demo/786.6c70980fba796c81e61a.manager.bundle.js.gz +0 -0
- package/demo/805.5b6c22fe354791d0c1e8.manager.bundle.js +17 -0
- package/demo/805.5b6c22fe354791d0c1e8.manager.bundle.js.br +0 -0
- package/demo/805.5b6c22fe354791d0c1e8.manager.bundle.js.gz +0 -0
- package/demo/8070.093eadd6.iframe.bundle.js +1 -0
- package/demo/8070.093eadd6.iframe.bundle.js.br +0 -0
- package/demo/8070.093eadd6.iframe.bundle.js.gz +0 -0
- package/demo/8165.7add50e2.iframe.bundle.js +1 -0
- package/demo/8165.7add50e2.iframe.bundle.js.br +0 -0
- package/demo/8165.7add50e2.iframe.bundle.js.gz +0 -0
- package/demo/840.beb66c5e.iframe.bundle.js +174 -0
- package/demo/840.beb66c5e.iframe.bundle.js.br +0 -0
- package/demo/840.beb66c5e.iframe.bundle.js.gz +0 -0
- package/demo/8553.243669a4.iframe.bundle.js +26 -0
- package/demo/8553.243669a4.iframe.bundle.js.br +0 -0
- package/demo/8553.243669a4.iframe.bundle.js.gz +0 -0
- package/demo/9046.8a9f60b2.iframe.bundle.js +109 -0
- package/demo/9046.8a9f60b2.iframe.bundle.js.br +0 -0
- package/demo/9046.8a9f60b2.iframe.bundle.js.gz +0 -0
- package/demo/929.9310f611b7d9886ddb18.manager.bundle.js +2 -0
- package/demo/929.9310f611b7d9886ddb18.manager.bundle.js.br +0 -0
- package/demo/929.9310f611b7d9886ddb18.manager.bundle.js.gz +0 -0
- package/demo/9332.04709039.iframe.bundle.js +717 -0
- package/demo/9332.04709039.iframe.bundle.js.br +0 -0
- package/demo/9332.04709039.iframe.bundle.js.gz +0 -0
- package/demo/9431.f74d6cf1.iframe.bundle.js +152 -0
- package/demo/9431.f74d6cf1.iframe.bundle.js.br +0 -0
- package/demo/9431.f74d6cf1.iframe.bundle.js.gz +0 -0
- package/demo/9488.af21db24.iframe.bundle.js +214 -0
- package/demo/9488.af21db24.iframe.bundle.js.br +0 -0
- package/demo/9488.af21db24.iframe.bundle.js.gz +0 -0
- package/demo/9576.77449673.iframe.bundle.js +1 -0
- package/demo/9576.77449673.iframe.bundle.js.br +0 -0
- package/demo/9576.77449673.iframe.bundle.js.gz +0 -0
- package/demo/993.4602c8bbb99f9be8eaa2.manager.bundle.js +15 -0
- package/demo/993.4602c8bbb99f9be8eaa2.manager.bundle.js.br +0 -0
- package/demo/993.4602c8bbb99f9be8eaa2.manager.bundle.js.gz +0 -0
- package/demo/9965.7e432ba2.iframe.bundle.js +2 -0
- package/demo/9965.7e432ba2.iframe.bundle.js.br +0 -0
- package/demo/9965.7e432ba2.iframe.bundle.js.gz +0 -0
- package/demo/app.config.json +127 -0
- package/demo/docs/1088.29acec16.iframe.bundle.js +30 -0
- package/demo/docs/1088.29acec16.iframe.bundle.js.br +0 -0
- package/demo/docs/1088.29acec16.iframe.bundle.js.gz +0 -0
- package/demo/docs/1199.9df9a3af.iframe.bundle.js +30 -0
- package/demo/docs/1199.9df9a3af.iframe.bundle.js.br +0 -0
- package/demo/docs/1199.9df9a3af.iframe.bundle.js.gz +0 -0
- package/demo/docs/1372.e2754361.iframe.bundle.js +30 -0
- package/demo/docs/1372.e2754361.iframe.bundle.js.br +0 -0
- package/demo/docs/1372.e2754361.iframe.bundle.js.gz +0 -0
- package/demo/docs/182.25795e09.iframe.bundle.js +3 -0
- package/demo/docs/182.25795e09.iframe.bundle.js.br +0 -0
- package/demo/docs/182.25795e09.iframe.bundle.js.gz +0 -0
- package/demo/docs/197.4305f232.iframe.bundle.js +323 -0
- package/demo/docs/197.4305f232.iframe.bundle.js.br +0 -0
- package/demo/docs/197.4305f232.iframe.bundle.js.gz +0 -0
- package/demo/docs/2139.d6ce163c.iframe.bundle.js +889 -0
- package/demo/docs/2139.d6ce163c.iframe.bundle.js.br +0 -0
- package/demo/docs/2139.d6ce163c.iframe.bundle.js.gz +0 -0
- package/demo/docs/2167.7e435a04.iframe.bundle.js +3 -0
- package/demo/docs/2167.7e435a04.iframe.bundle.js.br +0 -0
- package/demo/docs/2167.7e435a04.iframe.bundle.js.gz +0 -0
- package/demo/docs/226.28364fb9c1cd62630203.manager.bundle.js +296 -0
- package/demo/docs/226.28364fb9c1cd62630203.manager.bundle.js.br +0 -0
- package/demo/docs/226.28364fb9c1cd62630203.manager.bundle.js.gz +0 -0
- package/demo/docs/2706.3ac48b3e.iframe.bundle.js +184 -0
- package/demo/docs/2706.3ac48b3e.iframe.bundle.js.br +0 -0
- package/demo/docs/2706.3ac48b3e.iframe.bundle.js.gz +0 -0
- package/demo/docs/283.ee7481e9dbe9dd5be45a.manager.bundle.js +10 -0
- package/demo/docs/283.ee7481e9dbe9dd5be45a.manager.bundle.js.br +0 -0
- package/demo/docs/283.ee7481e9dbe9dd5be45a.manager.bundle.js.gz +0 -0
- package/demo/docs/2833.3f16f167.iframe.bundle.js +142 -0
- package/demo/docs/2833.3f16f167.iframe.bundle.js.br +0 -0
- package/demo/docs/2833.3f16f167.iframe.bundle.js.gz +0 -0
- package/demo/docs/3330.2b981d37.iframe.bundle.js +128 -0
- package/demo/docs/3330.2b981d37.iframe.bundle.js.br +0 -0
- package/demo/docs/3330.2b981d37.iframe.bundle.js.gz +0 -0
- package/demo/docs/3421.cb9d4b03.iframe.bundle.js +230 -0
- package/demo/docs/3421.cb9d4b03.iframe.bundle.js.br +0 -0
- package/demo/docs/3421.cb9d4b03.iframe.bundle.js.gz +0 -0
- package/demo/docs/4018.bf34442a.iframe.bundle.js +19128 -0
- package/demo/docs/4018.bf34442a.iframe.bundle.js.br +0 -0
- package/demo/docs/4018.bf34442a.iframe.bundle.js.gz +0 -0
- package/demo/docs/418.59707edaa88bb92bc4b1.manager.bundle.js +1 -0
- package/demo/docs/418.59707edaa88bb92bc4b1.manager.bundle.js.br +0 -0
- package/demo/docs/418.59707edaa88bb92bc4b1.manager.bundle.js.gz +0 -0
- package/demo/docs/4333.7e82f3b9.iframe.bundle.js +22 -0
- package/demo/docs/4333.7e82f3b9.iframe.bundle.js.br +0 -0
- package/demo/docs/4333.7e82f3b9.iframe.bundle.js.gz +0 -0
- package/demo/docs/453.0d9c1619.iframe.bundle.js +173 -0
- package/demo/docs/453.0d9c1619.iframe.bundle.js.br +0 -0
- package/demo/docs/453.0d9c1619.iframe.bundle.js.gz +0 -0
- package/demo/docs/4545.f7205e3b.iframe.bundle.js +114 -0
- package/demo/docs/4545.f7205e3b.iframe.bundle.js.br +0 -0
- package/demo/docs/4545.f7205e3b.iframe.bundle.js.gz +0 -0
- package/demo/docs/4705.e8cb3817.iframe.bundle.js +706 -0
- package/demo/docs/4705.e8cb3817.iframe.bundle.js.br +0 -0
- package/demo/docs/4705.e8cb3817.iframe.bundle.js.gz +0 -0
- package/demo/docs/4776.7d09bd49.iframe.bundle.js +882 -0
- package/demo/docs/4776.7d09bd49.iframe.bundle.js.br +0 -0
- package/demo/docs/4776.7d09bd49.iframe.bundle.js.gz +0 -0
- package/demo/docs/4cbbcfa9ded96b660559.html +26 -0
- package/demo/docs/63.8a4920901abfb66b6c5f.manager.bundle.js +1 -0
- package/demo/docs/63.8a4920901abfb66b6c5f.manager.bundle.js.br +0 -0
- package/demo/docs/63.8a4920901abfb66b6c5f.manager.bundle.js.gz +0 -0
- package/demo/docs/6503.ab6fa585.iframe.bundle.js +1 -0
- package/demo/docs/6503.ab6fa585.iframe.bundle.js.br +0 -0
- package/demo/docs/6503.ab6fa585.iframe.bundle.js.gz +0 -0
- package/demo/docs/7086.5c700657.iframe.bundle.js +312 -0
- package/demo/docs/7086.5c700657.iframe.bundle.js.br +0 -0
- package/demo/docs/7086.5c700657.iframe.bundle.js.gz +0 -0
- package/demo/docs/721.06bba888.iframe.bundle.js +796 -0
- package/demo/docs/721.06bba888.iframe.bundle.js.br +0 -0
- package/demo/docs/721.06bba888.iframe.bundle.js.gz +0 -0
- package/demo/docs/786.6c70980fba796c81e61a.manager.bundle.js +1168 -0
- package/demo/docs/786.6c70980fba796c81e61a.manager.bundle.js.br +0 -0
- package/demo/docs/786.6c70980fba796c81e61a.manager.bundle.js.gz +0 -0
- package/demo/docs/805.5b6c22fe354791d0c1e8.manager.bundle.js +17 -0
- package/demo/docs/805.5b6c22fe354791d0c1e8.manager.bundle.js.br +0 -0
- package/demo/docs/805.5b6c22fe354791d0c1e8.manager.bundle.js.gz +0 -0
- package/demo/docs/8070.093eadd6.iframe.bundle.js +1 -0
- package/demo/docs/8070.093eadd6.iframe.bundle.js.br +0 -0
- package/demo/docs/8070.093eadd6.iframe.bundle.js.gz +0 -0
- package/demo/docs/8165.7add50e2.iframe.bundle.js +1 -0
- package/demo/docs/8165.7add50e2.iframe.bundle.js.br +0 -0
- package/demo/docs/8165.7add50e2.iframe.bundle.js.gz +0 -0
- package/demo/docs/840.beb66c5e.iframe.bundle.js +174 -0
- package/demo/docs/840.beb66c5e.iframe.bundle.js.br +0 -0
- package/demo/docs/840.beb66c5e.iframe.bundle.js.gz +0 -0
- package/demo/docs/8553.243669a4.iframe.bundle.js +26 -0
- package/demo/docs/8553.243669a4.iframe.bundle.js.br +0 -0
- package/demo/docs/8553.243669a4.iframe.bundle.js.gz +0 -0
- package/demo/docs/9046.8a9f60b2.iframe.bundle.js +109 -0
- package/demo/docs/9046.8a9f60b2.iframe.bundle.js.br +0 -0
- package/demo/docs/9046.8a9f60b2.iframe.bundle.js.gz +0 -0
- package/demo/docs/929.9310f611b7d9886ddb18.manager.bundle.js +2 -0
- package/demo/docs/929.9310f611b7d9886ddb18.manager.bundle.js.br +0 -0
- package/demo/docs/929.9310f611b7d9886ddb18.manager.bundle.js.gz +0 -0
- package/demo/docs/9332.04709039.iframe.bundle.js +717 -0
- package/demo/docs/9332.04709039.iframe.bundle.js.br +0 -0
- package/demo/docs/9332.04709039.iframe.bundle.js.gz +0 -0
- package/demo/docs/9431.f74d6cf1.iframe.bundle.js +152 -0
- package/demo/docs/9431.f74d6cf1.iframe.bundle.js.br +0 -0
- package/demo/docs/9431.f74d6cf1.iframe.bundle.js.gz +0 -0
- package/demo/docs/9488.af21db24.iframe.bundle.js +214 -0
- package/demo/docs/9488.af21db24.iframe.bundle.js.br +0 -0
- package/demo/docs/9488.af21db24.iframe.bundle.js.gz +0 -0
- package/demo/docs/9576.77449673.iframe.bundle.js +1 -0
- package/demo/docs/9576.77449673.iframe.bundle.js.br +0 -0
- package/demo/docs/9576.77449673.iframe.bundle.js.gz +0 -0
- package/demo/docs/993.4602c8bbb99f9be8eaa2.manager.bundle.js +15 -0
- package/demo/docs/993.4602c8bbb99f9be8eaa2.manager.bundle.js.br +0 -0
- package/demo/docs/993.4602c8bbb99f9be8eaa2.manager.bundle.js.gz +0 -0
- package/demo/docs/9965.7e432ba2.iframe.bundle.js +2 -0
- package/demo/docs/9965.7e432ba2.iframe.bundle.js.br +0 -0
- package/demo/docs/9965.7e432ba2.iframe.bundle.js.gz +0 -0
- package/demo/docs/app.config.json +127 -0
- package/demo/docs/favicon.ico +0 -0
- package/demo/docs/iframe.html +377 -0
- package/demo/docs/index.html +59 -0
- package/demo/docs/main.0a93f2d0ad0dd1fa412d.manager.bundle.js +1 -0
- package/demo/docs/main.0a93f2d0ad0dd1fa412d.manager.bundle.js.br +0 -0
- package/demo/docs/main.0a93f2d0ad0dd1fa412d.manager.bundle.js.gz +0 -0
- package/demo/docs/main.a95267f2.iframe.bundle.js +5 -0
- package/demo/docs/main.a95267f2.iframe.bundle.js.br +0 -0
- package/demo/docs/main.a95267f2.iframe.bundle.js.gz +0 -0
- package/demo/docs/project.json +1 -0
- package/demo/docs/runtime~main.4e5ba139d118c130bf55.manager.bundle.js +2 -0
- package/demo/docs/runtime~main.4e5ba139d118c130bf55.manager.bundle.js.br +0 -0
- package/demo/docs/runtime~main.4e5ba139d118c130bf55.manager.bundle.js.gz +0 -0
- package/demo/docs/runtime~main.e8cb76b7.iframe.bundle.js +2 -0
- package/demo/docs/runtime~main.e8cb76b7.iframe.bundle.js.br +0 -0
- package/demo/docs/runtime~main.e8cb76b7.iframe.bundle.js.gz +0 -0
- package/demo/docs/static/media/ProximaLight.1c840f2e.woff +0 -0
- package/demo/docs/static/media/ProximaLightItalic.26edbdf9.woff +0 -0
- package/demo/docs/static/media/ProximaMedium.8648a446.woff +0 -0
- package/demo/docs/static/media/ProximaMediumItalic.6dd91f36.woff +0 -0
- package/demo/docs/static/media/ProximaNovaBlack.f1ff9416.woff +0 -0
- package/demo/docs/static/media/ProximaNovaBlackItalic.aa93a937.woff +0 -0
- package/demo/docs/static/media/ProximaNovaBold.690419e8.woff +0 -0
- package/demo/docs/static/media/ProximaNovaBoldItalic.f322b739.woff +0 -0
- package/demo/docs/static/media/ProximaNovaExtrabold.404c9e74.woff +0 -0
- package/demo/docs/static/media/ProximaNovaExtraboldItalic.d97ffa0f.woff +0 -0
- package/demo/docs/static/media/ProximaNovaRegular.7abe9fa6.woff +0 -0
- package/demo/docs/static/media/ProximaNovaRegularItalic.1073d28d.woff +0 -0
- package/demo/docs/static/media/ProximaNovaSemibold.1b57a486.woff +0 -0
- package/demo/docs/static/media/ProximaNovaSemiboldItalic.47673788.woff +0 -0
- package/demo/docs/static/media/ProximaNovaThin.730c623c.woff +0 -0
- package/demo/docs/static/media/ProximaNovaThinItalic.2915a90e.woff +0 -0
- package/demo/docs/stories.json +1 -0
- package/demo/docs/view-breakpoint-index-stories.725b4bf2.iframe.bundle.js +101 -0
- package/demo/docs/view-breakpoint-index-stories.725b4bf2.iframe.bundle.js.br +0 -0
- package/demo/docs/view-breakpoint-index-stories.725b4bf2.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-error-toast-index-stories.abbda66b.iframe.bundle.js +377 -0
- package/demo/docs/view-error-toast-index-stories.abbda66b.iframe.bundle.js.br +0 -0
- package/demo/docs/view-error-toast-index-stories.abbda66b.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-autocomplete-advanced-autocomplete-stories.2657a5b3.iframe.bundle.js +669 -0
- package/demo/docs/view-fields-autocomplete-advanced-autocomplete-stories.2657a5b3.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-autocomplete-advanced-autocomplete-stories.2657a5b3.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-autocomplete-async-suggestions-autocomplete-stories.8fd7b479.iframe.bundle.js +477 -0
- package/demo/docs/view-fields-autocomplete-async-suggestions-autocomplete-stories.8fd7b479.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-autocomplete-async-suggestions-autocomplete-stories.8fd7b479.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-autocomplete-index-stories.041a9ac8.iframe.bundle.js +245 -0
- package/demo/docs/view-fields-autocomplete-index-stories.041a9ac8.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-autocomplete-index-stories.041a9ac8.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-check-box-index-stories.5d87b7de.iframe.bundle.js +181 -0
- package/demo/docs/view-fields-check-box-index-stories.5d87b7de.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-check-box-index-stories.5d87b7de.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-check-box-set-value-stories.1b8a1965.iframe.bundle.js +237 -0
- package/demo/docs/view-fields-check-box-set-value-stories.1b8a1965.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-check-box-set-value-stories.1b8a1965.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-combo-box-index-stories.cd3cf8c5.iframe.bundle.js +209 -0
- package/demo/docs/view-fields-combo-box-index-stories.cd3cf8c5.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-combo-box-index-stories.cd3cf8c5.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-combo-box-v3-index-stories.18f5a0af.iframe.bundle.js +229 -0
- package/demo/docs/view-fields-combo-box-v3-index-stories.18f5a0af.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-combo-box-v3-index-stories.18f5a0af.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-date-input-index-stories.e65fc9f7.iframe.bundle.js +189 -0
- package/demo/docs/view-fields-date-input-index-stories.e65fc9f7.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-date-input-index-stories.e65fc9f7.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-date-picker-index-stories.ec4c16fc.iframe.bundle.js +189 -0
- package/demo/docs/view-fields-date-picker-index-stories.ec4c16fc.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-date-picker-index-stories.ec4c16fc.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-date-range-picker-index-stories.d1dfa972.iframe.bundle.js +161 -0
- package/demo/docs/view-fields-date-range-picker-index-stories.d1dfa972.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-date-range-picker-index-stories.d1dfa972.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-date-time-picker-index-stories.de2037ca.iframe.bundle.js +649 -0
- package/demo/docs/view-fields-date-time-picker-index-stories.de2037ca.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-date-time-picker-index-stories.de2037ca.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-form-item-layout-index-stories.64fad387.iframe.bundle.js +149 -0
- package/demo/docs/view-fields-form-item-layout-index-stories.64fad387.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-form-item-layout-index-stories.64fad387.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-form-layout-block-item-index-stories.7a0edb4a.iframe.bundle.js +266 -0
- package/demo/docs/view-fields-form-layout-block-item-index-stories.7a0edb4a.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-form-layout-block-item-index-stories.7a0edb4a.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-input-mask-index-stories.88d48f48.iframe.bundle.js +225 -0
- package/demo/docs/view-fields-input-mask-index-stories.88d48f48.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-input-mask-index-stories.88d48f48.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-input-text-index-stories.ecfc7817.iframe.bundle.js +161 -0
- package/demo/docs/view-fields-input-text-index-stories.ecfc7817.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-input-text-index-stories.ecfc7817.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-large-text-box-index-stories.91bc0b9e.iframe.bundle.js +254 -0
- package/demo/docs/view-fields-large-text-box-index-stories.91bc0b9e.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-large-text-box-index-stories.91bc0b9e.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-masked-input-text-with-money-mask-stories.70dc56c5.iframe.bundle.js +213 -0
- package/demo/docs/view-fields-masked-input-text-with-money-mask-stories.70dc56c5.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-masked-input-text-with-money-mask-stories.70dc56c5.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-masked-input-text-with-percentage-mask-stories.42e47cb4.iframe.bundle.js +185 -0
- package/demo/docs/view-fields-masked-input-text-with-percentage-mask-stories.42e47cb4.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-masked-input-text-with-percentage-mask-stories.42e47cb4.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-radio-group-index-stories.2acd07e1.iframe.bundle.js +281 -0
- package/demo/docs/view-fields-radio-group-index-stories.2acd07e1.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-radio-group-index-stories.2acd07e1.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-radio-index-stories.24ea59f9.iframe.bundle.js +342 -0
- package/demo/docs/view-fields-radio-index-stories.24ea59f9.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-radio-index-stories.24ea59f9.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-radio-set-value-stories.e4be5a2e.iframe.bundle.js +366 -0
- package/demo/docs/view-fields-radio-set-value-stories.e4be5a2e.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-radio-set-value-stories.e4be5a2e.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-text-box-index-stories.2361b028.iframe.bundle.js +258 -0
- package/demo/docs/view-fields-text-box-index-stories.2361b028.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-text-box-index-stories.2361b028.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-toggle-index-stories.49385e35.iframe.bundle.js +145 -0
- package/demo/docs/view-fields-toggle-index-stories.49385e35.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-toggle-index-stories.49385e35.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-form-index-stories.662377c2.iframe.bundle.js +373 -0
- package/demo/docs/view-form-index-stories.662377c2.iframe.bundle.js.br +0 -0
- package/demo/docs/view-form-index-stories.662377c2.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-form-usecases-stories.c30ac9ae.iframe.bundle.js +305 -0
- package/demo/docs/view-form-usecases-stories.c30ac9ae.iframe.bundle.js.br +0 -0
- package/demo/docs/view-form-usecases-stories.c30ac9ae.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-intro-stories-mdx.1e4b9514.iframe.bundle.js +6 -0
- package/demo/docs/view-intro-stories-mdx.1e4b9514.iframe.bundle.js.br +0 -0
- package/demo/docs/view-intro-stories-mdx.1e4b9514.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-live-message-index-stories.8971291c.iframe.bundle.js +169 -0
- package/demo/docs/view-live-message-index-stories.8971291c.iframe.bundle.js.br +0 -0
- package/demo/docs/view-live-message-index-stories.8971291c.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-modals-error-index-stories.ec19ae67.iframe.bundle.js +93 -0
- package/demo/docs/view-modals-error-index-stories.ec19ae67.iframe.bundle.js.br +0 -0
- package/demo/docs/view-modals-error-index-stories.ec19ae67.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-modals-navigation-prompt-index-stories.08b41d76.iframe.bundle.js +101 -0
- package/demo/docs/view-modals-navigation-prompt-index-stories.08b41d76.iframe.bundle.js.br +0 -0
- package/demo/docs/view-modals-navigation-prompt-index-stories.08b41d76.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-modals-session-expiry-index-stories.10053489.iframe.bundle.js +101 -0
- package/demo/docs/view-modals-session-expiry-index-stories.10053489.iframe.bundle.js.br +0 -0
- package/demo/docs/view-modals-session-expiry-index-stories.10053489.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-session-timeout-index-stories.c15fb2ef.iframe.bundle.js +53 -0
- package/demo/docs/view-session-timeout-index-stories.c15fb2ef.iframe.bundle.js.br +0 -0
- package/demo/docs/view-session-timeout-index-stories.c15fb2ef.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-wait-message-index-stories.4b3880d6.iframe.bundle.js +177 -0
- package/demo/docs/view-wait-message-index-stories.4b3880d6.iframe.bundle.js.br +0 -0
- package/demo/docs/view-wait-message-index-stories.4b3880d6.iframe.bundle.js.gz +0 -0
- package/demo/favicon.ico +0 -0
- package/demo/iframe.html +377 -0
- package/demo/index.html +59 -0
- package/demo/main.0a93f2d0ad0dd1fa412d.manager.bundle.js +1 -0
- package/demo/main.0a93f2d0ad0dd1fa412d.manager.bundle.js.br +0 -0
- package/demo/main.0a93f2d0ad0dd1fa412d.manager.bundle.js.gz +0 -0
- package/demo/main.a95267f2.iframe.bundle.js +5 -0
- package/demo/main.a95267f2.iframe.bundle.js.br +0 -0
- package/demo/main.a95267f2.iframe.bundle.js.gz +0 -0
- package/demo/project.json +1 -0
- package/demo/runtime~main.4e5ba139d118c130bf55.manager.bundle.js +2 -0
- package/demo/runtime~main.4e5ba139d118c130bf55.manager.bundle.js.br +0 -0
- package/demo/runtime~main.4e5ba139d118c130bf55.manager.bundle.js.gz +0 -0
- package/demo/runtime~main.e8cb76b7.iframe.bundle.js +2 -0
- package/demo/runtime~main.e8cb76b7.iframe.bundle.js.br +0 -0
- package/demo/runtime~main.e8cb76b7.iframe.bundle.js.gz +0 -0
- package/demo/static/media/ProximaLight.1c840f2e.woff +0 -0
- package/demo/static/media/ProximaLightItalic.26edbdf9.woff +0 -0
- package/demo/static/media/ProximaMedium.8648a446.woff +0 -0
- package/demo/static/media/ProximaMediumItalic.6dd91f36.woff +0 -0
- package/demo/static/media/ProximaNovaBlack.f1ff9416.woff +0 -0
- package/demo/static/media/ProximaNovaBlackItalic.aa93a937.woff +0 -0
- package/demo/static/media/ProximaNovaBold.690419e8.woff +0 -0
- package/demo/static/media/ProximaNovaBoldItalic.f322b739.woff +0 -0
- package/demo/static/media/ProximaNovaExtrabold.404c9e74.woff +0 -0
- package/demo/static/media/ProximaNovaExtraboldItalic.d97ffa0f.woff +0 -0
- package/demo/static/media/ProximaNovaRegular.7abe9fa6.woff +0 -0
- package/demo/static/media/ProximaNovaRegularItalic.1073d28d.woff +0 -0
- package/demo/static/media/ProximaNovaSemibold.1b57a486.woff +0 -0
- package/demo/static/media/ProximaNovaSemiboldItalic.47673788.woff +0 -0
- package/demo/static/media/ProximaNovaThin.730c623c.woff +0 -0
- package/demo/static/media/ProximaNovaThinItalic.2915a90e.woff +0 -0
- package/demo/stories.json +1 -0
- package/demo/view-breakpoint-index-stories.725b4bf2.iframe.bundle.js +101 -0
- package/demo/view-breakpoint-index-stories.725b4bf2.iframe.bundle.js.br +0 -0
- package/demo/view-breakpoint-index-stories.725b4bf2.iframe.bundle.js.gz +0 -0
- package/demo/view-error-toast-index-stories.abbda66b.iframe.bundle.js +377 -0
- package/demo/view-error-toast-index-stories.abbda66b.iframe.bundle.js.br +0 -0
- package/demo/view-error-toast-index-stories.abbda66b.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-autocomplete-advanced-autocomplete-stories.2657a5b3.iframe.bundle.js +669 -0
- package/demo/view-fields-autocomplete-advanced-autocomplete-stories.2657a5b3.iframe.bundle.js.br +0 -0
- package/demo/view-fields-autocomplete-advanced-autocomplete-stories.2657a5b3.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-autocomplete-async-suggestions-autocomplete-stories.8fd7b479.iframe.bundle.js +477 -0
- package/demo/view-fields-autocomplete-async-suggestions-autocomplete-stories.8fd7b479.iframe.bundle.js.br +0 -0
- package/demo/view-fields-autocomplete-async-suggestions-autocomplete-stories.8fd7b479.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-autocomplete-index-stories.041a9ac8.iframe.bundle.js +245 -0
- package/demo/view-fields-autocomplete-index-stories.041a9ac8.iframe.bundle.js.br +0 -0
- package/demo/view-fields-autocomplete-index-stories.041a9ac8.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-check-box-index-stories.5d87b7de.iframe.bundle.js +181 -0
- package/demo/view-fields-check-box-index-stories.5d87b7de.iframe.bundle.js.br +0 -0
- package/demo/view-fields-check-box-index-stories.5d87b7de.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-check-box-set-value-stories.1b8a1965.iframe.bundle.js +237 -0
- package/demo/view-fields-check-box-set-value-stories.1b8a1965.iframe.bundle.js.br +0 -0
- package/demo/view-fields-check-box-set-value-stories.1b8a1965.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-combo-box-index-stories.cd3cf8c5.iframe.bundle.js +209 -0
- package/demo/view-fields-combo-box-index-stories.cd3cf8c5.iframe.bundle.js.br +0 -0
- package/demo/view-fields-combo-box-index-stories.cd3cf8c5.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-combo-box-v3-index-stories.18f5a0af.iframe.bundle.js +229 -0
- package/demo/view-fields-combo-box-v3-index-stories.18f5a0af.iframe.bundle.js.br +0 -0
- package/demo/view-fields-combo-box-v3-index-stories.18f5a0af.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-date-input-index-stories.e65fc9f7.iframe.bundle.js +189 -0
- package/demo/view-fields-date-input-index-stories.e65fc9f7.iframe.bundle.js.br +0 -0
- package/demo/view-fields-date-input-index-stories.e65fc9f7.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-date-picker-index-stories.ec4c16fc.iframe.bundle.js +189 -0
- package/demo/view-fields-date-picker-index-stories.ec4c16fc.iframe.bundle.js.br +0 -0
- package/demo/view-fields-date-picker-index-stories.ec4c16fc.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-date-range-picker-index-stories.d1dfa972.iframe.bundle.js +161 -0
- package/demo/view-fields-date-range-picker-index-stories.d1dfa972.iframe.bundle.js.br +0 -0
- package/demo/view-fields-date-range-picker-index-stories.d1dfa972.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-date-time-picker-index-stories.de2037ca.iframe.bundle.js +649 -0
- package/demo/view-fields-date-time-picker-index-stories.de2037ca.iframe.bundle.js.br +0 -0
- package/demo/view-fields-date-time-picker-index-stories.de2037ca.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-form-item-layout-index-stories.64fad387.iframe.bundle.js +149 -0
- package/demo/view-fields-form-item-layout-index-stories.64fad387.iframe.bundle.js.br +0 -0
- package/demo/view-fields-form-item-layout-index-stories.64fad387.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-form-layout-block-item-index-stories.7a0edb4a.iframe.bundle.js +266 -0
- package/demo/view-fields-form-layout-block-item-index-stories.7a0edb4a.iframe.bundle.js.br +0 -0
- package/demo/view-fields-form-layout-block-item-index-stories.7a0edb4a.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-input-mask-index-stories.88d48f48.iframe.bundle.js +225 -0
- package/demo/view-fields-input-mask-index-stories.88d48f48.iframe.bundle.js.br +0 -0
- package/demo/view-fields-input-mask-index-stories.88d48f48.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-input-text-index-stories.ecfc7817.iframe.bundle.js +161 -0
- package/demo/view-fields-input-text-index-stories.ecfc7817.iframe.bundle.js.br +0 -0
- package/demo/view-fields-input-text-index-stories.ecfc7817.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-large-text-box-index-stories.91bc0b9e.iframe.bundle.js +254 -0
- package/demo/view-fields-large-text-box-index-stories.91bc0b9e.iframe.bundle.js.br +0 -0
- package/demo/view-fields-large-text-box-index-stories.91bc0b9e.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-masked-input-text-with-money-mask-stories.70dc56c5.iframe.bundle.js +213 -0
- package/demo/view-fields-masked-input-text-with-money-mask-stories.70dc56c5.iframe.bundle.js.br +0 -0
- package/demo/view-fields-masked-input-text-with-money-mask-stories.70dc56c5.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-masked-input-text-with-percentage-mask-stories.42e47cb4.iframe.bundle.js +185 -0
- package/demo/view-fields-masked-input-text-with-percentage-mask-stories.42e47cb4.iframe.bundle.js.br +0 -0
- package/demo/view-fields-masked-input-text-with-percentage-mask-stories.42e47cb4.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-radio-group-index-stories.2acd07e1.iframe.bundle.js +281 -0
- package/demo/view-fields-radio-group-index-stories.2acd07e1.iframe.bundle.js.br +0 -0
- package/demo/view-fields-radio-group-index-stories.2acd07e1.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-radio-index-stories.24ea59f9.iframe.bundle.js +342 -0
- package/demo/view-fields-radio-index-stories.24ea59f9.iframe.bundle.js.br +0 -0
- package/demo/view-fields-radio-index-stories.24ea59f9.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-radio-set-value-stories.e4be5a2e.iframe.bundle.js +366 -0
- package/demo/view-fields-radio-set-value-stories.e4be5a2e.iframe.bundle.js.br +0 -0
- package/demo/view-fields-radio-set-value-stories.e4be5a2e.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-text-box-index-stories.2361b028.iframe.bundle.js +258 -0
- package/demo/view-fields-text-box-index-stories.2361b028.iframe.bundle.js.br +0 -0
- package/demo/view-fields-text-box-index-stories.2361b028.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-toggle-index-stories.49385e35.iframe.bundle.js +145 -0
- package/demo/view-fields-toggle-index-stories.49385e35.iframe.bundle.js.br +0 -0
- package/demo/view-fields-toggle-index-stories.49385e35.iframe.bundle.js.gz +0 -0
- package/demo/view-form-index-stories.662377c2.iframe.bundle.js +373 -0
- package/demo/view-form-index-stories.662377c2.iframe.bundle.js.br +0 -0
- package/demo/view-form-index-stories.662377c2.iframe.bundle.js.gz +0 -0
- package/demo/view-form-usecases-stories.c30ac9ae.iframe.bundle.js +305 -0
- package/demo/view-form-usecases-stories.c30ac9ae.iframe.bundle.js.br +0 -0
- package/demo/view-form-usecases-stories.c30ac9ae.iframe.bundle.js.gz +0 -0
- package/demo/view-intro-stories-mdx.1e4b9514.iframe.bundle.js +6 -0
- package/demo/view-intro-stories-mdx.1e4b9514.iframe.bundle.js.br +0 -0
- package/demo/view-intro-stories-mdx.1e4b9514.iframe.bundle.js.gz +0 -0
- package/demo/view-live-message-index-stories.8971291c.iframe.bundle.js +169 -0
- package/demo/view-live-message-index-stories.8971291c.iframe.bundle.js.br +0 -0
- package/demo/view-live-message-index-stories.8971291c.iframe.bundle.js.gz +0 -0
- package/demo/view-modals-error-index-stories.ec19ae67.iframe.bundle.js +93 -0
- package/demo/view-modals-error-index-stories.ec19ae67.iframe.bundle.js.br +0 -0
- package/demo/view-modals-error-index-stories.ec19ae67.iframe.bundle.js.gz +0 -0
- package/demo/view-modals-navigation-prompt-index-stories.08b41d76.iframe.bundle.js +101 -0
- package/demo/view-modals-navigation-prompt-index-stories.08b41d76.iframe.bundle.js.br +0 -0
- package/demo/view-modals-navigation-prompt-index-stories.08b41d76.iframe.bundle.js.gz +0 -0
- package/demo/view-modals-session-expiry-index-stories.10053489.iframe.bundle.js +101 -0
- package/demo/view-modals-session-expiry-index-stories.10053489.iframe.bundle.js.br +0 -0
- package/demo/view-modals-session-expiry-index-stories.10053489.iframe.bundle.js.gz +0 -0
- package/demo/view-session-timeout-index-stories.c15fb2ef.iframe.bundle.js +53 -0
- package/demo/view-session-timeout-index-stories.c15fb2ef.iframe.bundle.js.br +0 -0
- package/demo/view-session-timeout-index-stories.c15fb2ef.iframe.bundle.js.gz +0 -0
- package/demo/view-wait-message-index-stories.4b3880d6.iframe.bundle.js +177 -0
- package/demo/view-wait-message-index-stories.4b3880d6.iframe.bundle.js.br +0 -0
- package/demo/view-wait-message-index-stories.4b3880d6.iframe.bundle.js.gz +0 -0
- package/dist/cjs/analytics/index.js +4 -3
- package/dist/cjs/analytics/user-session-event.js +3 -3
- package/dist/cjs/api/users/index.js +6 -4
- package/dist/cjs/communication/http-client/baseQuery.js +17 -3
- package/dist/cjs/communication/http-client/index.js +9 -3
- package/dist/cjs/data/auth/actions.js +20 -4
- package/dist/cjs/data/breakpoint/index.js +1 -0
- package/dist/cjs/data/webpack-hmr.js +3 -4
- package/dist/cjs/index.js +11 -6
- package/dist/cjs/package.json +4 -1
- package/dist/cjs/utils/app-config/config.js +6 -4
- package/dist/cjs/utils/app-config/index.js +3 -4
- package/dist/cjs/utils/auth/index.js +85 -26
- package/dist/cjs/utils/auth/loginParams.js +12 -1
- package/dist/cjs/utils/constants.js +2 -0
- package/dist/cjs/utils/decorators/classDecorators.js +1 -1
- package/dist/cjs/utils/decorators/functionDecorators.js +98 -0
- package/dist/cjs/utils/decorators/index.js +4 -1
- package/dist/cjs/utils/helpers.js +16 -0
- package/dist/cjs/utils/logrocket.js +45 -0
- package/dist/cjs/utils/micro-frontend/app-bridge.js +45 -0
- package/dist/cjs/utils/micro-frontend/guest.js +276 -35
- package/dist/cjs/utils/micro-frontend/host.js +68 -17
- package/dist/cjs/utils/micro-frontend/index.js +5 -3
- package/dist/cjs/utils/micro-frontend/module-so.js +92 -0
- package/dist/cjs/utils/micro-frontend/ssf-host.js +44 -0
- package/dist/cjs/utils/micro-frontend/tests/__snapshots__/guest.test.ts.snap +242 -0
- package/dist/cjs/utils/micro-frontend/tests/app.config.json +200 -0
- package/dist/cjs/utils/micro-frontend/tests/utils.js +116 -0
- package/dist/cjs/utils/micro-frontend/types.js +18 -0
- package/dist/cjs/utils/session.js +2 -3
- package/dist/cjs/utils/testing/index.js +25 -4
- package/dist/cjs/utils/testing/performance-mock.js +110 -0
- package/dist/cjs/utils/window.js +2 -1
- package/dist/cjs/view/breakpoint/use-breakpoint.js +3 -2
- package/dist/cjs/view/error-toast/index.js +15 -3
- package/dist/cjs/view/fields/combo-box/index.js +2 -2
- package/dist/cjs/view/fields/date-input/index.js +2 -2
- package/dist/cjs/view/fields/date-picker/index.js +2 -2
- package/dist/cjs/view/fields/form-item-layout/index.js +5 -7
- package/dist/cjs/view/fields/form-layout-block-item/index.js +2 -4
- package/dist/cjs/view/fields/input-mask/index.js +4 -4
- package/dist/cjs/view/fields/large-text-box/index.js +2 -2
- package/dist/cjs/view/fields/masked-input-text/index.js +2 -2
- package/dist/cjs/view/fields/radio-group/index.js +2 -2
- package/dist/cjs/view/fields/text-box/index.js +2 -2
- package/dist/cjs/view/form/submit-button/index.js +2 -2
- package/dist/cjs/view/guest-microapp.js +221 -0
- package/dist/cjs/view/login/index.js +33 -3
- package/dist/cjs/view/micro-app/app-factory/index.js +28 -25
- package/dist/cjs/view/micro-app/resources/manifest.js +10 -0
- package/dist/cjs/view/micro-app/resources/script.js +4 -2
- package/dist/cjs/view/micro-iframe-app/iframe/index.js +7 -2
- package/dist/cjs/view/micro-iframe-app/iframe.html +7 -8
- package/dist/cjs/view/micro-iframe-app/use-frame-loaded.js +3 -1
- package/dist/cjs/view/modals/navigation-prompt/index.js +4 -4
- package/dist/cjs/view/modals/session-expiry/index.js +13 -3
- package/dist/cjs/view/page.js +12 -19
- package/dist/cjs/view/require-auth.js +24 -2
- package/dist/cjs/view/tests/__snapshots__/guest-microapp.test.tsx.snap +75 -0
- package/dist/cjs/view/tests/__snapshots__/micro-iframe-app.test.tsx.snap +355 -0
- package/dist/cjs/view/tests/app.config.json +211 -0
- package/dist/cjs/view/tests/constants.js +46 -0
- package/dist/cjs/view/tests/flights/23.1/app.checksum1.css +3 -0
- package/dist/cjs/view/tests/flights/23.1/app.checksum1.js +52 -0
- package/dist/cjs/view/tests/flights/23.1/manifest.json +4 -0
- package/dist/cjs/view/tests/flights/latest/app.checksum.css +3 -0
- package/dist/cjs/view/tests/flights/latest/app.checksum.js +52 -0
- package/dist/cjs/view/tests/flights/latest/manifest.json +4 -0
- package/dist/cjs/view/tests/hotels/23.1/app.checksum.css +3 -0
- package/dist/cjs/view/tests/hotels/23.1/app.checksum.js +52 -0
- package/dist/cjs/view/tests/hotels/23.1/manifest.json +4 -0
- package/dist/cjs/view/tests/hotels/latest/app.checksum.css +3 -0
- package/dist/cjs/view/tests/hotels/latest/app.checksum.js +52 -0
- package/dist/cjs/view/tests/hotels/latest/manifest.json +4 -0
- package/dist/cjs/view/tests/loan/latest/index.js +116 -0
- package/dist/cjs/view/tests/loan/latest/manifest.json +3 -0
- package/dist/cjs/view/tests/scriptingObjects/appraisalServiceModule.js +81 -0
- package/dist/cjs/{utils/micro-frontend/host-app.js → view/tests/scriptingObjects/constant.js} +5 -10
- package/dist/cjs/view/tests/scriptingObjects/global.js +40 -0
- package/dist/cjs/view/tests/scriptingObjects/loan.js +204 -0
- package/dist/cjs/{utils/micro-frontend/scripting-objects/web-analytics.js → view/tests/server.js} +9 -14
- package/dist/cjs/view/tests/serverHandlers.js +225 -0
- package/dist/cjs/view/tests/ssfapp/index.html +14 -0
- package/dist/cjs/view/tests/ssfapp/latest/index.js +16 -0
- package/dist/cjs/view/tests/ssfapp/latest/manifest.json +3 -0
- package/dist/cjs/view/tests/task/latest/index.dev.js +67 -0
- package/dist/cjs/view/tests/task/latest/index.js +67 -0
- package/dist/cjs/view/tests/task/latest/manifest.json +4 -0
- package/dist/cjs/view/tests/travelhub/23.1/app.checksum.css +3 -0
- package/dist/cjs/view/tests/travelhub/23.1/app.checksum.js +25 -0
- package/dist/cjs/view/tests/travelhub/23.1/landing.checksum1.css +3 -0
- package/dist/cjs/view/tests/travelhub/23.1/landing.checksum1.js +6 -0
- package/dist/cjs/view/tests/travelhub/23.1/manifest.json +6 -0
- package/dist/cjs/view/tests/travelhub/latest/app.checksum.css +3 -0
- package/dist/cjs/view/tests/travelhub/latest/app.checksum.js +30 -0
- package/dist/cjs/view/tests/travelhub/latest/landing.checksum.css +3 -0
- package/dist/cjs/view/tests/travelhub/latest/landing.checksum.js +8 -0
- package/dist/cjs/view/tests/travelhub/latest/manifest.json +6 -0
- package/dist/cjs/{analytics/appdynamics.js → view/tests/utils.js} +33 -18
- package/dist/cjs/view/wait-message/index.js +3 -0
- package/dist/esm/analytics/index.js +3 -2
- package/dist/esm/analytics/user-session-event.js +1 -1
- package/dist/esm/api/users/index.js +6 -4
- package/dist/esm/communication/http-client/baseQuery.js +17 -3
- package/dist/esm/communication/http-client/index.js +9 -3
- package/dist/esm/data/auth/actions.js +20 -4
- package/dist/esm/data/breakpoint/index.js +1 -0
- package/dist/esm/data/webpack-hmr.js +3 -3
- package/dist/esm/index.js +19 -6
- package/dist/esm/package.json +4 -1
- package/dist/esm/utils/app-config/config.js +6 -4
- package/dist/esm/utils/app-config/index.js +3 -4
- package/dist/esm/utils/auth/index.js +85 -26
- package/dist/esm/utils/auth/loginParams.js +12 -1
- package/dist/esm/utils/constants.js +2 -0
- package/dist/esm/utils/decorators/classDecorators.js +1 -1
- package/dist/esm/utils/decorators/functionDecorators.js +98 -0
- package/dist/esm/utils/decorators/index.js +8 -2
- package/dist/esm/utils/helpers.js +16 -0
- package/dist/esm/utils/logrocket.js +29 -0
- package/dist/esm/utils/micro-frontend/app-bridge.js +25 -0
- package/dist/esm/utils/micro-frontend/guest.js +276 -35
- package/dist/esm/utils/micro-frontend/host.js +68 -16
- package/dist/esm/utils/micro-frontend/index.js +5 -3
- package/dist/esm/utils/micro-frontend/module-so.js +72 -0
- package/dist/esm/utils/micro-frontend/ssf-host.js +24 -0
- package/dist/esm/utils/micro-frontend/tests/__snapshots__/guest.test.ts.snap +242 -0
- package/dist/esm/utils/micro-frontend/tests/app.config.json +200 -0
- package/dist/esm/utils/micro-frontend/tests/utils.js +96 -0
- package/dist/esm/utils/micro-frontend/types.js +14 -0
- package/dist/esm/utils/session.js +4 -2
- package/dist/esm/utils/testing/index.js +24 -3
- package/dist/esm/utils/testing/performance-mock.js +90 -0
- package/dist/esm/utils/window.js +2 -1
- package/dist/esm/view/breakpoint/use-breakpoint.js +3 -2
- package/dist/esm/view/error-toast/index.js +21 -4
- package/dist/esm/view/fields/combo-box/index.js +1 -1
- package/dist/esm/view/fields/date-input/index.js +1 -1
- package/dist/esm/view/fields/date-picker/index.js +1 -1
- package/dist/esm/view/fields/form-item-layout/index.js +5 -7
- package/dist/esm/view/fields/form-layout-block-item/index.js +3 -5
- package/dist/esm/view/fields/input-mask/index.js +1 -1
- package/dist/esm/view/fields/large-text-box/index.js +1 -1
- package/dist/esm/view/fields/masked-input-text/index.js +2 -2
- package/dist/esm/view/fields/radio-group/index.js +1 -1
- package/dist/esm/view/fields/text-box/index.js +1 -1
- package/dist/esm/view/form/submit-button/index.js +1 -1
- package/dist/esm/view/guest-microapp.js +196 -0
- package/dist/esm/view/login/index.js +33 -3
- package/dist/esm/view/micro-app/app-factory/index.js +28 -32
- package/dist/esm/view/micro-app/resources/manifest.js +10 -0
- package/dist/esm/view/micro-app/resources/script.js +4 -2
- package/dist/esm/view/micro-iframe-app/iframe/index.js +8 -3
- package/dist/esm/view/micro-iframe-app/iframe.html +7 -8
- package/dist/esm/view/micro-iframe-app/use-frame-loaded.js +3 -1
- package/dist/esm/view/modals/navigation-prompt/index.js +1 -1
- package/dist/esm/view/modals/session-expiry/index.js +12 -2
- package/dist/esm/view/page.js +12 -9
- package/dist/esm/view/require-auth.js +24 -2
- package/dist/esm/view/tests/__snapshots__/guest-microapp.test.tsx.snap +75 -0
- package/dist/esm/view/tests/__snapshots__/micro-iframe-app.test.tsx.snap +355 -0
- package/dist/esm/view/tests/app.config.json +211 -0
- package/dist/esm/view/tests/constants.js +26 -0
- package/dist/esm/view/tests/flights/23.1/app.checksum1.css +3 -0
- package/dist/esm/view/tests/flights/23.1/app.checksum1.js +51 -0
- package/dist/esm/view/tests/flights/23.1/manifest.json +4 -0
- package/dist/esm/view/tests/flights/latest/app.checksum.css +3 -0
- package/dist/esm/view/tests/flights/latest/app.checksum.js +51 -0
- package/dist/esm/view/tests/flights/latest/manifest.json +4 -0
- package/dist/esm/view/tests/hotels/23.1/app.checksum.css +3 -0
- package/dist/esm/view/tests/hotels/23.1/app.checksum.js +51 -0
- package/dist/esm/view/tests/hotels/23.1/manifest.json +4 -0
- package/dist/esm/view/tests/hotels/latest/app.checksum.css +3 -0
- package/dist/esm/view/tests/hotels/latest/app.checksum.js +51 -0
- package/dist/esm/view/tests/hotels/latest/manifest.json +4 -0
- package/dist/esm/view/tests/loan/latest/index.js +115 -0
- package/dist/esm/view/tests/loan/latest/manifest.json +3 -0
- package/dist/esm/view/tests/scriptingObjects/appraisalServiceModule.js +63 -0
- package/dist/esm/view/tests/scriptingObjects/constant.js +4 -0
- package/dist/esm/view/tests/scriptingObjects/global.js +22 -0
- package/dist/esm/view/tests/scriptingObjects/loan.js +184 -0
- package/dist/esm/view/tests/server.js +9 -0
- package/dist/esm/view/tests/serverHandlers.js +195 -0
- package/dist/esm/view/tests/ssfapp/index.html +14 -0
- package/dist/esm/view/tests/ssfapp/latest/index.js +15 -0
- package/dist/esm/view/tests/ssfapp/latest/manifest.json +3 -0
- package/dist/esm/view/tests/task/latest/index.dev.js +66 -0
- package/dist/esm/view/tests/task/latest/index.js +66 -0
- package/dist/esm/view/tests/task/latest/manifest.json +4 -0
- package/dist/esm/view/tests/travelhub/23.1/app.checksum.css +3 -0
- package/dist/esm/view/tests/travelhub/23.1/app.checksum.js +24 -0
- package/dist/esm/view/tests/travelhub/23.1/landing.checksum1.css +3 -0
- package/dist/esm/view/tests/travelhub/23.1/landing.checksum1.js +5 -0
- package/dist/esm/view/tests/travelhub/23.1/manifest.json +6 -0
- package/dist/esm/view/tests/travelhub/latest/app.checksum.css +3 -0
- package/dist/esm/view/tests/travelhub/latest/app.checksum.js +29 -0
- package/dist/esm/view/tests/travelhub/latest/landing.checksum.css +3 -0
- package/dist/esm/view/tests/travelhub/latest/landing.checksum.js +7 -0
- package/dist/esm/view/tests/travelhub/latest/manifest.json +6 -0
- package/dist/esm/view/tests/utils.js +33 -0
- package/dist/esm/view/wait-message/index.js +3 -0
- package/dist/types/lib/analytics/index.d.ts +17 -5
- package/dist/types/lib/api/auth/index.d.ts +2 -0
- package/dist/types/lib/api/users/index.d.ts +2 -1
- package/dist/types/lib/communication/http-client/baseQuery.d.ts +57 -1
- package/dist/types/lib/communication/http-client/index.d.ts +38 -3
- package/dist/types/lib/communication/http-client/response-interceptor.d.ts +14 -0
- package/dist/types/lib/communication/http-client/tests/baseQuery.test.d.ts +1 -0
- package/dist/types/lib/data/auth/actions.d.ts +4 -2
- package/dist/types/lib/data/breakpoint/index.d.ts +2 -1
- package/dist/types/lib/data/listenerMiddleware.d.ts +29 -0
- package/dist/types/lib/data/store.d.ts +24 -0
- package/dist/types/lib/data/useAppDispatch.d.ts +17 -0
- package/dist/types/lib/data/useAppSelector.d.ts +13 -0
- package/dist/types/lib/data/useInjectQuery.d.ts +29 -0
- package/dist/types/lib/index.d.ts +7 -6
- package/dist/types/lib/utils/app-config/config.d.ts +51 -0
- package/dist/types/lib/utils/app-config/index.d.ts +19 -1
- package/dist/types/lib/utils/auth/helper.d.ts +17 -0
- package/dist/types/lib/utils/auth/index.d.ts +124 -4
- package/dist/types/lib/utils/auth/loginParams.d.ts +21 -0
- package/dist/types/lib/utils/auth/types.d.ts +5 -4
- package/dist/types/lib/utils/constants.d.ts +1 -0
- package/dist/types/lib/utils/custom-hooks/use-state-selector.d.ts +2 -2
- package/dist/types/lib/utils/decorators/classDecorators.d.ts +7 -2
- package/dist/types/lib/utils/decorators/functionDecorators.d.ts +126 -6
- package/dist/types/lib/utils/decorators/index.d.ts +4 -1
- package/dist/types/lib/utils/helpers.d.ts +7 -0
- package/dist/types/lib/utils/logrocket.d.ts +26 -0
- package/dist/types/lib/utils/micro-frontend/app-bridge.d.ts +15 -0
- package/dist/types/lib/utils/micro-frontend/guest.d.ts +91 -11
- package/dist/types/lib/utils/micro-frontend/host.d.ts +50 -11
- package/dist/types/lib/utils/micro-frontend/module-so.d.ts +82 -0
- package/dist/types/lib/utils/micro-frontend/ssf-host.d.ts +5 -0
- package/dist/types/lib/utils/micro-frontend/tests/guest-initialize.test.d.ts +1 -0
- package/dist/types/lib/utils/micro-frontend/tests/host.test.d.ts +1 -0
- package/dist/types/lib/utils/micro-frontend/tests/module-so.test.d.ts +1 -0
- package/dist/types/lib/utils/micro-frontend/tests/utils.d.ts +39 -0
- package/dist/types/lib/utils/micro-frontend/types.d.ts +120 -2
- package/dist/types/lib/utils/redact-pii.d.ts +24 -0
- package/dist/types/lib/utils/session.d.ts +79 -4
- package/dist/types/lib/utils/testing/index.d.ts +58 -2
- package/dist/types/lib/utils/testing/performance-mock.d.ts +27 -0
- package/dist/types/lib/utils/tests/logrocket.test.d.ts +1 -0
- package/dist/types/lib/utils/window.d.ts +22 -6
- package/dist/types/lib/view/app-root/index.d.ts +27 -0
- package/dist/types/lib/view/error-boundary/index.d.ts +21 -0
- package/dist/types/lib/view/fields/combo-box/index.d.ts +25 -0
- package/dist/types/lib/view/fields/date-picker/index.d.ts +21 -0
- package/dist/types/lib/view/fields/date-time-picker/index.stories.d.ts +37 -12
- package/dist/types/lib/view/fields/form-item-layout/index.d.ts +1 -1
- package/dist/types/lib/view/fields/form-layout-block-item/index.d.ts +1 -1
- package/dist/types/lib/view/fields/input-mask/index.d.ts +1 -1
- package/dist/types/lib/view/fields/text-box/index.d.ts +25 -0
- package/dist/types/lib/view/form/index.d.ts +32 -0
- package/dist/types/lib/view/guest-microapp.d.ts +35 -0
- package/dist/types/lib/view/loadable/index.d.ts +22 -0
- package/dist/types/lib/view/login/index.d.ts +41 -1
- package/dist/types/lib/view/login/tests/index.test.d.ts +1 -0
- package/dist/types/lib/view/micro-app/index.d.ts +5 -0
- package/dist/types/lib/view/micro-app/resources/script.d.ts +1 -1
- package/dist/types/lib/view/micro-iframe-app/index.d.ts +5 -0
- package/dist/types/lib/view/require-auth.d.ts +42 -1
- package/dist/types/lib/view/tests/constants.d.ts +12 -0
- package/dist/types/lib/view/tests/flights/23.1/app.checksum1.d.ts +7 -0
- package/dist/types/lib/view/tests/flights/latest/app.checksum.d.ts +7 -0
- package/dist/types/lib/view/tests/guest-microapp.test.d.ts +1 -0
- package/dist/types/lib/view/tests/hotels/23.1/app.checksum.d.ts +7 -0
- package/dist/types/lib/view/tests/hotels/latest/app.checksum.d.ts +7 -0
- package/dist/types/lib/view/tests/loan/latest/index.d.ts +11 -0
- package/dist/types/lib/view/tests/micro-iframe-app.test.d.ts +1 -0
- package/dist/types/lib/view/tests/require-auth.test.d.ts +1 -0
- package/dist/types/lib/view/tests/scriptingObjects/appraisalServiceModule.d.ts +36 -0
- package/dist/types/lib/view/tests/scriptingObjects/constant.d.ts +1 -0
- package/dist/types/lib/view/tests/scriptingObjects/global.d.ts +9 -0
- package/dist/types/lib/view/tests/scriptingObjects/loan.d.ts +32 -0
- package/dist/types/lib/view/tests/server.d.ts +1 -0
- package/dist/types/lib/view/tests/serverHandlers.d.ts +5 -0
- package/dist/types/lib/view/tests/ssfapp/latest/index.d.ts +2 -0
- package/dist/types/lib/view/tests/task/latest/index.d.ts +10 -0
- package/dist/types/lib/view/tests/task/latest/index.dev.d.ts +10 -0
- package/dist/types/lib/view/tests/travelhub/23.1/app.checksum.d.ts +7 -0
- package/dist/types/lib/view/tests/travelhub/23.1/landing.checksum1.d.ts +2 -0
- package/dist/types/lib/view/tests/travelhub/latest/app.checksum.d.ts +0 -0
- package/dist/types/lib/view/tests/travelhub/latest/landing.checksum.d.ts +0 -0
- package/dist/types/lib/view/tests/utils.d.ts +7 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +69 -71
- package/dist/cjs/utils/micro-frontend/scripting-objects/analytics.js +0 -195
- package/dist/cjs/utils/micro-frontend/ssfguest-adapter.js +0 -58
- package/dist/esm/analytics/appdynamics.js +0 -18
- package/dist/esm/utils/micro-frontend/host-app.js +0 -9
- package/dist/esm/utils/micro-frontend/scripting-objects/analytics.js +0 -165
- package/dist/esm/utils/micro-frontend/scripting-objects/web-analytics.js +0 -14
- package/dist/esm/utils/micro-frontend/ssfguest-adapter.js +0 -28
- package/dist/types/lib/analytics/appdynamics.d.ts +0 -10
- package/dist/types/lib/utils/micro-frontend/host-app.d.ts +0 -11
- package/dist/types/lib/utils/micro-frontend/scripting-objects/analytics.d.ts +0 -61
- package/dist/types/lib/utils/micro-frontend/scripting-objects/web-analytics.d.ts +0 -10
- package/dist/types/lib/utils/micro-frontend/ssfguest-adapter.d.ts +0 -7
- /package/dist/types/lib/{utils/micro-frontend/tests/guest-ssf-host.test.d.ts → communication/http-client/tests/auth-header.test.d.ts} +0 -0
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_elliemae_pui_app_sdk=globalThis.webpackChunk_elliemae_pui_app_sdk||[]).push([[1800],{"./lib/view/error-toast/index.stories.tsx"(W,u,o){o.r(u),o.d(u,{BasicError:()=>E,ToastDifferentTypes:()=>x,__namedExportsOrder:()=>F,default:()=>M});var B=o("./node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),w=o.n(B),g=o("./node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/jsx.js"),e=o.n(g),_=o("./node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/slicedToArray.js"),R=o.n(_),T=o("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),r=o("./node_modules/.pnpm/@elliemae+ds-toast@3.57.10_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-toast/dist/esm/constants.js"),b=o("./node_modules/.pnpm/@elliemae+ds-button-v2@3.57.10_@elliemae+pui-theme@2.13.0_lodash-es@4.18.1/node_modules/@elliemae/ds-button-v2/dist/esm/parts/DSButtonV2/DSButtonV2.js"),d=o("./lib/data/useAppDispatch.ts"),y=o("./lib/data/error/index.ts"),S=o("./lib/view/error-toast/index.tsx"),m=o("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),k=["messageText","type"],f,h,A=`
|
|
2
|
+
|
|
3
|
+
// @ts-nocheck
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
var __STORY__ = "import { Meta } from '@storybook/react';\\nimport { useEffect, useState } from 'react';\\nimport { ToastType } from '@elliemae/ds-toast';\\nimport { DSButtonV2 } from '@elliemae/ds-button-v2';\\nimport { useAppDispatch } from '../../data/react.js';\\nimport { error } from '../../index.js';\\nimport { ErrorToast } from './index.js';\\n\\nexport default {\\n title: 'Components/ErrorToast',\\n Component: ErrorToast,\\n} as Meta;\\n\\nconst Renderer = ({ Comp }: { Comp: React.ComponentType }) => {\\n const [show, setShow] = useState(false);\\n useEffect(() => {\\n setShow(true);\\n }, []);\\n return show ? <Comp /> : null;\\n};\\n\\nconst Basic = () => {\\n const dispatch = useAppDispatch();\\n useEffect(() => {\\n dispatch(error.set({ description: 'This is Error Toast' }));\\n }, [dispatch]);\\n return null;\\n};\\n\\nexport const BasicError = () => <Renderer Comp={Basic} />;\\n\\ninterface ShowToastProps {\\n messageText?: string;\\n type: (typeof ToastType)[keyof typeof ToastType];\\n}\\n// Action wrappers for readability\\nconst showToast = ({\\n messageText = 'Toast Message',\\n type = ToastType.DEFAULT,\\n ...props\\n}: ShowToastProps) =>\\n error.set({\\n type,\\n messageText,\\n messageTitle: type,\\n containerId: 'app-toast',\\n ...props,\\n });\\nconst successToast = (props: Record<string, unknown>) =>\\n showToast({ ...props, type: ToastType.SUCCESS });\\nconst infoToast = (props: Record<string, unknown>) =>\\n showToast({ ...props, type: ToastType.INFO });\\nconst warningToast = (props: Record<string, unknown>) =>\\n showToast({ ...props, type: ToastType.WARNING });\\nconst errorToast = (props: Record<string, unknown>) =>\\n showToast({ ...props, type: ToastType.ERROR });\\n\\nconst ToastButton = ({\\n labelText,\\n onClick,\\n}: {\\n labelText: string;\\n onClick: () => void;\\n}) => (\\n <DSButtonV2 buttonType=\\"text\\" onClick={onClick}>\\n {labelText}\\n </DSButtonV2>\\n);\\n\\ntype ToastActionFn = ({\\n description,\\n}: {\\n description: string;\\n}) => ReturnType<typeof showToast>;\\n\\nconst ToastMultipleTypes = () => {\\n const dispatch = useAppDispatch();\\n const openToast = (toastAction: ToastActionFn) => () =>\\n dispatch(toastAction({ description: 'This is Error Toast' }));\\n return (\\n <>\\n <ToastButton labelText=\\"Success\\" onClick={openToast(successToast)} />\\n <ToastButton labelText=\\"Info\\" onClick={openToast(infoToast)} />\\n <ToastButton labelText=\\"Warning\\" onClick={openToast(warningToast)} />\\n <ToastButton labelText=\\"Error\\" onClick={openToast(errorToast)} />\\n </>\\n );\\n};\\n\\nexport const ToastDifferentTypes = () => <Renderer Comp={ToastMultipleTypes} />;\\n";
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
var __LOCATIONS_MAP__ = {"BasicError":{"startLoc":{"col":26,"line":30},"endLoc":{"col":57,"line":30},"startBody":{"col":26,"line":30},"endBody":{"col":57,"line":30}},"ToastDifferentTypes":{"startLoc":{"col":35,"line":90},"endLoc":{"col":79,"line":90},"startBody":{"col":35,"line":90},"endBody":{"col":79,"line":90}}};
|
|
8
|
+
|
|
9
|
+
import { Meta } from '@storybook/react';
|
|
10
|
+
import { useEffect, useState } from 'react';
|
|
11
|
+
import { ToastType } from '@elliemae/ds-toast';
|
|
12
|
+
import { DSButtonV2 } from '@elliemae/ds-button-v2';
|
|
13
|
+
import { useAppDispatch } from '../../data/react.js';
|
|
14
|
+
import { error } from '../../index.js';
|
|
15
|
+
import { ErrorToast } from './index.js';
|
|
16
|
+
|
|
17
|
+
export default {parameters: {"storySource":{"source":"import { Meta } from '@storybook/react';\\nimport { useEffect, useState } from 'react';\\nimport { ToastType } from '@elliemae/ds-toast';\\nimport { DSButtonV2 } from '@elliemae/ds-button-v2';\\nimport { useAppDispatch } from '../../data/react.js';\\nimport { error } from '../../index.js';\\nimport { ErrorToast } from './index.js';\\n\\nexport default {\\n title: 'Components/ErrorToast',\\n Component: ErrorToast,\\n} as Meta;\\n\\nconst Renderer = ({ Comp }: { Comp: React.ComponentType }) => {\\n const [show, setShow] = useState(false);\\n useEffect(() => {\\n setShow(true);\\n }, []);\\n return show ? <Comp /> : null;\\n};\\n\\nconst Basic = () => {\\n const dispatch = useAppDispatch();\\n useEffect(() => {\\n dispatch(error.set({ description: 'This is Error Toast' }));\\n }, [dispatch]);\\n return null;\\n};\\n\\nexport const BasicError = () => <Renderer Comp={Basic} />;\\n\\ninterface ShowToastProps {\\n messageText?: string;\\n type: (typeof ToastType)[keyof typeof ToastType];\\n}\\n// Action wrappers for readability\\nconst showToast = ({\\n messageText = 'Toast Message',\\n type = ToastType.DEFAULT,\\n ...props\\n}: ShowToastProps) =>\\n error.set({\\n type,\\n messageText,\\n messageTitle: type,\\n containerId: 'app-toast',\\n ...props,\\n });\\nconst successToast = (props: Record<string, unknown>) =>\\n showToast({ ...props, type: ToastType.SUCCESS });\\nconst infoToast = (props: Record<string, unknown>) =>\\n showToast({ ...props, type: ToastType.INFO });\\nconst warningToast = (props: Record<string, unknown>) =>\\n showToast({ ...props, type: ToastType.WARNING });\\nconst errorToast = (props: Record<string, unknown>) =>\\n showToast({ ...props, type: ToastType.ERROR });\\n\\nconst ToastButton = ({\\n labelText,\\n onClick,\\n}: {\\n labelText: string;\\n onClick: () => void;\\n}) => (\\n <DSButtonV2 buttonType=\\"text\\" onClick={onClick}>\\n {labelText}\\n </DSButtonV2>\\n);\\n\\ntype ToastActionFn = ({\\n description,\\n}: {\\n description: string;\\n}) => ReturnType<typeof showToast>;\\n\\nconst ToastMultipleTypes = () => {\\n const dispatch = useAppDispatch();\\n const openToast = (toastAction: ToastActionFn) => () =>\\n dispatch(toastAction({ description: 'This is Error Toast' }));\\n return (\\n <>\\n <ToastButton labelText=\\"Success\\" onClick={openToast(successToast)} />\\n <ToastButton labelText=\\"Info\\" onClick={openToast(infoToast)} />\\n <ToastButton labelText=\\"Warning\\" onClick={openToast(warningToast)} />\\n <ToastButton labelText=\\"Error\\" onClick={openToast(errorToast)} />\\n </>\\n );\\n};\\n\\nexport const ToastDifferentTypes = () => <Renderer Comp={ToastMultipleTypes} />;\\n","locationsMap":{"basic-error":{"startLoc":{"col":26,"line":30},"endLoc":{"col":57,"line":30},"startBody":{"col":26,"line":30},"endBody":{"col":57,"line":30}},"toast-different-types":{"startLoc":{"col":35,"line":90},"endLoc":{"col":79,"line":90},"startBody":{"col":35,"line":90},"endBody":{"col":79,"line":90}}}},},
|
|
18
|
+
title: 'Components/ErrorToast',
|
|
19
|
+
Component: ErrorToast,
|
|
20
|
+
} as Meta;
|
|
21
|
+
|
|
22
|
+
const Renderer = ({ Comp }: { Comp: React.ComponentType }) => {
|
|
23
|
+
const [show, setShow] = useState(false);
|
|
24
|
+
useEffect(() => {
|
|
25
|
+
setShow(true);
|
|
26
|
+
}, []);
|
|
27
|
+
return show ? <Comp /> : null;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
const Basic = () => {
|
|
31
|
+
const dispatch = useAppDispatch();
|
|
32
|
+
useEffect(() => {
|
|
33
|
+
dispatch(error.set({ description: 'This is Error Toast' }));
|
|
34
|
+
}, [dispatch]);
|
|
35
|
+
return null;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export const BasicError = () => <Renderer Comp={Basic} />;;
|
|
39
|
+
|
|
40
|
+
interface ShowToastProps {
|
|
41
|
+
messageText?: string;
|
|
42
|
+
type: (typeof ToastType)[keyof typeof ToastType];
|
|
43
|
+
}
|
|
44
|
+
// Action wrappers for readability
|
|
45
|
+
const showToast = ({
|
|
46
|
+
messageText = 'Toast Message',
|
|
47
|
+
type = ToastType.DEFAULT,
|
|
48
|
+
...props
|
|
49
|
+
}: ShowToastProps) =>
|
|
50
|
+
error.set({
|
|
51
|
+
type,
|
|
52
|
+
messageText,
|
|
53
|
+
messageTitle: type,
|
|
54
|
+
containerId: 'app-toast',
|
|
55
|
+
...props,
|
|
56
|
+
});
|
|
57
|
+
const successToast = (props: Record<string, unknown>) =>
|
|
58
|
+
showToast({ ...props, type: ToastType.SUCCESS });
|
|
59
|
+
const infoToast = (props: Record<string, unknown>) =>
|
|
60
|
+
showToast({ ...props, type: ToastType.INFO });
|
|
61
|
+
const warningToast = (props: Record<string, unknown>) =>
|
|
62
|
+
showToast({ ...props, type: ToastType.WARNING });
|
|
63
|
+
const errorToast = (props: Record<string, unknown>) =>
|
|
64
|
+
showToast({ ...props, type: ToastType.ERROR });
|
|
65
|
+
|
|
66
|
+
const ToastButton = ({
|
|
67
|
+
labelText,
|
|
68
|
+
onClick,
|
|
69
|
+
}: {
|
|
70
|
+
labelText: string;
|
|
71
|
+
onClick: () => void;
|
|
72
|
+
}) => (
|
|
73
|
+
<DSButtonV2 buttonType="text" onClick={onClick}>
|
|
74
|
+
{labelText}
|
|
75
|
+
</DSButtonV2>
|
|
76
|
+
);
|
|
77
|
+
|
|
78
|
+
type ToastActionFn = ({
|
|
79
|
+
description,
|
|
80
|
+
}: {
|
|
81
|
+
description: string;
|
|
82
|
+
}) => ReturnType<typeof showToast>;
|
|
83
|
+
|
|
84
|
+
const ToastMultipleTypes = () => {
|
|
85
|
+
const dispatch = useAppDispatch();
|
|
86
|
+
const openToast = (toastAction: ToastActionFn) => () =>
|
|
87
|
+
dispatch(toastAction({ description: 'This is Error Toast' }));
|
|
88
|
+
return (
|
|
89
|
+
<>
|
|
90
|
+
<ToastButton labelText="Success" onClick={openToast(successToast)} />
|
|
91
|
+
<ToastButton labelText="Info" onClick={openToast(infoToast)} />
|
|
92
|
+
<ToastButton labelText="Warning" onClick={openToast(warningToast)} />
|
|
93
|
+
<ToastButton labelText="Error" onClick={openToast(errorToast)} />
|
|
94
|
+
</>
|
|
95
|
+
);
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
export const ToastDifferentTypes = () => <Renderer Comp={ToastMultipleTypes} />;
|
|
99
|
+
`,D={BasicError:{startLoc:{col:26,line:38},endLoc:{col:57,line:38},startBody:{col:26,line:38},endBody:{col:57,line:38}},ToastDifferentTypes:{startLoc:{col:35,line:98},endLoc:{col:79,line:98},startBody:{col:35,line:98},endBody:{col:79,line:98}}},A=`import { Meta } from '@storybook/react';
|
|
100
|
+
import { useEffect, useState } from 'react';
|
|
101
|
+
import { ToastType } from '@elliemae/ds-toast';
|
|
102
|
+
import { DSButtonV2 } from '@elliemae/ds-button-v2';
|
|
103
|
+
import { useAppDispatch } from '../../data/react.js';
|
|
104
|
+
import { error } from '../../index.js';
|
|
105
|
+
import { ErrorToast } from './index.js';
|
|
106
|
+
|
|
107
|
+
export default {
|
|
108
|
+
title: 'Components/ErrorToast',
|
|
109
|
+
Component: ErrorToast,
|
|
110
|
+
} as Meta;
|
|
111
|
+
|
|
112
|
+
const Renderer = ({ Comp }: { Comp: React.ComponentType }) => {
|
|
113
|
+
const [show, setShow] = useState(false);
|
|
114
|
+
useEffect(() => {
|
|
115
|
+
setShow(true);
|
|
116
|
+
}, []);
|
|
117
|
+
return show ? <Comp /> : null;
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
const Basic = () => {
|
|
121
|
+
const dispatch = useAppDispatch();
|
|
122
|
+
useEffect(() => {
|
|
123
|
+
dispatch(error.set({ description: 'This is Error Toast' }));
|
|
124
|
+
}, [dispatch]);
|
|
125
|
+
return null;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
export const BasicError = () => <Renderer Comp={Basic} />;
|
|
129
|
+
|
|
130
|
+
interface ShowToastProps {
|
|
131
|
+
messageText?: string;
|
|
132
|
+
type: (typeof ToastType)[keyof typeof ToastType];
|
|
133
|
+
}
|
|
134
|
+
// Action wrappers for readability
|
|
135
|
+
const showToast = ({
|
|
136
|
+
messageText = 'Toast Message',
|
|
137
|
+
type = ToastType.DEFAULT,
|
|
138
|
+
...props
|
|
139
|
+
}: ShowToastProps) =>
|
|
140
|
+
error.set({
|
|
141
|
+
type,
|
|
142
|
+
messageText,
|
|
143
|
+
messageTitle: type,
|
|
144
|
+
containerId: 'app-toast',
|
|
145
|
+
...props,
|
|
146
|
+
});
|
|
147
|
+
const successToast = (props: Record<string, unknown>) =>
|
|
148
|
+
showToast({ ...props, type: ToastType.SUCCESS });
|
|
149
|
+
const infoToast = (props: Record<string, unknown>) =>
|
|
150
|
+
showToast({ ...props, type: ToastType.INFO });
|
|
151
|
+
const warningToast = (props: Record<string, unknown>) =>
|
|
152
|
+
showToast({ ...props, type: ToastType.WARNING });
|
|
153
|
+
const errorToast = (props: Record<string, unknown>) =>
|
|
154
|
+
showToast({ ...props, type: ToastType.ERROR });
|
|
155
|
+
|
|
156
|
+
const ToastButton = ({
|
|
157
|
+
labelText,
|
|
158
|
+
onClick,
|
|
159
|
+
}: {
|
|
160
|
+
labelText: string;
|
|
161
|
+
onClick: () => void;
|
|
162
|
+
}) => (
|
|
163
|
+
<DSButtonV2 buttonType="text" onClick={onClick}>
|
|
164
|
+
{labelText}
|
|
165
|
+
</DSButtonV2>
|
|
166
|
+
);
|
|
167
|
+
|
|
168
|
+
type ToastActionFn = ({
|
|
169
|
+
description,
|
|
170
|
+
}: {
|
|
171
|
+
description: string;
|
|
172
|
+
}) => ReturnType<typeof showToast>;
|
|
173
|
+
|
|
174
|
+
const ToastMultipleTypes = () => {
|
|
175
|
+
const dispatch = useAppDispatch();
|
|
176
|
+
const openToast = (toastAction: ToastActionFn) => () =>
|
|
177
|
+
dispatch(toastAction({ description: 'This is Error Toast' }));
|
|
178
|
+
return (
|
|
179
|
+
<>
|
|
180
|
+
<ToastButton labelText="Success" onClick={openToast(successToast)} />
|
|
181
|
+
<ToastButton labelText="Info" onClick={openToast(infoToast)} />
|
|
182
|
+
<ToastButton labelText="Warning" onClick={openToast(warningToast)} />
|
|
183
|
+
<ToastButton labelText="Error" onClick={openToast(errorToast)} />
|
|
184
|
+
</>
|
|
185
|
+
);
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
export const ToastDifferentTypes = () => <Renderer Comp={ToastMultipleTypes} />;
|
|
189
|
+
`,D={BasicError:{startLoc:{col:26,line:30},endLoc:{col:57,line:30},startBody:{col:26,line:30},endBody:{col:57,line:30}},ToastDifferentTypes:{startLoc:{col:35,line:90},endLoc:{col:79,line:90},startBody:{col:35,line:90},endBody:{col:79,line:90}}};const M={parameters:{storySource:{source:`
|
|
190
|
+
|
|
191
|
+
// @ts-nocheck
|
|
192
|
+
// @ts-ignore
|
|
193
|
+
var __STORY__ = "import { Meta } from '@storybook/react';\\nimport { useEffect, useState } from 'react';\\nimport { ToastType } from '@elliemae/ds-toast';\\nimport { DSButtonV2 } from '@elliemae/ds-button-v2';\\nimport { useAppDispatch } from '../../data/react.js';\\nimport { error } from '../../index.js';\\nimport { ErrorToast } from './index.js';\\n\\nexport default {\\n title: 'Components/ErrorToast',\\n Component: ErrorToast,\\n} as Meta;\\n\\nconst Renderer = ({ Comp }: { Comp: React.ComponentType }) => {\\n const [show, setShow] = useState(false);\\n useEffect(() => {\\n setShow(true);\\n }, []);\\n return show ? <Comp /> : null;\\n};\\n\\nconst Basic = () => {\\n const dispatch = useAppDispatch();\\n useEffect(() => {\\n dispatch(error.set({ description: 'This is Error Toast' }));\\n }, [dispatch]);\\n return null;\\n};\\n\\nexport const BasicError = () => <Renderer Comp={Basic} />;\\n\\ninterface ShowToastProps {\\n messageText?: string;\\n type: (typeof ToastType)[keyof typeof ToastType];\\n}\\n// Action wrappers for readability\\nconst showToast = ({\\n messageText = 'Toast Message',\\n type = ToastType.DEFAULT,\\n ...props\\n}: ShowToastProps) =>\\n error.set({\\n type,\\n messageText,\\n messageTitle: type,\\n containerId: 'app-toast',\\n ...props,\\n });\\nconst successToast = (props: Record<string, unknown>) =>\\n showToast({ ...props, type: ToastType.SUCCESS });\\nconst infoToast = (props: Record<string, unknown>) =>\\n showToast({ ...props, type: ToastType.INFO });\\nconst warningToast = (props: Record<string, unknown>) =>\\n showToast({ ...props, type: ToastType.WARNING });\\nconst errorToast = (props: Record<string, unknown>) =>\\n showToast({ ...props, type: ToastType.ERROR });\\n\\nconst ToastButton = ({\\n labelText,\\n onClick,\\n}: {\\n labelText: string;\\n onClick: () => void;\\n}) => (\\n <DSButtonV2 buttonType=\\"text\\" onClick={onClick}>\\n {labelText}\\n </DSButtonV2>\\n);\\n\\ntype ToastActionFn = ({\\n description,\\n}: {\\n description: string;\\n}) => ReturnType<typeof showToast>;\\n\\nconst ToastMultipleTypes = () => {\\n const dispatch = useAppDispatch();\\n const openToast = (toastAction: ToastActionFn) => () =>\\n dispatch(toastAction({ description: 'This is Error Toast' }));\\n return (\\n <>\\n <ToastButton labelText=\\"Success\\" onClick={openToast(successToast)} />\\n <ToastButton labelText=\\"Info\\" onClick={openToast(infoToast)} />\\n <ToastButton labelText=\\"Warning\\" onClick={openToast(warningToast)} />\\n <ToastButton labelText=\\"Error\\" onClick={openToast(errorToast)} />\\n </>\\n );\\n};\\n\\nexport const ToastDifferentTypes = () => <Renderer Comp={ToastMultipleTypes} />;\\n";
|
|
194
|
+
// @ts-ignore
|
|
195
|
+
var __LOCATIONS_MAP__ = {"BasicError":{"startLoc":{"col":26,"line":30},"endLoc":{"col":57,"line":30},"startBody":{"col":26,"line":30},"endBody":{"col":57,"line":30}},"ToastDifferentTypes":{"startLoc":{"col":35,"line":90},"endLoc":{"col":79,"line":90},"startBody":{"col":35,"line":90},"endBody":{"col":79,"line":90}}};
|
|
196
|
+
|
|
197
|
+
import { Meta } from '@storybook/react';
|
|
198
|
+
import { useEffect, useState } from 'react';
|
|
199
|
+
import { ToastType } from '@elliemae/ds-toast';
|
|
200
|
+
import { DSButtonV2 } from '@elliemae/ds-button-v2';
|
|
201
|
+
import { useAppDispatch } from '../../data/react.js';
|
|
202
|
+
import { error } from '../../index.js';
|
|
203
|
+
import { ErrorToast } from './index.js';
|
|
204
|
+
|
|
205
|
+
export default {parameters: {"storySource":{"source":"import { Meta } from '@storybook/react';\\nimport { useEffect, useState } from 'react';\\nimport { ToastType } from '@elliemae/ds-toast';\\nimport { DSButtonV2 } from '@elliemae/ds-button-v2';\\nimport { useAppDispatch } from '../../data/react.js';\\nimport { error } from '../../index.js';\\nimport { ErrorToast } from './index.js';\\n\\nexport default {\\n title: 'Components/ErrorToast',\\n Component: ErrorToast,\\n} as Meta;\\n\\nconst Renderer = ({ Comp }: { Comp: React.ComponentType }) => {\\n const [show, setShow] = useState(false);\\n useEffect(() => {\\n setShow(true);\\n }, []);\\n return show ? <Comp /> : null;\\n};\\n\\nconst Basic = () => {\\n const dispatch = useAppDispatch();\\n useEffect(() => {\\n dispatch(error.set({ description: 'This is Error Toast' }));\\n }, [dispatch]);\\n return null;\\n};\\n\\nexport const BasicError = () => <Renderer Comp={Basic} />;\\n\\ninterface ShowToastProps {\\n messageText?: string;\\n type: (typeof ToastType)[keyof typeof ToastType];\\n}\\n// Action wrappers for readability\\nconst showToast = ({\\n messageText = 'Toast Message',\\n type = ToastType.DEFAULT,\\n ...props\\n}: ShowToastProps) =>\\n error.set({\\n type,\\n messageText,\\n messageTitle: type,\\n containerId: 'app-toast',\\n ...props,\\n });\\nconst successToast = (props: Record<string, unknown>) =>\\n showToast({ ...props, type: ToastType.SUCCESS });\\nconst infoToast = (props: Record<string, unknown>) =>\\n showToast({ ...props, type: ToastType.INFO });\\nconst warningToast = (props: Record<string, unknown>) =>\\n showToast({ ...props, type: ToastType.WARNING });\\nconst errorToast = (props: Record<string, unknown>) =>\\n showToast({ ...props, type: ToastType.ERROR });\\n\\nconst ToastButton = ({\\n labelText,\\n onClick,\\n}: {\\n labelText: string;\\n onClick: () => void;\\n}) => (\\n <DSButtonV2 buttonType=\\"text\\" onClick={onClick}>\\n {labelText}\\n </DSButtonV2>\\n);\\n\\ntype ToastActionFn = ({\\n description,\\n}: {\\n description: string;\\n}) => ReturnType<typeof showToast>;\\n\\nconst ToastMultipleTypes = () => {\\n const dispatch = useAppDispatch();\\n const openToast = (toastAction: ToastActionFn) => () =>\\n dispatch(toastAction({ description: 'This is Error Toast' }));\\n return (\\n <>\\n <ToastButton labelText=\\"Success\\" onClick={openToast(successToast)} />\\n <ToastButton labelText=\\"Info\\" onClick={openToast(infoToast)} />\\n <ToastButton labelText=\\"Warning\\" onClick={openToast(warningToast)} />\\n <ToastButton labelText=\\"Error\\" onClick={openToast(errorToast)} />\\n </>\\n );\\n};\\n\\nexport const ToastDifferentTypes = () => <Renderer Comp={ToastMultipleTypes} />;\\n","locationsMap":{"basic-error":{"startLoc":{"col":26,"line":30},"endLoc":{"col":57,"line":30},"startBody":{"col":26,"line":30},"endBody":{"col":57,"line":30}},"toast-different-types":{"startLoc":{"col":35,"line":90},"endLoc":{"col":79,"line":90},"startBody":{"col":35,"line":90},"endBody":{"col":79,"line":90}}}},},
|
|
206
|
+
title: 'Components/ErrorToast',
|
|
207
|
+
Component: ErrorToast,
|
|
208
|
+
} as Meta;
|
|
209
|
+
|
|
210
|
+
const Renderer = ({ Comp }: { Comp: React.ComponentType }) => {
|
|
211
|
+
const [show, setShow] = useState(false);
|
|
212
|
+
useEffect(() => {
|
|
213
|
+
setShow(true);
|
|
214
|
+
}, []);
|
|
215
|
+
return show ? <Comp /> : null;
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
const Basic = () => {
|
|
219
|
+
const dispatch = useAppDispatch();
|
|
220
|
+
useEffect(() => {
|
|
221
|
+
dispatch(error.set({ description: 'This is Error Toast' }));
|
|
222
|
+
}, [dispatch]);
|
|
223
|
+
return null;
|
|
224
|
+
};
|
|
225
|
+
|
|
226
|
+
export const BasicError = () => <Renderer Comp={Basic} />;;
|
|
227
|
+
|
|
228
|
+
interface ShowToastProps {
|
|
229
|
+
messageText?: string;
|
|
230
|
+
type: (typeof ToastType)[keyof typeof ToastType];
|
|
231
|
+
}
|
|
232
|
+
// Action wrappers for readability
|
|
233
|
+
const showToast = ({
|
|
234
|
+
messageText = 'Toast Message',
|
|
235
|
+
type = ToastType.DEFAULT,
|
|
236
|
+
...props
|
|
237
|
+
}: ShowToastProps) =>
|
|
238
|
+
error.set({
|
|
239
|
+
type,
|
|
240
|
+
messageText,
|
|
241
|
+
messageTitle: type,
|
|
242
|
+
containerId: 'app-toast',
|
|
243
|
+
...props,
|
|
244
|
+
});
|
|
245
|
+
const successToast = (props: Record<string, unknown>) =>
|
|
246
|
+
showToast({ ...props, type: ToastType.SUCCESS });
|
|
247
|
+
const infoToast = (props: Record<string, unknown>) =>
|
|
248
|
+
showToast({ ...props, type: ToastType.INFO });
|
|
249
|
+
const warningToast = (props: Record<string, unknown>) =>
|
|
250
|
+
showToast({ ...props, type: ToastType.WARNING });
|
|
251
|
+
const errorToast = (props: Record<string, unknown>) =>
|
|
252
|
+
showToast({ ...props, type: ToastType.ERROR });
|
|
253
|
+
|
|
254
|
+
const ToastButton = ({
|
|
255
|
+
labelText,
|
|
256
|
+
onClick,
|
|
257
|
+
}: {
|
|
258
|
+
labelText: string;
|
|
259
|
+
onClick: () => void;
|
|
260
|
+
}) => (
|
|
261
|
+
<DSButtonV2 buttonType="text" onClick={onClick}>
|
|
262
|
+
{labelText}
|
|
263
|
+
</DSButtonV2>
|
|
264
|
+
);
|
|
265
|
+
|
|
266
|
+
type ToastActionFn = ({
|
|
267
|
+
description,
|
|
268
|
+
}: {
|
|
269
|
+
description: string;
|
|
270
|
+
}) => ReturnType<typeof showToast>;
|
|
271
|
+
|
|
272
|
+
const ToastMultipleTypes = () => {
|
|
273
|
+
const dispatch = useAppDispatch();
|
|
274
|
+
const openToast = (toastAction: ToastActionFn) => () =>
|
|
275
|
+
dispatch(toastAction({ description: 'This is Error Toast' }));
|
|
276
|
+
return (
|
|
277
|
+
<>
|
|
278
|
+
<ToastButton labelText="Success" onClick={openToast(successToast)} />
|
|
279
|
+
<ToastButton labelText="Info" onClick={openToast(infoToast)} />
|
|
280
|
+
<ToastButton labelText="Warning" onClick={openToast(warningToast)} />
|
|
281
|
+
<ToastButton labelText="Error" onClick={openToast(errorToast)} />
|
|
282
|
+
</>
|
|
283
|
+
);
|
|
284
|
+
};
|
|
285
|
+
|
|
286
|
+
export const ToastDifferentTypes = () => <Renderer Comp={ToastMultipleTypes} />;
|
|
287
|
+
`,locationsMap:{"basic-error":{startLoc:{col:26,line:38},endLoc:{col:57,line:38},startBody:{col:26,line:38},endBody:{col:57,line:38}},"toast-different-types":{startLoc:{col:35,line:98},endLoc:{col:79,line:98},startBody:{col:35,line:98},endBody:{col:79,line:98}}}},storySource:{source:`import { Meta } from '@storybook/react';
|
|
288
|
+
import { useEffect, useState } from 'react';
|
|
289
|
+
import { ToastType } from '@elliemae/ds-toast';
|
|
290
|
+
import { DSButtonV2 } from '@elliemae/ds-button-v2';
|
|
291
|
+
import { useAppDispatch } from '../../data/react.js';
|
|
292
|
+
import { error } from '../../index.js';
|
|
293
|
+
import { ErrorToast } from './index.js';
|
|
294
|
+
|
|
295
|
+
export default {
|
|
296
|
+
title: 'Components/ErrorToast',
|
|
297
|
+
Component: ErrorToast,
|
|
298
|
+
} as Meta;
|
|
299
|
+
|
|
300
|
+
const Renderer = ({ Comp }: { Comp: React.ComponentType }) => {
|
|
301
|
+
const [show, setShow] = useState(false);
|
|
302
|
+
useEffect(() => {
|
|
303
|
+
setShow(true);
|
|
304
|
+
}, []);
|
|
305
|
+
return show ? <Comp /> : null;
|
|
306
|
+
};
|
|
307
|
+
|
|
308
|
+
const Basic = () => {
|
|
309
|
+
const dispatch = useAppDispatch();
|
|
310
|
+
useEffect(() => {
|
|
311
|
+
dispatch(error.set({ description: 'This is Error Toast' }));
|
|
312
|
+
}, [dispatch]);
|
|
313
|
+
return null;
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
export const BasicError = () => <Renderer Comp={Basic} />;
|
|
317
|
+
|
|
318
|
+
interface ShowToastProps {
|
|
319
|
+
messageText?: string;
|
|
320
|
+
type: (typeof ToastType)[keyof typeof ToastType];
|
|
321
|
+
}
|
|
322
|
+
// Action wrappers for readability
|
|
323
|
+
const showToast = ({
|
|
324
|
+
messageText = 'Toast Message',
|
|
325
|
+
type = ToastType.DEFAULT,
|
|
326
|
+
...props
|
|
327
|
+
}: ShowToastProps) =>
|
|
328
|
+
error.set({
|
|
329
|
+
type,
|
|
330
|
+
messageText,
|
|
331
|
+
messageTitle: type,
|
|
332
|
+
containerId: 'app-toast',
|
|
333
|
+
...props,
|
|
334
|
+
});
|
|
335
|
+
const successToast = (props: Record<string, unknown>) =>
|
|
336
|
+
showToast({ ...props, type: ToastType.SUCCESS });
|
|
337
|
+
const infoToast = (props: Record<string, unknown>) =>
|
|
338
|
+
showToast({ ...props, type: ToastType.INFO });
|
|
339
|
+
const warningToast = (props: Record<string, unknown>) =>
|
|
340
|
+
showToast({ ...props, type: ToastType.WARNING });
|
|
341
|
+
const errorToast = (props: Record<string, unknown>) =>
|
|
342
|
+
showToast({ ...props, type: ToastType.ERROR });
|
|
343
|
+
|
|
344
|
+
const ToastButton = ({
|
|
345
|
+
labelText,
|
|
346
|
+
onClick,
|
|
347
|
+
}: {
|
|
348
|
+
labelText: string;
|
|
349
|
+
onClick: () => void;
|
|
350
|
+
}) => (
|
|
351
|
+
<DSButtonV2 buttonType="text" onClick={onClick}>
|
|
352
|
+
{labelText}
|
|
353
|
+
</DSButtonV2>
|
|
354
|
+
);
|
|
355
|
+
|
|
356
|
+
type ToastActionFn = ({
|
|
357
|
+
description,
|
|
358
|
+
}: {
|
|
359
|
+
description: string;
|
|
360
|
+
}) => ReturnType<typeof showToast>;
|
|
361
|
+
|
|
362
|
+
const ToastMultipleTypes = () => {
|
|
363
|
+
const dispatch = useAppDispatch();
|
|
364
|
+
const openToast = (toastAction: ToastActionFn) => () =>
|
|
365
|
+
dispatch(toastAction({ description: 'This is Error Toast' }));
|
|
366
|
+
return (
|
|
367
|
+
<>
|
|
368
|
+
<ToastButton labelText="Success" onClick={openToast(successToast)} />
|
|
369
|
+
<ToastButton labelText="Info" onClick={openToast(infoToast)} />
|
|
370
|
+
<ToastButton labelText="Warning" onClick={openToast(warningToast)} />
|
|
371
|
+
<ToastButton labelText="Error" onClick={openToast(errorToast)} />
|
|
372
|
+
</>
|
|
373
|
+
);
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
export const ToastDifferentTypes = () => <Renderer Comp={ToastMultipleTypes} />;
|
|
377
|
+
`,locationsMap:{"basic-error":{startLoc:{col:26,line:30},endLoc:{col:57,line:30},startBody:{col:26,line:30},endBody:{col:57,line:30}},"toast-different-types":{startLoc:{col:35,line:90},endLoc:{col:79,line:90},startBody:{col:35,line:90},endBody:{col:79,line:90}}}}},title:"Components/ErrorToast",Component:S.Q};var C=function(n){var t=n.Comp,s=(0,T.useState)(!1),p=R()(s,2),c=p[0],l=p[1];return(0,T.useEffect)(function(){l(!0)},[]),c?e()(t,{}):null},v=function(){var n=(0,d.j)();return(0,T.useEffect)(function(){n(y.o.set({description:"This is Error Toast"}))},[n]),null},E=function(){return f||(f=e()(C,{Comp:v}))};E.displayName="BasicError";var i=function(n){var t=n.messageText,s=t===void 0?"Toast Message":t,p=n.type,c=p===void 0?r.Ck.DEFAULT:p,l=w()(n,k);return y.o.set(Object.assign({type:c,messageText:s,messageTitle:c,containerId:"app-toast"},l))},O=function(n){return i(Object.assign({},n,{type:r.Ck.SUCCESS}))},L=function(n){return i(Object.assign({},n,{type:r.Ck.INFO}))},I=function(n){return i(Object.assign({},n,{type:r.Ck.WARNING}))},P=function(n){return i(Object.assign({},n,{type:r.Ck.ERROR}))},a=function(n){var t=n.labelText,s=n.onClick;return e()(b.e,{buttonType:"text",onClick:s},void 0,t)};a.displayName="ToastButton";var j=function(){var n=(0,d.j)(),t=function(s){return function(){return n(s({description:"This is Error Toast"}))}};return(0,m.jsxs)(m.Fragment,{children:[e()(a,{labelText:"Success",onClick:t(O)}),e()(a,{labelText:"Info",onClick:t(L)}),e()(a,{labelText:"Warning",onClick:t(I)}),e()(a,{labelText:"Error",onClick:t(P)})]})},x=function(){return h||(h=e()(C,{Comp:j}))};x.displayName="ToastDifferentTypes";var F=["BasicError","ToastDifferentTypes"]}}]);
|
|
Binary file
|
|
Binary file
|