@eunomia/elements 1.0.0-beta.5 → 1.0.0-beta.6
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 +1 -1
- package/dist/breakpoints.d.ts +37 -10
- package/dist/breakpoints.js +38 -10
- package/dist/cdn/components/chunks/{chunk-MMLIPCOY.js → chunk-22D3SRFR.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-OW7XKDCH.js → chunk-2Y2EU2CI.js} +16 -16
- package/dist/cdn/components/chunks/{chunk-LFCXUVDO.js → chunk-4PI6RDUS.js} +1 -1
- package/dist/cdn/components/chunks/chunk-624VJYNA.js +1 -0
- package/dist/cdn/components/chunks/{chunk-5XJLIHAU.js → chunk-7KKWYPHY.js} +4 -2
- package/dist/cdn/components/chunks/chunk-A3X4KD2X.js +1 -0
- package/dist/cdn/components/chunks/chunk-BKZGTCMF.js +1 -0
- package/dist/cdn/components/chunks/{chunk-GW3VP2L7.js → chunk-BO3JOEWM.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-EAKYD33D.js → chunk-BQFJR2UP.js} +4 -4
- package/dist/cdn/components/chunks/chunk-EUWUDCBZ.js +1 -0
- package/dist/cdn/components/chunks/{chunk-P32B7BFD.js → chunk-FF3I7C3C.js} +15 -15
- package/dist/cdn/components/chunks/{chunk-74AOAB4X.js → chunk-FOILAXLL.js} +6 -5
- package/dist/cdn/components/chunks/{chunk-E4IS25H7.js → chunk-G5SBDQQ3.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-LGLQ36QB.js → chunk-GDBPWZN6.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-S2UCEWNG.js → chunk-JYIIWN2P.js} +13 -11
- package/dist/cdn/components/chunks/{chunk-IDKZKLJR.js → chunk-KDN4O5W2.js} +24 -11
- package/dist/cdn/components/chunks/chunk-KSZRQRN4.js +1 -0
- package/dist/cdn/components/chunks/{chunk-PED5ATYN.js → chunk-L2ADCEN7.js} +1 -1
- package/dist/cdn/components/chunks/chunk-LMVW522V.js +1 -0
- package/dist/cdn/components/chunks/{chunk-5XJGYXW7.js → chunk-MOMYII3P.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-2XASWWKR.js → chunk-MQQ4BGVJ.js} +5 -5
- package/dist/cdn/components/chunks/{chunk-A4EQSU36.js → chunk-O7PHBLH2.js} +1 -1
- package/dist/cdn/components/chunks/chunk-PD62MBOJ.js +1 -0
- package/dist/cdn/components/chunks/{chunk-KBH5PCUO.js → chunk-PE4DAXHQ.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-6ETDXUH2.js → chunk-PMPSJG5V.js} +7 -7
- package/dist/cdn/components/chunks/{chunk-5EVP7YNE.js → chunk-PPCHQG7P.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-AIS3UICU.js → chunk-QZ5SHR3I.js} +9 -5
- package/dist/cdn/components/chunks/{chunk-32DTNR52.js → chunk-RS7TWEMQ.js} +1 -1
- package/dist/cdn/components/chunks/chunk-SMTIDNGW.js +1 -0
- package/dist/cdn/components/chunks/{chunk-MPQP4R54.js → chunk-SZYEBMG6.js} +10 -9
- package/dist/cdn/components/chunks/{chunk-JRGM3W7I.js → chunk-UDVB4LAE.js} +5 -2
- package/dist/cdn/components/chunks/{chunk-L65WUTXM.js → chunk-UYZR4JXZ.js} +12 -7
- package/dist/cdn/components/chunks/chunk-VG6NAAIV.js +1 -0
- package/dist/cdn/components/chunks/chunk-VJCNHMQZ.js +10 -0
- package/dist/cdn/components/chunks/chunk-VOTRXBDS.js +38 -0
- package/dist/cdn/components/chunks/{chunk-DKOPI7QA.js → chunk-VYFR364B.js} +73 -63
- package/dist/cdn/components/chunks/{chunk-SD2WHGPF.js → chunk-XDPRWUKN.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-XH6NREVZ.js → chunk-YITWLCD3.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-BQHYZB2W.js → chunk-ZBN4HTWP.js} +1 -1
- package/dist/cdn/components/chunks/{chunk-NBIENHLV.js → chunk-ZKZV2YG5.js} +18 -18
- package/dist/cdn/components/eun-alert.js +24 -16
- package/dist/cdn/components/eun-animate.js +12 -8
- package/dist/cdn/components/eun-badge.js +1 -1
- package/dist/cdn/components/eun-breadcrumb.js +25 -41
- package/dist/cdn/components/eun-button.js +1 -1
- package/dist/cdn/components/eun-calendar.js +67 -65
- package/dist/cdn/components/eun-card.js +32 -17
- package/dist/cdn/components/eun-carousel.js +66 -35
- package/dist/cdn/components/eun-check-card.js +13 -6
- package/dist/cdn/components/eun-checkbox-list.js +4 -4
- package/dist/cdn/components/eun-checkbox.js +1 -1
- package/dist/cdn/components/eun-chip.js +1 -1
- package/dist/cdn/components/eun-collapse.js +56 -27
- package/dist/cdn/components/eun-color-picker.js +53 -52
- package/dist/cdn/components/eun-counter.js +9 -8
- package/dist/cdn/components/eun-date-picker.js +59 -56
- package/dist/cdn/components/eun-description-list.js +152 -0
- package/dist/cdn/components/eun-divider.js +1 -1
- package/dist/cdn/components/eun-drawer.js +32 -18
- package/dist/cdn/components/eun-dropdown-button.js +1 -1
- package/dist/cdn/components/eun-dropdown-item.js +6 -5
- package/dist/cdn/components/eun-fab.js +17 -16
- package/dist/cdn/components/eun-icon.js +1 -1
- package/dist/cdn/components/eun-image-card.js +79 -22
- package/dist/cdn/components/eun-image-carousel.js +92 -47
- package/dist/cdn/components/eun-infinite-list.js +23 -11
- package/dist/cdn/components/eun-input-file.js +14 -13
- package/dist/cdn/components/eun-input-phone.js +15 -15
- package/dist/cdn/components/eun-input.js +1 -1
- package/dist/cdn/components/eun-label.js +4 -4
- package/dist/cdn/components/eun-link.js +78 -29
- package/dist/cdn/components/eun-loader.js +1 -1
- package/dist/cdn/components/eun-modal.js +17 -10
- package/dist/cdn/components/eun-pagination.js +17 -12
- package/dist/cdn/components/eun-password-strength.js +6 -2
- package/dist/cdn/components/eun-progress-bar.js +13 -5
- package/dist/cdn/components/eun-radio-card.js +16 -9
- package/dist/cdn/components/eun-radio-list.js +4 -4
- package/dist/cdn/components/eun-radio.js +1 -1
- package/dist/cdn/components/eun-scheduler-event-editor.js +1 -1
- package/dist/cdn/components/eun-scheduler-event.js +1 -1
- package/dist/cdn/components/eun-scheduler.js +36 -36
- package/dist/cdn/components/eun-search.js +11 -10
- package/dist/cdn/components/eun-select.js +12 -11
- package/dist/cdn/components/eun-sidebar.js +34 -20
- package/dist/cdn/components/eun-skeleton.js +1 -1
- package/dist/cdn/components/eun-slider.js +15 -14
- package/dist/cdn/components/eun-sliding-card.js +8 -4
- package/dist/cdn/components/eun-step.js +17 -6
- package/dist/cdn/components/eun-stepper.js +17 -6
- package/dist/cdn/components/eun-switch.js +10 -8
- package/dist/cdn/components/eun-tab-group.js +22 -17
- package/dist/cdn/components/eun-tab-panel.js +11 -3
- package/dist/cdn/components/eun-tab.js +1 -1
- package/dist/cdn/components/eun-table-action-bar.js +1 -1
- package/dist/cdn/components/eun-table.js +572 -31
- package/dist/cdn/components/eun-tag.js +13 -7
- package/dist/cdn/components/eun-textarea.js +23 -23
- package/dist/cdn/components/eun-time-picker.js +17 -15
- package/dist/cdn/components/eun-toast.js +36 -16
- package/dist/cdn/components/eun-toggle-group.js +53 -34
- package/dist/cdn/components/eun-toggle-item.js +16 -15
- package/dist/cdn/components/eun-toggle.js +12 -10
- package/dist/cdn/components/eun-toolbar.js +62 -52
- package/dist/cdn/components/eun-tooltip.js +30 -14
- package/dist/cdn/styles/breakpoints.scss +8 -0
- package/dist/cdn/styles/eunomia-grid.scss +6 -0
- package/dist/cdn/styles/eunomia-themes.css +1 -1
- package/dist/cdn/styles/themes/eunomia-theme.css +1 -1
- package/dist/cdn/styles/themes/eunomia-theme.scss +4 -3
- package/dist/cdn/styles/themes/mixins/eunomia-a11y-color.mixin.scss +34 -1
- package/dist/cdn/styles/themes/mixins/eunomia-neutrals.mixin.scss +4 -0
- package/dist/cdn/styles/themes/mixins/eunomia-states.mixin.scss +36 -12
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia-dark.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/eunomia/eunomia.theme.scss +3 -2
- package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire-dark.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/fire/eunomia-fire.theme.scss +3 -2
- package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest-dark.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/forest/eunomia-forest.theme.scss +3 -2
- package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold-dark.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.scss +3 -2
- package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean-dark.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/ocean/eunomia-ocean.theme.scss +3 -2
- package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon-dark.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/salmon/eunomia-salmon.theme.scss +3 -2
- package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet-dark.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet.mixin.scss +10 -10
- package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.css +1 -1
- package/dist/cdn/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.scss +3 -2
- package/dist/cdn/styles/tools/indexes/eunomia-media-queries.index.scss +1 -3
- package/dist/cdn/styles/tools/indexes/eunomia-tools.index.scss +1 -0
- package/dist/cdn/styles/tools/mixins/layout/eunomia-grid.mixin.scss +117 -53
- package/dist/cdn/styles/tools/mixins/media-queries/eunomia-media-queries.mixin.scss +69 -0
- package/dist/cdn/styles/tools/mixins/settings/eunomia-alpha.mixin.scss +28 -4
- package/dist/cdn/styles/tools/mixins/settings/eunomia-motion.mixin.scss +9 -0
- package/dist/cdn/styles/tools/variables/eunomia.breakpoints.scss +4 -0
- package/dist/components/action/button/button.d.ts +7 -2
- package/dist/components/action/button/button.js +7 -2
- package/dist/components/action/button/button.styles.js +51 -36
- package/dist/components/action/dropdown-button/dropdown-button.d.ts +2 -2
- package/dist/components/action/dropdown-button/dropdown-button.js +11 -10
- package/dist/components/action/dropdown-button/dropdown-button.styles.js +3 -2
- package/dist/components/action/dropdown-button/dropdown-item.js +5 -6
- package/dist/components/action/dropdown-button/dropdown-item.styles.js +3 -2
- package/dist/components/action/fab/fab.styles.js +14 -13
- package/dist/components/action/link/link.d.ts +7 -3
- package/dist/components/action/link/link.js +11 -7
- package/dist/components/action/link/link.styles.js +66 -15
- package/dist/components/action/shared-styles/button-palette.styles.js +15 -15
- package/dist/components/action/toggle/toggle-group.d.ts +2 -0
- package/dist/components/action/toggle/toggle-group.js +5 -3
- package/dist/components/action/toggle/toggle-group.styles.d.ts +2 -0
- package/dist/components/action/toggle/toggle-group.styles.js +42 -21
- package/dist/components/action/toggle/toggle-item.styles.js +13 -12
- package/dist/components/action/toggle/toggle.d.ts +2 -0
- package/dist/components/action/toggle/toggle.js +2 -0
- package/dist/components/action/toggle/toggle.styles.d.ts +2 -0
- package/dist/components/action/toggle/toggle.styles.js +12 -8
- package/dist/components/alert/alert/alert.d.ts +2 -0
- package/dist/components/alert/alert/alert.js +2 -0
- package/dist/components/alert/alert/alert.styles.js +23 -13
- package/dist/components/alert/drawer/drawer.d.ts +3 -1
- package/dist/components/alert/drawer/drawer.js +4 -2
- package/dist/components/alert/drawer/drawer.styles.js +25 -9
- package/dist/components/alert/modal/modal.d.ts +3 -1
- package/dist/components/alert/modal/modal.js +4 -2
- package/dist/components/alert/modal/modal.styles.js +16 -7
- package/dist/components/alert/toast/toast.d.ts +2 -0
- package/dist/components/alert/toast/toast.js +2 -0
- package/dist/components/alert/toast/toast.styles.js +37 -15
- package/dist/components/content/card/card.d.ts +7 -3
- package/dist/components/content/card/card.js +7 -3
- package/dist/components/content/card/card.styles.js +26 -11
- package/dist/components/content/card/image-card.d.ts +60 -6
- package/dist/components/content/card/image-card.js +120 -11
- package/dist/components/content/card/image-card.styles.js +66 -15
- package/dist/components/content/card/sliding-card.d.ts +2 -0
- package/dist/components/content/card/sliding-card.js +2 -0
- package/dist/components/content/card/sliding-card.styles.js +5 -1
- package/dist/components/content/collapse/collapse.d.ts +10 -1
- package/dist/components/content/collapse/collapse.js +12 -2
- package/dist/components/content/collapse/collapse.styles.d.ts +10 -1
- package/dist/components/content/collapse/collapse.styles.js +56 -18
- package/dist/components/content/description-list/description-list.d.ts +87 -0
- package/dist/components/content/description-list/description-list.js +107 -0
- package/dist/components/content/description-list/description-list.styles.d.ts +1 -0
- package/dist/components/content/description-list/description-list.styles.js +185 -0
- package/dist/components/content/icon/icon.d.ts +2 -0
- package/dist/components/content/icon/icon.js +2 -0
- package/dist/components/content/icon/icon.style.js +4 -1
- package/dist/components/content/image-carousel/image-carousel.d.ts +30 -19
- package/dist/components/content/image-carousel/image-carousel.js +48 -45
- package/dist/components/content/image-carousel/image-carousel.styles.js +69 -30
- package/dist/components/content/password-strength/password-strength.styles.js +5 -1
- package/dist/components/content/progress-bar/progress-bar.styles.js +12 -4
- package/dist/components/content/shared-styles/card-link.styles.js +4 -3
- package/dist/components/content/shared-styles/tone-surface.styles.d.ts +5 -0
- package/dist/components/content/shared-styles/tone-surface.styles.js +19 -14
- package/dist/components/content/tag/tag.d.ts +4 -0
- package/dist/components/content/tag/tag.js +4 -0
- package/dist/components/content/tag/tag.styles.js +14 -4
- package/dist/components/content/tooltip/tooltip.d.ts +3 -2
- package/dist/components/content/tooltip/tooltip.js +9 -16
- package/dist/components/content/tooltip/tooltip.styles.js +25 -7
- package/dist/components/form/checkbox/check-card.d.ts +4 -1
- package/dist/components/form/checkbox/check-card.js +4 -1
- package/dist/components/form/checkbox/check-card.styles.js +13 -4
- package/dist/components/form/checkbox/checkbox-list.d.ts +4 -1
- package/dist/components/form/checkbox/checkbox-list.js +11 -7
- package/dist/components/form/checkbox/checkbox.d.ts +4 -1
- package/dist/components/form/checkbox/checkbox.js +4 -1
- package/dist/components/form/checkbox/checkbox.styles.js +2 -2
- package/dist/components/form/color-picker/color-picker.d.ts +7 -1
- package/dist/components/form/color-picker/color-picker.js +19 -21
- package/dist/components/form/color-picker/color-picker.styles.js +6 -5
- package/dist/components/form/counter/counter.d.ts +4 -1
- package/dist/components/form/counter/counter.js +5 -2
- package/dist/components/form/counter/counter.styles.js +5 -4
- package/dist/components/form/date-picker/date-picker.d.ts +37 -33
- package/dist/components/form/date-picker/date-picker.js +32 -42
- package/dist/components/form/date-picker/date-picker.styles.js +8 -5
- package/dist/components/form/input/input.d.ts +7 -1
- package/dist/components/form/input/input.js +8 -2
- package/dist/components/form/input-file/input-file.d.ts +4 -1
- package/dist/components/form/input-file/input-file.js +8 -5
- package/dist/components/form/input-file/input-file.styles.js +3 -2
- package/dist/components/form/input-phone/input-phone.d.ts +8 -2
- package/dist/components/form/input-phone/input-phone.js +13 -17
- package/dist/components/form/input-phone/input-phone.styles.js +4 -4
- package/dist/components/form/label/label.styles.js +3 -3
- package/dist/components/form/radio/radio-card.d.ts +5 -2
- package/dist/components/form/radio/radio-card.js +5 -2
- package/dist/components/form/radio/radio-card.styles.js +14 -5
- package/dist/components/form/radio/radio-list.d.ts +5 -2
- package/dist/components/form/radio/radio-list.js +14 -10
- package/dist/components/form/radio/radio.d.ts +5 -2
- package/dist/components/form/radio/radio.js +5 -2
- package/dist/components/form/radio/radio.styles.js +4 -4
- package/dist/components/form/search/search.d.ts +2 -1
- package/dist/components/form/search/search.js +6 -15
- package/dist/components/form/search/search.styles.js +5 -4
- package/dist/components/form/select/select.d.ts +9 -2
- package/dist/components/form/select/select.js +15 -18
- package/dist/components/form/select/select.styles.js +3 -2
- package/dist/components/form/shared-styles/card.styles.js +5 -4
- package/dist/components/form/shared-styles/field.styles.js +16 -6
- package/dist/components/form/shared-styles/form-labels.styles.js +1 -1
- package/dist/components/form/slider/slider.d.ts +4 -1
- package/dist/components/form/slider/slider.js +5 -2
- package/dist/components/form/slider/slider.styles.js +8 -7
- package/dist/components/form/switch/switch.d.ts +4 -1
- package/dist/components/form/switch/switch.js +4 -1
- package/dist/components/form/switch/switch.styles.js +7 -5
- package/dist/components/form/textarea/textarea.d.ts +7 -1
- package/dist/components/form/textarea/textarea.js +14 -8
- package/dist/components/form/time-picker/time-picker-columns.styles.js +4 -2
- package/dist/components/form/time-picker/time-picker-list.styles.js +2 -1
- package/dist/components/form/time-picker/time-picker.d.ts +6 -2
- package/dist/components/form/time-picker/time-picker.js +22 -26
- package/dist/components/form/time-picker/time-picker.styles.js +4 -3
- package/dist/components/layout/animate/animate.d.ts +37 -15
- package/dist/components/layout/animate/animate.js +35 -15
- package/dist/components/layout/animate/animate.styles.js +9 -16
- package/dist/components/layout/infinite-list/infinite-list.d.ts +33 -10
- package/dist/components/layout/infinite-list/infinite-list.js +115 -18
- package/dist/components/layout/infinite-list/infinite-list.styles.d.ts +3 -0
- package/dist/components/layout/infinite-list/infinite-list.styles.js +17 -5
- package/dist/components/loader/loader/loader.styles.js +3 -1
- package/dist/components/navigation/breadcrumb/breadcrumb.d.ts +31 -45
- package/dist/components/navigation/breadcrumb/breadcrumb.js +111 -77
- package/dist/components/navigation/breadcrumb/breadcrumb.styles.d.ts +3 -0
- package/dist/components/navigation/breadcrumb/breadcrumb.styles.js +22 -26
- package/dist/components/navigation/carousel/carousel.d.ts +30 -10
- package/dist/components/navigation/carousel/carousel.js +37 -18
- package/dist/components/navigation/carousel/carousel.styles.js +60 -20
- package/dist/components/navigation/pagination/pagination.styles.js +8 -3
- package/dist/components/navigation/sidebar/sidebar.d.ts +2 -0
- package/dist/components/navigation/sidebar/sidebar.js +2 -0
- package/dist/components/navigation/sidebar/sidebar.styles.js +27 -11
- package/dist/components/navigation/stepper/step.styles.js +16 -5
- package/dist/components/navigation/stepper/stepper.styles.js +16 -5
- package/dist/components/navigation/tabs/tab/tab.d.ts +11 -0
- package/dist/components/navigation/tabs/tab/tab.js +11 -0
- package/dist/components/navigation/tabs/tab/tab.styles.js +22 -16
- package/dist/components/navigation/tabs/tab-group/tab-group.js +7 -8
- package/dist/components/navigation/tabs/tab-group/tab-group.styles.js +19 -14
- package/dist/components/navigation/tabs/tab-panel/tab-panel.d.ts +4 -0
- package/dist/components/navigation/tabs/tab-panel/tab-panel.js +4 -0
- package/dist/components/navigation/tabs/tab-panel/tab-panel.styles.js +18 -1
- package/dist/components/navigation/toolbar/toolbar.d.ts +17 -49
- package/dist/components/navigation/toolbar/toolbar.js +23 -71
- package/dist/components/navigation/toolbar/toolbar.styles.js +59 -36
- package/dist/events/table-row-click.event.d.ts +5 -4
- package/dist/events/table-row-click.event.js +10 -5
- package/dist/features/scheduler/calendar/calendar.d.ts +6 -6
- package/dist/features/scheduler/calendar/calendar.js +6 -5
- package/dist/features/scheduler/calendar/calendar.styles.js +8 -6
- package/dist/features/scheduler/scheduler/scheduler.d.ts +1 -1
- package/dist/features/scheduler/scheduler/scheduler.js +9 -23
- package/dist/features/scheduler/scheduler/scheduler.styles.js +6 -4
- package/dist/features/scheduler/scheduler-event/scheduler-event.d.ts +2 -0
- package/dist/features/scheduler/scheduler-event/scheduler-event.js +2 -0
- package/dist/features/scheduler/scheduler-event/scheduler-event.styles.js +10 -4
- package/dist/features/scheduler/shared/scheduler-hour-grid.styles.js +3 -3
- package/dist/features/scheduler/shared/scheduler-month-view.styles.js +2 -2
- package/dist/features/scheduler/shared/scheduler-year-view.styles.js +2 -2
- package/dist/features/table/table/table-native.styles.d.ts +28 -0
- package/dist/features/table/table/table-native.styles.js +502 -0
- package/dist/features/table/table/table.d.ts +342 -294
- package/dist/features/table/table/table.js +820 -546
- package/dist/features/table/table/table.styles.js +31 -17
- package/dist/features/table/table/table.types.d.ts +11 -20
- package/dist/features/table/table/table.utils.d.ts +6 -36
- package/dist/features/table/table/table.utils.js +16 -65
- package/dist/features/table/table-action-bar/table-action-bar.d.ts +33 -16
- package/dist/features/table/table-action-bar/table-action-bar.js +15 -22
- package/dist/features/table/table-action-bar/table-action-bar.styles.js +15 -3
- package/dist/i18n/en.d.ts +31 -0
- package/dist/i18n/en.js +31 -0
- package/dist/i18n/fr.js +35 -0
- package/dist/index.d.ts +4 -10
- package/dist/index.js +6 -10
- package/dist/mixins/check.mixin.js +4 -5
- package/dist/mixins/form.mixin.d.ts +17 -1
- package/dist/mixins/form.mixin.js +80 -25
- package/dist/mixins/radio.mixin.js +4 -5
- package/dist/mixins/validators.mixin.d.ts +7 -1
- package/dist/mixins/validators.mixin.js +36 -17
- package/dist/ssr/animate-ssr.css +3 -2
- package/dist/ssr/button-ssr.css +319 -0
- package/dist/ssr/card-ssr.css +184 -0
- package/dist/ssr/description-list-ssr.css +150 -0
- package/dist/ssr/links-ssr.css +1 -1
- package/dist/ssr/table-ssr.css +472 -0
- package/dist/ssr/tag-ssr.css +197 -0
- package/dist/ssr/toolbar-ssr.css +5 -1
- package/dist/utils/drag-drop.utils.js +18 -2
- package/dist/utils/dropdown-menu.utils.d.ts +2 -2
- package/dist/utils/dropdown-menu.utils.js +4 -14
- package/dist/utils/light-dom-styles.utils.d.ts +14 -0
- package/dist/utils/light-dom-styles.utils.js +37 -0
- package/dist/utils/media.styles.d.ts +19 -0
- package/dist/utils/media.styles.js +23 -0
- package/dist/utils/motion.utils.d.ts +40 -0
- package/dist/utils/motion.utils.js +51 -0
- package/dist/utils/theme-generator.utils.d.ts +6 -1
- package/dist/utils/theme-generator.utils.js +59 -20
- package/package.json +17 -28
- package/styles/breakpoints.scss +8 -0
- package/styles/eunomia-grid.scss +6 -0
- package/styles/themes/eunomia-theme.scss +4 -3
- package/styles/themes/mixins/eunomia-a11y-color.mixin.scss +34 -1
- package/styles/themes/mixins/eunomia-neutrals.mixin.scss +4 -0
- package/styles/themes/mixins/eunomia-states.mixin.scss +36 -12
- package/styles/themes/prebuilt-themes/eunomia/eunomia-dark.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/eunomia/eunomia.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/eunomia/eunomia.theme.scss +3 -2
- package/styles/themes/prebuilt-themes/fire/eunomia-fire-dark.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/fire/eunomia-fire.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/fire/eunomia-fire.theme.scss +3 -2
- package/styles/themes/prebuilt-themes/forest/eunomia-forest-dark.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/forest/eunomia-forest.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/forest/eunomia-forest.theme.scss +3 -2
- package/styles/themes/prebuilt-themes/gold/eunomia-gold-dark.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/gold/eunomia-gold.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.scss +3 -2
- package/styles/themes/prebuilt-themes/ocean/eunomia-ocean-dark.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/ocean/eunomia-ocean.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/ocean/eunomia-ocean.theme.scss +3 -2
- package/styles/themes/prebuilt-themes/salmon/eunomia-salmon-dark.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/salmon/eunomia-salmon.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/salmon/eunomia-salmon.theme.scss +3 -2
- package/styles/themes/prebuilt-themes/violet/eunomia-violet-dark.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/violet/eunomia-violet.mixin.scss +10 -10
- package/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.scss +3 -2
- package/styles/tools/indexes/eunomia-media-queries.index.scss +1 -3
- package/styles/tools/indexes/eunomia-tools.index.scss +1 -0
- package/styles/tools/mixins/layout/eunomia-grid.mixin.scss +117 -53
- package/styles/tools/mixins/media-queries/eunomia-media-queries.mixin.scss +69 -0
- package/styles/tools/mixins/settings/eunomia-alpha.mixin.scss +28 -4
- package/styles/tools/mixins/settings/eunomia-motion.mixin.scss +9 -0
- package/styles/tools/variables/eunomia.breakpoints.scss +4 -0
- package/dist/cdn/components/chunks/chunk-A6KGFALA.js +0 -132
- package/dist/cdn/components/chunks/chunk-CEDHJUUH.js +0 -1
- package/dist/cdn/components/chunks/chunk-D2M4BV5Y.js +0 -328
- package/dist/cdn/components/chunks/chunk-E74CM7UG.js +0 -66
- package/dist/cdn/components/chunks/chunk-EST3M4AO.js +0 -1
- package/dist/cdn/components/chunks/chunk-GU6BVMFJ.js +0 -1
- package/dist/cdn/components/chunks/chunk-KVYUNKUO.js +0 -27
- package/dist/cdn/components/chunks/chunk-OAULRKHQ.js +0 -38
- package/dist/cdn/components/chunks/chunk-PCM7D3YF.js +0 -84
- package/dist/cdn/components/chunks/chunk-SJWRE6PW.js +0 -1
- package/dist/cdn/components/chunks/chunk-T4PTHUYF.js +0 -10
- package/dist/cdn/components/chunks/chunk-VRGRCYIO.js +0 -1
- package/dist/cdn/components/chunks/chunk-X2AUBZD2.js +0 -30
- package/dist/cdn/components/eun-breadcrumb-item.js +0 -93
- package/dist/cdn/components/eun-table-cell.js +0 -1
- package/dist/cdn/components/eun-table-column.js +0 -1
- package/dist/cdn/components/eun-table-header.js +0 -1
- package/dist/cdn/components/eun-table-item.js +0 -1
- package/dist/cdn/components/eun-table-skeleton-row.js +0 -1
- package/dist/cdn/styles/tools/mixins/media-queries/eunomia-device.mixin.scss +0 -14
- package/dist/cdn/styles/tools/mixins/media-queries/eunomia-gte.mixin.scss +0 -26
- package/dist/cdn/styles/tools/mixins/media-queries/eunomia-lte.mixin.scss +0 -26
- package/dist/components/navigation/breadcrumb/breadcrumb-item.d.ts +0 -77
- package/dist/components/navigation/breadcrumb/breadcrumb-item.js +0 -130
- package/dist/components/navigation/breadcrumb/breadcrumb-item.styles.d.ts +0 -6
- package/dist/components/navigation/breadcrumb/breadcrumb-item.styles.js +0 -78
- package/dist/features/table/native-table.css +0 -276
- package/dist/features/table/shared-styles/table-row.styles.d.ts +0 -7
- package/dist/features/table/shared-styles/table-row.styles.js +0 -47
- package/dist/features/table/shared-styles/table-shared.styles.d.ts +0 -23
- package/dist/features/table/shared-styles/table-shared.styles.js +0 -33
- package/dist/features/table/table-cell/table-cell.d.ts +0 -59
- package/dist/features/table/table-cell/table-cell.js +0 -73
- package/dist/features/table/table-cell/table-cell.styles.d.ts +0 -1
- package/dist/features/table/table-cell/table-cell.styles.js +0 -46
- package/dist/features/table/table-column/table-column.d.ts +0 -73
- package/dist/features/table/table-column/table-column.js +0 -89
- package/dist/features/table/table-column/table-column.styles.d.ts +0 -1
- package/dist/features/table/table-column/table-column.styles.js +0 -51
- package/dist/features/table/table-header/table-header.d.ts +0 -102
- package/dist/features/table/table-header/table-header.js +0 -165
- package/dist/features/table/table-header/table-header.styles.d.ts +0 -1
- package/dist/features/table/table-header/table-header.styles.js +0 -147
- package/dist/features/table/table-item/table-item.d.ts +0 -179
- package/dist/features/table/table-item/table-item.js +0 -291
- package/dist/features/table/table-item/table-item.styles.d.ts +0 -1
- package/dist/features/table/table-item/table-item.styles.js +0 -404
- package/dist/features/table/table-managed/table-managed.d.ts +0 -19
- package/dist/features/table/table-managed/table-managed.js +0 -128
- package/dist/features/table/table-skeleton-row/table-skeleton-row.d.ts +0 -46
- package/dist/features/table/table-skeleton-row/table-skeleton-row.js +0 -110
- package/dist/features/table/table-skeleton-row/table-skeleton-row.styles.d.ts +0 -12
- package/dist/features/table/table-skeleton-row/table-skeleton-row.styles.js +0 -65
- package/dist/mixins/table-row.mixin.d.ts +0 -37
- package/dist/mixins/table-row.mixin.js +0 -103
- package/styles/tools/mixins/media-queries/eunomia-device.mixin.scss +0 -14
- package/styles/tools/mixins/media-queries/eunomia-gte.mixin.scss +0 -26
- package/styles/tools/mixins/media-queries/eunomia-lte.mixin.scss +0 -26
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import{a as o,f as
|
|
1
|
+
import{a as s}from"./chunks/chunk-PD62MBOJ.js";import{b as e}from"./chunks/chunk-BKZGTCMF.js";import{a as o,f as m,h as i,j as r,p as n,r as c,u as p}from"./chunks/chunk-YITWLCD3.js";var b=i`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
--_distance: var(--animate-distance, 80px);
|
|
5
|
-
transition-duration: var(--_duration,
|
|
5
|
+
transition-duration: var(--_duration, var(--animate-duration, 1000ms));
|
|
6
6
|
transition-delay: var(--_delay, 0ms);
|
|
7
7
|
transition-timing-function: ease-in-out;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
+
:host([animation="none"]) {
|
|
11
|
+
transition-property: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
10
14
|
:host([animation="fade"]) {
|
|
11
15
|
opacity: 0;
|
|
12
16
|
transition-property: opacity;
|
|
@@ -92,8 +96,8 @@ import{a as o,f as e,g as i,h as r,n,p as s,s as l}from"./chunks/chunk-XH6NREVZ.
|
|
|
92
96
|
transition-duration: 0.01ms;
|
|
93
97
|
}
|
|
94
98
|
}
|
|
95
|
-
`,
|
|
96
|
-
@media (
|
|
99
|
+
`,h=i`
|
|
100
|
+
@media ${s("tablet")} {
|
|
97
101
|
:host([tablet-animation="none"]) {
|
|
98
102
|
opacity: 1;
|
|
99
103
|
transform: none;
|
|
@@ -181,7 +185,7 @@ import{a as o,f as e,g as i,h as r,n,p as s,s as l}from"./chunks/chunk-XH6NREVZ.
|
|
|
181
185
|
}
|
|
182
186
|
}
|
|
183
187
|
|
|
184
|
-
@media (
|
|
188
|
+
@media ${s("mobile")} {
|
|
185
189
|
:host([mobile-animation="none"]) {
|
|
186
190
|
opacity: 1;
|
|
187
191
|
transform: none;
|
|
@@ -268,6 +272,6 @@ import{a as o,f as e,g as i,h as r,n,p as s,s as l}from"./chunks/chunk-XH6NREVZ.
|
|
|
268
272
|
transform: translateY(0);
|
|
269
273
|
}
|
|
270
274
|
}
|
|
271
|
-
`,
|
|
272
|
-
|
|
273
|
-
</style>`:
|
|
275
|
+
`,d=[b,h];var y="eun-animate",f="in-view",t=class extends p{constructor(){super(...arguments);this.animation="fade";this.delay=0;this.once=!0;this.threshold=.1;this.rootMargin="0px"}get hasAnyAnimation(){return this.animation!=="none"||this.tabletAnimation!==void 0&&this.tabletAnimation!=="none"||this.mobileAnimation!==void 0&&this.mobileAnimation!=="none"}connectedCallback(){super.connectedCallback?.(),this.setupObserver()}disconnectedCallback(){this.teardownObserver(),super.disconnectedCallback?.()}updated(a){super.updated(a),this.isConnected&&(a.has("animation")||a.has("tabletAnimation")||a.has("mobileAnimation")||a.has("threshold")||a.has("rootMargin")||a.has("once"))&&this.setupObserver()}setupObserver(){this.teardownObserver(),this.hasAnyAnimation&&(this.observer=new IntersectionObserver(([a])=>{a.isIntersecting?(this.toggleAttribute(f,!0),this.once&&this.observer?.unobserve(this)):this.once||this.toggleAttribute(f,!1)},{threshold:this.threshold,rootMargin:this.rootMargin}),this.observer.observe(this))}teardownObserver(){this.observer?.disconnect(),this.observer=void 0}renderTiming(){let a=[this.duration!==void 0?`--_duration: ${Number(this.duration)}ms;`:"",this.delay!==0?`--_delay: ${Number(this.delay)}ms;`:""].join(""),l=[a?`:host { ${a} }`:"",this.tabletDelay!==void 0?`@media ${e("tablet")} { :host { --_delay: ${Number(this.tabletDelay)}ms; } }`:"",this.mobileDelay!==void 0?`@media ${e("mobile")} { :host { --_delay: ${Number(this.mobileDelay)}ms; } }`:""].join("");return l?n`<style>
|
|
276
|
+
${l}
|
|
277
|
+
</style>`:c}render(){return n`${this.renderTiming()}<slot></slot>`}};t.styles=d,o([r({reflect:!0})],t.prototype,"animation",2),o([r({type:Number})],t.prototype,"duration",2),o([r({type:Number})],t.prototype,"delay",2),o([r({type:Number,attribute:"tablet-delay"})],t.prototype,"tabletDelay",2),o([r({type:Number,attribute:"mobile-delay"})],t.prototype,"mobileDelay",2),o([r({type:Boolean})],t.prototype,"once",2),o([r({type:Number})],t.prototype,"threshold",2),o([r({attribute:"root-margin"})],t.prototype,"rootMargin",2),o([r({attribute:"tablet-animation",reflect:!0})],t.prototype,"tabletAnimation",2),o([r({attribute:"mobile-animation",reflect:!0})],t.prototype,"mobileAnimation",2),t=o([m(y)],t);export{t as EunomiaAnimate,y as EunomiaAnimateTagName};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as c,b as a,c as d,d as u,e as i,f,h as g,k as x,m as y,p,u as m}from"./chunks/chunk-YITWLCD3.js";var w=g`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
font-family: var(--eun-font-family, "Mulish", sans-serif);
|
|
5
|
-
font-size: var(--eun-font-size-s, 14px);
|
|
5
|
+
font-size: var(--breadcrumb-font-size, var(--eun-font-size-s, 14px));
|
|
6
6
|
}
|
|
7
7
|
#list {
|
|
8
8
|
display: flex;
|
|
@@ -16,54 +16,47 @@ import{a as d}from"./chunks/chunk-A4EQSU36.js";import"./chunks/chunk-SGM2X2TC.js
|
|
|
16
16
|
#list li {
|
|
17
17
|
display: inline-flex;
|
|
18
18
|
align-items: center;
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
#items-slot {
|
|
22
|
-
display: contents;
|
|
23
|
-
}
|
|
24
|
-
#items-slot.hidden {
|
|
25
|
-
display: none;
|
|
19
|
+
min-width: 0;
|
|
26
20
|
}
|
|
27
|
-
|
|
28
|
-
|
|
21
|
+
::slotted(*) {
|
|
22
|
+
max-width: var(--breadcrumb-item-max-width, 240px);
|
|
29
23
|
overflow: hidden;
|
|
30
24
|
text-overflow: ellipsis;
|
|
31
25
|
white-space: nowrap;
|
|
26
|
+
color: var(--breadcrumb-current-color, var(--eun-text-secondary, #484e61));
|
|
27
|
+
font-weight: var(--eun-font-weight-m, 500);
|
|
32
28
|
}
|
|
33
|
-
|
|
34
|
-
display: inline-flex;
|
|
35
|
-
vertical-align: middle;
|
|
36
|
-
margin-inline-end: var(--eun-space-xxs, 1.6px);
|
|
37
|
-
margin-block-end: 3px;
|
|
38
|
-
}
|
|
39
|
-
#list li > a {
|
|
29
|
+
::slotted(a[href]) {
|
|
40
30
|
color: var(--breadcrumb-link-color, var(--eun-color-primary-500, #3d6fff));
|
|
41
|
-
|
|
31
|
+
font-weight: inherit;
|
|
32
|
+
text-decoration: var(--breadcrumb-link-text-decoration, underline);
|
|
42
33
|
border-radius: var(--eun-border-radius-s, 5px);
|
|
43
34
|
outline: 2px solid transparent;
|
|
44
35
|
transition:
|
|
45
|
-
color var(--breadcrumb-transition-duration,
|
|
46
|
-
|
|
36
|
+
color var(--breadcrumb-transition-duration, var(--eun-duration-m, 200ms))
|
|
37
|
+
var(--eun-easing-out, ease-out),
|
|
38
|
+
outline var(--eun-duration-m, 200ms) var(--eun-easing-out, ease-out);
|
|
47
39
|
}
|
|
48
|
-
|
|
49
|
-
|
|
40
|
+
::slotted(a[href]:hover),
|
|
41
|
+
::slotted(a[href]:focus-visible) {
|
|
50
42
|
color: var(
|
|
51
43
|
--breadcrumb-link-color-hover,
|
|
52
44
|
var(--eun-color-primary-700, #3662e0)
|
|
53
45
|
);
|
|
54
|
-
text-decoration: underline;
|
|
46
|
+
text-decoration: var(--breadcrumb-link-text-decoration-hover, underline);
|
|
55
47
|
}
|
|
56
|
-
|
|
57
|
-
text-decoration: none;
|
|
48
|
+
::slotted(a[href]:focus-visible) {
|
|
58
49
|
outline-color: var(
|
|
59
50
|
--breadcrumb-focus-outline-color,
|
|
60
51
|
var(--eun-color-primary-500, #3d6fff)
|
|
61
52
|
);
|
|
62
53
|
outline-offset: 2px;
|
|
63
54
|
}
|
|
64
|
-
|
|
55
|
+
::slotted(a[aria-current="page"]),
|
|
56
|
+
::slotted(a[aria-current="page"]:hover) {
|
|
65
57
|
color: var(--breadcrumb-current-color, var(--eun-text-secondary, #484e61));
|
|
66
58
|
font-weight: var(--eun-font-weight-m, 500);
|
|
59
|
+
text-decoration: none;
|
|
67
60
|
}
|
|
68
61
|
#list li > .separator {
|
|
69
62
|
margin-inline: var(--breadcrumb-separator-gap, var(--eun-space-s, 8px));
|
|
@@ -76,21 +69,12 @@ import{a as d}from"./chunks/chunk-A4EQSU36.js";import"./chunks/chunk-SGM2X2TC.js
|
|
|
76
69
|
#list li > .separator::before {
|
|
77
70
|
content: var(--breadcrumb-separator, "/");
|
|
78
71
|
}
|
|
79
|
-
`;var
|
|
72
|
+
`;var C="eun-breadcrumb",r,n,t,v,k,b,s=class extends m{constructor(){super(...arguments);d(this,t);this.steps=[];d(this,r);d(this,n)}connectedCallback(){super.connectedCallback(),i(this,t,v).call(this),a(this,n)??u(this,n,new MutationObserver(()=>i(this,t,v).call(this))),a(this,n).observe(this,{childList:!0})}disconnectedCallback(){a(this,n)?.disconnect(),super.disconnectedCallback()}updated(e){super.updated(e),this.stepSlots.forEach((o,l)=>{let h=this.steps[l];h&&o.assignedElements()[0]!==h&&o.assign(h)}),i(this,t,k).call(this)}render(){let e=this.steps.length-1;return p`
|
|
80
73
|
<nav aria-label=${this.ariaLabel??"Breadcrumb"}>
|
|
81
74
|
<ol id="list" role="list">
|
|
82
|
-
${this.
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
</li>
|
|
75
|
+
${this.steps.map((o,l)=>p`<li>
|
|
76
|
+
<slot></slot>${l<e?p`<span class="separator" aria-hidden="true"></span>`:""}
|
|
77
|
+
</li>`)}
|
|
86
78
|
</ol>
|
|
87
79
|
</nav>
|
|
88
|
-
`}
|
|
89
|
-
<span aria-current="page">${t}${e.label}</span>
|
|
90
|
-
</li>`;let i=r`<span class="separator" aria-hidden="true"></span>`;return e.href?r`<li>
|
|
91
|
-
<a
|
|
92
|
-
href=${e.href}
|
|
93
|
-
@click=${f=>u(this,f,e.href)}
|
|
94
|
-
>${t}${e.label}</a
|
|
95
|
-
>${i}
|
|
96
|
-
</li>`:r`<li><span>${t}${e.label}</span>${i}</li>`}};a.styles=[b],n([c({type:Array,reflect:!0})],a.prototype,"items",2),a=n([o(h)],a);export{a as EunomiaBreadcrumb,h as EunomiaBreadcrumbTagName};
|
|
80
|
+
`}};r=new WeakMap,n=new WeakMap,t=new WeakSet,v=function(){this.steps=Array.from(this.children)},k=function(){let e=this.steps[this.steps.length-1];if(a(this,r)&&a(this,r)!==e&&(i(this,t,b).call(this,a(this,r),!1),u(this,r,void 0)),!e||e===a(this,r))return;this.steps.some(l=>l.getAttribute("aria-current")==="page")||(i(this,t,b).call(this,e,!0),u(this,r,e))},b=function(e,o){o?e.setAttribute("aria-current","page"):e.removeAttribute("aria-current")},s.styles=[w],s.shadowRootOptions={...m.shadowRootOptions,slotAssignment:"manual"},c([x()],s.prototype,"steps",2),c([y("#list slot")],s.prototype,"stepSlots",2),s=c([f(C)],s);export{s as EunomiaBreadcrumb,C as EunomiaBreadcrumbTagName};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"./chunks/chunk-
|
|
1
|
+
import{a,b}from"./chunks/chunk-VYFR364B.js";import"./chunks/chunk-2Y2EU2CI.js";import"./chunks/chunk-RS7TWEMQ.js";import"./chunks/chunk-UP4M7TER.js";import"./chunks/chunk-3MTUVMM5.js";import"./chunks/chunk-5GKM5DIB.js";import"./chunks/chunk-PPCHQG7P.js";import"./chunks/chunk-LMVW522V.js";import"./chunks/chunk-KSZRQRN4.js";import"./chunks/chunk-YITWLCD3.js";export{b as EunomiaButton,a as EunomiaButtonTagName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as ce}from"./chunks/chunk-QZ5SHR3I.js";import{a as ue}from"./chunks/chunk-IJJ67C66.js";import{a as he}from"./chunks/chunk-BRSNQMCD.js";import{d as te,e as re,f as oe,g as ie,h as ne,i as ae,j as se,k as le,l as de}from"./chunks/chunk-647ISUF4.js";import{a as b}from"./chunks/chunk-22D3SRFR.js";import{a as B,c as R,d as ee,h as D,k as F,m as T,n as L,p as E,q as W,s as V}from"./chunks/chunk-MJ4RDZLL.js";import{a as k}from"./chunks/chunk-PD62MBOJ.js";import{b as Z}from"./chunks/chunk-BKZGTCMF.js";import{a as f}from"./chunks/chunk-O7PHBLH2.js";import"./chunks/chunk-SGM2X2TC.js";import{a as h,f as Q,h as M,j as g,k as H,l as U,p as d,u as J}from"./chunks/chunk-YITWLCD3.js";var ke=M`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -17,13 +17,15 @@ import{a as de}from"./chunks/chunk-AIS3UICU.js";import{a as ce}from"./chunks/chu
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
#view.swiping-next #view-content {
|
|
20
|
-
animation: scheduler-slide-from-right
|
|
21
|
-
|
|
20
|
+
animation: scheduler-slide-from-right
|
|
21
|
+
var(--scheduler-swipe-duration, var(--eun-duration-m, 200ms))
|
|
22
|
+
var(--eun-easing-out, ease-out);
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
#view.swiping-previous #view-content {
|
|
25
|
-
animation: scheduler-slide-from-left
|
|
26
|
-
|
|
26
|
+
animation: scheduler-slide-from-left
|
|
27
|
+
var(--scheduler-swipe-duration, var(--eun-duration-m, 200ms))
|
|
28
|
+
var(--eun-easing-out, ease-out);
|
|
27
29
|
}
|
|
28
30
|
|
|
29
31
|
@keyframes scheduler-slide-from-right {
|
|
@@ -113,7 +115,7 @@ import{a as de}from"./chunks/chunk-AIS3UICU.js";import{a as ce}from"./chunks/chu
|
|
|
113
115
|
outline-offset: 1px;
|
|
114
116
|
}
|
|
115
117
|
|
|
116
|
-
@media
|
|
118
|
+
@media ${k("tablet")} {
|
|
117
119
|
:host {
|
|
118
120
|
display: flex;
|
|
119
121
|
flex-direction: column;
|
|
@@ -128,7 +130,7 @@ import{a as de}from"./chunks/chunk-AIS3UICU.js";import{a as ce}from"./chunks/chu
|
|
|
128
130
|
min-height: 0;
|
|
129
131
|
}
|
|
130
132
|
}
|
|
131
|
-
`,
|
|
133
|
+
`,pe=ke;var Se=M`
|
|
132
134
|
:host {
|
|
133
135
|
--scheduler-mobile: false;
|
|
134
136
|
--scheduler-tablet: false;
|
|
@@ -272,13 +274,13 @@ import{a as de}from"./chunks/chunk-AIS3UICU.js";import{a as ce}from"./chunks/chu
|
|
|
272
274
|
cursor: grabbing;
|
|
273
275
|
}
|
|
274
276
|
|
|
275
|
-
@container
|
|
277
|
+
@container ${k("mobile")} {
|
|
276
278
|
#hour-grid-scroll {
|
|
277
279
|
--scheduler-mobile: true;
|
|
278
280
|
}
|
|
279
281
|
}
|
|
280
282
|
|
|
281
|
-
@container
|
|
283
|
+
@container ${k("tablet")} {
|
|
282
284
|
#hour-grid-scroll {
|
|
283
285
|
--scheduler-tablet: true;
|
|
284
286
|
flex: 1 1 auto;
|
|
@@ -298,13 +300,13 @@ import{a as de}from"./chunks/chunk-AIS3UICU.js";import{a as ce}from"./chunks/chu
|
|
|
298
300
|
min-width: var(--scheduler-day-column-min-width-mobile, 76px);
|
|
299
301
|
}
|
|
300
302
|
}
|
|
301
|
-
`,
|
|
303
|
+
`,ve=Se;var Me=M`
|
|
302
304
|
.month-scroll {
|
|
303
305
|
max-height: var(--scheduler-body-max-height, 640px);
|
|
304
306
|
overflow-y: auto;
|
|
305
307
|
}
|
|
306
308
|
|
|
307
|
-
@media
|
|
309
|
+
@media ${k("tablet")} {
|
|
308
310
|
.month-scroll {
|
|
309
311
|
flex: 1 1 auto;
|
|
310
312
|
height: 100%;
|
|
@@ -412,13 +414,13 @@ import{a as de}from"./chunks/chunk-AIS3UICU.js";import{a as ce}from"./chunks/chu
|
|
|
412
414
|
outline: 2px solid var(--eun-color-info-100, #097faf);
|
|
413
415
|
outline-offset: -2px;
|
|
414
416
|
}
|
|
415
|
-
`,
|
|
417
|
+
`,me=Me;var $e=M`
|
|
416
418
|
.year-scroll {
|
|
417
419
|
max-height: var(--scheduler-body-max-height, 640px);
|
|
418
420
|
overflow-y: auto;
|
|
419
421
|
}
|
|
420
422
|
|
|
421
|
-
@media
|
|
423
|
+
@media ${k("tablet")} {
|
|
422
424
|
.year-scroll {
|
|
423
425
|
flex: 1 1 auto;
|
|
424
426
|
height: 100%;
|
|
@@ -527,7 +529,7 @@ import{a as de}from"./chunks/chunk-AIS3UICU.js";import{a as ce}from"./chunks/chu
|
|
|
527
529
|
border-radius: 999px;
|
|
528
530
|
background: currentColor;
|
|
529
531
|
}
|
|
530
|
-
`,
|
|
532
|
+
`,ge=$e;var Ce=34,ye=22;function I(o){let{days:a,events:e,dayStartHour:t,dayEndHour:r,slotDuration:i,locale:s}=o,n=60/i,p=r-t,w=Array.from({length:p},(l,v)=>t+v),y=new Date,S=se(e,a),c=S.reduce((l,v)=>Math.max(l,v.row+1),0);return d`
|
|
531
533
|
<div id="hour-grid-scroll">
|
|
532
534
|
<div class="hour-grid-header">
|
|
533
535
|
<div class="hour-grid-gutter-spacer"></div>
|
|
@@ -544,23 +546,23 @@ import{a as de}from"./chunks/chunk-AIS3UICU.js";import{a as ce}from"./chunks/chu
|
|
|
544
546
|
${c>0?d`
|
|
545
547
|
<div
|
|
546
548
|
class="hour-grid-allday-row"
|
|
547
|
-
style=${b({height:`${c*
|
|
549
|
+
style=${b({height:`${c*ye}px`})}
|
|
548
550
|
>
|
|
549
551
|
<div class="hour-grid-gutter-spacer"></div>
|
|
550
552
|
<div class="hour-grid-allday-days">
|
|
551
553
|
${S.map(l=>{let v=l.endIndex-l.startIndex+1,x=l.startIndex/a.length*100,$=v/a.length*100;return d`
|
|
552
554
|
<div
|
|
553
555
|
class="hour-grid-allday-event"
|
|
554
|
-
style=${b({top:`${l.row*
|
|
556
|
+
style=${b({top:`${l.row*ye}px`,left:`${x}%`,width:`${$}%`})}
|
|
555
557
|
>
|
|
556
558
|
<eun-scheduler-event
|
|
557
559
|
.label=${l.event.title}
|
|
558
560
|
.start=${l.event.start}
|
|
559
561
|
.end=${l.event.end}
|
|
560
562
|
color=${l.event.color}
|
|
561
|
-
appearance=${
|
|
563
|
+
appearance=${o.eventAppearance}
|
|
562
564
|
hide-time
|
|
563
|
-
@click=${C=>
|
|
565
|
+
@click=${C=>o.onEventClick(l.event,C)}
|
|
564
566
|
></eun-scheduler-event>
|
|
565
567
|
</div>
|
|
566
568
|
`})}
|
|
@@ -574,31 +576,31 @@ import{a as de}from"./chunks/chunk-AIS3UICU.js";import{a as ce}from"./chunks/chu
|
|
|
574
576
|
<div class="hour-grid-gutter">
|
|
575
577
|
${w.map(l=>d`
|
|
576
578
|
<div class="hour-grid-gutter-slot">
|
|
577
|
-
${
|
|
579
|
+
${de(l,s)}
|
|
578
580
|
</div>
|
|
579
581
|
`)}
|
|
580
582
|
</div>
|
|
581
|
-
${a.map(l=>
|
|
583
|
+
${a.map(l=>He(l,o,y,w.length))}
|
|
582
584
|
</div>
|
|
583
585
|
</div>
|
|
584
|
-
`}function
|
|
586
|
+
`}function He(o,a,e,t){let{events:r,dayStartHour:i,dayEndHour:s,slotDuration:n,slotHeight:p,eventAppearance:w,onSlotClick:y,onEventClick:S,draggingEventId:c,onEventDragStart:l}=a,v=i*60,x=s*60,$=ie(r,o),C=ae($),De=m=>{if(m.target.closest("eun-scheduler-event"))return;let A=m.currentTarget.getBoundingClientRect(),z=(m.clientY-A.top)/p*n,G=Math.floor(z/n)*n+v,O=new Date(o);O.setHours(0,G,0,0),y(O)},_=e.getHours()*60+e.getMinutes(),Ee=T(o,e)&&_>=v&&_<=x;return d`
|
|
585
587
|
<div
|
|
586
|
-
class=${f({"hour-grid-day-column":!0,today:E(
|
|
587
|
-
data-date=${
|
|
588
|
+
class=${f({"hour-grid-day-column":!0,today:E(o)})}
|
|
589
|
+
data-date=${o.toISOString()}
|
|
588
590
|
style=${b({height:`${t*(60/n)*p}px`})}
|
|
589
|
-
@click=${
|
|
591
|
+
@click=${De}
|
|
590
592
|
>
|
|
591
593
|
${Array.from({length:t},()=>1).map(()=>d`<div class="hour-grid-hour-line"></div>`)}
|
|
592
|
-
${
|
|
594
|
+
${Ee?d`
|
|
593
595
|
<div
|
|
594
596
|
class="hour-grid-now-line"
|
|
595
597
|
style=${b({top:`${(_-v)/n*p}px`})}
|
|
596
598
|
></div>
|
|
597
599
|
`:null}
|
|
598
|
-
${C.map(m=>{let P=Math.max(m.event.start.getHours()*60+m.event.start.getMinutes(),v),A=Math.min(m.event.end.getHours()*60+m.event.end.getMinutes(),x);if(A<=v||P>=x)return null;let
|
|
600
|
+
${C.map(m=>{let P=Math.max(m.event.start.getHours()*60+m.event.start.getMinutes(),v),A=Math.min(m.event.end.getHours()*60+m.event.end.getMinutes(),x);if(A<=v||P>=x)return null;let j=(P-v)/n*p,z=Math.max((A-P)/n*p,p/2),G=100/m.columnCount;return d`
|
|
599
601
|
<div
|
|
600
602
|
class=${f({"hour-grid-event":!0,"dragging-source":m.event.id===c})}
|
|
601
|
-
style=${b({top:`${
|
|
603
|
+
style=${b({top:`${j}px`,height:`${z}px`,left:`${m.column*G}%`,width:`${G}%`})}
|
|
602
604
|
@pointerdown=${O=>l?.(m.event,O)}
|
|
603
605
|
>
|
|
604
606
|
<eun-scheduler-event
|
|
@@ -607,28 +609,28 @@ import{a as de}from"./chunks/chunk-AIS3UICU.js";import{a as ce}from"./chunks/chu
|
|
|
607
609
|
.end=${m.event.end}
|
|
608
610
|
color=${m.event.color}
|
|
609
611
|
appearance=${w}
|
|
610
|
-
?hide-time=${z
|
|
612
|
+
?hide-time=${z<Ce}
|
|
611
613
|
@click=${O=>S(m.event,O)}
|
|
612
614
|
></eun-scheduler-event>
|
|
613
615
|
</div>
|
|
614
616
|
`})}
|
|
615
617
|
</div>
|
|
616
|
-
`}function K(
|
|
618
|
+
`}function K(o,a){return I({...a,days:[o]})}function fe(o,a,e,t){let r=R(o,a),i=Array.from({length:7},(s,n)=>D(r,n)).filter(s=>!e||!W(s));return I({...t,days:i})}var X=22;function we(o){let{displayedMonth:a,weekStartsOn:e,locale:t}=o,r=V(a,e),i=Re(e,t);return d`
|
|
617
619
|
<div class="month-scroll">
|
|
618
620
|
<div class="month-grid-weekdays" role="row">
|
|
619
|
-
${
|
|
621
|
+
${i.map(s=>d`<span role="columnheader">${s}</span>`)}
|
|
620
622
|
</div>
|
|
621
623
|
<div class="month-grid" role="grid">
|
|
622
|
-
${r.map(s=>Te(s,
|
|
624
|
+
${r.map(s=>Te(s,o))}
|
|
623
625
|
</div>
|
|
624
626
|
</div>
|
|
625
|
-
`}function
|
|
627
|
+
`}function be(o,a){return o.filter(e=>e.startIndex<=a&&e.endIndex>=a)}function Te(o,a){let{events:e,maxEventsPerCell:t,moreLabel:r,onEventClick:i,desktop:s}=a,n=Math.max(t,1),p=le(e,o),w=o.some((c,l)=>be(p,l).length>n),y=w?n-1:n,S=p.filter(c=>c.row<y);return d`
|
|
626
628
|
<div
|
|
627
629
|
class="month-week"
|
|
628
630
|
role="row"
|
|
629
|
-
style=${b({gridTemplateRows:`auto repeat(${n}, ${
|
|
631
|
+
style=${b({gridTemplateRows:`auto repeat(${n}, ${X}px)`})}
|
|
630
632
|
>
|
|
631
|
-
${
|
|
633
|
+
${o.map((c,l)=>Oe(c,l,a))}
|
|
632
634
|
${S.map(c=>d`
|
|
633
635
|
<eun-scheduler-event
|
|
634
636
|
class="month-week-event"
|
|
@@ -637,13 +639,13 @@ import{a as de}from"./chunks/chunk-AIS3UICU.js";import{a as ce}from"./chunks/chu
|
|
|
637
639
|
.start=${c.event.start}
|
|
638
640
|
.end=${c.event.end}
|
|
639
641
|
color=${c.event.color}
|
|
640
|
-
appearance=${
|
|
642
|
+
appearance=${oe(c.event)?"default":"ghost"}
|
|
641
643
|
direction=${s?"row":"column"}
|
|
642
644
|
?hide-time=${!s||!!c.event.allDay}
|
|
643
|
-
@click=${l=>
|
|
645
|
+
@click=${l=>i(c.event,l)}
|
|
644
646
|
></eun-scheduler-event>
|
|
645
647
|
`)}
|
|
646
|
-
${w?
|
|
648
|
+
${w?o.map((c,l)=>{let v=be(p,l).length-y;return v>0?d`
|
|
647
649
|
<button
|
|
648
650
|
type="button"
|
|
649
651
|
class="month-week-more"
|
|
@@ -654,61 +656,61 @@ import{a as de}from"./chunks/chunk-AIS3UICU.js";import{a as ce}from"./chunks/chu
|
|
|
654
656
|
</button>
|
|
655
657
|
`:null}):null}
|
|
656
658
|
</div>
|
|
657
|
-
`}function
|
|
659
|
+
`}function Oe(o,a,e){let{displayedMonth:t,focusedDate:r,onDayClick:i,onDayKeydown:s}=e;return d`
|
|
658
660
|
<div
|
|
659
|
-
class=${f({"month-cell":!0,outside:!L(
|
|
661
|
+
class=${f({"month-cell":!0,outside:!L(o,t)})}
|
|
660
662
|
style=${b({gridColumn:`${a+1}`})}
|
|
661
663
|
>
|
|
662
664
|
<button
|
|
663
665
|
type="button"
|
|
664
|
-
class=${f({"month-cell-day":!0,today:E(
|
|
666
|
+
class=${f({"month-cell-day":!0,today:E(o)})}
|
|
665
667
|
role="gridcell"
|
|
666
|
-
tabindex=${
|
|
667
|
-
aria-label=${
|
|
668
|
-
@click=${()=>o
|
|
669
|
-
@keydown=${n=>s(n,
|
|
668
|
+
tabindex=${T(o,r)?"0":"-1"}
|
|
669
|
+
aria-label=${o.toLocaleDateString(e.locale,{weekday:"long",day:"numeric",month:"long",year:"numeric"})}
|
|
670
|
+
@click=${()=>i(o)}
|
|
671
|
+
@keydown=${n=>s(n,o)}
|
|
670
672
|
>
|
|
671
|
-
${
|
|
673
|
+
${o.getDate()}
|
|
672
674
|
</button>
|
|
673
675
|
</div>
|
|
674
|
-
`}function
|
|
676
|
+
`}function Re(o,a){let e=new Date(1970,0,4);return Array.from({length:7},(t,r)=>D(e,o+r)).map(t=>t.toLocaleDateString(a,{weekday:"short"}))}function xe(o){let{displayedYear:a,weekStartsOn:e,locale:t}=o,r=a.getFullYear(),i=Array.from({length:12},(n,p)=>new Date(r,p,1)),s=Ae(e,t);return d`
|
|
675
677
|
<div class="year-scroll">
|
|
676
678
|
<div class="year-weekday-header" role="row">
|
|
677
679
|
${s.map(n=>d`<span role="columnheader">${n}</span>`)}
|
|
678
680
|
</div>
|
|
679
|
-
${
|
|
681
|
+
${i.map(n=>Le(n,e,t,o))}
|
|
680
682
|
</div>
|
|
681
|
-
`}function
|
|
683
|
+
`}function Le(o,a,e,t){let r=V(o,a);return d`
|
|
682
684
|
<div class="year-month-section">
|
|
683
685
|
<button
|
|
684
686
|
type="button"
|
|
685
687
|
class="year-month-label"
|
|
686
|
-
@click=${()=>t.onMonthLabelClick(
|
|
688
|
+
@click=${()=>t.onMonthLabelClick(o)}
|
|
687
689
|
>
|
|
688
|
-
${
|
|
690
|
+
${o.toLocaleDateString(e,{month:"long",year:"numeric"})}
|
|
689
691
|
</button>
|
|
690
692
|
<div class="year-month-grid" role="grid">
|
|
691
|
-
${r.map(
|
|
693
|
+
${r.map(i=>d`
|
|
692
694
|
<div class="year-month-row" role="row">
|
|
693
|
-
${
|
|
695
|
+
${i.map(s=>Pe(s,o,e,t))}
|
|
694
696
|
</div>
|
|
695
697
|
`)}
|
|
696
698
|
</div>
|
|
697
699
|
</div>
|
|
698
|
-
`}function
|
|
700
|
+
`}function Pe(o,a,e,t){let r=!L(o,a),i=!r&&ne(t.events,o).length>0;return d`
|
|
699
701
|
<button
|
|
700
702
|
type="button"
|
|
701
|
-
class=${f({"year-day":!0,outside:r,today:E(
|
|
703
|
+
class=${f({"year-day":!0,outside:r,today:E(o)})}
|
|
702
704
|
?disabled=${r}
|
|
703
705
|
tabindex=${r?"-1":"0"}
|
|
704
706
|
role="gridcell"
|
|
705
|
-
aria-label=${
|
|
706
|
-
@click=${()=>t.onDayClick(
|
|
707
|
+
aria-label=${o.toLocaleDateString(e,{weekday:"long",day:"numeric",month:"long",year:"numeric"})}
|
|
708
|
+
@click=${()=>t.onDayClick(o)}
|
|
707
709
|
>
|
|
708
|
-
<span class="year-day-number">${
|
|
709
|
-
${
|
|
710
|
+
<span class="year-day-number">${o.getDate()}</span>
|
|
711
|
+
${i?d`<span class="year-day-dot" aria-hidden="true"></span>`:null}
|
|
710
712
|
</button>
|
|
711
|
-
`}function Pe(i,a){let e=new Date(1970,0,4);return Array.from({length:7},(t,r)=>D(e,i+r)).map(t=>t.toLocaleDateString(a,{weekday:"short"}))}var N=class i extends Event{static{this.eventName="euneventclick"}constructor(a,e){super(i.eventName,{bubbles:!0,composed:!1}),this.event=a,this.anchor=e}};var Y=class i extends Event{static{this.eventName="eunslotclick"}constructor(a){super(i.eventName,{bubbles:!0,composed:!1}),this.start=a}};var Ae="eun-calendar",ze=40,Ge="(max-width: 767px)",Ie=4,X=24,u=class extends J{constructor(){super(...arguments);this.events=[];this.view="week";this.displayedDate=new Date;this.weekStartsOn=1;this.dayStartHour=0;this.dayEndHour=24;this.slotDuration=30;this.readonly=!1;this.noAnimation=!1;this.moreEventsLabel="+{count} more";this.eventAppearance="default";this.focusedDate=B(new Date);this.selectedWeekDay=null;this.swipeDirection=null;this.isMobile=!1;this.swipeStart=null;this.draggingEventId=null;this.dragEvent=null;this.dragPointerId=null;this.dragActivated=!1;this.dragStartClientX=0;this.dragStartClientY=0;this.dragGrabOffsetX=0;this.dragGrabOffsetY=0;this.dragChipWidth=0;this.dragChipHeight=0;this.dragDurationMs=0;this.dragGhostEl=null;this.dragFinalStart=null;this.suppressNextClick=!1;this.monthMaxEventsPerCell=3;this.observedMonthCell=null;this.handleMonthDayKeydown=e=>{switch(e.key){case"ArrowLeft":e.preventDefault(),this.moveMonthFocus(-1);break;case"ArrowRight":e.preventDefault(),this.moveMonthFocus(1);break;case"ArrowUp":e.preventDefault(),this.moveMonthFocus(-7);break;case"ArrowDown":e.preventDefault(),this.moveMonthFocus(7);break;case"Home":e.preventDefault(),this.jumpMonthFocus(R(this.focusedDate,this.weekStartsOn));break;case"End":e.preventDefault(),this.jumpMonthFocus(D(R(this.focusedDate,this.weekStartsOn),6));break;case"PageUp":e.preventDefault(),this.jumpMonthFocus(F(this.focusedDate,e.shiftKey?-12:-1));break;case"PageDown":e.preventDefault(),this.jumpMonthFocus(F(this.focusedDate,e.shiftKey?12:1));break;default:break}};this.handleMobileMediaChange=e=>{this.isMobile=e.matches};this.handleEventClick=(e,t)=>{if(this.suppressNextClick){this.suppressNextClick=!1;return}this.dispatchEvent(new N(e,t.currentTarget))};this.handleSlotClick=e=>{this.readonly||this.dispatchEvent(new Y(e))};this.handleEventDragStart=(e,t)=>{if(this.readonly||t.pointerType==="touch"||t.button!==0)return;let r=t.currentTarget.getBoundingClientRect();this.dragEvent=e,this.dragPointerId=t.pointerId,this.dragActivated=!1,this.dragStartClientX=t.clientX,this.dragStartClientY=t.clientY,this.dragGrabOffsetX=t.clientX-r.left,this.dragGrabOffsetY=t.clientY-r.top,this.dragChipWidth=r.width,this.dragChipHeight=r.height,this.dragDurationMs=e.end.getTime()-e.start.getTime(),document.addEventListener("pointermove",this.handleDragPointerMove),document.addEventListener("pointerup",this.handleDragPointerUp),document.addEventListener("pointercancel",this.handleDragPointerCancel),document.addEventListener("keydown",this.handleDragKeydown)};this.handleDragPointerMove=e=>{if(!this.dragEvent||e.pointerId!==this.dragPointerId)return;let t=e.clientX-this.dragStartClientX,r=e.clientY-this.dragStartClientY;if(!this.dragActivated){if(Math.hypot(t,r)<Ie)return;this.dragActivated=!0,this.draggingEventId=this.dragEvent.id,this.mountDragGhost(this.dragEvent)}e.preventDefault(),this.updateDragGhost(e.clientX,e.clientY)};this.handleDragPointerUp=e=>{if(!this.dragEvent||e.pointerId!==this.dragPointerId)return;let t=this.dragEvent,r=this.dragActivated,o=this.dragFinalStart;this.teardownDrag(),!(!r||!o)&&(this.suppressNextClick=!0,o.getTime()!==t.start.getTime()&&this.dispatchEvent(new ue({...t,start:o,end:new Date(o.getTime()+this.dragDurationMs)})))};this.handleDragPointerCancel=e=>{!this.dragEvent||e.pointerId!==this.dragPointerId||this.teardownDrag()};this.handleDragKeydown=e=>{e.key==="Escape"&&this.dragEvent&&(e.stopPropagation(),this.teardownDrag())};this.goToDayView=e=>{this.view="day",this.displayedDate=e};this.handleSwipeStart=e=>{e.pointerType==="touch"&&(this.swipeStart={x:e.clientX,y:e.clientY})};this.handleSwipeEnd=e=>{let t=this.swipeStart;if(this.swipeStart=null,e.pointerType!=="touch"||!t)return;let r=e.clientX-t.x,o=e.clientY-t.y;Math.abs(r)<ze||Math.abs(r)<Math.abs(o)||(r<0?(this.navigate(1),this.playSwipeAnimation("next")):(this.navigate(-1),this.playSwipeAnimation("previous")))};this.handleSwipeCancel=()=>{this.swipeStart=null}}willUpdate(e){e.has("displayedDate")&&!e.has("focusedDate")&&(this.focusedDate=B(this.displayedDate))}syncDisplayedMonth(){L(this.focusedDate,this.displayedDate)||(this.displayedDate=Z(this.focusedDate))}focusMonthCell(){this.shadowRoot?.querySelector('.month-cell-day[tabindex="0"]')?.focus()}moveMonthFocus(e){this.focusedDate=D(this.focusedDate,e),this.syncDisplayedMonth(),this.updateComplete.then(()=>this.focusMonthCell())}jumpMonthFocus(e){this.focusedDate=e,this.syncDisplayedMonth(),this.updateComplete.then(()=>this.focusMonthCell())}updated(e){if(super.updated(e),e.has("view")||e.has("displayedDate")||e.has("weekStartsOn")){let t=ee(this.view,this.displayedDate,this.weekStartsOn);this.dispatchEvent(new ce(this.view,t.start,t.end))}this.syncMonthCellObserver()}firstUpdated(e){super.firstUpdated(e),this.view==="year"?this.runOnceVisible(".year-scroll",()=>this.scrollYearViewToCurrentMonth()):this.view!=="month"&&this.runOnceVisible("#hour-grid-scroll",()=>this.scrollHourGridToNow())}runOnceVisible(e,t){let r=this.shadowRoot?.querySelector(e);if(r){if(r.clientHeight>0){t();return}this.initialScrollObserver?.disconnect(),this.initialScrollObserver=new ResizeObserver(()=>{r.clientHeight>0&&(this.initialScrollObserver?.disconnect(),this.initialScrollObserver=void 0,t())}),this.initialScrollObserver.observe(r)}}scrollHourGridToNow(){let e=this.shadowRoot?.querySelector("#hour-grid-scroll"),t=this.shadowRoot?.querySelector(".hour-grid-body"),r=this.shadowRoot?.querySelector(".hour-grid-day-column.today");if(!e||!t||!r)return;let o=new Date,s=this.dayStartHour*60,n=this.dayEndHour*60,w=(Math.min(Math.max(o.getHours()*60+o.getMinutes(),s),n)-s)/this.slotDuration*X,y=t.getBoundingClientRect().top-e.getBoundingClientRect().top+e.scrollTop;e.scrollTop=Math.max(0,y+w-e.clientHeight/3)}scrollYearViewToCurrentMonth(){let e=new Date;if(this.displayedDate.getFullYear()!==e.getFullYear())return;let t=this.shadowRoot?.querySelector(".year-scroll"),o=this.shadowRoot?.querySelectorAll(".year-month-section")?.[e.getMonth()];if(!t||!o)return;let s=this.shadowRoot?.querySelector(".year-weekday-header")?.getBoundingClientRect().height??0,n=o.getBoundingClientRect().top-t.getBoundingClientRect().top+t.scrollTop;t.scrollTop=Math.max(0,n-s)}syncMonthCellObserver(){if(this.view!=="month"){this.monthCellResizeObserver?.disconnect(),this.monthCellResizeObserver=void 0,this.observedMonthCell=null;return}let e=this.shadowRoot?.querySelector(".month-cell");!e||e===this.observedMonthCell||(this.monthCellResizeObserver?.disconnect(),this.observedMonthCell=e,this.monthCellResizeObserver=new ResizeObserver(()=>this.measureMonthCellCapacity()),this.monthCellResizeObserver.observe(e))}measureMonthCellCapacity(){let e=this.observedMonthCell,t=e?.closest(".month-week"),r=t?.querySelector(".month-cell-day");if(!e||!t||!r)return;let o=Number.parseFloat(getComputedStyle(t).rowGap)||0,s=e.clientHeight-r.offsetHeight-o,n=Math.max(1,Math.floor((s+o)/(U+o)));n!==this.monthMaxEventsPerCell&&(this.monthMaxEventsPerCell=n)}updateMobileMediaQuery(){this.mobileMediaQuery?.removeEventListener("change",this.handleMobileMediaChange),this.mobileMediaQuery=window.matchMedia(Ge),this.mobileMediaQuery.addEventListener("change",this.handleMobileMediaChange),this.isMobile=this.mobileMediaQuery.matches}connectedCallback(){super.connectedCallback?.(),this.updateMobileMediaQuery()}disconnectedCallback(){this.mobileMediaQuery?.removeEventListener("change",this.handleMobileMediaChange),this.monthCellResizeObserver?.disconnect(),this.initialScrollObserver?.disconnect(),this.teardownDrag(),super.disconnectedCallback?.()}navigate(e){this.displayedDate=te(this.view,this.displayedDate,e)}mountDragGhost(e){let t=document.createElement(de);t.label=e.title,t.color=e.color,t.appearance=this.eventAppearance,t.locale=this.locale,t.start=e.start,t.end=e.end,Object.assign(t.style,{position:"fixed",width:`${this.dragChipWidth}px`,height:`${this.dragChipHeight}px`,pointerEvents:"none",zIndex:"1000",boxShadow:"0 8px 20px rgba(0, 0, 0, 0.2)",borderRadius:"var(--eun-border-radius-s, 5px)"}),this.dragGhostLayerEl?.appendChild(t),this.dragGhostEl=t}updateDragGhost(e,t){if(!this.dragGhostEl||!this.dragEvent)return;let r=e-this.dragGrabOffsetX,o=t-this.dragGrabOffsetY;this.dragGhostEl.style.left=`${r}px`,this.dragGhostEl.style.top=`${o}px`;let s=Array.from(this.shadowRoot?.querySelectorAll(".hour-grid-day-column")??[]);if(!s.length)return;let n=s[0];for(let $ of s){let C=$.getBoundingClientRect();if(e>=C.left&&e<=C.right){n=$;break}e>C.right&&(n=$)}let p=n.dataset.date?new Date(n.dataset.date):null;if(!p)return;let w=n.getBoundingClientRect(),y=this.dayStartHour*60,S=this.dayEndHour*60,c=this.dragDurationMs/6e4,l=(o-w.top)/X*this.slotDuration,v=Math.min(Math.max(Math.round(l/this.slotDuration)*this.slotDuration+y,y),S-c),x=new Date(p);x.setHours(0,v,0,0),this.dragFinalStart=x,this.dragGhostEl.start=x,this.dragGhostEl.end=new Date(x.getTime()+this.dragDurationMs)}teardownDrag(){document.removeEventListener("pointermove",this.handleDragPointerMove),document.removeEventListener("pointerup",this.handleDragPointerUp),document.removeEventListener("pointercancel",this.handleDragPointerCancel),document.removeEventListener("keydown",this.handleDragKeydown),this.dragGhostEl?.remove(),this.dragGhostEl=null,this.dragEvent=null,this.dragPointerId=null,this.dragActivated=!1,this.dragFinalStart=null,this.draggingEventId=null}playSwipeAnimation(e){this.swipeDirection=null,this.updateComplete.then(()=>{this.shadowRoot?.querySelector("#view")?.offsetWidth,this.swipeDirection=e})}render(){return d`
|
|
713
|
+
`}function Ae(o,a){let e=new Date(1970,0,4);return Array.from({length:7},(t,r)=>D(e,o+r)).map(t=>t.toLocaleDateString(a,{weekday:"short"}))}var Y=class o extends Event{static{this.eventName="euneventclick"}constructor(a,e){super(o.eventName,{bubbles:!0,composed:!1}),this.event=a,this.anchor=e}};var N=class o extends Event{static{this.eventName="eunslotclick"}constructor(a){super(o.eventName,{bubbles:!0,composed:!1}),this.start=a}};var ze="eun-calendar",Ge=40,We=Z("tablet"),Ve=4,q=24,u=class extends J{constructor(){super(...arguments);this.events=[];this.view="week";this.displayedDate=new Date;this.weekStartsOn=1;this.dayStartHour=0;this.dayEndHour=24;this.slotDuration=30;this.readonly=!1;this.noAnimation=!1;this.moreEventsLabel="+{count} more";this.eventAppearance="default";this.focusedDate=B(new Date);this.selectedWeekDay=null;this.swipeDirection=null;this.isMobile=!1;this.swipeStart=null;this.draggingEventId=null;this.dragEvent=null;this.dragPointerId=null;this.dragActivated=!1;this.dragStartClientX=0;this.dragStartClientY=0;this.dragGrabOffsetX=0;this.dragGrabOffsetY=0;this.dragChipWidth=0;this.dragChipHeight=0;this.dragDurationMs=0;this.dragGhostEl=null;this.dragFinalStart=null;this.suppressNextClick=!1;this.monthMaxEventsPerCell=3;this.observedMonthCell=null;this.handleMonthDayKeydown=e=>{switch(e.key){case"ArrowLeft":e.preventDefault(),this.moveMonthFocus(-1);break;case"ArrowRight":e.preventDefault(),this.moveMonthFocus(1);break;case"ArrowUp":e.preventDefault(),this.moveMonthFocus(-7);break;case"ArrowDown":e.preventDefault(),this.moveMonthFocus(7);break;case"Home":e.preventDefault(),this.jumpMonthFocus(R(this.focusedDate,this.weekStartsOn));break;case"End":e.preventDefault(),this.jumpMonthFocus(D(R(this.focusedDate,this.weekStartsOn),6));break;case"PageUp":e.preventDefault(),this.jumpMonthFocus(F(this.focusedDate,e.shiftKey?-12:-1));break;case"PageDown":e.preventDefault(),this.jumpMonthFocus(F(this.focusedDate,e.shiftKey?12:1));break;default:break}};this.handleMobileMediaChange=e=>{this.isMobile=e.matches};this.handleEventClick=(e,t)=>{if(this.suppressNextClick){this.suppressNextClick=!1;return}this.dispatchEvent(new Y(e,t.currentTarget))};this.handleSlotClick=e=>{this.readonly||this.dispatchEvent(new N(e))};this.handleEventDragStart=(e,t)=>{if(this.readonly||t.pointerType==="touch"||t.button!==0)return;let r=t.currentTarget.getBoundingClientRect();this.dragEvent=e,this.dragPointerId=t.pointerId,this.dragActivated=!1,this.dragStartClientX=t.clientX,this.dragStartClientY=t.clientY,this.dragGrabOffsetX=t.clientX-r.left,this.dragGrabOffsetY=t.clientY-r.top,this.dragChipWidth=r.width,this.dragChipHeight=r.height,this.dragDurationMs=e.end.getTime()-e.start.getTime(),document.addEventListener("pointermove",this.handleDragPointerMove),document.addEventListener("pointerup",this.handleDragPointerUp),document.addEventListener("pointercancel",this.handleDragPointerCancel),document.addEventListener("keydown",this.handleDragKeydown)};this.handleDragPointerMove=e=>{if(!this.dragEvent||e.pointerId!==this.dragPointerId)return;let t=e.clientX-this.dragStartClientX,r=e.clientY-this.dragStartClientY;if(!this.dragActivated){if(Math.hypot(t,r)<Ve)return;this.dragActivated=!0,this.draggingEventId=this.dragEvent.id,this.mountDragGhost(this.dragEvent)}e.preventDefault(),this.updateDragGhost(e.clientX,e.clientY)};this.handleDragPointerUp=e=>{if(!this.dragEvent||e.pointerId!==this.dragPointerId)return;let t=this.dragEvent,r=this.dragActivated,i=this.dragFinalStart;this.teardownDrag(),!(!r||!i)&&(this.suppressNextClick=!0,i.getTime()!==t.start.getTime()&&this.dispatchEvent(new he({...t,start:i,end:new Date(i.getTime()+this.dragDurationMs)})))};this.handleDragPointerCancel=e=>{!this.dragEvent||e.pointerId!==this.dragPointerId||this.teardownDrag()};this.handleDragKeydown=e=>{e.key==="Escape"&&this.dragEvent&&(e.stopPropagation(),this.teardownDrag())};this.goToDayView=e=>{this.view="day",this.displayedDate=e};this.handleSwipeStart=e=>{e.pointerType==="touch"&&(this.swipeStart={x:e.clientX,y:e.clientY})};this.handleSwipeEnd=e=>{let t=this.swipeStart;if(this.swipeStart=null,e.pointerType!=="touch"||!t)return;let r=e.clientX-t.x,i=e.clientY-t.y;Math.abs(r)<Ge||Math.abs(r)<Math.abs(i)||(r<0?(this.navigate(1),this.playSwipeAnimation("next")):(this.navigate(-1),this.playSwipeAnimation("previous")))};this.handleSwipeCancel=()=>{this.swipeStart=null}}willUpdate(e){e.has("displayedDate")&&!e.has("focusedDate")&&(this.focusedDate=B(this.displayedDate))}syncDisplayedMonth(){L(this.focusedDate,this.displayedDate)||(this.displayedDate=ee(this.focusedDate))}focusMonthCell(){this.shadowRoot?.querySelector('.month-cell-day[tabindex="0"]')?.focus()}moveMonthFocus(e){this.focusedDate=D(this.focusedDate,e),this.syncDisplayedMonth(),this.updateComplete.then(()=>this.focusMonthCell())}jumpMonthFocus(e){this.focusedDate=e,this.syncDisplayedMonth(),this.updateComplete.then(()=>this.focusMonthCell())}updated(e){if(super.updated(e),e.has("view")||e.has("displayedDate")||e.has("weekStartsOn")){let t=te(this.view,this.displayedDate,this.weekStartsOn);this.dispatchEvent(new ue(this.view,t.start,t.end))}this.syncMonthCellObserver()}firstUpdated(e){super.firstUpdated(e),this.view==="year"?this.runOnceVisible(".year-scroll",()=>this.scrollYearViewToCurrentMonth()):this.view!=="month"&&this.runOnceVisible("#hour-grid-scroll",()=>this.scrollHourGridToNow())}runOnceVisible(e,t){let r=this.shadowRoot?.querySelector(e);if(r){if(r.clientHeight>0){t();return}this.initialScrollObserver?.disconnect(),this.initialScrollObserver=new ResizeObserver(()=>{r.clientHeight>0&&(this.initialScrollObserver?.disconnect(),this.initialScrollObserver=void 0,t())}),this.initialScrollObserver.observe(r)}}scrollHourGridToNow(){let e=this.shadowRoot?.querySelector("#hour-grid-scroll"),t=this.shadowRoot?.querySelector(".hour-grid-body"),r=this.shadowRoot?.querySelector(".hour-grid-day-column.today");if(!e||!t||!r)return;let i=new Date,s=this.dayStartHour*60,n=this.dayEndHour*60,w=(Math.min(Math.max(i.getHours()*60+i.getMinutes(),s),n)-s)/this.slotDuration*q,y=t.getBoundingClientRect().top-e.getBoundingClientRect().top+e.scrollTop;e.scrollTop=Math.max(0,y+w-e.clientHeight/3)}scrollYearViewToCurrentMonth(){let e=new Date;if(this.displayedDate.getFullYear()!==e.getFullYear())return;let t=this.shadowRoot?.querySelector(".year-scroll"),i=this.shadowRoot?.querySelectorAll(".year-month-section")?.[e.getMonth()];if(!t||!i)return;let s=this.shadowRoot?.querySelector(".year-weekday-header")?.getBoundingClientRect().height??0,n=i.getBoundingClientRect().top-t.getBoundingClientRect().top+t.scrollTop;t.scrollTop=Math.max(0,n-s)}syncMonthCellObserver(){if(this.view!=="month"){this.monthCellResizeObserver?.disconnect(),this.monthCellResizeObserver=void 0,this.observedMonthCell=null;return}let e=this.shadowRoot?.querySelector(".month-cell");!e||e===this.observedMonthCell||(this.monthCellResizeObserver?.disconnect(),this.observedMonthCell=e,this.monthCellResizeObserver=new ResizeObserver(()=>this.measureMonthCellCapacity()),this.monthCellResizeObserver.observe(e))}measureMonthCellCapacity(){let e=this.observedMonthCell,t=e?.closest(".month-week"),r=t?.querySelector(".month-cell-day");if(!e||!t||!r)return;let i=Number.parseFloat(getComputedStyle(t).rowGap)||0,s=e.clientHeight-r.offsetHeight-i,n=Math.max(1,Math.floor((s+i)/(X+i)));n!==this.monthMaxEventsPerCell&&(this.monthMaxEventsPerCell=n)}updateMobileMediaQuery(){this.mobileMediaQuery?.removeEventListener("change",this.handleMobileMediaChange),this.mobileMediaQuery=window.matchMedia(We),this.mobileMediaQuery.addEventListener("change",this.handleMobileMediaChange),this.isMobile=this.mobileMediaQuery.matches}connectedCallback(){super.connectedCallback?.(),this.updateMobileMediaQuery()}disconnectedCallback(){this.mobileMediaQuery?.removeEventListener("change",this.handleMobileMediaChange),this.monthCellResizeObserver?.disconnect(),this.initialScrollObserver?.disconnect(),this.teardownDrag(),super.disconnectedCallback?.()}navigate(e){this.displayedDate=re(this.view,this.displayedDate,e)}mountDragGhost(e){let t=document.createElement(ce);t.label=e.title,t.color=e.color,t.appearance=this.eventAppearance,t.locale=this.locale,t.start=e.start,t.end=e.end,Object.assign(t.style,{position:"fixed",width:`${this.dragChipWidth}px`,height:`${this.dragChipHeight}px`,pointerEvents:"none",zIndex:"1000",boxShadow:"0 8px 20px rgba(0, 0, 0, 0.2)",borderRadius:"var(--eun-border-radius-s, 5px)"}),this.dragGhostLayerEl?.appendChild(t),this.dragGhostEl=t}updateDragGhost(e,t){if(!this.dragGhostEl||!this.dragEvent)return;let r=e-this.dragGrabOffsetX,i=t-this.dragGrabOffsetY;this.dragGhostEl.style.left=`${r}px`,this.dragGhostEl.style.top=`${i}px`;let s=Array.from(this.shadowRoot?.querySelectorAll(".hour-grid-day-column")??[]);if(!s.length)return;let n=s[0];for(let $ of s){let C=$.getBoundingClientRect();if(e>=C.left&&e<=C.right){n=$;break}e>C.right&&(n=$)}let p=n.dataset.date?new Date(n.dataset.date):null;if(!p)return;let w=n.getBoundingClientRect(),y=this.dayStartHour*60,S=this.dayEndHour*60,c=this.dragDurationMs/6e4,l=(i-w.top)/q*this.slotDuration,v=Math.min(Math.max(Math.round(l/this.slotDuration)*this.slotDuration+y,y),S-c),x=new Date(p);x.setHours(0,v,0,0),this.dragFinalStart=x,this.dragGhostEl.start=x,this.dragGhostEl.end=new Date(x.getTime()+this.dragDurationMs)}teardownDrag(){document.removeEventListener("pointermove",this.handleDragPointerMove),document.removeEventListener("pointerup",this.handleDragPointerUp),document.removeEventListener("pointercancel",this.handleDragPointerCancel),document.removeEventListener("keydown",this.handleDragKeydown),this.dragGhostEl?.remove(),this.dragGhostEl=null,this.dragEvent=null,this.dragPointerId=null,this.dragActivated=!1,this.dragFinalStart=null,this.draggingEventId=null}playSwipeAnimation(e){this.swipeDirection=null,this.updateComplete.then(()=>{this.shadowRoot?.querySelector("#view")?.getBoundingClientRect(),this.swipeDirection=e})}render(){return d`
|
|
712
714
|
<div
|
|
713
715
|
id="view"
|
|
714
716
|
class=${f({"swiping-next":this.swipeDirection==="next","swiping-previous":this.swipeDirection==="previous"})}
|
|
@@ -719,17 +721,17 @@ import{a as de}from"./chunks/chunk-AIS3UICU.js";import{a as ce}from"./chunks/chu
|
|
|
719
721
|
<div id="view-content">${this.renderActiveView()}</div>
|
|
720
722
|
</div>
|
|
721
723
|
<div id="drag-ghost-layer"></div>
|
|
722
|
-
`}renderActiveView(){let e={events:this.events,dayStartHour:this.dayStartHour,dayEndHour:this.dayEndHour,slotDuration:this.slotDuration,locale:this.locale,slotHeight:
|
|
723
|
-
${this.renderWeekDayStrip(
|
|
724
|
+
`}renderActiveView(){let e={events:this.events,dayStartHour:this.dayStartHour,dayEndHour:this.dayEndHour,slotDuration:this.slotDuration,locale:this.locale,slotHeight:q,eventAppearance:this.eventAppearance,onSlotClick:this.handleSlotClick,onEventClick:this.handleEventClick,draggingEventId:this.draggingEventId,onEventDragStart:this.handleEventDragStart};switch(this.view){case"day":return K(this.displayedDate,e);case"week":return this.renderWeekOrWorkWeek(!1,e);case"work-week":return this.renderWeekOrWorkWeek(!0,e);case"month":return we({displayedMonth:this.displayedDate,events:this.events,weekStartsOn:this.weekStartsOn,focusedDate:this.focusedDate,locale:this.locale,desktop:!this.isMobile,maxEventsPerCell:this.monthMaxEventsPerCell,moreLabel:t=>this.moreEventsLabel.replace("{count}",String(t)),onDayClick:this.goToDayView,onEventClick:this.handleEventClick,onDayKeydown:this.handleMonthDayKeydown});case"year":return xe({displayedYear:this.displayedDate,events:this.events,weekStartsOn:this.weekStartsOn,locale:this.locale,onDayClick:this.goToDayView,onMonthLabelClick:t=>{this.view="month",this.displayedDate=t}});default:return d``}}renderWeekOrWorkWeek(e,t){if(!this.isMobile)return fe(this.displayedDate,this.weekStartsOn,e,t);let r=R(this.displayedDate,this.weekStartsOn),i=Array.from({length:7},(n,p)=>D(r,p)).filter(n=>!e||!W(n)),s=this.selectedWeekDay&&i.some(n=>T(n,this.selectedWeekDay))?this.selectedWeekDay:i.find(n=>E(n))??i[0];return d`
|
|
725
|
+
${this.renderWeekDayStrip(i,s)}
|
|
724
726
|
${K(s,t)}
|
|
725
727
|
`}renderWeekDayStrip(e,t){return d`
|
|
726
728
|
<div class="week-day-strip" role="tablist">
|
|
727
|
-
${e.map(r=>{let
|
|
729
|
+
${e.map(r=>{let i=T(r,t);return d`
|
|
728
730
|
<button
|
|
729
731
|
type="button"
|
|
730
|
-
class=${f({"week-day-strip-day":!0,selected:
|
|
732
|
+
class=${f({"week-day-strip-day":!0,selected:i,today:E(r)})}
|
|
731
733
|
role="tab"
|
|
732
|
-
aria-selected=${
|
|
734
|
+
aria-selected=${i}
|
|
733
735
|
@click=${()=>{this.selectedWeekDay=r}}
|
|
734
736
|
>
|
|
735
737
|
<span class="week-day-strip-weekday">
|
|
@@ -739,4 +741,4 @@ import{a as de}from"./chunks/chunk-AIS3UICU.js";import{a as ce}from"./chunks/chu
|
|
|
739
741
|
</button>
|
|
740
742
|
`})}
|
|
741
743
|
</div>
|
|
742
|
-
`}};u.styles=[
|
|
744
|
+
`}};u.styles=[pe,ve,me,ge],h([g({attribute:!1})],u.prototype,"events",2),h([g({reflect:!0})],u.prototype,"view",2),h([g({attribute:!1})],u.prototype,"displayedDate",2),h([g({type:Number,attribute:"week-starts-on"})],u.prototype,"weekStartsOn",2),h([g({type:Number,attribute:"day-start-hour"})],u.prototype,"dayStartHour",2),h([g({type:Number,attribute:"day-end-hour"})],u.prototype,"dayEndHour",2),h([g({type:Number,attribute:"slot-duration"})],u.prototype,"slotDuration",2),h([g()],u.prototype,"locale",2),h([g({type:Boolean,reflect:!0})],u.prototype,"readonly",2),h([g({type:Boolean,reflect:!0,attribute:"no-animation"})],u.prototype,"noAnimation",2),h([g({attribute:"more-events-label"})],u.prototype,"moreEventsLabel",2),h([g({attribute:"event-appearance"})],u.prototype,"eventAppearance",2),h([H()],u.prototype,"focusedDate",2),h([H()],u.prototype,"selectedWeekDay",2),h([H()],u.prototype,"swipeDirection",2),h([H()],u.prototype,"isMobile",2),h([H()],u.prototype,"draggingEventId",2),h([U("#drag-ghost-layer")],u.prototype,"dragGhostLayerEl",2),h([H()],u.prototype,"monthMaxEventsPerCell",2),u=h([Q(ze)],u);export{u as EunomiaCalendar,ze as EunomiaCalendarTagName};
|