@acorex/components 20.7.36 → 20.7.38
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/calendar/index.d.ts +11 -4
- package/data-pager/index.d.ts +6 -25
- package/datetime-box/index.d.ts +6 -4
- package/datetime-input/index.d.ts +2 -2
- package/datetime-picker/index.d.ts +3 -3
- package/fesm2022/acorex-components-calendar.mjs +34 -17
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +44 -53
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +14 -19
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +9 -17
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +27 -30
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +130 -57
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/package.json +21 -21
- package/scheduler/index.d.ts +20 -2
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/components",
|
|
3
|
-
"version": "20.7.
|
|
3
|
+
"version": "20.7.38",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@acorex/core": "20.7.
|
|
6
|
-
"@acorex/cdk": "20.7.
|
|
5
|
+
"@acorex/core": "20.7.38",
|
|
6
|
+
"@acorex/cdk": "20.7.38",
|
|
7
7
|
"polytype": ">=0.17.0",
|
|
8
8
|
"angular-imask": ">=7.6.1",
|
|
9
9
|
"gridstack": ">=12.0.0",
|
|
@@ -424,10 +424,6 @@
|
|
|
424
424
|
"types": "./step-wizard/index.d.ts",
|
|
425
425
|
"default": "./fesm2022/acorex-components-step-wizard.mjs"
|
|
426
426
|
},
|
|
427
|
-
"./switch": {
|
|
428
|
-
"types": "./switch/index.d.ts",
|
|
429
|
-
"default": "./fesm2022/acorex-components-switch.mjs"
|
|
430
|
-
},
|
|
431
427
|
"./tabs": {
|
|
432
428
|
"types": "./tabs/index.d.ts",
|
|
433
429
|
"default": "./fesm2022/acorex-components-tabs.mjs"
|
|
@@ -436,6 +432,10 @@
|
|
|
436
432
|
"types": "./tag/index.d.ts",
|
|
437
433
|
"default": "./fesm2022/acorex-components-tag.mjs"
|
|
438
434
|
},
|
|
435
|
+
"./switch": {
|
|
436
|
+
"types": "./switch/index.d.ts",
|
|
437
|
+
"default": "./fesm2022/acorex-components-switch.mjs"
|
|
438
|
+
},
|
|
439
439
|
"./tag-box": {
|
|
440
440
|
"types": "./tag-box/index.d.ts",
|
|
441
441
|
"default": "./fesm2022/acorex-components-tag-box.mjs"
|
|
@@ -444,10 +444,6 @@
|
|
|
444
444
|
"types": "./text-area/index.d.ts",
|
|
445
445
|
"default": "./fesm2022/acorex-components-text-area.mjs"
|
|
446
446
|
},
|
|
447
|
-
"./text-box": {
|
|
448
|
-
"types": "./text-box/index.d.ts",
|
|
449
|
-
"default": "./fesm2022/acorex-components-text-box.mjs"
|
|
450
|
-
},
|
|
451
447
|
"./time-duration": {
|
|
452
448
|
"types": "./time-duration/index.d.ts",
|
|
453
449
|
"default": "./fesm2022/acorex-components-time-duration.mjs"
|
|
@@ -456,6 +452,10 @@
|
|
|
456
452
|
"types": "./time-line/index.d.ts",
|
|
457
453
|
"default": "./fesm2022/acorex-components-time-line.mjs"
|
|
458
454
|
},
|
|
455
|
+
"./text-box": {
|
|
456
|
+
"types": "./text-box/index.d.ts",
|
|
457
|
+
"default": "./fesm2022/acorex-components-text-box.mjs"
|
|
458
|
+
},
|
|
459
459
|
"./toast": {
|
|
460
460
|
"types": "./toast/index.d.ts",
|
|
461
461
|
"default": "./fesm2022/acorex-components-toast.mjs"
|
|
@@ -468,25 +468,25 @@
|
|
|
468
468
|
"types": "./tooltip/index.d.ts",
|
|
469
469
|
"default": "./fesm2022/acorex-components-tooltip.mjs"
|
|
470
470
|
},
|
|
471
|
-
"./tree-view": {
|
|
472
|
-
"types": "./tree-view/index.d.ts",
|
|
473
|
-
"default": "./fesm2022/acorex-components-tree-view.mjs"
|
|
474
|
-
},
|
|
475
471
|
"./tree-view-legacy": {
|
|
476
472
|
"types": "./tree-view-legacy/index.d.ts",
|
|
477
473
|
"default": "./fesm2022/acorex-components-tree-view-legacy.mjs"
|
|
478
474
|
},
|
|
479
|
-
"./
|
|
480
|
-
"types": "./
|
|
481
|
-
"default": "./fesm2022/acorex-components-
|
|
475
|
+
"./tree-view": {
|
|
476
|
+
"types": "./tree-view/index.d.ts",
|
|
477
|
+
"default": "./fesm2022/acorex-components-tree-view.mjs"
|
|
478
|
+
},
|
|
479
|
+
"./wysiwyg": {
|
|
480
|
+
"types": "./wysiwyg/index.d.ts",
|
|
481
|
+
"default": "./fesm2022/acorex-components-wysiwyg.mjs"
|
|
482
482
|
},
|
|
483
483
|
"./video-player": {
|
|
484
484
|
"types": "./video-player/index.d.ts",
|
|
485
485
|
"default": "./fesm2022/acorex-components-video-player.mjs"
|
|
486
486
|
},
|
|
487
|
-
"./
|
|
488
|
-
"types": "./
|
|
489
|
-
"default": "./fesm2022/acorex-components-
|
|
487
|
+
"./uploader": {
|
|
488
|
+
"types": "./uploader/index.d.ts",
|
|
489
|
+
"default": "./fesm2022/acorex-components-uploader.mjs"
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
492
|
}
|
package/scheduler/index.d.ts
CHANGED
|
@@ -107,13 +107,14 @@ interface AXSchedulerSlotDropEvent extends NXEvent<AXSchedulerComponent> {
|
|
|
107
107
|
}
|
|
108
108
|
declare class AXSchedulerComponent extends NXComponent implements OnInit {
|
|
109
109
|
#private;
|
|
110
|
-
private platformService;
|
|
111
110
|
private unsubscriber;
|
|
112
111
|
private formatService;
|
|
113
112
|
private localeService;
|
|
114
113
|
private calendarService;
|
|
115
114
|
private schedulerService;
|
|
116
115
|
private translationService;
|
|
116
|
+
private eventService;
|
|
117
|
+
private translationRevision;
|
|
117
118
|
private viewModeSelectbox;
|
|
118
119
|
private calendarPopover;
|
|
119
120
|
private _calendarDayCellTemplate;
|
|
@@ -130,7 +131,7 @@ declare class AXSchedulerComponent extends NXComponent implements OnInit {
|
|
|
130
131
|
currentDate: _angular_core.WritableSignal<AXDateTime>;
|
|
131
132
|
private _appointments;
|
|
132
133
|
appointments: _angular_core.Signal<AXSchedulerAppointment[]>;
|
|
133
|
-
protected rtl: _angular_core.
|
|
134
|
+
protected readonly rtl: _angular_core.Signal<boolean>;
|
|
134
135
|
protected isFullScreen: _angular_core.WritableSignal<boolean>;
|
|
135
136
|
protected viewsDataSource: _angular_core.WritableSignal<{
|
|
136
137
|
id: string;
|
|
@@ -179,6 +180,12 @@ declare class AXSchedulerComponent extends NXComponent implements OnInit {
|
|
|
179
180
|
protected handleAppointmentRightClickInternal(eventData: AXSchedulerAppointmentMouseEvent): void;
|
|
180
181
|
protected handleAppointmentDropInternal(eventData: AXSchedulerSlotDropEvent): void;
|
|
181
182
|
ngOnInit(): void;
|
|
183
|
+
/**
|
|
184
|
+
* Picks a stable anchor inside the visible week so re-aligning after a locale
|
|
185
|
+
* change does not drift when the previous week start was a Sunday/Monday edge.
|
|
186
|
+
*/
|
|
187
|
+
private getWeekReanchorDate;
|
|
188
|
+
private syncCurrentDateAfterLocaleChange;
|
|
182
189
|
private fillDataSource;
|
|
183
190
|
private getGridDateRange;
|
|
184
191
|
currentDateText: _angular_core.Signal<string>;
|
|
@@ -1054,6 +1061,7 @@ declare class AXSchedulerModule {
|
|
|
1054
1061
|
declare class AXSchedulerService {
|
|
1055
1062
|
private formatService;
|
|
1056
1063
|
private calendarService;
|
|
1064
|
+
private localeService;
|
|
1057
1065
|
readonly HOURS_PER_DAY = 24;
|
|
1058
1066
|
readonly MINUTES_PER_HOUR = 60;
|
|
1059
1067
|
readonly BLOCK_DURATION_MINUTES = 30;
|
|
@@ -1130,6 +1138,16 @@ declare class AXSchedulerService {
|
|
|
1130
1138
|
* @returns number - Day number (1-7, where 1 is Sunday).
|
|
1131
1139
|
*/
|
|
1132
1140
|
getDayOfWeekNumber(dayName: AXDayOfWeekName): number;
|
|
1141
|
+
/**
|
|
1142
|
+
* Resolves the 0-based week-start index (0 = Sunday … 6 = Saturday) from locale or an override.
|
|
1143
|
+
*/
|
|
1144
|
+
resolveWeekStartsOn(firstDayOfWeek?: AXDayOfWeekName): number;
|
|
1145
|
+
/**
|
|
1146
|
+
* Aligns a date to the start of its week using locale week layout and calendar weekday indexing.
|
|
1147
|
+
*/
|
|
1148
|
+
alignToWeekStart(date: AXDateTime, options?: {
|
|
1149
|
+
firstDayOfWeek?: AXDayOfWeekName;
|
|
1150
|
+
}): AXDateTime;
|
|
1133
1151
|
/**
|
|
1134
1152
|
* Gets slot data for a given start date and view.
|
|
1135
1153
|
*
|