@bimetal/calendar-angular-components 0.35.0 → 0.36.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 +26 -0
  10. package/dist/binding/services/pointer-gesture.service.d.ts.map +1 -0
  11. package/dist/binding/services/pointer-gesture.service.js +37 -0
  12. package/dist/binding/services/pointer-gesture.service.js.map +1 -0
  13. package/dist/components/Calendar.d.ts +21 -4
  14. package/dist/components/Calendar.d.ts.map +1 -1
  15. package/dist/components/Calendar.js +121 -30
  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 +6 -4
  30. package/dist/components/EventDialog.d.ts.map +1 -1
  31. package/dist/components/EventDialog.js +81 -44
  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 +15 -12
@@ -1 +1 @@
1
- {"version":3,"file":"TimelineView.js","sourceRoot":"","sources":["../../../src/views/timeline/TimelineView.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,QAAQ,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AAG/G,OAAO,EAAE,4BAA4B,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC7F,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;;;;IAa7D,6BAAwE;IACtE,8BAAoD;IAClD,YACF;IAAA,iBAAM;;;;IADJ,eACF;IADE,0FACF;;;IAMI,2BAC2G;IACzG,YACF;IAAA,iBAAM;;;;IAFD,oHAAqG;IACxG,cACF;IADE,wDACF;;;IAMI,2BAAsG;;;IAA1C,8CAAkC;;;;IAW9F,kCAOwD;IAAhD,AADA,AADA,iNAAa,gCAAyB,KAAC,4LAC9B,oBAAa,KAAC,0QACX,+CAAkC,KAAC;IACvD,iBAAS;;;;;IAND,sGAAuF;IAEvF,AADA,uCAA2B,sBACA;;;;IAKnC,yCAc6B;IAA3B,AADA,AADA,AADA,uOAAc,8BAAuB,KAAC,4NACvB,+BAAwB,KAAC,wNAC3B,+BAAwB,KAAC,8MAC3B,qBAAc,KAAC;IAC5B,iBAAgB;;;;IALd,AADA,AADA,AADA,AADA,AADA,AADA,AADA,AADA,AADA,6CAA4B,oCACI,gCACJ,8BACF,4BACF,0BACF,2BACH,qGACiC,oDACR,wDACC;;;;IA/BjD,AADF,8BAA8F,cACb;IAC7E,6FAA+F;I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B;kBAA1B,MAAM;YACG,YAAY;kBAArB,MAAM;YACG,YAAY;kBAArB,MAAM;YAEG,aAAa;kBAAtB,MAAM;YAEG,OAAO;kBAAhB,MAAM;YACG,WAAW;kBAApB,MAAM;YAEG,gBAAgB;kBAAzB,MAAM;;kFA9CI,qBAAqB"}
@@ -1,12 +1,20 @@
1
- import { EventEmitter, ElementRef } from '@angular/core';
1
+ import type { CalendarConfig } from '../../binding/index.js';
2
+ import { CalendarPointerGestureService } from '../../binding/index.js';
3
+ import type { DragInfo } from '@bimetal/calendar-headless';
4
+ import { EventEmitter, ElementRef, AfterViewInit } from '@angular/core';
2
5
  import type { CalendarDateTime, CalendarEvent, LayoutItem } from '@bimetal/calendar-core';
3
6
  import * as i0 from "@angular/core";
4
7
  /**
5
8
  * All-day event bar row shown above the week time grid: renders one `cal-event-bar`
6
9
  * per laid-out all-day segment and reports drag-over/drop targets.
7
10
  */
8
- export declare class AllDayRowComponent {
11
+ export declare class AllDayRowComponent implements AfterViewInit {
12
+ private gesture;
13
+ constructor(gesture: CalendarPointerGestureService);
14
+ ngAfterViewInit(): void;
9
15
  weekDates: CalendarDateTime[];
16
+ /** Resolved calendar config (mcp-92: locale-aware time display in bars). */
17
+ config: CalendarConfig;
10
18
  items: LayoutItem[];
11
19
  allDayLabel: string;
12
20
  previewEvent: CalendarEvent | null;
@@ -26,6 +34,11 @@ export declare class AllDayRowComponent {
26
34
  date: CalendarDateTime;
27
35
  }>;
28
36
  dragOver: EventEmitter<CalendarDateTime>;
37
+ /** Pointer-gesture drop (mcp-57): same controller path, minus the DataTransfer. */
38
+ dropDayInfo: EventEmitter<{
39
+ info: DragInfo;
40
+ date: CalendarDateTime;
41
+ }>;
29
42
  /** Drop-Zone wurde verlassen (dragleave) — Preview visuell ausräumen. */
30
43
  hidePreviewEv: EventEmitter<void>;
31
44
  /** Native `dragend` der Source — Drag-Session vollständig beendet. */
@@ -39,6 +52,6 @@ export declare class AllDayRowComponent {
39
52
  handleDrop(e: DragEvent): void;
40
53
  handleDragLeave(e: DragEvent): void;
41
54
  static ɵfac: i0.ɵɵFactoryDeclaration<AllDayRowComponent, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<AllDayRowComponent, "cal-allday-row", never, { "weekDates": { "alias": "weekDates"; "required": false; }; "items": { "alias": "items"; "required": false; }; "allDayLabel": { "alias": "allDayLabel"; "required": false; }; "previewEvent": { "alias": "previewEvent"; "required": false; }; "selectedEventId": { "alias": "selectedEventId"; "required": false; }; "selectedInstanceDate": { "alias": "selectedInstanceDate"; "required": false; }; }, { "eventClick": "eventClick"; "selectEvent": "selectEvent"; "dropEvent": "dropEvent"; "dragOver": "dragOver"; "hidePreviewEv": "hidePreviewEv"; "dragEnd": "dragEnd"; "dragStartEv": "dragStartEv"; }, never, never, true, never>;
55
+ static ɵcmp: i0.ɵɵComponentDeclaration<AllDayRowComponent, "cal-allday-row", never, { "weekDates": { "alias": "weekDates"; "required": false; }; "config": { "alias": "config"; "required": true; }; "items": { "alias": "items"; "required": false; }; "allDayLabel": { "alias": "allDayLabel"; "required": false; }; "previewEvent": { "alias": "previewEvent"; "required": false; }; "selectedEventId": { "alias": "selectedEventId"; "required": false; }; "selectedInstanceDate": { "alias": "selectedInstanceDate"; "required": false; }; }, { "eventClick": "eventClick"; "selectEvent": "selectEvent"; "dropEvent": "dropEvent"; "dragOver": "dragOver"; "dropDayInfo": "dropDayInfo"; "hidePreviewEv": "hidePreviewEv"; "dragEnd": "dragEnd"; "dragStartEv": "dragStartEv"; }, never, never, true, never>;
43
56
  }
44
57
  //# sourceMappingURL=AllDayRow.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AllDayRow.d.ts","sourceRoot":"","sources":["../../../src/views/week/AllDayRow.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAAa,UAAU,EAAE,MAAM,eAAe,CAAC;AAE9F,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,wBAAwB,C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2
  import { Component, Input, Output, EventEmitter, ViewChild, ElementRef } from '@angular/core';
2
3
  import { CommonModule } from '@angular/common';
3
4
  import { maxLanes, getRecurrenceInstanceMetadata } from '@bimetal/calendar-core';
4
5
  import { colFromTimeGridX, DEFAULT_TIME_LABEL_WIDTH_WEEK } from '@bimetal/calendar-headless';
5
6
  import { EventBarComponent } from '../../components/EventBar.js';
6
7
  import * as i0 from "@angular/core";
7
- import * as i1 from "@angular/common";
8
+ import * as i1 from "../../binding/index.js";
9
+ import * as i2 from "@angular/common";
8
10
  const _c0 = ["rowEl"];
9
11
  function AllDayRowComponent_div_0_cal_event_bar_5_Template(rf, ctx) { if (rf & 1) {
10
12
  const _r3 = i0.ɵɵgetCurrentView();
@@ -14,7 +16,7 @@ function AllDayRowComponent_div_0_cal_event_bar_5_Template(rf, ctx) { if (rf & 1
14
16
  } if (rf & 2) {
15
17
  const item_r4 = ctx.$implicit;
16
18
  const ctx_r1 = i0.ɵɵnextContext(2);
17
- i0.ɵɵproperty("event", item_r4.segment.event)("isStart", item_r4.segment.isStart)("isEnd", item_r4.segment.isEnd)("dayIndex", item_r4.dayIndex)("daySpan", item_r4.daySpan)("column", item_r4.column)("weekDates", ctx_r1.weekDates)("ghost", (ctx_r1.previewEvent == null ? null : ctx_r1.previewEvent.id) === item_r4.segment.event.id)("isSelected", ctx_r1.isSelected(item_r4.segment.event));
19
+ i0.ɵɵproperty("config", ctx_r1.config)("event", item_r4.segment.event)("isStart", item_r4.segment.isStart)("isEnd", item_r4.segment.isEnd)("dayIndex", item_r4.dayIndex)("daySpan", item_r4.daySpan)("column", item_r4.column)("weekDates", ctx_r1.weekDates)("ghost", (ctx_r1.previewEvent == null ? null : ctx_r1.previewEvent.id) === item_r4.segment.event.id)("isSelected", ctx_r1.isSelected(item_r4.segment.event));
18
20
  } }
19
21
  function AllDayRowComponent_div_0_Template(rf, ctx) { if (rf & 1) {
20
22
  const _r1 = i0.ɵɵgetCurrentView();
@@ -24,7 +26,7 @@ function AllDayRowComponent_div_0_Template(rf, ctx) { if (rf & 1) {
24
26
  i0.ɵɵtext(3);
25
27
  i0.ɵɵelementEnd();
26
28
  i0.ɵɵelementStart(4, "div", 4);
27
- i0.ɵɵtemplate(5, AllDayRowComponent_div_0_cal_event_bar_5_Template, 1, 9, "cal-event-bar", 5);
29
+ i0.ɵɵtemplate(5, AllDayRowComponent_div_0_cal_event_bar_5_Template, 1, 10, "cal-event-bar", 5);
28
30
  i0.ɵɵelementEnd()();
29
31
  } if (rf & 2) {
30
32
  const ctx_r1 = i0.ɵɵnextContext();
@@ -40,7 +42,33 @@ function AllDayRowComponent_div_0_Template(rf, ctx) { if (rf & 1) {
40
42
  * per laid-out all-day segment and reports drag-over/drop targets.
41
43
  */
42
44
  export class AllDayRowComponent {
45
+ gesture;
46
+ constructor(gesture) {
47
+ this.gesture = gesture;
48
+ }
49
+ ngAfterViewInit() {
50
+ // mcp-57 Slice E: zone-scoped FSM — all-day bars live here; timed chips use
51
+ // the week grid's FSM (this component-level provider overrides WeekView's).
52
+ this.gesture.init({
53
+ hitTest: (x, y) => {
54
+ const row = this.rowEl?.nativeElement;
55
+ if (!row)
56
+ return null;
57
+ const rect = row.getBoundingClientRect();
58
+ if (x < rect.left || x > rect.right || y < rect.top || y > rect.bottom)
59
+ return null;
60
+ return { date: this.weekDates[colFromTimeGridX(x, rect, DEFAULT_TIME_LABEL_WIDTH_WEEK, 7, this.rowEl ? getComputedStyle(this.rowEl.nativeElement).direction === 'rtl' : false)] };
61
+ },
62
+ onGestureStart: (info) => this.dragStartEv.emit(info),
63
+ onGestureOver: (hit) => this.dragOver.emit(hit.date),
64
+ onGestureLeave: () => this.hidePreviewEv.emit(),
65
+ onGestureDrop: (info, hit) => this.dropDayInfo.emit({ info, date: hit.date }),
66
+ onGestureEnd: () => this.dragEnd.emit(),
67
+ });
68
+ }
43
69
  weekDates = [];
70
+ /** Resolved calendar config (mcp-92: locale-aware time display in bars). */
71
+ config;
44
72
  items = [];
45
73
  allDayLabel = 'all day';
46
74
  // B-CAL-1: the controller-rebuilt dragged event; only the ghost flag reads it.
@@ -51,6 +79,8 @@ export class AllDayRowComponent {
51
79
  selectEvent = new EventEmitter();
52
80
  dropEvent = new EventEmitter();
53
81
  dragOver = new EventEmitter();
82
+ /** Pointer-gesture drop (mcp-57): same controller path, minus the DataTransfer. */
83
+ dropDayInfo = new EventEmitter();
54
84
  /** Drop-Zone wurde verlassen (dragleave) — Preview visuell ausräumen. */
55
85
  hidePreviewEv = new EventEmitter();
56
86
  /** Native `dragend` der Source — Drag-Session vollständig beendet. */
@@ -74,14 +104,14 @@ export class AllDayRowComponent {
74
104
  e.dataTransfer.dropEffect = 'move';
75
105
  if (!this.rowEl)
76
106
  return;
77
- const col = colFromTimeGridX(e.clientX, this.rowEl.nativeElement.getBoundingClientRect(), DEFAULT_TIME_LABEL_WIDTH_WEEK);
107
+ const col = colFromTimeGridX(e.clientX, this.rowEl.nativeElement.getBoundingClientRect(), DEFAULT_TIME_LABEL_WIDTH_WEEK, 7, this.rowEl ? getComputedStyle(this.rowEl.nativeElement).direction === 'rtl' : false);
78
108
  this.dragOver.emit(this.weekDates[col]);
79
109
  }
80
110
  handleDrop(e) {
81
111
  e.preventDefault();
82
112
  if (!this.rowEl)
83
113
  return;
84
- const col = colFromTimeGridX(e.clientX, this.rowEl.nativeElement.getBoundingClientRect(), DEFAULT_TIME_LABEL_WIDTH_WEEK);
114
+ const col = colFromTimeGridX(e.clientX, this.rowEl.nativeElement.getBoundingClientRect(), DEFAULT_TIME_LABEL_WIDTH_WEEK, 7, this.rowEl ? getComputedStyle(this.rowEl.nativeElement).direction === 'rtl' : false);
85
115
  this.dropEvent.emit({ event: e, date: this.weekDates[col] });
86
116
  }
87
117
  handleDragLeave(e) {
@@ -91,22 +121,23 @@ export class AllDayRowComponent {
91
121
  this.hidePreviewEv.emit();
92
122
  }
93
123
  }
94
- static ɵfac = function AllDayRowComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AllDayRowComponent)(); };
124
+ static ɵfac = function AllDayRowComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AllDayRowComponent)(i0.ɵɵdirectiveInject(i1.CalendarPointerGestureService)); };
95
125
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AllDayRowComponent, selectors: [["cal-allday-row"]], viewQuery: function AllDayRowComponent_Query(rf, ctx) { if (rf & 1) {
96
126
  i0.ɵɵviewQuery(_c0, 5);
97
127
  } if (rf & 2) {
98
128
  let _t;
99
129
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.rowEl = _t.first);
100
- } }, hostAttrs: [2, "display", "contents"], inputs: { weekDates: "weekDates", items: "items", allDayLabel: "allDayLabel", previewEvent: "previewEvent", selectedEventId: "selectedEventId", selectedInstanceDate: "selectedInstanceDate" }, outputs: { eventClick: "eventClick", selectEvent: "selectEvent", dropEvent: "dropEvent", dragOver: "dragOver", hidePreviewEv: "hidePreviewEv", dragEnd: "dragEnd", dragStartEv: "dragStartEv" }, decls: 1, vars: 1, consts: [["rowEl", ""], ["class", "bm-cal-week__allday", 3, "dragover", "drop", "dragleave", 4, "ngIf"], [1, "bm-cal-week__allday", 3, "dragover", "drop", "dragleave"], [1, "bm-cal-week__allday-label"], [1, "bm-cal-week__allday-grid"], [3, "event", "isStart", "isEnd", "dayIndex", "daySpan", "column", "weekDates", "ghost", "isSelected", "eventClick", "selectEvent", "dragStart", "dragEnd", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "eventClick", "selectEvent", "dragStart", "dragEnd", "event", "isStart", "isEnd", "dayIndex", "daySpan", "column", "weekDates", "ghost", "isSelected"]], template: function AllDayRowComponent_Template(rf, ctx) { if (rf & 1) {
130
+ } }, hostAttrs: [2, "display", "contents"], inputs: { weekDates: "weekDates", config: "config", items: "items", allDayLabel: "allDayLabel", previewEvent: "previewEvent", selectedEventId: "selectedEventId", selectedInstanceDate: "selectedInstanceDate" }, outputs: { eventClick: "eventClick", selectEvent: "selectEvent", dropEvent: "dropEvent", dragOver: "dragOver", dropDayInfo: "dropDayInfo", hidePreviewEv: "hidePreviewEv", dragEnd: "dragEnd", dragStartEv: "dragStartEv" }, features: [i0.ɵɵProvidersFeature([CalendarPointerGestureService])], decls: 1, vars: 1, consts: [["rowEl", ""], ["class", "bm-cal-week__allday", 3, "dragover", "drop", "dragleave", 4, "ngIf"], [1, "bm-cal-week__allday", 3, "dragover", "drop", "dragleave"], [1, "bm-cal-week__allday-label"], [1, "bm-cal-week__allday-grid"], [3, "config", "event", "isStart", "isEnd", "dayIndex", "daySpan", "column", "weekDates", "ghost", "isSelected", "eventClick", "selectEvent", "dragStart", "dragEnd", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "eventClick", "selectEvent", "dragStart", "dragEnd", "config", "event", "isStart", "isEnd", "dayIndex", "daySpan", "column", "weekDates", "ghost", "isSelected"]], template: function AllDayRowComponent_Template(rf, ctx) { if (rf & 1) {
101
131
  i0.ɵɵtemplate(0, AllDayRowComponent_div_0_Template, 6, 5, "div", 1);
102
132
  } if (rf & 2) {
103
133
  i0.ɵɵproperty("ngIf", ctx.items.length > 0);
104
- } }, dependencies: [CommonModule, i1.NgForOf, i1.NgIf, EventBarComponent], encapsulation: 2 });
134
+ } }, dependencies: [CommonModule, i2.NgForOf, i2.NgIf, EventBarComponent], encapsulation: 2 });
105
135
  }
106
136
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AllDayRowComponent, [{
107
137
  type: Component,
108
138
  args: [{
109
139
  selector: 'cal-allday-row',
140
+ providers: [CalendarPointerGestureService],
110
141
  standalone: true,
111
142
  host: { style: 'display: contents' },
112
143
  imports: [CommonModule, EventBarComponent],
@@ -117,6 +148,7 @@ export class AllDayRowComponent {
117
148
  <div class="bm-cal-week__allday-label">{{ allDayLabel }}</div>
118
149
  <div class="bm-cal-week__allday-grid" [style.--lane-count]="lanes">
119
150
  <cal-event-bar *ngFor="let item of items; trackBy: trackItem"
151
+ [config]="config"
120
152
  [event]="item.segment.event"
121
153
  [isStart]="item.segment.isStart"
122
154
  [isEnd]="item.segment.isEnd"
@@ -135,8 +167,11 @@ export class AllDayRowComponent {
135
167
  </div>
136
168
  `,
137
169
  }]
138
- }], null, { weekDates: [{
170
+ }], () => [{ type: i1.CalendarPointerGestureService }], { weekDates: [{
139
171
  type: Input
172
+ }], config: [{
173
+ type: Input,
174
+ args: [{ required: true }]
140
175
  }], items: [{
141
176
  type: Input
142
177
  }], allDayLabel: [{
@@ -155,6 +190,8 @@ export class AllDayRowComponent {
155
190
  type: Output
156
191
  }], dragOver: [{
157
192
  type: Output
193
+ }], dropDayInfo: [{
194
+ type: Output
158
195
  }], hidePreviewEv: [{
159
196
  type: Output
160
197
  }], dragEnd: [{
@@ -165,5 +202,5 @@ export class AllDayRowComponent {
165
202
  type: ViewChild,
166
203
  args: ['rowEl']
167
204
  }] }); })();
168
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AllDayRowComponent, { className: "AllDayRowComponent", filePath: "views/week/alldayrow.ts", lineNumber: 42 }); })();
205
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AllDayRowComponent, { className: "AllDayRowComponent", filePath: "views/week/alldayrow.ts", lineNumber: 47 }); })();
169
206
  //# sourceMappingURL=AllDayRow.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AllDayRow.js","sourceRoot":"","sources":["../../../src/views/week/AllDayRow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC9F,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,QAAQ,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,6BAA6B,EAAE,MAAM,4BAA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KAAK,IAAI,CAAC,CAAC,OAAO,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC,OAAO,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC;YACvG,IAAI,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC;QAC5B,CAAC;IACH,CAAC;4GAhFU,kBAAkB;6DAAlB,kBAAkB;;;;;ogBA9BlB,CAAC,6BAA6B,CAAC;YAKxC,mEAEwC;;YAFlC,2CAAsB;4BAFpB,YAAY,uBAAE,iBAAiB;;iFA2B9B,kBAAkB;cAhC9B,SAAS;eAAC;gBACT,QAAQ,EAAE,gBAAgB;gBAC1B,SAAS,EAAE,CAAC,6BAA6B,CAAC;gBAC1C,UAAU,EAAE,IAAI;gBAChB,IAAI,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE;gBACpC,OAAO,EAAE,CAAC,YAAY,EAAE,iBAAiB,CAAC;gBAC1C,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;GAwBT;aACF;8DAsBU,SAAS;kBAAjB,KAAK;YAEqB,MAAM;kBAAhC,KAAK;mBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;YAChB,KAAK;kBAAb,KAAK;YACG,WAAW;kBAAnB,KAAK;YAEG,YAAY;kBAApB,KAAK;YACG,eAAe;kBAAvB,KAAK;YACG,oBAAoB;kBAA5B,KAAK;YACI,UAAU;kBAAnB,MAAM;YACG,WAAW;kBAApB,MAAM;YACG,SAAS;kBAAlB,MAAM;YACG,QAAQ;kBAAjB,MAAM;YAEG,WAAW;kBAApB,MAAM;YAEG,aAAa;kBAAtB,MAAM;YAEG,OAAO;kBAAhB,MAAM;YACG,WAAW;kBAApB,MAAM;YAEa,KAAK;kBAAxB,SAAS;mBAAC,OAAO;;kFA1CP,kBAAkB"}
@@ -1,7 +1,8 @@
1
+ import type { CalendarConfig } from '../../binding/index.js';
1
2
  import { EventEmitter } from '@angular/core';
2
3
  import type { CalendarEvent, CalendarDateTime } from '@bimetal/calendar-core';
3
4
  import { type DragInfo } from '@bimetal/calendar-headless';
4
- import { EventRenderService } from '../../binding/index.js';
5
+ import { EventRenderService, CalendarPointerGestureService } from '../../binding/index.js';
5
6
  import * as i0 from "@angular/core";
6
7
  /**
7
8
  * Layout-Position eines Termins in einer Spalten-orientierten View
@@ -24,7 +25,10 @@ export interface TimeEventLayout {
24
25
  */
25
26
  export declare class TimeEventComponent {
26
27
  private renderService?;
28
+ private gesture?;
27
29
  event: CalendarEvent;
30
+ /** Resolved calendar config (mcp-92: locale-aware time display). */
31
+ config: CalendarConfig;
28
32
  dayCol: number;
29
33
  dayCount: number;
30
34
  lane: number;
@@ -53,7 +57,8 @@ export declare class TimeEventComponent {
53
57
  /** Native `dragend` der Source — bubbelt aus Body und Resize-Handles. */
54
58
  dragEnd: EventEmitter<void>;
55
59
  private click;
56
- constructor(renderService?: EventRenderService | undefined);
60
+ constructor(renderService?: EventRenderService | undefined, gesture?: CalendarPointerGestureService | undefined);
61
+ get pointerMode(): boolean;
57
62
  /** v0.30 Slice 3 perf probe: a template binding evaluates ONLY on a real view refresh
58
63
  * (unlike ngDoCheck), so this counts REAL leaf re-renders. Returns null → no attribute. */
59
64
  probe(): null;
@@ -83,11 +88,13 @@ export declare class TimeEventComponent {
83
88
  get lockedClass(): string;
84
89
  get timeLabel(): string;
85
90
  handleMouseDown(): void;
91
+ handlePointerDown(e: PointerEvent): void;
92
+ handleResizePointerDown(e: PointerEvent, edge: 'start' | 'end'): void;
86
93
  handleDragStart(e: DragEvent): void;
87
94
  handleResizeDragStart(e: DragEvent, edge: 'start' | 'end'): void;
88
95
  handleClick(e: MouseEvent): void;
89
96
  handleDoubleClick(e: MouseEvent): void;
90
- static ɵfac: i0.ɵɵFactoryDeclaration<TimeEventComponent, [{ optional: true; }]>;
91
- static ɵcmp: i0.ɵɵComponentDeclaration<TimeEventComponent, "cal-time-event", never, { "event": { "alias": "event"; "required": false; }; "dayCol": { "alias": "dayCol"; "required": true; }; "dayCount": { "alias": "dayCount"; "required": true; }; "lane": { "alias": "lane"; "required": true; }; "laneCount": { "alias": "laneCount"; "required": true; }; "startOffset": { "alias": "startOffset"; "required": true; }; "endOffset": { "alias": "endOffset"; "required": true; }; "dayDate": { "alias": "dayDate"; "required": false; }; "hourHeight": { "alias": "hourHeight"; "required": false; }; "timeLabelWidth": { "alias": "timeLabelWidth"; "required": false; }; "ghost": { "alias": "ghost"; "required": false; }; "clickThresholdMs": { "alias": "clickThresholdMs"; "required": false; }; "snapMinutes": { "alias": "snapMinutes"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "isSelected": { "alias": "isSelected"; "required": false; }; }, { "eventClick": "eventClick"; "selectEvent": "selectEvent"; "dragStart": "dragStart"; "dragEnd": "dragEnd"; }, never, never, true, never>;
97
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimeEventComponent, [{ optional: true; }, { optional: true; }]>;
98
+ static ɵcmp: i0.ɵɵComponentDeclaration<TimeEventComponent, "cal-time-event", never, { "event": { "alias": "event"; "required": false; }; "config": { "alias": "config"; "required": true; }; "dayCol": { "alias": "dayCol"; "required": true; }; "dayCount": { "alias": "dayCount"; "required": true; }; "lane": { "alias": "lane"; "required": true; }; "laneCount": { "alias": "laneCount"; "required": true; }; "startOffset": { "alias": "startOffset"; "required": true; }; "endOffset": { "alias": "endOffset"; "required": true; }; "dayDate": { "alias": "dayDate"; "required": false; }; "hourHeight": { "alias": "hourHeight"; "required": false; }; "timeLabelWidth": { "alias": "timeLabelWidth"; "required": false; }; "ghost": { "alias": "ghost"; "required": false; }; "clickThresholdMs": { "alias": "clickThresholdMs"; "required": false; }; "snapMinutes": { "alias": "snapMinutes"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "isSelected": { "alias": "isSelected"; "required": false; }; }, { "eventClick": "eventClick"; "selectEvent": "selectEvent"; "dragStart": "dragStart"; "dragEnd": "dragEnd"; }, never, never, true, never>;
92
99
  }
93
100
  //# sourceMappingURL=TimeEvent.d.ts.map
@@ -1 +1 @@
1
- {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Output, EventEmitter, Optional, ChangeDetectionStrate
2
2
  import { CommonModule } from '@angular/common';
3
3
  import { isSameDay } from '@bimetal/temporal';
4
4
  import { getRecurrenceInstanceMetadata } from '@bimetal/calendar-core';
5
- import { buildDragInfo, createClickIntent, writeCalendarDragData, installTransparentDragImage } from '@bimetal/calendar-headless';
5
+ import { buildDragInfo, createClickIntent, writeCalendarDragData } from '@bimetal/calendar-headless';
6
+ import { installTransparentDragImage } from '@bimetal/a11y-dom';
6
7
  import { probeRender } from '@bimetal/angular';
7
- import { toTimeStr, EventRenderService } from '../../binding/index.js';
8
+ import { EventRenderService, CalendarPointerGestureService, formatTime } from '../../binding/index.js';
8
9
  import * as i0 from "@angular/core";
9
10
  import * as i1 from "../../binding/index.js";
10
11
  import * as i2 from "@angular/common";
11
12
  function TimeEventComponent_div_1_Template(rf, ctx) { if (rf & 1) {
12
13
  const _r2 = i0.ɵɵgetCurrentView();
13
14
  i0.ɵɵelementStart(0, "div", 6);
14
- i0.ɵɵlistener("dragstart", function TimeEventComponent_div_1_Template_div_dragstart_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.handleResizeDragStart($event, "start")); })("dragend", function TimeEventComponent_div_1_Template_div_dragend_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.dragEnd.emit()); })("mousedown", function TimeEventComponent_div_1_Template_div_mousedown_0_listener($event) { i0.ɵɵrestoreView(_r2); return i0.ɵɵresetView($event.stopPropagation()); });
15
+ i0.ɵɵlistener("pointerdown", function TimeEventComponent_div_1_Template_div_pointerdown_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.handleResizePointerDown($event, "start")); })("dragstart", function TimeEventComponent_div_1_Template_div_dragstart_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.pointerMode || ctx_r2.handleResizeDragStart($event, "start")); })("dragend", function TimeEventComponent_div_1_Template_div_dragend_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.pointerMode || ctx_r2.dragEnd.emit()); })("mousedown", function TimeEventComponent_div_1_Template_div_mousedown_0_listener($event) { i0.ɵɵrestoreView(_r2); return i0.ɵɵresetView($event.stopPropagation()); });
15
16
  i0.ɵɵelementEnd();
17
+ } if (rf & 2) {
18
+ const ctx_r2 = i0.ɵɵnextContext();
19
+ i0.ɵɵattribute("draggable", ctx_r2.pointerMode ? null : true);
16
20
  } }
17
21
  function TimeEventComponent_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
18
22
  i0.ɵɵelementContainer(0);
@@ -62,8 +66,11 @@ function TimeEventComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
62
66
  function TimeEventComponent_div_6_Template(rf, ctx) { if (rf & 1) {
63
67
  const _r4 = i0.ɵɵgetCurrentView();
64
68
  i0.ɵɵelementStart(0, "div", 11);
65
- i0.ɵɵlistener("dragstart", function TimeEventComponent_div_6_Template_div_dragstart_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.handleResizeDragStart($event, "end")); })("dragend", function TimeEventComponent_div_6_Template_div_dragend_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.dragEnd.emit()); })("mousedown", function TimeEventComponent_div_6_Template_div_mousedown_0_listener($event) { i0.ɵɵrestoreView(_r4); return i0.ɵɵresetView($event.stopPropagation()); });
69
+ i0.ɵɵlistener("pointerdown", function TimeEventComponent_div_6_Template_div_pointerdown_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.handleResizePointerDown($event, "end")); })("dragstart", function TimeEventComponent_div_6_Template_div_dragstart_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.pointerMode || ctx_r2.handleResizeDragStart($event, "end")); })("dragend", function TimeEventComponent_div_6_Template_div_dragend_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.pointerMode || ctx_r2.dragEnd.emit()); })("mousedown", function TimeEventComponent_div_6_Template_div_mousedown_0_listener($event) { i0.ɵɵrestoreView(_r4); return i0.ɵɵresetView($event.stopPropagation()); });
66
70
  i0.ɵɵelementEnd();
71
+ } if (rf & 2) {
72
+ const ctx_r2 = i0.ɵɵnextContext();
73
+ i0.ɵɵattribute("draggable", ctx_r2.pointerMode ? null : true);
67
74
  } }
68
75
  /**
69
76
  * A single timed event rendered on a time grid (week/day/resource view);
@@ -72,7 +79,10 @@ function TimeEventComponent_div_6_Template(rf, ctx) { if (rf & 1) {
72
79
  */
73
80
  export class TimeEventComponent {
74
81
  renderService;
82
+ gesture;
75
83
  event;
84
+ /** Resolved calendar config (mcp-92: locale-aware time display). */
85
+ config;
76
86
  // v0.30 Slice 3: the six layout axes as FLAT primitive @Inputs (not the `layout` wrapper) so
77
87
  // OnPush compares by value.
78
88
  dayCol;
@@ -96,9 +106,14 @@ export class TimeEventComponent {
96
106
  /** Native `dragend` der Source — bubbelt aus Body und Resize-Handles. */
97
107
  dragEnd = new EventEmitter();
98
108
  click = createClickIntent();
99
- constructor(renderService) {
109
+ constructor(renderService,
110
+ // mcp-57 dual-mode: non-null when an ancestor VIEW provides the gesture
111
+ // FSM; null = native-DnD fallback (consumer views keep a working drag).
112
+ gesture) {
100
113
  this.renderService = renderService;
114
+ this.gesture = gesture;
101
115
  }
116
+ get pointerMode() { return !!this.gesture; }
102
117
  /** v0.30 Slice 3 perf probe: a template binding evaluates ONLY on a real view refresh
103
118
  * (unlike ngDoCheck), so this counts REAL leaf re-renders. Returns null → no attribute. */
104
119
  probe() { probeRender(this.event.id); return null; }
@@ -157,8 +172,8 @@ export class TimeEventComponent {
157
172
  + ((!p.draggable && !p.resizable && !p.editable && !p.deletable) ? ' bm-cal-time-event--locked' : '');
158
173
  }
159
174
  get timeLabel() {
160
- const st = toTimeStr(this.event.timeRange.start);
161
- const et = toTimeStr(this.event.timeRange.end);
175
+ const st = formatTime(this.event.timeRange.start, this.config.locale.code, this.config.core.timezone);
176
+ const et = formatTime(this.event.timeRange.end, this.config.locale.code, this.config.core.timezone);
162
177
  if (this.isFirstDay && this.isLastDay)
163
178
  return `${st} – ${et}`;
164
179
  if (this.isFirstDay)
@@ -168,6 +183,33 @@ export class TimeEventComponent {
168
183
  return '';
169
184
  }
170
185
  handleMouseDown() { this.click.markMouseDown(); }
186
+ handlePointerDown(e) {
187
+ if (!this.pointerMode)
188
+ return;
189
+ this.click.markMouseDown();
190
+ if (!this.canDrag)
191
+ return;
192
+ try {
193
+ e.currentTarget.setPointerCapture?.(e.pointerId);
194
+ }
195
+ catch { /* synthetic */ }
196
+ const rect = e.currentTarget.getBoundingClientRect();
197
+ const raw = ((e.clientY - rect.top) / this.hourHeight) * 60;
198
+ const minuteOffset = Math.round(raw / this.snapMinutes) * this.snapMinutes;
199
+ const info = buildDragInfo(this.event, 'move-timed', { minuteOffset });
200
+ this.gesture.onPointerDown(info, e.pointerId, e.clientX, e.clientY, () => this.click.markDragged());
201
+ }
202
+ handleResizePointerDown(e, edge) {
203
+ if (!this.pointerMode)
204
+ return;
205
+ e.stopPropagation();
206
+ try {
207
+ e.currentTarget.setPointerCapture?.(e.pointerId);
208
+ }
209
+ catch { /* synthetic */ }
210
+ const info = buildDragInfo(this.event, 'resize-timed', { edge });
211
+ this.gesture.onPointerDown(info, e.pointerId, e.clientX, e.clientY, () => this.click.markDragged());
212
+ }
171
213
  handleDragStart(e) {
172
214
  this.click.markDragged();
173
215
  const rect = e.currentTarget.getBoundingClientRect();
@@ -198,19 +240,19 @@ export class TimeEventComponent {
198
240
  const rect = e.currentTarget.getBoundingClientRect();
199
241
  this.eventClick.emit({ eventId: this.event.id, rect, instanceDate: this.instanceDate });
200
242
  }
201
- static ɵfac = function TimeEventComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TimeEventComponent)(i0.ɵɵdirectiveInject(i1.EventRenderService, 8)); };
202
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TimeEventComponent, selectors: [["cal-time-event"]], hostAttrs: [2, "display", "contents"], inputs: { event: "event", dayCol: "dayCol", dayCount: "dayCount", lane: "lane", laneCount: "laneCount", startOffset: "startOffset", endOffset: "endOffset", dayDate: "dayDate", hourHeight: "hourHeight", timeLabelWidth: "timeLabelWidth", ghost: "ghost", clickThresholdMs: "clickThresholdMs", snapMinutes: "snapMinutes", locale: "locale", isSelected: "isSelected" }, outputs: { eventClick: "eventClick", selectEvent: "selectEvent", dragStart: "dragStart", dragEnd: "dragEnd" }, decls: 7, vars: 27, consts: [["defaultContent", ""], [3, "mousedown", "dragstart", "dragend", "click", "dblclick", "ngStyle", "title"], ["class", "bm-cal-time-event__resize bm-cal-time-event__resize--top", "draggable", "true", 3, "dragstart", "dragend", "mousedown", 4, "ngIf"], [4, "ngIf", "ngIfElse"], [4, "ngIf"], ["class", "bm-cal-time-event__resize bm-cal-time-event__resize--bottom", "draggable", "true", 3, "dragstart", "dragend", "mousedown", 4, "ngIf"], ["draggable", "true", 1, "bm-cal-time-event__resize", "bm-cal-time-event__resize--top", 3, "dragstart", "dragend", "mousedown"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "bm-cal-time-event__title"], ["class", "bm-cal-time-event__time", 4, "ngIf"], [1, "bm-cal-time-event__time"], ["draggable", "true", 1, "bm-cal-time-event__resize", "bm-cal-time-event__resize--bottom", 3, "dragstart", "dragend", "mousedown"]], template: function TimeEventComponent_Template(rf, ctx) { if (rf & 1) {
243
+ static ɵfac = function TimeEventComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TimeEventComponent)(i0.ɵɵdirectiveInject(i1.EventRenderService, 8), i0.ɵɵdirectiveInject(i1.CalendarPointerGestureService, 8)); };
244
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TimeEventComponent, selectors: [["cal-time-event"]], hostAttrs: [2, "display", "contents"], inputs: { event: "event", config: "config", dayCol: "dayCol", dayCount: "dayCount", lane: "lane", laneCount: "laneCount", startOffset: "startOffset", endOffset: "endOffset", dayDate: "dayDate", hourHeight: "hourHeight", timeLabelWidth: "timeLabelWidth", ghost: "ghost", clickThresholdMs: "clickThresholdMs", snapMinutes: "snapMinutes", locale: "locale", isSelected: "isSelected" }, outputs: { eventClick: "eventClick", selectEvent: "selectEvent", dragStart: "dragStart", dragEnd: "dragEnd" }, decls: 7, vars: 27, consts: [["defaultContent", ""], [3, "pointerdown", "mousedown", "dragstart", "dragend", "click", "dblclick", "ngStyle", "title"], ["class", "bm-cal-time-event__resize bm-cal-time-event__resize--top", 3, "pointerdown", "dragstart", "dragend", "mousedown", 4, "ngIf"], [4, "ngIf", "ngIfElse"], [4, "ngIf"], ["class", "bm-cal-time-event__resize bm-cal-time-event__resize--bottom", 3, "pointerdown", "dragstart", "dragend", "mousedown", 4, "ngIf"], [1, "bm-cal-time-event__resize", "bm-cal-time-event__resize--top", 3, "pointerdown", "dragstart", "dragend", "mousedown"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "bm-cal-time-event__title"], ["class", "bm-cal-time-event__time", 4, "ngIf"], [1, "bm-cal-time-event__time"], [1, "bm-cal-time-event__resize", "bm-cal-time-event__resize--bottom", 3, "pointerdown", "dragstart", "dragend", "mousedown"]], template: function TimeEventComponent_Template(rf, ctx) { if (rf & 1) {
203
245
  const _r1 = i0.ɵɵgetCurrentView();
204
246
  i0.ɵɵelementStart(0, "div", 1);
205
- i0.ɵɵlistener("mousedown", function TimeEventComponent_Template_div_mousedown_0_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleMouseDown()); })("dragstart", function TimeEventComponent_Template_div_dragstart_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleDragStart($event)); })("dragend", function TimeEventComponent_Template_div_dragend_0_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.dragEnd.emit()); })("click", function TimeEventComponent_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleClick($event)); })("dblclick", function TimeEventComponent_Template_div_dblclick_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleDoubleClick($event)); });
206
- i0.ɵɵtemplate(1, TimeEventComponent_div_1_Template, 1, 0, "div", 2)(2, TimeEventComponent_ng_container_2_Template, 2, 2, "ng-container", 3)(3, TimeEventComponent_ng_template_3_Template, 3, 2, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(5, TimeEventComponent_ng_container_5_Template, 2, 2, "ng-container", 4)(6, TimeEventComponent_div_6_Template, 1, 0, "div", 5);
247
+ i0.ɵɵlistener("pointerdown", function TimeEventComponent_Template_div_pointerdown_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handlePointerDown($event)); })("mousedown", function TimeEventComponent_Template_div_mousedown_0_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.pointerMode || ctx.handleMouseDown()); })("dragstart", function TimeEventComponent_Template_div_dragstart_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.pointerMode || ctx.handleDragStart($event)); })("dragend", function TimeEventComponent_Template_div_dragend_0_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.pointerMode || ctx.dragEnd.emit()); })("click", function TimeEventComponent_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleClick($event)); })("dblclick", function TimeEventComponent_Template_div_dblclick_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleDoubleClick($event)); });
248
+ i0.ɵɵtemplate(1, TimeEventComponent_div_1_Template, 1, 1, "div", 2)(2, TimeEventComponent_ng_container_2_Template, 2, 2, "ng-container", 3)(3, TimeEventComponent_ng_template_3_Template, 3, 2, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(5, TimeEventComponent_ng_container_5_Template, 2, 2, "ng-container", 4)(6, TimeEventComponent_div_6_Template, 1, 1, "div", 5);
207
249
  i0.ɵɵelementEnd();
208
250
  } if (rf & 2) {
209
251
  const defaultContent_r5 = i0.ɵɵreference(4);
210
- i0.ɵɵclassMap("bm-cal-time-event" + (ctx.ghost ? " bm-cal-time-event--ghost" : "") + ctx.selectedClass + ctx.lockedClass + ctx.slotsClassName);
211
- i0.ɵɵstyleProp("top", ctx.top, "px")("height", ctx.height, "px")("left", ctx.left)("width", ctx.width)("background-color", ctx.color)("border-radius", ctx.borderRadius);
252
+ i0.ɵɵclassMap("bm-cal-time-event" + (ctx.ghost ? " bm-cal-time-event--ghost" : "") + (ctx.pointerMode && (ctx.canDrag || ctx.canResize) ? " bm-cal-time-event--pointer" : "") + ctx.selectedClass + ctx.lockedClass + ctx.slotsClassName);
253
+ i0.ɵɵstyleProp("top", ctx.top, "px")("height", ctx.height, "px")("inset-inline-start", ctx.left)("width", ctx.width)("background-color", ctx.color)("border-radius", ctx.borderRadius);
212
254
  i0.ɵɵproperty("ngStyle", ctx.slotsStyle)("title", ctx.renderedTitle);
213
- i0.ɵɵattribute("draggable", ctx.canDrag)("data-r", ctx.probe())("data-day-col", ctx.dayCol)("data-day-count", ctx.dayCount)("data-lane", ctx.lane)("data-lane-count", ctx.laneCount);
255
+ i0.ɵɵattribute("draggable", ctx.pointerMode ? null : ctx.canDrag)("data-r", ctx.probe())("data-day-col", ctx.dayCol)("data-day-count", ctx.dayCount)("data-lane", ctx.lane)("data-lane-count", ctx.laneCount);
214
256
  i0.ɵɵadvance();
215
257
  i0.ɵɵproperty("ngIf", ctx.isFirstDay && ctx.canResize);
216
258
  i0.ɵɵadvance();
@@ -230,26 +272,28 @@ export class TimeEventComponent {
230
272
  imports: [CommonModule],
231
273
  changeDetection: ChangeDetectionStrategy.OnPush,
232
274
  template: `
233
- <div [class]="'bm-cal-time-event' + (ghost ? ' bm-cal-time-event--ghost' : '') + selectedClass + lockedClass + slotsClassName"
275
+ <div [class]="'bm-cal-time-event' + (ghost ? ' bm-cal-time-event--ghost' : '') + (pointerMode && (canDrag || canResize) ? ' bm-cal-time-event--pointer' : '') + selectedClass + lockedClass + slotsClassName"
234
276
  [style.top.px]="top" [style.height.px]="height"
235
- [style.left]="left" [style.width]="width"
277
+ [style.inset-inline-start]="left" [style.width]="width"
236
278
  [style.background-color]="color" [style.border-radius]="borderRadius"
237
279
  [ngStyle]="slotsStyle"
238
- [attr.draggable]="canDrag"
280
+ [attr.draggable]="pointerMode ? null : canDrag"
239
281
  [attr.data-r]="probe()"
240
282
  [attr.data-day-col]="dayCol"
241
283
  [attr.data-day-count]="dayCount"
242
284
  [attr.data-lane]="lane"
243
285
  [attr.data-lane-count]="laneCount"
244
- (mousedown)="handleMouseDown()" (dragstart)="handleDragStart($event)"
245
- (dragend)="dragEnd.emit()"
286
+ (pointerdown)="handlePointerDown($event)"
287
+ (mousedown)="pointerMode || handleMouseDown()" (dragstart)="pointerMode || handleDragStart($event)"
288
+ (dragend)="pointerMode || dragEnd.emit()"
246
289
  (click)="handleClick($event)" (dblclick)="handleDoubleClick($event)" [title]="renderedTitle">
247
290
 
248
291
  <div *ngIf="isFirstDay && canResize"
249
292
  class="bm-cal-time-event__resize bm-cal-time-event__resize--top"
250
- draggable="true"
251
- (dragstart)="handleResizeDragStart($event, 'start')"
252
- (dragend)="dragEnd.emit()"
293
+ [attr.draggable]="pointerMode ? null : true"
294
+ (pointerdown)="handleResizePointerDown($event, 'start')"
295
+ (dragstart)="pointerMode || handleResizeDragStart($event, 'start')"
296
+ (dragend)="pointerMode || dragEnd.emit()"
253
297
  (mousedown)="$event.stopPropagation()"></div>
254
298
 
255
299
  <ng-container *ngIf="contentTpl; else defaultContent">
@@ -265,17 +309,23 @@ export class TimeEventComponent {
265
309
 
266
310
  <div *ngIf="isLastDay && canResize"
267
311
  class="bm-cal-time-event__resize bm-cal-time-event__resize--bottom"
268
- draggable="true"
269
- (dragstart)="handleResizeDragStart($event, 'end')"
270
- (dragend)="dragEnd.emit()"
312
+ [attr.draggable]="pointerMode ? null : true"
313
+ (pointerdown)="handleResizePointerDown($event, 'end')"
314
+ (dragstart)="pointerMode || handleResizeDragStart($event, 'end')"
315
+ (dragend)="pointerMode || dragEnd.emit()"
271
316
  (mousedown)="$event.stopPropagation()"></div>
272
317
  </div>
273
318
  `,
274
319
  }]
275
320
  }], () => [{ type: i1.EventRenderService, decorators: [{
276
321
  type: Optional
322
+ }] }, { type: i1.CalendarPointerGestureService, decorators: [{
323
+ type: Optional
277
324
  }] }], { event: [{
278
325
  type: Input
326
+ }], config: [{
327
+ type: Input,
328
+ args: [{ required: true }]
279
329
  }], dayCol: [{
280
330
  type: Input,
281
331
  args: [{ required: true }]
@@ -319,5 +369,5 @@ export class TimeEventComponent {
319
369
  }], dragEnd: [{
320
370
  type: Output
321
371
  }] }); })();
322
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TimeEventComponent, { className: "TimeEventComponent", filePath: "views/week/timeevent.ts", lineNumber: 79 }); })();
372
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TimeEventComponent, { className: "TimeEventComponent", filePath: "views/week/timeevent.ts", lineNumber: 84 }); })();
323
373
  //# sourceMappingURL=TimeEvent.js.map