@ebrains/components 0.5.0-alpha.0 → 0.7.0-alpha.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/dist/cjs/{analytics-223ea8e5.js → analytics-d8fb3fdd.js} +9 -0
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
- package/dist/cjs/components.cjs.js +2 -2
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/eds-accordion_22.cjs.entry.js +1959 -0
- package/dist/cjs/eds-alert.cjs.entry.js +97 -0
- package/dist/cjs/eds-app-root.cjs.entry.js +37 -0
- package/dist/cjs/eds-avatar_4.cjs.entry.js +2 -9
- package/dist/cjs/eds-breadcrumb.cjs.entry.js +135 -0
- package/dist/cjs/eds-card-generic.cjs.entry.js +5 -17
- package/dist/cjs/eds-card-project.cjs.entry.js +2 -2
- package/dist/cjs/eds-card-section.cjs.entry.js +6 -22
- package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tool.cjs.entry.js +2 -2
- package/dist/cjs/eds-card-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/eds-code-block.cjs.entry.js +1 -1
- package/dist/cjs/eds-components-section.cjs.entry.js +2 -2
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +39 -0
- package/dist/cjs/eds-docs-palettes.cjs.entry.js +2 -2
- package/dist/cjs/eds-docs-tokens.cjs.entry.js +2 -2
- package/dist/cjs/{eds-dropdown_2.cjs.entry.js → eds-dropdown.cjs.entry.js} +9 -42
- package/dist/cjs/eds-feedback.cjs.entry.js +66 -0
- package/dist/cjs/eds-form.cjs.entry.js +238 -255
- package/dist/cjs/eds-frame.cjs.entry.js +32 -32
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-close.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-copy.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-eu.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-loader.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-menu.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-more.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-search.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-star.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-success.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-user.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +2 -2
- package/dist/{components/keycloak.js → cjs/eds-login_2.cjs.entry.js} +144 -1
- package/dist/cjs/eds-logo-variations.cjs.entry.js +2 -2
- package/dist/cjs/eds-modal.cjs.entry.js +16 -4
- package/dist/cjs/eds-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/eds-rating.cjs.entry.js +64 -0
- package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
- package/dist/cjs/eds-spinner.cjs.entry.js +54 -0
- package/dist/cjs/eds-steps.cjs.entry.js +55 -0
- package/dist/cjs/eds-svg-repository.cjs.entry.js +9 -3
- package/dist/cjs/eds-switch.cjs.entry.js +38 -0
- package/dist/cjs/eds-tabs.cjs.entry.js +11 -25
- package/dist/cjs/eds-timeline.cjs.entry.js +4 -22
- package/dist/cjs/eds-toast-manager.cjs.entry.js +46 -0
- package/dist/cjs/eds-toast.cjs.entry.js +76 -0
- package/dist/cjs/eds-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/eds-trl.cjs.entry.js +2 -2
- package/dist/cjs/eds-user.cjs.entry.js +9 -79
- package/dist/cjs/eds-vertical-stepper.cjs.entry.js +2 -2
- package/dist/cjs/formUtils-4315a99c.js +228 -0
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/{index-f08e4f5c.js → index-2f63169d.js} +57 -28
- 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-wrong-usage.cjs.entry.js +2 -2
- package/dist/cjs/sharedUtils-8e287250.js +21 -0
- package/dist/cjs/star-942eee9f.js +7 -0
- package/dist/cjs/thumbs-down-714036b1.js +7 -0
- package/dist/cjs/thumbs-up-411babb8.js +8 -0
- 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-spacing.cjs.entry.js +2 -2
- package/dist/cjs/token-typography.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +10 -5
- package/dist/collection/components/eds-accordion/eds-accordion.js +7 -7
- package/dist/collection/components/eds-accordion/eds-accordion.stories.js +2 -2
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +3 -17
- package/dist/collection/components/eds-button/eds-button.css +1 -19
- package/dist/collection/components/eds-button/eds-button.js +21 -16
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +3 -15
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +24 -2
- package/dist/collection/components/eds-form/eds-form.js +278 -268
- package/dist/collection/components/eds-form-v2/eds-form-v2.css +7153 -0
- package/dist/collection/components/eds-form-v2/eds-form-v2.js +405 -0
- package/dist/collection/components/eds-form-v2/eds-form-v2.stories.js +73 -0
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
- package/dist/collection/components/eds-img/eds-img.js +2 -2
- package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +2 -2
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +57 -9
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +1 -1
- package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
- package/dist/collection/components/eds-link/eds-link.css +6793 -6676
- package/dist/collection/components/eds-link/eds-link.js +1 -1
- package/dist/collection/components/eds-logo/eds-logo.js +1 -1
- package/dist/collection/components/eds-modal/eds-modal.js +26 -2
- package/dist/collection/components/eds-pagination/eds-pagination.js +3 -3
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
- package/dist/collection/components/eds-rating/eds-rating.css +31 -74
- package/dist/collection/components/eds-rating/eds-rating.js +44 -56
- package/dist/collection/components/eds-rating/eds-rating.stories.js +18 -51
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
- package/dist/collection/components/eds-spinner/eds-spinner.css +17 -0
- package/dist/collection/components/eds-spinner/eds-spinner.js +166 -0
- package/dist/collection/components/eds-spinner/eds-spinner.stories.js +52 -0
- package/dist/collection/components/eds-steps/eds-steps.css +61 -6
- package/dist/collection/components/eds-steps/eds-steps.js +10 -19
- package/dist/collection/components/eds-steps/eds-vertical-stepper.js +1 -1
- package/dist/collection/components/eds-switch/eds-switch.css +57 -58
- package/dist/collection/components/eds-switch/eds-switch.js +2 -2
- package/dist/collection/components/eds-table/eds-table.js +11 -8
- package/dist/collection/components/eds-table/eds-table.stories.js +11 -6
- package/dist/collection/components/eds-tag/eds-tag.js +4 -35
- package/dist/collection/components/eds-timeline/eds-timeline.js +3 -21
- package/dist/collection/components/eds-toast/eds-toast.css +91 -0
- package/dist/collection/components/eds-toast/eds-toast.js +18 -9
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
- 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/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/eds-components-section/eds-components-section.js +1 -1
- package/dist/collection/eds-docs-ui/eds-docs-palettes/eds-docs-palettes.js +1 -1
- package/dist/collection/eds-docs-ui/eds-docs-tokens/eds-docs-tokens.js +1 -1
- package/dist/collection/eds-docs-ui/eds-frame/eds-frame.css +113 -0
- package/dist/collection/{components → eds-docs-ui}/eds-frame/eds-frame.js +47 -76
- package/dist/collection/eds-docs-ui/eds-frame/eds-frame.stories.js +52 -0
- package/dist/collection/eds-docs-ui/eds-logo-variations/eds-logo-variations.js +1 -1
- package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.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-wrong-usage/logo-wrong-usage.js +1 -1
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.css +236 -140
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +12 -28
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +2 -2
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.css +0 -0
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +87 -0
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.st.js +31 -0
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.css +155 -0
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +191 -0
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.stories.js +121 -0
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +7 -53
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +3 -28
- package/dist/collection/shared-ui/eds-header/eds-header.js +4 -20
- package/dist/collection/shared-ui/eds-header/eds-header.stories.js +1 -37
- package/dist/collection/shared-ui/eds-login/eds-login.js +34 -10
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +78 -66
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +6 -4
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
- package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.css +29 -0
- package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.js +124 -0
- package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.stories.js +23 -0
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +7774 -0
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +12 -25
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.stories.js +17 -30
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.css +1 -1
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +5 -1
- package/dist/collection/shared-ui/eds-user/eds-user.js +17 -150
- package/dist/collection/shared-ui/eds-user/eds-user.stories.js +45 -0
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +39 -0
- package/dist/collection/utils/api.js +27 -0
- package/dist/collection/utils/eds-form/formUtils.js +95 -0
- package/dist/collection/utils/eds-form/formValidators.js +64 -0
- package/dist/collection/utils/eds-form/individualValidator.js +46 -0
- package/dist/collection/utils/eds-form/validateInput.js +23 -0
- package/dist/collection/utils/sharedUtils.js +17 -0
- package/dist/components/analytics.js +9 -1
- package/dist/components/components.css +501 -5
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/eds-accordion2.js +5 -5
- package/dist/components/{eds-navigator.d.ts → eds-app-root.d.ts} +4 -4
- package/dist/components/eds-app-root.js +89 -0
- package/dist/components/eds-breadcrumb.js +3 -17
- package/dist/components/eds-button2.js +12 -16
- package/dist/components/eds-card-generic2.js +3 -15
- package/dist/components/eds-card-section.js +6 -22
- package/dist/components/eds-components-section.js +1 -1
- package/dist/components/eds-cookies-preference.d.ts +11 -0
- package/dist/components/eds-cookies-preference.js +88 -0
- package/dist/components/eds-docs-palettes.js +1 -1
- package/dist/components/eds-docs-tokens.js +1 -1
- package/dist/components/eds-dropdown2.js +8 -3
- package/dist/components/{eds-user-modal.d.ts → eds-feedback.d.ts} +4 -4
- package/dist/components/eds-feedback.js +105 -0
- package/dist/components/eds-footer2.js +3 -13
- package/dist/components/{eds-tab.d.ts → eds-form-v2.d.ts} +4 -4
- package/dist/components/eds-form-v2.js +317 -0
- package/dist/components/eds-form.js +240 -255
- package/dist/components/eds-frame.js +33 -34
- package/dist/components/eds-fullscreen-menu.js +3 -28
- package/dist/components/eds-header.js +4 -20
- package/dist/components/eds-icon-arrow-diagonal.js +1 -1
- package/dist/components/eds-icon-arrow-right.js +1 -1
- package/dist/components/eds-icon-bluesky.js +1 -1
- package/dist/components/eds-icon-chevron-down.js +1 -1
- package/dist/components/eds-icon-chevron-left.js +1 -1
- package/dist/components/eds-icon-chevron-right.js +1 -1
- package/dist/components/eds-icon-chevron-up.js +1 -1
- package/dist/components/eds-icon-close.js +1 -1
- package/dist/components/eds-icon-copy.js +1 -1
- package/dist/components/eds-icon-eu.js +1 -1
- package/dist/components/eds-icon-facebook.js +1 -1
- package/dist/components/eds-icon-gitlab.js +1 -1
- package/dist/components/eds-icon-linkedin.js +1 -1
- package/dist/components/eds-icon-loader.js +1 -1
- package/dist/components/eds-icon-mastodon.js +1 -1
- package/dist/components/eds-icon-menu.js +1 -1
- package/dist/components/eds-icon-more.js +1 -1
- package/dist/components/eds-icon-search.js +1 -1
- package/dist/components/{eds-tabs-content.d.ts → eds-icon-star.d.ts} +4 -4
- package/dist/components/eds-icon-star.js +33 -0
- package/dist/components/eds-icon-success.js +1 -1
- package/dist/components/eds-icon-thumbs-down.d.ts +11 -0
- package/dist/components/eds-icon-thumbs-down.js +33 -0
- package/dist/components/eds-icon-thumbs-up.d.ts +11 -0
- package/dist/components/eds-icon-thumbs-up.js +33 -0
- package/dist/components/eds-icon-twitter.js +1 -1
- package/dist/components/eds-icon-user.js +1 -1
- package/dist/components/eds-icon-youtube.js +1 -1
- package/dist/components/eds-img2.js +2 -2
- package/dist/components/eds-input-field2.js +2 -2
- package/dist/components/eds-input-footer2.js +1 -1
- package/dist/components/eds-input-label2.js +1 -1
- package/dist/components/eds-input-range2.js +2 -2
- package/dist/components/eds-input-search2.js +24 -9
- package/dist/components/eds-input-select2.js +1 -1
- package/dist/components/eds-input2.js +2 -2
- package/dist/components/eds-link2.js +2 -2
- package/dist/components/eds-login.js +1 -118
- package/dist/{cjs/keycloak-93fc0315.js → components/eds-login2.js} +128 -7
- package/dist/components/eds-logo-variations.js +1 -1
- package/dist/components/eds-logo2.js +1 -1
- package/dist/components/eds-matomo-notice.js +1 -140
- package/dist/components/eds-matomo-notice2.js +130 -0
- package/dist/components/eds-modal.js +15 -3
- package/dist/components/eds-pagination2.js +2 -2
- package/dist/components/eds-progress-bar2.js +1 -1
- package/dist/components/eds-rating.js +1 -84
- package/dist/components/eds-rating2.js +91 -0
- package/dist/components/eds-section-core2.js +1 -1
- package/dist/components/eds-section-heading2.js +2 -2
- package/dist/components/eds-social-networks2.js +1 -1
- package/dist/components/eds-spinner.d.ts +11 -0
- package/dist/components/eds-spinner.js +6 -0
- package/dist/components/eds-spinner2.js +72 -0
- package/dist/components/eds-splash-screen.d.ts +11 -0
- package/dist/components/eds-splash-screen.js +6 -0
- package/dist/components/eds-splash-screen2.js +78 -0
- package/dist/components/eds-steps.js +11 -20
- package/dist/components/eds-svg-repository.js +8 -2
- package/dist/components/eds-switch.js +2 -2
- package/dist/components/eds-table2.js +11 -8
- package/dist/components/eds-tabs.js +12 -31
- package/dist/components/eds-tag2.js +1 -9
- package/dist/components/eds-timeline.js +3 -21
- package/dist/components/eds-toast-manager.js +4 -3
- package/dist/components/eds-toast2.js +13 -10
- package/dist/components/eds-tooltip.js +1 -1
- package/dist/components/eds-trl.js +1 -1
- package/dist/components/eds-user.js +23 -105
- package/dist/components/eds-vertical-stepper.js +1 -1
- package/dist/components/formUtils.js +223 -0
- 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-vertical2.js +1 -1
- package/dist/components/logo-wrong-usage.js +1 -1
- package/dist/components/p-033480b2.entry.js +1 -0
- package/dist/components/{p-89f600a3.entry.js → p-0443ac40.entry.js} +1 -1
- package/dist/components/{p-a2621d66.entry.js → p-066f6d27.entry.js} +1 -1
- package/dist/components/p-0e0106fc.entry.js +1 -0
- package/dist/components/p-117d180f.entry.js +1 -0
- package/dist/components/{p-89227919.js → p-13efafb9.js} +1 -1
- package/dist/components/p-20e9ae7f.entry.js +1 -0
- package/dist/components/{p-a535838c.entry.js → p-2354daeb.entry.js} +1 -1
- package/dist/components/p-2b31ca60.entry.js +1 -0
- package/dist/components/p-3368cfd5.entry.js +1 -0
- package/dist/components/p-33c5b937.entry.js +1 -0
- package/dist/components/p-3af94671.entry.js +1 -0
- package/dist/components/{p-b1af5000.entry.js → p-43350dff.entry.js} +2 -2
- package/dist/components/p-43b3579a.entry.js +1 -0
- package/dist/components/p-467fe746.entry.js +1 -0
- package/dist/components/p-46a6042d.entry.js +1 -0
- package/dist/components/p-4a860d5b.entry.js +1 -0
- package/dist/components/p-4ac27fe7.entry.js +1 -0
- package/dist/components/p-4b2e6f03.entry.js +1 -0
- package/dist/components/p-4cd69983.entry.js +1 -0
- package/dist/components/p-5520a3b6.entry.js +1 -0
- package/dist/components/p-552b6a50.entry.js +1 -0
- package/dist/components/p-56b4e0fe.entry.js +1 -0
- package/dist/components/{p-f36f2aeb.entry.js → p-56ec190f.entry.js} +1 -1
- package/dist/components/p-5aff1ea0.entry.js +1 -0
- package/dist/components/p-5c12a0df.entry.js +1 -0
- package/dist/components/{p-72b42d77.entry.js → p-5e2216ae.entry.js} +1 -1
- package/dist/components/p-5e63e8a5.entry.js +1 -0
- package/dist/components/p-60e7e745.entry.js +1 -0
- package/dist/components/p-62f2f274.entry.js +1 -0
- package/dist/components/p-6404e157.entry.js +1 -0
- package/dist/components/p-69c5074b.js +1 -0
- package/dist/components/p-6fd0c3b3.entry.js +1 -0
- package/dist/components/p-77cc7c02.entry.js +1 -0
- package/dist/components/p-79c14cf1.entry.js +1 -0
- package/dist/components/{p-c034c395.entry.js → p-7dd81017.entry.js} +1 -1
- package/dist/components/p-7e0dd5d8.entry.js +1 -0
- package/dist/components/p-80dba155.js +1 -0
- package/dist/components/{p-b860b4aa.entry.js → p-8154d013.entry.js} +1 -1
- package/dist/components/p-86eed1b7.entry.js +1 -0
- package/dist/components/p-8b70a350.entry.js +1 -0
- package/dist/components/p-8e548691.entry.js +1 -0
- package/dist/components/p-90503a64.entry.js +1 -0
- package/dist/components/p-90f85604.entry.js +1 -0
- package/dist/components/p-94698510.entry.js +1 -0
- package/dist/components/p-950ecb1c.entry.js +1 -0
- package/dist/components/p-9b9fba38.entry.js +1 -0
- package/dist/components/p-9dc879c9.entry.js +1 -0
- package/dist/components/{p-b1de9a6c.entry.js → p-9eb2e870.entry.js} +1 -1
- package/dist/components/p-9ebc84d6.entry.js +1 -0
- package/dist/components/p-a56f0579.entry.js +1 -0
- package/dist/components/{p-0e0e1815.entry.js → p-a5c61d1c.entry.js} +1 -1
- package/dist/components/p-a6cd418e.entry.js +1 -0
- package/dist/components/{p-505ddcda.entry.js → p-a8dd1953.entry.js} +1 -1
- package/dist/components/p-a91ab66e.entry.js +1 -0
- package/dist/components/p-ab292dd5.entry.js +1 -0
- package/dist/components/p-ad746789.entry.js +1 -0
- package/dist/components/p-b80a9020.entry.js +1 -0
- package/dist/components/p-b8ba7e5c.entry.js +1 -0
- package/dist/components/p-ba720bf3.js +1 -0
- package/dist/components/p-c06d4f14.entry.js +1 -0
- package/dist/components/p-c12d9350.entry.js +1 -0
- package/dist/components/p-c3dda942.entry.js +1 -0
- package/dist/components/p-c6b32753.entry.js +1 -0
- package/dist/components/p-c776b6f8.js +1 -0
- package/dist/components/p-c935aa46.entry.js +1 -0
- package/dist/components/{p-7a8b9de5.js → p-cccacbd3.js} +2 -2
- package/dist/components/p-dbcf1f0e.entry.js +1 -0
- package/dist/components/p-dcc08064.entry.js +1 -0
- package/dist/components/p-dcd4de1f.entry.js +1 -0
- package/dist/components/p-e2d5a487.js +1 -0
- package/dist/components/p-e64cd6f7.entry.js +1 -0
- package/dist/components/p-e9a533e0.entry.js +1 -0
- package/dist/components/p-eac63c82.entry.js +1 -0
- package/dist/components/p-f5959676.entry.js +1 -0
- package/dist/components/{p-def72462.entry.js → p-f905ac92.entry.js} +1 -1
- package/dist/components/p-fba4080d.entry.js +1 -0
- package/dist/components/p-fc619588.entry.js +1 -0
- package/dist/components/p-fcc32210.entry.js +1 -0
- package/dist/components/{p-81942665.entry.js → p-ff7acb55.entry.js} +1 -1
- 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/sharedUtils.js +19 -0
- package/dist/components/star.js +5 -0
- package/dist/components/support.js +1 -1
- package/dist/components/support2.js +3 -3
- package/dist/components/thumbs-down.js +5 -0
- package/dist/components/thumbs-up.js +6 -0
- 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-1cde8e4a.js → analytics-44b1416b.js} +9 -1
- package/dist/esm/color-primary-palette_6.entry.js +15 -15
- package/dist/esm/components.js +3 -3
- package/dist/esm/correct-use-of-colors.entry.js +2 -2
- package/dist/esm/eds-accordion_22.entry.js +1934 -0
- package/dist/esm/eds-alert.entry.js +93 -0
- package/dist/esm/eds-app-root.entry.js +33 -0
- package/dist/esm/eds-avatar_4.entry.js +2 -9
- package/dist/esm/eds-breadcrumb.entry.js +131 -0
- package/dist/esm/eds-card-generic.entry.js +5 -17
- package/dist/esm/eds-card-project.entry.js +2 -2
- package/dist/esm/eds-card-section.entry.js +6 -22
- package/dist/esm/eds-card-tags.entry.js +1 -1
- package/dist/esm/eds-card-tool.entry.js +2 -2
- package/dist/esm/eds-card-wrapper.entry.js +1 -1
- package/dist/esm/eds-code-block.entry.js +1 -1
- package/dist/esm/eds-components-section.entry.js +2 -2
- package/dist/esm/eds-cookies-preference.entry.js +35 -0
- package/dist/esm/eds-docs-palettes.entry.js +2 -2
- package/dist/esm/eds-docs-tokens.entry.js +2 -2
- package/dist/esm/{eds-dropdown_2.entry.js → eds-dropdown.entry.js} +10 -42
- package/dist/esm/eds-feedback.entry.js +62 -0
- package/dist/esm/eds-form.entry.js +238 -255
- package/dist/esm/eds-frame.entry.js +32 -32
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
- package/dist/esm/eds-icon-arrow-right.entry.js +2 -2
- package/dist/esm/eds-icon-bluesky.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-down.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-left.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-right.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-up.entry.js +2 -2
- package/dist/esm/eds-icon-close.entry.js +2 -2
- package/dist/esm/eds-icon-copy.entry.js +2 -2
- package/dist/esm/eds-icon-eu.entry.js +2 -2
- package/dist/esm/eds-icon-facebook.entry.js +2 -2
- package/dist/esm/eds-icon-gitlab.entry.js +2 -2
- package/dist/esm/eds-icon-linkedin.entry.js +2 -2
- package/dist/esm/eds-icon-loader.entry.js +2 -2
- package/dist/esm/eds-icon-mastodon.entry.js +2 -2
- package/dist/esm/eds-icon-menu.entry.js +2 -2
- package/dist/esm/eds-icon-more.entry.js +2 -2
- package/dist/esm/eds-icon-search.entry.js +2 -2
- package/dist/esm/eds-icon-star.entry.js +14 -0
- package/dist/esm/eds-icon-success.entry.js +2 -2
- package/dist/esm/eds-icon-thumbs-down.entry.js +14 -0
- package/dist/esm/eds-icon-thumbs-up.entry.js +14 -0
- package/dist/esm/eds-icon-twitter.entry.js +2 -2
- package/dist/esm/eds-icon-user.entry.js +2 -2
- package/dist/esm/eds-icon-youtube.entry.js +2 -2
- package/dist/esm/{keycloak-d502ec16.js → eds-login_2.entry.js} +139 -1
- package/dist/esm/eds-logo-variations.entry.js +2 -2
- package/dist/esm/eds-modal.entry.js +16 -4
- package/dist/esm/eds-progress-bar.entry.js +2 -2
- package/dist/esm/eds-rating.entry.js +60 -0
- package/dist/esm/eds-section-core_2.entry.js +4 -4
- package/dist/esm/eds-spinner.entry.js +50 -0
- package/dist/esm/eds-steps.entry.js +51 -0
- package/dist/esm/eds-svg-repository.entry.js +9 -3
- package/dist/esm/eds-switch.entry.js +34 -0
- package/dist/esm/eds-tabs.entry.js +11 -25
- package/dist/esm/eds-timeline.entry.js +4 -22
- package/dist/esm/eds-toast-manager.entry.js +42 -0
- package/dist/esm/eds-toast.entry.js +72 -0
- package/dist/esm/eds-tooltip.entry.js +3 -3
- package/dist/esm/eds-trl.entry.js +2 -2
- package/dist/esm/eds-user.entry.js +9 -79
- package/dist/esm/eds-vertical-stepper.entry.js +2 -2
- package/dist/esm/formUtils-ac68474d.js +223 -0
- package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
- package/dist/esm/{index-e96badea.js → index-8a71b9a7.js} +57 -29
- 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-wrong-usage.entry.js +2 -2
- package/dist/esm/sharedUtils-a550989c.js +19 -0
- package/dist/esm/star-0da9b5e9.js +5 -0
- package/dist/esm/thumbs-down-a18fd049.js +5 -0
- package/dist/esm/thumbs-up-c19a71bc.js +6 -0
- package/dist/esm/token-list_3.entry.js +4 -4
- package/dist/esm/token-ratios.entry.js +2 -2
- package/dist/esm/token-spacing.entry.js +2 -2
- package/dist/esm/token-typography.entry.js +2 -2
- package/dist/hydrate/index.js +1556 -1192
- package/dist/hydrate/index.mjs +1556 -1192
- package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +4 -1
- package/dist/types/components/eds-accordion/eds-accordion.d.ts +3 -3
- package/dist/types/components/eds-button/eds-button.d.ts +3 -1
- package/dist/types/components/eds-dropdown/eds-dropdown.d.ts +5 -0
- package/dist/types/components/eds-form/eds-form.d.ts +52 -20
- package/dist/types/components/eds-form-v2/eds-form-v2.d.ts +99 -0
- package/dist/types/components/eds-form-v2/eds-form-v2.stories.d.ts +27 -0
- package/dist/types/components/eds-icons/eds-icon-star/eds-icon-star.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.d.ts +10 -0
- package/dist/types/components/eds-input-elements/eds-input-search/eds-input-search.d.ts +6 -1
- package/dist/types/components/eds-modal/eds-modal.d.ts +8 -0
- package/dist/types/components/eds-pagination/eds-pagination.d.ts +1 -1
- package/dist/types/components/eds-rating/eds-rating.d.ts +19 -11
- package/dist/types/components/eds-rating/eds-rating.stories.d.ts +13 -27
- package/dist/types/components/eds-spinner/eds-spinner.d.ts +27 -0
- package/dist/types/components/eds-spinner/eds-spinner.stories.d.ts +42 -0
- package/dist/types/components/eds-steps/eds-steps.d.ts +1 -2
- package/dist/types/components/eds-table/eds-table.stories.d.ts +6 -0
- package/dist/types/components/eds-tag/eds-tag.d.ts +1 -25
- package/dist/types/components/eds-toast/eds-toast.d.ts +4 -5
- package/dist/types/components.d.ts +689 -387
- package/dist/types/{components → eds-docs-ui}/eds-frame/eds-frame.d.ts +26 -6
- package/dist/types/{components → eds-docs-ui}/eds-frame/eds-frame.stories.d.ts +8 -13
- package/dist/types/shared-ui/eds-card-section/eds-card-section.d.ts +5 -5
- package/dist/types/shared-ui/eds-card-section/eds-card-section.stories.d.ts +1 -1
- package/dist/types/shared-ui/eds-cookies-preference/eds-cookies-preference.d.ts +27 -0
- package/dist/types/shared-ui/eds-cookies-preference/eds-cookies-preference.st.d.ts +27 -0
- package/dist/types/shared-ui/eds-feedback/eds-feedback.d.ts +56 -0
- package/dist/types/shared-ui/eds-feedback/eds-feedback.stories.d.ts +77 -0
- package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +2 -15
- package/dist/types/shared-ui/eds-header/eds-header.stories.d.ts +0 -28
- package/dist/types/shared-ui/eds-login/eds-login.d.ts +12 -1
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +17 -48
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.d.ts +2 -1
- package/dist/types/shared-ui/eds-splash-screen/eds-splash-screen.d.ts +31 -0
- package/dist/types/shared-ui/eds-splash-screen/eds-splash-screen.stories.d.ts +22 -0
- package/dist/types/shared-ui/eds-tabs/eds-tabs.d.ts +3 -3
- package/dist/types/shared-ui/eds-tabs/eds-tabs.stories.d.ts +5 -2
- package/dist/types/shared-ui/eds-toast-manager/eds-toast-manager.d.ts +3 -0
- package/dist/types/shared-ui/eds-user/eds-user.d.ts +12 -66
- package/dist/types/shared-ui/eds-user/eds-user.stories.d.ts +32 -0
- package/dist/types/shared-ui/examples/eds-app-root/eds-app-root.d.ts +9 -0
- package/dist/types/utils/api.d.ts +5 -0
- package/dist/types/utils/eds-form/formUtils.d.ts +38 -0
- package/dist/types/utils/eds-form/formValidators.d.ts +17 -0
- package/dist/types/utils/eds-form/individualValidator.d.ts +3 -0
- package/dist/types/utils/eds-form/validateInput.d.ts +10 -0
- package/dist/types/utils/sharedUtils.d.ts +1 -0
- package/package.json +3 -3
- package/dist/cjs/eds-accordion.cjs.entry.js +0 -84
- package/dist/cjs/eds-alert_17.cjs.entry.js +0 -1392
- package/dist/cjs/eds-input_7.cjs.entry.js +0 -324
- package/dist/cjs/eds-login.cjs.entry.js +0 -91
- package/dist/cjs/eds-matomo-notice.cjs.entry.js +0 -109
- package/dist/cjs/eds-navigator.cjs.entry.js +0 -43
- package/dist/cjs/eds-pagination_2.cjs.entry.js +0 -386
- package/dist/cjs/eds-tab.cjs.entry.js +0 -40
- package/dist/cjs/eds-tabs-content.cjs.entry.js +0 -133
- package/dist/collection/components/eds-frame/eds-frame.stories.js +0 -68
- package/dist/collection/components/eds-navigator/eds-navigator.js +0 -147
- package/dist/collection/components/eds-navigator/eds-navigator.stories.js +0 -101
- package/dist/collection/components/eds-tab/eds-tab.js +0 -109
- package/dist/collection/shared-ui/eds-tabs-content/eds-tabs-content.js +0 -194
- package/dist/collection/shared-ui/eds-tabs-content/eds-tabs-content.stories.js +0 -112
- package/dist/collection/shared-ui/eds-user-modal/eds-user-modal.js +0 -109
- package/dist/components/eds-navigator.js +0 -75
- package/dist/components/eds-tab.js +0 -6
- package/dist/components/eds-tab2.js +0 -55
- package/dist/components/eds-tabs-content.js +0 -159
- package/dist/components/eds-user-modal.js +0 -6
- package/dist/components/eds-user-modal2.js +0 -87
- package/dist/components/p-030f67c1.entry.js +0 -1
- package/dist/components/p-06299762.entry.js +0 -1
- package/dist/components/p-0ab85eee.entry.js +0 -1
- package/dist/components/p-0bafc5ae.entry.js +0 -1
- package/dist/components/p-0e7bdd2c.entry.js +0 -1
- package/dist/components/p-1ed3fdb7.entry.js +0 -1
- package/dist/components/p-209fa119.entry.js +0 -1
- package/dist/components/p-2831a9d5.entry.js +0 -1
- package/dist/components/p-2c00bd76.entry.js +0 -1
- package/dist/components/p-38d70586.entry.js +0 -1
- package/dist/components/p-3babd772.entry.js +0 -1
- package/dist/components/p-4a12a131.entry.js +0 -1
- package/dist/components/p-59405ecf.entry.js +0 -1
- package/dist/components/p-5980a142.entry.js +0 -1
- package/dist/components/p-599c7b97.entry.js +0 -1
- package/dist/components/p-65703520.entry.js +0 -1
- package/dist/components/p-6af40c33.entry.js +0 -1
- package/dist/components/p-6df9db15.entry.js +0 -1
- package/dist/components/p-75795b05.entry.js +0 -1
- package/dist/components/p-759b2640.entry.js +0 -1
- package/dist/components/p-80a185ba.entry.js +0 -1
- package/dist/components/p-86fbc239.entry.js +0 -1
- package/dist/components/p-8b583210.entry.js +0 -1
- package/dist/components/p-8c4a0fc9.entry.js +0 -1
- package/dist/components/p-8d19a05b.entry.js +0 -1
- package/dist/components/p-8eab748d.js +0 -1
- package/dist/components/p-911d9b37.entry.js +0 -1
- package/dist/components/p-92e16cc9.entry.js +0 -1
- package/dist/components/p-96fe2267.entry.js +0 -1
- package/dist/components/p-9739def5.entry.js +0 -1
- package/dist/components/p-9826acae.entry.js +0 -1
- package/dist/components/p-9b441a1f.entry.js +0 -1
- package/dist/components/p-a5b7d72d.entry.js +0 -1
- package/dist/components/p-a5d00633.entry.js +0 -1
- package/dist/components/p-a63bd0c9.entry.js +0 -1
- package/dist/components/p-a846dbca.entry.js +0 -1
- package/dist/components/p-a927a455.entry.js +0 -1
- package/dist/components/p-aec9b8e1.entry.js +0 -1
- package/dist/components/p-b3c1aef5.entry.js +0 -1
- package/dist/components/p-b60ed774.entry.js +0 -1
- package/dist/components/p-b67aafe7.entry.js +0 -1
- package/dist/components/p-b79999d5.entry.js +0 -1
- package/dist/components/p-b80457ed.entry.js +0 -1
- package/dist/components/p-c5fa170d.entry.js +0 -1
- package/dist/components/p-d69ef196.entry.js +0 -1
- package/dist/components/p-de12396f.entry.js +0 -1
- package/dist/components/p-de2fbcfc.entry.js +0 -1
- package/dist/components/p-e2c250c5.entry.js +0 -1
- package/dist/components/p-eeeb0d83.entry.js +0 -1
- package/dist/components/p-f08eac56.entry.js +0 -1
- package/dist/components/p-f1cd83da.entry.js +0 -1
- package/dist/components/p-f5dafbc8.entry.js +0 -1
- package/dist/components/p-f7493f41.entry.js +0 -1
- package/dist/components/p-fce25541.entry.js +0 -1
- package/dist/esm/eds-accordion.entry.js +0 -80
- package/dist/esm/eds-alert_17.entry.js +0 -1372
- package/dist/esm/eds-input_7.entry.js +0 -314
- package/dist/esm/eds-login.entry.js +0 -87
- package/dist/esm/eds-matomo-notice.entry.js +0 -105
- package/dist/esm/eds-navigator.entry.js +0 -39
- package/dist/esm/eds-pagination_2.entry.js +0 -381
- package/dist/esm/eds-tab.entry.js +0 -36
- package/dist/esm/eds-tabs-content.entry.js +0 -129
- package/dist/types/components/eds-navigator/eds-navigator.d.ts +0 -42
- package/dist/types/components/eds-navigator/eds-navigator.stories.d.ts +0 -46
- package/dist/types/components/eds-tab/eds-tab.d.ts +0 -15
- package/dist/types/shared-ui/eds-tabs-content/eds-tabs-content.d.ts +0 -36
- package/dist/types/shared-ui/eds-tabs-content/eds-tabs-content.stories.d.ts +0 -16
- package/dist/types/shared-ui/eds-user-modal/eds-user-modal.d.ts +0 -47
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as r}from"./p-7a8b9de5.js";import{c as a}from"./p-1ded61bd.js";const c=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"40d18a840277f2aba5d314a36fca5c1f8fd99cc6",class:this.class,innerHTML:a})}};export{c as eds_icon_chevron_up}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,g as a}from"./p-7a8b9de5.js";import{s as r}from"./p-89227919.js";const i=class{constructor(e){t(this,e),this.isOpen=!1,this.title="",this.truncate=!0,this.truncateLines="1",this.position="middle"}getTruncateClass(){return this.truncate&&this.truncateLines?`line-clamp-${this.truncateLines}`:""}getModalPositionClasses(){switch(this.position){case"top":return"left-1/2 top-20 -translate-x-1/2";case"bottom":return"left-1/2 bottom-20 -translate-x-1/2";case"left":return"left-20 top-1/2 -translate-y-1/2";case"right":return"right-20 top-1/2 -translate-y-1/2";default:return"left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2"}}async open(){var t;this.isOpen=!0,r({category:"ui-component",parentContext:null,tag:this.el.tagName.toLowerCase(),name:(null===(t=this.title)||void 0===t?void 0:t.toLowerCase())||"",action:"opened"})}async close(){var t;this.isOpen=!1,r({category:"ui-component",parentContext:null,tag:this.el.tagName.toLowerCase(),name:(null===(t=this.title)||void 0===t?void 0:t.toLowerCase())||"",action:"closed"})}async toggle(){this.isOpen=!this.isOpen}handleKeyDown(t){this.isOpen&&"Escape"===t.key&&this.close()}render(){const t=`modal-title-${this.el.tagName.toLowerCase()}`;return e("div",{key:"cd976fb0cd0c0663279dcd4dbd5823e26b6c32f7",class:(this.isOpen?"block":"hidden")+" fixed inset-0 z-50 flex",role:"dialog","aria-modal":"true","aria-labelledby":t},this.isOpen&&e("div",{key:"40a2febed5d0ec15d5370183c97cfd05abd72007",class:"fixed inset-0 bg-dark bg-opacity-90",onClick:()=>this.close()}),e("div",{key:"50f2c23d80a2007aca4d0a8911816141e43b71ee",class:`max-w-full absolute px-20 py-20 bg-inverse rounded-lg shadow-lg z-10 ${this.getModalPositionClasses()} grow justify-center`},e("div",{key:"e1cba5879bc488a99b896c48c8a780336b2195e7",class:"flex justify-between items-center border-b-2 border-softer pb-8"},e("span",{key:"8f018e3d2890346d23e7dcb115676051048bcacb",id:t,class:`f-heading-04 text-lighter ${this.getTruncateClass()}`},this.title),e("eds-button",{key:"4ae4013dd45573648817ac95ee4370ed615aa6a0",intent:"tertiary",icon:"close","aria-label":"Close modal",onClick:()=>this.close(),"extra-class":"ml-8"})),e("div",{key:"ac4e3d8f273d04ad02e0123c23b36b89bfc89db2",class:"pt-8"},e("slot",{key:"60917e9f750bfd7948e580acc817cffe6424608a"}))))}get el(){return a(this)}};i.style=".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.fixed{position:fixed}.inset-0{inset:0rem}.z-10{z-index:10}.z-50{z-index:50}.max-w-full{max-width:100%}.absolute{position:absolute}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-20{padding-top:1.25rem;padding-bottom:1.25rem}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.rounded-lg{border-radius:16px}.shadow-lg{--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.left-1\\/2{left:50%}.left-20{left:1.25rem}.right-20{right:1.25rem}.top-1\\/2{top:50%}.top-20{top:1.25rem}.bottom-20{bottom:1.25rem}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.border-b-2{border-bottom-width:2px}.border-softer{border-color:rgba(0, 0, 0, .1)}.pb-8{padding-bottom:0.5rem}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.ml-8{margin-left:0.5rem}.pt-8{padding-top:0.5rem}.bg-opacity-90{opacity:0.9}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}";export{i as eds_modal}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as r}from"./p-7a8b9de5.js";import{v as a}from"./p-9c5a453b.js";const t=class{constructor(r){e(this,r)}render(){return r("div",{key:"fc5040b294d45ecbf8e3ee0ab26875c63efa3625",class:"container my-20"},r("div",{key:"acad9c182cb46fd58f37d9195c9e20658df81767",class:"w-[300px]"},r("div",{key:"4caac9e94b715c967958fe6bd9e5d988622c8729",class:"bg-dark"},r("div",{key:"d82b6156de96fd91e996c0ab775b9503395ba04f",class:"logo-container",innerHTML:a}))))}};t.style=".container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.bg-accent{background-color:var(--green-500)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.p-8{padding:0.5rem}.p-16{padding:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.w-\\[150px\\]{width:150px}.w-\\[300px\\]{width:300px}";export{t as logo_space}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as s}from"./p-7a8b9de5.js";import{a}from"./p-c8e7c854.js";const c=class{constructor(s){r(this,s),this.class=""}render(){return s("span",{key:"4a2b33b86753acab8270a45c7b250603b128bc88",class:this.class,innerHTML:a})}};export{c as eds_icon_arrow_right}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as r}from"./p-7a8b9de5.js";import{m as e}from"./p-5ab1d64a.js";const o=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"1f68e5d0b6f8455f40bf94f6095eceff00b7887e",class:this.class,innerHTML:e})}};export{o as eds_icon_mastodon}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as a,g as i}from"./p-7a8b9de5.js";import{s as r}from"./p-89227919.js";import{c as s}from"./p-112122d6.js";const o=class{constructor(a){t(this,a),this.tabContentChange=e(this,"tabContentChange",7),this.tabCva=s(["relative px-16 py-12","f-ui-03 whitespace-nowrap","effect-color","focus-visible:text-default hover:text-default","border-2","after:content-[''] after:absolute after:inset-0 after:rounded-t-lg after:border-3 after:border-accent after:opacity-0","outline-none focus:outline-none focus-visible:outline-none focus-visible:after:opacity-100"],{variants:{position:{left:"rounded-tl-lg border-r-0 pr-28 -mr-16 after:right-16",right:"rounded-tr-lg border-l-0 pl-28 -ml-16 after:left-16",center:"",first:"rounded-t-lg"},active:{false:"text-lighter bg-dark hover:bg-darker border-softest",true:["bg-default text-default z-99","rounded-t-lg","before:content-[''] before:absolute before:-bottom-2 z-1 before:inset-x-0 before:h-3 before:bg-default","border-[#d2d2d2]"]}}}),this.navAriaLabel="Tabs",this.tabs=void 0,this.parsedTabs=[],this.activeIndex=-1}componentWillLoad(){this.parseTabs(),this.setActiveIndex()}parseTabs(){try{this.parsedTabs=JSON.parse(this.tabs)}catch(t){this.parsedTabs=[]}}componentDidLoad(){this.initializeTabContentVisibility(),this.el.addEventListener("tabContentChange",(t=>{this.updateTabContentVisibility(t.detail.index)})),this.scrollToActiveTab()}initializeTabContentVisibility(){this.el.querySelectorAll(".tab-content").forEach(((t,e)=>{t.setAttribute("style","display: "+(e===this.activeIndex?"block":"none"))}))}updateTabContentVisibility(t){this.el.querySelectorAll(".tab-content").forEach(((e,a)=>{e.setAttribute("style","display: "+(a===t?"block":"none"))}))}setActiveIndex(){this.activeIndex=this.parsedTabs.findIndex((t=>t.active))}scrollToActiveTab(){var t;const e=null===(t=this.tabContainer)||void 0===t?void 0:t.querySelector("[data-tab-active]");e&&setTimeout((()=>{e.scrollIntoView({inline:"center",block:"nearest"})}),316)}getTabOptions(t,e){const a=t?"center":-1===this.activeIndex&&0===e?"first":e<this.activeIndex?"left":"right";return Object.assign({class:this.tabCva({active:t,position:a}),style:{zIndex:`${t?this.parsedTabs.length+99:"left"===a?e:this.parsedTabs.length+1-e}`}},t?{"data-tab-active":"true"}:{})}handleTabClick(t,e){this.activeIndex=t,this.parsedTabs=this.parsedTabs.map(((e,a)=>Object.assign(Object.assign({},e),{active:a===t}))),this.tabContentChange.emit({index:t,name:e}),r({category:"ui-component",tag:this.el.tagName.toLowerCase(),name:(null==e?void 0:e.toLowerCase())||"",action:"click"})}render(){return a("div",{key:"aa94a55d3ae658797df6ae75724238a17a80a169",class:"after:border-softest before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']"},a("div",{key:"0e38c695467c272198a605efdb2705b14239756e",class:"scroller-x max-w-xxxl xxxl:px-0 relative z-[1] mx-auto px-16 pt-8 lg:px-28"},a("nav",{key:"525f56d02b41e236d3b713fb972b6803e3f908d5",ref:t=>this.tabContainer=t,class:"inline-flex","aria-label":this.navAriaLabel},this.parsedTabs.map(((t,e)=>{const i=this.getTabOptions(t.active,e);return a("eds-tab",Object.assign({},i,{label:t.label,url:t.url,active:e===this.activeIndex,ariaLabel:t.ariaLabel,onClick:()=>this.handleTabClick(e,t.label)}))}))),a("slot",{key:"e5da088cec99dd0e40560b70fbd9940ac5a7f56f"})))}get el(){return i(this)}static get watchers(){return{tabs:["parseTabs"]}}};export{o as eds_tabs_content}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as a}from"./p-7a8b9de5.js";import{h as c}from"./p-2692f93d.js";const d=class{constructor(a){e(this,a)}render(){return a("ul",{key:"3b7b6626be122a983b8e75560519c5cf7e31140a",class:"container grid-layout gap-y-8 md:gap-y-12 lg:gap-y-16"},a("span",{key:"ec2af2fbd7ca5fe85b15be216bec42a9289b40f1",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col"},a("div",{key:"cef460808c414cc1a14e380d7862523e9d53b214",class:"example"},a("div",{key:"759ea5b73ced15cf2caef3566f2f1fdeb2122612",class:"bg-dark "},a("div",{key:"9d0b7aef45f578f1c6e0d84f80583f8116688cf7",class:"no-other-bg-color logo",innerHTML:c})),a("p",{key:"223611a3bedea685dd1904922f472fee474ddf11",class:"f-ui-02"},"Do not use with backgrounds that make legibility difficult"))),a("span",{key:"49e6907610dfaede93ddf179dafbc93f340832ec",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col"},a("div",{key:"f11f675e9b002bc5d571907faeabfa7c8a2ea4f4",class:"example"},a("div",{key:"b63ab2771e06f9d56c1ae995be5b23612b670e6e",class:"no-other-color p-16"},a("div",{key:"91d331a3fd50976496cd9eff08e5150d5fb8c368",class:"logo non-brand-color",innerHTML:c})),a("p",{key:"b34ec2c20218499972367287e730e3ea75d94bb2",class:"f-ui-02"},"Do not apply other colors"))),a("span",{key:"20d1babcf42bd66e56633f78e5e7a38689b1c831",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col"},a("div",{key:"057c8a11c93076e2b9663baa49f101f90c3007be",class:"example"},a("div",{key:"767471f768d48de8a230dac229f86a751590bfb6",class:"bg-light p-16"},a("div",{key:"d5e807d0cdea5958b0c2d93c3207924616fece63",class:"logo distorted",innerHTML:c})),a("p",{key:"c357e9516bb82a3f431270c56a23fd614684d126",class:"f-ui-02"},"Do not deform the logo"))),a("span",{key:"789d0af543f4ccc9a270c3a332f1dcb2dc79b77f",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col"},a("div",{key:"a5e0d0a85a4e1656a0e7d01dc41f59711971b403",class:"example"},a("div",{key:"a7eb16e39e2f954e42f5f8c0c2ed152fb53f7c2a",class:"bg-white p-16"},a("div",{key:"46ec9c3b424cf4661cda4adc31989a8c355376d4",class:"logo effects",innerHTML:c})),a("p",{key:"2c7e8e98a0306d08f30e857e5476703993ffda2c",class:"f-ui-02"},"Do not apply effects"))),a("span",{key:"846791ec992abd3f0632070cb09d9ef3dcfa67b7",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col"},a("div",{key:"82fb8f93a6cb8789bf4a56e589975ad353bc88c2",class:"example"},a("div",{key:"8c7e30c775364fa1d79b118e5aff5cd1e883101f",class:"bg-white p-16"},a("div",{key:"a18af5ffaba038fff7a442ab626f783a8a1f08ba",class:"logo rotated",innerHTML:c})),a("p",{key:"8ad738506d45e065ad5c96df9f5bf569a632e446",class:"f-ui-02"},"Do not rotate the logo"))),a("span",{key:"f556f0d638d48bcd95d0cc198e0408bb109cd92f",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col"},a("div",{key:"153d0704622a633e8937bb0a481941cca7446a8f",class:"example"},a("div",{key:"e4d9e874f931413d924635432df55de18d329f2f",class:"bg-light p-16"},a("div",{key:"2435bddf3af2928878338793e895cc080b7e1f7a",class:"logo outlined",innerHTML:c})),a("p",{key:"64c46cd279b062ab87ce34187bd979c58f1c9312",class:"f-ui-02"},"Do not apply outlines"))),a("span",{key:"d28391400911e4b8481a707a197915d2f9fffbf2",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col"}),a("span",{key:"4aa8af822ff81bb7313145ccc24dbb79a7041f26",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col"},a("div",{key:"63fc69af51c57497cde82c7377dc5cc56bcd264e",class:"example"},a("div",{key:"54029b8e273baddb810ea869b341a66f0b9a9e9a",class:"bg-accent p-16"},a("div",{key:"d82bbfa6ea877ec8af75230093548fffd086b1b4",class:"text-inverse",innerHTML:c})),a("p",{key:"f12f0cd6baedc08020ebd206c1c5c2fd8a6c7eda",class:"f-ui-02"},"Do not use the green background for the logo version of the logo with backgrounds with the same tones"))))}};d.style=".container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.bg-accent{background-color:var(--green-500)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.p-8{padding:0.5rem}.p-16{padding:1rem}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.container{display:flex;flex-wrap:wrap;gap:16px}.example{width:200px;text-align:center;font-size:14px}.logo{width:100%;height:auto}.bg-dark{background-color:#333}.bg-light{background-color:#f3f3f3}.bg-white{background-color:white}.non-brand-color{fill:purple;}.distorted{transform:scaleX(1.5)}.effects{filter:drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.5))}.rotated{transform:rotate(15deg)}.no-other-bg-color{background-color:var(--purple-200)}.no-other-color{color:var(--red-700)}.outlined{stroke:red;stroke-width:2px;fill:none;}.custom-font{font-family:'Comic Sans MS', cursive;font-size:20px;color:#333;}.grid-layout{display:grid;grid-template-columns:repeat(var(--container-grid-columns, var(--grid-columns)), 1fr);grid-gap:var(--inner-gutter)}.grid-col-span-12{--container-grid-columns:12;grid-column:span 12 / span 12}.gap-y-8{row-gap:0.5rem}@media (min-width: 750px){.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:gap-y-12{row-gap:0.75rem}.md\\:pt-28{padding-top:1.75rem}}@media (min-width: 900px){.lg\\:order-last{order:9999}.lg\\:order-none{order:0}.lg\\:mt-0{margin-top:0rem}.lg\\:flex{display:flex}.lg\\:w-\\[150px\\]{width:150px}.lg\\:w-auto{width:auto}.lg\\:max-w-\\[720px\\]{max-width:720px}.lg\\:flex-row{flex-direction:row}.lg\\:flex-nowrap{flex-wrap:nowrap}.lg\\:gap-y-16{row-gap:1rem}.lg\\:px-28{padding-left:1.75rem;padding-right:1.75rem}.lg\\:\\!pl-12{padding-left:0.75rem !important}.lg\\:\\!pr-12{padding-right:0.75rem !important}}@media (min-width: 750px){.md\\:grid-col-span-4{--container-grid-columns:4;grid-column:span 4 / span 4}.md\\:grid-col-span-6{--container-grid-columns:6;grid-column:span 6 / span 6}}.flex-col{flex-direction:column}";export{d as logo_wrong_usage}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,g as e}from"./p-7a8b9de5.js";import{s as r}from"./p-89227919.js";const o=class{constructor(i){t(this,i),this.parentContext=null,this.cardTitle=void 0,this.url=void 0,this.description=void 0,this.image=void 0,this.avatar=void 0,this.shortAbbreviation=void 0,this.headingLevel="h3",this.tags=[],this.tiny=!1,this.bg=!0,this.withHover=!0,this.hierarchy=!0,this.parsedImage=null}componentWillLoad(){if(this.image)try{"object"==typeof this.image?this.parsedImage=this.image:"string"==typeof this.image&&(this.parsedImage=JSON.parse(this.image))}catch(t){console.error("Error parsing image prop:",t),this.parsedImage={}}}handleParentContext(t){t.target===this.el&&(this.parentContext=t.detail,t.stopPropagation())}get parsedTags(){if("object"==typeof this.tags)return this.tags;if("string"==typeof this.tags)try{return JSON.parse(this.tags)}catch(t){return console.error("Error parsing tags prop:",t),[]}return[]}articleClasses(){return[this.description?this.tiny?"min-h-120":"min-h-156":"h-auto",this.bg?"bg-inverse":"bg-default",this.withHover?"effect-shadow hover:shadow-hover cursor-pointer":"","border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16"].join(" ")}handleClick(){var t;r({category:"ui-component",parentContext:this.parentContext,tag:this.el.tagName.toLowerCase(),name:(null===(t=this.cardTitle)||void 0===t?void 0:t.toLowerCase())||"",action:"click"})}render(){return i("article",{key:"dcb7cea87bfb52f8886f7ee3dbc3484d615bc00c",class:this.articleClasses(),onClick:()=>this.handleClick()},i("eds-card-title",{key:"94dd6ff2679ce9ac4d25ec921cd1162b1584e4fd","heading-level":this.headingLevel,titleClass:this.image?"f-ui-01":void 0,"card-title":this.cardTitle,url:this.url,hierarchy:this.hierarchy}),this.description&&i("eds-card-desc",{key:"433c4fe3a518153d89d48af54455286fa415a688",class:"mt-8","truncate-lines":"3",description:this.description}),this.parsedImage?i("eds-img",Object.assign({class:"mt-8"},this.parsedImage)):this.avatar||this.shortAbbreviation?i("eds-avatar",{class:"order-first mb-12",picture:this.avatar,initials:this.shortAbbreviation}):null,i("div",{key:"97b75afb4b8de1183d4b212054ff556ba3db8fcb",class:"flex flex-wrap gap-y-4"},this.parsedTags.map(((t,e)=>i("eds-tag",{key:e,intent:t.style,label:t.label}))))," ")}get el(){return e(this)}};o.style=".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15 )}.border-softer{border:2px solid rgba(0, 0, 0, .1 )}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}";export{o as eds_card_generic}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function n(o){if(!(this instanceof n))throw new Error("The 'Keycloak' constructor must be invoked with 'new'.");if("string"!=typeof o&&!t(o))throw new Error("The 'Keycloak' constructor must be provided with a configuration object, or a URL to a JSON configuration file.");if(t(o)){const n="oidcProvider"in o?["clientId"]:["url","realm","clientId"];for(const e of n)if(!o[e])throw new Error(`The configuration object is missing the required '${e}' property.`)}var r,i,c=this,a=[],u={enable:!0,callbackList:[],interval:5};c.didInitialize=!1;var s=!0,f=U(console.info),l=U(console.warn);function d(){return void 0!==c.authServerUrl?"/"==c.authServerUrl.charAt(c.authServerUrl.length-1)?c.authServerUrl+"realms/"+encodeURIComponent(c.realm):c.authServerUrl+"/realms/"+encodeURIComponent(c.realm):void 0}function p(n,e){var t=n.code,o=n.error,r=n.prompt,i=(new Date).getTime();if(n.kc_action_status&&c.onActionUpdate&&c.onActionUpdate(n.kc_action_status,n.kc_action),o)if("none"!=r)if(n.error_description&&"authentication_expired"===n.error_description)c.login(n.loginOptions);else{var a={error:o,error_description:n.error_description};c.onAuthError&&c.onAuthError(a),e&&e.setError(a)}else e&&e.setSuccess();else if("standard"!=c.flow&&(n.access_token||n.id_token)&&p(n.access_token,null,n.id_token,!0),"implicit"!=c.flow&&t){var u="code="+t+"&grant_type=authorization_code",l=c.endpoints.token(),d=new XMLHttpRequest;d.open("POST",l,!0),d.setRequestHeader("Content-type","application/x-www-form-urlencoded"),u+="&client_id="+encodeURIComponent(c.clientId),u+="&redirect_uri="+n.redirectUri,n.pkceCodeVerifier&&(u+="&code_verifier="+n.pkceCodeVerifier),d.withCredentials=!0,d.onreadystatechange=function(){if(4==d.readyState)if(200==d.status){var n=JSON.parse(d.responseText);p(n.access_token,n.refresh_token,n.id_token,"standard"===c.flow),b()}else c.onAuthError&&c.onAuthError(),e&&e.setError()},d.send(u)}function p(t,o,r,a){v(t,o,r,i=(i+(new Date).getTime())/2),s&&c.idTokenParsed&&c.idTokenParsed.nonce!=n.storedNonce?(f("[KEYCLOAK] Invalid nonce, clearing token"),c.clearToken(),e&&e.setError()):a&&(c.onAuthSuccess&&c.onAuthSuccess(),e&&e.setSuccess())}}function w(n){return 0==n.status&&n.responseText&&n.responseURL.startsWith("file:")}function v(n,t,o,r){if(c.tokenTimeoutHandle&&(clearTimeout(c.tokenTimeoutHandle),c.tokenTimeoutHandle=null),t?(c.refreshToken=t,c.refreshTokenParsed=e(t)):(delete c.refreshToken,delete c.refreshTokenParsed),o?(c.idToken=o,c.idTokenParsed=e(o)):(delete c.idToken,delete c.idTokenParsed),n){if(c.token=n,c.tokenParsed=e(n),c.sessionId=c.tokenParsed.sid,c.authenticated=!0,c.subject=c.tokenParsed.sub,c.realmAccess=c.tokenParsed.realm_access,c.resourceAccess=c.tokenParsed.resource_access,r&&(c.timeSkew=Math.floor(r/1e3)-c.tokenParsed.iat),null!=c.timeSkew&&(f("[KEYCLOAK] Estimated time difference between browser and server is "+c.timeSkew+" seconds"),c.onTokenExpired)){var i=1e3*(c.tokenParsed.exp-(new Date).getTime()/1e3+c.timeSkew);f("[KEYCLOAK] Token expires in "+Math.round(i/1e3)+" s"),i<=0?c.onTokenExpired():c.tokenTimeoutHandle=setTimeout(c.onTokenExpired,i)}}else delete c.token,delete c.tokenParsed,delete c.subject,delete c.realmAccess,delete c.resourceAccess,c.authenticated=!1}function h(){if("undefined"==typeof crypto||void 0===crypto.randomUUID)throw new Error("Web Crypto API is not available.");return crypto.randomUUID()}function m(n){var e=function(n){var e;switch(c.flow){case"standard":e=["code","state","session_state","kc_action_status","kc_action","iss"];break;case"implicit":e=["access_token","token_type","id_token","state","session_state","expires_in","kc_action_status","kc_action","iss"];break;case"hybrid":e=["access_token","token_type","id_token","code","state","session_state","expires_in","kc_action_status","kc_action","iss"]}e.push("error"),e.push("error_description"),e.push("error_uri");var t,o,r=n.indexOf("?"),i=n.indexOf("#");if("query"===c.responseMode&&-1!==r?(t=n.substring(0,r),""!==(o=y(n.substring(r+1,-1!==i?i:n.length),e)).paramsString&&(t+="?"+o.paramsString),-1!==i&&(t+=n.substring(i))):"fragment"===c.responseMode&&-1!==i&&(t=n.substring(0,i),""!==(o=y(n.substring(i+1),e)).paramsString&&(t+="#"+o.paramsString)),o&&o.oauthParams)if("standard"===c.flow||"hybrid"===c.flow){if((o.oauthParams.code||o.oauthParams.error)&&o.oauthParams.state)return o.oauthParams.newUrl=t,o.oauthParams}else if("implicit"===c.flow&&(o.oauthParams.access_token||o.oauthParams.error)&&o.oauthParams.state)return o.oauthParams.newUrl=t,o.oauthParams}(n);if(e){var t=i.get(e.state);return t&&(e.valid=!0,e.redirectUri=t.redirectUri,e.storedNonce=t.nonce,e.prompt=t.prompt,e.pkceCodeVerifier=t.pkceCodeVerifier,e.loginOptions=t.loginOptions),e}}function y(n,e){for(var t=n.split("&"),o={paramsString:"",oauthParams:{}},r=0;r<t.length;r++){var i=t[r].indexOf("="),c=t[r].slice(0,i);-1!==e.indexOf(c)?o.oauthParams[c]=t[r].slice(i+1):(""!==o.paramsString&&(o.paramsString+="&"),o.paramsString+=t[r])}return o}function k(){var n={setSuccess:function(e){n.resolve(e)},setError:function(e){n.reject(e)}};return n.promise=new Promise((function(e,t){n.resolve=e,n.reject=t})),n}function g(){var n=k();if(!u.enable)return n.setSuccess(),n.promise;if(u.iframe)return n.setSuccess(),n.promise;var e=document.createElement("iframe");u.iframe=e,e.onload=function(){var e=c.endpoints.authorize();u.iframeOrigin="/"===e.charAt(0)?window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""):e.substring(0,e.indexOf("/",8)),n.setSuccess()};var t=c.endpoints.checkSessionIframe();return e.setAttribute("src",t),e.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),e.setAttribute("title","keycloak-session-iframe"),e.style.display="none",document.body.appendChild(e),window.addEventListener("message",(function(n){if(n.origin===u.iframeOrigin&&u.iframe.contentWindow===n.source&&("unchanged"==n.data||"changed"==n.data||"error"==n.data)){"unchanged"!=n.data&&c.clearToken();for(var e=u.callbackList.splice(0,u.callbackList.length),t=e.length-1;t>=0;--t){var o=e[t];"error"==n.data?o.setError():o.setSuccess("unchanged"==n.data)}}}),!1),n.promise}function b(){u.enable&&c.token&&setTimeout((function(){_().then((function(n){n&&b()}))}),1e3*u.interval)}function _(){var n=k();if(u.iframe&&u.iframeOrigin){var e=c.clientId+" "+(c.sessionId?c.sessionId:"");u.callbackList.push(n),1==u.callbackList.length&&u.iframe.contentWindow.postMessage(e,u.iframeOrigin)}else n.setSuccess();return n.promise}function I(n){if(!n||"default"==n)return{login:async function(n){return window.location.assign(await c.createLoginUrl(n)),k().promise},logout:async function(n){if("GET"===(n?.logoutMethod??c.logoutMethod))return void window.location.replace(c.createLogoutUrl(n));const e=document.createElement("form");e.setAttribute("method","POST"),e.setAttribute("action",c.createLogoutUrl(n)),e.style.display="none";const t={id_token_hint:c.idToken,client_id:c.clientId,post_logout_redirect_uri:r.redirectUri(n,!1)};for(const[n,o]of Object.entries(t)){const t=document.createElement("input");t.setAttribute("type","hidden"),t.setAttribute("name",n),t.setAttribute("value",o),e.appendChild(t)}document.body.appendChild(e),e.submit()},register:async function(n){return window.location.assign(await c.createRegisterUrl(n)),k().promise},accountManagement:function(){var n=c.createAccountUrl();if(void 0===n)throw"Not supported by the OIDC server";return window.location.href=n,k().promise},redirectUri:function(n){return n&&n.redirectUri?n.redirectUri:c.redirectUri?c.redirectUri:location.href}};if("cordova"==n){u.enable=!1;var e=function(n,e,t){return window.cordova&&window.cordova.InAppBrowser?window.cordova.InAppBrowser.open(n,e,t):window.open(n,e,t)},t=function(n){var e=function(n){return n&&n.cordovaOptions?Object.keys(n.cordovaOptions).reduce((function(e,t){return e[t]=n.cordovaOptions[t],e}),{}):{}}(n);return e.location="no",n&&"none"==n.prompt&&(e.hidden="yes"),function(n){return Object.keys(n).reduce((function(e,t){return e.push(t+"="+n[t]),e}),[]).join(",")}(e)},o=function(){return c.redirectUri||"http://localhost"};return{login:async function(n){var r=k(),i=t(n),a=await c.createLoginUrl(n),u=e(a,"_blank",i),s=!1,f=!1,l=function(){f=!0,u.close()};return u.addEventListener("loadstart",(function(n){0==n.url.indexOf(o())&&(p(m(n.url),r),l(),s=!0)})),u.addEventListener("loaderror",(function(n){s||(0==n.url.indexOf(o())?(p(m(n.url),r),l(),s=!0):(r.setError(),l()))})),u.addEventListener("exit",(function(){f||r.setError({reason:"closed_by_user"})})),r.promise},logout:function(n){var t,r=k(),i=c.createLogoutUrl(n),a=e(i,"_blank","location=no,hidden=yes,clearcache=yes");return a.addEventListener("loadstart",(function(n){0==n.url.indexOf(o())&&a.close()})),a.addEventListener("loaderror",(function(n){0==n.url.indexOf(o())||(t=!0),a.close()})),a.addEventListener("exit",(function(){t?r.setError():(c.clearToken(),r.setSuccess())})),r.promise},register:async function(n){var r=k(),i=await c.createRegisterUrl(),a=t(n),u=e(i,"_blank",a);return u.addEventListener("loadstart",(function(n){0==n.url.indexOf(o())&&(u.close(),p(m(n.url),r))})),r.promise},accountManagement:function(){var n=c.createAccountUrl();if(void 0===n)throw"Not supported by the OIDC server";var t=e(n,"_blank","location=no");t.addEventListener("loadstart",(function(n){0==n.url.indexOf(o())&&t.close()}))},redirectUri:function(){return o()}}}if("cordova-native"==n)return u.enable=!1,{login:async function(n){var e=k(),t=await c.createLoginUrl(n);return universalLinks.subscribe("keycloak",(function(n){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),p(m(n.url),e)})),window.cordova.plugins.browsertab.openUrl(t),e.promise},logout:function(n){var e=k(),t=c.createLogoutUrl(n);return universalLinks.subscribe("keycloak",(function(){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),c.clearToken(),e.setSuccess()})),window.cordova.plugins.browsertab.openUrl(t),e.promise},register:async function(n){var e=k(),t=await c.createRegisterUrl(n);return universalLinks.subscribe("keycloak",(function(n){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),p(m(n.url),e)})),window.cordova.plugins.browsertab.openUrl(t),e.promise},accountManagement:function(){var n=c.createAccountUrl();if(void 0===n)throw"Not supported by the OIDC server";window.cordova.plugins.browsertab.openUrl(n)},redirectUri:function(n){return n&&n.redirectUri?n.redirectUri:c.redirectUri?c.redirectUri:"http://localhost"}};throw"invalid adapter type: "+n}globalThis.isSecureContext||l("[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"),c.init=function(n={}){if(c.didInitialize)throw new Error("A 'Keycloak' instance can only be initialized once.");if(c.didInitialize=!0,c.authenticated=!1,i=function(){try{return new S}catch(n){}return new O}(),r=["default","cordova","cordova-native"].indexOf(n.adapter)>-1?I(n.adapter):"object"==typeof n.adapter?n.adapter:window.Cordova||window.cordova?I("cordova"):I(),void 0!==n.useNonce&&(s=n.useNonce),void 0!==n.checkLoginIframe&&(u.enable=n.checkLoginIframe),n.checkLoginIframeInterval&&(u.interval=n.checkLoginIframeInterval),"login-required"===n.onLoad&&(c.loginRequired=!0),n.responseMode){if("query"!==n.responseMode&&"fragment"!==n.responseMode)throw"Invalid value for responseMode";c.responseMode=n.responseMode}if(n.flow){switch(n.flow){case"standard":c.responseType="code";break;case"implicit":c.responseType="id_token token";break;case"hybrid":c.responseType="code id_token token";break;default:throw"Invalid value for flow"}c.flow=n.flow}if(null!=n.timeSkew&&(c.timeSkew=n.timeSkew),n.redirectUri&&(c.redirectUri=n.redirectUri),n.silentCheckSsoRedirectUri&&(c.silentCheckSsoRedirectUri=n.silentCheckSsoRedirectUri),c.silentCheckSsoFallback="boolean"!=typeof n.silentCheckSsoFallback||n.silentCheckSsoFallback,void 0!==n.pkceMethod){if("S256"!==n.pkceMethod&&!1!==n.pkceMethod)throw new TypeError(`Invalid value for pkceMethod', expected 'S256' or false but got ${n.pkceMethod}.`);c.pkceMethod=n.pkceMethod}else c.pkceMethod="S256";c.enableLogging="boolean"==typeof n.enableLogging&&n.enableLogging,c.logoutMethod="POST"===n.logoutMethod?"POST":"GET","string"==typeof n.scope&&(c.scope=n.scope),"string"==typeof n.acrValues&&(c.acrValues=n.acrValues),c.messageReceiveTimeout="number"==typeof n.messageReceiveTimeout&&n.messageReceiveTimeout>0?n.messageReceiveTimeout:1e4,c.responseMode||(c.responseMode="fragment"),c.responseType||(c.responseType="code",c.flow="standard");var e=k(),t=k();t.promise.then((function(){c.onReady&&c.onReady(c.authenticated),e.setSuccess(c.authenticated)})).catch((function(n){e.setError(n)}));var a=function(){var n,e=k();function t(n){c.endpoints=n?{authorize:function(){return n.authorization_endpoint},token:function(){return n.token_endpoint},logout:function(){if(!n.end_session_endpoint)throw"Not supported by the OIDC server";return n.end_session_endpoint},checkSessionIframe:function(){if(!n.check_session_iframe)throw"Not supported by the OIDC server";return n.check_session_iframe},register:function(){throw'Redirection to "Register user" page not supported in standard OIDC mode'},userinfo:function(){if(!n.userinfo_endpoint)throw"Not supported by the OIDC server";return n.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 o&&(n=o),n)(i=new XMLHttpRequest).open("GET",n,!0),i.setRequestHeader("Accept","application/json"),i.onreadystatechange=function(){if(4==i.readyState)if(200==i.status||w(i)){var n=JSON.parse(i.responseText);c.authServerUrl=n["auth-server-url"],c.realm=n.realm,c.clientId=n.resource,t(null),e.setSuccess()}else e.setError()},i.send();else{c.clientId=o.clientId;var r,i,a=o.oidcProvider;a?"string"==typeof a?(r="/"==a.charAt(a.length-1)?a+".well-known/openid-configuration":a+"/.well-known/openid-configuration",(i=new XMLHttpRequest).open("GET",r,!0),i.setRequestHeader("Accept","application/json"),i.onreadystatechange=function(){4==i.readyState&&(200==i.status||w(i)?(t(JSON.parse(i.responseText)),e.setSuccess()):e.setError())},i.send()):(t(a),e.setSuccess()):(c.authServerUrl=o.url,c.realm=o.realm,t(null),e.setSuccess())}return e.promise}();function f(){var e=function(e){e||(r.prompt="none"),n.locale&&(r.locale=n.locale),c.login(r).then((function(){t.setSuccess()})).catch((function(n){t.setError(n)}))},o=async function(){var n=document.createElement("iframe"),e=await c.createLoginUrl({prompt:"none",redirectUri:c.silentCheckSsoRedirectUri});n.setAttribute("src",e),n.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),n.setAttribute("title","keycloak-silent-check-sso"),n.style.display="none",document.body.appendChild(n);var o=function(e){e.origin===window.location.origin&&n.contentWindow===e.source&&(p(m(e.data),t),document.body.removeChild(n),window.removeEventListener("message",o))};window.addEventListener("message",o)},r={};switch(n.onLoad){case"check-sso":u.enable?g().then((function(){_().then((function(n){n?t.setSuccess():c.silentCheckSsoRedirectUri?o():e(!1)})).catch((function(n){t.setError(n)}))})):c.silentCheckSsoRedirectUri?o():e(!1);break;case"login-required":e(!0);break;default:throw"Invalid value for onLoad"}}function h(){var e=m(window.location.href);if(e&&window.history.replaceState(window.history.state,null,e.newUrl),e&&e.valid)return g().then((function(){p(e,t)})).catch((function(n){t.setError(n)}));n.token&&n.refreshToken?(v(n.token,n.refreshToken,n.idToken),u.enable?g().then((function(){_().then((function(n){n?(c.onAuthSuccess&&c.onAuthSuccess(),t.setSuccess(),b()):t.setSuccess()})).catch((function(n){t.setError(n)}))})):c.updateToken(-1).then((function(){c.onAuthSuccess&&c.onAuthSuccess(),t.setSuccess()})).catch((function(e){c.onAuthError&&c.onAuthError(),n.onLoad?f():t.setError(e)}))):n.onLoad?f():t.setSuccess()}return a.then((function(){(function(){var n=k();if((u.enable||c.silentCheckSsoRedirectUri)&&"function"==typeof c.endpoints.thirdPartyCookiesIframe){var e=document.createElement("iframe");e.setAttribute("src",c.endpoints.thirdPartyCookiesIframe()),e.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),e.setAttribute("title","keycloak-3p-check-iframe"),e.style.display="none",document.body.appendChild(e);var t=function(o){e.contentWindow===o.source&&("supported"!==o.data&&"unsupported"!==o.data||("unsupported"===o.data&&(l("[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"),u.enable=!1,c.silentCheckSsoFallback&&(c.silentCheckSsoRedirectUri=!1)),document.body.removeChild(e),window.removeEventListener("message",t),n.setSuccess()))};window.addEventListener("message",t,!1)}else n.setSuccess();return function(n,e){var t=null,o=new Promise((function(n,o){t=setTimeout((function(){o({error:"Timeout when waiting for 3rd party check iframe message."})}),e)}));return Promise.race([n,o]).finally((function(){clearTimeout(t)}))}(n.promise,c.messageReceiveTimeout)})().then(h).catch((function(n){e.setError(n)}))})),a.catch((function(n){e.setError(n)})),e.promise},c.login=function(n){return r.login(n)},c.createLoginUrl=async function(n){var e,t=h(),o=h(),a=r.redirectUri(n),u={state:t,nonce:o,redirectUri:encodeURIComponent(a),loginOptions:n};n&&n.prompt&&(u.prompt=n.prompt),e=n&&"register"==n.action?c.endpoints.register():c.endpoints.authorize();var f=n&&n.scope||c.scope;f?-1===f.indexOf("openid")&&(f="openid "+f):f="openid";var l=e+"?client_id="+encodeURIComponent(c.clientId)+"&redirect_uri="+encodeURIComponent(a)+"&state="+encodeURIComponent(t)+"&response_mode="+encodeURIComponent(c.responseMode)+"&response_type="+encodeURIComponent(c.responseType)+"&scope="+encodeURIComponent(f);if(s&&(l=l+"&nonce="+encodeURIComponent(o)),n&&n.prompt&&(l+="&prompt="+encodeURIComponent(n.prompt)),n&&"number"==typeof n.maxAge&&(l+="&max_age="+encodeURIComponent(n.maxAge)),n&&n.loginHint&&(l+="&login_hint="+encodeURIComponent(n.loginHint)),n&&n.idpHint&&(l+="&kc_idp_hint="+encodeURIComponent(n.idpHint)),n&&n.action&&"register"!=n.action&&(l+="&kc_action="+encodeURIComponent(n.action)),n&&n.locale&&(l+="&ui_locales="+encodeURIComponent(n.locale)),n&&n.acr){var d=JSON.stringify({id_token:{acr:n.acr}});l+="&claims="+encodeURIComponent(d)}if((n&&n.acrValues||c.acrValues)&&(l+="&acr_values="+encodeURIComponent(n.acrValues||c.acrValues)),c.pkceMethod)try{const n=function(n,e){for(var t=function(n){if("undefined"==typeof crypto||void 0===crypto.getRandomValues)throw new Error("Web Crypto API is not available.");return crypto.getRandomValues(new Uint8Array(n))}(n),o=new Array(n),r=0;r<n;r++)o[r]=e.charCodeAt(t[r]%62);return String.fromCharCode.apply(null,o)}(96,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"),e=await async function(n,e){if("S256"!==n)throw new TypeError(`Invalid value for 'pkceMethod', expected 'S256' but got '${n}'.`);return function(n){const e=String.fromCodePoint(...n);return btoa(e)}(new Uint8Array(await async function(n){const e=(new TextEncoder).encode(n);if("undefined"==typeof crypto||void 0===crypto.subtle)throw new Error("Web Crypto API is not available.");return await crypto.subtle.digest("SHA-256",e)}(e))).replace(/\+/g,"-").replace(/\//g,"_").replace(/\=/g,"")}(c.pkceMethod,n);u.pkceCodeVerifier=n,l+="&code_challenge="+e,l+="&code_challenge_method="+c.pkceMethod}catch(n){throw new Error("Failed to generate PKCE challenge.",{cause:n})}return i.add(u),l},c.logout=function(n){return r.logout(n)},c.createLogoutUrl=function(n){if("POST"===(n?.logoutMethod??c.logoutMethod))return c.endpoints.logout();var e=c.endpoints.logout()+"?client_id="+encodeURIComponent(c.clientId)+"&post_logout_redirect_uri="+encodeURIComponent(r.redirectUri(n,!1));return c.idToken&&(e+="&id_token_hint="+encodeURIComponent(c.idToken)),e},c.register=function(n){return r.register(n)},c.createRegisterUrl=async function(n){return n||(n={}),n.action="register",await c.createLoginUrl(n)},c.createAccountUrl=function(n){var e=d(),t=void 0;return void 0!==e&&(t=e+"/account?referrer="+encodeURIComponent(c.clientId)+"&referrer_uri="+encodeURIComponent(r.redirectUri(n))),t},c.accountManagement=function(){return r.accountManagement()},c.hasRealmRole=function(n){var e=c.realmAccess;return!!e&&e.roles.indexOf(n)>=0},c.hasResourceRole=function(n,e){if(!c.resourceAccess)return!1;var t=c.resourceAccess[e||c.clientId];return!!t&&t.roles.indexOf(n)>=0},c.loadUserProfile=function(){var n=d()+"/account",e=new XMLHttpRequest;e.open("GET",n,!0),e.setRequestHeader("Accept","application/json"),e.setRequestHeader("Authorization","bearer "+c.token);var t=k();return e.onreadystatechange=function(){4==e.readyState&&(200==e.status?(c.profile=JSON.parse(e.responseText),t.setSuccess(c.profile)):t.setError())},e.send(),t.promise},c.loadUserInfo=function(){var n=c.endpoints.userinfo(),e=new XMLHttpRequest;e.open("GET",n,!0),e.setRequestHeader("Accept","application/json"),e.setRequestHeader("Authorization","bearer "+c.token);var t=k();return e.onreadystatechange=function(){4==e.readyState&&(200==e.status?(c.userInfo=JSON.parse(e.responseText),t.setSuccess(c.userInfo)):t.setError())},e.send(),t.promise},c.isTokenExpired=function(n){if(!c.tokenParsed||!c.refreshToken&&"implicit"!=c.flow)throw"Not authenticated";if(null==c.timeSkew)return f("[KEYCLOAK] Unable to determine if token is expired as timeskew is not set"),!0;var e=c.tokenParsed.exp-Math.ceil((new Date).getTime()/1e3)+c.timeSkew;if(n){if(isNaN(n))throw"Invalid minValidity";e-=n}return e<0},c.updateToken=function(n){var e=k();if(!c.refreshToken)return e.setError(),e.promise;n=n||5;var t=function(){var t=!1;if(-1==n?(t=!0,f("[KEYCLOAK] Refreshing token: forced refresh")):c.tokenParsed&&!c.isTokenExpired(n)||(t=!0,f("[KEYCLOAK] Refreshing token: token expired")),t){var o="grant_type=refresh_token&refresh_token="+c.refreshToken,r=c.endpoints.token();if(a.push(e),1==a.length){var i=new XMLHttpRequest;i.open("POST",r,!0),i.setRequestHeader("Content-type","application/x-www-form-urlencoded"),i.withCredentials=!0,o+="&client_id="+encodeURIComponent(c.clientId);var u=(new Date).getTime();i.onreadystatechange=function(){if(4==i.readyState)if(200==i.status){f("[KEYCLOAK] Token refreshed"),u=(u+(new Date).getTime())/2;var n=JSON.parse(i.responseText);v(n.access_token,n.refresh_token,n.id_token,u),c.onAuthRefreshSuccess&&c.onAuthRefreshSuccess();for(var e=a.pop();null!=e;e=a.pop())e.setSuccess(!0)}else for(l("[KEYCLOAK] Failed to refresh token"),400==i.status&&c.clearToken(),c.onAuthRefreshError&&c.onAuthRefreshError(),e=a.pop();null!=e;e=a.pop())e.setError("Failed to refresh token: An unexpected HTTP error occurred while attempting to refresh the token.")},i.send(o)}}else e.setSuccess(!1)};return u.enable?_().then((function(){t()})).catch((function(n){e.setError(n)})):t(),e.promise},c.clearToken=function(){c.token&&(v(null,null,null),c.onAuthLogout&&c.onAuthLogout(),c.loginRequired&&c.login())};const C="kc-callback-";var S=function(){if(!(this instanceof S))return new S;function n(){const n=Date.now();for(const[t,r]of e()){const e=o(r);(null===e||e<n)&&localStorage.removeItem(t)}}function e(){return Object.entries(localStorage).filter((([n])=>n.startsWith(C)))}function o(n){let e;try{e=JSON.parse(n)}catch(n){return null}return t(e)&&"expires"in e&&"number"==typeof e.expires?e.expires:null}localStorage.setItem("kc-test","test"),localStorage.removeItem("kc-test"),this.get=function(e){if(e){var t=C+e,o=localStorage.getItem(t);return o&&(localStorage.removeItem(t),o=JSON.parse(o)),n(),o}},this.add=function(t){n();const o=C+t.state,r=JSON.stringify({...t,expires:Date.now()+36e5});try{localStorage.setItem(o,r)}catch(n){!function(){for(const[n]of e())localStorage.removeItem(n)}(),localStorage.setItem(o,r)}}},O=function(){if(!(this instanceof O))return new O;var n=this;n.get=function(n){if(n){var r=t(C+n);return o(C+n,"",e(-100)),r?JSON.parse(r):void 0}},n.add=function(n){o(C+n.state,JSON.stringify(n),e(60))},n.removeItem=function(n){o(n,"",e(-100))};var e=function(n){var e=new Date;return e.setTime(e.getTime()+60*n*1e3),e},t=function(n){for(var e=n+"=",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(e))return r.substring(e.length,r.length)}return""},o=function(n,e,t){var o=n+"="+e+"; expires="+t.toUTCString()+"; ";document.cookie=o}};function U(n){return function(){c.enableLogging&&n.apply(console,Array.prototype.slice.call(arguments))}}}function e(n){const[e,t]=n.split(".");if("string"!=typeof t)throw new Error("Unable to decode token, payload not found.");let o;try{o=function(n){let e=n.replaceAll("-","+").replaceAll("_","/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw new Error("Input is not of the correct length.")}try{return function(n){return decodeURIComponent(atob(n).replace(/(.)/g,((n,e)=>{let t=e.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t="0"+t),"%"+t})))}(e)}catch(n){return atob(e)}}(t)}catch(n){throw new Error("Unable to decode token, payload is not a valid Base64URL value.",{cause:n})}try{return JSON.parse(o)}catch(n){throw new Error("Unable to decode token, payload is not a valid JSON value.",{cause:n})}}function t(n){return"object"==typeof n&&null!==n}let o=null,r=null;function i(e,t=!0){return r?(console.log("Keycloak already initialized, returning from cache"),r):(o||(o=new n({url:e.url,realm:e.realm,clientId:e.clientId})),r=o.init({onLoad:t?"check-sso":"login-required",checkLoginIframe:!1}).then((n=>n)).catch((n=>(console.error("Failed to initialize Keycloak:",n),!1))),r)}function c(){return(null==o?void 0:o.authenticated)&&(null==o?void 0:o.idTokenParsed)?{fullname:o.idTokenParsed.name,email:o.idTokenParsed.email,lastname:o.idTokenParsed.family_name,firstname:o.idTokenParsed.given_name,username:o.idTokenParsed.preferred_username,background:"grey",token:o.token,sub:o.idTokenParsed.sub}:{}}function a(){if(!o)throw new Error("Keycloak is not initialized.");o.login()}function u(){if(!o)throw new Error("Keycloak is not initialized.");o.logout()}function s(){return!!(null==o?void 0:o.authenticated)}async function f(n){try{const e=await fetch(n,{method:"HEAD",mode:"no-cors"});return e.ok||"opaque"===e.type}catch(n){return!1}}export{u as a,s as b,f as c,c as g,i,a as l}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as r}from"./p-7a8b9de5.js";import{a}from"./p-32e6c4df.js";const e=class{constructor(r){s(this,r),this.addClass=""}render(){return r("span",{key:"d85a4d425e0c255efe4763d4a13f13b6ff727c2c",class:this.addClass,innerHTML:a})}};export{e as eds_icon_arrow_diagonal}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as s,h as i}from"./p-7a8b9de5.js";import{l as a,a as e,i as r,b as h,g as c}from"./p-8eab748d.js";import{t as o}from"./p-22f9e720.js";const n=class{constructor(i){t(this,i),this.authStatusChanged=s(this,"authStatusChanged",7),this.handleLogin=async()=>{if(!this.authenticated)try{await a(),o.show("You are authenticated","success")}catch(t){o.show(t.message,"error")}},this.handleLogout=async()=>{try{await e()}catch(t){o.show(t.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}async componentWillLoad(){this.keycloakUrl&&this.keycloakRealm&&this.keycloakClientId?await this.initAuth():console.error("Keycloak configuration props are missing.")}async initAuth(){try{await r({url:this.keycloakUrl,realm:this.keycloakRealm,clientId:this.keycloakClientId},!0),h()&&(this.user=c(),this.authenticated=!0,this.authStatusChanged.emit({authenticated:this.authenticated,user:this.user}))}catch(t){o.show(t.message,"error")}}render(){return i("div",{key:"cd30a135920ae77959330a43a8544bb9c231986e",class:"block"},!this.authenticated&&i("eds-button",{key:"98fa63c46b063a67c215ff9160c6dfbfee2265f7",label:"Login",intent:"primary","extra-class":"text-default","aria-label":"Login",triggerClick:this.handleLogin.bind(this)}))}};export{n as eds_login}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as c}from"./p-7a8b9de5.js";import{f as r}from"./p-4687b64c.js";const e=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"902598891dfe926f92ce5d30dc135896c6eccd43",class:this.class,innerHTML:r})}};export{e as eds_icon_facebook}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as r}from"./p-7a8b9de5.js";import{s as c}from"./p-2066b033.js";const a=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"42acc730afd956c2884b0789b3ea37ccf323630b",class:this.class,innerHTML:c})}};export{a as eds_icon_search}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as i,h as t,g as n}from"./p-7a8b9de5.js";import{s as o}from"./p-89227919.js";const a=class{constructor(t){e(this,t),this.accordionChange=i(this,"accordionChange",7),this.handleClick=()=>{var e;this.isExpanded=!this.isExpanded,this.accordionChange.emit(this.isExpanded),this.setPanelHeight(),o({category:"ui-component",parentContext:null,tag:this.el.tagName.toLowerCase(),name:(null===(e=this.title)||void 0===e?void 0:e.toLowerCase())||"",action:this.isExpanded?"expanded":"collapsed"})},this.setPanelHeight=()=>{this.childContentRef&&(this.shortContent=this.wrapperRef.scrollWidth>830&&!this.description?this.childContentRef.scrollHeight<=80:this.childContentRef.scrollHeight<=20,this.panelHeight=this.isExpanded&&!this.shortContent?this.childContentRef.scrollHeight:0)},this.title=void 0,this.description=void 0,this.switchBg=!0,this.expanded=!1,this.clampText=!0,this.minHeightContent=!1,this.isExpanded=this.expanded,this.panelHeight=0,this.shortContent=!1}componentDidLoad(){this.setPanelHeight(),window.addEventListener("resize",this.setPanelHeight)}disconnectedCallback(){window.removeEventListener("resize",this.setPanelHeight)}render(){return t("div",{key:"00bd9a34ceb469bef74c827bd1f48bf3d4b545b6",ref:e=>this.wrapperRef=e,class:`container flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16 \n ${this.switchBg&&this.isExpanded?"bg-inverse":"bg-default"} \n ${this.switchBg?"hover:bg-inverse":""} \n ${this.minHeightContent?"min-h-56":""}`},t("h3",{key:"ab6a953797e0a8379a01a9a2f00a4988d4fc8357",class:"mr-auto f-heading-06 text-left absolute inset-x-16 top-16 line-clamp-1"},this.title),t("div",{key:"cfd6f4ad2ec5e412cdf2348d188dfcf90770012d",class:"ml-auto"},t("eds-button",{key:"beaee69d610727b397645fc0a507b234003fde5e",id:"toggleAccordion",intent:"tertiary","aria-expanded":this.isExpanded||this.shortContent,"aria-label":"Toggle accordion","aria-controls":"accordionSection",class:"effect-color flex w-full items-center justify-between rounded-md outline-none focus:outline-none",onClick:this.handleClick,icon:"chevron-down"})),t("div",{key:"795f14c0930a0b0862a86451cc7b7e807cb79c37",class:"w-full"},this.description?t("span",{class:"text-light "+(!this.isExpanded&&this.clampText?"line-clamp-1":"")},this.description):null,t("section",{key:"28f6cba233cdee58743faaacc992bf7497c2ff2e",id:"accordionSection",role:"region","aria-labelledby":"accordionHeader","aria-hidden":!this.isExpanded,class:"z-1 effect-height relative h-0 w-full "+(!this.isExpanded&&this.clampText?"overflow-hidden":""),style:{height:this.isExpanded?"auto":"0"}},t("div",{key:"939e442c55babfd3f1750d20d9b95f664c3a67c8",ref:e=>this.childContentRef=e,class:"accordion-content effect-color pt-20","aria-hidden":!this.isExpanded},t("span",{key:"648d16ed84cb3da227a10e6370004c6479789aed",class:!this.isExpanded&&this.clampText?"line-clamp-2":""},t("slot",{key:"90ca94f15e408b4b05c0eac4bd20fa21766cbb19"}))))))}get el(){return n(this)}};a.style="blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.min-h-36{min-height:2.25rem}.min-h-44{min-height:2.75rem}.min-h-56{min-height:3.5rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.relative{position:relative}.absolute{position:absolute}.inset-x-16{left:1rem;right:1rem}.top-16{top:1rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-md{border-radius:12px}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.text-light{color:var(--grey-700)}.z-1{z-index:1}.z-10{z-index:10}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.h-0{height:0rem}.h-auto{height:auto}.pt-20{padding-top:1.25rem}.overflow-hidden{overflow:hidden}.grid{display:grid}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-16{padding:1rem}.ml-auto{margin-left:auto}.mr-auto{margin-right:auto}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.text-left{text-align:left}.text-center{text-align:center}";export{a as eds_accordion}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t}from"./p-7a8b9de5.js";const l=class{constructor(t){e(this,t),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return t("div",null,t("h2",null,"Primary Palette"),t("color-primary-palette",null),t("h2",null,"Secondary Palette"),t("color-secondary-palette",null),t("h2",null,"Support Palette"),t("color-support-palette",null));case 1:return t("div",null,t("h2",null,"Primary Palette"),t("gradient-primary-palette",null),t("h2",null,"Secondary Palette"),t("gradient-secondary-palette",null),t("h2",null,"Support Palette"),t("gradient-support-palette",null));default:return t("p",null,"Content not available.")}}render(){return t("div",{key:"e8cd71caa7b23cc4dc28c694ecb9f13e3fd4170a",class:"container"},this.renderContent())}};export{l as eds_docs_palettes}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as e}from"./p-7a8b9de5.js";import{s as r}from"./p-b822abb7.js";const a=class{constructor(e){s(this,e),this.class=""}render(){return e("span",{key:"8b5d4cfeedf6d7e9bea48d7ba892527d484c858d",class:this.class,innerHTML:r})}};export{a as eds_icon_success}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as r}from"./p-7a8b9de5.js";import{l as a}from"./p-54b8f143.js";const n=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"0f9675a371ca7bb460882c04bf2bb0c103273a0d",class:this.class,innerHTML:a})}};export{n as eds_icon_linkedin}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as r}from"./p-7a8b9de5.js";import{g as a}from"./p-50e27321.js";const e=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"128f9265dfc1aee95586ba0a3fd20dd131678893",class:this.class,innerHTML:a})}};export{e as eds_icon_gitlab}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as n,h as o,g as t}from"./p-7a8b9de5.js";import{e as r}from"./p-0e6d43c5.js";import{h as e}from"./p-2692f93d.js";import{h as s,a as i,b as l,c as h,v as C,d as a,e as p,f as d,g as w}from"./p-83ff4a95.js";import{v as c}from"./p-9c5a453b.js";import{g}from"./p-50e27321.js";import{c as f}from"./p-1ded61bd.js";import{c as m}from"./p-4587d0ef.js";import{c as v}from"./p-5d046674.js";import{c as u}from"./p-ece618b3.js";import{a as M}from"./p-32e6c4df.js";import{a as L}from"./p-c8e7c854.js";import{t as k}from"./p-373119b3.js";import{l as b}from"./p-54b8f143.js";import{f as x}from"./p-4687b64c.js";import{y as j}from"./p-ecbb679f.js";import{m as Z}from"./p-5ab1d64a.js";import{b as B}from"./p-81899237.js";import{s as H}from"./p-2066b033.js";import{l as V}from"./p-2117611b.js";import{s as y}from"./p-b822abb7.js";import{c as W}from"./p-8983de37.js";import{m as _}from"./p-aefcb641.js";import{m as z}from"./p-29041952.js";import{u as N}from"./p-46d0716d.js";import{c as O}from"./p-0be28996.js";const S=Object.freeze({__proto__:null,twitter:k,linkedin:b,facebook:x,youtube:j,mastodon:Z,bluesky:B,euSvg:r,arrowRight:L,arrowDiagonal:M,chevronUp:f,chevronDown:m,chevronRight:v,chevronLeft:u,check:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <rect width="20" height="20" rx="4" fill="currentColor" />\n <path d="M4 10L8 14L16 6" stroke="white" stroke-width="3" />\n </svg>',clear:' <svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M2 10C2 5.57714 5.57714 2 10 2C14.4229 2 18 5.57714 18 10C18 14.4229 14.4229 18 10 18C5.57714 18 2 14.4229 2 10ZM6.50503 7.49497L9.01005 10L6.50503 12.505L7.49497 13.495L10 10.99L12.505 13.495L13.495 12.505L10.99 10L13.495 7.49497L12.505 6.50503L10 9.01005L7.49497 6.50503L6.50503 7.49497Z"\n fill="currentColor"\n />\n </svg>',close:W,completed:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <circle\n cx="10.0001"\n cy="10.0001"\n r="9.00007"\n fill="white"\n stroke="currentColor"\n stroke-width="2"\n />\n <path\n d="M6 9.33303L8.9474 12.6664L14.0001 7.33301"\n stroke="currentColor"\n stroke-width="2.00002"\n />\n </svg>',copy:O,documentation:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M12 5C10.8954 5 10 5.89543 10 7V17C10 15.8954 10.8954 15 12 15H18V5H12Z"\n stroke="currentColor"\n stroke-width="1.5"\n />\n <path\n d="M8 5C9.10457 5 10 5.89543 10 7V17C10 15.8954 9.10457 15 8 15H2V5H8Z"\n stroke="currentColor"\n stroke-width="1.5"\n />\n </svg>',download:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M5.91937 8H9V3H11V8H14.0806L10 13.1008L5.91937 8Z"\n fill="currentColor"\n />\n <path\n d="M5 15V12H3V15C3 16.1046 3.89543 17 5 17H15C16.1046 17 17 16.1046 17 15V12H15V15H5Z"\n fill="currentColor"\n />\n </svg>',error:'<svg\nwidth="20"\nheight="20"\nviewBox="0 0 20 20"\nfill="none"\nxmlns="http://www.w3.org/2000/svg"\n>\n<path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M10 2C5.57714 2 2 5.57714 2 10C2 14.4229 5.57714 18 10 18C14.4229 18 18 14.4229 18 10C18 5.57714 14.4229 2 10 2Z"\n stroke="currentColor"\n stroke-width="2"\n/>\n<path\n d="M7 7L10 10M13 13L10 10M10 10L13 7M10 10L7 13"\n stroke="currentColor"\n stroke-width="1.5"\n/>\n</svg>',gitlabColor:' <svg width="20" height="20" viewBox="0 0 36 36">\n <path fill="#e24329" d="M2 14l9.38 9v-9l-4-12.28c-.205-.632-1.176-.632-1.38 0z"></path>\n <path fill="#e24329" d="M34 14l-9.38 9v-9l4-12.28c.205-.632 1.176-.632 1.38 0z"></path>\n <path fill="#e24329" d="M18,34.38 3,14 33,14 Z"></path>\n <path fill="#fc6d26" d="M18,34.38 11.38,14 2,14 6,25Z"></path>\n <path fill="#fc6d26" d="M18,34.38 24.62,14 34,14 30,25Z"></path>\n <path fill="#fca326" d="M2 14L.1 20.16c-.18.565 0 1.2.5 1.56l17.42 12.66z"></path>\n <path fill="#fca326" d="M34 14l1.9 6.16c.18.565 0 1.2-.5 1.56L18 34.38z"></path>\n </svg>',gitlabBlack:g,loader:V,hLogoColor:e,hLogoBlack:s,hLogoColorWhite:i,hLogoWhite:l,hLogoWhiteNoBg:h,vLogoColor:C,vLogoBlack:a,vLogoColorWhite:p,vLogoWhite:d,vLogoWhiteNoBg:w,vLogoMargins:c,menu:_,more:z,failed:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <circle\n cx="10.0001"\n cy="10.0001"\n r="9.00007"\n fill="white"\n stroke="currentColor"\n stroke-width="2"\n />\n <path\n d="M6.21053 14.0001L10 10M13.7895 6L10 10M10 10L6 6M10 10L14.0001 14.0001"\n stroke="currentColor"\n stroke-width="2.00002"\n />\n </svg>',filter:' <svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M2 6.5H6M9 6.5H18M18 13.5H14M11 13.5H2"\n stroke="currentColor"\n stroke-width="2"\n />\n <path\n d="M10 6.5C10 7.88071 8.88071 9 7.5 9C6.11929 9 5 7.88071 5 6.5C5 5.11929 6.11929 4 7.5 4C8.88071 4 10 5.11929 10 6.5Z"\n stroke="currentColor"\n stroke-width="2"\n />\n <path\n d="M10 13.5C10 14.8807 11.1193 16 12.5 16C13.8807 16 15 14.8807 15 13.5C15 12.1193 13.8807 11 12.5 11C11.1193 11 10 12.1193 10 13.5Z"\n stroke="currentColor"\n stroke-width="2"\n />\n </svg>',group:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M6.75 4C6.75 2.20507 8.20507 0.75 10 0.75C11.7949 0.75 13.25 2.20507 13.25 4C13.25 4.02739 13.2497 4.0547 13.249 4.08193C14.372 4.69978 15.3002 5.62799 15.9181 6.75102C15.9453 6.75034 15.9726 6.75 16 6.75C17.7949 6.75 19.25 8.20507 19.25 10C19.25 11.7949 17.7949 13.25 16 13.25C15.9726 13.25 15.9453 13.2497 15.9181 13.249C15.3002 14.372 14.372 15.3002 13.249 15.9181C13.2497 15.9453 13.25 15.9726 13.25 16C13.25 17.7949 11.7949 19.25 10 19.25C8.20507 19.25 6.75 17.7949 6.75 16C6.75 15.9726 6.75034 15.9453 6.75102 15.9181C5.62799 15.3002 4.69978 14.372 4.08193 13.249C4.0547 13.2497 4.02739 13.25 4 13.25C2.20507 13.25 0.75 11.7949 0.75 10C0.75 8.20507 2.20507 6.75 4 6.75C4.02739 6.75 4.0547 6.75034 4.08193 6.75102C4.69978 5.62799 5.62799 4.69978 6.75101 4.08193C6.75034 4.0547 6.75 4.02739 6.75 4ZM10 2.25C9.0335 2.25 8.25 3.0335 8.25 4C8.25 4.9665 9.0335 5.75 10 5.75C10.9665 5.75 11.75 4.9665 11.75 4C11.75 3.0335 10.9665 2.25 10 2.25ZM14.4169 12.839C13.4224 12.2833 12.75 11.2202 12.75 10C12.75 8.77982 13.4224 7.7167 14.4169 7.16096C14.0099 6.52904 13.471 5.99011 12.839 5.58309C12.2833 6.57758 11.2202 7.25 10 7.25C8.77982 7.25 7.7167 6.57759 7.16097 5.5831C6.52904 5.99011 5.99011 6.52904 5.58309 7.16097C6.57758 7.7167 7.25 8.77982 7.25 10C7.25 11.2202 6.57758 12.2833 5.58309 12.839C5.99011 13.471 6.52904 14.0099 7.16096 14.4169C7.7167 13.4224 8.77982 12.75 10 12.75C11.2202 12.75 12.2833 13.4224 12.839 14.4169C13.471 14.0099 14.0099 13.471 14.4169 12.839ZM8.25 16C8.25 15.0335 9.0335 14.25 10 14.25C10.9665 14.25 11.75 15.0335 11.75 16C11.75 16.9665 10.9665 17.75 10 17.75C9.0335 17.75 8.25 16.9665 8.25 16ZM2.25 10C2.25 10.9665 3.0335 11.75 4 11.75C4.9665 11.75 5.75 10.9665 5.75 10C5.75 9.0335 4.9665 8.25 4 8.25C3.0335 8.25 2.25 9.0335 2.25 10ZM16 11.75C15.0335 11.75 14.25 10.9665 14.25 10C14.25 9.0335 15.0335 8.25 16 8.25C16.9665 8.25 17.75 9.0335 17.75 10C17.75 10.9665 16.9665 11.75 16 11.75Z"\n fill="currentColor"\n />\n </svg>',user:N,search:H,success:y,warning:' <svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M10 3C6.13 3 3 6.13 3 10C3 13.87 6.13 17 10 17C13.87 17 17 13.87 17 10C17 6.13 13.87 3 10 3Z"\n stroke="currentColor"\n stroke-width="2"\n />\n <path d="M10 6V10.5" stroke="currentColor" stroke-width="2" />\n <circle cx="10" cy="12.9209" r="1.40346" fill="currentColor" />\n </svg>',unknown:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <circle\n cx="10.0001"\n cy="10.0001"\n r="9.00007"\n fill="white"\n stroke="currentColor"\n stroke-width="2"\n />\n <path\n d="M8.78976 12.086V11.9135C8.79306 11.3215 8.8442 10.8495 8.94319 10.4977C9.04547 10.1458 9.19395 9.86167 9.38863 9.64515C9.5833 9.42864 9.81757 9.23242 10.0914 9.0565C10.296 8.92118 10.4791 8.78078 10.6408 8.63531C10.8025 8.48984 10.9312 8.32915 11.0268 8.15323C11.1225 7.97392 11.1704 7.77433 11.1704 7.55443C11.1704 7.321 11.1159 7.11632 11.0071 6.9404C10.8982 6.76448 10.7513 6.62916 10.5666 6.53444C10.3851 6.43971 10.1838 6.39235 9.96275 6.39235C9.74828 6.39235 9.54536 6.4414 9.35398 6.53951C9.16261 6.63424 9.00588 6.77632 8.8838 6.96578C8.76171 7.15184 8.69572 7.38358 8.68582 7.66099H6.6665C6.683 6.98438 6.84138 6.42618 7.14164 5.98638C7.4419 5.5432 7.83949 5.21336 8.33442 4.99684C8.82935 4.77694 9.37543 4.66699 9.97265 4.66699C10.6293 4.66699 11.21 4.77863 11.7148 5.00191C12.2196 5.22181 12.6156 5.54151 12.9026 5.96101C13.1897 6.38051 13.3332 6.88627 13.3332 7.47831C13.3332 7.87412 13.2689 8.22596 13.1402 8.53382C13.0148 8.83829 12.8383 9.10894 12.6106 9.34575C12.383 9.57918 12.114 9.79062 11.8039 9.98007C11.5432 10.1391 11.3288 10.3048 11.1605 10.4774C10.9955 10.6499 10.8718 10.8495 10.7893 11.0762C10.7101 11.3028 10.6688 11.5819 10.6655 11.9135V12.086H8.78976ZM9.76972 15.3338C9.43977 15.3338 9.15766 15.2153 8.92339 14.9785C8.69242 14.7383 8.57859 14.4508 8.58189 14.1159C8.57859 13.7843 8.69242 13.5001 8.92339 13.2633C9.15766 13.0265 9.43977 12.9081 9.76972 12.9081C10.0832 12.9081 10.3587 13.0265 10.5963 13.2633C10.8338 13.5001 10.9543 13.7843 10.9576 14.1159C10.9543 14.3391 10.8965 14.5438 10.7843 14.7299C10.6754 14.9126 10.5319 15.0597 10.3537 15.1714C10.1756 15.2796 9.98089 15.3338 9.76972 15.3338Z"\n fill="currentColor"\n />\n </svg>'}),D=class{constructor(o){n(this,o)}getSvgData(){return Object.entries(S).filter((([n])=>!n.toLowerCase().includes("logo")&&!n.toLowerCase().includes("eu"))).map((([n,o])=>({name:n,icon:o})))}get hostWidth(){return this.hostEl.parentElement?this.hostEl.parentElement.offsetWidth:400}render(){const n=this.getSvgData();return o("eds-table",{key:"a7d7fa426da72e174880a300202390c1016b74df",data:JSON.stringify(n),config:JSON.stringify({icon:{format:"svg"},name:{format:"bold"}}),"rows-per-page":10,"search-enabled":!0,"pagination-enabled":!0,"host-width":this.hostWidth})}get hostEl(){return t(this)}};export{D as eds_svg_repository}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as e}from"./p-7a8b9de5.js";import{c as r}from"./p-8983de37.js";const c=class{constructor(e){s(this,e),this.class=""}render(){return e("span",{key:"947f6615e8ee155be98b379a9c771cc0d453becd",class:this.class,innerHTML:r})}};export{c as eds_icon_close}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as e}from"./p-7a8b9de5.js";import{c as r}from"./p-ece618b3.js";const t=class{constructor(e){s(this,e),this.class=""}render(){return e("span",{key:"c723d7f1bbd596063ae7e66123b8038af5320a54",class:this.class,innerHTML:r})}};export{t as eds_icon_chevron_left}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t}from"./p-7a8b9de5.js";const s=class{constructor(t){e(this,t),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return t("token-list",{show:"background"});case 1:return t("token-list",{show:"text"});case 2:return t("token-list",{show:"border"});case 3:return t("token-radii",null);case 4:return t("token-list",{show:"outline"});case 5:return t("token-shadows",null);default:return t("p",null,"Content not available.")}}render(){return t("div",{key:"b140f7650e5e01711dc0778b04af83f9d004efc7",class:"container"},this.renderContent())}};export{s as eds_docs_tokens}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as r}from"./p-7a8b9de5.js";import{m as c}from"./p-29041952.js";const e=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"dd9df55fa03c1b27f2f931c7d07ccc69ee940ff4",class:this.class,innerHTML:c})}};export{e as eds_icon_more}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as a}from"./p-7a8b9de5.js";const c=[{background:"#9CE142"},{background:"#00C959"},{background:"#00A595"}],d=[{background:"#3FA9F5"},{background:"#C461FF"},{background:"#5D3DF9"},{background:"#FFA543"},{background:"#FF4D68"}],s=class{constructor(a){e(this,a)}render(){return a("div",{key:"cb22d37293f3b3b5fe3772cfe83234a5d81e1094",class:"container"},a("eds-alert",{key:"9aa7a510440c32f92242b3e09f9e818cd2509b06",message:"Note that, each of the four colour tones cannot be mixed in the same composition.",intent:"error"}),a("div",{key:"4d22cba75b7dd45a5a9a7d2b2eba5404875f1403",class:"flex"},a("div",{key:"c7f08b3e4ef2692c545edd4185a005ddd6526a23",class:"w-full"},a("ul",{key:"28561abcdc93a4899a5d7481fdd47c439f734ff6",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},c.map((e=>a("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},a("div",{class:"w-full min-h-[150px] effect-height flex items-center justify-between p-16",style:{backgroundColor:e.background}})))))),a("div",{key:"f8836d4805fdd416ee75712f749d5cee3f612559",class:"w-full"},a("ul",{key:"5842acd55d3a827355f2814c709d057676fb5d0f",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},d.map((e=>a("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},a("div",{class:"w-full min-h-[90px] effect-height flex items-center justify-between p-16",style:{backgroundColor:e.background}}))))))))}};export{s as incorrect_use_of_colors}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as a}from"./p-7a8b9de5.js";const d=class{constructor(a){e(this,a)}render(){return a("div",{key:"144e643ff3f26d09b932b3bfa2086164134728c0",class:"w-full"},a("ul",{key:"901ef03cdff10b00eb4c8bdbda083760fcde7f24",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},a("li",{key:"330a1a3bae65fde46111f2213d25e436fd2a91cf",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},a("div",{key:"1d2a762f9cf33ea03af1d63892f9ab53293ee1e7",class:"container p-8 item-center border-2 border-soft"},a("div",{key:"adb666cc7517d3bf05d3599c75adb94833522848",class:"spacing-sample m-32 bg-darker"},a("span",{key:"b7b11b55a5ccc619c2aa9890d1051995ba9a22f7",class:"text-white"},"Margin: 2rem / m-32")))),a("li",{key:"0cf9be1778f86479eca5db5d38964cdffeb4d336",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},a("div",{key:"5327b962b290dcaf1479cee8a0ae4c85d195be6f",class:"container p-8 item-center border-2 border-soft"},a("div",{key:"7ada04bb258adad1d06562a6f35d44fcfe21ab5a",class:"spacing-sample ml-64 bg-darker"},a("span",{key:"5b50ff36cd166f19704cc431ea607fa95fdfe2aa",class:"text-white"},"Margin Left: 4rem / ml-64")))),a("li",{key:"93c162e7bd651e4e7876e9098327b5d0d6a14001",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},a("div",{key:"baad427ed16e9f64f268cf4b5172426dee3fbf81",class:"container p-8 item-center border-2 border-soft"},a("div",{key:"4e9cf544dd6ef7bace03d025a887e0c21b7fe3b4",class:"spacing-sample mt-32 bg-darker"},a("span",{key:"64858f80ac6535ad5d1f5e0dda7ed0b4ea61c9ba",class:"text-white"},"Margin Top: 2rem / mt-32")))),a("li",{key:"a5f0b462645727b11bdd874b7883cde9e3208e04",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},a("div",{key:"90fd6d72e160d5e16088c715153370b53ba07e36",class:"container p-8 item-center border-2 border-soft"},a("div",{key:"c46fbff19edc9b0389b3a3347e96846e8e01d0ea",class:"spacing-sample p-32 bg-darker"},a("span",{key:"0acbde0ab78642e37e25103260804a096cb9e996",class:"text-white"},"Padding: 2rem / p-32")))),a("li",{key:"cdb0d711cad94887bd001defe30f0334dd948d16",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},a("div",{key:"6874126bd20267fdd9d0031002e24a71e0a39693",class:"container p-8 item-center border-2 border-soft"},a("div",{key:"8ab168cab95089dffdc8bff3b9bb2f9cb1fc3832",class:"spacing-sample pt-32 bg-darker"},a("span",{key:"4366fbd79ce583f9399bc739da790b01759eb5ea",class:"text-white"},"Padding Top: 2rem / pt-32")))),a("li",{key:"affbabf8b1d8c4abdd61f51ac12cac4c5e3460a7",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},a("div",{key:"6e9eae3de01dd4ff99b19fdfc62eb4a301d5071d",class:"container p-8 item-center border-2 border-soft"},a("div",{key:"5e6788281bc9f57aab48cd768fa81fb98e1e31c3",class:"spacing-sample pl-32 bg-darker"},a("span",{key:"8fe02840d35475a60536f13abf97bd98cb53b07e",class:"text-white"},"Padding Left: 2rem / pl-32"))))))}};export{d as token_spacing}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as a}from"./p-7a8b9de5.js";const s=class{constructor(a){e(this,a),this.accent=!1,this.tags=[]}render(){return a("div",{key:"272d53abb9be9086881cb2f8e99f7fb7aae1bb59",class:"flex flex-wrap gap-y-4"},this.tags.map(((e,s)=>a("eds-tag",{key:s,intent:this.accent?"accent":"default",label:e}))))}};s.style=".flex{display:flex}.flex-wrap{flex-wrap:wrap}.gap-y-4{row-gap:0.25rem}";export{s as eds_card_tags}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as r}from"./p-7a8b9de5.js";import{l as a}from"./p-2117611b.js";const e=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"f11c60068baa2d2398056b3d7f04129d9deb4517",class:this.class,innerHTML:a})}};export{e as eds_icon_loader}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,g as i}from"./p-7a8b9de5.js";import{s as a}from"./p-89227919.js";const s=class{constructor(e){t(this,e),this.currentPage=void 0,this.lastPage=void 0,this.perPage=10,this.total=0,this.url="",this.mode="default",this.prevLabel="Prev",this.nextLabel="Next",this.prevUrl="",this.nextUrl="",this.links=[]}componentWillLoad(){"default"===this.mode&&this.generateLinks()}componentDidLoad(){this.hostEl.shadowRoot.querySelectorAll("eds-link").forEach((t=>{this.emitContext(t)}))}emitContext(t){const e=new CustomEvent("parentContext",{detail:{componentName:this.hostEl.tagName.toLowerCase(),identifier:null}});t.dispatchEvent(e)}onPageOrLastPageChange(){"default"===this.mode&&this.generateLinks()}isFirstPage(){return 1===this.currentPage}isLastPage(){return this.currentPage===this.lastPage}generateLink(t){const e=this.url.includes("?");return{ariaLabel:`Page ${t}`,url:`${this.url}${e?"&":"?"}page=${t}`,label:t.toString(),current:this.currentPage===t,disabled:!1}}generateLinks(){this.lastPage&&this.lastPage>5?this.links=this.getPaginationGenerator(this.currentPage||1,this.lastPage).map((t=>"number"==typeof t?this.generateLink(t):t)):this.lastPage&&(this.links=Array.from({length:this.lastPage}).map(((t,e)=>this.generateLink(e+1))))}getPaginationGenerator(t,e){const i=[];if(e<=5)for(let t=1;t<=e;t++)i.push(t);else{i.push(1),t-1>2&&i.push("...");for(let a=Math.max(2,t-1);a<=Math.min(e-1,t+1);a++)i.push(a);t+1<e-1&&i.push("..."),i.push(e)}return i}pageResults(){return this.total>0?this.total>this.perPage?`${this.perPage*((this.currentPage||1)-1)+1} - ${this.perPage*(this.currentPage||1)>=this.total?this.total:this.perPage*(this.currentPage||1)} of ${this.total}`:`${this.total}`:""}handlePageClick(t,e){if("navigator"!==this.mode&&(t.preventDefault(),e!==this.currentPage)){this.links=this.links.map((t=>"object"==typeof t?Object.assign(Object.assign({},t),{current:parseInt(t.label)===e}):t));const t=new CustomEvent("pageChange",{detail:e,bubbles:!0,composed:!0});this.hostEl.dispatchEvent(t),this.currentPage=e}}render(){return e("div",{key:"8c8418eec263acc153a928b752775458f897504f"},this.total>0&&"default"===this.mode&&e("p",{key:"02a5a69772a4812f10b29e8df117b72df210614d",class:"f-ui-03 text-lightest mb-28 w-full text-center"},e("span",{key:"ef9804843100c722643c24e31a05f86f2d55efa0",class:"sr-only"},"Results:"),this.pageResults()),"navigator"===this.mode||this.lastPage&&this.lastPage>1?e("nav",{"aria-label":"Pagination"},e("ul",{class:"flex items-center justify-center gap-x-8"},e("li",{class:"mr-auto"},e("eds-link",{label:this.prevLabel,url:"navigator"===this.mode?this.prevUrl||"#":this.isFirstPage()?"#":this.generateLink(this.currentPage-1).url,disabled:"navigator"===this.mode?!this.prevUrl:this.isFirstPage(),"aria-label":"Previous page",icon:"chevron-left","icon-pos":"left",size:"small","icon-small":"true",intent:"strong","hide-label-on-small-screen":!0,class:"!p-8 lg:!pr-12",onClick:t=>{"default"===this.mode&&(this.isFirstPage()?t.preventDefault():this.handlePageClick(t,(this.currentPage||1)-1))}})),"default"===this.mode&&this.links.map(((t,i)=>e("li",{key:i,class:"f-ui-02 flex h-36 items-center justify-center"},"string"==typeof t?e("span",{class:"flex items-center justify-center"},t):e("eds-link",{url:t.url,"aria-label":t.ariaLabel,label:t.label,current:t.current,size:"small",class:"!p-8",intent:t.current?"secondary":"ghost",onClick:e=>this.handlePageClick(e,parseInt(t.label))})))),e("li",{class:"ml-auto"},e("eds-link",{label:this.nextLabel,url:"navigator"===this.mode?this.nextUrl||"#":this.isLastPage()?"#":this.generateLink(this.currentPage+1).url,disabled:"navigator"===this.mode?!this.nextUrl:this.isLastPage(),"aria-label":"Next page",size:"small","icon-small":"true",icon:"chevron-right",intent:"strong","hide-label-on-small-screen":!0,class:"!p-8 lg:!pl-12 flex items-center gap-1 py-4 transition-colors",onClick:t=>{"default"===this.mode&&(this.isLastPage()?t.preventDefault():this.handlePageClick(t,(this.currentPage||1)+1))}})))):null)}get hostEl(){return i(this)}static get watchers(){return{currentPage:["onPageOrLastPageChange"],lastPage:["onPageOrLastPageChange"]}}};s.style="ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.text-lightest{color:var(--grey-500)}.mb-28{margin-bottom:1.75rem}.w-full{width:100%}.w-20{width:1.25rem}.h-20{height:1.25rem}.h-28{height:1.75rem}.h-32{height:2rem}.h-36{height:2.25rem}.text-center{text-align:center}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-x-8{-moz-column-gap:0.5rem;column-gap:0.5rem}.mr-auto{margin-right:auto}.ml-auto{margin-left:auto}.\\!p-8{padding:0.5rem !important}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.hidden{display:none}.gap-1{gap:0.0625rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.transition-colors{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}@media (min-width: 900px){.lg\\:\\!pr-12{padding-right:0.75rem !important}.lg\\:flex{display:flex}}";const n=class{constructor(e){t(this,e),this.data=null,this.endpoint=null,this.config={},this.rowsPerPage=10,this.paginationEnabled=!0,this.searchEnabled=!1,this.hostWidth=void 0,this.columnSize="default",this.tableData=[],this.columns=[],this.currentPage=1,this.parsedConfig={},this.totalRows=0,this.searchQuery=""}handleDataChange(){this.parseData()}handleConfigChange(){this.parseConfig()}componentWillLoad(){this.parseConfig(),this.data?this.parseData():this.endpoint&&this.fetchData()}componentDidLoad(){this.setupPaginationListener()}componentDidUpdate(){this.setupPaginationListener()}parseData(){try{this.tableData="string"==typeof this.data?JSON.parse(this.data):this.data||[],this.totalRows=this.tableData.length,this.updateColumns(),this.currentPage=1}catch(t){console.error("Failed to parse data:",t),this.tableData=[]}}parseConfig(){try{this.parsedConfig="string"==typeof this.config?JSON.parse(this.config):this.config}catch(t){console.error("Failed to parse config:",t),this.parsedConfig={}}}async fetchData(){try{const t=await fetch(this.endpoint),e=await t.json();this.data=e}catch(t){console.error("Failed to fetch data:",t)}}setupPaginationListener(){if(!this.shouldEnablePagination())return;const t=this.hostEl.shadowRoot.querySelector("eds-pagination");t&&!t.hasAttribute("listener-attached")&&(t.addEventListener("pageChange",(t=>this.handlePageChange(t.detail))),t.setAttribute("listener-attached","true"))}getFilteredRows(){return this.tableData.filter((t=>Object.values(t).some((t=>t.toString().toLowerCase().includes(this.searchQuery.toLowerCase())))))}getPaginatedRows(){const t=this.getFilteredRows();this.totalRows=t.length;const e=(this.currentPage-1)*this.rowsPerPage;return t.slice(e,e+this.rowsPerPage)}handlePageChange(t){this.currentPage=t,a({category:"ui-component",parentContext:null,tag:`${this.hostEl.tagName.toLowerCase()}/eds-pagination`,name:`${t}`||"",action:"page"})}handleSearch(t){this.searchQuery=t.target.value,this.currentPage=1}renderCell(t,i){var a;const s=null===(a=this.parsedConfig[i])||void 0===a?void 0:a.format;return"uppercase"===s?null==t?void 0:t.toString().toUpperCase():"svg"===s?e("div",{innerHTML:t}):"bold"===s?e("strong",null,t):"code"===s?e("code",null,t):t}shouldEnablePagination(){return this.paginationEnabled&&this.totalRows>this.rowsPerPage}updateColumns(){this.columns=this.tableData.length>0?Object.keys(this.tableData[0]):[]}getVisibleColumnsCount(){return this.columns.filter((t=>{var e;return!(null===(e=this.parsedConfig[t])||void 0===e?void 0:e.hidden)})).length}divisionFactor(){let t=1;return"medium"===this.columnSize?t=2:"large"===this.columnSize&&(t=4),t}render(){const t=this.getPaginatedRows(),i=Math.ceil(this.totalRows/this.rowsPerPage),a=this.getVisibleColumnsCount(),s=this.hostWidth&&""!==this.hostWidth.trim()?Number(this.hostWidth):this.hostEl.parentElement instanceof HTMLElement?this.hostEl.parentElement.getBoundingClientRect().width:this.hostEl.getRootNode().host instanceof HTMLElement?this.hostEl.getRootNode().host.getBoundingClientRect().width:400,n=a>0?Math.floor(s/a*this.divisionFactor()):100;return e("div",{key:"66ca59804bc8054655ed0d942104516fe4cd259b"},this.searchEnabled&&e("div",{key:"df7267fc443da042e4b6ff81ded5800a2213bd73"},e("eds-input-field",{key:1,name:"search","aria-label":"Search",type:"text",placeholder:"Search...",onInput:t=>this.handleSearch(t)})),e("div",{key:"80ac1fcb3802f9f5d5eabe016fb7345b88908b36",class:"mt-20"},e("table",{key:"09acf39378b1a4c8bfe40b496ec6bf71a2d761ca",class:"block overflow-x-auto mt-6 p-0"},e("thead",{key:"8b844806cfef10d1a59da54a385ee8ed6c167050"},e("tr",{key:"1b3cff91bdaf225e9f3b337e245cd80ad4772b6a",class:"m-0 p-0 border border-softer even:bg-inverse-softer"},this.columns.map((t=>{var i;return!(null===(i=this.parsedConfig[t])||void 0===i?void 0:i.hidden)&&e("th",{class:"m-0 py-8 border border-softer f-ui-02 break-words",style:{minWidth:n-5+"px"}},t)})))),e("tbody",{key:"93dfd3abd196779c288f85bb6a357ad3e9c01418"},t.map((t=>e("tr",{class:"m-0 p-0 border border-softer even:bg-inverse-softer"},this.columns.map((i=>{var a;return!(null===(a=this.parsedConfig[i])||void 0===a?void 0:a.hidden)&&e("td",{class:"text-center border border-softer m-0 py-8 f-ui-2 break-words",style:{minWidth:n-5+"px"}},this.renderCell(t[i],i))})))))))),this.shouldEnablePagination()&&e("div",{key:"516b65d78a9ea91060c1dfcb3306bbd3ac2c6f58",class:"mt-20"},e("eds-pagination",{key:"abe3a593827d99437a06e204ea9d8ef92f80aba7",currentPage:this.currentPage,lastPage:i,perPage:this.rowsPerPage,total:this.totalRows,mode:"default"})))}get hostEl(){return i(this)}static get watchers(){return{data:["handleDataChange","parseData"],config:["handleConfigChange"]}}};n.style="table{text-indent:0;border-color:inherit;border-collapse:collapse;}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.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)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}.break-words{overflow-wrap:anywhere}";export{s as eds_pagination,n as eds_table}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as e}from"./p-7a8b9de5.js";import{m as r}from"./p-aefcb641.js";const c=class{constructor(e){s(this,e),this.class=""}render(){return e("span",{key:"0084602c8e870b70caa66479f71bed3bd0cce94e",class:this.class,innerHTML:r})}};export{c as eds_icon_menu}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as a}from"./p-7a8b9de5.js";const r=class{constructor(a){e(this,a)}render(){return a("div",{key:"17506a830e62dd31e1415d2be8b4553c3068bfd0"},a("div",{key:"4ae7fe3624155cf1b2a749bed360d8b55cd2bede",class:"container my-16"},a("h3",{key:"e6daae3d262a53fb374162b5e3313fa98e11bf6b",class:"f-heading03"},"Coloured Background"),a("div",{key:"ab405030d5cac7ec5fe95f638dfeaa0e48f70af7",class:"coloured lg:w-[500px] md:w-[300px]"},a("eds-logo",{key:"05441cfb40658a2bd01f7f9a8c28e28d340b6dc1",type:"no-bg",href:"#"}))),a("div",{key:"82731279160c6c666889d32f329cf8469f853783",class:"container my-16"},a("h3",{key:"73269548408d466223d44f9293f589e7e4b99bae",class:"f-heading03"},"Black and White Background"),a("div",{key:"1d3e89b35eca34712e184ce42ba2f7632439ce4f",class:"bg-default lg:w-[500px] md:w-[300px]"},a("eds-logo",{key:"fc59306d8098f4764ab0f72fdbb5009bea5f3c44",type:"black",href:"#"}))),a("div",{key:"355ce3ef5cbd6872ce86ec847c3394deb29f2846",class:"container my-16"},a("h3",{key:"57adbc464a1e2f2d5818112f00149840c2c0758a",class:"f-heading03"},"Dark Background "),a("div",{key:"84e43ad22d556672c1b0e82a9ed3e2c988649598",class:"lg:w-[500px] md:w-[300px]"},a("eds-logo",{key:"0d0d38e691d763189c88ae803f9b02523b362ff8",type:"color-white",href:"#"}))))}};r.style=".container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.bg-accent{background-color:var(--green-500)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.p-8{padding:0.5rem}.p-16{padding:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.w-\\[150px\\]{width:150px}.w-\\[500px\\]{width:500px}@media (min-width: 750px){.md\\:w-\\[300px\\]{width:300px}.md\\:w-\\[500px\\]{width:500px}}@media (min-width: 900px){.lg\\:w-\\[300px\\]{width:300px}.lg\\:w-\\[500px\\]{width:500px}}.coloured{background:linear-gradient(to left, \n #9CE142 0%, \n #00C959 50%, \n #00A595 100%)}";const t=class{constructor(a){e(this,a),this.orientation="vertical",this.type=void 0}render(){return a("div",{key:"fee70336cee863d905a6537392f1ddf6bda1d449"},a("div",{key:"f04e0928bbd1875982190f5fe685c43a0e712704",class:"container my-16"},a("h3",{key:"d10318ccf82f90743af6279afea3afa36ec411dc",class:"f-heading03"},"Coloured Background"),a("div",{key:"06cca782bfc5564172c1a745652c66d5304ad9c8",class:"coloured w-[200px]"},a("eds-logo",{key:"175bbd4acc1b184e8d372b78246524b2d4ae6758",orientation:"vertical",type:"no-bg",href:"#"}))),a("div",{key:"a7eb431d1ee679bc8c28aed0932325c99d4e0798",class:"container my-16"},a("h3",{key:"0a5d4e193f9b8e36c81beb5fcc81eccaa2433ee9",class:"f-heading03"},"Black and White Background"),a("div",{key:"c2d6c02f46629f32155bfb0ef1eee7522cd4b6c1",class:"bg-default w-[200px]"},a("eds-logo",{key:"a97c323c7af4c98fab5da6721450b80e2c8d85cb",orientation:"vertical",type:"black",href:"#"}))),a("div",{key:"ac99317a56b7ce01f324efc3423593a20164f932",class:"container my-16"},a("h3",{key:"908f915f49802906b1d0d5cb008ed4cdb3b5a68a",class:"f-heading03"},"Dark Background "),a("div",{key:"94e25cd1734ec0ef18d3742f908a08ceec50aa6f",class:"w-[200px]"},a("eds-logo",{key:"7f74de4532f6696e7168f0fc9c5dc28afed91f98",orientation:"vertical",type:"color-white",href:"#"}))))}};t.style=".container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.bg-accent{background-color:var(--green-500)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.p-8{padding:0.5rem}.p-16{padding:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.w-\\[150px\\]{width:150px}.w-\\[200px\\]{width:200px}.w-\\[300px\\]{width:500px}.coloured{background:linear-gradient(to left, \n #9CE142 0%, \n #00C959 50%, \n #00A595 100%)}";export{r as logo_variations_horizontal,t as logo_variations_vertical}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as r}from"./p-7a8b9de5.js";import{c}from"./p-5d046674.js";const t=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"f770cd9151077e8708c76d2082613c65a20c420f",class:this.class,innerHTML:c})}};export{t as eds_icon_chevron_right}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,g as a}from"./p-7a8b9de5.js";import{t as s}from"./p-22f9e720.js";import{m as r}from"./p-89227919.js";const n=class{constructor(e){t(this,e),this.title="Analytics Consent",this.description="We use anonymous analytics to improve our services. No personal data is collected unless you give your consent.",this.showNotice=!0}componentWillLoad(){this.checkConsentCookie()}componentDidLoad(){this.el.shadowRoot.querySelectorAll("eds-button").forEach((t=>{this.emitContext(t)}))}emitContext(t){const e=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});t.dispatchEvent(e)}checkConsentCookie(){const t=document.cookie.split("; ").find((t=>t.startsWith("mtm_consent="))),e=sessionStorage.getItem("matomo-deferred");this.showNotice=!t&&!e}optInAnalytics(){r(),s.show("You have opted in to analytics.","success"),this.hideNotice()}deferDecision(){sessionStorage.setItem("matomo-deferred","true"),s.show("You can decide later.","warning"),this.hideNotice()}hideNotice(){this.showNotice=!1}render(){return this.showNotice?e("div",{class:"fixed bottom-0 p-8 z-10 grow md:left-1/2 md:-translate-x-1/2 md:-translate-y-1/2 justify-center"},e("eds-accordion",{title:this.title,description:this.description,switchBg:!0,expanded:!0},e("div",{class:"flex items-center gap-4"},e("eds-button",{intent:"primary",label:"Yes, I agree","aria-label":"Opt-in for analytics",onClick:()=>this.optInAnalytics()}),e("eds-button",{intent:"ghost",label:"Ask me later","aria-label":"Defer analytics decision",onClick:()=>this.deferDecision()})))):null}get el(){return a(this)}};n.style=".fixed{position:fixed}.absolute{position:absolute}.w-full{width:100%}.bottom-0{bottom:0rem}.bottom-4{bottom:0.25rem}.p-4{padding:0.25rem}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.z-10{z-index:10}.left-0{left:0rem}.left-1\\/2{left:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex{display:flex}.gap-12{gap:0.75rem}.gap-20{gap:1.25rem}.gap-4{gap:0.25rem}@media (min-width: 750px){.md\\:left-1\\/2{left:50%}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}";export{n as eds_matomo_notice}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,g as e}from"./p-7a8b9de5.js";import{s}from"./p-89227919.js";const a=class{constructor(i){t(this,i),this.focusableItems=[],this.handleClick=()=>{var t;this.isOpen=!this.isOpen,this.isOpen?(this.focusIndex=0,this.focusItem()):this.closeDropdown(),s({category:"ui-component",parentContext:null,tag:this.host.tagName.toLowerCase(),name:(null===(t=this.label)||void 0===t?void 0:t.toLowerCase())||"",action:this.isOpen?"expanded":"collapsed"})},this.icon="chevron-down",this.label=void 0,this.rounded=!1,this.ariaLabel="Open dropdown",this.asNav=!0,this.dropdownPos="left",this.dropdownOffset=!0,this.intent="tertiary",this.isOpen=!1,this.focusIndex=-1}handleWindowClick(t){this.host.contains(t.target)||this.closeDropdown()}handleKeyDown(t){if(this.isOpen)switch(t.key){case"Tab":this.closeDropdown();break;case"ArrowUp":t.preventDefault(),this.focusIndex=(this.focusIndex-1+this.focusableItems.length)%this.focusableItems.length,this.focusItem();break;case"ArrowDown":t.preventDefault(),this.focusIndex=(this.focusIndex+1)%this.focusableItems.length,this.focusItem()}}closeDropdown(){this.isOpen=!1,this.focusIndex=-1}focusItem(){var t;null===(t=this.focusableItems[this.focusIndex])||void 0===t||t.focus()}componentDidLoad(){var t;this.focusableItems=Array.from((null===(t=this.dropdownContent)||void 0===t?void 0:t.querySelectorAll("a, button"))||[])}render(){return i("div",{key:"84f4cea78ea1c40c7897a356fe03ac83922fccb8",class:"z-focus relative",ref:t=>this.dropdownContent=t},i("eds-button",{key:"99dc51632dc82830054502a2d6d77d9fcefe9337",label:this.label,"aria-label":this.ariaLabel,icon:this.icon,intent:this.intent,onClick:this.handleClick,"aria-expanded":this.isOpen.toString(),"aria-haspopup":"menu"}),i("nav",{key:"a63613a7ecf709fd1d22d77da4b2d286905fef3e",role:"menu",class:{"shadow-small bg-inverse border-softest z-10 z-on-top absolute top-full mt-4 flex flex-col gap-y-4 border-2 p-8":!0,"left-4":"left"===this.dropdownPos&&this.dropdownOffset,"left-0":"left"===this.dropdownPos&&!this.dropdownOffset,"right-4":"right"===this.dropdownPos&&this.dropdownOffset,"right-0":"right"===this.dropdownPos&&!this.dropdownOffset,"rounded-lg":this.rounded},style:{display:this.isOpen?"block":"none"},"aria-label":"Dropdown","aria-hidden":!this.isOpen},i("slot",{key:"dda70b865ed03dc7ad36a32934587bbcb0a16c1b"})))}get host(){return e(this)}};a.style=".z-focus{z-index:99}.relative{position:relative}.shadow-small{--tw-shadow:0px 1.5px 2px rgba(0, 0, 0, 0.1);--tw-shadow-colored:0px 1.5px 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-inverse{background-color:var(--white)}.border-softest{border:2px solid rgba(0, 0, 0, .05)}.z-10{z-index:10}.z-on-top{z-index:99999}.absolute{position:absolute}.top-full{top:100%}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.gap-y-4{row-gap:0.25rem}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.left-0{left:0rem}.left-1\\/2{left:50%}.left-4{left:0.25rem}.left-\\[4px\\]{left:4px}.right-0{right:0rem}.right-4{right:0.25rem}.right-8{right:0.5rem}";const l=class{constructor(i){t(this,i),this.user=void 0,this.links=void 0,this.onLogout=void 0,this.parsedUser={},this.parsedLinks=[]}parseUserProp(t){this.parsedUser="string"==typeof t?JSON.parse(t):t}parseLinksProp(t){this.parsedLinks="string"==typeof t?JSON.parse(t):t}componentWillLoad(){this.parseUserProp(this.user),this.parseLinksProp(this.links)}get initials(){var t,i,e,s,a,l,o;return`${(null===(i=null===(t=this.parsedUser)||void 0===t?void 0:t.firstname)||void 0===i?void 0:i.charAt(0))||""}${(null===(s=null===(e=this.parsedUser)||void 0===e?void 0:e.lastname)||void 0===s?void 0:s.charAt(0))||""}`.toUpperCase()||(null===(o=null===(l=null===(a=this.parsedUser)||void 0===a?void 0:a.fullname)||void 0===l?void 0:l.charAt(0))||void 0===o?void 0:o.toUpperCase())||""}get hasLogout(){return"function"==typeof this.onLogout}render(){var t,e,s,a,l;return i("div",{key:"4a80335b6a59b9653130ca75a6e42c04fce68f4f",class:"min-w-[280px] p-8"},i("div",{key:"9c97f6be46216587692d4852174cecfaacb70593",class:"flex gap-x-16 pb-16 border-b-2 border-softer"},i("eds-avatar",{key:"c778f6bdfb21068ca7c2deff6e298f61af6dbc67","first-name":null===(t=this.parsedUser)||void 0===t?void 0:t.firstname,"last-name":null===(e=this.parsedUser)||void 0===e?void 0:e.lastname,initials:this.initials,color:"grey",rounded:!0,"initials-strong":!0}),i("div",{key:"7f453546c9cc54597069abb3e4b50312fe7bf364",class:"max-w-full"},(null===(s=this.parsedUser)||void 0===s?void 0:s.fullname)&&i("p",{key:"34e080ef159535820c09378701de0e6f4fd96009",class:"f-ui-01 text-default w-full text-ellipsis"},this.parsedUser.fullname),(null===(a=this.parsedUser)||void 0===a?void 0:a.username)&&i("p",{key:"2f85764e7d015dc3f3b22ca8a07126f8f57216ef",class:"f-ui-03-light text-light mt-4"},this.parsedUser.username),(null===(l=this.parsedUser)||void 0===l?void 0:l.email)&&i("p",{key:"002dec51e979c29f2343f55e004449e4cee4075c",class:"f-ui-03-light text-light mt-4"},this.parsedUser.email))),i("div",{key:"740b78c504257fb755ba7ba04dd25f023d37ed33",class:"text-default mt-16 flex w-full flex-col gap-y-8"},i("div",{key:"ac307937bdd3fc86cce502e5eeb3e922d931f418",class:"border-softer mb-10 border-b-2 pb-16"},i("eds-link",{key:"bdd0f1ef62ac78ffb1b40ed6873475df360cec66",label:"My EBRAINS","aria-label":"My EBRAINS",url:"https://www.ebrains.eu/dashboard",intent:"primary","extra-class":"w-full",external:!0})),i("eds-link",{key:1,label:"Account Settings",url:"https://iam.ebrains.eu/auth/realms/hbp/account/",intent:"secondary",icon:"arrow-diagonal",external:!0,"extra-class":"w-full"}),this.hasLogout&&i("eds-link",{key:"d73016ad71f3b356b7fb7d0a2a84124eabb05da5",label:"Sign out",intent:"tertiary","extra-class":"w-full justify-center",onClick:()=>this.onLogout&&this.onLogout()})))}static get watchers(){return{user:["parseUserProp"],links:["parseLinksProp"]}}};export{a as eds_dropdown,l as eds_user_modal}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as r}from"./p-7a8b9de5.js";import{c as e}from"./p-4587d0ef.js";const o=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"fa8022d27b91e909d4cd5522c6d0406be698a412",class:this.class,innerHTML:e})}};export{o as eds_icon_chevron_down}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as e}from"./p-7a8b9de5.js";import{y as r}from"./p-ecbb679f.js";const a=class{constructor(e){s(this,e),this.class=""}render(){return e("span",{key:"4eba69bfec926b7a3490feee15b5947a8ab8a7b9",class:this.class,innerHTML:r})}};export{a as eds_icon_youtube}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as a}from"./p-7a8b9de5.js";import{c as e}from"./p-112122d6.js";const r=class{constructor(a){t(this,a),this.tabCva=e(["cursor-pointer","text-gray-700","hover:text-black","focus:outline-none","focus-visible:ring"],{variants:{active:{true:"border-blue-500 font-bold text-blue-600",false:"border-transparent"}},defaultVariants:{active:!1}}),this.label=void 0,this.url=void 0,this.active=!1,this.ariaLabel=void 0}render(){return a("a",{key:"a55be2a07e554ab13a0d7e913710382d6126da57","aria-label":this.label,"aria-current":this.active,class:this.tabCva({active:this.active})},this.label)}};export{r as eds_tab}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,g as s}from"./p-7a8b9de5.js";const i=class{constructor(t){e(this,t),this.events=void 0,this.selectedEvent=null,this.parsedEvents=[]}parseEvents(e){let t;if("string"==typeof e)try{t=JSON.parse(e)}catch(e){console.error("Error parsing timeline events JSON",e),t=[]}else t=Array.isArray(e)?e:[];this.parsedEvents=Array.isArray(t)?t.map((e=>Object.assign(Object.assign({},e),{completed:"true"===e.completed||!0===e.completed}))):[]}componentWillLoad(){this.parseEvents(this.events)}componentDidLoad(){this.el.querySelectorAll("eds-card-generic").forEach((e=>{this.emitContext(e)}))}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(t)}handleEventClick(e){this.selectedEvent=e,this.modalRef&&"function"==typeof this.modalRef.open&&this.modalRef.open()}render(){return t("div",{key:"1ba4a93ce518b52f5821af75ae0587c44db92c6d",class:"max-w-sidebar mx-auto px-4 py-8"},t("div",{key:"3e019420ddd4bfab7800567c7130299ea47205c6",class:"relative"},t("div",{key:"df99ce8fb08232c46449d7485dd7cffcd04b64d6",class:"absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0"}),t("div",{key:"1b52694d2e8c3656910c02680aa8ce2e78b02997",class:"space-y-16"},this.parsedEvents.map(((e,s)=>t("div",{class:"relative flex"},t("div",{class:"w-1/2 "+(s%2==0?"pr-4":"")},s%2==0&&t("eds-card-generic",{cardTitle:e.title,url:"#",description:e.description,"heading-level":"h2",tiny:!0,bg:!e.completed,"with-hover":"false",tags:JSON.stringify(e.completed?[{label:"completed",style:"accent"}]:[{label:"pending",style:"default"}]),onClick:()=>this.handleEventClick(e)})),t("div",{class:"flex items-center justify-center relative"},t("div",e.completed?{class:"w-32 h-32 bg-accent rounded-full shadow flex items-center justify-center"}:{class:"w-32 h-32 bg-strong rounded-full shadow flex items-center justify-center"})),t("div",{class:"w-1/2 "+(s%2!=0?"pl-4":"")},s%2!=0&&t("eds-card-generic",{cardTitle:e.title,url:"#",description:e.description,"heading-level":"h2",tiny:!0,bg:!e.completed,"with-hover":"false",tags:JSON.stringify(e.completed?[{label:"completed",style:"accent"}]:[{label:"pending",style:"default"}]),onClick:()=>this.handleEventClick(e)}))))))))}get el(){return s(this)}static get watchers(){return{events:["parseEvents"]}}};export{i as eds_timeline}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-e96badea.js';
|
|
2
|
-
import { s as sendAnalytics } from './analytics-1cde8e4a.js';
|
|
3
|
-
|
|
4
|
-
const edsAccordionCss = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.min-h-36{min-height:2.25rem}.min-h-44{min-height:2.75rem}.min-h-56{min-height:3.5rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.relative{position:relative}.absolute{position:absolute}.inset-x-16{left:1rem;right:1rem}.top-16{top:1rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-md{border-radius:12px}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.text-light{color:var(--grey-700)}.z-1{z-index:1}.z-10{z-index:10}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.h-0{height:0rem}.h-auto{height:auto}.pt-20{padding-top:1.25rem}.overflow-hidden{overflow:hidden}.grid{display:grid}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-16{padding:1rem}.ml-auto{margin-left:auto}.mr-auto{margin-right:auto}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.text-left{text-align:left}.text-center{text-align:center}";
|
|
5
|
-
const EdsAccordionStyle0 = edsAccordionCss;
|
|
6
|
-
|
|
7
|
-
const EdsAccordion = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.accordionChange = createEvent(this, "accordionChange", 7);
|
|
11
|
-
/**
|
|
12
|
-
* Handles the click event on the accordion header to toggle expansion.
|
|
13
|
-
* Toggles the `isExpanded` state and emits the `accordionChange` event.
|
|
14
|
-
*/
|
|
15
|
-
this.handleClick = () => {
|
|
16
|
-
var _a;
|
|
17
|
-
this.isExpanded = !this.isExpanded;
|
|
18
|
-
this.accordionChange.emit(this.isExpanded);
|
|
19
|
-
this.setPanelHeight();
|
|
20
|
-
sendAnalytics({
|
|
21
|
-
category: 'ui-component',
|
|
22
|
-
parentContext: null,
|
|
23
|
-
tag: this.el.tagName.toLowerCase(),
|
|
24
|
-
name: ((_a = this.title) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
|
|
25
|
-
action: this.isExpanded ? 'expanded' : 'collapsed'
|
|
26
|
-
});
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* Calculates and sets the panel height based on the content height
|
|
30
|
-
* and adjusts based on the `shortContent` and `isExpanded` states.
|
|
31
|
-
*/
|
|
32
|
-
this.setPanelHeight = () => {
|
|
33
|
-
if (this.childContentRef) {
|
|
34
|
-
this.shortContent =
|
|
35
|
-
this.wrapperRef.scrollWidth > 830 && !this.description
|
|
36
|
-
? this.childContentRef.scrollHeight <= 80
|
|
37
|
-
: this.childContentRef.scrollHeight <= 20;
|
|
38
|
-
this.panelHeight = this.isExpanded && !this.shortContent ? this.childContentRef.scrollHeight : 0;
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
this.title = undefined;
|
|
42
|
-
this.description = undefined;
|
|
43
|
-
this.switchBg = true;
|
|
44
|
-
this.expanded = false;
|
|
45
|
-
this.clampText = true;
|
|
46
|
-
this.minHeightContent = false;
|
|
47
|
-
this.isExpanded = this.expanded;
|
|
48
|
-
this.panelHeight = 0;
|
|
49
|
-
this.shortContent = false;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Lifecycle method that sets up the initial panel height and adds a resize event listener
|
|
53
|
-
* to recalculate height on window resize.
|
|
54
|
-
*/
|
|
55
|
-
componentDidLoad() {
|
|
56
|
-
this.setPanelHeight();
|
|
57
|
-
window.addEventListener('resize', this.setPanelHeight);
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Lifecycle method that cleans up the resize event listener when the component is removed.
|
|
61
|
-
*/
|
|
62
|
-
disconnectedCallback() {
|
|
63
|
-
window.removeEventListener('resize', this.setPanelHeight);
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* Renders the accordion structure, including header, content, description, and any slotted content.
|
|
67
|
-
* Adjusts styles based on `switchBg`, `tiny`, `clampText`, and other props.
|
|
68
|
-
*/
|
|
69
|
-
render() {
|
|
70
|
-
const minHeightContentClass = this.minHeightContent ? 'min-h-56' : '';
|
|
71
|
-
return (h("div", { key: '00bd9a34ceb469bef74c827bd1f48bf3d4b545b6', ref: (el) => (this.wrapperRef = el), class: `container flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
|
|
72
|
-
${this.switchBg && this.isExpanded ? 'bg-inverse' : 'bg-default'}
|
|
73
|
-
${this.switchBg ? 'hover:bg-inverse' : ''}
|
|
74
|
-
${minHeightContentClass}` }, h("h3", { key: 'ab6a953797e0a8379a01a9a2f00a4988d4fc8357', class: "mr-auto f-heading-06 text-left absolute inset-x-16 top-16 line-clamp-1" }, this.title), h("div", { key: 'cfd6f4ad2ec5e412cdf2348d188dfcf90770012d', class: "ml-auto" }, h("eds-button", { key: 'beaee69d610727b397645fc0a507b234003fde5e', id: "toggleAccordion", intent: "tertiary", "aria-expanded": this.isExpanded || this.shortContent, "aria-label": "Toggle accordion", "aria-controls": "accordionSection", class: `effect-color flex w-full items-center justify-between rounded-md outline-none focus:outline-none`, onClick: this.handleClick, icon: "chevron-down" })), h("div", { key: '795f14c0930a0b0862a86451cc7b7e807cb79c37', class: `w-full` }, this.description ? (h("span", { class: `text-light ${!this.isExpanded && this.clampText ? 'line-clamp-1' : ''}` }, this.description)) : null, h("section", { key: '28f6cba233cdee58743faaacc992bf7497c2ff2e', id: "accordionSection", role: "region", "aria-labelledby": "accordionHeader", "aria-hidden": !this.isExpanded, class: `z-1 effect-height relative h-0 w-full ${!this.isExpanded && this.clampText ? 'overflow-hidden' : ''}`, style: { height: this.isExpanded ? 'auto' : '0' } }, h("div", { key: '939e442c55babfd3f1750d20d9b95f664c3a67c8', ref: (el) => (this.childContentRef = el), class: `accordion-content effect-color pt-20`, "aria-hidden": !this.isExpanded }, h("span", { key: '648d16ed84cb3da227a10e6370004c6479789aed', class: `${!this.isExpanded && this.clampText ? 'line-clamp-2' : ''}` }, h("slot", { key: '90ca94f15e408b4b05c0eac4bd20fa21766cbb19' })))))));
|
|
75
|
-
}
|
|
76
|
-
get el() { return getElement(this); }
|
|
77
|
-
};
|
|
78
|
-
EdsAccordion.style = EdsAccordionStyle0;
|
|
79
|
-
|
|
80
|
-
export { EdsAccordion as eds_accordion };
|