@ea-controls/mat-table-extensions 19.0.2 → 19.0.4

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 +2 -0
  2. package/fesm2022/ea-controls-mat-table-extensions.mjs +146 -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 +18 -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 +16 -0
  9. package/package.json +20 -39
  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 -12
  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
@@ -58,6 +58,8 @@ With current library, now you can add more of them
58
58
 
59
59
  ```ts
60
60
 
61
+ import { MatExtraTableModule } from '@ea-controls/mat-table-extensions';
62
+
61
63
  export interface PeriodicElement {
62
64
  name: string;
63
65
  position: number;
@@ -0,0 +1,146 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, input, effect, Directive, 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
+ _prefix = input('', { alias: 'matExtraHeaderCellDef' });
10
+ constructor() {
11
+ super();
12
+ let column = new MatColumnDef();
13
+ effect(() => {
14
+ if (this._table) {
15
+ column.name = `h_${this._column.name}_${this._prefix()}`;
16
+ column.sticky = this._column.sticky;
17
+ column.stickyEnd = this._column.stickyEnd;
18
+ column.cssClassFriendlyName = this._column.cssClassFriendlyName;
19
+ column.headerCell = this;
20
+ this._table.addColumnDef(column);
21
+ }
22
+ });
23
+ }
24
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MatExtraHeaderCellDefDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
25
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.7", type: MatExtraHeaderCellDefDirective, isStandalone: true, selector: "[matExtraHeaderCellDef]", inputs: { _prefix: { classPropertyName: "_prefix", publicName: "matExtraHeaderCellDef", isSignal: true, isRequired: false, transformFunction: null } }, providers: [{ provide: MatHeaderCellDef, useExisting: MatExtraHeaderCellDefDirective }], usesInheritance: true, ngImport: i0 });
26
+ }
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MatExtraHeaderCellDefDirective, decorators: [{
28
+ type: Directive,
29
+ args: [{
30
+ selector: '[matExtraHeaderCellDef]',
31
+ providers: [{ provide: MatHeaderCellDef, useExisting: MatExtraHeaderCellDefDirective }]
32
+ }]
33
+ }], ctorParameters: () => [] });
34
+ class MatExtraFooterCellDefDirective extends MatFooterCellDef {
35
+ _table = inject(MatTable);
36
+ _column = inject(MatColumnDef);
37
+ _prefix = input('', { alias: 'matExtraFooterCellDef' });
38
+ constructor() {
39
+ super();
40
+ let column = new MatColumnDef();
41
+ effect(() => {
42
+ if (this._table) {
43
+ column.name = `f_${this._column.name}_${this._prefix()}`;
44
+ column.sticky = this._column.sticky;
45
+ column.stickyEnd = this._column.stickyEnd;
46
+ column.cssClassFriendlyName = this._column.cssClassFriendlyName;
47
+ column.footerCell = this;
48
+ this._table.addColumnDef(column);
49
+ }
50
+ });
51
+ }
52
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MatExtraFooterCellDefDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
53
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.7", type: MatExtraFooterCellDefDirective, isStandalone: true, selector: "[matExtraFooterCellDef]", inputs: { _prefix: { classPropertyName: "_prefix", publicName: "matExtraFooterCellDef", isSignal: true, isRequired: false, transformFunction: null } }, providers: [{ provide: MatFooterCellDef, useExisting: MatExtraFooterCellDefDirective }], usesInheritance: true, ngImport: i0 });
54
+ }
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MatExtraFooterCellDefDirective, decorators: [{
56
+ type: Directive,
57
+ args: [{
58
+ selector: '[matExtraFooterCellDef]',
59
+ providers: [{ provide: MatFooterCellDef, useExisting: MatExtraFooterCellDefDirective }]
60
+ }]
61
+ }], ctorParameters: () => [] });
62
+
63
+ class MatExtraHeaderRowDefDirective extends CdkHeaderRowDef {
64
+ _prefix = input.required({ alias: 'matExtraHeaderRowDefName' });
65
+ constructor() {
66
+ super();
67
+ effect(() => this.columns = [...this.columns].map(c => `h_${c}_${this._prefix()}`));
68
+ }
69
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MatExtraHeaderRowDefDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
70
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.7", type: MatExtraHeaderRowDefDirective, isStandalone: true, selector: "[matExtraHeaderRowDef]", inputs: { columns: { classPropertyName: "columns", publicName: "matExtraHeaderRowDef", isSignal: false, isRequired: false, transformFunction: null }, sticky: { classPropertyName: "sticky", publicName: "matExtraHeaderRowDefSticky", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, _prefix: { classPropertyName: "_prefix", publicName: "matExtraHeaderRowDefName", isSignal: true, isRequired: true, transformFunction: null } }, providers: [{ provide: CdkHeaderRowDef, useExisting: MatExtraHeaderRowDefDirective }], usesInheritance: true, ngImport: i0 });
71
+ }
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MatExtraHeaderRowDefDirective, decorators: [{
73
+ type: Directive,
74
+ args: [{
75
+ selector: '[matExtraHeaderRowDef]',
76
+ providers: [{ provide: CdkHeaderRowDef, useExisting: MatExtraHeaderRowDefDirective }],
77
+ inputs: [
78
+ { name: 'columns', alias: 'matExtraHeaderRowDef' },
79
+ { name: 'sticky', alias: 'matExtraHeaderRowDefSticky', transform: booleanAttribute },
80
+ ],
81
+ }]
82
+ }], ctorParameters: () => [] });
83
+ class MatExtraFooterRowDefDirective extends CdkFooterRowDef {
84
+ _prefix = input.required({ alias: 'matExtraFooterRowDefName' });
85
+ constructor() {
86
+ super();
87
+ effect(() => this.columns = [...this.columns].map(c => `f_${c}_${this._prefix()}`));
88
+ }
89
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MatExtraFooterRowDefDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
90
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.7", type: MatExtraFooterRowDefDirective, isStandalone: true, selector: "[matExtraFooterRowDef]", inputs: { columns: { classPropertyName: "columns", publicName: "matExtraFooterRowDef", isSignal: false, isRequired: false, transformFunction: null }, sticky: { classPropertyName: "sticky", publicName: "matExtraFooterRowDefSticky", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, _prefix: { classPropertyName: "_prefix", publicName: "matExtraFooterRowDefName", isSignal: true, isRequired: true, transformFunction: null } }, providers: [{ provide: CdkFooterRowDef, useExisting: MatExtraFooterRowDefDirective }], usesInheritance: true, ngImport: i0 });
91
+ }
92
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MatExtraFooterRowDefDirective, decorators: [{
93
+ type: Directive,
94
+ args: [{
95
+ selector: '[matExtraFooterRowDef]',
96
+ providers: [{ provide: CdkFooterRowDef, useExisting: MatExtraFooterRowDefDirective }],
97
+ inputs: [
98
+ { name: 'columns', alias: 'matExtraFooterRowDef' },
99
+ { name: 'sticky', alias: 'matExtraFooterRowDefSticky', transform: booleanAttribute },
100
+ ],
101
+ }]
102
+ }], ctorParameters: () => [] });
103
+
104
+ class MatExtraTableModule {
105
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MatExtraTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
106
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: MatExtraTableModule, imports: [MatExtraHeaderCellDefDirective,
107
+ MatExtraFooterCellDefDirective,
108
+ MatExtraHeaderRowDefDirective,
109
+ MatExtraFooterRowDefDirective,
110
+ MatTableModule], exports: [MatExtraHeaderCellDefDirective,
111
+ MatExtraFooterCellDefDirective,
112
+ MatExtraHeaderRowDefDirective,
113
+ MatExtraFooterRowDefDirective,
114
+ MatTableModule] });
115
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MatExtraTableModule, imports: [MatTableModule, MatTableModule] });
116
+ }
117
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MatExtraTableModule, decorators: [{
118
+ type: NgModule,
119
+ args: [{
120
+ imports: [
121
+ MatExtraHeaderCellDefDirective,
122
+ MatExtraFooterCellDefDirective,
123
+ MatExtraHeaderRowDefDirective,
124
+ MatExtraFooterRowDefDirective,
125
+ MatTableModule
126
+ ],
127
+ exports: [
128
+ MatExtraHeaderCellDefDirective,
129
+ MatExtraFooterCellDefDirective,
130
+ MatExtraHeaderRowDefDirective,
131
+ MatExtraFooterRowDefDirective,
132
+ MatTableModule
133
+ ],
134
+ }]
135
+ }] });
136
+
137
+ /*
138
+ * Public API Surface of mat-table-extensions
139
+ */
140
+
141
+ /**
142
+ * Generated bundle index. Do not edit.
143
+ */
144
+
145
+ export { MatExtraFooterCellDefDirective, MatExtraFooterRowDefDirective, MatExtraHeaderCellDefDirective, MatExtraHeaderRowDefDirective, MatExtraTableModule };
146
+ //# 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, effect } from \"@angular/core\";\r\nimport { MatHeaderCellDef, MatTable, MatColumnDef, MatFooterCellDef } from \"@angular/material/table\";\r\n\r\n@Directive({\r\n selector: '[matExtraHeaderCellDef]',\r\n providers: [{ provide: MatHeaderCellDef, useExisting: MatExtraHeaderCellDefDirective }]\r\n})\r\nexport class MatExtraHeaderCellDefDirective extends MatHeaderCellDef {\r\n\r\n private _table = inject(MatTable);\r\n private _column = inject(MatColumnDef);\r\n public _prefix = input('', { alias: 'matExtraHeaderCellDef' })\r\n\r\n constructor() {\r\n super();\r\n\r\n let column = new MatColumnDef();\r\n\r\n effect(() => {\r\n if (this._table) {\r\n column.name = `h_${this._column.name}_${this._prefix()}`;\r\n column.sticky = this._column.sticky;\r\n column.stickyEnd = this._column.stickyEnd;\r\n column.cssClassFriendlyName = this._column.cssClassFriendlyName;\r\n column.headerCell = this;\r\n this._table.addColumnDef(column);\r\n }\r\n });\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[matExtraFooterCellDef]',\r\n providers: [{ provide: MatFooterCellDef, useExisting: MatExtraFooterCellDefDirective }]\r\n})\r\nexport class MatExtraFooterCellDefDirective extends MatFooterCellDef {\r\n\r\n private _table = inject(MatTable);\r\n private _column = inject(MatColumnDef);\r\n public _prefix = input('', { alias: 'matExtraFooterCellDef' })\r\n\r\n constructor() {\r\n super();\r\n\r\n let column = new MatColumnDef();\r\n\r\n effect(() => {\r\n if (this._table) {\r\n column.name = `f_${this._column.name}_${this._prefix()}`;\r\n column.sticky = this._column.sticky;\r\n column.stickyEnd = this._column.stickyEnd;\r\n column.cssClassFriendlyName = this._column.cssClassFriendlyName;\r\n column.footerCell = this;\r\n this._table.addColumnDef(column);\r\n }\r\n });\r\n }\r\n}","import { CdkHeaderRowDef, CdkFooterRowDef } from \"@angular/cdk/table\";\r\nimport { Directive, booleanAttribute, input, effect } from \"@angular/core\";\r\n\r\n@Directive({\r\n selector: '[matExtraHeaderRowDef]',\r\n providers: [{ provide: CdkHeaderRowDef, useExisting: MatExtraHeaderRowDefDirective }],\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 {\r\n\r\n public _prefix = input.required({ alias: 'matExtraHeaderRowDefName' })\r\n\r\n constructor() {\r\n super();\r\n effect(() => this.columns = [...this.columns].map(c => `h_${c}_${this._prefix()}`));\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[matExtraFooterRowDef]',\r\n providers: [{ provide: CdkFooterRowDef, useExisting: MatExtraFooterRowDefDirective }],\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 {\r\n\r\n public _prefix = input.required({ alias: 'matExtraFooterRowDefName' })\r\n\r\n constructor() {\r\n super();\r\n effect(() => this.columns = [...this.columns].map(c => `f_${c}_${this._prefix()}`));\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":";;;;;AAOM,MAAO,8BAA+B,SAAQ,gBAAgB,CAAA;AAExD,IAAA,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC;AACzB,IAAA,OAAO,GAAG,MAAM,CAAC,YAAY,CAAC;IAC/B,OAAO,GAAG,KAAK,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,uBAAuB,EAAE,CAAC;AAE9D,IAAA,WAAA,GAAA;AACI,QAAA,KAAK,EAAE;AAEP,QAAA,IAAI,MAAM,GAAG,IAAI,YAAY,EAAE;QAE/B,MAAM,CAAC,MAAK;AACR,YAAA,IAAI,IAAI,CAAC,MAAM,EAAE;AACb,gBAAA,MAAM,CAAC,IAAI,GAAG,CAAA,EAAA,EAAK,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE;gBACxD,MAAM,CAAC,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM;gBACnC,MAAM,CAAC,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS;gBACzC,MAAM,CAAC,oBAAoB,GAAG,IAAI,CAAC,OAAO,CAAC,oBAAoB;AAC/D,gBAAA,MAAM,CAAC,UAAU,GAAG,IAAI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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,18 @@
1
+ import { MatHeaderCellDef, MatFooterCellDef } from "@angular/material/table";
2
+ import * as i0 from "@angular/core";
3
+ export declare class MatExtraHeaderCellDefDirective extends MatHeaderCellDef {
4
+ private _table;
5
+ private _column;
6
+ _prefix: import("@angular/core").InputSignal<string>;
7
+ constructor();
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatExtraHeaderCellDefDirective, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatExtraHeaderCellDefDirective, "[matExtraHeaderCellDef]", never, { "_prefix": { "alias": "matExtraHeaderCellDef"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
10
+ }
11
+ export declare class MatExtraFooterCellDefDirective extends MatFooterCellDef {
12
+ private _table;
13
+ private _column;
14
+ _prefix: import("@angular/core").InputSignal<string>;
15
+ constructor();
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatExtraFooterCellDefDirective, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatExtraFooterCellDefDirective, "[matExtraFooterCellDef]", never, { "_prefix": { "alias": "matExtraFooterCellDef"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
18
+ }
@@ -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,16 @@
1
+ import { CdkHeaderRowDef, CdkFooterRowDef } from "@angular/cdk/table";
2
+ import * as i0 from "@angular/core";
3
+ export declare class MatExtraHeaderRowDefDirective extends CdkHeaderRowDef {
4
+ _prefix: import("@angular/core").InputSignal<unknown>;
5
+ constructor();
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatExtraHeaderRowDefDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatExtraHeaderRowDefDirective, "[matExtraHeaderRowDef]", never, { "columns": { "alias": "matExtraHeaderRowDef"; "required": false; }; "sticky": { "alias": "matExtraHeaderRowDefSticky"; "required": false; }; "_prefix": { "alias": "matExtraHeaderRowDefName"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
8
+ static ngAcceptInputType_sticky: unknown;
9
+ }
10
+ export declare class MatExtraFooterRowDefDirective extends CdkFooterRowDef {
11
+ _prefix: import("@angular/core").InputSignal<unknown>;
12
+ constructor();
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatExtraFooterRowDefDirective, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatExtraFooterRowDefDirective, "[matExtraFooterRowDef]", never, { "columns": { "alias": "matExtraFooterRowDef"; "required": false; }; "sticky": { "alias": "matExtraFooterRowDefSticky"; "required": false; }; "_prefix": { "alias": "matExtraFooterRowDefName"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
15
+ static ngAcceptInputType_sticky: unknown;
16
+ }
package/package.json CHANGED
@@ -1,46 +1,16 @@
1
1
  {
2
2
  "name": "@ea-controls/mat-table-extensions",
3
- "version": "19.0.2",
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"
11
- },
12
- "private": false,
13
- "publishConfig": {
14
- "access": "public"
3
+ "version": "19.0.4",
4
+ "peerDependencies": {
5
+ "@angular/common": "^19.1.0",
6
+ "@angular/core": "^19.1.0"
15
7
  },
16
8
  "dependencies": {
17
- "@angular/animations": "^19.1.0",
18
- "@angular/cdk": "^19.1.5",
19
- "@angular/common": "^19.1.0",
20
- "@angular/compiler": "^19.1.0",
21
- "@angular/core": "^19.1.0",
22
- "@angular/forms": "^19.1.0",
23
- "@angular/material": "^19.1.5",
24
- "@angular/platform-browser": "^19.1.0",
25
- "@angular/platform-browser-dynamic": "^19.1.0",
26
- "@angular/router": "^19.1.0",
27
- "rxjs": "~7.8.0",
28
- "tslib": "^2.3.0",
29
- "zone.js": "~0.15.0"
9
+ "tslib": "^2.3.0"
30
10
  },
31
- "devDependencies": {
32
- "@angular-devkit/build-angular": "^19.1.8",
33
- "@angular/cli": "^19.1.6",
34
- "@angular/compiler-cli": "^19.1.0",
35
- "@types/jasmine": "~5.1.0",
36
- "jasmine-core": "~5.5.0",
37
- "karma": "~6.4.0",
38
- "karma-chrome-launcher": "~3.2.0",
39
- "karma-coverage": "~2.2.0",
40
- "karma-jasmine": "~5.1.0",
41
- "karma-jasmine-html-reporter": "~2.1.0",
42
- "ng-packagr": "^19.1.0",
43
- "typescript": "~5.7.2"
11
+ "sideEffects": false,
12
+ "publishConfig": {
13
+ "access": "public"
44
14
  },
45
15
  "keywords": [
46
16
  "angular",
@@ -50,5 +20,16 @@
50
20
  "table",
51
21
  "grid"
52
22
  ],
53
- "author": "Edwin Arias"
23
+ "author": "Edwin Arias",
24
+ "module": "fesm2022/ea-controls-mat-table-extensions.mjs",
25
+ "typings": "index.d.ts",
26
+ "exports": {
27
+ "./package.json": {
28
+ "default": "./package.json"
29
+ },
30
+ ".": {
31
+ "types": "./index.d.ts",
32
+ "default": "./fesm2022/ea-controls-mat-table-extensions.mjs"
33
+ }
34
+ }
54
35
  }
@@ -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
- }
@@ -1,63 +0,0 @@
1
- # MatTableExtensions
2
-
3
- This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.1.0.
4
-
5
- ## Code scaffolding
6
-
7
- Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
8
-
9
- ```bash
10
- ng generate component component-name
11
- ```
12
-
13
- For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
14
-
15
- ```bash
16
- ng generate --help
17
- ```
18
-
19
- ## Building
20
-
21
- To build the library, run:
22
-
23
- ```bash
24
- ng build mat-table-extensions
25
- ```
26
-
27
- This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
28
-
29
- ### Publishing the Library
30
-
31
- Once the project is built, you can publish your library by following these steps:
32
-
33
- 1. Navigate to the `dist` directory:
34
- ```bash
35
- cd dist/mat-table-extensions
36
- ```
37
-
38
- 2. Run the `npm publish` command to publish your library to the npm registry:
39
- ```bash
40
- npm publish
41
- ```
42
-
43
- ## Running unit tests
44
-
45
- To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
46
-
47
- ```bash
48
- ng test
49
- ```
50
-
51
- ## Running end-to-end tests
52
-
53
- For end-to-end (e2e) testing, run:
54
-
55
- ```bash
56
- ng e2e
57
- ```
58
-
59
- Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
60
-
61
- ## Additional Resources
62
-
63
- For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
@@ -1,7 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
- "dest": "../../dist/mat-table-extensions",
4
- "lib": {
5
- "entryFile": "src/public-api.ts"
6
- }
7
- }
@@ -1,12 +0,0 @@
1
- {
2
- "name": "mat-table-extensions",
3
- "version": "0.0.1",
4
- "peerDependencies": {
5
- "@angular/common": "^19.1.0",
6
- "@angular/core": "^19.1.0"
7
- },
8
- "dependencies": {
9
- "tslib": "^2.3.0"
10
- },
11
- "sideEffects": false
12
- }