@bimetal/calendar-angular-components 0.35.0 → 0.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/dist/binding/controller.d.ts +10 -1
  2. package/dist/binding/controller.d.ts.map +1 -1
  3. package/dist/binding/controller.js +11 -1
  4. package/dist/binding/controller.js.map +1 -1
  5. package/dist/binding/index.d.ts +4 -2
  6. package/dist/binding/index.d.ts.map +1 -1
  7. package/dist/binding/index.js +5 -2
  8. package/dist/binding/index.js.map +1 -1
  9. package/dist/binding/services/pointer-gesture.service.d.ts +52 -0
  10. package/dist/binding/services/pointer-gesture.service.d.ts.map +1 -0
  11. package/dist/binding/services/pointer-gesture.service.js +83 -0
  12. package/dist/binding/services/pointer-gesture.service.js.map +1 -0
  13. package/dist/components/Calendar.d.ts +20 -4
  14. package/dist/components/Calendar.d.ts.map +1 -1
  15. package/dist/components/Calendar.js +133 -31
  16. package/dist/components/Calendar.js.map +1 -1
  17. package/dist/components/CalendarHeader.d.ts +3 -0
  18. package/dist/components/CalendarHeader.d.ts.map +1 -1
  19. package/dist/components/CalendarHeader.js +10 -4
  20. package/dist/components/CalendarHeader.js.map +1 -1
  21. package/dist/components/CategoryFilter.d.ts +3 -0
  22. package/dist/components/CategoryFilter.d.ts.map +1 -1
  23. package/dist/components/CategoryFilter.js +9 -5
  24. package/dist/components/CategoryFilter.js.map +1 -1
  25. package/dist/components/EventBar.d.ts +11 -4
  26. package/dist/components/EventBar.d.ts.map +1 -1
  27. package/dist/components/EventBar.js +87 -32
  28. package/dist/components/EventBar.js.map +1 -1
  29. package/dist/components/EventDialog.d.ts +12 -6
  30. package/dist/components/EventDialog.d.ts.map +1 -1
  31. package/dist/components/EventDialog.js +122 -45
  32. package/dist/components/EventDialog.js.map +1 -1
  33. package/dist/components/EventHistory.d.ts +14 -10
  34. package/dist/components/EventHistory.d.ts.map +1 -1
  35. package/dist/components/EventHistory.js +59 -56
  36. package/dist/components/EventHistory.js.map +1 -1
  37. package/dist/styles/index.css.d.ts +3 -0
  38. package/dist/views/day/DayView.d.ts +26 -4
  39. package/dist/views/day/DayView.d.ts.map +1 -1
  40. package/dist/views/day/DayView.js +56 -17
  41. package/dist/views/day/DayView.js.map +1 -1
  42. package/dist/views/month/MonthView.d.ts +14 -3
  43. package/dist/views/month/MonthView.d.ts.map +1 -1
  44. package/dist/views/month/MonthView.js +55 -7
  45. package/dist/views/month/MonthView.js.map +1 -1
  46. package/dist/views/month/WeekRow.d.ts +19 -3
  47. package/dist/views/month/WeekRow.d.ts.map +1 -1
  48. package/dist/views/month/WeekRow.js +73 -34
  49. package/dist/views/month/WeekRow.js.map +1 -1
  50. package/dist/views/resource/ResourceView.d.ts +28 -1
  51. package/dist/views/resource/ResourceView.d.ts.map +1 -1
  52. package/dist/views/resource/ResourceView.js +78 -21
  53. package/dist/views/resource/ResourceView.js.map +1 -1
  54. package/dist/views/timeline/TimelineView.d.ts +25 -3
  55. package/dist/views/timeline/TimelineView.d.ts.map +1 -1
  56. package/dist/views/timeline/TimelineView.js +77 -16
  57. package/dist/views/timeline/TimelineView.js.map +1 -1
  58. package/dist/views/week/AllDayRow.d.ts +16 -3
  59. package/dist/views/week/AllDayRow.d.ts.map +1 -1
  60. package/dist/views/week/AllDayRow.js +47 -10
  61. package/dist/views/week/AllDayRow.js.map +1 -1
  62. package/dist/views/week/TimeEvent.d.ts +11 -4
  63. package/dist/views/week/TimeEvent.d.ts.map +1 -1
  64. package/dist/views/week/TimeEvent.js +76 -26
  65. package/dist/views/week/TimeEvent.js.map +1 -1
  66. package/dist/views/week/WeekView.d.ts +16 -1
  67. package/dist/views/week/WeekView.d.ts.map +1 -1
  68. package/dist/views/week/WeekView.js +53 -18
  69. package/dist/views/week/WeekView.js.map +1 -1
  70. package/dist/views/year/YearView.d.ts +2 -0
  71. package/dist/views/year/YearView.d.ts.map +1 -1
  72. package/dist/views/year/YearView.js +17 -1
  73. package/dist/views/year/YearView.js.map +1 -1
  74. package/package.json +17 -13
@@ -1,6 +1,5 @@
1
1
  import { Component, Input, Output, EventEmitter } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
- import { formatHistoryTimestamp } from '@bimetal/calendar-core';
4
3
  import * as i0 from "@angular/core";
5
4
  import * as i1 from "@angular/common";
6
5
  function EventHistoryComponent_div_6_Template(rf, ctx) { if (rf & 1) {
@@ -13,46 +12,60 @@ function EventHistoryComponent_div_6_Template(rf, ctx) { if (rf & 1) {
13
12
  i0.ɵɵtextInterpolate1(" ", ctx_r0.locale.historyLoading, " ");
14
13
  } }
15
14
  function EventHistoryComponent_div_8_div_3_Template(rf, ctx) { if (rf & 1) {
16
- i0.ɵɵelement(0, "div", 17);
15
+ i0.ɵɵelement(0, "div", 18);
17
16
  } }
18
- function EventHistoryComponent_div_8_div_10_Template(rf, ctx) { if (rf & 1) {
19
- i0.ɵɵelementStart(0, "div", 18);
17
+ function EventHistoryComponent_div_8_span_6_Template(rf, ctx) { if (rf & 1) {
18
+ i0.ɵɵelementStart(0, "span", 19);
20
19
  i0.ɵɵtext(1);
21
20
  i0.ɵɵelementEnd();
22
21
  } if (rf & 2) {
23
- const summary_r2 = ctx.ngIf;
22
+ const entry_r2 = i0.ɵɵnextContext().$implicit;
23
+ i0.ɵɵattribute("title", entry_r2.userId);
24
24
  i0.ɵɵadvance();
25
- i0.ɵɵtextInterpolate(summary_r2);
25
+ i0.ɵɵtextInterpolate(entry_r2.actor);
26
+ } }
27
+ function EventHistoryComponent_div_8_div_11_Template(rf, ctx) { if (rf & 1) {
28
+ i0.ɵɵelementStart(0, "div", 20);
29
+ i0.ɵɵtext(1);
30
+ i0.ɵɵelementEnd();
31
+ } if (rf & 2) {
32
+ const entry_r2 = i0.ɵɵnextContext().$implicit;
33
+ i0.ɵɵadvance();
34
+ i0.ɵɵtextInterpolate(entry_r2.summary);
26
35
  } }
27
36
  function EventHistoryComponent_div_8_Template(rf, ctx) { if (rf & 1) {
28
37
  i0.ɵɵelementStart(0, "div", 8)(1, "div", 9);
29
38
  i0.ɵɵelement(2, "div", 10);
30
39
  i0.ɵɵtemplate(3, EventHistoryComponent_div_8_div_3_Template, 1, 0, "div", 11);
31
40
  i0.ɵɵelementEnd();
32
- i0.ɵɵelementStart(4, "div", 12)(5, "div", 13)(6, "span", 14);
33
- i0.ɵɵtext(7);
41
+ i0.ɵɵelementStart(4, "div", 12)(5, "div", 13);
42
+ i0.ɵɵtemplate(6, EventHistoryComponent_div_8_span_6_Template, 2, 2, "span", 14);
43
+ i0.ɵɵelementStart(7, "span", 15);
44
+ i0.ɵɵtext(8);
34
45
  i0.ɵɵelementEnd();
35
- i0.ɵɵelementStart(8, "span", 15);
36
- i0.ɵɵtext(9);
46
+ i0.ɵɵelementStart(9, "span", 16);
47
+ i0.ɵɵtext(10);
37
48
  i0.ɵɵelementEnd()();
38
- i0.ɵɵtemplate(10, EventHistoryComponent_div_8_div_10_Template, 2, 1, "div", 16);
49
+ i0.ɵɵtemplate(11, EventHistoryComponent_div_8_div_11_Template, 2, 1, "div", 17);
39
50
  i0.ɵɵelementEnd()();
40
51
  } if (rf & 2) {
41
- const entry_r3 = ctx.$implicit;
42
- const last_r4 = ctx.last;
52
+ const entry_r2 = ctx.$implicit;
53
+ const last_r3 = ctx.last;
43
54
  const ctx_r0 = i0.ɵɵnextContext();
44
55
  i0.ɵɵadvance(2);
45
- i0.ɵɵstyleProp("background-color", ctx_r0.getColor(entry_r3.type));
56
+ i0.ɵɵstyleProp("background-color", ctx_r0.getColor(entry_r2.type));
46
57
  i0.ɵɵadvance();
47
- i0.ɵɵproperty("ngIf", !last_r4);
58
+ i0.ɵɵproperty("ngIf", !last_r3);
48
59
  i0.ɵɵadvance(3);
49
- i0.ɵɵstyleProp("background-color", ctx_r0.getColor(entry_r3.type));
60
+ i0.ɵɵproperty("ngIf", entry_r2.actor !== undefined);
50
61
  i0.ɵɵadvance();
51
- i0.ɵɵtextInterpolate1(" ", ctx_r0.getLabel(entry_r3.type), " ");
62
+ i0.ɵɵstyleProp("background-color", ctx_r0.getColor(entry_r2.type));
63
+ i0.ɵɵadvance();
64
+ i0.ɵɵtextInterpolate1(" ", entry_r2.label, " ");
52
65
  i0.ɵɵadvance(2);
53
- i0.ɵɵtextInterpolate(ctx_r0.formatTime(entry_r3.envelope.timestamp));
66
+ i0.ɵɵtextInterpolate(entry_r2.time);
54
67
  i0.ɵɵadvance();
55
- i0.ɵɵproperty("ngIf", ctx_r0.getSummary(entry_r3));
68
+ i0.ɵɵproperty("ngIf", entry_r2.summary);
56
69
  } }
57
70
  const eventTypeColors = {
58
71
  'bimetal.calendar.CalendarEventCreated': '#4CD964',
@@ -60,43 +73,34 @@ const eventTypeColors = {
60
73
  'bimetal.calendar.CalendarEventDeleted': '#FF3B30',
61
74
  'bimetal.calendar.CalendarEventReverted': '#FF9500',
62
75
  };
63
- /** Read-only timeline of a single event's domain-event history (created/updated/deleted/reverted). */
76
+ /** Read-only timeline of a single event's domain-event history (created/updated/deleted/reverted).
77
+ * bimetal-147: rendert die ANZEIGEFERTIGEN Zeilen aus `controller.getHistoryEntries`
78
+ * — die Ableitung „Event → Zeile" (inkl. Akteur) liegt im Controller, nicht hier.
79
+ *
80
+ * bimetal-147 R1: der Tooltip hängt an `[attr.title]`, NICHT an `[title]`. Die
81
+ * Property-Bindung schreibt bei einer Zeile ohne Audit-Id `el.title = undefined`,
82
+ * und die DOMString-Konversion macht daraus den sichtbaren Tooltip „undefined".
83
+ * Die Attribut-Bindung ENTFERNT das Attribut bei null/undefined — damit rendert
84
+ * Angular dasselbe DOM wie react/vue/svelte, wo `title={entry.userId}` das
85
+ * Attribut bei `undefined` ebenfalls weglässt. */
64
86
  export class EventHistoryComponent {
65
87
  eventId = '';
88
+ // readonly (bimetal-131 R1): the parent hands the SNAPSHOT-CACHED history in —
89
+ // a mutable input type forced a copy at the binding edge under strictTemplates,
90
+ // and a fresh copy per CD is exactly the defect M2 removed. This component only
91
+ // iterates; readonly is the honest contract.
66
92
  history = [];
67
93
  locale;
68
- /** Optional for back-compat (v0.33 additive). EventDialog binds config.core.timezone;
69
- * a direct consumer that omits it keeps the pre-v0.33 ambient-TZ behavior. */
70
- timezone;
71
94
  back = new EventEmitter();
72
95
  getColor(type) {
73
96
  return eventTypeColors[type] ?? '#8E8E93';
74
97
  }
75
- getLabel(type) {
76
- return this.locale.historyEventTypes[type] ?? type;
77
- }
78
- formatTime(timestamp) {
79
- return formatHistoryTimestamp(timestamp, this.locale.code, this.timezone);
80
- }
81
- getSummary(event) {
82
- const payload = event.payload;
83
- switch (event.type) {
84
- case 'bimetal.calendar.CalendarEventCreated': {
85
- const ev = payload.event;
86
- return ev?.title ?? '';
87
- }
88
- case 'bimetal.calendar.CalendarEventUpdated': {
89
- const changes = payload.changes;
90
- if (!changes)
91
- return '';
92
- return Object.keys(changes).join(', ');
93
- }
94
- default:
95
- return '';
96
- }
97
- }
98
+ // bimetal-131 M2: without trackBy every fresh history array identity rebuilt
99
+ // the whole timeline DOM. `id` is the ES event's envelope id (bimetal-147:
100
+ // durchgereicht von der Controller-Ableitung).
101
+ trackEntry(_, entry) { return entry.id; }
98
102
  static ɵfac = function EventHistoryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventHistoryComponent)(); };
99
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EventHistoryComponent, selectors: [["cal-event-history"]], hostAttrs: [2, "display", "contents"], inputs: { eventId: "eventId", history: "history", locale: "locale", timezone: "timezone" }, outputs: { back: "back" }, decls: 9, vars: 3, consts: [[1, "bm-cal-event-history"], [1, "bm-cal-event-history__header"], [1, "bm-cal-event-history__back", 3, "click"], [1, "bm-cal-event-history__title"], ["class", "bm-cal-event-history__loading", 4, "ngIf"], [1, "bm-cal-event-history__timeline"], ["class", "bm-cal-event-history__entry", 4, "ngFor", "ngForOf"], [1, "bm-cal-event-history__loading"], [1, "bm-cal-event-history__entry"], [1, "bm-cal-event-history__dot-col"], [1, "bm-cal-event-history__dot"], ["class", "bm-cal-event-history__line", 4, "ngIf"], [1, "bm-cal-event-history__content"], [1, "bm-cal-event-history__entry-header"], [1, "bm-cal-event-history__badge"], [1, "bm-cal-event-history__time"], ["class", "bm-cal-event-history__summary", 4, "ngIf"], [1, "bm-cal-event-history__line"], [1, "bm-cal-event-history__summary"]], template: function EventHistoryComponent_Template(rf, ctx) { if (rf & 1) {
103
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EventHistoryComponent, selectors: [["cal-event-history"]], hostAttrs: [2, "display", "contents"], inputs: { eventId: "eventId", history: "history", locale: "locale" }, outputs: { back: "back" }, decls: 9, vars: 4, consts: [[1, "bm-cal-event-history"], [1, "bm-cal-event-history__header"], [1, "bm-cal-event-history__back", 3, "click"], [1, "bm-cal-event-history__title"], ["class", "bm-cal-event-history__loading", 4, "ngIf"], [1, "bm-cal-event-history__timeline"], ["class", "bm-cal-event-history__entry", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "bm-cal-event-history__loading"], [1, "bm-cal-event-history__entry"], [1, "bm-cal-event-history__dot-col"], [1, "bm-cal-event-history__dot"], ["class", "bm-cal-event-history__line", 4, "ngIf"], [1, "bm-cal-event-history__content"], [1, "bm-cal-event-history__entry-header"], ["class", "bm-cal-event-history__actor", 4, "ngIf"], [1, "bm-cal-event-history__badge"], [1, "bm-cal-event-history__time"], ["class", "bm-cal-event-history__summary", 4, "ngIf"], [1, "bm-cal-event-history__line"], [1, "bm-cal-event-history__actor"], [1, "bm-cal-event-history__summary"]], template: function EventHistoryComponent_Template(rf, ctx) { if (rf & 1) {
100
104
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "button", 2);
101
105
  i0.ɵɵlistener("click", function EventHistoryComponent_Template_button_click_2_listener() { return ctx.back.emit(); });
102
106
  i0.ɵɵtext(3, "\u2190");
@@ -106,7 +110,7 @@ export class EventHistoryComponent {
106
110
  i0.ɵɵelementEnd()();
107
111
  i0.ɵɵtemplate(6, EventHistoryComponent_div_6_Template, 2, 1, "div", 4);
108
112
  i0.ɵɵelementStart(7, "div", 5);
109
- i0.ɵɵtemplate(8, EventHistoryComponent_div_8_Template, 11, 8, "div", 6);
113
+ i0.ɵɵtemplate(8, EventHistoryComponent_div_8_Template, 12, 9, "div", 6);
110
114
  i0.ɵɵelementEnd()();
111
115
  } if (rf & 2) {
112
116
  i0.ɵɵadvance(5);
@@ -114,7 +118,7 @@ export class EventHistoryComponent {
114
118
  i0.ɵɵadvance();
115
119
  i0.ɵɵproperty("ngIf", ctx.history.length === 0);
116
120
  i0.ɵɵadvance(2);
117
- i0.ɵɵproperty("ngForOf", ctx.history);
121
+ i0.ɵɵproperty("ngForOf", ctx.history)("ngForTrackBy", ctx.trackEntry);
118
122
  } }, dependencies: [CommonModule, i1.NgForOf, i1.NgIf], encapsulation: 2 });
119
123
  }
120
124
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventHistoryComponent, [{
@@ -136,19 +140,20 @@ export class EventHistoryComponent {
136
140
  </div>
137
141
 
138
142
  <div class="bm-cal-event-history__timeline">
139
- <div *ngFor="let entry of history; let idx = index; let last = last" class="bm-cal-event-history__entry">
143
+ <div *ngFor="let entry of history; let idx = index; let last = last; trackBy: trackEntry" class="bm-cal-event-history__entry">
140
144
  <div class="bm-cal-event-history__dot-col">
141
145
  <div class="bm-cal-event-history__dot" [style.background-color]="getColor(entry.type)"></div>
142
146
  <div class="bm-cal-event-history__line" *ngIf="!last"></div>
143
147
  </div>
144
148
  <div class="bm-cal-event-history__content">
145
149
  <div class="bm-cal-event-history__entry-header">
150
+ <span class="bm-cal-event-history__actor" *ngIf="entry.actor !== undefined" [attr.title]="entry.userId">{{ entry.actor }}</span>
146
151
  <span class="bm-cal-event-history__badge" [style.background-color]="getColor(entry.type)">
147
- {{ getLabel(entry.type) }}
152
+ {{ entry.label }}
148
153
  </span>
149
- <span class="bm-cal-event-history__time">{{ formatTime(entry.envelope.timestamp) }}</span>
154
+ <span class="bm-cal-event-history__time">{{ entry.time }}</span>
150
155
  </div>
151
- <div class="bm-cal-event-history__summary" *ngIf="getSummary(entry) as summary">{{ summary }}</div>
156
+ <div class="bm-cal-event-history__summary" *ngIf="entry.summary">{{ entry.summary }}</div>
152
157
  </div>
153
158
  </div>
154
159
  </div>
@@ -161,10 +166,8 @@ export class EventHistoryComponent {
161
166
  type: Input
162
167
  }], locale: [{
163
168
  type: Input
164
- }], timezone: [{
165
- type: Input
166
169
  }], back: [{
167
170
  type: Output
168
171
  }] }); })();
169
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EventHistoryComponent, { className: "EventHistoryComponent", filePath: "components/eventhistory.ts", lineNumber: 51 }); })();
172
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EventHistoryComponent, { className: "EventHistoryComponent", filePath: "components/eventhistory.ts", lineNumber: 60 }); })();
170
173
  //# sourceMappingURL=EventHistory.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EventHistory.js","sourceRoot":"","sources":["../../src/components/EventHistory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;;;;IAuB1D,8BAAwE;IACtE,YACF;IAAA,iBAAM;;;IADJ,cACF;IADE,6DACF;;;IAMM,0BAA4D;;;IAS5D,+BAAgF;IAAA,YAAa;IAAA,iBAAM;;;IAAnB,cAAa;IAAb,gCAAa;;;IAX/F,AADF,8BAAyG,aAC5D;IACzC,0BAA6F;IAC7F,6EAAsD;IACxD,iBAAM;IAGF,AADF,AADF,+BAA2C,cACO,eAC4C;IACxF,YACF;IAAA,iBAAO;IACP,gCAAyC;IAAA,YAA0C;IACrF,AADqF,iBAAO,EACtF;IACN,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AAC,CAAC;+GAjB5D,qBAAqB;6DAArB,qBAAqB;YA7B1B,AADF,AADF,8BAAkC,aACU,gBACyB;YAAtB,kGAAS,eAAW,IAAC;YAAC,sBAAM;YAAA,iBAAS;YAChF,+BAA0C;YAAA,YAAyB;YACrE,AADqE,iBAAO,EACtE;YAEN,sEAAwE;YAIxE,8BAA4C;YAC1C,uEAA8H;YAiBlI,AADE,iBAAM,EACF;;YAzBwC,eAAyB;YAAzB,6CAAyB;YAGzB,cAA0B;YAA1B,+CAA0B;YAK7C,eAAY;YAAkC,AAA9C,qCAAY,gCAAqD;4BAbpF,YAAY;;iFAiCX,qBAAqB;cArCjC,SAAS;eAAC;gBACT,QAAQ,EAAE,mBAAmB;gBAC7B,UAAU,EAAE,IAAI;gBAChB,IAAI,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE;gBACpC,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BT;aACF;gBAEU,OAAO;kBAAf,KAAK;YAKG,OAAO;kBAAf,KAAK;YACG,MAAM;kBAAd,KAAK;YACI,IAAI;kBAAb,MAAM;;kFARI,qBAAqB"}
@@ -0,0 +1,3 @@
1
+ // Generated by scripts/generate-css-stubs.mjs — DO NOT EDIT.
2
+ // Type-stub for side-effect CSS import (TS moduleResolution: nodenext/bundler).
3
+ export {};
@@ -1,7 +1,8 @@
1
+ import type { DragInfo } from '@bimetal/calendar-headless';
1
2
  import { EventEmitter, OnChanges, AfterViewInit, ElementRef } from '@angular/core';
2
3
  import type { CalendarEvent, CalendarDateTime } from '@bimetal/calendar-core';
3
4
  import type { CalendarConfig } from '../../binding/index.js';
4
- import { EventRenderService } from '../../binding/index.js';
5
+ import { EventRenderService, CalendarPointerGestureService } from '../../binding/index.js';
5
6
  import { type TimeEventLayout } from '../week/TimeEvent.js';
6
7
  import * as i0 from "@angular/core";
7
8
  /**
@@ -9,6 +10,7 @@ import * as i0 from "@angular/core";
9
10
  * `cal-time-event` per timed event, laid out into overlap lanes.
10
11
  */
11
12
  export declare class DayViewComponent implements OnChanges, AfterViewInit {
13
+ private gesture;
12
14
  private renderService?;
13
15
  currentDate: CalendarDateTime;
14
16
  events: CalendarEvent[];
@@ -43,6 +45,11 @@ export declare class DayViewComponent implements OnChanges, AfterViewInit {
43
45
  hidePreviewEv: EventEmitter<void>;
44
46
  /** Native `dragend` der Source — Drag-Session vollständig beendet. */
45
47
  dragEnd: EventEmitter<void>;
48
+ dropTimedInfo: EventEmitter<{
49
+ info: DragInfo;
50
+ date: CalendarDateTime;
51
+ time: string;
52
+ }>;
46
53
  dragStartEv: EventEmitter<any>;
47
54
  timeGridEl?: ElementRef<HTMLDivElement>;
48
55
  gridInnerEl?: ElementRef<HTMLDivElement>;
@@ -60,7 +67,7 @@ export declare class DayViewComponent implements OnChanges, AfterViewInit {
60
67
  nowHours: number;
61
68
  click: import("@bimetal/calendar-headless").ClickIntent;
62
69
  allDayClick: import("@bimetal/calendar-headless").ClickIntent;
63
- constructor(renderService?: EventRenderService | undefined);
70
+ constructor(gesture: CalendarPointerGestureService, renderService?: EventRenderService | undefined);
64
71
  get badgesTpl(): import("@angular/core").TemplateRef<import("../../index.js").EventRenderTemplateContext> | undefined;
65
72
  get contentTpl(): import("@angular/core").TemplateRef<import("../../index.js").EventRenderTemplateContext> | undefined;
66
73
  tplCtx(ev: CalendarEvent): import("../../index.js").EventRenderTemplateContext | undefined;
@@ -72,6 +79,21 @@ export declare class DayViewComponent implements OnChanges, AfterViewInit {
72
79
  getColor(ev: CalendarEvent): string;
73
80
  formatHour(h: number): string;
74
81
  isOffHour(h: number): boolean;
82
+ /**
83
+ * Same identity rule the week view pins (mcp-130 review of mcp-129's class):
84
+ * `timedEntries` is rebuilt with fresh wrappers on every previewEvent tick of a
85
+ * drag (the snapshot deep-copies previewEvent, so the input identity changes per
86
+ * dragover). Without trackBy that re-created every cal-time-event mid-drag —
87
+ * past dragstart Chromium no longer aborts, but the destroyed source's native
88
+ * `dragend` never reaches the binding, leaking the preview on Escape/outside
89
+ * drops. WeekView had `trackTimed` for the identical structure; DayView was the
90
+ * forgotten sister.
91
+ */
92
+ trackTimed(_i: number, entry: {
93
+ event: CalendarEvent;
94
+ layout: TimeEventLayout;
95
+ }): string;
96
+ trackEvent(_i: number, ev: CalendarEvent): string;
75
97
  ngOnChanges(): void;
76
98
  ngAfterViewInit(): void;
77
99
  handleGridDragOver(e: DragEvent): void;
@@ -83,7 +105,7 @@ export declare class DayViewComponent implements OnChanges, AfterViewInit {
83
105
  handleAllDayClick(e: MouseEvent, ev: CalendarEvent): void;
84
106
  handleAllDayDoubleClick(e: MouseEvent, ev: CalendarEvent): void;
85
107
  isAllDaySelected(ev: CalendarEvent): boolean;
86
- static ɵfac: i0.ɵɵFactoryDeclaration<DayViewComponent, [{ optional: true; }]>;
87
- static ɵcmp: i0.ɵɵComponentDeclaration<DayViewComponent, "cal-day-view", never, { "currentDate": { "alias": "currentDate"; "required": false; }; "events": { "alias": "events"; "required": false; }; "config": { "alias": "config"; "required": false; }; "previewEvent": { "alias": "previewEvent"; "required": false; }; "selectedEventId": { "alias": "selectedEventId"; "required": false; }; "selectedInstanceDate": { "alias": "selectedInstanceDate"; "required": false; }; }, { "eventClick": "eventClick"; "selectEvent": "selectEvent"; "clearSelection": "clearSelection"; "dayCellClick": "dayCellClick"; "dropTimedEvent": "dropTimedEvent"; "dragOverDateTime": "dragOverDateTime"; "hidePreviewEv": "hidePreviewEv"; "dragEnd": "dragEnd"; "dragStartEv": "dragStartEv"; }, never, never, true, never>;
108
+ static ɵfac: i0.ɵɵFactoryDeclaration<DayViewComponent, [null, { optional: true; }]>;
109
+ static ɵcmp: i0.ɵɵComponentDeclaration<DayViewComponent, "cal-day-view", never, { "currentDate": { "alias": "currentDate"; "required": false; }; "events": { "alias": "events"; "required": false; }; "config": { "alias": "config"; "required": false; }; "previewEvent": { "alias": "previewEvent"; "required": false; }; "selectedEventId": { "alias": "selectedEventId"; "required": false; }; "selectedInstanceDate": { "alias": "selectedInstanceDate"; "required": false; }; }, { "eventClick": "eventClick"; "selectEvent": "selectEvent"; "clearSelection": "clearSelection"; "dayCellClick": "dayCellClick"; "dropTimedEvent": "dropTimedEvent"; "dragOverDateTime": "dragOverDateTime"; "hidePreviewEv": "hidePreviewEv"; "dragEnd": "dragEnd"; "dropTimedInfo": "dropTimedInfo"; "dragStartEv": "dragStartEv"; }, never, never, true, never>;
88
110
  }
89
111
  //# sourceMappingURL=DayView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DayView.d.ts","sourceRoot":"","sources":["../../../src/views/day/DayView.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAAE,SAAS,EAAE,aAAa,EAAa,UAAU,EAAY,MAAM,eAAe,CAAC;AAElI,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAG9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAmD,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE7G,OAAO,EAAsB,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAC;;AAIhF;;;GAGG;AACH,qBA4Ea,gBAAiB,YAAW,SAAS,EAAE,aAAa;IAmCvC,OAAO,CAAC,aAAa,CAAC;IAlCrC,WAAW,EAAG,gBAAgB,CAAC;IAC/B,MAAM,EAAE,aAAa,EAAE,CAAM;IAC7B,MAAM,EAAG,cAAc,CAAC;IAExB,YAAY,EAAE,aAAa,GAAG,IAAI,CAAQ;IAC1C,eAAe,EAAE,MAAM,GAAG,IAAI,CAAQ;IACtC,oBAAoB,EAAE,MAAM,GAAG,SAAS,CAAa;IACpD,UAAU;iBAA+B,MAAM;cAAQ,OAAO;uBAAiB,MAAM;OAAM;IAC3F,WAAW;iBAA+B,MAAM;uBAAiB,MAAM;OAAM;IAC7E,cAAc,qBAA4B;IAC1C,YAAY;cAA4B,gBAAg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EAAE,MAAM,GAAG,OAAO;IAK7B;;;;;;;;;OASG;IACH,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;QAAE,KAAK,EAAE,aAAa,CAAC;QAAC,MAAM,EAAE,eAAe,CAAA;KAAE,GAAG,MAAM;IAGxF,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,aAAa,GAAG,MAAM;IAEjD,WAAW;IAqCX,eAAe;IAmBf,kBAAkB,CAAC,CAAC,EAAE,SAAS;IAQ/B,cAAc,CAAC,CAAC,EAAE,SAAS;IAO3B,mBAAmB,CAAC,CAAC,EAAE,SAAS;IAQhC,eAAe,CAAC,CAAC,EAAE,UAAU;IAO7B,qBAAqB,CAAC,CAAC,EAAE,UAAU;IAWnC,qBAAqB;IAIrB,iBAAiB,CAAC,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,aAAa;IAOlD,uBAAuB,CAAC,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,aAAa;IAQxD,gBAAgB,CAAC,EAAE,EAAE,aAAa,GAAG,OAAO;yCAhMjC,gBAAgB;2CAAhB,gBAAgB;CAoM5B"}
@@ -1,8 +1,8 @@
1
1
  import { Component, Input, Output, EventEmitter, ViewChild, ElementRef, Optional } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
- import { isSameDay, now, getDayOfMonth, startOfDay, addDays, getHours, getMinutes, createTimeRange, overlaps, formatDateTime } from '@bimetal/temporal';
3
+ import { isSameDay, now, getDayOfMonth, startOfDay, addDays, getHours, getMinutes, createTimeRange, overlaps, formatWeekdayName } from '@bimetal/temporal';
4
4
  import { segmentTimed, layoutTimed, getRecurrenceInstanceMetadata } from '@bimetal/calendar-core';
5
- import { snapTimeFromMouseY, toDateStr, parseDateTimeStr, EventRenderService } from '../../binding/index.js';
5
+ import { snapTimeFromMouseY, toDateStr, parseDateTimeStr, EventRenderService, CalendarPointerGestureService } from '../../binding/index.js';
6
6
  import { DEFAULT_HOUR_HEIGHT, DEFAULT_TIME_LABEL_WIDTH_DAY, DEFAULT_SCROLL_HOUR, createClickIntent } from '@bimetal/calendar-headless';
7
7
  import { TimeEventComponent } from '../week/TimeEvent.js';
8
8
  import * as i0 from "@angular/core";
@@ -73,7 +73,7 @@ function DayViewComponent_div_6_Template(rf, ctx) { if (rf & 1) {
73
73
  i0.ɵɵadvance(2);
74
74
  i0.ɵɵtextInterpolate(ctx_r2.config.locale.allDayLabel);
75
75
  i0.ɵɵadvance(2);
76
- i0.ɵɵproperty("ngForOf", ctx_r2.allDayEvents);
76
+ i0.ɵɵproperty("ngForOf", ctx_r2.allDayEvents)("ngForTrackBy", ctx_r2.trackEvent);
77
77
  } }
78
78
  function DayViewComponent_div_11_Template(rf, ctx) { if (rf & 1) {
79
79
  i0.ɵɵelementStart(0, "div")(1, "div", 21);
@@ -95,7 +95,7 @@ function DayViewComponent_cal_time_event_13_Template(rf, ctx) { if (rf & 1) {
95
95
  } if (rf & 2) {
96
96
  const entry_r8 = ctx.$implicit;
97
97
  const ctx_r2 = i0.ɵɵnextContext();
98
- i0.ɵɵproperty("event", entry_r8.event)("dayCol", entry_r8.layout.dayCol)("dayCount", entry_r8.layout.dayCount)("lane", entry_r8.layout.lane)("laneCount", entry_r8.layout.laneCount)("startOffset", entry_r8.layout.startOffset)("endOffset", entry_r8.layout.endOffset)("dayDate", ctx_r2.currentDate)("hourHeight", ctx_r2.hourHeight)("timeLabelWidth", ctx_r2.timeLabelWidth)("ghost", (ctx_r2.previewEvent == null ? null : ctx_r2.previewEvent.id) === entry_r8.event.id)("clickThresholdMs", ctx_r2.config.clickThresholdMs)("locale", ctx_r2.config.locale)("snapMinutes", ctx_r2.config.core.granularity.day.minutes)("isSelected", ctx_r2.isAllDaySelected(entry_r8.event));
98
+ i0.ɵɵproperty("config", ctx_r2.config)("event", entry_r8.event)("dayCol", entry_r8.layout.dayCol)("dayCount", entry_r8.layout.dayCount)("lane", entry_r8.layout.lane)("laneCount", entry_r8.layout.laneCount)("startOffset", entry_r8.layout.startOffset)("endOffset", entry_r8.layout.endOffset)("dayDate", ctx_r2.currentDate)("hourHeight", ctx_r2.hourHeight)("timeLabelWidth", ctx_r2.timeLabelWidth)("ghost", (ctx_r2.previewEvent == null ? null : ctx_r2.previewEvent.id) === entry_r8.event.id)("clickThresholdMs", ctx_r2.config.clickThresholdMs)("locale", ctx_r2.config.locale)("snapMinutes", ctx_r2.config.core.granularity.day.minutes)("isSelected", ctx_r2.isAllDaySelected(entry_r8.event));
99
99
  } }
100
100
  function DayViewComponent_div_14_Template(rf, ctx) { if (rf & 1) {
101
101
  i0.ɵɵelementStart(0, "div", 23);
@@ -111,6 +111,7 @@ const HOURS = Array.from({ length: 24 }, (_, i) => i);
111
111
  * `cal-time-event` per timed event, laid out into overlap lanes.
112
112
  */
113
113
  export class DayViewComponent {
114
+ gesture;
114
115
  renderService;
115
116
  currentDate;
116
117
  events = [];
@@ -129,6 +130,7 @@ export class DayViewComponent {
129
130
  hidePreviewEv = new EventEmitter();
130
131
  /** Native `dragend` der Source — Drag-Session vollständig beendet. */
131
132
  dragEnd = new EventEmitter();
133
+ dropTimedInfo = new EventEmitter();
132
134
  dragStartEv = new EventEmitter();
133
135
  timeGridEl;
134
136
  gridInnerEl;
@@ -143,7 +145,8 @@ export class DayViewComponent {
143
145
  nowHours = 0;
144
146
  click = createClickIntent();
145
147
  allDayClick = createClickIntent();
146
- constructor(renderService) {
148
+ constructor(gesture, renderService) {
149
+ this.gesture = gesture;
147
150
  this.renderService = renderService;
148
151
  }
149
152
  get badgesTpl() { return this.renderService?.eventBadgesTpl; }
@@ -163,11 +166,26 @@ export class DayViewComponent {
163
166
  const wh = this.config.core.workingHours;
164
167
  return wh ? (h < wh.start || h >= wh.end) : false;
165
168
  }
169
+ /**
170
+ * Same identity rule the week view pins (mcp-130 review of mcp-129's class):
171
+ * `timedEntries` is rebuilt with fresh wrappers on every previewEvent tick of a
172
+ * drag (the snapshot deep-copies previewEvent, so the input identity changes per
173
+ * dragover). Without trackBy that re-created every cal-time-event mid-drag —
174
+ * past dragstart Chromium no longer aborts, but the destroyed source's native
175
+ * `dragend` never reaches the binding, leaking the preview on Escape/outside
176
+ * drops. WeekView had `trackTimed` for the identical structure; DayView was the
177
+ * forgotten sister.
178
+ */
179
+ trackTimed(_i, entry) {
180
+ return `${entry.event.id}@${entry.layout.dayCol}`;
181
+ }
182
+ trackEvent(_i, ev) { return ev.id; }
166
183
  ngOnChanges() {
167
184
  this.currentNow = now(this.config.core.timezone, this.config.core.clock);
168
185
  this.timeSnapMinutes = this.config.core.granularity.day.minutes;
169
186
  this.isToday = isSameDay(this.currentDate, this.currentNow);
170
- this.dayName = formatDateTime(this.currentDate, { locale: this.config.locale.code, dateStyle: 'full' }).split(',')[0];
187
+ // mcp-51 R1 (Review F1): split(',')[0] leckte in komma-losen Locales (ja-JP) den ganzen String.
188
+ this.dayName = formatWeekdayName(this.currentDate, this.config.locale.code);
171
189
  this.dayNumber = getDayOfMonth(this.currentDate);
172
190
  this.nowHours = getHours(this.currentNow) + getMinutes(this.currentNow) / 60;
173
191
  const dayStart = startOfDay(this.currentDate);
@@ -195,6 +213,23 @@ export class DayViewComponent {
195
213
  }));
196
214
  }
197
215
  ngAfterViewInit() {
216
+ // mcp-57 Slice E: shared FSM — single day column, snapped time, scrollport-bounded.
217
+ this.gesture.init({
218
+ hitTest: (x, y) => {
219
+ const inner = this.gridInnerEl?.nativeElement;
220
+ if (!inner)
221
+ return null;
222
+ const port = (inner.parentElement ?? inner).getBoundingClientRect();
223
+ if (x < port.left || x > port.right || y < port.top || y > port.bottom)
224
+ return null;
225
+ return { time: snapTimeFromMouseY(y, inner.getBoundingClientRect(), this.hourHeight, this.timeSnapMinutes) };
226
+ },
227
+ onGestureStart: (info) => this.dragStartEv.emit(info),
228
+ onGestureOver: (hit) => this.dragOverDateTime.emit({ date: this.currentDate, time: hit.time }),
229
+ onGestureLeave: () => this.hidePreviewEv.emit(),
230
+ onGestureDrop: (info, hit) => this.dropTimedInfo.emit({ info, date: this.currentDate, time: hit.time }),
231
+ onGestureEnd: () => this.dragEnd.emit(),
232
+ });
198
233
  if (this.timeGridEl)
199
234
  this.timeGridEl.nativeElement.scrollTop = DEFAULT_SCROLL_HOUR * DEFAULT_HOUR_HEIGHT;
200
235
  }
@@ -264,7 +299,7 @@ export class DayViewComponent {
264
299
  const id = getRecurrenceInstanceMetadata(ev)?.instanceDate;
265
300
  return this.selectedEventId === ev.id && this.selectedInstanceDate === id;
266
301
  }
267
- static ɵfac = function DayViewComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DayViewComponent)(i0.ɵɵdirectiveInject(i1.EventRenderService, 8)); };
302
+ static ɵfac = function DayViewComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DayViewComponent)(i0.ɵɵdirectiveInject(i1.CalendarPointerGestureService), i0.ɵɵdirectiveInject(i1.EventRenderService, 8)); };
268
303
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DayViewComponent, selectors: [["cal-day-view"]], viewQuery: function DayViewComponent_Query(rf, ctx) { if (rf & 1) {
269
304
  i0.ɵɵviewQuery(_c0, 5);
270
305
  i0.ɵɵviewQuery(_c1, 5);
@@ -272,7 +307,7 @@ export class DayViewComponent {
272
307
  let _t;
273
308
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.timeGridEl = _t.first);
274
309
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.gridInnerEl = _t.first);
275
- } }, hostAttrs: [2, "display", "contents"], inputs: { currentDate: "currentDate", events: "events", config: "config", previewEvent: "previewEvent", selectedEventId: "selectedEventId", selectedInstanceDate: "selectedInstanceDate" }, outputs: { eventClick: "eventClick", selectEvent: "selectEvent", clearSelection: "clearSelection", dayCellClick: "dayCellClick", dropTimedEvent: "dropTimedEvent", dragOverDateTime: "dragOverDateTime", hidePreviewEv: "hidePreviewEv", dragEnd: "dragEnd", dragStartEv: "dragStartEv" }, features: [i0.ɵɵNgOnChangesFeature], decls: 15, vars: 14, consts: [["timeGridEl", ""], ["gridInnerEl", ""], ["defaultAllDay", ""], [1, "bm-cal-day"], [1, "bm-cal-day__header"], [1, "bm-cal-day__day-name"], ["class", "bm-cal-day__allday", 4, "ngIf"], [1, "bm-cal-day__time-grid", 3, "dragover", "drop", "dragleave", "mousedown", "click", "dblclick"], [1, "bm-cal-day__time-grid-inner"], [3, "class", "top", "height", 4, "ngFor", "ngForOf"], [1, "bm-cal-day__day-col"], [3, "event", "dayCol", "dayCount", "lane", "laneCount", "startOffset", "endOffset", "dayDate", "hourHeight", "timeLabelWidth", "ghost", "clickThresholdMs", "locale", "snapMinutes", "isSelected", "eventClick", "selectEvent", "dragStart", "dragEnd", 4, "ngFor", "ngForOf"], ["class", "bm-cal-day__now-line", 3, "top", 4, "ngIf"], [1, "bm-cal-day__allday"], [1, "bm-cal-day__allday-label"], [1, "bm-cal-day__allday-list"], [3, "class", "background-color", "ngStyle", "title", "mousedown", "click", "dblclick", 4, "ngFor", "ngForOf"], [3, "mousedown", "click", "dblclick", "ngStyle", "title"], [4, "ngIf", "ngIfElse"], [4, "ngIf"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "bm-cal-day__hour-label"], [3, "eventClick", "selectEvent", "dragStart", "dragEnd", "event", "dayCol", "dayCount", "lane", "laneCount", "startOffset", "endOffset", "dayDate", "hourHeight", "timeLabelWidth", "ghost", "clickThresholdMs", "locale", "snapMinutes", "isSelected"], [1, "bm-cal-day__now-line"], [1, "bm-cal-day__now-dot"]], template: function DayViewComponent_Template(rf, ctx) { if (rf & 1) {
310
+ } }, hostAttrs: [2, "display", "contents"], inputs: { currentDate: "currentDate", events: "events", config: "config", previewEvent: "previewEvent", selectedEventId: "selectedEventId", selectedInstanceDate: "selectedInstanceDate" }, outputs: { eventClick: "eventClick", selectEvent: "selectEvent", clearSelection: "clearSelection", dayCellClick: "dayCellClick", dropTimedEvent: "dropTimedEvent", dragOverDateTime: "dragOverDateTime", hidePreviewEv: "hidePreviewEv", dragEnd: "dragEnd", dropTimedInfo: "dropTimedInfo", dragStartEv: "dragStartEv" }, features: [i0.ɵɵProvidersFeature([CalendarPointerGestureService]), i0.ɵɵNgOnChangesFeature], decls: 15, vars: 15, consts: [["timeGridEl", ""], ["gridInnerEl", ""], ["defaultAllDay", ""], [1, "bm-cal-day"], [1, "bm-cal-day__header"], [1, "bm-cal-day__day-name"], ["class", "bm-cal-day__allday", 4, "ngIf"], [1, "bm-cal-day__time-grid", 3, "dragover", "drop", "dragleave", "mousedown", "click", "dblclick"], [1, "bm-cal-day__time-grid-inner"], [3, "class", "top", "height", 4, "ngFor", "ngForOf"], [1, "bm-cal-day__day-col"], [3, "config", "event", "dayCol", "dayCount", "lane", "laneCount", "startOffset", "endOffset", "dayDate", "hourHeight", "timeLabelWidth", "ghost", "clickThresholdMs", "locale", "snapMinutes", "isSelected", "eventClick", "selectEvent", "dragStart", "dragEnd", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["class", "bm-cal-day__now-line", 3, "top", 4, "ngIf"], [1, "bm-cal-day__allday"], [1, "bm-cal-day__allday-label"], [1, "bm-cal-day__allday-list"], [3, "class", "background-color", "ngStyle", "title", "mousedown", "click", "dblclick", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "mousedown", "click", "dblclick", "ngStyle", "title"], [4, "ngIf", "ngIfElse"], [4, "ngIf"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "bm-cal-day__hour-label"], [3, "eventClick", "selectEvent", "dragStart", "dragEnd", "config", "event", "dayCol", "dayCount", "lane", "laneCount", "startOffset", "endOffset", "dayDate", "hourHeight", "timeLabelWidth", "ghost", "clickThresholdMs", "locale", "snapMinutes", "isSelected"], [1, "bm-cal-day__now-line"], [1, "bm-cal-day__now-dot"]], template: function DayViewComponent_Template(rf, ctx) { if (rf & 1) {
276
311
  const _r1 = i0.ɵɵgetCurrentView();
277
312
  i0.ɵɵelementStart(0, "div", 3)(1, "div", 4)(2, "span", 5);
278
313
  i0.ɵɵtext(3);
@@ -280,13 +315,13 @@ export class DayViewComponent {
280
315
  i0.ɵɵelementStart(4, "span");
281
316
  i0.ɵɵtext(5);
282
317
  i0.ɵɵelementEnd()();
283
- i0.ɵɵtemplate(6, DayViewComponent_div_6_Template, 5, 2, "div", 6);
318
+ i0.ɵɵtemplate(6, DayViewComponent_div_6_Template, 5, 3, "div", 6);
284
319
  i0.ɵɵelementStart(7, "div", 7, 0);
285
320
  i0.ɵɵlistener("dragover", function DayViewComponent_Template_div_dragover_7_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleGridDragOver($event)); })("drop", function DayViewComponent_Template_div_drop_7_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleGridDrop($event)); })("dragleave", function DayViewComponent_Template_div_dragleave_7_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleGridDragLeave($event)); })("mousedown", function DayViewComponent_Template_div_mousedown_7_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.click.markMouseDown()); })("click", function DayViewComponent_Template_div_click_7_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleGridClick($event)); })("dblclick", function DayViewComponent_Template_div_dblclick_7_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleGridDoubleClick($event)); });
286
321
  i0.ɵɵelementStart(9, "div", 8, 1);
287
322
  i0.ɵɵtemplate(11, DayViewComponent_div_11_Template, 3, 7, "div", 9);
288
323
  i0.ɵɵelement(12, "div", 10);
289
- i0.ɵɵtemplate(13, DayViewComponent_cal_time_event_13_Template, 1, 15, "cal-time-event", 11)(14, DayViewComponent_div_14_Template, 2, 2, "div", 12);
324
+ i0.ɵɵtemplate(13, DayViewComponent_cal_time_event_13_Template, 1, 16, "cal-time-event", 11)(14, DayViewComponent_div_14_Template, 2, 2, "div", 12);
290
325
  i0.ɵɵelementEnd()()();
291
326
  } if (rf & 2) {
292
327
  i0.ɵɵadvance(3);
@@ -302,9 +337,9 @@ export class DayViewComponent {
302
337
  i0.ɵɵadvance(2);
303
338
  i0.ɵɵproperty("ngForOf", ctx.hours);
304
339
  i0.ɵɵadvance();
305
- i0.ɵɵstyleProp("left", ctx.timeLabelWidth, "px")("width", "calc(100% - " + ctx.timeLabelWidth + "px)");
340
+ i0.ɵɵstyleProp("inset-inline-start", ctx.timeLabelWidth, "px")("width", "calc(100% - " + ctx.timeLabelWidth + "px)");
306
341
  i0.ɵɵadvance();
307
- i0.ɵɵproperty("ngForOf", ctx.timedEntries);
342
+ i0.ɵɵproperty("ngForOf", ctx.timedEntries)("ngForTrackBy", ctx.trackTimed);
308
343
  i0.ɵɵadvance();
309
344
  i0.ɵɵproperty("ngIf", ctx.isToday);
310
345
  } }, dependencies: [CommonModule, i2.NgForOf, i2.NgIf, i2.NgTemplateOutlet, i2.NgStyle, TimeEventComponent], encapsulation: 2 });
@@ -313,6 +348,7 @@ export class DayViewComponent {
313
348
  type: Component,
314
349
  args: [{
315
350
  selector: 'cal-day-view',
351
+ providers: [CalendarPointerGestureService],
316
352
  standalone: true,
317
353
  host: { style: 'display: contents' },
318
354
  imports: [CommonModule, TimeEventComponent],
@@ -328,7 +364,7 @@ export class DayViewComponent {
328
364
  <div *ngIf="allDayEvents.length > 0" class="bm-cal-day__allday">
329
365
  <div class="bm-cal-day__allday-label">{{ config.locale.allDayLabel }}</div>
330
366
  <div class="bm-cal-day__allday-list">
331
- <div *ngFor="let ev of allDayEvents"
367
+ <div *ngFor="let ev of allDayEvents; trackBy: trackEvent"
332
368
  [class]="'bm-cal-day__allday-event' + (isAllDaySelected(ev) ? ' bm-cal-day__allday-event--selected' : '') + slotsClassName(ev)"
333
369
  [style.background-color]="getColor(ev)"
334
370
  [ngStyle]="slotsStyle(ev)"
@@ -360,9 +396,10 @@ export class DayViewComponent {
360
396
  <div class="bm-cal-day__hour-label">{{ h > 0 ? formatHour(h) : '' }}</div>
361
397
  </div>
362
398
 
363
- <div class="bm-cal-day__day-col" [style.left.px]="timeLabelWidth" [style.width]="'calc(100% - ' + timeLabelWidth + 'px)'"></div>
399
+ <div class="bm-cal-day__day-col" [style.inset-inline-start.px]="timeLabelWidth" [style.width]="'calc(100% - ' + timeLabelWidth + 'px)'"></div>
364
400
 
365
- <cal-time-event *ngFor="let entry of timedEntries"
401
+ <cal-time-event *ngFor="let entry of timedEntries; trackBy: trackTimed"
402
+ [config]="config"
366
403
  [event]="entry.event"
367
404
  [dayCol]="entry.layout.dayCol" [dayCount]="entry.layout.dayCount"
368
405
  [lane]="entry.layout.lane" [laneCount]="entry.layout.laneCount"
@@ -387,7 +424,7 @@ export class DayViewComponent {
387
424
  </div>
388
425
  `,
389
426
  }]
390
- }], () => [{ type: i1.EventRenderService, decorators: [{
427
+ }], () => [{ type: i1.CalendarPointerGestureService }, { type: i1.EventRenderService, decorators: [{
391
428
  type: Optional
392
429
  }] }], { currentDate: [{
393
430
  type: Input
@@ -417,6 +454,8 @@ export class DayViewComponent {
417
454
  type: Output
418
455
  }], dragEnd: [{
419
456
  type: Output
457
+ }], dropTimedInfo: [{
458
+ type: Output
420
459
  }], dragStartEv: [{
421
460
  type: Output
422
461
  }], timeGridEl: [{
@@ -426,5 +465,5 @@ export class DayViewComponent {
426
465
  type: ViewChild,
427
466
  args: ['gridInnerEl']
428
467
  }] }); })();
429
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DayViewComponent, { className: "DayViewComponent", filePath: "views/day/dayview.ts", lineNumber: 93 }); })();
468
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DayViewComponent, { className: "DayViewComponent", filePath: "views/day/dayview.ts", lineNumber: 96 }); })();
430
469
  //# sourceMappingURL=DayView.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DayView.js","sourceRoot":"","sources":["../../../src/views/day/DayView.ts"],"names":[],"mappings":"AAAA,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