mhz-ui 1.2.4 → 1.2.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
.vuecal__header{position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vuecal__views-bar{display:flex;gap:4px;align-items:center;justify-content:center}.vuecal__title-bar{display:flex}.vuecal__header .vuecal__transition-wrap{position:relative;flex-grow:1;min-height:1px}.vuecal__header .vuecal__transition-wrap>div{position:absolute;inset:0;white-space:nowrap;display:flex;flex-grow:1;align-items:center;justify-content:center}.vuecal__title{position:relative;justify-content:center;margin:auto;display:flex;align-items:center;gap:6px;font-family:inherit;font-weight:700;font-size:1.05em}.vuecal__title small{display:inline-flex;padding:2px 6px;border-radius:4px;font-weight:400;font-size:.8em;background:#00000026}.vuecal__header nav{background-color:#fff3}.vuecal__nav{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center}.vuecal__nav--today{position:relative;align-items:center;display:flex}.vuecal__nav--today[disabled]{cursor:default}.vuecal__nav--today.vuecal__nav--default{text-transform:uppercase}.vuecal__nav--prev.vuecal__nav--default:before,.vuecal__nav--next.vuecal__nav--default:before{content:"";border:solid currentColor;border-width:0 2px 2px 0;padding:.25em;transform:translate(-1px) rotate(-45deg)}.vuecal__nav--prev.vuecal__nav--default:before{border-width:2px 0 0 2px;transform:translate(1px) rotate(-45deg)}.vuecal__event{position:absolute;left:0;right:0}.vuecal__event--resizing,.vuecal__event--dragging-ghost{z-index:100}.vuecal__event--dragging-original{opacity:0;transition:opacity .1s}.vuecal__scrollable--month-view .vuecal__event,.vuecal__all-day .vuecal__event{position:relative}.vuecal__event--resizing{z-index:100}.vuecal__event-resizer{position:absolute;inset:auto 0 0;height:8px;background-color:#fff;opacity:.1;transition:.25s;cursor:ns-resize}.vuecal__event-resizer:hover{opacity:.25}.vuecal-delete-btn-enter-active{transition:.35s cubic-bezier(.175,.885,.32,1.275)}.vuecal-delete-btn-enter-from{transform:scale(0) rotate(-90deg)}.vuecal-delete-btn-enter-to{transform:scale(1)}.vuecal-delete-btn-leave-active{transition:.3s ease-in-out;transform:scale(0)}.vuecal__cell{position:relative;display:flex;justify-content:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vuecal__scrollable--days-view .vuecal__cell,.vuecal__scrollable--week-view .vuecal__cell{min-width:var(--vuecal-min-cell-width, 0)}.vuecal__cell--has-schedules{align-items:stretch}.vuecal__cell--out-of-range{opacity:.4}.vuecal__cell--disabled{cursor:not-allowed}.vuecal--view-has-time .vuecal__cell:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,var(--vuecal-border-color) 0,transparent 1px var(--vuecal-time-cell-height)) 0 1px;background-size:100% var(--vuecal-time-cell-height)}.vuecal__special-hours{position:absolute;display:flex;flex-direction:column;justify-content:center;align-items:center;left:0;right:0;pointer-events:none}.vuecal__now-line{position:absolute;left:0;width:100%;height:0;border-top:1px solid;border-color:#f009;z-index:3}.vuecal__now-line:before{content:"";position:absolute;top:-6px;left:0;border:5px solid transparent;border-left-color:inherit}.vuecal__now-line span{position:absolute;right:1px;font-size:10px;opacity:.7;pointer-events:none}.vuecal__event-placeholder{background-color:#23b5b5;position:absolute;left:0;right:0;padding-top:2px;padding-left:4px;border-radius:4px;font-size:11px;line-height:1}.vuecal__headings{position:sticky;top:0;display:flex;flex-direction:column;flex-shrink:0;z-index:4;height:calc(var(--vuecal-weekday-bar-height) + var(--vuecal-schedules-bar-height) + var(--vuecal-all-day-bar-height));white-space:nowrap;background-color:var(--vuecal-secondary-color)}.vuecal__weekdays-headings{display:flex}.vuecal__weekday{flex:1 1 0;align-items:center;background-color:inherit}.vuecal__scrollable--days-view .vuecal__weekday,.vuecal__scrollable--week-view .vuecal__weekday{min-width:var(--vuecal-min-cell-width, 0)}.vuecal__schedule-heading{height:12px}.vuecal__all-day{position:relative;display:flex;height:var(--vuecal-all-day-bar-height)}.vuecal__all-day-cell{display:flex;flex:1 1 0;background-color:var(--vuecal-secondary-color)}.vuecal__all-day-resizer{position:absolute;bottom:0;right:0;width:100%;height:1px;cursor:row-resize;background-color:var(--vuecal-secondary-color);z-index:10}.vuecal__all-day-resizer:hover{height:2px;background-color:var(--vuecal-primary-color)}.vuecal__all-day-resizer:before{content:"";position:absolute;inset:-5px 0}.vuecal__time-column{display:flex;flex-direction:column;align-self:flex-start;padding-top:calc(var(--vuecal-weekday-bar-height) + var(--vuecal-schedules-bar-height) + var(--vuecal-all-day-bar-height));background-color:var(--vuecal-secondary-color);position:sticky;left:0;z-index:5;border-right:.5px solid var(--vuecal-border-color);transition:padding-top .3s ease-in-out}.vuecal__all-day-label{position:sticky;top:0;left:0;width:100%;height:calc(var(--vuecal-weekday-bar-height) + var(--vuecal-schedules-bar-height) + var(--vuecal-all-day-bar-height));margin-top:calc((var(--vuecal-weekday-bar-height) + var(--vuecal-schedules-bar-height) + var(--vuecal-all-day-bar-height)) * -1);padding-top:calc(var(--vuecal-weekday-bar-height) + var(--vuecal-schedules-bar-height));display:flex;align-items:center;justify-content:center;line-height:1;font-size:.85em;background:var(--vuecal-secondary-color);border-bottom:1px solid var(--vuecal-border-color);z-index:1}.vuecal__time-cell{position:relative;display:flex;flex:1 0 auto;font-size:.85em;height:var(--vuecal-time-cell-height)}.vuecal__time-cell:before{content:"";position:absolute;right:0;width:5px;top:.5px;border-top:.5px solid var(--vuecal-border-color)}.vuecal__time-cell label{opacity:.5;padding-left:4px;padding-right:8px;line-height:0}.vuecal__scrollable--day-view.vuecal__scrollable--no-schedules .vuecal__time-cell:first-child label,.vuecal__scrollable--has-all-day-bar .vuecal__time-cell:not(.vuecal__time-cell+.vuecal__time-cell) label{margin-top:.5em;font-size:.9em;opacity:.4}.vuecal__body{position:relative;display:grid;grid-template-columns:repeat(var(--vuecal-grid-columns),1fr);grid-template-rows:repeat(var(--vuecal-grid-rows),1fr);height:100%}.vuecal__time-at-cursor{position:absolute;left:0;right:0;border-top:1px dashed var(--vuecal-border-color);pointer-events:none;z-index:10}.vuecal__time-at-cursor label{display:block;position:absolute;top:0;right:100%;transform:translateY(-50%);margin-right:4px;padding:0 3px;font-size:.7rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:99em}.vuecal{--vuecal-grid-columns: 7;--vuecal-grid-rows: 6;--vuecal-weekday-bar-height: 1.7rem;--vuecal-schedules-bar-height: 1.7rem;--vuecal-all-day-bar-height: 2rem;--vuecal-time-cell-height: 50px;--vuecal-min-cell-width: 0;--vuecal-transition-duration: .25s;display:flex;flex-direction:column;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:0}.vuecal--date-picker{--vuecal-weekday-bar-height: 1.3rem}.vuecal--timeless{--vuecal-all-day-bar-height: 0px}.vuecal,.vuecal *,.vuecal :before,.vuecal :after{box-sizing:border-box}.vuecal .grow{flex-grow:1}.vuecal__body-wrap{display:flex;flex-direction:column;flex-grow:1;min-width:0}.vuecal__scrollable-wrap{position:relative;flex:1;display:flex;min-height:1px}.vuecal__scrollable{position:relative;overflow:auto;flex:1;display:flex;flex-direction:column}.vuecal__scrollable--row,.vuecal__scrollable--has-week-numbers{flex-direction:row}.vuecal__week-numbers{display:flex;flex-direction:column;padding-top:calc(var(--vuecal-weekday-bar-height) + var(--vuecal-schedules-bar-height) + var(--vuecal-all-day-bar-height))}.vuecal__week-number{display:flex;flex-grow:1;align-items:center;justify-content:center;width:1.4em}.vuecal__schedule{position:relative;display:flex;flex-grow:1;flex-basis:0;justify-content:center;overflow:hidden}.vuecal__scrollable--days-view .vuecal__schedule,.vuecal__scrollable--week-view .vuecal__schedule{min-width:var(--vuecal-min-schedule-width, 0)}.vuecal__schedules-headings{display:flex}.vuecal__schedule--heading{font-size:12px;align-items:center}.vuecal-slide-fade--left-enter-active,.vuecal-slide-fade--left-leave-active,.vuecal-slide-fade--right-enter-active,.vuecal-slide-fade--right-leave-active{transition:var(--vuecal-transition-duration) ease-in-out}.vuecal-slide-fade--left-enter-from,.vuecal-slide-fade--right-leave-to{transform:translate(-12px);opacity:0}.vuecal-slide-fade--left-leave-to,.vuecal-slide-fade--right-enter-from{transform:translate(12px);opacity:0}.vuecal-slide-fade--left-enter-active,.vuecal-slide-fade--right-enter-active,.vuecal-slide-fade--left-leave-active~.vuecal-slide-fade--left-leave-active,.vuecal-slide-fade--right-leave-active~.vuecal-slide-fade--right-leave-active{position:absolute!important;inset:0}.vuecal-event-delete-leave-active{transition:.15s ease-out}.vuecal-event-delete-leave-to{opacity:0;transform:translateY(.5rem)}.vuecal-shrink-enter-active,.vuecal-shrink-leave-active{transition:transform .2s,opacity .2s}.vuecal-shrink-enter-from,.vuecal-shrink-leave-to{opacity:0}.vuecal--default-theme{--vuecal-primary-color: #1976D2;--vuecal-secondary-color: #fff;--vuecal-base-color: #000;--vuecal-contrast-color: #fff;--vuecal-border-color: color-mix(in srgb, var(--vuecal-base-color) 8%, transparent);--vuecal-header-color: var(--vuecal-secondary-color);--vuecal-event-color: var(--vuecal-contrast-color);--vuecal-event-border-color: currentColor;--vuecal-border-radius: 6px;--vuecal-height: 500px;--vuecal-min-schedule-width: 0;--vuecal-min-cell-width: 1em;position:relative;border-radius:var(--vuecal-border-radius);color:var(--vuecal-base-color);height:var(--vuecal-height)}.vuecal--default-theme.vuecal--dragging-event{cursor:grabbing}.vuecal--default-theme.vuecal--resizing-event{cursor:ns-resize}.vuecal--default-theme.vuecal--dark{--vuecal-primary-color: #316191;--vuecal-secondary-color: #2e2e2e;--vuecal-base-color: #fff;--vuecal-contrast-color: #000;--vuecal-border-color: color-mix(in srgb, var(--vuecal-base-color) 8%, transparent);--vuecal-header-color: var(--vuecal-base-color);--vuecal-event-color: var(--vuecal-base-color);--vuecal-event-border-color: color-mix(in srgb, var(--vuecal-base-color) 50%, transparent)}.vuecal--default-theme .vuecal__header{background-color:var(--vuecal-primary-color);color:var(--vuecal-header-color);border-top-left-radius:var(--vuecal-border-radius);border-top-right-radius:var(--vuecal-border-radius)}.vuecal--default-theme .vuecal__views-bar,.vuecal--default-theme .vuecal__title-bar{padding-top:4px;padding-bottom:4px}.vuecal--default-theme .vuecal__title-bar{position:relative;background-color:var(--vuecal-primary-color);padding-left:.6em;padding-right:.6em;background-color:color-mix(in srgb,var(--vuecal-secondary-color) 20%,transparent)}.vuecal--default-theme .vuecal__view-button,.vuecal--default-theme .vuecal__nav,.vuecal--default-theme button.vuecal__title{background:none;border:none;color:inherit}.vuecal--default-theme .vuecal__view-button:not([disabled]),.vuecal--default-theme .vuecal__nav:not([disabled]),.vuecal--default-theme button.vuecal__title:not([disabled]){cursor:pointer}.vuecal--default-theme .vuecal__view-button,.vuecal--default-theme .vuecal__nav,.vuecal--default-theme button.vuecal__title,.vuecal--default-theme .vuecal__nav--today{transition:.3s;border:1px solid transparent;padding:2px 12px;border-radius:4px;align-self:center}.vuecal--default-theme .vuecal__view-button:hover,.vuecal--default-theme .vuecal__nav:hover,.vuecal--default-theme button.vuecal__title:hover,.vuecal--default-theme .vuecal__nav--today:hover{background-color:#ffffff1f}.vuecal--default-theme .vuecal__view-button--active,.vuecal--default-theme .vuecal__view-button--active:hover,.vuecal--default-theme .vuecal__nav--active,.vuecal--default-theme .vuecal__nav--active:hover,.vuecal--default-theme button.vuecal__title--active,.vuecal--default-theme button.vuecal__title--active:hover,.vuecal--default-theme .vuecal__nav--today--active,.vuecal--default-theme .vuecal__nav--today--active:hover,.vuecal--default-theme .vuecal__view-button:active,.vuecal--default-theme .vuecal__nav:active,.vuecal--default-theme button.vuecal__title:active,.vuecal--default-theme .vuecal__nav--today:active{background-color:#ffffff40}.vuecal--default-theme .vuecal__view-button:focus-visible,.vuecal--default-theme .vuecal__nav:focus-visible,.vuecal--default-theme button.vuecal__title:focus-visible,.vuecal--default-theme .vuecal__nav--today:focus-visible{border-color:#ffffffbf}.vuecal--default-theme .vuecal__view-button{text-transform:uppercase;font-size:.9em}.vuecal--default-theme button.vuecal__title{line-height:.9}.vuecal--default-theme .vuecal__nav--prev,.vuecal--default-theme .vuecal__nav--next{width:2em;aspect-ratio:1;border-radius:99em}.vuecal--default-theme .vuecal__nav--prev:dir(rtl),.vuecal--default-theme .vuecal__nav--next:dir(rtl){transform:rotate(180deg)}.vuecal--default-theme .vuecal__nav--today{padding-left:8px;padding-right:8px;margin-right:3px;font-size:.85em}.vuecal--default-theme .vuecal__scrollable-wrap{background-color:color-mix(in srgb,var(--vuecal-primary-color) 4%,transparent);border:1px solid var(--vuecal-border-color);border-top:none;border-bottom-left-radius:var(--vuecal-border-radius);border-bottom-right-radius:var(--vuecal-border-radius);overflow:hidden}.vuecal--default-theme .vuecal__scrollable-wrap:first-child{border-top-left-radius:var(--vuecal-border-radius);border-top-right-radius:var(--vuecal-border-radius)}.vuecal--default-theme .vuecal__scrollable{display:grid;grid-template-columns:1fr 0fr}.vuecal--default-theme .vuecal__scrollable--row{grid-template-columns:0fr 1fr}.vuecal--default-theme .vuecal__scrollable--no-schedules{--vuecal-schedules-bar-height: 0px}.vuecal--default-theme .vuecal__scrollable--day-view{--vuecal-weekday-bar-height: 0px}.vuecal--default-theme .vuecal__scrollable--month-view,.vuecal--default-theme .vuecal__scrollable--no-all-day-bar{--vuecal-all-day-bar-height: 0px}.vuecal--default-theme .vuecal__scrollable--year-view,.vuecal--default-theme .vuecal__scrollable--years-view{overflow:hidden}.vuecal--default-theme .vuecal__scrollable--day-view .vuecal__body,.vuecal--default-theme .vuecal__scrollable--days-view .vuecal__body,.vuecal--default-theme .vuecal__scrollable--week-view .vuecal__body{max-height:var(--vuecal-body-max-height, initial)}.vuecal--default-theme .vuecal__week-number small{width:1.4em;display:flex;justify-content:center;align-items:center;aspect-ratio:1;font-size:.8em;background-color:color-mix(in srgb,var(--vuecal-base-color) 8%,transparent);color:color-mix(in srgb,var(--vuecal-base-color) 70%,transparent);border-radius:4px}.vuecal--default-theme .vuecal__weekday{display:flex;justify-content:center;padding:2px 1px;overflow:hidden;letter-spacing:-.03em;text-overflow:ellipsis;gap:4px;font-size:.95em;background-color:var(--vuecal-secondary-color)}.vuecal--default-theme .vuecal__weekday--today{font-weight:700}.vuecal--default-theme .vuecal__weekday-day{display:inline-block;overflow:hidden;text-overflow:ellipsis;opacity:.8}.vuecal--default-theme .vuecal__weekday-date{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:color-mix(in srgb,var(--vuecal-base-color) 15%,transparent);aspect-ratio:1;width:1.7em;border-radius:99em;overflow:hidden;line-height:1;font-size:.9em;letter-spacing:-.1em;text-indent:-.15em}.vuecal--default-theme .vuecal__weekday--today .vuecal__weekday-date{background-color:color-mix(in srgb,var(--vuecal-primary-color) 80%,transparent);color:#fff}.vuecal--default-theme.vuecal--light .vuecal__weekday:not(.vuecal__weekday--today) .vuecal__weekday-date{background-color:color-mix(in srgb,var(--vuecal-primary-color) 20%,transparent)}.vuecal--default-theme .vuecal__scrollable--has-schedules .vuecal__weekday{padding:0}.vuecal--default-theme .vuecal__scrollable--has-schedules .vuecal__weekday-date{width:1.5em}.vuecal--default-theme .vuecal__cell{overflow:hidden;box-shadow:0 0 0 .5px var(--vuecal-border-color) inset}.vuecal--default-theme.vuecal--lg .vuecal__scrollable--month-view .vuecal__cell{flex-direction:column;justify-content:flex-start;align-items:flex-end}.vuecal--default-theme .vuecal__cell:before{content:"";position:absolute;inset:0;z-index:-1}.vuecal--default-theme.vuecal--light .vuecal__cell:before{filter:saturate(2)}.vuecal--default-theme .vuecal__cell--today:before,.vuecal--default-theme .vuecal__cell--current-month:before,.vuecal--default-theme .vuecal__cell--current-year:before{background-color:color-mix(in srgb,var(--vuecal-primary-color) 10%,transparent)}.vuecal--default-theme .vuecal__cell--selected:before{background-color:color-mix(in srgb,var(--vuecal-primary-color) 25%,transparent)}.vuecal--default-theme.vuecal--light .vuecal__cell--today:before,.vuecal--default-theme.vuecal--light .vuecal__cell--current-month:before,.vuecal--default-theme.vuecal--light .vuecal__cell--current-year:before{background-color:color-mix(in srgb,var(--vuecal-primary-color) 5%,transparent)}.vuecal--default-theme.vuecal--light .vuecal__cell--selected:before{background-color:color-mix(in srgb,var(--vuecal-primary-color) 10%,transparent)}.vuecal--default-theme .vuecal__cell-date{position:sticky;top:0;font-weight:700}.vuecal--default-theme .vuecal__cell--disabled .vuecal__cell-date{opacity:.5}.vuecal--default-theme:is(.vuecal--sm,.vuecal--lg) .vuecal__scrollable--month-view .vuecal__cell:before{display:none}.vuecal--default-theme:is(.vuecal--sm,.vuecal--lg) .vuecal__scrollable--month-view .vuecal__cell-date{padding:4px;border-radius:99em;width:2em;aspect-ratio:1;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin:4px;font-size:13px;letter-spacing:-.5px;background-color:color-mix(in srgb,var(--vuecal-primary-color) 25%,transparent)}.vuecal--default-theme:is(.vuecal--sm,.vuecal--lg) .vuecal__scrollable--month-view .vuecal__cell--today .vuecal__cell-date{background-color:color-mix(in srgb,var(--vuecal-primary-color) 60%,transparent)}.vuecal--default-theme:is(.vuecal--sm,.vuecal--lg) .vuecal__scrollable--month-view .vuecal__cell--selected .vuecal__cell-date{background-color:var(--vuecal-primary-color)}.vuecal--default-theme.vuecal--light:is(.vuecal--sm,.vuecal--lg) .vuecal__scrollable--month-view .vuecal__cell-date{background-color:color-mix(in srgb,var(--vuecal-primary-color) 8%,transparent)}.vuecal--default-theme.vuecal--light:is(.vuecal--sm,.vuecal--lg) .vuecal__scrollable--month-view .vuecal__cell--today .vuecal__cell-date{background-color:color-mix(in srgb,var(--vuecal-primary-color) 22%,transparent)}.vuecal--default-theme.vuecal--light:is(.vuecal--sm,.vuecal--lg) .vuecal__scrollable--month-view .vuecal__cell--selected .vuecal__cell-date{background-color:color-mix(in srgb,var(--vuecal-primary-color) 40%,transparent)}.vuecal--default-theme .vuecal__cell--out-of-scope .vuecal__cell-date{opacity:.4}.vuecal--default-theme .vuecal__scrollable--month-view .vuecal__cell-events{overflow:hidden;flex-grow:1;width:100%;padding-left:4px}.vuecal--default-theme.vuecal--timeless .vuecal__cell-events{display:flex;width:100%;height:100%;flex-direction:column;justify-content:flex-start;align-items:flex-start;padding:4px;gap:4px}.vuecal--default-theme .vuecal__scrollable--no-schedules.vuecal__scrollable--day-view .vuecal__cell-events,.vuecal--default-theme .vuecal__scrollable--no-schedules.vuecal__scrollable--days-view .vuecal__cell-events,.vuecal--default-theme .vuecal__scrollable--no-schedules.vuecal__scrollable--week-view .vuecal__cell-events{position:absolute;inset:0 8px 0 0}.vuecal--default-theme .vuecal__scrollable--no-schedules.vuecal__scrollable--day-view .vuecal__cell-events:dir(rtl),.vuecal--default-theme .vuecal__scrollable--no-schedules.vuecal__scrollable--days-view .vuecal__cell-events:dir(rtl),.vuecal--default-theme .vuecal__scrollable--no-schedules.vuecal__scrollable--week-view .vuecal__cell-events:dir(rtl){inset:0 0 0 8px}.vuecal--default-theme .vuecal__all-day .vuecal__cell-events{width:100%;inset:0}.vuecal--default-theme .vuecal__time-cell{display:flex;justify-content:flex-end}.vuecal--default-theme .vuecal__time-cell-label{font-size:11px;letter-spacing:-.5px;color:#00000080;margin-top:-7.5px;background:#fff;width:98%;z-index:1;padding-right:2px;align-self:flex-start}.vuecal--default-theme .vuecal__time-cell:nth-child(1) .vuecal__time-cell-label{margin-top:-1px;font-size:10px;background:none}.vuecal--default-theme .vuecal__event{display:flex;width:90%;background-color:var(--vuecal-primary-color);color:var(--vuecal-event-color);border:1px solid var(--vuecal-event-border-color);border-radius:4px;line-height:1;z-index:1}.vuecal--default-theme .vuecal__event--background{width:100%;border:none;border-radius:0;overflow:visible;z-index:0}.vuecal--default-theme .vuecal__event--cut-top{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.vuecal--default-theme .vuecal__event--cut-bottom{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.vuecal--default-theme .vuecal__event:not(.vuecal__event--background):hover{z-index:3}.vuecal--default-theme .vuecal__event-details{flex-grow:1;overflow:hidden;padding:2px;font-size:12px}.vuecal--default-theme .vuecal__event-time{white-space:nowrap;line-height:1;letter-spacing:-.5px;font-size:11px}.vuecal--default-theme .vuecal__event-comma{padding-right:4px}.vuecal--default-theme .vuecal__event-resizer{inset:auto -1px -1px;border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.vuecal--default-theme .vuecal__event-delete{position:absolute;top:-5px;right:-5px;padding:2px;font-size:.8em;cursor:pointer;background-color:#ff4242;border:1px solid rgba(255,255,255,.5);color:transparent;border-radius:99em;aspect-ratio:1;width:1.5em}.vuecal--default-theme .vuecal__event-delete:before,.vuecal--default-theme .vuecal__event-delete:after{content:"";position:absolute;border-radius:99em;top:50%;height:2px;left:20%;right:20%;background-color:var(--vuecal-event-color)}.vuecal--default-theme .vuecal__event-delete:before{transform:translateY(-50%) rotate(45deg)}.vuecal--default-theme .vuecal__event-delete:after{transform:translateY(-50%) rotate(-45deg)}.vuecal--default-theme.vuecal--timeless .vuecal__event{position:relative;width:100%}.vuecal--default-theme .vuecal__scrollable--month-view .vuecal__event{padding-top:1px;padding-bottom:1px;width:100%}.vuecal--default-theme .vuecal__scrollable--month-view .vuecal__event-details{display:flex;padding-top:1px;padding-bottom:1px}.vuecal--default-theme.vuecal--sm .vuecal__view-button,.vuecal--default-theme.vuecal--sm .vuecal__nav,.vuecal--default-theme.vuecal--sm .vuecal__title button,.vuecal--default-theme.vuecal--sm .vuecal__nav--today{padding-left:8px;padding-right:8px}.vuecal--default-theme.vuecal--xs{width:350px;height:250px}.vuecal--default-theme.vuecal--xs .vuecal__view-button,.vuecal--default-theme.vuecal--xs .vuecal__nav,.vuecal--default-theme.vuecal--xs .vuecal__title button,.vuecal--default-theme.vuecal--xs .vuecal__nav--today{padding-left:4px;padding-right:4px}.vuecal--default-theme.vuecal--xs .vuecal__title{gap:4px}.vuecal--default-theme.vuecal--xs .vuecal__title small{padding-left:3px;padding-right:3px}.vuecal--default-theme.vuecal--xs .vuecal__body{width:100%}.vuecal--default-theme.vuecal--xs .vuecal__scrollable--year-view .vuecal__body,.vuecal--default-theme.vuecal--xs .vuecal__scrollable--years-view .vuecal__body{margin:auto}.vuecal--default-theme.vuecal--date-picker{font-size:12px;width:210px}.vuecal--default-theme.vuecal--date-picker:has(.vuecal__views-bar){height:260px}.vuecal--default-theme.vuecal--date-picker .vuecal__views-bar,.vuecal--default-theme.vuecal--date-picker .vuecal__title-bar{padding-top:2px;padding-bottom:2px;height:2em}.vuecal--default-theme.vuecal--date-picker .vuecal__title-bar{padding-left:.3em;padding-right:.3em}.vuecal--default-theme.vuecal--date-picker .vuecal__nav--today,.vuecal--default-theme.vuecal--date-picker .vuecal__view-button{font-size:.9em}.vuecal--default-theme.vuecal--date-picker .vuecal__nav--prev,.vuecal--default-theme.vuecal--date-picker .vuecal__nav--next{width:1.6em}.vuecal--default-theme.vuecal--date-picker .vuecal__nav--prev:before,.vuecal--default-theme.vuecal--date-picker .vuecal__nav--next:before{padding:.22em}.vuecal--default-theme.vuecal--date-picker .vuecal__weekday{font-size:.95em}.vuecal--default-theme.vuecal--date-picker .vuecal__body{padding:2px;gap:2px}.vuecal--default-theme.vuecal--date-picker .vuecal__scrollable--year-view .vuecal__body{padding:.6em;gap:.8em}.vuecal--default-theme.vuecal--date-picker .vuecal__scrollable--month-view .vuecal__body,.vuecal--default-theme.vuecal--date-picker .vuecal__scrollable--year-view .vuecal__body,.vuecal--default-theme.vuecal--date-picker .vuecal__scrollable--years-view .vuecal__body{align-items:center}.vuecal--default-theme.vuecal--date-picker .vuecal__cell{aspect-ratio:1;border-radius:99em;font-weight:700;font-size:1em;box-shadow:none}.vuecal--default-theme.vuecal--date-picker .vuecal__scrollable--day-view .vuecal__cell,.vuecal--default-theme.vuecal--date-picker .vuecal__scrollable--days-view .vuecal__cell,.vuecal--default-theme.vuecal--date-picker .vuecal__scrollable--week-view .vuecal__cell{aspect-ratio:initial;border-radius:0;font-weight:400}.vuecal--default-theme.vuecal--date-picker .vuecal__scrollable--years-view .vuecal__cell{padding:6px}.vuecal--default-theme.vuecal--date-picker .vuecal__scrollable--month-view .vuecal__cell,.vuecal--default-theme.vuecal--date-picker .vuecal__scrollable--years-view .vuecal__cell{font-size:.9em}.vuecal--default-theme.vuecal--date-picker .vuecal__cell-date{font-weight:700}.vuecal--default-theme.vuecal--date-picker.vuecal--dark .vuecal__cell--today:before,.vuecal--default-theme.vuecal--date-picker.vuecal--dark .vuecal__cell--current-month:before,.vuecal--default-theme.vuecal--date-picker.vuecal--dark .vuecal__cell--current-year:before{background-color:color-mix(in srgb,var(--vuecal-primary-color) 50%,transparent)}.vuecal--default-theme.vuecal--date-picker.vuecal--dark .vuecal__scrollable--month-view .vuecal__cell--selected:before,.vuecal--default-theme.vuecal--date-picker.vuecal--dark .vuecal__scrollable--year-view .vuecal__cell--selected:before,.vuecal--default-theme.vuecal--date-picker.vuecal--dark .vuecal__scrollable--years-view .vuecal__cell--selected:before{background-color:var(--vuecal-primary-color)}.vuecal--default-theme.vuecal--date-picker.vuecal--light .vuecal__cell--today:before,.vuecal--default-theme.vuecal--date-picker.vuecal--light .vuecal__cell--current-month:before,.vuecal--default-theme.vuecal--date-picker.vuecal--light .vuecal__cell--current-year:before{background-color:color-mix(in srgb,var(--vuecal-primary-color) 12%,transparent)}.vuecal--default-theme.vuecal--date-picker.vuecal--light .vuecal--dark .vuecal__scrollable--month-view .vuecal__cell--selected:before,.vuecal--default-theme.vuecal--date-picker.vuecal--light .vuecal--dark .vuecal__scrollable--year-view .vuecal__cell--selected:before,.vuecal--default-theme.vuecal--date-picker.vuecal--light .vuecal--dark .vuecal__scrollable--years-view .vuecal__cell--selected:before{background-color:color-mix(in srgb,var(--vuecal-primary-color) 28%,transparent)}._container_lirmr_1{width:100%}._container_lirmr_1 ._title_lirmr_4{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:1.125rem;color:var(--color-gray-light)}._container_lirmr_1 .vuecal{--vuecal-primary-color: var(--color-gray-light);--vuecal-secondary-color: var(--color-white);--vuecal-base-color: var(--color-black);--vuecal-contrast-color: var(--color-black);--vuecal-border-color: var(--color-gray);--vuecal-header-color: var(--color-black);--vuecal-event-color: var(--color-white);--vuecal-border-radius: 8px;--vuecal-height: auto;--vuecal-transition-duration: 0}._container_lirmr_1 .vuecal-event-delete-leave-active{transition:0ms}._container_lirmr_1 .vuecal-event-delete-leave-to{transform:none}._container_lirmr_1 .vuecal__header{border:1px solid var(--color-gray)}._container_lirmr_1 .vuecal__title-bar{padding-top:7px;padding-bottom:6px;background-color:var(--color-gray-light-extra);border-top-left-radius:8px;border-top-right-radius:8px}._container_lirmr_1 .vuecal__headings{height:37px;padding-top:5px}._container_lirmr_1 .vuecal--default-theme .vuecal__weekday{font-size:1rem;letter-spacing:0}._container_lirmr_1 .vuecal--default-theme .vuecal__weekday-day{opacity:1}._container_lirmr_1 .vuecal__body{grid-template-rows:auto}._container_lirmr_1 .vuecal--default-theme .vuecal__scrollable--month-view .vuecal__cell{align-items:center;min-height:64px}._container_lirmr_1 .vuecal--default-theme.vuecal--light:is(.vuecal--sm,.vuecal--lg) .vuecal__scrollable--month-view .vuecal__cell--today .vuecal__cell-date{background-color:var(--color-gray-light)}._container_lirmr_1 .vuecal--default-theme:is(.vuecal--sm,.vuecal--lg) .vuecal__scrollable--month-view .vuecal__cell-date{font-size:1rem;font-weight:400}._container_lirmr_1 .vuecal--default-theme.vuecal--timeless .vuecal__cell-events{align-items:center;justify-content:center;padding-top:0;padding-bottom:8px}._container_lirmr_1 .vuecal__scrollable--month-view .vuecal__event{width:36px;height:36px;padding-top:0;padding-bottom:0;cursor:pointer;border:0;border-radius:12px}._container_lirmr_1 .vuecal--default-theme .vuecal__event-details{padding:0;border-radius:12px}
|
|
1
|
+
.vuecal__header{position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vuecal__views-bar{display:flex;gap:4px;align-items:center;justify-content:center}.vuecal__title-bar{display:flex}.vuecal__header .vuecal__transition-wrap{position:relative;flex-grow:1;min-height:1px}.vuecal__header .vuecal__transition-wrap>div{position:absolute;inset:0;white-space:nowrap;display:flex;flex-grow:1;align-items:center;justify-content:center}.vuecal__title{position:relative;justify-content:center;margin:auto;display:flex;align-items:center;gap:6px;font-family:inherit;font-weight:700;font-size:1.05em}.vuecal__title small{display:inline-flex;padding:2px 6px;border-radius:4px;font-weight:400;font-size:.8em;background:#00000026}.vuecal__header nav{background-color:#fff3}.vuecal__nav{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center}.vuecal__nav--today{position:relative;align-items:center;display:flex}.vuecal__nav--today[disabled]{cursor:default}.vuecal__nav--today.vuecal__nav--default{text-transform:uppercase}.vuecal__nav--prev.vuecal__nav--default:before,.vuecal__nav--next.vuecal__nav--default:before{content:"";border:solid currentColor;border-width:0 2px 2px 0;padding:.25em;transform:translate(-1px) rotate(-45deg)}.vuecal__nav--prev.vuecal__nav--default:before{border-width:2px 0 0 2px;transform:translate(1px) rotate(-45deg)}.vuecal__event{position:absolute;left:0;right:0}.vuecal__event--resizing,.vuecal__event--dragging-ghost{z-index:100}.vuecal__event--dragging-original{opacity:0;transition:opacity .1s}.vuecal__scrollable--month-view .vuecal__event,.vuecal__all-day .vuecal__event{position:relative}.vuecal__event--resizing{z-index:100}.vuecal__event-resizer{position:absolute;inset:auto 0 0;height:8px;background-color:#fff;opacity:.1;transition:.25s;cursor:ns-resize}.vuecal__event-resizer:hover{opacity:.25}.vuecal-delete-btn-enter-active{transition:.35s cubic-bezier(.175,.885,.32,1.275)}.vuecal-delete-btn-enter-from{transform:scale(0) rotate(-90deg)}.vuecal-delete-btn-enter-to{transform:scale(1)}.vuecal-delete-btn-leave-active{transition:.3s ease-in-out;transform:scale(0)}.vuecal__cell{position:relative;display:flex;justify-content:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vuecal__scrollable--days-view .vuecal__cell,.vuecal__scrollable--week-view .vuecal__cell{min-width:var(--vuecal-min-cell-width, 0)}.vuecal__cell--has-schedules{align-items:stretch}.vuecal__cell--out-of-range{opacity:.4}.vuecal__cell--disabled{cursor:not-allowed}.vuecal--view-has-time .vuecal__cell:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,var(--vuecal-border-color) 0,transparent 1px var(--vuecal-time-cell-height)) 0 1px;background-size:100% var(--vuecal-time-cell-height)}.vuecal__special-hours{position:absolute;display:flex;flex-direction:column;justify-content:center;align-items:center;left:0;right:0;pointer-events:none}.vuecal__now-line{position:absolute;left:0;width:100%;height:0;border-top:1px solid;border-color:#f009;z-index:3}.vuecal__now-line:before{content:"";position:absolute;top:-6px;left:0;border:5px solid transparent;border-left-color:inherit}.vuecal__now-line span{position:absolute;right:1px;font-size:10px;opacity:.7;pointer-events:none}.vuecal__event-placeholder{background-color:#23b5b5;position:absolute;left:0;right:0;padding-top:2px;padding-left:4px;border-radius:4px;font-size:11px;line-height:1}.vuecal__headings{position:sticky;top:0;display:flex;flex-direction:column;flex-shrink:0;z-index:4;height:calc(var(--vuecal-weekday-bar-height) + var(--vuecal-schedules-bar-height) + var(--vuecal-all-day-bar-height));white-space:nowrap;background-color:var(--vuecal-secondary-color)}.vuecal__weekdays-headings{display:flex}.vuecal__weekday{flex:1 1 0;align-items:center;background-color:inherit}.vuecal__scrollable--days-view .vuecal__weekday,.vuecal__scrollable--week-view .vuecal__weekday{min-width:var(--vuecal-min-cell-width, 0)}.vuecal__schedule-heading{height:12px}.vuecal__all-day{position:relative;display:flex;height:var(--vuecal-all-day-bar-height)}.vuecal__all-day-cell{display:flex;flex:1 1 0;background-color:var(--vuecal-secondary-color)}.vuecal__all-day-resizer{position:absolute;bottom:0;right:0;width:100%;height:1px;cursor:row-resize;background-color:var(--vuecal-secondary-color);z-index:10}.vuecal__all-day-resizer:hover{height:2px;background-color:var(--vuecal-primary-color)}.vuecal__all-day-resizer:before{content:"";position:absolute;inset:-5px 0}.vuecal__time-column{display:flex;flex-direction:column;align-self:flex-start;padding-top:calc(var(--vuecal-weekday-bar-height) + var(--vuecal-schedules-bar-height) + var(--vuecal-all-day-bar-height));background-color:var(--vuecal-secondary-color);position:sticky;left:0;z-index:5;border-right:.5px solid var(--vuecal-border-color);transition:padding-top .3s ease-in-out}.vuecal__all-day-label{position:sticky;top:0;left:0;width:100%;height:calc(var(--vuecal-weekday-bar-height) + var(--vuecal-schedules-bar-height) + var(--vuecal-all-day-bar-height));margin-top:calc((var(--vuecal-weekday-bar-height) + var(--vuecal-schedules-bar-height) + var(--vuecal-all-day-bar-height)) * -1);padding-top:calc(var(--vuecal-weekday-bar-height) + var(--vuecal-schedules-bar-height));display:flex;align-items:center;justify-content:center;line-height:1;font-size:.85em;background:var(--vuecal-secondary-color);border-bottom:1px solid var(--vuecal-border-color);z-index:1}.vuecal__time-cell{position:relative;display:flex;flex:1 0 auto;font-size:.85em;height:var(--vuecal-time-cell-height)}.vuecal__time-cell:before{content:"";position:absolute;right:0;width:5px;top:.5px;border-top:.5px solid var(--vuecal-border-color)}.vuecal__time-cell label{opacity:.5;padding-left:4px;padding-right:8px;line-height:0}.vuecal__scrollable--day-view.vuecal__scrollable--no-schedules .vuecal__time-cell:first-child label,.vuecal__scrollable--has-all-day-bar .vuecal__time-cell:not(.vuecal__time-cell+.vuecal__time-cell) label{margin-top:.5em;font-size:.9em;opacity:.4}.vuecal__body{position:relative;display:grid;grid-template-columns:repeat(var(--vuecal-grid-columns),1fr);grid-template-rows:repeat(var(--vuecal-grid-rows),1fr);height:100%}.vuecal__time-at-cursor{position:absolute;left:0;right:0;border-top:1px dashed var(--vuecal-border-color);pointer-events:none;z-index:10}.vuecal__time-at-cursor label{display:block;position:absolute;top:0;right:100%;transform:translateY(-50%);margin-right:4px;padding:0 3px;font-size:.7rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:99em}.vuecal{--vuecal-grid-columns: 7;--vuecal-grid-rows: 6;--vuecal-weekday-bar-height: 1.7rem;--vuecal-schedules-bar-height: 1.7rem;--vuecal-all-day-bar-height: 2rem;--vuecal-time-cell-height: 50px;--vuecal-min-cell-width: 0;--vuecal-transition-duration: .25s;display:flex;flex-direction:column;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:0}.vuecal--date-picker{--vuecal-weekday-bar-height: 1.3rem}.vuecal--timeless{--vuecal-all-day-bar-height: 0px}.vuecal,.vuecal *,.vuecal :before,.vuecal :after{box-sizing:border-box}.vuecal .grow{flex-grow:1}.vuecal__body-wrap{display:flex;flex-direction:column;flex-grow:1;min-width:0}.vuecal__scrollable-wrap{position:relative;flex:1;display:flex;min-height:1px}.vuecal__scrollable{position:relative;overflow:auto;flex:1;display:flex;flex-direction:column}.vuecal__scrollable--row,.vuecal__scrollable--has-week-numbers{flex-direction:row}.vuecal__week-numbers{display:flex;flex-direction:column;padding-top:calc(var(--vuecal-weekday-bar-height) + var(--vuecal-schedules-bar-height) + var(--vuecal-all-day-bar-height))}.vuecal__week-number{display:flex;flex-grow:1;align-items:center;justify-content:center;width:1.4em}.vuecal__schedule{position:relative;display:flex;flex-grow:1;flex-basis:0;justify-content:center;overflow:hidden}.vuecal__scrollable--days-view .vuecal__schedule,.vuecal__scrollable--week-view .vuecal__schedule{min-width:var(--vuecal-min-schedule-width, 0)}.vuecal__schedules-headings{display:flex}.vuecal__schedule--heading{font-size:12px;align-items:center}.vuecal-slide-fade--left-enter-active,.vuecal-slide-fade--left-leave-active,.vuecal-slide-fade--right-enter-active,.vuecal-slide-fade--right-leave-active{transition:var(--vuecal-transition-duration) ease-in-out}.vuecal-slide-fade--left-enter-from,.vuecal-slide-fade--right-leave-to{transform:translate(-12px);opacity:0}.vuecal-slide-fade--left-leave-to,.vuecal-slide-fade--right-enter-from{transform:translate(12px);opacity:0}.vuecal-slide-fade--left-enter-active,.vuecal-slide-fade--right-enter-active,.vuecal-slide-fade--left-leave-active~.vuecal-slide-fade--left-leave-active,.vuecal-slide-fade--right-leave-active~.vuecal-slide-fade--right-leave-active{position:absolute!important;inset:0}.vuecal-event-delete-leave-active{transition:.15s ease-out}.vuecal-event-delete-leave-to{opacity:0;transform:translateY(.5rem)}.vuecal-shrink-enter-active,.vuecal-shrink-leave-active{transition:transform .2s,opacity .2s}.vuecal-shrink-enter-from,.vuecal-shrink-leave-to{opacity:0}.vuecal--default-theme{--vuecal-primary-color: #1976D2;--vuecal-secondary-color: #fff;--vuecal-base-color: #000;--vuecal-contrast-color: #fff;--vuecal-border-color: color-mix(in srgb, var(--vuecal-base-color) 8%, transparent);--vuecal-header-color: var(--vuecal-secondary-color);--vuecal-event-color: var(--vuecal-contrast-color);--vuecal-event-border-color: currentColor;--vuecal-border-radius: 6px;--vuecal-height: 500px;--vuecal-min-schedule-width: 0;--vuecal-min-cell-width: 1em;position:relative;border-radius:var(--vuecal-border-radius);color:var(--vuecal-base-color);height:var(--vuecal-height)}.vuecal--default-theme.vuecal--dragging-event{cursor:grabbing}.vuecal--default-theme.vuecal--resizing-event{cursor:ns-resize}.vuecal--default-theme.vuecal--dark{--vuecal-primary-color: #316191;--vuecal-secondary-color: #2e2e2e;--vuecal-base-color: #fff;--vuecal-contrast-color: #000;--vuecal-border-color: color-mix(in srgb, var(--vuecal-base-color) 8%, transparent);--vuecal-header-color: var(--vuecal-base-color);--vuecal-event-color: var(--vuecal-base-color);--vuecal-event-border-color: color-mix(in srgb, var(--vuecal-base-color) 50%, transparent)}.vuecal--default-theme .vuecal__header{background-color:var(--vuecal-primary-color);color:var(--vuecal-header-color);border-top-left-radius:var(--vuecal-border-radius);border-top-right-radius:var(--vuecal-border-radius)}.vuecal--default-theme .vuecal__views-bar,.vuecal--default-theme .vuecal__title-bar{padding-top:4px;padding-bottom:4px}.vuecal--default-theme .vuecal__title-bar{position:relative;background-color:var(--vuecal-primary-color);padding-left:.6em;padding-right:.6em;background-color:color-mix(in srgb,var(--vuecal-secondary-color) 20%,transparent)}.vuecal--default-theme .vuecal__view-button,.vuecal--default-theme .vuecal__nav,.vuecal--default-theme button.vuecal__title{background:none;border:none;color:inherit}.vuecal--default-theme .vuecal__view-button:not([disabled]),.vuecal--default-theme .vuecal__nav:not([disabled]),.vuecal--default-theme button.vuecal__title:not([disabled]){cursor:pointer}.vuecal--default-theme .vuecal__view-button,.vuecal--default-theme .vuecal__nav,.vuecal--default-theme button.vuecal__title,.vuecal--default-theme .vuecal__nav--today{transition:.3s;border:1px solid transparent;padding:2px 12px;border-radius:4px;align-self:center}.vuecal--default-theme .vuecal__view-button:hover,.vuecal--default-theme .vuecal__nav:hover,.vuecal--default-theme button.vuecal__title:hover,.vuecal--default-theme .vuecal__nav--today:hover{background-color:#ffffff1f}.vuecal--default-theme .vuecal__view-button--active,.vuecal--default-theme .vuecal__view-button--active:hover,.vuecal--default-theme .vuecal__nav--active,.vuecal--default-theme .vuecal__nav--active:hover,.vuecal--default-theme button.vuecal__title--active,.vuecal--default-theme button.vuecal__title--active:hover,.vuecal--default-theme .vuecal__nav--today--active,.vuecal--default-theme .vuecal__nav--today--active:hover,.vuecal--default-theme .vuecal__view-button:active,.vuecal--default-theme .vuecal__nav:active,.vuecal--default-theme button.vuecal__title:active,.vuecal--default-theme .vuecal__nav--today:active{background-color:#ffffff40}.vuecal--default-theme .vuecal__view-button:focus-visible,.vuecal--default-theme .vuecal__nav:focus-visible,.vuecal--default-theme button.vuecal__title:focus-visible,.vuecal--default-theme .vuecal__nav--today:focus-visible{border-color:#ffffffbf}.vuecal--default-theme .vuecal__view-button{text-transform:uppercase;font-size:.9em}.vuecal--default-theme button.vuecal__title{line-height:.9}.vuecal--default-theme .vuecal__nav--prev,.vuecal--default-theme .vuecal__nav--next{width:2em;aspect-ratio:1;border-radius:99em}.vuecal--default-theme .vuecal__nav--prev:dir(rtl),.vuecal--default-theme .vuecal__nav--next:dir(rtl){transform:rotate(180deg)}.vuecal--default-theme .vuecal__nav--today{padding-left:8px;padding-right:8px;margin-right:3px;font-size:.85em}.vuecal--default-theme .vuecal__scrollable-wrap{background-color:color-mix(in srgb,var(--vuecal-primary-color) 4%,transparent);border:1px solid var(--vuecal-border-color);border-top:none;border-bottom-left-radius:var(--vuecal-border-radius);border-bottom-right-radius:var(--vuecal-border-radius);overflow:hidden}.vuecal--default-theme .vuecal__scrollable-wrap:first-child{border-top-left-radius:var(--vuecal-border-radius);border-top-right-radius:var(--vuecal-border-radius)}.vuecal--default-theme .vuecal__scrollable{display:grid;grid-template-columns:1fr 0fr}.vuecal--default-theme .vuecal__scrollable--row{grid-template-columns:0fr 1fr}.vuecal--default-theme .vuecal__scrollable--no-schedules{--vuecal-schedules-bar-height: 0px}.vuecal--default-theme .vuecal__scrollable--day-view{--vuecal-weekday-bar-height: 0px}.vuecal--default-theme .vuecal__scrollable--month-view,.vuecal--default-theme .vuecal__scrollable--no-all-day-bar{--vuecal-all-day-bar-height: 0px}.vuecal--default-theme .vuecal__scrollable--year-view,.vuecal--default-theme .vuecal__scrollable--years-view{overflow:hidden}.vuecal--default-theme .vuecal__scrollable--day-view .vuecal__body,.vuecal--default-theme .vuecal__scrollable--days-view .vuecal__body,.vuecal--default-theme .vuecal__scrollable--week-view .vuecal__body{max-height:var(--vuecal-body-max-height, initial)}.vuecal--default-theme .vuecal__week-number small{width:1.4em;display:flex;justify-content:center;align-items:center;aspect-ratio:1;font-size:.8em;background-color:color-mix(in srgb,var(--vuecal-base-color) 8%,transparent);color:color-mix(in srgb,var(--vuecal-base-color) 70%,transparent);border-radius:4px}.vuecal--default-theme .vuecal__weekday{display:flex;justify-content:center;padding:2px 1px;overflow:hidden;letter-spacing:-.03em;text-overflow:ellipsis;gap:4px;font-size:.95em;background-color:var(--vuecal-secondary-color)}.vuecal--default-theme .vuecal__weekday--today{font-weight:700}.vuecal--default-theme .vuecal__weekday-day{display:inline-block;overflow:hidden;text-overflow:ellipsis;opacity:.8}.vuecal--default-theme .vuecal__weekday-date{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:color-mix(in srgb,var(--vuecal-base-color) 15%,transparent);aspect-ratio:1;width:1.7em;border-radius:99em;overflow:hidden;line-height:1;font-size:.9em;letter-spacing:-.1em;text-indent:-.15em}.vuecal--default-theme .vuecal__weekday--today .vuecal__weekday-date{background-color:color-mix(in srgb,var(--vuecal-primary-color) 80%,transparent);color:#fff}.vuecal--default-theme.vuecal--light .vuecal__weekday:not(.vuecal__weekday--today) .vuecal__weekday-date{background-color:color-mix(in srgb,var(--vuecal-primary-color) 20%,transparent)}.vuecal--default-theme .vuecal__scrollable--has-schedules .vuecal__weekday{padding:0}.vuecal--default-theme .vuecal__scrollable--has-schedules .vuecal__weekday-date{width:1.5em}.vuecal--default-theme .vuecal__cell{overflow:hidden;box-shadow:0 0 0 .5px var(--vuecal-border-color) inset}.vuecal--default-theme.vuecal--lg .vuecal__scrollable--month-view .vuecal__cell{flex-direction:column;justify-content:flex-start;align-items:flex-end}.vuecal--default-theme .vuecal__cell:before{content:"";position:absolute;inset:0;z-index:-1}.vuecal--default-theme.vuecal--light .vuecal__cell:before{filter:saturate(2)}.vuecal--default-theme .vuecal__cell--today:before,.vuecal--default-theme .vuecal__cell--current-month:before,.vuecal--default-theme .vuecal__cell--current-year:before{background-color:color-mix(in srgb,var(--vuecal-primary-color) 10%,transparent)}.vuecal--default-theme .vuecal__cell--selected:before{background-color:color-mix(in srgb,var(--vuecal-primary-color) 25%,transparent)}.vuecal--default-theme.vuecal--light .vuecal__cell--today:before,.vuecal--default-theme.vuecal--light .vuecal__cell--current-month:before,.vuecal--default-theme.vuecal--light .vuecal__cell--current-year:before{background-color:color-mix(in srgb,var(--vuecal-primary-color) 5%,transparent)}.vuecal--default-theme.vuecal--light .vuecal__cell--selected:before{background-color:color-mix(in srgb,var(--vuecal-primary-color) 10%,transparent)}.vuecal--default-theme .vuecal__cell-date{position:sticky;top:0;font-weight:700}.vuecal--default-theme .vuecal__cell--disabled .vuecal__cell-date{opacity:.5}.vuecal--default-theme:is(.vuecal--sm,.vuecal--lg) .vuecal__scrollable--month-view .vuecal__cell:before{display:none}.vuecal--default-theme:is(.vuecal--sm,.vuecal--lg) .vuecal__scrollable--month-view .vuecal__cell-date{padding:4px;border-radius:99em;width:2em;aspect-ratio:1;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin:4px;font-size:13px;letter-spacing:-.5px;background-color:color-mix(in srgb,var(--vuecal-primary-color) 25%,transparent)}.vuecal--default-theme:is(.vuecal--sm,.vuecal--lg) .vuecal__scrollable--month-view .vuecal__cell--today .vuecal__cell-date{background-color:color-mix(in srgb,var(--vuecal-primary-color) 60%,transparent)}.vuecal--default-theme:is(.vuecal--sm,.vuecal--lg) .vuecal__scrollable--month-view .vuecal__cell--selected .vuecal__cell-date{background-color:var(--vuecal-primary-color)}.vuecal--default-theme.vuecal--light:is(.vuecal--sm,.vuecal--lg) .vuecal__scrollable--month-view .vuecal__cell-date{background-color:color-mix(in srgb,var(--vuecal-primary-color) 8%,transparent)}.vuecal--default-theme.vuecal--light:is(.vuecal--sm,.vuecal--lg) .vuecal__scrollable--month-view .vuecal__cell--today .vuecal__cell-date{background-color:color-mix(in srgb,var(--vuecal-primary-color) 22%,transparent)}.vuecal--default-theme.vuecal--light:is(.vuecal--sm,.vuecal--lg) .vuecal__scrollable--month-view .vuecal__cell--selected .vuecal__cell-date{background-color:color-mix(in srgb,var(--vuecal-primary-color) 40%,transparent)}.vuecal--default-theme .vuecal__cell--out-of-scope .vuecal__cell-date{opacity:.4}.vuecal--default-theme .vuecal__scrollable--month-view .vuecal__cell-events{overflow:hidden;flex-grow:1;width:100%;padding-left:4px}.vuecal--default-theme.vuecal--timeless .vuecal__cell-events{display:flex;width:100%;height:100%;flex-direction:column;justify-content:flex-start;align-items:flex-start;padding:4px;gap:4px}.vuecal--default-theme .vuecal__scrollable--no-schedules.vuecal__scrollable--day-view .vuecal__cell-events,.vuecal--default-theme .vuecal__scrollable--no-schedules.vuecal__scrollable--days-view .vuecal__cell-events,.vuecal--default-theme .vuecal__scrollable--no-schedules.vuecal__scrollable--week-view .vuecal__cell-events{position:absolute;inset:0 8px 0 0}.vuecal--default-theme .vuecal__scrollable--no-schedules.vuecal__scrollable--day-view .vuecal__cell-events:dir(rtl),.vuecal--default-theme .vuecal__scrollable--no-schedules.vuecal__scrollable--days-view .vuecal__cell-events:dir(rtl),.vuecal--default-theme .vuecal__scrollable--no-schedules.vuecal__scrollable--week-view .vuecal__cell-events:dir(rtl){inset:0 0 0 8px}.vuecal--default-theme .vuecal__all-day .vuecal__cell-events{width:100%;inset:0}.vuecal--default-theme .vuecal__time-cell{display:flex;justify-content:flex-end}.vuecal--default-theme .vuecal__time-cell-label{font-size:11px;letter-spacing:-.5px;color:#00000080;margin-top:-7.5px;background:#fff;width:98%;z-index:1;padding-right:2px;align-self:flex-start}.vuecal--default-theme .vuecal__time-cell:nth-child(1) .vuecal__time-cell-label{margin-top:-1px;font-size:10px;background:none}.vuecal--default-theme .vuecal__event{display:flex;width:90%;background-color:var(--vuecal-primary-color);color:var(--vuecal-event-color);border:1px solid var(--vuecal-event-border-color);border-radius:4px;line-height:1;z-index:1}.vuecal--default-theme .vuecal__event--background{width:100%;border:none;border-radius:0;overflow:visible;z-index:0}.vuecal--default-theme .vuecal__event--cut-top{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.vuecal--default-theme .vuecal__event--cut-bottom{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.vuecal--default-theme .vuecal__event:not(.vuecal__event--background):hover{z-index:3}.vuecal--default-theme .vuecal__event-details{flex-grow:1;overflow:hidden;padding:2px;font-size:12px}.vuecal--default-theme .vuecal__event-time{white-space:nowrap;line-height:1;letter-spacing:-.5px;font-size:11px}.vuecal--default-theme .vuecal__event-comma{padding-right:4px}.vuecal--default-theme .vuecal__event-resizer{inset:auto -1px -1px;border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.vuecal--default-theme .vuecal__event-delete{position:absolute;top:-5px;right:-5px;padding:2px;font-size:.8em;cursor:pointer;background-color:#ff4242;border:1px solid rgba(255,255,255,.5);color:transparent;border-radius:99em;aspect-ratio:1;width:1.5em}.vuecal--default-theme .vuecal__event-delete:before,.vuecal--default-theme .vuecal__event-delete:after{content:"";position:absolute;border-radius:99em;top:50%;height:2px;left:20%;right:20%;background-color:var(--vuecal-event-color)}.vuecal--default-theme .vuecal__event-delete:before{transform:translateY(-50%) rotate(45deg)}.vuecal--default-theme .vuecal__event-delete:after{transform:translateY(-50%) rotate(-45deg)}.vuecal--default-theme.vuecal--timeless .vuecal__event{position:relative;width:100%}.vuecal--default-theme .vuecal__scrollable--month-view .vuecal__event{padding-top:1px;padding-bottom:1px;width:100%}.vuecal--default-theme .vuecal__scrollable--month-view .vuecal__event-details{display:flex;padding-top:1px;padding-bottom:1px}.vuecal--default-theme.vuecal--sm .vuecal__view-button,.vuecal--default-theme.vuecal--sm .vuecal__nav,.vuecal--default-theme.vuecal--sm .vuecal__title button,.vuecal--default-theme.vuecal--sm .vuecal__nav--today{padding-left:8px;padding-right:8px}.vuecal--default-theme.vuecal--xs{width:350px;height:250px}.vuecal--default-theme.vuecal--xs .vuecal__view-button,.vuecal--default-theme.vuecal--xs .vuecal__nav,.vuecal--default-theme.vuecal--xs .vuecal__title button,.vuecal--default-theme.vuecal--xs .vuecal__nav--today{padding-left:4px;padding-right:4px}.vuecal--default-theme.vuecal--xs .vuecal__title{gap:4px}.vuecal--default-theme.vuecal--xs .vuecal__title small{padding-left:3px;padding-right:3px}.vuecal--default-theme.vuecal--xs .vuecal__body{width:100%}.vuecal--default-theme.vuecal--xs .vuecal__scrollable--year-view .vuecal__body,.vuecal--default-theme.vuecal--xs .vuecal__scrollable--years-view .vuecal__body{margin:auto}.vuecal--default-theme.vuecal--date-picker{font-size:12px;width:210px}.vuecal--default-theme.vuecal--date-picker:has(.vuecal__views-bar){height:260px}.vuecal--default-theme.vuecal--date-picker .vuecal__views-bar,.vuecal--default-theme.vuecal--date-picker .vuecal__title-bar{padding-top:2px;padding-bottom:2px;height:2em}.vuecal--default-theme.vuecal--date-picker .vuecal__title-bar{padding-left:.3em;padding-right:.3em}.vuecal--default-theme.vuecal--date-picker .vuecal__nav--today,.vuecal--default-theme.vuecal--date-picker .vuecal__view-button{font-size:.9em}.vuecal--default-theme.vuecal--date-picker .vuecal__nav--prev,.vuecal--default-theme.vuecal--date-picker .vuecal__nav--next{width:1.6em}.vuecal--default-theme.vuecal--date-picker .vuecal__nav--prev:before,.vuecal--default-theme.vuecal--date-picker .vuecal__nav--next:before{padding:.22em}.vuecal--default-theme.vuecal--date-picker .vuecal__weekday{font-size:.95em}.vuecal--default-theme.vuecal--date-picker .vuecal__body{padding:2px;gap:2px}.vuecal--default-theme.vuecal--date-picker .vuecal__scrollable--year-view .vuecal__body{padding:.6em;gap:.8em}.vuecal--default-theme.vuecal--date-picker .vuecal__scrollable--month-view .vuecal__body,.vuecal--default-theme.vuecal--date-picker .vuecal__scrollable--year-view .vuecal__body,.vuecal--default-theme.vuecal--date-picker .vuecal__scrollable--years-view .vuecal__body{align-items:center}.vuecal--default-theme.vuecal--date-picker .vuecal__cell{aspect-ratio:1;border-radius:99em;font-weight:700;font-size:1em;box-shadow:none}.vuecal--default-theme.vuecal--date-picker .vuecal__scrollable--day-view .vuecal__cell,.vuecal--default-theme.vuecal--date-picker .vuecal__scrollable--days-view .vuecal__cell,.vuecal--default-theme.vuecal--date-picker .vuecal__scrollable--week-view .vuecal__cell{aspect-ratio:initial;border-radius:0;font-weight:400}.vuecal--default-theme.vuecal--date-picker .vuecal__scrollable--years-view .vuecal__cell{padding:6px}.vuecal--default-theme.vuecal--date-picker .vuecal__scrollable--month-view .vuecal__cell,.vuecal--default-theme.vuecal--date-picker .vuecal__scrollable--years-view .vuecal__cell{font-size:.9em}.vuecal--default-theme.vuecal--date-picker .vuecal__cell-date{font-weight:700}.vuecal--default-theme.vuecal--date-picker.vuecal--dark .vuecal__cell--today:before,.vuecal--default-theme.vuecal--date-picker.vuecal--dark .vuecal__cell--current-month:before,.vuecal--default-theme.vuecal--date-picker.vuecal--dark .vuecal__cell--current-year:before{background-color:color-mix(in srgb,var(--vuecal-primary-color) 50%,transparent)}.vuecal--default-theme.vuecal--date-picker.vuecal--dark .vuecal__scrollable--month-view .vuecal__cell--selected:before,.vuecal--default-theme.vuecal--date-picker.vuecal--dark .vuecal__scrollable--year-view .vuecal__cell--selected:before,.vuecal--default-theme.vuecal--date-picker.vuecal--dark .vuecal__scrollable--years-view .vuecal__cell--selected:before{background-color:var(--vuecal-primary-color)}.vuecal--default-theme.vuecal--date-picker.vuecal--light .vuecal__cell--today:before,.vuecal--default-theme.vuecal--date-picker.vuecal--light .vuecal__cell--current-month:before,.vuecal--default-theme.vuecal--date-picker.vuecal--light .vuecal__cell--current-year:before{background-color:color-mix(in srgb,var(--vuecal-primary-color) 12%,transparent)}.vuecal--default-theme.vuecal--date-picker.vuecal--light .vuecal--dark .vuecal__scrollable--month-view .vuecal__cell--selected:before,.vuecal--default-theme.vuecal--date-picker.vuecal--light .vuecal--dark .vuecal__scrollable--year-view .vuecal__cell--selected:before,.vuecal--default-theme.vuecal--date-picker.vuecal--light .vuecal--dark .vuecal__scrollable--years-view .vuecal__cell--selected:before{background-color:color-mix(in srgb,var(--vuecal-primary-color) 28%,transparent)}._container_1aws4_1{width:100%}._container_1aws4_1 ._title_1aws4_4{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:1.125rem;color:var(--color-gray-light)}._container_1aws4_1 .vuecal{--vuecal-primary-color: var(--color-gray-light);--vuecal-secondary-color: var(--color-white);--vuecal-base-color: var(--color-black);--vuecal-contrast-color: var(--color-black);--vuecal-border-color: var(--color-gray);--vuecal-header-color: var(--color-black);--vuecal-event-color: var(--color-white);--vuecal-border-radius: 8px;--vuecal-height: auto;--vuecal-transition-duration: 0}._container_1aws4_1 .vuecal-event-delete-leave-active{transition:0ms}._container_1aws4_1 .vuecal-event-delete-leave-to{transform:none}._container_1aws4_1 .vuecal__header{border:1px solid var(--color-gray)}._container_1aws4_1 .vuecal__title-bar{padding-top:7px;padding-bottom:6px;background-color:var(--color-gray-light-extra);border-top-left-radius:8px;border-top-right-radius:8px}._container_1aws4_1 .vuecal__headings{height:36px;padding-top:4px;border-bottom:1px solid var(--color-gray-light)}._container_1aws4_1 .vuecal--default-theme .vuecal__weekday{font-size:1rem;letter-spacing:0}._container_1aws4_1 .vuecal--default-theme .vuecal__weekday-day{opacity:1}._container_1aws4_1 .vuecal__body{grid-template-rows:auto}._container_1aws4_1 .vuecal--default-theme .vuecal__scrollable--month-view .vuecal__cell{align-items:center;min-height:70px}._container_1aws4_1 .vuecal--default-theme:is(.vuecal--sm,.vuecal--lg) .vuecal__scrollable--month-view .vuecal__cell-date{aspect-ratio:6/5;padding:0;margin:0;font-size:1rem;font-weight:400;letter-spacing:0}._container_1aws4_1 .vuecal--default-theme.vuecal--light:is(.vuecal--sm,.vuecal--lg) .vuecal__scrollable--month-view .vuecal__cell--today .vuecal__cell-date{font-weight:700;text-shadow:1px 1px var(--color-gray);background-color:unset}._container_1aws4_1 .vuecal--default-theme.vuecal--light:is(.vuecal--sm,.vuecal--lg) .vuecal__scrollable--month-view .vuecal__cell--selected .vuecal__cell-date{font-weight:700;text-decoration:underline;text-shadow:1px 1px var(--color-gray);background-color:unset}._container_1aws4_1 .vuecal--default-theme .vuecal__cell{box-shadow:0 0 0 .2px var(--color-gray) inset}._container_1aws4_1 .vuecal--default-theme.vuecal--timeless .vuecal__cell-events{align-items:center;justify-content:center;padding-top:0;padding-bottom:7px}._container_1aws4_1 .vuecal__scrollable--month-view .vuecal__event{width:36px;height:36px;padding-top:0;padding-bottom:0;cursor:pointer;border:0;border-radius:12px}._container_1aws4_1 .vuecal--default-theme .vuecal__event-details{padding:0;border-radius:12px}._container_1aws4_1 .vuecal__cell--out-of-range{opacity:1}._container_1aws4_1 .vuecal__cell--out-of-range .vuecal__cell-date{color:var(--color-gray-dark)}
|
|
@@ -2506,7 +2506,7 @@ const st = (h, t) => {
|
|
|
2506
2506
|
}, 8, ["events", "minDate", "locale"])
|
|
2507
2507
|
], 2));
|
|
2508
2508
|
}
|
|
2509
|
-
}), xa = "
|
|
2509
|
+
}), xa = "_container_1aws4_1", Oa = "_title_1aws4_4", Va = {
|
|
2510
2510
|
container: xa,
|
|
2511
2511
|
title: Oa
|
|
2512
2512
|
}, ja = {
|
package/dist/UiChart/UiChart.js
CHANGED
|
@@ -7,23 +7,23 @@ import { _ as qn } from "../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
|
7
7
|
* (c) 2024 Jukka Kurkela
|
|
8
8
|
* Released under the MIT License
|
|
9
9
|
*/
|
|
10
|
-
function
|
|
10
|
+
function le(i) {
|
|
11
11
|
return i + 0.5 | 0;
|
|
12
12
|
}
|
|
13
13
|
const ut = (i, t, e) => Math.max(Math.min(i, e), t);
|
|
14
14
|
function Xt(i) {
|
|
15
|
-
return ut(
|
|
15
|
+
return ut(le(i * 2.55), 0, 255);
|
|
16
16
|
}
|
|
17
17
|
function pt(i) {
|
|
18
|
-
return ut(
|
|
18
|
+
return ut(le(i * 255), 0, 255);
|
|
19
19
|
}
|
|
20
20
|
function ht(i) {
|
|
21
|
-
return ut(
|
|
21
|
+
return ut(le(i / 2.55) / 100, 0, 1);
|
|
22
22
|
}
|
|
23
23
|
function Pi(i) {
|
|
24
|
-
return ut(
|
|
24
|
+
return ut(le(i * 100), 0, 100);
|
|
25
25
|
}
|
|
26
|
-
const G = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 10, B: 11, C: 12, D: 13, E: 14, F: 15, a: 10, b: 11, c: 12, d: 13, e: 14, f: 15 }, ti = [..."0123456789ABCDEF"], Gn = (i) => ti[i & 15], Zn = (i) => ti[(i & 240) >> 4] + ti[i & 15],
|
|
26
|
+
const G = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 10, B: 11, C: 12, D: 13, E: 14, F: 15, a: 10, b: 11, c: 12, d: 13, e: 14, f: 15 }, ti = [..."0123456789ABCDEF"], Gn = (i) => ti[i & 15], Zn = (i) => ti[(i & 240) >> 4] + ti[i & 15], de = (i) => (i & 240) >> 4 === (i & 15), Jn = (i) => de(i.r) && de(i.g) && de(i.b) && de(i.a);
|
|
27
27
|
function Qn(i) {
|
|
28
28
|
var t = i.length, e;
|
|
29
29
|
return i[0] === "#" && (t === 4 || t === 5 ? e = {
|
|
@@ -294,10 +294,10 @@ function uo() {
|
|
|
294
294
|
}
|
|
295
295
|
return i;
|
|
296
296
|
}
|
|
297
|
-
let
|
|
297
|
+
let ue;
|
|
298
298
|
function fo(i) {
|
|
299
|
-
|
|
300
|
-
const t =
|
|
299
|
+
ue || (ue = uo(), ue.transparent = [0, 0, 0, 0]);
|
|
300
|
+
const t = ue[i.toLowerCase()];
|
|
301
301
|
return t && {
|
|
302
302
|
r: t[0],
|
|
303
303
|
g: t[1],
|
|
@@ -335,7 +335,7 @@ function bo(i, t, e) {
|
|
|
335
335
|
a: i.a + e * (t.a - i.a)
|
|
336
336
|
};
|
|
337
337
|
}
|
|
338
|
-
function
|
|
338
|
+
function fe(i, t, e) {
|
|
339
339
|
if (i) {
|
|
340
340
|
let s = ci(i);
|
|
341
341
|
s[t] = Math.max(0, Math.min(s[t] + s[t] * e, t === 0 ? 360 : 1)), s = di(s), i.r = s[0], i.g = s[1], i.b = s[2];
|
|
@@ -401,7 +401,7 @@ class Qt {
|
|
|
401
401
|
return e.a *= 1 - t, this;
|
|
402
402
|
}
|
|
403
403
|
greyscale() {
|
|
404
|
-
const t = this._rgb, e =
|
|
404
|
+
const t = this._rgb, e = le(t.r * 0.3 + t.g * 0.59 + t.b * 0.11);
|
|
405
405
|
return t.r = t.g = t.b = e, this;
|
|
406
406
|
}
|
|
407
407
|
opaquer(t) {
|
|
@@ -413,16 +413,16 @@ class Qt {
|
|
|
413
413
|
return t.r = 255 - t.r, t.g = 255 - t.g, t.b = 255 - t.b, this;
|
|
414
414
|
}
|
|
415
415
|
lighten(t) {
|
|
416
|
-
return
|
|
416
|
+
return fe(this._rgb, 2, t), this;
|
|
417
417
|
}
|
|
418
418
|
darken(t) {
|
|
419
|
-
return
|
|
419
|
+
return fe(this._rgb, 2, -t), this;
|
|
420
420
|
}
|
|
421
421
|
saturate(t) {
|
|
422
|
-
return
|
|
422
|
+
return fe(this._rgb, 1, t), this;
|
|
423
423
|
}
|
|
424
424
|
desaturate(t) {
|
|
425
|
-
return
|
|
425
|
+
return fe(this._rgb, 1, -t), this;
|
|
426
426
|
}
|
|
427
427
|
rotate(t) {
|
|
428
428
|
return co(this._rgb, t), this;
|
|
@@ -475,7 +475,7 @@ function L(i, t, e, s) {
|
|
|
475
475
|
for (r = Object.keys(i), o = r.length, n = 0; n < o; n++)
|
|
476
476
|
t.call(e, i[r[n]], r[n]);
|
|
477
477
|
}
|
|
478
|
-
function
|
|
478
|
+
function De(i, t) {
|
|
479
479
|
let e, s, n, o;
|
|
480
480
|
if (!i || !t || i.length !== t.length)
|
|
481
481
|
return !1;
|
|
@@ -484,14 +484,14 @@ function Ce(i, t) {
|
|
|
484
484
|
return !1;
|
|
485
485
|
return !0;
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function Pe(i) {
|
|
488
488
|
if (H(i))
|
|
489
|
-
return i.map(
|
|
489
|
+
return i.map(Pe);
|
|
490
490
|
if (A(i)) {
|
|
491
491
|
const t = /* @__PURE__ */ Object.create(null), e = Object.keys(i), s = e.length;
|
|
492
492
|
let n = 0;
|
|
493
493
|
for (; n < s; ++n)
|
|
494
|
-
t[e[n]] =
|
|
494
|
+
t[e[n]] = Pe(i[e[n]]);
|
|
495
495
|
return t;
|
|
496
496
|
}
|
|
497
497
|
return i;
|
|
@@ -507,7 +507,7 @@ function vo(i, t, e, s) {
|
|
|
507
507
|
if (!Gs(i))
|
|
508
508
|
return;
|
|
509
509
|
const n = t[i], o = e[i];
|
|
510
|
-
A(n) && A(o) ? te(n, o, s) : t[i] =
|
|
510
|
+
A(n) && A(o) ? te(n, o, s) : t[i] = Pe(o);
|
|
511
511
|
}
|
|
512
512
|
function te(i, t, e) {
|
|
513
513
|
const s = H(t) ? t : [
|
|
@@ -536,7 +536,7 @@ function Mo(i, t, e) {
|
|
|
536
536
|
if (!Gs(i))
|
|
537
537
|
return;
|
|
538
538
|
const s = t[i], n = e[i];
|
|
539
|
-
A(s) && A(n) ? qt(s, n) : Object.prototype.hasOwnProperty.call(t, i) || (t[i] =
|
|
539
|
+
A(s) && A(n) ? qt(s, n) : Object.prototype.hasOwnProperty.call(t, i) || (t[i] = Pe(n));
|
|
540
540
|
}
|
|
541
541
|
const Ri = {
|
|
542
542
|
// Chart.helpers.core resolveObjectKey should resolve empty key to root object
|
|
@@ -580,7 +580,7 @@ const ee = (i) => typeof i < "u", bt = (i) => typeof i == "function", Li = (i, t
|
|
|
580
580
|
function wo(i) {
|
|
581
581
|
return i.type === "mouseup" || i.type === "click" || i.type === "contextmenu";
|
|
582
582
|
}
|
|
583
|
-
const T = Math.PI, B = 2 * T, Co = B + T,
|
|
583
|
+
const T = Math.PI, B = 2 * T, Co = B + T, Oe = Number.POSITIVE_INFINITY, Do = T / 180, V = T / 2, yt = T / 4, Ii = T * 2 / 3, Zs = Math.log10, rt = Math.sign;
|
|
584
584
|
function Gt(i, t, e) {
|
|
585
585
|
return Math.abs(i - t) < e;
|
|
586
586
|
}
|
|
@@ -794,7 +794,7 @@ function Vo(i) {
|
|
|
794
794
|
const o = s.xmin !== t.min || s.xmax !== t.max || s.ymin !== e.min || s.ymax !== e.max;
|
|
795
795
|
return Object.assign(s, n), o;
|
|
796
796
|
}
|
|
797
|
-
const
|
|
797
|
+
const ge = (i) => i === 0 || i === 1, Bi = (i, t, e) => -(Math.pow(2, 10 * (i -= 1)) * Math.sin((i - t) * B / e)), Wi = (i, t, e) => Math.pow(2, -10 * i) * Math.sin((i - t) * B / e) + 1, Zt = {
|
|
798
798
|
linear: (i) => i,
|
|
799
799
|
easeInQuad: (i) => i * i,
|
|
800
800
|
easeOutQuad: (i) => -i * (i - 2),
|
|
@@ -813,14 +813,14 @@ const fe = (i) => i === 0 || i === 1, Bi = (i, t, e) => -(Math.pow(2, 10 * (i -=
|
|
|
813
813
|
easeInOutSine: (i) => -0.5 * (Math.cos(T * i) - 1),
|
|
814
814
|
easeInExpo: (i) => i === 0 ? 0 : Math.pow(2, 10 * (i - 1)),
|
|
815
815
|
easeOutExpo: (i) => i === 1 ? 1 : -Math.pow(2, -10 * i) + 1,
|
|
816
|
-
easeInOutExpo: (i) =>
|
|
816
|
+
easeInOutExpo: (i) => ge(i) ? i : i < 0.5 ? 0.5 * Math.pow(2, 10 * (i * 2 - 1)) : 0.5 * (-Math.pow(2, -10 * (i * 2 - 1)) + 2),
|
|
817
817
|
easeInCirc: (i) => i >= 1 ? i : -(Math.sqrt(1 - i * i) - 1),
|
|
818
818
|
easeOutCirc: (i) => Math.sqrt(1 - (i -= 1) * i),
|
|
819
819
|
easeInOutCirc: (i) => (i /= 0.5) < 1 ? -0.5 * (Math.sqrt(1 - i * i) - 1) : 0.5 * (Math.sqrt(1 - (i -= 2) * i) + 1),
|
|
820
|
-
easeInElastic: (i) =>
|
|
821
|
-
easeOutElastic: (i) =>
|
|
820
|
+
easeInElastic: (i) => ge(i) ? i : Bi(i, 0.075, 0.3),
|
|
821
|
+
easeOutElastic: (i) => ge(i) ? i : Wi(i, 0.075, 0.3),
|
|
822
822
|
easeInOutElastic(i) {
|
|
823
|
-
return
|
|
823
|
+
return ge(i) ? i : i < 0.5 ? 0.5 * Bi(i * 2, 0.1125, 0.45) : 0.5 + 0.5 * Wi(i * 2 - 1, 0.1125, 0.45);
|
|
824
824
|
},
|
|
825
825
|
easeInBack(i) {
|
|
826
826
|
return i * i * ((1.70158 + 1) * i - 1.70158);
|
|
@@ -941,7 +941,7 @@ function Xo(i, t) {
|
|
|
941
941
|
let s = Vi.get(e);
|
|
942
942
|
return s || (s = new Intl.NumberFormat(i, t), Vi.set(e, s)), s;
|
|
943
943
|
}
|
|
944
|
-
function
|
|
944
|
+
function Ie(i, t, e) {
|
|
945
945
|
return Xo(t, e).format(i);
|
|
946
946
|
}
|
|
947
947
|
const Uo = {
|
|
@@ -962,7 +962,7 @@ const Uo = {
|
|
|
962
962
|
minimumFractionDigits: a,
|
|
963
963
|
maximumFractionDigits: a
|
|
964
964
|
};
|
|
965
|
-
return Object.assign(l, this.options.ticks.format),
|
|
965
|
+
return Object.assign(l, this.options.ticks.format), Ie(i, s, l);
|
|
966
966
|
}
|
|
967
967
|
};
|
|
968
968
|
function Ko(i, t) {
|
|
@@ -1234,7 +1234,7 @@ function oe(i, t, e, s, n, o = {}) {
|
|
|
1234
1234
|
c = r[l], o.backdrop && ir(i, o.backdrop), a && (o.strokeColor && (i.strokeStyle = o.strokeColor), R(o.strokeWidth) || (i.lineWidth = o.strokeWidth), i.strokeText(c, e, s, o.maxWidth)), i.fillText(c, e, s, o.maxWidth), er(i, e, s, c, o), s += Number(n.lineHeight);
|
|
1235
1235
|
i.restore();
|
|
1236
1236
|
}
|
|
1237
|
-
function
|
|
1237
|
+
function Ae(i, t) {
|
|
1238
1238
|
const { x: e, y: s, w: n, h: o, radius: r } = t;
|
|
1239
1239
|
i.arc(e + r.topLeft, s + r.topLeft, r.topLeft, 1.5 * T, T, !0), i.lineTo(e, s + o - r.bottomLeft), i.arc(e + r.bottomLeft, s + o - r.bottomLeft, r.bottomLeft, T, V, !0), i.lineTo(e + n - r.bottomRight, s + o), i.arc(e + n - r.bottomRight, s + o - r.bottomRight, r.bottomRight, V, 0, !0), i.lineTo(e + n, s + r.topRight), i.arc(e + n - r.topRight, s + r.topRight, r.topRight, 0, -V, !0), i.lineTo(e + r.topLeft, s);
|
|
1240
1240
|
}
|
|
@@ -1295,7 +1295,7 @@ function X(i, t) {
|
|
|
1295
1295
|
};
|
|
1296
1296
|
return n.string = Zo(n), n;
|
|
1297
1297
|
}
|
|
1298
|
-
function
|
|
1298
|
+
function pe(i, t, e, s) {
|
|
1299
1299
|
let n, o, r;
|
|
1300
1300
|
for (n = 0, o = i.length; n < o; ++n)
|
|
1301
1301
|
if (r = i[n], r !== void 0 && r !== void 0)
|
|
@@ -1608,13 +1608,13 @@ function Mr(i, t = "x") {
|
|
|
1608
1608
|
}
|
|
1609
1609
|
yr(i, n, o), vr(i, o, t);
|
|
1610
1610
|
}
|
|
1611
|
-
function
|
|
1611
|
+
function me(i, t, e) {
|
|
1612
1612
|
return Math.max(Math.min(i, e), t);
|
|
1613
1613
|
}
|
|
1614
1614
|
function kr(i, t) {
|
|
1615
1615
|
let e, s, n, o, r, a = ne(i[0], t);
|
|
1616
1616
|
for (e = 0, s = i.length; e < s; ++e)
|
|
1617
|
-
r = o, o = a, a = e < s - 1 && ne(i[e + 1], t), o && (n = i[e], r && (n.cp1x =
|
|
1617
|
+
r = o, o = a, a = e < s - 1 && ne(i[e + 1], t), o && (n = i[e], r && (n.cp1x = me(n.cp1x, t.left, t.right), n.cp1y = me(n.cp1y, t.top, t.bottom)), a && (n.cp2x = me(n.cp2x, t.left, t.right), n.cp2y = me(n.cp2y, t.top, t.bottom)));
|
|
1618
1618
|
}
|
|
1619
1619
|
function Sr(i, t, e, s, n) {
|
|
1620
1620
|
let o, r, a, l;
|
|
@@ -1634,13 +1634,13 @@ function ki(i) {
|
|
|
1634
1634
|
let t = i.parentNode;
|
|
1635
1635
|
return t && t.toString() === "[object ShadowRoot]" && (t = t.host), t;
|
|
1636
1636
|
}
|
|
1637
|
-
function
|
|
1637
|
+
function Te(i, t, e) {
|
|
1638
1638
|
let s;
|
|
1639
1639
|
return typeof i == "string" ? (s = parseInt(i, 10), i.indexOf("%") !== -1 && (s = s / 100 * t.parentNode[e])) : s = i, s;
|
|
1640
1640
|
}
|
|
1641
|
-
const
|
|
1641
|
+
const Ee = (i) => i.ownerDocument.defaultView.getComputedStyle(i, null);
|
|
1642
1642
|
function wr(i, t) {
|
|
1643
|
-
return
|
|
1643
|
+
return Ee(i).getPropertyValue(t);
|
|
1644
1644
|
}
|
|
1645
1645
|
const Cr = [
|
|
1646
1646
|
"top",
|
|
@@ -1676,7 +1676,7 @@ function Pr(i, t) {
|
|
|
1676
1676
|
function kt(i, t) {
|
|
1677
1677
|
if ("native" in i)
|
|
1678
1678
|
return i;
|
|
1679
|
-
const { canvas: e, currentDevicePixelRatio: s } = t, n =
|
|
1679
|
+
const { canvas: e, currentDevicePixelRatio: s } = t, n = Ee(e), o = n.boxSizing === "border-box", r = Ct(n, "padding"), a = Ct(n, "border", "width"), { x: l, y: c, box: h } = Pr(i, e), d = r.left + (h && a.left), u = r.top + (h && a.top);
|
|
1680
1680
|
let { width: f, height: p } = t;
|
|
1681
1681
|
return o && (f -= r.width + a.width, p -= r.height + a.height), {
|
|
1682
1682
|
x: Math.round((l - d) / f * e.width / s),
|
|
@@ -1690,26 +1690,26 @@ function Or(i, t, e) {
|
|
|
1690
1690
|
if (!o)
|
|
1691
1691
|
t = i.clientWidth, e = i.clientHeight;
|
|
1692
1692
|
else {
|
|
1693
|
-
const r = o.getBoundingClientRect(), a =
|
|
1694
|
-
t = r.width - c.width - l.width, e = r.height - c.height - l.height, s =
|
|
1693
|
+
const r = o.getBoundingClientRect(), a = Ee(o), l = Ct(a, "border", "width"), c = Ct(a, "padding");
|
|
1694
|
+
t = r.width - c.width - l.width, e = r.height - c.height - l.height, s = Te(a.maxWidth, o, "clientWidth"), n = Te(a.maxHeight, o, "clientHeight");
|
|
1695
1695
|
}
|
|
1696
1696
|
}
|
|
1697
1697
|
return {
|
|
1698
1698
|
width: t,
|
|
1699
1699
|
height: e,
|
|
1700
|
-
maxWidth: s ||
|
|
1701
|
-
maxHeight: n ||
|
|
1700
|
+
maxWidth: s || Oe,
|
|
1701
|
+
maxHeight: n || Oe
|
|
1702
1702
|
};
|
|
1703
1703
|
}
|
|
1704
|
-
const
|
|
1704
|
+
const be = (i) => Math.round(i * 10) / 10;
|
|
1705
1705
|
function Ar(i, t, e, s) {
|
|
1706
|
-
const n =
|
|
1706
|
+
const n = Ee(i), o = Ct(n, "margin"), r = Te(n.maxWidth, i, "clientWidth") || Oe, a = Te(n.maxHeight, i, "clientHeight") || Oe, l = Or(i, t, e);
|
|
1707
1707
|
let { width: c, height: h } = l;
|
|
1708
1708
|
if (n.boxSizing === "content-box") {
|
|
1709
1709
|
const u = Ct(n, "border", "width"), f = Ct(n, "padding");
|
|
1710
1710
|
c -= f.width + u.width, h -= f.height + u.height;
|
|
1711
1711
|
}
|
|
1712
|
-
return c = Math.max(0, c - o.width), h = Math.max(0, s ? c / s : h - o.height), c =
|
|
1712
|
+
return c = Math.max(0, c - o.width), h = Math.max(0, s ? c / s : h - o.height), c = be(Math.min(c, r, l.maxWidth)), h = be(Math.min(h, a, l.maxHeight)), c && !h && (h = be(c / 2)), (t !== void 0 || e !== void 0) && s && l.height && h > l.height && (h = l.height, c = be(Math.floor(h * s))), {
|
|
1713
1713
|
width: c,
|
|
1714
1714
|
height: h
|
|
1715
1715
|
};
|
|
@@ -1979,16 +1979,16 @@ function jr(i, t) {
|
|
|
1979
1979
|
};
|
|
1980
1980
|
return JSON.stringify(i, s) !== JSON.stringify(t, s);
|
|
1981
1981
|
}
|
|
1982
|
-
function
|
|
1982
|
+
function _e(i, t, e) {
|
|
1983
1983
|
return i.options.clip ? i[e] : t[e];
|
|
1984
1984
|
}
|
|
1985
1985
|
function $r(i, t) {
|
|
1986
1986
|
const { xScale: e, yScale: s } = i;
|
|
1987
1987
|
return e && s ? {
|
|
1988
|
-
left:
|
|
1989
|
-
right:
|
|
1990
|
-
top:
|
|
1991
|
-
bottom:
|
|
1988
|
+
left: _e(e, t, "left"),
|
|
1989
|
+
right: _e(e, t, "right"),
|
|
1990
|
+
top: _e(s, t, "top"),
|
|
1991
|
+
bottom: _e(s, t, "bottom")
|
|
1992
1992
|
} : t;
|
|
1993
1993
|
}
|
|
1994
1994
|
function Yr(i, t) {
|
|
@@ -2101,13 +2101,13 @@ const Zi = "transparent", Ur = {
|
|
|
2101
2101
|
class Kr {
|
|
2102
2102
|
constructor(t, e, s, n) {
|
|
2103
2103
|
const o = e[s];
|
|
2104
|
-
n =
|
|
2104
|
+
n = pe([
|
|
2105
2105
|
t.to,
|
|
2106
2106
|
n,
|
|
2107
2107
|
o,
|
|
2108
2108
|
t.from
|
|
2109
2109
|
]);
|
|
2110
|
-
const r =
|
|
2110
|
+
const r = pe([
|
|
2111
2111
|
t.from,
|
|
2112
2112
|
o,
|
|
2113
2113
|
n
|
|
@@ -2121,12 +2121,12 @@ class Kr {
|
|
|
2121
2121
|
if (this._active) {
|
|
2122
2122
|
this._notify(!1);
|
|
2123
2123
|
const n = this._target[this._prop], o = s - this._start, r = this._duration - o;
|
|
2124
|
-
this._start = s, this._duration = Math.floor(Math.max(r, t.duration)), this._total += o, this._loop = !!t.loop, this._to =
|
|
2124
|
+
this._start = s, this._duration = Math.floor(Math.max(r, t.duration)), this._total += o, this._loop = !!t.loop, this._to = pe([
|
|
2125
2125
|
t.to,
|
|
2126
2126
|
e,
|
|
2127
2127
|
n,
|
|
2128
2128
|
t.from
|
|
2129
|
-
]), this._from =
|
|
2129
|
+
]), this._from = pe([
|
|
2130
2130
|
t.from,
|
|
2131
2131
|
n,
|
|
2132
2132
|
e
|
|
@@ -2394,7 +2394,7 @@ const Ye = (i) => i === "reset" || i === "none", is = (i, t) => t ? i : Object.a
|
|
|
2394
2394
|
keys: mn(e, !0),
|
|
2395
2395
|
values: null
|
|
2396
2396
|
};
|
|
2397
|
-
class
|
|
2397
|
+
class ce {
|
|
2398
2398
|
static defaults = {};
|
|
2399
2399
|
static datasetElementType = null;
|
|
2400
2400
|
static dataElementType = null;
|
|
@@ -2865,7 +2865,7 @@ function os(i, t, e) {
|
|
|
2865
2865
|
function pa(i, { inflateAmount: t }, e) {
|
|
2866
2866
|
i.inflateAmount = t === "auto" ? e === 1 ? 0.33 : 0 : t;
|
|
2867
2867
|
}
|
|
2868
|
-
class ma extends
|
|
2868
|
+
class ma extends ce {
|
|
2869
2869
|
static id = "bar";
|
|
2870
2870
|
static defaults = {
|
|
2871
2871
|
datasetElementType: !1,
|
|
@@ -3064,7 +3064,7 @@ function ba(i, t, e) {
|
|
|
3064
3064
|
offsetY: r
|
|
3065
3065
|
};
|
|
3066
3066
|
}
|
|
3067
|
-
class _n extends
|
|
3067
|
+
class _n extends ce {
|
|
3068
3068
|
static id = "doughnut";
|
|
3069
3069
|
static defaults = {
|
|
3070
3070
|
datasetElementType: !1,
|
|
@@ -3211,7 +3211,7 @@ class _n extends le {
|
|
|
3211
3211
|
return e > 0 && !isNaN(t) ? B * (Math.abs(t) / e) : 0;
|
|
3212
3212
|
}
|
|
3213
3213
|
getLabelAndValue(t) {
|
|
3214
|
-
const e = this._cachedMeta, s = this.chart, n = s.data.labels || [], o =
|
|
3214
|
+
const e = this._cachedMeta, s = this.chart, n = s.data.labels || [], o = Ie(e._parsed[t], s.options.locale);
|
|
3215
3215
|
return {
|
|
3216
3216
|
label: n[t] || "",
|
|
3217
3217
|
value: o
|
|
@@ -3255,7 +3255,7 @@ class _n extends le {
|
|
|
3255
3255
|
return this._getRingWeightOffset(this.chart.data.datasets.length) || 1;
|
|
3256
3256
|
}
|
|
3257
3257
|
}
|
|
3258
|
-
class _a extends
|
|
3258
|
+
class _a extends ce {
|
|
3259
3259
|
static id = "line";
|
|
3260
3260
|
static defaults = {
|
|
3261
3261
|
datasetElementType: "line",
|
|
@@ -3311,7 +3311,7 @@ class _a extends le {
|
|
|
3311
3311
|
t.dataset.updateControlPoints(this.chart.chartArea, t.iScale.axis), super.draw();
|
|
3312
3312
|
}
|
|
3313
3313
|
}
|
|
3314
|
-
class xa extends
|
|
3314
|
+
class xa extends ce {
|
|
3315
3315
|
static id = "polarArea";
|
|
3316
3316
|
static defaults = {
|
|
3317
3317
|
dataElementType: "arc",
|
|
@@ -3387,7 +3387,7 @@ class xa extends le {
|
|
|
3387
3387
|
super(t, e), this.innerRadius = void 0, this.outerRadius = void 0;
|
|
3388
3388
|
}
|
|
3389
3389
|
getLabelAndValue(t) {
|
|
3390
|
-
const e = this._cachedMeta, s = this.chart, n = s.data.labels || [], o =
|
|
3390
|
+
const e = this._cachedMeta, s = this.chart, n = s.data.labels || [], o = Ie(e._parsed[t].r, s.options.locale);
|
|
3391
3391
|
return {
|
|
3392
3392
|
label: n[t] || "",
|
|
3393
3393
|
value: o
|
|
@@ -3536,7 +3536,7 @@ function Ma(i, t, e, s) {
|
|
|
3536
3536
|
hi: o.length - 1
|
|
3537
3537
|
};
|
|
3538
3538
|
}
|
|
3539
|
-
function
|
|
3539
|
+
function Fe(i, t, e, s, n) {
|
|
3540
3540
|
const o = i.getSortedVisibleDatasetMetas(), r = e[t];
|
|
3541
3541
|
for (let a = 0, l = o.length; a < l; ++a) {
|
|
3542
3542
|
const { index: c, data: h } = o[a], { lo: d, hi: u } = Ma(o[a], t, r, n);
|
|
@@ -3555,7 +3555,7 @@ function ka(i) {
|
|
|
3555
3555
|
}
|
|
3556
3556
|
function Ue(i, t, e, s, n) {
|
|
3557
3557
|
const o = [];
|
|
3558
|
-
return !n && !i.isPointInArea(t) ||
|
|
3558
|
+
return !n && !i.isPointInArea(t) || Fe(i, e, t, function(a, l, c) {
|
|
3559
3559
|
!n && !ne(a, i.chartArea, 0) || a.inRange(t.x, t.y, s) && o.push({
|
|
3560
3560
|
element: a,
|
|
3561
3561
|
datasetIndex: l,
|
|
@@ -3579,7 +3579,7 @@ function Sa(i, t, e, s) {
|
|
|
3579
3579
|
index: l
|
|
3580
3580
|
});
|
|
3581
3581
|
}
|
|
3582
|
-
return
|
|
3582
|
+
return Fe(i, e, t, o), n;
|
|
3583
3583
|
}
|
|
3584
3584
|
function wa(i, t, e, s, n, o) {
|
|
3585
3585
|
let r = [];
|
|
@@ -3605,7 +3605,7 @@ function wa(i, t, e, s, n, o) {
|
|
|
3605
3605
|
index: u
|
|
3606
3606
|
});
|
|
3607
3607
|
}
|
|
3608
|
-
return
|
|
3608
|
+
return Fe(i, e, t, c), r;
|
|
3609
3609
|
}
|
|
3610
3610
|
function Ke(i, t, e, s, n, o) {
|
|
3611
3611
|
return !o && !i.isPointInArea(t) ? [] : e === "r" && !s ? Sa(i, t, e, n) : wa(i, t, e, s, n, o);
|
|
@@ -3613,7 +3613,7 @@ function Ke(i, t, e, s, n, o) {
|
|
|
3613
3613
|
function rs(i, t, e, s, n) {
|
|
3614
3614
|
const o = [], r = e === "x" ? "inXRange" : "inYRange";
|
|
3615
3615
|
let a = !1;
|
|
3616
|
-
return
|
|
3616
|
+
return Fe(i, e, t, (l, c, h) => {
|
|
3617
3617
|
l[r] && l[r](t[e], n) && (o.push({
|
|
3618
3618
|
element: l,
|
|
3619
3619
|
datasetIndex: c,
|
|
@@ -3802,7 +3802,7 @@ function Ut(i, t, e, s) {
|
|
|
3802
3802
|
}
|
|
3803
3803
|
return c && Ut(n, t, e, s) || h;
|
|
3804
3804
|
}
|
|
3805
|
-
function
|
|
3805
|
+
function xe(i, t, e, s, n) {
|
|
3806
3806
|
i.top = e, i.left = t, i.right = t + s, i.bottom = e + n, i.width = s, i.height = n;
|
|
3807
3807
|
}
|
|
3808
3808
|
function cs(i, t, e, s) {
|
|
@@ -3815,10 +3815,10 @@ function cs(i, t, e, s) {
|
|
|
3815
3815
|
}, h = a.stackWeight / c.weight || 1;
|
|
3816
3816
|
if (a.horizontal) {
|
|
3817
3817
|
const d = t.w * h, u = c.size || l.height;
|
|
3818
|
-
ee(c.start) && (r = c.start), l.fullSize ?
|
|
3818
|
+
ee(c.start) && (r = c.start), l.fullSize ? xe(l, n.left, r, e.outerWidth - n.right - n.left, u) : xe(l, t.left + c.placed, r, d, u), c.start = r, c.placed += d, r = l.bottom;
|
|
3819
3819
|
} else {
|
|
3820
3820
|
const d = t.h * h, u = c.size || l.width;
|
|
3821
|
-
ee(c.start) && (o = c.start), l.fullSize ?
|
|
3821
|
+
ee(c.start) && (o = c.start), l.fullSize ? xe(l, o, n.top, u, e.outerHeight - n.bottom - n.top) : xe(l, o, t.top + c.placed, u, d), c.start = o, c.placed += d, o = l.right;
|
|
3822
3822
|
}
|
|
3823
3823
|
}
|
|
3824
3824
|
t.x = o, t.y = r;
|
|
@@ -3918,7 +3918,7 @@ class Ia extends vn {
|
|
|
3918
3918
|
t.options.animation = !1;
|
|
3919
3919
|
}
|
|
3920
3920
|
}
|
|
3921
|
-
const
|
|
3921
|
+
const we = "$chartjs", Ea = {
|
|
3922
3922
|
touchstart: "mousedown",
|
|
3923
3923
|
touchmove: "mousemove",
|
|
3924
3924
|
touchend: "mouseup",
|
|
@@ -3931,7 +3931,7 @@ const Se = "$chartjs", Ea = {
|
|
|
3931
3931
|
}, hs = (i) => i === null || i === "";
|
|
3932
3932
|
function Fa(i, t) {
|
|
3933
3933
|
const e = i.style, s = i.getAttribute("height"), n = i.getAttribute("width");
|
|
3934
|
-
if (i[
|
|
3934
|
+
if (i[we] = {
|
|
3935
3935
|
initial: {
|
|
3936
3936
|
height: s,
|
|
3937
3937
|
width: n,
|
|
@@ -3973,7 +3973,7 @@ function Wa(i, t) {
|
|
|
3973
3973
|
y: n !== void 0 ? n : null
|
|
3974
3974
|
};
|
|
3975
3975
|
}
|
|
3976
|
-
function
|
|
3976
|
+
function Re(i, t) {
|
|
3977
3977
|
for (const e of i)
|
|
3978
3978
|
if (e === t || e.contains(t))
|
|
3979
3979
|
return !0;
|
|
@@ -3982,7 +3982,7 @@ function Ha(i, t, e) {
|
|
|
3982
3982
|
const s = i.canvas, n = new MutationObserver((o) => {
|
|
3983
3983
|
let r = !1;
|
|
3984
3984
|
for (const a of o)
|
|
3985
|
-
r = r ||
|
|
3985
|
+
r = r || Re(a.addedNodes, s), r = r && !Re(a.removedNodes, s);
|
|
3986
3986
|
r && e();
|
|
3987
3987
|
});
|
|
3988
3988
|
return n.observe(document, {
|
|
@@ -3994,7 +3994,7 @@ function Va(i, t, e) {
|
|
|
3994
3994
|
const s = i.canvas, n = new MutationObserver((o) => {
|
|
3995
3995
|
let r = !1;
|
|
3996
3996
|
for (const a of o)
|
|
3997
|
-
r = r ||
|
|
3997
|
+
r = r || Re(a.removedNodes, s), r = r && !Re(a.addedNodes, s);
|
|
3998
3998
|
r && e();
|
|
3999
3999
|
});
|
|
4000
4000
|
return n.observe(document, {
|
|
@@ -4045,9 +4045,9 @@ class Xa extends vn {
|
|
|
4045
4045
|
}
|
|
4046
4046
|
releaseContext(t) {
|
|
4047
4047
|
const e = t.canvas;
|
|
4048
|
-
if (!e[
|
|
4048
|
+
if (!e[we])
|
|
4049
4049
|
return !1;
|
|
4050
|
-
const s = e[
|
|
4050
|
+
const s = e[we].initial;
|
|
4051
4051
|
[
|
|
4052
4052
|
"height",
|
|
4053
4053
|
"width"
|
|
@@ -4058,7 +4058,7 @@ class Xa extends vn {
|
|
|
4058
4058
|
const n = s.style || {};
|
|
4059
4059
|
return Object.keys(n).forEach((o) => {
|
|
4060
4060
|
e.style[o] = n[o];
|
|
4061
|
-
}), e.width = e.width, delete e[
|
|
4061
|
+
}), e.width = e.width, delete e[we], !0;
|
|
4062
4062
|
}
|
|
4063
4063
|
addEventListener(t, e, s) {
|
|
4064
4064
|
this.removeEventListener(t, e);
|
|
@@ -4132,11 +4132,11 @@ function Ka(i, t) {
|
|
|
4132
4132
|
if (r > 0) {
|
|
4133
4133
|
let d, u;
|
|
4134
4134
|
const f = r > 1 ? Math.round((l - a) / (r - 1)) : null;
|
|
4135
|
-
for (
|
|
4136
|
-
|
|
4137
|
-
return
|
|
4135
|
+
for (ye(t, c, h, R(f) ? 0 : a - f, a), d = 0, u = r - 1; d < u; d++)
|
|
4136
|
+
ye(t, c, h, o[d], o[d + 1]);
|
|
4137
|
+
return ye(t, c, h, l, R(f) ? t.length : l + f), c;
|
|
4138
4138
|
}
|
|
4139
|
-
return
|
|
4139
|
+
return ye(t, c, h), c;
|
|
4140
4140
|
}
|
|
4141
4141
|
function qa(i) {
|
|
4142
4142
|
const t = i.options.offset, e = i._tickSize(), s = i._length / e + (t ? 0 : 1), n = i._maxLength / e;
|
|
@@ -4166,7 +4166,7 @@ function Ja(i, t, e, s) {
|
|
|
4166
4166
|
for (s = Math.ceil(s), r = 0; r < i.length; r++)
|
|
4167
4167
|
r === o && (t.push(i[r]), n++, o = e[n * s]);
|
|
4168
4168
|
}
|
|
4169
|
-
function
|
|
4169
|
+
function ye(i, t, e, s, n) {
|
|
4170
4170
|
const o = D(s, 0), r = Math.min(D(n, i.length), i.length);
|
|
4171
4171
|
let a = 0, l, c, h;
|
|
4172
4172
|
for (e = Math.ceil(e), n && (l = n - s, e = l / Math.floor(l / e)), h = o; h < 0; )
|
|
@@ -4593,7 +4593,7 @@ class Bt extends dt {
|
|
|
4593
4593
|
}
|
|
4594
4594
|
const q = D(n.ticks.maxTicksLimit, d), I = Math.max(1, Math.ceil(d / q));
|
|
4595
4595
|
for (y = 0; y < d; y += I) {
|
|
4596
|
-
const F = this.getContext(y), W = o.setContext(F), tt = a.setContext(F), j = W.lineWidth, Ot = W.color,
|
|
4596
|
+
const F = this.getContext(y), W = o.setContext(F), tt = a.setContext(F), j = W.lineWidth, Ot = W.color, he = tt.dash || [], At = tt.dashOffset, Wt = W.tickWidth, _t = W.tickColor, Ht = W.tickBorderDash || [], xt = W.tickBorderDashOffset;
|
|
4597
4597
|
v = el(this, y, l), v !== void 0 && (x = vt(s, v, j), c ? k = M = P = O = x : S = w = C = N = x, f.push({
|
|
4598
4598
|
tx1: k,
|
|
4599
4599
|
ty1: S,
|
|
@@ -4605,7 +4605,7 @@ class Bt extends dt {
|
|
|
4605
4605
|
y2: N,
|
|
4606
4606
|
width: j,
|
|
4607
4607
|
color: Ot,
|
|
4608
|
-
borderDash:
|
|
4608
|
+
borderDash: he,
|
|
4609
4609
|
borderDashOffset: At,
|
|
4610
4610
|
tickWidth: Wt,
|
|
4611
4611
|
tickColor: _t,
|
|
@@ -4654,7 +4654,7 @@ class Bt extends dt {
|
|
|
4654
4654
|
const F = C / 2, W = I.color, tt = I.textStrokeColor, j = I.textStrokeWidth;
|
|
4655
4655
|
let Ot = S;
|
|
4656
4656
|
r ? (x = M, S === "inner" && (b === _ - 1 ? Ot = this.options.reverse ? "left" : "right" : b === 0 ? Ot = this.options.reverse ? "right" : "left" : Ot = "center"), n === "top" ? c === "near" || g !== 0 ? O = -C * P + P / 2 : c === "center" ? O = -q.highest.height / 2 - F * P + P : O = -q.highest.height + P / 2 : c === "near" || g !== 0 ? O = P / 2 : c === "center" ? O = q.highest.height / 2 - F * P : O = q.highest.height - C * P, d && (O *= -1), g !== 0 && !I.showLabelBackdrop && (x += P / 2 * Math.sin(g))) : (k = M, O = (1 - C) * P / 2);
|
|
4657
|
-
let
|
|
4657
|
+
let he;
|
|
4658
4658
|
if (I.showLabelBackdrop) {
|
|
4659
4659
|
const At = Q(I.backdropPadding), Wt = q.heights[b], _t = q.widths[b];
|
|
4660
4660
|
let Ht = O - At.top, xt = 0 - At.left;
|
|
@@ -4677,7 +4677,7 @@ class Bt extends dt {
|
|
|
4677
4677
|
b === _ - 1 ? xt -= _t : b > 0 && (xt -= _t / 2);
|
|
4678
4678
|
break;
|
|
4679
4679
|
}
|
|
4680
|
-
|
|
4680
|
+
he = {
|
|
4681
4681
|
left: xt,
|
|
4682
4682
|
top: Ht,
|
|
4683
4683
|
width: _t + At.width,
|
|
@@ -4700,7 +4700,7 @@ class Bt extends dt {
|
|
|
4700
4700
|
x,
|
|
4701
4701
|
k
|
|
4702
4702
|
],
|
|
4703
|
-
backdrop:
|
|
4703
|
+
backdrop: he
|
|
4704
4704
|
}
|
|
4705
4705
|
});
|
|
4706
4706
|
}
|
|
@@ -4871,7 +4871,7 @@ class Bt extends dt {
|
|
|
4871
4871
|
return (this.isHorizontal() ? this.width : this.height) / t;
|
|
4872
4872
|
}
|
|
4873
4873
|
}
|
|
4874
|
-
class
|
|
4874
|
+
class ve {
|
|
4875
4875
|
constructor(t, e, s) {
|
|
4876
4876
|
this.type = t, this.scope = e, this.override = s, this.items = /* @__PURE__ */ Object.create(null);
|
|
4877
4877
|
}
|
|
@@ -4916,7 +4916,7 @@ function cl(i) {
|
|
|
4916
4916
|
}
|
|
4917
4917
|
class hl {
|
|
4918
4918
|
constructor() {
|
|
4919
|
-
this.controllers = new
|
|
4919
|
+
this.controllers = new ve(ce, "datasets", !0), this.elements = new ve(dt, "elements"), this.plugins = new ve(Object, "plugins"), this.scales = new ve(Bt, "scales"), this._typedRegistries = [
|
|
4920
4920
|
this.controllers,
|
|
4921
4921
|
this.scales,
|
|
4922
4922
|
this.elements
|
|
@@ -5171,7 +5171,7 @@ function vl(i) {
|
|
|
5171
5171
|
return i = i || {}, i.data = wn(i.data), Sn(i), i;
|
|
5172
5172
|
}
|
|
5173
5173
|
const _s = /* @__PURE__ */ new Map(), Cn = /* @__PURE__ */ new Set();
|
|
5174
|
-
function
|
|
5174
|
+
function Me(i, t) {
|
|
5175
5175
|
let e = _s.get(i);
|
|
5176
5176
|
return e || (e = t(), _s.set(i, e), Cn.add(e)), e;
|
|
5177
5177
|
}
|
|
@@ -5215,7 +5215,7 @@ class Ml {
|
|
|
5215
5215
|
this._scopeCache.clear(), this._resolverCache.clear();
|
|
5216
5216
|
}
|
|
5217
5217
|
datasetScopeKeys(t) {
|
|
5218
|
-
return
|
|
5218
|
+
return Me(t, () => [
|
|
5219
5219
|
[
|
|
5220
5220
|
`datasets.${t}`,
|
|
5221
5221
|
""
|
|
@@ -5223,7 +5223,7 @@ class Ml {
|
|
|
5223
5223
|
]);
|
|
5224
5224
|
}
|
|
5225
5225
|
datasetAnimationScopeKeys(t, e) {
|
|
5226
|
-
return
|
|
5226
|
+
return Me(`${t}.transition.${e}`, () => [
|
|
5227
5227
|
[
|
|
5228
5228
|
`datasets.${t}.transitions.${e}`,
|
|
5229
5229
|
`transitions.${e}`
|
|
@@ -5235,7 +5235,7 @@ class Ml {
|
|
|
5235
5235
|
]);
|
|
5236
5236
|
}
|
|
5237
5237
|
datasetElementScopeKeys(t, e) {
|
|
5238
|
-
return
|
|
5238
|
+
return Me(`${t}-${e}`, () => [
|
|
5239
5239
|
[
|
|
5240
5240
|
`datasets.${t}.elements.${e}`,
|
|
5241
5241
|
`datasets.${t}`,
|
|
@@ -5246,7 +5246,7 @@ class Ml {
|
|
|
5246
5246
|
}
|
|
5247
5247
|
pluginScopeKeys(t) {
|
|
5248
5248
|
const e = t.id, s = this.type;
|
|
5249
|
-
return
|
|
5249
|
+
return Me(`${s}-plugin-${e}`, () => [
|
|
5250
5250
|
[
|
|
5251
5251
|
`plugins.${e}`,
|
|
5252
5252
|
...t.additionalOptionScopes || []
|
|
@@ -5356,9 +5356,9 @@ function Dl(i) {
|
|
|
5356
5356
|
function Dn(i) {
|
|
5357
5357
|
return Mi() && typeof i == "string" ? i = document.getElementById(i) : i && i.length && (i = i[0]), i && i.canvas && (i = i.canvas), i;
|
|
5358
5358
|
}
|
|
5359
|
-
const
|
|
5359
|
+
const Ce = {}, ks = (i) => {
|
|
5360
5360
|
const t = Dn(i);
|
|
5361
|
-
return Object.values(
|
|
5361
|
+
return Object.values(Ce).filter((e) => e.canvas === t).pop();
|
|
5362
5362
|
};
|
|
5363
5363
|
function Pl(i, t, e) {
|
|
5364
5364
|
const s = Object.keys(i);
|
|
@@ -5373,9 +5373,9 @@ function Pl(i, t, e) {
|
|
|
5373
5373
|
function Ol(i, t, e, s) {
|
|
5374
5374
|
return !e || i.type === "mouseout" ? null : s ? t : i;
|
|
5375
5375
|
}
|
|
5376
|
-
let
|
|
5376
|
+
let ae = class {
|
|
5377
5377
|
static defaults = z;
|
|
5378
|
-
static instances =
|
|
5378
|
+
static instances = Ce;
|
|
5379
5379
|
static overrides = Dt;
|
|
5380
5380
|
static registry = nt;
|
|
5381
5381
|
static version = wl;
|
|
@@ -5393,7 +5393,7 @@ let Fe = class {
|
|
|
5393
5393
|
const r = s.createResolver(s.chartOptionScopes(), this.getContext());
|
|
5394
5394
|
this.platform = new (s.platform || Ua(n))(), this.platform.updateConfig(s);
|
|
5395
5395
|
const a = this.platform.acquireContext(n, r.aspectRatio), l = a && a.canvas, c = l && l.height, h = l && l.width;
|
|
5396
|
-
if (this.id = xo(), this.ctx = a, this.canvas = l, this.width = h, this.height = c, this._options = r, this._aspectRatio = this.aspectRatio, this._layers = [], this._metasets = [], this._stacks = void 0, this.boxes = [], this.currentDevicePixelRatio = void 0, this.chartArea = void 0, this._active = [], this._lastEvent = void 0, this._listeners = {}, this._responsiveListeners = void 0, this._sortedMetasets = [], this.scales = {}, this._plugins = new dl(), this.$proxies = {}, this._hiddenIndices = {}, this.attached = !1, this._animationsDisabled = void 0, this.$context = void 0, this._doResize = Bo((d) => this.update(d), r.resizeDelay || 0), this._dataChanges = [],
|
|
5396
|
+
if (this.id = xo(), this.ctx = a, this.canvas = l, this.width = h, this.height = c, this._options = r, this._aspectRatio = this.aspectRatio, this._layers = [], this._metasets = [], this._stacks = void 0, this.boxes = [], this.currentDevicePixelRatio = void 0, this.chartArea = void 0, this._active = [], this._lastEvent = void 0, this._listeners = {}, this._responsiveListeners = void 0, this._sortedMetasets = [], this.scales = {}, this._plugins = new dl(), this.$proxies = {}, this._hiddenIndices = {}, this.attached = !1, this._animationsDisabled = void 0, this.$context = void 0, this._doResize = Bo((d) => this.update(d), r.resizeDelay || 0), this._dataChanges = [], Ce[this.id] = this, !a || !l) {
|
|
5397
5397
|
console.error("Failed to create chart: can't acquire context from the given item");
|
|
5398
5398
|
return;
|
|
5399
5399
|
}
|
|
@@ -5744,7 +5744,7 @@ let Fe = class {
|
|
|
5744
5744
|
destroy() {
|
|
5745
5745
|
this.notifyPlugins("beforeDestroy");
|
|
5746
5746
|
const { canvas: t, ctx: e } = this;
|
|
5747
|
-
this._stop(), this.config.clearCache(), t && (this.unbindEvents(), ji(t, e), this.platform.releaseContext(e), this.canvas = null, this.ctx = null), delete
|
|
5747
|
+
this._stop(), this.config.clearCache(), t && (this.unbindEvents(), ji(t, e), this.platform.releaseContext(e), this.canvas = null, this.ctx = null), delete Ce[this.id], this.notifyPlugins("afterDestroy");
|
|
5748
5748
|
}
|
|
5749
5749
|
toBase64Image(...t) {
|
|
5750
5750
|
return this.canvas.toDataURL(...t);
|
|
@@ -5807,7 +5807,7 @@ let Fe = class {
|
|
|
5807
5807
|
index: r
|
|
5808
5808
|
};
|
|
5809
5809
|
});
|
|
5810
|
-
!
|
|
5810
|
+
!De(s, e) && (this._active = s, this._lastEvent = null, this._updateHoverStyles(s, e));
|
|
5811
5811
|
}
|
|
5812
5812
|
notifyPlugins(t, e, s) {
|
|
5813
5813
|
return this._plugins.notify(this, t, e, s);
|
|
@@ -5842,7 +5842,7 @@ let Fe = class {
|
|
|
5842
5842
|
a,
|
|
5843
5843
|
this
|
|
5844
5844
|
], this));
|
|
5845
|
-
const h = !
|
|
5845
|
+
const h = !De(a, n);
|
|
5846
5846
|
return (h || e) && (this._active = a, this._updateHoverStyles(a, n, e)), this._lastEvent = c, h;
|
|
5847
5847
|
}
|
|
5848
5848
|
_getActiveElements(t, e, s, n) {
|
|
@@ -5855,7 +5855,7 @@ let Fe = class {
|
|
|
5855
5855
|
}
|
|
5856
5856
|
};
|
|
5857
5857
|
function Ss() {
|
|
5858
|
-
return L(
|
|
5858
|
+
return L(ae.instances, (i) => i._plugins.invalidate());
|
|
5859
5859
|
}
|
|
5860
5860
|
function Al(i, t, e) {
|
|
5861
5861
|
const { startAngle: s, x: n, y: o, outerRadius: r, innerRadius: a, options: l } = t, { borderWidth: c, borderJoinStyle: h } = l, d = Math.min(c / r, et(s - e));
|
|
@@ -5904,7 +5904,7 @@ function Rt(i, t, e, s) {
|
|
|
5904
5904
|
y: s + i * Math.sin(t)
|
|
5905
5905
|
};
|
|
5906
5906
|
}
|
|
5907
|
-
function
|
|
5907
|
+
function Le(i, t, e, s, n, o) {
|
|
5908
5908
|
const { x: r, y: a, startAngle: l, pixelMargin: c, innerRadius: h } = t, d = Math.max(t.outerRadius + s + e - c, 0), u = h > 0 ? h + s + e + c : 0;
|
|
5909
5909
|
let f = 0;
|
|
5910
5910
|
const p = n - l;
|
|
@@ -5947,12 +5947,12 @@ function Il(i, t, e, s, n) {
|
|
|
5947
5947
|
const { fullCircles: o, startAngle: r, circumference: a } = t;
|
|
5948
5948
|
let l = t.endAngle;
|
|
5949
5949
|
if (o) {
|
|
5950
|
-
|
|
5950
|
+
Le(i, t, e, s, l, n);
|
|
5951
5951
|
for (let c = 0; c < o; ++c)
|
|
5952
5952
|
i.fill();
|
|
5953
5953
|
isNaN(a) || (l = r + (a % B || B));
|
|
5954
5954
|
}
|
|
5955
|
-
return
|
|
5955
|
+
return Le(i, t, e, s, l, n), i.fill(), l;
|
|
5956
5956
|
}
|
|
5957
5957
|
function El(i, t, e, s, n) {
|
|
5958
5958
|
const { fullCircles: o, startAngle: r, circumference: a, options: l } = t, { borderWidth: c, borderJoinStyle: h, borderDash: d, borderDashOffset: u, borderRadius: f } = l, p = l.borderAlign === "inner";
|
|
@@ -5961,12 +5961,12 @@ function El(i, t, e, s, n) {
|
|
|
5961
5961
|
i.setLineDash(d || []), i.lineDashOffset = u, p ? (i.lineWidth = c * 2, i.lineJoin = h || "round") : (i.lineWidth = c, i.lineJoin = h || "bevel");
|
|
5962
5962
|
let g = t.endAngle;
|
|
5963
5963
|
if (o) {
|
|
5964
|
-
|
|
5964
|
+
Le(i, t, e, s, g, n);
|
|
5965
5965
|
for (let m = 0; m < o; ++m)
|
|
5966
5966
|
i.stroke();
|
|
5967
5967
|
isNaN(a) || (g = r + (a % B || B));
|
|
5968
5968
|
}
|
|
5969
|
-
p && Tl(i, t, g), l.selfJoin && g - r >= T && f === 0 && h !== "miter" && Al(i, t, g), o || (
|
|
5969
|
+
p && Tl(i, t, g), l.selfJoin && g - r >= T && f === 0 && h !== "miter" && Al(i, t, g), o || (Le(i, t, e, s, g, n), i.stroke());
|
|
5970
5970
|
}
|
|
5971
5971
|
class Fl extends dt {
|
|
5972
5972
|
static id = "arc";
|
|
@@ -6369,7 +6369,7 @@ class Ql extends dt {
|
|
|
6369
6369
|
super(), this.options = void 0, this.horizontal = void 0, this.base = void 0, this.width = void 0, this.height = void 0, this.inflateAmount = void 0, t && Object.assign(this, t);
|
|
6370
6370
|
}
|
|
6371
6371
|
draw(t) {
|
|
6372
|
-
const { inflateAmount: e, options: { borderColor: s, backgroundColor: n } } = this, { inner: o, outer: r } = Gl(this), a = Zl(r.radius) ?
|
|
6372
|
+
const { inflateAmount: e, options: { borderColor: s, backgroundColor: n } } = this, { inner: o, outer: r } = Gl(this), a = Zl(r.radius) ? Ae : Jl;
|
|
6373
6373
|
t.save(), (r.w !== o.w || r.h !== o.h) && (t.beginPath(), a(t, Ze(r, e, o)), t.clip(), a(t, Ze(o, -e, r)), t.fillStyle = s, t.fill("evenodd")), t.beginPath(), a(t, Ze(o, e)), t.fillStyle = n, t.fill(), t.restore();
|
|
6374
6374
|
}
|
|
6375
6375
|
inRange(t, e, s) {
|
|
@@ -6573,7 +6573,7 @@ class Os extends dt {
|
|
|
6573
6573
|
on(n, P, C, O, r.pointStyleWidth && p);
|
|
6574
6574
|
} else {
|
|
6575
6575
|
const P = S + Math.max((d - g) / 2, 0), C = l.leftForLtr(k, p), O = It(M.borderRadius);
|
|
6576
|
-
n.beginPath(), Object.values(O).some((N) => N !== 0) ?
|
|
6576
|
+
n.beginPath(), Object.values(O).some((N) => N !== 0) ? Ae(n, {
|
|
6577
6577
|
x: C,
|
|
6578
6578
|
y: P,
|
|
6579
6579
|
w: p,
|
|
@@ -6979,7 +6979,7 @@ function Rs(i, t, e, s) {
|
|
|
6979
6979
|
y: Y(g, 0, s.height - t.height)
|
|
6980
6980
|
};
|
|
6981
6981
|
}
|
|
6982
|
-
function
|
|
6982
|
+
function ke(i, t, e) {
|
|
6983
6983
|
const s = Q(e.padding);
|
|
6984
6984
|
return t === "center" ? i.x + i.width / 2 : t === "right" ? i.x + i.width - s.right : i.x + s.left;
|
|
6985
6985
|
}
|
|
@@ -7156,12 +7156,12 @@ class Es extends dt {
|
|
|
7156
7156
|
let r, a, l;
|
|
7157
7157
|
if (o) {
|
|
7158
7158
|
const c = Et(s.rtl, this.x, this.width);
|
|
7159
|
-
for (t.x =
|
|
7159
|
+
for (t.x = ke(this, s.titleAlign, s), e.textAlign = c.textAlign(s.titleAlign), e.textBaseline = "middle", r = X(s.titleFont), a = s.titleSpacing, e.fillStyle = s.titleColor, e.font = r.string, l = 0; l < o; ++l)
|
|
7160
7160
|
e.fillText(n[l], c.x(t.x), t.y + r.lineHeight / 2), t.y += r.lineHeight + a, l + 1 === o && (t.y += s.titleMarginBottom - a);
|
|
7161
7161
|
}
|
|
7162
7162
|
}
|
|
7163
7163
|
_drawColorBox(t, e, s, n, o) {
|
|
7164
|
-
const r = this.labelColors[s], a = this.labelPointStyles[s], { boxHeight: l, boxWidth: c } = o, h = X(o.bodyFont), d =
|
|
7164
|
+
const r = this.labelColors[s], a = this.labelPointStyles[s], { boxHeight: l, boxWidth: c } = o, h = X(o.bodyFont), d = ke(this, "left", o), u = n.x(d), f = l < h.lineHeight ? (h.lineHeight - l) / 2 : 0, p = e.y + f;
|
|
7165
7165
|
if (o.usePointStyle) {
|
|
7166
7166
|
const g = {
|
|
7167
7167
|
radius: Math.min(c, l) / 2,
|
|
@@ -7173,13 +7173,13 @@ class Es extends dt {
|
|
|
7173
7173
|
} else {
|
|
7174
7174
|
t.lineWidth = A(r.borderWidth) ? Math.max(...Object.values(r.borderWidth)) : r.borderWidth || 1, t.strokeStyle = r.borderColor, t.setLineDash(r.borderDash || []), t.lineDashOffset = r.borderDashOffset || 0;
|
|
7175
7175
|
const g = n.leftForLtr(u, c), m = n.leftForLtr(n.xPlus(u, 1), c - 2), b = It(r.borderRadius);
|
|
7176
|
-
Object.values(b).some((_) => _ !== 0) ? (t.beginPath(), t.fillStyle = o.multiKeyBackground,
|
|
7176
|
+
Object.values(b).some((_) => _ !== 0) ? (t.beginPath(), t.fillStyle = o.multiKeyBackground, Ae(t, {
|
|
7177
7177
|
x: g,
|
|
7178
7178
|
y: p,
|
|
7179
7179
|
w: c,
|
|
7180
7180
|
h: l,
|
|
7181
7181
|
radius: b
|
|
7182
|
-
}), t.fill(), t.stroke(), t.fillStyle = r.backgroundColor, t.beginPath(),
|
|
7182
|
+
}), t.fill(), t.stroke(), t.fillStyle = r.backgroundColor, t.beginPath(), Ae(t, {
|
|
7183
7183
|
x: m,
|
|
7184
7184
|
y: p + 1,
|
|
7185
7185
|
w: c - 2,
|
|
@@ -7196,7 +7196,7 @@ class Es extends dt {
|
|
|
7196
7196
|
e.fillText(M, p.x(t.x + f), t.y + u / 2), t.y += u + o;
|
|
7197
7197
|
}, m = p.textAlign(r);
|
|
7198
7198
|
let b, _, y, v, x, k, S;
|
|
7199
|
-
for (e.textAlign = r, e.textBaseline = "middle", e.font = d.string, t.x =
|
|
7199
|
+
for (e.textAlign = r, e.textBaseline = "middle", e.font = d.string, t.x = ke(this, m, s), e.fillStyle = s.bodyColor, L(this.beforeBody, g), f = a && m !== "right" ? r === "center" ? c / 2 + h : c + 2 + h : 0, v = 0, k = n.length; v < k; ++v) {
|
|
7200
7200
|
for (b = n[v], _ = this.labelTextColors[v], e.fillStyle = _, L(b.before, g), y = b.lines, a && y.length && (this._drawColorBox(e, t, v, p, s), u = Math.max(d.lineHeight, l)), x = 0, S = y.length; x < S; ++x)
|
|
7201
7201
|
g(y[x]), u = d.lineHeight;
|
|
7202
7202
|
L(b.after, g);
|
|
@@ -7208,7 +7208,7 @@ class Es extends dt {
|
|
|
7208
7208
|
let r, a;
|
|
7209
7209
|
if (o) {
|
|
7210
7210
|
const l = Et(s.rtl, this.x, this.width);
|
|
7211
|
-
for (t.x =
|
|
7211
|
+
for (t.x = ke(this, s.footerAlign, s), t.y += s.footerMarginTop, e.textAlign = l.textAlign(s.footerAlign), e.textBaseline = "middle", r = X(s.footerFont), e.fillStyle = s.footerColor, e.font = r.string, a = 0; a < o; ++a)
|
|
7212
7212
|
e.fillText(n[a], l.x(t.x), t.y + r.lineHeight / 2), t.y += r.lineHeight + s.footerSpacing;
|
|
7213
7213
|
}
|
|
7214
7214
|
}
|
|
@@ -7259,14 +7259,14 @@ class Es extends dt {
|
|
|
7259
7259
|
element: c.data[l],
|
|
7260
7260
|
index: l
|
|
7261
7261
|
};
|
|
7262
|
-
}), o = !
|
|
7262
|
+
}), o = !De(s, n), r = this._positionChanged(n, e);
|
|
7263
7263
|
(o || r) && (this._active = n, this._eventPosition = e, this._ignoreReplayEvents = !0, this.update(!0));
|
|
7264
7264
|
}
|
|
7265
7265
|
handleEvent(t, e, s = !0) {
|
|
7266
7266
|
if (e && this._ignoreReplayEvents)
|
|
7267
7267
|
return !1;
|
|
7268
7268
|
this._ignoreReplayEvents = !1;
|
|
7269
|
-
const n = this.options, o = this._active || [], r = this._getActiveElements(t, o, e, s), a = this._positionChanged(r, t), l = e || !
|
|
7269
|
+
const n = this.options, o = this._active || [], r = this._getActiveElements(t, o, e, s), a = this._positionChanged(r, t), l = e || !De(r, o) || a;
|
|
7270
7270
|
return l && (this._active = r, (n.enabled || n.external) && (this._eventPosition = {
|
|
7271
7271
|
x: t.x,
|
|
7272
7272
|
y: t.y
|
|
@@ -7573,7 +7573,7 @@ class Pc extends Bt {
|
|
|
7573
7573
|
this._startValue = e, this._endValue = s, this._valueRange = s - e;
|
|
7574
7574
|
}
|
|
7575
7575
|
getLabelForValue(t) {
|
|
7576
|
-
return
|
|
7576
|
+
return Ie(t, this.chart.options.locale, this.options.ticks.format);
|
|
7577
7577
|
}
|
|
7578
7578
|
}
|
|
7579
7579
|
class Oc extends Pc {
|
|
@@ -7865,7 +7865,7 @@ class js extends Bt {
|
|
|
7865
7865
|
return tn(t.sort(Bs));
|
|
7866
7866
|
}
|
|
7867
7867
|
}
|
|
7868
|
-
function
|
|
7868
|
+
function Se(i, t, e) {
|
|
7869
7869
|
let s = 0, n = i.length - 1, o, r, a, l;
|
|
7870
7870
|
e ? (t >= i[s].pos && t <= i[n].pos && ({ lo: s, hi: n } = wt(i, "pos", t)), { pos: o, time: a } = i[s], { pos: r, time: l } = i[n]) : (t >= i[s].time && t <= i[n].time && ({ lo: s, hi: n } = wt(i, "time", t)), { time: o, pos: a } = i[s], { time: r, pos: l } = i[n]);
|
|
7871
7871
|
const c = r - o;
|
|
@@ -7879,7 +7879,7 @@ class Zc extends js {
|
|
|
7879
7879
|
}
|
|
7880
7880
|
initOffsets() {
|
|
7881
7881
|
const t = this._getTimestampsForTable(), e = this._table = this.buildLookupTable(t);
|
|
7882
|
-
this._minPos =
|
|
7882
|
+
this._minPos = Se(e, this.min), this._tableRange = Se(e, this.max) - this._minPos, super.initOffsets(t);
|
|
7883
7883
|
}
|
|
7884
7884
|
buildLookupTable(t) {
|
|
7885
7885
|
const { min: e, max: s } = this, n = [], o = [];
|
|
@@ -7917,11 +7917,11 @@ class Zc extends js {
|
|
|
7917
7917
|
return e.length && s.length ? t = this.normalize(e.concat(s)) : t = e.length ? e : s, t = this._cache.all = t, t;
|
|
7918
7918
|
}
|
|
7919
7919
|
getDecimalForValue(t) {
|
|
7920
|
-
return (
|
|
7920
|
+
return (Se(this._table, t) - this._minPos) / this._tableRange;
|
|
7921
7921
|
}
|
|
7922
7922
|
getValueForPixel(t) {
|
|
7923
7923
|
const e = this._offsets, s = this.getDecimalForPixel(t) / e.factor - e.end;
|
|
7924
|
-
return
|
|
7924
|
+
return Se(this._table, s * this._tableRange + this._minPos, !0);
|
|
7925
7925
|
}
|
|
7926
7926
|
}
|
|
7927
7927
|
const Fn = {
|
|
@@ -8008,7 +8008,7 @@ const Wc = li({
|
|
|
8008
8008
|
const r = () => {
|
|
8009
8009
|
if (!n.value) return;
|
|
8010
8010
|
const { type: c, data: h, options: d, plugins: u, datasetIdKey: f } = i, p = Bc(h, f), g = Fc(p, h);
|
|
8011
|
-
o.value = new
|
|
8011
|
+
o.value = new ae(n.value, {
|
|
8012
8012
|
type: c,
|
|
8013
8013
|
data: g,
|
|
8014
8014
|
options: {
|
|
@@ -8059,7 +8059,7 @@ const Wc = li({
|
|
|
8059
8059
|
}
|
|
8060
8060
|
});
|
|
8061
8061
|
function wi(i, t) {
|
|
8062
|
-
return
|
|
8062
|
+
return ae.register(t), li({
|
|
8063
8063
|
props: Fn,
|
|
8064
8064
|
setup(e, s) {
|
|
8065
8065
|
let { expose: n } = s;
|
|
@@ -8088,7 +8088,7 @@ const Hc = /* @__PURE__ */ wi("bar", ma), Vc = /* @__PURE__ */ wi("line", _a), N
|
|
|
8088
8088
|
},
|
|
8089
8089
|
setup(i) {
|
|
8090
8090
|
const t = i, e = Be(() => t.type === "Pie" ? Nc : t.type === "Line" ? Vc : Hc), s = Be(() => t.isShowLegend), n = Be(() => t.type === "Line" ? "inner" : "center");
|
|
8091
|
-
|
|
8091
|
+
ae.register(
|
|
8092
8092
|
gc,
|
|
8093
8093
|
Mc,
|
|
8094
8094
|
Ql,
|
|
@@ -8099,7 +8099,7 @@ const Hc = /* @__PURE__ */ wi("bar", ma), Vc = /* @__PURE__ */ wi("line", _a), N
|
|
|
8099
8099
|
Xl,
|
|
8100
8100
|
Ul,
|
|
8101
8101
|
uc
|
|
8102
|
-
);
|
|
8102
|
+
), ae.defaults.font.family = "base";
|
|
8103
8103
|
const o = {
|
|
8104
8104
|
labels: [...t.labels],
|
|
8105
8105
|
datasets: [...t.datasets]
|