@acorex/components 7.24.4 → 17.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. package/common/lib/classes/datasource.class.d.ts +2 -0
  2. package/data-table/index.d.ts +3 -2
  3. package/data-table/lib/base-data-table.class.d.ts +25 -0
  4. package/data-table/lib/columns/row-command-column.component.d.ts +2 -2
  5. package/data-table/lib/data-table/data-table.component.d.ts +52 -0
  6. package/data-table/lib/data-table.module.d.ts +21 -18
  7. package/data-table/lib/{data-table.component.d.ts → infinite-scroll-data-table/infinite-scroll-data-table.component.d.ts} +8 -22
  8. package/esm2022/button/lib/button.component.mjs +2 -2
  9. package/esm2022/common/lib/classes/datasource.class.mjs +8 -2
  10. package/esm2022/common/lib/components/selection-base.component.class.mjs +12 -35
  11. package/esm2022/data-pager/lib/data-pager.component.mjs +7 -11
  12. package/esm2022/data-table/index.mjs +4 -3
  13. package/esm2022/data-table/lib/base-data-table.class.mjs +36 -0
  14. package/esm2022/data-table/lib/columns/row-command-column.component.mjs +57 -69
  15. package/esm2022/data-table/lib/columns/row-index-column.component.mjs +7 -21
  16. package/esm2022/data-table/lib/columns/row-select-column.component.mjs +6 -18
  17. package/esm2022/data-table/lib/data-table/data-table.component.mjs +233 -0
  18. package/esm2022/data-table/lib/data-table.module.mjs +24 -7
  19. package/esm2022/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.mjs +272 -0
  20. package/esm2022/drawer/lib/drawer.component.mjs +2 -2
  21. package/esm2022/menu/lib/menu-item/menu-item.component.mjs +3 -3
  22. package/esm2022/menu/lib/menu.component.mjs +2 -2
  23. package/esm2022/otp/lib/otp.component.mjs +2 -2
  24. package/esm2022/phone-box/lib/phone-box.component.mjs +25 -42
  25. package/esm2022/phone-box/lib/phone-box.module.mjs +20 -3
  26. package/esm2022/select-box/lib/select-box.component.mjs +2 -2
  27. package/esm2022/text-area/lib/text-area.component.mjs +6 -22
  28. package/fesm2022/acorex-components-button.mjs +2 -2
  29. package/fesm2022/acorex-components-button.mjs.map +1 -1
  30. package/fesm2022/acorex-components-common.mjs +18 -35
  31. package/fesm2022/acorex-components-common.mjs.map +1 -1
  32. package/fesm2022/acorex-components-data-pager.mjs +5 -9
  33. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  34. package/fesm2022/acorex-components-data-table.mjs +684 -470
  35. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  36. package/fesm2022/acorex-components-drawer.mjs +2 -2
  37. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  38. package/fesm2022/acorex-components-menu.mjs +4 -4
  39. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  40. package/fesm2022/acorex-components-otp.mjs +2 -2
  41. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  42. package/fesm2022/acorex-components-phone-box.mjs +45 -44
  43. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  44. package/fesm2022/acorex-components-select-box.mjs +2 -2
  45. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  46. package/fesm2022/acorex-components-text-area.mjs +5 -21
  47. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  48. package/package.json +7 -13
  49. package/phone-box/lib/phone-box.component.d.ts +4 -13
  50. package/phone-box/lib/phone-box.module.d.ts +2 -1
  51. package/text-area/lib/text-area.component.d.ts +0 -1
  52. package/data-table-2/README.md +0 -3
  53. package/data-table-2/index.d.ts +0 -8
  54. package/data-table-2/lib/columns/data-table-column-resizable.directive.d.ts +0 -22
  55. package/data-table-2/lib/columns/data-table-column.d.ts +0 -22
  56. package/data-table-2/lib/columns/data-text-column.component.d.ts +0 -18
  57. package/data-table-2/lib/columns/row-command-column.component.d.ts +0 -40
  58. package/data-table-2/lib/columns/row-index-column.component.d.ts +0 -18
  59. package/data-table-2/lib/columns/row-select-column.component.d.ts +0 -14
  60. package/data-table-2/lib/data-table-2.component.d.ts +0 -61
  61. package/data-table-2/lib/data-table-2.module.d.ts +0 -24
  62. package/esm2022/data-table/lib/data-table.component.mjs +0 -290
  63. package/esm2022/data-table-2/acorex-components-data-table-2.mjs +0 -5
  64. package/esm2022/data-table-2/index.mjs +0 -9
  65. package/esm2022/data-table-2/lib/columns/data-table-column-resizable.directive.mjs +0 -59
  66. package/esm2022/data-table-2/lib/columns/data-table-column.mjs +0 -42
  67. package/esm2022/data-table-2/lib/columns/data-text-column.component.mjs +0 -81
  68. package/esm2022/data-table-2/lib/columns/row-command-column.component.mjs +0 -231
  69. package/esm2022/data-table-2/lib/columns/row-index-column.component.mjs +0 -71
  70. package/esm2022/data-table-2/lib/columns/row-select-column.component.mjs +0 -61
  71. package/esm2022/data-table-2/lib/data-table-2.component.mjs +0 -211
  72. package/esm2022/data-table-2/lib/data-table-2.module.mjs +0 -94
  73. package/fesm2022/acorex-components-data-table-2.mjs +0 -822
  74. package/fesm2022/acorex-components-data-table-2.mjs.map +0 -1
@@ -2,7 +2,7 @@ import { AXPagedComponent, MXValueComponent } from '@acorex/components/common';
2
2
  import { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Optional, Output, ViewEncapsulation, forwardRef, } from '@angular/core';
3
3
  import { isNumber } from 'lodash-es';
4
4
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
5
- import { AXDataPagerParentComponent, } from './data-pager-base.component';
5
+ import { AXDataPagerParentComponent } from './data-pager-base.component';
6
6
  import * as i0 from "@angular/core";
7
7
  import * as i1 from "@acorex/components/decorators";
8
8
  import * as i2 from "./data-pager-next-buttons.components";
@@ -79,7 +79,7 @@ export class AXDataPagerComponent extends MXValueComponent {
79
79
  this._emitChangedEvent();
80
80
  }
81
81
  internalValueChanged(value) {
82
- this._emitChangedEvent();
82
+ this._emitChangedEvent(true);
83
83
  }
84
84
  internalGetValue(value) {
85
85
  if (!isNumber(value) || !value || this.totalPages == 0)
@@ -101,11 +101,12 @@ export class AXDataPagerComponent extends MXValueComponent {
101
101
  };
102
102
  return result;
103
103
  }
104
- _emitChangedEvent() {
104
+ _emitChangedEvent(u = false) {
105
105
  this.totalPages = Math.ceil(this._total / this.size);
106
106
  //
107
107
  this.onChanged.emit(Object.assign({
108
108
  component: this,
109
+ isUserInteraction: u,
109
110
  htmlElement: this.getHostElement(),
110
111
  }, this.displayInfo));
111
112
  if (this.totalPages > 0)
@@ -127,7 +128,7 @@ export class AXDataPagerComponent extends MXValueComponent {
127
128
  }
128
129
  goToPage(page) {
129
130
  if (page != this.value) {
130
- this.commitValue(page);
131
+ this.commitValue(page, true);
131
132
  }
132
133
  }
133
134
  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 }); }
@@ -142,12 +143,7 @@ export class AXDataPagerComponent extends MXValueComponent {
142
143
  }
143
144
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXDataPagerComponent, decorators: [{
144
145
  type: Component,
145
- args: [{ selector: 'ax-data-pager', inputs: ['value', 'name', 'disabled', 'readonly'], outputs: [
146
- 'valueChange',
147
- 'onValueChanged',
148
- 'disabledChange',
149
- 'readonlyChange',
150
- ], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
146
+ args: [{ selector: 'ax-data-pager', inputs: ['value', 'name', 'disabled', 'readonly'], outputs: ['valueChange', 'onValueChanged', 'disabledChange', 'readonlyChange'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
151
147
  { provide: AXDataPagerParentComponent, useExisting: AXDataPagerComponent },
152
148
  {
153
149
  provide: NG_VALUE_ACCESSOR,
@@ -171,4 +167,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImpor
171
167
  }], onChanged: [{
172
168
  type: Output
173
169
  }] } });
174
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1wYWdlci5jb21wb25lbnQuanMiLCJzb3V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F0YS1wYWdlci1udW1lcmljLXNlbGVjdG9yPlxuICAgIDxheC1kYXRhLXBhZ2VyLXBhZ2Utc2l6ZXM+XG4gICAgPC9heC1kYXRhLXBhZ2VyLXBhZ2Utc2l6ZXM+XG48L2F4LXByZWZpeD5cbjxheC1zdWZmaXg+XG4gICAgPGF4LWRhdGEtcGFnZXItaW5mbz5cbiAgICA8L2F4LWRhdGEtcGFnZXItaW5mbz5cbjwvYXgtc3VmZml4PlxufVxuQGNhc2UoJ2NvbXBhY3QnKXtcbjxheC1wcmVmaXg+XG4gICAgPGF4LWRhdGEtcGFnZXItcHJldi1idXR0b25zPlxuICAgIDwvYXgtZGF0YS1wYWdlci1wcmV2LWJ1dHRvbnM+XG4gICAgPGF4LWRhdGEtcGFnZXItaW5wdXQtc2VsZWN0b3I+XG4gICAgPC9heC1kYXRhLXBhZ2VyLWlucHV0LXNlbGVjdG9yPlxuICAgIDxheC1kYXRhLXBhZ2VyLW5leHQtYnV0dG9ucz5cbiAgICA8L2F4LWRhdGEtcGFnZXItbmV4dC1idXR0b25zPlxuPC9heC1wcmVmaXg+XG48YXgtc3VmZml4PlxuICAgIDxheC1kYXRhLXBhZ2VyLWluZm8+XG4gICAgPC9heC1kYXRhLXBhZ2VyLWluZm8+XG48L2F4LXN1ZmZpeD5cbn1cbkBkZWZhdWx0e1xuPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtcHJlZml4XCI+PC9uZy1jb250ZW50PlxuPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtc3VmZml4XCI+PC9uZy1jb250ZW50PlxufVxufSJdfQ==
@@ -1,9 +1,10 @@
1
1
  export * from './lib/columns/data-table-column';
2
+ export * from './lib/columns/data-table-column-resizable.directive';
2
3
  export * from './lib/columns/data-text-column.component';
3
4
  export * from './lib/columns/row-command-column.component';
4
5
  export * from './lib/columns/row-index-column.component';
5
6
  export * from './lib/columns/row-select-column.component';
6
- export * from './lib/columns/data-table-column-resizable.directive';
7
- export * from './lib/data-table.component';
8
7
  export * from './lib/data-table.module';
9
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvZGF0YS10YWJsZS9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxpQ0FBaUMsQ0FBQztBQUNoRCxjQUFjLDBDQUEwQyxDQUFDO0FBQ3pELGNBQWMsNENBQTRDLENBQUM7QUFDM0QsY0FBYywwQ0FBMEMsQ0FBQztBQUN6RCxjQUFjLDJDQUEyQyxDQUFDO0FBQzFELGNBQWMscURBQXFELENBQUM7QUFDcEUsY0FBYyw0QkFBNEIsQ0FBQztBQUMzQyxjQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvY29sdW1ucy9kYXRhLXRhYmxlLWNvbHVtbic7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb2x1bW5zL2RhdGEtdGV4dC1jb2x1bW4uY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbHVtbnMvcm93LWNvbW1hbmQtY29sdW1uLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb2x1bW5zL3Jvdy1pbmRleC1jb2x1bW4uY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbHVtbnMvcm93LXNlbGVjdC1jb2x1bW4uY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbHVtbnMvZGF0YS10YWJsZS1jb2x1bW4tcmVzaXphYmxlLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9kYXRhLXRhYmxlLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9kYXRhLXRhYmxlLm1vZHVsZSc7XG4iXX0=
8
+ export * from './lib/data-table/data-table.component';
9
+ export * from './lib/infinite-scroll-data-table/infinite-scroll-data-table.component';
10
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvZGF0YS10YWJsZS9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxpQ0FBaUMsQ0FBQztBQUNoRCxjQUFjLHFEQUFxRCxDQUFDO0FBQ3BFLGNBQWMsMENBQTBDLENBQUM7QUFDekQsY0FBYyw0Q0FBNEMsQ0FBQztBQUMzRCxjQUFjLDBDQUEwQyxDQUFDO0FBQ3pELGNBQWMsMkNBQTJDLENBQUM7QUFDMUQsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLHVDQUF1QyxDQUFDO0FBQ3RELGNBQWMsdUVBQXVFLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9jb2x1bW5zL2RhdGEtdGFibGUtY29sdW1uJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbHVtbnMvZGF0YS10YWJsZS1jb2x1bW4tcmVzaXphYmxlLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb2x1bW5zL2RhdGEtdGV4dC1jb2x1bW4uY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbHVtbnMvcm93LWNvbW1hbmQtY29sdW1uLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb2x1bW5zL3Jvdy1pbmRleC1jb2x1bW4uY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbHVtbnMvcm93LXNlbGVjdC1jb2x1bW4uY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2RhdGEtdGFibGUubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2RhdGEtdGFibGUvZGF0YS10YWJsZS5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvaW5maW5pdGUtc2Nyb2xsLWRhdGEtdGFibGUvaW5maW5pdGUtc2Nyb2xsLWRhdGEtdGFibGUuY29tcG9uZW50JztcbiJdfQ==
@@ -0,0 +1,36 @@
1
+ import { AXDataSource, MXBaseComponent, convertArrayToDataSource } from '@acorex/components/common';
2
+ import { EventEmitter, Injectable, Input, Output } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export class AXBaseDataTable extends MXBaseComponent {
5
+ constructor() {
6
+ super(...arguments);
7
+ this.dataSource = convertArrayToDataSource([]);
8
+ this.selectedRowsChange = new EventEmitter();
9
+ this._selectedRows = [];
10
+ }
11
+ get selectedRows() {
12
+ return this._selectedRows;
13
+ }
14
+ set selectedRows(v) {
15
+ this._selectedRows = v;
16
+ this.selectedRowsChange.emit(v);
17
+ }
18
+ selectRows(...rows) {
19
+ this.selectedRows = [...this.selectedRows, ...rows];
20
+ }
21
+ unSelectRows(...rows) {
22
+ this.selectedRows = this.selectedRows.filter((c) => !rows.includes(c));
23
+ }
24
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXBaseDataTable, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
25
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXBaseDataTable }); }
26
+ }
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXBaseDataTable, decorators: [{
28
+ type: Injectable
29
+ }], propDecorators: { dataSource: [{
30
+ type: Input
31
+ }], selectedRowsChange: [{
32
+ type: Output
33
+ }], selectedRows: [{
34
+ type: Input
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uQEluamVjdGFibGUoKVxuZXhwb3J0IGFic3RyYWN0IGNsYXNzIEFYQmFzZURhdGFUYWJsZSBleHRlbmRzIE1YQmFzZUNvbXBvbmVudCB7XG4gIEBJbnB1dCgpIGRhdGFTb3VyY2U6IEFYRGF0YVNvdXJjZTx1bmtub3duPiA9IGNvbnZlcnRBcnJheVRvRGF0YVNvdXJjZShbXSk7XG5cbiAgQE91dHB1dCgpXG4gIHNlbGVjdGVkUm93c0NoYW5nZTogRXZlbnRFbWl0dGVyPHVua25vd25bXT4gPSBuZXcgRXZlbnRFbWl0dGVyPHVua25vd25bXT4oKTtcblxuICBwcml2YXRlIF9zZWxlY3RlZFJvd3M6IHVua25vd25bXSA9IFtdO1xuICBASW5wdXQoKVxuICBwdWJsaWMgZ2V0IHNlbGVjdGVkUm93cygpOiB1bmtub3duW10ge1xuICAgIHJldHVybiB0aGlzLl9zZWxlY3RlZFJvd3M7XG4gIH1cbiAgcHVibGljIHNldCBzZWxlY3RlZFJvd3ModjogdW5rbm93bltdKSB7XG4gICAgdGhpcy5fc2VsZWN0ZWRSb3dzID0gdjtcbiAgICB0aGlzLnNlbGVjdGVkUm93c0NoYW5nZS5lbWl0KHYpO1xuICB9XG5cbiAgcHVibGljIHNlbGVjdFJvd3MoLi4ucm93czogdW5rbm93bltdKSB7XG4gICAgdGhpcy5zZWxlY3RlZFJvd3MgPSBbLi4udGhpcy5zZWxlY3RlZFJvd3MsIC4uLnJvd3NdO1xuICB9XG5cbiAgcHVibGljIHVuU2VsZWN0Um93cyguLi5yb3dzOiB1bmtub3duW10pIHtcbiAgICB0aGlzLnNlbGVjdGVkUm93cyA9IHRoaXMuc2VsZWN0ZWRSb3dzLmZpbHRlcigoYykgPT4gIXJvd3MuaW5jbHVkZXMoYykpO1xuICB9XG59XG4iXX0=
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, TemplateRef, ViewChild, ViewEncapsulation, inject, } from '@angular/core';
2
- import { AXDataTableComponent } from '../data-table.component';
2
+ import { AXBaseDataTable } from '../base-data-table.class';
3
3
  import { AXDataTableColumnComponent } from './data-table-column';
4
4
  import * as i0 from "@angular/core";
5
5
  import * as i1 from "@acorex/components/loading";
@@ -10,7 +10,7 @@ import * as i5 from "@acorex/components/common";
10
10
  export class AXBaseRowCommandColumnComponent extends AXDataTableColumnComponent {
11
11
  constructor() {
12
12
  super(...arguments);
13
- this.grid = inject(AXDataTableComponent);
13
+ this.grid = inject(AXBaseDataTable);
14
14
  this.cdr = inject(ChangeDetectorRef);
15
15
  this.allowSorting = false;
16
16
  this.onItemClick = new EventEmitter();
@@ -72,28 +72,20 @@ export class AXRowDropdownCommandColumnComponent extends AXBaseRowCommandColumnC
72
72
  },
73
73
  ], viewQueries: [{ propertyName: "_template", first: true, predicate: TemplateRef, descendants: true }], usesInheritance: true, ngImport: i0, template: ` <ng-template let-row>
74
74
  @if (row.data) {
75
- <div>
76
- <button [axRipple]>
77
- <ax-icon icon="ax-icon ax-icon-solid ax-icon-more-horizontal"></ax-icon>
78
- <ax-dropdown-panel
79
- [adaptivityEnabled]="true"
80
- (onOpened)="handleOnOpened(row.data)"
81
- (onClosed)="handleOnClosed()"
82
- >
83
- @if (_items.length) {
84
- <ax-button-item-list
85
- (onItemClick)="handleOnItemClick($event, row.data)"
86
- [items]="_items"
87
- >
88
- </ax-button-item-list>
89
- } @else {
90
- <div panel style="padding: 0.875rem;">
91
- <ax-loading></ax-loading>
92
- </div>
93
- }
94
- </ax-dropdown-panel>
95
- </button>
96
- </div>
75
+ <div>
76
+ <button [axRipple]>
77
+ <ax-icon icon="ax-icon ax-icon-solid ax-icon-more-horizontal"></ax-icon>
78
+ <ax-dropdown-panel [adaptivityEnabled]="true" (onOpened)="handleOnOpened(row.data)" (onClosed)="handleOnClosed()">
79
+ @if (_items.length) {
80
+ <ax-button-item-list (onItemClick)="handleOnItemClick($event, row.data)" [items]="_items"> </ax-button-item-list>
81
+ } @else {
82
+ <div panel style="padding: 0.875rem;">
83
+ <ax-loading></ax-loading>
84
+ </div>
85
+ }
86
+ </ax-dropdown-panel>
87
+ </button>
88
+ </div>
97
89
  }
98
90
  <ng-template #loading>
99
91
  <div panel style="padding: 0.875rem;">
@@ -108,28 +100,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImpor
108
100
  selector: 'ax-dropdown-command-column',
109
101
  template: ` <ng-template let-row>
110
102
  @if (row.data) {
111
- <div>
112
- <button [axRipple]>
113
- <ax-icon icon="ax-icon ax-icon-solid ax-icon-more-horizontal"></ax-icon>
114
- <ax-dropdown-panel
115
- [adaptivityEnabled]="true"
116
- (onOpened)="handleOnOpened(row.data)"
117
- (onClosed)="handleOnClosed()"
118
- >
119
- @if (_items.length) {
120
- <ax-button-item-list
121
- (onItemClick)="handleOnItemClick($event, row.data)"
122
- [items]="_items"
123
- >
124
- </ax-button-item-list>
125
- } @else {
126
- <div panel style="padding: 0.875rem;">
127
- <ax-loading></ax-loading>
128
- </div>
129
- }
130
- </ax-dropdown-panel>
131
- </button>
132
- </div>
103
+ <div>
104
+ <button [axRipple]>
105
+ <ax-icon icon="ax-icon ax-icon-solid ax-icon-more-horizontal"></ax-icon>
106
+ <ax-dropdown-panel [adaptivityEnabled]="true" (onOpened)="handleOnOpened(row.data)" (onClosed)="handleOnClosed()">
107
+ @if (_items.length) {
108
+ <ax-button-item-list (onItemClick)="handleOnItemClick($event, row.data)" [items]="_items"> </ax-button-item-list>
109
+ } @else {
110
+ <div panel style="padding: 0.875rem;">
111
+ <ax-loading></ax-loading>
112
+ </div>
113
+ }
114
+ </ax-dropdown-panel>
115
+ </button>
116
+ </div>
133
117
  }
134
118
  <ng-template #loading>
135
119
  <div panel style="padding: 0.875rem;">
@@ -193,17 +177,19 @@ export class AXRowCommandColumnComponent extends AXBaseRowCommandColumnComponent
193
177
  useExisting: AXRowCommandColumnComponent,
194
178
  },
195
179
  ], viewQueries: [{ propertyName: "_template", first: true, predicate: TemplateRef, descendants: true }], usesInheritance: true, ngImport: i0, template: ` <ng-template let-row>
196
- @if (row.data) { @for (item of getItems(row.data); track $index) {
197
- <button
198
- [style.color]="'rgba(var(--ax-color-' + (item.color ?? 'primary)')"
199
- [disabled]="item.disabled"
200
- [class.ax-state-disabled]="item.disabled"
201
- [axRipple]="!item.disabled"
202
- (click)="handleOnItemClick($event, item, row.data)"
203
- >
204
- <ax-icon [icon]="item.icon"></ax-icon>
205
- </button>
206
- } }
180
+ @if (row.data) {
181
+ @for (item of getItems(row.data); track $index) {
182
+ <button
183
+ [style.color]="'rgba(var(--ax-color-' + (item.color ?? 'primary)')"
184
+ [disabled]="item.disabled"
185
+ [class.ax-state-disabled]="item.disabled"
186
+ [axRipple]="!item.disabled"
187
+ (click)="handleOnItemClick($event, item, row.data)"
188
+ >
189
+ <ax-icon [icon]="item.icon"></ax-icon>
190
+ </button>
191
+ }
192
+ }
207
193
  </ng-template>`, isInline: true, dependencies: [{ kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "directive", type: i5.AXRippleDirective, selector: "[axRipple]", inputs: ["axRipple", "axRippleColor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
208
194
  }
209
195
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXRowCommandColumnComponent, decorators: [{
@@ -211,17 +197,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImpor
211
197
  args: [{
212
198
  selector: 'ax-command-column',
213
199
  template: ` <ng-template let-row>
214
- @if (row.data) { @for (item of getItems(row.data); track $index) {
215
- <button
216
- [style.color]="'rgba(var(--ax-color-' + (item.color ?? 'primary)')"
217
- [disabled]="item.disabled"
218
- [class.ax-state-disabled]="item.disabled"
219
- [axRipple]="!item.disabled"
220
- (click)="handleOnItemClick($event, item, row.data)"
221
- >
222
- <ax-icon [icon]="item.icon"></ax-icon>
223
- </button>
224
- } }
200
+ @if (row.data) {
201
+ @for (item of getItems(row.data); track $index) {
202
+ <button
203
+ [style.color]="'rgba(var(--ax-color-' + (item.color ?? 'primary)')"
204
+ [disabled]="item.disabled"
205
+ [class.ax-state-disabled]="item.disabled"
206
+ [axRipple]="!item.disabled"
207
+ (click)="handleOnItemClick($event, item, row.data)"
208
+ >
209
+ <ax-icon [icon]="item.icon"></ax-icon>
210
+ </button>
211
+ }
212
+ }
225
213
  </ng-template>`,
226
214
  encapsulation: ViewEncapsulation.None,
227
215
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -240,4 +228,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImpor
240
228
  }], items: [{
241
229
  type: Input
242
230
  }] } });
243
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm93LWNvbW1hbmQtY29sdW1uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9kYXRhLXRhYmxlL3NyYy9saWIvY29sdW1ucy9yb3ctY29tbWFuZC1jb2x1bW4uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxZQUFZLEVBQ1osS0FBSyxFQUNMLFdBQVcsRUFDWCxTQUFTLEVBQ1QsaUJBQWlCLEVBQ2pCLE1BQU0sR0FDUCxNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUMvRCxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQzs7Ozs7OztBQU1qRSxNQUFNLE9BQWdCLC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ZW1wbGF0ZTtcbiAgfVxuICBnZXQgbmFtZSgpOiBzdHJpbmcge1xuICAgIHJldHVybiAnY2wtaW4tY21kJztcbiAgfVxuXG4gIEBJbnB1dCgpXG4gIGl0ZW1zOiBBWFJvd0NvbW1hbmRJdGVtW10gfCAoKHJvd0RhdGE6IHVua25vd24pID0+IEFYUm93Q29tbWFuZEl0ZW1bXSkgPSBbXTtcblxuICBwcm90ZWN0ZWQgZ2V0SXRlbXMocm93RGF0YTogdW5rbm93bik6IEFYUm93Q29tbWFuZEl0ZW1bXSB7XG4gICAgaWYgKEFycmF5LmlzQXJyYXkodGhpcy5pdGVtcykpIHtcbiAgICAgIHJldHVybiB0aGlzLml0ZW1zO1xuICAgIH0gZWxzZSB0eXBlb2YgdGhpcy5pdGVtcyA9PSAnZnVuY3Rpb24nO1xuICAgIHtcbiAgICAgIHJldHVybiB0aGlzLml0ZW1zKHJvd0RhdGEpO1xuICAgIH1cbiAgICByZXR1cm4gW107XG4gIH1cblxuICBwcm90ZWN0ZWQgaGFuZGxlT25JdGVtQ2xpY2soZTogTW91c2VFdmVudCwgaXRlbTogQVhSb3dDb21tYW5kSXRlbSwgZGF0YTogdW5rbm93bikge1xuICAgIGNvbnN0IGFyZ3M6IEFYUm93Q29tbWFuZEl0ZW1DbGlja0V2ZW50ID0ge1xuICAgICAgY29tcG9uZW50OiB0aGlzLmdyaWQsXG4gICAgICBpc1VzZXJJbnRlcmFjdGlvbjogdHJ1ZSxcbiAgICAgIG5hdGl2ZUV2ZW50OiBlLFxuICAgICAgZGF0YSxcbiAgICAgIG5hbWU6IGl0ZW0ubmFtZSxcbiAgICB9O1xuICAgIHRoaXMub25JdGVtQ2xpY2suZW1pdChhcmdzKTtcbiAgfVxufVxuIl19
@@ -1,6 +1,6 @@
1
1
  import { AXUnsubscriber } from '@acorex/core/utils';
2
- import { ChangeDetectionStrategy, Component, Input, TemplateRef, ViewChild, ViewEncapsulation, inject, } from '@angular/core';
3
- import { AXDataTableComponent } from '../data-table.component';
2
+ import { ChangeDetectionStrategy, Component, Input, TemplateRef, ViewChild, ViewEncapsulation, inject } from '@angular/core';
3
+ import { AXBaseDataTable } from '../base-data-table.class';
4
4
  import { AXDataTableColumnComponent } from './data-table-column';
5
5
  import * as i0 from "@angular/core";
6
6
  import * as i1 from "@angular/common";
@@ -8,7 +8,7 @@ import * as i2 from "@acorex/core/format";
8
8
  export class AXRowIndexColumnComponent extends AXDataTableColumnComponent {
9
9
  constructor() {
10
10
  super(...arguments);
11
- this.grid = inject(AXDataTableComponent);
11
+ this.grid = inject(AXBaseDataTable);
12
12
  this.unsubscriber = inject(AXUnsubscriber);
13
13
  this.padZero = false;
14
14
  this.formatCount = 1;
@@ -22,9 +22,7 @@ export class AXRowIndexColumnComponent extends AXDataTableColumnComponent {
22
22
  }
23
23
  ngOnInit() {
24
24
  if (this.padZero) {
25
- this.grid.dataSource.onChanged
26
- .pipe(this.unsubscriber.takeUntilDestroy)
27
- .subscribe((c) => {
25
+ this.grid.dataSource.onChanged.pipe(this.unsubscriber.takeUntilDestroy).subscribe((c) => {
28
26
  this.formatCount = c.totalCount.toString().length;
29
27
  });
30
28
  }
@@ -43,13 +41,7 @@ export class AXRowIndexColumnComponent extends AXDataTableColumnComponent {
43
41
  useExisting: AXRowIndexColumnComponent,
44
42
  },
45
43
  ], viewQueries: [{ propertyName: "_template", first: true, predicate: TemplateRef, descendants: true }], usesInheritance: true, ngImport: i0, template: ` <ng-template let-row>
46
- {{
47
- row.rowIndex + 1
48
- | format
49
- : 'number'
50
- : { zeroPadLength: this.formatCount, thousandSeparator: false }
51
- | async
52
- }}
44
+ {{ row.rowIndex + 1 | format: 'number' : { zeroPadLength: this.formatCount, thousandSeparator: false } | async }}
53
45
  </ng-template>`, isInline: true, dependencies: [{ kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.AXFormatPipe, name: "format" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
54
46
  }
55
47
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXRowIndexColumnComponent, decorators: [{
@@ -57,13 +49,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImpor
57
49
  args: [{
58
50
  selector: 'ax-index-column',
59
51
  template: ` <ng-template let-row>
60
- {{
61
- row.rowIndex + 1
62
- | format
63
- : 'number'
64
- : { zeroPadLength: this.formatCount, thousandSeparator: false }
65
- | async
66
- }}
52
+ {{ row.rowIndex + 1 | format: 'number' : { zeroPadLength: this.formatCount, thousandSeparator: false } | async }}
67
53
  </ng-template>`,
68
54
  encapsulation: ViewEncapsulation.None,
69
55
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -82,4 +68,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImpor
82
68
  }], padZero: [{
83
69
  type: Input
84
70
  }] } });
85
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm93LWluZGV4LWNvbHVtbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvZGF0YS10YWJsZS9zcmMvbGliL2NvbHVtbnMvcm93LWluZGV4LWNvbHVtbi5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ3BELE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULEtBQUssRUFFTCxXQUFXLEVBQ1gsU0FBUyxFQUNULGlCQUFpQixFQUNqQixNQUFNLEdBQ1AsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDL0QsT0F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ZXgtY29sdW1uJztcbiAgfVxufVxuIl19
@@ -1,11 +1,11 @@
1
- import { ChangeDetectionStrategy, Component, TemplateRef, ViewChild, ViewEncapsulation, inject, } from '@angular/core';
2
- import { AXDataTableComponent } from '../data-table.component';
1
+ import { ChangeDetectionStrategy, Component, TemplateRef, ViewChild, ViewEncapsulation, inject } from '@angular/core';
2
+ import { AXBaseDataTable } from '../base-data-table.class';
3
3
  import { AXDataTableColumnComponent } from './data-table-column';
4
4
  import * as i0 from "@angular/core";
5
5
  export class AXRowSelectColumnComponent extends AXDataTableColumnComponent {
6
6
  constructor() {
7
7
  super(...arguments);
8
- this.grid = inject(AXDataTableComponent);
8
+ this.grid = inject(AXBaseDataTable);
9
9
  }
10
10
  get template() {
11
11
  return this._template;
@@ -34,13 +34,7 @@ export class AXRowSelectColumnComponent extends AXDataTableColumnComponent {
34
34
  useExisting: AXRowSelectColumnComponent,
35
35
  },
36
36
  ], viewQueries: [{ propertyName: "_template", first: true, predicate: TemplateRef, descendants: true }], usesInheritance: true, ngImport: i0, template: ` <ng-template let-row>
37
- <input
38
- class="ax-checkbox"
39
- type="checkbox"
40
- [disabled]="!row.data"
41
- (change)="handleChange(row.data)"
42
- [checked]="isSelected(row.data)"
43
- />
37
+ <input class="ax-checkbox" type="checkbox" [disabled]="!row.data" (change)="handleChange(row.data)" [checked]="isSelected(row.data)" />
44
38
  </ng-template>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
45
39
  }
46
40
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXRowSelectColumnComponent, decorators: [{
@@ -48,13 +42,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImpor
48
42
  args: [{
49
43
  selector: 'ax-select-column',
50
44
  template: ` <ng-template let-row>
51
- <input
52
- class="ax-checkbox"
53
- type="checkbox"
54
- [disabled]="!row.data"
55
- (change)="handleChange(row.data)"
56
- [checked]="isSelected(row.data)"
57
- />
45
+ <input class="ax-checkbox" type="checkbox" [disabled]="!row.data" (change)="handleChange(row.data)" [checked]="isSelected(row.data)" />
58
46
  </ng-template>`,
59
47
  encapsulation: ViewEncapsulation.None,
60
48
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -70,4 +58,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImpor
70
58
  type: ViewChild,
71
59
  args: [TemplateRef]
72
60
  }] } });
73
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm93LXNlbGVjdC1jb2x1bW4uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2RhdGEtdGFibGUvc3JjL2xpYi9jb2x1bW5zL3Jvdy1zZWxlY3QtY29sdW1uLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxXQUFXLEVBQ1gsU0FBUyxFQUNULGlCQUFpQixFQUNqQixNQUFNLEdBQ1AsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDL0QsT0FBTyxFQUFFLDBCQUEwQixFQUFFLE1BQU0scUJBQXFCLENBQUM7O0FBdUJqRSxNQUFNLE9BQU8sMEJBQTJCLFNBQVEsMEJBQTBCO0lBckIxRTs7UUFzQlUsU0FBSSxHQUFHLE1BQU0sQ0FBQyxvQkFBb0IsQ0FBQyxDQUFDO0tBNEI3QztJQXZCQyxJQUFJLFFBQVE7UUFDVixPQUFPLElBQUksQ0FBQyxTQUFTLENBQUM7SUFDeEIsQ0FBQztJQUVELElBQUksSUFBSTtRQUNOLE9BQU8sV0F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