@rxap/material-table-system 16.0.0-dev.2 → 16.0.0-dev.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.
- package/CHANGELOG.md +680 -0
- package/README.md +7 -22
- package/esm2022/index.mjs +5 -1
- package/esm2022/lib/cells/boolean-cell/boolean-cell.component.mjs +7 -8
- package/esm2022/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.mjs +7 -8
- package/esm2022/lib/cells/date-cell/date-cell.component.mjs +8 -9
- package/esm2022/lib/cells/icon-cell/icon-cell.component.mjs +7 -8
- package/esm2022/lib/cells/image-cell/image-cell.component.mjs +9 -10
- package/esm2022/lib/cells/link-cell/link-cell.component.mjs +8 -9
- package/esm2022/lib/cells/options-cell/options-cell.component.mjs +8 -9
- package/esm2022/lib/expand-row/expand-controls-cell/expand-controls-cell.component.mjs +8 -9
- package/esm2022/lib/expand-row/expand-row-container/expand-row-container.component.mjs +26 -20
- package/esm2022/lib/expand-row/expand-row-container/expand-row-content.directive.mjs +7 -8
- package/esm2022/lib/expand-row/expand-row.directive.mjs +7 -8
- package/esm2022/lib/expand-row/expand-row.module.mjs +10 -11
- package/esm2022/lib/expand-row/expand-row.service.mjs +5 -6
- package/esm2022/lib/persistent-paginator.directive.mjs +7 -8
- package/esm2022/lib/row-animation.mjs +16 -8
- package/esm2022/lib/select-row/checkbox-cell/checkbox-cell.component.mjs +7 -8
- package/esm2022/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.mjs +11 -12
- package/esm2022/lib/select-row/select-row.module.mjs +31 -0
- package/esm2022/lib/select-row/select-row.options.mjs +1 -1
- package/esm2022/lib/select-row/select-row.service.mjs +6 -7
- package/esm2022/lib/select-row/selected-rows.directive.mjs +8 -9
- package/esm2022/lib/select-row/selection-model.mjs +1 -1
- package/esm2022/lib/select-row/tokens.mjs +1 -1
- package/esm2022/lib/table-column-menu/table-column-menu.component.mjs +9 -10
- package/esm2022/lib/table-column-menu/table-column-option/table-column-option.component.mjs +7 -8
- package/esm2022/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.mjs +8 -9
- package/esm2022/lib/table-create-button/table-create-button.directive.mjs +8 -9
- package/esm2022/lib/table-create-button/tokens.mjs +1 -1
- package/esm2022/lib/table-data-source.directive.mjs +12 -12
- package/esm2022/lib/table-filter/filter-header-row.directive.mjs +14 -15
- package/esm2022/lib/table-filter/table-filter.module.mjs +25 -0
- package/esm2022/lib/table-filter/table-filter.service.mjs +9 -9
- package/esm2022/lib/table-filter/to-filter-column-names.pipe.mjs +7 -8
- package/esm2022/lib/table-filter/tokens.mjs +1 -1
- package/esm2022/lib/table-row-actions/decorators.mjs +6 -3
- package/esm2022/lib/table-row-actions/row-action-check.pipe.mjs +8 -9
- package/esm2022/lib/table-row-actions/table-row-action-executing.directive.mjs +7 -8
- package/esm2022/lib/table-row-actions/table-row-action-status.mjs +1 -1
- package/esm2022/lib/table-row-actions/table-row-action.directive.mjs +17 -13
- package/esm2022/lib/table-row-actions/table-row-action.method.mjs +3 -3
- package/esm2022/lib/table-row-actions/table-row-actions.module.mjs +60 -0
- package/esm2022/lib/table-row-actions/table-row-header-action.directive.mjs +8 -9
- package/esm2022/lib/table-row-actions/tokens.mjs +1 -1
- package/esm2022/lib/table-row-actions/types.mjs +1 -1
- package/esm2022/lib/table-row-controls/row-controls-cell/row-controls-cell.component.mjs +12 -10
- package/esm2022/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.mjs +20 -18
- package/esm2022/lib/table-row-controls/table-row-controls.module.mjs +29 -0
- package/esm2022/lib/table-row-controls/tokens.mjs +22 -1
- package/esm2022/lib/table-row-metadata.mjs +1 -1
- package/esm2022/lib/table-select-controls/table-select-controls.component.mjs +9 -10
- package/esm2022/rxap-material-table-system.mjs +1 -1
- package/fesm2022/rxap-material-table-system.mjs +349 -174
- package/fesm2022/rxap-material-table-system.mjs.map +1 -1
- package/index.d.ts +4 -0
- package/lib/cells/options-cell/options-cell.component.d.ts +1 -1
- package/lib/expand-row/expand-row-container/expand-row-container.component.d.ts +2 -2
- package/lib/select-row/select-row.module.d.ts +9 -0
- package/lib/select-row/selected-rows.directive.d.ts +1 -1
- package/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.d.ts +1 -1
- package/lib/table-create-button/table-create-button.directive.d.ts +2 -2
- package/lib/table-create-button/tokens.d.ts +1 -1
- package/lib/table-data-source.directive.d.ts +3 -2
- package/lib/table-filter/filter-header-row.directive.d.ts +1 -1
- package/lib/table-filter/table-filter.module.d.ts +8 -0
- package/lib/table-row-actions/table-row-action.directive.d.ts +1 -1
- package/lib/table-row-actions/table-row-action.method.d.ts +1 -1
- package/lib/table-row-actions/table-row-actions.module.d.ts +16 -0
- package/lib/table-row-actions/table-row-header-action.directive.d.ts +1 -1
- package/lib/table-row-actions/types.d.ts +1 -1
- package/lib/table-row-controls/row-controls-cell/row-controls-cell.component.d.ts +5 -2
- package/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.d.ts +5 -2
- package/lib/table-row-controls/table-row-controls.module.d.ts +11 -0
- package/lib/table-row-controls/tokens.d.ts +21 -0
- package/lib/table-row-metadata.d.ts +1 -1
- package/lib/table-select-controls/table-select-controls.component.d.ts +1 -1
- package/package.json +90 -63
- package/src/lib/cells/boolean-cell/_boolean-cell.component.theme.scss +28 -0
- package/LICENSE +0 -27
- package/collection.json +0 -10
- package/migration.json +0 -4
- package/src/schematics/ng-add/index.d.ts +0 -2
- package/src/schematics/ng-add/index.js +0 -8
- package/src/schematics/ng-add/index.js.map +0 -1
- package/src/schematics/ng-add/schema.json +0 -7
package/index.d.ts
CHANGED
|
@@ -9,11 +9,13 @@ export * from './lib/select-row/checkbox-header-cell/checkbox-header-cell.compon
|
|
|
9
9
|
export * from './lib/select-row/select-row.service';
|
|
10
10
|
export * from './lib/select-row/selected-rows.directive';
|
|
11
11
|
export * from './lib/select-row/tokens';
|
|
12
|
+
export * from './lib/select-row/select-row.module';
|
|
12
13
|
export * from './lib/row-animation';
|
|
13
14
|
export * from './lib/table-data-source.directive';
|
|
14
15
|
export * from './lib/table-row-metadata';
|
|
15
16
|
export * from './lib/persistent-paginator.directive';
|
|
16
17
|
export * from './lib/table-filter/filter-header-row.directive';
|
|
18
|
+
export * from './lib/table-filter/table-filter.module';
|
|
17
19
|
export * from './lib/table-filter/table-filter.service';
|
|
18
20
|
export * from './lib/table-filter/to-filter-column-names.pipe';
|
|
19
21
|
export * from './lib/table-filter/tokens';
|
|
@@ -25,6 +27,7 @@ export * from './lib/table-create-button/tokens';
|
|
|
25
27
|
export * from './lib/table-row-controls/row-controls-cell/row-controls-cell.component';
|
|
26
28
|
export * from './lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component';
|
|
27
29
|
export * from './lib/table-row-controls/tokens';
|
|
30
|
+
export * from './lib/table-row-controls/table-row-controls.module';
|
|
28
31
|
export * from './lib/table-select-controls/table-select-controls.component';
|
|
29
32
|
export * from './lib/cells/image-cell/image-cell.component';
|
|
30
33
|
export * from './lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component';
|
|
@@ -38,6 +41,7 @@ export * from './lib/table-row-actions/table-row-action.directive';
|
|
|
38
41
|
export * from './lib/table-row-actions/table-row-action.method';
|
|
39
42
|
export * from './lib/table-row-actions/table-row-action-executing.directive';
|
|
40
43
|
export * from './lib/table-row-actions/table-row-action-status';
|
|
44
|
+
export * from './lib/table-row-actions/table-row-actions.module';
|
|
41
45
|
export * from './lib/table-row-actions/table-row-header-action.directive';
|
|
42
46
|
export * from './lib/table-row-actions/tokens';
|
|
43
47
|
export * from './lib/table-row-actions/types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
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 {
|
|
2
|
-
import {
|
|
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";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./selected-rows.directive";
|
|
3
|
+
import * as i2 from "./checkbox-cell/checkbox-cell.component";
|
|
4
|
+
import * as i3 from "./checkbox-header-cell/checkbox-header-cell.component";
|
|
5
|
+
export declare class SelectRowModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectRowModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectRowModule, never, [typeof i1.SelectedRowsDirective, typeof i2.CheckboxCellComponent, typeof i3.CheckboxHeaderCellComponent], [typeof i2.CheckboxCellComponent, typeof i3.CheckboxHeaderCellComponent, typeof i1.SelectedRowsDirective]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SelectRowModule>;
|
|
9
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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>> {
|
package/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.d.ts
CHANGED
|
@@ -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, "
|
|
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
|
|
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/
|
|
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;
|
|
@@ -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 {
|
|
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 {
|
|
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 {
|
|
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";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./to-filter-column-names.pipe";
|
|
3
|
+
import * as i2 from "./filter-header-row.directive";
|
|
4
|
+
export declare class TableFilterModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableFilterModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TableFilterModule, never, [typeof i1.ToFilterColumnNamesPipe, typeof i2.FilterHeaderRowDirective], [typeof i1.ToFilterColumnNamesPipe, typeof i2.FilterHeaderRowDirective]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TableFilterModule>;
|
|
8
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef,
|
|
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
|
|
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;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./table-row-action.directive";
|
|
3
|
+
import * as i2 from "./table-row-action-executing.directive";
|
|
4
|
+
import * as i3 from "./table-row-header-action.directive";
|
|
5
|
+
import * as i4 from "./row-action-check.pipe";
|
|
6
|
+
import * as i5 from "@rxap/components";
|
|
7
|
+
import * as i6 from "@angular/material/legacy-tooltip";
|
|
8
|
+
import * as i7 from "@angular/material/legacy-button";
|
|
9
|
+
import * as i8 from "@angular/material/icon";
|
|
10
|
+
import * as i9 from "@angular/material/legacy-progress-bar";
|
|
11
|
+
import * as i10 from "@angular/common";
|
|
12
|
+
export declare class TableRowActionsModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowActionsModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TableRowActionsModule, never, [typeof i1.TableRowActionDirective, typeof i2.TableRowActionExecutingDirective, typeof i3.TableRowHeaderActionDirective, typeof i4.RowActionCheckPipe, typeof i5.ConfirmModule], [typeof i1.TableRowActionDirective, typeof i3.TableRowHeaderActionDirective, typeof i2.TableRowActionExecutingDirective, typeof i4.RowActionCheckPipe, typeof i6.MatLegacyTooltipModule, typeof i7.MatLegacyButtonModule, typeof i5.ConfirmModule, typeof i8.MatIconModule, typeof i9.MatLegacyProgressBarModule, typeof i10.CommonModule]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TableRowActionsModule>;
|
|
16
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit, ViewContainerRef
|
|
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/
|
|
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,8 +1,11 @@
|
|
|
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/
|
|
4
|
+
import { Method } from '@rxap/pattern';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated removed
|
|
8
|
+
*/
|
|
6
9
|
export declare class RowControlsCellComponent<Data extends Record<string, any> & {
|
|
7
10
|
uuid: string;
|
|
8
11
|
}> {
|
|
@@ -43,5 +46,5 @@ export declare class RowControlsCellComponent<Data extends Record<string, any> &
|
|
|
43
46
|
link(): Promise<void>;
|
|
44
47
|
edit(): Promise<void>;
|
|
45
48
|
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[
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RowControlsCellComponent<any>, "td[rxap-row-controls-cell]", never, { "element": { "alias": "element"; "required": false; }; }, {}, never, never, true, never>;
|
|
47
50
|
}
|
package/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.d.ts
CHANGED
|
@@ -3,8 +3,11 @@ 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/
|
|
6
|
+
import { Method } from '@rxap/pattern';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated removed
|
|
10
|
+
*/
|
|
8
11
|
export declare class RowControlsHeaderCellComponent<Data extends Record<string, any>> {
|
|
9
12
|
private readonly tableDataSource;
|
|
10
13
|
private readonly tableFilter;
|
|
@@ -27,5 +30,5 @@ export declare class RowControlsHeaderCellComponent<Data extends Record<string,
|
|
|
27
30
|
unarchiveSelected(selectedRows: Data[] | undefined): Promise<void>;
|
|
28
31
|
deleteSelected(selectedRows: Data[] | undefined): Promise<void>;
|
|
29
32
|
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[
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RowControlsHeaderCellComponent<any>, "th[rxap-row-controls-header-cell]", never, {}, {}, never, never, true, never>;
|
|
31
34
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./row-controls-cell/row-controls-cell.component";
|
|
3
|
+
import * as i2 from "./row-controls-header-cell/row-controls-header-cell.component";
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated removed
|
|
6
|
+
*/
|
|
7
|
+
export declare class TableRowControlsModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowControlsModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TableRowControlsModule, never, [typeof i1.RowControlsCellComponent, typeof i2.RowControlsHeaderCellComponent], [typeof i1.RowControlsCellComponent, typeof i2.RowControlsHeaderCellComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TableRowControlsModule>;
|
|
11
|
+
}
|
|
@@ -1,16 +1,37 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { OpenApiRemoteMethod } from '@rxap/open-api/remote-method';
|
|
3
3
|
import { BaseRemoteMethod } from '@rxap/remote-method';
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated removed
|
|
6
|
+
*/
|
|
4
7
|
export declare const ROW_ARCHIVE_METHOD: InjectionToken<OpenApiRemoteMethod<any, {
|
|
5
8
|
uuid: string;
|
|
6
9
|
}, any>>;
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated removed
|
|
12
|
+
*/
|
|
7
13
|
export declare const ROW_RESTORE_METHOD: InjectionToken<OpenApiRemoteMethod<any, {
|
|
8
14
|
uuid: string;
|
|
9
15
|
}, any>>;
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated removed
|
|
18
|
+
*/
|
|
10
19
|
export declare const ROW_DELETE_METHOD: InjectionToken<OpenApiRemoteMethod<any, {
|
|
11
20
|
uuid: string;
|
|
12
21
|
}, any>>;
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated removed
|
|
24
|
+
*/
|
|
13
25
|
export declare const ROW_EDIT_METHOD: InjectionToken<BaseRemoteMethod<any, Record<string, any>, import("@rxap/remote-method").BaseRemoteMethodMetadata>>;
|
|
26
|
+
/**
|
|
27
|
+
* @deprecated removed
|
|
28
|
+
*/
|
|
14
29
|
export declare const ROW_VIEW_METHOD: InjectionToken<BaseRemoteMethod<any, Record<string, any>, import("@rxap/remote-method").BaseRemoteMethodMetadata>>;
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated removed
|
|
32
|
+
*/
|
|
15
33
|
export declare const ROW_LINK_METHOD: InjectionToken<BaseRemoteMethod<any, Record<string, any>, import("@rxap/remote-method").BaseRemoteMethodMetadata>>;
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated removed
|
|
36
|
+
*/
|
|
16
37
|
export declare const ROW_EDIT_LOADER_METHOD: InjectionToken<BaseRemoteMethod<Record<string, any>, Record<string, any>, import("@rxap/remote-method").BaseRemoteMethodMetadata>>;
|
|
@@ -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, "
|
|
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.
|
|
3
|
+
"version": "16.0.0-dev.4",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular
|
|
6
|
-
"@angular/
|
|
7
|
-
"@angular/
|
|
8
|
-
"@angular/
|
|
9
|
-
"@angular/core": "^16.0.2",
|
|
5
|
+
"@angular/animations": "^16.1.4",
|
|
6
|
+
"@angular/cdk": "^16.1.4",
|
|
7
|
+
"@angular/common": "^16.1.4",
|
|
8
|
+
"@angular/core": "^16.1.4",
|
|
10
9
|
"@angular/flex-layout": "^15.0.0-beta.42",
|
|
11
|
-
"@angular/forms": "^16.
|
|
12
|
-
"@angular/
|
|
13
|
-
"@angular/
|
|
14
|
-
"@
|
|
15
|
-
"@
|
|
16
|
-
"@
|
|
17
|
-
"@rxap/
|
|
18
|
-
"@rxap/
|
|
19
|
-
"@rxap/
|
|
20
|
-
"@rxap/
|
|
21
|
-
"@rxap/
|
|
22
|
-
"@rxap/
|
|
23
|
-
"@rxap/
|
|
24
|
-
"@rxap/
|
|
25
|
-
"@rxap/
|
|
26
|
-
"
|
|
27
|
-
"
|
|
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.1.4",
|
|
11
|
+
"@angular/material": "^16.1.4",
|
|
12
|
+
"@angular/router": "^16.1.4",
|
|
13
|
+
"@rxap/components": "^16.0.0-dev.4",
|
|
14
|
+
"@rxap/data-source": "^16.0.0-dev.5",
|
|
15
|
+
"@rxap/directives": "^16.0.0-dev.4",
|
|
16
|
+
"@rxap/forms": "^16.0.0-dev.4",
|
|
17
|
+
"@rxap/material-directives": "^16.0.0-dev.4",
|
|
18
|
+
"@rxap/open-api": "^16.0.0-dev.5",
|
|
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.4",
|
|
22
|
+
"@rxap/rxjs": "^1.0.1-dev.0",
|
|
23
|
+
"@rxap/utilities": "^16.0.0-dev.2",
|
|
24
|
+
"@rxap/window-system": "^16.0.0-dev.4",
|
|
25
|
+
"rxjs": "^7.8.0",
|
|
26
|
+
"workspace": "1.0.0"
|
|
33
27
|
},
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
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
|
-
"
|
|
56
|
-
"
|
|
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
|
-
"
|
|
39
|
+
"ngx"
|
|
63
40
|
],
|
|
64
|
-
"
|
|
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
|
-
"
|
|
73
|
-
|
|
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
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
|
|
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.4"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"package": "@rxap/data-source",
|
|
64
|
+
"version": "16.0.0-dev.5"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"package": "@rxap/directives",
|
|
68
|
+
"version": "16.0.0-dev.4"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"package": "@rxap/forms",
|
|
72
|
+
"version": "16.0.0-dev.4"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"package": "@rxap/material-directives",
|
|
76
|
+
"version": "16.0.0-dev.4"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"package": "@rxap/open-api",
|
|
80
|
+
"version": "16.0.0-dev.5"
|
|
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.4"
|
|
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.4"
|
|
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,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"}
|