@acorex/components 20.7.37 → 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 +2 -3
- 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 +6 -18
- 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 +28 -28
- 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",
|
|
@@ -72,6 +72,10 @@
|
|
|
72
72
|
"types": "./aspect-ratio/index.d.ts",
|
|
73
73
|
"default": "./fesm2022/acorex-components-aspect-ratio.mjs"
|
|
74
74
|
},
|
|
75
|
+
"./audio-wave": {
|
|
76
|
+
"types": "./audio-wave/index.d.ts",
|
|
77
|
+
"default": "./fesm2022/acorex-components-audio-wave.mjs"
|
|
78
|
+
},
|
|
75
79
|
"./autocomplete": {
|
|
76
80
|
"types": "./autocomplete/index.d.ts",
|
|
77
81
|
"default": "./fesm2022/acorex-components-autocomplete.mjs"
|
|
@@ -80,10 +84,6 @@
|
|
|
80
84
|
"types": "./avatar/index.d.ts",
|
|
81
85
|
"default": "./fesm2022/acorex-components-avatar.mjs"
|
|
82
86
|
},
|
|
83
|
-
"./audio-wave": {
|
|
84
|
-
"types": "./audio-wave/index.d.ts",
|
|
85
|
-
"default": "./fesm2022/acorex-components-audio-wave.mjs"
|
|
86
|
-
},
|
|
87
87
|
"./badge": {
|
|
88
88
|
"types": "./badge/index.d.ts",
|
|
89
89
|
"default": "./fesm2022/acorex-components-badge.mjs"
|
|
@@ -424,25 +424,25 @@
|
|
|
424
424
|
"types": "./step-wizard/index.d.ts",
|
|
425
425
|
"default": "./fesm2022/acorex-components-step-wizard.mjs"
|
|
426
426
|
},
|
|
427
|
-
"./
|
|
428
|
-
"types": "./
|
|
429
|
-
"default": "./fesm2022/acorex-components-
|
|
427
|
+
"./tabs": {
|
|
428
|
+
"types": "./tabs/index.d.ts",
|
|
429
|
+
"default": "./fesm2022/acorex-components-tabs.mjs"
|
|
430
430
|
},
|
|
431
431
|
"./tag": {
|
|
432
432
|
"types": "./tag/index.d.ts",
|
|
433
433
|
"default": "./fesm2022/acorex-components-tag.mjs"
|
|
434
434
|
},
|
|
435
|
+
"./switch": {
|
|
436
|
+
"types": "./switch/index.d.ts",
|
|
437
|
+
"default": "./fesm2022/acorex-components-switch.mjs"
|
|
438
|
+
},
|
|
435
439
|
"./tag-box": {
|
|
436
440
|
"types": "./tag-box/index.d.ts",
|
|
437
441
|
"default": "./fesm2022/acorex-components-tag-box.mjs"
|
|
438
442
|
},
|
|
439
|
-
"./
|
|
440
|
-
"types": "./
|
|
441
|
-
"default": "./fesm2022/acorex-components-
|
|
442
|
-
},
|
|
443
|
-
"./text-box": {
|
|
444
|
-
"types": "./text-box/index.d.ts",
|
|
445
|
-
"default": "./fesm2022/acorex-components-text-box.mjs"
|
|
443
|
+
"./text-area": {
|
|
444
|
+
"types": "./text-area/index.d.ts",
|
|
445
|
+
"default": "./fesm2022/acorex-components-text-area.mjs"
|
|
446
446
|
},
|
|
447
447
|
"./time-duration": {
|
|
448
448
|
"types": "./time-duration/index.d.ts",
|
|
@@ -452,6 +452,10 @@
|
|
|
452
452
|
"types": "./time-line/index.d.ts",
|
|
453
453
|
"default": "./fesm2022/acorex-components-time-line.mjs"
|
|
454
454
|
},
|
|
455
|
+
"./text-box": {
|
|
456
|
+
"types": "./text-box/index.d.ts",
|
|
457
|
+
"default": "./fesm2022/acorex-components-text-box.mjs"
|
|
458
|
+
},
|
|
455
459
|
"./toast": {
|
|
456
460
|
"types": "./toast/index.d.ts",
|
|
457
461
|
"default": "./fesm2022/acorex-components-toast.mjs"
|
|
@@ -460,21 +464,21 @@
|
|
|
460
464
|
"types": "./toolbar/index.d.ts",
|
|
461
465
|
"default": "./fesm2022/acorex-components-toolbar.mjs"
|
|
462
466
|
},
|
|
463
|
-
"./text-area": {
|
|
464
|
-
"types": "./text-area/index.d.ts",
|
|
465
|
-
"default": "./fesm2022/acorex-components-text-area.mjs"
|
|
466
|
-
},
|
|
467
467
|
"./tooltip": {
|
|
468
468
|
"types": "./tooltip/index.d.ts",
|
|
469
469
|
"default": "./fesm2022/acorex-components-tooltip.mjs"
|
|
470
470
|
},
|
|
471
|
+
"./tree-view-legacy": {
|
|
472
|
+
"types": "./tree-view-legacy/index.d.ts",
|
|
473
|
+
"default": "./fesm2022/acorex-components-tree-view-legacy.mjs"
|
|
474
|
+
},
|
|
471
475
|
"./tree-view": {
|
|
472
476
|
"types": "./tree-view/index.d.ts",
|
|
473
477
|
"default": "./fesm2022/acorex-components-tree-view.mjs"
|
|
474
478
|
},
|
|
475
|
-
"./
|
|
476
|
-
"types": "./
|
|
477
|
-
"default": "./fesm2022/acorex-components-
|
|
479
|
+
"./wysiwyg": {
|
|
480
|
+
"types": "./wysiwyg/index.d.ts",
|
|
481
|
+
"default": "./fesm2022/acorex-components-wysiwyg.mjs"
|
|
478
482
|
},
|
|
479
483
|
"./video-player": {
|
|
480
484
|
"types": "./video-player/index.d.ts",
|
|
@@ -483,10 +487,6 @@
|
|
|
483
487
|
"./uploader": {
|
|
484
488
|
"types": "./uploader/index.d.ts",
|
|
485
489
|
"default": "./fesm2022/acorex-components-uploader.mjs"
|
|
486
|
-
},
|
|
487
|
-
"./wysiwyg": {
|
|
488
|
-
"types": "./wysiwyg/index.d.ts",
|
|
489
|
-
"default": "./fesm2022/acorex-components-wysiwyg.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
|
*
|