mat-table-ext 0.0.9 → 0.0.10

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 (89) hide show
  1. package/esm2020/lib/components/column-pinning/column-pinning.component.mjs +58 -0
  2. package/esm2020/lib/components/editing/editing.component.mjs +122 -0
  3. package/esm2020/lib/components/filter-columns-component/filter-columns-component.component.mjs +68 -0
  4. package/esm2020/lib/directives/resize-column.directive.mjs +99 -0
  5. package/esm2020/lib/mat-table-ext.component.mjs +1020 -0
  6. package/esm2020/lib/mat-table-ext.module.mjs +237 -0
  7. package/esm2020/lib/mat-table-ext.service.mjs +20 -0
  8. package/esm2020/lib/models/tableExtModels.mjs +2 -0
  9. package/esm2020/mat-table-ext.mjs +5 -0
  10. package/esm2020/public-api.mjs +11 -0
  11. package/fesm2015/mat-table-ext.mjs +1584 -0
  12. package/fesm2015/mat-table-ext.mjs.map +1 -0
  13. package/fesm2020/mat-table-ext.mjs +1581 -0
  14. package/fesm2020/mat-table-ext.mjs.map +1 -0
  15. package/index.d.ts +5 -0
  16. package/lib/components/column-pinning/column-pinning.component.d.ts +27 -0
  17. package/lib/components/editing/editing.component.d.ts +42 -0
  18. package/lib/components/filter-columns-component/filter-columns-component.component.d.ts +26 -0
  19. package/lib/directives/resize-column.directive.d.ts +27 -0
  20. package/lib/mat-table-ext.component.d.ts +348 -0
  21. package/lib/mat-table-ext.module.d.ts +58 -0
  22. package/lib/mat-table-ext.service.d.ts +11 -0
  23. package/lib/models/tableExtModels.d.ts +76 -0
  24. package/package.json +58 -46
  25. package/{projects/mat-table-ext/src/public-api.ts → public-api.d.ts} +1 -5
  26. package/.editorconfig +0 -16
  27. package/.vscode/extensions.json +0 -4
  28. package/.vscode/launch.json +0 -20
  29. package/.vscode/tasks.json +0 -42
  30. package/LICENSE +0 -21
  31. package/angular.json +0 -150
  32. package/projects/mat-table-ext/.browserslistrc +0 -16
  33. package/projects/mat-table-ext/README.md +0 -57
  34. package/projects/mat-table-ext/karma.conf.js +0 -44
  35. package/projects/mat-table-ext/ng-package.json +0 -9
  36. package/projects/mat-table-ext/package.json +0 -38
  37. package/projects/mat-table-ext/src/lib/components/column-pinning/column-pinning.component.html +0 -7
  38. package/projects/mat-table-ext/src/lib/components/column-pinning/column-pinning.component.scss +0 -9
  39. package/projects/mat-table-ext/src/lib/components/column-pinning/column-pinning.component.spec.ts +0 -23
  40. package/projects/mat-table-ext/src/lib/components/column-pinning/column-pinning.component.ts +0 -48
  41. package/projects/mat-table-ext/src/lib/components/editing/editing.component.html +0 -55
  42. package/projects/mat-table-ext/src/lib/components/editing/editing.component.scss +0 -19
  43. package/projects/mat-table-ext/src/lib/components/editing/editing.component.spec.ts +0 -23
  44. package/projects/mat-table-ext/src/lib/components/editing/editing.component.ts +0 -110
  45. package/projects/mat-table-ext/src/lib/components/filter-columns-component/filter-columns-component.component.html +0 -26
  46. package/projects/mat-table-ext/src/lib/components/filter-columns-component/filter-columns-component.component.scss +0 -0
  47. package/projects/mat-table-ext/src/lib/components/filter-columns-component/filter-columns-component.component.spec.ts +0 -23
  48. package/projects/mat-table-ext/src/lib/components/filter-columns-component/filter-columns-component.component.ts +0 -54
  49. package/projects/mat-table-ext/src/lib/directives/resize-column.directive.ts +0 -103
  50. package/projects/mat-table-ext/src/lib/mat-table-ext.component.html +0 -285
  51. package/projects/mat-table-ext/src/lib/mat-table-ext.component.spec.ts +0 -25
  52. package/projects/mat-table-ext/src/lib/mat-table-ext.component.ts +0 -985
  53. package/projects/mat-table-ext/src/lib/mat-table-ext.module.ts +0 -127
  54. package/projects/mat-table-ext/src/lib/mat-table-ext.scss +0 -181
  55. package/projects/mat-table-ext/src/lib/mat-table-ext.service.spec.ts +0 -16
  56. package/projects/mat-table-ext/src/lib/mat-table-ext.service.ts +0 -12
  57. package/projects/mat-table-ext/src/lib/models/tableExtModels.ts +0 -85
  58. package/projects/mat-table-ext/src/test.ts +0 -27
  59. package/projects/mat-table-ext/tsconfig.lib.json +0 -15
  60. package/projects/mat-table-ext/tsconfig.lib.prod.json +0 -10
  61. package/projects/mat-table-ext/tsconfig.spec.json +0 -17
  62. package/projects/mat-table-ext-example/.browserslistrc +0 -16
  63. package/projects/mat-table-ext-example/karma.conf.js +0 -44
  64. package/projects/mat-table-ext-example/src/app/app.component.html +0 -576
  65. package/projects/mat-table-ext-example/src/app/app.component.scss +0 -0
  66. package/projects/mat-table-ext-example/src/app/app.component.spec.ts +0 -31
  67. package/projects/mat-table-ext-example/src/app/app.component.ts +0 -173
  68. package/projects/mat-table-ext-example/src/app/app.module.ts +0 -40
  69. package/projects/mat-table-ext-example/src/app/service/custom-table.service.spec.ts +0 -16
  70. package/projects/mat-table-ext-example/src/app/service/custom-table.service.ts +0 -18
  71. package/projects/mat-table-ext-example/src/assets/.gitkeep +0 -0
  72. package/projects/mat-table-ext-example/src/assets/data.json +0 -100003
  73. package/projects/mat-table-ext-example/src/environments/environment.prod.ts +0 -3
  74. package/projects/mat-table-ext-example/src/environments/environment.ts +0 -16
  75. package/projects/mat-table-ext-example/src/favicon.ico +0 -0
  76. package/projects/mat-table-ext-example/src/index.html +0 -14
  77. package/projects/mat-table-ext-example/src/main.ts +0 -12
  78. package/projects/mat-table-ext-example/src/polyfills.ts +0 -53
  79. package/projects/mat-table-ext-example/src/styles.scss +0 -23
  80. package/projects/mat-table-ext-example/src/test.ts +0 -26
  81. package/projects/mat-table-ext-example/tsconfig.app.json +0 -15
  82. package/projects/mat-table-ext-example/tsconfig.spec.json +0 -18
  83. package/tsconfig.json +0 -38
  84. /package/{projects/mat-table-ext/assets → assets}/_theming.scss +0 -0
  85. /package/{projects/mat-table-ext/assets → assets}/pinIcon.svg +0 -0
  86. /package/{projects/mat-table-ext/assets → assets}/pinLeft.svg +0 -0
  87. /package/{projects/mat-table-ext/assets → assets}/pinNone.svg +0 -0
  88. /package/{projects/mat-table-ext/assets → assets}/pinRight.svg +0 -0
  89. /package/{projects/mat-table-ext/assets → assets}/pinned.svg +0 -0
@@ -1,3 +0,0 @@
1
- export const environment = {
2
- production: true
3
- };
@@ -1,16 +0,0 @@
1
- // This file can be replaced during build by using the `fileReplacements` array.
2
- // `ng build` replaces `environment.ts` with `environment.prod.ts`.
3
- // The list of file replacements can be found in `angular.json`.
4
-
5
- export const environment = {
6
- production: false
7
- };
8
-
9
- /*
10
- * For easier debugging in development mode, you can import the following file
11
- * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
12
- *
13
- * This import should be commented out in production mode because it will have a negative impact
14
- * on performance if an error is thrown.
15
- */
16
- // import 'zone.js/plugins/zone-error'; // Included with Angular CLI.
@@ -1,14 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <title>MatTableExtExample</title>
6
- <base href="/">
7
- <meta name="viewport" content="width=device-width, initial-scale=1">
8
- <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
9
- <link rel="icon" type="image/x-icon" href="favicon.ico">
10
- </head>
11
- <body>
12
- <app-root></app-root>
13
- </body>
14
- </html>
@@ -1,12 +0,0 @@
1
- import { enableProdMode } from '@angular/core';
2
- import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3
-
4
- import { AppModule } from './app/app.module';
5
- import { environment } from './environments/environment';
6
-
7
- if (environment.production) {
8
- enableProdMode();
9
- }
10
-
11
- platformBrowserDynamic().bootstrapModule(AppModule)
12
- .catch(err => console.error(err));
@@ -1,53 +0,0 @@
1
- /**
2
- * This file includes polyfills needed by Angular and is loaded before the app.
3
- * You can add your own extra polyfills to this file.
4
- *
5
- * This file is divided into 2 sections:
6
- * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
7
- * 2. Application imports. Files imported after ZoneJS that should be loaded before your main
8
- * file.
9
- *
10
- * The current setup is for so-called "evergreen" browsers; the last versions of browsers that
11
- * automatically update themselves. This includes recent versions of Safari, Chrome (including
12
- * Opera), Edge on the desktop, and iOS and Chrome on mobile.
13
- *
14
- * Learn more in https://angular.io/guide/browser-support
15
- */
16
-
17
- /***************************************************************************************************
18
- * BROWSER POLYFILLS
19
- */
20
-
21
- /**
22
- * By default, zone.js will patch all possible macroTask and DomEvents
23
- * user can disable parts of macroTask/DomEvents patch by setting following flags
24
- * because those flags need to be set before `zone.js` being loaded, and webpack
25
- * will put import in the top of bundle, so user need to create a separate file
26
- * in this directory (for example: zone-flags.ts), and put the following flags
27
- * into that file, and then add the following code before importing zone.js.
28
- * import './zone-flags';
29
- *
30
- * The flags allowed in zone-flags.ts are listed here.
31
- *
32
- * The following flags will work for all browsers.
33
- *
34
- * (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
35
- * (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
36
- * (window as any).__zone_symbol__UNPATCHED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
37
- *
38
- * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
39
- * with the following flag, it will bypass `zone.js` patch for IE/Edge
40
- *
41
- * (window as any).__Zone_enable_cross_context_check = true;
42
- *
43
- */
44
-
45
- /***************************************************************************************************
46
- * Zone JS is required by default for Angular itself.
47
- */
48
- import 'zone.js'; // Included with Angular CLI.
49
-
50
-
51
- /***************************************************************************************************
52
- * APPLICATION IMPORTS
53
- */
@@ -1,23 +0,0 @@
1
- /* You can add global styles to this file, and also import other style files */
2
- @use '../../../node_modules/mat-table-ext-sammmm/assets/theming' as mtx;
3
- @use '@angular/material' as mat;
4
- // Plus imports for other components in your app.
5
- @include mat.core();
6
-
7
- // Define the default (light) theme.
8
- $candy-app-primary: mat.define-palette(mat.$green-palette);
9
- $candy-app-accent: mat.define-palette(mat.$purple-palette, A200, A100, A400);
10
- $candy-app-theme: mat.define-light-theme(
11
- (
12
- // Define the default colors for our app.
13
- color: (
14
- primary: $candy-app-primary,
15
- accent: $candy-app-accent
16
- ),
17
- // Define the default typography for our app.
18
- typography: mat.define-typography-config(),
19
- // Define the default density level for our app.
20
- density: 0,
21
- )
22
- );
23
- @include mtx.mat-table-ext-theme($candy-app-theme);
@@ -1,26 +0,0 @@
1
- // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2
-
3
- import 'zone.js/testing';
4
- import { getTestBed } from '@angular/core/testing';
5
- import {
6
- BrowserDynamicTestingModule,
7
- platformBrowserDynamicTesting
8
- } from '@angular/platform-browser-dynamic/testing';
9
-
10
- declare const require: {
11
- context(path: string, deep?: boolean, filter?: RegExp): {
12
- <T>(id: string): T;
13
- keys(): string[];
14
- };
15
- };
16
-
17
- // First, initialize the Angular testing environment.
18
- getTestBed().initTestEnvironment(
19
- BrowserDynamicTestingModule,
20
- platformBrowserDynamicTesting(),
21
- );
22
-
23
- // Then we find all the tests.
24
- const context = require.context('./', true, /\.spec\.ts$/);
25
- // And load the modules.
26
- context.keys().map(context);
@@ -1,15 +0,0 @@
1
- /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
- {
3
- "extends": "../../tsconfig.json",
4
- "compilerOptions": {
5
- "outDir": "../../out-tsc/app",
6
- "types": []
7
- },
8
- "files": [
9
- "src/main.ts",
10
- "src/polyfills.ts"
11
- ],
12
- "include": [
13
- "src/**/*.d.ts"
14
- ]
15
- }
@@ -1,18 +0,0 @@
1
- /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
- {
3
- "extends": "../../tsconfig.json",
4
- "compilerOptions": {
5
- "outDir": "../../out-tsc/spec",
6
- "types": [
7
- "jasmine"
8
- ]
9
- },
10
- "files": [
11
- "src/test.ts",
12
- "src/polyfills.ts"
13
- ],
14
- "include": [
15
- "src/**/*.spec.ts",
16
- "src/**/*.d.ts"
17
- ]
18
- }
package/tsconfig.json DELETED
@@ -1,38 +0,0 @@
1
- /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
- {
3
- "compileOnSave": false,
4
- "compilerOptions": {
5
- "baseUrl": "./",
6
- "outDir": "./dist/out-tsc",
7
- "forceConsistentCasingInFileNames": true,
8
- "strict": true,
9
- "noImplicitOverride": true,
10
- "noPropertyAccessFromIndexSignature": true,
11
- "noImplicitReturns": true,
12
- "paths": {
13
- "mat-table-ext": [
14
- "dist/mat-table-ext/mat-table-ext",
15
- "dist/mat-table-ext"
16
- ]
17
- },
18
- "noFallthroughCasesInSwitch": true,
19
- "sourceMap": true,
20
- "declaration": false,
21
- "downlevelIteration": true,
22
- "resolveJsonModule": true,
23
- "esModuleInterop": true,
24
- "allowSyntheticDefaultImports": true,
25
- "experimentalDecorators": true,
26
- "moduleResolution": "node",
27
- "importHelpers": true,
28
- "target": "es2020",
29
- "module": "es2020",
30
- "lib": ["es2020", "dom"]
31
- },
32
- "angularCompilerOptions": {
33
- "enableI18nLegacyMessageIdFormat": false,
34
- "strictInjectionParameters": true,
35
- "strictInputAccessModifiers": true,
36
- "strictTemplates": true
37
- }
38
- }