@ebrains/components 0.9.3-beta → 1.0.0
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 +4 -2
- package/dist/cjs/{analytics-d8fb3fdd.js → analytics-28713bf7.js} +2 -2
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
- package/dist/cjs/components-section.cjs.entry.js +23 -17
- package/dist/cjs/components.cjs.js +2 -2
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/docs-palettes.cjs.entry.js +2 -2
- package/dist/cjs/docs-tokens.cjs.entry.js +2 -2
- package/dist/cjs/eds-accordion.cjs.entry.js +3 -3
- package/dist/cjs/eds-alert.cjs.entry.js +2 -2
- package/dist/cjs/eds-app-root.cjs.entry.js +2 -2
- package/dist/cjs/eds-avatar_34.cjs.entry.js +2731 -0
- package/dist/cjs/eds-card-project.cjs.entry.js +136 -8
- package/dist/cjs/eds-card-section.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tool.cjs.entry.js +3 -3
- package/dist/cjs/eds-code-block.cjs.entry.js +1 -1
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +2 -2
- package/dist/cjs/eds-feedback.cjs.entry.js +7 -2
- package/dist/cjs/eds-frame.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bookmark.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-close.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-copy.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-external.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-minus.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-paper.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-plus.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-portal.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-private.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-public.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-tutorial.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-unknown.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-updown.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
- package/dist/cjs/eds-matomo-notice.cjs.entry.js +10 -8
- package/dist/cjs/eds-pagination_2.cjs.entry.js +6 -6
- package/dist/cjs/eds-progress-bar.cjs.entry.js +32 -5
- package/dist/cjs/eds-rating.cjs.entry.js +2 -2
- package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
- package/dist/cjs/eds-spinner.cjs.entry.js +2 -2
- package/dist/cjs/eds-splash-screen.cjs.entry.js +60 -0
- package/dist/cjs/eds-switch.cjs.entry.js +14 -6
- package/dist/cjs/eds-timeline.cjs.entry.js +3 -3
- package/dist/cjs/eds-toast-manager.cjs.entry.js +33 -4
- package/dist/cjs/eds-toast.cjs.entry.js +5 -4
- package/dist/cjs/eds-trl.cjs.entry.js +2 -2
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/{index-2f63169d.js → index-88c8039f.js} +37 -319
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/logo-space.cjs.entry.js +2 -2
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +3 -3
- package/dist/cjs/logo-variations-tabs.cjs.entry.js +2 -2
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
- package/dist/cjs/svg-repository.cjs.entry.js +2 -2
- package/dist/cjs/token-list_3.cjs.entry.js +4 -4
- package/dist/cjs/token-ratios.cjs.entry.js +2 -2
- package/dist/cjs/token-typography.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/eds-accordion/eds-accordion.css +0 -8
- package/dist/collection/components/eds-alert/eds-alert.css +1 -575
- package/dist/collection/components/eds-alert/eds-alert.stories.js +3 -1
- package/dist/collection/components/eds-avatar/eds-avatar.css +40 -25
- package/dist/collection/components/eds-avatar/eds-avatar.js +11 -21
- package/dist/collection/components/eds-avatar/eds-avatar.stories.js +5 -2
- package/dist/collection/components/eds-block-break/eds-block-break.css +2 -27
- package/dist/collection/components/eds-block-break/eds-block-break.js +9 -14
- package/dist/collection/components/eds-button/eds-button.css +318 -8312
- package/dist/collection/components/eds-button/eds-button.js +5 -59
- package/dist/collection/components/eds-button/eds-button.stories.js +4 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.css +5 -7
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -20
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +10 -1
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.css +58 -0
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +172 -0
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.stories.js +57 -0
- package/dist/collection/components/eds-charts/eds-pie/eds-pie.css +135 -0
- package/dist/collection/components/eds-charts/eds-pie/eds-pie.js +229 -0
- package/dist/collection/components/eds-charts/eds-pie/eds-pie.stories.js +76 -0
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +33 -156
- package/dist/collection/components/eds-input-field/eds-input-field.js +42 -15
- package/dist/collection/components/eds-link/eds-link.css +384 -6247
- package/dist/collection/components/eds-link/eds-link.js +2 -1
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.css +96 -61
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +48 -3
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.stories.js +3 -4
- package/dist/collection/components/eds-rating/eds-rating.js +1 -1
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +5 -1
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
- package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
- package/dist/collection/components/eds-switch/eds-switch.css +13 -2
- package/dist/collection/components/eds-switch/eds-switch.js +13 -5
- package/dist/collection/components/eds-table/eds-table.js +4 -4
- package/dist/collection/components/eds-table/eds-table.stories.js +1 -11
- package/dist/collection/components/eds-tag/eds-tag.css +22 -12
- package/dist/collection/components/eds-tag/eds-tag.js +1 -1
- package/dist/collection/components/eds-timeline/eds-timeline.css +46 -7755
- package/dist/collection/components/eds-timeline/eds-timeline.js +4 -1
- package/dist/collection/components/eds-toast/eds-toast.js +7 -7
- package/dist/collection/components/eds-tooltip/eds-tooltip.css +89 -93
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +6 -120
- package/dist/collection/components/eds-tooltip/eds-tooltip.stories.js +5 -3
- package/dist/collection/components/eds-trl/eds-trl.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
- package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
- package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/functional/angular.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/functional/installation.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/functional/overview.js +2 -2
- package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
- package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
- package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +24 -1
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.stories.js +9 -1
- package/dist/collection/shared-ui/eds-footer/eds-footer.css +4 -0
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +46 -2
- package/dist/collection/shared-ui/eds-footer/eds-footer.stories.js +16 -3
- package/dist/collection/shared-ui/eds-form/eds-form.js +42 -10
- package/dist/collection/shared-ui/eds-frame/eds-frame.css +147 -115
- package/dist/collection/shared-ui/eds-frame/eds-frame.js +1 -1
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.css +149 -117
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +1 -1
- package/dist/collection/shared-ui/eds-header/eds-header.css +178 -132
- package/dist/collection/shared-ui/eds-header/eds-header.js +21 -40
- package/dist/collection/shared-ui/eds-header/eds-header.stories.js +6 -5
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +8 -6
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +1 -0
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
- package/dist/collection/{components → shared-ui}/eds-steps/eds-steps.css +2 -35
- package/dist/collection/{components → shared-ui}/eds-steps/eds-steps.js +2 -2
- package/dist/collection/{components → shared-ui}/eds-steps/eds-steps.stories.js +1 -1
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +4 -128
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.stories.js +1 -1
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +268 -7686
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +10 -10
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.stories.js +20 -10
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/shared-ui/eds-user/eds-user.css +36 -7758
- package/dist/collection/shared-ui/eds-user/eds-user.js +1 -1
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/collection/utils/analytics.js +2 -2
- package/dist/collection/utils/color.js +8 -8
- package/dist/components/analytics.js +2 -2
- package/dist/components/components-section.js +22 -16
- package/dist/components/components.css +34 -516
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/docs-palettes.js +1 -1
- package/dist/components/docs-tokens.js +1 -1
- package/dist/components/eds-accordion2.js +1 -1
- package/dist/components/eds-alert2.js +1 -1
- package/dist/components/eds-app-root.js +2 -20
- package/dist/components/eds-avatar2.js +4 -15
- package/dist/components/eds-block-break2.js +4 -4
- package/dist/components/eds-button2.js +6 -60
- package/dist/components/eds-card-desc2.js +2 -4
- package/dist/components/eds-card-generic2.js +2 -2
- package/dist/components/eds-card-project.js +131 -2
- package/dist/components/eds-card-tool.js +1 -1
- package/dist/components/eds-cookies-preference.js +1 -1
- package/dist/components/eds-feedback.js +7 -1
- package/dist/components/eds-footer2.js +7 -3
- package/dist/components/eds-form.js +17 -9
- package/dist/components/eds-frame.js +2 -2
- package/dist/components/eds-fullscreen-menu.js +1 -1
- package/dist/components/{eds-login.d.ts → eds-gauge.d.ts} +4 -4
- package/dist/components/eds-gauge.js +81 -0
- package/dist/components/eds-header.js +15 -34
- package/dist/components/eds-input-field2.js +26 -16
- package/dist/components/eds-input-select2.js +12 -84
- package/dist/components/eds-link2.js +3 -2
- package/dist/components/eds-matomo-notice2.js +8 -6
- package/dist/components/{eds-card-wrapper.d.ts → eds-pie.d.ts} +4 -4
- package/dist/components/eds-pie.js +127 -0
- package/dist/components/eds-progress-bar2.js +32 -4
- package/dist/components/eds-rating2.js +1 -1
- package/dist/components/eds-section-core2.js +3 -2
- package/dist/components/eds-section-heading2.js +2 -2
- package/dist/components/eds-social-networks2.js +1 -1
- package/dist/components/eds-spinner2.js +1 -1
- package/dist/components/eds-steps-v2.js +1 -1
- package/dist/components/eds-steps2.js +1 -1
- package/dist/components/eds-switch.js +13 -5
- package/dist/components/eds-table2.js +4 -4
- package/dist/components/eds-tabs.js +11 -11
- package/dist/components/eds-tag2.js +2 -2
- package/dist/components/eds-timeline.js +2 -2
- package/dist/components/eds-toast-manager.js +31 -2
- package/dist/components/eds-toast2.js +4 -3
- package/dist/components/eds-tooltip.js +7 -88
- package/dist/components/eds-trl.js +1 -1
- package/dist/components/eds-user.js +10 -4
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +1 -1
- package/dist/components/logo-variations-horizontal2.js +1 -1
- package/dist/components/logo-variations-tabs.js +1 -1
- package/dist/components/logo-variations-vertical2.js +1 -1
- package/dist/components/logo-wrong-usage.js +1 -1
- package/dist/components/p-019555e2.entry.js +1 -0
- package/dist/components/p-04b4e9d0.entry.js +1 -0
- package/dist/components/p-0863352c.entry.js +1 -0
- package/dist/components/p-0d6434e1.entry.js +1 -0
- package/dist/components/p-0e94a89f.entry.js +1 -0
- package/dist/components/p-0ed92872.entry.js +1 -0
- package/dist/components/{p-c4db0829.entry.js → p-0eeddc13.entry.js} +1 -1
- package/dist/components/p-100909ce.entry.js +1 -0
- package/dist/components/{p-892362e0.entry.js → p-10db551c.entry.js} +1 -1
- package/dist/components/{p-aa2e6fec.entry.js → p-124b8747.entry.js} +1 -1
- package/dist/components/p-14a223fe.entry.js +1 -0
- package/dist/components/{p-e089797c.entry.js → p-1661f33c.entry.js} +1 -1
- package/dist/components/{p-05b272e5.entry.js → p-18ceadd2.entry.js} +1 -1
- package/dist/components/p-223ba66e.entry.js +1 -0
- package/dist/components/{p-751497f4.entry.js → p-24dab785.entry.js} +1 -1
- package/dist/components/p-26d6679b.entry.js +1 -0
- package/dist/components/p-2810d568.entry.js +1 -0
- package/dist/components/p-28ae3f3a.js +2 -0
- package/dist/components/p-2b1b2026.entry.js +1 -0
- package/dist/components/p-2c571550.entry.js +1 -0
- package/dist/components/p-326d9e55.entry.js +1 -0
- package/dist/components/p-36d6134f.entry.js +1 -0
- package/dist/components/p-3c642a30.entry.js +1 -0
- package/dist/components/p-46619042.entry.js +1 -0
- package/dist/components/{p-75d37c48.entry.js → p-46a6ab04.entry.js} +1 -1
- package/dist/components/{p-d83d2815.entry.js → p-50ea5b07.entry.js} +1 -1
- package/dist/components/p-511b23ec.entry.js +1 -0
- package/dist/components/p-5462923d.entry.js +1 -0
- package/dist/components/p-6199b8c0.entry.js +1 -0
- package/dist/components/{p-888c3471.entry.js → p-624e653e.entry.js} +1 -1
- package/dist/components/{p-0b99fd3c.entry.js → p-682f7376.entry.js} +1 -1
- package/dist/components/p-6907a47c.entry.js +1 -0
- package/dist/components/p-6ba42d02.entry.js +1 -0
- package/dist/components/p-6e929acb.entry.js +1 -0
- package/dist/components/p-6ede7101.entry.js +1 -0
- package/dist/components/p-70bac015.entry.js +1 -0
- package/dist/components/p-7af6b832.entry.js +1 -0
- package/dist/components/p-7f31622d.entry.js +1 -0
- package/dist/components/p-822ac246.entry.js +1 -0
- package/dist/components/p-848506b8.entry.js +1 -0
- package/dist/components/p-84fd3e40.entry.js +1 -0
- package/dist/components/p-85634ad2.entry.js +1 -0
- package/dist/components/{p-7a550385.entry.js → p-8ad05566.entry.js} +1 -1
- package/dist/components/{p-037975af.entry.js → p-8b016d76.entry.js} +1 -1
- package/dist/components/p-8bdf5841.entry.js +1 -0
- package/dist/components/p-8ff39cef.entry.js +1 -0
- package/dist/components/{p-29ad9c73.entry.js → p-a4f552b2.entry.js} +1 -1
- package/dist/components/p-a81cba86.entry.js +1 -0
- package/dist/components/p-abb2ad00.entry.js +1 -0
- package/dist/components/{p-b8ba7e5c.entry.js → p-adbd0d7b.entry.js} +1 -1
- package/dist/components/p-affe2b55.entry.js +1 -0
- package/dist/components/p-b31591db.entry.js +1 -0
- package/dist/components/{p-7db75d62.entry.js → p-b4abff90.entry.js} +1 -1
- package/dist/components/{p-67c72c20.entry.js → p-b50fc0d7.entry.js} +1 -1
- package/dist/components/p-b7efd666.entry.js +1 -0
- package/dist/components/p-ba784274.entry.js +1 -0
- package/dist/components/p-bb9af709.entry.js +1 -0
- package/dist/components/p-bfc62d3e.entry.js +1 -0
- package/dist/components/p-c0b22803.entry.js +1 -0
- package/dist/components/p-cdd491f5.entry.js +1 -0
- package/dist/components/{p-688e07d6.entry.js → p-cde3d7a4.entry.js} +1 -1
- package/dist/components/p-cfccddc3.entry.js +1 -0
- package/dist/components/p-d15065c3.js +1 -0
- package/dist/components/p-d268c96b.entry.js +1 -0
- package/dist/components/p-d437bae2.entry.js +1 -0
- package/dist/components/p-d456e649.entry.js +1 -0
- package/dist/components/p-dae8f66a.entry.js +1 -0
- package/dist/components/p-e1791844.entry.js +1 -0
- package/dist/components/p-e82edd4a.entry.js +1 -0
- package/dist/components/p-e9f608a8.entry.js +1 -0
- package/dist/components/{p-55e3683c.entry.js → p-ea97a94e.entry.js} +1 -1
- package/dist/components/{p-e2b00067.entry.js → p-eac593ee.entry.js} +1 -1
- package/dist/components/p-f26fd186.entry.js +1 -0
- package/dist/components/{p-7ac9881e.entry.js → p-f2c23162.entry.js} +1 -1
- package/dist/components/p-fc4edb18.entry.js +1 -0
- package/dist/components/p-fe1cba17.entry.js +1 -0
- package/dist/components/primary.js +1 -1
- package/dist/components/primary2.js +1 -1
- package/dist/components/secondary.js +1 -1
- package/dist/components/secondary2.js +7 -7
- package/dist/components/support.js +1 -1
- package/dist/components/support2.js +3 -3
- package/dist/components/svg-repository.js +1 -1
- package/dist/components/token-list2.js +1 -1
- package/dist/components/token-radii2.js +1 -1
- package/dist/components/token-ratios.js +1 -1
- package/dist/components/token-shadows2.js +1 -1
- package/dist/components/token-spacing.js +1 -1
- package/dist/components/token-typography.js +1 -1
- package/dist/esm/{analytics-44b1416b.js → analytics-d99780e3.js} +2 -2
- package/dist/esm/color-primary-palette_6.entry.js +15 -15
- package/dist/esm/components-section.entry.js +23 -17
- package/dist/esm/components.js +3 -3
- package/dist/esm/correct-use-of-colors.entry.js +2 -2
- package/dist/esm/docs-palettes.entry.js +2 -2
- package/dist/esm/docs-tokens.entry.js +2 -2
- package/dist/esm/eds-accordion.entry.js +3 -3
- package/dist/esm/eds-alert.entry.js +2 -2
- package/dist/esm/eds-app-root.entry.js +2 -2
- package/dist/esm/eds-avatar_34.entry.js +2694 -0
- package/dist/esm/eds-card-project.entry.js +133 -5
- package/dist/esm/eds-card-section.entry.js +1 -1
- package/dist/esm/eds-card-tags.entry.js +1 -1
- package/dist/esm/eds-card-tool.entry.js +3 -3
- package/dist/esm/eds-code-block.entry.js +1 -1
- package/dist/esm/eds-cookies-preference.entry.js +2 -2
- package/dist/esm/eds-feedback.entry.js +7 -2
- package/dist/esm/eds-frame.entry.js +3 -3
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +1 -1
- package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
- package/dist/esm/eds-icon-bluesky.entry.js +1 -1
- package/dist/esm/eds-icon-bookmark.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
- package/dist/esm/eds-icon-close.entry.js +1 -1
- package/dist/esm/eds-icon-copy.entry.js +1 -1
- package/dist/esm/eds-icon-eu.entry.js +1 -1
- package/dist/esm/eds-icon-external.entry.js +1 -1
- package/dist/esm/eds-icon-facebook.entry.js +1 -1
- package/dist/esm/eds-icon-gitlab.entry.js +1 -1
- package/dist/esm/eds-icon-linkedin.entry.js +1 -1
- package/dist/esm/eds-icon-loader.entry.js +1 -1
- package/dist/esm/eds-icon-mastodon.entry.js +1 -1
- package/dist/esm/eds-icon-menu.entry.js +1 -1
- package/dist/esm/eds-icon-minus.entry.js +1 -1
- package/dist/esm/eds-icon-more.entry.js +1 -1
- package/dist/esm/eds-icon-paper.entry.js +1 -1
- package/dist/esm/eds-icon-plus.entry.js +1 -1
- package/dist/esm/eds-icon-portal.entry.js +1 -1
- package/dist/esm/eds-icon-private.entry.js +1 -1
- package/dist/esm/eds-icon-public.entry.js +1 -1
- package/dist/esm/eds-icon-search.entry.js +1 -1
- package/dist/esm/eds-icon-star.entry.js +1 -1
- package/dist/esm/eds-icon-success.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
- package/dist/esm/eds-icon-tutorial.entry.js +1 -1
- package/dist/esm/eds-icon-twitter.entry.js +1 -1
- package/dist/esm/eds-icon-unknown.entry.js +1 -1
- package/dist/esm/eds-icon-updown.entry.js +1 -1
- package/dist/esm/eds-icon-user.entry.js +1 -1
- package/dist/esm/eds-icon-youtube.entry.js +1 -1
- package/dist/esm/eds-matomo-notice.entry.js +10 -8
- package/dist/esm/eds-pagination_2.entry.js +6 -6
- package/dist/esm/eds-progress-bar.entry.js +32 -5
- package/dist/esm/eds-rating.entry.js +2 -2
- package/dist/esm/eds-section-core_2.entry.js +4 -4
- package/dist/esm/eds-spinner.entry.js +2 -2
- package/dist/esm/eds-splash-screen.entry.js +56 -0
- package/dist/esm/eds-switch.entry.js +14 -6
- package/dist/esm/eds-timeline.entry.js +3 -3
- package/dist/esm/eds-toast-manager.entry.js +32 -3
- package/dist/esm/eds-toast.entry.js +5 -4
- package/dist/esm/eds-trl.entry.js +2 -2
- package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
- package/dist/esm/{index-8a71b9a7.js → index-fdb33359.js} +37 -319
- package/dist/esm/loader.js +3 -3
- package/dist/esm/logo-space.entry.js +2 -2
- package/dist/esm/logo-variations-horizontal_2.entry.js +3 -3
- package/dist/esm/logo-variations-tabs.entry.js +2 -2
- package/dist/esm/logo-wrong-usage.entry.js +2 -2
- package/dist/esm/svg-repository.entry.js +2 -2
- package/dist/esm/token-list_3.entry.js +4 -4
- package/dist/esm/token-ratios.entry.js +2 -2
- package/dist/esm/token-typography.entry.js +2 -2
- package/dist/hydrate/index.js +815 -2882
- package/dist/hydrate/index.mjs +815 -2882
- package/dist/types/components/eds-avatar/eds-avatar.d.ts +3 -4
- package/dist/types/components/eds-avatar/eds-avatar.stories.d.ts +2 -1
- package/dist/types/components/eds-block-break/eds-block-break.d.ts +2 -7
- package/dist/types/components/eds-button/eds-button.d.ts +0 -1
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.d.ts +0 -5
- package/dist/types/components/eds-charts/eds-gauge/eds-gauge.d.ts +14 -0
- package/dist/types/components/eds-charts/eds-gauge/eds-gauge.stories.d.ts +52 -0
- package/dist/types/components/eds-charts/eds-pie/eds-pie.d.ts +28 -0
- package/dist/types/components/eds-charts/eds-pie/eds-pie.stories.d.ts +60 -0
- package/dist/types/components/eds-input-elements/eds-input-select/eds-input-select.d.ts +18 -116
- package/dist/types/components/eds-input-field/eds-input-field.d.ts +6 -0
- package/dist/types/components/eds-progress-bar/eds-progress-bar.d.ts +3 -3
- package/dist/types/components/eds-progress-bar/eds-progress-bar.stories.d.ts +3 -0
- package/dist/types/components/eds-section/eds-section-core/eds-section-core.d.ts +3 -0
- package/dist/types/components/eds-switch/eds-switch.d.ts +2 -1
- package/dist/types/components/eds-table/eds-table.stories.d.ts +0 -8
- package/dist/types/components/eds-timeline/eds-timeline.d.ts +3 -0
- package/dist/types/components/eds-toast/eds-toast.d.ts +3 -2
- package/dist/types/components/eds-tooltip/eds-tooltip.d.ts +2 -36
- package/dist/types/components.d.ts +211 -241
- package/dist/types/shared-ui/eds-feedback/eds-feedback.d.ts +4 -0
- package/dist/types/shared-ui/eds-feedback/eds-feedback.stories.d.ts +8 -4
- package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +10 -0
- package/dist/types/shared-ui/eds-footer/eds-footer.stories.d.ts +10 -0
- package/dist/types/shared-ui/eds-form/eds-form.d.ts +1 -1
- package/dist/types/shared-ui/eds-header/eds-header.d.ts +5 -24
- package/dist/types/shared-ui/eds-header/eds-header.stories.d.ts +6 -3
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +0 -1
- package/dist/types/shared-ui/eds-tabs/eds-tabs.stories.d.ts +0 -1
- package/package.json +14 -4
- package/dist/cjs/color-c00146a8.js +0 -134
- package/dist/cjs/eds-avatar_27.cjs.entry.js +0 -2404
- package/dist/cjs/eds-card-desc_2.cjs.entry.js +0 -78
- package/dist/cjs/eds-card-generic.cjs.entry.js +0 -92
- package/dist/cjs/eds-card-wrapper.cjs.entry.js +0 -32
- package/dist/cjs/eds-login_2.cjs.entry.js +0 -2100
- package/dist/cjs/eds-tabs.cjs.entry.js +0 -130
- package/dist/cjs/eds-tooltip.cjs.entry.js +0 -109
- package/dist/cjs/toastManager-4e9535f3.js +0 -33
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.js +0 -86
- package/dist/collection/shared-ui/eds-login/eds-login.js +0 -190
- package/dist/components/color.js +0 -132
- package/dist/components/eds-card-wrapper.js +0 -49
- package/dist/components/eds-login.js +0 -6
- package/dist/components/eds-login2.js +0 -2076
- package/dist/components/p-05549a74.entry.js +0 -1
- package/dist/components/p-0e378e0e.entry.js +0 -1
- package/dist/components/p-13efafb9.js +0 -1
- package/dist/components/p-1ec25dc2.entry.js +0 -1
- package/dist/components/p-202f78cc.entry.js +0 -1
- package/dist/components/p-22b76c3c.entry.js +0 -1
- package/dist/components/p-22f9e720.js +0 -1
- package/dist/components/p-24300934.entry.js +0 -1
- package/dist/components/p-25f1cc6c.entry.js +0 -1
- package/dist/components/p-31ca07fd.entry.js +0 -1
- package/dist/components/p-342bc3d8.entry.js +0 -1
- package/dist/components/p-35068b80.entry.js +0 -1
- package/dist/components/p-3950debe.entry.js +0 -1
- package/dist/components/p-3d74d4b1.entry.js +0 -1
- package/dist/components/p-42f19373.entry.js +0 -1
- package/dist/components/p-4ecaedbc.entry.js +0 -1
- package/dist/components/p-5055eb25.entry.js +0 -1
- package/dist/components/p-5646902d.entry.js +0 -1
- package/dist/components/p-5ff68e7d.entry.js +0 -1
- package/dist/components/p-63cc5d3d.entry.js +0 -1
- package/dist/components/p-6506cf52.entry.js +0 -1
- package/dist/components/p-6aa17003.entry.js +0 -1
- package/dist/components/p-6e273e0f.entry.js +0 -1
- package/dist/components/p-6fcb754e.entry.js +0 -1
- package/dist/components/p-70c9af1e.entry.js +0 -1
- package/dist/components/p-7180a36b.entry.js +0 -1
- package/dist/components/p-7351cad3.entry.js +0 -1
- package/dist/components/p-75cc9f9e.entry.js +0 -1
- package/dist/components/p-7a31c31f.entry.js +0 -1
- package/dist/components/p-7cb60f9c.entry.js +0 -1
- package/dist/components/p-8a4d9b9b.entry.js +0 -1
- package/dist/components/p-8b7f5204.entry.js +0 -1
- package/dist/components/p-8db820ef.entry.js +0 -1
- package/dist/components/p-ae4f5e3a.entry.js +0 -1
- package/dist/components/p-b024183c.entry.js +0 -1
- package/dist/components/p-b115c3f1.entry.js +0 -1
- package/dist/components/p-b3a3ae59.entry.js +0 -1
- package/dist/components/p-b4595a9e.entry.js +0 -1
- package/dist/components/p-b817dceb.entry.js +0 -1
- package/dist/components/p-b8ca2127.entry.js +0 -1
- package/dist/components/p-ba6cc102.entry.js +0 -1
- package/dist/components/p-c51b5f04.entry.js +0 -1
- package/dist/components/p-c5a7d2b1.entry.js +0 -1
- package/dist/components/p-c5c782e7.entry.js +0 -1
- package/dist/components/p-c5f98369.entry.js +0 -1
- package/dist/components/p-c604063d.entry.js +0 -1
- package/dist/components/p-c9a19e93.entry.js +0 -1
- package/dist/components/p-cccacbd3.js +0 -2
- package/dist/components/p-d164a75d.entry.js +0 -1
- package/dist/components/p-d4c920fa.entry.js +0 -1
- package/dist/components/p-d82cc261.entry.js +0 -1
- package/dist/components/p-da6e49a9.entry.js +0 -1
- package/dist/components/p-dcd4de1f.entry.js +0 -1
- package/dist/components/p-e8a2d709.entry.js +0 -1
- package/dist/components/p-ea942740.entry.js +0 -1
- package/dist/components/p-eb0b93d5.js +0 -1
- package/dist/components/p-ece20356.entry.js +0 -1
- package/dist/components/p-ed6fd4b8.entry.js +0 -1
- package/dist/components/p-f3822d6b.entry.js +0 -1
- package/dist/components/p-f539febe.entry.js +0 -1
- package/dist/components/p-f7f4b247.entry.js +0 -1
- package/dist/components/p-fdbfa776.entry.js +0 -1
- package/dist/components/p-fe27f4a9.entry.js +0 -1
- package/dist/components/toastManager.js +0 -31
- package/dist/esm/color-2554aad6.js +0 -132
- package/dist/esm/eds-avatar_27.entry.js +0 -2374
- package/dist/esm/eds-card-desc_2.entry.js +0 -73
- package/dist/esm/eds-card-generic.entry.js +0 -88
- package/dist/esm/eds-card-wrapper.entry.js +0 -28
- package/dist/esm/eds-login_2.entry.js +0 -2095
- package/dist/esm/eds-tabs.entry.js +0 -126
- package/dist/esm/eds-tooltip.entry.js +0 -105
- package/dist/esm/toastManager-d9eee791.js +0 -31
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.d.ts +0 -23
- package/dist/types/shared-ui/eds-login/eds-login.d.ts +0 -67
- /package/dist/collection/components/eds-section/eds-section-core/{eds-section-core.stories.js → eds-section-core.donotstories.js} +0 -0
- /package/dist/collection/components/eds-timeline/{eds-timeline.stories.js → eds-timeline.donot-stories.js} +0 -0
- /package/dist/types/components/eds-section/eds-section-core/{eds-section-core.stories.d.ts → eds-section-core.donotstories.d.ts} +0 -0
- /package/dist/types/components/eds-timeline/{eds-timeline.stories.d.ts → eds-timeline.donot-stories.d.ts} +0 -0
- /package/dist/types/{components → shared-ui}/eds-steps/eds-steps.d.ts +0 -0
- /package/dist/types/{components → shared-ui}/eds-steps/eds-steps.stories.d.ts +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as c}from"./p-cccacbd3.js";import{u as r}from"./p-d962849c.js";const n=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"a9145c4e133746c314a1ee34d36a5f19f3686565",class:this.class,innerHTML:r})}};export{n as eds_icon_unknown}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),i=new Map,r=new Map,c="s-id",f="c-id",u="slot-fb{display:contents}slot-fb[hidden]{display:none}",a="http://www.w3.org/1999/xlink",d="undefined"!=typeof window?window:{},$=d.document||{head:{}},h={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},p=e=>Promise.resolve(e),m=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),v=!1,y=[],b=[],w=(e,t)=>n=>{e.push(n),v||(v=!0,t&&4&h.l?S(k):h.raf(k))},g=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},k=()=>{g(y),g(b),(v=y.length>0)&&h.raf(k)},S=e=>p().then(e),j=w(b,!0),E={},x=e=>"object"==(e=typeof e)||"function"===e;function O(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>M,map:()=>P,ok:()=>C,unwrap:()=>D,unwrapErr:()=>H});var C=e=>({isOk:!0,isErr:!1,value:e}),M=e=>({isOk:!1,isErr:!0,value:e});function P(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>C(e))):C(n)}if(e.isErr)return M(e.value);throw"should never get here"}var R,A,T,D=e=>{if(e.isOk)return e.value;throw e.value},H=e=>{if(e.isErr)return e.value;throw e.value},I=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,r=!1;const c=[],f=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!x(l))&&(l+=""),i&&r?c[c.length-1].i+=l:c.push(i?L(null,l):l),r=i)};if(f(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,U);const u=L(e,null);return u.u=t,c.length>0&&(u.$=c),u.h=o,u.p=s,u},L=(e,t)=>({l:0,m:e,i:t,v:null,$:null,u:null,h:null,p:null}),N={},U={forEach:(e,t)=>e.map(F).forEach(t),map:(e,t)=>e.map(F).map(t).map(W)},F=e=>({vattrs:e.u,vchildren:e.$,vkey:e.h,vname:e.p,vtag:e.m,vtext:e.i}),W=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),I(e.vtag,t,...e.vchildren||[])}const t=L(e.vtag,e.vtext);return t.u=e.vattrs,t.$=e.vchildren,t.h=e.vkey,t.p=e.vname,t},q=(e,t,n,l,o,s,i)=>{let r,c,u,a;if(1===s.nodeType){if(r=s.getAttribute(f),r&&(c=r.split("."),c[0]!==i&&"0"!==c[0]||(u={l:0,k:c[0],S:c[1],j:c[2],O:c[3],m:s.tagName.toLowerCase(),v:s,u:null,$:null,h:null,p:null,i:null},t.push(u),s.removeAttribute(f),e.$||(e.$=[]),e.$[u.O]=u,e=u,l&&"0"===u.j&&(l[u.O]=u.v))),s.shadowRoot)for(a=s.shadowRoot.childNodes.length-1;a>=0;a--)q(e,t,n,l,o,s.shadowRoot.childNodes[a],i);for(a=s.childNodes.length-1;a>=0;a--)q(e,t,n,l,o,s.childNodes[a],i)}else if(8===s.nodeType)c=s.nodeValue.split("."),c[1]!==i&&"0"!==c[1]||(r=c[0],u={l:0,k:c[1],S:c[2],j:c[3],O:c[4],v:s,u:null,$:null,h:null,p:null,m:null,i:null},"t"===r?(u.v=s.nextSibling,u.v&&3===u.v.nodeType&&(u.i=u.v.textContent,t.push(u),s.remove(),e.$||(e.$=[]),e.$[u.O]=u,l&&"0"===u.j&&(l[u.O]=u.v))):u.k===i&&("s"===r?(u.m="slot",s["s-sn"]=c[5]?u.p=c[5]:"",s["s-sr"]=!0,l&&(u.v=$.createElement(u.m),u.p&&u.v.setAttribute("name",u.p),s.parentNode.insertBefore(u.v,s),s.remove(),"0"===u.j&&(l[u.O]=u.v)),n.push(u),e.$||(e.$=[]),e.$[u.O]=u):"r"===r&&(l?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(e&&"style"===e.m){const t=L(null,s.textContent);t.v=s,t.O="0",e.$=[t]}},G=(e,t)=>{if(1===e.nodeType){let n=0;if(e.shadowRoot)for(;n<e.shadowRoot.childNodes.length;n++)G(e.shadowRoot.childNodes[n],t);for(n=0;n<e.childNodes.length;n++)G(e.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},V=e=>n(e).$hostElement$,_=(e,t,n)=>{const l=V(e);return{emit:e=>z(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},z=(e,t,n)=>{const l=h.ce(t,n);return e.dispatchEvent(l),l},B=new WeakMap,J=(e,t)=>{var n;const l=K(t),o=r.get(l);if(e=11===e.nodeType?e:$,o)if("string"==typeof o){let s,i=B.get(e=e.head||e);if(i||B.set(e,i=new Set),!i.has(l)){if(e.host&&(s=e.querySelector(`[sty-id="${l}"]`)))s.innerHTML=o;else{s=$.createElement("style"),s.innerHTML=o;const l=null!=(n=h.C)?n:O($);if(null!=l&&s.setAttribute("nonce",l),!(1&t.l))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,n)}else"host"in e?e.prepend(s):e.append(s);1&t.l&&"HEAD"!==e.nodeName&&e.insertBefore(s,null)}4&t.l&&(s.innerHTML+=u),i&&i.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l},K=e=>"sc-"+e.M,Q=(e,t,n,l,s,i)=>{if(n!==l){let r=o(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=Y(n),s=Y(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(r||"o"!==t[0]||"n"!==t[1]){const o=x(l);if((r||o&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(e){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(a,t):e.removeAttribute(t)):(!r||4&i||s)&&!o&&(l=!0===l?"":l,f?e.setAttributeNS(a,t,l):e.setAttribute(t,l))}else if(t="-"===t[2]?t.slice(3):o(d,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(Z);t=t.replace(ee,""),n&&h.rel(e,t,n,o),l&&h.ael(e,t,l,o)}}},X=/\s/,Y=e=>e?e.split(X):[],Z="Capture",ee=RegExp(Z+"$"),te=(e,t,n)=>{const l=11===t.v.nodeType&&t.v.host?t.v.host:t.v,o=e&&e.u||E,s=t.u||E;for(const e of ne(Object.keys(o)))e in s||Q(l,e,o[e],void 0,n,t.l);for(const e of ne(Object.keys(s)))Q(l,e,o[e],s[e],n,t.l)};function ne(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var le=!1,oe=!1,se=!1,ie=!1,re=(e,t,n,l)=>{var o;const s=t.$[n];let i,r,c,f=0;if(le||(se=!0,"slot"===s.m&&(R&&l.classList.add(R+"-s"),s.l|=s.$?2:1)),null!==s.i)i=s.v=$.createTextNode(s.i);else if(1&s.l)i=s.v=$.createTextNode("");else if(i=s.v=$.createElement(!le&&2&s.l?"slot-fb":s.m),te(null,s,ie),i.getRootNode().querySelector("body"),s.$)for(f=0;f<s.$.length;++f)r=re(e,s,f,i),r&&i.appendChild(r);return i["s-hn"]=T,3&s.l&&(i["s-sr"]=!0,i["s-cr"]=A,i["s-sn"]=s.p||"",i["s-rf"]=null==(o=s.u)?void 0:o.ref,c=e&&e.$&&e.$[n],c&&c.m===s.m&&e.v&&ce(e.v,!1)),i},ce=(e,t)=>{h.l|=1;const n=Array.from(e.childNodes);for(let e=n.length-1;e>=0;e--){const l=n[e];l["s-hn"]!==T&&l["s-ol"]&&(we($e(l),l,de(l)),l["s-ol"].remove(),l["s-ol"]=void 0,l["s-sh"]=void 0,se=!0),t&&ce(l,t)}h.l&=-2},fe=(e,t,n,l,o,s)=>{let i,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===T&&(r=r.shadowRoot);o<=s;++o)l[o]&&(i=re(null,n,o,e),i&&(l[o].v=i,we(r,i,de(t))))},ue=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.v;be(t),e&&(oe=!0,e["s-ol"]?e["s-ol"].remove():ce(e,!0),e.remove())}}},ae=(e,t,n=!1)=>!(e.m!==t.m||("slot"===e.m?"S"in e&&n&&8!==e.v.nodeType||e.p!==t.p:!n&&e.h!==t.h)),de=e=>e&&e["s-ol"]||e,$e=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,he=(e,t,n=!1)=>{const l=t.v=e.v,o=e.$,s=t.$,i=t.i;let r;null===i?(("slot"!==t.m||le)&&te(e,t,ie),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,i,r=0,c=0,f=0,u=0,a=t.length-1,d=t[0],$=t[a],h=l.length-1,p=l[0],m=l[h];for(;r<=a&&c<=h;)if(null==d)d=t[++r];else if(null==$)$=t[--a];else if(null==p)p=l[++c];else if(null==m)m=l[--h];else if(ae(d,p,o))he(d,p,o),d=t[++r],p=l[++c];else if(ae($,m,o))he($,m,o),$=t[--a],m=l[--h];else if(ae(d,m,o))"slot"!==d.m&&"slot"!==m.m||ce(d.v.parentNode,!1),he(d,m,o),we(e,d.v,$.v.nextSibling),d=t[++r],m=l[--h];else if(ae($,p,o))"slot"!==d.m&&"slot"!==m.m||ce($.v.parentNode,!1),he($,p,o),we(e,$.v,d.v),$=t[--a],p=l[++c];else{for(f=-1,u=r;u<=a;++u)if(t[u]&&null!==t[u].h&&t[u].h===p.h){f=u;break}f>=0?(i=t[f],i.m!==p.m?s=re(t&&t[c],n,f,e):(he(i,p,o),t[f]=void 0,s=i.v),p=l[++c]):(s=re(t&&t[c],n,c,e),p=l[++c]),s&&we($e(d.v),s,de(d.v))}r>a?fe(e,null==l[h+1]?null:l[h+1].v,n,l,c,h):c>h&&ue(t,r,a)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),fe(l,null,t,s,0,s.length-1)):!n&&null!==o&&ue(o,0,o.length-1)):(r=l["s-cr"])?r.parentNode.textContent=i:e.i!==i&&(l.data=i)},pe=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const l of t)if(l!==e)if(l["s-hn"]!==e["s-hn"]||""!==n){if(1===l.nodeType&&(n===l.getAttribute("slot")||n===l["s-sn"])||3===l.nodeType&&n===l["s-sn"]){e.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){e.hidden=!0;break}}pe(e)}},me=[],ve=e=>{let t,n,l;for(const o of e.childNodes){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=o["s-sn"];for(l=n.length-1;l>=0;l--)if(t=n[l],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"])if(ye(t,e)){let n=me.find((e=>e.P===t));oe=!0,t["s-sn"]=t["s-sn"]||e,n?(n.P["s-sh"]=o["s-hn"],n.R=o):(t["s-sh"]=o["s-hn"],me.push({R:o,P:t})),t["s-sr"]&&me.map((e=>{ye(e.P,t["s-sn"])&&(n=me.find((e=>e.P===t)),n&&!e.R&&(e.R=n.R))}))}else me.some((e=>e.P===t))||me.push({P:t})}1===o.nodeType&&ve(o)}},ye=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,be=e=>{e.u&&e.u.ref&&e.u.ref(null),e.$&&e.$.map(be)},we=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),ge=(e,t)=>{t&&!e.A&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.A=t)))},ke=(e,t)=>{if(e.l|=16,!(4&e.l))return ge(e,e.T),j((()=>Se(e,t)));e.l|=512},Se=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(e.l|=256,e.D&&(e.D.map((([e,t])=>Pe(n,e,t))),e.D=void 0),l=Pe(n,"componentWillLoad")),je(l,(()=>xe(e,n,t)))},je=(e,t)=>Ee(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Ee=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,xe=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.H,n=e.$hostElement$,l=t.l,o=J(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&2&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);Oe(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>Ce(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},Oe=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{var l,o,s,i;const r=e.$hostElement$,c=e.H,f=e.I||L(null,null),u=(e=>e&&e.m===N)(t)?t:I(null,null,t);if(T=r.tagName,c.L&&(u.u=u.u||{},c.L.map((([e,t])=>u.u[t]=r[e]))),n&&u.u)for(const e of Object.keys(u.u))r.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(u.u[e]=r[e]);if(u.m=null,u.l|=4,e.I=u,u.v=f.v=r.shadowRoot||r,R=r["s-sc"],le=!!(1&c.l),A=r["s-cr"],oe=!1,he(f,u,n),h.l|=1,se){ve(u.v);for(const e of me){const t=e.P;if(!t["s-ol"]){const e=$.createTextNode("");e["s-nr"]=t,we(t.parentNode,t["s-ol"]=e,t)}}for(const e of me){const t=e.P,r=e.R;if(r){const e=r.parentNode;let n=r.nextSibling;{let s=null==(l=t["s-ol"])?void 0:l.previousSibling;for(;s;){let l=null!=(o=s["s-nr"])?o:null;if(l&&l["s-sn"]===t["s-sn"]&&e===l.parentNode){for(l=l.nextSibling;l===t||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){n=l;break}}s=s.previousSibling}}(!n&&e!==t.parentNode||t.nextSibling!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),we(e,t,n),1===t.nodeType&&(t.hidden=null!=(s=t["s-ih"])&&s)),t&&"function"==typeof r["s-rf"]&&r["s-rf"](t)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(i=t.hidden)&&i),t.hidden=!0)}}oe&&pe(u.v),h.l&=-2,me.length=0,A=void 0})(e,t,l)}catch(t){s(t,e.$hostElement$)}return null},Ce=e=>{const t=e.$hostElement$,n=e.t,l=e.T;64&e.l?Pe(n,"componentDidUpdate"):(e.l|=64,Re(t),Pe(n,"componentDidLoad"),e.N(t),l||Me()),e.U(t),e.A&&(e.A(),e.A=void 0),512&e.l&&S((()=>ke(e,!1))),e.l&=-517},Me=()=>{Re($.documentElement),S((()=>z(d,"appload",{detail:{namespace:"components"}})))},Pe=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},Re=e=>e.classList.add("hydrated"),Ae=(e,t,l)=>{var o,i;const r=e.prototype;if(t.F||t.W||e.watchers){e.watchers&&!t.W&&(t.W=e.watchers);const c=Object.entries(null!=(o=t.F)?o:{});if(c.map((([e,[o]])=>{31&o||2&l&&32&o?Object.defineProperty(r,e,{get(){return((e,t)=>n(this).q.get(t))(0,e)},set(l){((e,t,l,o)=>{const i=n(e);if(!i)throw Error(`Couldn't find host element for "${o.M}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=i.$hostElement$,c=i.q.get(t),f=i.l,u=i.t;if(l=((e,t)=>null==e||x(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,o.F[t][0]),(!(8&f)||void 0===c)&&l!==c&&(!Number.isNaN(c)||!Number.isNaN(l))&&(i.q.set(t,l),u)){if(o.W&&128&f){const e=o.W[t];e&&e.map((e=>{try{u[e](l,c,t)}catch(e){s(e,r)}}))}2==(18&f)&&ke(i,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0}):1&l&&64&o&&Object.defineProperty(r,e,{value(...t){var l;const o=n(this);return null==(l=null==o?void 0:o.G)?void 0:l.then((()=>{var n;return null==(n=o.t)?void 0:n[e](...t)}))}})})),1&l){const l=new Map;r.attributeChangedCallback=function(e,o,s){h.jmp((()=>{var i;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),r=null==l?void 0:l.l;if(r&&!(8&r)&&128&r&&s!==o){const n=l.t,r=null==(i=t.W)?void 0:i[e];null==r||r.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=t.W)?i:{}),...c.filter((([e,t])=>15&t[0])).map((([e,n])=>{var o;const s=n[1]||e;return l.set(s,e),512&n[0]&&(null==(o=t.L)||o.push([e,s])),s}))]))}}return e},Te=e=>{Pe(e,"connectedCallback")},De=e=>{if(!(1&h.l)){const t=n(e),l=t.H,o=()=>{};if(1&t.l)Ne(e,t,l.V),(null==t?void 0:t.t)?Te(t.t):(null==t?void 0:t._)&&t._.then((()=>Te(t.t)));else{let n;if(t.l|=1,n=e.getAttribute(c),n){if(1&l.l){const t=J(e.shadowRoot,l);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const o=e.shadowRoot,s=[],i=o?[]:null,r=l.I=L(t,null);h.B||G($.body,h.B=new Map),e[c]=n,e.removeAttribute(c),q(r,s,[],i,e,e,n),s.map((e=>{const n=e.k+"."+e.S,l=h.B.get(n),s=e.v;l&&""===l["s-en"]&&l.parentNode.insertBefore(s,l.nextSibling),o||(s["s-hn"]=t,l&&(s["s-ol"]=l,s["s-ol"]["s-nr"]=s)),h.B.delete(n)})),o&&i.map((e=>{e&&o.appendChild(e)}))})(e,l.M,n,t)}n||12&l.l&&He(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ge(t,t.T=n);break}}l.F&&Object.entries(l.F).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.J){const e=(e=>{const t=e.M.replace(/-/g,"_"),n=e.J;if(!n)return;const l=i.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(i.set(n,e),e[t])),s)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.M}#${t.K}" was not found`);l.isProxied||(n.W=l.watchers,Ae(l,n,2),l.isProxied=!0);const o=()=>{};t.l|=8;try{new l(t)}catch(e){s(e)}t.l&=-9,t.l|=128,o(),Te(t.t)}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=K(n);if(!r.has(t)){const l=()=>{};((e,t,n)=>{let l=r.get(e);m&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,r.set(e,l)})(t,e,!!(1&n.l)),l()}}}const o=t.T,c=()=>ke(t,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(e,t,l)}o()}},He=e=>{const t=e["s-cr"]=$.createComment("");t["s-cn"]=!0,we(e,t,e.firstChild)},Ie=e=>{Pe(e,"disconnectedCallback")},Le=(e,l={})=>{var o;const s=[],i=l.exclude||[],r=d.customElements,c=$.head,f=c.querySelector("meta[charset]"),a=$.createElement("style"),p=[];let m,v=!0;Object.assign(h,l),h.o=new URL(l.resourcesUrl||"./",$.baseURI).href,h.l|=2;let y=!1;if(e.map((e=>{e[1].map((l=>{var o;const c={l:l[0],M:l[1],F:l[2],V:l[3]};4&c.l&&(y=!0),c.F=l[2],c.V=l[3],c.L=[],c.W=null!=(o=l[4])?o:{};const f=c.M,u=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,H:n,q:new Map};l.G=new Promise((e=>l.U=e)),l._=new Promise((e=>l.N=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,c),1&c.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.M}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){const e=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Ne(this,e,c.V)),m&&(clearTimeout(m),m=null),v?p.push(this):h.jmp((()=>De(this)))}disconnectedCallback(){h.jmp((()=>(async()=>{if(!(1&h.l)){const e=n(this);e.X&&(e.X.map((e=>e())),e.X=void 0),(null==e?void 0:e.t)?Ie(e.t):(null==e?void 0:e._)&&e._.then((()=>Ie(e.t)))}})()))}componentOnReady(){return n(this)._}};c.J=e[0],i.includes(f)||r.get(f)||(s.push(f),r.define(f,Ae(u,c,1)))}))})),s.length>0&&(y&&(a.textContent+=u),a.textContent+=s.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",a.innerHTML.length)){a.setAttribute("data-styles","");const e=null!=(o=h.C)?o:O($);null!=e&&a.setAttribute("nonce",e),c.insertBefore(a,f?f.nextSibling:c.firstChild)}v=!1,p.length?p.map((e=>e.connectedCallback())):h.jmp((()=>m=setTimeout(Me,30)))},Ne=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=Fe(e,n),i=Ue(t,o),r=We(n);h.ael(s,l,i,r),(t.X=t.X||[]).push((()=>h.rel(s,l,i,r)))}))},Ue=(e,t)=>n=>{var l;try{256&e.l?null==(l=e.t)||l[t](n):(e.D=e.D||[]).push([t,n])}catch(e){s(e)}},Fe=(e,t)=>8&t?d:16&t?$.body:e,We=e=>({passive:!!(1&e),capture:!!(2&e)}),qe=e=>h.C=e;export{N as H,Le as b,_ as c,V as g,I as h,p,l as r,qe as s}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as c}from"./p-cccacbd3.js";import{s as r}from"./p-e2d5a487.js";const t=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"dc06f1a54b9542cb2c0165fb3bdff960ecd81cc0",class:this.class,innerHTML:r})}};export{t as eds_icon_star}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as s,g as a}from"./p-cccacbd3.js";import{t as e}from"./p-22f9e720.js";const i=class{constructor(s){t(this,s),this.toastId=0,this.toasts=[]}connectedCallback(){e.init(this.hostElement),this.hostElement.addEventListener("show-toast",(t=>{const{message:s,intent:a}=t.detail;this.addToast(s,a)}))}addToast(t,s){const a=this.toastId++;this.toasts=[...this.toasts,{id:a,message:t,intent:s}]}removeToast(t){this.toasts=this.toasts.filter((s=>s.id!==t))}render(){return s("div",{key:"cc2aa94e01507dc8c27e82dfa550af5da6eaba3e",class:"toast-container"},this.toasts.map((t=>s("div",{key:t.id},s("eds-toast",{message:t.message,intent:t.intent,onClick:()=>this.removeToast(t.id)})))))}get hostElement(){return a(this)}};i.style=".toast-container{position:fixed;top:1rem;left:50%;transform:translateX(-50%);z-index:99999;display:flex;flex-direction:column;align-items:center;gap:1rem;width:100%;max-width:36rem;}.toast-wrapper{width:100%;padding:0 1rem;}.eds-toast{box-shadow:0px 4px 6px rgba(0, 0, 0, 0.1);border-radius:0.5rem;animation:fade-in 0.3s ease-out;}@keyframes fade-in{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}";export{i as eds_toast_manager}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as c}from"./p-cccacbd3.js";import{c as a}from"./p-8983de37.js";const e=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"907eaa5d70add8ad62e9f071aacce359682969fe",class:this.class,innerHTML:a})}};export{e as eds_icon_close}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as c}from"./p-cccacbd3.js";import{a as r}from"./p-32e6c4df.js";const a=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"099d0118c7a4bfa2d8b5c21f45162080b31a2f7c",class:this.class,innerHTML:r})}};export{a as eds_icon_external}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,g as r}from"./p-cccacbd3.js";import{c as a}from"./p-112122d6.js";const o=a(["relative right-4 bottom-4 w-auto p-12 rounded-lg shadow-md"],{variants:{intent:{default:"bg-dark text-light",success:"bg-success text-dark",error:"bg-error text-light",warning:"bg-warning text-dark"}},defaultVariants:{intent:"default"}}),i=class{constructor(e){t(this,e),this.dismissToast=()=>{this.visible=!1},this.message=void 0,this.intent="default",this.duration=5e3,this.visible=!0}componentDidLoad(){const t=this.el.shadowRoot.querySelector("eds-button");this.emitContext(t)}emitContext(t){const e=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});t.dispatchEvent(e)}connectedCallback(){this.dismissTimeout=setTimeout(this.dismissToast,this.duration)}disconnectedCallback(){clearTimeout(this.dismissTimeout)}render(){if(!this.visible)return null;const t=o({intent:this.intent});return e("div",{class:t,role:"alert","aria-live":"assertive"},e("div",{class:"flex items-center justify-between gap-4"},e("span",{class:"f-ui-01"},this.message),e("eds-button",{intent:"tertiary",icon:"close","aria-label":"Close Toast",onClick:()=>this.dismissToast(),"extra-class":"ml-8"})))}get el(){return r(this)}};i.style=".relative{position:relative}.right-4{right:0.25rem}.bottom-4{bottom:0.25rem}.w-auto{width:auto}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-4{gap:0.25rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.ml-8{margin-left:0.5rem}.p-12{padding:0.75rem}.rounded-lg{border-radius:16px}.shadow-md{--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),\n 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-dark{background-color:var(--grey-300)}.bg-success{background-color:var(--green-200)}.bg-error{background-color:var(--red-200)}.bg-warning{background-color:var(--yellow-200)}.text-light{color:var(--grey-700)}.text-current{color:currentColor}.text-default{color:var(--black)}";export{i as eds_toast}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as c}from"./p-cccacbd3.js";import{m as r}from"./p-86bb73dc.js";const e=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"76fe78207051b486030fc1ef778d55ecfec2c3d2",class:this.class,innerHTML:r})}};export{e as eds_icon_minus}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as n,h as e,g as t}from"./p-cccacbd3.js";import{c as i}from"./p-112122d6.js";const r=i(["w-full bg-dark"],{variants:{intent:{default:"",warning:"bg-warning",error:"bg-error",success:"bg-success"},brd:{rounded:"rounded-lg border-inside after:border-softest after:rounded-lg",normal:""},direction:{vertical:"space-y-12",horizontal:"flex flex-row items-center justify-between gap-x-12"},withBtn:{false:"",true:""}},compoundVariants:[{direction:"horizontal",withBtn:!0,class:"px-20 pr-12 py-12"},{direction:"horizontal",withBtn:!1,class:"p-20"},{direction:"vertical",withBtn:!0,class:"p-16"},{direction:"vertical",withBtn:!1,class:"px-12 py-20"}],defaultVariants:{intent:"default",brd:"rounded",direction:"horizontal"}}),o=class{constructor(e){n(this,e),this.message=void 0,this.pressableLabel=void 0,this.pressableUrl=void 0,this.direction="horizontal",this.intent="default",this.brd="rounded",this.withBtn=!1}componentWillLoad(){this.withBtn=Boolean(this.pressableLabel)}componentDidLoad(){var n;const e=null===(n=this.el.shadowRoot)||void 0===n?void 0:n.querySelector("eds-link");e&&this.emitContext(e)}emitContext(n){const e=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});n.dispatchEvent(e)}render(){return e("div",{key:"90eae6088fb792c671eca1d74d9a6e7d212c2c1c",class:r({intent:this.intent,brd:this.brd,direction:this.direction,withBtn:this.withBtn}),role:"alert"},e("p",{key:"201a9e6352350dbe9d4f1ab137a669f212519ea5",class:"f-ui-01 py-8",innerHTML:this.message}),this.withBtn&&(this.pressableUrl?e("eds-link",{class:"eds-alert-link",label:this.pressableLabel,url:this.pressableUrl,intent:"secondary",external:!0}):null))}get el(){return t(this)}};o.style=':root {\n font-optical-sizing: auto;\n}\n\nhtml,\nbody {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n/*\n:focus[data-focus-method="mouse"],\n:focus[data-focus-method="touch"] {\n outline: none !important;\n}\n*/\n/*FADE*/\n/*FADE TRANSLATE Y*/\n/*SLIDE LEFT*/\n/*SLIDE BOTTOM*/\n/*COLLAPSE Y*/\n*,\n::before,\n::after {\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n}\n\n::backdrop {\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n}\n\n/*\n! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com\n*/\n/*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n*,\n::before,\n::after {\n box-sizing: border-box;\n /* 1 */\n border-width: 0;\n /* 2 */\n border-style: solid;\n /* 2 */\n border-color: currentColor;\n /* 2 */\n}\n\n::before,\n::after {}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user\'s configured `sans` font-family by default.\n5. Use the user\'s configured `sans` font-feature-settings by default.\n6. Use the user\'s configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\nhtml {\n line-height: 1.5;\n /* 1 */\n -webkit-text-size-adjust: 100%;\n /* 2 */\n -moz-tab-size: 4;\n /* 3 */\n -o-tab-size: 4;\n tab-size: 4;\n /* 3 */\n font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n /* 4 */\n font-feature-settings: normal;\n /* 5 */\n font-variation-settings: normal;\n /* 6 */\n -webkit-tap-highlight-color: transparent;\n /* 7 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\nbody {\n margin: 0;\n /* 1 */\n line-height: inherit;\n /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\nhr {\n height: 0;\n /* 1 */\n color: inherit;\n /* 2 */\n border-top-width: 1px;\n /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user\'s configured `mono` font-family by default.\n2. Use the user\'s configured `mono` font-feature-settings by default.\n3. Use the user\'s configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\ncode,\npre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;\n /* 1 */\n font-feature-settings: normal;\n /* 2 */\n font-variation-settings: normal;\n /* 3 */\n font-size: 1em;\n /* 4 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\nsmall {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\nsub {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\ntable {\n text-indent: 0;\n /* 1 */\n border-color: inherit;\n /* 2 */\n border-collapse: collapse;\n /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\nbutton,\ninput,\nselect,\ntextarea {\n font-family: inherit;\n /* 1 */\n font-feature-settings: inherit;\n /* 1 */\n font-variation-settings: inherit;\n /* 1 */\n font-size: 100%;\n /* 1 */\n font-weight: inherit;\n /* 1 */\n line-height: inherit;\n /* 1 */\n letter-spacing: inherit;\n /* 1 */\n color: inherit;\n /* 1 */\n margin: 0;\n /* 2 */\n padding: 0;\n /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\nbutton,\ninput:where([type=\'button\']),\ninput:where([type=\'submit\']) {\n -webkit-appearance: button;\n /* 1 */\n background-color: transparent;\n /* 2 */\n background-image: none;\n /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n[type=\'search\'] {\n -webkit-appearance: textfield;\n /* 1 */\n outline-offset: -2px;\n /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n::-webkit-file-upload-button {\n -webkit-appearance: button;\n /* 1 */\n font: inherit;\n /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\np,\npre {\n margin: 0;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nReset default styling for dialogs.\n*/\ndialog {\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\ntextarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user\'s configured gray 400 color.\n*/\ninput::-moz-placeholder,\ntextarea::-moz-placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\nbutton,\n[role="button"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don\'t get the pointer cursor.\n*/\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\nimg,\niframe,\nobject {\n display: block;\n /* 1 */\n vertical-align: middle;\n /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\nimg {\n max-width: 100%;\n height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden] {\n display: none;\n}\n\n:root {\n --inner-gutter: 8px;\n}\n\n@media (min-width: 750px) {\n :root {\n --inner-gutter: 12px;\n }\n}\n\n@media (min-width: 900px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n\n@media (min-width: 1024px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n\n@media (min-width: 1280px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n\n@media (min-width: 2200px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n\n:root {}\n\n@media (min-width: 900px) {\n :root {}\n}\n\n:root {\n --sans: Inter, Helvetica, Arial, sans-serif;\n --f-ui-01-fontFamily: var(--sans);\n --f-ui-01-fontWeight: 800;\n --f-ui-01-fontSize: 18px;\n --f-ui-01-lineHeight: 110%;\n --f-ui-01-letterSpacing: -0.01em;\n}\n\n.f-ui-01 {\n font-family: var(--f-ui-01-fontFamily);\n font-weight: var(--f-ui-01-fontWeight);\n font-size: var(--f-ui-01-fontSize);\n line-height: var(--f-ui-01-lineHeight);\n letter-spacing: var(--f-ui-01-letterSpacing);\n}\n\n@media (min-width: 750px) {\n :root {}\n}\n\n@media (min-width: 900px) {\n :root {}\n}\n\n@media (min-width: 1024px) {\n :root {}\n}\n\n.f-ui-01 b,\n.f-ui-01 strong {\n font-weight: var(--f-ui-01---bold-weight, bold);\n}\n\n:root {\n --grey-300: #e6e6e6;\n --green-200: #d3ffdc;\n --yellow-200: #ffffcb;\n --red-200: #ffe0e1;\n}\n\n@media (min-width: 750px) {\n .md\\:grid-line-x>*::before {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: 0;\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n\n .md\\:grid-line-xfull>*::before {\n content: attr(👻);\n inset-inline-start: calc(var(--inner-gutter) / -2);\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n\n .md\\:grid-line-x-0>*::before {\n content: none;\n }\n\n .md\\:grid-line-y>*::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n\n .md\\:grid-line-yfull>*::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: calc(var(--inner-gutter) / -1);\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n\n .md\\:grid-line-y-0>*::after {\n content: none;\n }\n}\n\n@media (min-width: 900px) {\n .lg\\:grid-line-x>*::before {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: 0;\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n\n .lg\\:grid-line-xfull>*::before {\n content: attr(👻);\n inset-inline-start: calc(var(--inner-gutter) / -2);\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n\n .lg\\:grid-line-x-0>*::before {\n content: none;\n }\n\n .lg\\:grid-line-y>*::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n\n .lg\\:grid-line-yfull>*::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: calc(var(--inner-gutter) / -1);\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n\n .lg\\:grid-line-y-0>*::after {\n content: none;\n }\n}\n\n.border-inside {\n position: relative;\n\n &::after {\n pointer-events: none;\n }\n\n &::after {\n position: absolute;\n }\n\n &::after {\n inset: 0rem;\n }\n\n &::after {\n z-index: 1;\n }\n\n &::after {\n border-radius: 8px;\n }\n\n &::after {\n border-width: 1px;\n }\n\n &::after {\n border-width: 2px;\n }\n\n &::after {\n border-color: rgba(0, 0, 0, .1);\n }\n\n &::after {\n content: \'\';\n }\n}\n\n/** region TRANSITIONS */\n/** endregion */\n/* region FOCUS */\n/* endregion */\n/* region BG */\n/* endregion */\n/*region shadow*/\n/*endregion*/\n.flex {\n display: flex;\n}\n\n.w-full {\n width: 100%;\n}\n\n.flex-row {\n flex-direction: row;\n}\n\n.items-center {\n align-items: center;\n}\n\n.justify-between {\n justify-content: space-between;\n}\n\n.gap-x-12 {\n -moz-column-gap: 0.75rem;\n column-gap: 0.75rem;\n}\n\n.space-y-12> :not([hidden])~ :not([hidden]) {\n --tw-space-y-reverse: 0;\n margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));\n margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));\n}\n\n.rounded-lg {\n border-radius: 16px;\n}\n\n.bg-dark {\n background-color: var(--grey-300);\n}\n\n.bg-error {\n background-color: var(--red-200);\n}\n\n.bg-success {\n background-color: var(--green-200);\n}\n\n.bg-warning {\n background-color: var(--yellow-200);\n}\n\n.p-16 {\n padding: 1rem;\n}\n\n.p-20 {\n padding: 1.25rem;\n}\n\n.px-12 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n\n.px-20 {\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n\n.py-12 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n\n.py-20 {\n padding-top: 1.25rem;\n padding-bottom: 1.25rem;\n}\n\n.py-8 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n.pr-12 {\n padding-right: 0.75rem;\n}\n\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n[class*=underline-] {\n text-decoration-line: underline;\n}\n\n.after\\:rounded-lg::after {\n border-radius: 16px;\n}\n\n.after\\:border-softest::after {\n border-color: rgba(0, 0, 0, .05);\n}';export{o as eds_alert}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as o}from"./p-112122d6.js";const e=o([],{variants:{color:["green","yellow","among-blue","purple"].reduce(((o,e)=>Object.assign(Object.assign({},o),{[e]:""})),{}),direction:{top:"",bottom:""},pseudo:{true:"before:effect-opacity effect-bg-behind",false:""},hover:{true:"before:opacity-0 hover:before:opacity-100",false:""}},compoundVariants:[{color:"green",direction:"top",pseudo:!0,className:"before:bg-gradient-01-top"},{color:"green",pseudo:!0,direction:"bottom",className:"before:bg-gradient-01-bottom"},{color:"green",direction:"top",pseudo:!1,className:"bg-gradient-01-top"},{color:"green",pseudo:!1,direction:"bottom",className:"bg-gradient-01-bottom"},{color:"yellow",direction:"top",pseudo:!0,className:"before:bg-gradient-02-top"},{color:"yellow",direction:"bottom",pseudo:!0,className:"before:bg-gradient-02-bottom"},{color:"yellow",direction:"top",pseudo:!1,className:"bg-gradient-02-top"},{color:"yellow",direction:"bottom",pseudo:!1,className:"bg-gradient-02-bottom"},{color:"purple",direction:"top",pseudo:!0,class:"before:bg-gradient-03-top"},{color:"purple",direction:"bottom",pseudo:!0,class:"before:bg-gradient-03-bottom"},{color:"purple",direction:"top",pseudo:!1,class:"bg-gradient-03-top"},{color:"purple",direction:"bottom",pseudo:!1,class:"bg-gradient-03-bottom"},{color:"among-blue",direction:"top",pseudo:!0,class:"before:bg-gradient-04-top"},{color:"among-blue",direction:"bottom",pseudo:!0,class:"before:bg-gradient-04-bottom"},{color:"among-blue",direction:"top",pseudo:!1,class:"bg-gradient-04-top"},{color:"among-blue",direction:"bottom",pseudo:!1,class:"bg-gradient-04-bottom"}],defaultVariants:{direction:"top",pseudo:!0}});export{e as g}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t}from"./p-cccacbd3.js";const a=class{constructor(t){e(this,t),this.applications=void 0}getParsedApplications(){let e=[];if("string"==typeof this.applications)try{e=JSON.parse(this.applications||"[]")}catch(t){console.error("Invalid applications trl JSON",t),e=[]}else Array.isArray(this.applications)&&(e=this.applications);return e}calculateProgress(e){return Math.ceil(e/9*100)}render(){const e=this.getParsedApplications().map((e=>({Application:e.name,"Current TRL Stage":`TRL ${e.currentTrl}`,Progress:t("div",{class:"w-[200px]"},t("eds-progress-bar",{value:this.calculateProgress(e.currentTrl)}))})));return t("div",{key:"7f2775e107e053cf1e8091f97915e6bc372c3954",class:"container mx-auto px-4 py-8"},t("eds-table",{key:"9576b1c5dc72335ef0f7158fa4eaa44835acd8db","table-data":JSON.stringify(e),config:JSON.stringify({Application:{format:"code"},"Current TRL Stage":{format:"text"}}),"rows-per-page":"2","pagination-enabled":"true","search-enabled":"true","column-size":"default"}))}};export{a as eds_trl}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as r}from"./p-cccacbd3.js";import{c as a}from"./p-5d046674.js";const c=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"8632a351612a4be6e47d4ff483717a2bda99a008",class:this.class,innerHTML:a})}};export{c as eds_icon_chevron_right}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as n,h as t,H as o}from"./p-cccacbd3.js";import{t as r}from"./p-22f9e720.js";function i(e){if(!(this instanceof i))throw new Error("The 'Keycloak' constructor must be invoked with 'new'.");if("string"!=typeof e&&!c(e))throw new Error("The 'Keycloak' constructor must be provided with a configuration object, or a URL to a JSON configuration file.");if(c(e)){const n="oidcProvider"in e?["clientId"]:["url","realm","clientId"];for(const t of n)if(!e[t])throw new Error(`The configuration object is missing the required '${t}' property.`)}var n,t,o=this,r=[],s={enable:!0,callbackList:[],interval:5};o.didInitialize=!1;var u=!0,l=U(console.info),f=U(console.warn);function d(){return void 0!==o.authServerUrl?"/"==o.authServerUrl.charAt(o.authServerUrl.length-1)?o.authServerUrl+"realms/"+encodeURIComponent(o.realm):o.authServerUrl+"/realms/"+encodeURIComponent(o.realm):void 0}function p(e,n){var t=e.code,r=e.error,i=e.prompt,a=(new Date).getTime();if(e.kc_action_status&&o.onActionUpdate&&o.onActionUpdate(e.kc_action_status,e.kc_action),r)if("none"!=i)if(e.error_description&&"authentication_expired"===e.error_description)o.login(e.loginOptions);else{var c={error:r,error_description:e.error_description};o.onAuthError&&o.onAuthError(c),n&&n.setError(c)}else n&&n.setSuccess();else if("standard"!=o.flow&&(e.access_token||e.id_token)&&p(e.access_token,null,e.id_token,!0),"implicit"!=o.flow&&t){var s="code="+t+"&grant_type=authorization_code",f=o.endpoints.token(),d=new XMLHttpRequest;d.open("POST",f,!0),d.setRequestHeader("Content-type","application/x-www-form-urlencoded"),s+="&client_id="+encodeURIComponent(o.clientId),s+="&redirect_uri="+e.redirectUri,e.pkceCodeVerifier&&(s+="&code_verifier="+e.pkceCodeVerifier),d.withCredentials=!0,d.onreadystatechange=function(){if(4==d.readyState)if(200==d.status){var e=JSON.parse(d.responseText);p(e.access_token,e.refresh_token,e.id_token,"standard"===o.flow),b()}else o.onAuthError&&o.onAuthError(),n&&n.setError()},d.send(s)}function p(t,r,i,c){w(t,r,i,a=(a+(new Date).getTime())/2),u&&o.idTokenParsed&&o.idTokenParsed.nonce!=e.storedNonce?(l("[KEYCLOAK] Invalid nonce, clearing token"),o.clearToken(),n&&n.setError()):c&&(o.onAuthSuccess&&o.onAuthSuccess(),n&&n.setSuccess())}}function h(e){return 0==e.status&&e.responseText&&e.responseURL.startsWith("file:")}function w(e,n,t,r){if(o.tokenTimeoutHandle&&(clearTimeout(o.tokenTimeoutHandle),o.tokenTimeoutHandle=null),n?(o.refreshToken=n,o.refreshTokenParsed=a(n)):(delete o.refreshToken,delete o.refreshTokenParsed),t?(o.idToken=t,o.idTokenParsed=a(t)):(delete o.idToken,delete o.idTokenParsed),e){if(o.token=e,o.tokenParsed=a(e),o.sessionId=o.tokenParsed.sid,o.authenticated=!0,o.subject=o.tokenParsed.sub,o.realmAccess=o.tokenParsed.realm_access,o.resourceAccess=o.tokenParsed.resource_access,r&&(o.timeSkew=Math.floor(r/1e3)-o.tokenParsed.iat),null!=o.timeSkew&&(l("[KEYCLOAK] Estimated time difference between browser and server is "+o.timeSkew+" seconds"),o.onTokenExpired)){var i=1e3*(o.tokenParsed.exp-(new Date).getTime()/1e3+o.timeSkew);l("[KEYCLOAK] Token expires in "+Math.round(i/1e3)+" s"),i<=0?o.onTokenExpired():o.tokenTimeoutHandle=setTimeout(o.onTokenExpired,i)}}else delete o.token,delete o.tokenParsed,delete o.subject,delete o.realmAccess,delete o.resourceAccess,o.authenticated=!1}function v(){if("undefined"==typeof crypto||void 0===crypto.randomUUID)throw new Error("Web Crypto API is not available.");return crypto.randomUUID()}function m(e){var n=function(e){var n;switch(o.flow){case"standard":n=["code","state","session_state","kc_action_status","kc_action","iss"];break;case"implicit":n=["access_token","token_type","id_token","state","session_state","expires_in","kc_action_status","kc_action","iss"];break;case"hybrid":n=["access_token","token_type","id_token","code","state","session_state","expires_in","kc_action_status","kc_action","iss"]}n.push("error"),n.push("error_description"),n.push("error_uri");var t,r,i=e.indexOf("?"),a=e.indexOf("#");if("query"===o.responseMode&&-1!==i?(t=e.substring(0,i),""!==(r=y(e.substring(i+1,-1!==a?a:e.length),n)).paramsString&&(t+="?"+r.paramsString),-1!==a&&(t+=e.substring(a))):"fragment"===o.responseMode&&-1!==a&&(t=e.substring(0,a),""!==(r=y(e.substring(a+1),n)).paramsString&&(t+="#"+r.paramsString)),r&&r.oauthParams)if("standard"===o.flow||"hybrid"===o.flow){if((r.oauthParams.code||r.oauthParams.error)&&r.oauthParams.state)return r.oauthParams.newUrl=t,r.oauthParams}else if("implicit"===o.flow&&(r.oauthParams.access_token||r.oauthParams.error)&&r.oauthParams.state)return r.oauthParams.newUrl=t,r.oauthParams}(e);if(n){var r=t.get(n.state);return r&&(n.valid=!0,n.redirectUri=r.redirectUri,n.storedNonce=r.nonce,n.prompt=r.prompt,n.pkceCodeVerifier=r.pkceCodeVerifier,n.loginOptions=r.loginOptions),n}}function y(e,n){for(var t=e.split("&"),o={paramsString:"",oauthParams:{}},r=0;r<t.length;r++){var i=t[r].indexOf("="),a=t[r].slice(0,i);-1!==n.indexOf(a)?o.oauthParams[a]=t[r].slice(i+1):(""!==o.paramsString&&(o.paramsString+="&"),o.paramsString+=t[r])}return o}function g(){var e={setSuccess:function(n){e.resolve(n)},setError:function(n){e.reject(n)}};return e.promise=new Promise((function(n,t){e.resolve=n,e.reject=t})),e}function k(){var e=g();if(!s.enable)return e.setSuccess(),e.promise;if(s.iframe)return e.setSuccess(),e.promise;var n=document.createElement("iframe");s.iframe=n,n.onload=function(){var n=o.endpoints.authorize();s.iframeOrigin="/"===n.charAt(0)?window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""):n.substring(0,n.indexOf("/",8)),e.setSuccess()};var t=o.endpoints.checkSessionIframe();return n.setAttribute("src",t),n.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),n.setAttribute("title","keycloak-session-iframe"),n.style.display="none",document.body.appendChild(n),window.addEventListener("message",(function(e){if(e.origin===s.iframeOrigin&&s.iframe.contentWindow===e.source&&("unchanged"==e.data||"changed"==e.data||"error"==e.data)){"unchanged"!=e.data&&o.clearToken();for(var n=s.callbackList.splice(0,s.callbackList.length),t=n.length-1;t>=0;--t){var r=n[t];"error"==e.data?r.setError():r.setSuccess("unchanged"==e.data)}}}),!1),e.promise}function b(){s.enable&&o.token&&setTimeout((function(){_().then((function(e){e&&b()}))}),1e3*s.interval)}function _(){var e=g();if(s.iframe&&s.iframeOrigin){var n=o.clientId+" "+(o.sessionId?o.sessionId:"");s.callbackList.push(e),1==s.callbackList.length&&s.iframe.contentWindow.postMessage(n,s.iframeOrigin)}else e.setSuccess();return e.promise}function I(e){if(!e||"default"==e)return{login:async function(e){return window.location.assign(await o.createLoginUrl(e)),g().promise},logout:async function(e){if("GET"===(e?.logoutMethod??o.logoutMethod))return void window.location.replace(o.createLogoutUrl(e));const t=document.createElement("form");t.setAttribute("method","POST"),t.setAttribute("action",o.createLogoutUrl(e)),t.style.display="none";const r={id_token_hint:o.idToken,client_id:o.clientId,post_logout_redirect_uri:n.redirectUri(e,!1)};for(const[e,n]of Object.entries(r)){const o=document.createElement("input");o.setAttribute("type","hidden"),o.setAttribute("name",e),o.setAttribute("value",n),t.appendChild(o)}document.body.appendChild(t),t.submit()},register:async function(e){return window.location.assign(await o.createRegisterUrl(e)),g().promise},accountManagement:function(){var e=o.createAccountUrl();if(void 0===e)throw"Not supported by the OIDC server";return window.location.href=e,g().promise},redirectUri:function(e){return e&&e.redirectUri?e.redirectUri:o.redirectUri?o.redirectUri:location.href}};if("cordova"==e){s.enable=!1;var t=function(e,n,t){return window.cordova&&window.cordova.InAppBrowser?window.cordova.InAppBrowser.open(e,n,t):window.open(e,n,t)},r=function(e){var n=function(e){return e&&e.cordovaOptions?Object.keys(e.cordovaOptions).reduce((function(n,t){return n[t]=e.cordovaOptions[t],n}),{}):{}}(e);return n.location="no",e&&"none"==e.prompt&&(n.hidden="yes"),function(e){return Object.keys(e).reduce((function(n,t){return n.push(t+"="+e[t]),n}),[]).join(",")}(n)},i=function(){return o.redirectUri||"http://localhost"};return{login:async function(e){var n=g(),a=r(e),c=await o.createLoginUrl(e),s=t(c,"_blank",a),u=!1,l=!1,f=function(){l=!0,s.close()};return s.addEventListener("loadstart",(function(e){0==e.url.indexOf(i())&&(p(m(e.url),n),f(),u=!0)})),s.addEventListener("loaderror",(function(e){u||(0==e.url.indexOf(i())?(p(m(e.url),n),f(),u=!0):(n.setError(),f()))})),s.addEventListener("exit",(function(){l||n.setError({reason:"closed_by_user"})})),n.promise},logout:function(e){var n,r=g(),a=o.createLogoutUrl(e),c=t(a,"_blank","location=no,hidden=yes,clearcache=yes");return c.addEventListener("loadstart",(function(e){0==e.url.indexOf(i())&&c.close()})),c.addEventListener("loaderror",(function(e){0==e.url.indexOf(i())||(n=!0),c.close()})),c.addEventListener("exit",(function(){n?r.setError():(o.clearToken(),r.setSuccess())})),r.promise},register:async function(e){var n=g(),a=await o.createRegisterUrl(),c=r(e),s=t(a,"_blank",c);return s.addEventListener("loadstart",(function(e){0==e.url.indexOf(i())&&(s.close(),p(m(e.url),n))})),n.promise},accountManagement:function(){var e=o.createAccountUrl();if(void 0===e)throw"Not supported by the OIDC server";var n=t(e,"_blank","location=no");n.addEventListener("loadstart",(function(e){0==e.url.indexOf(i())&&n.close()}))},redirectUri:function(){return i()}}}if("cordova-native"==e)return s.enable=!1,{login:async function(e){var n=g(),t=await o.createLoginUrl(e);return universalLinks.subscribe("keycloak",(function(e){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),p(m(e.url),n)})),window.cordova.plugins.browsertab.openUrl(t),n.promise},logout:function(e){var n=g(),t=o.createLogoutUrl(e);return universalLinks.subscribe("keycloak",(function(){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),o.clearToken(),n.setSuccess()})),window.cordova.plugins.browsertab.openUrl(t),n.promise},register:async function(e){var n=g(),t=await o.createRegisterUrl(e);return universalLinks.subscribe("keycloak",(function(e){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),p(m(e.url),n)})),window.cordova.plugins.browsertab.openUrl(t),n.promise},accountManagement:function(){var e=o.createAccountUrl();if(void 0===e)throw"Not supported by the OIDC server";window.cordova.plugins.browsertab.openUrl(e)},redirectUri:function(e){return e&&e.redirectUri?e.redirectUri:o.redirectUri?o.redirectUri:"http://localhost"}};throw"invalid adapter type: "+e}globalThis.isSecureContext||f("[KEYCLOAK] Keycloak JS must be used in a 'secure context' to function properly as it relies on browser APIs that are otherwise not available.\nContinuing to run your application insecurely will lead to unexpected behavior and breakage.\n\nFor more information see: https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts"),o.init=function(r={}){if(o.didInitialize)throw new Error("A 'Keycloak' instance can only be initialized once.");if(o.didInitialize=!0,o.authenticated=!1,t=function(){try{return new S}catch(e){}return new O}(),n=["default","cordova","cordova-native"].indexOf(r.adapter)>-1?I(r.adapter):"object"==typeof r.adapter?r.adapter:window.Cordova||window.cordova?I("cordova"):I(),void 0!==r.useNonce&&(u=r.useNonce),void 0!==r.checkLoginIframe&&(s.enable=r.checkLoginIframe),r.checkLoginIframeInterval&&(s.interval=r.checkLoginIframeInterval),"login-required"===r.onLoad&&(o.loginRequired=!0),r.responseMode){if("query"!==r.responseMode&&"fragment"!==r.responseMode)throw"Invalid value for responseMode";o.responseMode=r.responseMode}if(r.flow){switch(r.flow){case"standard":o.responseType="code";break;case"implicit":o.responseType="id_token token";break;case"hybrid":o.responseType="code id_token token";break;default:throw"Invalid value for flow"}o.flow=r.flow}if(null!=r.timeSkew&&(o.timeSkew=r.timeSkew),r.redirectUri&&(o.redirectUri=r.redirectUri),r.silentCheckSsoRedirectUri&&(o.silentCheckSsoRedirectUri=r.silentCheckSsoRedirectUri),o.silentCheckSsoFallback="boolean"!=typeof r.silentCheckSsoFallback||r.silentCheckSsoFallback,void 0!==r.pkceMethod){if("S256"!==r.pkceMethod&&!1!==r.pkceMethod)throw new TypeError(`Invalid value for pkceMethod', expected 'S256' or false but got ${r.pkceMethod}.`);o.pkceMethod=r.pkceMethod}else o.pkceMethod="S256";o.enableLogging="boolean"==typeof r.enableLogging&&r.enableLogging,o.logoutMethod="POST"===r.logoutMethod?"POST":"GET","string"==typeof r.scope&&(o.scope=r.scope),"string"==typeof r.acrValues&&(o.acrValues=r.acrValues),o.messageReceiveTimeout="number"==typeof r.messageReceiveTimeout&&r.messageReceiveTimeout>0?r.messageReceiveTimeout:1e4,o.responseMode||(o.responseMode="fragment"),o.responseType||(o.responseType="code",o.flow="standard");var i=g(),a=g();a.promise.then((function(){o.onReady&&o.onReady(o.authenticated),i.setSuccess(o.authenticated)})).catch((function(e){i.setError(e)}));var c=function(){var n,t=g();function r(e){o.endpoints=e?{authorize:function(){return e.authorization_endpoint},token:function(){return e.token_endpoint},logout:function(){if(!e.end_session_endpoint)throw"Not supported by the OIDC server";return e.end_session_endpoint},checkSessionIframe:function(){if(!e.check_session_iframe)throw"Not supported by the OIDC server";return e.check_session_iframe},register:function(){throw'Redirection to "Register user" page not supported in standard OIDC mode'},userinfo:function(){if(!e.userinfo_endpoint)throw"Not supported by the OIDC server";return e.userinfo_endpoint}}:{authorize:function(){return d()+"/protocol/openid-connect/auth"},token:function(){return d()+"/protocol/openid-connect/token"},logout:function(){return d()+"/protocol/openid-connect/logout"},checkSessionIframe:function(){return d()+"/protocol/openid-connect/login-status-iframe.html"},thirdPartyCookiesIframe:function(){return d()+"/protocol/openid-connect/3p-cookies/step1.html"},register:function(){return d()+"/protocol/openid-connect/registrations"},userinfo:function(){return d()+"/protocol/openid-connect/userinfo"}}}if("string"==typeof e&&(n=e),n)(a=new XMLHttpRequest).open("GET",n,!0),a.setRequestHeader("Accept","application/json"),a.onreadystatechange=function(){if(4==a.readyState)if(200==a.status||h(a)){var e=JSON.parse(a.responseText);o.authServerUrl=e["auth-server-url"],o.realm=e.realm,o.clientId=e.resource,r(null),t.setSuccess()}else t.setError()},a.send();else{o.clientId=e.clientId;var i,a,c=e.oidcProvider;c?"string"==typeof c?(i="/"==c.charAt(c.length-1)?c+".well-known/openid-configuration":c+"/.well-known/openid-configuration",(a=new XMLHttpRequest).open("GET",i,!0),a.setRequestHeader("Accept","application/json"),a.onreadystatechange=function(){4==a.readyState&&(200==a.status||h(a)?(r(JSON.parse(a.responseText)),t.setSuccess()):t.setError())},a.send()):(r(c),t.setSuccess()):(o.authServerUrl=e.url,o.realm=e.realm,r(null),t.setSuccess())}return t.promise}();function l(){var e=function(e){e||(t.prompt="none"),r.locale&&(t.locale=r.locale),o.login(t).then((function(){a.setSuccess()})).catch((function(e){a.setError(e)}))},n=async function(){var e=document.createElement("iframe"),n=await o.createLoginUrl({prompt:"none",redirectUri:o.silentCheckSsoRedirectUri});e.setAttribute("src",n),e.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),e.setAttribute("title","keycloak-silent-check-sso"),e.style.display="none",document.body.appendChild(e);var t=function(n){n.origin===window.location.origin&&e.contentWindow===n.source&&(p(m(n.data),a),document.body.removeChild(e),window.removeEventListener("message",t))};window.addEventListener("message",t)},t={};switch(r.onLoad){case"check-sso":s.enable?k().then((function(){_().then((function(t){t?a.setSuccess():o.silentCheckSsoRedirectUri?n():e(!1)})).catch((function(e){a.setError(e)}))})):o.silentCheckSsoRedirectUri?n():e(!1);break;case"login-required":e(!0);break;default:throw"Invalid value for onLoad"}}function v(){var e=m(window.location.href);if(e&&window.history.replaceState(window.history.state,null,e.newUrl),e&&e.valid)return k().then((function(){p(e,a)})).catch((function(e){a.setError(e)}));r.token&&r.refreshToken?(w(r.token,r.refreshToken,r.idToken),s.enable?k().then((function(){_().then((function(e){e?(o.onAuthSuccess&&o.onAuthSuccess(),a.setSuccess(),b()):a.setSuccess()})).catch((function(e){a.setError(e)}))})):o.updateToken(-1).then((function(){o.onAuthSuccess&&o.onAuthSuccess(),a.setSuccess()})).catch((function(e){o.onAuthError&&o.onAuthError(),r.onLoad?l():a.setError(e)}))):r.onLoad?l():a.setSuccess()}return c.then((function(){(function(){var e=g();if((s.enable||o.silentCheckSsoRedirectUri)&&"function"==typeof o.endpoints.thirdPartyCookiesIframe){var n=document.createElement("iframe");n.setAttribute("src",o.endpoints.thirdPartyCookiesIframe()),n.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),n.setAttribute("title","keycloak-3p-check-iframe"),n.style.display="none",document.body.appendChild(n);var t=function(r){n.contentWindow===r.source&&("supported"!==r.data&&"unsupported"!==r.data||("unsupported"===r.data&&(f("[KEYCLOAK] Your browser is blocking access to 3rd-party cookies, this means:\n\n - It is not possible to retrieve tokens without redirecting to the Keycloak server (a.k.a. no support for silent authentication).\n - It is not possible to automatically detect changes to the session status (such as the user logging out in another tab).\n\nFor more information see: https://www.keycloak.org/securing-apps/javascript-adapter#_modern_browsers"),s.enable=!1,o.silentCheckSsoFallback&&(o.silentCheckSsoRedirectUri=!1)),document.body.removeChild(n),window.removeEventListener("message",t),e.setSuccess()))};window.addEventListener("message",t,!1)}else e.setSuccess();return function(e,n){var t=null,o=new Promise((function(e,o){t=setTimeout((function(){o({error:"Timeout when waiting for 3rd party check iframe message."})}),n)}));return Promise.race([e,o]).finally((function(){clearTimeout(t)}))}(e.promise,o.messageReceiveTimeout)})().then(v).catch((function(e){i.setError(e)}))})),c.catch((function(e){i.setError(e)})),i.promise},o.login=function(e){return n.login(e)},o.createLoginUrl=async function(e){var r,i=v(),a=v(),c=n.redirectUri(e),s={state:i,nonce:a,redirectUri:encodeURIComponent(c),loginOptions:e};e&&e.prompt&&(s.prompt=e.prompt),r=e&&"register"==e.action?o.endpoints.register():o.endpoints.authorize();var l=e&&e.scope||o.scope;l?-1===l.indexOf("openid")&&(l="openid "+l):l="openid";var f=r+"?client_id="+encodeURIComponent(o.clientId)+"&redirect_uri="+encodeURIComponent(c)+"&state="+encodeURIComponent(i)+"&response_mode="+encodeURIComponent(o.responseMode)+"&response_type="+encodeURIComponent(o.responseType)+"&scope="+encodeURIComponent(l);if(u&&(f=f+"&nonce="+encodeURIComponent(a)),e&&e.prompt&&(f+="&prompt="+encodeURIComponent(e.prompt)),e&&"number"==typeof e.maxAge&&(f+="&max_age="+encodeURIComponent(e.maxAge)),e&&e.loginHint&&(f+="&login_hint="+encodeURIComponent(e.loginHint)),e&&e.idpHint&&(f+="&kc_idp_hint="+encodeURIComponent(e.idpHint)),e&&e.action&&"register"!=e.action&&(f+="&kc_action="+encodeURIComponent(e.action)),e&&e.locale&&(f+="&ui_locales="+encodeURIComponent(e.locale)),e&&e.acr){var d=JSON.stringify({id_token:{acr:e.acr}});f+="&claims="+encodeURIComponent(d)}if((e&&e.acrValues||o.acrValues)&&(f+="&acr_values="+encodeURIComponent(e.acrValues||o.acrValues)),o.pkceMethod)try{const e=function(e,n){for(var t=function(e){if("undefined"==typeof crypto||void 0===crypto.getRandomValues)throw new Error("Web Crypto API is not available.");return crypto.getRandomValues(new Uint8Array(e))}(e),o=new Array(e),r=0;r<e;r++)o[r]=n.charCodeAt(t[r]%62);return String.fromCharCode.apply(null,o)}(96,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"),n=await async function(e,n){if("S256"!==e)throw new TypeError(`Invalid value for 'pkceMethod', expected 'S256' but got '${e}'.`);return function(e){const n=String.fromCodePoint(...e);return btoa(n)}(new Uint8Array(await async function(e){const n=(new TextEncoder).encode(e);if("undefined"==typeof crypto||void 0===crypto.subtle)throw new Error("Web Crypto API is not available.");return await crypto.subtle.digest("SHA-256",n)}(n))).replace(/\+/g,"-").replace(/\//g,"_").replace(/\=/g,"")}(o.pkceMethod,e);s.pkceCodeVerifier=e,f+="&code_challenge="+n,f+="&code_challenge_method="+o.pkceMethod}catch(e){throw new Error("Failed to generate PKCE challenge.",{cause:e})}return t.add(s),f},o.logout=function(e){return n.logout(e)},o.createLogoutUrl=function(e){if("POST"===(e?.logoutMethod??o.logoutMethod))return o.endpoints.logout();var t=o.endpoints.logout()+"?client_id="+encodeURIComponent(o.clientId)+"&post_logout_redirect_uri="+encodeURIComponent(n.redirectUri(e,!1));return o.idToken&&(t+="&id_token_hint="+encodeURIComponent(o.idToken)),t},o.register=function(e){return n.register(e)},o.createRegisterUrl=async function(e){return e||(e={}),e.action="register",await o.createLoginUrl(e)},o.createAccountUrl=function(e){var t=d(),r=void 0;return void 0!==t&&(r=t+"/account?referrer="+encodeURIComponent(o.clientId)+"&referrer_uri="+encodeURIComponent(n.redirectUri(e))),r},o.accountManagement=function(){return n.accountManagement()},o.hasRealmRole=function(e){var n=o.realmAccess;return!!n&&n.roles.indexOf(e)>=0},o.hasResourceRole=function(e,n){if(!o.resourceAccess)return!1;var t=o.resourceAccess[n||o.clientId];return!!t&&t.roles.indexOf(e)>=0},o.loadUserProfile=function(){var e=d()+"/account",n=new XMLHttpRequest;n.open("GET",e,!0),n.setRequestHeader("Accept","application/json"),n.setRequestHeader("Authorization","bearer "+o.token);var t=g();return n.onreadystatechange=function(){4==n.readyState&&(200==n.status?(o.profile=JSON.parse(n.responseText),t.setSuccess(o.profile)):t.setError())},n.send(),t.promise},o.loadUserInfo=function(){var e=o.endpoints.userinfo(),n=new XMLHttpRequest;n.open("GET",e,!0),n.setRequestHeader("Accept","application/json"),n.setRequestHeader("Authorization","bearer "+o.token);var t=g();return n.onreadystatechange=function(){4==n.readyState&&(200==n.status?(o.userInfo=JSON.parse(n.responseText),t.setSuccess(o.userInfo)):t.setError())},n.send(),t.promise},o.isTokenExpired=function(e){if(!o.tokenParsed||!o.refreshToken&&"implicit"!=o.flow)throw"Not authenticated";if(null==o.timeSkew)return l("[KEYCLOAK] Unable to determine if token is expired as timeskew is not set"),!0;var n=o.tokenParsed.exp-Math.ceil((new Date).getTime()/1e3)+o.timeSkew;if(e){if(isNaN(e))throw"Invalid minValidity";n-=e}return n<0},o.updateToken=function(e){var n=g();if(!o.refreshToken)return n.setError(),n.promise;e=e||5;var t=function(){var t=!1;if(-1==e?(t=!0,l("[KEYCLOAK] Refreshing token: forced refresh")):o.tokenParsed&&!o.isTokenExpired(e)||(t=!0,l("[KEYCLOAK] Refreshing token: token expired")),t){var i="grant_type=refresh_token&refresh_token="+o.refreshToken,a=o.endpoints.token();if(r.push(n),1==r.length){var c=new XMLHttpRequest;c.open("POST",a,!0),c.setRequestHeader("Content-type","application/x-www-form-urlencoded"),c.withCredentials=!0,i+="&client_id="+encodeURIComponent(o.clientId);var s=(new Date).getTime();c.onreadystatechange=function(){if(4==c.readyState)if(200==c.status){l("[KEYCLOAK] Token refreshed"),s=(s+(new Date).getTime())/2;var e=JSON.parse(c.responseText);w(e.access_token,e.refresh_token,e.id_token,s),o.onAuthRefreshSuccess&&o.onAuthRefreshSuccess();for(var n=r.pop();null!=n;n=r.pop())n.setSuccess(!0)}else for(f("[KEYCLOAK] Failed to refresh token"),400==c.status&&o.clearToken(),o.onAuthRefreshError&&o.onAuthRefreshError(),n=r.pop();null!=n;n=r.pop())n.setError("Failed to refresh token: An unexpected HTTP error occurred while attempting to refresh the token.")},c.send(i)}}else n.setSuccess(!1)};return s.enable?_().then((function(){t()})).catch((function(e){n.setError(e)})):t(),n.promise},o.clearToken=function(){o.token&&(w(null,null,null),o.onAuthLogout&&o.onAuthLogout(),o.loginRequired&&o.login())};const C="kc-callback-";var S=function(){if(!(this instanceof S))return new S;function e(){const e=Date.now();for(const[o,r]of n()){const n=t(r);(null===n||n<e)&&localStorage.removeItem(o)}}function n(){return Object.entries(localStorage).filter((([e])=>e.startsWith(C)))}function t(e){let n;try{n=JSON.parse(e)}catch(e){return null}return c(n)&&"expires"in n&&"number"==typeof n.expires?n.expires:null}localStorage.setItem("kc-test","test"),localStorage.removeItem("kc-test"),this.get=function(n){if(n){var t=C+n,o=localStorage.getItem(t);return o&&(localStorage.removeItem(t),o=JSON.parse(o)),e(),o}},this.add=function(t){e();const o=C+t.state,r=JSON.stringify({...t,expires:Date.now()+36e5});try{localStorage.setItem(o,r)}catch(e){!function(){for(const[e]of n())localStorage.removeItem(e)}(),localStorage.setItem(o,r)}}},O=function(){if(!(this instanceof O))return new O;var e=this;e.get=function(e){if(e){var r=t(C+e);return o(C+e,"",n(-100)),r?JSON.parse(r):void 0}},e.add=function(e){o(C+e.state,JSON.stringify(e),n(60))},e.removeItem=function(e){o(e,"",n(-100))};var n=function(e){var n=new Date;return n.setTime(n.getTime()+60*e*1e3),n},t=function(e){for(var n=e+"=",t=document.cookie.split(";"),o=0;o<t.length;o++){for(var r=t[o];" "==r.charAt(0);)r=r.substring(1);if(0==r.indexOf(n))return r.substring(n.length,r.length)}return""},o=function(e,n,t){var o=e+"="+n+"; expires="+t.toUTCString()+"; ";document.cookie=o}};function U(e){return function(){o.enableLogging&&e.apply(console,Array.prototype.slice.call(arguments))}}}function a(e){const[n,t]=e.split(".");if("string"!=typeof t)throw new Error("Unable to decode token, payload not found.");let o;try{o=function(e){let n=e.replaceAll("-","+").replaceAll("_","/");switch(n.length%4){case 0:break;case 2:n+="==";break;case 3:n+="=";break;default:throw new Error("Input is not of the correct length.")}try{return function(e){return decodeURIComponent(atob(e).replace(/(.)/g,((e,n)=>{let t=n.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t="0"+t),"%"+t})))}(n)}catch(e){return atob(n)}}(t)}catch(e){throw new Error("Unable to decode token, payload is not a valid Base64URL value.",{cause:e})}try{return JSON.parse(o)}catch(e){throw new Error("Unable to decode token, payload is not a valid JSON value.",{cause:e})}}function c(e){return"object"==typeof e&&null!==e}let s=null,u=null;const l=class{constructor(t){e(this,t),this.keycloak=n(this,"keycloak",7),this.auth=n(this,"auth",7),this.handleLogin=async()=>{if(!this.authenticated)try{await function(){if(!s)throw new Error("Keycloak is not initialized.");s.login()}()}catch(e){r.show(e.message,"error")}},this.handleLogout=async()=>{try{await function(){if(!s)throw new Error("Keycloak is not initialized.");s.logout()}()}catch(e){r.show(e.message,"error")}this.authenticated=!1,this.user=null},this.keycloakUrl=void 0,this.keycloakRealm=void 0,this.keycloakClientId=void 0,this.authenticated=!1,this.user=null,this.serverAvailable=!1}async componentWillLoad(){this.keycloakUrl&&this.keycloakRealm&&this.keycloakClientId?(this.serverAvailable=await async function(e){try{const n=await fetch(e,{method:"HEAD",mode:"no-cors"});return n.ok||"opaque"===n.type}catch(e){return!1}}(`${this.keycloakUrl}/realms/${this.keycloakRealm}`),this.serverAvailable?await this.initAuth():r.show("Keycloak server is unavailable.","error")):console.error("Keycloak configuration props are missing.")}async initAuth(){try{const e=await function(e,n=!0){return u?(console.log("Keycloak already initialized, returning from cache"),u):(s||(s=new i({url:e.url,realm:e.realm,clientId:e.clientId})),u=s.init({onLoad:n?"check-sso":"login-required",checkLoginIframe:!1}).then((e=>e)).catch((e=>(console.error("Failed to initialize Keycloak:",e),!1))),u)}({url:this.keycloakUrl,realm:this.keycloakRealm,clientId:this.keycloakClientId},!0);this.keycloak.emit({init:e}),(null==s?void 0:s.authenticated)&&(this.user=(null==s?void 0:s.authenticated)&&(null==s?void 0:s.idTokenParsed)?{fullname:s.idTokenParsed.name,email:s.idTokenParsed.email,lastname:s.idTokenParsed.family_name,firstname:s.idTokenParsed.given_name,username:s.idTokenParsed.preferred_username,background:"grey",token:s.token,sub:s.idTokenParsed.sub}:{},this.authenticated=!0,this.auth.emit({authenticated:this.authenticated,user:this.user}))}catch(e){r.show(e.message,"error")}}render(){return t("div",{key:"041846174aaad541acce03588a087793d10daa1e",class:"block"},!this.authenticated&&t("eds-button",{key:"360a84ec79a15c9293e3898b77df649c469d9529",label:"Login",intent:"primary","extra-class":"text-default","aria-label":"Login",triggerClick:this.handleLogin.bind(this)}))}},f=class{constructor(t){e(this,t),this.splash=n(this,"splash",7),this.inverse=!1,this.initPromise=void 0,this.isVisible=!0}componentWillLoad(){this.initPromise&&this.handleInitPromise(this.initPromise)}async watchInitPromise(e){e&&this.handleInitPromise(e)}async handleInitPromise(e){try{await e,this.hideSplash()}catch(e){this.splash.emit({type:"error",message:e.message||"Unknown error"})}}handleHideSplash(){this.hideSplash()}hideSplash(){this.isVisible=!1,this.splash.emit({type:"hidden",message:"Splash screen hidden successfully"})}render(){return this.isVisible?t(o,null,t("div",{class:"splash-overlay",style:{background:this.inverse?"black":"var(--grey-200)"}},t("div",{class:"logo-container"},t("eds-logo",this.inverse?{orientation:"vertical",type:"color-white"}:{orientation:"vertical",type:"color"})),t("div",{class:"content-container"},t("eds-spinner",{size:"1rem",thickness:"3px","border-color":"var(--grey-400)","bottom-color":"var(--grey-900)",background:"none",fullscreen:!1})))):null}static get watchers(){return{initPromise:["watchInitPromise"]}}};f.style=".splash-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999999;background-color:var(--grey-200);display:flex;flex-direction:column;align-items:center;justify-content:center}.logo-container{width:200px;height:200px;margin-bottom:1rem}.content-container{position:relative;width:5rem;height:5rem;display:flex;align-items:center;justify-content:center}";export{l as eds_login,f as eds_splash_screen}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as c}from"./p-cccacbd3.js";import{u as r}from"./p-1b2913c8.js";const o=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"b97da1b406718c7611d1e17d7a9c6b4670600740",class:this.class,innerHTML:r})}};export{o as eds_icon_updown}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as r}from"./p-cccacbd3.js";import{u as c}from"./p-46d0716d.js";const t=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"4322703c9e449819dc30946118893d365fa20124",class:this.class,innerHTML:c})}};export{t as eds_icon_user}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as r}from"./p-cccacbd3.js";import{m as a}from"./p-5ab1d64a.js";const c=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"b998a568e6f0f7811a4984817177c76842127298",class:this.class,innerHTML:a})}};export{c as eds_icon_mastodon}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t}from"./p-cccacbd3.js";const a={"1x1":"1/1","21x9":"21/9","16x9":"16/9","3x2":"3/2","4x3":"4/3","4x5":"4/5"},c=class{constructor(t){e(this,t)}render(){return t("section",{key:"c4348ae18a2c7644f7a191aa5190ac3b98b5ccb9",class:"w-full"},t("eds-section-core",{key:"6f148fc0c0ebbaef05761fa1a773cf026e308517",tag:"div","section-title":"Aspect Ratios","heading-level":"h3"},t("ul",{key:"eb932db069683046fcda8ea950bac277e1387c33",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(a).map((([e,a])=>t("li",{class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},t("div",{class:"container ratio-box flex items-center justify-center text-center border-2 border-soft",style:{aspectRatio:a.replace("/",":"),width:"100%",maxWidth:"300px"}},t("span",{class:"text-default font-bold mr-auto"},"aspect-",e),t("span",{class:"mt-2 text-sm ml-auto"},a))))))))}};export{c as token_ratios}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
class ToastManager {
|
|
2
|
-
constructor() {
|
|
3
|
-
this.toastManagerElement = null;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* Initialize the ToastManager with a reference to the `eds-toast-manager` component.
|
|
7
|
-
*/
|
|
8
|
-
init(toastManagerElement) {
|
|
9
|
-
this.toastManagerElement = toastManagerElement;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Display a toast.
|
|
13
|
-
* @param message - The message to display.
|
|
14
|
-
* @param intent - The type of the toast ('success', 'error', 'warning', 'default').
|
|
15
|
-
*/
|
|
16
|
-
show(message, intent = 'default') {
|
|
17
|
-
if (!this.toastManagerElement) {
|
|
18
|
-
// eslint-disable-next-line
|
|
19
|
-
console.error('ToastManager is not initialized. Ensure <eds-toast-manager> is rendered.');
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
const event = new CustomEvent('show-toast', {
|
|
23
|
-
detail: { message, intent }
|
|
24
|
-
});
|
|
25
|
-
this.toastManagerElement.dispatchEvent(event);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
// Export a singleton instance
|
|
29
|
-
const toast = new ToastManager();
|
|
30
|
-
|
|
31
|
-
export { toast as t };
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import { c as cva } from './index-39c58238.js';
|
|
2
|
-
|
|
3
|
-
const GRADIANT_TOKENS = ['green', 'yellow', 'among-blue', 'purple'];
|
|
4
|
-
const gradientBGColorVariants = cva([], {
|
|
5
|
-
variants: {
|
|
6
|
-
color: GRADIANT_TOKENS.reduce((acc, token) => (Object.assign(Object.assign({}, acc), { [token]: '' })), {}),
|
|
7
|
-
direction: {
|
|
8
|
-
top: '',
|
|
9
|
-
bottom: ''
|
|
10
|
-
},
|
|
11
|
-
pseudo: {
|
|
12
|
-
true: 'before:effect-opacity effect-bg-behind',
|
|
13
|
-
false: ''
|
|
14
|
-
},
|
|
15
|
-
hover: {
|
|
16
|
-
true: 'before:opacity-0 hover:before:opacity-100',
|
|
17
|
-
false: ''
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
compoundVariants: [
|
|
21
|
-
// region GREEN
|
|
22
|
-
{
|
|
23
|
-
color: 'green',
|
|
24
|
-
direction: 'top',
|
|
25
|
-
pseudo: true,
|
|
26
|
-
className: 'before:bg-gradient-01-top'
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
color: 'green',
|
|
30
|
-
pseudo: true,
|
|
31
|
-
direction: 'bottom',
|
|
32
|
-
className: 'before:bg-gradient-01-bottom'
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
color: 'green',
|
|
36
|
-
direction: 'top',
|
|
37
|
-
pseudo: false,
|
|
38
|
-
className: 'bg-gradient-01-top'
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
color: 'green',
|
|
42
|
-
pseudo: false,
|
|
43
|
-
direction: 'bottom',
|
|
44
|
-
className: 'bg-gradient-01-bottom'
|
|
45
|
-
},
|
|
46
|
-
// endregion
|
|
47
|
-
// region YELLOW
|
|
48
|
-
{
|
|
49
|
-
color: 'yellow',
|
|
50
|
-
direction: 'top',
|
|
51
|
-
pseudo: true,
|
|
52
|
-
className: 'before:bg-gradient-02-top'
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
color: 'yellow',
|
|
56
|
-
direction: 'bottom',
|
|
57
|
-
pseudo: true,
|
|
58
|
-
className: 'before:bg-gradient-02-bottom'
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
color: 'yellow',
|
|
62
|
-
direction: 'top',
|
|
63
|
-
pseudo: false,
|
|
64
|
-
className: 'bg-gradient-02-top'
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
color: 'yellow',
|
|
68
|
-
direction: 'bottom',
|
|
69
|
-
pseudo: false,
|
|
70
|
-
className: 'bg-gradient-02-bottom'
|
|
71
|
-
},
|
|
72
|
-
// endregion
|
|
73
|
-
// region PURPLE
|
|
74
|
-
{
|
|
75
|
-
color: 'purple',
|
|
76
|
-
direction: 'top',
|
|
77
|
-
pseudo: true,
|
|
78
|
-
class: 'before:bg-gradient-03-top'
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
color: 'purple',
|
|
82
|
-
direction: 'bottom',
|
|
83
|
-
pseudo: true,
|
|
84
|
-
class: 'before:bg-gradient-03-bottom'
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
color: 'purple',
|
|
88
|
-
direction: 'top',
|
|
89
|
-
pseudo: false,
|
|
90
|
-
class: 'bg-gradient-03-top'
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
color: 'purple',
|
|
94
|
-
direction: 'bottom',
|
|
95
|
-
pseudo: false,
|
|
96
|
-
class: 'bg-gradient-03-bottom'
|
|
97
|
-
},
|
|
98
|
-
// endregion
|
|
99
|
-
// region AMONG-BLUE
|
|
100
|
-
{
|
|
101
|
-
color: 'among-blue',
|
|
102
|
-
direction: 'top',
|
|
103
|
-
pseudo: true,
|
|
104
|
-
class: 'before:bg-gradient-04-top'
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
color: 'among-blue',
|
|
108
|
-
direction: 'bottom',
|
|
109
|
-
pseudo: true,
|
|
110
|
-
class: 'before:bg-gradient-04-bottom'
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
color: 'among-blue',
|
|
114
|
-
direction: 'top',
|
|
115
|
-
pseudo: false,
|
|
116
|
-
class: 'bg-gradient-04-top'
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
color: 'among-blue',
|
|
120
|
-
direction: 'bottom',
|
|
121
|
-
pseudo: false,
|
|
122
|
-
class: 'bg-gradient-04-bottom'
|
|
123
|
-
}
|
|
124
|
-
// endregion
|
|
125
|
-
],
|
|
126
|
-
defaultVariants: {
|
|
127
|
-
direction: 'top',
|
|
128
|
-
pseudo: true
|
|
129
|
-
}
|
|
130
|
-
});
|
|
131
|
-
|
|
132
|
-
export { gradientBGColorVariants as g };
|