@acorex/components 17.0.24 → 17.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. package/color-box/lib/color-box.component.d.ts +3 -3
  2. package/data-pager/lib/data-pager-base.component.d.ts +1 -0
  3. package/data-pager/lib/data-pager-numeric-selector.component.d.ts +1 -0
  4. package/data-pager/lib/data-pager.component.d.ts +4 -1
  5. package/datetime-box/lib/datetime-box.component.d.ts +7 -4
  6. package/datetime-input/lib/datetime-input.component.d.ts +2 -2
  7. package/decorators/lib/components/generic-content.component.d.ts +1 -1
  8. package/dropdown/lib/dropdown-box.class.d.ts +2 -0
  9. package/esm2022/action-sheet/lib/action-sheet.component.mjs +1 -1
  10. package/esm2022/button/lib/button-item-list.component.mjs +1 -1
  11. package/esm2022/color-box/lib/color-box.component.mjs +7 -7
  12. package/esm2022/common/lib/components/interactive-component.class.mjs +9 -2
  13. package/esm2022/common/lib/directives/inverted-color.directive.mjs +3 -5
  14. package/esm2022/conversation/lib/conversation-message/conversation-message.component.mjs +1 -1
  15. package/esm2022/conversation/lib/conversation-messages/conversation-message-file/conversation-message-file.component.mjs +1 -1
  16. package/esm2022/conversation/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.mjs +1 -1
  17. package/esm2022/data-pager/lib/data-pager-base.component.mjs +4 -8
  18. package/esm2022/data-pager/lib/data-pager-numeric-selector.component.mjs +5 -3
  19. package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +1 -1
  20. package/esm2022/data-pager/lib/data-pager.component.mjs +14 -5
  21. package/esm2022/data-table/lib/data-table/data-table.component.mjs +4 -4
  22. package/esm2022/datetime-box/lib/datetime-box.component.mjs +35 -9
  23. package/esm2022/datetime-input/lib/datetime-input.component.mjs +26 -57
  24. package/esm2022/decorators/lib/components/generic-content.component.mjs +4 -4
  25. package/esm2022/dialog/lib/dialog.component.mjs +1 -1
  26. package/esm2022/dropdown/lib/dropdown-box.class.mjs +13 -1
  27. package/esm2022/form/lib/form-field.component.mjs +64 -12
  28. package/esm2022/form/lib/form.component.mjs +18 -18
  29. package/esm2022/form/lib/validation-summary.component.mjs +1 -1
  30. package/esm2022/label/lib/label.component.mjs +2 -2
  31. package/esm2022/loading-dialog/lib/loading-dialog.component.mjs +1 -1
  32. package/esm2022/number-box/lib/number-box.component.mjs +3 -3
  33. package/esm2022/phone-box/lib/phone-box.component.mjs +1 -1
  34. package/esm2022/scheduler/lib/scheduler.component.mjs +1 -1
  35. package/esm2022/select-box/lib/select-box.component.mjs +3 -3
  36. package/esm2022/text-area/lib/text-area.component.mjs +3 -3
  37. package/fesm2022/acorex-components-action-sheet.mjs +1 -1
  38. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  39. package/fesm2022/acorex-components-button.mjs +1 -1
  40. package/fesm2022/acorex-components-button.mjs.map +1 -1
  41. package/fesm2022/acorex-components-color-box.mjs +6 -6
  42. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  43. package/fesm2022/acorex-components-common.mjs +9 -4
  44. package/fesm2022/acorex-components-common.mjs.map +1 -1
  45. package/fesm2022/acorex-components-conversation.mjs +3 -3
  46. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  47. package/fesm2022/acorex-components-data-pager.mjs +20 -13
  48. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  49. package/fesm2022/acorex-components-data-table.mjs +3 -3
  50. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  51. package/fesm2022/acorex-components-datetime-box.mjs +34 -8
  52. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  53. package/fesm2022/acorex-components-datetime-input.mjs +24 -55
  54. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  55. package/fesm2022/acorex-components-decorators.mjs +2 -2
  56. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  57. package/fesm2022/acorex-components-dialog.mjs +1 -1
  58. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  59. package/fesm2022/acorex-components-dropdown.mjs +12 -0
  60. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  61. package/fesm2022/acorex-components-form.mjs +105 -54
  62. package/fesm2022/acorex-components-form.mjs.map +1 -1
  63. package/fesm2022/acorex-components-label.mjs +2 -2
  64. package/fesm2022/acorex-components-label.mjs.map +1 -1
  65. package/fesm2022/acorex-components-loading-dialog.mjs +1 -1
  66. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  67. package/fesm2022/acorex-components-number-box.mjs +2 -2
  68. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  69. package/fesm2022/acorex-components-phone-box.mjs +1 -1
  70. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  71. package/fesm2022/acorex-components-scheduler.mjs +1 -1
  72. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  73. package/fesm2022/acorex-components-select-box.mjs +2 -2
  74. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  75. package/fesm2022/acorex-components-text-area.mjs +2 -2
  76. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  77. package/form/lib/form-field.component.d.ts +15 -4
  78. package/form/lib/form.component.d.ts +7 -5
  79. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { AXEvent, MXInteractiveComponent, } from '@acorex/components/common';
1
+ import { AXEvent, MXInteractiveComponent } from '@acorex/components/common';
2
2
  import { AXUnsubscriber } from '@acorex/core/utils';
3
3
  import { Injectable, inject } from '@angular/core';
4
4
  import * as i0 from "@angular/core";
@@ -26,15 +26,11 @@ export class AXDataPagerChild extends MXInteractiveComponent {
26
26
  this._parent = inject(AXDataPagerParentComponent);
27
27
  this._unsubscriber = inject(AXUnsubscriber);
28
28
  //
29
- this._parent.onChanged
30
- .pipe(this._unsubscriber.takeUntilDestroy)
31
- .subscribe((c) => {
29
+ this._parent.onChanged.pipe(this._unsubscriber.takeUntilDestroy).subscribe((c) => {
32
30
  this.applyParent();
33
31
  });
34
32
  //
35
- this._parent.onOptionChanged
36
- .pipe(this._unsubscriber.takeUntilDestroy)
37
- .subscribe((c) => {
33
+ this._parent.onOptionChanged.pipe(this._unsubscriber.takeUntilDestroy).subscribe((c) => {
38
34
  this.applyParent();
39
35
  });
40
36
  }
@@ -47,4 +43,4 @@ export class AXDataPagerChild extends MXInteractiveComponent {
47
43
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXDataPagerChild, decorators: [{
48
44
  type: Injectable
49
45
  }], ctorParameters: () => [] });
50
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1wYWdlci1iYXNlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9kYXRhLXBhZ2VyL3NyYy9saWIvZGF0YS1wYWdlci1iYXNlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsT0FBTyxFQUVQLHNCQUFzQixHQUN2QixNQUFNLDJCQUEyQixDQUFDO0FBQ25DLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNwRCxPQUFPLEVBQWdCLFVBQVUsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBZ0JqRSxNQUFNLE9BQU8sdUJBQ1gsU0FBUSxPQUFPO0lBRGpCOztRQUlFLFVBQUssR0FBaUMsRUFBRSxJQUFJLEVBQUUsQ0FBQyxFQUFFLEVBQUUsRUFBRSxDQUFDLEVBQUUsQ0FBQztRQUN6RCxTQUFJLEdBQUcsQ0FBQyxDQUFDO1FBQ1QsU0FBSSxHQUFHLENBQUMsQ0FBQztRQUNULFNBQUksR0FBRyxDQUFDLENBQUM7UUFDVCxlQUFVLEdBQUcsQ0FBQyxDQUFDO1FBQ2YsZUFBVSxHQUFHLENBQUMsQ0FBQztJQUNqQixDQUFDO0NBQUE7QUFHRCxN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1YnNjcmliZXIpO1xuXG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKCk7XG4gICAgLy9cbiAgICB0aGlzLl9wYXJlbnQub25DaGFuZ2VkLnBpcGUodGhpcy5fdW5zdWJzY3JpYmVyLnRha2VVbnRpbERlc3Ryb3kpLnN1YnNjcmliZSgoYykgPT4ge1xuICAgICAgdGhpcy5hcHBseVBhcmVudCgpO1xuICAgIH0pO1xuICAgIC8vXG4gICAgdGhpcy5fcGFyZW50Lm9uT3B0aW9uQ2hhbmdlZC5waXBlKHRoaXMuX3Vuc3Vic2NyaWJlci50YWtlVW50aWxEZXN0cm95KS5zdWJzY3JpYmUoKGMpID0+IHtcbiAgICAgIHRoaXMuYXBwbHlQYXJlbnQoKTtcbiAgICB9KTtcbiAgfVxuXG4gIG5nQWZ0ZXJWaWV3SW5pdCgpIHtcbiAgICB0aGlzLmFwcGx5UGFyZW50KCk7XG4gIH1cblxuICBwcm90ZWN0ZWQgYWJzdHJhY3QgYXBwbHlQYXJlbnQoKTogdm9pZDtcbn1cbiJdfQ==
@@ -12,10 +12,12 @@ export class AXDataPagerNumericSelectorComponent extends AXDataPagerChild {
12
12
  this._items = [];
13
13
  this._currentPage = 1;
14
14
  this._lastPage = 1;
15
+ this._loading = false;
15
16
  this._displayCount = 5;
16
17
  }
17
18
  applyParent() {
18
19
  this._currentPage = this._parent.displayInfo.page;
20
+ this._loading = this._parent.isLoading;
19
21
  this._lastPage = this._parent.displayInfo.totalPages;
20
22
  //
21
23
  this._items = [];
@@ -59,7 +61,7 @@ export class AXDataPagerNumericSelectorComponent extends AXDataPagerChild {
59
61
  <ax-button [disabled]="_currentPage === 1 || _parent.disabled" look="blank" class="ax-sm" (onClick)="_handleOnItemClick({ data: 1 })">
60
62
  <ax-icon class="ax-icon ax-icon-first-page ax-text-xl"></ax-icon>
61
63
  </ax-button>
62
- @if (_items.length) {
64
+ @if (!_parent.isLoading) {
63
65
  @for (item of _items; track $index) {
64
66
  <ax-button
65
67
  class="ax-sm"
@@ -96,7 +98,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImpor
96
98
  <ax-button [disabled]="_currentPage === 1 || _parent.disabled" look="blank" class="ax-sm" (onClick)="_handleOnItemClick({ data: 1 })">
97
99
  <ax-icon class="ax-icon ax-icon-first-page ax-text-xl"></ax-icon>
98
100
  </ax-button>
99
- @if (_items.length) {
101
+ @if (!_parent.isLoading) {
100
102
  @for (item of _items; track $index) {
101
103
  <ax-button
102
104
  class="ax-sm"
@@ -135,4 +137,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImpor
135
137
  ],
136
138
  }]
137
139
  }] });
138
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1wYWdlci1udW1lcmljLXNlbGVjdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9kYXRhLXBhZ2VyL3NyYy9saWIvZGF0YS1wYWdlci1udW1lcmljLXNlbGVjdG9yLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDcEQsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN0RixPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQzs7Ozs7O0FBOEMvRCxNQUFNLE9BQU8sbUNBQW9DLFNBQVEsZ0JBQWdCO0lBNUN6RTs7UUE2Q0UsV0FBTSxHQUFtQixFQUFFLENBQUM7UUFDNUIsaUJBQVksR0FBRyxDQUFDLENBQUM7UUFDakIsY0FBUyxHQUFHLENBQUMs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FydCArIHRoaXMuX2Rpc3BsYXlDb3VudCAtIDEsIHRoaXMuX2xhc3RQYWdlKTtcbiAgICAvL1xuICAgIGlmIChzdGFydCA+IHRoaXMuX2Rpc3BsYXlDb3VudCkge1xuICAgICAgdGhpcy5faXRlbXMucHVzaCh7XG4gICAgICAgIGljb25DbGFzczogJ2F4LWljb24tbW9yZS1ob3Jpem9udGFsJyxcbiAgICAgICAgZGF0YTogc3RhcnQgLSAxLFxuICAgICAgfSk7XG4gICAgfVxuICAgIC8vXG4gICAgZm9yIChsZXQgaSA9IHN0YXJ0OyBpIDw9IGVuZDsgaSsrKSB7XG4gICAgICB0aGlzLl9pdGVtcy5wdXNoKHtcbiAgICAgICAgdGV4dDogaS50b1N0cmluZygpLFxuICAgICAgICBkYXRhOiBpLFxuICAgICAgfSk7XG4gICAgfVxuICAgIGlmIChlbmQgPCB0aGlzLl9sYXN0UGFnZSkge1xuICAgICAgdGhpcy5faXRlbXMucHVzaCh7XG4gICAgICAgIGljb25DbGFzczogJ2F4LWljb24tbW9yZS1ob3Jpem9udGFsJyxcbiAgICAgICAgZGF0YTogZW5kICsgMSxcbiAgICAgIH0pO1xuICAgIH1cbiAgICB0aGlzLmNkci5kZXRlY3RDaGFuZ2VzKCk7XG4gIH1cblxuICBfaGFuZGxlT25JdGVtQ2xpY2soZTogYW55KSB7XG4gICAgaWYgKHRoaXMuX3BhcmVudC5yZWFkb25seSB8fCB0aGlzLl9wYXJlbnQuZGlzYWJsZWQpIHJldHVybjtcbiAgICB0aGlzLl9wYXJlbnQuZ29Ub1BhZ2UoTnVtYmVyKGUuZGF0YSkpO1xuICB9XG59XG4iXX0=
140
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1wYWdlci1udW1lcmljLXNlbGVjdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tc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e1xuICAgICAgICB0ZXh0OiBpLnRvU3RyaW5nKCksXG4gICAgICAgIGRhdGE6IGksXG4gICAgICB9KTtcbiAgICB9XG4gICAgaWYgKGVuZCA8IHRoaXMuX2xhc3RQYWdlKSB7XG4gICAgICB0aGlzLl9pdGVtcy5wdXNoKHtcbiAgICAgICAgaWNvbkNsYXNzOiAnYXgtaWNvbi1tb3JlLWhvcml6b250YWwnLFxuICAgICAgICBkYXRhOiBlbmQgKyAxLFxuICAgICAgfSk7XG4gICAgfVxuICAgIHRoaXMuY2RyLmRldGVjdENoYW5nZXMoKTtcbiAgfVxuXG4gIF9oYW5kbGVPbkl0ZW1DbGljayhlOiBhbnkpIHtcbiAgICBpZiAodGhpcy5fcGFyZW50LnJlYWRvbmx5IHx8IHRoaXMuX3BhcmVudC5kaXNhYmxlZCkgcmV0dXJuO1xuICAgIHRoaXMuX3BhcmVudC5nb1RvUGFnZShOdW1iZXIoZS5kYXRhKSk7XG4gIH1cbn1cbiJdfQ==
@@ -63,7 +63,7 @@ export class AXDataPagerPageSizesComponent extends AXDataPagerChild {
63
63
  </ax-suffix>
64
64
  </ax-button>
65
65
  <!-- <span >items per page</span> -->
66
- `, isInline: true, dependencies: [{ kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange"] }, { kind: "component", type: i1.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i1.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items"], outputs: ["onItemClick"] }, { kind: "component", type: i2.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title , ax-sub-title, ax-placeholder, ax-overlay" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
66
+ `, isInline: true, dependencies: [{ kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange"] }, { kind: "component", type: i1.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i1.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items"], outputs: ["onItemClick"] }, { kind: "component", type: i2.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
67
67
  }
68
68
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXDataPagerPageSizesComponent, decorators: [{
69
69
  type: Component,
@@ -1,5 +1,5 @@
1
1
  import { AXPagedComponent, MXValueComponent } from '@acorex/components/common';
2
- import { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Optional, Output, ViewEncapsulation, forwardRef, } from '@angular/core';
2
+ import { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Optional, Output, ViewEncapsulation, forwardRef, signal, } from '@angular/core';
3
3
  import { cloneDeep, isEqual, isNumber } from 'lodash-es';
4
4
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
5
5
  import { AXDataPagerParentComponent } from './data-pager-base.component';
@@ -13,6 +13,12 @@ import * as i6 from "./data-pager-input-selector.component";
13
13
  import * as i7 from "./data-pager-info.component";
14
14
  import * as i8 from "@acorex/components/common";
15
15
  export class AXDataPagerComponent extends MXValueComponent {
16
+ get isLoading() {
17
+ return this._isLoading();
18
+ }
19
+ set isLoading(v) {
20
+ this._isLoading.set(v);
21
+ }
16
22
  get size() {
17
23
  return this._size || 10;
18
24
  }
@@ -59,6 +65,7 @@ export class AXDataPagerComponent extends MXValueComponent {
59
65
  constructor(_parent) {
60
66
  super();
61
67
  this._parent = _parent;
68
+ this._isLoading = signal(false);
62
69
  this._size = null;
63
70
  this._total = 0;
64
71
  this._totalPages = 0;
@@ -137,14 +144,14 @@ export class AXDataPagerComponent extends MXValueComponent {
137
144
  }
138
145
  }
139
146
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXDataPagerComponent, deps: [{ token: AXPagedComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
140
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.2", type: AXDataPagerComponent, selector: "ax-data-pager", inputs: { value: "value", name: "name", disabled: "disabled", readonly: "readonly", size: "size", total: "total", displayMode: "displayMode" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", disabledChange: "disabledChange", readonlyChange: "readonlyChange", displayModeChange: "displayModeChange", onChanged: "onChanged" }, providers: [
147
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.2", type: AXDataPagerComponent, selector: "ax-data-pager", inputs: { value: "value", name: "name", disabled: "disabled", readonly: "readonly", isLoading: "isLoading", size: "size", total: "total", displayMode: "displayMode" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", disabledChange: "disabledChange", readonlyChange: "readonlyChange", displayModeChange: "displayModeChange", onChanged: "onChanged" }, providers: [
141
148
  { provide: AXDataPagerParentComponent, useExisting: AXDataPagerComponent },
142
149
  {
143
150
  provide: NG_VALUE_ACCESSOR,
144
151
  useExisting: forwardRef(() => AXDataPagerComponent),
145
152
  multi: true,
146
153
  },
147
- ], usesInheritance: true, ngImport: i0, template: "@switch(displayMode){\n@case('full'){\n<ax-prefix>\n <ax-data-pager-numeric-selector>\n </ax-data-pager-numeric-selector>\n <ax-data-pager-page-sizes>\n </ax-data-pager-page-sizes>\n</ax-prefix>\n<ax-suffix>\n <ax-data-pager-info>\n </ax-data-pager-info>\n</ax-suffix>\n}\n@case('compact'){\n<ax-prefix>\n <ax-data-pager-prev-buttons>\n </ax-data-pager-prev-buttons>\n <ax-data-pager-input-selector>\n </ax-data-pager-input-selector>\n <ax-data-pager-next-buttons>\n </ax-data-pager-next-buttons>\n</ax-prefix>\n<ax-suffix>\n <ax-data-pager-info>\n </ax-data-pager-info>\n</ax-suffix>\n}\n@default{\n<ng-content select=\"ax-prefix\"></ng-content>\n<ng-content select=\"ax-suffix\"></ng-content>\n}\n}", styles: ["html[dir=rtl] ax-data-pager ax-data-pager-numeric-selector .ax-icon-first-page,html[dir=rtl] ax-data-pager ax-data-pager-numeric-selector .ax-icon-last-page{rotate:180deg}ax-data-pager{display:flex;width:100%;align-items:center;justify-content:space-between;gap:.5rem;padding:.5rem;font-size:.875rem;line-height:1.25rem}ax-data-pager ax-button-group{display:flex!important;gap:1rem!important;border-radius:0!important;border-width:0px!important}ax-data-pager ax-button-group ax-button-item{border-radius:0!important;border-width:0px!important;padding:0!important}ax-data-pager ax-button-group ax-button-item.ax-state-selected{border-width:1px!important}ax-data-pager ax-data-pager-input-selector .ax-input{width:4rem!important;max-width:10rem!important;text-align:center!important}ax-data-pager ax-data-pager-next-buttons,ax-data-pager ax-data-pager-prev-buttons,ax-data-pager ax-data-pager-numeric-selector{display:flex;gap:.5rem}ax-data-pager ax-data-pager-next-buttons ax-skeleton,ax-data-pager ax-data-pager-prev-buttons ax-skeleton,ax-data-pager ax-data-pager-numeric-selector ax-skeleton{width:100%;min-width:14rem;border-radius:var(--ax-rounded-border-default)}ax-data-pager ax-data-pager-page-sizes ax-button{border-radius:var(--ax-rounded-border-default);border-width:1px;border-color:rgba(var(--ax-color-border-default))}ax-data-pager ax-prefix,ax-data-pager ax-suffix{display:flex}\n"], dependencies: [{ kind: "component", type: i1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title , ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "component", type: i2.AXDataPagerNextButtonsComponent, selector: "ax-data-pager-next-buttons" }, { kind: "component", type: i3.AXDataPagerPrevButtonsComponent, selector: "ax-data-pager-prev-buttons" }, { kind: "component", type: i4.AXDataPagerPageSizesComponent, selector: "ax-data-pager-page-sizes", inputs: ["sizes"] }, { kind: "component", type: i5.AXDataPagerNumericSelectorComponent, selector: "ax-data-pager-numeric-selector" }, { kind: "component", type: i6.AXDataPagerInputSelectorComponent, selector: "ax-data-pager-input-selector" }, { kind: "component", type: i7.AXDataPagerInfoComponent, selector: "ax-data-pager-info", inputs: ["text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
154
+ ], usesInheritance: true, ngImport: i0, template: "@switch(displayMode){\n@case('full'){\n<ax-prefix>\n <ax-data-pager-numeric-selector>\n </ax-data-pager-numeric-selector>\n <ax-data-pager-page-sizes>\n </ax-data-pager-page-sizes>\n</ax-prefix>\n<ax-suffix>\n <ax-data-pager-info>\n </ax-data-pager-info>\n</ax-suffix>\n}\n@case('compact'){\n<ax-prefix>\n <ax-data-pager-prev-buttons>\n </ax-data-pager-prev-buttons>\n <ax-data-pager-input-selector>\n </ax-data-pager-input-selector>\n <ax-data-pager-next-buttons>\n </ax-data-pager-next-buttons>\n</ax-prefix>\n<ax-suffix>\n <ax-data-pager-info>\n </ax-data-pager-info>\n</ax-suffix>\n}\n@default{\n<ng-content select=\"ax-prefix\"></ng-content>\n<ng-content select=\"ax-suffix\"></ng-content>\n}\n}", styles: ["html[dir=rtl] ax-data-pager ax-data-pager-numeric-selector .ax-icon-first-page,html[dir=rtl] ax-data-pager ax-data-pager-numeric-selector .ax-icon-last-page{rotate:180deg}ax-data-pager{display:flex;width:100%;align-items:center;justify-content:space-between;gap:.5rem;padding:.5rem;font-size:.875rem;line-height:1.25rem}ax-data-pager ax-button-group{display:flex!important;gap:1rem!important;border-radius:0!important;border-width:0px!important}ax-data-pager ax-button-group ax-button-item{border-radius:0!important;border-width:0px!important;padding:0!important}ax-data-pager ax-button-group ax-button-item.ax-state-selected{border-width:1px!important}ax-data-pager ax-data-pager-input-selector .ax-input{width:4rem!important;max-width:10rem!important;text-align:center!important}ax-data-pager ax-data-pager-next-buttons,ax-data-pager ax-data-pager-prev-buttons,ax-data-pager ax-data-pager-numeric-selector{display:flex;gap:.5rem}ax-data-pager ax-data-pager-next-buttons ax-skeleton,ax-data-pager ax-data-pager-prev-buttons ax-skeleton,ax-data-pager ax-data-pager-numeric-selector ax-skeleton{width:100%;min-width:14rem;border-radius:var(--ax-rounded-border-default)}ax-data-pager ax-data-pager-page-sizes ax-button{border-radius:var(--ax-rounded-border-default);border-width:1px;border-color:rgba(var(--ax-color-border-default))}ax-data-pager ax-prefix,ax-data-pager ax-suffix{display:flex}\n"], dependencies: [{ kind: "component", type: i1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "component", type: i2.AXDataPagerNextButtonsComponent, selector: "ax-data-pager-next-buttons" }, { kind: "component", type: i3.AXDataPagerPrevButtonsComponent, selector: "ax-data-pager-prev-buttons" }, { kind: "component", type: i4.AXDataPagerPageSizesComponent, selector: "ax-data-pager-page-sizes", inputs: ["sizes"] }, { kind: "component", type: i5.AXDataPagerNumericSelectorComponent, selector: "ax-data-pager-numeric-selector" }, { kind: "component", type: i6.AXDataPagerInputSelectorComponent, selector: "ax-data-pager-input-selector" }, { kind: "component", type: i7.AXDataPagerInfoComponent, selector: "ax-data-pager-info", inputs: ["text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
148
155
  }
149
156
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXDataPagerComponent, decorators: [{
150
157
  type: Component,
@@ -161,7 +168,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImpor
161
168
  }, {
162
169
  type: Inject,
163
170
  args: [AXPagedComponent]
164
- }] }], propDecorators: { size: [{
171
+ }] }], propDecorators: { isLoading: [{
172
+ type: Input
173
+ }], size: [{
165
174
  type: Input
166
175
  }], total: [{
167
176
  type: Input
@@ -172,4 +181,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImpor
172
181
  }], onChanged: [{
173
182
  type: Output
174
183
  }] } });
175
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1wYWdlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvZGF0YS1wYWdlci9zcmMvbGliL2RhdGEtcGFnZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2RhdGEtcGFnZXIvc3JjL2xpYi9kYXRhLXBhZ2VyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3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