@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.
Files changed (51) hide show
  1. package/action-sheet/index.d.ts +41 -19
  2. package/conversation2/README.md +71 -31
  3. package/conversation2/index.d.ts +36 -35
  4. package/dialog/index.d.ts +18 -14
  5. package/dropdown/index.d.ts +3 -4
  6. package/fesm2022/acorex-components-action-sheet.mjs +141 -93
  7. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  8. package/fesm2022/acorex-components-conversation2.mjs +161 -155
  9. package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
  10. package/fesm2022/acorex-components-datetime-picker.mjs +10 -8
  11. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  12. package/fesm2022/acorex-components-dialog.mjs +66 -45
  13. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  14. package/fesm2022/acorex-components-dropdown.mjs +9 -8
  15. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  16. package/fesm2022/acorex-components-grid-layout-builder.mjs +2 -2
  17. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  18. package/fesm2022/acorex-components-kanban.mjs +26 -9
  19. package/fesm2022/acorex-components-kanban.mjs.map +1 -1
  20. package/fesm2022/acorex-components-loading-dialog.mjs +73 -36
  21. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  22. package/fesm2022/acorex-components-menu.mjs +26 -5
  23. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  24. package/fesm2022/{acorex-components-modal-acorex-components-modal-CXXcFToK.mjs → acorex-components-modal-acorex-components-modal-Bmoz9DL5.mjs} +27 -3
  25. package/fesm2022/acorex-components-modal-acorex-components-modal-Bmoz9DL5.mjs.map +1 -0
  26. package/fesm2022/{acorex-components-modal-modal-content.component-B4rhHeEz.mjs → acorex-components-modal-modal-content.component-CSJU1vRi.mjs} +2 -2
  27. package/fesm2022/{acorex-components-modal-modal-content.component-B4rhHeEz.mjs.map → acorex-components-modal-modal-content.component-CSJU1vRi.mjs.map} +1 -1
  28. package/fesm2022/acorex-components-modal.mjs +1 -1
  29. package/fesm2022/acorex-components-notification.mjs +374 -257
  30. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  31. package/fesm2022/acorex-components-popover.mjs +136 -175
  32. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  33. package/fesm2022/acorex-components-popup.mjs +308 -105
  34. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  35. package/fesm2022/acorex-components-routing-progress.mjs +2 -2
  36. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  37. package/fesm2022/acorex-components-toast.mjs +231 -123
  38. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  39. package/fesm2022/acorex-components-tooltip.mjs +2 -3
  40. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  41. package/kanban/index.d.ts +1 -7
  42. package/loading-dialog/index.d.ts +31 -15
  43. package/menu/index.d.ts +4 -0
  44. package/modal/index.d.ts +7 -0
  45. package/notification/index.d.ts +47 -32
  46. package/package.json +7 -7
  47. package/popover/index.d.ts +20 -27
  48. package/popup/index.d.ts +103 -27
  49. package/toast/index.d.ts +24 -18
  50. package/tooltip/index.d.ts +1 -2
  51. 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.calendarService.convert(this.minValue, this.calendar()));
148
- this.checkSelectedMaxValue(this.calendarService.convert(this.maxValue, this.calendar()));
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((value) => {
212
- this.checkSelectedMinValue(this.calendarService.convert(value, this.calendar()));
211
+ this.minValueChange.subscribe(() => {
212
+ this.checkSelectedMinValue(this.editingDateObj());
213
213
  });
214
- this.maxValueChange.subscribe((value) => {
215
- this.checkSelectedMaxValue(this.calendarService.convert(value, this.calendar()));
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 (this.editingDateObj().hour > minv.hour) {
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 (this.editingDateObj().hour < maxv.hour) {
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 {