mat-table-ext 0.0.9 → 0.0.11
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.
- package/esm2020/lib/components/column-pinning/column-pinning.component.mjs +58 -0
- package/esm2020/lib/components/editing/editing.component.mjs +122 -0
- package/esm2020/lib/components/filter-columns-component/filter-columns-component.component.mjs +68 -0
- package/esm2020/lib/directives/resize-column.directive.mjs +99 -0
- package/esm2020/lib/mat-table-ext.component.mjs +1020 -0
- package/esm2020/lib/mat-table-ext.module.mjs +237 -0
- package/esm2020/lib/mat-table-ext.service.mjs +20 -0
- package/esm2020/lib/models/tableExtModels.mjs +2 -0
- package/esm2020/mat-table-ext.mjs +5 -0
- package/esm2020/public-api.mjs +11 -0
- package/fesm2015/mat-table-ext.mjs +1584 -0
- package/fesm2015/mat-table-ext.mjs.map +1 -0
- package/fesm2020/mat-table-ext.mjs +1581 -0
- package/fesm2020/mat-table-ext.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/column-pinning/column-pinning.component.d.ts +27 -0
- package/lib/components/editing/editing.component.d.ts +42 -0
- package/lib/components/filter-columns-component/filter-columns-component.component.d.ts +26 -0
- package/lib/directives/resize-column.directive.d.ts +27 -0
- package/lib/mat-table-ext.component.d.ts +348 -0
- package/lib/mat-table-ext.module.d.ts +58 -0
- package/lib/mat-table-ext.service.d.ts +11 -0
- package/lib/models/tableExtModels.d.ts +76 -0
- package/package.json +58 -46
- package/{projects/mat-table-ext/src/public-api.ts → public-api.d.ts} +1 -5
- package/.editorconfig +0 -16
- package/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/tasks.json +0 -42
- package/LICENSE +0 -21
- package/angular.json +0 -150
- package/projects/mat-table-ext/.browserslistrc +0 -16
- package/projects/mat-table-ext/README.md +0 -57
- package/projects/mat-table-ext/karma.conf.js +0 -44
- package/projects/mat-table-ext/ng-package.json +0 -9
- package/projects/mat-table-ext/package.json +0 -38
- package/projects/mat-table-ext/src/lib/components/column-pinning/column-pinning.component.html +0 -7
- package/projects/mat-table-ext/src/lib/components/column-pinning/column-pinning.component.scss +0 -9
- package/projects/mat-table-ext/src/lib/components/column-pinning/column-pinning.component.spec.ts +0 -23
- package/projects/mat-table-ext/src/lib/components/column-pinning/column-pinning.component.ts +0 -48
- package/projects/mat-table-ext/src/lib/components/editing/editing.component.html +0 -55
- package/projects/mat-table-ext/src/lib/components/editing/editing.component.scss +0 -19
- package/projects/mat-table-ext/src/lib/components/editing/editing.component.spec.ts +0 -23
- package/projects/mat-table-ext/src/lib/components/editing/editing.component.ts +0 -110
- package/projects/mat-table-ext/src/lib/components/filter-columns-component/filter-columns-component.component.html +0 -26
- package/projects/mat-table-ext/src/lib/components/filter-columns-component/filter-columns-component.component.scss +0 -0
- package/projects/mat-table-ext/src/lib/components/filter-columns-component/filter-columns-component.component.spec.ts +0 -23
- package/projects/mat-table-ext/src/lib/components/filter-columns-component/filter-columns-component.component.ts +0 -54
- package/projects/mat-table-ext/src/lib/directives/resize-column.directive.ts +0 -103
- package/projects/mat-table-ext/src/lib/mat-table-ext.component.html +0 -285
- package/projects/mat-table-ext/src/lib/mat-table-ext.component.spec.ts +0 -25
- package/projects/mat-table-ext/src/lib/mat-table-ext.component.ts +0 -985
- package/projects/mat-table-ext/src/lib/mat-table-ext.module.ts +0 -127
- package/projects/mat-table-ext/src/lib/mat-table-ext.scss +0 -181
- package/projects/mat-table-ext/src/lib/mat-table-ext.service.spec.ts +0 -16
- package/projects/mat-table-ext/src/lib/mat-table-ext.service.ts +0 -12
- package/projects/mat-table-ext/src/lib/models/tableExtModels.ts +0 -85
- package/projects/mat-table-ext/src/test.ts +0 -27
- package/projects/mat-table-ext/tsconfig.lib.json +0 -15
- package/projects/mat-table-ext/tsconfig.lib.prod.json +0 -10
- package/projects/mat-table-ext/tsconfig.spec.json +0 -17
- package/projects/mat-table-ext-example/.browserslistrc +0 -16
- package/projects/mat-table-ext-example/karma.conf.js +0 -44
- package/projects/mat-table-ext-example/src/app/app.component.html +0 -576
- package/projects/mat-table-ext-example/src/app/app.component.scss +0 -0
- package/projects/mat-table-ext-example/src/app/app.component.spec.ts +0 -31
- package/projects/mat-table-ext-example/src/app/app.component.ts +0 -173
- package/projects/mat-table-ext-example/src/app/app.module.ts +0 -40
- package/projects/mat-table-ext-example/src/app/service/custom-table.service.spec.ts +0 -16
- package/projects/mat-table-ext-example/src/app/service/custom-table.service.ts +0 -18
- package/projects/mat-table-ext-example/src/assets/.gitkeep +0 -0
- package/projects/mat-table-ext-example/src/assets/data.json +0 -100003
- package/projects/mat-table-ext-example/src/environments/environment.prod.ts +0 -3
- package/projects/mat-table-ext-example/src/environments/environment.ts +0 -16
- package/projects/mat-table-ext-example/src/favicon.ico +0 -0
- package/projects/mat-table-ext-example/src/index.html +0 -14
- package/projects/mat-table-ext-example/src/main.ts +0 -12
- package/projects/mat-table-ext-example/src/polyfills.ts +0 -53
- package/projects/mat-table-ext-example/src/styles.scss +0 -23
- package/projects/mat-table-ext-example/src/test.ts +0 -26
- package/projects/mat-table-ext-example/tsconfig.app.json +0 -15
- package/projects/mat-table-ext-example/tsconfig.spec.json +0 -18
- package/tsconfig.json +0 -38
- /package/{projects/mat-table-ext/assets → assets}/_theming.scss +0 -0
- /package/{projects/mat-table-ext/assets → assets}/pinIcon.svg +0 -0
- /package/{projects/mat-table-ext/assets → assets}/pinLeft.svg +0 -0
- /package/{projects/mat-table-ext/assets → assets}/pinNone.svg +0 -0
- /package/{projects/mat-table-ext/assets → assets}/pinRight.svg +0 -0
- /package/{projects/mat-table-ext/assets → assets}/pinned.svg +0 -0
|
@@ -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.
|
|
Binary file
|
|
@@ -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
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|