@eunomia/elements 1.0.0-beta.9 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -6
- package/dist/angular/forms.d.ts +80 -0
- package/dist/angular/forms.js +267 -0
- package/dist/cdn/components/chunks/chunk-2XPIGFBD.js +1 -0
- package/dist/cdn/components/chunks/chunk-5IUNSTM3.js +1 -0
- package/dist/cdn/components/chunks/chunk-7HXPLZ7C.js +1 -0
- package/dist/cdn/components/chunks/{chunk-J3SZBXM6.js → chunk-A2NO4RSF.js} +7 -7
- package/dist/cdn/components/chunks/{chunk-Q34EQ5HZ.js → chunk-A623JJXJ.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-Y3HOIL64.js → chunk-AW7PU43S.js} +2 -2
- package/dist/cdn/components/chunks/{chunk-FF3I7C3C.js → chunk-DWTNRFWW.js} +1 -3
- package/dist/cdn/components/chunks/chunk-FPNWPMHA.js +1 -0
- package/dist/cdn/components/chunks/chunk-GMWUHGNI.js +319 -0
- package/dist/cdn/components/chunks/{chunk-FQUWHNQT.js → chunk-GXOEPXDW.js} +1 -1
- package/dist/cdn/components/chunks/chunk-HXESKTK2.js +1 -0
- package/dist/cdn/components/chunks/chunk-JDUWKPHW.js +46 -0
- package/dist/cdn/components/chunks/{chunk-D3JJBHXN.js → chunk-JLKCBPD2.js} +2 -2
- package/dist/cdn/components/chunks/chunk-M6ZJHL4Q.js +1 -0
- package/dist/cdn/components/chunks/{chunk-TN3HGHQO.js → chunk-MDSUMP3O.js} +4 -4
- package/dist/cdn/components/chunks/chunk-MSQWOKBB.js +1 -0
- package/dist/cdn/components/chunks/{chunk-3UUZM7X2.js → chunk-NPXRQHUN.js} +3 -3
- package/dist/cdn/components/chunks/chunk-OB7DEGNX.js +1 -0
- package/dist/cdn/components/chunks/{chunk-JANNHW4Q.js → chunk-PADHCLBG.js} +4 -4
- package/dist/cdn/components/chunks/chunk-QMXE3KLT.js +1 -0
- package/dist/cdn/components/chunks/chunk-QNWKRPOW.js +1 -0
- package/dist/cdn/components/chunks/{chunk-KQUUMZ7U.js → chunk-RZF7QQDX.js} +7 -7
- package/dist/cdn/components/chunks/chunk-SCAP7J35.js +1 -0
- package/dist/cdn/components/chunks/chunk-TISMX7UL.js +1 -0
- package/dist/cdn/components/chunks/chunk-TWLI2ZOT.js +1 -0
- package/dist/cdn/components/chunks/chunk-W4VCWRY7.js +210 -0
- package/dist/cdn/components/chunks/{chunk-SZZRMJ65.js → chunk-WEG3KO6T.js} +3 -3
- package/dist/cdn/components/chunks/chunk-WP6ZYBAC.js +1 -0
- package/dist/cdn/components/chunks/{chunk-HGX6GPHM.js → chunk-XCBQ4CKH.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-3UW2LJ7T.js → chunk-XZ3LFOQP.js} +2 -2
- package/dist/cdn/components/eun-alert.js +1 -1
- package/dist/cdn/components/eun-animate.js +92 -180
- package/dist/cdn/components/eun-breadcrumb.js +4 -4
- package/dist/cdn/components/eun-button.js +1 -1
- package/dist/cdn/components/eun-calendar.js +188 -115
- package/dist/cdn/components/eun-card.js +1 -1
- package/dist/cdn/components/eun-carousel.js +36 -28
- package/dist/cdn/components/eun-check-card.js +3 -3
- package/dist/cdn/components/eun-checkbox-list.js +2 -2
- package/dist/cdn/components/eun-checkbox.js +1 -1
- package/dist/cdn/components/eun-chip.js +11 -15
- package/dist/cdn/components/eun-collapse.js +21 -10
- package/dist/cdn/components/eun-color-picker.js +32 -32
- package/dist/cdn/components/eun-counter.js +8 -8
- package/dist/cdn/components/eun-date-picker.js +83 -79
- package/dist/cdn/components/eun-description-list.js +1 -1
- package/dist/cdn/components/eun-divider.js +9 -8
- package/dist/cdn/components/eun-drawer.js +8 -6
- package/dist/cdn/components/eun-dropdown-button.js +1 -1
- package/dist/cdn/components/eun-dropdown-item.js +4 -4
- package/dist/cdn/components/eun-fab.js +1 -1
- package/dist/cdn/components/eun-image-card.js +2 -2
- package/dist/cdn/components/eun-image-carousel.js +55 -29
- package/dist/cdn/components/eun-infinite-list.js +2 -2
- package/dist/cdn/components/eun-input-file.js +3 -3
- package/dist/cdn/components/eun-input-phone.js +6 -6
- package/dist/cdn/components/eun-input.js +1 -1
- package/dist/cdn/components/eun-label.js +1 -1
- package/dist/cdn/components/eun-link.js +18 -329
- package/dist/cdn/components/eun-loader.js +1 -1
- package/dist/cdn/components/eun-modal.js +9 -7
- package/dist/cdn/components/eun-nav-menu.js +363 -0
- package/dist/cdn/components/eun-pagination.js +4 -4
- package/dist/cdn/components/eun-password-strength.js +2 -2
- package/dist/cdn/components/eun-progress-bar.js +1 -1
- package/dist/cdn/components/eun-radio-card.js +4 -4
- package/dist/cdn/components/eun-radio-list.js +1 -1
- package/dist/cdn/components/eun-radio.js +1 -1
- package/dist/cdn/components/eun-rating.js +9 -9
- package/dist/cdn/components/eun-scheduler-event-editor.js +113 -77
- package/dist/cdn/components/eun-scheduler-event.js +1 -1
- package/dist/cdn/components/eun-scheduler.js +137 -79
- package/dist/cdn/components/eun-search.js +6 -6
- package/dist/cdn/components/eun-select.js +1 -1
- package/dist/cdn/components/eun-sidebar.js +23 -14
- package/dist/cdn/components/eun-slider.js +2 -2
- package/dist/cdn/components/eun-sliding-card.js +1 -1
- package/dist/cdn/components/eun-step.js +2 -2
- package/dist/cdn/components/eun-stepper.js +11 -12
- package/dist/cdn/components/eun-switch.js +2 -2
- package/dist/cdn/components/eun-tab-group.js +1 -1
- package/dist/cdn/components/eun-tab-panel.js +1 -1
- package/dist/cdn/components/eun-table-action-bar.js +1 -1
- package/dist/cdn/components/eun-table.js +13 -10
- package/dist/cdn/components/eun-tag.js +1 -1
- package/dist/cdn/components/eun-textarea.js +4 -4
- package/dist/cdn/components/eun-time-picker.js +28 -25
- package/dist/cdn/components/eun-toast.js +8 -8
- package/dist/cdn/components/eun-toggle-group.js +8 -2
- package/dist/cdn/components/eun-toggle-item.js +8 -2
- package/dist/cdn/components/eun-toggle.js +4 -1
- package/dist/cdn/components/eun-toolbar.js +114 -36
- package/dist/cdn/components/eun-tooltip.js +1 -1
- package/dist/cdn/styles/eunomia-themes.css +1 -1
- package/dist/cdn/styles/themes/eunomia-theme.css +1 -1
- package/dist/cdn/styles/themes/mixins/eunomia-neutrals.mixin.scss +2 -2
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.css +1 -1
- package/dist/cdn/styles/tools/mixins/layout/eunomia-grid.mixin.scss +116 -8
- package/dist/components/action/button/button.styles.js +2 -2
- package/dist/components/action/dropdown-button/dropdown-button.d.ts +4 -0
- package/dist/components/action/dropdown-button/dropdown-button.js +1 -0
- package/dist/components/action/dropdown-button/dropdown-button.styles.js +5 -4
- package/dist/components/action/dropdown-button/dropdown-item.d.ts +1 -0
- package/dist/components/action/dropdown-button/dropdown-item.js +1 -0
- package/dist/components/action/dropdown-button/dropdown-item.styles.js +4 -4
- package/dist/components/action/link/link.d.ts +2 -1
- package/dist/components/action/link/link.js +2 -1
- package/dist/components/action/link/link.styles.d.ts +40 -1
- package/dist/components/action/link/link.styles.js +83 -60
- package/dist/components/action/shared-styles/button-palette.styles.js +1 -1
- package/dist/components/action/toggle/toggle-group.d.ts +1 -0
- package/dist/components/action/toggle/toggle-group.js +1 -0
- package/dist/components/action/toggle/toggle-group.styles.d.ts +1 -0
- package/dist/components/action/toggle/toggle-group.styles.js +9 -2
- package/dist/components/action/toggle/toggle-item.styles.js +8 -2
- package/dist/components/action/toggle/toggle.d.ts +1 -0
- package/dist/components/action/toggle/toggle.js +1 -0
- package/dist/components/action/toggle/toggle.styles.d.ts +1 -0
- package/dist/components/action/toggle/toggle.styles.js +5 -1
- package/dist/components/alert/drawer/drawer.d.ts +14 -13
- package/dist/components/alert/drawer/drawer.js +20 -28
- package/dist/components/alert/modal/modal.d.ts +14 -13
- package/dist/components/alert/modal/modal.js +20 -28
- package/dist/components/alert/modal/modal.styles.js +1 -1
- package/dist/components/alert/toast/toast.d.ts +5 -5
- package/dist/components/alert/toast/toast.js +9 -10
- package/dist/components/alert/toast/toast.styles.js +3 -3
- package/dist/components/content/card/image-card.styles.js +1 -1
- package/dist/components/content/chip/chip.d.ts +7 -9
- package/dist/components/content/chip/chip.js +11 -14
- package/dist/components/content/chip/chip.styles.js +1 -5
- package/dist/components/content/collapse/collapse.d.ts +5 -0
- package/dist/components/content/collapse/collapse.js +7 -0
- package/dist/components/content/collapse/collapse.styles.d.ts +3 -0
- package/dist/components/content/collapse/collapse.styles.js +13 -1
- package/dist/components/content/description-list/description-list.styles.js +1 -1
- package/dist/components/content/image-carousel/image-carousel.d.ts +60 -13
- package/dist/components/content/image-carousel/image-carousel.js +100 -22
- package/dist/components/content/image-carousel/image-carousel.styles.js +32 -6
- package/dist/components/content/password-strength/password-strength.styles.js +1 -1
- package/dist/components/content/progress-bar/progress-bar.styles.js +1 -1
- package/dist/components/content/shared-styles/card-link.styles.js +1 -1
- package/dist/components/content/shared-styles/tone-surface.styles.js +1 -3
- package/dist/components/form/checkbox/check-card.styles.js +2 -2
- package/dist/components/form/checkbox/checkbox-list.d.ts +3 -1
- package/dist/components/form/checkbox/checkbox-list.js +3 -1
- package/dist/components/form/checkbox/checkbox.styles.js +1 -1
- package/dist/components/form/color-picker/color-picker.d.ts +28 -3
- package/dist/components/form/color-picker/color-picker.js +53 -7
- package/dist/components/form/counter/counter.js +1 -1
- package/dist/components/form/counter/counter.styles.js +2 -2
- package/dist/components/form/date-picker/date-picker-day-grid.styles.js +1 -1
- package/dist/components/form/date-picker/date-picker-month-grid.js +1 -1
- package/dist/components/form/date-picker/date-picker.d.ts +50 -13
- package/dist/components/form/date-picker/date-picker.js +178 -43
- package/dist/components/form/input/input.js +1 -4
- package/dist/components/form/input-file/input-file.styles.js +2 -2
- package/dist/components/form/input-phone/input-phone.js +4 -3
- package/dist/components/form/label/label.styles.js +1 -1
- package/dist/components/form/radio/radio-card.styles.js +2 -2
- package/dist/components/form/radio/radio.styles.js +1 -1
- package/dist/components/form/rating/rating.js +3 -5
- package/dist/components/form/rating/rating.styles.js +2 -2
- package/dist/components/form/search/search.d.ts +1 -7
- package/dist/components/form/search/search.js +2 -12
- package/dist/components/form/shared-styles/field.styles.js +2 -2
- package/dist/components/form/slider/slider.styles.js +1 -1
- package/dist/components/form/switch/switch.styles.js +1 -1
- package/dist/components/form/textarea/textarea.js +1 -5
- package/dist/components/form/textarea/textarea.styles.js +2 -2
- package/dist/components/form/time-picker/time-picker-columns.d.ts +4 -1
- package/dist/components/form/time-picker/time-picker-columns.js +64 -15
- package/dist/components/form/time-picker/time-picker-columns.styles.js +5 -1
- package/dist/components/form/time-picker/time-picker-list.d.ts +4 -1
- package/dist/components/form/time-picker/time-picker-list.js +15 -8
- package/dist/components/form/time-picker/time-picker.d.ts +11 -2
- package/dist/components/form/time-picker/time-picker.js +22 -8
- package/dist/components/layout/animate/animate.d.ts +35 -17
- package/dist/components/layout/animate/animate.js +27 -14
- package/dist/components/layout/animate/animate.styles.d.ts +2 -1
- package/dist/components/layout/animate/animate.styles.js +107 -179
- package/dist/components/layout/divider/divider.d.ts +1 -0
- package/dist/components/layout/divider/divider.js +2 -1
- package/dist/components/layout/divider/divider.styles.js +7 -6
- package/dist/components/layout/infinite-list/infinite-list.styles.js +1 -1
- package/dist/components/navigation/breadcrumb/breadcrumb.styles.js +3 -3
- package/dist/components/navigation/carousel/carousel.d.ts +23 -14
- package/dist/components/navigation/carousel/carousel.js +39 -27
- package/dist/components/navigation/carousel/carousel.styles.js +16 -8
- package/dist/components/navigation/nav-menu/nav-menu.d.ts +201 -0
- package/dist/components/navigation/nav-menu/nav-menu.js +673 -0
- package/dist/components/navigation/nav-menu/nav-menu.styles.d.ts +1 -0
- package/dist/components/navigation/nav-menu/nav-menu.styles.js +352 -0
- package/dist/components/navigation/pagination/pagination.d.ts +3 -0
- package/dist/components/navigation/pagination/pagination.styles.js +2 -2
- package/dist/components/navigation/sidebar/sidebar.d.ts +8 -10
- package/dist/components/navigation/sidebar/sidebar.js +12 -15
- package/dist/components/navigation/sidebar/sidebar.styles.js +13 -4
- package/dist/components/navigation/stepper/step.styles.js +2 -2
- package/dist/components/navigation/stepper/stepper.d.ts +24 -13
- package/dist/components/navigation/stepper/stepper.js +36 -23
- package/dist/components/navigation/stepper/stepper.styles.js +2 -2
- package/dist/components/navigation/tabs/tab-group/tab-group.js +1 -1
- package/dist/components/navigation/tabs/tab-panel/tab-panel.styles.js +1 -1
- package/dist/components/navigation/toolbar/toolbar.d.ts +121 -20
- package/dist/components/navigation/toolbar/toolbar.js +176 -45
- package/dist/components/navigation/toolbar/toolbar.styles.js +113 -28
- package/dist/events/editor-state-change.event.d.ts +28 -0
- package/dist/events/editor-state-change.event.js +22 -0
- package/dist/events/event-cancel.event.d.ts +20 -0
- package/dist/events/event-cancel.event.js +17 -0
- package/dist/events/period-change.event.d.ts +14 -6
- package/dist/events/period-change.event.js +9 -6
- package/dist/features/scheduler/calendar/calendar.d.ts +52 -20
- package/dist/features/scheduler/calendar/calendar.js +84 -36
- package/dist/features/scheduler/calendar/calendar.styles.js +5 -2
- package/dist/features/scheduler/scheduler/scheduler.d.ts +69 -4
- package/dist/features/scheduler/scheduler/scheduler.js +172 -47
- package/dist/features/scheduler/scheduler/scheduler.styles.js +6 -0
- package/dist/features/scheduler/scheduler-event/scheduler-event.d.ts +18 -20
- package/dist/features/scheduler/scheduler-event/scheduler-event.js +29 -38
- package/dist/features/scheduler/scheduler-event/scheduler-event.styles.js +2 -2
- package/dist/features/scheduler/scheduler-event-editor/scheduler-event-editor.d.ts +102 -18
- package/dist/features/scheduler/scheduler-event-editor/scheduler-event-editor.js +249 -112
- package/dist/features/scheduler/scheduler-event-editor/scheduler-event-editor.styles.js +11 -1
- package/dist/features/scheduler/shared/scheduler-event-popover.d.ts +9 -1
- package/dist/features/scheduler/shared/scheduler-event-popover.js +77 -42
- package/dist/features/scheduler/shared/scheduler-event-popover.styles.js +14 -3
- package/dist/features/scheduler/shared/scheduler-hour-grid.d.ts +3 -2
- package/dist/features/scheduler/shared/scheduler-hour-grid.js +53 -46
- package/dist/features/scheduler/shared/scheduler-hour-grid.styles.js +13 -7
- package/dist/features/scheduler/shared/scheduler-month-view.js +1 -1
- package/dist/features/scheduler/shared/scheduler-month-view.styles.js +13 -7
- package/dist/features/scheduler/shared/scheduler-year-view.d.ts +6 -5
- package/dist/features/scheduler/shared/scheduler-year-view.js +11 -7
- package/dist/features/scheduler/shared/scheduler-year-view.styles.js +57 -3
- package/dist/features/scheduler/shared/scheduler.types.d.ts +5 -9
- package/dist/features/scheduler/shared/scheduler.utils.d.ts +61 -0
- package/dist/features/scheduler/shared/scheduler.utils.js +78 -4
- package/dist/features/table/table/table-native.styles.js +8 -4
- package/dist/features/table/table/table.d.ts +2 -1
- package/dist/features/table/table/table.js +2 -1
- package/dist/features/table/table/table.styles.js +6 -4
- package/dist/i18n/en.d.ts +17 -0
- package/dist/i18n/en.js +17 -0
- package/dist/i18n/fr.js +17 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +4 -0
- package/dist/jsx.d.ts +48 -6
- package/dist/mixins/anchor-position.mixin.d.ts +17 -0
- package/dist/mixins/anchor-position.mixin.js +45 -7
- package/dist/mixins/button.mixin.js +2 -1
- package/dist/mixins/check.mixin.js +14 -5
- package/dist/mixins/dialog-surface.mixin.d.ts +1 -1
- package/dist/mixins/dialog-surface.mixin.js +5 -5
- package/dist/mixins/form.mixin.js +33 -13
- package/dist/mixins/localizable.mixin.d.ts +1 -0
- package/dist/mixins/localizable.mixin.js +9 -2
- package/dist/mixins/radio.mixin.js +14 -5
- package/dist/mixins/validators.mixin.js +4 -3
- package/dist/react.d.ts +59 -0
- package/dist/react.js +42 -0
- package/dist/ssr/animate-ssr.css +35 -0
- package/dist/ssr/breadcrumb-ssr.css +3 -3
- package/dist/ssr/button-ssr.css +8 -2
- package/dist/ssr/card-ssr.css +1 -1
- package/dist/ssr/carousel-ssr.css +15 -4
- package/dist/ssr/chip-ssr.css +3 -3
- package/dist/ssr/collapse-ssr.css +2 -2
- package/dist/ssr/description-list-ssr.css +1 -1
- package/dist/ssr/divider-ssr.css +23 -0
- package/dist/ssr/field-ssr.css +245 -42
- package/dist/ssr/image-carousel-ssr.css +2 -4
- package/dist/ssr/links-ssr.css +17 -3
- package/dist/ssr/nav-menu-ssr.css +82 -0
- package/dist/ssr/overlay-ssr.css +4 -0
- package/dist/ssr/scheduler-ssr.css +182 -0
- package/dist/ssr/stepper-ssr.css +136 -0
- package/dist/ssr/table-ssr.css +7 -4
- package/dist/ssr/tag-ssr.css +1 -1
- package/dist/ssr/toolbar-ssr.css +7 -5
- package/dist/utils/css-length.utils.d.ts +14 -0
- package/dist/utils/css-length.utils.js +32 -0
- package/dist/utils/form-validation.utils.d.ts +36 -0
- package/dist/utils/form-validation.utils.js +113 -0
- package/dist/utils/implicit-submission.utils.js +2 -14
- package/dist/utils/interactive-content.utils.d.ts +10 -0
- package/dist/utils/interactive-content.utils.js +43 -0
- package/dist/utils/popover.utils.js +3 -2
- package/dist/utils/scroll-lock.utils.d.ts +9 -1
- package/dist/utils/scroll-lock.utils.js +21 -2
- package/dist/utils/theme-generator.utils.d.ts +1 -0
- package/dist/utils/theme-generator.utils.js +23 -10
- package/dist/utils/validity.utils.d.ts +18 -4
- package/dist/utils/validity.utils.js +74 -4
- package/package.json +34 -3
- package/styles/themes/mixins/eunomia-neutrals.mixin.scss +2 -2
- package/styles/tools/mixins/layout/eunomia-grid.mixin.scss +116 -8
- package/dist/cdn/components/chunks/chunk-4DRU3IYJ.js +0 -1
- package/dist/cdn/components/chunks/chunk-647ISUF4.js +0 -1
- package/dist/cdn/components/chunks/chunk-6TIEBY34.js +0 -1
- package/dist/cdn/components/chunks/chunk-E6UOI36Q.js +0 -1
- package/dist/cdn/components/chunks/chunk-GNAUNTS5.js +0 -1
- package/dist/cdn/components/chunks/chunk-IJJ67C66.js +0 -1
- package/dist/cdn/components/chunks/chunk-J7ETIRSK.js +0 -1
- package/dist/cdn/components/chunks/chunk-JGV7LHEI.js +0 -1
- package/dist/cdn/components/chunks/chunk-L74LXUGL.js +0 -1
- package/dist/cdn/components/chunks/chunk-MY6ORZJR.js +0 -46
- package/dist/cdn/components/chunks/chunk-QWTFP56P.js +0 -1
- package/dist/cdn/components/chunks/chunk-SFX2LQ4K.js +0 -205
- package/dist/cdn/components/chunks/chunk-WW4BTWMH.js +0 -1
- package/dist/utils/boolean.utils.d.ts +0 -14
- package/dist/utils/boolean.utils.js +0 -20
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
import{a as G}from"./chunks/chunk-GMWUHGNI.js";import{a as j}from"./chunks/chunk-7HXPLZ7C.js";import{a as W}from"./chunks/chunk-YYCEPZUN.js";import{a as D}from"./chunks/chunk-PPCHQG7P.js";import{a as R}from"./chunks/chunk-O7PHBLH2.js";import"./chunks/chunk-SGM2X2TC.js";import{a as l,b as a,c,d as h,e as t,f as q,g as U,h as V,j as u,k as L,l as A,p as g,r as H,u as B}from"./chunks/chunk-YITWLCD3.js";var oe=V`
|
|
2
|
+
:host {
|
|
3
|
+
--_duration: var(
|
|
4
|
+
--nav-menu-transition-duration,
|
|
5
|
+
var(--eun-duration-xl, 300ms)
|
|
6
|
+
);
|
|
7
|
+
--_easing: var(--eun-easing-out, ease-out);
|
|
8
|
+
--_triggerColor: var(
|
|
9
|
+
--nav-menu-trigger-color,
|
|
10
|
+
var(--eun-text-color, #071621)
|
|
11
|
+
);
|
|
12
|
+
--_triggerColorHover: var(
|
|
13
|
+
--nav-menu-trigger-color-hover,
|
|
14
|
+
var(--eun-color-primary-500, #3d6fff)
|
|
15
|
+
);
|
|
16
|
+
--_triggerColorCurrent: var(
|
|
17
|
+
--nav-menu-trigger-color-current,
|
|
18
|
+
var(--eun-color-primary-500, #3d6fff)
|
|
19
|
+
);
|
|
20
|
+
--_focusOutline: var(
|
|
21
|
+
--nav-menu-focus-outline-color,
|
|
22
|
+
var(--eun-color-primary-700, #3662e0)
|
|
23
|
+
);
|
|
24
|
+
--_panelBackground: var(
|
|
25
|
+
--nav-menu-panel-background,
|
|
26
|
+
var(--eun-surface-color, #ffffff)
|
|
27
|
+
);
|
|
28
|
+
--_panelBorderColor: var(
|
|
29
|
+
--nav-menu-panel-border-color,
|
|
30
|
+
var(--eun-border-color, #dee0e7)
|
|
31
|
+
);
|
|
32
|
+
--_linkColor: var(--nav-menu-link-color, var(--eun-text-color, #071621));
|
|
33
|
+
--_linkColorHover: var(
|
|
34
|
+
--nav-menu-link-color-hover,
|
|
35
|
+
var(--eun-color-primary-500, #3d6fff)
|
|
36
|
+
);
|
|
37
|
+
--_linkColorCurrent: var(
|
|
38
|
+
--nav-menu-link-color-current,
|
|
39
|
+
var(--eun-color-primary-500, #3d6fff)
|
|
40
|
+
);
|
|
41
|
+
--_linkBackgroundHover: var(
|
|
42
|
+
--nav-menu-link-background-hover,
|
|
43
|
+
var(--eun-content-hover, #edeff0)
|
|
44
|
+
);
|
|
45
|
+
display: inline-flex;
|
|
46
|
+
vertical-align: middle;
|
|
47
|
+
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
48
|
+
}
|
|
49
|
+
:host([theme="dark"]) {
|
|
50
|
+
--_triggerColor: var(
|
|
51
|
+
--nav-menu-trigger-color,
|
|
52
|
+
var(--eun-text-on-inverse-secondary, rgba(255, 255, 255, 0.7))
|
|
53
|
+
);
|
|
54
|
+
--_triggerColorHover: var(
|
|
55
|
+
--nav-menu-trigger-color-hover,
|
|
56
|
+
var(--eun-text-on-inverse, #ffffff)
|
|
57
|
+
);
|
|
58
|
+
--_triggerColorCurrent: var(
|
|
59
|
+
--nav-menu-trigger-color-current,
|
|
60
|
+
color-mix(in srgb, var(--eun-color-primary-500, #3d6fff) 55%, #ffffff)
|
|
61
|
+
);
|
|
62
|
+
--_focusOutline: var(
|
|
63
|
+
--nav-menu-focus-outline-color,
|
|
64
|
+
var(--eun-text-on-inverse, #ffffff)
|
|
65
|
+
);
|
|
66
|
+
--_panelBackground: var(
|
|
67
|
+
--nav-menu-panel-background,
|
|
68
|
+
var(--eun-surface-inverse, #0b1620)
|
|
69
|
+
);
|
|
70
|
+
--_panelBorderColor: var(
|
|
71
|
+
--nav-menu-panel-border-color,
|
|
72
|
+
rgba(255, 255, 255, 0.12)
|
|
73
|
+
);
|
|
74
|
+
--_linkColor: var(
|
|
75
|
+
--nav-menu-link-color,
|
|
76
|
+
var(--eun-text-on-inverse-secondary, rgba(255, 255, 255, 0.7))
|
|
77
|
+
);
|
|
78
|
+
--_linkColorHover: var(
|
|
79
|
+
--nav-menu-link-color-hover,
|
|
80
|
+
var(--eun-text-on-inverse, #ffffff)
|
|
81
|
+
);
|
|
82
|
+
--_linkColorCurrent: var(
|
|
83
|
+
--nav-menu-link-color-current,
|
|
84
|
+
color-mix(in srgb, var(--eun-color-primary-500, #3d6fff) 55%, #ffffff)
|
|
85
|
+
);
|
|
86
|
+
--_linkBackgroundHover: var(
|
|
87
|
+
--nav-menu-link-background-hover,
|
|
88
|
+
rgba(255, 255, 255, 0.08)
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
#trigger {
|
|
93
|
+
--icon-color: currentColor;
|
|
94
|
+
display: inline-flex;
|
|
95
|
+
align-items: center;
|
|
96
|
+
gap: var(--nav-menu-trigger-gap, var(--eun-space-xs, 4px));
|
|
97
|
+
margin: 0;
|
|
98
|
+
padding: var(
|
|
99
|
+
--nav-menu-trigger-padding,
|
|
100
|
+
var(--nav-menu-trigger-padding-block, var(--eun-space-xs, 4px))
|
|
101
|
+
var(--nav-menu-trigger-padding-inline, var(--eun-space-xs, 4px))
|
|
102
|
+
);
|
|
103
|
+
border: none;
|
|
104
|
+
border-radius: var(
|
|
105
|
+
--nav-menu-trigger-border-radius,
|
|
106
|
+
var(--eun-border-radius-m, 8px)
|
|
107
|
+
);
|
|
108
|
+
background: var(--nav-menu-trigger-background, transparent);
|
|
109
|
+
box-shadow: var(--nav-menu-trigger-shadow, none);
|
|
110
|
+
color: var(--_triggerColor);
|
|
111
|
+
font: inherit;
|
|
112
|
+
font-size: var(--nav-menu-trigger-font-size, inherit);
|
|
113
|
+
font-weight: var(--nav-menu-trigger-font-weight, inherit);
|
|
114
|
+
line-height: inherit;
|
|
115
|
+
white-space: nowrap;
|
|
116
|
+
cursor: pointer;
|
|
117
|
+
outline: 2px solid transparent;
|
|
118
|
+
outline-offset: 2px;
|
|
119
|
+
transition:
|
|
120
|
+
color var(--_duration) var(--_easing),
|
|
121
|
+
background-color var(--_duration) var(--_easing),
|
|
122
|
+
box-shadow var(--_duration) var(--_easing),
|
|
123
|
+
outline-color var(--_duration) var(--_easing);
|
|
124
|
+
}
|
|
125
|
+
#trigger.current {
|
|
126
|
+
color: var(--_triggerColorCurrent);
|
|
127
|
+
}
|
|
128
|
+
#trigger:hover,
|
|
129
|
+
#trigger:focus-visible,
|
|
130
|
+
:host([open]) #trigger {
|
|
131
|
+
color: var(--_triggerColorHover);
|
|
132
|
+
background: var(
|
|
133
|
+
--nav-menu-trigger-background-hover,
|
|
134
|
+
var(--nav-menu-trigger-background, transparent)
|
|
135
|
+
);
|
|
136
|
+
box-shadow: var(
|
|
137
|
+
--nav-menu-trigger-shadow-hover,
|
|
138
|
+
var(--nav-menu-trigger-shadow, none)
|
|
139
|
+
);
|
|
140
|
+
}
|
|
141
|
+
#trigger:focus-visible {
|
|
142
|
+
outline-color: var(--_focusOutline);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.icon,
|
|
146
|
+
slot[name="icon"]::slotted(*),
|
|
147
|
+
slot[name="chevron"]::slotted(*) {
|
|
148
|
+
--icon-size: var(--nav-menu-icon-size, 1.25em);
|
|
149
|
+
flex-shrink: 0;
|
|
150
|
+
}
|
|
151
|
+
slot[name="icon"] {
|
|
152
|
+
display: inline-flex;
|
|
153
|
+
}
|
|
154
|
+
slot[name="icon"].hidden {
|
|
155
|
+
display: none;
|
|
156
|
+
}
|
|
157
|
+
#chevron {
|
|
158
|
+
display: inline-flex;
|
|
159
|
+
transition: transform var(--_duration) var(--_easing);
|
|
160
|
+
}
|
|
161
|
+
:host([open]) #chevron {
|
|
162
|
+
transform: rotate(var(--nav-menu-chevron-rotation, 180deg));
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
#panel {
|
|
166
|
+
--_offset: var(--nav-menu-offset, var(--eun-space-xs, 4px));
|
|
167
|
+
--_shift: calc(-1 * var(--eun-space-xs, 4px));
|
|
168
|
+
scroll-margin-top: var(--_offset);
|
|
169
|
+
position: fixed;
|
|
170
|
+
inset: auto;
|
|
171
|
+
top: var(--_anchorTop, 0);
|
|
172
|
+
left: var(--_anchorLeft, 0);
|
|
173
|
+
box-sizing: border-box;
|
|
174
|
+
display: flex;
|
|
175
|
+
flex-direction: column;
|
|
176
|
+
gap: var(--nav-menu-panel-gap, 0);
|
|
177
|
+
min-width: max(
|
|
178
|
+
var(--_anchorWidth, 0px),
|
|
179
|
+
var(--nav-menu-panel-min-width, 200px)
|
|
180
|
+
);
|
|
181
|
+
max-height: var(--nav-menu-panel-max-height, 70vh);
|
|
182
|
+
overflow-y: auto;
|
|
183
|
+
margin: 0;
|
|
184
|
+
padding: var(--nav-menu-panel-padding, var(--eun-space-xs, 4px));
|
|
185
|
+
list-style: none;
|
|
186
|
+
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
187
|
+
font-size: var(--eun-font-size-s, 14px);
|
|
188
|
+
color: var(--_linkColor);
|
|
189
|
+
background: var(--_panelBackground);
|
|
190
|
+
border: var(--eun-border-width-s, 1px) solid var(--_panelBorderColor);
|
|
191
|
+
border-radius: var(
|
|
192
|
+
--nav-menu-panel-border-radius,
|
|
193
|
+
var(--eun-border-radius-m, 8px)
|
|
194
|
+
);
|
|
195
|
+
box-shadow: var(
|
|
196
|
+
--nav-menu-panel-shadow,
|
|
197
|
+
var(
|
|
198
|
+
--eun-shadow-m,
|
|
199
|
+
0 10px 15px -3px rgba(0, 0, 0, 0.1),
|
|
200
|
+
0 4px 6px -2px rgba(0, 0, 0, 0.05)
|
|
201
|
+
)
|
|
202
|
+
);
|
|
203
|
+
opacity: 0;
|
|
204
|
+
translate: 0 var(--_shift);
|
|
205
|
+
transition:
|
|
206
|
+
opacity var(--_duration) var(--_easing),
|
|
207
|
+
translate var(--_duration) var(--_easing),
|
|
208
|
+
display var(--_duration) allow-discrete,
|
|
209
|
+
overlay var(--_duration) allow-discrete;
|
|
210
|
+
}
|
|
211
|
+
#panel[data-placement="top"] {
|
|
212
|
+
--_shift: var(--eun-space-xs, 4px);
|
|
213
|
+
}
|
|
214
|
+
#panel:not(:popover-open) {
|
|
215
|
+
display: none;
|
|
216
|
+
}
|
|
217
|
+
#panel:popover-open {
|
|
218
|
+
opacity: 1;
|
|
219
|
+
translate: 0 0;
|
|
220
|
+
}
|
|
221
|
+
@starting-style {
|
|
222
|
+
#panel:popover-open {
|
|
223
|
+
opacity: 0;
|
|
224
|
+
translate: 0 var(--_shift);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
#panel li {
|
|
228
|
+
display: block;
|
|
229
|
+
margin: 0;
|
|
230
|
+
padding: 0;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
${G(U("#panel ::slotted(eun-link)"))}
|
|
234
|
+
|
|
235
|
+
#panel ::slotted(eun-link) {
|
|
236
|
+
--link-color: var(--_linkColor);
|
|
237
|
+
--link-color-hover: var(--_linkColorHover);
|
|
238
|
+
--link-color-focus: var(--_linkColorHover);
|
|
239
|
+
--link-color-visited: var(--_linkColor);
|
|
240
|
+
--link-color-visited-hover: var(--_linkColorHover);
|
|
241
|
+
--link-color-current: var(--_linkColorCurrent);
|
|
242
|
+
--link-focus-outline-color: var(--_focusOutline);
|
|
243
|
+
--link-text-decoration: none;
|
|
244
|
+
--link-background-hover: var(--_linkBackgroundHover);
|
|
245
|
+
--link-background-focus: var(--_linkBackgroundHover);
|
|
246
|
+
--link-padding: var(
|
|
247
|
+
--nav-menu-link-padding,
|
|
248
|
+
var(--eun-space-s, 8px) var(--eun-space-m, 16px)
|
|
249
|
+
);
|
|
250
|
+
--link-border-radius: var(
|
|
251
|
+
--nav-menu-link-border-radius,
|
|
252
|
+
var(--eun-border-radius-s, 4px)
|
|
253
|
+
);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
#panel ::slotted(a) {
|
|
257
|
+
display: block;
|
|
258
|
+
padding: var(
|
|
259
|
+
--nav-menu-link-padding,
|
|
260
|
+
var(--eun-space-s, 8px) var(--eun-space-m, 16px)
|
|
261
|
+
);
|
|
262
|
+
border-radius: var(
|
|
263
|
+
--nav-menu-link-border-radius,
|
|
264
|
+
var(--eun-border-radius-s, 4px)
|
|
265
|
+
);
|
|
266
|
+
color: var(--_linkColor);
|
|
267
|
+
text-decoration: none;
|
|
268
|
+
white-space: nowrap;
|
|
269
|
+
outline: 2px solid transparent;
|
|
270
|
+
outline-offset: -2px;
|
|
271
|
+
transition:
|
|
272
|
+
color var(--_duration) var(--_easing),
|
|
273
|
+
background-color var(--_duration) var(--_easing),
|
|
274
|
+
outline-color var(--_duration) var(--_easing);
|
|
275
|
+
}
|
|
276
|
+
#panel ::slotted(a:hover),
|
|
277
|
+
#panel ::slotted(a:focus-visible) {
|
|
278
|
+
color: var(--_linkColorHover);
|
|
279
|
+
background: var(--_linkBackgroundHover);
|
|
280
|
+
}
|
|
281
|
+
#panel ::slotted(a:focus-visible) {
|
|
282
|
+
outline-color: var(--_focusOutline);
|
|
283
|
+
}
|
|
284
|
+
#panel ::slotted(a[aria-current="page"]) {
|
|
285
|
+
color: var(--_linkColorCurrent);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
@supports (anchor-name: --a) {
|
|
289
|
+
#panel[data-native-anchor] {
|
|
290
|
+
top: auto;
|
|
291
|
+
left: auto;
|
|
292
|
+
position-area: block-end span-inline-end;
|
|
293
|
+
position-try-fallbacks:
|
|
294
|
+
flip-block,
|
|
295
|
+
flip-inline,
|
|
296
|
+
flip-block flip-inline;
|
|
297
|
+
margin-block-start: var(--_offset);
|
|
298
|
+
min-width: max(
|
|
299
|
+
anchor-size(width),
|
|
300
|
+
var(--nav-menu-panel-min-width, 200px)
|
|
301
|
+
);
|
|
302
|
+
}
|
|
303
|
+
:host([placement="bottom"]) #panel[data-native-anchor] {
|
|
304
|
+
position-area: block-end;
|
|
305
|
+
}
|
|
306
|
+
:host([placement="bottom-end"]) #panel[data-native-anchor] {
|
|
307
|
+
position-area: block-end span-inline-start;
|
|
308
|
+
}
|
|
309
|
+
:host([placement^="top"]) #panel[data-native-anchor] {
|
|
310
|
+
margin-block: 0 var(--_offset);
|
|
311
|
+
}
|
|
312
|
+
:host([placement="top-start"]) #panel[data-native-anchor] {
|
|
313
|
+
position-area: block-start span-inline-end;
|
|
314
|
+
}
|
|
315
|
+
:host([placement="top"]) #panel[data-native-anchor] {
|
|
316
|
+
position-area: block-start;
|
|
317
|
+
}
|
|
318
|
+
:host([placement="top-end"]) #panel[data-native-anchor] {
|
|
319
|
+
position-area: block-start span-inline-start;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
@media (prefers-reduced-motion: reduce) {
|
|
324
|
+
#trigger,
|
|
325
|
+
#chevron,
|
|
326
|
+
#panel,
|
|
327
|
+
#panel ::slotted(a) {
|
|
328
|
+
transition: none;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
`,J=oe;var ae="eun-nav-menu",$=["label","icon","chevron"],v,f,b,k,r,K,N,Q,p,P,S,X,Y,M,Z,O,y,_,F,x,ee,re,I,E,w,C,T,ne,te,s=class extends j(B){constructor(){super(...arguments);c(this,r);this.chevronIcon="keyboard_arrow_down";this.hideChevron=!1;this.trigger="hover";this.placement="bottom-start";this.open=!1;this.current=!1;this.theme="light";this.showDelay=100;this.hideDelay=200;this.links=[];this.hasCurrentLink=!1;this.named={label:[],icon:[],chevron:[]};c(this,v,!1);c(this,f);c(this,b);c(this,k);c(this,O,e=>{let n=e.detail>0;if(this.trigger==="hover"&&n&&this.open&&!a(this,v)){t(this,r,P).call(this),h(this,v,!0);return}h(this,v,!this.open),t(this,r,p).call(this,!this.open)});c(this,y,e=>{this.trigger!=="hover"||e.pointerType==="touch"||(clearTimeout(a(this,b)),!this.open&&h(this,f,setTimeout(()=>{h(this,v,!1),t(this,r,p).call(this,!0)},this.showDelay)))});c(this,_,e=>{this.trigger!=="hover"||e.pointerType==="touch"||(clearTimeout(a(this,f)),!(!this.open||a(this,v))&&h(this,b,setTimeout(()=>t(this,r,p).call(this,!1),this.hideDelay)))});c(this,x,e=>{let n=e.composedPath();if(this.triggerEl&&n.includes(this.triggerEl)){t(this,r,ee).call(this,e);return}let i=t(this,r,F).call(this).findIndex(o=>n.includes(o));i!==-1&&t(this,r,re).call(this,e,i)});c(this,E,e=>{this.open&&e.relatedTarget instanceof Node&&!this.contains(e.relatedTarget)&&t(this,r,p).call(this,!1)});c(this,w,e=>{e.key==="Escape"&&!e.defaultPrevented&&t(this,r,p).call(this,!1)});c(this,C,e=>{e.composedPath().includes(this)||t(this,r,p).call(this,!1)});c(this,T,e=>{if(!this.open||e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;let n=e.composedPath();this.links.some(i=>n.includes(i))&&t(this,r,p).call(this,!1)})}connectedCallback(){super.connectedCallback(),t(this,r,K).call(this),a(this,k)??h(this,k,new MutationObserver(()=>t(this,r,K).call(this))),a(this,k).observe(this,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["slot","current","aria-current"]}),this.addEventListener("pointerenter",a(this,y)),this.addEventListener("pointerleave",a(this,_)),this.addEventListener("keydown",a(this,x)),this.addEventListener("focusout",a(this,E)),this.addEventListener("click",a(this,T))}disconnectedCallback(){a(this,k)?.disconnect(),this.removeEventListener("pointerenter",a(this,y)),this.removeEventListener("pointerleave",a(this,_)),this.removeEventListener("keydown",a(this,x)),this.removeEventListener("focusout",a(this,E)),this.removeEventListener("click",a(this,T)),t(this,r,P).call(this),t(this,r,S).call(this,!1),super.disconnectedCallback()}updated(e){super.updated(e),t(this,r,N).call(this),e.has("open")&&t(this,r,Q).call(this,e.get("open")===!0)}render(){let e=this.current||this.hasCurrentLink;return g`
|
|
332
|
+
<button
|
|
333
|
+
type="button"
|
|
334
|
+
id="trigger"
|
|
335
|
+
part="trigger"
|
|
336
|
+
class=${R({current:e})}
|
|
337
|
+
aria-expanded=${this.open?"true":"false"}
|
|
338
|
+
aria-controls="panel"
|
|
339
|
+
aria-current=${D(e?"true":void 0)}
|
|
340
|
+
aria-label=${D(this.ariaLabel??void 0)}
|
|
341
|
+
@click=${a(this,O)}
|
|
342
|
+
>
|
|
343
|
+
${t(this,r,te).call(this)}
|
|
344
|
+
</button>
|
|
345
|
+
<ul
|
|
346
|
+
id="panel"
|
|
347
|
+
part="panel"
|
|
348
|
+
role="list"
|
|
349
|
+
popover="manual"
|
|
350
|
+
data-light-dismiss
|
|
351
|
+
aria-labelledby="trigger"
|
|
352
|
+
>
|
|
353
|
+
${this.links.map(()=>g`<li><slot></slot></li>`)}
|
|
354
|
+
</ul>
|
|
355
|
+
`}};v=new WeakMap,f=new WeakMap,b=new WeakMap,k=new WeakMap,r=new WeakSet,K=function(){let e=Array.from(this.children),n={label:[],icon:[],chevron:[]},i=[];for(let o of e){let d=o.getAttribute("slot");d===null?i.push(o):$.includes(d)&&n[d].push(o)}(i.length!==this.links.length||i.some((o,d)=>o!==this.links[d]))&&(this.links=i),$.some(o=>n[o].length!==this.named[o].length||n[o].some((d,m)=>d!==this.named[o][m]))&&(this.named=n),this.hasCurrentLink=i.some(o=>o.matches('[current], [aria-current="page"]')||o.querySelector('[aria-current="page"]')!==null)},N=function(){let e=this.renderRoot;e.querySelectorAll("#panel > li > slot").forEach((n,i)=>{let o=this.links[i];o&&n.assignedElements()[0]!==o&&n.assign(o)});for(let n of $){let i=e.querySelector(`slot[name="${n}"]`),o=this.named[n];i&&(i.assignedElements().length!==o.length||o.some((d,m)=>i.assignedElements()[m]!==d))&&i.assign(...o)}},Q=function(e){let n=this.panelEl;if(!n)return;if(this.open){n.matches(":popover-open")||n.showPopover(),t(this,r,X).call(this),t(this,r,S).call(this,!0);return}h(this,v,!1),t(this,r,S).call(this,!1),this.unanchorFloatingElement();let i=this.links.some(o=>o.contains(document.activeElement));n.matches(":popover-open")&&n.hidePopover(),e&&i&&this.triggerEl?.focus()},p=function(e){t(this,r,P).call(this),this.open!==e&&(this.open=e,this.dispatchEvent(new W))},P=function(){clearTimeout(a(this,f)),clearTimeout(a(this,b))},S=function(e){if(e){document.addEventListener("pointerdown",a(this,C),!0),document.addEventListener("keydown",a(this,w));return}document.removeEventListener("pointerdown",a(this,C),!0),document.removeEventListener("keydown",a(this,w))},X=function(){let e=this.triggerEl,n=this.panelEl;if(!e||!n)return;let[i,o="center"]=this.placement.split("-"),m={gap:Number.parseFloat(getComputedStyle(n).scrollMarginTop)||0,side:i,align:o};this.anchorFloatingElement(e,n,m);let z=n.style.getPropertyValue("position-anchor")!=="";n.toggleAttribute("data-native-anchor",z),z&&this.anchorFloatingElement(e,n,m)},Y=function(e){return e.matches("a[href]")?e:e.querySelector("a[href]")??e.shadowRoot?.querySelector("a[href]")??null},M=function(e){let n=t(this,r,F).call(this);n.length&&n[(e+n.length)%n.length].focus()},Z=async function(e){h(this,v,!0),t(this,r,p).call(this,!0),await this.updateComplete,t(this,r,M).call(this,e)},O=new WeakMap,y=new WeakMap,_=new WeakMap,F=function(){return this.links.map(e=>t(this,r,Y).call(this,e)).filter(e=>e!==null)},x=new WeakMap,ee=function(e){switch(e.key){case"Escape":t(this,r,I).call(this,e);return;case"ArrowDown":case"ArrowUp":e.preventDefault(),t(this,r,Z).call(this,e.key==="ArrowDown"?0:-1);return}},re=function(e,n){let i={ArrowDown:n+1,ArrowUp:n-1,Home:0,End:-1};if(e.key==="Escape"){t(this,r,I).call(this,e);return}e.key in i&&(e.preventDefault(),t(this,r,M).call(this,i[e.key]))},I=function(e){this.open&&(e.preventDefault(),e.stopPropagation(),t(this,r,p).call(this,!1),this.triggerEl?.focus())},E=new WeakMap,w=new WeakMap,C=new WeakMap,T=new WeakMap,ne=function(){if(this.hideChevron)return H;let e=this.named.chevron.length?H:g`<eun-icon class="icon" name=${this.chevronIcon}></eun-icon>`;return g`<span id="chevron" aria-hidden="true">
|
|
356
|
+
<slot name="chevron">${e}</slot>
|
|
357
|
+
</span>`},te=function(){let e=this.named.icon.length>0||!!this.icon;return g`
|
|
358
|
+
<slot name="icon" class=${R({hidden:!e})}>
|
|
359
|
+
${this.icon?g`<eun-icon class="icon" name=${this.icon}></eun-icon>`:H}
|
|
360
|
+
</slot>
|
|
361
|
+
<span id="label"><slot name="label">${this.label}</slot></span>
|
|
362
|
+
${t(this,r,ne).call(this)}
|
|
363
|
+
`},s.styles=[J],s.shadowRootOptions={...B.shadowRootOptions,slotAssignment:"manual"},l([u()],s.prototype,"label",2),l([u()],s.prototype,"icon",2),l([u({attribute:"chevron-icon"})],s.prototype,"chevronIcon",2),l([u({type:Boolean,reflect:!0,attribute:"hide-chevron"})],s.prototype,"hideChevron",2),l([u({reflect:!0})],s.prototype,"trigger",2),l([u({reflect:!0})],s.prototype,"placement",2),l([u({type:Boolean,reflect:!0})],s.prototype,"open",2),l([u({type:Boolean,reflect:!0})],s.prototype,"current",2),l([u({reflect:!0})],s.prototype,"theme",2),l([u({type:Number,attribute:"show-delay"})],s.prototype,"showDelay",2),l([u({type:Number,attribute:"hide-delay"})],s.prototype,"hideDelay",2),l([L()],s.prototype,"links",2),l([L()],s.prototype,"hasCurrentLink",2),l([L()],s.prototype,"named",2),l([A("#trigger")],s.prototype,"triggerEl",2),l([A("#panel")],s.prototype,"panelEl",2),s=l([q(ae)],s);export{s as EunomiaNavMenu,ae as EunomiaNavMenuTagName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as k,b as E,d as P,e as R,f as B}from"./chunks/chunk-OTX6FWAF.js";import{a as C}from"./chunks/chunk-PPCHQG7P.js";import{a as N}from"./chunks/chunk-
|
|
1
|
+
import{a as k,b as E,d as P,e as R,f as B}from"./chunks/chunk-OTX6FWAF.js";import{a as C}from"./chunks/chunk-PPCHQG7P.js";import{a as N}from"./chunks/chunk-WP6ZYBAC.js";import"./chunks/chunk-2XPIGFBD.js";import{a as i,f as z,g as x,h as S,j as a,k as $,l as L,p as r,r as u,u as w}from"./chunks/chunk-YITWLCD3.js";var b=class l extends Event{static{this.eventName="eunpagechange"}constructor(g){super(l.eventName,{bubbles:!0,composed:!1}),this.page=g}};var h=class l extends Event{static{this.eventName="eunpagesizechange"}constructor(g){super(l.eventName,{bubbles:!0,composed:!1}),this.pageSize=g}};var I=S`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
container: pagination / inline-size;
|
|
@@ -62,7 +62,7 @@ import{a as k,b as E,d as P,e as R,f as B}from"./chunks/chunk-OTX6FWAF.js";impor
|
|
|
62
62
|
var(--eun-border-radius-m, 8px)
|
|
63
63
|
);
|
|
64
64
|
background: transparent;
|
|
65
|
-
color: var(--pagination-item-color, var(--eun-text-secondary, #
|
|
65
|
+
color: var(--pagination-item-color, var(--eun-text-secondary, #666e8a));
|
|
66
66
|
outline: 2px solid transparent;
|
|
67
67
|
outline-offset: 2px;
|
|
68
68
|
user-select: none;
|
|
@@ -125,7 +125,7 @@ import{a as k,b as E,d as P,e as R,f as B}from"./chunks/chunk-OTX6FWAF.js";impor
|
|
|
125
125
|
cursor: default;
|
|
126
126
|
}
|
|
127
127
|
span.ellipsis {
|
|
128
|
-
color: var(--pagination-ellipsis-color, var(--eun-text-secondary, #
|
|
128
|
+
color: var(--pagination-ellipsis-color, var(--eun-text-secondary, #666e8a));
|
|
129
129
|
cursor: default;
|
|
130
130
|
user-select: none;
|
|
131
131
|
}
|
|
@@ -167,7 +167,7 @@ import{a as k,b as E,d as P,e as R,f as B}from"./chunks/chunk-OTX6FWAF.js";impor
|
|
|
167
167
|
width: 100%;
|
|
168
168
|
}
|
|
169
169
|
`,F=x(Object.keys(k).map(l=>`@container pagination ${E(l)} { :host([page-size-hide-below="${l}"]) #page-size { display: none; } }`).join(`
|
|
170
|
-
`)),O=[
|
|
170
|
+
`)),O=[I,F];var H="eun-pagination",V=4,t=class extends N(w){constructor(){super(...arguments);this.page=1;this.totalPages=1;this.siblingCount=1;this.boundaryCount=1;this.hidePrevNext=!1;this.hideFirstLast=!1;this.disabled=!1;this.showLabels=!1;this.pageSizeOptions=[];this.pageSizePlacement="end";this.align="start";this.compactLevel=0;this.resizeObserver=new ResizeObserver(()=>this.scheduleFit())}connectedCallback(){super.connectedCallback(),this.resizeObserver.observe(this)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.disconnect(),this.fitRaf!==void 0&&(cancelAnimationFrame(this.fitRaf),this.fitRaf=void 0)}updated(e){super.updated(e),[...e.keys()].some(n=>n!=="compactLevel")&&this.scheduleFit()}scheduleFit(){this.fitRaf!==void 0&&cancelAnimationFrame(this.fitRaf),this.fitRaf=requestAnimationFrame(()=>{this.fitRaf=void 0,this.fit()})}async fit(){for(this.updatePageSizeHidden(),this.compactLevel=0,await this.updateComplete;this.compactLevel<V&&this.nav&&this.nav.scrollWidth>this.nav.clientWidth;)this.compactLevel+=1,await this.updateComplete}updatePageSizeHidden(){let e=this.pageSizeHideBelow??P(getComputedStyle(this).getPropertyValue("--pagination-page-size-hide-below"));this.toggleAttribute("page-size-hidden",e!==void 0&&this.getBoundingClientRect().width<B(e))}get labelsVisible(){return this.showLabels&&this.compactLevel<1}getPageItems(){let e=(f,y)=>f>y?[]:Array.from({length:y-f+1},(W,T)=>f+T),{page:n,totalPages:o,boundaryCount:s}=this;if(this.compactLevel>=4)return[n];let d=this.compactLevel>=3?0:this.siblingCount;if(s*2+d*2+3>=o)return e(1,o);let c=Math.max(n-d,s+2),v=Math.min(n+d,o-s-1),A=c>s+2,M=v<o-s-1,p=[...e(1,s)];return A?p.push("start-ellipsis"):p.push(...e(s+1,c-1)),p.push(...e(c,v)),M?p.push("end-ellipsis"):p.push(...e(v+1,o-s)),p.push(...e(o-s+1,o)),p}requestPage(e){e===this.page||e<1||e>this.totalPages||this.dispatchEvent(new b(e))}handlePageSizeChange(e){let n=Number(e.target.value);Number.isNaN(n)||this.dispatchEvent(new h(n))}renderControl(e,n,o,s,d){let m=r`<eun-icon name=${o} size="16"></eun-icon>`,c=this.labelsVisible?r`<span class="label">${n}</span>`:u;return r`
|
|
171
171
|
<li>
|
|
172
172
|
<button
|
|
173
173
|
type="button"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as x}from"./chunks/chunk-PPCHQG7P.js";import{a as d}from"./chunks/chunk-O7PHBLH2.js";import"./chunks/chunk-SGM2X2TC.js";import{a as w}from"./chunks/chunk-
|
|
1
|
+
import{a as x}from"./chunks/chunk-PPCHQG7P.js";import{a as d}from"./chunks/chunk-O7PHBLH2.js";import"./chunks/chunk-SGM2X2TC.js";import{a as w}from"./chunks/chunk-WP6ZYBAC.js";import"./chunks/chunk-2XPIGFBD.js";import{a as s,f as u,h as g,j as l,l as h,p,r as f,u as m}from"./chunks/chunk-YITWLCD3.js";var R=g`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
width: 100%;
|
|
@@ -88,7 +88,7 @@ import{a as x}from"./chunks/chunk-PPCHQG7P.js";import{a as d}from"./chunks/chunk
|
|
|
88
88
|
#caption {
|
|
89
89
|
color: var(
|
|
90
90
|
--password-strength-caption-color,
|
|
91
|
-
var(--eun-text-secondary, #
|
|
91
|
+
var(--eun-text-secondary, #666e8a)
|
|
92
92
|
);
|
|
93
93
|
}
|
|
94
94
|
|
|
@@ -73,7 +73,7 @@ import{a}from"./chunks/chunk-PPCHQG7P.js";import{a as s}from"./chunks/chunk-O7PH
|
|
|
73
73
|
align-items: center;
|
|
74
74
|
justify-content: space-between;
|
|
75
75
|
gap: var(--eun-space-s, 8px);
|
|
76
|
-
color: var(--progress-bar-corner-color, var(--eun-text-secondary, #
|
|
76
|
+
color: var(--progress-bar-corner-color, var(--eun-text-secondary, #666e8a));
|
|
77
77
|
font-size: var(
|
|
78
78
|
--progress-bar-corner-font-size,
|
|
79
79
|
var(--eun-font-size-xs, 12px)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as u}from"./chunks/chunk-
|
|
1
|
+
import{b as u}from"./chunks/chunk-PADHCLBG.js";import{a as s}from"./chunks/chunk-FOILAXLL.js";import"./chunks/chunk-5IUNSTM3.js";import{f as o}from"./chunks/chunk-JDUWKPHW.js";import"./chunks/chunk-YYCEPZUN.js";import"./chunks/chunk-QNWKRPOW.js";import"./chunks/chunk-3BMACIDO.js";import{a as l}from"./chunks/chunk-O7PHBLH2.js";import"./chunks/chunk-SGM2X2TC.js";import"./chunks/chunk-2XPIGFBD.js";import{a,f as d,h as i,j as c,n,p as e,r as t}from"./chunks/chunk-YITWLCD3.js";var p=i`
|
|
2
2
|
:host {
|
|
3
3
|
--_borderWidth: var(--radio-card-border-width, 1px);
|
|
4
4
|
--_borderColor: var(
|
|
@@ -15,12 +15,12 @@ import{b as u}from"./chunks/chunk-JANNHW4Q.js";import{a as s}from"./chunks/chunk
|
|
|
15
15
|
);
|
|
16
16
|
--_hintColor: var(
|
|
17
17
|
--radio-card-hint-color,
|
|
18
|
-
var(--eun-text-secondary, #
|
|
18
|
+
var(--eun-text-secondary, #666e8a)
|
|
19
19
|
);
|
|
20
20
|
--_color: var(--eun-text-color, #071621);
|
|
21
21
|
--_iconColor: var(
|
|
22
22
|
--radio-card-icon-color,
|
|
23
|
-
var(--eun-text-secondary, #
|
|
23
|
+
var(--eun-text-secondary, #666e8a)
|
|
24
24
|
);
|
|
25
25
|
--_focusIndicator: var(
|
|
26
26
|
--radio-card-focus-outline-color,
|
|
@@ -146,4 +146,4 @@ import{b as u}from"./chunks/chunk-JANNHW4Q.js";import{a as s}from"./chunks/chunk
|
|
|
146
146
|
</div>
|
|
147
147
|
${this.renderDescription()}
|
|
148
148
|
</div>
|
|
149
|
-
`}};r.styles=[s,v,
|
|
149
|
+
`}};r.styles=[s,v,o.base,o.errorMessages,o.hintMessages],a([c()],r.prototype,"icon",2),a([n({slot:"icon"})],r.prototype,"iconSlotEls",2),r=a([d(h)],r);export{r as EunomiaRadioCard,h as EunomiaRadioCardTagName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as k}from"./chunks/chunk-ZBN4HTWP.js";import{a as $}from"./chunks/chunk-7PEODUNH.js";import{b as g,c as y,d as E,e as C,f as u}from"./chunks/chunk-
|
|
1
|
+
import{a as k}from"./chunks/chunk-ZBN4HTWP.js";import{a as $}from"./chunks/chunk-7PEODUNH.js";import{b as g,c as y,d as E,e as C,f as u}from"./chunks/chunk-JDUWKPHW.js";import{a as b}from"./chunks/chunk-YYCEPZUN.js";import"./chunks/chunk-QNWKRPOW.js";import{a as m}from"./chunks/chunk-3BMACIDO.js";import{a as h}from"./chunks/chunk-PPCHQG7P.js";import{a as v}from"./chunks/chunk-O7PHBLH2.js";import"./chunks/chunk-SGM2X2TC.js";import"./chunks/chunk-2XPIGFBD.js";import{a as r,f as c,h as p,j as o,l as f,p as n,r as d,u as l}from"./chunks/chunk-YITWLCD3.js";var V=p`
|
|
2
2
|
:host {
|
|
3
3
|
--_container-gap: var(--radio-list-gap, var(--eun-space-s, 8px));
|
|
4
4
|
--_options-gap: var(--radio-list-options-gap, var(--eun-space-s, 8px));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"./chunks/chunk-
|
|
1
|
+
import{a,b}from"./chunks/chunk-PADHCLBG.js";import"./chunks/chunk-5IUNSTM3.js";import"./chunks/chunk-JDUWKPHW.js";import"./chunks/chunk-YYCEPZUN.js";import"./chunks/chunk-QNWKRPOW.js";import"./chunks/chunk-3BMACIDO.js";import"./chunks/chunk-2XPIGFBD.js";import"./chunks/chunk-YITWLCD3.js";export{b as EunomiaRadio,a as EunomiaRadioTagName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as E}from"./chunks/chunk-B5XMGWM7.js";import"./chunks/chunk-VJCNHMQZ.js";import{a as C}from"./chunks/chunk-7PEODUNH.js";import{c as I,d as T,e as L,f as c}from"./chunks/chunk-JDUWKPHW.js";import{a as w}from"./chunks/chunk-YYCEPZUN.js";import"./chunks/chunk-QNWKRPOW.js";import{a as k}from"./chunks/chunk-3BMACIDO.js";import{a as S}from"./chunks/chunk-22D3SRFR.js";import{a as M}from"./chunks/chunk-PPCHQG7P.js";import{a as m}from"./chunks/chunk-O7PHBLH2.js";import"./chunks/chunk-SGM2X2TC.js";import{a as $}from"./chunks/chunk-WP6ZYBAC.js";import"./chunks/chunk-2XPIGFBD.js";import{a,f as v,h as b,j as s,k as y,l as g,p as l,r as d,u as x}from"./chunks/chunk-YITWLCD3.js";var N=b`
|
|
2
2
|
:host {
|
|
3
3
|
--_iconSize: var(--rating-size, 24px);
|
|
4
4
|
--_gap: var(--rating-gap, var(--eun-space-xs, 4px));
|
|
@@ -15,7 +15,7 @@ import{a as _}from"./chunks/chunk-B5XMGWM7.js";import"./chunks/chunk-VJCNHMQZ.js
|
|
|
15
15
|
--rating-error-color,
|
|
16
16
|
var(--eun-color-critical-100, #aa0014)
|
|
17
17
|
);
|
|
18
|
-
--_hintColor: var(--rating-hint-color, var(--eun-text-secondary, #
|
|
18
|
+
--_hintColor: var(--rating-hint-color, var(--eun-text-secondary, #666e8a));
|
|
19
19
|
--_focusIndicator: var(
|
|
20
20
|
--rating-focus-outline-color,
|
|
21
21
|
var(--eun-color-primary-500, #3d6fff)
|
|
@@ -134,7 +134,7 @@ import{a as _}from"./chunks/chunk-B5XMGWM7.js";import"./chunks/chunk-VJCNHMQZ.js
|
|
|
134
134
|
border: none;
|
|
135
135
|
border-radius: 50%;
|
|
136
136
|
background: transparent;
|
|
137
|
-
color: var(--eun-text-secondary, #
|
|
137
|
+
color: var(--eun-text-secondary, #666e8a);
|
|
138
138
|
cursor: pointer;
|
|
139
139
|
outline: 2px solid transparent;
|
|
140
140
|
outline-offset: 2px;
|
|
@@ -196,10 +196,10 @@ import{a as _}from"./chunks/chunk-B5XMGWM7.js";import"./chunks/chunk-VJCNHMQZ.js
|
|
|
196
196
|
--icon-color: GrayText;
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
`,N
|
|
199
|
+
`,_=N;var V="eun-rating",F=k(L(x)),z=$(C(T(I(F)))),n=class extends z{constructor(){super(...arguments);this.errorOnChange=!0;this.max=5;this.step=1;this.displayOnly=!1;this.clearable=!1;this.icon="star";this.emptyIcon="star_outline";this.handleClick=e=>{if(this.locked||e.target instanceof HTMLInputElement)return;let t=this.valueAtPointer(e);t!==void 0&&(this.pick(t),this.radioFor(t)?.focus({preventScroll:!0}))};this.handlePointerMove=e=>{this.locked||e.pointerType!=="mouse"||(this.hoverValue=this.valueAtPointer(e))};this.handlePointerLeave=()=>{this.hoverValue=void 0};this.handleChange=e=>{this.locked||this.pick(Number(e.target.value))};this.handleRadioClick=e=>{this.readonly&&e.preventDefault()};this.handleKeydown=e=>{if(!(e.target instanceof HTMLInputElement))return;let t=this.resolvedStep,i=getComputedStyle(this).direction==="rtl",o=this.value??0,r;switch(e.key){case"ArrowRight":r=o+(i?-t:t);break;case"ArrowLeft":r=o+(i?t:-t);break;case"ArrowDown":r=o+t;break;case"ArrowUp":r=o-t;break;case"Home":r=t;break;case"End":r=this.count;break;case" ":this.readonly&&e.preventDefault();return;default:return}if(e.preventDefault(),this.readonly)return;let u=Math.min(this.count,Math.max(t,r));this.pick(u),this.radioFor(u)?.focus()};this.handleClear=async()=>{this.pick(void 0),await this.updateComplete,this.focus()}}get value(){return super.value}set value(e){super.value=this.clamp(e)}get defaultValue(){return super.defaultValue}set defaultValue(e){super.defaultValue=e}get count(){let e=Math.round(this.max);return Number.isFinite(e)&&e>=1?e:5}get resolvedStep(){return Number(this.step)===.5?.5:1}clamp(e){if(e==null||e==="")return;let t=Number(e);if(!(!Number.isFinite(t)||t<=0))return Math.min(t,this.count)}snap(e){let t=this.clamp(e);if(t===void 0||this.displayOnly)return t;let i=this.resolvedStep;return Math.min(this.count,Math.max(i,Math.round(t/i)*i))}format(e){try{return new Intl.NumberFormat(this.resolvedLocale,{maximumFractionDigits:2}).format(e)}catch{return String(e)}}valueText(e){return this.dictionary.rating.valueText(this.format(e),this.format(this.count))}radioFor(e){let t=this.itemsEl?.querySelectorAll("input");return Array.from(t??[]).find(i=>Number(i.value)===e)??null}get tabStopValue(){return this.value??this.resolvedStep}get hostTabStop(){return!1}getFocusAnchor(){return this.radioFor(this.tabStopValue)??void 0}focus(e){super.focus?.(e),this.radioFor(this.tabStopValue)?.focus(e)}pick(e){e!==this.value&&(this.value=e,this.dispatchEvent(new w(this.value)))}get locked(){return this.disabled||this.readonly||this.displayOnly}valueAtPointer(e){let t=getComputedStyle(this).direction==="rtl",i=e.target.closest(".item");if(!i){let p;return this.itemsEl?.querySelectorAll(".item").forEach(h=>{let f=h.getBoundingClientRect();(t?f.right>=e.clientX:f.left<=e.clientX)&&(p=h)}),p?Number(p.dataset.index):void 0}let o=Number(i.dataset.index);if(this.resolvedStep===1)return o;let r=i.getBoundingClientRect(),u=r.width?(e.clientX-r.left)/r.width:1;return(t?1-u:u)<=.5?o-.5:o}willUpdate(e){if(["value","valueState","max","step","displayOnly"].some(t=>e.has(t))){let t=this.snap(this.value);t!==this.value&&(this.value=t)}(e.has("disabled")||e.has("readonly"))&&(this.hoverValue=void 0),super.willUpdate(e)}renderIcon(e){return l`
|
|
200
200
|
<span class="icon" aria-hidden="true">
|
|
201
201
|
<eun-icon class="empty" name=${this.emptyIcon}></eun-icon>
|
|
202
|
-
<span class="fill" style=${
|
|
202
|
+
<span class="fill" style=${S({width:`${e*100}%`})}>
|
|
203
203
|
<eun-icon name=${this.icon}></eun-icon>
|
|
204
204
|
</span>
|
|
205
205
|
</span>
|
|
@@ -209,7 +209,7 @@ import{a as _}from"./chunks/chunk-B5XMGWM7.js";import"./chunks/chunk-VJCNHMQZ.js
|
|
|
209
209
|
name="rating"
|
|
210
210
|
class=${i}
|
|
211
211
|
.value=${String(e)}
|
|
212
|
-
.checked=${
|
|
212
|
+
.checked=${E(this.value===e)}
|
|
213
213
|
?disabled=${this.disabled}
|
|
214
214
|
tabindex=${e===this.tabStopValue?"0":"-1"}
|
|
215
215
|
aria-label=${this.valueText(e)}
|
|
@@ -241,8 +241,8 @@ import{a as _}from"./chunks/chunk-B5XMGWM7.js";import"./chunks/chunk-VJCNHMQZ.js
|
|
|
241
241
|
<div id="wrapper">
|
|
242
242
|
${this.renderFormLabels()}
|
|
243
243
|
${this.instructions?l`<span id="group-instructions" hidden
|
|
244
|
-
|
|
245
|
-
|
|
244
|
+
>${this.instructions}</span
|
|
245
|
+
>`:d}
|
|
246
246
|
<div id="control">
|
|
247
247
|
<div
|
|
248
248
|
id="items"
|
|
@@ -273,4 +273,4 @@ import{a as _}from"./chunks/chunk-B5XMGWM7.js";import"./chunks/chunk-VJCNHMQZ.js
|
|
|
273
273
|
</div>
|
|
274
274
|
${e}
|
|
275
275
|
</div>
|
|
276
|
-
`}};n.styles=[
|
|
276
|
+
`}};n.styles=[_,c.base,c.errorMessages,c.hintMessages],a([s({type:Number})],n.prototype,"max",2),a([s({type:Number})],n.prototype,"step",2),a([s({type:Boolean,attribute:"display-only",reflect:!0})],n.prototype,"displayOnly",2),a([s({type:Boolean,reflect:!0})],n.prototype,"clearable",2),a([s({attribute:"clear-label"})],n.prototype,"clearLabel",2),a([s()],n.prototype,"icon",2),a([s({attribute:"empty-icon"})],n.prototype,"emptyIcon",2),a([y()],n.prototype,"hoverValue",2),a([s({type:Number})],n.prototype,"value",1),a([s({attribute:"default-value",type:Number})],n.prototype,"defaultValue",1),a([g("#items")],n.prototype,"itemsEl",2),n=a([v(V)],n);export{n as EunomiaRating,V as EunomiaRatingTagName};
|