@acorex/components 21.0.1-next.8 → 21.0.1-next.9
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/action-sheet/index.d.ts +41 -19
- package/conversation2/README.md +71 -31
- package/conversation2/index.d.ts +36 -35
- package/dialog/index.d.ts +18 -14
- package/dropdown/index.d.ts +3 -4
- package/fesm2022/acorex-components-action-sheet.mjs +141 -93
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation2.mjs +161 -155
- package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +10 -8
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +66 -45
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +9 -8
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +2 -2
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-kanban.mjs +26 -9
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +73 -36
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +26 -5
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/{acorex-components-modal-acorex-components-modal-CXXcFToK.mjs → acorex-components-modal-acorex-components-modal-Bmoz9DL5.mjs} +27 -3
- package/fesm2022/acorex-components-modal-acorex-components-modal-Bmoz9DL5.mjs.map +1 -0
- package/fesm2022/{acorex-components-modal-modal-content.component-B4rhHeEz.mjs → acorex-components-modal-modal-content.component-CSJU1vRi.mjs} +2 -2
- package/fesm2022/{acorex-components-modal-modal-content.component-B4rhHeEz.mjs.map → acorex-components-modal-modal-content.component-CSJU1vRi.mjs.map} +1 -1
- package/fesm2022/acorex-components-modal.mjs +1 -1
- package/fesm2022/acorex-components-notification.mjs +374 -257
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +136 -175
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +308 -105
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs +2 -2
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +231 -123
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +2 -3
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/kanban/index.d.ts +1 -7
- package/loading-dialog/index.d.ts +31 -15
- package/menu/index.d.ts +4 -0
- package/modal/index.d.ts +7 -0
- package/notification/index.d.ts +47 -32
- package/package.json +7 -7
- package/popover/index.d.ts +20 -27
- package/popup/index.d.ts +103 -27
- package/toast/index.d.ts +24 -18
- package/tooltip/index.d.ts +1 -2
- package/fesm2022/acorex-components-modal-acorex-components-modal-CXXcFToK.mjs.map +0 -1
|
@@ -144,8 +144,8 @@ class AXDateTimePickerComponent extends classes(MXCalendarBaseComponent, (MXValu
|
|
|
144
144
|
this.picker = input('datetime', ...(ngDevMode ? [{ debugName: "picker" }] : []));
|
|
145
145
|
this.#effectPicker = effect(() => {
|
|
146
146
|
if (this.picker() === 'time') {
|
|
147
|
-
this.checkSelectedMinValue(this.
|
|
148
|
-
this.checkSelectedMaxValue(this.
|
|
147
|
+
this.checkSelectedMinValue(this.editingDateObj());
|
|
148
|
+
this.checkSelectedMaxValue(this.editingDateObj());
|
|
149
149
|
this._activePart.set('time');
|
|
150
150
|
}
|
|
151
151
|
else if (this.picker() === 'date') {
|
|
@@ -208,11 +208,11 @@ class AXDateTimePickerComponent extends classes(MXCalendarBaseComponent, (MXValu
|
|
|
208
208
|
async ngOnInit() {
|
|
209
209
|
super.ngOnInit();
|
|
210
210
|
this._detectParts();
|
|
211
|
-
this.minValueChange.subscribe((
|
|
212
|
-
this.checkSelectedMinValue(this.
|
|
211
|
+
this.minValueChange.subscribe(() => {
|
|
212
|
+
this.checkSelectedMinValue(this.editingDateObj());
|
|
213
213
|
});
|
|
214
|
-
this.maxValueChange.subscribe((
|
|
215
|
-
this.checkSelectedMaxValue(this.
|
|
214
|
+
this.maxValueChange.subscribe(() => {
|
|
215
|
+
this.checkSelectedMaxValue(this.editingDateObj());
|
|
216
216
|
});
|
|
217
217
|
}
|
|
218
218
|
/**
|
|
@@ -246,7 +246,8 @@ class AXDateTimePickerComponent extends classes(MXCalendarBaseComponent, (MXValu
|
|
|
246
246
|
this.editingDateObj.set(this.editingDateObj().set(part, Number(e.value['id'])));
|
|
247
247
|
if (this.minValue) {
|
|
248
248
|
const minv = this.calendarService.convert(this.minValue, this.calendar());
|
|
249
|
-
if
|
|
249
|
+
// Only apply minute restrictions if we're on the same day and same hour
|
|
250
|
+
if (this.editingDateObj().isAfter(this.minValue, 'day') || this.editingDateObj().hour > minv.hour) {
|
|
250
251
|
this.pickerMinuteMinValue.set(null);
|
|
251
252
|
}
|
|
252
253
|
else {
|
|
@@ -255,7 +256,8 @@ class AXDateTimePickerComponent extends classes(MXCalendarBaseComponent, (MXValu
|
|
|
255
256
|
}
|
|
256
257
|
if (this.maxValue) {
|
|
257
258
|
const maxv = this.calendarService.convert(this.maxValue, this.calendar());
|
|
258
|
-
if
|
|
259
|
+
// Only apply minute restrictions if we're on the same day and same hour
|
|
260
|
+
if (this.editingDateObj().isBefore(this.maxValue, 'day') || this.editingDateObj().hour < maxv.hour) {
|
|
259
261
|
this.pickerMinuteMaxValue.set(null);
|
|
260
262
|
}
|
|
261
263
|
else {
|