@ea-controls/mat-table-extensions 0.0.0 → 16.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/README.md +10 -1
  2. package/fesm2022/ea-controls-mat-table-extensions.mjs +178 -0
  3. package/fesm2022/ea-controls-mat-table-extensions.mjs.map +1 -0
  4. package/index.d.ts +5 -0
  5. package/lib/cell.d.ts +23 -0
  6. package/{projects/mat-table-extensions/src/lib/index.ts → lib/index.d.ts} +3 -3
  7. package/lib/module.d.ts +9 -0
  8. package/lib/row.d.ts +19 -0
  9. package/package.json +30 -35
  10. package/public-api.d.ts +1 -0
  11. package/.editorconfig +0 -17
  12. package/.vscode/extensions.json +0 -4
  13. package/.vscode/launch.json +0 -20
  14. package/.vscode/tasks.json +0 -42
  15. package/angular.json +0 -137
  16. package/projects/mat-table-extensions/README.md +0 -63
  17. package/projects/mat-table-extensions/ng-package.json +0 -7
  18. package/projects/mat-table-extensions/package.json +0 -24
  19. package/projects/mat-table-extensions/src/lib/cell.ts +0 -58
  20. package/projects/mat-table-extensions/src/lib/module.ts +0 -21
  21. package/projects/mat-table-extensions/src/lib/row.ts +0 -38
  22. package/projects/mat-table-extensions/src/public-api.ts +0 -6
  23. package/projects/mat-table-extensions/tsconfig.lib.json +0 -15
  24. package/projects/mat-table-extensions/tsconfig.lib.prod.json +0 -11
  25. package/projects/mat-table-extensions/tsconfig.spec.json +0 -15
  26. package/projects/mat-table-extensions-examples/public/favicon.ico +0 -0
  27. package/projects/mat-table-extensions-examples/src/app/app.component.html +0 -6
  28. package/projects/mat-table-extensions-examples/src/app/app.component.scss +0 -29
  29. package/projects/mat-table-extensions-examples/src/app/app.component.spec.ts +0 -29
  30. package/projects/mat-table-extensions-examples/src/app/app.component.ts +0 -14
  31. package/projects/mat-table-extensions-examples/src/app/app.config.ts +0 -9
  32. package/projects/mat-table-extensions-examples/src/app/app.routes.ts +0 -9
  33. package/projects/mat-table-extensions-examples/src/app/basic/basic.component.html +0 -66
  34. package/projects/mat-table-extensions-examples/src/app/basic/basic.component.scss +0 -0
  35. package/projects/mat-table-extensions-examples/src/app/basic/basic.component.spec.ts +0 -23
  36. package/projects/mat-table-extensions-examples/src/app/basic/basic.component.ts +0 -33
  37. package/projects/mat-table-extensions-examples/src/app/sticky/sticky.component.html +0 -83
  38. package/projects/mat-table-extensions-examples/src/app/sticky/sticky.component.scss +0 -0
  39. package/projects/mat-table-extensions-examples/src/app/sticky/sticky.component.spec.ts +0 -23
  40. package/projects/mat-table-extensions-examples/src/app/sticky/sticky.component.ts +0 -57
  41. package/projects/mat-table-extensions-examples/src/index.html +0 -15
  42. package/projects/mat-table-extensions-examples/src/main.ts +0 -6
  43. package/projects/mat-table-extensions-examples/src/styles.scss +0 -4
  44. package/projects/mat-table-extensions-examples/tsconfig.app.json +0 -15
  45. package/projects/mat-table-extensions-examples/tsconfig.spec.json +0 -15
  46. package/tsconfig.json +0 -35
package/README.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  Angular directives that allows to extend Angular [mat-table](https://material.angular.io/components/table/overview) features
4
4
 
5
+ ## Dependencies
6
+
7
+ 1. @angular version > 16.0.0 (Includes 17 and 18)
8
+ 1. @angular/material ```ng add @angular/material```
9
+
5
10
  ## Multiple Headers/Footer
6
11
 
7
12
  Usually mat-table only allows one header and footer inside [matColumnDef] directive
@@ -58,6 +63,8 @@ With current library, now you can add more of them
58
63
 
59
64
  ```ts
60
65
 
66
+ import { MatExtraTableModule } from '@ea-controls/mat-table-extensions';
67
+
61
68
  export interface PeriodicElement {
62
69
  name: string;
63
70
  position: number;
@@ -157,4 +164,6 @@ export class BasicComponent {
157
164
  <tr mat-footer-row *matExtraFooterRowDef="['position', 'name']; name: 'filter'"></tr>
158
165
 
159
166
  </table>
160
- ```
167
+ ```
168
+
169
+ > Join to my [telegram](https://t.me/+M3Q1VDg0crJlNWUx) group for supporting and commenting
@@ -0,0 +1,178 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, Directive, Input, booleanAttribute, NgModule } from '@angular/core';
3
+ import { MatHeaderCellDef, MatTable, MatColumnDef, MatFooterCellDef, MatTableModule } from '@angular/material/table';
4
+ import { CdkHeaderRowDef, CdkFooterRowDef } from '@angular/cdk/table';
5
+
6
+ class MatExtraHeaderCellDefDirective extends MatHeaderCellDef {
7
+ _table = inject(MatTable);
8
+ _column = inject(MatColumnDef);
9
+ _newColumn;
10
+ _prefix = '';
11
+ set prefix(value) {
12
+ if (value !== this._prefix) {
13
+ this._prefix = value;
14
+ this._newColumn = new MatColumnDef();
15
+ this._newColumn.name = `h_${this._column.name}_${this._prefix}`;
16
+ this._newColumn.sticky = this._column.sticky;
17
+ this._newColumn.stickyEnd = this._column.stickyEnd;
18
+ this._newColumn.cssClassFriendlyName = this._column.cssClassFriendlyName;
19
+ this._newColumn.headerCell = this;
20
+ this._table.addColumnDef(this._newColumn);
21
+ }
22
+ }
23
+ ngOnDestroy() {
24
+ if (this._newColumn)
25
+ this._table.removeColumnDef(this._newColumn);
26
+ }
27
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MatExtraHeaderCellDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
28
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.7", type: MatExtraHeaderCellDefDirective, isStandalone: true, selector: "[matExtraHeaderCellDef]", inputs: { prefix: ["matExtraHeaderCellDef", "prefix"] }, providers: [{ provide: MatHeaderCellDef, useExisting: MatExtraHeaderCellDefDirective }], usesInheritance: true, ngImport: i0 });
29
+ }
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MatExtraHeaderCellDefDirective, decorators: [{
31
+ type: Directive,
32
+ args: [{
33
+ selector: '[matExtraHeaderCellDef]',
34
+ standalone: true,
35
+ providers: [{ provide: MatHeaderCellDef, useExisting: MatExtraHeaderCellDefDirective }]
36
+ }]
37
+ }], propDecorators: { prefix: [{
38
+ type: Input,
39
+ args: [{ alias: 'matExtraHeaderCellDef' }]
40
+ }] } });
41
+ class MatExtraFooterCellDefDirective extends MatFooterCellDef {
42
+ _table = inject(MatTable);
43
+ _column = inject(MatColumnDef);
44
+ _newColumn;
45
+ _prefix = '';
46
+ set prefix(value) {
47
+ if (value !== this._prefix) {
48
+ this._prefix = value;
49
+ this._newColumn = new MatColumnDef();
50
+ this._newColumn.name = `f_${this._column.name}_${this._prefix}`;
51
+ this._newColumn.sticky = this._column.sticky;
52
+ this._newColumn.stickyEnd = this._column.stickyEnd;
53
+ this._newColumn.cssClassFriendlyName = this._column.cssClassFriendlyName;
54
+ this._newColumn.footerCell = this;
55
+ this._table.addColumnDef(this._newColumn);
56
+ }
57
+ }
58
+ ngOnDestroy() {
59
+ if (this._newColumn)
60
+ this._table.removeColumnDef(this._newColumn);
61
+ }
62
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MatExtraFooterCellDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
63
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.7", type: MatExtraFooterCellDefDirective, isStandalone: true, selector: "[matExtraFooterCellDef]", inputs: { prefix: ["matExtraFooterCellDef", "prefix"] }, providers: [{ provide: MatFooterCellDef, useExisting: MatExtraFooterCellDefDirective }], usesInheritance: true, ngImport: i0 });
64
+ }
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MatExtraFooterCellDefDirective, decorators: [{
66
+ type: Directive,
67
+ args: [{
68
+ selector: '[matExtraFooterCellDef]',
69
+ standalone: true,
70
+ providers: [{ provide: MatFooterCellDef, useExisting: MatExtraFooterCellDefDirective }]
71
+ }]
72
+ }], propDecorators: { prefix: [{
73
+ type: Input,
74
+ args: [{ alias: 'matExtraFooterCellDef' }]
75
+ }] } });
76
+
77
+ class MatExtraHeaderRowDefDirective extends CdkHeaderRowDef {
78
+ _prefix = '';
79
+ set prefix(value) {
80
+ if (value !== this._prefix) {
81
+ this._prefix = value;
82
+ this.columns = [...this.columns].map(c => `h_${c}_${this._prefix}`);
83
+ }
84
+ }
85
+ ngOnDestroy() {
86
+ this.columns = [];
87
+ }
88
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MatExtraHeaderRowDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
89
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.7", type: MatExtraHeaderRowDefDirective, isStandalone: true, selector: "[matExtraHeaderRowDef]", inputs: { columns: ["matExtraHeaderRowDef", "columns"], sticky: ["matExtraHeaderRowDefSticky", "sticky", booleanAttribute], prefix: ["matExtraHeaderRowDefName", "prefix"] }, providers: [{ provide: CdkHeaderRowDef, useExisting: MatExtraHeaderRowDefDirective }], usesInheritance: true, ngImport: i0 });
90
+ }
91
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MatExtraHeaderRowDefDirective, decorators: [{
92
+ type: Directive,
93
+ args: [{
94
+ selector: '[matExtraHeaderRowDef]',
95
+ providers: [{ provide: CdkHeaderRowDef, useExisting: MatExtraHeaderRowDefDirective }],
96
+ standalone: true,
97
+ inputs: [
98
+ { name: 'columns', alias: 'matExtraHeaderRowDef' },
99
+ { name: 'sticky', alias: 'matExtraHeaderRowDefSticky', transform: booleanAttribute },
100
+ ],
101
+ }]
102
+ }], propDecorators: { prefix: [{
103
+ type: Input,
104
+ args: [{ alias: 'matExtraHeaderRowDefName' }]
105
+ }] } });
106
+ class MatExtraFooterRowDefDirective extends CdkFooterRowDef {
107
+ _prefix = '';
108
+ set prefix(value) {
109
+ if (value !== this._prefix) {
110
+ this._prefix = value;
111
+ this.columns = [...this.columns].map(c => `f_${c}_${this._prefix}`);
112
+ }
113
+ }
114
+ ngOnDestroy() {
115
+ this.columns = [];
116
+ }
117
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MatExtraFooterRowDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
118
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.7", type: MatExtraFooterRowDefDirective, isStandalone: true, selector: "[matExtraFooterRowDef]", inputs: { columns: ["matExtraFooterRowDef", "columns"], sticky: ["matExtraFooterRowDefSticky", "sticky", booleanAttribute], prefix: ["matExtraFooterRowDefName", "prefix"] }, providers: [{ provide: CdkFooterRowDef, useExisting: MatExtraFooterRowDefDirective }], usesInheritance: true, ngImport: i0 });
119
+ }
120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MatExtraFooterRowDefDirective, decorators: [{
121
+ type: Directive,
122
+ args: [{
123
+ selector: '[matExtraFooterRowDef]',
124
+ providers: [{ provide: CdkFooterRowDef, useExisting: MatExtraFooterRowDefDirective }],
125
+ standalone: true,
126
+ inputs: [
127
+ { name: 'columns', alias: 'matExtraFooterRowDef' },
128
+ { name: 'sticky', alias: 'matExtraFooterRowDefSticky', transform: booleanAttribute },
129
+ ],
130
+ }]
131
+ }], propDecorators: { prefix: [{
132
+ type: Input,
133
+ args: [{ alias: 'matExtraFooterRowDefName' }]
134
+ }] } });
135
+
136
+ class MatExtraTableModule {
137
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MatExtraTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
138
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: MatExtraTableModule, imports: [MatExtraHeaderCellDefDirective,
139
+ MatExtraFooterCellDefDirective,
140
+ MatExtraHeaderRowDefDirective,
141
+ MatExtraFooterRowDefDirective,
142
+ MatTableModule], exports: [MatExtraHeaderCellDefDirective,
143
+ MatExtraFooterCellDefDirective,
144
+ MatExtraHeaderRowDefDirective,
145
+ MatExtraFooterRowDefDirective,
146
+ MatTableModule] });
147
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MatExtraTableModule, imports: [MatTableModule, MatTableModule] });
148
+ }
149
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MatExtraTableModule, decorators: [{
150
+ type: NgModule,
151
+ args: [{
152
+ imports: [
153
+ MatExtraHeaderCellDefDirective,
154
+ MatExtraFooterCellDefDirective,
155
+ MatExtraHeaderRowDefDirective,
156
+ MatExtraFooterRowDefDirective,
157
+ MatTableModule
158
+ ],
159
+ exports: [
160
+ MatExtraHeaderCellDefDirective,
161
+ MatExtraFooterCellDefDirective,
162
+ MatExtraHeaderRowDefDirective,
163
+ MatExtraFooterRowDefDirective,
164
+ MatTableModule
165
+ ],
166
+ }]
167
+ }] });
168
+
169
+ /*
170
+ * Public API Surface of mat-table-extensions
171
+ */
172
+
173
+ /**
174
+ * Generated bundle index. Do not edit.
175
+ */
176
+
177
+ export { MatExtraFooterCellDefDirective, MatExtraFooterRowDefDirective, MatExtraHeaderCellDefDirective, MatExtraHeaderRowDefDirective, MatExtraTableModule };
178
+ //# sourceMappingURL=ea-controls-mat-table-extensions.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ea-controls-mat-table-extensions.mjs","sources":["../../../projects/mat-table-extensions/src/lib/cell.ts","../../../projects/mat-table-extensions/src/lib/row.ts","../../../projects/mat-table-extensions/src/lib/module.ts","../../../projects/mat-table-extensions/src/public-api.ts","../../../projects/mat-table-extensions/src/ea-controls-mat-table-extensions.ts"],"sourcesContent":["import { Directive, inject, Input, OnDestroy } from \"@angular/core\";\r\nimport { MatHeaderCellDef, MatTable, MatColumnDef, MatFooterCellDef } from \"@angular/material/table\";\r\n\r\n@Directive({\r\n selector: '[matExtraHeaderCellDef]',\r\n standalone: true,\r\n providers: [{ provide: MatHeaderCellDef, useExisting: MatExtraHeaderCellDefDirective }]\r\n})\r\nexport class MatExtraHeaderCellDefDirective extends MatHeaderCellDef implements OnDestroy {\r\n\r\n private _table = inject(MatTable);\r\n private _column = inject(MatColumnDef);\r\n private _newColumn?: MatColumnDef;\r\n private _prefix = '';\r\n\r\n @Input({ alias: 'matExtraHeaderCellDef' })\r\n set prefix(value: string) {\r\n if (value !== this._prefix) {\r\n this._prefix = value;\r\n\r\n this._newColumn = new MatColumnDef();\r\n this._newColumn.name = `h_${this._column.name}_${this._prefix}`;\r\n this._newColumn.sticky = this._column.sticky;\r\n this._newColumn.stickyEnd = this._column.stickyEnd;\r\n this._newColumn.cssClassFriendlyName = this._column.cssClassFriendlyName;\r\n this._newColumn.headerCell = this;\r\n this._table.addColumnDef(this._newColumn);\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n if (this._newColumn)\r\n this._table.removeColumnDef(this._newColumn)\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[matExtraFooterCellDef]',\r\n standalone: true,\r\n providers: [{ provide: MatFooterCellDef, useExisting: MatExtraFooterCellDefDirective }]\r\n})\r\nexport class MatExtraFooterCellDefDirective extends MatFooterCellDef implements OnDestroy {\r\n\r\n private _table = inject(MatTable);\r\n private _column = inject(MatColumnDef);\r\n private _newColumn?: MatColumnDef;\r\n private _prefix = '';\r\n\r\n @Input({ alias: 'matExtraFooterCellDef' })\r\n set prefix(value: string) {\r\n if (value !== this._prefix) {\r\n this._prefix = value;\r\n\r\n this._newColumn = new MatColumnDef();\r\n this._newColumn.name = `f_${this._column.name}_${this._prefix}`;\r\n this._newColumn.sticky = this._column.sticky;\r\n this._newColumn.stickyEnd = this._column.stickyEnd;\r\n this._newColumn.cssClassFriendlyName = this._column.cssClassFriendlyName;\r\n this._newColumn.footerCell = this;\r\n this._table.addColumnDef(this._newColumn);\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n if (this._newColumn)\r\n this._table.removeColumnDef(this._newColumn)\r\n }\r\n}","import { CdkHeaderRowDef, CdkFooterRowDef } from \"@angular/cdk/table\";\r\nimport { Directive, booleanAttribute, Input, OnDestroy } from \"@angular/core\";\r\n\r\n@Directive({\r\n selector: '[matExtraHeaderRowDef]',\r\n providers: [{ provide: CdkHeaderRowDef, useExisting: MatExtraHeaderRowDefDirective }],\r\n standalone: true,\r\n inputs: [\r\n { name: 'columns', alias: 'matExtraHeaderRowDef' },\r\n { name: 'sticky', alias: 'matExtraHeaderRowDefSticky', transform: booleanAttribute },\r\n ],\r\n})\r\nexport class MatExtraHeaderRowDefDirective extends CdkHeaderRowDef implements OnDestroy {\r\n\r\n private _prefix = '';\r\n\r\n @Input({ alias: 'matExtraHeaderRowDefName' })\r\n set prefix(value: string) {\r\n if (value !== this._prefix) {\r\n this._prefix = value;\r\n this.columns = [...this.columns].map(c => `h_${c}_${this._prefix}`)\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.columns = [];\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[matExtraFooterRowDef]',\r\n providers: [{ provide: CdkFooterRowDef, useExisting: MatExtraFooterRowDefDirective }],\r\n standalone: true,\r\n inputs: [\r\n { name: 'columns', alias: 'matExtraFooterRowDef' },\r\n { name: 'sticky', alias: 'matExtraFooterRowDefSticky', transform: booleanAttribute },\r\n ],\r\n})\r\nexport class MatExtraFooterRowDefDirective extends CdkFooterRowDef implements OnDestroy {\r\n\r\n private _prefix = '';\r\n\r\n @Input({ alias: 'matExtraFooterRowDefName' })\r\n set prefix(value: string) {\r\n if (value !== this._prefix) {\r\n this._prefix = value;\r\n this.columns = [...this.columns].map(c => `f_${c}_${this._prefix}`)\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.columns = [];\r\n }\r\n}\r\n","import { NgModule } from \"@angular/core\";\r\nimport { MatExtraFooterCellDefDirective, MatExtraFooterRowDefDirective, MatExtraHeaderCellDefDirective, MatExtraHeaderRowDefDirective } from \".\";\r\nimport { MatTableModule } from \"@angular/material/table\";\r\n\r\n@NgModule({\r\n imports: [\r\n MatExtraHeaderCellDefDirective,\r\n MatExtraFooterCellDefDirective,\r\n MatExtraHeaderRowDefDirective,\r\n MatExtraFooterRowDefDirective,\r\n MatTableModule\r\n ],\r\n exports: [\r\n MatExtraHeaderCellDefDirective,\r\n MatExtraFooterCellDefDirective,\r\n MatExtraHeaderRowDefDirective,\r\n MatExtraFooterRowDefDirective,\r\n MatTableModule\r\n ],\r\n})\r\nexport class MatExtraTableModule { }","/*\r\n * Public API Surface of mat-table-extensions\r\n */\r\n\r\n\r\nexport * from './lib';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAQM,MAAO,8BAA+B,SAAQ,gBAAgB,CAAA;AAExD,IAAA,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC;AACzB,IAAA,OAAO,GAAG,MAAM,CAAC,YAAY,CAAC;AAC9B,IAAA,UAAU;IACV,OAAO,GAAG,EAAE;IAEpB,IACI,MAAM,CAAC,KAAa,EAAA;AACpB,QAAA,IAAI,KAAK,KAAK,IAAI,CAAC,OAAO,EAAE;AACxB,YAAA,IAAI,CAAC,OAAO,GAAG,KAAK;AAEpB,YAAA,IAAI,CAAC,UAAU,GAAG,IAAI,YAAY,EAAE;AACpC,YAAA,IAAI,CAAC,UAAU,CAAC,IAAI,GAAG,KAAK,IAAI,CAAC,OAAO,CAAC,IAAI,CAAI,CAAA,EAAA,IAAI,CAAC,OAAO,EAAE;YAC/D,IAAI,CAAC,UAAU,CAAC,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM;YAC5C,IAAI,CAAC,UAAU,CAAC,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS;YAClD,IAAI,CAAC,UAAU,CAAC,oBAAoB,GAAG,IAAI,CAAC,OAAO,CAAC,oBAAoB;AACxE,YAAA,IAAI,CA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;YAC9B,8BAA8B;YAC9B,6BAA6B;YAC7B,6BAA6B;YAC7B,cAAc,CAAA,EAAA,CAAA;wGAGT,mBAAmB,EAAA,OAAA,EAAA,CAVxB,cAAc,EAOd,cAAc,CAAA,EAAA,CAAA;;2FAGT,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAhB/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,8BAA8B;wBAC9B,8BAA8B;wBAC9B,6BAA6B;wBAC7B,6BAA6B;wBAC7B;AACH,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,8BAA8B;wBAC9B,8BAA8B;wBAC9B,6BAA6B;wBAC7B,6BAA6B;wBAC7B;AACH,qBAAA;AACJ,iBAAA;;;ACnBD;;AAEG;;ACFH;;AAEG;;;;"}
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@ea-controls/mat-table-extensions" />
5
+ export * from './public-api';
package/lib/cell.d.ts ADDED
@@ -0,0 +1,23 @@
1
+ import { OnDestroy } from "@angular/core";
2
+ import { MatHeaderCellDef, MatFooterCellDef } from "@angular/material/table";
3
+ import * as i0 from "@angular/core";
4
+ export declare class MatExtraHeaderCellDefDirective extends MatHeaderCellDef implements OnDestroy {
5
+ private _table;
6
+ private _column;
7
+ private _newColumn?;
8
+ private _prefix;
9
+ set prefix(value: string);
10
+ ngOnDestroy(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatExtraHeaderCellDefDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatExtraHeaderCellDefDirective, "[matExtraHeaderCellDef]", never, { "prefix": { "alias": "matExtraHeaderCellDef"; "required": false; }; }, {}, never, never, true, never>;
13
+ }
14
+ export declare class MatExtraFooterCellDefDirective extends MatFooterCellDef implements OnDestroy {
15
+ private _table;
16
+ private _column;
17
+ private _newColumn?;
18
+ private _prefix;
19
+ set prefix(value: string);
20
+ ngOnDestroy(): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatExtraFooterCellDefDirective, never>;
22
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatExtraFooterCellDefDirective, "[matExtraFooterCellDef]", never, { "prefix": { "alias": "matExtraFooterCellDef"; "required": false; }; }, {}, never, never, true, never>;
23
+ }
@@ -1,3 +1,3 @@
1
- export * from './cell';
2
- export * from './row';
3
- export * from './module';
1
+ export * from './cell';
2
+ export * from './row';
3
+ export * from './module';
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./cell";
3
+ import * as i2 from "./row";
4
+ import * as i3 from "@angular/material/table";
5
+ export declare class MatExtraTableModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatExtraTableModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatExtraTableModule, never, [typeof i1.MatExtraHeaderCellDefDirective, typeof i1.MatExtraFooterCellDefDirective, typeof i2.MatExtraHeaderRowDefDirective, typeof i2.MatExtraFooterRowDefDirective, typeof i3.MatTableModule], [typeof i1.MatExtraHeaderCellDefDirective, typeof i1.MatExtraFooterCellDefDirective, typeof i2.MatExtraHeaderRowDefDirective, typeof i2.MatExtraFooterRowDefDirective, typeof i3.MatTableModule]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatExtraTableModule>;
9
+ }
package/lib/row.d.ts ADDED
@@ -0,0 +1,19 @@
1
+ import { CdkHeaderRowDef, CdkFooterRowDef } from "@angular/cdk/table";
2
+ import { OnDestroy } from "@angular/core";
3
+ import * as i0 from "@angular/core";
4
+ export declare class MatExtraHeaderRowDefDirective extends CdkHeaderRowDef implements OnDestroy {
5
+ private _prefix;
6
+ set prefix(value: string);
7
+ ngOnDestroy(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatExtraHeaderRowDefDirective, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatExtraHeaderRowDefDirective, "[matExtraHeaderRowDef]", never, { "columns": { "alias": "matExtraHeaderRowDef"; "required": false; }; "sticky": { "alias": "matExtraHeaderRowDefSticky"; "required": false; }; "prefix": { "alias": "matExtraHeaderRowDefName"; "required": false; }; }, {}, never, never, true, never>;
10
+ static ngAcceptInputType_sticky: unknown;
11
+ }
12
+ export declare class MatExtraFooterRowDefDirective extends CdkFooterRowDef implements OnDestroy {
13
+ private _prefix;
14
+ set prefix(value: string);
15
+ ngOnDestroy(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatExtraFooterRowDefDirective, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatExtraFooterRowDefDirective, "[matExtraFooterRowDef]", never, { "columns": { "alias": "matExtraFooterRowDef"; "required": false; }; "sticky": { "alias": "matExtraFooterRowDefSticky"; "required": false; }; "prefix": { "alias": "matExtraFooterRowDefName"; "required": false; }; }, {}, never, never, true, never>;
18
+ static ngAcceptInputType_sticky: unknown;
19
+ }
package/package.json CHANGED
@@ -1,42 +1,37 @@
1
1
  {
2
2
  "name": "@ea-controls/mat-table-extensions",
3
- "version": "0.0.0",
4
- "scripts": {
5
- "ng": "ng",
6
- "start": "ng serve",
7
- "build": "ng build",
8
- "watch": "ng build --watch --configuration development",
9
- "test": "ng test",
10
- "publish": "ng build mat-table-extensions && npm publish"
3
+ "version": "16.0.1",
4
+ "peerDependencies": {
5
+ "@angular/common": "^16.1.0 || ^17.1.0 || ^18.1.0",
6
+ "@angular/core": "^16.1.0 || ^17.1.0 || ^18.1.0",
7
+ "@angular/material": "^16.1.0 || ^17.1.0 || ^18.1.0",
8
+ "@angular/cdk": "^16.1.0 || ^17.1.0 || ^18.1.0"
11
9
  },
12
- "private": false,
13
10
  "dependencies": {
14
- "@angular/animations": "^19.1.0",
15
- "@angular/cdk": "^19.1.5",
16
- "@angular/common": "^19.1.0",
17
- "@angular/compiler": "^19.1.0",
18
- "@angular/core": "^19.1.0",
19
- "@angular/forms": "^19.1.0",
20
- "@angular/material": "^19.1.5",
21
- "@angular/platform-browser": "^19.1.0",
22
- "@angular/platform-browser-dynamic": "^19.1.0",
23
- "@angular/router": "^19.1.0",
24
- "rxjs": "~7.8.0",
25
- "tslib": "^2.3.0",
26
- "zone.js": "~0.15.0"
11
+ "tslib": "^2.3.0"
27
12
  },
28
- "devDependencies": {
29
- "@angular-devkit/build-angular": "^19.1.8",
30
- "@angular/cli": "^19.1.6",
31
- "@angular/compiler-cli": "^19.1.0",
32
- "@types/jasmine": "~5.1.0",
33
- "jasmine-core": "~5.5.0",
34
- "karma": "~6.4.0",
35
- "karma-chrome-launcher": "~3.2.0",
36
- "karma-coverage": "~2.2.0",
37
- "karma-jasmine": "~5.1.0",
38
- "karma-jasmine-html-reporter": "~2.1.0",
39
- "ng-packagr": "^19.1.0",
40
- "typescript": "~5.7.2"
13
+ "sideEffects": false,
14
+ "publishConfig": {
15
+ "access": "public"
16
+ },
17
+ "keywords": [
18
+ "angular",
19
+ "mat-table",
20
+ "angular-material",
21
+ "cdk",
22
+ "table",
23
+ "grid"
24
+ ],
25
+ "author": "Edwin Arias",
26
+ "module": "fesm2022/ea-controls-mat-table-extensions.mjs",
27
+ "typings": "index.d.ts",
28
+ "exports": {
29
+ "./package.json": {
30
+ "default": "./package.json"
31
+ },
32
+ ".": {
33
+ "types": "./index.d.ts",
34
+ "default": "./fesm2022/ea-controls-mat-table-extensions.mjs"
35
+ }
41
36
  }
42
37
  }
@@ -0,0 +1 @@
1
+ export * from './lib';
package/.editorconfig DELETED
@@ -1,17 +0,0 @@
1
- # Editor configuration, see https://editorconfig.org
2
- root = true
3
-
4
- [*]
5
- charset = utf-8
6
- indent_style = space
7
- indent_size = 2
8
- insert_final_newline = true
9
- trim_trailing_whitespace = true
10
-
11
- [*.ts]
12
- quote_type = single
13
- ij_typescript_use_double_quotes = false
14
-
15
- [*.md]
16
- max_line_length = off
17
- trim_trailing_whitespace = false
@@ -1,4 +0,0 @@
1
- {
2
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846
3
- "recommendations": ["angular.ng-template"]
4
- }
@@ -1,20 +0,0 @@
1
- {
2
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
3
- "version": "0.2.0",
4
- "configurations": [
5
- {
6
- "name": "ng serve",
7
- "type": "chrome",
8
- "request": "launch",
9
- "preLaunchTask": "npm: start",
10
- "url": "http://localhost:4200/"
11
- },
12
- {
13
- "name": "ng test",
14
- "type": "chrome",
15
- "request": "launch",
16
- "preLaunchTask": "npm: test",
17
- "url": "http://localhost:9876/debug.html"
18
- }
19
- ]
20
- }
@@ -1,42 +0,0 @@
1
- {
2
- // For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558
3
- "version": "2.0.0",
4
- "tasks": [
5
- {
6
- "type": "npm",
7
- "script": "start",
8
- "isBackground": true,
9
- "problemMatcher": {
10
- "owner": "typescript",
11
- "pattern": "$tsc",
12
- "background": {
13
- "activeOnStart": true,
14
- "beginsPattern": {
15
- "regexp": "(.*?)"
16
- },
17
- "endsPattern": {
18
- "regexp": "bundle generation complete"
19
- }
20
- }
21
- }
22
- },
23
- {
24
- "type": "npm",
25
- "script": "test",
26
- "isBackground": true,
27
- "problemMatcher": {
28
- "owner": "typescript",
29
- "pattern": "$tsc",
30
- "background": {
31
- "activeOnStart": true,
32
- "beginsPattern": {
33
- "regexp": "(.*?)"
34
- },
35
- "endsPattern": {
36
- "regexp": "bundle generation complete"
37
- }
38
- }
39
- }
40
- }
41
- ]
42
- }
package/angular.json DELETED
@@ -1,137 +0,0 @@
1
- {
2
- "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3
- "version": 1,
4
- "newProjectRoot": "projects",
5
- "projects": {
6
- "mat-table-extensions": {
7
- "projectType": "library",
8
- "root": "projects/mat-table-extensions",
9
- "sourceRoot": "projects/mat-table-extensions/src",
10
- "prefix": "lib",
11
- "architect": {
12
- "build": {
13
- "builder": "@angular-devkit/build-angular:ng-packagr",
14
- "options": {
15
- "project": "projects/mat-table-extensions/ng-package.json"
16
- },
17
- "configurations": {
18
- "production": {
19
- "tsConfig": "projects/mat-table-extensions/tsconfig.lib.prod.json"
20
- },
21
- "development": {
22
- "tsConfig": "projects/mat-table-extensions/tsconfig.lib.json"
23
- }
24
- },
25
- "defaultConfiguration": "production"
26
- },
27
- "test": {
28
- "builder": "@angular-devkit/build-angular:karma",
29
- "options": {
30
- "tsConfig": "projects/mat-table-extensions/tsconfig.spec.json",
31
- "polyfills": [
32
- "zone.js",
33
- "zone.js/testing"
34
- ]
35
- }
36
- }
37
- }
38
- },
39
- "mat-table-extensions-examples": {
40
- "projectType": "application",
41
- "schematics": {
42
- "@schematics/angular:component": {
43
- "style": "scss"
44
- }
45
- },
46
- "root": "projects/mat-table-extensions-examples",
47
- "sourceRoot": "projects/mat-table-extensions-examples/src",
48
- "prefix": "app",
49
- "architect": {
50
- "build": {
51
- "builder": "@angular-devkit/build-angular:application",
52
- "options": {
53
- "outputPath": "dist/mat-table-extensions-examples",
54
- "index": "projects/mat-table-extensions-examples/src/index.html",
55
- "browser": "projects/mat-table-extensions-examples/src/main.ts",
56
- "polyfills": [
57
- "zone.js"
58
- ],
59
- "tsConfig": "projects/mat-table-extensions-examples/tsconfig.app.json",
60
- "inlineStyleLanguage": "scss",
61
- "assets": [
62
- {
63
- "glob": "**/*",
64
- "input": "projects/mat-table-extensions-examples/public"
65
- }
66
- ],
67
- "styles": [
68
- "@angular/material/prebuilt-themes/azure-blue.css",
69
- "projects/mat-table-extensions-examples/src/styles.scss"
70
- ],
71
- "scripts": []
72
- },
73
- "configurations": {
74
- "production": {
75
- "budgets": [
76
- {
77
- "type": "initial",
78
- "maximumWarning": "500kB",
79
- "maximumError": "1MB"
80
- },
81
- {
82
- "type": "anyComponentStyle",
83
- "maximumWarning": "4kB",
84
- "maximumError": "8kB"
85
- }
86
- ],
87
- "outputHashing": "all"
88
- },
89
- "development": {
90
- "optimization": false,
91
- "extractLicenses": false,
92
- "sourceMap": true
93
- }
94
- },
95
- "defaultConfiguration": "production"
96
- },
97
- "serve": {
98
- "builder": "@angular-devkit/build-angular:dev-server",
99
- "configurations": {
100
- "production": {
101
- "buildTarget": "mat-table-extensions-examples:build:production"
102
- },
103
- "development": {
104
- "buildTarget": "mat-table-extensions-examples:build:development"
105
- }
106
- },
107
- "defaultConfiguration": "development"
108
- },
109
- "extract-i18n": {
110
- "builder": "@angular-devkit/build-angular:extract-i18n"
111
- },
112
- "test": {
113
- "builder": "@angular-devkit/build-angular:karma",
114
- "options": {
115
- "polyfills": [
116
- "zone.js",
117
- "zone.js/testing"
118
- ],
119
- "tsConfig": "projects/mat-table-extensions-examples/tsconfig.spec.json",
120
- "inlineStyleLanguage": "scss",
121
- "assets": [
122
- {
123
- "glob": "**/*",
124
- "input": "projects/mat-table-extensions-examples/public"
125
- }
126
- ],
127
- "styles": [
128
- "@angular/material/prebuilt-themes/azure-blue.css",
129
- "projects/mat-table-extensions-examples/src/styles.scss"
130
- ],
131
- "scripts": []
132
- }
133
- }
134
- }
135
- }
136
- }
137
- }