ngx-core-components 0.3.12 → 0.3.13

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.
@@ -1084,6 +1084,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
1084
1084
  class SchedulerComponent {
1085
1085
  hourHeight = 60;
1086
1086
  viewModes = ['day', 'week', 'month'];
1087
+ // Component inputs
1087
1088
  events = input([]);
1088
1089
  currentDate = input(new Date());
1089
1090
  viewMode = input('week');
@@ -1093,11 +1094,29 @@ class SchedulerComponent {
1093
1094
  weekStartsOn = input(0);
1094
1095
  timeZone = input(undefined);
1095
1096
  slotMinutes = input(60);
1097
+ // New Enterprise feature inputs
1098
+ resources = input([]);
1099
+ enableDragToCreate = input(true);
1100
+ showSearch = input(true);
1101
+ showWorkHoursOnly = input(true);
1102
+ // Component outputs
1096
1103
  eventClick = output();
1097
1104
  slotClick = output();
1098
1105
  eventTimeChange = output();
1106
+ slotRangeSelect = output();
1107
+ eventDelete = output();
1108
+ currentDateChange = output();
1109
+ // State Management
1099
1110
  activeDate = signal(new Date());
1100
1111
  activeMode = signal('week');
1112
+ selectedResourceId = signal(null);
1113
+ searchQuery = signal('');
1114
+ dragSelectStart = signal(null);
1115
+ dragSelectCurrent = signal(null);
1116
+ showExportDropdown = signal(false);
1117
+ // Live Current-Time Indicator State
1118
+ now = signal(new Date());
1119
+ timeIntervalId;
1101
1120
  activeDragEvent = signal(null);
1102
1121
  resizeState = null;
1103
1122
  constructor() {
@@ -1108,9 +1127,50 @@ class SchedulerComponent {
1108
1127
  this.activeMode.set(this.viewMode());
1109
1128
  }, { allowSignalWrites: true });
1110
1129
  }
1130
+ ngOnInit() {
1131
+ if (typeof window !== 'undefined') {
1132
+ this.timeIntervalId = setInterval(() => {
1133
+ this.now.set(new Date());
1134
+ }, 30000);
1135
+ }
1136
+ }
1137
+ ngOnDestroy() {
1138
+ if (this.timeIntervalId) {
1139
+ clearInterval(this.timeIntervalId);
1140
+ }
1141
+ }
1142
+ // Filter events based on keyword and resource selector
1143
+ filteredEvents = computed(() => {
1144
+ let list = this.events();
1145
+ const query = this.searchQuery().toLowerCase().trim();
1146
+ if (query) {
1147
+ list = list.filter(evt => evt.title.toLowerCase().includes(query) ||
1148
+ (evt.description && evt.description.toLowerCase().includes(query)) ||
1149
+ (evt.category && evt.category.toLowerCase().includes(query)));
1150
+ }
1151
+ const selectedRes = this.selectedResourceId();
1152
+ const mode = this.activeMode();
1153
+ if (selectedRes && mode !== 'day') {
1154
+ list = list.filter(evt => evt.resourceId === selectedRes);
1155
+ }
1156
+ return list;
1157
+ });
1158
+ hasAllDayEvents = computed(() => {
1159
+ return this.filteredEvents().some(evt => evt.isAllDay === true);
1160
+ });
1161
+ currentTimeTop = computed(() => {
1162
+ const currentTime = this.now();
1163
+ const startHour = this.showWorkHoursOnly() ? this.normalizedStartHour() : 0;
1164
+ const endHour = this.showWorkHoursOnly() ? this.normalizedEndHour() : 24;
1165
+ const hour = currentTime.getHours() + currentTime.getMinutes() / 60;
1166
+ if (hour < startHour || hour > endHour)
1167
+ return null;
1168
+ const pct = ((hour - startHour) / (endHour - startHour)) * 100;
1169
+ return pct;
1170
+ });
1111
1171
  hours = computed(() => {
1112
- const start = this.normalizedStartHour();
1113
- const end = this.normalizedEndHour();
1172
+ const start = this.showWorkHoursOnly() ? this.normalizedStartHour() : 0;
1173
+ const end = this.showWorkHoursOnly() ? this.normalizedEndHour() : 24;
1114
1174
  const list = [];
1115
1175
  for (let i = start; i < end; i++)
1116
1176
  list.push(i);
@@ -1129,11 +1189,19 @@ class SchedulerComponent {
1129
1189
  activeColumns = computed(() => {
1130
1190
  const mode = this.activeMode();
1131
1191
  const date = this.activeDate();
1132
- if (mode === 'day')
1133
- return [date];
1134
- if (mode === 'week')
1135
- return this.getWeekDays(this.getStartOfWeek(date));
1136
- return this.getMonthDays(date);
1192
+ const resList = this.resources();
1193
+ if (mode === 'day') {
1194
+ if (resList.length > 0) {
1195
+ return resList.map(res => ({ date, resource: res }));
1196
+ }
1197
+ return [{ date }];
1198
+ }
1199
+ if (mode === 'week') {
1200
+ const days = this.getWeekDays(this.getStartOfWeek(date));
1201
+ return days.map(d => ({ date: d }));
1202
+ }
1203
+ const monthDays = this.getMonthDays(date);
1204
+ return monthDays.map(d => ({ date: d }));
1137
1205
  });
1138
1206
  weekDayLabels = computed(() => {
1139
1207
  const base = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];
@@ -1148,8 +1216,8 @@ class SchedulerComponent {
1148
1216
  }
1149
1217
  if (mode === 'week') {
1150
1218
  const cols = this.activeColumns();
1151
- const start = cols[0];
1152
- const end = cols[6];
1219
+ const start = cols[0].date;
1220
+ const end = cols[6].date;
1153
1221
  if (start.getMonth() === end.getMonth()) {
1154
1222
  return `${this.formatDate(start, { month: 'long' })} ${this.formatDate(start, { year: 'numeric' })}`;
1155
1223
  }
@@ -1170,17 +1238,44 @@ class SchedulerComponent {
1170
1238
  else
1171
1239
  current.setMonth(current.getMonth() + direction);
1172
1240
  this.activeDate.set(current);
1241
+ this.currentDateChange.emit(current);
1173
1242
  }
1174
1243
  goToToday() {
1175
- this.activeDate.set(new Date());
1244
+ const today = new Date();
1245
+ this.activeDate.set(today);
1246
+ this.currentDateChange.emit(today);
1176
1247
  }
1177
1248
  getEventsForDate(date) {
1178
- return this.events()
1249
+ return this.filteredEvents()
1179
1250
  .flatMap(event => this.resolveEventForDate(event, date))
1180
1251
  .sort((a, b) => a.start.getTime() - b.start.getTime());
1181
1252
  }
1182
- getEventLayoutsForDate(date) {
1183
- const events = this.getEventsForDate(date);
1253
+ getEventsForColumn(col) {
1254
+ return this.filteredEvents()
1255
+ .filter(evt => !evt.isAllDay)
1256
+ .flatMap(event => this.resolveEventForDate(event, col.date))
1257
+ .filter(resolved => {
1258
+ if (col.resource) {
1259
+ return resolved.event.resourceId === col.resource.id;
1260
+ }
1261
+ return true;
1262
+ })
1263
+ .sort((a, b) => a.start.getTime() - b.start.getTime());
1264
+ }
1265
+ getAllDayEventsForColumn(col) {
1266
+ return this.filteredEvents()
1267
+ .filter(evt => evt.isAllDay === true)
1268
+ .flatMap(event => this.resolveEventForDate(event, col.date))
1269
+ .filter(resolved => {
1270
+ if (col.resource) {
1271
+ return resolved.event.resourceId === col.resource.id;
1272
+ }
1273
+ return true;
1274
+ })
1275
+ .sort((a, b) => a.start.getTime() - b.start.getTime());
1276
+ }
1277
+ getEventLayoutsForColumn(col) {
1278
+ const events = this.getEventsForColumn(col);
1184
1279
  const groups = [];
1185
1280
  let group = [];
1186
1281
  let groupEnd = 0;
@@ -1202,10 +1297,123 @@ class SchedulerComponent {
1202
1297
  clickEvent(event) {
1203
1298
  this.eventClick.emit(event);
1204
1299
  }
1205
- clickSlot(date, hour, minute = 0) {
1300
+ clickSlot(date, hour, minute = 0, resourceId) {
1206
1301
  const targetDate = new Date(date);
1207
1302
  targetDate.setHours(hour, minute, 0, 0);
1208
- this.slotClick.emit({ date: targetDate, hour, minute });
1303
+ this.slotClick.emit({ date: targetDate, hour, minute, resourceId });
1304
+ }
1305
+ deleteEvent(event, clickEvent) {
1306
+ clickEvent.stopPropagation();
1307
+ this.eventDelete.emit(event);
1308
+ }
1309
+ toggleTaskCompletion(event, clickEvent) {
1310
+ const isChecked = clickEvent.target.checked;
1311
+ this.eventTimeChange.emit({
1312
+ event: { ...event, completed: isChecked },
1313
+ start: event.start,
1314
+ end: event.end
1315
+ });
1316
+ }
1317
+ getEventStyles(event) {
1318
+ const styles = {};
1319
+ if (event.color) {
1320
+ const color = event.color;
1321
+ if (color.startsWith('#')) {
1322
+ styles['background-color'] = `${color}12`;
1323
+ styles['border-color'] = `${color}33`;
1324
+ styles['color'] = color;
1325
+ styles['border-left'] = `4px solid ${color}`;
1326
+ }
1327
+ else {
1328
+ styles['background-color'] = color;
1329
+ styles['color'] = '#ffffff';
1330
+ }
1331
+ }
1332
+ return styles;
1333
+ }
1334
+ onSearchInput(event) {
1335
+ const val = event.target.value;
1336
+ this.searchQuery.set(val);
1337
+ }
1338
+ onResourceFilterChange(event) {
1339
+ const val = event.target.value;
1340
+ this.selectedResourceId.set(val || null);
1341
+ }
1342
+ isNonBusinessHour(hour) {
1343
+ return hour < this.normalizedStartHour() || hour >= this.normalizedEndHour();
1344
+ }
1345
+ // Pointer drag-to-create handlers
1346
+ onSlotPointerDown(event, date, hour, minute, resourceId) {
1347
+ if (!this.enableDragToCreate() || event.button !== 0)
1348
+ return;
1349
+ const target = event.target;
1350
+ if (target.closest('.scheduler-event-card'))
1351
+ return;
1352
+ event.preventDefault();
1353
+ event.target.setPointerCapture(event.pointerId);
1354
+ this.dragSelectStart.set({ date, hour, minute, resourceId });
1355
+ this.dragSelectCurrent.set({ date, hour, minute, resourceId });
1356
+ }
1357
+ onSlotPointerEnter(event, date, hour, minute, resourceId) {
1358
+ const start = this.dragSelectStart();
1359
+ if (!start)
1360
+ return;
1361
+ if (this.dateKey(start.date) === this.dateKey(date) && start.resourceId === resourceId) {
1362
+ this.dragSelectCurrent.set({ date, hour, minute, resourceId });
1363
+ }
1364
+ }
1365
+ onWindowPointerUp(event) {
1366
+ const start = this.dragSelectStart();
1367
+ const current = this.dragSelectCurrent();
1368
+ if (start && current) {
1369
+ try {
1370
+ const capturedEl = document.querySelector(':focus') || event.target;
1371
+ if (capturedEl && 'releasePointerCapture' in capturedEl) {
1372
+ capturedEl.releasePointerCapture(event.pointerId);
1373
+ }
1374
+ }
1375
+ catch (e) { }
1376
+ const colDate = new Date(start.date);
1377
+ const startMinutes = start.hour * 60 + start.minute;
1378
+ const currentMinutes = current.hour * 60 + current.minute;
1379
+ const minMinutes = Math.min(startMinutes, currentMinutes);
1380
+ const maxMinutes = Math.max(startMinutes, currentMinutes) + this.normalizedSlotMinutes();
1381
+ const startDate = new Date(colDate);
1382
+ startDate.setHours(Math.floor(minMinutes / 60), minMinutes % 60, 0, 0);
1383
+ const endDate = new Date(colDate);
1384
+ endDate.setHours(Math.floor(maxMinutes / 60), maxMinutes % 60, 0, 0);
1385
+ this.slotRangeSelect.emit({
1386
+ start: startDate,
1387
+ end: endDate,
1388
+ resourceId: start.resourceId
1389
+ });
1390
+ this.dragSelectStart.set(null);
1391
+ this.dragSelectCurrent.set(null);
1392
+ }
1393
+ }
1394
+ getDragSelectionLayout(col) {
1395
+ const start = this.dragSelectStart();
1396
+ const current = this.dragSelectCurrent();
1397
+ if (!start || !current)
1398
+ return null;
1399
+ if (this.dateKey(start.date) !== this.dateKey(col.date) || start.resourceId !== col.resource?.id) {
1400
+ return null;
1401
+ }
1402
+ const startMinutes = start.hour * 60 + start.minute;
1403
+ const currentMinutes = current.hour * 60 + current.minute;
1404
+ const minMinutes = Math.min(startMinutes, currentMinutes);
1405
+ const maxMinutes = Math.max(startMinutes, currentMinutes) + this.normalizedSlotMinutes();
1406
+ const startRange = this.showWorkHoursOnly() ? this.normalizedStartHour() : 0;
1407
+ const endRange = this.showWorkHoursOnly() ? this.normalizedEndHour() : 24;
1408
+ const totalHours = endRange - startRange;
1409
+ const startHourFraction = minMinutes / 60;
1410
+ const endHourFraction = maxMinutes / 60;
1411
+ const top = ((startHourFraction - startRange) / totalHours) * 100;
1412
+ const height = ((endHourFraction - startHourFraction) / totalHours) * 100;
1413
+ return {
1414
+ top: Math.max(0, Math.min(100, top)),
1415
+ height: Math.max(2, Math.min(100 - top, height))
1416
+ };
1209
1417
  }
1210
1418
  onSlotDragOver(event) {
1211
1419
  if (this.activeDragEvent())
@@ -1221,7 +1429,7 @@ class SchedulerComponent {
1221
1429
  onEventDragEnd() {
1222
1430
  this.activeDragEvent.set(null);
1223
1431
  }
1224
- onSlotDrop(event, date, hour, minute = 0) {
1432
+ onSlotDrop(event, date, hour, minute = 0, resourceId) {
1225
1433
  event.preventDefault();
1226
1434
  const dragged = this.activeDragEvent();
1227
1435
  if (!dragged)
@@ -1230,8 +1438,12 @@ class SchedulerComponent {
1230
1438
  const start = new Date(date);
1231
1439
  start.setHours(hour, minute, 0, 0);
1232
1440
  const end = new Date(start.getTime() + duration);
1441
+ const updatedEvent = { ...dragged.event };
1442
+ if (resourceId !== undefined) {
1443
+ updatedEvent.resourceId = resourceId;
1444
+ }
1233
1445
  this.eventTimeChange.emit({
1234
- event: dragged.event,
1446
+ event: updatedEvent,
1235
1447
  start,
1236
1448
  end,
1237
1449
  occurrenceStart: dragged.start,
@@ -1321,6 +1533,79 @@ class SchedulerComponent {
1321
1533
  return `${date.getFullYear()}-${date.getMonth()}-${date.getDate()}`;
1322
1534
  }
1323
1535
  }
1536
+ getInitials(name) {
1537
+ if (!name)
1538
+ return '';
1539
+ return name.split(' ').map(n => n[0]).join('').toUpperCase().slice(0, 2);
1540
+ }
1541
+ getResourceName(resourceId) {
1542
+ const res = this.resources().find(r => r.id === resourceId);
1543
+ return res ? res.name : '';
1544
+ }
1545
+ // Export methods
1546
+ exportToICS() {
1547
+ const evts = this.filteredEvents();
1548
+ let ics = [
1549
+ 'BEGIN:VCALENDAR',
1550
+ 'VERSION:2.0',
1551
+ 'PRODID:-//Antigravity//NGX Core Components Scheduler//EN',
1552
+ 'CALSCALE:GREGORIAN',
1553
+ 'METHOD:PUBLISH'
1554
+ ];
1555
+ for (const e of evts) {
1556
+ const pad = (num) => String(num).padStart(2, '0');
1557
+ const formatICSDate = (d) => {
1558
+ return `${d.getUTCFullYear()}${pad(d.getUTCMonth() + 1)}${pad(d.getUTCDate())}T${pad(d.getUTCHours())}${pad(d.getUTCMinutes())}${pad(d.getUTCSeconds())}Z`;
1559
+ };
1560
+ ics.push('BEGIN:VEVENT');
1561
+ ics.push(`UID:${e.id}`);
1562
+ ics.push(`DTSTAMP:${formatICSDate(new Date())}`);
1563
+ ics.push(`DTSTART:${formatICSDate(e.start)}`);
1564
+ ics.push(`DTEND:${formatICSDate(e.end)}`);
1565
+ ics.push(`SUMMARY:${e.title.replace(/[,;]/g, '\\$&')}`);
1566
+ if (e.description) {
1567
+ ics.push(`DESCRIPTION:${e.description.replace(/[,;]/g, '\\$&')}`);
1568
+ }
1569
+ if (e.category) {
1570
+ ics.push(`CATEGORIES:${e.category.toUpperCase()}`);
1571
+ }
1572
+ ics.push('END:VEVENT');
1573
+ }
1574
+ ics.push('END:VCALENDAR');
1575
+ this.downloadFile(ics.join('\r\n'), 'calendar.ics', 'text/calendar');
1576
+ }
1577
+ exportToJSON() {
1578
+ const evts = this.filteredEvents();
1579
+ const data = JSON.stringify(evts, null, 2);
1580
+ this.downloadFile(data, 'calendar_events.json', 'application/json');
1581
+ }
1582
+ exportToCSV() {
1583
+ const evts = this.filteredEvents();
1584
+ const headers = ['ID', 'Title', 'Description', 'Start', 'End', 'Category', 'Resource ID', 'All Day'];
1585
+ const rows = evts.map(e => [
1586
+ e.id,
1587
+ `"${e.title.replace(/"/g, '""')}"`,
1588
+ `"${(e.description || '').replace(/"/g, '""')}"`,
1589
+ e.start.toISOString(),
1590
+ e.end.toISOString(),
1591
+ e.category || '',
1592
+ e.resourceId || '',
1593
+ e.isAllDay ? 'TRUE' : 'FALSE'
1594
+ ]);
1595
+ const csvContent = [headers.join(','), ...rows.map(r => r.join(','))].join('\n');
1596
+ this.downloadFile(csvContent, 'calendar_events.csv', 'text/csv');
1597
+ }
1598
+ downloadFile(content, filename, contentType) {
1599
+ const blob = new Blob([content], { type: contentType });
1600
+ const url = URL.createObjectURL(blob);
1601
+ const link = document.createElement('a');
1602
+ link.href = url;
1603
+ link.download = filename;
1604
+ document.body.appendChild(link);
1605
+ link.click();
1606
+ document.body.removeChild(link);
1607
+ URL.revokeObjectURL(url);
1608
+ }
1324
1609
  layoutOverlapGroup(events) {
1325
1610
  const columnEnds = [];
1326
1611
  const placements = events.map(event => {
@@ -1403,14 +1688,18 @@ class SchedulerComponent {
1403
1688
  }
1404
1689
  getEventTop(start) {
1405
1690
  const startHour = start.getHours() + start.getMinutes() / 60;
1406
- const totalHours = this.normalizedEndHour() - this.normalizedStartHour();
1407
- const pct = ((startHour - this.normalizedStartHour()) / totalHours) * 100;
1691
+ const startRange = this.showWorkHoursOnly() ? this.normalizedStartHour() : 0;
1692
+ const endRange = this.showWorkHoursOnly() ? this.normalizedEndHour() : 24;
1693
+ const totalHours = endRange - startRange;
1694
+ const pct = ((startHour - startRange) / totalHours) * 100;
1408
1695
  return Math.max(0, Math.min(100, pct));
1409
1696
  }
1410
1697
  getEventHeight(start, end) {
1411
1698
  const startHour = start.getHours() + start.getMinutes() / 60;
1412
1699
  const endHour = end.getHours() + end.getMinutes() / 60;
1413
- const totalHours = this.normalizedEndHour() - this.normalizedStartHour();
1700
+ const startRange = this.showWorkHoursOnly() ? this.normalizedStartHour() : 0;
1701
+ const endRange = this.showWorkHoursOnly() ? this.normalizedEndHour() : 24;
1702
+ const totalHours = endRange - startRange;
1414
1703
  const pct = ((endHour - startHour) / totalHours) * 100;
1415
1704
  return Math.max(8, Math.min(100 - this.getEventTop(start), pct));
1416
1705
  }
@@ -1465,45 +1754,170 @@ class SchedulerComponent {
1465
1754
  return [5, 10, 15, 20, 30, 60].includes(minutes) ? minutes : 60;
1466
1755
  }
1467
1756
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SchedulerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1468
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: SchedulerComponent, isStandalone: true, selector: "ngx-scheduler", inputs: { events: { classPropertyName: "events", publicName: "events", isSignal: true, isRequired: false, transformFunction: null }, currentDate: { classPropertyName: "currentDate", publicName: "currentDate", isSignal: true, isRequired: false, transformFunction: null }, viewMode: { classPropertyName: "viewMode", publicName: "viewMode", isSignal: true, isRequired: false, transformFunction: null }, theme: { classPropertyName: "theme", publicName: "theme", isSignal: true, isRequired: false, transformFunction: null }, businessHoursStart: { classPropertyName: "businessHoursStart", publicName: "businessHoursStart", isSignal: true, isRequired: false, transformFunction: null }, businessHoursEnd: { classPropertyName: "businessHoursEnd", publicName: "businessHoursEnd", isSignal: true, isRequired: false, transformFunction: null }, weekStartsOn: { classPropertyName: "weekStartsOn", publicName: "weekStartsOn", isSignal: true, isRequired: false, transformFunction: null }, timeZone: { classPropertyName: "timeZone", publicName: "timeZone", isSignal: true, isRequired: false, transformFunction: null }, slotMinutes: { classPropertyName: "slotMinutes", publicName: "slotMinutes", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { eventClick: "eventClick", slotClick: "slotClick", eventTimeChange: "eventTimeChange" }, host: { listeners: { "window:pointerup": "finishResize($event)", "window:pointercancel": "cancelResize()" } }, ngImport: i0, template: `
1757
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: SchedulerComponent, isStandalone: true, selector: "ngx-scheduler", inputs: { events: { classPropertyName: "events", publicName: "events", isSignal: true, isRequired: false, transformFunction: null }, currentDate: { classPropertyName: "currentDate", publicName: "currentDate", isSignal: true, isRequired: false, transformFunction: null }, viewMode: { classPropertyName: "viewMode", publicName: "viewMode", isSignal: true, isRequired: false, transformFunction: null }, theme: { classPropertyName: "theme", publicName: "theme", isSignal: true, isRequired: false, transformFunction: null }, businessHoursStart: { classPropertyName: "businessHoursStart", publicName: "businessHoursStart", isSignal: true, isRequired: false, transformFunction: null }, businessHoursEnd: { classPropertyName: "businessHoursEnd", publicName: "businessHoursEnd", isSignal: true, isRequired: false, transformFunction: null }, weekStartsOn: { classPropertyName: "weekStartsOn", publicName: "weekStartsOn", isSignal: true, isRequired: false, transformFunction: null }, timeZone: { classPropertyName: "timeZone", publicName: "timeZone", isSignal: true, isRequired: false, transformFunction: null }, slotMinutes: { classPropertyName: "slotMinutes", publicName: "slotMinutes", isSignal: true, isRequired: false, transformFunction: null }, resources: { classPropertyName: "resources", publicName: "resources", isSignal: true, isRequired: false, transformFunction: null }, enableDragToCreate: { classPropertyName: "enableDragToCreate", publicName: "enableDragToCreate", isSignal: true, isRequired: false, transformFunction: null }, showSearch: { classPropertyName: "showSearch", publicName: "showSearch", isSignal: true, isRequired: false, transformFunction: null }, showWorkHoursOnly: { classPropertyName: "showWorkHoursOnly", publicName: "showWorkHoursOnly", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { eventClick: "eventClick", slotClick: "slotClick", eventTimeChange: "eventTimeChange", slotRangeSelect: "slotRangeSelect", eventDelete: "eventDelete", currentDateChange: "currentDateChange" }, host: { listeners: { "window:pointerup": "finishResize($event)", "window:pointercancel": "cancelResize()" } }, ngImport: i0, template: `
1469
1758
  <div class="ngx-scheduler-wrapper" [class.dark]="theme() === 'dark'">
1759
+
1760
+ <!-- Scheduler Toolbar -->
1470
1761
  <div class="scheduler-toolbar">
1471
1762
  <div class="nav-controls">
1472
- <button class="tool-btn" type="button" (click)="navigate(-1)" aria-label="Previous period">&lt;</button>
1473
- <button class="tool-btn today-btn" type="button" (click)="goToToday()">Today</button>
1474
- <button class="tool-btn" type="button" (click)="navigate(1)" aria-label="Next period">&gt;</button>
1763
+ <div class="nav-buttons-group">
1764
+ <button class="tool-btn nav-arrow" type="button" (click)="navigate(-1)" aria-label="Previous period">
1765
+ <svg class="icon-svg" viewBox="0 0 24 24"><path fill="currentColor" d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>
1766
+ </button>
1767
+ <button class="tool-btn today-btn" type="button" (click)="goToToday()">Today</button>
1768
+ <button class="tool-btn nav-arrow" type="button" (click)="navigate(1)" aria-label="Next period">
1769
+ <svg class="icon-svg" viewBox="0 0 24 24"><path fill="currentColor" d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>
1770
+ </button>
1771
+ </div>
1475
1772
  <h2 class="current-period-label">{{ periodLabel() }}</h2>
1476
1773
  </div>
1477
1774
 
1478
- <div class="view-switch-controls">
1479
- @for (mode of viewModes; track mode) {
1480
- <button
1481
- type="button"
1482
- class="view-btn"
1483
- [class.active]="activeMode() === mode"
1484
- (click)="activeMode.set(mode)"
1485
- >
1486
- {{ mode | titlecase }}
1487
- </button>
1775
+ <div class="toolbar-actions">
1776
+ <!-- Keyword Search -->
1777
+ @if (showSearch()) {
1778
+ <div class="search-box-container">
1779
+ <svg class="search-icon" viewBox="0 0 24 24"><path fill="currentColor" d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>
1780
+ <input type="text"
1781
+ class="search-input"
1782
+ placeholder="Search events..."
1783
+ [value]="searchQuery()"
1784
+ (input)="onSearchInput($event)" />
1785
+ </div>
1786
+ }
1787
+
1788
+ <!-- Resource Select Filter (Week/Month View) -->
1789
+ @if (resources().length > 0 && activeMode() !== 'day') {
1790
+ <div class="resource-filter-container">
1791
+ <select class="resource-select" [value]="selectedResourceId() || ''" (change)="onResourceFilterChange($event)">
1792
+ <option value="">All Resources</option>
1793
+ @for (res of resources(); track res.id) {
1794
+ <option [value]="res.id">{{ res.name }}</option>
1795
+ }
1796
+ </select>
1797
+ </div>
1488
1798
  }
1799
+
1800
+ <!-- Export Dropdown -->
1801
+ <div class="export-dropdown-wrapper">
1802
+ <button class="tool-btn export-toggle-btn" type="button" (click)="showExportDropdown.set(!showExportDropdown())">
1803
+ <span>Export</span>
1804
+ <svg class="dropdown-arrow-svg" viewBox="0 0 24 24"><path fill="currentColor" d="M7 10l5 5 5-5z"/></svg>
1805
+ </button>
1806
+
1807
+ @if (showExportDropdown()) {
1808
+ <div class="export-menu-dropdown">
1809
+ <button class="export-item" (click)="exportToICS(); showExportDropdown.set(false)">
1810
+ <svg class="export-icon-svg" viewBox="0 0 24 24"><path fill="currentColor" d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/></svg>
1811
+ <span>iCalendar (.ics)</span>
1812
+ </button>
1813
+ <button class="export-item" (click)="exportToJSON(); showExportDropdown.set(false)">
1814
+ <svg class="export-icon-svg" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>
1815
+ <span>JSON format</span>
1816
+ </button>
1817
+ <button class="export-item" (click)="exportToCSV(); showExportDropdown.set(false)">
1818
+ <svg class="export-icon-svg" viewBox="0 0 24 24"><path fill="currentColor" d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"/></svg>
1819
+ <span>CSV document</span>
1820
+ </button>
1821
+ </div>
1822
+ }
1823
+ </div>
1824
+
1825
+ <!-- View Switches -->
1826
+ <div class="view-switch-controls">
1827
+ @for (mode of viewModes; track mode) {
1828
+ <button
1829
+ type="button"
1830
+ class="view-btn"
1831
+ [class.active]="activeMode() === mode"
1832
+ (click)="activeMode.set(mode)"
1833
+ >
1834
+ {{ mode | titlecase }}
1835
+ </button>
1836
+ }
1837
+ </div>
1489
1838
  </div>
1490
1839
  </div>
1491
1840
 
1492
- <div class="scheduler-body">
1841
+ <!-- Scheduler Body -->
1842
+ <div class="scheduler-body" (click)="showExportDropdown.set(false)">
1493
1843
  @if (activeMode() === 'day' || activeMode() === 'week') {
1494
1844
  <div class="time-grid-container">
1845
+
1846
+ <!-- Grid Header -->
1495
1847
  <div class="time-grid-header">
1496
1848
  <div class="time-axis-header"></div>
1497
1849
  <div class="columns-headers-wrap">
1498
- @for (col of activeColumns(); track dateKey(col)) {
1499
- <div class="column-header-cell" [class.today]="isToday(col)">
1500
- <span class="day-name">{{ formatDate(col, { weekday: 'short' }) }}</span>
1501
- <span class="day-num">{{ formatDate(col, { day: 'numeric' }) }}</span>
1850
+ @for (col of activeColumns(); track col.resource ? col.resource.id : dateKey(col.date)) {
1851
+ <div class="column-header-cell" [class.today]="isToday(col.date)">
1852
+ @if (col.resource) {
1853
+ <div class="resource-header-card">
1854
+ @if (col.resource.avatarUrl) {
1855
+ <img [src]="col.resource.avatarUrl" [alt]="col.resource.name" class="resource-avatar" />
1856
+ } @else {
1857
+ <div class="resource-initials" [style.background-color]="col.resource.color || 'var(--primary-color)'">
1858
+ {{ getInitials(col.resource.name) }}
1859
+ </div>
1860
+ }
1861
+ <div class="resource-info">
1862
+ <span class="resource-name">{{ col.resource.name }}</span>
1863
+ <span class="resource-desc">{{ col.resource.description || 'Team Member' }}</span>
1864
+ </div>
1865
+ </div>
1866
+ } @else {
1867
+ <span class="day-name">{{ formatDate(col.date, { weekday: 'short' }) }}</span>
1868
+ <span class="day-num">{{ formatDate(col.date, { day: 'numeric' }) }}</span>
1869
+ }
1502
1870
  </div>
1503
1871
  }
1504
1872
  </div>
1505
1873
  </div>
1506
1874
 
1875
+ <!-- All-Day Events row -->
1876
+ @if (hasAllDayEvents()) {
1877
+ <div class="all-day-row-container">
1878
+ <div class="all-day-label-cell">All day</div>
1879
+ <div class="all-day-columns-wrap">
1880
+ @for (col of activeColumns(); track col.resource ? col.resource.id : dateKey(col.date)) {
1881
+ <div class="all-day-column-cell">
1882
+ @for (evt of getAllDayEventsForColumn(col); track evt.id) {
1883
+ <div class="all-day-event-block"
1884
+ [class.meeting]="evt.event.category === 'meeting'"
1885
+ [class.task]="evt.event.category === 'task'"
1886
+ [class.important]="evt.event.category === 'important'"
1887
+ [class.warning]="evt.event.category === 'warning'"
1888
+ [class.milestone]="evt.event.category === 'milestone'"
1889
+ [class.personal]="evt.event.category === 'personal'"
1890
+ [class.completed]="evt.event.completed"
1891
+ [ngStyle]="getEventStyles(evt.event)"
1892
+ (click)="clickEvent(evt.event); $event.stopPropagation()"
1893
+ [title]="evt.event.title"
1894
+ >
1895
+ <div class="all-day-event-indicator"></div>
1896
+
1897
+ @if (evt.event.category === 'task') {
1898
+ <input type="checkbox"
1899
+ class="task-completion-checkbox all-day-task-checkbox"
1900
+ [checked]="evt.event.completed || false"
1901
+ (click)="$event.stopPropagation()"
1902
+ (change)="toggleTaskCompletion(evt.event, $event)" />
1903
+ }
1904
+
1905
+ <span class="all-day-event-title">{{ evt.event.title }}</span>
1906
+ <button class="event-delete-btn all-day-del"
1907
+ type="button"
1908
+ aria-label="Delete event"
1909
+ (click)="deleteEvent(evt.event, $event)">
1910
+ <svg class="delete-icon-svg" viewBox="0 0 24 24"><path fill="currentColor" d="M19 4h-3.5l-1-1h-5l-1 1H5v2h14V4zM6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12z"/></svg>
1911
+ </button>
1912
+ </div>
1913
+ }
1914
+ </div>
1915
+ }
1916
+ </div>
1917
+ </div>
1918
+ }
1919
+
1920
+ <!-- Grid Body -->
1507
1921
  <div class="time-grid-body">
1508
1922
  <div class="time-axis-labels">
1509
1923
  @for (h of hours(); track h) {
@@ -1518,21 +1932,46 @@ class SchedulerComponent {
1518
1932
  }
1519
1933
  </div>
1520
1934
 
1521
- @for (col of activeColumns(); track dateKey(col)) {
1935
+ @for (col of activeColumns(); track col.resource ? col.resource.id : dateKey(col.date)) {
1522
1936
  <div class="column-body-cell">
1937
+
1938
+ <!-- Interactive Slot Overlay -->
1523
1939
  <div class="interactive-slots-overlay">
1524
1940
  @for (slot of timeSlots(); track slot.key) {
1525
1941
  <div
1526
1942
  class="slot-trigger"
1943
+ [class.non-business-slot]="isNonBusinessHour(slot.hour)"
1527
1944
  [style.height.px]="slotHeight()"
1528
- (click)="clickSlot(col, slot.hour, slot.minute)"
1945
+ (click)="clickSlot(col.date, slot.hour, slot.minute, col.resource?.id)"
1946
+ (pointerdown)="onSlotPointerDown($event, col.date, slot.hour, slot.minute, col.resource?.id)"
1947
+ (pointerenter)="onSlotPointerEnter($event, col.date, slot.hour, slot.minute, col.resource?.id)"
1529
1948
  (dragover)="onSlotDragOver($event)"
1530
- (drop)="onSlotDrop($event, col, slot.hour, slot.minute)"
1949
+ (drop)="onSlotDrop($event, col.date, slot.hour, slot.minute, col.resource?.id)"
1531
1950
  ></div>
1532
1951
  }
1533
1952
  </div>
1534
1953
 
1535
- @for (layout of getEventLayoutsForDate(col); track layout.id) {
1954
+ <!-- Live Current Time Indicator Line -->
1955
+ @if (isToday(col.date) && currentTimeTop(); as lineTop) {
1956
+ <div class="current-time-line" [style.top.%]="lineTop">
1957
+ <div class="line-dot"></div>
1958
+ </div>
1959
+ }
1960
+
1961
+ <!-- Drag Select Preview Block -->
1962
+ @if (getDragSelectionLayout(col); as previewLayout) {
1963
+ <div class="drag-select-preview"
1964
+ [style.top.%]="previewLayout.top"
1965
+ [style.height.%]="previewLayout.height">
1966
+ <div class="preview-inner">
1967
+ <svg class="plus-icon-svg" viewBox="0 0 24 24"><path fill="currentColor" d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg>
1968
+ <span>Create Event</span>
1969
+ </div>
1970
+ </div>
1971
+ }
1972
+
1973
+ <!-- Event Cards -->
1974
+ @for (layout of getEventLayoutsForColumn(col); track layout.id) {
1536
1975
  <div
1537
1976
  class="scheduler-event-card"
1538
1977
  [class.meeting]="layout.event.category === 'meeting'"
@@ -1541,11 +1980,12 @@ class SchedulerComponent {
1541
1980
  [class.warning]="layout.event.category === 'warning'"
1542
1981
  [class.milestone]="layout.event.category === 'milestone'"
1543
1982
  [class.personal]="layout.event.category === 'personal'"
1983
+ [class.completed]="layout.event.completed"
1544
1984
  [style.top.%]="layout.top"
1545
1985
  [style.height.%]="layout.height"
1546
1986
  [style.left.%]="layout.left"
1547
1987
  [style.width.%]="layout.width"
1548
- [style.background-color]="layout.event.color || null"
1988
+ [ngStyle]="getEventStyles(layout.event)"
1549
1989
  draggable="true"
1550
1990
  (dragstart)="onEventDragStart($event, layout)"
1551
1991
  (dragend)="onEventDragEnd()"
@@ -1559,11 +1999,42 @@ class SchedulerComponent {
1559
1999
  (click)="$event.stopPropagation()"
1560
2000
  (pointerdown)="startResize($event, layout, 'start')"
1561
2001
  ></button>
2002
+
1562
2003
  <div class="event-color-indicator"></div>
2004
+
2005
+ <!-- Task Completion Checkbox -->
2006
+ @if (layout.event.category === 'task') {
2007
+ <input type="checkbox"
2008
+ class="task-completion-checkbox"
2009
+ [checked]="layout.event.completed || false"
2010
+ (click)="$event.stopPropagation()"
2011
+ (change)="toggleTaskCompletion(layout.event, $event)" />
2012
+ }
2013
+
1563
2014
  <div class="event-details">
1564
- <span class="event-title">{{ layout.event.title }}</span>
1565
- <span class="event-time">{{ formatEventTime(layout.start, layout.end) }}</span>
2015
+ <div class="event-header-row">
2016
+ <span class="event-title">{{ layout.event.title }}</span>
2017
+ @if (layout.event.recurrence) {
2018
+ <svg class="recurrence-icon-svg" viewBox="0 0 24 24" title="Recurring series"><path fill="currentColor" d="M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L4.7 18.7c-1.07-1.63-1.7-3.6-1.7-5.7 0-5.52 4.48-10 10-10zm7.76 5.74L18.3 10.3c1.07 1.63 1.7 3.6 1.7 5.7 0 5.52-4.48 10-10 10v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26z"/></svg>
2019
+ }
2020
+ </div>
2021
+
2022
+ <span class="event-time">
2023
+ {{ formatEventTime(layout.start, layout.end) }}
2024
+ @if (layout.event.resourceId; as resId) {
2025
+ • {{ getResourceName(resId) }}
2026
+ }
2027
+ </span>
1566
2028
  </div>
2029
+
2030
+ <!-- Card Delete Quick Action -->
2031
+ <button class="event-delete-btn"
2032
+ type="button"
2033
+ aria-label="Delete event"
2034
+ (click)="deleteEvent(layout.event, $event)">
2035
+ <svg class="delete-icon-svg" viewBox="0 0 24 24"><path fill="currentColor" d="M19 4h-3.5l-1-1h-5l-1 1H5v2h14V4zM6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12z"/></svg>
2036
+ </button>
2037
+
1567
2038
  <button
1568
2039
  class="resize-handle resize-end"
1569
2040
  type="button"
@@ -1589,17 +2060,17 @@ class SchedulerComponent {
1589
2060
  </div>
1590
2061
 
1591
2062
  <div class="month-grid-body">
1592
- @for (cell of activeColumns(); track dateKey(cell)) {
2063
+ @for (cell of activeColumns(); track dateKey(cell.date)) {
1593
2064
  <div
1594
2065
  class="month-day-cell"
1595
- [class.today]="isToday(cell)"
1596
- [class.other-month]="isOtherMonth(cell)"
1597
- (click)="clickSlot(cell, 9, 0)"
2066
+ [class.today]="isToday(cell.date)"
2067
+ [class.other-month]="isOtherMonth(cell.date)"
2068
+ (click)="clickSlot(cell.date, 9, 0)"
1598
2069
  >
1599
- <span class="month-day-number">{{ formatDate(cell, { day: 'numeric' }) }}</span>
2070
+ <span class="month-day-number">{{ formatDate(cell.date, { day: 'numeric' }) }}</span>
1600
2071
 
1601
2072
  <div class="month-day-events-list">
1602
- @for (evt of getEventsForDate(cell); track evt.id) {
2073
+ @for (evt of getEventsForDate(cell.date); track evt.id) {
1603
2074
  <div
1604
2075
  class="month-event-item"
1605
2076
  [class.meeting]="evt.event.category === 'meeting'"
@@ -1608,9 +2079,14 @@ class SchedulerComponent {
1608
2079
  [class.warning]="evt.event.category === 'warning'"
1609
2080
  [class.milestone]="evt.event.category === 'milestone'"
1610
2081
  [class.personal]="evt.event.category === 'personal'"
2082
+ [class.completed]="evt.event.completed"
2083
+ [ngStyle]="getEventStyles(evt.event)"
1611
2084
  (click)="clickEvent(evt.event); $event.stopPropagation()"
1612
2085
  [title]="evt.event.title"
1613
2086
  >
2087
+ @if (evt.event.recurrence) {
2088
+ <svg class="month-recurrence-icon-svg" viewBox="0 0 24 24"><path fill="currentColor" d="M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L4.7 18.7c-1.07-1.63-1.7-3.6-1.7-5.7 0-5.52 4.48-10 10-10zm7.76 5.74L18.3 10.3c1.07 1.63 1.7 3.6 1.7 5.7 0 5.52-4.48 10-10 10v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26z"/></svg>
2089
+ }
1614
2090
  {{ evt.event.title }}
1615
2091
  </div>
1616
2092
  }
@@ -1622,49 +2098,174 @@ class SchedulerComponent {
1622
2098
  }
1623
2099
  </div>
1624
2100
  </div>
1625
- `, isInline: true, styles: [":host{display:block;width:100%;height:100%}.ngx-scheduler-wrapper{display:flex;flex-direction:column;height:100%;min-height:500px;border:1px solid var(--border-color, #cbd5e1);border-radius:var(--radius-md, 12px);background:var(--bg-secondary, #ffffff);color:var(--text-primary, #0f172a);box-shadow:var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, .08));font-family:var(--ngx-font-family, sans-serif);overflow:hidden;transition:all .25s}.scheduler-toolbar{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;background:var(--border-light, #f1f5f9);border-bottom:1px solid var(--border-color, #cbd5e1);gap:16px;flex-wrap:wrap}.nav-controls{display:flex;align-items:center;gap:10px}.current-period-label{margin:0;font-size:16px;font-weight:750;min-width:180px}.tool-btn{background:var(--bg-secondary, #ffffff);border:1px solid var(--border-color, #cbd5e1);border-radius:6px;padding:6px 12px;font-size:12px;font-weight:650;cursor:pointer;color:var(--text-primary, #0f172a);transition:all .2s}.tool-btn:hover,.tool-btn:focus-visible{background:var(--border-light, #f1f5f9);border-color:var(--primary-color, #4f46e5);outline:none}.today-btn{font-weight:750}.view-switch-controls{display:flex;border:1px solid var(--border-color, #cbd5e1);border-radius:6px;overflow:hidden}.view-btn{background:var(--bg-secondary, #ffffff);border:none;border-right:1px solid var(--border-color, #cbd5e1);padding:6px 14px;font-size:12px;font-weight:650;color:var(--text-secondary, #475569);cursor:pointer;transition:all .2s}.view-btn:last-child{border-right:none}.view-btn.active{background:var(--primary-color, #4f46e5);color:#fff}.scheduler-body{flex:1;overflow:auto;background:var(--bg-secondary, #ffffff);display:flex;flex-direction:column}.time-grid-container{display:flex;flex-direction:column;flex:1;min-width:600px}.time-grid-header{display:flex;background:var(--border-light, #f8fafc);border-bottom:1px solid var(--border-color, #cbd5e1);position:sticky;top:0;z-index:10}.time-axis-header{width:70px;flex-shrink:0;border-right:1px solid var(--border-color, #cbd5e1)}.columns-headers-wrap{flex:1;display:flex}.column-header-cell{flex:1;display:flex;flex-direction:column;align-items:center;padding:10px 0;border-right:1px solid var(--border-color, #e2e8f0)}.column-header-cell:last-child{border-right:none}.column-header-cell.today{background:var(--primary-glow, rgba(79, 70, 229, .03))}.column-header-cell.today .day-num{background:var(--primary-color, #4f46e5);color:#fff;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;margin-top:2px}.day-name{font-size:11px;font-weight:650;color:var(--text-secondary, #64748b);text-transform:uppercase;letter-spacing:.5px}.day-num{font-size:14px;margin-top:4px;color:var(--text-primary, #0f172a)}.time-grid-body{display:flex;flex:1;position:relative}.time-axis-labels{width:70px;flex-shrink:0;border-right:1px solid var(--border-color, #cbd5e1);background:var(--border-light, #f8fafc);-webkit-user-select:none;user-select:none}.time-label{height:60px;font-size:11px;font-weight:650;color:var(--text-secondary, #64748b);text-align:right;padding-right:10px;margin-top:-6px}.columns-body-wrap{flex:1;display:flex;position:relative}.hourly-grid-lines{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1}.grid-line{height:60px;border-bottom:1px solid var(--border-light, #e2e8f0)}.column-body-cell{flex:1;border-right:1px solid var(--border-light, #e2e8f0);position:relative;z-index:2;min-width:120px}.column-body-cell:last-child{border-right:none}.interactive-slots-overlay{position:absolute;inset:0;display:flex;flex-direction:column;z-index:1}.slot-trigger{flex:0 0 auto;cursor:cell;transition:background .15s}.slot-trigger:hover{background:var(--primary-glow, rgba(79, 70, 229, .02))}.scheduler-event-card{position:absolute;right:auto;border-radius:8px;padding:8px 10px;font-size:12px;line-height:1.4;cursor:grab;display:flex;gap:8px;z-index:3;box-shadow:var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, .05));transition:transform .2s,box-shadow .2s;overflow:hidden;border:1px solid transparent;min-height:28px}.scheduler-event-card:hover{transform:translateY(-1px);box-shadow:var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, .1));z-index:4}.event-color-indicator{width:3px;height:100%;border-radius:2px;flex-shrink:0;background:currentColor}.event-details{display:flex;flex-direction:column;gap:2px;overflow:hidden;min-width:0}.event-title{font-weight:750;color:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.event-time{font-size:10px;opacity:.82;white-space:nowrap}.resize-handle{position:absolute;left:0;right:0;height:6px;border:0;background:transparent;cursor:ns-resize}.resize-start{top:0}.resize-end{bottom:0}.month-grid-container{display:flex;flex-direction:column;flex:1;min-height:500px}.month-grid-header{display:flex;background:var(--border-light, #f8fafc);border-bottom:1px solid var(--border-color, #cbd5e1);position:sticky;top:0;z-index:10}.month-header-cell{flex:1;text-align:center;padding:10px 0;font-size:11px;font-weight:750;color:var(--text-secondary, #64748b);text-transform:uppercase;letter-spacing:.5px;border-right:1px solid var(--border-color, #cbd5e1)}.month-header-cell:last-child{border-right:none}.month-grid-body{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));grid-auto-rows:minmax(100px,1fr);flex:1}.month-day-cell{border-right:1px solid var(--border-light, #e2e8f0);border-bottom:1px solid var(--border-light, #e2e8f0);padding:6px;display:flex;flex-direction:column;gap:6px;cursor:pointer;position:relative;transition:background .15s}.month-day-cell:nth-child(7n){border-right:none}.month-day-cell:hover{background:var(--primary-glow, rgba(79, 70, 229, .01))}.month-day-cell.today{background:var(--primary-glow, rgba(79, 70, 229, .02))}.month-day-cell.today .month-day-number{background:var(--primary-color, #4f46e5);color:#fff;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700}.month-day-cell.other-month{opacity:.45}.month-day-number{font-size:11px;font-weight:650;color:var(--text-secondary, #475569);width:22px;height:22px;display:flex;align-items:center;justify-content:center}.month-day-events-list{display:flex;flex-direction:column;gap:4px;overflow-y:auto;max-height:90px}.month-event-item{font-size:10px;font-weight:650;padding:2px 6px;border-radius:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;transition:transform .1s}.month-event-item:hover{transform:scale(1.02)}.meeting{background-color:var(--ngx-schedule-meeting-bg, hsl(207, 95%, 97%));border-color:var(--ngx-schedule-meeting-border, hsl(207, 90%, 88%));color:var(--ngx-schedule-meeting-text, hsl(207, 90%, 30%))}.task{background-color:var(--ngx-schedule-task-bg, hsl(142, 70%, 97%));border-color:var(--ngx-schedule-task-border, hsl(142, 60%, 88%));color:var(--ngx-schedule-task-text, hsl(142, 60%, 25%))}.important{background-color:var(--ngx-schedule-important-bg, hsl(0, 90%, 97%));border-color:var(--ngx-schedule-important-border, hsl(0, 80%, 88%));color:var(--ngx-schedule-important-text, hsl(0, 80%, 35%))}.warning{background-color:var(--ngx-schedule-warning-bg, hsl(38, 90%, 97%));border-color:var(--ngx-schedule-warning-border, hsl(38, 80%, 88%));color:var(--ngx-schedule-warning-text, hsl(38, 80%, 28%))}.milestone{background-color:var(--ngx-schedule-milestone-bg, hsl(271, 80%, 97%));border-color:var(--ngx-schedule-milestone-border, hsl(271, 70%, 88%));color:var(--ngx-schedule-milestone-text, hsl(271, 70%, 35%))}.personal{background-color:var(--ngx-schedule-personal-bg, hsl(180, 70%, 96%));border-color:var(--ngx-schedule-personal-border, hsl(180, 60%, 85%));color:var(--ngx-schedule-personal-text, hsl(180, 60%, 28%))}.ngx-scheduler-wrapper.dark{border-color:#1f2937;background:#0f172a;color:#f8fafc}.ngx-scheduler-wrapper.dark .scheduler-toolbar,.ngx-scheduler-wrapper.dark .time-grid-header,.ngx-scheduler-wrapper.dark .time-axis-labels,.ngx-scheduler-wrapper.dark .month-grid-header{background:#1e293b;border-color:#1f2937}.ngx-scheduler-wrapper.dark .tool-btn,.ngx-scheduler-wrapper.dark .view-btn{background:#0f172a;border-color:#1f2937;color:#94a3b8}.ngx-scheduler-wrapper.dark .view-btn.active{background:var(--primary-color, #6366f1);color:#fff}.ngx-scheduler-wrapper.dark .grid-line,.ngx-scheduler-wrapper.dark .column-body-cell,.ngx-scheduler-wrapper.dark .month-day-cell{border-color:#1f2937}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.TitleCasePipe, name: "titlecase" }] });
2101
+ `, isInline: true, styles: [":host{display:block;width:100%;height:100%}.ngx-scheduler-wrapper{display:flex;flex-direction:column;height:100%;min-height:500px;border:1px solid var(--border-color, #cbd5e1);border-radius:var(--radius-md, 12px);background:var(--bg-secondary, #ffffff);color:var(--text-primary, #0f172a);box-shadow:var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, .08));font-family:var(--ngx-font-family, sans-serif);overflow:hidden;transition:all .25s}.scheduler-toolbar{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;background:var(--border-light, #f1f5f9);border-bottom:1px solid var(--border-color, #cbd5e1);gap:16px;flex-wrap:wrap}.nav-controls{display:flex;align-items:center;gap:14px}.nav-buttons-group{display:flex;align-items:center;border:1px solid var(--border-color, #cbd5e1);border-radius:8px;overflow:hidden;background:var(--bg-secondary, #ffffff);box-shadow:var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, .05))}.tool-btn{background:var(--bg-secondary, #ffffff);border:none;border-right:1px solid var(--border-color, #cbd5e1);padding:6px 12px;font-size:12px;font-weight:650;cursor:pointer;color:var(--text-primary, #0f172a);transition:all .2s;display:flex;align-items:center;justify-content:center}.tool-btn:last-child{border-right:none}.tool-btn:hover,.tool-btn:focus-visible{background:var(--border-light, #f1f5f9);color:var(--primary-color, #4f46e5);outline:none}.tool-btn.nav-arrow{padding:8px 10px}.today-btn{font-weight:750}.icon-svg,.dropdown-arrow-svg,.export-icon-svg,.recurrence-icon-svg,.month-recurrence-icon-svg,.delete-icon-svg,.plus-icon-svg{width:16px;height:16px;display:inline-block;vertical-align:middle}.current-period-label{margin:0;font-size:16px;font-weight:800;min-width:180px}.toolbar-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.search-box-container{display:flex;align-items:center;background:var(--bg-secondary, #ffffff);border:1px solid var(--border-color, #cbd5e1);border-radius:8px;padding:5px 12px;min-width:200px;gap:8px;box-shadow:var(--shadow-sm, 0 1px 2px rgba(0,0,0,.05))}.search-icon{width:15px;height:15px;color:var(--text-secondary, #64748b)}.search-input{border:none;background:transparent;font-size:12px;color:var(--text-primary, #0f172a);outline:none;width:100%;font-family:inherit}.search-input::placeholder{color:var(--text-secondary, #94a3b8)}.resource-filter-container{display:flex;align-items:center;background:var(--bg-secondary, #ffffff);border:1px solid var(--border-color, #cbd5e1);border-radius:8px;padding:5px 10px;box-shadow:var(--shadow-sm, 0 1px 2px rgba(0,0,0,.05))}.resource-select{border:none;background:transparent;font-size:12px;font-weight:650;color:var(--text-primary, #0f172a);outline:none;cursor:pointer;font-family:inherit}.export-dropdown-wrapper{position:relative}.export-toggle-btn{display:flex;align-items:center;gap:6px;font-weight:650;border:1px solid var(--border-color, #cbd5e1);border-radius:8px;box-shadow:var(--shadow-sm, 0 1px 2px rgba(0,0,0,.05))}.dropdown-arrow-svg{width:14px;height:14px;opacity:.7}.export-menu-dropdown{position:absolute;top:calc(100% + 4px);right:0;background:var(--bg-secondary, #ffffff);border:1px solid var(--border-color, #cbd5e1);border-radius:8px;box-shadow:var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1));z-index:100;min-width:170px;display:flex;flex-direction:column;padding:4px;overflow:hidden;animation:slideDown .15s ease-out}.export-item{display:flex;align-items:center;gap:10px;border:none;background:none;padding:8px 12px;font-size:12px;text-align:left;cursor:pointer;color:var(--text-primary, #334155);border-radius:6px;font-family:inherit;font-weight:600;transition:background .15s}.export-item:hover{background:var(--border-light, #f1f5f9);color:var(--primary-color, #4f46e5)}.export-icon-svg{width:14px;height:14px;color:var(--text-secondary, #64748b)}.view-switch-controls{display:flex;border:1px solid var(--border-color, #cbd5e1);border-radius:8px;overflow:hidden;box-shadow:var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, .05))}.view-btn{background:var(--bg-secondary, #ffffff);border:none;border-right:1px solid var(--border-color, #cbd5e1);padding:6px 14px;font-size:12px;font-weight:650;color:var(--text-secondary, #475569);cursor:pointer;transition:all .2s;font-family:inherit}.view-btn:last-child{border-right:none}.view-btn.active{background:var(--primary-color, #4f46e5);color:#fff}.scheduler-body{flex:1;overflow:auto;background:var(--bg-secondary, #ffffff);display:flex;flex-direction:column}.time-grid-container{display:flex;flex-direction:column;flex:1;min-width:600px}.time-grid-header{display:flex;background:var(--border-light, #f8fafc);border-bottom:1px solid var(--border-color, #cbd5e1);position:sticky;top:0;z-index:10}.time-axis-header{width:70px;flex-shrink:0;border-right:1px solid var(--border-color, #cbd5e1)}.columns-headers-wrap{flex:1;display:flex}.column-header-cell{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 0;border-right:1px solid var(--border-color, #e2e8f0);min-width:120px}.column-header-cell:last-child{border-right:none}.column-header-cell.today{background:var(--primary-glow, rgba(79, 70, 229, .03))}.column-header-cell.today .day-num{background:var(--primary-color, #4f46e5);color:#fff;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;margin-top:2px}.day-name{font-size:11px;font-weight:650;color:var(--text-secondary, #64748b);text-transform:uppercase;letter-spacing:.5px}.day-num{font-size:14px;margin-top:4px;color:var(--text-primary, #0f172a)}.resource-header-card{display:flex;align-items:center;gap:10px;padding:4px 12px;width:100%;text-align:left}.resource-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;border:2px solid var(--border-light, #e2e8f0)}.resource-initials{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:750;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.2)}.resource-info{display:flex;flex-direction:column;gap:1px;min-width:0}.resource-name{font-size:13px;font-weight:750;color:var(--text-primary, #0f172a);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resource-desc{font-size:10px;color:var(--text-secondary, #64748b);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.all-day-row-container{display:flex;background:var(--border-light, #f8fafc);border-bottom:1px solid var(--border-color, #cbd5e1);z-index:8;position:relative}.all-day-label-cell{width:70px;flex-shrink:0;border-right:1px solid var(--border-color, #cbd5e1);font-size:10px;font-weight:750;color:var(--text-secondary, #64748b);display:flex;align-items:center;justify-content:flex-end;padding-right:10px;text-transform:uppercase;letter-spacing:.5px}.all-day-columns-wrap{flex:1;display:flex;min-height:38px;padding:4px 0}.all-day-column-cell{flex:1;display:flex;flex-direction:column;gap:4px;padding:0 4px;border-right:1px solid var(--border-light, #e2e8f0);min-width:120px;box-sizing:border-box;justify-content:center}.all-day-column-cell:last-child{border-right:none}.all-day-event-block{display:flex;align-items:center;gap:6px;border-radius:6px;padding:4px 8px;font-size:11px;font-weight:700;cursor:pointer;border:1px solid transparent;box-shadow:var(--shadow-sm);position:relative;overflow:hidden;min-height:22px;transition:transform .15s}.all-day-event-block:hover{transform:translateY(-1px)}.all-day-event-block.completed .all-day-event-title{text-decoration:line-through;opacity:.65}.all-day-event-indicator{width:4px;height:12px;border-radius:2px;background:currentColor;flex-shrink:0}.all-day-event-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.event-delete-btn.all-day-del{opacity:0;position:absolute;right:4px;top:2px;width:18px;height:18px}.all-day-event-block:hover .event-delete-btn.all-day-del{opacity:1}.time-grid-body{display:flex;flex:1;position:relative}.time-axis-labels{width:70px;flex-shrink:0;border-right:1px solid var(--border-color, #cbd5e1);background:var(--border-light, #f8fafc);-webkit-user-select:none;user-select:none}.time-label{height:60px;font-size:11px;font-weight:650;color:var(--text-secondary, #64748b);text-align:right;padding-right:10px;margin-top:-6px}.columns-body-wrap{flex:1;display:flex;position:relative}.hourly-grid-lines{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1}.grid-line{height:60px;border-bottom:1px solid var(--border-light, #e2e8f0)}.column-body-cell{flex:1;border-right:1px solid var(--border-light, #e2e8f0);position:relative;z-index:2;min-width:120px}.column-body-cell:last-child{border-right:none}.interactive-slots-overlay{position:absolute;inset:0;display:flex;flex-direction:column;z-index:1}.slot-trigger{flex:0 0 auto;cursor:cell;transition:background .15s}.slot-trigger:hover{background:var(--primary-glow, rgba(79, 70, 229, .02))}.slot-trigger.non-business-slot{background:var(--border-light, #f8fafc);opacity:.85;background-image:repeating-linear-gradient(45deg,transparent,transparent 10px,rgba(148,163,184,.04) 10px,rgba(148,163,184,.04) 20px)}.task-completion-checkbox{width:14px;height:14px;margin:0;cursor:pointer;flex-shrink:0;accent-color:var(--primary-color, #4f46e5);border-radius:4px;border:1px solid var(--border-color, #cbd5e1);outline:none;align-self:center;transition:accent-color .15s;z-index:5}.all-day-task-checkbox{width:12px;height:12px}.current-time-line{position:absolute;left:0;right:0;height:2px;background:#ef4444;z-index:10;pointer-events:none}.line-dot{position:absolute;left:-4px;top:-3px;width:8px;height:8px;border-radius:50%;background:#ef4444;box-shadow:0 0 4px #ef4444cc}.drag-select-preview{position:absolute;left:4px;right:4px;border:2px dashed var(--primary-color, #4f46e5);border-radius:8px;background:#4f46e514;z-index:5;pointer-events:none;display:flex;align-items:center;justify-content:center;box-sizing:border-box}.preview-inner{display:flex;align-items:center;gap:6px;color:var(--primary-color, #4f46e5);font-size:11px;font-weight:750;background:#fff;padding:4px 10px;border-radius:20px;box-shadow:var(--shadow-sm);border:1px solid rgba(79,70,229,.2)}.plus-icon-svg{color:var(--primary-color, #4f46e5);width:14px;height:14px}.scheduler-event-card{position:absolute;right:auto;border-radius:8px;padding:8px 10px;font-size:12px;line-height:1.4;cursor:grab;display:flex;gap:8px;z-index:3;box-shadow:var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, .05));transition:transform .2s,box-shadow .2s;overflow:hidden;border:1px solid transparent;min-height:28px}.scheduler-event-card:hover{transform:translateY(-1px);box-shadow:var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, .1));z-index:4}.scheduler-event-card.completed .event-title{text-decoration:line-through;opacity:.65}.event-color-indicator{width:3px;height:100%;border-radius:2px;flex-shrink:0;background:currentColor}.event-details{display:flex;flex-direction:column;gap:2px;overflow:hidden;min-width:0;flex:1}.event-header-row{display:flex;justify-content:space-between;align-items:flex-start;gap:4px;width:100%}.event-title{font-weight:750;color:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.event-time{font-size:10px;opacity:.82;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recurrence-icon-svg{color:currentColor;opacity:.65;width:13px;height:13px;flex-shrink:0;margin-top:1px}.event-delete-btn{position:absolute;top:6px;right:6px;border:none;background:#ffffffbf;border-radius:4px;width:20px;height:20px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--ngx-schedule-important-text, #ef4444);opacity:0;transition:opacity .15s,background .15s}.event-delete-btn:hover{background:#fff;color:#dc2626;transform:scale(1.05)}.scheduler-event-card:hover .event-delete-btn{opacity:1}.delete-icon-svg{width:12px;height:12px}.resize-handle{position:absolute;left:0;right:0;height:6px;border:0;background:transparent;cursor:ns-resize}.resize-start{top:0}.resize-end{bottom:0}.month-grid-container{display:flex;flex-direction:column;flex:1;min-height:500px}.month-grid-header{display:flex;background:var(--border-light, #f8fafc);border-bottom:1px solid var(--border-color, #cbd5e1);position:sticky;top:0;z-index:10}.month-header-cell{flex:1;text-align:center;padding:10px 0;font-size:11px;font-weight:750;color:var(--text-secondary, #64748b);text-transform:uppercase;letter-spacing:.5px;border-right:1px solid var(--border-color, #cbd5e1)}.month-header-cell:last-child{border-right:none}.month-grid-body{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));grid-auto-rows:minmax(100px,1fr);flex:1}.month-day-cell{border-right:1px solid var(--border-light, #e2e8f0);border-bottom:1px solid var(--border-light, #e2e8f0);padding:6px;display:flex;flex-direction:column;gap:6px;cursor:pointer;position:relative;transition:background .15s}.month-day-cell:nth-child(7n){border-right:none}.month-day-cell:hover{background:var(--primary-glow, rgba(79, 70, 229, .01))}.month-day-cell.today{background:var(--primary-glow, rgba(79, 70, 229, .02))}.month-day-cell.today .month-day-number{background:var(--primary-color, #4f46e5);color:#fff;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700}.month-day-cell.other-month{opacity:.45}.month-day-number{font-size:11px;font-weight:650;color:var(--text-secondary, #475569);width:22px;height:22px;display:flex;align-items:center;justify-content:center}.month-day-events-list{display:flex;flex-direction:column;gap:4px;overflow-y:auto;max-height:90px}.month-event-item{font-size:10px;font-weight:650;padding:2px 6px;border-radius:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;transition:transform .1s;display:flex;align-items:center}.month-event-item:hover{transform:scale(1.02)}.month-event-item.completed{text-decoration:line-through;opacity:.65}.month-recurrence-icon-svg{color:currentColor;opacity:.8;width:11px;height:11px;margin-right:3px;display:inline-block;flex-shrink:0}.meeting{background-color:var(--ngx-schedule-meeting-bg, hsl(207, 95%, 97%));border-color:var(--ngx-schedule-meeting-border, hsl(207, 90%, 88%));color:var(--ngx-schedule-meeting-text, hsl(207, 90%, 30%))}.task{background-color:var(--ngx-schedule-task-bg, hsl(142, 70%, 97%));border-color:var(--ngx-schedule-task-border, hsl(142, 60%, 88%));color:var(--ngx-schedule-task-text, hsl(142, 60%, 25%))}.important{background-color:var(--ngx-schedule-important-bg, hsl(0, 90%, 97%));border-color:var(--ngx-schedule-important-border, hsl(0, 80%, 88%));color:var(--ngx-schedule-important-text, hsl(0, 80%, 35%))}.warning{background-color:var(--ngx-schedule-warning-bg, hsl(38, 90%, 97%));border-color:var(--ngx-schedule-warning-border, hsl(38, 80%, 88%));color:var(--ngx-schedule-warning-text, hsl(38, 80%, 28%))}.milestone{background-color:var(--ngx-schedule-milestone-bg, hsl(271, 80%, 97%));border-color:var(--ngx-schedule-milestone-border, hsl(271, 70%, 88%));color:var(--ngx-schedule-milestone-text, hsl(271, 70%, 35%))}.personal{background-color:var(--ngx-schedule-personal-bg, hsl(180, 70%, 96%));border-color:var(--ngx-schedule-personal-border, hsl(180, 60%, 85%));color:var(--ngx-schedule-personal-text, hsl(180, 60%, 28%))}.ngx-scheduler-wrapper.dark{border-color:#1f2937;background:#0f172a;color:#f8fafc}.ngx-scheduler-wrapper.dark .scheduler-toolbar,.ngx-scheduler-wrapper.dark .time-grid-header,.ngx-scheduler-wrapper.dark .time-axis-labels,.ngx-scheduler-wrapper.dark .month-grid-header{background:#1e293b;border-color:#1f2937}.ngx-scheduler-wrapper.dark .nav-buttons-group,.ngx-scheduler-wrapper.dark .search-box-container,.ngx-scheduler-wrapper.dark .resource-filter-container,.ngx-scheduler-wrapper.dark .export-menu-dropdown{background:#0f172a;border-color:#1f2937}.ngx-scheduler-wrapper.dark .tool-btn,.ngx-scheduler-wrapper.dark .view-btn{background:#0f172a;border-color:#1f2937;color:#94a3b8}.ngx-scheduler-wrapper.dark .view-btn.active{background:var(--primary-color, #6366f1);color:#fff}.ngx-scheduler-wrapper.dark .grid-line,.ngx-scheduler-wrapper.dark .column-body-cell,.ngx-scheduler-wrapper.dark .month-day-cell{border-color:#1f2937}.ngx-scheduler-wrapper.dark .search-input,.ngx-scheduler-wrapper.dark .resource-select{color:#f8fafc}.ngx-scheduler-wrapper.dark .export-item{color:#cbd5e1}.ngx-scheduler-wrapper.dark .export-item:hover{background:#1e293b;color:#6366f1}.ngx-scheduler-wrapper.dark .resource-name{color:#f8fafc}.ngx-scheduler-wrapper.dark .resource-desc{color:#94a3b8}.ngx-scheduler-wrapper.dark .all-day-row-container{background:#1e293b;border-color:#1f2937}.ngx-scheduler-wrapper.dark .all-day-column-cell{border-color:#1f2937}.ngx-scheduler-wrapper.dark .all-day-event-block{border-color:transparent}.ngx-scheduler-wrapper.dark .slot-trigger.non-business-slot{background:#0f172a;background-image:repeating-linear-gradient(45deg,transparent,transparent 10px,rgba(31,41,55,.25) 10px,rgba(31,41,55,.25) 20px)}.ngx-scheduler-wrapper.dark .preview-inner{background:#0f172a;border-color:#6366f166;color:#818cf8}.ngx-scheduler-wrapper.dark .plus-icon-svg{color:#818cf8}.ngx-scheduler-wrapper.dark .event-delete-btn{background:#0f172a99;color:#f87171}.ngx-scheduler-wrapper.dark .event-delete-btn:hover{background:#1e293b}.ngx-scheduler-wrapper.dark .task-completion-checkbox{border-color:#374151;background:#1f2937}@keyframes slideDown{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "pipe", type: i1.TitleCasePipe, name: "titlecase" }] });
1626
2102
  }
1627
2103
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SchedulerComponent, decorators: [{
1628
2104
  type: Component,
1629
2105
  args: [{ selector: 'ngx-scheduler', standalone: true, imports: [CommonModule], template: `
1630
2106
  <div class="ngx-scheduler-wrapper" [class.dark]="theme() === 'dark'">
2107
+
2108
+ <!-- Scheduler Toolbar -->
1631
2109
  <div class="scheduler-toolbar">
1632
2110
  <div class="nav-controls">
1633
- <button class="tool-btn" type="button" (click)="navigate(-1)" aria-label="Previous period">&lt;</button>
1634
- <button class="tool-btn today-btn" type="button" (click)="goToToday()">Today</button>
1635
- <button class="tool-btn" type="button" (click)="navigate(1)" aria-label="Next period">&gt;</button>
2111
+ <div class="nav-buttons-group">
2112
+ <button class="tool-btn nav-arrow" type="button" (click)="navigate(-1)" aria-label="Previous period">
2113
+ <svg class="icon-svg" viewBox="0 0 24 24"><path fill="currentColor" d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>
2114
+ </button>
2115
+ <button class="tool-btn today-btn" type="button" (click)="goToToday()">Today</button>
2116
+ <button class="tool-btn nav-arrow" type="button" (click)="navigate(1)" aria-label="Next period">
2117
+ <svg class="icon-svg" viewBox="0 0 24 24"><path fill="currentColor" d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>
2118
+ </button>
2119
+ </div>
1636
2120
  <h2 class="current-period-label">{{ periodLabel() }}</h2>
1637
2121
  </div>
1638
2122
 
1639
- <div class="view-switch-controls">
1640
- @for (mode of viewModes; track mode) {
1641
- <button
1642
- type="button"
1643
- class="view-btn"
1644
- [class.active]="activeMode() === mode"
1645
- (click)="activeMode.set(mode)"
1646
- >
1647
- {{ mode | titlecase }}
1648
- </button>
2123
+ <div class="toolbar-actions">
2124
+ <!-- Keyword Search -->
2125
+ @if (showSearch()) {
2126
+ <div class="search-box-container">
2127
+ <svg class="search-icon" viewBox="0 0 24 24"><path fill="currentColor" d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>
2128
+ <input type="text"
2129
+ class="search-input"
2130
+ placeholder="Search events..."
2131
+ [value]="searchQuery()"
2132
+ (input)="onSearchInput($event)" />
2133
+ </div>
2134
+ }
2135
+
2136
+ <!-- Resource Select Filter (Week/Month View) -->
2137
+ @if (resources().length > 0 && activeMode() !== 'day') {
2138
+ <div class="resource-filter-container">
2139
+ <select class="resource-select" [value]="selectedResourceId() || ''" (change)="onResourceFilterChange($event)">
2140
+ <option value="">All Resources</option>
2141
+ @for (res of resources(); track res.id) {
2142
+ <option [value]="res.id">{{ res.name }}</option>
2143
+ }
2144
+ </select>
2145
+ </div>
1649
2146
  }
2147
+
2148
+ <!-- Export Dropdown -->
2149
+ <div class="export-dropdown-wrapper">
2150
+ <button class="tool-btn export-toggle-btn" type="button" (click)="showExportDropdown.set(!showExportDropdown())">
2151
+ <span>Export</span>
2152
+ <svg class="dropdown-arrow-svg" viewBox="0 0 24 24"><path fill="currentColor" d="M7 10l5 5 5-5z"/></svg>
2153
+ </button>
2154
+
2155
+ @if (showExportDropdown()) {
2156
+ <div class="export-menu-dropdown">
2157
+ <button class="export-item" (click)="exportToICS(); showExportDropdown.set(false)">
2158
+ <svg class="export-icon-svg" viewBox="0 0 24 24"><path fill="currentColor" d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/></svg>
2159
+ <span>iCalendar (.ics)</span>
2160
+ </button>
2161
+ <button class="export-item" (click)="exportToJSON(); showExportDropdown.set(false)">
2162
+ <svg class="export-icon-svg" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>
2163
+ <span>JSON format</span>
2164
+ </button>
2165
+ <button class="export-item" (click)="exportToCSV(); showExportDropdown.set(false)">
2166
+ <svg class="export-icon-svg" viewBox="0 0 24 24"><path fill="currentColor" d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"/></svg>
2167
+ <span>CSV document</span>
2168
+ </button>
2169
+ </div>
2170
+ }
2171
+ </div>
2172
+
2173
+ <!-- View Switches -->
2174
+ <div class="view-switch-controls">
2175
+ @for (mode of viewModes; track mode) {
2176
+ <button
2177
+ type="button"
2178
+ class="view-btn"
2179
+ [class.active]="activeMode() === mode"
2180
+ (click)="activeMode.set(mode)"
2181
+ >
2182
+ {{ mode | titlecase }}
2183
+ </button>
2184
+ }
2185
+ </div>
1650
2186
  </div>
1651
2187
  </div>
1652
2188
 
1653
- <div class="scheduler-body">
2189
+ <!-- Scheduler Body -->
2190
+ <div class="scheduler-body" (click)="showExportDropdown.set(false)">
1654
2191
  @if (activeMode() === 'day' || activeMode() === 'week') {
1655
2192
  <div class="time-grid-container">
2193
+
2194
+ <!-- Grid Header -->
1656
2195
  <div class="time-grid-header">
1657
2196
  <div class="time-axis-header"></div>
1658
2197
  <div class="columns-headers-wrap">
1659
- @for (col of activeColumns(); track dateKey(col)) {
1660
- <div class="column-header-cell" [class.today]="isToday(col)">
1661
- <span class="day-name">{{ formatDate(col, { weekday: 'short' }) }}</span>
1662
- <span class="day-num">{{ formatDate(col, { day: 'numeric' }) }}</span>
2198
+ @for (col of activeColumns(); track col.resource ? col.resource.id : dateKey(col.date)) {
2199
+ <div class="column-header-cell" [class.today]="isToday(col.date)">
2200
+ @if (col.resource) {
2201
+ <div class="resource-header-card">
2202
+ @if (col.resource.avatarUrl) {
2203
+ <img [src]="col.resource.avatarUrl" [alt]="col.resource.name" class="resource-avatar" />
2204
+ } @else {
2205
+ <div class="resource-initials" [style.background-color]="col.resource.color || 'var(--primary-color)'">
2206
+ {{ getInitials(col.resource.name) }}
2207
+ </div>
2208
+ }
2209
+ <div class="resource-info">
2210
+ <span class="resource-name">{{ col.resource.name }}</span>
2211
+ <span class="resource-desc">{{ col.resource.description || 'Team Member' }}</span>
2212
+ </div>
2213
+ </div>
2214
+ } @else {
2215
+ <span class="day-name">{{ formatDate(col.date, { weekday: 'short' }) }}</span>
2216
+ <span class="day-num">{{ formatDate(col.date, { day: 'numeric' }) }}</span>
2217
+ }
1663
2218
  </div>
1664
2219
  }
1665
2220
  </div>
1666
2221
  </div>
1667
2222
 
2223
+ <!-- All-Day Events row -->
2224
+ @if (hasAllDayEvents()) {
2225
+ <div class="all-day-row-container">
2226
+ <div class="all-day-label-cell">All day</div>
2227
+ <div class="all-day-columns-wrap">
2228
+ @for (col of activeColumns(); track col.resource ? col.resource.id : dateKey(col.date)) {
2229
+ <div class="all-day-column-cell">
2230
+ @for (evt of getAllDayEventsForColumn(col); track evt.id) {
2231
+ <div class="all-day-event-block"
2232
+ [class.meeting]="evt.event.category === 'meeting'"
2233
+ [class.task]="evt.event.category === 'task'"
2234
+ [class.important]="evt.event.category === 'important'"
2235
+ [class.warning]="evt.event.category === 'warning'"
2236
+ [class.milestone]="evt.event.category === 'milestone'"
2237
+ [class.personal]="evt.event.category === 'personal'"
2238
+ [class.completed]="evt.event.completed"
2239
+ [ngStyle]="getEventStyles(evt.event)"
2240
+ (click)="clickEvent(evt.event); $event.stopPropagation()"
2241
+ [title]="evt.event.title"
2242
+ >
2243
+ <div class="all-day-event-indicator"></div>
2244
+
2245
+ @if (evt.event.category === 'task') {
2246
+ <input type="checkbox"
2247
+ class="task-completion-checkbox all-day-task-checkbox"
2248
+ [checked]="evt.event.completed || false"
2249
+ (click)="$event.stopPropagation()"
2250
+ (change)="toggleTaskCompletion(evt.event, $event)" />
2251
+ }
2252
+
2253
+ <span class="all-day-event-title">{{ evt.event.title }}</span>
2254
+ <button class="event-delete-btn all-day-del"
2255
+ type="button"
2256
+ aria-label="Delete event"
2257
+ (click)="deleteEvent(evt.event, $event)">
2258
+ <svg class="delete-icon-svg" viewBox="0 0 24 24"><path fill="currentColor" d="M19 4h-3.5l-1-1h-5l-1 1H5v2h14V4zM6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12z"/></svg>
2259
+ </button>
2260
+ </div>
2261
+ }
2262
+ </div>
2263
+ }
2264
+ </div>
2265
+ </div>
2266
+ }
2267
+
2268
+ <!-- Grid Body -->
1668
2269
  <div class="time-grid-body">
1669
2270
  <div class="time-axis-labels">
1670
2271
  @for (h of hours(); track h) {
@@ -1679,21 +2280,46 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
1679
2280
  }
1680
2281
  </div>
1681
2282
 
1682
- @for (col of activeColumns(); track dateKey(col)) {
2283
+ @for (col of activeColumns(); track col.resource ? col.resource.id : dateKey(col.date)) {
1683
2284
  <div class="column-body-cell">
2285
+
2286
+ <!-- Interactive Slot Overlay -->
1684
2287
  <div class="interactive-slots-overlay">
1685
2288
  @for (slot of timeSlots(); track slot.key) {
1686
2289
  <div
1687
2290
  class="slot-trigger"
2291
+ [class.non-business-slot]="isNonBusinessHour(slot.hour)"
1688
2292
  [style.height.px]="slotHeight()"
1689
- (click)="clickSlot(col, slot.hour, slot.minute)"
2293
+ (click)="clickSlot(col.date, slot.hour, slot.minute, col.resource?.id)"
2294
+ (pointerdown)="onSlotPointerDown($event, col.date, slot.hour, slot.minute, col.resource?.id)"
2295
+ (pointerenter)="onSlotPointerEnter($event, col.date, slot.hour, slot.minute, col.resource?.id)"
1690
2296
  (dragover)="onSlotDragOver($event)"
1691
- (drop)="onSlotDrop($event, col, slot.hour, slot.minute)"
2297
+ (drop)="onSlotDrop($event, col.date, slot.hour, slot.minute, col.resource?.id)"
1692
2298
  ></div>
1693
2299
  }
1694
2300
  </div>
1695
2301
 
1696
- @for (layout of getEventLayoutsForDate(col); track layout.id) {
2302
+ <!-- Live Current Time Indicator Line -->
2303
+ @if (isToday(col.date) && currentTimeTop(); as lineTop) {
2304
+ <div class="current-time-line" [style.top.%]="lineTop">
2305
+ <div class="line-dot"></div>
2306
+ </div>
2307
+ }
2308
+
2309
+ <!-- Drag Select Preview Block -->
2310
+ @if (getDragSelectionLayout(col); as previewLayout) {
2311
+ <div class="drag-select-preview"
2312
+ [style.top.%]="previewLayout.top"
2313
+ [style.height.%]="previewLayout.height">
2314
+ <div class="preview-inner">
2315
+ <svg class="plus-icon-svg" viewBox="0 0 24 24"><path fill="currentColor" d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg>
2316
+ <span>Create Event</span>
2317
+ </div>
2318
+ </div>
2319
+ }
2320
+
2321
+ <!-- Event Cards -->
2322
+ @for (layout of getEventLayoutsForColumn(col); track layout.id) {
1697
2323
  <div
1698
2324
  class="scheduler-event-card"
1699
2325
  [class.meeting]="layout.event.category === 'meeting'"
@@ -1702,11 +2328,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
1702
2328
  [class.warning]="layout.event.category === 'warning'"
1703
2329
  [class.milestone]="layout.event.category === 'milestone'"
1704
2330
  [class.personal]="layout.event.category === 'personal'"
2331
+ [class.completed]="layout.event.completed"
1705
2332
  [style.top.%]="layout.top"
1706
2333
  [style.height.%]="layout.height"
1707
2334
  [style.left.%]="layout.left"
1708
2335
  [style.width.%]="layout.width"
1709
- [style.background-color]="layout.event.color || null"
2336
+ [ngStyle]="getEventStyles(layout.event)"
1710
2337
  draggable="true"
1711
2338
  (dragstart)="onEventDragStart($event, layout)"
1712
2339
  (dragend)="onEventDragEnd()"
@@ -1720,11 +2347,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
1720
2347
  (click)="$event.stopPropagation()"
1721
2348
  (pointerdown)="startResize($event, layout, 'start')"
1722
2349
  ></button>
2350
+
1723
2351
  <div class="event-color-indicator"></div>
2352
+
2353
+ <!-- Task Completion Checkbox -->
2354
+ @if (layout.event.category === 'task') {
2355
+ <input type="checkbox"
2356
+ class="task-completion-checkbox"
2357
+ [checked]="layout.event.completed || false"
2358
+ (click)="$event.stopPropagation()"
2359
+ (change)="toggleTaskCompletion(layout.event, $event)" />
2360
+ }
2361
+
1724
2362
  <div class="event-details">
1725
- <span class="event-title">{{ layout.event.title }}</span>
1726
- <span class="event-time">{{ formatEventTime(layout.start, layout.end) }}</span>
2363
+ <div class="event-header-row">
2364
+ <span class="event-title">{{ layout.event.title }}</span>
2365
+ @if (layout.event.recurrence) {
2366
+ <svg class="recurrence-icon-svg" viewBox="0 0 24 24" title="Recurring series"><path fill="currentColor" d="M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L4.7 18.7c-1.07-1.63-1.7-3.6-1.7-5.7 0-5.52 4.48-10 10-10zm7.76 5.74L18.3 10.3c1.07 1.63 1.7 3.6 1.7 5.7 0 5.52-4.48 10-10 10v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26z"/></svg>
2367
+ }
2368
+ </div>
2369
+
2370
+ <span class="event-time">
2371
+ {{ formatEventTime(layout.start, layout.end) }}
2372
+ @if (layout.event.resourceId; as resId) {
2373
+ • {{ getResourceName(resId) }}
2374
+ }
2375
+ </span>
1727
2376
  </div>
2377
+
2378
+ <!-- Card Delete Quick Action -->
2379
+ <button class="event-delete-btn"
2380
+ type="button"
2381
+ aria-label="Delete event"
2382
+ (click)="deleteEvent(layout.event, $event)">
2383
+ <svg class="delete-icon-svg" viewBox="0 0 24 24"><path fill="currentColor" d="M19 4h-3.5l-1-1h-5l-1 1H5v2h14V4zM6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12z"/></svg>
2384
+ </button>
2385
+
1728
2386
  <button
1729
2387
  class="resize-handle resize-end"
1730
2388
  type="button"
@@ -1750,17 +2408,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
1750
2408
  </div>
1751
2409
 
1752
2410
  <div class="month-grid-body">
1753
- @for (cell of activeColumns(); track dateKey(cell)) {
2411
+ @for (cell of activeColumns(); track dateKey(cell.date)) {
1754
2412
  <div
1755
2413
  class="month-day-cell"
1756
- [class.today]="isToday(cell)"
1757
- [class.other-month]="isOtherMonth(cell)"
1758
- (click)="clickSlot(cell, 9, 0)"
2414
+ [class.today]="isToday(cell.date)"
2415
+ [class.other-month]="isOtherMonth(cell.date)"
2416
+ (click)="clickSlot(cell.date, 9, 0)"
1759
2417
  >
1760
- <span class="month-day-number">{{ formatDate(cell, { day: 'numeric' }) }}</span>
2418
+ <span class="month-day-number">{{ formatDate(cell.date, { day: 'numeric' }) }}</span>
1761
2419
 
1762
2420
  <div class="month-day-events-list">
1763
- @for (evt of getEventsForDate(cell); track evt.id) {
2421
+ @for (evt of getEventsForDate(cell.date); track evt.id) {
1764
2422
  <div
1765
2423
  class="month-event-item"
1766
2424
  [class.meeting]="evt.event.category === 'meeting'"
@@ -1769,9 +2427,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
1769
2427
  [class.warning]="evt.event.category === 'warning'"
1770
2428
  [class.milestone]="evt.event.category === 'milestone'"
1771
2429
  [class.personal]="evt.event.category === 'personal'"
2430
+ [class.completed]="evt.event.completed"
2431
+ [ngStyle]="getEventStyles(evt.event)"
1772
2432
  (click)="clickEvent(evt.event); $event.stopPropagation()"
1773
2433
  [title]="evt.event.title"
1774
2434
  >
2435
+ @if (evt.event.recurrence) {
2436
+ <svg class="month-recurrence-icon-svg" viewBox="0 0 24 24"><path fill="currentColor" d="M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L4.7 18.7c-1.07-1.63-1.7-3.6-1.7-5.7 0-5.52 4.48-10 10-10zm7.76 5.74L18.3 10.3c1.07 1.63 1.7 3.6 1.7 5.7 0 5.52-4.48 10-10 10v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26z"/></svg>
2437
+ }
1775
2438
  {{ evt.event.title }}
1776
2439
  </div>
1777
2440
  }
@@ -1783,8 +2446,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
1783
2446
  }
1784
2447
  </div>
1785
2448
  </div>
1786
- `, styles: [":host{display:block;width:100%;height:100%}.ngx-scheduler-wrapper{display:flex;flex-direction:column;height:100%;min-height:500px;border:1px solid var(--border-color, #cbd5e1);border-radius:var(--radius-md, 12px);background:var(--bg-secondary, #ffffff);color:var(--text-primary, #0f172a);box-shadow:var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, .08));font-family:var(--ngx-font-family, sans-serif);overflow:hidden;transition:all .25s}.scheduler-toolbar{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;background:var(--border-light, #f1f5f9);border-bottom:1px solid var(--border-color, #cbd5e1);gap:16px;flex-wrap:wrap}.nav-controls{display:flex;align-items:center;gap:10px}.current-period-label{margin:0;font-size:16px;font-weight:750;min-width:180px}.tool-btn{background:var(--bg-secondary, #ffffff);border:1px solid var(--border-color, #cbd5e1);border-radius:6px;padding:6px 12px;font-size:12px;font-weight:650;cursor:pointer;color:var(--text-primary, #0f172a);transition:all .2s}.tool-btn:hover,.tool-btn:focus-visible{background:var(--border-light, #f1f5f9);border-color:var(--primary-color, #4f46e5);outline:none}.today-btn{font-weight:750}.view-switch-controls{display:flex;border:1px solid var(--border-color, #cbd5e1);border-radius:6px;overflow:hidden}.view-btn{background:var(--bg-secondary, #ffffff);border:none;border-right:1px solid var(--border-color, #cbd5e1);padding:6px 14px;font-size:12px;font-weight:650;color:var(--text-secondary, #475569);cursor:pointer;transition:all .2s}.view-btn:last-child{border-right:none}.view-btn.active{background:var(--primary-color, #4f46e5);color:#fff}.scheduler-body{flex:1;overflow:auto;background:var(--bg-secondary, #ffffff);display:flex;flex-direction:column}.time-grid-container{display:flex;flex-direction:column;flex:1;min-width:600px}.time-grid-header{display:flex;background:var(--border-light, #f8fafc);border-bottom:1px solid var(--border-color, #cbd5e1);position:sticky;top:0;z-index:10}.time-axis-header{width:70px;flex-shrink:0;border-right:1px solid var(--border-color, #cbd5e1)}.columns-headers-wrap{flex:1;display:flex}.column-header-cell{flex:1;display:flex;flex-direction:column;align-items:center;padding:10px 0;border-right:1px solid var(--border-color, #e2e8f0)}.column-header-cell:last-child{border-right:none}.column-header-cell.today{background:var(--primary-glow, rgba(79, 70, 229, .03))}.column-header-cell.today .day-num{background:var(--primary-color, #4f46e5);color:#fff;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;margin-top:2px}.day-name{font-size:11px;font-weight:650;color:var(--text-secondary, #64748b);text-transform:uppercase;letter-spacing:.5px}.day-num{font-size:14px;margin-top:4px;color:var(--text-primary, #0f172a)}.time-grid-body{display:flex;flex:1;position:relative}.time-axis-labels{width:70px;flex-shrink:0;border-right:1px solid var(--border-color, #cbd5e1);background:var(--border-light, #f8fafc);-webkit-user-select:none;user-select:none}.time-label{height:60px;font-size:11px;font-weight:650;color:var(--text-secondary, #64748b);text-align:right;padding-right:10px;margin-top:-6px}.columns-body-wrap{flex:1;display:flex;position:relative}.hourly-grid-lines{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1}.grid-line{height:60px;border-bottom:1px solid var(--border-light, #e2e8f0)}.column-body-cell{flex:1;border-right:1px solid var(--border-light, #e2e8f0);position:relative;z-index:2;min-width:120px}.column-body-cell:last-child{border-right:none}.interactive-slots-overlay{position:absolute;inset:0;display:flex;flex-direction:column;z-index:1}.slot-trigger{flex:0 0 auto;cursor:cell;transition:background .15s}.slot-trigger:hover{background:var(--primary-glow, rgba(79, 70, 229, .02))}.scheduler-event-card{position:absolute;right:auto;border-radius:8px;padding:8px 10px;font-size:12px;line-height:1.4;cursor:grab;display:flex;gap:8px;z-index:3;box-shadow:var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, .05));transition:transform .2s,box-shadow .2s;overflow:hidden;border:1px solid transparent;min-height:28px}.scheduler-event-card:hover{transform:translateY(-1px);box-shadow:var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, .1));z-index:4}.event-color-indicator{width:3px;height:100%;border-radius:2px;flex-shrink:0;background:currentColor}.event-details{display:flex;flex-direction:column;gap:2px;overflow:hidden;min-width:0}.event-title{font-weight:750;color:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.event-time{font-size:10px;opacity:.82;white-space:nowrap}.resize-handle{position:absolute;left:0;right:0;height:6px;border:0;background:transparent;cursor:ns-resize}.resize-start{top:0}.resize-end{bottom:0}.month-grid-container{display:flex;flex-direction:column;flex:1;min-height:500px}.month-grid-header{display:flex;background:var(--border-light, #f8fafc);border-bottom:1px solid var(--border-color, #cbd5e1);position:sticky;top:0;z-index:10}.month-header-cell{flex:1;text-align:center;padding:10px 0;font-size:11px;font-weight:750;color:var(--text-secondary, #64748b);text-transform:uppercase;letter-spacing:.5px;border-right:1px solid var(--border-color, #cbd5e1)}.month-header-cell:last-child{border-right:none}.month-grid-body{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));grid-auto-rows:minmax(100px,1fr);flex:1}.month-day-cell{border-right:1px solid var(--border-light, #e2e8f0);border-bottom:1px solid var(--border-light, #e2e8f0);padding:6px;display:flex;flex-direction:column;gap:6px;cursor:pointer;position:relative;transition:background .15s}.month-day-cell:nth-child(7n){border-right:none}.month-day-cell:hover{background:var(--primary-glow, rgba(79, 70, 229, .01))}.month-day-cell.today{background:var(--primary-glow, rgba(79, 70, 229, .02))}.month-day-cell.today .month-day-number{background:var(--primary-color, #4f46e5);color:#fff;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700}.month-day-cell.other-month{opacity:.45}.month-day-number{font-size:11px;font-weight:650;color:var(--text-secondary, #475569);width:22px;height:22px;display:flex;align-items:center;justify-content:center}.month-day-events-list{display:flex;flex-direction:column;gap:4px;overflow-y:auto;max-height:90px}.month-event-item{font-size:10px;font-weight:650;padding:2px 6px;border-radius:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;transition:transform .1s}.month-event-item:hover{transform:scale(1.02)}.meeting{background-color:var(--ngx-schedule-meeting-bg, hsl(207, 95%, 97%));border-color:var(--ngx-schedule-meeting-border, hsl(207, 90%, 88%));color:var(--ngx-schedule-meeting-text, hsl(207, 90%, 30%))}.task{background-color:var(--ngx-schedule-task-bg, hsl(142, 70%, 97%));border-color:var(--ngx-schedule-task-border, hsl(142, 60%, 88%));color:var(--ngx-schedule-task-text, hsl(142, 60%, 25%))}.important{background-color:var(--ngx-schedule-important-bg, hsl(0, 90%, 97%));border-color:var(--ngx-schedule-important-border, hsl(0, 80%, 88%));color:var(--ngx-schedule-important-text, hsl(0, 80%, 35%))}.warning{background-color:var(--ngx-schedule-warning-bg, hsl(38, 90%, 97%));border-color:var(--ngx-schedule-warning-border, hsl(38, 80%, 88%));color:var(--ngx-schedule-warning-text, hsl(38, 80%, 28%))}.milestone{background-color:var(--ngx-schedule-milestone-bg, hsl(271, 80%, 97%));border-color:var(--ngx-schedule-milestone-border, hsl(271, 70%, 88%));color:var(--ngx-schedule-milestone-text, hsl(271, 70%, 35%))}.personal{background-color:var(--ngx-schedule-personal-bg, hsl(180, 70%, 96%));border-color:var(--ngx-schedule-personal-border, hsl(180, 60%, 85%));color:var(--ngx-schedule-personal-text, hsl(180, 60%, 28%))}.ngx-scheduler-wrapper.dark{border-color:#1f2937;background:#0f172a;color:#f8fafc}.ngx-scheduler-wrapper.dark .scheduler-toolbar,.ngx-scheduler-wrapper.dark .time-grid-header,.ngx-scheduler-wrapper.dark .time-axis-labels,.ngx-scheduler-wrapper.dark .month-grid-header{background:#1e293b;border-color:#1f2937}.ngx-scheduler-wrapper.dark .tool-btn,.ngx-scheduler-wrapper.dark .view-btn{background:#0f172a;border-color:#1f2937;color:#94a3b8}.ngx-scheduler-wrapper.dark .view-btn.active{background:var(--primary-color, #6366f1);color:#fff}.ngx-scheduler-wrapper.dark .grid-line,.ngx-scheduler-wrapper.dark .column-body-cell,.ngx-scheduler-wrapper.dark .month-day-cell{border-color:#1f2937}\n"] }]
1787
- }], ctorParameters: () => [], propDecorators: { finishResize: [{
2449
+ `, styles: [":host{display:block;width:100%;height:100%}.ngx-scheduler-wrapper{display:flex;flex-direction:column;height:100%;min-height:500px;border:1px solid var(--border-color, #cbd5e1);border-radius:var(--radius-md, 12px);background:var(--bg-secondary, #ffffff);color:var(--text-primary, #0f172a);box-shadow:var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, .08));font-family:var(--ngx-font-family, sans-serif);overflow:hidden;transition:all .25s}.scheduler-toolbar{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;background:var(--border-light, #f1f5f9);border-bottom:1px solid var(--border-color, #cbd5e1);gap:16px;flex-wrap:wrap}.nav-controls{display:flex;align-items:center;gap:14px}.nav-buttons-group{display:flex;align-items:center;border:1px solid var(--border-color, #cbd5e1);border-radius:8px;overflow:hidden;background:var(--bg-secondary, #ffffff);box-shadow:var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, .05))}.tool-btn{background:var(--bg-secondary, #ffffff);border:none;border-right:1px solid var(--border-color, #cbd5e1);padding:6px 12px;font-size:12px;font-weight:650;cursor:pointer;color:var(--text-primary, #0f172a);transition:all .2s;display:flex;align-items:center;justify-content:center}.tool-btn:last-child{border-right:none}.tool-btn:hover,.tool-btn:focus-visible{background:var(--border-light, #f1f5f9);color:var(--primary-color, #4f46e5);outline:none}.tool-btn.nav-arrow{padding:8px 10px}.today-btn{font-weight:750}.icon-svg,.dropdown-arrow-svg,.export-icon-svg,.recurrence-icon-svg,.month-recurrence-icon-svg,.delete-icon-svg,.plus-icon-svg{width:16px;height:16px;display:inline-block;vertical-align:middle}.current-period-label{margin:0;font-size:16px;font-weight:800;min-width:180px}.toolbar-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.search-box-container{display:flex;align-items:center;background:var(--bg-secondary, #ffffff);border:1px solid var(--border-color, #cbd5e1);border-radius:8px;padding:5px 12px;min-width:200px;gap:8px;box-shadow:var(--shadow-sm, 0 1px 2px rgba(0,0,0,.05))}.search-icon{width:15px;height:15px;color:var(--text-secondary, #64748b)}.search-input{border:none;background:transparent;font-size:12px;color:var(--text-primary, #0f172a);outline:none;width:100%;font-family:inherit}.search-input::placeholder{color:var(--text-secondary, #94a3b8)}.resource-filter-container{display:flex;align-items:center;background:var(--bg-secondary, #ffffff);border:1px solid var(--border-color, #cbd5e1);border-radius:8px;padding:5px 10px;box-shadow:var(--shadow-sm, 0 1px 2px rgba(0,0,0,.05))}.resource-select{border:none;background:transparent;font-size:12px;font-weight:650;color:var(--text-primary, #0f172a);outline:none;cursor:pointer;font-family:inherit}.export-dropdown-wrapper{position:relative}.export-toggle-btn{display:flex;align-items:center;gap:6px;font-weight:650;border:1px solid var(--border-color, #cbd5e1);border-radius:8px;box-shadow:var(--shadow-sm, 0 1px 2px rgba(0,0,0,.05))}.dropdown-arrow-svg{width:14px;height:14px;opacity:.7}.export-menu-dropdown{position:absolute;top:calc(100% + 4px);right:0;background:var(--bg-secondary, #ffffff);border:1px solid var(--border-color, #cbd5e1);border-radius:8px;box-shadow:var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1));z-index:100;min-width:170px;display:flex;flex-direction:column;padding:4px;overflow:hidden;animation:slideDown .15s ease-out}.export-item{display:flex;align-items:center;gap:10px;border:none;background:none;padding:8px 12px;font-size:12px;text-align:left;cursor:pointer;color:var(--text-primary, #334155);border-radius:6px;font-family:inherit;font-weight:600;transition:background .15s}.export-item:hover{background:var(--border-light, #f1f5f9);color:var(--primary-color, #4f46e5)}.export-icon-svg{width:14px;height:14px;color:var(--text-secondary, #64748b)}.view-switch-controls{display:flex;border:1px solid var(--border-color, #cbd5e1);border-radius:8px;overflow:hidden;box-shadow:var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, .05))}.view-btn{background:var(--bg-secondary, #ffffff);border:none;border-right:1px solid var(--border-color, #cbd5e1);padding:6px 14px;font-size:12px;font-weight:650;color:var(--text-secondary, #475569);cursor:pointer;transition:all .2s;font-family:inherit}.view-btn:last-child{border-right:none}.view-btn.active{background:var(--primary-color, #4f46e5);color:#fff}.scheduler-body{flex:1;overflow:auto;background:var(--bg-secondary, #ffffff);display:flex;flex-direction:column}.time-grid-container{display:flex;flex-direction:column;flex:1;min-width:600px}.time-grid-header{display:flex;background:var(--border-light, #f8fafc);border-bottom:1px solid var(--border-color, #cbd5e1);position:sticky;top:0;z-index:10}.time-axis-header{width:70px;flex-shrink:0;border-right:1px solid var(--border-color, #cbd5e1)}.columns-headers-wrap{flex:1;display:flex}.column-header-cell{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 0;border-right:1px solid var(--border-color, #e2e8f0);min-width:120px}.column-header-cell:last-child{border-right:none}.column-header-cell.today{background:var(--primary-glow, rgba(79, 70, 229, .03))}.column-header-cell.today .day-num{background:var(--primary-color, #4f46e5);color:#fff;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;margin-top:2px}.day-name{font-size:11px;font-weight:650;color:var(--text-secondary, #64748b);text-transform:uppercase;letter-spacing:.5px}.day-num{font-size:14px;margin-top:4px;color:var(--text-primary, #0f172a)}.resource-header-card{display:flex;align-items:center;gap:10px;padding:4px 12px;width:100%;text-align:left}.resource-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;border:2px solid var(--border-light, #e2e8f0)}.resource-initials{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:750;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.2)}.resource-info{display:flex;flex-direction:column;gap:1px;min-width:0}.resource-name{font-size:13px;font-weight:750;color:var(--text-primary, #0f172a);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resource-desc{font-size:10px;color:var(--text-secondary, #64748b);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.all-day-row-container{display:flex;background:var(--border-light, #f8fafc);border-bottom:1px solid var(--border-color, #cbd5e1);z-index:8;position:relative}.all-day-label-cell{width:70px;flex-shrink:0;border-right:1px solid var(--border-color, #cbd5e1);font-size:10px;font-weight:750;color:var(--text-secondary, #64748b);display:flex;align-items:center;justify-content:flex-end;padding-right:10px;text-transform:uppercase;letter-spacing:.5px}.all-day-columns-wrap{flex:1;display:flex;min-height:38px;padding:4px 0}.all-day-column-cell{flex:1;display:flex;flex-direction:column;gap:4px;padding:0 4px;border-right:1px solid var(--border-light, #e2e8f0);min-width:120px;box-sizing:border-box;justify-content:center}.all-day-column-cell:last-child{border-right:none}.all-day-event-block{display:flex;align-items:center;gap:6px;border-radius:6px;padding:4px 8px;font-size:11px;font-weight:700;cursor:pointer;border:1px solid transparent;box-shadow:var(--shadow-sm);position:relative;overflow:hidden;min-height:22px;transition:transform .15s}.all-day-event-block:hover{transform:translateY(-1px)}.all-day-event-block.completed .all-day-event-title{text-decoration:line-through;opacity:.65}.all-day-event-indicator{width:4px;height:12px;border-radius:2px;background:currentColor;flex-shrink:0}.all-day-event-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.event-delete-btn.all-day-del{opacity:0;position:absolute;right:4px;top:2px;width:18px;height:18px}.all-day-event-block:hover .event-delete-btn.all-day-del{opacity:1}.time-grid-body{display:flex;flex:1;position:relative}.time-axis-labels{width:70px;flex-shrink:0;border-right:1px solid var(--border-color, #cbd5e1);background:var(--border-light, #f8fafc);-webkit-user-select:none;user-select:none}.time-label{height:60px;font-size:11px;font-weight:650;color:var(--text-secondary, #64748b);text-align:right;padding-right:10px;margin-top:-6px}.columns-body-wrap{flex:1;display:flex;position:relative}.hourly-grid-lines{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1}.grid-line{height:60px;border-bottom:1px solid var(--border-light, #e2e8f0)}.column-body-cell{flex:1;border-right:1px solid var(--border-light, #e2e8f0);position:relative;z-index:2;min-width:120px}.column-body-cell:last-child{border-right:none}.interactive-slots-overlay{position:absolute;inset:0;display:flex;flex-direction:column;z-index:1}.slot-trigger{flex:0 0 auto;cursor:cell;transition:background .15s}.slot-trigger:hover{background:var(--primary-glow, rgba(79, 70, 229, .02))}.slot-trigger.non-business-slot{background:var(--border-light, #f8fafc);opacity:.85;background-image:repeating-linear-gradient(45deg,transparent,transparent 10px,rgba(148,163,184,.04) 10px,rgba(148,163,184,.04) 20px)}.task-completion-checkbox{width:14px;height:14px;margin:0;cursor:pointer;flex-shrink:0;accent-color:var(--primary-color, #4f46e5);border-radius:4px;border:1px solid var(--border-color, #cbd5e1);outline:none;align-self:center;transition:accent-color .15s;z-index:5}.all-day-task-checkbox{width:12px;height:12px}.current-time-line{position:absolute;left:0;right:0;height:2px;background:#ef4444;z-index:10;pointer-events:none}.line-dot{position:absolute;left:-4px;top:-3px;width:8px;height:8px;border-radius:50%;background:#ef4444;box-shadow:0 0 4px #ef4444cc}.drag-select-preview{position:absolute;left:4px;right:4px;border:2px dashed var(--primary-color, #4f46e5);border-radius:8px;background:#4f46e514;z-index:5;pointer-events:none;display:flex;align-items:center;justify-content:center;box-sizing:border-box}.preview-inner{display:flex;align-items:center;gap:6px;color:var(--primary-color, #4f46e5);font-size:11px;font-weight:750;background:#fff;padding:4px 10px;border-radius:20px;box-shadow:var(--shadow-sm);border:1px solid rgba(79,70,229,.2)}.plus-icon-svg{color:var(--primary-color, #4f46e5);width:14px;height:14px}.scheduler-event-card{position:absolute;right:auto;border-radius:8px;padding:8px 10px;font-size:12px;line-height:1.4;cursor:grab;display:flex;gap:8px;z-index:3;box-shadow:var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, .05));transition:transform .2s,box-shadow .2s;overflow:hidden;border:1px solid transparent;min-height:28px}.scheduler-event-card:hover{transform:translateY(-1px);box-shadow:var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, .1));z-index:4}.scheduler-event-card.completed .event-title{text-decoration:line-through;opacity:.65}.event-color-indicator{width:3px;height:100%;border-radius:2px;flex-shrink:0;background:currentColor}.event-details{display:flex;flex-direction:column;gap:2px;overflow:hidden;min-width:0;flex:1}.event-header-row{display:flex;justify-content:space-between;align-items:flex-start;gap:4px;width:100%}.event-title{font-weight:750;color:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.event-time{font-size:10px;opacity:.82;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recurrence-icon-svg{color:currentColor;opacity:.65;width:13px;height:13px;flex-shrink:0;margin-top:1px}.event-delete-btn{position:absolute;top:6px;right:6px;border:none;background:#ffffffbf;border-radius:4px;width:20px;height:20px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--ngx-schedule-important-text, #ef4444);opacity:0;transition:opacity .15s,background .15s}.event-delete-btn:hover{background:#fff;color:#dc2626;transform:scale(1.05)}.scheduler-event-card:hover .event-delete-btn{opacity:1}.delete-icon-svg{width:12px;height:12px}.resize-handle{position:absolute;left:0;right:0;height:6px;border:0;background:transparent;cursor:ns-resize}.resize-start{top:0}.resize-end{bottom:0}.month-grid-container{display:flex;flex-direction:column;flex:1;min-height:500px}.month-grid-header{display:flex;background:var(--border-light, #f8fafc);border-bottom:1px solid var(--border-color, #cbd5e1);position:sticky;top:0;z-index:10}.month-header-cell{flex:1;text-align:center;padding:10px 0;font-size:11px;font-weight:750;color:var(--text-secondary, #64748b);text-transform:uppercase;letter-spacing:.5px;border-right:1px solid var(--border-color, #cbd5e1)}.month-header-cell:last-child{border-right:none}.month-grid-body{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));grid-auto-rows:minmax(100px,1fr);flex:1}.month-day-cell{border-right:1px solid var(--border-light, #e2e8f0);border-bottom:1px solid var(--border-light, #e2e8f0);padding:6px;display:flex;flex-direction:column;gap:6px;cursor:pointer;position:relative;transition:background .15s}.month-day-cell:nth-child(7n){border-right:none}.month-day-cell:hover{background:var(--primary-glow, rgba(79, 70, 229, .01))}.month-day-cell.today{background:var(--primary-glow, rgba(79, 70, 229, .02))}.month-day-cell.today .month-day-number{background:var(--primary-color, #4f46e5);color:#fff;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700}.month-day-cell.other-month{opacity:.45}.month-day-number{font-size:11px;font-weight:650;color:var(--text-secondary, #475569);width:22px;height:22px;display:flex;align-items:center;justify-content:center}.month-day-events-list{display:flex;flex-direction:column;gap:4px;overflow-y:auto;max-height:90px}.month-event-item{font-size:10px;font-weight:650;padding:2px 6px;border-radius:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;transition:transform .1s;display:flex;align-items:center}.month-event-item:hover{transform:scale(1.02)}.month-event-item.completed{text-decoration:line-through;opacity:.65}.month-recurrence-icon-svg{color:currentColor;opacity:.8;width:11px;height:11px;margin-right:3px;display:inline-block;flex-shrink:0}.meeting{background-color:var(--ngx-schedule-meeting-bg, hsl(207, 95%, 97%));border-color:var(--ngx-schedule-meeting-border, hsl(207, 90%, 88%));color:var(--ngx-schedule-meeting-text, hsl(207, 90%, 30%))}.task{background-color:var(--ngx-schedule-task-bg, hsl(142, 70%, 97%));border-color:var(--ngx-schedule-task-border, hsl(142, 60%, 88%));color:var(--ngx-schedule-task-text, hsl(142, 60%, 25%))}.important{background-color:var(--ngx-schedule-important-bg, hsl(0, 90%, 97%));border-color:var(--ngx-schedule-important-border, hsl(0, 80%, 88%));color:var(--ngx-schedule-important-text, hsl(0, 80%, 35%))}.warning{background-color:var(--ngx-schedule-warning-bg, hsl(38, 90%, 97%));border-color:var(--ngx-schedule-warning-border, hsl(38, 80%, 88%));color:var(--ngx-schedule-warning-text, hsl(38, 80%, 28%))}.milestone{background-color:var(--ngx-schedule-milestone-bg, hsl(271, 80%, 97%));border-color:var(--ngx-schedule-milestone-border, hsl(271, 70%, 88%));color:var(--ngx-schedule-milestone-text, hsl(271, 70%, 35%))}.personal{background-color:var(--ngx-schedule-personal-bg, hsl(180, 70%, 96%));border-color:var(--ngx-schedule-personal-border, hsl(180, 60%, 85%));color:var(--ngx-schedule-personal-text, hsl(180, 60%, 28%))}.ngx-scheduler-wrapper.dark{border-color:#1f2937;background:#0f172a;color:#f8fafc}.ngx-scheduler-wrapper.dark .scheduler-toolbar,.ngx-scheduler-wrapper.dark .time-grid-header,.ngx-scheduler-wrapper.dark .time-axis-labels,.ngx-scheduler-wrapper.dark .month-grid-header{background:#1e293b;border-color:#1f2937}.ngx-scheduler-wrapper.dark .nav-buttons-group,.ngx-scheduler-wrapper.dark .search-box-container,.ngx-scheduler-wrapper.dark .resource-filter-container,.ngx-scheduler-wrapper.dark .export-menu-dropdown{background:#0f172a;border-color:#1f2937}.ngx-scheduler-wrapper.dark .tool-btn,.ngx-scheduler-wrapper.dark .view-btn{background:#0f172a;border-color:#1f2937;color:#94a3b8}.ngx-scheduler-wrapper.dark .view-btn.active{background:var(--primary-color, #6366f1);color:#fff}.ngx-scheduler-wrapper.dark .grid-line,.ngx-scheduler-wrapper.dark .column-body-cell,.ngx-scheduler-wrapper.dark .month-day-cell{border-color:#1f2937}.ngx-scheduler-wrapper.dark .search-input,.ngx-scheduler-wrapper.dark .resource-select{color:#f8fafc}.ngx-scheduler-wrapper.dark .export-item{color:#cbd5e1}.ngx-scheduler-wrapper.dark .export-item:hover{background:#1e293b;color:#6366f1}.ngx-scheduler-wrapper.dark .resource-name{color:#f8fafc}.ngx-scheduler-wrapper.dark .resource-desc{color:#94a3b8}.ngx-scheduler-wrapper.dark .all-day-row-container{background:#1e293b;border-color:#1f2937}.ngx-scheduler-wrapper.dark .all-day-column-cell{border-color:#1f2937}.ngx-scheduler-wrapper.dark .all-day-event-block{border-color:transparent}.ngx-scheduler-wrapper.dark .slot-trigger.non-business-slot{background:#0f172a;background-image:repeating-linear-gradient(45deg,transparent,transparent 10px,rgba(31,41,55,.25) 10px,rgba(31,41,55,.25) 20px)}.ngx-scheduler-wrapper.dark .preview-inner{background:#0f172a;border-color:#6366f166;color:#818cf8}.ngx-scheduler-wrapper.dark .plus-icon-svg{color:#818cf8}.ngx-scheduler-wrapper.dark .event-delete-btn{background:#0f172a99;color:#f87171}.ngx-scheduler-wrapper.dark .event-delete-btn:hover{background:#1e293b}.ngx-scheduler-wrapper.dark .task-completion-checkbox{border-color:#374151;background:#1f2937}@keyframes slideDown{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}\n"] }]
2450
+ }], ctorParameters: () => [], propDecorators: { onWindowPointerUp: [{
2451
+ type: HostListener,
2452
+ args: ['window:pointerup', ['$event']]
2453
+ }], finishResize: [{
1788
2454
  type: HostListener,
1789
2455
  args: ['window:pointerup', ['$event']]
1790
2456
  }], cancelResize: [{