@cocoar/vue-calendar 3.1.0 → 3.2.0-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -8
- package/dist/builders/calendar-builder-config.d.ts +181 -0
- package/dist/builders/calendar-builder-config.d.ts.map +1 -0
- package/dist/builders/calendar-builder-handlers.d.ts +50 -0
- package/dist/builders/calendar-builder-handlers.d.ts.map +1 -0
- package/dist/builders/calendar-builder-internals.d.ts +18 -2
- package/dist/builders/calendar-builder-internals.d.ts.map +1 -1
- package/dist/builders/calendar-builder-state.d.ts +234 -0
- package/dist/builders/calendar-builder-state.d.ts.map +1 -0
- package/dist/builders/calendar-builder.d.ts +41 -452
- package/dist/builders/calendar-builder.d.ts.map +1 -1
- package/dist/builders/internal/event-validation.d.ts +13 -0
- package/dist/builders/internal/event-validation.d.ts.map +1 -0
- package/dist/builders/internal/events-for-window.d.ts +6 -0
- package/dist/builders/internal/events-for-window.d.ts.map +1 -0
- package/dist/builders/internal/loader-pipeline.d.ts +50 -0
- package/dist/builders/internal/loader-pipeline.d.ts.map +1 -0
- package/dist/builders/internal/loading-tracker.d.ts +12 -0
- package/dist/builders/internal/loading-tracker.d.ts.map +1 -0
- package/dist/builders/internal/navigation.d.ts +28 -0
- package/dist/builders/internal/navigation.d.ts.map +1 -0
- package/dist/builders/internal/range-label.d.ts +7 -0
- package/dist/builders/internal/range-label.d.ts.map +1 -0
- package/dist/builders/internal/series-pipeline.d.ts +67 -0
- package/dist/builders/internal/series-pipeline.d.ts.map +1 -0
- package/dist/builders/internal/window-utils.d.ts +44 -0
- package/dist/builders/internal/window-utils.d.ts.map +1 -0
- package/dist/builders/types.d.ts +30 -3
- package/dist/builders/types.d.ts.map +1 -1
- package/dist/components/CoarAgendaView.vue.d.ts +35 -0
- package/dist/components/CoarAgendaView.vue.d.ts.map +1 -1
- package/dist/components/CoarCalendar.vue.d.ts +46 -1
- package/dist/components/CoarCalendar.vue.d.ts.map +1 -1
- package/dist/components/CoarContinuousMonthView.vue.d.ts +7 -0
- package/dist/components/CoarContinuousMonthView.vue.d.ts.map +1 -1
- package/dist/components/CoarDayView.vue.d.ts +16 -2
- package/dist/components/CoarDayView.vue.d.ts.map +1 -1
- package/dist/components/CoarMonthListView.vue.d.ts.map +1 -1
- package/dist/components/CoarMonthView.vue.d.ts.map +1 -1
- package/dist/components/CoarTimeGrid.vue.d.ts +33 -7
- package/dist/components/CoarTimeGrid.vue.d.ts.map +1 -1
- package/dist/components/CoarTimelineView.vue.d.ts.map +1 -1
- package/dist/components/CoarWeekView.vue.d.ts.map +1 -1
- package/dist/components/CoarWorkWeekView.vue.d.ts +1 -2
- package/dist/components/CoarWorkWeekView.vue.d.ts.map +1 -1
- package/dist/components/CoarYearView.vue.d.ts.map +1 -1
- package/dist/components/VirtualizedSurface1DY.vue.d.ts.map +1 -1
- package/dist/components/internal/CoarEventDecorations.vue.d.ts.map +1 -1
- package/dist/components/internal/agenda/agendaTimeLabel.d.ts +4 -0
- package/dist/components/internal/agenda/agendaTimeLabel.d.ts.map +1 -0
- package/dist/components/internal/month/CoarMonthBar.vue.d.ts +2 -0
- package/dist/components/internal/month/CoarMonthBar.vue.d.ts.map +1 -1
- package/dist/components/internal/month/CoarMonthCell.vue.d.ts +20 -13
- package/dist/components/internal/month/CoarMonthCell.vue.d.ts.map +1 -1
- package/dist/components/internal/month/CoarMonthDayOverlay.vue.d.ts +51 -0
- package/dist/components/internal/month/CoarMonthDayOverlay.vue.d.ts.map +1 -0
- package/dist/components/internal/month/CoarMonthPill.vue.d.ts +2 -0
- package/dist/components/internal/month/CoarMonthPill.vue.d.ts.map +1 -1
- package/dist/components/internal/month/CoarMonthRow.vue.d.ts +4 -4
- package/dist/components/internal/month/CoarMonthRow.vue.d.ts.map +1 -1
- package/dist/components/internal/originatesFromEvent.d.ts +18 -0
- package/dist/components/internal/originatesFromEvent.d.ts.map +1 -0
- package/dist/components/internal/time-grid/CoarTimeGridAllDayBand.vue.d.ts +15 -1
- package/dist/components/internal/time-grid/CoarTimeGridAllDayBand.vue.d.ts.map +1 -1
- package/dist/components/internal/time-grid/CoarTimeGridAllDayBar.vue.d.ts +2 -0
- package/dist/components/internal/time-grid/CoarTimeGridAllDayBar.vue.d.ts.map +1 -1
- package/dist/components/internal/time-grid/CoarTimeGridAllDayOverflow.vue.d.ts +27 -0
- package/dist/components/internal/time-grid/CoarTimeGridAllDayOverflow.vue.d.ts.map +1 -0
- package/dist/components/internal/time-grid/CoarTimeGridColumn.vue.d.ts +2 -0
- package/dist/components/internal/time-grid/CoarTimeGridColumn.vue.d.ts.map +1 -1
- package/dist/components/internal/time-grid/CoarTimeGridEvent.vue.d.ts +12 -1
- package/dist/components/internal/time-grid/CoarTimeGridEvent.vue.d.ts.map +1 -1
- package/dist/components/internal/time-grid/CoarTimeGridHeader.vue.d.ts +12 -1
- package/dist/components/internal/time-grid/CoarTimeGridHeader.vue.d.ts.map +1 -1
- package/dist/components/internal/time-grid/CoarTimeGridSurface.vue.d.ts +53 -0
- package/dist/components/internal/time-grid/CoarTimeGridSurface.vue.d.ts.map +1 -0
- package/dist/composables/useMonthDayOverlay.d.ts +34 -0
- package/dist/composables/useMonthDayOverlay.d.ts.map +1 -0
- package/dist/composables/useMonthGeometry.d.ts +39 -0
- package/dist/composables/useMonthGeometry.d.ts.map +1 -0
- package/dist/composables/useMonthMetrics.d.ts +32 -0
- package/dist/composables/useMonthMetrics.d.ts.map +1 -0
- package/dist/composables/useTimeGridSwipe.d.ts +47 -0
- package/dist/composables/useTimeGridSwipe.d.ts.map +1 -0
- package/dist/composables/useViewWindow.d.ts +4 -2
- package/dist/composables/useViewWindow.d.ts.map +1 -1
- package/dist/core/allDayBandCap.d.ts +41 -0
- package/dist/core/allDayBandCap.d.ts.map +1 -0
- package/dist/core/eventTextContrast.d.ts +53 -2
- package/dist/core/eventTextContrast.d.ts.map +1 -1
- package/dist/core/index.d.ts +6 -2
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/monthGridLayout.d.ts +43 -1
- package/dist/core/monthGridLayout.d.ts.map +1 -1
- package/dist/core/rangeLabel.d.ts +14 -0
- package/dist/core/rangeLabel.d.ts.map +1 -0
- package/dist/core/timeGridRange.d.ts +50 -0
- package/dist/core/timeGridRange.d.ts.map +1 -0
- package/dist/core/timedCardAnatomy.d.ts +47 -0
- package/dist/core/timedCardAnatomy.d.ts.map +1 -0
- package/dist/core/viewWindow.d.ts +17 -4
- package/dist/core/viewWindow.d.ts.map +1 -1
- package/dist/{core-CiKX2hZM.js → core-DNwsMOSU.js} +329 -80
- package/dist/core.js +2 -2
- package/dist/i18n/messages.d.ts +16 -0
- package/dist/i18n/messages.d.ts.map +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2927 -1873
- package/dist/vue-calendar.css +1 -1
- package/package.json +4 -3
- package/dist/composables/useMonthExpansion.d.ts +0 -37
- package/dist/composables/useMonthExpansion.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarTimelineView.vue.d.ts","sourceRoot":"","sources":["../../src/components/CoarTimelineView.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoarTimelineView.vue.d.ts","sourceRoot":"","sources":["../../src/components/CoarTimelineView.vue"],"names":[],"mappings":"AA8tBA,OAAO,EACL,QAAQ,EAGR,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,UAAU,EAChB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;yBAG9C,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/E,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,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,OAAO,CAAA;SAAE,GAAG,OAAO;;UA0f1F,EAAE;EAEL,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAvhBzE,wBAuhB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarWeekView.vue.d.ts","sourceRoot":"","sources":["../../src/components/CoarWeekView.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoarWeekView.vue.d.ts","sourceRoot":"","sources":["../../src/components/CoarWeekView.vue"],"names":[],"mappings":"AAkEA,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;yBAE9C,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/E,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA2HO,mBAAmB,CAAC;iBA1HE,eAAe,CAAC,KAAK,CAAC;mBA0H0C,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;QA3G7C,+CAA+C;2BAC5B;YAAE,KAAK,EAAE,QAAQ,CAAC,SAAS,C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icProps;
|
|
7
7
|
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
8
|
-
/** First and last visible date (inclusive).
|
|
9
|
-
* `workDays` is empty. */
|
|
8
|
+
/** First and last visible date (inclusive). `null` when `workDays` is empty. */
|
|
10
9
|
getVisibleRange(): {
|
|
11
10
|
start: Temporal.PlainDate;
|
|
12
11
|
end: Temporal.PlainDate;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarWorkWeekView.vue.d.ts","sourceRoot":"","sources":["../../src/components/CoarWorkWeekView.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoarWorkWeekView.vue.d.ts","sourceRoot":"","sources":["../../src/components/CoarWorkWeekView.vue"],"names":[],"mappings":"AAqEA,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;yBAE9C,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/E,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAyHO,mBAAmB,CAAC;iBAxHE,eAAe,CAAC,KAAK,CAAC;mBAwH0C,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;QAzG7C,gFAAgF;2BAC7D;YAAE,KAAK,EAAE,QAAQ,CAAC,SAAS,CAAC;YAAC,GAAG,EAAE,QAAQ,CAAC,SAAS,CAAA;SAAE,GAAG,IAAI;MAwGb,GAAG,IAAI;WACpE,GAAG;;sBAtHK;YAAE,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;YAAC,MAAM,EAAE,eAAe,CAAC,KAAK,CAAC,CAAA;SAAE,GAAG,OAAO;4BACnE;YAAE,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;YAAC,MAAM,EAAE,SAAS,CAAC,KAAK,CAAC,CAAA;SAAE,GAAG,OAAO;0BACrE;YAAE,IAAI,EAAE,QAAQ,CAAC,SAAS,CAAC;YAAC,OAAO,EAAE,OAAO,CAAC;YAAC,SAAS,EAAE,OAAO,CAAA;SAAE,GAAG,OAAO;;sBAFhF;YAAE,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;YAAC,MAAM,EAAE,eAAe,CAAC,KAAK,CAAC,CAAA;SAAE,GAAG,OAAO;4BACnE;YAAE,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;YAAC,MAAM,EAAE,SAAS,CAAC,KAAK,CAAC,CAAA;SAAE,GAAG,OAAO;0BACrE;YAAE,IAAI,EAAE,QAAQ,CAAC,SAAS,CAAC;YAAC,OAAO,EAAE,OAAO,CAAC;YAAC,SAAS,EAAE,OAAO,CAAA;SAAE,GAAG,OAAO;;UAsHzF,EAAE;EAEL,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AApIzE,wBAoI4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarYearView.vue.d.ts","sourceRoot":"","sources":["../../src/components/CoarYearView.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoarYearView.vue.d.ts","sourceRoot":"","sources":["../../src/components/CoarYearView.vue"],"names":[],"mappings":"AAiKA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;yBAG9C,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/E,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA6JO,mBAAmB,CAAC;iBA5JE,eAAe,CAAC,KAAK,CAAC;mBA4J0C,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;UAEJ,EAAE;EAEL,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAxKzE,wBAwK4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VirtualizedSurface1DY.vue.d.ts","sourceRoot":"","sources":["../../src/components/VirtualizedSurface1DY.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"VirtualizedSurface1DY.vue.d.ts","sourceRoot":"","sources":["../../src/components/VirtualizedSurface1DY.vue"],"names":[],"mappings":"AAukBA,OAAO,EACL,gBAAgB,EAGhB,KAAK,OAAO,EACb,MAAM,SAAS,CAAC;AAIjB,KAAK,WAAW,GAAG;IACf,iDAAiD;IACjD,SAAS,EAAE,MAAM,CAAC;IAClB,mEAAmE;IACnE,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;CACjC,CAAC;AA6bJ,iBAAS,cAAc;WAgDT,OAAO,IAA6B;;;;YAXxB,GAAG;;;;;;EAgB5B;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;IAvMnB;;;;;;;OAOG;;IAEH,+EAA+E;;IAE/E;;;;;OAKG;4BACqB,MAAM;IAW9B,wEAAwE;yBACnD,MAAM,aAAY,cAAc;IAMrD;;;;;;;;;OASG;oBACW,gBAAgB;;;;;;;;YA1WnB,MAAM,GAAG,MAAM,GAAG,IAAI;mBAXf,MAAM;cAMX,MAAM;;;kBAohBnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarEventDecorations.vue.d.ts","sourceRoot":"","sources":["../../../src/components/internal/CoarEventDecorations.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoarEventDecorations.vue.d.ts","sourceRoot":"","sources":["../../../src/components/internal/CoarEventDecorations.vue"],"names":[],"mappings":"AA+IA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGhD,UAAU,KAAK;IACb,KAAK,EAAE,aAAa,CAAC;IACrB,6EAA6E;IAC7E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+EAA+E;IAC/E,IAAI,CAAC,EAAE,IAAI,GAAG,GAAG,CAAC;CACnB;;iBAHe,MAAM;UAEb,IAAI,GAAG,GAAG;;AA8HnB,wBAOG"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CalendarEvent } from '../../../core';
|
|
2
|
+
export declare const AGENDA_SPAN_SEPARATOR = " \u2013 ";
|
|
3
|
+
export declare function agendaTimeLabel<TMeta extends Record<string, unknown>>(event: CalendarEvent<TMeta>, formatTime: (epochMilliseconds: number) => string, allDayLabel: string): string;
|
|
4
|
+
//# sourceMappingURL=agendaTimeLabel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agendaTimeLabel.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/agenda/agendaTimeLabel.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAGnD,eAAO,MAAM,qBAAqB,aAAQ,CAAC;AAE3C,wBAAgB,eAAe,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACnE,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,EAC3B,UAAU,EAAE,CAAC,iBAAiB,EAAE,MAAM,KAAK,MAAM,EACjD,WAAW,EAAE,MAAM,GAClB,MAAM,CAMR"}
|
|
@@ -11,6 +11,8 @@ declare const _default: <TMeta extends Record<string, unknown> = Record<string,
|
|
|
11
11
|
bar: MonthMultiDayBar<TMeta>;
|
|
12
12
|
variant?: "live" | "preview" | "phantom" | "invalid";
|
|
13
13
|
bg: string;
|
|
14
|
+
/** Text colour resolved by the parent (policy + `meta.textColor`). Falls back to WCAG on `bg`. */
|
|
15
|
+
ink?: string;
|
|
14
16
|
border: string;
|
|
15
17
|
title: string;
|
|
16
18
|
/** Display zone — surfaced on the default decoration layer (C3/C5 hints). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarMonthBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/month/CoarMonthBar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoarMonthBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/month/CoarMonthBar.vue"],"names":[],"mappings":"AA0UA,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;yBAKpD,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/E,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAySO,mBAAmB,CAAC;;;;;;;eArSjB,aAAa,CAAC,KAAK,CAAC;aACtB,gBAAgB,CAAC,KAAK,CAAC;kBAClB,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS;YAChD,MAAM;QACV,kGAAkG;cAC5F,MAAM;gBACJ,MAAM;eACP,MAAM;QACb,6EAA6E;sBAC/D,MAAM;oBACR,MAAM;uBACH,OAAO;kBACZ,aAAa,GAAG,SAAS,GAAG,UAAU;QAEhD,4CAA4C;aACvC,MAAM;QACX,kEAAkE;cAC5D,MAAM;QACZ,mEAAmE;eAC5D,MAAM;QACb,oBAAoB;gBACZ,MAAM;QACd,gEAAgE;gBACxD,MAAM;QAEd,kEAAkE;uBACnD,OAAO;QACtB,gEAAgE;qBACnD,OAAO;QACpB;;;WAGG;oBACS,OAAO;mBAoQuE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;uBAxOM;YAAE,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;YAAC,GAAG,EAAE,gBAAgB,CAAC,KAAK,CAAC,CAAA;SAAE,GAAG,OAAO;;uBAAvE;YAAE,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;YAAC,GAAG,EAAE,gBAAgB,CAAC,KAAK,CAAC,CAAA;SAAE,GAAG,OAAO;;;EA4OpF,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AApTzE,wBAoT4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -15,12 +15,17 @@ interface Props {
|
|
|
15
15
|
*/
|
|
16
16
|
pillsMarginTopPx: number;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
19
|
-
*
|
|
18
|
+
* Single-day events the parent folded away because the cell's
|
|
19
|
+
* pill cap was reached. `0` renders no marker.
|
|
20
20
|
*/
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
|
|
21
|
+
overflowCount?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Accessible name of the "+N" button ("3 more events"). Parent
|
|
24
|
+
* supplies the i18n string.
|
|
25
|
+
*/
|
|
26
|
+
overflowLabel?: string;
|
|
27
|
+
/** `true` while this cell's day sheet is open (`aria-expanded`). */
|
|
28
|
+
overlayOpen?: boolean;
|
|
24
29
|
density?: 'comfortable' | 'compact' | 'spacious';
|
|
25
30
|
/**
|
|
26
31
|
* `aria-rowindex` for the cell — counts from 1, with row 1 being
|
|
@@ -37,13 +42,13 @@ declare function __VLS_template(): {
|
|
|
37
42
|
slots: Readonly<{
|
|
38
43
|
/**
|
|
39
44
|
* Pills (and source-phantom / invalid ghost). Rendered inside
|
|
40
|
-
* the pills container
|
|
45
|
+
* the pills container above the "+N" marker.
|
|
41
46
|
*/
|
|
42
47
|
default(): unknown;
|
|
43
48
|
}> & {
|
|
44
49
|
/**
|
|
45
50
|
* Pills (and source-phantom / invalid ghost). Rendered inside
|
|
46
|
-
* the pills container
|
|
51
|
+
* the pills container above the "+N" marker.
|
|
47
52
|
*/
|
|
48
53
|
default(): unknown;
|
|
49
54
|
};
|
|
@@ -53,19 +58,21 @@ declare function __VLS_template(): {
|
|
|
53
58
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
54
59
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
55
60
|
cellPointerdown: (native: PointerEvent, day: Temporal.PlainDate) => any;
|
|
56
|
-
|
|
57
|
-
|
|
61
|
+
cellDblclick: (native: MouseEvent, day: Temporal.PlainDate) => any;
|
|
62
|
+
overflowClick: (native: MouseEvent, day: Temporal.PlainDate) => any;
|
|
58
63
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
59
64
|
onCellPointerdown?: ((native: PointerEvent, day: Temporal.PlainDate) => any) | undefined;
|
|
60
|
-
|
|
61
|
-
|
|
65
|
+
onCellDblclick?: ((native: MouseEvent, day: Temporal.PlainDate) => any) | undefined;
|
|
66
|
+
onOverflowClick?: ((native: MouseEvent, day: Temporal.PlainDate) => any) | undefined;
|
|
62
67
|
}>, {
|
|
63
|
-
placeholder: boolean;
|
|
64
68
|
density: "comfortable" | "compact" | "spacious";
|
|
69
|
+
placeholder: boolean;
|
|
65
70
|
isToday: boolean;
|
|
66
71
|
isWeekend: boolean;
|
|
67
72
|
isOtherMonth: boolean;
|
|
68
|
-
|
|
73
|
+
overflowCount: number;
|
|
74
|
+
overflowLabel: string;
|
|
75
|
+
overlayOpen: boolean;
|
|
69
76
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
70
77
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
71
78
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarMonthCell.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/month/CoarMonthCell.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoarMonthCell.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/month/CoarMonthCell.vue"],"names":[],"mappings":"AAkRA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,UAAU,KAAK;IACb,GAAG,EAAE,QAAQ,CAAC,SAAS,CAAC;IACxB,2EAA2E;IAC3E,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iEAAiE;IACjE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oEAAoE;IACpE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,aAAa,GAAG,SAAS,GAAG,UAAU,CAAC;IACjD;;;OAGG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB,2CAA2C;IAC3C,YAAY,EAAE,MAAM,CAAC;IACrB,qDAAqD;IACrD,SAAS,EAAE,MAAM,CAAC;CACnB;AA4DD,iBAAS,cAAc;WA+ET,OAAO,IAA6B;;QA9GhD;;;WAGG;mBACQ,OAAO;;QAJlB;;;WAGG;mBACQ,OAAO;;;;EA+GnB;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;aAxKT,aAAa,GAAG,SAAS,GAAG,UAAU;iBAnBlC,OAAO;aAJX,OAAO;eAEL,OAAO;kBADJ,OAAO;mBAcN,MAAM;mBAKN,MAAM;iBAER,OAAO;wFAkLrB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
/** Day number for the header — mirrors the covered cell. */
|
|
3
|
+
dayNumber: number;
|
|
4
|
+
/** Short header text next to the number, e.g. "Mo., 15. Juni". */
|
|
5
|
+
heading: string;
|
|
6
|
+
/** Localized long date — the dialog's accessible name. */
|
|
7
|
+
label: string;
|
|
8
|
+
closeLabel: string;
|
|
9
|
+
/** Position inside the month view's box, in px. */
|
|
10
|
+
top: number;
|
|
11
|
+
left: number;
|
|
12
|
+
width: number;
|
|
13
|
+
/** Upper bound for the list before it scrolls, in px. */
|
|
14
|
+
maxListHeight: number;
|
|
15
|
+
isToday?: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare function __VLS_template(): {
|
|
18
|
+
attrs: Partial<{}>;
|
|
19
|
+
slots: Readonly<{
|
|
20
|
+
/** The day's pills (live, phantom, invalid ghost). */
|
|
21
|
+
default(): unknown;
|
|
22
|
+
}> & {
|
|
23
|
+
/** The day's pills (live, phantom, invalid ghost). */
|
|
24
|
+
default(): unknown;
|
|
25
|
+
};
|
|
26
|
+
refs: {
|
|
27
|
+
root: HTMLDivElement;
|
|
28
|
+
};
|
|
29
|
+
rootEl: HTMLDivElement;
|
|
30
|
+
};
|
|
31
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
32
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
33
|
+
/** Root element — the parent's outside-click test needs it. */
|
|
34
|
+
el: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
35
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
36
|
+
close: () => any;
|
|
37
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
38
|
+
onClose?: (() => any) | undefined;
|
|
39
|
+
}>, {
|
|
40
|
+
isToday: boolean;
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
42
|
+
root: HTMLDivElement;
|
|
43
|
+
}, HTMLDivElement>;
|
|
44
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
45
|
+
export default _default;
|
|
46
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
47
|
+
new (): {
|
|
48
|
+
$slots: S;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=CoarMonthDayOverlay.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CoarMonthDayOverlay.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/month/CoarMonthDayOverlay.vue"],"names":[],"mappings":"AAkNA,UAAU,KAAK;IACb,4DAA4D;IAC5D,SAAS,EAAE,MAAM,CAAC;IAClB,kEAAkE;IAClE,OAAO,EAAE,MAAM,CAAC;IAChB,0DAA0D;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,mDAAmD;IACnD,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,yDAAyD;IACzD,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AA0CD,iBAAS,cAAc;WA6ET,OAAO,IAA6B;;QA5GhD,sDAAsD;mBAC3C,OAAO;;QADlB,sDAAsD;mBAC3C,OAAO;;;;;;EAgHnB;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;IA3GnB,+DAA+D;;;;;;;aAhCrD,OAAO;;;kBAsJjB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -9,6 +9,8 @@ declare const _default: <TMeta extends Record<string, unknown> = Record<string,
|
|
|
9
9
|
pill: MonthCellPill<TMeta>;
|
|
10
10
|
variant?: "live" | "preview" | "phantom" | "invalid";
|
|
11
11
|
bg: string;
|
|
12
|
+
/** Text colour resolved by the parent (policy + `meta.textColor`). Falls back to WCAG on `bg`. */
|
|
13
|
+
ink?: string;
|
|
12
14
|
border: string;
|
|
13
15
|
title: string;
|
|
14
16
|
/** Display zone — surfaced on the default decoration layer (C3/C5 hints). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarMonthPill.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/month/CoarMonthPill.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoarMonthPill.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/month/CoarMonthPill.vue"],"names":[],"mappings":"AA0QA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;yBAKjD,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CA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C,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Owns:
|
|
6
6
|
* - the 7-column CSS grid that lines up day cells across the week
|
|
7
|
-
* - the row's pixel height (set inline
|
|
8
|
-
*
|
|
7
|
+
* - the row's pixel height (set inline; base height per month
|
|
8
|
+
* density plus the week's multi-day lane band)
|
|
9
9
|
* - the `position: relative` containing block that lets multi-day
|
|
10
10
|
* bars overlay across cells via absolute positioning
|
|
11
11
|
*
|
|
12
|
-
* Does NOT own: cells, bars, dnd,
|
|
12
|
+
* Does NOT own: cells, bars, dnd, the pill cap. Those are
|
|
13
13
|
* passed in as slot content.
|
|
14
14
|
*
|
|
15
15
|
* Lives in `internal/` — NOT exported from the package barrel.
|
|
16
16
|
*/
|
|
17
17
|
interface Props {
|
|
18
18
|
/** Pixel height for the entire row (computed by the parent
|
|
19
|
-
* from the multi-day-bar lane count
|
|
19
|
+
* from the month density + multi-day-bar lane count). */
|
|
20
20
|
heightPx: number;
|
|
21
21
|
/**
|
|
22
22
|
* Visual density. Compact tightens the row's `min-height`; the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarMonthRow.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/month/CoarMonthRow.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoarMonthRow.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/month/CoarMonthRow.vue"],"names":[],"mappings":"AA8EA;;;;;;;;;;;;;;;GAeG;AAEH,UAAU,KAAK;IACb;8DAC0D;IAC1D,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,aAAa,GAAG,SAAS,GAAG,UAAU,CAAC;CAClD;AAiBD,iBAAS,cAAc;WA4BT,OAAO,IAA6B;;QAvChD;;;;WAIG;mBACQ,OAAO;;QALlB;;;;WAIG;mBACQ,OAAO;;;;EAuCnB;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;aA7DT,aAAa,GAAG,SAAS,GAAG,UAAU;wFAqEhD,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Did a DOM event start inside a rendered calendar event element
|
|
3
|
+
* (month pill / month bar / time-grid card / all-day bar)?
|
|
4
|
+
*
|
|
5
|
+
* The empty-surface hooks (`onDateClick`, `onTimeClick`) are wired
|
|
6
|
+
* on cells and columns via `pointerdown`, and an event element sits
|
|
7
|
+
* INSIDE that cell — so its pointerdown bubbles up and the cell would
|
|
8
|
+
* report a "click on empty space" for what was really a click on an
|
|
9
|
+
* event. Stopping propagation at the event element is not an option:
|
|
10
|
+
* the overlay service's outside-click detection and the drag runtime
|
|
11
|
+
* both listen further up. So the cell asks where the event started.
|
|
12
|
+
*
|
|
13
|
+
* Interactive event elements carry `data-event-id` (set only for the
|
|
14
|
+
* `live` / keyboard-preview variants); phantoms and ghosts do not and
|
|
15
|
+
* are `pointer-events: none` anyway.
|
|
16
|
+
*/
|
|
17
|
+
export declare function originatesFromEvent(e: Event): boolean;
|
|
18
|
+
//# sourceMappingURL=originatesFromEvent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"originatesFromEvent.d.ts","sourceRoot":"","sources":["../../../src/components/internal/originatesFromEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,KAAK,GAAG,OAAO,CAGrD"}
|
|
@@ -10,6 +10,13 @@ interface Props {
|
|
|
10
10
|
isWeekend: (day: Temporal.PlainDate) => boolean;
|
|
11
11
|
/** Forwards the columns DOM element to the parent on mount. */
|
|
12
12
|
setColumnsEl: (el: HTMLElement | null) => void;
|
|
13
|
+
/**
|
|
14
|
+
* Render the collapse control under the axis label. The parent
|
|
15
|
+
* sets this only while the band is expanded beyond its lane cap.
|
|
16
|
+
*/
|
|
17
|
+
collapsible?: boolean;
|
|
18
|
+
/** Localised label for the collapse control. */
|
|
19
|
+
collapseLabel?: string;
|
|
13
20
|
}
|
|
14
21
|
declare function __VLS_template(): {
|
|
15
22
|
attrs: Partial<{}>;
|
|
@@ -26,9 +33,16 @@ declare function __VLS_template(): {
|
|
|
26
33
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
34
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
35
|
cellPointerdown: (native: PointerEvent, day: Temporal.PlainDate) => any;
|
|
36
|
+
cellDblclick: (native: MouseEvent, day: Temporal.PlainDate) => any;
|
|
37
|
+
collapse: () => any;
|
|
29
38
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
30
39
|
onCellPointerdown?: ((native: PointerEvent, day: Temporal.PlainDate) => any) | undefined;
|
|
31
|
-
|
|
40
|
+
onCellDblclick?: ((native: MouseEvent, day: Temporal.PlainDate) => any) | undefined;
|
|
41
|
+
onCollapse?: (() => any) | undefined;
|
|
42
|
+
}>, {
|
|
43
|
+
collapsible: boolean;
|
|
44
|
+
collapseLabel: string;
|
|
45
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
32
46
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
33
47
|
export default _default;
|
|
34
48
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarTimeGridAllDayBand.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/time-grid/CoarTimeGridAllDayBand.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoarTimeGridAllDayBand.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/time-grid/CoarTimeGridAllDayBand.vue"],"names":[],"mappings":"AAiMA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,UAAU,KAAK;IACb,mCAAmC;IACnC,IAAI,EAAE,aAAa,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IACxC,iCAAiC;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,8DAA8D;IAC9D,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,CAAC,GAAG,EAAE,QAAQ,CAAC,SAAS,KAAK,OAAO,CAAC;IAC9C,SAAS,EAAE,CAAC,GAAG,EAAE,QAAQ,CAAC,SAAS,KAAK,OAAO,CAAC;IAChD,+DAA+D;IAC/D,YAAY,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;IAC/C;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gDAAgD;IAChD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AA8BD,iBAAS,cAAc;WA6ET,OAAO,IAA6B;;QA3FhD,+DAA+D;mBACpD,OAAO;;QADlB,+DAA+D;mBACpD,OAAO;;;;EA+FnB;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;iBAjIL,OAAO;mBAEL,MAAM;wFAwItB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -11,6 +11,8 @@ declare const _default: <TMeta extends Record<string, unknown> = Record<string,
|
|
|
11
11
|
bar: AllDayBar<TMeta>;
|
|
12
12
|
variant?: "live" | "preview" | "phantom" | "invalid";
|
|
13
13
|
bg: string;
|
|
14
|
+
/** Text colour resolved by the parent (policy + `meta.textColor`). Falls back to WCAG on `bg`. */
|
|
15
|
+
ink?: string;
|
|
14
16
|
border: string;
|
|
15
17
|
title: string;
|
|
16
18
|
ariaLabel?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarTimeGridAllDayBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/time-grid/CoarTimeGridAllDayBar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoarTimeGridAllDayBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/time-grid/CoarTimeGridAllDayBar.vue"],"names":[],"mappings":"AAqRA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;yBAI7C,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/E,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA4PO,mBAAmB,CAAC;;;;;;;eAxPjB,aAAa,CAAC,KAAK,CAAC;aACtB,SAAS,CAAC,KAAK,CAAC;kBACX,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS;YAChD,MAAM;QACV,kGAAkG;cAC5F,MAAM;gBACJ,MAAM;eACP,MAAM;oBACD,MAAM;uBACH,OAAO;kBACZ,aAAa,GAAG,SAAS,GAAG,UAAU;aAE3C,MAAM;cACL,MAAM;eACL,MAAM;gBACL,MAAM;gBACN,MAAM;uBAEC,OAAO;qBACT,OAAO;QACpB;;;WAGG;oBACS,OAAO;mBAgOuE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;uBAxMM;YAAE,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;YAAC,GAAG,EAAE,SAAS,CAAC,KAAK,CAAC,CAAA;SAAE,GAAG,OAAO;;uBAAhE;YAAE,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;YAAC,GAAG,EAAE,SAAS,CAAC,KAAK,CAAC,CAAA;SAAE,GAAG,OAAO;;;EA4M7E,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAvQzE,wBAuQ4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `<CoarTimeGridAllDayOverflow>` — the "+N" marker that stands in
|
|
3
|
+
* for hidden all-day bars in one day column while the band is
|
|
4
|
+
* capped. Clicking it expands the band.
|
|
5
|
+
*
|
|
6
|
+
* Positioned exactly like a one-column `<CoarTimeGridAllDayBar>`
|
|
7
|
+
* in the marker lane, so it reads as "one more row of the band".
|
|
8
|
+
*
|
|
9
|
+
* Lives in `internal/` — NOT exported from the package barrel.
|
|
10
|
+
*/
|
|
11
|
+
type __VLS_Props = {
|
|
12
|
+
/** Hidden bars in this column. */
|
|
13
|
+
hidden: number;
|
|
14
|
+
/** Localised accessible label, e.g. "3 more all-day events — show all". */
|
|
15
|
+
ariaLabel: string;
|
|
16
|
+
top: number;
|
|
17
|
+
left: string;
|
|
18
|
+
width: string;
|
|
19
|
+
height: number;
|
|
20
|
+
};
|
|
21
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
expand: () => any;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
+
onExpand?: (() => any) | undefined;
|
|
25
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
26
|
+
export default _default;
|
|
27
|
+
//# sourceMappingURL=CoarTimeGridAllDayOverflow.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CoarTimeGridAllDayOverflow.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/time-grid/CoarTimeGridAllDayOverflow.vue"],"names":[],"mappings":"AAiEA;;;;;;;;;GASG;AAEH,KAAK,WAAW,GAAG;IACjB,kCAAkC;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,2EAA2E;IAC3E,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;;;;;;AA0DF,wBAQG"}
|
|
@@ -27,8 +27,10 @@ declare function __VLS_template(): {
|
|
|
27
27
|
};
|
|
28
28
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
29
29
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
30
|
+
dblclick: (native: MouseEvent, day: Temporal.PlainDate) => any;
|
|
30
31
|
pointerdown: (native: PointerEvent, day: Temporal.PlainDate) => any;
|
|
31
32
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
33
|
+
onDblclick?: ((native: MouseEvent, day: Temporal.PlainDate) => any) | undefined;
|
|
32
34
|
onPointerdown?: ((native: PointerEvent, day: Temporal.PlainDate) => any) | undefined;
|
|
33
35
|
}>, {
|
|
34
36
|
isToday: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarTimeGridColumn.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/time-grid/CoarTimeGridColumn.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoarTimeGridColumn.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/time-grid/CoarTimeGridColumn.vue"],"names":[],"mappings":"AAiIA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,UAAU,KAAK;IACb,GAAG,EAAE,QAAQ,CAAC,SAAS,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,2EAA2E;IAC3E,QAAQ,EAAE,MAAM,CAAC;IACjB,4EAA4E;IAC5E,YAAY,EAAE,MAAM,CAAC;IACrB;yEACqE;IACrE,oBAAoB,EAAE,MAAM,CAAC;CAC9B;AA2CD,iBAAS,cAAc;WAqCT,OAAO,IAA6B;;QAhEhD;+CACuC;mBAC5B,OAAO;;QAFlB;+CACuC;mBAC5B,OAAO;;;;EAmEnB;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;aA5GT,OAAO;eACL,OAAO;wFAoHnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CalendarEvent, PositionedEvent } from '../../../core';
|
|
1
|
+
import { CalendarEvent, PositionedEvent, TimedCardAnatomy } from '../../../core';
|
|
2
2
|
declare const _default: <TMeta extends Record<string, unknown> = Record<string, unknown>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
3
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
4
|
readonly onDblclick?: ((native: MouseEvent) => any) | undefined;
|
|
@@ -11,8 +11,19 @@ declare const _default: <TMeta extends Record<string, unknown> = Record<string,
|
|
|
11
11
|
positioned: PositionedEvent<TMeta>;
|
|
12
12
|
variant?: "live" | "preview" | "phantom" | "invalid";
|
|
13
13
|
bg: string;
|
|
14
|
+
/** Text colour resolved by the parent (policy + `meta.textColor`). Falls back to WCAG on `bg`. */
|
|
15
|
+
ink?: string;
|
|
14
16
|
border: string;
|
|
15
17
|
title: string;
|
|
18
|
+
/** `meta.location`, rendered by the full anatomy only. */
|
|
19
|
+
location?: string;
|
|
20
|
+
/** Localised "start – end" (or start) for the time row of the full anatomy. */
|
|
21
|
+
timeLabel?: string;
|
|
22
|
+
/**
|
|
23
|
+
* What the built-in card shows (`resolveTimedCardAnatomy`). Omitted
|
|
24
|
+
* = the one-line title, as the phantom / invalid variants use.
|
|
25
|
+
*/
|
|
26
|
+
anatomy?: TimedCardAnatomy;
|
|
16
27
|
/** Display zone — surfaced on the default decoration layer (C3/C5 hints). */
|
|
17
28
|
displayZone?: string;
|
|
18
29
|
ariaLabel?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarTimeGridEvent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/time-grid/CoarTimeGridEvent.vue"],"names":[],"mappings":"AA+
|
|
1
|
+
{"version":3,"file":"CoarTimeGridEvent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/time-grid/CoarTimeGridEvent.vue"],"names":[],"mappings":"AA+aA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;yBAKrE,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/E,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAkWO,mBAAmB,CAAC;;;;;;;eA9VjB,aAAa,CAAC,KAAK,CAAC;oBACf,eAAe,CAAC,KAAK,CAAC;kBACxB,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS;YAChD,MAAM;QACV,kGAAkG;cAC5F,MAAM;gBACJ,MAAM;eACP,MAAM;QACb,0DAA0D;mBAC/C,MAAM;QACjB,+EAA+E;oBACnE,MAAM;QAClB;;;WAGG;kBACO,gBAAgB;QAC1B,6EAA6E;sBAC/D,MAAM;oBACR,MAAM;uBACH,OAAO;kBACZ,aAAa,GAAG,SAAS,GAAG,UAAU;QAEhD,+CAA+C;aAC1C,MAAM;QACX,gCAAgC;gBACxB,MAAM;QACd,+DAA+D;cACzD,MAAM;QACZ,gEAAgE;eACzD,MAAM;QACb,gEAAgE;gBACxD,MAAM;qBAED,OAAO;wBACJ,OAAO;QAEvB;;;;;;;;;WASG;oBACS,OAAO;mBA+SuE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;uBAnRM;YAAE,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;YAAC,UAAU,EAAE,eAAe,CAAC,KAAK,CAAC,CAAA;SAAE,GAAG,OAAO;;uBAA7E;YAAE,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;YAAC,UAAU,EAAE,eAAe,CAAC,KAAK,CAAC,CAAA;SAAE,GAAG,OAAO;;;EAuR1F,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AA7WzE,wBA6W4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -9,6 +9,12 @@ interface Props {
|
|
|
9
9
|
/** Locale-aware label for a day-header. */
|
|
10
10
|
formatLabel: (day: Temporal.PlainDate) => string;
|
|
11
11
|
density?: 'comfortable' | 'compact' | 'spacious';
|
|
12
|
+
/**
|
|
13
|
+
* The strip is a paging handle: a drag across the day names (any
|
|
14
|
+
* pointer) pages the grid. Shows the grab cursor and forwards
|
|
15
|
+
* `pointerdown` to the parent's swipe runtime.
|
|
16
|
+
*/
|
|
17
|
+
swipeable?: boolean;
|
|
12
18
|
}
|
|
13
19
|
declare function __VLS_template(): {
|
|
14
20
|
attrs: Partial<{}>;
|
|
@@ -31,8 +37,13 @@ declare function __VLS_template(): {
|
|
|
31
37
|
rootEl: HTMLDivElement;
|
|
32
38
|
};
|
|
33
39
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
34
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
40
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
41
|
+
cellsPointerdown: (native: PointerEvent) => any;
|
|
42
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
43
|
+
onCellsPointerdown?: ((native: PointerEvent) => any) | undefined;
|
|
44
|
+
}>, {
|
|
35
45
|
density: "comfortable" | "compact" | "spacious";
|
|
46
|
+
swipeable: boolean;
|
|
36
47
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
37
48
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
38
49
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarTimeGridHeader.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/time-grid/CoarTimeGridHeader.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoarTimeGridHeader.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/time-grid/CoarTimeGridHeader.vue"],"names":[],"mappings":"AAiJA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,UAAU,KAAK;IACb,0DAA0D;IAC1D,IAAI,EAAE,aAAa,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IACxC,mDAAmD;IACnD,OAAO,EAAE,CAAC,GAAG,EAAE,QAAQ,CAAC,SAAS,KAAK,OAAO,CAAC;IAC9C,mDAAmD;IACnD,SAAS,EAAE,CAAC,GAAG,EAAE,QAAQ,CAAC,SAAS,KAAK,OAAO,CAAC;IAChD,2CAA2C;IAC3C,WAAW,EAAE,CAAC,GAAG,EAAE,QAAQ,CAAC,SAAS,KAAK,MAAM,CAAC;IACjD,OAAO,CAAC,EAAE,aAAa,GAAG,SAAS,GAAG,UAAU,CAAC;IACjD;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAmBD,iBAAS,cAAc;WAoET,OAAO,IAA6B;;QA3EhD,+DAA+D;yBAC9C;YAAE,IAAI,EAAE,QAAQ,CAAC,SAAS,CAAC;YAAC,OAAO,EAAE,OAAO,CAAC;YAAC,SAAS,EAAE,OAAO,CAAA;SAAE,GAAG,OAAO;;QAD7F,+DAA+D;yBAC9C;YAAE,IAAI,EAAE,QAAQ,CAAC,SAAS,CAAC;YAAC,OAAO,EAAE,OAAO,CAAC;YAAC,SAAS,EAAE,OAAO,CAAA;SAAE,GAAG,OAAO;;;;EA+E9F;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;aA/GT,aAAa,GAAG,SAAS,GAAG,UAAU;eAMpC,OAAO;wFAkHnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Temporal, AllDayBar, CalendarEvent, PositionedEvent, TimeGridView } from '../../../core';
|
|
2
|
+
import { CalendarBuilder } from '../../../builders/calendar-builder';
|
|
3
|
+
declare const _default: <TMeta extends Record<string, unknown> = Record<string, unknown>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & {
|
|
5
|
+
builder: CalendarBuilder<TMeta>;
|
|
6
|
+
view: TimeGridView;
|
|
7
|
+
} & Partial<{}>> & import('vue').PublicProps;
|
|
8
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
9
|
+
/** First and last rendered date (inclusive); `null` when nothing renders. */
|
|
10
|
+
getVisibleRange(): {
|
|
11
|
+
start: Temporal.PlainDate;
|
|
12
|
+
end: Temporal.PlainDate;
|
|
13
|
+
} | null;
|
|
14
|
+
}>): void;
|
|
15
|
+
attrs: any;
|
|
16
|
+
slots: Readonly<{
|
|
17
|
+
event?(props: {
|
|
18
|
+
event: CalendarEvent<TMeta>;
|
|
19
|
+
layout: PositionedEvent<TMeta>;
|
|
20
|
+
}): unknown;
|
|
21
|
+
allDayEvent?(props: {
|
|
22
|
+
event: CalendarEvent<TMeta>;
|
|
23
|
+
layout: AllDayBar<TMeta>;
|
|
24
|
+
}): unknown;
|
|
25
|
+
dayHeader?(props: {
|
|
26
|
+
date: Temporal.PlainDate;
|
|
27
|
+
isToday: boolean;
|
|
28
|
+
isWeekend: boolean;
|
|
29
|
+
}): unknown;
|
|
30
|
+
}> & {
|
|
31
|
+
event?(props: {
|
|
32
|
+
event: CalendarEvent<TMeta>;
|
|
33
|
+
layout: PositionedEvent<TMeta>;
|
|
34
|
+
}): unknown;
|
|
35
|
+
allDayEvent?(props: {
|
|
36
|
+
event: CalendarEvent<TMeta>;
|
|
37
|
+
layout: AllDayBar<TMeta>;
|
|
38
|
+
}): unknown;
|
|
39
|
+
dayHeader?(props: {
|
|
40
|
+
date: Temporal.PlainDate;
|
|
41
|
+
isToday: boolean;
|
|
42
|
+
isWeekend: boolean;
|
|
43
|
+
}): unknown;
|
|
44
|
+
};
|
|
45
|
+
emit: {};
|
|
46
|
+
}>) => import('vue').VNode & {
|
|
47
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
48
|
+
};
|
|
49
|
+
export default _default;
|
|
50
|
+
type __VLS_PrettifyLocal<T> = {
|
|
51
|
+
[K in keyof T]: T[K];
|
|
52
|
+
} & {};
|
|
53
|
+
//# sourceMappingURL=CoarTimeGridSurface.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CoarTimeGridSurface.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/time-grid/CoarTimeGridSurface.vue"],"names":[],"mappings":"AA8TA,OAAO,EACL,QAAQ,EAKR,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,eAAe,EAEpB,KAAK,YAAY,EAElB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;yBAKpD,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/E,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAgZO,mBAAmB,CAAC;iBA/YE,eAAe,CAAC,KAAK,CAAC;cAAQ,YAAY;mBA+YsB,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;QA5P7C,6EAA6E;2BAC1D;YAAE,KAAK,EAAE,QAAQ,CAAC,SAAS,CAAC;YAAC,GAAG,EAAE,QAAQ,CAAC,SAAS,CAAA;SAAE,GAAG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number;
|
|
7
|
+
/** Upper bound for the pill list before it scrolls. */
|
|
8
|
+
maxListHeight: number;
|
|
9
|
+
}
|
|
10
|
+
export interface UseMonthDayOverlayOptions {
|
|
11
|
+
/** Month view root — the sheet's containing block. */
|
|
12
|
+
rootRef: Ref<HTMLElement | null>;
|
|
13
|
+
/** Rows container — where the day cells live. */
|
|
14
|
+
gridRef: Ref<HTMLElement | null>;
|
|
15
|
+
/** The rendered sheet element (null while closed). */
|
|
16
|
+
overlayEl: () => HTMLElement | null;
|
|
17
|
+
/** Closes the sheet when it changes (the visible month). */
|
|
18
|
+
resetToken: ComputedRef<unknown> | Ref<unknown>;
|
|
19
|
+
/** Minimum sheet width; narrow columns widen to this. Default 200. */
|
|
20
|
+
minWidth?: number;
|
|
21
|
+
/** Hard cap for the whole sheet. Default 360. */
|
|
22
|
+
maxHeight?: number;
|
|
23
|
+
}
|
|
24
|
+
export interface UseMonthDayOverlayReturn {
|
|
25
|
+
/** Day whose sheet is open, or `null`. */
|
|
26
|
+
day: Ref<Temporal.PlainDate | null>;
|
|
27
|
+
position: Ref<MonthDayOverlayPosition>;
|
|
28
|
+
isOpen(day: Temporal.PlainDate): boolean;
|
|
29
|
+
open(day: Temporal.PlainDate): Promise<void>;
|
|
30
|
+
toggle(day: Temporal.PlainDate): Promise<void>;
|
|
31
|
+
close(): void;
|
|
32
|
+
}
|
|
33
|
+
export declare function useMonthDayOverlay(opts: UseMonthDayOverlayOptions): UseMonthDayOverlayReturn;
|
|
34
|
+
//# sourceMappingURL=useMonthDayOverlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMonthDayOverlay.d.ts","sourceRoot":"","sources":["../../src/composables/useMonthDayOverlay.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,GAAG,EAAoD,MAAM,KAAK,CAAC;AACnG,OAAO,EAAE,QAAQ,EAAW,MAAM,SAAS,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