@rxap/material-table-system 16.0.0-dev.3 → 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 +6 -0
- package/esm2022/index.mjs +5 -1
- package/esm2022/lib/select-row/select-row.module.mjs +31 -0
- package/esm2022/lib/table-filter/table-filter.module.mjs +25 -0
- package/esm2022/lib/table-row-actions/table-row-actions.module.mjs +60 -0
- package/esm2022/lib/table-row-controls/row-controls-cell/row-controls-cell.component.mjs +4 -1
- package/esm2022/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.mjs +4 -1
- package/esm2022/lib/table-row-controls/table-row-controls.module.mjs +29 -0
- package/esm2022/lib/table-row-controls/tokens.mjs +22 -1
- package/fesm2022/rxap-material-table-system.mjs +153 -3
- package/fesm2022/rxap-material-table-system.mjs.map +1 -1
- package/index.d.ts +4 -0
- package/lib/select-row/select-row.module.d.ts +9 -0
- package/lib/table-filter/table-filter.module.d.ts +8 -0
- package/lib/table-row-actions/table-row-actions.module.d.ts +16 -0
- package/lib/table-row-controls/row-controls-cell/row-controls-cell.component.d.ts +3 -0
- package/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.d.ts +3 -0
- package/lib/table-row-controls/table-row-controls.module.d.ts +11 -0
- package/lib/table-row-controls/tokens.d.ts +21 -0
- package/package.json +24 -24
|
@@ -7,7 +7,7 @@ import { Required, clone, DeleteEmptyProperties, equals, coerceBoolean, coerceAr
|
|
|
7
7
|
import * as i1 from '@angular/cdk/portal';
|
|
8
8
|
import { TemplatePortal, PortalModule } from '@angular/cdk/portal';
|
|
9
9
|
import { trigger, state, style, transition, animate, sequence } from '@angular/animations';
|
|
10
|
-
import { AsyncPipe, NgIf, NgFor, NgClass, DatePipe, NgSwitch, NgSwitchCase, NgSwitchDefault } from '@angular/common';
|
|
10
|
+
import { AsyncPipe, NgIf, NgFor, NgClass, DatePipe, NgSwitch, NgSwitchCase, NgSwitchDefault, CommonModule } from '@angular/common';
|
|
11
11
|
import * as i5 from '@angular/material/icon';
|
|
12
12
|
import { MatIconModule } from '@angular/material/icon';
|
|
13
13
|
import * as i3 from '@angular/material/button';
|
|
@@ -33,7 +33,7 @@ import * as i2$1 from '@angular/material/menu';
|
|
|
33
33
|
import { MatMenuModule } from '@angular/material/menu';
|
|
34
34
|
import * as i3$2 from '@angular/material/slide-toggle';
|
|
35
35
|
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
|
36
|
-
import { ConfirmDirective, CopyToClipboardComponent } from '@rxap/components';
|
|
36
|
+
import { ConfirmDirective, CopyToClipboardComponent, ConfirmModule } from '@rxap/components';
|
|
37
37
|
import * as i4$1 from '@angular/material/tooltip';
|
|
38
38
|
import { MatTooltipModule, MatTooltip } from '@angular/material/tooltip';
|
|
39
39
|
import * as i2$2 from '@angular/flex-layout/flex';
|
|
@@ -46,6 +46,9 @@ import * as i3$3 from '@angular/material/snack-bar';
|
|
|
46
46
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
47
47
|
import * as i1$4 from '@angular/cdk/overlay';
|
|
48
48
|
import { Overlay } from '@angular/cdk/overlay';
|
|
49
|
+
import { MatLegacyButtonModule } from '@angular/material/legacy-button';
|
|
50
|
+
import { MatLegacyProgressBarModule } from '@angular/material/legacy-progress-bar';
|
|
51
|
+
import { MatLegacyTooltipModule } from '@angular/material/legacy-tooltip';
|
|
49
52
|
|
|
50
53
|
class ExpandRowService {
|
|
51
54
|
constructor() {
|
|
@@ -572,6 +575,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
|
|
|
572
575
|
args: [SelectRowService]
|
|
573
576
|
}] }]; } });
|
|
574
577
|
|
|
578
|
+
class SelectRowModule {
|
|
579
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SelectRowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
580
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: SelectRowModule, imports: [SelectedRowsDirective,
|
|
581
|
+
CheckboxCellComponent,
|
|
582
|
+
CheckboxHeaderCellComponent], exports: [CheckboxCellComponent,
|
|
583
|
+
CheckboxHeaderCellComponent,
|
|
584
|
+
SelectedRowsDirective] }); }
|
|
585
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SelectRowModule, imports: [CheckboxCellComponent,
|
|
586
|
+
CheckboxHeaderCellComponent] }); }
|
|
587
|
+
}
|
|
588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SelectRowModule, decorators: [{
|
|
589
|
+
type: NgModule,
|
|
590
|
+
args: [{
|
|
591
|
+
exports: [
|
|
592
|
+
CheckboxCellComponent,
|
|
593
|
+
CheckboxHeaderCellComponent,
|
|
594
|
+
SelectedRowsDirective,
|
|
595
|
+
],
|
|
596
|
+
imports: [
|
|
597
|
+
SelectedRowsDirective,
|
|
598
|
+
CheckboxCellComponent,
|
|
599
|
+
CheckboxHeaderCellComponent,
|
|
600
|
+
],
|
|
601
|
+
}]
|
|
602
|
+
}] });
|
|
603
|
+
|
|
575
604
|
const offset = '50';
|
|
576
605
|
const RowAnimation = trigger('rowsAnimation', [
|
|
577
606
|
transition('void => *', [
|
|
@@ -930,6 +959,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
|
|
|
930
959
|
}]
|
|
931
960
|
}] });
|
|
932
961
|
|
|
962
|
+
class TableFilterModule {
|
|
963
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
964
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: TableFilterModule, imports: [ToFilterColumnNamesPipe,
|
|
965
|
+
FilterHeaderRowDirective], exports: [ToFilterColumnNamesPipe,
|
|
966
|
+
FilterHeaderRowDirective] }); }
|
|
967
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableFilterModule }); }
|
|
968
|
+
}
|
|
969
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableFilterModule, decorators: [{
|
|
970
|
+
type: NgModule,
|
|
971
|
+
args: [{
|
|
972
|
+
exports: [
|
|
973
|
+
ToFilterColumnNamesPipe,
|
|
974
|
+
FilterHeaderRowDirective,
|
|
975
|
+
],
|
|
976
|
+
imports: [
|
|
977
|
+
ToFilterColumnNamesPipe,
|
|
978
|
+
FilterHeaderRowDirective,
|
|
979
|
+
],
|
|
980
|
+
}]
|
|
981
|
+
}] });
|
|
982
|
+
|
|
933
983
|
class TableColumnOptionComponent {
|
|
934
984
|
/**
|
|
935
985
|
* The displayed value of the option. It is necessary to show the selected option in the
|
|
@@ -1135,14 +1185,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
|
|
|
1135
1185
|
args: ['click']
|
|
1136
1186
|
}] } });
|
|
1137
1187
|
|
|
1188
|
+
/**
|
|
1189
|
+
* @deprecated removed
|
|
1190
|
+
*/
|
|
1138
1191
|
const ROW_ARCHIVE_METHOD = new InjectionToken('archive-remote-method');
|
|
1192
|
+
/**
|
|
1193
|
+
* @deprecated removed
|
|
1194
|
+
*/
|
|
1139
1195
|
const ROW_RESTORE_METHOD = new InjectionToken('unarchive-remote-method');
|
|
1196
|
+
/**
|
|
1197
|
+
* @deprecated removed
|
|
1198
|
+
*/
|
|
1140
1199
|
const ROW_DELETE_METHOD = new InjectionToken('delete-remote-method');
|
|
1200
|
+
/**
|
|
1201
|
+
* @deprecated removed
|
|
1202
|
+
*/
|
|
1141
1203
|
const ROW_EDIT_METHOD = new InjectionToken('edit-remote-method');
|
|
1204
|
+
/**
|
|
1205
|
+
* @deprecated removed
|
|
1206
|
+
*/
|
|
1142
1207
|
const ROW_VIEW_METHOD = new InjectionToken('view-remote-method');
|
|
1208
|
+
/**
|
|
1209
|
+
* @deprecated removed
|
|
1210
|
+
*/
|
|
1143
1211
|
const ROW_LINK_METHOD = new InjectionToken('link-remote-method');
|
|
1212
|
+
/**
|
|
1213
|
+
* @deprecated removed
|
|
1214
|
+
*/
|
|
1144
1215
|
const ROW_EDIT_LOADER_METHOD = new InjectionToken('edit-loader-method');
|
|
1145
1216
|
|
|
1217
|
+
/**
|
|
1218
|
+
* @deprecated removed
|
|
1219
|
+
*/
|
|
1146
1220
|
class RowControlsCellComponent {
|
|
1147
1221
|
constructor(tableDataSource, deleteRemoteMethod = null, archiveRemoteMethod = null, unarchiveRemoteMethod = null, editRemoteMethod = null, rowViewMethod = null, rowLinkMethod = null, editLoaderMethod = null) {
|
|
1148
1222
|
this.tableDataSource = tableDataSource;
|
|
@@ -1244,6 +1318,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
|
|
|
1244
1318
|
type: Input
|
|
1245
1319
|
}] } });
|
|
1246
1320
|
|
|
1321
|
+
/**
|
|
1322
|
+
* @deprecated removed
|
|
1323
|
+
*/
|
|
1247
1324
|
class RowControlsHeaderCellComponent {
|
|
1248
1325
|
constructor(tableDataSource, tableFilter = null, selectRow = null, deleteRemoteMethod = null, archiveRemoteMethod = null, unarchiveRemoteMethod = null) {
|
|
1249
1326
|
this.tableDataSource = tableDataSource;
|
|
@@ -1337,6 +1414,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
|
|
|
1337
1414
|
args: [ROW_RESTORE_METHOD]
|
|
1338
1415
|
}] }]; } });
|
|
1339
1416
|
|
|
1417
|
+
/**
|
|
1418
|
+
* @deprecated removed
|
|
1419
|
+
*/
|
|
1420
|
+
class TableRowControlsModule {
|
|
1421
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowControlsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1422
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: TableRowControlsModule, imports: [RowControlsCellComponent,
|
|
1423
|
+
RowControlsHeaderCellComponent], exports: [RowControlsCellComponent,
|
|
1424
|
+
RowControlsHeaderCellComponent] }); }
|
|
1425
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowControlsModule, imports: [RowControlsCellComponent,
|
|
1426
|
+
RowControlsHeaderCellComponent] }); }
|
|
1427
|
+
}
|
|
1428
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowControlsModule, decorators: [{
|
|
1429
|
+
type: NgModule,
|
|
1430
|
+
args: [{
|
|
1431
|
+
imports: [
|
|
1432
|
+
RowControlsCellComponent,
|
|
1433
|
+
RowControlsHeaderCellComponent,
|
|
1434
|
+
],
|
|
1435
|
+
exports: [
|
|
1436
|
+
RowControlsCellComponent,
|
|
1437
|
+
RowControlsHeaderCellComponent,
|
|
1438
|
+
],
|
|
1439
|
+
}]
|
|
1440
|
+
}] });
|
|
1441
|
+
|
|
1340
1442
|
class TableSelectControlsComponent {
|
|
1341
1443
|
constructor(selectRows, windowRef) {
|
|
1342
1444
|
this.selectRows = selectRows;
|
|
@@ -1976,6 +2078,54 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
|
|
|
1976
2078
|
args: [RXAP_TABLE_ROW_ACTION_METHOD]
|
|
1977
2079
|
}] }]; } });
|
|
1978
2080
|
|
|
2081
|
+
class TableRowActionsModule {
|
|
2082
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowActionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2083
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: TableRowActionsModule, imports: [TableRowActionDirective,
|
|
2084
|
+
TableRowActionExecutingDirective,
|
|
2085
|
+
TableRowHeaderActionDirective,
|
|
2086
|
+
RowActionCheckPipe,
|
|
2087
|
+
ConfirmModule], exports: [TableRowActionDirective,
|
|
2088
|
+
TableRowHeaderActionDirective,
|
|
2089
|
+
TableRowActionExecutingDirective,
|
|
2090
|
+
RowActionCheckPipe,
|
|
2091
|
+
MatLegacyTooltipModule,
|
|
2092
|
+
MatLegacyButtonModule,
|
|
2093
|
+
ConfirmModule,
|
|
2094
|
+
MatIconModule,
|
|
2095
|
+
MatLegacyProgressBarModule,
|
|
2096
|
+
CommonModule] }); }
|
|
2097
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowActionsModule, imports: [ConfirmModule, MatLegacyTooltipModule,
|
|
2098
|
+
MatLegacyButtonModule,
|
|
2099
|
+
ConfirmModule,
|
|
2100
|
+
MatIconModule,
|
|
2101
|
+
MatLegacyProgressBarModule,
|
|
2102
|
+
CommonModule] }); }
|
|
2103
|
+
}
|
|
2104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowActionsModule, decorators: [{
|
|
2105
|
+
type: NgModule,
|
|
2106
|
+
args: [{
|
|
2107
|
+
imports: [
|
|
2108
|
+
TableRowActionDirective,
|
|
2109
|
+
TableRowActionExecutingDirective,
|
|
2110
|
+
TableRowHeaderActionDirective,
|
|
2111
|
+
RowActionCheckPipe,
|
|
2112
|
+
ConfirmModule,
|
|
2113
|
+
],
|
|
2114
|
+
exports: [
|
|
2115
|
+
TableRowActionDirective,
|
|
2116
|
+
TableRowHeaderActionDirective,
|
|
2117
|
+
TableRowActionExecutingDirective,
|
|
2118
|
+
RowActionCheckPipe,
|
|
2119
|
+
MatLegacyTooltipModule,
|
|
2120
|
+
MatLegacyButtonModule,
|
|
2121
|
+
ConfirmModule,
|
|
2122
|
+
MatIconModule,
|
|
2123
|
+
MatLegacyProgressBarModule,
|
|
2124
|
+
CommonModule,
|
|
2125
|
+
],
|
|
2126
|
+
}]
|
|
2127
|
+
}] });
|
|
2128
|
+
|
|
1979
2129
|
// endregion
|
|
1980
2130
|
// endregion
|
|
1981
2131
|
|
|
@@ -1983,5 +2133,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
|
|
|
1983
2133
|
* Generated bundle index. Do not edit.
|
|
1984
2134
|
*/
|
|
1985
2135
|
|
|
1986
|
-
export { BooleanCellComponent, CheckboxCellComponent, CheckboxHeaderCellComponent, CopyToClipboardCellComponent, DateCellComponent, ExpandControlsCellComponent, ExpandRowContainerComponent, ExpandRowContentDirective, ExpandRowDirective, ExpandRowModule, ExpandRowService, FilterHeaderRowDirective, GetTableRowActionCheckFunction, GetTableRowActionMetadata, HasTableRowActionCheckFunction, HasTableRowActionMetadata, IconCellComponent, ImageCellComponent, IsTableRowActionTypeMethod, IsTableRowActionTypeSwitchMethod, LinkCellComponent, OptionsCellComponent, PersistentPaginatorDirective, ROW_ARCHIVE_METHOD, ROW_DELETE_METHOD, ROW_EDIT_LOADER_METHOD, ROW_EDIT_METHOD, ROW_LINK_METHOD, ROW_RESTORE_METHOD, ROW_VIEW_METHOD, RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS, RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA, RXAP_TABLE_ACTION_METHOD_METADATA, RXAP_TABLE_ACTION_METHOD_TYPE_METADATA, RXAP_TABLE_FILTER, RXAP_TABLE_FILTER_FORM_DEFINITION, RXAP_TABLE_ROW_ACTION_METHOD, RowActionCheckPipe, RowAnimation, RowControlsCellComponent, RowControlsHeaderCellComponent, SelectRowService, SelectedRowsDirective, TABLE_CREATE_REMOTE_METHOD, TABLE_DATA_SOURCE, TABLE_REMOTE_METHOD, TABLE_REMOTE_METHOD_ADAPTER_FACTORY, TableActionMethod, TableColumnMenuComponent, TableColumnOptionComponent, TableCreateButtonDirective, TableDataSourceDirective, TableFilterService, TableRowActionDirective, TableRowActionExecutingDirective, TableRowActionStatus, TableRowHeaderActionDirective, TableSelectControlsComponent, TableShowArchivedSlideComponent, ToFilterColumnNamesPipe };
|
|
2136
|
+
export { BooleanCellComponent, CheckboxCellComponent, CheckboxHeaderCellComponent, CopyToClipboardCellComponent, DateCellComponent, ExpandControlsCellComponent, ExpandRowContainerComponent, ExpandRowContentDirective, ExpandRowDirective, ExpandRowModule, ExpandRowService, FilterHeaderRowDirective, GetTableRowActionCheckFunction, GetTableRowActionMetadata, HasTableRowActionCheckFunction, HasTableRowActionMetadata, IconCellComponent, ImageCellComponent, IsTableRowActionTypeMethod, IsTableRowActionTypeSwitchMethod, LinkCellComponent, OptionsCellComponent, PersistentPaginatorDirective, ROW_ARCHIVE_METHOD, ROW_DELETE_METHOD, ROW_EDIT_LOADER_METHOD, ROW_EDIT_METHOD, ROW_LINK_METHOD, ROW_RESTORE_METHOD, ROW_VIEW_METHOD, RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS, RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA, RXAP_TABLE_ACTION_METHOD_METADATA, RXAP_TABLE_ACTION_METHOD_TYPE_METADATA, RXAP_TABLE_FILTER, RXAP_TABLE_FILTER_FORM_DEFINITION, RXAP_TABLE_ROW_ACTION_METHOD, RowActionCheckPipe, RowAnimation, RowControlsCellComponent, RowControlsHeaderCellComponent, SelectRowModule, SelectRowService, SelectedRowsDirective, TABLE_CREATE_REMOTE_METHOD, TABLE_DATA_SOURCE, TABLE_REMOTE_METHOD, TABLE_REMOTE_METHOD_ADAPTER_FACTORY, TableActionMethod, TableColumnMenuComponent, TableColumnOptionComponent, TableCreateButtonDirective, TableDataSourceDirective, TableFilterModule, TableFilterService, TableRowActionDirective, TableRowActionExecutingDirective, TableRowActionStatus, TableRowActionsModule, TableRowControlsModule, TableRowHeaderActionDirective, TableSelectControlsComponent, TableShowArchivedSlideComponent, ToFilterColumnNamesPipe };
|
|
1987
2137
|
//# sourceMappingURL=rxap-material-table-system.mjs.map
|