@acorex/components 7.24.5 → 17.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) 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 +2 -2
  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/otp/lib/otp.component.mjs +2 -2
  21. package/esm2022/phone-box/lib/phone-box.component.mjs +21 -38
  22. package/esm2022/select-box/lib/select-box.component.mjs +2 -2
  23. package/esm2022/text-area/lib/text-area.component.mjs +6 -22
  24. package/fesm2022/acorex-components-button.mjs +2 -2
  25. package/fesm2022/acorex-components-button.mjs.map +1 -1
  26. package/fesm2022/acorex-components-common.mjs +8 -2
  27. package/fesm2022/acorex-components-common.mjs.map +1 -1
  28. package/fesm2022/acorex-components-data-pager.mjs +5 -9
  29. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  30. package/fesm2022/acorex-components-data-table.mjs +684 -470
  31. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  32. package/fesm2022/acorex-components-otp.mjs +2 -2
  33. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  34. package/fesm2022/acorex-components-phone-box.mjs +22 -38
  35. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  36. package/fesm2022/acorex-components-select-box.mjs +2 -2
  37. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  38. package/fesm2022/acorex-components-text-area.mjs +5 -21
  39. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  40. package/package.json +25 -31
  41. package/phone-box/lib/phone-box.component.d.ts +4 -13
  42. package/text-area/lib/text-area.component.d.ts +0 -1
  43. package/data-table-2/README.md +0 -3
  44. package/data-table-2/index.d.ts +0 -8
  45. package/data-table-2/lib/columns/data-table-column-resizable.directive.d.ts +0 -22
  46. package/data-table-2/lib/columns/data-table-column.d.ts +0 -22
  47. package/data-table-2/lib/columns/data-text-column.component.d.ts +0 -18
  48. package/data-table-2/lib/columns/row-command-column.component.d.ts +0 -40
  49. package/data-table-2/lib/columns/row-index-column.component.d.ts +0 -18
  50. package/data-table-2/lib/columns/row-select-column.component.d.ts +0 -14
  51. package/data-table-2/lib/data-table-2.component.d.ts +0 -61
  52. package/data-table-2/lib/data-table-2.module.d.ts +0 -24
  53. package/esm2022/data-table/lib/data-table.component.mjs +0 -290
  54. package/esm2022/data-table-2/acorex-components-data-table-2.mjs +0 -5
  55. package/esm2022/data-table-2/index.mjs +0 -9
  56. package/esm2022/data-table-2/lib/columns/data-table-column-resizable.directive.mjs +0 -59
  57. package/esm2022/data-table-2/lib/columns/data-table-column.mjs +0 -42
  58. package/esm2022/data-table-2/lib/columns/data-text-column.component.mjs +0 -81
  59. package/esm2022/data-table-2/lib/columns/row-command-column.component.mjs +0 -231
  60. package/esm2022/data-table-2/lib/columns/row-index-column.component.mjs +0 -71
  61. package/esm2022/data-table-2/lib/columns/row-select-column.component.mjs +0 -61
  62. package/esm2022/data-table-2/lib/data-table-2.component.mjs +0 -211
  63. package/esm2022/data-table-2/lib/data-table-2.module.mjs +0 -94
  64. package/fesm2022/acorex-components-data-table-2.mjs +0 -822
  65. package/fesm2022/acorex-components-data-table-2.mjs.map +0 -1
@@ -1,211 +0,0 @@
1
- import { AXDataSource, MXBaseComponent, convertArrayToDataSource } from '@acorex/components/common';
2
- import { ChangeDetectionStrategy, Component, ContentChildren, EventEmitter, Input, Output, QueryList, TemplateRef, ViewEncapsulation, signal, } from '@angular/core';
3
- import { Subject, buffer, debounceTime, filter } from 'rxjs';
4
- import { AXDataTableColumnComponent } from './columns/data-table-column';
5
- import { AXDataTableTextColumnComponent } from './columns/data-text-column.component';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "@angular/common";
8
- import * as i2 from "@acorex/components/decorators";
9
- import * as i3 from "@acorex/components/skeleton";
10
- import * as i4 from "@acorex/components/data-pager";
11
- export class AXDataTable2Component extends MXBaseComponent {
12
- constructor() {
13
- super(...arguments);
14
- this.displayedRows = signal([]);
15
- this.showHeader = true;
16
- this.stickyHeader = true;
17
- this.itemHeight = 40;
18
- this.fetchDataMode = 'auto';
19
- this.dataSource = convertArrayToDataSource([]);
20
- this.loading = {
21
- enabled: true,
22
- animation: true,
23
- };
24
- this._selectedRows = [];
25
- this.isLoading = true;
26
- this.hasItems = false;
27
- this.totalRows = 0;
28
- this.currentPage = 0;
29
- this.totalPages = 0;
30
- this.startRowIndex = 0;
31
- this.lastIndex = 0;
32
- this.focusedRowChange = new EventEmitter();
33
- this.onRowClick = new EventEmitter();
34
- this.onRowDbClick = new EventEmitter();
35
- this.clickSubject = new Subject();
36
- this.selectedRowsChange = new EventEmitter();
37
- }
38
- ngAfterViewInit() {
39
- this.calculateStickyPositions();
40
- this.cdr.markForCheck();
41
- }
42
- ngOnInit() {
43
- super.ngOnInit();
44
- this.totalRows = this.dataSource.items.length;
45
- this.dataSource.onLoadingChanged.subscribe((data) => {
46
- this.isLoading = data;
47
- });
48
- this.displayedRows.set(new Array(this.dataSource.pageSize));
49
- this.dataSource.onChanged.subscribe((data) => {
50
- this.displayedRows.set(data.items);
51
- this.totalRows = data.totalCount;
52
- this.hasItems = data.totalCount > 0;
53
- });
54
- //
55
- this.clickSubject
56
- .pipe(buffer(this.clickSubject.pipe(debounceTime(250))), filter((clickArray) => clickArray.length === 2))
57
- .subscribe((clickArray) => {
58
- this.handleRowDoubleClick(clickArray[0].event, clickArray[0].item);
59
- });
60
- }
61
- get focusedRow() {
62
- return this._focusedRow;
63
- }
64
- set focusedRow(v) {
65
- this._focusedRow = v;
66
- this.focusedRowChange.emit(v);
67
- }
68
- get selectedRows() {
69
- return this._selectedRows;
70
- }
71
- set selectedRows(v) {
72
- this._selectedRows = v;
73
- this.selectedRowsChange.emit(v);
74
- }
75
- selectRows(...rows) {
76
- this.selectedRows = [...this.selectedRows, ...rows];
77
- }
78
- unSelectRows(...rows) {
79
- this.selectedRows = this.selectedRows.filter((c) => !rows.includes(c));
80
- }
81
- handleRowClick(event, item) {
82
- this.handleRowSingleClick(event, item);
83
- this.clickSubject.next({ event, item });
84
- }
85
- handleRowSingleClick(event, item) {
86
- if (this.focusedRow == item) {
87
- this.focusedRow = null;
88
- }
89
- else {
90
- this.focusedRow = item;
91
- }
92
- //
93
- this.onRowClick.emit({
94
- component: this,
95
- data: item,
96
- isUserInteraction: true,
97
- });
98
- }
99
- onPageChanged(event) {
100
- // this.displayedRows.set(new Array(this.dataSource.pageSize));
101
- this.dataSource.setPage(event.page - 1);
102
- }
103
- handleRowDoubleClick(e, item) {
104
- this.focusedRow = item;
105
- //
106
- this.onRowDbClick.emit({
107
- component: this,
108
- data: item,
109
- isUserInteraction: true,
110
- });
111
- }
112
- handleColumnClick(e, column) {
113
- if (column instanceof AXDataTableTextColumnComponent) {
114
- const sort = this.dataSource.query.sort.find((c) => c.field == column.dataField);
115
- if (!sort) {
116
- this.dataSource.query.sort.push({
117
- field: column.dataField,
118
- dir: 'asc',
119
- });
120
- }
121
- else {
122
- if (sort.dir == 'asc') {
123
- sort.dir = 'desc';
124
- }
125
- else {
126
- this.dataSource.query.sort = this.dataSource.query.sort.filter((c) => c != sort);
127
- }
128
- }
129
- this.refresh();
130
- }
131
- }
132
- getSort(column) {
133
- if (column instanceof AXDataTableTextColumnComponent) {
134
- const sort = this.dataSource.query.sort.find((c) => c.field == column.dataField);
135
- return sort ? (sort.dir == 'asc' ? 'ax-icon-arrow-long-down' : 'ax-icon-arrow-long-up') : undefined;
136
- }
137
- return undefined;
138
- }
139
- refresh() {
140
- this.lastIndex = 0;
141
- this.dataSource.refresh();
142
- }
143
- calculateStickyPositions() {
144
- let totalWidth = 0;
145
- let accumulatedWidthFromStart = 0;
146
- this.columns.forEach((column) => {
147
- const width = parseInt(column.width);
148
- if (!isNaN(width)) {
149
- totalWidth += width;
150
- }
151
- });
152
- this.columns.forEach((column) => {
153
- const width = parseInt(column.width);
154
- if (column.fixed === 'start' && !isNaN(width)) {
155
- column.stickyStart = accumulatedWidthFromStart + 'px';
156
- }
157
- if (!isNaN(width)) {
158
- accumulatedWidthFromStart += width;
159
- }
160
- });
161
- let accumulatedWidthFromEnd = 0;
162
- for (let i = this.columns.length - 1; i >= 0; i--) {
163
- const column = this.columns.get(i);
164
- const width = parseInt(column.width);
165
- if (column.fixed === 'end' && !isNaN(width)) {
166
- column.stickyEnd = accumulatedWidthFromEnd + 'px';
167
- }
168
- if (!isNaN(width)) {
169
- accumulatedWidthFromEnd += width;
170
- }
171
- }
172
- }
173
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXDataTable2Component, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
174
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.2", type: AXDataTable2Component, selector: "ax-data-table-2", inputs: { rowTemplate: "rowTemplate", emptyTemplate: "emptyTemplate", showHeader: "showHeader", stickyHeader: "stickyHeader", itemHeight: "itemHeight", fetchDataMode: "fetchDataMode", dataSource: "dataSource", loading: "loading", focusedRow: "focusedRow", selectedRows: "selectedRows" }, outputs: { focusedRowChange: "focusedRowChange", onRowClick: "onRowClick", onRowDbClick: "onRowDbClick", selectedRowsChange: "selectedRowsChange" }, host: { attributes: { "ngSkipHydration": "true" } }, queries: [{ propertyName: "columns", predicate: AXDataTableColumnComponent }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-header\"> </ng-content>\n<div class=\"ax-data-table-wrapper\">\n <table>\n @if (showHeader) {\n <thead [ngClass]=\"{ 'ax-data-table-sticky-header': stickyHeader }\">\n <tr>\n @for (column of columns; track $index) {\n <th\n [class.ax-interactive]=\"column.allowSorting\"\n (click)=\"column.allowSorting ? handleColumnClick($event, column) : null\"\n [class.ax-data-table-sticky-header-cell]=\"column.fixed && column.width\"\n [class.sticky-end]=\"column.fixed === 'end'\"\n [class.sticky-start]=\"column.fixed === 'start'\"\n [style.width]=\"column.width\"\n [style.--sticky-start]=\"column.stickyStart\"\n [style.--sticky-end]=\"column.stickyEnd\"\n >\n <div class=\"ax-caption\">\n {{ column.caption }}\n @if (getSort(column)) {\n <ax-icon icon=\"ax-icon {{ getSort(column) }}\"></ax-icon>\n }\n </div>\n </th>\n }\n <th></th>\n </tr>\n </thead>\n }\n <tbody>\n @for (row of displayedRows(); track $index) {\n @if (rowTemplate) {\n <ng-container *ngTemplateOutlet=\"rowTemplate; context: { $implicit: { data: row, rowIndex: $index } }\"> </ng-container>\n } @else {\n <tr\n [class.ax-state-focused]=\"focusedRow && row === focusedRow\"\n [attr.data-index]=\"$index\"\n [class.ax-state-selected]=\"selectedRows.includes(row)\"\n style.height=\"{{ itemHeight }}px\"\n (click)=\"handleRowClick($event, row)\"\n >\n @for (c of columns; track c.name) {\n @if (c.cellTemplate) {\n <ng-container *ngTemplateOutlet=\"c.cellTemplate; context: { $implicit: { data: row, rowIndex: $index } }\"> </ng-container>\n } @else {\n <td\n [style.width]=\"c.width\"\n [class.ax-data-table-sticky-body-cell]=\"c.fixed && c.width\"\n [class.sticky-end]=\"c.fixed === 'end'\"\n [class.sticky-start]=\"c.fixed === 'start'\"\n [style.--sticky-start]=\"c.stickyStart\"\n [style.--sticky-end]=\"c.stickyEnd\"\n [attr.data-label]=\"c.caption\"\n tabindex=\"0\"\n [class]=\"c.cssClass\"\n >\n @if (row) {\n <ng-container *ngTemplateOutlet=\"c.template; context: { $implicit: { data: row, rowIndex: $index } }\"></ng-container>\n } @else {\n @if (c.loadingEnabled && loading) {\n <ax-skeleton [animated]=\"loading.animation\"></ax-skeleton>\n }\n }\n </td>\n }\n }\n <td></td>\n </tr>\n }\n }\n </tbody>\n </table>\n</div>\n\n<div class=\"ax-table-footer\" #footerContainer>\n <ax-data-pager (onChanged)=\"onPageChanged($event)\" [total]=\"dataSource.totalCount\" [size]=\"dataSource.pageSize\"></ax-data-pager>\n <ng-content select=\"ax-footer\"> </ng-content>\n</div>\n", styles: ["ax-data-table-2{display:block;height:100%;font-size:.875rem;line-height:1.25rem;border-radius:var(--ax-rounded-border-default);border-width:1px;border-color:rgba(var(--ax-color-border-default))}ax-data-table-2 .ax-data-table-wrapper{overflow:auto;width:100%;max-height:85%;border-radius:var(--ax-rounded-border-default)}ax-data-table-2 .ax-data-table-wrapper table{display:table;height:100%;width:100%;table-layout:fixed;overflow-x:auto}ax-data-table-2 .ax-data-table-wrapper table thead{overflow:hidden;border-start-end-radius:var(--ax-rounded-border-default);border-start-start-radius:var(--ax-rounded-border-default)}ax-data-table-2 .ax-data-table-wrapper table thead th{border-bottom-width:1px;border-inline-end-width:1px;border-style:solid;border-color:rgba(var(--ax-color-border-default));background-color:rgba(var(--ax-color-on-surface));padding:.75rem 1rem;text-align:start;font-weight:500;text-transform:uppercase;position:relative}ax-data-table-2 .ax-data-table-wrapper table thead th.ax-interactive{cursor:pointer}ax-data-table-2 .ax-data-table-wrapper table thead th.ax-interactive:hover{background-color:rgba(var(--ax-color-neutral-200))}ax-data-table-2 .ax-data-table-wrapper table thead th .ax-resize-handle{position:absolute;right:0;top:0;bottom:0;width:4px;cursor:col-resize;background:transparent}ax-data-table-2 .ax-data-table-wrapper table thead th .ax-resize-handle:hover{background-color:rgba(var(--ax-color-neutral-300))}ax-data-table-2 .ax-data-table-wrapper table thead th .ax-caption{display:flex;align-items:center;gap:.5rem}ax-data-table-2 .ax-data-table-wrapper table thead th:last-child{border-inline-end-width:0px}ax-data-table-2 .ax-data-table-wrapper table thead.ax-data-table-sticky-header{position:sticky;top:0;background-color:rgba(var(--ax-color-on-surface));border-top:none;border-bottom:none;z-index:3;box-shadow:1px 0 rgba(var(--ax-color-border-default)),0 -1px rgba(var(--ax-color-border-default))}ax-data-table-2 .ax-data-table-wrapper table thead .ax-data-table-sticky-header-cell{position:sticky;z-index:2;border-inline-start:none;border-inline-end:none}ax-data-table-2 .ax-data-table-wrapper table thead .ax-data-table-sticky-header-cell:has(+:not(ax-data-table-2 .ax-data-table-wrapper table thead .ax-data-table-sticky-header-cell)).sticky-end{box-shadow:inset 1px 0 rgba(var(--ax-color-border-default))}ax-data-table-2 .ax-data-table-wrapper table thead .ax-data-table-sticky-header-cell:has(+:not(ax-data-table-2 .ax-data-table-wrapper table thead .ax-data-table-sticky-header-cell)).sticky-start{box-shadow:inset -1px 0 rgba(var(--ax-color-border-default))}ax-data-table-2 .ax-data-table-wrapper table tbody .ax-data-table-sticky-body-cell{position:sticky;z-index:2;background-color:rgba(var(--ax-color-surface));border-inline-start:none;border-inline-end:none}ax-data-table-2 .ax-data-table-wrapper table tbody .ax-data-table-sticky-body-cell:has(+:not(ax-data-table-2 .ax-data-table-wrapper table tbody .ax-data-table-sticky-body-cell)).sticky-end{box-shadow:inset 1px 0 rgba(var(--ax-color-border-default))}ax-data-table-2 .ax-data-table-wrapper table tbody .ax-data-table-sticky-body-cell:has(+:not(ax-data-table-2 .ax-data-table-wrapper table tbody .ax-data-table-sticky-body-cell)).sticky-start{box-shadow:inset -1px 0 rgba(var(--ax-color-border-default))}ax-data-table-2 .ax-data-table-wrapper table tbody tr:nth-child(2n) td{background-color:rgba(var(--ax-color-on-surface))}ax-data-table-2 .ax-data-table-wrapper table tbody tr:nth-child(2n) ax-skeleton{width:25%}ax-data-table-2 .ax-data-table-wrapper table tbody tr{height:2.5rem}ax-data-table-2 .ax-data-table-wrapper table tbody tr:hover td:not(.ax-index-column){background-color:rgba(var(--ax-color-primary-200))}ax-data-table-2 .ax-data-table-wrapper table tbody tr.ax-state-focused td:not(.ax-index-column){background-color:rgba(var(--ax-color-primary-200));color:rgba(var(--ax-color-primary-fore-tint))}ax-data-table-2 .ax-data-table-wrapper table tbody tr.ax-state-focused:hover td:not(.ax-index-column){background-color:rgba(var(--ax-color-primary-300))}ax-data-table-2 .ax-data-table-wrapper table tbody tr.ax-state-selected td:not(.ax-index-column){background-color:rgba(var(--ax-color-primary-300));color:rgba(var(--ax-color-primary-fore-tint))}ax-data-table-2 .ax-data-table-wrapper table tbody tr.ax-state-selected:hover td:not(.ax-index-column){background-color:rgba(var(--ax-color-primary-400));color:rgba(var(--ax-color-primary-fore))}ax-data-table-2 .ax-data-table-wrapper table tbody td{position:relative;min-width:2rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom-width:1px;border-inline-end-width:1px;border-color:rgba(var(--ax-color-border-default));background-color:rgba(var(--ax-color-surface));padding:.5rem 1rem;vertical-align:middle}ax-data-table-2 .ax-data-table-wrapper table tbody td.ax-index-column{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background-color:rgba(var(--ax-color-on-surface));text-align:center}ax-data-table-2 .ax-data-table-wrapper table tbody td.ax-command-column button.ax-state-disabled{position:relative!important;cursor:not-allowed!important;opacity:.5!important}ax-data-table-2 .ax-data-table-wrapper table tbody td.ax-command-column>div{position:absolute;inset-inline-start:0px;top:50%;display:flex;width:100%;transform:translateY(-50%);align-items:center;justify-content:center}ax-data-table-2 .ax-data-table-wrapper table tbody td.ax-command-column button{position:relative;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:var(--ax-rounded-border-default);border-style:none;border-color:rgba(var(--ax-color-border-default));background-color:transparent;padding:.25rem;line-height:1;color:rgba(var(--ax-color-ghost-fore))}ax-data-table-2 .ax-data-table-wrapper table tbody td.ax-command-column button:hover:not(ax-data-table-2 .ax-data-table-wrapper table tbody td.ax-command-column button:hover.ax-state-selected,ax-data-table-2 .ax-data-table-wrapper table tbody td.ax-command-column button:hover.ax-state-disabled){opacity:.75}ax-data-table-2 .ax-data-table-wrapper table tbody td.ax-command-column button:active{opacity:1}ax-data-table-2 .ax-data-table-wrapper table tbody td.ax-command-column button .ax-ripple{background-color:rgba(var(--ax-color-ghost-fore),.05)}ax-data-table-2 .ax-data-table-wrapper table tbody td:last-child{border-inline-end-width:0px}ax-data-table-2 .ax-data-table-wrapper table tbody td ax-skeleton{height:.875rem;width:33.333333%;border-radius:.375rem}ax-data-table-2 .ax-data-table-wrapper table .sticky-end{inset-inline-end:var(--sticky-end)}ax-data-table-2 .ax-data-table-wrapper table .sticky-start{inset-inline-start:var(--sticky-start)}ax-data-table-2 .ax-table-footer{border-top-width:1px;min-height:15%;border-collapse:collapse;overflow:hidden;border-color:rgba(var(--ax-color-border-default));padding:.5rem .875rem}ax-data-table-2 .ax-table-footer .ax-table-info{display:flex;flex:1 1 0%;align-items:center;justify-content:space-between}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXSkeletonComponent, selector: "ax-skeleton", inputs: ["animated"] }, { kind: "component", type: i4.AXDataPagerComponent, selector: "ax-data-pager", inputs: ["value", "name", "disabled", "readonly", "size", "total", "displayMode"], outputs: ["valueChange", "onValueChanged", "disabledChange", "readonlyChange", "displayModeChange", "onChanged"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
175
- }
176
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXDataTable2Component, decorators: [{
177
- type: Component,
178
- args: [{ selector: 'ax-data-table-2', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { ngSkipHydration: 'true' }, template: "<ng-content select=\"ax-header\"> </ng-content>\n<div class=\"ax-data-table-wrapper\">\n <table>\n @if (showHeader) {\n <thead [ngClass]=\"{ 'ax-data-table-sticky-header': stickyHeader }\">\n <tr>\n @for (column of columns; track $index) {\n <th\n [class.ax-interactive]=\"column.allowSorting\"\n (click)=\"column.allowSorting ? handleColumnClick($event, column) : null\"\n [class.ax-data-table-sticky-header-cell]=\"column.fixed && column.width\"\n [class.sticky-end]=\"column.fixed === 'end'\"\n [class.sticky-start]=\"column.fixed === 'start'\"\n [style.width]=\"column.width\"\n [style.--sticky-start]=\"column.stickyStart\"\n [style.--sticky-end]=\"column.stickyEnd\"\n >\n <div class=\"ax-caption\">\n {{ column.caption }}\n @if (getSort(column)) {\n <ax-icon icon=\"ax-icon {{ getSort(column) }}\"></ax-icon>\n }\n </div>\n </th>\n }\n <th></th>\n </tr>\n </thead>\n }\n <tbody>\n @for (row of displayedRows(); track $index) {\n @if (rowTemplate) {\n <ng-container *ngTemplateOutlet=\"rowTemplate; context: { $implicit: { data: row, rowIndex: $index } }\"> </ng-container>\n } @else {\n <tr\n [class.ax-state-focused]=\"focusedRow && row === focusedRow\"\n [attr.data-index]=\"$index\"\n [class.ax-state-selected]=\"selectedRows.includes(row)\"\n style.height=\"{{ itemHeight }}px\"\n (click)=\"handleRowClick($event, row)\"\n >\n @for (c of columns; track c.name) {\n @if (c.cellTemplate) {\n <ng-container *ngTemplateOutlet=\"c.cellTemplate; context: { $implicit: { data: row, rowIndex: $index } }\"> </ng-container>\n } @else {\n <td\n [style.width]=\"c.width\"\n [class.ax-data-table-sticky-body-cell]=\"c.fixed && c.width\"\n [class.sticky-end]=\"c.fixed === 'end'\"\n [class.sticky-start]=\"c.fixed === 'start'\"\n [style.--sticky-start]=\"c.stickyStart\"\n [style.--sticky-end]=\"c.stickyEnd\"\n [attr.data-label]=\"c.caption\"\n tabindex=\"0\"\n [class]=\"c.cssClass\"\n >\n @if (row) {\n <ng-container *ngTemplateOutlet=\"c.template; context: { $implicit: { data: row, rowIndex: $index } }\"></ng-container>\n } @else {\n @if (c.loadingEnabled && loading) {\n <ax-skeleton [animated]=\"loading.animation\"></ax-skeleton>\n }\n }\n </td>\n }\n }\n <td></td>\n </tr>\n }\n }\n </tbody>\n </table>\n</div>\n\n<div class=\"ax-table-footer\" #footerContainer>\n <ax-data-pager (onChanged)=\"onPageChanged($event)\" [total]=\"dataSource.totalCount\" [size]=\"dataSource.pageSize\"></ax-data-pager>\n <ng-content select=\"ax-footer\"> </ng-content>\n</div>\n", styles: ["ax-data-table-2{display:block;height:100%;font-size:.875rem;line-height:1.25rem;border-radius:var(--ax-rounded-border-default);border-width:1px;border-color:rgba(var(--ax-color-border-default))}ax-data-table-2 .ax-data-table-wrapper{overflow:auto;width:100%;max-height:85%;border-radius:var(--ax-rounded-border-default)}ax-data-table-2 .ax-data-table-wrapper table{display:table;height:100%;width:100%;table-layout:fixed;overflow-x:auto}ax-data-table-2 .ax-data-table-wrapper table thead{overflow:hidden;border-start-end-radius:var(--ax-rounded-border-default);border-start-start-radius:var(--ax-rounded-border-default)}ax-data-table-2 .ax-data-table-wrapper table thead th{border-bottom-width:1px;border-inline-end-width:1px;border-style:solid;border-color:rgba(var(--ax-color-border-default));background-color:rgba(var(--ax-color-on-surface));padding:.75rem 1rem;text-align:start;font-weight:500;text-transform:uppercase;position:relative}ax-data-table-2 .ax-data-table-wrapper table thead th.ax-interactive{cursor:pointer}ax-data-table-2 .ax-data-table-wrapper table thead th.ax-interactive:hover{background-color:rgba(var(--ax-color-neutral-200))}ax-data-table-2 .ax-data-table-wrapper table thead th .ax-resize-handle{position:absolute;right:0;top:0;bottom:0;width:4px;cursor:col-resize;background:transparent}ax-data-table-2 .ax-data-table-wrapper table thead th .ax-resize-handle:hover{background-color:rgba(var(--ax-color-neutral-300))}ax-data-table-2 .ax-data-table-wrapper table thead th .ax-caption{display:flex;align-items:center;gap:.5rem}ax-data-table-2 .ax-data-table-wrapper table thead th:last-child{border-inline-end-width:0px}ax-data-table-2 .ax-data-table-wrapper table thead.ax-data-table-sticky-header{position:sticky;top:0;background-color:rgba(var(--ax-color-on-surface));border-top:none;border-bottom:none;z-index:3;box-shadow:1px 0 rgba(var(--ax-color-border-default)),0 -1px rgba(var(--ax-color-border-default))}ax-data-table-2 .ax-data-table-wrapper table thead .ax-data-table-sticky-header-cell{position:sticky;z-index:2;border-inline-start:none;border-inline-end:none}ax-data-table-2 .ax-data-table-wrapper table thead .ax-data-table-sticky-header-cell:has(+:not(ax-data-table-2 .ax-data-table-wrapper table thead .ax-data-table-sticky-header-cell)).sticky-end{box-shadow:inset 1px 0 rgba(var(--ax-color-border-default))}ax-data-table-2 .ax-data-table-wrapper table thead .ax-data-table-sticky-header-cell:has(+:not(ax-data-table-2 .ax-data-table-wrapper table thead .ax-data-table-sticky-header-cell)).sticky-start{box-shadow:inset -1px 0 rgba(var(--ax-color-border-default))}ax-data-table-2 .ax-data-table-wrapper table tbody .ax-data-table-sticky-body-cell{position:sticky;z-index:2;background-color:rgba(var(--ax-color-surface));border-inline-start:none;border-inline-end:none}ax-data-table-2 .ax-data-table-wrapper table tbody .ax-data-table-sticky-body-cell:has(+:not(ax-data-table-2 .ax-data-table-wrapper table tbody .ax-data-table-sticky-body-cell)).sticky-end{box-shadow:inset 1px 0 rgba(var(--ax-color-border-default))}ax-data-table-2 .ax-data-table-wrapper table tbody .ax-data-table-sticky-body-cell:has(+:not(ax-data-table-2 .ax-data-table-wrapper table tbody .ax-data-table-sticky-body-cell)).sticky-start{box-shadow:inset -1px 0 rgba(var(--ax-color-border-default))}ax-data-table-2 .ax-data-table-wrapper table tbody tr:nth-child(2n) td{background-color:rgba(var(--ax-color-on-surface))}ax-data-table-2 .ax-data-table-wrapper table tbody tr:nth-child(2n) ax-skeleton{width:25%}ax-data-table-2 .ax-data-table-wrapper table tbody tr{height:2.5rem}ax-data-table-2 .ax-data-table-wrapper table tbody tr:hover td:not(.ax-index-column){background-color:rgba(var(--ax-color-primary-200))}ax-data-table-2 .ax-data-table-wrapper table tbody tr.ax-state-focused td:not(.ax-index-column){background-color:rgba(var(--ax-color-primary-200));color:rgba(var(--ax-color-primary-fore-tint))}ax-data-table-2 .ax-data-table-wrapper table tbody tr.ax-state-focused:hover td:not(.ax-index-column){background-color:rgba(var(--ax-color-primary-300))}ax-data-table-2 .ax-data-table-wrapper table tbody tr.ax-state-selected td:not(.ax-index-column){background-color:rgba(var(--ax-color-primary-300));color:rgba(var(--ax-color-primary-fore-tint))}ax-data-table-2 .ax-data-table-wrapper table tbody tr.ax-state-selected:hover td:not(.ax-index-column){background-color:rgba(var(--ax-color-primary-400));color:rgba(var(--ax-color-primary-fore))}ax-data-table-2 .ax-data-table-wrapper table tbody td{position:relative;min-width:2rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom-width:1px;border-inline-end-width:1px;border-color:rgba(var(--ax-color-border-default));background-color:rgba(var(--ax-color-surface));padding:.5rem 1rem;vertical-align:middle}ax-data-table-2 .ax-data-table-wrapper table tbody td.ax-index-column{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background-color:rgba(var(--ax-color-on-surface));text-align:center}ax-data-table-2 .ax-data-table-wrapper table tbody td.ax-command-column button.ax-state-disabled{position:relative!important;cursor:not-allowed!important;opacity:.5!important}ax-data-table-2 .ax-data-table-wrapper table tbody td.ax-command-column>div{position:absolute;inset-inline-start:0px;top:50%;display:flex;width:100%;transform:translateY(-50%);align-items:center;justify-content:center}ax-data-table-2 .ax-data-table-wrapper table tbody td.ax-command-column button{position:relative;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:var(--ax-rounded-border-default);border-style:none;border-color:rgba(var(--ax-color-border-default));background-color:transparent;padding:.25rem;line-height:1;color:rgba(var(--ax-color-ghost-fore))}ax-data-table-2 .ax-data-table-wrapper table tbody td.ax-command-column button:hover:not(ax-data-table-2 .ax-data-table-wrapper table tbody td.ax-command-column button:hover.ax-state-selected,ax-data-table-2 .ax-data-table-wrapper table tbody td.ax-command-column button:hover.ax-state-disabled){opacity:.75}ax-data-table-2 .ax-data-table-wrapper table tbody td.ax-command-column button:active{opacity:1}ax-data-table-2 .ax-data-table-wrapper table tbody td.ax-command-column button .ax-ripple{background-color:rgba(var(--ax-color-ghost-fore),.05)}ax-data-table-2 .ax-data-table-wrapper table tbody td:last-child{border-inline-end-width:0px}ax-data-table-2 .ax-data-table-wrapper table tbody td ax-skeleton{height:.875rem;width:33.333333%;border-radius:.375rem}ax-data-table-2 .ax-data-table-wrapper table .sticky-end{inset-inline-end:var(--sticky-end)}ax-data-table-2 .ax-data-table-wrapper table .sticky-start{inset-inline-start:var(--sticky-start)}ax-data-table-2 .ax-table-footer{border-top-width:1px;min-height:15%;border-collapse:collapse;overflow:hidden;border-color:rgba(var(--ax-color-border-default));padding:.5rem .875rem}ax-data-table-2 .ax-table-footer .ax-table-info{display:flex;flex:1 1 0%;align-items:center;justify-content:space-between}\n"] }]
179
- }], propDecorators: { columns: [{
180
- type: ContentChildren,
181
- args: [AXDataTableColumnComponent]
182
- }], rowTemplate: [{
183
- type: Input
184
- }], emptyTemplate: [{
185
- type: Input
186
- }], showHeader: [{
187
- type: Input
188
- }], stickyHeader: [{
189
- type: Input
190
- }], itemHeight: [{
191
- type: Input
192
- }], fetchDataMode: [{
193
- type: Input
194
- }], dataSource: [{
195
- type: Input
196
- }], loading: [{
197
- type: Input
198
- }], focusedRow: [{
199
- type: Input
200
- }], selectedRows: [{
201
- type: Input
202
- }], focusedRowChange: [{
203
- type: Output
204
- }], onRowClick: [{
205
- type: Output
206
- }], onRowDbClick: [{
207
- type: Output
208
- }], selectedRowsChange: [{
209
- type: Output
210
- }] } });
211
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS10YWJsZS0yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9kYXRhLXRhYmxlLTIvc3JjL2xpYi9kYXRhLXRhYmxlLTIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2RhdGEtdGFibGUtMi9zcmMvbGliL2RhdGEtdGFibGUtMi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFXLGVBQWUsRUFBRSx3QkFBd0IsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBRTdHLE9BQU8sRUFFTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULGVBQWUsRUFDZixZQUFZLEVBQ1osS0FBSyxFQUVMLE1BQU0sRUFDTixTQUFTLEVBQ1QsV0FBVyxFQUNYLGlCQUFpQixFQUVqQixNQUFNLEdBQ1AsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLEVBQUUsWUFBWSxFQUFFLE1BQU0sRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUM3RCxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUN6RSxPQUFPLEVBQUUsOEJBQThCLEVBQUUsTUFBTSxzQ0FBc0MsQ0FBQzs7Ozs7O0FBb0J0RixNQUFNLE9BQU8scUJBQXNCLFNBQVEsZUFBZTtJQVIxRDs7UUFTWSxrQkFBYSxHQUEwQixNQUFNLENBQUMsR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gY29sdW1uKSA6IG51bGxcIlxuICAgICAgICAgICAgICBbY2xhc3MuYXgtZGF0YS10YWJsZS1zdGlja3ktaGVhZGVyLWNlbGxdPVwiY29sdW1uLmZpeGVkICYmIGNvbHVtbi53aWR0aFwiXG4gICAgICAgICAgICAgIFtjbGFzcy5zdGlja3ktZW5kXT1cImNvbHVtbi5maXhlZCA9PT0gJ2VuZCdcIlxuICAgICAgICAgICAgICBbY2xhc3Muc3RpY2t5LXN0YXJ0XT1cImNvbHVtbi5maXhlZCA9PT0gJ3N0YXJ0J1wiXG4gICAgICAgICAgICAgIFtzdHlsZS53aWR0aF09XCJjb2x1bW4ud2lkdGhcIlxuICAgICAgICAgICAgICBbc3R5bGUuLS1zdGlja3ktc3RhcnRdPVwiY29sdW1uLnN0aWNreVN0YXJ0XCJcbiAgICAgICAgICAgICAgW3N0eWxlLi0tc3RpY2t5LWVuZF09XCJjb2x1bW4uc3RpY2t5RW5kXCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImF4LWNhcHRpb25cIj5cbiAgICAgICAgICAgICAgICB7eyBjb2x1bW4uY2FwdGlvbiB9fVxuICAgICAgICAgICAgICAgIEBpZiAoZ2V0U29ydChjb2x1bW4pKSB7XG4gICAgICAgICAgICAgICAgICA8YXgtaWNvbiBpY29uPVwiYXgtaWNvbiB7eyBnZXRTb3J0KGNvbHVtbikgfX1cIj48L2F4LWljb24+XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDwvdGg+XG4gICAgICAgICAgfVxuICAgICAgICAgIDx0aD48L3RoPlxuICAgICAgICA8L3RyPlxuICAgICAgPC90aGVhZD5cbiAgICB9XG4gICAgPHRib2R5PlxuICAgICAgQGZvciAocm93IG9mIGRpc3BsYXllZFJvd3MoKTsgdHJhY2sgJGluZGV4KSB7XG4gICAgICAgIEBpZiAocm93VGVtcGxhdGUpIHtcbiAgICAgICAgICA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwicm93VGVtcGxhdGU7IGNvbnRleHQ6IHsgJGltcGxpY2l0OiB7IGRhdGE6IHJvdywgcm93SW5kZXg6ICRpbmRleCB9IH1cIj4gPC9uZy1jb250YWluZXI+XG4gICAgICAgIH0gQGVsc2Uge1xuICAgICAgICAgIDx0clxuICAgICAgICAgICAgW2NsYXNzLmF4LXN0YXRlLWZvY3VzZWRdPVwiZm9jdXNlZFJvdyAmJiByb3cgPT09IGZvY3VzZWRSb3dcIlxuICAgICAgICAgICAgW2F0dHIuZGF0YS1pbmRleF09XCIkaW5kZXhcIlxuICAgICAgICAgICAgW2NsYXNzLmF4LXN0YXRlLXNlbGVjdGVkXT1cInNlbGVjdGVkUm93cy5pbmNsdWRlcyhyb3cpXCJcbiAgICAgICAgICAgIHN0eWxlLmhlaWdodD1cInt7IGl0ZW1IZWlnaHQgfX1weFwiXG4gICAgICAgICAgICAoY2xpY2spPVwiaGFuZGxlUm93Q2xpY2soJGV2ZW50LCByb3cpXCJcbiAgICAgICAgICA+XG4gICAgICAgICAgICBAZm9yIChjIG9mIGNvbHVtbnM7IHRyYWNrIGMubmFtZSkge1xuICAgICAgICAgICAgICBAaWYgKGMuY2VsbFRlbXBsYXRlKSB7XG4gICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdUZW1wbGF0ZU91dGxldD1cImMuY2VsbFRlbXBsYXRlOyBjb250ZXh0OiB7ICRpbXBsaWNpdDogeyBkYXRhOiByb3csIHJvd0luZGV4OiAkaW5kZXggfSB9XCI+IDwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgICB9IEBlbHNlIHtcbiAgICAgICAgICAgICAgICA8dGRcbiAgICAgICAgICAgICAgICAgIFtzdHlsZS53aWR0aF09XCJjLndpZHRoXCJcbiAgICAgICAgICAgICAgICAgIFtjbGFzcy5heC1kYXRhLXRhYmxlLXN0aWNreS1ib2R5LWNlbGxdPVwiYy5maXhlZCAmJiBjLndpZHRoXCJcbiAgICAgICAgICAgICAgICAgIFtjbGFzcy5zdGlja3ktZW5kXT1cImMuZml4ZWQgPT09ICdlbmQnXCJcbiAgICAgICAgICAgICAgICAgIFtjbGFzcy5zdGlja3ktc3RhcnRdPVwiYy5maXhlZCA9PT0gJ3N0YXJ0J1wiXG4gICAgICAgICAgICAgICAgICBbc3R5bGUuLS1zdGlja3ktc3RhcnRdPVwiYy5zdGlja3lTdGFydFwiXG4gICAgICAgICAgICAgICAgICBbc3R5bGUuLS1zdGlja3ktZW5kXT1cImMuc3RpY2t5RW5kXCJcbiAgICAgICAgICAgICAgICAgIFthdHRyLmRhdGEtbGFiZWxdPVwiYy5jYXB0aW9uXCJcbiAgICAgICAgICAgICAgICAgIHRhYmluZGV4PVwiMFwiXG4gICAgICAgICAgICAgICAgICBbY2xhc3NdPVwiYy5jc3NDbGFzc1wiXG4gICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgQGlmIChyb3cpIHtcbiAgICAgICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdUZW1wbGF0ZU91dGxldD1cImMudGVtcGxhdGU7IGNvbnRleHQ6IHsgJGltcGxpY2l0OiB7IGRhdGE6IHJvdywgcm93SW5kZXg6ICRpbmRleCB9IH1cIj48L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgICAgICAgIH0gQGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICBAaWYgKGMubG9hZGluZ0VuYWJsZWQgJiYgbG9hZGluZykge1xuICAgICAgICAgICAgICAgICAgICAgIDxheC1za2VsZXRvbiBbYW5pbWF0ZWRdPVwibG9hZGluZy5hbmltYXRpb25cIj48L2F4LXNrZWxldG9uPlxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgPC90ZD5cbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgPHRkPjwvdGQ+XG4gICAgICAgICAgPC90cj5cbiAgICAgICAgfVxuICAgICAgfVxuICAgIDwvdGJvZHk+XG4gIDwvdGFibGU+XG48L2Rpdj5cblxuPGRpdiBjbGFzcz1cImF4LXRhYmxlLWZvb3RlclwiICNmb290ZXJDb250YWluZXI+XG4gIDxheC1kYXRhLXBhZ2VyIChvbkNoYW5nZWQpPVwib25QYWdlQ2hhbmdlZCgkZXZlbnQpXCIgW3RvdGFsXT1cImRhdGFTb3VyY2UudG90YWxDb3VudFwiIFtzaXplXT1cImRhdGFTb3VyY2UucGFnZVNpemVcIj48L2F4LWRhdGEtcGFnZXI+XG4gIDxuZy1jb250ZW50IHNlbGVjdD1cImF4LWZvb3RlclwiPiA8L25nLWNvbnRlbnQ+XG48L2Rpdj5cbiJdfQ==
@@ -1,94 +0,0 @@
1
- import { AXButtonModule } from '@acorex/components/button';
2
- import { AXCommonModule, AXRippleDirective } from '@acorex/components/common';
3
- import { AXDataPagerModule } from '@acorex/components/data-pager';
4
- import { AXDecoratorModule } from '@acorex/components/decorators';
5
- import { AXDropdownModule } from '@acorex/components/dropdown';
6
- import { AXLoadingModule } from '@acorex/components/loading';
7
- import { AXResultModule } from '@acorex/components/result';
8
- import { AXSkeletonModule } from '@acorex/components/skeleton';
9
- import { AXFormatModule } from '@acorex/core/format';
10
- import { AXTranslationModule } from '@acorex/core/translation';
11
- import { ScrollingModule } from '@angular/cdk/scrolling';
12
- import { CommonModule } from '@angular/common';
13
- import { NgModule } from '@angular/core';
14
- import { AXDataTableColumnResizableDirective } from './columns/data-table-column-resizable.directive';
15
- import { AXDataTableTextColumnComponent } from './columns/data-text-column.component';
16
- import { AXRowCommandColumnComponent, AXRowDropdownCommandColumnComponent } from './columns/row-command-column.component';
17
- import { AXRowIndexColumnComponent } from './columns/row-index-column.component';
18
- import { AXRowSelectColumnComponent } from './columns/row-select-column.component';
19
- import { AXDataTable2Component } from './data-table-2.component';
20
- import * as i0 from "@angular/core";
21
- const COMPONENT = [
22
- AXDataTable2Component,
23
- AXDataTableTextColumnComponent,
24
- AXRowIndexColumnComponent,
25
- AXRowSelectColumnComponent,
26
- AXRowCommandColumnComponent,
27
- AXRowDropdownCommandColumnComponent,
28
- AXDataTableColumnResizableDirective,
29
- ];
30
- const MODULES = [
31
- CommonModule,
32
- AXCommonModule,
33
- ScrollingModule,
34
- AXTranslationModule,
35
- AXResultModule,
36
- AXLoadingModule,
37
- AXDecoratorModule,
38
- AXSkeletonModule,
39
- AXButtonModule,
40
- AXDropdownModule,
41
- AXFormatModule,
42
- AXDataPagerModule,
43
- AXRippleDirective,
44
- ];
45
- export class AXDataTable2Module {
46
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXDataTable2Module, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
47
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.2", ngImport: i0, type: AXDataTable2Module, declarations: [AXDataTable2Component,
48
- AXDataTableTextColumnComponent,
49
- AXRowIndexColumnComponent,
50
- AXRowSelectColumnComponent,
51
- AXRowCommandColumnComponent,
52
- AXRowDropdownCommandColumnComponent,
53
- AXDataTableColumnResizableDirective], imports: [CommonModule,
54
- AXCommonModule,
55
- ScrollingModule,
56
- AXTranslationModule,
57
- AXResultModule,
58
- AXLoadingModule,
59
- AXDecoratorModule,
60
- AXSkeletonModule,
61
- AXButtonModule,
62
- AXDropdownModule,
63
- AXFormatModule,
64
- AXDataPagerModule,
65
- AXRippleDirective], exports: [AXDataTable2Component,
66
- AXDataTableTextColumnComponent,
67
- AXRowIndexColumnComponent,
68
- AXRowSelectColumnComponent,
69
- AXRowCommandColumnComponent,
70
- AXRowDropdownCommandColumnComponent,
71
- AXDataTableColumnResizableDirective] }); }
72
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXDataTable2Module, imports: [CommonModule,
73
- AXCommonModule,
74
- ScrollingModule,
75
- AXTranslationModule,
76
- AXResultModule,
77
- AXLoadingModule,
78
- AXDecoratorModule,
79
- AXSkeletonModule,
80
- AXButtonModule,
81
- AXDropdownModule,
82
- AXFormatModule,
83
- AXDataPagerModule] }); }
84
- }
85
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXDataTable2Module, decorators: [{
86
- type: NgModule,
87
- args: [{
88
- declarations: [...COMPONENT],
89
- imports: [...MODULES],
90
- exports: [...COMPONENT],
91
- providers: [],
92
- }]
93
- }] });
94
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS10YWJsZS0yLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9kYXRhLXRhYmxlLTIvc3JjL2xpYi9kYXRhLXRhYmxlLTIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUMzRCxPQUFPLEVBQUUsY0FBYyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDOUUsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDbEUsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDbEUsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sNkJBQTZCLENBQUM7QUFDL0QsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQzdELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUMzRCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUMvRCxPQUFPLEVBQUUsY0FB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