@rxap/material-table-system 16.0.0-dev.2 → 16.0.0-dev.3

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 (77) hide show
  1. package/CHANGELOG.md +674 -0
  2. package/README.md +7 -22
  3. package/esm2022/index.mjs +1 -1
  4. package/esm2022/lib/cells/boolean-cell/boolean-cell.component.mjs +7 -8
  5. package/esm2022/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.mjs +7 -8
  6. package/esm2022/lib/cells/date-cell/date-cell.component.mjs +8 -9
  7. package/esm2022/lib/cells/icon-cell/icon-cell.component.mjs +7 -8
  8. package/esm2022/lib/cells/image-cell/image-cell.component.mjs +9 -10
  9. package/esm2022/lib/cells/link-cell/link-cell.component.mjs +8 -9
  10. package/esm2022/lib/cells/options-cell/options-cell.component.mjs +8 -9
  11. package/esm2022/lib/expand-row/expand-controls-cell/expand-controls-cell.component.mjs +8 -9
  12. package/esm2022/lib/expand-row/expand-row-container/expand-row-container.component.mjs +26 -20
  13. package/esm2022/lib/expand-row/expand-row-container/expand-row-content.directive.mjs +7 -8
  14. package/esm2022/lib/expand-row/expand-row.directive.mjs +7 -8
  15. package/esm2022/lib/expand-row/expand-row.module.mjs +10 -11
  16. package/esm2022/lib/expand-row/expand-row.service.mjs +5 -6
  17. package/esm2022/lib/persistent-paginator.directive.mjs +7 -8
  18. package/esm2022/lib/row-animation.mjs +16 -8
  19. package/esm2022/lib/select-row/checkbox-cell/checkbox-cell.component.mjs +7 -8
  20. package/esm2022/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.mjs +11 -12
  21. package/esm2022/lib/select-row/select-row.options.mjs +1 -1
  22. package/esm2022/lib/select-row/select-row.service.mjs +6 -7
  23. package/esm2022/lib/select-row/selected-rows.directive.mjs +8 -9
  24. package/esm2022/lib/select-row/selection-model.mjs +1 -1
  25. package/esm2022/lib/select-row/tokens.mjs +1 -1
  26. package/esm2022/lib/table-column-menu/table-column-menu.component.mjs +9 -10
  27. package/esm2022/lib/table-column-menu/table-column-option/table-column-option.component.mjs +7 -8
  28. package/esm2022/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.mjs +8 -9
  29. package/esm2022/lib/table-create-button/table-create-button.directive.mjs +8 -9
  30. package/esm2022/lib/table-create-button/tokens.mjs +1 -1
  31. package/esm2022/lib/table-data-source.directive.mjs +12 -12
  32. package/esm2022/lib/table-filter/filter-header-row.directive.mjs +14 -15
  33. package/esm2022/lib/table-filter/table-filter.service.mjs +9 -9
  34. package/esm2022/lib/table-filter/to-filter-column-names.pipe.mjs +7 -8
  35. package/esm2022/lib/table-filter/tokens.mjs +1 -1
  36. package/esm2022/lib/table-row-actions/decorators.mjs +6 -3
  37. package/esm2022/lib/table-row-actions/row-action-check.pipe.mjs +8 -9
  38. package/esm2022/lib/table-row-actions/table-row-action-executing.directive.mjs +7 -8
  39. package/esm2022/lib/table-row-actions/table-row-action-status.mjs +1 -1
  40. package/esm2022/lib/table-row-actions/table-row-action.directive.mjs +17 -13
  41. package/esm2022/lib/table-row-actions/table-row-action.method.mjs +3 -3
  42. package/esm2022/lib/table-row-actions/table-row-header-action.directive.mjs +8 -9
  43. package/esm2022/lib/table-row-actions/tokens.mjs +1 -1
  44. package/esm2022/lib/table-row-actions/types.mjs +1 -1
  45. package/esm2022/lib/table-row-controls/row-controls-cell/row-controls-cell.component.mjs +9 -10
  46. package/esm2022/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.mjs +17 -18
  47. package/esm2022/lib/table-row-controls/tokens.mjs +1 -1
  48. package/esm2022/lib/table-row-metadata.mjs +1 -1
  49. package/esm2022/lib/table-select-controls/table-select-controls.component.mjs +9 -10
  50. package/esm2022/rxap-material-table-system.mjs +1 -1
  51. package/fesm2022/rxap-material-table-system.mjs +196 -171
  52. package/fesm2022/rxap-material-table-system.mjs.map +1 -1
  53. package/lib/cells/options-cell/options-cell.component.d.ts +1 -1
  54. package/lib/expand-row/expand-row-container/expand-row-container.component.d.ts +2 -2
  55. package/lib/select-row/selected-rows.directive.d.ts +1 -1
  56. package/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.d.ts +1 -1
  57. package/lib/table-create-button/table-create-button.directive.d.ts +2 -2
  58. package/lib/table-create-button/tokens.d.ts +1 -1
  59. package/lib/table-data-source.directive.d.ts +3 -2
  60. package/lib/table-filter/filter-header-row.directive.d.ts +1 -1
  61. package/lib/table-row-actions/table-row-action.directive.d.ts +1 -1
  62. package/lib/table-row-actions/table-row-action.method.d.ts +1 -1
  63. package/lib/table-row-actions/table-row-header-action.directive.d.ts +1 -1
  64. package/lib/table-row-actions/types.d.ts +1 -1
  65. package/lib/table-row-controls/row-controls-cell/row-controls-cell.component.d.ts +2 -2
  66. package/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.d.ts +2 -2
  67. package/lib/table-row-metadata.d.ts +1 -1
  68. package/lib/table-select-controls/table-select-controls.component.d.ts +1 -1
  69. package/package.json +90 -63
  70. package/src/lib/cells/boolean-cell/_boolean-cell.component.theme.scss +28 -0
  71. package/LICENSE +0 -27
  72. package/collection.json +0 -10
  73. package/migration.json +0 -4
  74. package/src/schematics/ng-add/index.d.ts +0 -2
  75. package/src/schematics/ng-add/index.js +0 -8
  76. package/src/schematics/ng-add/index.js.map +0 -1
  77. package/src/schematics/ng-add/schema.json +0 -7
@@ -1,4 +1,4 @@
1
- import type { QueryList, OnChanges, SimpleChanges } from '@angular/core';
1
+ import type { OnChanges, QueryList, SimpleChanges } from '@angular/core';
2
2
  import { AfterContentInit, OnDestroy, Renderer2 } from '@angular/core';
3
3
  import { MatOption } from '@angular/material/core';
4
4
  import * as i0 from "@angular/core";
@@ -1,5 +1,5 @@
1
- import { ViewContainerRef, OnDestroy, AfterContentInit } from '@angular/core';
2
- import { ExpandRowContentDirective, ExpandCellContentDirectiveContext } from './expand-row-content.directive';
1
+ import { AfterContentInit, OnDestroy, ViewContainerRef } from '@angular/core';
2
+ import { ExpandCellContentDirectiveContext, ExpandRowContentDirective } from './expand-row-content.directive';
3
3
  import { TemplatePortal } from '@angular/cdk/portal';
4
4
  import { ExpandRowService } from '../expand-row.service';
5
5
  import * as i0 from "@angular/core";
@@ -1,4 +1,4 @@
1
- import { TemplateRef, ViewContainerRef, OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
1
+ import { ChangeDetectorRef, OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
2
2
  import { SelectRowService } from './select-row.service';
3
3
  import * as i0 from "@angular/core";
4
4
  export interface SelectedRowsDirectiveContext<Data extends Record<string, any>> {
@@ -8,5 +8,5 @@ export declare class TableShowArchivedSlideComponent {
8
8
  constructor(tableFilter: TableFilterService, tableColumnMenu: TableColumnMenuComponent);
9
9
  onChange($event: MatSlideToggleChange): void;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<TableShowArchivedSlideComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<TableShowArchivedSlideComponent, "mfd-table-show-archived-slide", never, {}, {}, never, never, true, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableShowArchivedSlideComponent, "rxap-table-show-archived-slide", never, {}, {}, never, never, true, never>;
12
12
  }
@@ -1,7 +1,7 @@
1
- import { ElementRef, OnInit, Renderer2, OnDestroy } from '@angular/core';
1
+ import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import { TableDataSourceDirective } from '../table-data-source.directive';
4
- import { Method } from '@rxap/utilities/rxjs';
4
+ import { Method } from '@rxap/pattern';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class TableCreateButtonDirective<Data extends Record<string, any>> implements OnInit, OnDestroy {
7
7
  private readonly remoteMethod;
@@ -1,3 +1,3 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- import { Method } from '@rxap/utilities/rxjs';
2
+ import { Method } from '@rxap/pattern';
3
3
  export declare const TABLE_CREATE_REMOTE_METHOD: InjectionToken<Method<any, any>>;
@@ -4,12 +4,13 @@ import type { Observable } from 'rxjs';
4
4
  import { Subscription } from 'rxjs';
5
5
  import { MatSort } from '@angular/material/sort';
6
6
  import type { AbstractTableDataSource, FilterLike } from '@rxap/data-source/table';
7
- import { TableEvent, SortLike } from '@rxap/data-source/table';
7
+ import { SortLike, TableEvent } from '@rxap/data-source/table';
8
8
  import { BaseRemoteMethod } from '@rxap/remote-method';
9
9
  import { PaginatorLike } from '@rxap/data-source/pagination';
10
10
  import { CdkTable } from '@angular/cdk/table';
11
11
  import { TableFilterService } from './table-filter/table-filter.service';
12
- import { Method, ToggleSubject } from '@rxap/utilities/rxjs';
12
+ import { ToggleSubject } from '@rxap/rxjs';
13
+ import { Method } from '@rxap/pattern';
13
14
  import * as i0 from "@angular/core";
14
15
  export { RXAP_TABLE_METHOD } from '@rxap/data-source/table';
15
16
  /**
@@ -1,4 +1,4 @@
1
- import { FormDirective, FormDefinition } from '@rxap/forms';
1
+ import { FormDefinition, FormDirective } from '@rxap/forms';
2
2
  import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
3
3
  import { TableFilterService } from './table-filter.service';
4
4
  import * as i0 from "@angular/core";
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, ViewContainerRef, OnInit, ElementRef } from '@angular/core';
1
+ import { ChangeDetectorRef, ElementRef, OnInit, ViewContainerRef } from '@angular/core';
2
2
  import { MatButton } from '@angular/material/button';
3
3
  import { MatSnackBar } from '@angular/material/snack-bar';
4
4
  import { TableDataSourceDirective } from '../table-data-source.directive';
@@ -1,5 +1,5 @@
1
1
  import { TableActionMethodOptions } from './decorators';
2
- import { TableRowActionMethod, TableRowActionTypeMethod, TableRowActionTypeSwitchMethod, RowActionCheckFunction } from './types';
2
+ import { RowActionCheckFunction, TableRowActionMethod, TableRowActionTypeMethod, TableRowActionTypeSwitchMethod } from './types';
3
3
  export declare function IsTableRowActionTypeSwitchMethod<Data extends Record<string, any>>(method: TableRowActionMethod<Data>): method is TableRowActionTypeSwitchMethod<Data>;
4
4
  export declare function IsTableRowActionTypeMethod<Data extends Record<string, any>>(type: string): (method: TableRowActionMethod<Data>) => method is TableRowActionTypeMethod<Data>;
5
5
  export declare function HasTableRowActionCheckFunction(method: TableRowActionMethod<any>): boolean;
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, OnDestroy, OnInit, ViewContainerRef, ElementRef } from '@angular/core';
1
+ import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
2
2
  import { MatButton } from '@angular/material/button';
3
3
  import { MatSnackBar } from '@angular/material/snack-bar';
4
4
  import { TableRowActionDirective } from './table-row-action.directive';
@@ -1,4 +1,4 @@
1
- import { Method } from '@rxap/utilities/rxjs';
1
+ import { Method } from '@rxap/pattern';
2
2
  export type RowActionCheckFunction<Data extends Record<string, any>> = (element: Data, index: number, array: Data[]) => boolean;
3
3
  export type TableRowActionTypeSwitchMethod<Data extends Record<string, any>> = Method<any, {
4
4
  element: Data;
@@ -1,7 +1,7 @@
1
1
  import { OpenApiRemoteMethod } from '@rxap/open-api/remote-method';
2
2
  import { TableDataSourceDirective } from '../../table-data-source.directive';
3
3
  import { Observable } from 'rxjs';
4
- import { Method } from '@rxap/utilities/rxjs';
4
+ import { Method } from '@rxap/pattern';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class RowControlsCellComponent<Data extends Record<string, any> & {
7
7
  uuid: string;
@@ -43,5 +43,5 @@ export declare class RowControlsCellComponent<Data extends Record<string, any> &
43
43
  link(): Promise<void>;
44
44
  edit(): Promise<void>;
45
45
  static ɵfac: i0.ɵɵFactoryDeclaration<RowControlsCellComponent<any>, [null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<RowControlsCellComponent<any>, "td[mfd-row-controls-cell]", never, { "element": { "alias": "element"; "required": false; }; }, {}, never, never, true, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<RowControlsCellComponent<any>, "td[rxap-row-controls-cell]", never, { "element": { "alias": "element"; "required": false; }; }, {}, never, never, true, never>;
47
47
  }
@@ -3,7 +3,7 @@ import type { Observable } from 'rxjs';
3
3
  import { TableDataSourceDirective } from '../../table-data-source.directive';
4
4
  import { SelectRowService } from '../../select-row/select-row.service';
5
5
  import { OpenApiRemoteMethod } from '@rxap/open-api/remote-method';
6
- import { Method } from '@rxap/utilities/rxjs';
6
+ import { Method } from '@rxap/pattern';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class RowControlsHeaderCellComponent<Data extends Record<string, any>> {
9
9
  private readonly tableDataSource;
@@ -27,5 +27,5 @@ export declare class RowControlsHeaderCellComponent<Data extends Record<string,
27
27
  unarchiveSelected(selectedRows: Data[] | undefined): Promise<void>;
28
28
  deleteSelected(selectedRows: Data[] | undefined): Promise<void>;
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<RowControlsHeaderCellComponent<any>, [null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<RowControlsHeaderCellComponent<any>, "th[mfd-row-controls-header-cell]", never, {}, {}, never, never, true, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<RowControlsHeaderCellComponent<any>, "th[rxap-row-controls-header-cell]", never, {}, {}, never, never, true, never>;
31
31
  }
@@ -1,4 +1,4 @@
1
- import { ToggleSubject } from '@rxap/utilities/rxjs';
1
+ import { ToggleSubject } from '@rxap/rxjs';
2
2
  export interface TableRowMetadata {
3
3
  __metadata__: {
4
4
  loading$: ToggleSubject;
@@ -10,5 +10,5 @@ export declare class TableSelectControlsComponent {
10
10
  cancel(): void;
11
11
  select(): void;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<TableSelectControlsComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<TableSelectControlsComponent, "mfd-table-select-controls", never, {}, {}, never, never, true, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableSelectControlsComponent, "rxap-table-select-controls", never, {}, {}, never, never, true, never>;
14
14
  }
package/package.json CHANGED
@@ -1,81 +1,109 @@
1
1
  {
2
2
  "name": "@rxap/material-table-system",
3
- "version": "16.0.0-dev.2",
3
+ "version": "16.0.0-dev.3",
4
4
  "peerDependencies": {
5
- "@angular-devkit/schematics": "^15.0.3",
6
- "@angular/animations": "^16.0.2",
7
- "@angular/cdk": "^16.0.1",
8
- "@angular/common": "^16.0.2",
9
- "@angular/core": "^16.0.2",
5
+ "@angular/animations": "^16.0.0",
6
+ "@angular/cdk": "^16.0.0",
7
+ "@angular/common": "^16.0.0",
8
+ "@angular/core": "^16.0.0",
10
9
  "@angular/flex-layout": "^15.0.0-beta.42",
11
- "@angular/forms": "^16.0.2",
12
- "@angular/localize": "^16.0.2",
13
- "@angular/material": "^16.0.1",
14
- "@angular/platform-browser": "^16.0.2",
15
- "@angular/platform-browser-dynamic": "^16.0.2",
16
- "@angular/router": "^16.0.2",
17
- "@rxap/components": "^16.0.0-dev.2",
18
- "@rxap/config": "^16.0.0-dev.2",
19
- "@rxap/data-source": "^16.0.0-dev.3",
20
- "@rxap/definition": "^16.0.0-dev.2",
21
- "@rxap/directives": "^16.0.0-dev.2",
22
- "@rxap/forms": "^16.0.0-dev.2",
23
- "@rxap/material-directives": "^16.0.0-dev.2",
24
- "@rxap/mixin": "^16.0.0-dev.2",
25
- "@rxap/open-api": "^16.0.0-dev.3",
26
- "@rxap/remote-method": "^16.0.0-dev.2",
27
- "@rxap/services": "^16.0.0-dev.2",
28
- "@rxap/utilities": "^16.0.0-dev.1",
29
- "@rxap/window-system": "^16.0.0-dev.2",
30
- "joi": "^17.6.3",
31
- "reflect-metadata": "^0.1.13",
32
- "rxjs": "^6.6.0"
10
+ "@angular/forms": "^16.0.0",
11
+ "@angular/material": "^16.0.0",
12
+ "@angular/router": "^16.0.0",
13
+ "@rxap/components": "^16.0.0-dev.3",
14
+ "@rxap/data-source": "^16.0.0-dev.4",
15
+ "@rxap/directives": "^16.0.0-dev.3",
16
+ "@rxap/forms": "^16.0.0-dev.3",
17
+ "@rxap/material-directives": "^16.0.0-dev.3",
18
+ "@rxap/open-api": "^16.0.0-dev.4",
19
+ "@rxap/pattern": "^1.0.1-dev.0",
20
+ "@rxap/reflect-metadata": "^1.0.1-dev.0",
21
+ "@rxap/remote-method": "^16.0.0-dev.3",
22
+ "@rxap/rxjs": "^1.0.1-dev.0",
23
+ "@rxap/utilities": "^16.0.0-dev.2",
24
+ "@rxap/window-system": "^16.0.0-dev.3",
25
+ "rxjs": "^7.8.0",
26
+ "workspace": "1.0.0"
33
27
  },
34
- "schematics": "./collection.json",
35
- "ng-update": {
36
- "migrations": "./migration.json",
37
- "packageGroup": [
38
- "@rxap/components",
39
- "@rxap/config",
40
- "@rxap/data-source",
41
- "@rxap/definition",
42
- "@rxap/directives",
43
- "@rxap/forms",
44
- "@rxap/material-directives",
45
- "@rxap/material-table-system",
46
- "@rxap/mixin",
47
- "@rxap/open-api",
48
- "@rxap/remote-method",
49
- "@rxap/services",
50
- "@rxap/utilities",
51
- "@rxap/window-system"
52
- ]
28
+ "sideEffects": false,
29
+ "dependencies": {
30
+ "tslib": "2.5.3"
53
31
  },
54
32
  "publishConfig": {
55
- "directory": "../../../dist/libs/material/table-system",
56
- "access": "public"
33
+ "access": "public",
34
+ "directory": "../../../../dist/packages/angular/material/table-system"
57
35
  },
58
- "license": "MIT",
59
36
  "keywords": [
60
37
  "rxap",
61
38
  "angular",
62
- "material"
39
+ "ngx"
63
40
  ],
64
- "repository": "git@gitlab.com:rxap/packages.git",
65
- "homepage": "https://gitlab.com/rxap/packages/libs/material/table-system",
66
- "author": "Merzough Münker",
67
- "private": false,
41
+ "homepage": "https:/gitlab.com/rxap/packages/packages/angular/material/table-system",
68
42
  "bugs": {
69
43
  "url": "https://gitlab.com/rxap/packages/-/issues",
70
44
  "email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
71
45
  },
72
- "ng-add": {
73
- "save": "dependencies"
46
+ "license": "GPL-3.0-or-later",
47
+ "repository": {
48
+ "type": "git",
49
+ "url": "https://gitlab.com/rxap/packages.git",
50
+ "directory": "packages/angular/material/table-system"
74
51
  },
75
- "dependencies": {
76
- "@rxap/schematics-utilities": "^16.0.0-dev.1",
77
- "tslib": "^2.3.1",
78
- "tsconfig-paths-webpack-plugin": "3.5.2"
52
+ "author": {
53
+ "name": "Merzough Münker",
54
+ "email": "mmuenker@digitaix.com"
55
+ },
56
+ "nx-migrations": {
57
+ "packageGroup": [
58
+ {
59
+ "package": "@rxap/components",
60
+ "version": "16.0.0-dev.3"
61
+ },
62
+ {
63
+ "package": "@rxap/data-source",
64
+ "version": "16.0.0-dev.4"
65
+ },
66
+ {
67
+ "package": "@rxap/directives",
68
+ "version": "16.0.0-dev.3"
69
+ },
70
+ {
71
+ "package": "@rxap/forms",
72
+ "version": "16.0.0-dev.3"
73
+ },
74
+ {
75
+ "package": "@rxap/material-directives",
76
+ "version": "16.0.0-dev.3"
77
+ },
78
+ {
79
+ "package": "@rxap/open-api",
80
+ "version": "16.0.0-dev.4"
81
+ },
82
+ {
83
+ "package": "@rxap/pattern",
84
+ "version": "1.0.1-dev.0"
85
+ },
86
+ {
87
+ "package": "@rxap/reflect-metadata",
88
+ "version": "1.0.1-dev.0"
89
+ },
90
+ {
91
+ "package": "@rxap/remote-method",
92
+ "version": "16.0.0-dev.3"
93
+ },
94
+ {
95
+ "package": "@rxap/rxjs",
96
+ "version": "1.0.1-dev.0"
97
+ },
98
+ {
99
+ "package": "@rxap/utilities",
100
+ "version": "16.0.0-dev.2"
101
+ },
102
+ {
103
+ "package": "@rxap/window-system",
104
+ "version": "16.0.0-dev.3"
105
+ }
106
+ ]
79
107
  },
80
108
  "module": "fesm2022/rxap-material-table-system.mjs",
81
109
  "typings": "index.d.ts",
@@ -89,6 +117,5 @@
89
117
  "esm": "./esm2022/rxap-material-table-system.mjs",
90
118
  "default": "./fesm2022/rxap-material-table-system.mjs"
91
119
  }
92
- },
93
- "sideEffects": false
120
+ }
94
121
  }
@@ -0,0 +1,28 @@
1
+ @use '@angular/material' as mat;
2
+
3
+ @mixin rxap-boolean-cell-theme($theme) {
4
+ $foreground: map-get($theme, foreground);
5
+ $background: map-get($theme, background);
6
+ $accent: map-get($theme, accent);
7
+ $primary: map-get($theme, primary);
8
+ $warn: map-get($theme, warn);
9
+ $isDark: map-get($theme, is-dark);
10
+
11
+ .rxap-boolean-cell {
12
+
13
+ .truthy {
14
+ color: mat.get-color-from-palette($primary);
15
+ }
16
+
17
+ .falsy {
18
+ color: mat.get-color-from-palette($warn);
19
+ }
20
+
21
+ }
22
+
23
+ }
24
+
25
+ @mixin rxap-boolean-cell-typography($config) {
26
+ .rxap-boolean-cell {
27
+ }
28
+ }
package/LICENSE DELETED
@@ -1,27 +0,0 @@
1
- Copyright (c) 2021, Merzough Münker
2
- All rights reserved.
3
-
4
- Redistribution and use in source and binary forms, with or without
5
- modification, are permitted provided that the following conditions are met:
6
- 1. Redistributions of source code must retain the above copyright
7
- notice, this list of conditions and the following disclaimer.
8
- 2. Redistributions in binary form must reproduce the above copyright
9
- notice, this list of conditions and the following disclaimer in the
10
- documentation and/or other materials provided with the distribution.
11
- 3. All advertising materials mentioning features or use of this software
12
- must display the following acknowledgement:
13
- This product includes software developed by the Merzough Münker.
14
- 4. Neither the name of the <organization> nor the
15
- names of its contributors may be used to endorse or promote products
16
- derived from this software without specific prior written permission.
17
-
18
- THIS SOFTWARE IS PROVIDED BY <COPYRIGHT HOLDER> ''AS IS'' AND ANY
19
- EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
- DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
22
- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/collection.json DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "schematics": {
3
- "ng-add": {
4
- "description": "Setup the package @rxap/material-table-system for the workspace.",
5
- "factory": "./src/schematics/ng-add/index",
6
- "schema": "./src/schematics/ng-add/schema.json"
7
- }
8
- },
9
- "$schema": "../../../node_modules/@angular-devkit/schematics/collection-schema.json"
10
- }
package/migration.json DELETED
@@ -1,4 +0,0 @@
1
- {
2
- "schematics": {},
3
- "$schema": "../../../node_modules/@angular-devkit/schematics/collection-schema.json"
4
- }
@@ -1,2 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- export default function (): Rule;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const schematics_utilities_1 = require("@rxap/schematics-utilities");
4
- function default_1() {
5
- return (0, schematics_utilities_1.InstallPeerDependencies)();
6
- }
7
- exports.default = default_1;
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/schematics/ng-add/index.ts"],"names":[],"mappings":";;AACA,qEAAqE;AAErE;IACE,OAAO,IAAA,8CAAuB,GAAE,CAAC;AACnC,CAAC;AAFD,4BAEC"}
@@ -1,7 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema",
3
- "$id": "material-table-system-ng-add",
4
- "type": "object",
5
- "properties": {},
6
- "required": []
7
- }