@acorex/modules 20.3.0-next.5 → 20.3.0-next.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/acorex-modules-conversation.mjs +6 -2
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/{acorex-modules-locale-management-settings.provider-DKOT3qQ0.mjs → acorex-modules-locale-management-settings.provider-DsVC7IWy.mjs} +2 -1
- package/fesm2022/acorex-modules-locale-management-settings.provider-DsVC7IWy.mjs.map +1 -0
- package/fesm2022/acorex-modules-locale-management.mjs +2 -2
- package/fesm2022/{acorex-modules-organization-management-company.entity-BBNM-Ihr.mjs → acorex-modules-organization-management-company.entity-BZDiv8ON.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-company.entity-BZDiv8ON.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-position.entity-CzBbuApR.mjs → acorex-modules-organization-management-position.entity-C26xHNVh.mjs} +4 -4
- package/fesm2022/acorex-modules-organization-management-position.entity-C26xHNVh.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-responsibility.entity-DpUTLjdp.mjs → acorex-modules-organization-management-responsibility.entity-Bdi5EEou.mjs} +4 -4
- package/fesm2022/acorex-modules-organization-management-responsibility.entity-Bdi5EEou.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-role.entity-Cz8VrdMl.mjs → acorex-modules-organization-management-role.entity-Clvyelrm.mjs} +4 -4
- package/fesm2022/acorex-modules-organization-management-role.entity-Clvyelrm.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-team.entity-7eVokp-J.mjs → acorex-modules-organization-management-team.entity-BKkmASox.mjs} +5 -5
- package/fesm2022/acorex-modules-organization-management-team.entity-BKkmASox.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management.mjs +15 -16
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-task-management-task-board.page-DThbrMLC.mjs → acorex-modules-task-management-task-board.page-D9zaNk6g.mjs} +13 -4
- package/fesm2022/acorex-modules-task-management-task-board.page-D9zaNk6g.mjs.map +1 -0
- package/fesm2022/acorex-modules-task-management.mjs +1 -1
- package/package.json +1 -1
- package/fesm2022/acorex-modules-locale-management-settings.provider-DKOT3qQ0.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-company.entity-BBNM-Ihr.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-position.entity-CzBbuApR.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-responsibility.entity-DpUTLjdp.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-role.entity-Cz8VrdMl.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-team.entity-7eVokp-J.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-task-board.page-DThbrMLC.mjs.map +0 -1
|
@@ -463,10 +463,13 @@ class AXMTaskBoardCalendarViewComponent {
|
|
|
463
463
|
this.vm = inject(AXMTaskBoardViewModel);
|
|
464
464
|
this.calendarService = inject(AXCalendarService);
|
|
465
465
|
this.taskBoardService = inject(AXPTaskBoardService);
|
|
466
|
+
this.settingService = inject(AXPSettingService);
|
|
466
467
|
this.schedulerComponent = viewChild(AXSchedulerComponent, ...(ngDevMode ? [{ debugName: "schedulerComponent" }] : []));
|
|
467
468
|
this.startingDate = input(new Date(), ...(ngDevMode ? [{ debugName: "startingDate" }] : []));
|
|
468
469
|
this.selectedView = input('month', ...(ngDevMode ? [{ debugName: "selectedView" }] : []));
|
|
469
470
|
this.dataSource = input.required(...(ngDevMode ? [{ debugName: "dataSource" }] : []));
|
|
471
|
+
this.firstDayOfWeek = signal('monday', ...(ngDevMode ? [{ debugName: "firstDayOfWeek" }] : []));
|
|
472
|
+
this.weekendDays = signal([0, 6], ...(ngDevMode ? [{ debugName: "weekendDays" }] : []));
|
|
470
473
|
this.holidays = (range) => {
|
|
471
474
|
return this.taskBoardService.getEvents(range);
|
|
472
475
|
};
|
|
@@ -481,7 +484,13 @@ class AXMTaskBoardCalendarViewComponent {
|
|
|
481
484
|
this.onTaskRightClick = output();
|
|
482
485
|
this.onRangeChanged = output();
|
|
483
486
|
}
|
|
484
|
-
|
|
487
|
+
// async ngOnInit(): Promise<void> {
|
|
488
|
+
// const firstDayOfWeek = await this.settingService.get(AXPRegionalSetting.FirstDayOfWeek) as unknown as number;
|
|
489
|
+
// const weekDays = ['sunday', 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday'];
|
|
490
|
+
// this.firstDayOfWeek.set(weekDays[firstDayOfWeek] as unknown as AXDayOfWeekName);
|
|
491
|
+
// this.weekendDays.set((await this.settingService.get(AXPRegionalSetting.WeekendDays)) as unknown as number[]);
|
|
492
|
+
// }
|
|
493
|
+
async ngAfterViewInit() {
|
|
485
494
|
if (this.schedulerComponent()) {
|
|
486
495
|
this.component.emit(this.schedulerComponent());
|
|
487
496
|
}
|
|
@@ -537,11 +546,11 @@ class AXMTaskBoardCalendarViewComponent {
|
|
|
537
546
|
this.onTaskClick.emit(event.appointment);
|
|
538
547
|
}
|
|
539
548
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXMTaskBoardCalendarViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
540
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.8", type: AXMTaskBoardCalendarViewComponent, isStandalone: true, selector: "axm-task-board-calendar-view", inputs: { startingDate: { classPropertyName: "startingDate", publicName: "startingDate", isSignal: true, isRequired: false, transformFunction: null }, selectedView: { classPropertyName: "selectedView", publicName: "selectedView", isSignal: true, isRequired: false, transformFunction: null }, dataSource: { classPropertyName: "dataSource", publicName: "dataSource", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { onTaskClick: "onTaskClick", onTaskChanged: "onTaskChanged", onMonthSlotDblClicked: "onMonthSlotDblClicked", onActionClick: "onActionClick", component: "component", onTaskRightClick: "onTaskRightClick", onRangeChanged: "onRangeChanged" }, viewQueries: [{ propertyName: "schedulerComponent", first: true, predicate: AXSchedulerComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<ax-scheduler\n [hasHeader]=\"false\"\n [hasActions]=\"true\"\n [holidays]=\"holidays\"\n [dataSource]=\"dataSource()\"\n [startingDate]=\"startingDate()\"\n [selectedView]=\"currentSchedulerView()\"\n [multiDayViewDaysCount]=\"vm.daysCount()\"\n (onAppointmentDrop)=\"onTaskDrop($event)\"\n (onActionClick)=\"handleActionClick($event)\"\n (onRangeChanged)=\"handleRangeChanged($event)\"\n (onSlotDblClicked)=\"onSlotDblClicked($event)\"\n (onAppointmentClicked)=\"onTaskClickHandler($event)\"\n (onAppointmentRightClick)=\"onTaskRightClickHandler($event)\"\n></ax-scheduler>\n", styles: ["ax-scheduler{line-height:1.5;background-color:rgba(var(--ax-sys-color-lightest-surface))!important}\n"], dependencies: [{ kind: "component", type: AXSchedulerComponent, selector: "ax-scheduler", inputs: ["calendar", "startingDate", "endDayHour", "startDayHour", "hasHeader", "readonly", "draggable", "hasActions", "dragStartDelay", "allowFullScreen", "multiDayViewDaysCount", "tooltipTemplate", "dataSource", "holidays", "firstDayOfWeek", "views", "selectedView"], outputs: ["selectedViewChange", "onDataLoaded", "onRangeChanged", "onSlotClicked", "onSlotDblClicked", "onSlotRightClick", "onAppointmentDrop", "onActionClick", "onAppointmentClicked", "onAppointmentDblClicked", "onAppointmentRightClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
549
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.8", type: AXMTaskBoardCalendarViewComponent, isStandalone: true, selector: "axm-task-board-calendar-view", inputs: { startingDate: { classPropertyName: "startingDate", publicName: "startingDate", isSignal: true, isRequired: false, transformFunction: null }, selectedView: { classPropertyName: "selectedView", publicName: "selectedView", isSignal: true, isRequired: false, transformFunction: null }, dataSource: { classPropertyName: "dataSource", publicName: "dataSource", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { onTaskClick: "onTaskClick", onTaskChanged: "onTaskChanged", onMonthSlotDblClicked: "onMonthSlotDblClicked", onActionClick: "onActionClick", component: "component", onTaskRightClick: "onTaskRightClick", onRangeChanged: "onRangeChanged" }, viewQueries: [{ propertyName: "schedulerComponent", first: true, predicate: AXSchedulerComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<ax-scheduler\n [hasHeader]=\"false\"\n [hasActions]=\"true\"\n [holidays]=\"holidays\"\n [dataSource]=\"dataSource()\"\n [startingDate]=\"startingDate()\"\n [selectedView]=\"currentSchedulerView()\"\n [multiDayViewDaysCount]=\"vm.daysCount()\"\n (onAppointmentDrop)=\"onTaskDrop($event)\"\n (onActionClick)=\"handleActionClick($event)\"\n (onRangeChanged)=\"handleRangeChanged($event)\"\n (onSlotDblClicked)=\"onSlotDblClicked($event)\"\n (onAppointmentClicked)=\"onTaskClickHandler($event)\"\n (onAppointmentRightClick)=\"onTaskRightClickHandler($event)\"\n [weekend]=\"weekendDays()\"\n [firstDayOfWeek]=\"firstDayOfWeek()\"\n></ax-scheduler>\n", styles: ["ax-scheduler{line-height:1.5;background-color:rgba(var(--ax-sys-color-lightest-surface))!important}\n"], dependencies: [{ kind: "component", type: AXSchedulerComponent, selector: "ax-scheduler", inputs: ["calendar", "startingDate", "endDayHour", "startDayHour", "hasHeader", "readonly", "draggable", "hasActions", "dragStartDelay", "weekend", "allowFullScreen", "multiDayViewDaysCount", "tooltipTemplate", "dataSource", "holidays", "firstDayOfWeek", "views", "selectedView"], outputs: ["selectedViewChange", "onDataLoaded", "onRangeChanged", "onSlotClicked", "onSlotDblClicked", "onSlotRightClick", "onAppointmentDrop", "onActionClick", "onAppointmentClicked", "onAppointmentDblClicked", "onAppointmentRightClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
541
550
|
}
|
|
542
551
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXMTaskBoardCalendarViewComponent, decorators: [{
|
|
543
552
|
type: Component,
|
|
544
|
-
args: [{ selector: 'axm-task-board-calendar-view', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [AXSchedulerComponent], template: "<ax-scheduler\n [hasHeader]=\"false\"\n [hasActions]=\"true\"\n [holidays]=\"holidays\"\n [dataSource]=\"dataSource()\"\n [startingDate]=\"startingDate()\"\n [selectedView]=\"currentSchedulerView()\"\n [multiDayViewDaysCount]=\"vm.daysCount()\"\n (onAppointmentDrop)=\"onTaskDrop($event)\"\n (onActionClick)=\"handleActionClick($event)\"\n (onRangeChanged)=\"handleRangeChanged($event)\"\n (onSlotDblClicked)=\"onSlotDblClicked($event)\"\n (onAppointmentClicked)=\"onTaskClickHandler($event)\"\n (onAppointmentRightClick)=\"onTaskRightClickHandler($event)\"\n></ax-scheduler>\n", styles: ["ax-scheduler{line-height:1.5;background-color:rgba(var(--ax-sys-color-lightest-surface))!important}\n"] }]
|
|
553
|
+
args: [{ selector: 'axm-task-board-calendar-view', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [AXSchedulerComponent], template: "<ax-scheduler\n [hasHeader]=\"false\"\n [hasActions]=\"true\"\n [holidays]=\"holidays\"\n [dataSource]=\"dataSource()\"\n [startingDate]=\"startingDate()\"\n [selectedView]=\"currentSchedulerView()\"\n [multiDayViewDaysCount]=\"vm.daysCount()\"\n (onAppointmentDrop)=\"onTaskDrop($event)\"\n (onActionClick)=\"handleActionClick($event)\"\n (onRangeChanged)=\"handleRangeChanged($event)\"\n (onSlotDblClicked)=\"onSlotDblClicked($event)\"\n (onAppointmentClicked)=\"onTaskClickHandler($event)\"\n (onAppointmentRightClick)=\"onTaskRightClickHandler($event)\"\n [weekend]=\"weekendDays()\"\n [firstDayOfWeek]=\"firstDayOfWeek()\"\n></ax-scheduler>\n", styles: ["ax-scheduler{line-height:1.5;background-color:rgba(var(--ax-sys-color-lightest-surface))!important}\n"] }]
|
|
545
554
|
}] });
|
|
546
555
|
|
|
547
556
|
class AXMTaskBoardGridViewComponent {
|
|
@@ -1273,4 +1282,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
|
|
|
1273
1282
|
}] });
|
|
1274
1283
|
|
|
1275
1284
|
export { AXMTaskBoardPage };
|
|
1276
|
-
//# sourceMappingURL=acorex-modules-task-management-task-board.page-
|
|
1285
|
+
//# sourceMappingURL=acorex-modules-task-management-task-board.page-D9zaNk6g.mjs.map
|