@ebrains/components 0.7.0-alpha.1 → 0.9.0-beta
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/bookmark-c61853d9.js +18 -0
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +44 -31
- package/dist/cjs/components-section.cjs.entry.js +139 -0
- package/dist/cjs/components.cjs.js +1 -1
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/{eds-docs-palettes.cjs.entry.js → docs-palettes.cjs.entry.js} +3 -3
- package/dist/cjs/{eds-docs-tokens.cjs.entry.js → docs-tokens.cjs.entry.js} +3 -3
- package/dist/cjs/eds-accordion.cjs.entry.js +86 -0
- package/dist/cjs/eds-alert.cjs.entry.js +11 -4
- package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
- package/dist/cjs/eds-avatar_24.cjs.entry.js +2100 -0
- package/dist/cjs/eds-breadcrumb.cjs.entry.js +6 -2
- package/dist/cjs/{eds-avatar_4.cjs.entry.js → eds-card-desc_3.cjs.entry.js} +3 -70
- package/dist/cjs/eds-card-generic.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-project.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tool.cjs.entry.js +1 -1
- 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-cookies-preference.cjs.entry.js +1 -1
- package/dist/cjs/eds-feedback.cjs.entry.js +2 -2
- package/dist/cjs/eds-frame.cjs.entry.js +7 -13
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bookmark.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-close.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-copy.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-external.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-minus.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-paper.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-plus.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-portal.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-private.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-public.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-tutorial.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-unknown.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-updown.cjs.entry.js +18 -0
- package/dist/cjs/eds-login_2.cjs.entry.js +23 -14
- package/dist/cjs/eds-matomo-notice.cjs.entry.js +123 -0
- package/dist/cjs/eds-modal.cjs.entry.js +6 -6
- package/dist/cjs/eds-pagination_2.cjs.entry.js +403 -0
- package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
- package/dist/cjs/eds-switch.cjs.entry.js +2 -2
- package/dist/cjs/eds-tabs.cjs.entry.js +2 -2
- package/dist/cjs/eds-timeline.cjs.entry.js +5 -1
- package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
- package/dist/cjs/eds-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/eds-trl.cjs.entry.js +1 -1
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/index-2f63169d.js +82 -50
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logo-space.cjs.entry.js +2 -2
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +4 -4
- package/dist/cjs/{eds-logo-variations.cjs.entry.js → logo-variations-tabs.cjs.entry.js} +3 -3
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
- package/dist/cjs/minus-1da6a98a.js +13 -0
- package/dist/cjs/paper-0d6302f6.js +17 -0
- package/dist/cjs/plus-d0e00ad0.js +14 -0
- package/dist/cjs/portal-46212559.js +20 -0
- package/dist/cjs/private-38835fe7.js +27 -0
- package/dist/cjs/public-b519b1f6.js +18 -0
- package/dist/cjs/{eds-svg-repository.cjs.entry.js → svg-repository.cjs.entry.js} +31 -26
- package/dist/cjs/token-list_3.cjs.entry.js +5 -5
- package/dist/cjs/token-ratios.cjs.entry.js +1 -1
- package/dist/cjs/token-typography.cjs.entry.js +3 -3
- package/dist/cjs/tutotial-7855df3c.js +29 -0
- package/dist/cjs/unknown-6814e551.js +24 -0
- package/dist/cjs/up-and-down-d71df67d.js +14 -0
- package/dist/collection/collection-manifest.json +19 -9
- package/dist/collection/components/eds-accordion/eds-accordion.css +18 -12
- package/dist/collection/components/eds-accordion/eds-accordion.js +9 -24
- package/dist/collection/components/eds-accordion/eds-accordion.stories.js +2 -2
- package/dist/collection/components/eds-alert/eds-alert.css +223 -91
- package/dist/collection/components/eds-alert/eds-alert.js +28 -3
- package/dist/collection/components/eds-alert/eds-alert.stories.js +10 -2
- package/dist/collection/components/eds-avatar/eds-avatar.css +38 -0
- package/dist/collection/components/eds-avatar/eds-avatar.js +11 -40
- package/dist/collection/components/eds-avatar/eds-avatar.stories.js +19 -46
- package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrumb.css +1 -0
- package/dist/collection/components/eds-breadcrump/eds-breadcrumb.stories.js +14 -6
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +6 -2
- package/dist/collection/components/eds-button/eds-button.css +8420 -6638
- package/dist/collection/components/eds-button/eds-button.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +4 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +133 -102
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.stories.js +10 -1
- package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
- package/dist/collection/components/eds-code-block/eds-code-block.css +30 -3
- package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +4 -3
- 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 +4 -4
- 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-bookmark/eds-icon-bookmark.js +36 -0
- 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-external/eds-icon-external.js +36 -0
- 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-minus/eds-icon-minus.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +36 -0
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +36 -0
- package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -21
- 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 +5 -5
- package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +66 -11
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +49 -10
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +4 -1
- package/dist/collection/components/eds-input-field/eds-input-field.css +651 -52
- package/dist/collection/components/eds-input-field/eds-input-field.js +37 -5
- package/dist/collection/components/eds-input-field/eds-input-field.stories.js +1 -0
- package/dist/collection/components/eds-link/eds-link.css +24 -204
- package/dist/collection/components/eds-link/eds-link.js +21 -13
- package/dist/collection/components/eds-modal/eds-modal.css +32 -1
- package/dist/collection/components/eds-modal/eds-modal.js +5 -5
- package/dist/collection/components/eds-pagination/eds-pagination.css +137 -109
- package/dist/collection/components/eds-pagination/eds-pagination.stories.js +0 -6
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +3 -3
- package/dist/collection/components/eds-steps/eds-steps.js +48 -1
- package/dist/collection/components/eds-switch/eds-switch.js +2 -2
- package/dist/collection/components/eds-table/eds-table.js +42 -27
- package/dist/collection/components/eds-table/eds-table.stories.js +1 -1
- package/dist/collection/components/eds-tag/eds-tag.js +1 -1
- package/dist/collection/components/eds-timeline/eds-timeline.css +7776 -0
- package/dist/collection/components/eds-timeline/eds-timeline.js +12 -1
- 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 +31 -18
- 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/{eds-components-section/eds-components-section.js → components-section/components-section.js} +13 -13
- package/dist/collection/eds-docs-ui/components-section/functional/angular.js +2 -0
- package/dist/collection/eds-docs-ui/components-section/functional/installation.js +2 -0
- package/dist/collection/eds-docs-ui/components-section/functional/overview.js +19 -0
- package/dist/collection/eds-docs-ui/components-section/functional/react.js +2 -0
- package/dist/collection/eds-docs-ui/components-section/functional/usage.js +2 -0
- package/dist/collection/eds-docs-ui/components-section/functional/vue.js +2 -0
- package/dist/collection/eds-docs-ui/{eds-docs-tokens/eds-docs-tokens.js → design-tokens/docs-tokens/docs-tokens.js} +3 -3
- package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +3 -3
- 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 +3 -3
- package/dist/collection/eds-docs-ui/{eds-docs-palettes/eds-docs-palettes.js → docs-palettes/docs-palettes.js} +3 -3
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.css +144 -43
- 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.css +149 -68
- 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.css +158 -53
- package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
- package/dist/collection/eds-docs-ui/{eds-logo-variations/eds-logo-variations.js → logo/logo-variations-tabs/logo-variations.js} +3 -3
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.css +199 -169
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
- package/dist/collection/eds-docs-ui/svg-repository/svg-repository.css +5 -0
- package/dist/collection/eds-docs-ui/{eds-svg-repository/eds-svg-repository.js → svg-repository/svg-repository.js} +13 -3
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +1 -6
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -2
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.css +8 -0
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +1 -1
- package/dist/collection/shared-ui/eds-footer/eds-footer.css +226 -0
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +44 -23
- package/dist/collection/shared-ui/eds-footer/eds-footer.stories.js +10 -16
- package/dist/collection/shared-ui/eds-form/eds-form.css +3 -0
- package/dist/collection/{components/eds-form-v2/eds-form-v2.js → shared-ui/eds-form/eds-form.js} +51 -15
- package/dist/collection/{components/eds-form-v2/eds-form-v2.stories.js → shared-ui/eds-form/eds-form.stories.js} +4 -4
- package/dist/collection/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.css +3 -0
- package/dist/collection/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.js +29 -32
- package/dist/collection/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.stories.js +13 -13
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.css +120 -0
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +2 -1
- package/dist/collection/shared-ui/eds-header/eds-header.css +138 -0
- package/dist/collection/shared-ui/eds-header/eds-header.js +3 -2
- package/dist/collection/shared-ui/eds-login/eds-login.js +4 -1
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.css +4 -0
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +57 -3
- 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.js +25 -13
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +361 -0
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +219 -0
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +63 -61
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +1 -1
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/shared-ui/eds-user/eds-user.css +7776 -0
- package/dist/collection/shared-ui/eds-user/eds-user.js +44 -14
- package/dist/collection/shared-ui/eds-user/eds-user.stories.js +1 -1
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/collection/utils/eds-form/formUtils.js +4 -34
- package/dist/components/bookmark.js +16 -0
- package/dist/components/{eds-logo-variations.d.ts → components-section.d.ts} +4 -4
- package/dist/components/components-section.js +202 -0
- package/dist/components/components.css +63 -61
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/{eds-svg-repository.d.ts → docs-palettes.d.ts} +4 -4
- package/dist/components/{eds-docs-palettes.js → docs-palettes.js} +8 -8
- package/dist/components/{eds-form-v2.d.ts → docs-tokens.d.ts} +4 -4
- package/dist/components/{eds-docs-tokens.js → docs-tokens.js} +8 -8
- package/dist/components/eds-accordion2.js +10 -8
- package/dist/components/eds-alert2.js +12 -4
- package/dist/components/eds-app-root.js +1 -1
- package/dist/components/eds-avatar2.js +13 -8
- package/dist/components/eds-block-break2.js +1 -1
- package/dist/components/eds-breadcrumb.js +6 -2
- package/dist/components/eds-button2.js +2 -2
- package/dist/components/eds-card-desc2.js +1 -1
- package/dist/components/eds-card-generic2.js +1 -1
- package/dist/components/eds-card-project.js +1 -1
- package/dist/components/eds-card-tags.js +1 -1
- package/dist/components/eds-card-title2.js +1 -1
- package/dist/components/eds-card-tool.js +1 -1
- package/dist/components/eds-card-wrapper.js +1 -1
- package/dist/components/eds-code-block2.js +1 -1
- package/dist/components/eds-cookies-preference.js +2 -3
- package/dist/components/eds-dropdown2.js +4 -3
- package/dist/components/eds-feedback.js +2 -2
- package/dist/components/eds-footer2.js +13 -6
- package/dist/components/eds-form.js +247 -197
- package/dist/components/eds-frame.js +9 -15
- package/dist/components/eds-fullscreen-menu.js +4 -3
- package/dist/components/eds-header.js +5 -4
- package/dist/components/eds-icon-arrow-diagonal.js +3 -3
- package/dist/components/eds-icon-arrow-right.js +1 -1
- package/dist/components/{eds-docs-palettes.d.ts → eds-icon-bookmark.d.ts} +4 -4
- package/dist/components/eds-icon-bookmark.js +33 -0
- 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-external.d.ts +11 -0
- package/dist/components/eds-icon-external.js +33 -0
- package/dist/components/eds-icon-gitlab.js +1 -1
- package/dist/components/eds-icon-loader.js +1 -1
- package/dist/components/eds-icon-menu.js +1 -1
- package/dist/components/eds-icon-minus.d.ts +11 -0
- package/dist/components/eds-icon-minus.js +33 -0
- package/dist/components/eds-icon-more.js +1 -1
- package/dist/components/eds-icon-paper.d.ts +11 -0
- package/dist/components/eds-icon-paper.js +33 -0
- package/dist/components/eds-icon-plus.d.ts +11 -0
- package/dist/components/eds-icon-plus.js +33 -0
- package/dist/components/{eds-docs-tokens.d.ts → eds-icon-portal.d.ts} +4 -4
- package/dist/components/eds-icon-portal.js +33 -0
- package/dist/components/eds-icon-private.d.ts +11 -0
- package/dist/components/eds-icon-private.js +33 -0
- package/dist/components/eds-icon-public.d.ts +11 -0
- package/dist/components/eds-icon-public.js +33 -0
- package/dist/components/eds-icon-search.js +1 -1
- package/dist/components/eds-icon-star.js +1 -1
- package/dist/components/eds-icon-success.js +1 -1
- package/dist/components/eds-icon-thumbs-down.js +1 -1
- package/dist/components/eds-icon-thumbs-up.js +1 -1
- package/dist/components/eds-icon-tutorial.d.ts +11 -0
- package/dist/components/eds-icon-tutorial.js +33 -0
- package/dist/components/eds-icon-unknown.d.ts +11 -0
- package/dist/components/eds-icon-unknown.js +33 -0
- package/dist/components/eds-icon-updown.d.ts +11 -0
- package/dist/components/eds-icon-updown.js +33 -0
- package/dist/components/eds-input-field2.js +38 -6
- 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 +26 -5
- package/dist/components/eds-input-search2.js +24 -2
- package/dist/components/eds-input-select2.js +4 -1
- package/dist/components/eds-input2.js +3 -5
- package/dist/components/eds-link2.js +22 -14
- package/dist/components/eds-login2.js +1 -1
- package/dist/components/eds-matomo-notice2.js +32 -4
- package/dist/components/eds-modal.js +6 -6
- package/dist/components/eds-section-heading2.js +3 -3
- package/dist/components/eds-social-networks2.js +1 -1
- package/dist/components/eds-splash-screen2.js +25 -14
- package/dist/components/eds-steps-v2.d.ts +11 -0
- package/dist/components/eds-steps-v2.js +137 -0
- package/dist/components/eds-steps.js +1 -92
- package/dist/{esm/eds-steps.entry.js → components/eds-steps2.js} +86 -9
- package/dist/components/eds-switch.js +2 -2
- package/dist/components/eds-table2.js +41 -26
- package/dist/components/eds-tabs.js +2 -2
- package/dist/components/eds-tag2.js +1 -1
- package/dist/components/eds-timeline.js +7 -2
- package/dist/components/eds-toast-manager.js +1 -1
- package/dist/components/eds-tooltip.js +1 -1
- package/dist/components/eds-trl.js +1 -1
- package/dist/components/eds-user.js +36 -25
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +69 -3
- package/dist/components/logo-variations-horizontal2.js +2 -2
- package/dist/components/logo-variations-tabs.d.ts +11 -0
- package/dist/components/{eds-logo-variations.js → logo-variations-tabs.js} +8 -8
- package/dist/components/logo-variations-vertical2.js +2 -2
- package/dist/components/logo-wrong-usage.js +2 -2
- package/dist/components/minus.js +11 -0
- package/dist/components/p-024c7937.js +1 -0
- package/dist/components/p-032f9f64.entry.js +1 -0
- package/dist/components/p-05754401.js +1 -0
- package/dist/components/p-058cf100.entry.js +1 -0
- package/dist/components/p-063b0683.entry.js +1 -0
- package/dist/components/p-0ce924b1.entry.js +1 -0
- package/dist/components/p-18eb23ff.entry.js +1 -0
- package/dist/components/{p-43b3579a.entry.js → p-1aab55cf.entry.js} +1 -1
- package/dist/components/p-1b2913c8.js +1 -0
- package/dist/components/p-1b4e9576.entry.js +1 -0
- package/dist/components/p-20b3a999.entry.js +1 -0
- package/dist/components/{p-43350dff.entry.js → p-21a746a4.entry.js} +1 -1
- package/dist/components/p-29e807f5.entry.js +1 -0
- package/dist/components/{p-a5c61d1c.entry.js → p-2c1be2bb.entry.js} +1 -1
- package/dist/components/p-30a319d5.entry.js +1 -0
- package/dist/components/p-35ed7ebf.entry.js +1 -0
- package/dist/components/p-376b706b.entry.js +1 -0
- package/dist/components/p-3932d0af.entry.js +1 -0
- package/dist/components/{p-56ec190f.entry.js → p-3a7be9a7.entry.js} +1 -1
- package/dist/components/{p-5e2216ae.entry.js → p-3f480c3c.entry.js} +1 -1
- package/dist/components/p-41e89554.entry.js +1 -0
- package/dist/components/{p-8b70a350.entry.js → p-424ba743.entry.js} +1 -1
- package/dist/components/p-435a8942.entry.js +1 -0
- package/dist/components/p-4c7852f8.entry.js +1 -0
- package/dist/components/p-4e8a317b.entry.js +1 -0
- package/dist/components/{p-ad746789.entry.js → p-526cdc57.entry.js} +1 -1
- package/dist/components/p-52913e2e.entry.js +1 -0
- package/dist/components/{p-8e548691.entry.js → p-59d963d1.entry.js} +1 -1
- package/dist/components/{p-0443ac40.entry.js → p-622dd2a1.entry.js} +1 -1
- package/dist/components/p-66bb44c9.entry.js +1 -0
- package/dist/components/p-694fc085.js +1 -0
- package/dist/components/{p-5c12a0df.entry.js → p-6dc26e53.entry.js} +1 -1
- package/dist/components/p-7198c024.js +1 -0
- package/dist/components/p-78fa7132.entry.js +1 -0
- package/dist/components/p-7dce734a.entry.js +1 -0
- package/dist/components/{p-62f2f274.entry.js → p-7fa88255.entry.js} +1 -1
- package/dist/components/p-83936521.entry.js +1 -0
- package/dist/components/p-8527ef5f.entry.js +1 -0
- package/dist/components/{p-4cd69983.entry.js → p-85ad681a.entry.js} +1 -1
- package/dist/components/p-8653bc36.entry.js +1 -0
- package/dist/components/p-86bb73dc.js +1 -0
- package/dist/components/p-8baa7e01.entry.js +1 -0
- package/dist/components/p-8e3c6c63.entry.js +1 -0
- package/dist/components/{p-f905ac92.entry.js → p-91440d2f.entry.js} +1 -1
- package/dist/components/p-923f67b5.entry.js +1 -0
- package/dist/components/p-93093977.entry.js +1 -0
- package/dist/components/{p-a91ab66e.entry.js → p-941240b5.entry.js} +1 -1
- package/dist/components/p-97e95520.entry.js +1 -0
- package/dist/components/p-9873ebec.entry.js +1 -0
- package/dist/components/{p-9eb2e870.entry.js → p-9a1a6df1.entry.js} +1 -1
- package/dist/components/{p-0e0106fc.entry.js → p-9cbcccf8.entry.js} +1 -1
- package/dist/components/p-a1d55013.entry.js +1 -0
- package/dist/components/p-a8b0fe92.entry.js +1 -0
- package/dist/components/p-acc4d234.entry.js +1 -0
- package/dist/components/p-b0b37831.entry.js +1 -0
- package/dist/components/p-b299b89a.entry.js +1 -0
- package/dist/components/p-b2b46793.entry.js +1 -0
- package/dist/components/p-b47d115d.entry.js +1 -0
- package/dist/components/p-b55b0091.entry.js +1 -0
- package/dist/components/p-b73410de.js +1 -0
- package/dist/components/p-b76aa402.entry.js +1 -0
- package/dist/components/p-b96fc468.entry.js +1 -0
- package/dist/components/p-bab07ba6.entry.js +1 -0
- package/dist/components/p-bcbc7b7f.entry.js +1 -0
- package/dist/components/p-c1e4ef92.js +1 -0
- package/dist/components/p-c86243a3.entry.js +1 -0
- package/dist/components/p-c8abff96.entry.js +1 -0
- package/dist/components/p-cccff1e3.entry.js +1 -0
- package/dist/components/p-cd624044.entry.js +1 -0
- package/dist/components/p-cdc36ea8.entry.js +1 -0
- package/dist/components/p-cdf19579.js +1 -0
- package/dist/components/p-d525ed36.entry.js +1 -0
- package/dist/components/p-d94a44b9.entry.js +1 -0
- package/dist/components/p-d962849c.js +1 -0
- package/dist/components/p-ea089f4e.entry.js +1 -0
- package/dist/components/p-eebf7ebf.entry.js +1 -0
- package/dist/components/p-efc73304.entry.js +1 -0
- package/dist/components/p-f13e9ab1.entry.js +1 -0
- package/dist/components/p-f48a4313.entry.js +1 -0
- package/dist/components/paper.js +15 -0
- package/dist/components/plus.js +12 -0
- package/dist/components/portal.js +18 -0
- package/dist/components/primary.js +1 -1
- package/dist/components/primary2.js +1 -1
- package/dist/components/private.js +25 -0
- package/dist/components/public.js +16 -0
- package/dist/components/secondary.js +1 -1
- package/dist/components/secondary2.js +7 -7
- package/dist/components/support.js +31 -18
- package/dist/components/support2.js +3 -3
- package/dist/components/svg-repository.d.ts +11 -0
- package/dist/components/{eds-svg-repository.js → svg-repository.js} +35 -30
- package/dist/components/token-list2.js +3 -3
- 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 +3 -3
- package/dist/components/tutotial.js +27 -0
- package/dist/components/unknown.js +22 -0
- package/dist/components/up-and-down.js +12 -0
- package/dist/esm/bookmark-c200037c.js +16 -0
- package/dist/esm/color-primary-palette_6.entry.js +44 -31
- package/dist/esm/components-section.entry.js +135 -0
- package/dist/esm/components.js +1 -1
- package/dist/esm/correct-use-of-colors.entry.js +1 -1
- package/dist/esm/{eds-docs-palettes.entry.js → docs-palettes.entry.js} +3 -3
- package/dist/esm/{eds-docs-tokens.entry.js → docs-tokens.entry.js} +3 -3
- package/dist/esm/eds-accordion.entry.js +82 -0
- package/dist/esm/eds-alert.entry.js +11 -4
- package/dist/esm/eds-app-root.entry.js +1 -1
- package/dist/esm/eds-avatar_24.entry.js +2073 -0
- package/dist/esm/eds-breadcrumb.entry.js +6 -2
- package/dist/esm/{eds-avatar_4.entry.js → eds-card-desc_3.entry.js} +4 -70
- package/dist/esm/eds-card-generic.entry.js +1 -1
- package/dist/esm/eds-card-project.entry.js +1 -1
- package/dist/esm/eds-card-tags.entry.js +1 -1
- package/dist/esm/eds-card-tool.entry.js +1 -1
- package/dist/esm/eds-card-wrapper.entry.js +1 -1
- package/dist/esm/eds-code-block.entry.js +1 -1
- package/dist/esm/eds-cookies-preference.entry.js +1 -1
- package/dist/esm/eds-feedback.entry.js +2 -2
- package/dist/esm/eds-frame.entry.js +7 -13
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
- package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
- package/dist/esm/eds-icon-bookmark.entry.js +14 -0
- package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
- package/dist/esm/eds-icon-close.entry.js +1 -1
- package/dist/esm/eds-icon-copy.entry.js +1 -1
- package/dist/esm/eds-icon-eu.entry.js +1 -1
- package/dist/esm/eds-icon-external.entry.js +14 -0
- package/dist/esm/eds-icon-gitlab.entry.js +1 -1
- package/dist/esm/eds-icon-loader.entry.js +1 -1
- package/dist/esm/eds-icon-menu.entry.js +1 -1
- package/dist/esm/eds-icon-minus.entry.js +14 -0
- package/dist/esm/eds-icon-more.entry.js +1 -1
- package/dist/esm/eds-icon-paper.entry.js +14 -0
- package/dist/esm/eds-icon-plus.entry.js +14 -0
- package/dist/esm/eds-icon-portal.entry.js +14 -0
- package/dist/esm/eds-icon-private.entry.js +14 -0
- package/dist/esm/eds-icon-public.entry.js +14 -0
- package/dist/esm/eds-icon-search.entry.js +1 -1
- package/dist/esm/eds-icon-star.entry.js +1 -1
- package/dist/esm/eds-icon-success.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
- package/dist/esm/eds-icon-tutorial.entry.js +14 -0
- package/dist/esm/eds-icon-unknown.entry.js +14 -0
- package/dist/esm/eds-icon-updown.entry.js +14 -0
- package/dist/esm/eds-login_2.entry.js +23 -14
- package/dist/esm/eds-matomo-notice.entry.js +119 -0
- package/dist/esm/eds-modal.entry.js +6 -6
- package/dist/esm/eds-pagination_2.entry.js +398 -0
- package/dist/esm/eds-section-core_2.entry.js +3 -3
- package/dist/esm/eds-switch.entry.js +2 -2
- package/dist/esm/eds-tabs.entry.js +2 -2
- package/dist/esm/eds-timeline.entry.js +5 -1
- package/dist/esm/eds-toast-manager.entry.js +1 -1
- package/dist/esm/eds-tooltip.entry.js +1 -1
- package/dist/esm/eds-trl.entry.js +1 -1
- package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
- package/dist/esm/index-8a71b9a7.js +82 -50
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logo-space.entry.js +2 -2
- package/dist/esm/logo-variations-horizontal_2.entry.js +4 -4
- package/dist/esm/{eds-logo-variations.entry.js → logo-variations-tabs.entry.js} +3 -3
- package/dist/esm/logo-wrong-usage.entry.js +2 -2
- package/dist/esm/minus-b30a7c71.js +11 -0
- package/dist/esm/paper-8e74ea31.js +15 -0
- package/dist/esm/plus-89c07be2.js +12 -0
- package/dist/esm/portal-d6c8ce56.js +18 -0
- package/dist/esm/private-1c25ff8e.js +25 -0
- package/dist/esm/public-d4d8c585.js +16 -0
- package/dist/esm/{eds-svg-repository.entry.js → svg-repository.entry.js} +30 -25
- package/dist/esm/token-list_3.entry.js +5 -5
- package/dist/esm/token-ratios.entry.js +1 -1
- package/dist/esm/token-typography.entry.js +3 -3
- package/dist/esm/tutotial-150ee1fd.js +27 -0
- package/dist/esm/unknown-ed01a24c.js +22 -0
- package/dist/esm/up-and-down-d747abee.js +12 -0
- package/dist/hydrate/index.js +1492 -1176
- package/dist/hydrate/index.mjs +1492 -1176
- package/dist/stencil.config.js +1 -32
- package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +11 -1
- package/dist/types/components/eds-accordion/eds-accordion.d.ts +4 -2
- package/dist/types/components/eds-accordion/eds-accordion.stories.d.ts +1 -1
- package/dist/types/components/eds-alert/eds-alert.d.ts +5 -0
- package/dist/types/components/eds-alert/eds-alert.stories.d.ts +7 -0
- package/dist/types/components/eds-avatar/eds-avatar.d.ts +0 -2
- package/dist/types/components/eds-avatar/eds-avatar.stories.d.ts +0 -9
- package/dist/types/components/eds-breadcrump/eds-breadcrumb.stories.d.ts +8 -3
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.d.ts +3 -0
- package/dist/types/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.d.ts +1 -1
- package/dist/types/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-external/eds-icon-external.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-minus/eds-icon-minus.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-paper/eds-icon-paper.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-plus/eds-icon-plus.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-portal/eds-icon-portal.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-private/eds-icon-private.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-public/eds-icon-public.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-unknown/eds-icon-unknown.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-updown/eds-icon-updown.d.ts +10 -0
- package/dist/types/components/eds-input-elements/eds-input/eds-input.d.ts +0 -2
- package/dist/types/components/eds-input-elements/eds-input-label/eds-input-label.d.ts +13 -0
- package/dist/types/components/eds-input-elements/eds-input-range/eds-input-range.d.ts +33 -0
- package/dist/types/components/eds-input-elements/eds-input-search/eds-input-search.d.ts +39 -0
- package/dist/types/components/eds-input-field/eds-input-field.d.ts +3 -0
- package/dist/types/components/eds-pagination/eds-pagination.stories.d.ts +0 -8
- package/dist/types/components/eds-steps/eds-steps.d.ts +17 -0
- package/dist/types/components/eds-table/eds-table.d.ts +5 -1
- package/dist/types/components.d.ts +594 -470
- package/dist/types/eds-docs-ui/colors/color-palette/support.d.ts +1 -0
- package/dist/types/eds-docs-ui/{eds-logo-variations/eds-logo-variations.d.ts → components-section/components-section.d.ts} +1 -1
- package/dist/types/eds-docs-ui/components-section/functional/angular.d.ts +2 -0
- package/dist/types/eds-docs-ui/components-section/functional/installation.d.ts +2 -0
- package/dist/types/eds-docs-ui/components-section/functional/overview.d.ts +2 -0
- package/dist/types/eds-docs-ui/components-section/functional/react.d.ts +2 -0
- package/dist/types/eds-docs-ui/components-section/functional/usage.d.ts +2 -0
- package/dist/types/eds-docs-ui/components-section/functional/vue.d.ts +2 -0
- package/dist/types/eds-docs-ui/{eds-docs-tokens/eds-docs-tokens.d.ts → design-tokens/docs-tokens/docs-tokens.d.ts} +1 -1
- package/dist/types/eds-docs-ui/{eds-docs-palettes/eds-docs-palettes.d.ts → docs-palettes/docs-palettes.d.ts} +1 -1
- package/dist/types/eds-docs-ui/{eds-components-section/eds-components-section.d.ts → logo/logo-variations-tabs/logo-variations.d.ts} +1 -1
- package/dist/types/eds-docs-ui/{eds-svg-repository/eds-svg-repository.d.ts → svg-repository/svg-repository.d.ts} +1 -1
- package/dist/types/shared-ui/eds-card-section/eds-card-section.stories.d.ts +1 -6
- package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +4 -5
- package/dist/types/shared-ui/eds-footer/eds-footer.stories.d.ts +4 -9
- package/dist/types/{components/eds-form-v2/eds-form-v2.d.ts → shared-ui/eds-form/eds-form.d.ts} +2 -1
- package/dist/types/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.d.ts +10 -9
- package/dist/types/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.stories.d.ts +3 -3
- package/dist/types/shared-ui/eds-login/eds-login.d.ts +3 -0
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +11 -0
- package/dist/types/shared-ui/eds-splash-screen/eds-splash-screen.d.ts +2 -0
- package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.d.ts +57 -0
- package/dist/types/shared-ui/eds-user/eds-user.d.ts +13 -11
- package/dist/types/utils/eds-form/formUtils.d.ts +1 -1
- package/package.json +4 -4
- package/dist/cjs/eds-accordion_22.cjs.entry.js +0 -1959
- package/dist/cjs/eds-components-section.cjs.entry.js +0 -120
- package/dist/cjs/eds-dropdown.cjs.entry.js +0 -125
- package/dist/cjs/eds-form.cjs.entry.js +0 -344
- package/dist/cjs/eds-steps.cjs.entry.js +0 -55
- package/dist/cjs/eds-user.cjs.entry.js +0 -29
- package/dist/cjs/eds-vertical-stepper.cjs.entry.js +0 -45
- package/dist/cjs/formUtils-4315a99c.js +0 -228
- package/dist/cjs/token-spacing.cjs.entry.js +0 -16
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.stories.js +0 -31
- package/dist/collection/components/eds-form/eds-form.css +0 -7153
- package/dist/collection/components/eds-form/eds-form.js +0 -609
- package/dist/collection/components/eds-form/eds-form.stories.js +0 -86
- package/dist/collection/components/eds-form-v2/eds-form-v2.css +0 -7153
- package/dist/collection/components/eds-steps/eds-vertical-stepper.css +0 -78
- package/dist/collection/components/eds-steps/eds-vertical-stepper.js +0 -72
- package/dist/collection/eds-docs-ui/functional/angular.js +0 -2
- package/dist/collection/eds-docs-ui/functional/installation.js +0 -2
- package/dist/collection/eds-docs-ui/functional/overview.js +0 -2
- package/dist/collection/eds-docs-ui/functional/react.js +0 -2
- package/dist/collection/eds-docs-ui/functional/usage.js +0 -2
- package/dist/collection/eds-docs-ui/functional/vue.js +0 -2
- package/dist/components/eds-components-section.d.ts +0 -11
- package/dist/components/eds-components-section.js +0 -171
- package/dist/components/eds-form-v2.js +0 -317
- package/dist/components/eds-vertical-stepper.d.ts +0 -11
- package/dist/components/eds-vertical-stepper.js +0 -86
- package/dist/components/formUtils.js +0 -223
- package/dist/components/p-033480b2.entry.js +0 -1
- package/dist/components/p-066f6d27.entry.js +0 -1
- package/dist/components/p-117d180f.entry.js +0 -1
- package/dist/components/p-2354daeb.entry.js +0 -1
- package/dist/components/p-2b31ca60.entry.js +0 -1
- package/dist/components/p-3368cfd5.entry.js +0 -1
- package/dist/components/p-33c5b937.entry.js +0 -1
- package/dist/components/p-467fe746.entry.js +0 -1
- package/dist/components/p-46a6042d.entry.js +0 -1
- package/dist/components/p-4a860d5b.entry.js +0 -1
- package/dist/components/p-4ac27fe7.entry.js +0 -1
- package/dist/components/p-4b2e6f03.entry.js +0 -1
- package/dist/components/p-5520a3b6.entry.js +0 -1
- package/dist/components/p-552b6a50.entry.js +0 -1
- package/dist/components/p-56b4e0fe.entry.js +0 -1
- package/dist/components/p-5aff1ea0.entry.js +0 -1
- package/dist/components/p-5e63e8a5.entry.js +0 -1
- package/dist/components/p-60e7e745.entry.js +0 -1
- package/dist/components/p-6fd0c3b3.entry.js +0 -1
- package/dist/components/p-77cc7c02.entry.js +0 -1
- package/dist/components/p-79c14cf1.entry.js +0 -1
- package/dist/components/p-7dd81017.entry.js +0 -1
- package/dist/components/p-7e0dd5d8.entry.js +0 -1
- package/dist/components/p-80dba155.js +0 -1
- package/dist/components/p-8154d013.entry.js +0 -1
- package/dist/components/p-86eed1b7.entry.js +0 -1
- package/dist/components/p-90503a64.entry.js +0 -1
- package/dist/components/p-90f85604.entry.js +0 -1
- package/dist/components/p-94698510.entry.js +0 -1
- package/dist/components/p-950ecb1c.entry.js +0 -1
- package/dist/components/p-9b9fba38.entry.js +0 -1
- package/dist/components/p-9ebc84d6.entry.js +0 -1
- package/dist/components/p-a6cd418e.entry.js +0 -1
- package/dist/components/p-a8dd1953.entry.js +0 -1
- package/dist/components/p-ab292dd5.entry.js +0 -1
- package/dist/components/p-b80a9020.entry.js +0 -1
- package/dist/components/p-c06d4f14.entry.js +0 -1
- package/dist/components/p-c12d9350.entry.js +0 -1
- package/dist/components/p-c3dda942.entry.js +0 -1
- package/dist/components/p-c6b32753.entry.js +0 -1
- package/dist/components/p-e9a533e0.entry.js +0 -1
- package/dist/components/p-eac63c82.entry.js +0 -1
- package/dist/components/p-f5959676.entry.js +0 -1
- package/dist/components/p-fba4080d.entry.js +0 -1
- package/dist/components/p-fc619588.entry.js +0 -1
- package/dist/components/p-fcc32210.entry.js +0 -1
- package/dist/eds/components.js +0 -18
- package/dist/eds/components.js.map +0 -1
- package/dist/esm/eds-accordion_22.entry.js +0 -1934
- package/dist/esm/eds-components-section.entry.js +0 -116
- package/dist/esm/eds-dropdown.entry.js +0 -121
- package/dist/esm/eds-form.entry.js +0 -340
- package/dist/esm/eds-user.entry.js +0 -25
- package/dist/esm/eds-vertical-stepper.entry.js +0 -41
- package/dist/esm/formUtils-ac68474d.js +0 -223
- package/dist/esm/token-spacing.entry.js +0 -12
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.stories.d.ts +0 -32
- package/dist/types/components/eds-form/eds-form.d.ts +0 -148
- package/dist/types/components/eds-form/eds-form.stories.d.ts +0 -42
- package/dist/types/components/eds-steps/eds-vertical-stepper.d.ts +0 -22
- package/dist/types/eds-docs-ui/functional/angular.d.ts +0 -2
- package/dist/types/eds-docs-ui/functional/installation.d.ts +0 -2
- package/dist/types/eds-docs-ui/functional/overview.d.ts +0 -2
- package/dist/types/eds-docs-ui/functional/react.d.ts +0 -2
- package/dist/types/eds-docs-ui/functional/usage.d.ts +0 -2
- package/dist/types/eds-docs-ui/functional/vue.d.ts +0 -2
- /package/dist/types/{components/eds-form-v2/eds-form-v2.stories.d.ts → shared-ui/eds-form/eds-form.stories.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as e}from"./p-cccacbd3.js";import{g as r}from"./p-50e27321.js";const a=class{constructor(e){s(this,e),this.class=""}render(){return e("span",{key:"804e76ad1a00913b2e5ac695e43eeb33f1fd9727",class:this.class,innerHTML:r})}};export{a as eds_icon_gitlab}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as c,h as s}from"./p-cccacbd3.js";import{c as e}from"./p-ece618b3.js";const r=class{constructor(s){c(this,s),this.class=""}render(){return s("span",{key:"6c98bd673a1562fda009e95e4e4562d1e7f0ccfd",class:this.class,innerHTML:e})}};export{r as eds_icon_chevron_left}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as c}from"./p-cccacbd3.js";import{s as r}from"./p-e2d5a487.js";const t=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"dd9df55fa03c1b27f2f931c7d07ccc69ee940ff4",class:this.class,innerHTML:r})}};export{t as eds_icon_star}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t}from"./p-cccacbd3.js";const i={sans:"Inter, Helvetica, Arial, sans-serif"},n={"heading-01":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"42px",lineHeight:"100%",letterSpacing:"-0.01em"},md:{fontSize:"48px"},lg:{fontSize:"72px"},xl:{fontSize:"83px"}},"heading-02":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"36px",lineHeight:"100%",letterSpacing:"-0.01em"},lg:{fontSize:"48px"},xl:{fontSize:"60px"}},"heading-03":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"36px",lineHeight:"100%",letterSpacing:"-0.01em"},xl:{fontSize:"42px"}},"heading-04":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"28px",lineHeight:"100%",letterSpacing:"-0.01em"},xl:{fontSize:"36px"}},"heading-05":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"28px",lineHeight:"110%",letterSpacing:"-0.01em"}},"heading-06":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"22px",lineHeight:"120%"}},"body-01":{sm:{fontFamily:"var(--sans)",fontWeight:600,fontSize:"20px",lineHeight:"140%",letterSpacing:"-0.01em"}},"body-02":{sm:{fontFamily:"var(--sans)",fontWeight:600,fontSize:"17px",lineHeight:"150%"}},"ui-01":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"18px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-02":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"16px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-02-light":{sm:{fontFamily:"var(--sans)",fontWeight:600,fontSize:"16px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-03":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"14px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-03-light":{sm:{fontFamily:"var(--sans)",fontWeight:600,fontSize:"14px",lineHeight:"130%",letterSpacing:"-0.01em"}},"ui-04":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"12px",lineHeight:"100%",letterSpacing:"-0.01em"}},"ui-05":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"10px",lineHeight:"110%",letterSpacing:"-0.01em"}},caption:{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"12px",lineHeight:"120%"}},"display-01":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"120px",lineHeight:"100%",letterSpacing:"-0.01em"},lg:{fontSize:"150px"}}},a=class{constructor(t){e(this,t)}render(){return t("section",{key:"
|
|
1
|
+
import{r as e,h as t}from"./p-cccacbd3.js";const i={sans:"Inter, Helvetica, Arial, sans-serif"},n={"heading-01":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"42px",lineHeight:"100%",letterSpacing:"-0.01em"},md:{fontSize:"48px"},lg:{fontSize:"72px"},xl:{fontSize:"83px"}},"heading-02":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"36px",lineHeight:"100%",letterSpacing:"-0.01em"},lg:{fontSize:"48px"},xl:{fontSize:"60px"}},"heading-03":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"36px",lineHeight:"100%",letterSpacing:"-0.01em"},xl:{fontSize:"42px"}},"heading-04":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"28px",lineHeight:"100%",letterSpacing:"-0.01em"},xl:{fontSize:"36px"}},"heading-05":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"28px",lineHeight:"110%",letterSpacing:"-0.01em"}},"heading-06":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"22px",lineHeight:"120%"}},"body-01":{sm:{fontFamily:"var(--sans)",fontWeight:600,fontSize:"20px",lineHeight:"140%",letterSpacing:"-0.01em"}},"body-02":{sm:{fontFamily:"var(--sans)",fontWeight:600,fontSize:"17px",lineHeight:"150%"}},"ui-01":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"18px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-02":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"16px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-02-light":{sm:{fontFamily:"var(--sans)",fontWeight:600,fontSize:"16px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-03":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"14px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-03-light":{sm:{fontFamily:"var(--sans)",fontWeight:600,fontSize:"14px",lineHeight:"130%",letterSpacing:"-0.01em"}},"ui-04":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"12px",lineHeight:"100%",letterSpacing:"-0.01em"}},"ui-05":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"10px",lineHeight:"110%",letterSpacing:"-0.01em"}},caption:{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"12px",lineHeight:"120%"}},"display-01":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"120px",lineHeight:"100%",letterSpacing:"-0.01em"},lg:{fontSize:"150px"}}},a=class{constructor(t){e(this,t)}render(){return t("section",{key:"b2e3951c7419dccdd31e446898a9ad126e36398e",class:"w-full"},t("ul",{key:"78ec896dad35353bcdc4d9f9d4b68873e1274933",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(n).filter((([e])=>"displays"!==e)).flatMap((([e,n])=>Object.entries(n).map((([n,a])=>t("li",{class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},t("div",{class:"w-full p-4 block lg:flex items-center border border-soft rounded"},t("div",{class:"mr-auto hidden lg:block",style:{fontFamily:i.sans,fontWeight:a.fontWeight,fontSize:a.fontSize,lineHeight:a.lineHeight,letterSpacing:a.letterSpacing}},t("span",{class:"text-default font-bold"},`${e} (${n})`)),t("div",{class:"mr-auto block lg:hidden p-4"},t("span",{class:"text-default f-heading-05"},`${e} (${n})`)),t("div",{class:"ml-auto"},t("eds-code-block",{code:[a.fontSize&&`font-size: ${a.fontSize};`,a.lineHeight&&`line-height: ${a.lineHeight};`,a.letterSpacing&&`letter-spacing: ${a.letterSpacing};`,a.fontWeight&&`font-weight: ${a.fontWeight};`,a.fontFamily&&`font-family: ${a.fontFamily};`].filter(Boolean).join("\n"),language:"css",class:"min-w-[250px] mb-4"}),t("eds-code-block",{code:`f-${e}`,language:"Utility Class",class:"min-w-[250px] mb-4"}),t("eds-code-block",{code:`${n}:f-${e}`,language:"Screen",class:"min-w-[250px] mb-4"}),t("eds-code-block",{code:`--var(--f-${e}-fontFamily)`,class:"min-w-[250px] mb-4"}),t("eds-code-block",{code:`--var(--f-${e}-fontWeight)`,class:"min-w-[250px] mb-4"}),t("eds-code-block",{code:`--var(--f-${e}-fontSize)`,class:"min-w-[250px] mb-4"}),t("eds-code-block",{code:`--var(--f-${e}-lineHeight)`,class:"min-w-[250px] mb-4"}),t("eds-code-block",{code:`--var(--f-${e}-letterSpacing)`,class:"min-w-[250px] mb-4"}),t("eds-code-block",{code:"--sans: Inter, Helvetica, Arial, sans-serif;",class:"min-w-[250px] mb-4"}))))))))))}};export{a as token_typography}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,h as t,g as e}from"./p-cccacbd3.js";import{s as r}from"./p-13efafb9.js";const o=class{constructor(t){i(this,t),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="h5",this.tags="",this.tiny=!1,this.bg=!0,this.withHover=!0,this.external=!1,this.hierarchy=!0}get parsedTags(){if("object"==typeof this.tags)return this.tags;if("string"==typeof this.tags)try{return JSON.parse(this.tags)}catch(i){return console.error("Error parsing links prop:",i),[]}return[]}componentWillLoad(){}parseTags(){return this.tags.split(",")}articleClasses(){return[this.tiny?"min-h-120":"min-h-156",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 i;r({category:"ui-component",tag:this.el.tagName.toLowerCase(),name:(null===(i=this.cardTitle)||void 0===i?void 0:i.toLowerCase())||"",action:"click"})}render(){return t("article",{key:"
|
|
1
|
+
import{r as i,h as t,g as e}from"./p-cccacbd3.js";import{s as r}from"./p-13efafb9.js";const o=class{constructor(t){i(this,t),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="h5",this.tags="",this.tiny=!1,this.bg=!0,this.withHover=!0,this.external=!1,this.hierarchy=!0}get parsedTags(){if("object"==typeof this.tags)return this.tags;if("string"==typeof this.tags)try{return JSON.parse(this.tags)}catch(i){return console.error("Error parsing links prop:",i),[]}return[]}componentWillLoad(){}parseTags(){return this.tags.split(",")}articleClasses(){return[this.tiny?"min-h-120":"min-h-156",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 i;r({category:"ui-component",tag:this.el.tagName.toLowerCase(),name:(null===(i=this.cardTitle)||void 0===i?void 0:i.toLowerCase())||"",action:"click"})}render(){return t("article",{key:"5ecce6667d066e78586f795ab260bed569434c4f",class:`${this.el.tagName.toLowerCase()} ${this.articleClasses()}`,onClick:()=>this.handleClick()},t("eds-card-title",{key:"a6ff863ade669db7494c763d563809dbfddb3f2c","heading-level":this.headingLevel,titleClass:this.image?"f-ui-01":void 0,"card-title":this.cardTitle,url:this.url,"external-link":this.external,hierarchy:this.hierarchy}),this.description&&t("eds-card-desc",{key:"6f5328fba79a564e6e0d737b2d64a31e50ea6434",class:"mt-8","truncate-lines":"3",description:this.description}),this.image?t("eds-img",{src:this.image,alt:"Sample Image",width:200,height:150}):this.avatar||this.shortAbbreviation?t("eds-avatar",{class:"order-first mb-12",picture:this.avatar,initials:this.shortAbbreviation}):null,t("div",{key:"b1a42a1db9274ebf1098143d56e1ad8a08825c4c",class:"flex flex-wrap gap-y-4"},this.parsedTags.map(((i,e)=>t("eds-tag",{key:e,intent:i.style,label:i.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_tool}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as t}from"./p-cccacbd3.js";const c={"1x1":"1/1","21x9":"21/9","16x9":"16/9","3x2":"3/2","4x3":"4/3","4x5":"4/5"},s=class{constructor(t){e(this,t)}render(){return t("section",{key:"595dc0d77e33bfb2109666d185933c9f5b23616e",class:"w-full"},t("eds-section-core",{key:"a3217b7808a1bc810ff0b158c4e6547bc2a77b06",tag:"div","section-title":"Aspect Ratios","heading-level":"h3"},t("ul",{key:"505f84a67b6eba8c33d1484c4cb0e94f4de68bc0",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(c).map((([e,c])=>t("li",{class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},t("div",{class:"container ratio-box flex items-center justify-center text-center border-2 border-soft",style:{aspectRatio:c.replace("/",":"),width:"100%",maxWidth:"300px"}},t("span",{class:"text-default font-bold mr-auto"},"aspect-",e),t("span",{class:"mt-2 text-sm ml-auto"},c))))))))}};export{s as token_ratios}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as s,h as i}from"./p-cccacbd3.js";const
|
|
1
|
+
import{r as t,c as s,h as i}from"./p-cccacbd3.js";const e=class{constructor(i){t(this,i),this.change=s(this,"change",7),this.toggleSwitch=()=>{this.disabled||(this.checked=!this.checked,this.change.emit(this.checked))},this.checked=!1,this.disabled=!1,this.labelOn="",this.labelOff=""}render(){const t=this.labelOn||this.labelOff?this.checked?this.labelOn:this.labelOff:"Toggle switch";return i("div",{key:"842d7ecb771ab848481c9f1f6a1aa2f5f04505a7",class:"switch-container"},this.labelOff&&i("span",{key:"f20f4293896dcbde94346e82d10ed748bdeae0f6",class:"switch-label switch-label--off"},this.labelOff),i("button",{key:"ac485fe118bae7f6a42ddb9f7edeccba2224312c",type:"button",role:"switch","aria-checked":this.checked?"true":"false","aria-disabled":this.disabled?"true":"false","aria-label":t,class:{switch:!0,"switch--checked":this.checked,"switch--disabled":this.disabled},onClick:this.toggleSwitch,disabled:this.disabled},i("span",{key:"3701615162b3b8946fa5b9040e77dfa20b7de3fe",class:"switch-handle"})),this.labelOn&&i("span",{key:"b57bd428c7d6818bcec1f069a920a7aa2a2e776d",class:"switch-label switch-label--on"},this.labelOn))}};e.style=":host{display:inline-block}.switch-container{display:inline-flex;align-items:center}.switch-label{font-size:14px;margin:0 8px}button.switch{position:relative;display:inline-flex;align-items:center;width:50px;height:26px;border:none;border-radius:13px;background-color:#ccc;padding:0;cursor:pointer;transition:background-color 0.2s}button.switch:focus{outline:none;box-shadow:0 0 0 2px #007aff}button.switch.switch--checked{background-color:var(--green-500)}button.switch.switch--disabled{opacity:0.6;cursor:not-allowed}.switch-handle{position:absolute;width:22px;height:22px;border-radius:50%;background-color:#fff;top:2px;left:2px;transition:transform 0.2s}button.switch.switch--checked .switch-handle{transform:translateX(24px)}";export{e as eds_switch}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as r}from"./p-cccacbd3.js";import{s as c}from"./p-2066b033.js";const a=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"6795d973d3a1fff27c2fd6181235d0284abaf3b7",class:this.class,innerHTML:c})}};export{a as eds_icon_search}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as c}from"./p-cccacbd3.js";import{p as r}from"./p-024c7937.js";const e=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"b3a338684e00d2d612a49734cbb3cfd8e44b4eee",class:this.class,innerHTML:r})}};export{e as eds_icon_public}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as n,g as t}from"./p-cccacbd3.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 p,v as a,d as h,e as d,f as c,g as f}from"./p-83ff4a95.js";import{v as m}from"./p-9c5a453b.js";import{g as C}from"./p-50e27321.js";import{c as w}from"./p-1ded61bd.js";import{c as g}from"./p-4587d0ef.js";import{c as v}from"./p-5d046674.js";import{c as u}from"./p-ece618b3.js";import{a as b}from"./p-32e6c4df.js";import{a as L}from"./p-c8e7c854.js";import{t as j}from"./p-373119b3.js";import{l as k}from"./p-54b8f143.js";import{f as M}from"./p-4687b64c.js";import{y as x}from"./p-ecbb679f.js";import{m as H}from"./p-5ab1d64a.js";import{b as Z}from"./p-81899237.js";import{s as B}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 D}from"./p-aefcb641.js";import{m as _}from"./p-29041952.js";import{u as z}from"./p-46d0716d.js";import{c as N}from"./p-0be28996.js";import{u as O}from"./p-d962849c.js";import{t as S}from"./p-c776b6f8.js";import{t as J}from"./p-ba720bf3.js";import{s as R}from"./p-e2d5a487.js";import{b as U}from"./p-05754401.js";import{m as E}from"./p-86bb73dc.js";import{p as q}from"./p-b73410de.js";import{p as A}from"./p-cdf19579.js";import{p as F}from"./p-c1e4ef92.js";import{p as G}from"./p-694fc085.js";import{p as I}from"./p-024c7937.js";import{t as K}from"./p-7198c024.js";import{u as P}from"./p-1b2913c8.js";const Q=Object.freeze({__proto__:null,twitter:j,linkedin:k,facebook:M,youtube:x,mastodon:H,bluesky:Z,euSvg:r,arrowRight:L,arrowDiagonal:b,bookmark:U,chevronUp:w,chevronDown:g,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:N,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:C,loader:V,hLogoColor:e,hLogoBlack:s,hLogoColorWhite:i,hLogoWhite:l,hLogoWhiteNoBg:p,vLogoColor:a,vLogoBlack:h,vLogoColorWhite:d,vLogoWhite:c,vLogoWhiteNoBg:f,vLogoMargins:m,menu:D,minus:E,more:_,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>',plus:A,paper:q,privat:G,pub:I,portal:F,user:z,upDonw:P,search:B,success:y,tutorial:K,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:O,thumbsUp:S,thumbsDown:J,star:R,external:'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.5858 3H17V9.41421L14.5 6.91421L8.70712 12.7071L7.29291 11.2929L13.0858 5.5L10.5858 3Z" fill="currentColor"></path><path d="M8 4H5C3.89543 4 3 4.89543 3 6V15C3 16.1046 3.89543 17 5 17H14C15.1046 17 16 16.1046 16 15V12H14V15H5V6H8V4Z" fill="currentColor"></path></svg>'}),T=class{constructor(n){o(this,n)}getSvgData(){return Object.entries(Q).filter((([o])=>!o.toLowerCase().includes("logo")&&!o.toLowerCase().includes("eu"))).map((([o,n])=>({name:o,icon:n})))}get hostWidth(){return this.hostEl.parentElement?this.hostEl.parentElement.offsetWidth:400}render(){const o=this.getSvgData();return n("div",{key:"f9b58e4ab1104753ef5e26fa70af162d9e5ddb1c",class:"full-width"},n("eds-table",{key:"fe21b6043cc0fc6f96cb8359f3e7ace75d3f4639","table-data":JSON.stringify(o),config:JSON.stringify({icon:{format:"svg"},name:{format:"bold"}}),"rows-per-page":10,"search-enabled":!0,"pagination-enabled":!0}))}get hostEl(){return t(this)}};T.style=":host,.full-width{display:block;width:100%}";export{T as svg_repository}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as s,g as e}from"./p-cccacbd3.js";import{t as a}from"./p-22f9e720.js";const i=class{constructor(s){t(this,s),this.toastId=0,this.toasts=[]}connectedCallback(){a.init(this.hostElement),this.hostElement.addEventListener("show-toast",(t=>{const{message:s,intent:e}=t.detail;this.addToast(s,e)}))}addToast(t,s){const e=this.toastId++;this.toasts=[...this.toasts,{id:e,message:t,intent:s}]}removeToast(t){this.toasts=this.toasts.filter((s=>s.id!==t))}render(){return s("div",{key:"
|
|
1
|
+
import{r as t,h as s,g as e}from"./p-cccacbd3.js";import{t as a}from"./p-22f9e720.js";const i=class{constructor(s){t(this,s),this.toastId=0,this.toasts=[]}connectedCallback(){a.init(this.hostElement),this.hostElement.addEventListener("show-toast",(t=>{const{message:s,intent:e}=t.detail;this.addToast(s,e)}))}addToast(t,s){const e=this.toastId++;this.toasts=[...this.toasts,{id:e,message:t,intent:s}]}removeToast(t){this.toasts=this.toasts.filter((s=>s.id!==t))}render(){return s("div",{key:"0ca6de02db6bd537c7efe007c898480d07f69bc6",class:"toast-container"},this.toasts.map((t=>s("div",{key:t.id},s("eds-toast",{message:t.message,intent:t.intent,onClick:()=>this.removeToast(t.id)})))))}get hostElement(){return e(this)}};i.style=".toast-container{position:fixed;top:1rem;left:50%;transform:translateX(-50%);z-index:99999;display:flex;flex-direction:column;align-items:center;gap:1rem;width:100%;max-width:36rem;}.toast-wrapper{width:100%;padding:0 1rem;}.eds-toast{box-shadow:0px 4px 6px rgba(0, 0, 0, 0.1);border-radius:0.5rem;animation:fade-in 0.3s ease-out;}@keyframes fade-in{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}";export{i as eds_toast_manager}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as r}from"./p-cccacbd3.js";import{p as c}from"./p-b73410de.js";const a=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"cb9f7af8825527f86c200203611dae752cb3d647",class:this.class,innerHTML:c})}};export{a as eds_icon_paper}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as s}from"./p-cccacbd3.js";const t=class{constructor(s){e(this,s),this.tag="section",this.sectionTitle="",this.headingLevel="h2"}render(){return s(this.tag,{key:"39c4280156ca46b83538de499baa9b152360b1b4"},s("eds-section-heading",{key:"34da742e606f0e9bb485faac8aba1519eccc8934",headingLevel:this.headingLevel,sectionTitle:this.sectionTitle}),s("slot",{key:"517b8ecc112565e8c6bb0bf85b02525deaa6f9df"}))}};t.style="";const i=class{constructor(s){e(this,s),this.sectionTitle=void 0,this.withContainer=!0,this.headingLevel="h2",this.tag="div",this.spacingLarge=!1}getHeadingClass(){return{h1:"f-heading-01",h2:"f-heading-02",h3:"f-heading-03",h4:"f-heading-04",h5:"f-heading-05",h6:"f-heading-06"}[this.headingLevel]}render(){return s(this.tag,{key:"
|
|
1
|
+
import{r as e,h as s}from"./p-cccacbd3.js";const t=class{constructor(s){e(this,s),this.tag="section",this.sectionTitle="",this.headingLevel="h2"}render(){return s(this.tag,{key:"39c4280156ca46b83538de499baa9b152360b1b4"},s("eds-section-heading",{key:"34da742e606f0e9bb485faac8aba1519eccc8934",headingLevel:this.headingLevel,sectionTitle:this.sectionTitle}),s("slot",{key:"517b8ecc112565e8c6bb0bf85b02525deaa6f9df"}))}};t.style="";const i=class{constructor(s){e(this,s),this.sectionTitle=void 0,this.withContainer=!0,this.headingLevel="h2",this.tag="div",this.spacingLarge=!1}getHeadingClass(){return{h1:"f-heading-01",h2:"f-heading-02",h3:"f-heading-03",h4:"f-heading-04",h5:"f-heading-05",h6:"f-heading-06"}[this.headingLevel]}render(){return s(this.tag,{key:"961a672dc3b656b0a308131a2d334aca51df77f6",class:{"ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8":!0,container:this.withContainer,"pt-48":this.spacingLarge,"pt-28":!this.spacingLarge}},s(this.headingLevel,{key:"42eb2ccfba8c83cf140967e39fead6ebddc3a279",class:this.getHeadingClass()},this.sectionTitle))}};export{t as eds_section_core,i as eds_section_heading}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,g as s}from"./p-cccacbd3.js";const r=class{constructor(t){e(this,t),this.tiny=!1,this.withBg=!0,this.withHover=!0}hasSlot(e){return e?!!this.el.querySelector(`[slot="${e}"]`):!!this.el.querySelector(":not([slot])")}render(){const e=[this.tiny?"min-h-120":"min-h-156",this.withBg?"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(" ");return t("article",{key:"
|
|
1
|
+
import{r as e,h as t,g as s}from"./p-cccacbd3.js";const r=class{constructor(t){e(this,t),this.tiny=!1,this.withBg=!0,this.withHover=!0}hasSlot(e){return e?!!this.el.querySelector(`[slot="${e}"]`):!!this.el.querySelector(":not([slot])")}render(){const e=[this.tiny?"min-h-120":"min-h-156",this.withBg?"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(" ");return t("article",{key:"b860e65a1a943216793a5ce2f5a08d01249fc671",class:e},t("slot",{key:"3ea351da205f375ed746695762efc1f28d1fc3f0"}),this.hasSlot("footer")&&t("div",{key:"84d24bd248033d4855dd63dfa5042585ae61d64d",class:"mt-auto"},t("slot",{key:"c7a2530d70a93705097b9ac3b8be1a21551dd1fb",name:"footer"})))}get el(){return s(this)}};export{r as eds_card_wrapper}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as r}from"./p-cccacbd3.js";import{t}from"./p-7198c024.js";const c=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"9db1730236b54d01a4264e92465f9a953325f7ca",class:this.class,innerHTML:t})}};export{c as eds_icon_tutorial}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const n=' <svg\n width="12"\n height="12"\n viewBox="0 0 12 12"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M8 5V3C8 1.89543 7.10457 1 6 1V1C4.89543 1 4 1.89543 4 3V5"\n stroke="currentColor"\n stroke-width="1.5"\n />\n <rect\n x="2"\n y="5"\n width="8"\n height="6"\n rx="1"\n stroke="currentColor"\n stroke-width="1.5"\n />\n <circle cx="6" cy="8" r="1.5" fill="currentColor" />\n </svg>';export{n as p}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e}from"./p-cccacbd3.js";const s=class{constructor(e){t(this,e),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return e("token-list",{show:"background"});case 1:return e("token-list",{show:"text"});case 2:return e("token-list",{show:"border"});case 3:return e("token-radii",null);case 4:return e("token-list",{show:"outline"});case 5:return e("token-shadows",null);default:return e("p",null,"Content not available.")}}render(){return e("div",{key:"
|
|
1
|
+
import{r as t,h as e}from"./p-cccacbd3.js";const s=class{constructor(e){t(this,e),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return e("token-list",{show:"background"});case 1:return e("token-list",{show:"text"});case 2:return e("token-list",{show:"border"});case 3:return e("token-radii",null);case 4:return e("token-list",{show:"outline"});case 5:return e("token-shadows",null);default:return e("p",null,"Content not available.")}}render(){return e("div",{key:"29810a0ace60d2e5a0fc84d6715fc2fc89d6187f",class:"container"},this.renderContent())}};export{s as docs_tokens}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const n=' <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="M3 7.5L10 3L17 7.5L10 12L3 7.5Z"\n stroke="currentColor"\n stroke-width="1.5"\n stroke-linecap="round"\n />\n <path\n d="M5 8.5V13.2L10 16.5L15 13.6667V8.5"\n stroke="currentColor"\n stroke-width="1.5"\n />\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M16.8896 13.4492V7.5H18.3896V12.6081L16.8896 13.4492Z"\n fill="currentColor"\n />\n </svg>';export{n as t}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as r}from"./p-cccacbd3.js";import{t}from"./p-ba720bf3.js";const a=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"94d79a5d32574820ab3459708e3d8c4a3f28f79f",class:this.class,innerHTML:t})}};export{a as eds_icon_thumbs_down}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as c}from"./p-cccacbd3.js";import{p as r}from"./p-694fc085.js";const e=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"d57700e721a421e4c970a1e643d92548fcf2b18c",class:this.class,innerHTML:r})}};export{e as eds_icon_private}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as n,h as t,H as o}from"./p-cccacbd3.js";import{t as r}from"./p-22f9e720.js";function i(e){if(!(this instanceof i))throw new Error("The 'Keycloak' constructor must be invoked with 'new'.");if("string"!=typeof e&&!c(e))throw new Error("The 'Keycloak' constructor must be provided with a configuration object, or a URL to a JSON configuration file.");if(c(e)){const n="oidcProvider"in e?["clientId"]:["url","realm","clientId"];for(const t of n)if(!e[t])throw new Error(`The configuration object is missing the required '${t}' property.`)}var n,t,o=this,r=[],s={enable:!0,callbackList:[],interval:5};o.didInitialize=!1;var u=!0,l=U(console.info),d=U(console.warn);function f(){return void 0!==o.authServerUrl?"/"==o.authServerUrl.charAt(o.authServerUrl.length-1)?o.authServerUrl+"realms/"+encodeURIComponent(o.realm):o.authServerUrl+"/realms/"+encodeURIComponent(o.realm):void 0}function p(e,n){var t=e.code,r=e.error,i=e.prompt,a=(new Date).getTime();if(e.kc_action_status&&o.onActionUpdate&&o.onActionUpdate(e.kc_action_status,e.kc_action),r)if("none"!=i)if(e.error_description&&"authentication_expired"===e.error_description)o.login(e.loginOptions);else{var c={error:r,error_description:e.error_description};o.onAuthError&&o.onAuthError(c),n&&n.setError(c)}else n&&n.setSuccess();else if("standard"!=o.flow&&(e.access_token||e.id_token)&&p(e.access_token,null,e.id_token,!0),"implicit"!=o.flow&&t){var s="code="+t+"&grant_type=authorization_code",d=o.endpoints.token(),f=new XMLHttpRequest;f.open("POST",d,!0),f.setRequestHeader("Content-type","application/x-www-form-urlencoded"),s+="&client_id="+encodeURIComponent(o.clientId),s+="&redirect_uri="+e.redirectUri,e.pkceCodeVerifier&&(s+="&code_verifier="+e.pkceCodeVerifier),f.withCredentials=!0,f.onreadystatechange=function(){if(4==f.readyState)if(200==f.status){var e=JSON.parse(f.responseText);p(e.access_token,e.refresh_token,e.id_token,"standard"===o.flow),b()}else o.onAuthError&&o.onAuthError(),n&&n.setError()},f.send(s)}function p(t,r,i,c){w(t,r,i,a=(a+(new Date).getTime())/2),u&&o.idTokenParsed&&o.idTokenParsed.nonce!=e.storedNonce?(l("[KEYCLOAK] Invalid nonce, clearing token"),o.clearToken(),n&&n.setError()):c&&(o.onAuthSuccess&&o.onAuthSuccess(),n&&n.setSuccess())}}function h(e){return 0==e.status&&e.responseText&&e.responseURL.startsWith("file:")}function w(e,n,t,r){if(o.tokenTimeoutHandle&&(clearTimeout(o.tokenTimeoutHandle),o.tokenTimeoutHandle=null),n?(o.refreshToken=n,o.refreshTokenParsed=a(n)):(delete o.refreshToken,delete o.refreshTokenParsed),t?(o.idToken=t,o.idTokenParsed=a(t)):(delete o.idToken,delete o.idTokenParsed),e){if(o.token=e,o.tokenParsed=a(e),o.sessionId=o.tokenParsed.sid,o.authenticated=!0,o.subject=o.tokenParsed.sub,o.realmAccess=o.tokenParsed.realm_access,o.resourceAccess=o.tokenParsed.resource_access,r&&(o.timeSkew=Math.floor(r/1e3)-o.tokenParsed.iat),null!=o.timeSkew&&(l("[KEYCLOAK] Estimated time difference between browser and server is "+o.timeSkew+" seconds"),o.onTokenExpired)){var i=1e3*(o.tokenParsed.exp-(new Date).getTime()/1e3+o.timeSkew);l("[KEYCLOAK] Token expires in "+Math.round(i/1e3)+" s"),i<=0?o.onTokenExpired():o.tokenTimeoutHandle=setTimeout(o.onTokenExpired,i)}}else delete o.token,delete o.tokenParsed,delete o.subject,delete o.realmAccess,delete o.resourceAccess,o.authenticated=!1}function v(){if("undefined"==typeof crypto||void 0===crypto.randomUUID)throw new Error("Web Crypto API is not available.");return crypto.randomUUID()}function m(e){var n=function(e){var n;switch(o.flow){case"standard":n=["code","state","session_state","kc_action_status","kc_action","iss"];break;case"implicit":n=["access_token","token_type","id_token","state","session_state","expires_in","kc_action_status","kc_action","iss"];break;case"hybrid":n=["access_token","token_type","id_token","code","state","session_state","expires_in","kc_action_status","kc_action","iss"]}n.push("error"),n.push("error_description"),n.push("error_uri");var t,r,i=e.indexOf("?"),a=e.indexOf("#");if("query"===o.responseMode&&-1!==i?(t=e.substring(0,i),""!==(r=y(e.substring(i+1,-1!==a?a:e.length),n)).paramsString&&(t+="?"+r.paramsString),-1!==a&&(t+=e.substring(a))):"fragment"===o.responseMode&&-1!==a&&(t=e.substring(0,a),""!==(r=y(e.substring(a+1),n)).paramsString&&(t+="#"+r.paramsString)),r&&r.oauthParams)if("standard"===o.flow||"hybrid"===o.flow){if((r.oauthParams.code||r.oauthParams.error)&&r.oauthParams.state)return r.oauthParams.newUrl=t,r.oauthParams}else if("implicit"===o.flow&&(r.oauthParams.access_token||r.oauthParams.error)&&r.oauthParams.state)return r.oauthParams.newUrl=t,r.oauthParams}(e);if(n){var r=t.get(n.state);return r&&(n.valid=!0,n.redirectUri=r.redirectUri,n.storedNonce=r.nonce,n.prompt=r.prompt,n.pkceCodeVerifier=r.pkceCodeVerifier,n.loginOptions=r.loginOptions),n}}function y(e,n){for(var t=e.split("&"),o={paramsString:"",oauthParams:{}},r=0;r<t.length;r++){var i=t[r].indexOf("="),a=t[r].slice(0,i);-1!==n.indexOf(a)?o.oauthParams[a]=t[r].slice(i+1):(""!==o.paramsString&&(o.paramsString+="&"),o.paramsString+=t[r])}return o}function g(){var e={setSuccess:function(n){e.resolve(n)},setError:function(n){e.reject(n)}};return e.promise=new Promise((function(n,t){e.resolve=n,e.reject=t})),e}function k(){var e=g();if(!s.enable)return e.setSuccess(),e.promise;if(s.iframe)return e.setSuccess(),e.promise;var n=document.createElement("iframe");s.iframe=n,n.onload=function(){var n=o.endpoints.authorize();s.iframeOrigin="/"===n.charAt(0)?window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""):n.substring(0,n.indexOf("/",8)),e.setSuccess()};var t=o.endpoints.checkSessionIframe();return n.setAttribute("src",t),n.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),n.setAttribute("title","keycloak-session-iframe"),n.style.display="none",document.body.appendChild(n),window.addEventListener("message",(function(e){if(e.origin===s.iframeOrigin&&s.iframe.contentWindow===e.source&&("unchanged"==e.data||"changed"==e.data||"error"==e.data)){"unchanged"!=e.data&&o.clearToken();for(var n=s.callbackList.splice(0,s.callbackList.length),t=n.length-1;t>=0;--t){var r=n[t];"error"==e.data?r.setError():r.setSuccess("unchanged"==e.data)}}}),!1),e.promise}function b(){s.enable&&o.token&&setTimeout((function(){_().then((function(e){e&&b()}))}),1e3*s.interval)}function _(){var e=g();if(s.iframe&&s.iframeOrigin){var n=o.clientId+" "+(o.sessionId?o.sessionId:"");s.callbackList.push(e),1==s.callbackList.length&&s.iframe.contentWindow.postMessage(n,s.iframeOrigin)}else e.setSuccess();return e.promise}function I(e){if(!e||"default"==e)return{login:async function(e){return window.location.assign(await o.createLoginUrl(e)),g().promise},logout:async function(e){if("GET"===(e?.logoutMethod??o.logoutMethod))return void window.location.replace(o.createLogoutUrl(e));const t=document.createElement("form");t.setAttribute("method","POST"),t.setAttribute("action",o.createLogoutUrl(e)),t.style.display="none";const r={id_token_hint:o.idToken,client_id:o.clientId,post_logout_redirect_uri:n.redirectUri(e,!1)};for(const[e,n]of Object.entries(r)){const o=document.createElement("input");o.setAttribute("type","hidden"),o.setAttribute("name",e),o.setAttribute("value",n),t.appendChild(o)}document.body.appendChild(t),t.submit()},register:async function(e){return window.location.assign(await o.createRegisterUrl(e)),g().promise},accountManagement:function(){var e=o.createAccountUrl();if(void 0===e)throw"Not supported by the OIDC server";return window.location.href=e,g().promise},redirectUri:function(e){return e&&e.redirectUri?e.redirectUri:o.redirectUri?o.redirectUri:location.href}};if("cordova"==e){s.enable=!1;var t=function(e,n,t){return window.cordova&&window.cordova.InAppBrowser?window.cordova.InAppBrowser.open(e,n,t):window.open(e,n,t)},r=function(e){var n=function(e){return e&&e.cordovaOptions?Object.keys(e.cordovaOptions).reduce((function(n,t){return n[t]=e.cordovaOptions[t],n}),{}):{}}(e);return n.location="no",e&&"none"==e.prompt&&(n.hidden="yes"),function(e){return Object.keys(e).reduce((function(n,t){return n.push(t+"="+e[t]),n}),[]).join(",")}(n)},i=function(){return o.redirectUri||"http://localhost"};return{login:async function(e){var n=g(),a=r(e),c=await o.createLoginUrl(e),s=t(c,"_blank",a),u=!1,l=!1,d=function(){l=!0,s.close()};return s.addEventListener("loadstart",(function(e){0==e.url.indexOf(i())&&(p(m(e.url),n),d(),u=!0)})),s.addEventListener("loaderror",(function(e){u||(0==e.url.indexOf(i())?(p(m(e.url),n),d(),u=!0):(n.setError(),d()))})),s.addEventListener("exit",(function(){l||n.setError({reason:"closed_by_user"})})),n.promise},logout:function(e){var n,r=g(),a=o.createLogoutUrl(e),c=t(a,"_blank","location=no,hidden=yes,clearcache=yes");return c.addEventListener("loadstart",(function(e){0==e.url.indexOf(i())&&c.close()})),c.addEventListener("loaderror",(function(e){0==e.url.indexOf(i())||(n=!0),c.close()})),c.addEventListener("exit",(function(){n?r.setError():(o.clearToken(),r.setSuccess())})),r.promise},register:async function(e){var n=g(),a=await o.createRegisterUrl(),c=r(e),s=t(a,"_blank",c);return s.addEventListener("loadstart",(function(e){0==e.url.indexOf(i())&&(s.close(),p(m(e.url),n))})),n.promise},accountManagement:function(){var e=o.createAccountUrl();if(void 0===e)throw"Not supported by the OIDC server";var n=t(e,"_blank","location=no");n.addEventListener("loadstart",(function(e){0==e.url.indexOf(i())&&n.close()}))},redirectUri:function(){return i()}}}if("cordova-native"==e)return s.enable=!1,{login:async function(e){var n=g(),t=await o.createLoginUrl(e);return universalLinks.subscribe("keycloak",(function(e){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),p(m(e.url),n)})),window.cordova.plugins.browsertab.openUrl(t),n.promise},logout:function(e){var n=g(),t=o.createLogoutUrl(e);return universalLinks.subscribe("keycloak",(function(){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),o.clearToken(),n.setSuccess()})),window.cordova.plugins.browsertab.openUrl(t),n.promise},register:async function(e){var n=g(),t=await o.createRegisterUrl(e);return universalLinks.subscribe("keycloak",(function(e){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),p(m(e.url),n)})),window.cordova.plugins.browsertab.openUrl(t),n.promise},accountManagement:function(){var e=o.createAccountUrl();if(void 0===e)throw"Not supported by the OIDC server";window.cordova.plugins.browsertab.openUrl(e)},redirectUri:function(e){return e&&e.redirectUri?e.redirectUri:o.redirectUri?o.redirectUri:"http://localhost"}};throw"invalid adapter type: "+e}globalThis.isSecureContext||d("[KEYCLOAK] Keycloak JS must be used in a 'secure context' to function properly as it relies on browser APIs that are otherwise not available.\nContinuing to run your application insecurely will lead to unexpected behavior and breakage.\n\nFor more information see: https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts"),o.init=function(r={}){if(o.didInitialize)throw new Error("A 'Keycloak' instance can only be initialized once.");if(o.didInitialize=!0,o.authenticated=!1,t=function(){try{return new S}catch(e){}return new O}(),n=["default","cordova","cordova-native"].indexOf(r.adapter)>-1?I(r.adapter):"object"==typeof r.adapter?r.adapter:window.Cordova||window.cordova?I("cordova"):I(),void 0!==r.useNonce&&(u=r.useNonce),void 0!==r.checkLoginIframe&&(s.enable=r.checkLoginIframe),r.checkLoginIframeInterval&&(s.interval=r.checkLoginIframeInterval),"login-required"===r.onLoad&&(o.loginRequired=!0),r.responseMode){if("query"!==r.responseMode&&"fragment"!==r.responseMode)throw"Invalid value for responseMode";o.responseMode=r.responseMode}if(r.flow){switch(r.flow){case"standard":o.responseType="code";break;case"implicit":o.responseType="id_token token";break;case"hybrid":o.responseType="code id_token token";break;default:throw"Invalid value for flow"}o.flow=r.flow}if(null!=r.timeSkew&&(o.timeSkew=r.timeSkew),r.redirectUri&&(o.redirectUri=r.redirectUri),r.silentCheckSsoRedirectUri&&(o.silentCheckSsoRedirectUri=r.silentCheckSsoRedirectUri),o.silentCheckSsoFallback="boolean"!=typeof r.silentCheckSsoFallback||r.silentCheckSsoFallback,void 0!==r.pkceMethod){if("S256"!==r.pkceMethod&&!1!==r.pkceMethod)throw new TypeError(`Invalid value for pkceMethod', expected 'S256' or false but got ${r.pkceMethod}.`);o.pkceMethod=r.pkceMethod}else o.pkceMethod="S256";o.enableLogging="boolean"==typeof r.enableLogging&&r.enableLogging,o.logoutMethod="POST"===r.logoutMethod?"POST":"GET","string"==typeof r.scope&&(o.scope=r.scope),"string"==typeof r.acrValues&&(o.acrValues=r.acrValues),o.messageReceiveTimeout="number"==typeof r.messageReceiveTimeout&&r.messageReceiveTimeout>0?r.messageReceiveTimeout:1e4,o.responseMode||(o.responseMode="fragment"),o.responseType||(o.responseType="code",o.flow="standard");var i=g(),a=g();a.promise.then((function(){o.onReady&&o.onReady(o.authenticated),i.setSuccess(o.authenticated)})).catch((function(e){i.setError(e)}));var c=function(){var n,t=g();function r(e){o.endpoints=e?{authorize:function(){return e.authorization_endpoint},token:function(){return e.token_endpoint},logout:function(){if(!e.end_session_endpoint)throw"Not supported by the OIDC server";return e.end_session_endpoint},checkSessionIframe:function(){if(!e.check_session_iframe)throw"Not supported by the OIDC server";return e.check_session_iframe},register:function(){throw'Redirection to "Register user" page not supported in standard OIDC mode'},userinfo:function(){if(!e.userinfo_endpoint)throw"Not supported by the OIDC server";return e.userinfo_endpoint}}:{authorize:function(){return f()+"/protocol/openid-connect/auth"},token:function(){return f()+"/protocol/openid-connect/token"},logout:function(){return f()+"/protocol/openid-connect/logout"},checkSessionIframe:function(){return f()+"/protocol/openid-connect/login-status-iframe.html"},thirdPartyCookiesIframe:function(){return f()+"/protocol/openid-connect/3p-cookies/step1.html"},register:function(){return f()+"/protocol/openid-connect/registrations"},userinfo:function(){return f()+"/protocol/openid-connect/userinfo"}}}if("string"==typeof e&&(n=e),n)(a=new XMLHttpRequest).open("GET",n,!0),a.setRequestHeader("Accept","application/json"),a.onreadystatechange=function(){if(4==a.readyState)if(200==a.status||h(a)){var e=JSON.parse(a.responseText);o.authServerUrl=e["auth-server-url"],o.realm=e.realm,o.clientId=e.resource,r(null),t.setSuccess()}else t.setError()},a.send();else{o.clientId=e.clientId;var i,a,c=e.oidcProvider;c?"string"==typeof c?(i="/"==c.charAt(c.length-1)?c+".well-known/openid-configuration":c+"/.well-known/openid-configuration",(a=new XMLHttpRequest).open("GET",i,!0),a.setRequestHeader("Accept","application/json"),a.onreadystatechange=function(){4==a.readyState&&(200==a.status||h(a)?(r(JSON.parse(a.responseText)),t.setSuccess()):t.setError())},a.send()):(r(c),t.setSuccess()):(o.authServerUrl=e.url,o.realm=e.realm,r(null),t.setSuccess())}return t.promise}();function l(){var e=function(e){e||(t.prompt="none"),r.locale&&(t.locale=r.locale),o.login(t).then((function(){a.setSuccess()})).catch((function(e){a.setError(e)}))},n=async function(){var e=document.createElement("iframe"),n=await o.createLoginUrl({prompt:"none",redirectUri:o.silentCheckSsoRedirectUri});e.setAttribute("src",n),e.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),e.setAttribute("title","keycloak-silent-check-sso"),e.style.display="none",document.body.appendChild(e);var t=function(n){n.origin===window.location.origin&&e.contentWindow===n.source&&(p(m(n.data),a),document.body.removeChild(e),window.removeEventListener("message",t))};window.addEventListener("message",t)},t={};switch(r.onLoad){case"check-sso":s.enable?k().then((function(){_().then((function(t){t?a.setSuccess():o.silentCheckSsoRedirectUri?n():e(!1)})).catch((function(e){a.setError(e)}))})):o.silentCheckSsoRedirectUri?n():e(!1);break;case"login-required":e(!0);break;default:throw"Invalid value for onLoad"}}function v(){var e=m(window.location.href);if(e&&window.history.replaceState(window.history.state,null,e.newUrl),e&&e.valid)return k().then((function(){p(e,a)})).catch((function(e){a.setError(e)}));r.token&&r.refreshToken?(w(r.token,r.refreshToken,r.idToken),s.enable?k().then((function(){_().then((function(e){e?(o.onAuthSuccess&&o.onAuthSuccess(),a.setSuccess(),b()):a.setSuccess()})).catch((function(e){a.setError(e)}))})):o.updateToken(-1).then((function(){o.onAuthSuccess&&o.onAuthSuccess(),a.setSuccess()})).catch((function(e){o.onAuthError&&o.onAuthError(),r.onLoad?l():a.setError(e)}))):r.onLoad?l():a.setSuccess()}return c.then((function(){(function(){var e=g();if((s.enable||o.silentCheckSsoRedirectUri)&&"function"==typeof o.endpoints.thirdPartyCookiesIframe){var n=document.createElement("iframe");n.setAttribute("src",o.endpoints.thirdPartyCookiesIframe()),n.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),n.setAttribute("title","keycloak-3p-check-iframe"),n.style.display="none",document.body.appendChild(n);var t=function(r){n.contentWindow===r.source&&("supported"!==r.data&&"unsupported"!==r.data||("unsupported"===r.data&&(d("[KEYCLOAK] Your browser is blocking access to 3rd-party cookies, this means:\n\n - It is not possible to retrieve tokens without redirecting to the Keycloak server (a.k.a. no support for silent authentication).\n - It is not possible to automatically detect changes to the session status (such as the user logging out in another tab).\n\nFor more information see: https://www.keycloak.org/securing-apps/javascript-adapter#_modern_browsers"),s.enable=!1,o.silentCheckSsoFallback&&(o.silentCheckSsoRedirectUri=!1)),document.body.removeChild(n),window.removeEventListener("message",t),e.setSuccess()))};window.addEventListener("message",t,!1)}else e.setSuccess();return function(e,n){var t=null,o=new Promise((function(e,o){t=setTimeout((function(){o({error:"Timeout when waiting for 3rd party check iframe message."})}),n)}));return Promise.race([e,o]).finally((function(){clearTimeout(t)}))}(e.promise,o.messageReceiveTimeout)})().then(v).catch((function(e){i.setError(e)}))})),c.catch((function(e){i.setError(e)})),i.promise},o.login=function(e){return n.login(e)},o.createLoginUrl=async function(e){var r,i=v(),a=v(),c=n.redirectUri(e),s={state:i,nonce:a,redirectUri:encodeURIComponent(c),loginOptions:e};e&&e.prompt&&(s.prompt=e.prompt),r=e&&"register"==e.action?o.endpoints.register():o.endpoints.authorize();var l=e&&e.scope||o.scope;l?-1===l.indexOf("openid")&&(l="openid "+l):l="openid";var d=r+"?client_id="+encodeURIComponent(o.clientId)+"&redirect_uri="+encodeURIComponent(c)+"&state="+encodeURIComponent(i)+"&response_mode="+encodeURIComponent(o.responseMode)+"&response_type="+encodeURIComponent(o.responseType)+"&scope="+encodeURIComponent(l);if(u&&(d=d+"&nonce="+encodeURIComponent(a)),e&&e.prompt&&(d+="&prompt="+encodeURIComponent(e.prompt)),e&&"number"==typeof e.maxAge&&(d+="&max_age="+encodeURIComponent(e.maxAge)),e&&e.loginHint&&(d+="&login_hint="+encodeURIComponent(e.loginHint)),e&&e.idpHint&&(d+="&kc_idp_hint="+encodeURIComponent(e.idpHint)),e&&e.action&&"register"!=e.action&&(d+="&kc_action="+encodeURIComponent(e.action)),e&&e.locale&&(d+="&ui_locales="+encodeURIComponent(e.locale)),e&&e.acr){var f=JSON.stringify({id_token:{acr:e.acr}});d+="&claims="+encodeURIComponent(f)}if((e&&e.acrValues||o.acrValues)&&(d+="&acr_values="+encodeURIComponent(e.acrValues||o.acrValues)),o.pkceMethod)try{const e=function(e,n){for(var t=function(e){if("undefined"==typeof crypto||void 0===crypto.getRandomValues)throw new Error("Web Crypto API is not available.");return crypto.getRandomValues(new Uint8Array(e))}(e),o=new Array(e),r=0;r<e;r++)o[r]=n.charCodeAt(t[r]%62);return String.fromCharCode.apply(null,o)}(96,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"),n=await async function(e,n){if("S256"!==e)throw new TypeError(`Invalid value for 'pkceMethod', expected 'S256' but got '${e}'.`);return function(e){const n=String.fromCodePoint(...e);return btoa(n)}(new Uint8Array(await async function(e){const n=(new TextEncoder).encode(e);if("undefined"==typeof crypto||void 0===crypto.subtle)throw new Error("Web Crypto API is not available.");return await crypto.subtle.digest("SHA-256",n)}(n))).replace(/\+/g,"-").replace(/\//g,"_").replace(/\=/g,"")}(o.pkceMethod,e);s.pkceCodeVerifier=e,d+="&code_challenge="+n,d+="&code_challenge_method="+o.pkceMethod}catch(e){throw new Error("Failed to generate PKCE challenge.",{cause:e})}return t.add(s),d},o.logout=function(e){return n.logout(e)},o.createLogoutUrl=function(e){if("POST"===(e?.logoutMethod??o.logoutMethod))return o.endpoints.logout();var t=o.endpoints.logout()+"?client_id="+encodeURIComponent(o.clientId)+"&post_logout_redirect_uri="+encodeURIComponent(n.redirectUri(e,!1));return o.idToken&&(t+="&id_token_hint="+encodeURIComponent(o.idToken)),t},o.register=function(e){return n.register(e)},o.createRegisterUrl=async function(e){return e||(e={}),e.action="register",await o.createLoginUrl(e)},o.createAccountUrl=function(e){var t=f(),r=void 0;return void 0!==t&&(r=t+"/account?referrer="+encodeURIComponent(o.clientId)+"&referrer_uri="+encodeURIComponent(n.redirectUri(e))),r},o.accountManagement=function(){return n.accountManagement()},o.hasRealmRole=function(e){var n=o.realmAccess;return!!n&&n.roles.indexOf(e)>=0},o.hasResourceRole=function(e,n){if(!o.resourceAccess)return!1;var t=o.resourceAccess[n||o.clientId];return!!t&&t.roles.indexOf(e)>=0},o.loadUserProfile=function(){var e=f()+"/account",n=new XMLHttpRequest;n.open("GET",e,!0),n.setRequestHeader("Accept","application/json"),n.setRequestHeader("Authorization","bearer "+o.token);var t=g();return n.onreadystatechange=function(){4==n.readyState&&(200==n.status?(o.profile=JSON.parse(n.responseText),t.setSuccess(o.profile)):t.setError())},n.send(),t.promise},o.loadUserInfo=function(){var e=o.endpoints.userinfo(),n=new XMLHttpRequest;n.open("GET",e,!0),n.setRequestHeader("Accept","application/json"),n.setRequestHeader("Authorization","bearer "+o.token);var t=g();return n.onreadystatechange=function(){4==n.readyState&&(200==n.status?(o.userInfo=JSON.parse(n.responseText),t.setSuccess(o.userInfo)):t.setError())},n.send(),t.promise},o.isTokenExpired=function(e){if(!o.tokenParsed||!o.refreshToken&&"implicit"!=o.flow)throw"Not authenticated";if(null==o.timeSkew)return l("[KEYCLOAK] Unable to determine if token is expired as timeskew is not set"),!0;var n=o.tokenParsed.exp-Math.ceil((new Date).getTime()/1e3)+o.timeSkew;if(e){if(isNaN(e))throw"Invalid minValidity";n-=e}return n<0},o.updateToken=function(e){var n=g();if(!o.refreshToken)return n.setError(),n.promise;e=e||5;var t=function(){var t=!1;if(-1==e?(t=!0,l("[KEYCLOAK] Refreshing token: forced refresh")):o.tokenParsed&&!o.isTokenExpired(e)||(t=!0,l("[KEYCLOAK] Refreshing token: token expired")),t){var i="grant_type=refresh_token&refresh_token="+o.refreshToken,a=o.endpoints.token();if(r.push(n),1==r.length){var c=new XMLHttpRequest;c.open("POST",a,!0),c.setRequestHeader("Content-type","application/x-www-form-urlencoded"),c.withCredentials=!0,i+="&client_id="+encodeURIComponent(o.clientId);var s=(new Date).getTime();c.onreadystatechange=function(){if(4==c.readyState)if(200==c.status){l("[KEYCLOAK] Token refreshed"),s=(s+(new Date).getTime())/2;var e=JSON.parse(c.responseText);w(e.access_token,e.refresh_token,e.id_token,s),o.onAuthRefreshSuccess&&o.onAuthRefreshSuccess();for(var n=r.pop();null!=n;n=r.pop())n.setSuccess(!0)}else for(d("[KEYCLOAK] Failed to refresh token"),400==c.status&&o.clearToken(),o.onAuthRefreshError&&o.onAuthRefreshError(),n=r.pop();null!=n;n=r.pop())n.setError("Failed to refresh token: An unexpected HTTP error occurred while attempting to refresh the token.")},c.send(i)}}else n.setSuccess(!1)};return s.enable?_().then((function(){t()})).catch((function(e){n.setError(e)})):t(),n.promise},o.clearToken=function(){o.token&&(w(null,null,null),o.onAuthLogout&&o.onAuthLogout(),o.loginRequired&&o.login())};const C="kc-callback-";var S=function(){if(!(this instanceof S))return new S;function e(){const e=Date.now();for(const[o,r]of n()){const n=t(r);(null===n||n<e)&&localStorage.removeItem(o)}}function n(){return Object.entries(localStorage).filter((([e])=>e.startsWith(C)))}function t(e){let n;try{n=JSON.parse(e)}catch(e){return null}return c(n)&&"expires"in n&&"number"==typeof n.expires?n.expires:null}localStorage.setItem("kc-test","test"),localStorage.removeItem("kc-test"),this.get=function(n){if(n){var t=C+n,o=localStorage.getItem(t);return o&&(localStorage.removeItem(t),o=JSON.parse(o)),e(),o}},this.add=function(t){e();const o=C+t.state,r=JSON.stringify({...t,expires:Date.now()+36e5});try{localStorage.setItem(o,r)}catch(e){!function(){for(const[e]of n())localStorage.removeItem(e)}(),localStorage.setItem(o,r)}}},O=function(){if(!(this instanceof O))return new O;var e=this;e.get=function(e){if(e){var r=t(C+e);return o(C+e,"",n(-100)),r?JSON.parse(r):void 0}},e.add=function(e){o(C+e.state,JSON.stringify(e),n(60))},e.removeItem=function(e){o(e,"",n(-100))};var n=function(e){var n=new Date;return n.setTime(n.getTime()+60*e*1e3),n},t=function(e){for(var n=e+"=",t=document.cookie.split(";"),o=0;o<t.length;o++){for(var r=t[o];" "==r.charAt(0);)r=r.substring(1);if(0==r.indexOf(n))return r.substring(n.length,r.length)}return""},o=function(e,n,t){var o=e+"="+n+"; expires="+t.toUTCString()+"; ";document.cookie=o}};function U(e){return function(){o.enableLogging&&e.apply(console,Array.prototype.slice.call(arguments))}}}function a(e){const[n,t]=e.split(".");if("string"!=typeof t)throw new Error("Unable to decode token, payload not found.");let o;try{o=function(e){let n=e.replaceAll("-","+").replaceAll("_","/");switch(n.length%4){case 0:break;case 2:n+="==";break;case 3:n+="=";break;default:throw new Error("Input is not of the correct length.")}try{return function(e){return decodeURIComponent(atob(e).replace(/(.)/g,((e,n)=>{let t=n.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t="0"+t),"%"+t})))}(n)}catch(e){return atob(n)}}(t)}catch(e){throw new Error("Unable to decode token, payload is not a valid Base64URL value.",{cause:e})}try{return JSON.parse(o)}catch(e){throw new Error("Unable to decode token, payload is not a valid JSON value.",{cause:e})}}function c(e){return"object"==typeof e&&null!==e}let s=null,u=null;const l=class{constructor(t){e(this,t),this.keycloak=n(this,"keycloak",7),this.auth=n(this,"auth",7),this.handleLogin=async()=>{if(!this.authenticated)try{await function(){if(!s)throw new Error("Keycloak is not initialized.");s.login()}()}catch(e){r.show(e.message,"error")}},this.handleLogout=async()=>{try{await function(){if(!s)throw new Error("Keycloak is not initialized.");s.logout()}()}catch(e){r.show(e.message,"error")}this.authenticated=!1,this.user=null},this.keycloakUrl=void 0,this.keycloakRealm=void 0,this.keycloakClientId=void 0,this.authenticated=!1,this.user=null,this.serverAvailable=!1}async componentWillLoad(){this.keycloakUrl&&this.keycloakRealm&&this.keycloakClientId?(this.serverAvailable=await async function(e){try{const n=await fetch(e,{method:"HEAD",mode:"no-cors"});return n.ok||"opaque"===n.type}catch(e){return!1}}(`${this.keycloakUrl}/realms/${this.keycloakRealm}`),this.serverAvailable?await this.initAuth():r.show("Keycloak server is unavailable.","error")):console.error("Keycloak configuration props are missing.")}async initAuth(){try{const e=await function(e,n=!0){return u?(console.log("Keycloak already initialized, returning from cache"),u):(s||(s=new i({url:e.url,realm:e.realm,clientId:e.clientId})),u=s.init({onLoad:n?"check-sso":"login-required",checkLoginIframe:!1}).then((e=>e)).catch((e=>(console.error("Failed to initialize Keycloak:",e),!1))),u)}({url:this.keycloakUrl,realm:this.keycloakRealm,clientId:this.keycloakClientId},!0);this.keycloak.emit({init:e}),(null==s?void 0:s.authenticated)&&(this.user=(null==s?void 0:s.authenticated)&&(null==s?void 0:s.idTokenParsed)?{fullname:s.idTokenParsed.name,email:s.idTokenParsed.email,lastname:s.idTokenParsed.family_name,firstname:s.idTokenParsed.given_name,username:s.idTokenParsed.preferred_username,background:"grey",token:s.token,sub:s.idTokenParsed.sub}:{},this.authenticated=!0,this.auth.emit({authenticated:this.authenticated,user:this.user}))}catch(e){r.show(e.message,"error")}}render(){return t("div",{key:"074566b791eeb9ea4a0558b4ed83a96e4b673356",class:"block"},!this.authenticated&&t("eds-button",{key:"3a05ff97a90d73204eb77c5dad0d328294d72d3e",label:"Login",intent:"primary","extra-class":"text-default","aria-label":"Login",triggerClick:this.handleLogin.bind(this)}))}},d=class{constructor(t){e(this,t),this.splash=n(this,"splash",7),this.inverse=!1,this.initPromise=void 0,this.isVisible=!0}componentWillLoad(){this.initPromise&&this.initPromise.then((()=>{console.log("Promises resolved"),this.hideSplash()})).catch((e=>{console.error("Initialization error:",e),this.splash.emit({type:"error",message:e.message||"Unknown error"})}))}handleHideSplash(){this.hideSplash()}hideSplash(){this.isVisible=!1,this.splash.emit({type:"hidden",message:"Splash screen hidden successfully"})}render(){return this.isVisible?t(o,null,t("div",{class:"splash-overlay",style:{background:this.inverse?"black":"var(--grey-200)"}},t("div",{class:"logo-container"},t("eds-logo",this.inverse?{orientation:"vertical",type:"color-white"}:{orientation:"vertical",type:"color"})),t("div",{class:"content-container"},t("eds-spinner",{size:"1rem",thickness:"3px","border-color":"var(--grey-400)","bottom-color":"var(--grey-900)",background:"none",fullscreen:!1})))):null}};d.style=".splash-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999999;background-color:var(--grey-200);display:flex;flex-direction:column;align-items:center;justify-content:center}.logo-container{width:200px;height:200px;margin-bottom:1rem}.content-container{position:relative;width:5rem;height:5rem;display:flex;align-items:center;justify-content:center}";export{l as eds_login,d as eds_splash_screen}
|
|
1
|
+
import{r as e,c as n,h as t,H as o}from"./p-cccacbd3.js";import{t as r}from"./p-22f9e720.js";function i(e){if(!(this instanceof i))throw new Error("The 'Keycloak' constructor must be invoked with 'new'.");if("string"!=typeof e&&!c(e))throw new Error("The 'Keycloak' constructor must be provided with a configuration object, or a URL to a JSON configuration file.");if(c(e)){const n="oidcProvider"in e?["clientId"]:["url","realm","clientId"];for(const t of n)if(!e[t])throw new Error(`The configuration object is missing the required '${t}' property.`)}var n,t,o=this,r=[],s={enable:!0,callbackList:[],interval:5};o.didInitialize=!1;var u=!0,l=U(console.info),f=U(console.warn);function d(){return void 0!==o.authServerUrl?"/"==o.authServerUrl.charAt(o.authServerUrl.length-1)?o.authServerUrl+"realms/"+encodeURIComponent(o.realm):o.authServerUrl+"/realms/"+encodeURIComponent(o.realm):void 0}function p(e,n){var t=e.code,r=e.error,i=e.prompt,a=(new Date).getTime();if(e.kc_action_status&&o.onActionUpdate&&o.onActionUpdate(e.kc_action_status,e.kc_action),r)if("none"!=i)if(e.error_description&&"authentication_expired"===e.error_description)o.login(e.loginOptions);else{var c={error:r,error_description:e.error_description};o.onAuthError&&o.onAuthError(c),n&&n.setError(c)}else n&&n.setSuccess();else if("standard"!=o.flow&&(e.access_token||e.id_token)&&p(e.access_token,null,e.id_token,!0),"implicit"!=o.flow&&t){var s="code="+t+"&grant_type=authorization_code",f=o.endpoints.token(),d=new XMLHttpRequest;d.open("POST",f,!0),d.setRequestHeader("Content-type","application/x-www-form-urlencoded"),s+="&client_id="+encodeURIComponent(o.clientId),s+="&redirect_uri="+e.redirectUri,e.pkceCodeVerifier&&(s+="&code_verifier="+e.pkceCodeVerifier),d.withCredentials=!0,d.onreadystatechange=function(){if(4==d.readyState)if(200==d.status){var e=JSON.parse(d.responseText);p(e.access_token,e.refresh_token,e.id_token,"standard"===o.flow),b()}else o.onAuthError&&o.onAuthError(),n&&n.setError()},d.send(s)}function p(t,r,i,c){w(t,r,i,a=(a+(new Date).getTime())/2),u&&o.idTokenParsed&&o.idTokenParsed.nonce!=e.storedNonce?(l("[KEYCLOAK] Invalid nonce, clearing token"),o.clearToken(),n&&n.setError()):c&&(o.onAuthSuccess&&o.onAuthSuccess(),n&&n.setSuccess())}}function h(e){return 0==e.status&&e.responseText&&e.responseURL.startsWith("file:")}function w(e,n,t,r){if(o.tokenTimeoutHandle&&(clearTimeout(o.tokenTimeoutHandle),o.tokenTimeoutHandle=null),n?(o.refreshToken=n,o.refreshTokenParsed=a(n)):(delete o.refreshToken,delete o.refreshTokenParsed),t?(o.idToken=t,o.idTokenParsed=a(t)):(delete o.idToken,delete o.idTokenParsed),e){if(o.token=e,o.tokenParsed=a(e),o.sessionId=o.tokenParsed.sid,o.authenticated=!0,o.subject=o.tokenParsed.sub,o.realmAccess=o.tokenParsed.realm_access,o.resourceAccess=o.tokenParsed.resource_access,r&&(o.timeSkew=Math.floor(r/1e3)-o.tokenParsed.iat),null!=o.timeSkew&&(l("[KEYCLOAK] Estimated time difference between browser and server is "+o.timeSkew+" seconds"),o.onTokenExpired)){var i=1e3*(o.tokenParsed.exp-(new Date).getTime()/1e3+o.timeSkew);l("[KEYCLOAK] Token expires in "+Math.round(i/1e3)+" s"),i<=0?o.onTokenExpired():o.tokenTimeoutHandle=setTimeout(o.onTokenExpired,i)}}else delete o.token,delete o.tokenParsed,delete o.subject,delete o.realmAccess,delete o.resourceAccess,o.authenticated=!1}function v(){if("undefined"==typeof crypto||void 0===crypto.randomUUID)throw new Error("Web Crypto API is not available.");return crypto.randomUUID()}function m(e){var n=function(e){var n;switch(o.flow){case"standard":n=["code","state","session_state","kc_action_status","kc_action","iss"];break;case"implicit":n=["access_token","token_type","id_token","state","session_state","expires_in","kc_action_status","kc_action","iss"];break;case"hybrid":n=["access_token","token_type","id_token","code","state","session_state","expires_in","kc_action_status","kc_action","iss"]}n.push("error"),n.push("error_description"),n.push("error_uri");var t,r,i=e.indexOf("?"),a=e.indexOf("#");if("query"===o.responseMode&&-1!==i?(t=e.substring(0,i),""!==(r=y(e.substring(i+1,-1!==a?a:e.length),n)).paramsString&&(t+="?"+r.paramsString),-1!==a&&(t+=e.substring(a))):"fragment"===o.responseMode&&-1!==a&&(t=e.substring(0,a),""!==(r=y(e.substring(a+1),n)).paramsString&&(t+="#"+r.paramsString)),r&&r.oauthParams)if("standard"===o.flow||"hybrid"===o.flow){if((r.oauthParams.code||r.oauthParams.error)&&r.oauthParams.state)return r.oauthParams.newUrl=t,r.oauthParams}else if("implicit"===o.flow&&(r.oauthParams.access_token||r.oauthParams.error)&&r.oauthParams.state)return r.oauthParams.newUrl=t,r.oauthParams}(e);if(n){var r=t.get(n.state);return r&&(n.valid=!0,n.redirectUri=r.redirectUri,n.storedNonce=r.nonce,n.prompt=r.prompt,n.pkceCodeVerifier=r.pkceCodeVerifier,n.loginOptions=r.loginOptions),n}}function y(e,n){for(var t=e.split("&"),o={paramsString:"",oauthParams:{}},r=0;r<t.length;r++){var i=t[r].indexOf("="),a=t[r].slice(0,i);-1!==n.indexOf(a)?o.oauthParams[a]=t[r].slice(i+1):(""!==o.paramsString&&(o.paramsString+="&"),o.paramsString+=t[r])}return o}function g(){var e={setSuccess:function(n){e.resolve(n)},setError:function(n){e.reject(n)}};return e.promise=new Promise((function(n,t){e.resolve=n,e.reject=t})),e}function k(){var e=g();if(!s.enable)return e.setSuccess(),e.promise;if(s.iframe)return e.setSuccess(),e.promise;var n=document.createElement("iframe");s.iframe=n,n.onload=function(){var n=o.endpoints.authorize();s.iframeOrigin="/"===n.charAt(0)?window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""):n.substring(0,n.indexOf("/",8)),e.setSuccess()};var t=o.endpoints.checkSessionIframe();return n.setAttribute("src",t),n.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),n.setAttribute("title","keycloak-session-iframe"),n.style.display="none",document.body.appendChild(n),window.addEventListener("message",(function(e){if(e.origin===s.iframeOrigin&&s.iframe.contentWindow===e.source&&("unchanged"==e.data||"changed"==e.data||"error"==e.data)){"unchanged"!=e.data&&o.clearToken();for(var n=s.callbackList.splice(0,s.callbackList.length),t=n.length-1;t>=0;--t){var r=n[t];"error"==e.data?r.setError():r.setSuccess("unchanged"==e.data)}}}),!1),e.promise}function b(){s.enable&&o.token&&setTimeout((function(){_().then((function(e){e&&b()}))}),1e3*s.interval)}function _(){var e=g();if(s.iframe&&s.iframeOrigin){var n=o.clientId+" "+(o.sessionId?o.sessionId:"");s.callbackList.push(e),1==s.callbackList.length&&s.iframe.contentWindow.postMessage(n,s.iframeOrigin)}else e.setSuccess();return e.promise}function I(e){if(!e||"default"==e)return{login:async function(e){return window.location.assign(await o.createLoginUrl(e)),g().promise},logout:async function(e){if("GET"===(e?.logoutMethod??o.logoutMethod))return void window.location.replace(o.createLogoutUrl(e));const t=document.createElement("form");t.setAttribute("method","POST"),t.setAttribute("action",o.createLogoutUrl(e)),t.style.display="none";const r={id_token_hint:o.idToken,client_id:o.clientId,post_logout_redirect_uri:n.redirectUri(e,!1)};for(const[e,n]of Object.entries(r)){const o=document.createElement("input");o.setAttribute("type","hidden"),o.setAttribute("name",e),o.setAttribute("value",n),t.appendChild(o)}document.body.appendChild(t),t.submit()},register:async function(e){return window.location.assign(await o.createRegisterUrl(e)),g().promise},accountManagement:function(){var e=o.createAccountUrl();if(void 0===e)throw"Not supported by the OIDC server";return window.location.href=e,g().promise},redirectUri:function(e){return e&&e.redirectUri?e.redirectUri:o.redirectUri?o.redirectUri:location.href}};if("cordova"==e){s.enable=!1;var t=function(e,n,t){return window.cordova&&window.cordova.InAppBrowser?window.cordova.InAppBrowser.open(e,n,t):window.open(e,n,t)},r=function(e){var n=function(e){return e&&e.cordovaOptions?Object.keys(e.cordovaOptions).reduce((function(n,t){return n[t]=e.cordovaOptions[t],n}),{}):{}}(e);return n.location="no",e&&"none"==e.prompt&&(n.hidden="yes"),function(e){return Object.keys(e).reduce((function(n,t){return n.push(t+"="+e[t]),n}),[]).join(",")}(n)},i=function(){return o.redirectUri||"http://localhost"};return{login:async function(e){var n=g(),a=r(e),c=await o.createLoginUrl(e),s=t(c,"_blank",a),u=!1,l=!1,f=function(){l=!0,s.close()};return s.addEventListener("loadstart",(function(e){0==e.url.indexOf(i())&&(p(m(e.url),n),f(),u=!0)})),s.addEventListener("loaderror",(function(e){u||(0==e.url.indexOf(i())?(p(m(e.url),n),f(),u=!0):(n.setError(),f()))})),s.addEventListener("exit",(function(){l||n.setError({reason:"closed_by_user"})})),n.promise},logout:function(e){var n,r=g(),a=o.createLogoutUrl(e),c=t(a,"_blank","location=no,hidden=yes,clearcache=yes");return c.addEventListener("loadstart",(function(e){0==e.url.indexOf(i())&&c.close()})),c.addEventListener("loaderror",(function(e){0==e.url.indexOf(i())||(n=!0),c.close()})),c.addEventListener("exit",(function(){n?r.setError():(o.clearToken(),r.setSuccess())})),r.promise},register:async function(e){var n=g(),a=await o.createRegisterUrl(),c=r(e),s=t(a,"_blank",c);return s.addEventListener("loadstart",(function(e){0==e.url.indexOf(i())&&(s.close(),p(m(e.url),n))})),n.promise},accountManagement:function(){var e=o.createAccountUrl();if(void 0===e)throw"Not supported by the OIDC server";var n=t(e,"_blank","location=no");n.addEventListener("loadstart",(function(e){0==e.url.indexOf(i())&&n.close()}))},redirectUri:function(){return i()}}}if("cordova-native"==e)return s.enable=!1,{login:async function(e){var n=g(),t=await o.createLoginUrl(e);return universalLinks.subscribe("keycloak",(function(e){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),p(m(e.url),n)})),window.cordova.plugins.browsertab.openUrl(t),n.promise},logout:function(e){var n=g(),t=o.createLogoutUrl(e);return universalLinks.subscribe("keycloak",(function(){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),o.clearToken(),n.setSuccess()})),window.cordova.plugins.browsertab.openUrl(t),n.promise},register:async function(e){var n=g(),t=await o.createRegisterUrl(e);return universalLinks.subscribe("keycloak",(function(e){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),p(m(e.url),n)})),window.cordova.plugins.browsertab.openUrl(t),n.promise},accountManagement:function(){var e=o.createAccountUrl();if(void 0===e)throw"Not supported by the OIDC server";window.cordova.plugins.browsertab.openUrl(e)},redirectUri:function(e){return e&&e.redirectUri?e.redirectUri:o.redirectUri?o.redirectUri:"http://localhost"}};throw"invalid adapter type: "+e}globalThis.isSecureContext||f("[KEYCLOAK] Keycloak JS must be used in a 'secure context' to function properly as it relies on browser APIs that are otherwise not available.\nContinuing to run your application insecurely will lead to unexpected behavior and breakage.\n\nFor more information see: https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts"),o.init=function(r={}){if(o.didInitialize)throw new Error("A 'Keycloak' instance can only be initialized once.");if(o.didInitialize=!0,o.authenticated=!1,t=function(){try{return new S}catch(e){}return new O}(),n=["default","cordova","cordova-native"].indexOf(r.adapter)>-1?I(r.adapter):"object"==typeof r.adapter?r.adapter:window.Cordova||window.cordova?I("cordova"):I(),void 0!==r.useNonce&&(u=r.useNonce),void 0!==r.checkLoginIframe&&(s.enable=r.checkLoginIframe),r.checkLoginIframeInterval&&(s.interval=r.checkLoginIframeInterval),"login-required"===r.onLoad&&(o.loginRequired=!0),r.responseMode){if("query"!==r.responseMode&&"fragment"!==r.responseMode)throw"Invalid value for responseMode";o.responseMode=r.responseMode}if(r.flow){switch(r.flow){case"standard":o.responseType="code";break;case"implicit":o.responseType="id_token token";break;case"hybrid":o.responseType="code id_token token";break;default:throw"Invalid value for flow"}o.flow=r.flow}if(null!=r.timeSkew&&(o.timeSkew=r.timeSkew),r.redirectUri&&(o.redirectUri=r.redirectUri),r.silentCheckSsoRedirectUri&&(o.silentCheckSsoRedirectUri=r.silentCheckSsoRedirectUri),o.silentCheckSsoFallback="boolean"!=typeof r.silentCheckSsoFallback||r.silentCheckSsoFallback,void 0!==r.pkceMethod){if("S256"!==r.pkceMethod&&!1!==r.pkceMethod)throw new TypeError(`Invalid value for pkceMethod', expected 'S256' or false but got ${r.pkceMethod}.`);o.pkceMethod=r.pkceMethod}else o.pkceMethod="S256";o.enableLogging="boolean"==typeof r.enableLogging&&r.enableLogging,o.logoutMethod="POST"===r.logoutMethod?"POST":"GET","string"==typeof r.scope&&(o.scope=r.scope),"string"==typeof r.acrValues&&(o.acrValues=r.acrValues),o.messageReceiveTimeout="number"==typeof r.messageReceiveTimeout&&r.messageReceiveTimeout>0?r.messageReceiveTimeout:1e4,o.responseMode||(o.responseMode="fragment"),o.responseType||(o.responseType="code",o.flow="standard");var i=g(),a=g();a.promise.then((function(){o.onReady&&o.onReady(o.authenticated),i.setSuccess(o.authenticated)})).catch((function(e){i.setError(e)}));var c=function(){var n,t=g();function r(e){o.endpoints=e?{authorize:function(){return e.authorization_endpoint},token:function(){return e.token_endpoint},logout:function(){if(!e.end_session_endpoint)throw"Not supported by the OIDC server";return e.end_session_endpoint},checkSessionIframe:function(){if(!e.check_session_iframe)throw"Not supported by the OIDC server";return e.check_session_iframe},register:function(){throw'Redirection to "Register user" page not supported in standard OIDC mode'},userinfo:function(){if(!e.userinfo_endpoint)throw"Not supported by the OIDC server";return e.userinfo_endpoint}}:{authorize:function(){return d()+"/protocol/openid-connect/auth"},token:function(){return d()+"/protocol/openid-connect/token"},logout:function(){return d()+"/protocol/openid-connect/logout"},checkSessionIframe:function(){return d()+"/protocol/openid-connect/login-status-iframe.html"},thirdPartyCookiesIframe:function(){return d()+"/protocol/openid-connect/3p-cookies/step1.html"},register:function(){return d()+"/protocol/openid-connect/registrations"},userinfo:function(){return d()+"/protocol/openid-connect/userinfo"}}}if("string"==typeof e&&(n=e),n)(a=new XMLHttpRequest).open("GET",n,!0),a.setRequestHeader("Accept","application/json"),a.onreadystatechange=function(){if(4==a.readyState)if(200==a.status||h(a)){var e=JSON.parse(a.responseText);o.authServerUrl=e["auth-server-url"],o.realm=e.realm,o.clientId=e.resource,r(null),t.setSuccess()}else t.setError()},a.send();else{o.clientId=e.clientId;var i,a,c=e.oidcProvider;c?"string"==typeof c?(i="/"==c.charAt(c.length-1)?c+".well-known/openid-configuration":c+"/.well-known/openid-configuration",(a=new XMLHttpRequest).open("GET",i,!0),a.setRequestHeader("Accept","application/json"),a.onreadystatechange=function(){4==a.readyState&&(200==a.status||h(a)?(r(JSON.parse(a.responseText)),t.setSuccess()):t.setError())},a.send()):(r(c),t.setSuccess()):(o.authServerUrl=e.url,o.realm=e.realm,r(null),t.setSuccess())}return t.promise}();function l(){var e=function(e){e||(t.prompt="none"),r.locale&&(t.locale=r.locale),o.login(t).then((function(){a.setSuccess()})).catch((function(e){a.setError(e)}))},n=async function(){var e=document.createElement("iframe"),n=await o.createLoginUrl({prompt:"none",redirectUri:o.silentCheckSsoRedirectUri});e.setAttribute("src",n),e.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),e.setAttribute("title","keycloak-silent-check-sso"),e.style.display="none",document.body.appendChild(e);var t=function(n){n.origin===window.location.origin&&e.contentWindow===n.source&&(p(m(n.data),a),document.body.removeChild(e),window.removeEventListener("message",t))};window.addEventListener("message",t)},t={};switch(r.onLoad){case"check-sso":s.enable?k().then((function(){_().then((function(t){t?a.setSuccess():o.silentCheckSsoRedirectUri?n():e(!1)})).catch((function(e){a.setError(e)}))})):o.silentCheckSsoRedirectUri?n():e(!1);break;case"login-required":e(!0);break;default:throw"Invalid value for onLoad"}}function v(){var e=m(window.location.href);if(e&&window.history.replaceState(window.history.state,null,e.newUrl),e&&e.valid)return k().then((function(){p(e,a)})).catch((function(e){a.setError(e)}));r.token&&r.refreshToken?(w(r.token,r.refreshToken,r.idToken),s.enable?k().then((function(){_().then((function(e){e?(o.onAuthSuccess&&o.onAuthSuccess(),a.setSuccess(),b()):a.setSuccess()})).catch((function(e){a.setError(e)}))})):o.updateToken(-1).then((function(){o.onAuthSuccess&&o.onAuthSuccess(),a.setSuccess()})).catch((function(e){o.onAuthError&&o.onAuthError(),r.onLoad?l():a.setError(e)}))):r.onLoad?l():a.setSuccess()}return c.then((function(){(function(){var e=g();if((s.enable||o.silentCheckSsoRedirectUri)&&"function"==typeof o.endpoints.thirdPartyCookiesIframe){var n=document.createElement("iframe");n.setAttribute("src",o.endpoints.thirdPartyCookiesIframe()),n.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),n.setAttribute("title","keycloak-3p-check-iframe"),n.style.display="none",document.body.appendChild(n);var t=function(r){n.contentWindow===r.source&&("supported"!==r.data&&"unsupported"!==r.data||("unsupported"===r.data&&(f("[KEYCLOAK] Your browser is blocking access to 3rd-party cookies, this means:\n\n - It is not possible to retrieve tokens without redirecting to the Keycloak server (a.k.a. no support for silent authentication).\n - It is not possible to automatically detect changes to the session status (such as the user logging out in another tab).\n\nFor more information see: https://www.keycloak.org/securing-apps/javascript-adapter#_modern_browsers"),s.enable=!1,o.silentCheckSsoFallback&&(o.silentCheckSsoRedirectUri=!1)),document.body.removeChild(n),window.removeEventListener("message",t),e.setSuccess()))};window.addEventListener("message",t,!1)}else e.setSuccess();return function(e,n){var t=null,o=new Promise((function(e,o){t=setTimeout((function(){o({error:"Timeout when waiting for 3rd party check iframe message."})}),n)}));return Promise.race([e,o]).finally((function(){clearTimeout(t)}))}(e.promise,o.messageReceiveTimeout)})().then(v).catch((function(e){i.setError(e)}))})),c.catch((function(e){i.setError(e)})),i.promise},o.login=function(e){return n.login(e)},o.createLoginUrl=async function(e){var r,i=v(),a=v(),c=n.redirectUri(e),s={state:i,nonce:a,redirectUri:encodeURIComponent(c),loginOptions:e};e&&e.prompt&&(s.prompt=e.prompt),r=e&&"register"==e.action?o.endpoints.register():o.endpoints.authorize();var l=e&&e.scope||o.scope;l?-1===l.indexOf("openid")&&(l="openid "+l):l="openid";var f=r+"?client_id="+encodeURIComponent(o.clientId)+"&redirect_uri="+encodeURIComponent(c)+"&state="+encodeURIComponent(i)+"&response_mode="+encodeURIComponent(o.responseMode)+"&response_type="+encodeURIComponent(o.responseType)+"&scope="+encodeURIComponent(l);if(u&&(f=f+"&nonce="+encodeURIComponent(a)),e&&e.prompt&&(f+="&prompt="+encodeURIComponent(e.prompt)),e&&"number"==typeof e.maxAge&&(f+="&max_age="+encodeURIComponent(e.maxAge)),e&&e.loginHint&&(f+="&login_hint="+encodeURIComponent(e.loginHint)),e&&e.idpHint&&(f+="&kc_idp_hint="+encodeURIComponent(e.idpHint)),e&&e.action&&"register"!=e.action&&(f+="&kc_action="+encodeURIComponent(e.action)),e&&e.locale&&(f+="&ui_locales="+encodeURIComponent(e.locale)),e&&e.acr){var d=JSON.stringify({id_token:{acr:e.acr}});f+="&claims="+encodeURIComponent(d)}if((e&&e.acrValues||o.acrValues)&&(f+="&acr_values="+encodeURIComponent(e.acrValues||o.acrValues)),o.pkceMethod)try{const e=function(e,n){for(var t=function(e){if("undefined"==typeof crypto||void 0===crypto.getRandomValues)throw new Error("Web Crypto API is not available.");return crypto.getRandomValues(new Uint8Array(e))}(e),o=new Array(e),r=0;r<e;r++)o[r]=n.charCodeAt(t[r]%62);return String.fromCharCode.apply(null,o)}(96,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"),n=await async function(e,n){if("S256"!==e)throw new TypeError(`Invalid value for 'pkceMethod', expected 'S256' but got '${e}'.`);return function(e){const n=String.fromCodePoint(...e);return btoa(n)}(new Uint8Array(await async function(e){const n=(new TextEncoder).encode(e);if("undefined"==typeof crypto||void 0===crypto.subtle)throw new Error("Web Crypto API is not available.");return await crypto.subtle.digest("SHA-256",n)}(n))).replace(/\+/g,"-").replace(/\//g,"_").replace(/\=/g,"")}(o.pkceMethod,e);s.pkceCodeVerifier=e,f+="&code_challenge="+n,f+="&code_challenge_method="+o.pkceMethod}catch(e){throw new Error("Failed to generate PKCE challenge.",{cause:e})}return t.add(s),f},o.logout=function(e){return n.logout(e)},o.createLogoutUrl=function(e){if("POST"===(e?.logoutMethod??o.logoutMethod))return o.endpoints.logout();var t=o.endpoints.logout()+"?client_id="+encodeURIComponent(o.clientId)+"&post_logout_redirect_uri="+encodeURIComponent(n.redirectUri(e,!1));return o.idToken&&(t+="&id_token_hint="+encodeURIComponent(o.idToken)),t},o.register=function(e){return n.register(e)},o.createRegisterUrl=async function(e){return e||(e={}),e.action="register",await o.createLoginUrl(e)},o.createAccountUrl=function(e){var t=d(),r=void 0;return void 0!==t&&(r=t+"/account?referrer="+encodeURIComponent(o.clientId)+"&referrer_uri="+encodeURIComponent(n.redirectUri(e))),r},o.accountManagement=function(){return n.accountManagement()},o.hasRealmRole=function(e){var n=o.realmAccess;return!!n&&n.roles.indexOf(e)>=0},o.hasResourceRole=function(e,n){if(!o.resourceAccess)return!1;var t=o.resourceAccess[n||o.clientId];return!!t&&t.roles.indexOf(e)>=0},o.loadUserProfile=function(){var e=d()+"/account",n=new XMLHttpRequest;n.open("GET",e,!0),n.setRequestHeader("Accept","application/json"),n.setRequestHeader("Authorization","bearer "+o.token);var t=g();return n.onreadystatechange=function(){4==n.readyState&&(200==n.status?(o.profile=JSON.parse(n.responseText),t.setSuccess(o.profile)):t.setError())},n.send(),t.promise},o.loadUserInfo=function(){var e=o.endpoints.userinfo(),n=new XMLHttpRequest;n.open("GET",e,!0),n.setRequestHeader("Accept","application/json"),n.setRequestHeader("Authorization","bearer "+o.token);var t=g();return n.onreadystatechange=function(){4==n.readyState&&(200==n.status?(o.userInfo=JSON.parse(n.responseText),t.setSuccess(o.userInfo)):t.setError())},n.send(),t.promise},o.isTokenExpired=function(e){if(!o.tokenParsed||!o.refreshToken&&"implicit"!=o.flow)throw"Not authenticated";if(null==o.timeSkew)return l("[KEYCLOAK] Unable to determine if token is expired as timeskew is not set"),!0;var n=o.tokenParsed.exp-Math.ceil((new Date).getTime()/1e3)+o.timeSkew;if(e){if(isNaN(e))throw"Invalid minValidity";n-=e}return n<0},o.updateToken=function(e){var n=g();if(!o.refreshToken)return n.setError(),n.promise;e=e||5;var t=function(){var t=!1;if(-1==e?(t=!0,l("[KEYCLOAK] Refreshing token: forced refresh")):o.tokenParsed&&!o.isTokenExpired(e)||(t=!0,l("[KEYCLOAK] Refreshing token: token expired")),t){var i="grant_type=refresh_token&refresh_token="+o.refreshToken,a=o.endpoints.token();if(r.push(n),1==r.length){var c=new XMLHttpRequest;c.open("POST",a,!0),c.setRequestHeader("Content-type","application/x-www-form-urlencoded"),c.withCredentials=!0,i+="&client_id="+encodeURIComponent(o.clientId);var s=(new Date).getTime();c.onreadystatechange=function(){if(4==c.readyState)if(200==c.status){l("[KEYCLOAK] Token refreshed"),s=(s+(new Date).getTime())/2;var e=JSON.parse(c.responseText);w(e.access_token,e.refresh_token,e.id_token,s),o.onAuthRefreshSuccess&&o.onAuthRefreshSuccess();for(var n=r.pop();null!=n;n=r.pop())n.setSuccess(!0)}else for(f("[KEYCLOAK] Failed to refresh token"),400==c.status&&o.clearToken(),o.onAuthRefreshError&&o.onAuthRefreshError(),n=r.pop();null!=n;n=r.pop())n.setError("Failed to refresh token: An unexpected HTTP error occurred while attempting to refresh the token.")},c.send(i)}}else n.setSuccess(!1)};return s.enable?_().then((function(){t()})).catch((function(e){n.setError(e)})):t(),n.promise},o.clearToken=function(){o.token&&(w(null,null,null),o.onAuthLogout&&o.onAuthLogout(),o.loginRequired&&o.login())};const C="kc-callback-";var S=function(){if(!(this instanceof S))return new S;function e(){const e=Date.now();for(const[o,r]of n()){const n=t(r);(null===n||n<e)&&localStorage.removeItem(o)}}function n(){return Object.entries(localStorage).filter((([e])=>e.startsWith(C)))}function t(e){let n;try{n=JSON.parse(e)}catch(e){return null}return c(n)&&"expires"in n&&"number"==typeof n.expires?n.expires:null}localStorage.setItem("kc-test","test"),localStorage.removeItem("kc-test"),this.get=function(n){if(n){var t=C+n,o=localStorage.getItem(t);return o&&(localStorage.removeItem(t),o=JSON.parse(o)),e(),o}},this.add=function(t){e();const o=C+t.state,r=JSON.stringify({...t,expires:Date.now()+36e5});try{localStorage.setItem(o,r)}catch(e){!function(){for(const[e]of n())localStorage.removeItem(e)}(),localStorage.setItem(o,r)}}},O=function(){if(!(this instanceof O))return new O;var e=this;e.get=function(e){if(e){var r=t(C+e);return o(C+e,"",n(-100)),r?JSON.parse(r):void 0}},e.add=function(e){o(C+e.state,JSON.stringify(e),n(60))},e.removeItem=function(e){o(e,"",n(-100))};var n=function(e){var n=new Date;return n.setTime(n.getTime()+60*e*1e3),n},t=function(e){for(var n=e+"=",t=document.cookie.split(";"),o=0;o<t.length;o++){for(var r=t[o];" "==r.charAt(0);)r=r.substring(1);if(0==r.indexOf(n))return r.substring(n.length,r.length)}return""},o=function(e,n,t){var o=e+"="+n+"; expires="+t.toUTCString()+"; ";document.cookie=o}};function U(e){return function(){o.enableLogging&&e.apply(console,Array.prototype.slice.call(arguments))}}}function a(e){const[n,t]=e.split(".");if("string"!=typeof t)throw new Error("Unable to decode token, payload not found.");let o;try{o=function(e){let n=e.replaceAll("-","+").replaceAll("_","/");switch(n.length%4){case 0:break;case 2:n+="==";break;case 3:n+="=";break;default:throw new Error("Input is not of the correct length.")}try{return function(e){return decodeURIComponent(atob(e).replace(/(.)/g,((e,n)=>{let t=n.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t="0"+t),"%"+t})))}(n)}catch(e){return atob(n)}}(t)}catch(e){throw new Error("Unable to decode token, payload is not a valid Base64URL value.",{cause:e})}try{return JSON.parse(o)}catch(e){throw new Error("Unable to decode token, payload is not a valid JSON value.",{cause:e})}}function c(e){return"object"==typeof e&&null!==e}let s=null,u=null;const l=class{constructor(t){e(this,t),this.keycloak=n(this,"keycloak",7),this.auth=n(this,"auth",7),this.handleLogin=async()=>{if(!this.authenticated)try{await function(){if(!s)throw new Error("Keycloak is not initialized.");s.login()}()}catch(e){r.show(e.message,"error")}},this.handleLogout=async()=>{try{await function(){if(!s)throw new Error("Keycloak is not initialized.");s.logout()}()}catch(e){r.show(e.message,"error")}this.authenticated=!1,this.user=null},this.keycloakUrl=void 0,this.keycloakRealm=void 0,this.keycloakClientId=void 0,this.authenticated=!1,this.user=null,this.serverAvailable=!1}async componentWillLoad(){this.keycloakUrl&&this.keycloakRealm&&this.keycloakClientId?(this.serverAvailable=await async function(e){try{const n=await fetch(e,{method:"HEAD",mode:"no-cors"});return n.ok||"opaque"===n.type}catch(e){return!1}}(`${this.keycloakUrl}/realms/${this.keycloakRealm}`),this.serverAvailable?await this.initAuth():r.show("Keycloak server is unavailable.","error")):console.error("Keycloak configuration props are missing.")}async initAuth(){try{const e=await function(e,n=!0){return u?(console.log("Keycloak already initialized, returning from cache"),u):(s||(s=new i({url:e.url,realm:e.realm,clientId:e.clientId})),u=s.init({onLoad:n?"check-sso":"login-required",checkLoginIframe:!1}).then((e=>e)).catch((e=>(console.error("Failed to initialize Keycloak:",e),!1))),u)}({url:this.keycloakUrl,realm:this.keycloakRealm,clientId:this.keycloakClientId},!0);this.keycloak.emit({init:e}),(null==s?void 0:s.authenticated)&&(this.user=(null==s?void 0:s.authenticated)&&(null==s?void 0:s.idTokenParsed)?{fullname:s.idTokenParsed.name,email:s.idTokenParsed.email,lastname:s.idTokenParsed.family_name,firstname:s.idTokenParsed.given_name,username:s.idTokenParsed.preferred_username,background:"grey",token:s.token,sub:s.idTokenParsed.sub}:{},this.authenticated=!0,this.auth.emit({authenticated:this.authenticated,user:this.user}))}catch(e){r.show(e.message,"error")}}render(){return t("div",{key:"ac10895096f36f2fb3a79622972d5a8c519685eb",class:"block"},!this.authenticated&&t("eds-button",{key:"55aab5ee63214d6a1ccdefc303273df99aa309cf",label:"Login",intent:"primary","extra-class":"text-default","aria-label":"Login",triggerClick:this.handleLogin.bind(this)}))}},f=class{constructor(t){e(this,t),this.splash=n(this,"splash",7),this.inverse=!1,this.initPromise=void 0,this.isVisible=!0}componentWillLoad(){this.initPromise&&this.handleInitPromise(this.initPromise)}async watchInitPromise(e){e&&this.handleInitPromise(e)}async handleInitPromise(e){try{await e,this.hideSplash()}catch(e){this.splash.emit({type:"error",message:e.message||"Unknown error"})}}handleHideSplash(){this.hideSplash()}hideSplash(){this.isVisible=!1,this.splash.emit({type:"hidden",message:"Splash screen hidden successfully"})}render(){return this.isVisible?t(o,null,t("div",{class:"splash-overlay",style:{background:this.inverse?"black":"var(--grey-200)"}},t("div",{class:"logo-container"},t("eds-logo",this.inverse?{orientation:"vertical",type:"color-white"}:{orientation:"vertical",type:"color"})),t("div",{class:"content-container"},t("eds-spinner",{size:"1rem",thickness:"3px","border-color":"var(--grey-400)","bottom-color":"var(--grey-900)",background:"none",fullscreen:!1})))):null}static get watchers(){return{initPromise:["watchInitPromise"]}}};f.style=".splash-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999999;background-color:var(--grey-200);display:flex;flex-direction:column;align-items:center;justify-content:center}.logo-container{width:200px;height:200px;margin-bottom:1rem}.content-container{position:relative;width:5rem;height:5rem;display:flex;align-items:center;justify-content:center}";export{l as eds_login,f as eds_splash_screen}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as c}from"./p-cccacbd3.js";import{e as r}from"./p-0e6d43c5.js";const e=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"9758d733a6bdc751f059588ca8c3bc916f430968",class:this.class,innerHTML:r})}};export{e as eds_icon_eu}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as n,h as e,g as t}from"./p-cccacbd3.js";import{c as i}from"./p-112122d6.js";const r=i(["w-full bg-dark"],{variants:{intent:{default:"",warning:"bg-warning",error:"bg-error",success:"bg-success"},brd:{rounded:"rounded-lg border-inside after:border-softest after:rounded-lg",normal:""},direction:{vertical:"space-y-12",horizontal:"flex flex-row items-center justify-between gap-x-12"},withBtn:{false:"",true:""}},compoundVariants:[{direction:"horizontal",withBtn:!0,class:"px-20 pr-12 py-12"},{direction:"horizontal",withBtn:!1,class:"p-20"},{direction:"vertical",withBtn:!0,class:"p-16"},{direction:"vertical",withBtn:!1,class:"px-12 py-20"}],defaultVariants:{intent:"default",brd:"rounded",direction:"horizontal"}}),o=class{constructor(e){n(this,e),this.message=void 0,this.pressableLabel=void 0,this.pressableUrl=void 0,this.direction="horizontal",this.intent="default",this.brd="rounded",this.withBtn=!1}componentWillLoad(){this.withBtn=Boolean(this.pressableLabel)}componentDidLoad(){var n;const e=null===(n=this.el.shadowRoot)||void 0===n?void 0:n.querySelector("eds-link");e&&this.emitContext(e)}emitContext(n){const e=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});n.dispatchEvent(e)}render(){return e("div",{key:"02e7ec45a64008c3a5e8ea99cade7da6b076259f",class:r({intent:this.intent,brd:this.brd,direction:this.direction,withBtn:this.withBtn}),role:"alert"},e("p",{key:"ba99f147a48ed7cc19ccc18b309e1a11ca053a09",class:"f-ui-01 py-8",innerHTML:this.message}),this.withBtn&&(this.pressableUrl?e("eds-link",{class:"eds-alert-link",label:this.pressableLabel,url:this.pressableUrl,intent:"secondary",external:!0}):null))}get el(){return t(this)}};o.style=':root {\n font-optical-sizing: auto;\n}\n\nhtml,\nbody {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n/*\n:focus[data-focus-method="mouse"],\n:focus[data-focus-method="touch"] {\n outline: none !important;\n}\n*/\n/*FADE*/\n/*FADE TRANSLATE Y*/\n/*SLIDE LEFT*/\n/*SLIDE BOTTOM*/\n/*COLLAPSE Y*/\n*,\n::before,\n::after {\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n}\n\n::backdrop {\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n}\n\n/*\n! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com\n*/\n/*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n*,\n::before,\n::after {\n box-sizing: border-box;\n /* 1 */\n border-width: 0;\n /* 2 */\n border-style: solid;\n /* 2 */\n border-color: currentColor;\n /* 2 */\n}\n\n::before,\n::after {}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user\'s configured `sans` font-family by default.\n5. Use the user\'s configured `sans` font-feature-settings by default.\n6. Use the user\'s configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\nhtml {\n line-height: 1.5;\n /* 1 */\n -webkit-text-size-adjust: 100%;\n /* 2 */\n -moz-tab-size: 4;\n /* 3 */\n -o-tab-size: 4;\n tab-size: 4;\n /* 3 */\n font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n /* 4 */\n font-feature-settings: normal;\n /* 5 */\n font-variation-settings: normal;\n /* 6 */\n -webkit-tap-highlight-color: transparent;\n /* 7 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\nbody {\n margin: 0;\n /* 1 */\n line-height: inherit;\n /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\nhr {\n height: 0;\n /* 1 */\n color: inherit;\n /* 2 */\n border-top-width: 1px;\n /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user\'s configured `mono` font-family by default.\n2. Use the user\'s configured `mono` font-feature-settings by default.\n3. Use the user\'s configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\ncode,\npre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;\n /* 1 */\n font-feature-settings: normal;\n /* 2 */\n font-variation-settings: normal;\n /* 3 */\n font-size: 1em;\n /* 4 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\nsmall {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\nsub {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\ntable {\n text-indent: 0;\n /* 1 */\n border-color: inherit;\n /* 2 */\n border-collapse: collapse;\n /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\nbutton,\ninput,\nselect,\ntextarea {\n font-family: inherit;\n /* 1 */\n font-feature-settings: inherit;\n /* 1 */\n font-variation-settings: inherit;\n /* 1 */\n font-size: 100%;\n /* 1 */\n font-weight: inherit;\n /* 1 */\n line-height: inherit;\n /* 1 */\n letter-spacing: inherit;\n /* 1 */\n color: inherit;\n /* 1 */\n margin: 0;\n /* 2 */\n padding: 0;\n /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\nbutton,\ninput:where([type=\'button\']),\ninput:where([type=\'submit\']) {\n -webkit-appearance: button;\n /* 1 */\n background-color: transparent;\n /* 2 */\n background-image: none;\n /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n[type=\'search\'] {\n -webkit-appearance: textfield;\n /* 1 */\n outline-offset: -2px;\n /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n::-webkit-file-upload-button {\n -webkit-appearance: button;\n /* 1 */\n font: inherit;\n /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\np,\npre {\n margin: 0;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nReset default styling for dialogs.\n*/\ndialog {\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\ntextarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user\'s configured gray 400 color.\n*/\ninput::-moz-placeholder,\ntextarea::-moz-placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\nbutton,\n[role="button"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don\'t get the pointer cursor.\n*/\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\nimg,\niframe,\nobject {\n display: block;\n /* 1 */\n vertical-align: middle;\n /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\nimg {\n max-width: 100%;\n height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden] {\n display: none;\n}\n\n:root {\n --inner-gutter: 8px;\n}\n\n@media (min-width: 750px) {\n :root {\n --inner-gutter: 12px;\n }\n}\n\n@media (min-width: 900px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n\n@media (min-width: 1024px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n\n@media (min-width: 1280px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n\n@media (min-width: 2200px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n\n:root {}\n\n@media (min-width: 900px) {\n :root {}\n}\n\n:root {\n --sans: Inter, Helvetica, Arial, sans-serif;\n --f-ui-01-fontFamily: var(--sans);\n --f-ui-01-fontWeight: 800;\n --f-ui-01-fontSize: 18px;\n --f-ui-01-lineHeight: 110%;\n --f-ui-01-letterSpacing: -0.01em;\n}\n\n.f-ui-01 {\n font-family: var(--f-ui-01-fontFamily);\n font-weight: var(--f-ui-01-fontWeight);\n font-size: var(--f-ui-01-fontSize);\n line-height: var(--f-ui-01-lineHeight);\n letter-spacing: var(--f-ui-01-letterSpacing);\n}\n\n@media (min-width: 750px) {\n :root {}\n}\n\n@media (min-width: 900px) {\n :root {}\n}\n\n@media (min-width: 1024px) {\n :root {}\n}\n\n.f-ui-01 b,\n.f-ui-01 strong {\n font-weight: var(--f-ui-01---bold-weight, bold);\n}\n\n:root {\n --grey-300: #e6e6e6;\n --green-200: #d3ffdc;\n --yellow-200: #ffffcb;\n --red-200: #ffe0e1;\n}\n\n@media (min-width: 750px) {\n .md\\:grid-line-x>*::before {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: 0;\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n\n .md\\:grid-line-xfull>*::before {\n content: attr(👻);\n inset-inline-start: calc(var(--inner-gutter) / -2);\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n\n .md\\:grid-line-x-0>*::before {\n content: none;\n }\n\n .md\\:grid-line-y>*::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n\n .md\\:grid-line-yfull>*::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: calc(var(--inner-gutter) / -1);\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n\n .md\\:grid-line-y-0>*::after {\n content: none;\n }\n}\n\n@media (min-width: 900px) {\n .lg\\:grid-line-x>*::before {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: 0;\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n\n .lg\\:grid-line-xfull>*::before {\n content: attr(👻);\n inset-inline-start: calc(var(--inner-gutter) / -2);\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n\n .lg\\:grid-line-x-0>*::before {\n content: none;\n }\n\n .lg\\:grid-line-y>*::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n\n .lg\\:grid-line-yfull>*::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: calc(var(--inner-gutter) / -1);\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n\n .lg\\:grid-line-y-0>*::after {\n content: none;\n }\n}\n\n.border-inside {\n position: relative;\n\n &::after {\n pointer-events: none;\n }\n\n &::after {\n position: absolute;\n }\n\n &::after {\n inset: 0rem;\n }\n\n &::after {\n z-index: 1;\n }\n\n &::after {\n border-radius: 8px;\n }\n\n &::after {\n border-width: 1px;\n }\n\n &::after {\n border-width: 2px;\n }\n\n &::after {\n border-color: rgba(0, 0, 0, .1);\n }\n\n &::after {\n content: \'\';\n }\n}\n\n/** region TRANSITIONS */\n/** endregion */\n/* region FOCUS */\n/* endregion */\n/* region BG */\n/* endregion */\n/*region shadow*/\n/*endregion*/\n.flex {\n display: flex;\n}\n\n.w-full {\n width: 100%;\n}\n\n.flex-row {\n flex-direction: row;\n}\n\n.items-center {\n align-items: center;\n}\n\n.justify-between {\n justify-content: space-between;\n}\n\n.gap-x-12 {\n -moz-column-gap: 0.75rem;\n column-gap: 0.75rem;\n}\n\n.space-y-12> :not([hidden])~ :not([hidden]) {\n --tw-space-y-reverse: 0;\n margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));\n margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));\n}\n\n.rounded-lg {\n border-radius: 16px;\n}\n\n.bg-dark {\n background-color: var(--grey-300);\n}\n\n.bg-error {\n background-color: var(--red-200);\n}\n\n.bg-success {\n background-color: var(--green-200);\n}\n\n.bg-warning {\n background-color: var(--yellow-200);\n}\n\n.p-16 {\n padding: 1rem;\n}\n\n.p-20 {\n padding: 1.25rem;\n}\n\n.px-12 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n\n.px-20 {\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n\n.py-12 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n\n.py-20 {\n padding-top: 1.25rem;\n padding-bottom: 1.25rem;\n}\n\n.py-8 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n.pr-12 {\n padding-right: 0.75rem;\n}\n\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n[class*=underline-] {\n text-decoration-line: underline;\n}\n\n.after\\:rounded-lg::after {\n border-radius: 16px;\n}\n\n.after\\:border-softest::after {\n border-color: rgba(0, 0, 0, .05);\n}';export{o as eds_alert}
|